KR20220026111A - Knowledge completion method and apparatus through neural symbolic-based rule generation - Google Patents

Knowledge completion method and apparatus through neural symbolic-based rule generation Download PDF

Info

Publication number
KR20220026111A
KR20220026111A KR1020200106770A KR20200106770A KR20220026111A KR 20220026111 A KR20220026111 A KR 20220026111A KR 1020200106770 A KR1020200106770 A KR 1020200106770A KR 20200106770 A KR20200106770 A KR 20200106770A KR 20220026111 A KR20220026111 A KR 20220026111A
Authority
KR
South Korea
Prior art keywords
rule
knowledge
knowledge base
neural
module
Prior art date
Application number
KR1020200106770A
Other languages
Korean (ko)
Other versions
KR102410009B1 (en
Inventor
박영택
박현규
신원철
노재승
Original Assignee
숭실대학교산학협력단
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 숭실대학교산학협력단 filed Critical 숭실대학교산학협력단
Priority to KR1020200106770A priority Critical patent/KR102410009B1/en
Priority to PCT/KR2020/018903 priority patent/WO2022045488A1/en
Publication of KR20220026111A publication Critical patent/KR20220026111A/en
Application granted granted Critical
Publication of KR102410009B1 publication Critical patent/KR102410009B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N5/00Computing arrangements using knowledge-based models
    • G06N5/02Knowledge representation; Symbolic representation
    • G06N5/022Knowledge engineering; Knowledge acquisition
    • G06N5/025Extracting rules from data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/06Physical realisation, i.e. hardware implementation of neural networks, neurons or parts of neurons
    • G06N3/063Physical realisation, i.e. hardware implementation of neural networks, neurons or parts of neurons using electronic means
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N5/00Computing arrangements using knowledge-based models
    • G06N5/02Knowledge representation; Symbolic representation

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Evolutionary Computation (AREA)
  • Computing Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Biomedical Technology (AREA)
  • Software Systems (AREA)
  • Mathematical Physics (AREA)
  • Biophysics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • Molecular Biology (AREA)
  • General Health & Medical Sciences (AREA)
  • Neurology (AREA)
  • Machine Translation (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present invention discloses a knowledge completion method and a device through neural symbolic-based rule generation. The present invention comprises: a processor; and a memory connected to the processor. The memory includes program commands, which can be executed by the processor to generate an embedded knowledge base by embedding a triple and rule template included in an incomplete knowledge base in a multi-dimensional space based on neural symbolic, to allow a neural theorem prover (NTP) to obtain a new inference rule including a rule head corresponding to a conclusion and a rule body corresponding to a condition through embedding learning of updating the embedded knowledge base, and to complete knowledge by applying the new inference rule to the incomplete knowledge base. Therefore, provided are a knowledge completion method and a device through neural symbolic-based rule generation, wherein knowledge can be completed efficiently and accurately.

Description

뉴럴 심볼릭 기반 규칙 생성을 통한 지식완성 방법 및 장치{Knowledge completion method and apparatus through neural symbolic-based rule generation}Knowledge completion method and apparatus through neural symbolic-based rule generation

본 발명은 뉴럴 심볼릭 기반 규칙 생성을 통한 지식완성 방법 및 장치에 관한 것으로서, 보다 상세하게는 지식베이스의 누락된 지식을 완성함으로써 양질의 지식베이스를 구축하기 위한 방법 및 장치에 관한 것이다. The present invention relates to a method and apparatus for completing knowledge through neural symbol-based rule generation, and more particularly, to a method and apparatus for building a high-quality knowledge base by completing missing knowledge in the knowledge base.

최근 지식베이스를 사용한 다양한 서비스를 제공하는 사례가 늘고 있다. 이에 따라 양질의 지식베이스를 확보해야 하는 필요성이 대두되고 있다.Recently, the number of cases of providing various services using the knowledge base is increasing. Accordingly, the need to secure a high-quality knowledge base is emerging.

기존의 지식완성 기법 중 링크 예측은 (?, Predicate, Object)의 ?부분인 Head 엔티티를 예측하거나 (Head, Relation, ?)의 ?에 해당하는 Tail 엔티티를 예측한다. 여기서 ?는 누락된 요소를 의미한다. Among the existing knowledge completion techniques, link prediction predicts a Head entity that is the ? part of (?, Predicate, Object) or predicts a Tail entity that corresponds to the ? of (Head, Relation, ?). Here, ? means missing elements.

E를 지식베이스에 포함된 모든 엔티티라고 가정 했을때, 링크 예측 결과를 판별하는 방법은 올바른 트리플(Head, Relation, Tail)에 대해 Head 또는 Tail을 모든 엔티티 e ∈ E로 교체함으로써 부정 트리플을 만들고, 올바른 트리플과 부정 트리플 각각에 대한 Score 함수 f(Head, Relation, Tail)를 통해, 신뢰성 점수를 구해 내림차순으로 순위를 매겨 진행한다. Assuming that E is all entities included in the knowledge base, the method of determining the link prediction result is to create a negative triple by replacing Head or Tail with all entities e ∈ E for the correct triple (Head, Relation, Tail), Through the Score function f(Head, Relation, Tail) for each of the correct and negative triples, the reliability score is obtained and ranked in descending order.

이 경우 모델의 성능을 판별할 수 있는 지표인 평균 순위(MR)와, 상위 10개 항목에서 올바른 트리플의 비율을 의미하는 Hit@10을 얻는데 MR은 낮을수록 Hit@10은 높을수록 좋다. Hit@1은 올바른 트리플이 가장 높은 신뢰성 점수를 받은 비율일 때의 지표로서 모델의 정확도와 같다고 볼 수 있다. In this case, the average rank (MR), which is an index that can determine the performance of the model, and Hit@10, which means the ratio of correct triples in the top 10 items, are obtained. Hit@1 is an indicator of when the correct triple is the ratio with the highest reliability score, which is equivalent to the accuracy of the model.

현재 가장 성능이 좋다고 알려진 링크 예측을 수행하는 대표적인 예시로 KG-BERT를 들 수 있다. KG-BERT is a representative example of performing link prediction, which is currently known to have the best performance.

도 1은 종래기술에 따른 KG-BERT를 도시한 도면이다. 1 is a view showing a KG-BERT according to the prior art.

KG-BERT는 2019년 구글 에서 발표한 자연어 처리 모델인 BERT모델을 지식베이스를 활용한 링크 예측과 같은 작업에 사용하도록 Fine-Tuning한 신경망 모델이다. KG-BERT를 사용한 링크 예측은 다음과 같이 진행된다. KG-BERT is a neural network model that is fine-tuned to use the BERT model, a natural language processing model announced by Google in 2019, for tasks such as link prediction using a knowledge base. Link prediction using KG-BERT proceeds as follows.

예를 들어 (Steven Jobs, founded, Apple Inc.)와 같은 트리플이 입력이 된다고 하면, 트리플의 각 엔티티와 Relation은 그에 맞는 설명으로 구성된 토큰으로 변환되어 모델의 입력으로 사용되고 모든 토큰은 다차원 벡터로 변환되게 된다. 각 엔티티와 Relation에 대한 설명 토큰들은 [SEP]라는 특수 토큰에 의해 구별된다. [CLS]는 항상 모델입력 처음에 위치하는 특수 토큰으로 이 토큰에 해당하는 모델 출력이 해당 트리플에 대한 신뢰성 점수(Score)라고 할 수 있다.For example, if a triple such as (Steven Jobs, founded, Apple Inc.) is input, each entity and relation in the triple is converted into a token consisting of a corresponding description and used as input to the model, and all tokens are converted into multidimensional vectors. will become Description tokens for each entity and relation are distinguished by a special token called [SEP]. [CLS] is a special token that is always located at the beginning of the model input, and the model output corresponding to this token can be called the reliability score for the triple.

종래의 지식완성 모델은 지식베이스를 임베딩하고 특정 목적함수를 정의하거나 트리플에 대한 분류 작업을 수행하도록 함으로써 임베딩과 신경망을 학습하도록 한다. The conventional knowledge completion model embeds a knowledge base, defines a specific objective function, or performs a classification task on triples to learn embedding and neural networks.

KG-BERT의 경우 링크 예측을 수행하고자 할 때, 올바른 트리플(Head, Relation, Tail)과 Head나 Tail 엔티티가 지식베이스가 갖는 모든 엔티티로 변환된 부정 트리플에 대해 BERT 모델 연산을 수행하는데 BERT base의 경우 1억, BERT Large의 경우 3억개에 해당하는 파라미터와 트리플을 토큰화한 문장 벡터간의 연산이 이루어져야 한다. In the case of KG-BERT, when performing link prediction, BERT model operation is performed on correct triples (Head, Relation, Tail) and negative triples in which Head or Tail entities are converted into all entities of the knowledge base. In the case of 100 million and BERT Large, an operation must be performed between the parameters corresponding to 300 million and the sentence vector in which the triple is tokenized.

이러한 신경망 모델을 사용하여 지식 완성을 수행하는 것은 벡터간의 연산과 신경망 연산을 수행하여야 하므로 추론 규칙을 활용한 추론보다 계산적으로 비효율적이다. 또한 종래의 추론 규칙을 사용한 지식 완성을 수행하는 경우 데이터를 사람이 직접 확인하고 추론 규칙을 정의해야 하는데 방대한 양의 지식베이스에 대한 모든 추론 규칙들을 직접 정의하고 검증하는 것은 불가능하다.Performing knowledge completion using such a neural network model is computationally inefficient than inference using inference rules because it is necessary to perform vector-to-vector operation and neural network operation. In addition, when performing knowledge completion using conventional reasoning rules, a person must directly check data and define inference rules, but it is impossible to directly define and verify all inference rules for a vast amount of knowledge base.

대한민국등록특허 10-2091240Republic of Korea Patent 10-2091240

상기한 종래기술의 문제점을 해결하기 위해, 본 발명은 효율적이며 정확한 지식완성을 수행할 수 있는 뉴럴 심볼릭 기반 규칙 생성을 통한 지식완성 방법 및 장치를 제안하고자 한다. In order to solve the problems of the prior art, the present invention intends to propose a knowledge completion method and apparatus through neural symbol-based rule generation capable of efficiently and accurately performing knowledge completion.

상기한 바와 같은 목적을 달성하기 위하여, 본 발명의 일 실시예에 따르면, 뉴럴 심볼릭 기반 규칙 생성을 통한 지식완성 장치로서, 프로세서; 및 상기 프로세서에 연결되는 메모리를 포함하되, 상기 메모리는, 미완성 지식베이스에 포함된 트리플 및 규칙 템플릿을 뉴럴 심볼릭 기반으로 다차원 공간에 임베딩하여 임베딩된 지식베이스를 생성하고, Neural Theorem Prover (NTP)가 상기 임베딩된 지식베이스를 업데이트하는 임베딩 학습을 통해 결론에 해당하는 규칙 헤드 및 조건에 해당하는 규칙 바디를 포함하는 새로운 추론 규칙을 획득하고, 상기 미완성 지식베이스에 상기 새로운 추론 규칙을 적용하여 지식을 완성하도록, 상기 프로세서에 의해 실행 가능한 프로그램 명령어들을 포함하는 지식완성 장치가 제공된다. In order to achieve the above object, according to an embodiment of the present invention, there is provided an apparatus for completing knowledge through neural symbol-based rule generation, comprising: a processor; and a memory connected to the processor, wherein the memory generates an embedded knowledge base by embedding triples and rule templates included in the incomplete knowledge base in a multi-dimensional space based on a neural symbol, Neural Theorem Prover (NTP) A new reasoning rule including a rule head corresponding to a conclusion and a rule body corresponding to a condition is obtained through embedding learning to update the embedded knowledge base, and the new reasoning rule is applied to the incomplete knowledge base to complete knowledge To do so, a knowledge completion device including program instructions executable by the processor is provided.

상기 임베딩된 지식베이스의 업데이트는, 상기 규칙 템플릿의 Predicate 임베딩 벡터값을 업데이트하는 것이다. The update of the embedded knowledge base is updating the Predicate embedding vector value of the rule template.

상기 NTP는, OR 모듈, Unify 모듈 및 AND 모듈을 포함하고, 상기 Unify 모듈은 상기 OR 모듈에 의해 호출되어 증명하고자 하는 논리 원소의 목표 트리플과, 상기 규칙 템플릿의 규칙 헤드를 매칭시킬 수 있다. The NTP may include an OR module, an Unify module, and an AND module, and the Unify module may be called by the OR module to match a target triple of a logical element to be verified and a rule head of the rule template.

상기 Unify 모듈은 Neural Symbolic Unification을 이용하여 상기 매칭 과정을 수행할 수 있다. The Unify module may perform the matching process using Neural Symbolic Unification.

상기 AND 모듈은 상기 Unify 모듈에서 매칭된 엔티티를 이용하여 새로운 목표를 생성하고, 상기 생성된 새로운 목표와 전체 지식베이스 간의 Unify를 수행하여 새로운 바디를 완성하고, 새로운 바디에 대해서도 동일한 작업을 반복하여 트리를 형성할 수 있다. The AND module creates a new goal using the entity matched in the Unify module, performs Unify between the created new goal and the entire knowledge base to complete a new body, and repeats the same operation for the new body to create a tree can form.

상기 NTP는, 집합(aggregation) 모듈을 포함하고, 상기 목표 트리플을 규칙 헤드로 갖는 가장 의미론적으로 부합하는 추론 규칙을 상기 새로운 추론 규칙을 선택할 수 있다. The NTP may include an aggregation module and select the new inference rule as the most semantically matching inference rule having the target triple as a rule head.

본 발명의 다른 측면에 따르면, 프로세서 및 메모리를 포함하는 장치에서 뉴럴 심볼릭 기반 규칙 생성을 통해 지식을 완성하는 방법으로서, (a) 미완성 지식베이스에 포함된 트리플 및 규칙 템플릿을 뉴럴 심볼릭 기반으로 다차원 공간에 임베딩하여 임베딩된 지식베이스를 생성하는 단계; (b) Neural Theorem Prover (NTP)가 상기 임베딩된 지식베이스를 업데이트하는 임베딩 학습을 통해 결론에 해당하는 규칙 헤드 및 조건에 해당하는 규칙 바디를 포함하는 새로운 추론 규칙을 획득하는 단계; 및 (c) 상기 미완성 지식베이스에 상기 새로운 추론 규칙을 적용하여 지식을 완성하는 단계를 포함하는 지식완성 방법이 제공된다. According to another aspect of the present invention, there is provided a method of completing knowledge through neural symbol-based rule generation in a device including a processor and a memory, (a) using triples and rule templates included in an unfinished knowledge base in a multidimensional space based on a neural symbol generating an embedded knowledge base by embedding it in ; (b) acquiring, by a Neural Theorem Prover (NTP), a new reasoning rule including a rule head corresponding to a conclusion and a rule body corresponding to a condition through embedding learning to update the embedded knowledge base; and (c) applying the new reasoning rule to the incomplete knowledge base to complete the knowledge.

상기 (b) 단계는 상기 규칙 템플릿의 Predicate 임베딩 벡터값을 업데이트하는 단계를 포함할 수 있다. Step (b) may include updating a Predicate embedding vector value of the rule template.

본 발명의 또 다른 측면에 따르면, 상기한 방법을 수행하는 컴퓨터 판독 가능한 프로그램이 제공된다. According to another aspect of the present invention, there is provided a computer readable program for performing the above method.

본 발명의 또 다른 측면에 따르면, 뉴럴 심볼릭 기반 규칙 생성을 통한 지식완성 시스템으로서, 미완성 지식베이스; 상기 미완성 지식베이스에 포함된 트리플 및 미리 정의된 규칙 템플릿을 뉴럴 심볼릭 기반으로 다차원 공간에 임베딩하여 생성되는 임베딩된 지식베이스; 상기 임베딩된 지식베이스를 업데이트하는 임베딩 학습을 통해 결론에 해당하는 규칙 헤드 및 조건에 해당하는 규칙 바디를 포함하는 새로운 추론 규칙을 획득하는 Neural Theorem Prover (NTP); 및 상기 미완성 지식베이스에 상기 새로운 추론 규칙을 적용하여 지식을 완성하는 추론 엔진을 포함하는 지식완성 시스템이 제공된다. According to another aspect of the present invention, there is provided a knowledge completion system through neural symbol-based rule generation, comprising: an incomplete knowledge base; an embedded knowledge base generated by embedding triples and predefined rule templates included in the incomplete knowledge base in a multidimensional space based on a neural symbol; Neural Theorem Prover (NTP) that acquires a new reasoning rule including a rule head corresponding to a conclusion and a rule body corresponding to a condition through embedding learning to update the embedded knowledge base; and an inference engine that completes knowledge by applying the new reasoning rule to the incomplete knowledge base.

본 발명에 따르면, NTP를 사용하여 지식베이스로부터 추론 규칙의 조건부에 해당하는 트리플을 통해 결론부에 해당하는 새로운 트리플을 추론할 수 있는 추론 규칙을 학습 및 생성하고, 생성된 추론 규칙을 기반으로 계산적으로 효율적이며, 정확하게 지식을 완성할 수 있는 장점이 있다. According to the present invention, an inference rule capable of inferring a new triple corresponding to a conclusion part through a triple corresponding to a conditional part of an inference rule is learned and generated from a knowledge base using NTP, and computational based on the generated inference rule It has the advantage of being able to complete knowledge efficiently and accurately.

도 1은 종래기술에 따른 KG-BERT를 도시한 도면이다.
도 2는 본 발명의 일 실시예에 따른 NTP(Neural Theorem Prover)를 통한 뉴럴 심볼릭 기반 규칙 생성과 추론 엔진을 이용한 지식완성 모델의 전체적인 구조도를 도시한 도면이다.
도 3은 본 실시예에 따른 NTP를 구성하는 Unify 모듈을 도식화한 도면이다.
도 4는 본 실시예에 따른 NTP가 Proof Tree를 구성하는 과정을 도시한 도면이다.
도 5는 본 실시예에 따른 Neural Symbolic Unification과 통상의 Symbolic Unification을 비교한 도면이다.
도 6은 본 실시예에 따른 NTP를 구성하는 OR 모듈을 도식화한 도면이다.
도 7은 본 실시예에 따른 NTP를 구성하는 AND 모듈을 도식화한 도면이다.
도 8은 본 실시예에 따른 임베딩 벡터를 학습하였을 때 얻을 수 있는 추론 규칙을 이용하여 지식을 완성하는 것을 도식화한 도면이다.
도 9는 본 발명의 일 실시예에 따른 지식완성 장치의 구성을 도시한 도면이다.
1 is a view showing a KG-BERT according to the prior art.
2 is a diagram illustrating the overall structure of a knowledge completion model using a neural symbol-based rule generation and an inference engine through a Neural Theorem Prover (NTP) according to an embodiment of the present invention.
3 is a diagram schematically illustrating the Unify module constituting the NTP according to the present embodiment.
4 is a diagram illustrating a process in which the NTP constructs a Proof Tree according to the present embodiment.
5 is a diagram comparing Neural Symbolic Unification according to the present embodiment and conventional Symbolic Unification.
6 is a diagram schematically illustrating the OR module constituting the NTP according to the present embodiment.
7 is a diagram schematically illustrating the AND module constituting the NTP according to the present embodiment.
8 is a diagram schematically illustrating completion of knowledge using an inference rule that can be obtained when learning an embedding vector according to the present embodiment.
9 is a diagram illustrating a configuration of a knowledge completion device according to an embodiment of the present invention.

본 발명은 다양한 변경을 가할 수 있고 여러 가지 실시예를 가질 수 있는 바, 특정 실시예들을 도면에 예시하고 상세하게 설명하고자 한다.Since the present invention can have various changes and can have various embodiments, specific embodiments are illustrated in the drawings and described in detail.

그러나, 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 사상 및 기술 범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다. However, this is not intended to limit the present invention to specific embodiments, it should be understood to include all modifications, equivalents and substitutes included in the spirit and scope of the present invention.

도 2는 본 발명의 일 실시예에 따른 NTP(Neural Theorem Prover)를 통한 뉴럴 심볼릭 기반 규칙 생성과 추론 엔진을 이용한 지식완성 모델의 전체적인 구조도를 도시한 도면이다. 2 is a diagram illustrating the overall structure of a knowledge completion model using a neural symbol-based rule generation and an inference engine through a Neural Theorem Prover (NTP) according to an embodiment of the present invention.

도 2를 참조하면, 본 실시예에 따른 지식완성 모델은 먼저 트리플 형태로 표현된 지식베이스(200, Incomplete Knowledge Base(KB)), 규칙 템플릿(Rule Templete, 202), 임베딩된 지식베이스(Embedded KB, 204), NTP(206) 및 추론 엔진(Inference Engine, 208)을 포함할 수 있다. Referring to FIG. 2 , the knowledge completion model according to the present embodiment is first expressed in a triple form in a knowledge base 200 (Incomplete Knowledge Base (KB)), a rule template (Rule Templete, 202), and an embedded knowledge base (Embedded KB). , 204 ), NTP 206 , and an Inference Engine 208 .

여기서, 지식베이스(200)는 아직 완성되지 않은 미완성 지식베이스이다. Here, the knowledge base 200 is an incomplete knowledge base that has not yet been completed.

본 실시예에 따르면, 지식완성을 위해, 미완성 지식베이스(200)의 트리플과 지식베이스(200)로부터 생성될 수 있는 추론 규칙의 형태를 정의한 규칙 템플릿(202)을 뉴럴 심볼릭 기반으로 다차원 공간에 임베딩한다(Neural Symbolic Embedding). According to this embodiment, for knowledge completion, a rule template 202 defining a form of an inference rule that can be generated from a triple of the incomplete knowledge base 200 and the knowledge base 200 is embedded in a multidimensional space based on a neural symbol. Neural Symbolic Embedding.

다차원 공간 임베딩에 의해 임베딩된 지식베이스(204)가 생성된다. An embedded knowledgebase 204 is created by multidimensional spatial embedding.

NTP(206)는 미완성 지식베이스(200)와 규칙 템플릿(202) 간의 맵핑을 통해 임베딩을 학습한다.The NTP 206 learns embedding through the mapping between the incomplete knowledge base 200 and the rule template 202 .

여기서, 임베딩의 학습은 임베딩된 지식베이스(204)를 업데이트하는 과정으로 정의된다. Here, learning of embedding is defined as a process of updating the embedded knowledge base 204 .

NTP(206)는 크게 OR 모듈(210), Unify 모듈(212) 및 AND 모듈(214)로 구성된다. The NTP 206 is largely composed of an OR module 210 , an Unify module 212 , and an AND module 214 .

OR 모듈(210)와 AND 모듈(214)은 서로 재귀적으로 호출되어 추론 규칙 형태의 트리플을 형성하고 다차원 공간에 임베딩된 지식베이스(204)를 업데이트한다. The OR module 210 and the AND module 214 are called recursively with each other to form a triple in the form of an inference rule and update the knowledge base 204 embedded in the multidimensional space.

여기서, 임베딩된 지식베이스(204)의 업데이트는 규칙 템플릿의 Predicate 임베딩 벡터값을 업데이트하는 것으로 정의된다. Here, the update of the embedded knowledge base 204 is defined as updating the Predicate embedding vector value of the rule template.

NTP로 학습된 임베딩으로부터 새로운 추론 규칙을 얻을 수 있다(Induced Rule). New inference rules can be obtained from embeddings learned with NTP (Induced Rule).

이후, NTP(206)로부터 얻은 추론 규칙을 토대로 미완성 지식베이스(200)에 대해 추론 엔진(208)을 적용하게 되면 추론 규칙의 조건에 맞는 트리플을 지식베이스로부터 찾아 결론을 추론하여 지식을 완성할 수 있다(Completed Knowledge Graph). After that, if the inference engine 208 is applied to the incomplete knowledge base 200 based on the inference rule obtained from the NTP 206, the knowledge can be completed by inferring a conclusion by finding a triple that meets the conditions of the inference rule from the knowledge base. There is (Completed Knowledge Graph).

이하에서는, 도면을 참조하여, 본 실시예에 따른 NTP에서 임베딩 학습을 수행하는 과정을 상세하게 설명한다. Hereinafter, a process of performing embedding learning in NTP according to the present embodiment will be described in detail with reference to the drawings.

도 3은 본 실시예에 따른 NTP를 구성하는 Unify 모듈을 도식화한 도면이다. 3 is a diagram schematically illustrating the Unify module constituting the NTP according to the present embodiment.

도 3을 참조하면, Unify 모듈(212)은 Neural Symbolic Unification을 이용하여 두 개의 논리 원소(Logic Atom)를 매칭시키는 연산자로서, 증명하고 싶은 논리 원소의 목표 트리플과 추론 규칙의 결론에 해당하는 규칙 헤드(Rule Head)간을 매칭시켜주는 연산을 수행하게 된다. Referring to FIG. 3 , the Unify module 212 is an operator that matches two logical elements using Neural Symbolic Unification, and a rule head corresponding to a target triple of a logical element to be proved and a conclusion of an inference rule. (Rule Head) to match the operation is performed.

도 4는 본 실시예에 따른 NTP가 Proof Tree를 구성하는 과정을 도시한 도면이다. 4 is a diagram illustrating a process in which the NTP constructs a Proof Tree according to the present embodiment.

도 3 내지 도 4를 참조하면, 예를 들어, 목표 트리플이 locatedIn(france, europe)이고, 규칙 템플릿이

Figure pat00001
와 같은 형태라고 할 때, 목표 트리플은 먼저 규칙 헤드인
Figure pat00002
와 매칭된다. 3 to 4 , for example, the target triple is locatedIn(france, europe), and the rule template is
Figure pat00001
In the form of , the target triple is first
Figure pat00002
is matched with

여기서,

Figure pat00003
는 규칙 바디(Rule Body)이다. here,
Figure pat00003
is the rule body.

이때, Unify 모듈(212)은 Proof State S를 생성한다. At this time, the Unify module 212 generates a Proof State S.

규칙 템플릿의 X, Y와 같은 변수(Variable)에 맵핑된 트리플의 엔티티에 해당하는 정보를 갖는 Subsitution

Figure pat00004
와 맵핑된 트리플들로 형성된 추론 규칙의 신뢰성 점수인 Proof Score
Figure pat00005
를 갖는 값을 Proof State S라고 한다. Subsitution having information corresponding to the entity of the triple mapped to variables such as X and Y of the rule template
Figure pat00004
Proof Score, which is the reliability score of the inference rule formed with triples mapped with
Figure pat00005
A value with is called Proof State S.

Proof Score

Figure pat00006
는 다차원 공간에 임베딩된 지식베이스(204)가 갖는 트리플의 Predicate, Subject, Object와 규칙 템플릿의 Predicate 그리고
Figure pat00007
에 맵핑된 엔티티 간의 L2 유사도(simliarity)의 최소값으로 정의되며, 이는 학습 시 업데이트 되어야할 파라미터인 임베딩 벡터간의 유사도임과 동시에 추론 규칙의 신뢰도 값으로 정의될 수 있다. Proof Score
Figure pat00006
is the triple of Predicate, Subject, and Object of the knowledge base 204 embedded in the multidimensional space, and the Predicate of the rule template, and
Figure pat00007
It is defined as the minimum value of L2 similarity between entities mapped to .

NTP(206)를 통한 임베딩의 학습은

Figure pat00008
를 Positive Data에 대해서는 증가하고 Negative Data에 대해서는 감소하도록 이루어진다. Learning of embedding through NTP (206) is
Figure pat00008
is increased for positive data and decreased for negative data.

전술한 바와 같이, Unify 모듈(212)은 Neural Symbolic Unification을 이용한다. As described above, the Unify module 212 uses Neural Symbolic Unification.

도 5는 본 실시예에 따른 Neural Symbolic Unification과 통상의 Symbolic Unification을 비교한 도면이다. 5 is a diagram comparing Neural Symbolic Unification according to the present embodiment and conventional Symbolic Unification.

도 5를 참조하면, 통상의 Symbolic Unification은 데이터에 있는 단어에 기반하여 Unify(통합)를 수행하기 때문에 locatedIn과 situatedIn이라는 두 개의 Predicate에 대해 Unify를 실패하게 된다. Referring to FIG. 5 , since Unify (integration) is performed based on words in data, in the conventional Symbolic Unification, Unify fails for two predicates, locatedIn and situatedIn.

그러나, 본 실시예에 따른 Neural Symbolic Unification는 데이터의 단어에 의존하는 것이 아니라, 모든 단어들이 벡터로 변환되고 추론 규칙이 템플릿 형태로 주어지며, 이러한 추론 규칙의 Predicate 또한

Figure pat00009
와 같은 벡터로 파라미터화되기 때문에 두 벡터간의 유사도를 구해 Unify가 가능하게 된다. However, Neural Symbolic Unification according to the present embodiment does not depend on words of data, but all words are converted into vectors and inference rules are given in the form of templates, and the Predicate of these inference rules is also
Figure pat00009
Since it is parameterized with the same vector as , Unify is possible by finding the similarity between two vectors.

또한, 추론 규칙의 Predicate가

Figure pat00010
와 같은 벡터 형태이기 때문에 locatedIn(france, europe)에 대한 Unify 뿐만 아니라 situatedIn(france, europe)도 Unify가 가능하다. Also, the Predicate of the inference rule is
Figure pat00010
Because it is in the same vector form as , it is possible to unify not only locatedIn (france, europe) but also situatedIn (france, europe).

이에,

Figure pat00011
형태의 규칙 템플릿으로부터
Figure pat00012
와 Therefore,
Figure pat00011
from a rule template of the form
Figure pat00012
Wow

Figure pat00013
와 같은 추론 규칙도 도출할 수 있다.
Figure pat00013
Inference rules such as

도 6은 본 실시예에 따른 NTP를 구성하는 OR 모듈을 도식화한 도면이다. 6 is a diagram schematically illustrating the OR module constituting the NTP according to the present embodiment.

OR 모듈(210)은 목표 트리플과 규칙 헤드(

Figure pat00014
)와의 통합(Unify)를 수행하고 해당 규칙 바디(Rule Body,
Figure pat00015
)에 대한 통합을 수행하기 위해, 규칙 바디를 새로운 목표(New Goal)와 바디(New Body)로 나눠주는 작업을 하는 AND 모듈(214)을 재귀적으로 호출한다. OR module 210 is a target triple and a rule head (
Figure pat00014
) and the corresponding Rule Body (Rule Body,
Figure pat00015
), the AND module 214 that divides the rule body into a new goal and a new body is recursively called.

예를 들어, 주어진 목표 트리플이 locatedIn(france, europe)이고, 추론 규칙이

Figure pat00016
와 같을 때, 규칙 헤드는
Figure pat00017
가 되고 규칙 바디는
Figure pat00018
가 된다. For example, given the target triple is locatedIn(france, europe), the inference rule is
Figure pat00016
When equal to, the rule head is
Figure pat00017
becomes and the rule body is
Figure pat00018
becomes

OR 모듈(210)은 Unify 모듈(212)을 호출하여 규칙 헤드인

Figure pat00019
와 목표 트리플인 locatedIn(france, europe)에 대한 매칭을 수행한다. OR module 210 calls Unify module 212 to
Figure pat00019
and the target triple locatedIn(france, europe) are matched.

또한, OR 모듈(210)은 AND 모듈(214)을 호출하여 규칙 바디의

Figure pat00020
를 새로운 목표(서브 목표)로 지정한다.In addition, the OR module 210 calls the AND module 214 to
Figure pat00020
is designated as a new target (sub-goal).

Figure pat00021
는 새로운 바디가 되어 새로운 목표에 대해 다시 OR 모듈(210)이 재귀적으로 호출된다.
Figure pat00021
becomes a new body, and the OR module 210 is called recursively for a new target again.

도 7은 본 실시예에 따른 NTP를 구성하는 AND 모듈을 도식화한 도면이다. 7 is a diagram schematically illustrating an AND module constituting an NTP according to the present embodiment.

도 7을 참조하면, AND 모듈(214)은 새로운 목표를 재귀적으로 증명하도록 한다. Referring to FIG. 7 , the AND module 214 allows recursive proof of a new goal.

예를 들어, 목표 트리플이 locatedIn(france, europe)이고, 추론 규칙이

Figure pat00022
와 같을 때, 규칙 헤드와 목표 트리플 간의 Unify를 수행하게 되면 규칙 헤드와 목표 트리플 간의 Unify 과정에서 규칙의 X, Y와 같은 변수에 맵핑된 트리플의 엔티티(X/france, Y/europe)에 해당하는 정보를 갖는 Substitution
Figure pat00023
Figure pat00024
와 맵핑된 트리플들로 형성된 추록 규칙의 신뢰값이라고 볼 수 있는 Proof Score
Figure pat00025
를 갖는 Proof State S를 얻을 수 있다.For example, the target triple is locatedIn(france, europe), and the inference rule is
Figure pat00022
When unify between the rule head and the target triple is performed, the triple entity (X/france, Y/europe) mapped to the variables such as X and Y of the rule in the unify process between the rule head and the target triple is Substitution with information
Figure pat00023
Figure pat00024
Proof Score, which can be regarded as the confidence value of the supplementary rule formed with triples mapped with
Figure pat00025
We can obtain a Proof State S with .

AND 모듈(214)은

Figure pat00026
에서 맵핑된 X의 엔티티(Unify 모듈에서 매칭된 엔티티)를 가져와 새로운 목표를 생성하고 새로운 목표와 지식베이스 간의 Unify를 수행하여 규칙 바디(새로운 바디)를 완성하고 새로운 바디에 대해서도 동일한 작업을 반복하여 트리 구조를 형성하게 된다. AND module 214 is
Figure pat00026
Import the mapped entity of X (matched entity in the Unify module), create a new goal, and perform Unify between the new goal and the knowledge base to complete the rule body (new body), and repeat the same operation for the new body to the tree will form a structure.

이와 같은 과정으로 생성된 트리의 가지는 해당 규칙 템플릿에 대해 목표 트리플로부터 나올 수 있는 모든 경우의 수만큼 생성되며 목표 트리플을 결론으로 갖는 가장 의미적으로 부합하는 추론 규칙 하나를 집합 모듈(216, aggregation module, max pooling)을 통해 선택하게 된다. The branches of the tree generated by this process are generated as many as all possible cases from the target triple with respect to the rule template, and one inference rule that most semantically matches the target triple as a conclusion is added to the aggregation module (216). , max pooling).

선택된 추론 규칙의 Proof State

Figure pat00027
는 Unify를 통해 proof tree 한 가지에서 구해진 L2 유사도 중 최소값 하나만 선택된다. 예를 들어, 트리의 각 가지에서 최소값을 위치시켜 max pooling 하였을 때 최종 Proof Score가
Figure pat00028
가 되었다면 locatedIn과
Figure pat00029
간의 유사도가 증가하도록 벡터를 업데이트하게 된다. Proof State of the selected inference rule
Figure pat00027
is selected from the minimum value of L2 similarity obtained from one proof tree through Unify. For example, when max pooling by locating the minimum value in each branch of the tree, the final Proof Score is
Figure pat00028
If it becomes locatedIn and
Figure pat00029
The vector is updated to increase the similarity between them.

도 8은 본 실시예에 따른 임베딩 벡터를 학습하였을 때 얻을 수 있는 추론 규칙을 이용하여 지식을 완성하는 것을 도식화한 도면이다. 8 is a diagram schematically illustrating completion of knowledge using an inference rule that can be obtained when learning an embedding vector according to the present embodiment.

상기한 방식으로 학습을 완료하게 되면,

Figure pat00030
는 locatedIn과 벡터가 유사하게 학습되고,
Figure pat00031
는 neighborOf와 유사하도록 학습된다. When learning is completed in the above manner,
Figure pat00030
is trained similarly to locatedIn and vectors,
Figure pat00031
is trained to be similar to neighborOf.

Figure pat00032
벡터와 유사하게 학습된 지식베이스의 predicate와
Figure pat00033
를 매칭시키면
Figure pat00034
와 같은 추론 규칙을 얻을 수 있다. each
Figure pat00032
Similar to vectors, the predicate of the learned knowledge base and
Figure pat00033
If you match
Figure pat00034
Inference rules such as

해당 추론 규칙을 지식베이스에 적용하면

Figure pat00035
트리플이 조건에 대한 트리플로 규칙 바디를 형성하게 되고, 규칙 바디로부터 결론에 해당하는 규칙 헤드를 추론하게 되고, locatedIn(italy, europe)과 같은 새로운 트리플을 추론함으로써 지식을 완성한다. If we apply the inference rule to the knowledge base,
Figure pat00035
The triple forms the rule body as a triple for the condition, infers the rule head corresponding to the conclusion from the rule body, and completes the knowledge by inferring a new triple such as locatedIn(italy, europe).

도 9는 본 발명의 일 실시예에 따른 지식완성 장치의 구성을 도시한 도면이다. 9 is a diagram illustrating the configuration of a knowledge completion device according to an embodiment of the present invention.

도 9를 참조하면, 본 실시예에 따른 지식완성 장치는 도 1의 과정을 수행하는 장치로서, 프로세서(900) 및 메모리(902)를 포함할 수 있다. Referring to FIG. 9 , the knowledge completion apparatus according to the present embodiment is an apparatus for performing the process of FIG. 1 , and may include a processor 900 and a memory 902 .

프로세서(900)는 컴퓨터 프로그램을 실행할 수 있는 CPU(central processing unit)나 그밖에 가상 머신 등을 포함할 수 있다. The processor 900 may include a central processing unit (CPU) or other virtual machine capable of executing a computer program.

메모리(902)는 고정식 하드 드라이브나 착탈식 저장 장치와 같은 불휘발성 저장 장치를 포함할 수 있다. 착탈식 저장 장치는 컴팩트 플래시 유닛, USB 메모리 스틱 등을 포함할 수 있다. 메모리(902)는 각종 랜덤 액세스 메모리와 같은 휘발성 메모리도 포함할 수 있다.Memory 902 may include a non-volatile storage device such as a fixed hard drive or a removable storage device. The removable storage device may include a compact flash unit, a USB memory stick, and the like. Memory 902 may also include volatile memory, such as various random access memories.

이와 같은 메모리(902)에는 프로세서(900)에 의해 실행 가능한 프로그램 명령어들이 저장된다. The memory 902 stores program instructions executable by the processor 900 .

본 발명의 일 실시예에 따른 프로그램 명령어들은, 미완성 지식베이스에 포함된 트리플 및 규칙 템플릿을 뉴럴 심볼릭 기반으로 다차원 공간에 임베딩하여 임베딩된 지식베이스를 생성하고, Neural Theorem Prover (NTP)가 상기 임베딩된 지식베이스를 업데이트하는 임베딩 학습을 통해 결론에 해당하는 규칙 헤드 및 조건에 해당하는 규칙 바디를 포함하는 새로운 추론 규칙을 획득하고, 상기 미완성 지식베이스에 상기 새로운 추론 규칙을 적용하여 지식을 완성한다. The program instructions according to an embodiment of the present invention generate an embedded knowledge base by embedding triples and rule templates included in the incomplete knowledge base in a multi-dimensional space based on a neural symbol, and Neural Theorem Prover (NTP) is the embedded A new reasoning rule including a rule head corresponding to a conclusion and a rule body corresponding to a condition is obtained through embedding learning for updating the knowledge base, and the new reasoning rule is applied to the incomplete knowledge base to complete knowledge.

여기서, 임베딩된 지식베이스의 업데이트는 규칙 템플릿의 Prediacate 임베딩 벡터값을 업데이트하는 것으로 정의된다. Here, the update of the embedded knowledge base is defined as updating the Prediacate embedding vector value of the rule template.

전술한 바와 같이, NTP는 OR 모듈, Unify 모듈 및 AND 모듈을 통해 새로운 추론 규칙은 생성하고, 새롭게 생성된 추론 규칙을 통해 미완성 지식베이스의 지식을 완성한다. As described above, the NTP creates a new reasoning rule through the OR module, the Unify module, and the AND module, and completes the knowledge of the incomplete knowledge base through the newly created reasoning rule.

상기한 본 발명의 실시예는 예시의 목적을 위해 개시된 것이고, 본 발명에 대한 통상의 지식을 가지는 당업자라면 본 발명의 사상과 범위 안에서 다양한 수정, 변경, 부가가 가능할 것이며, 이러한 수정, 변경 및 부가는 하기의 특허청구범위에 속하는 것으로 보아야 할 것이다.The above-described embodiments of the present invention have been disclosed for purposes of illustration, and various modifications, changes, and additions will be possible within the spirit and scope of the present invention by those skilled in the art having ordinary knowledge of the present invention, and such modifications, changes and additions should be regarded as belonging to the following claims.

Claims (10)

뉴럴 심볼릭 기반 규칙 생성을 통한 지식완성 장치로서,
프로세서; 및
상기 프로세서에 연결되는 메모리를 포함하되,
상기 메모리는,
미완성 지식베이스에 포함된 트리플 및 규칙 템플릿을 뉴럴 심볼릭 기반으로 다차원 공간에 임베딩하여 임베딩된 지식베이스를 생성하고,
Neural Theorem Prover (NTP)가 상기 임베딩된 지식베이스를 업데이트하는 임베딩 학습을 통해 결론에 해당하는 규칙 헤드 및 조건에 해당하는 규칙 바디를 포함하는 새로운 추론 규칙을 획득하고,
상기 미완성 지식베이스에 상기 새로운 추론 규칙을 적용하여 지식을 완성하도록,
상기 프로세서에 의해 실행 가능한 프로그램 명령어들을 포함하는 지식완성 장치.
As a knowledge completion device through neural symbol-based rule creation,
processor; and
a memory coupled to the processor;
The memory is
The embedded knowledge base is created by embedding the triples and rule templates included in the unfinished knowledge base in the multi-dimensional space based on the neural symbol,
Neural Theorem Prover (NTP) acquires a new reasoning rule including a rule head corresponding to a conclusion and a rule body corresponding to a condition through embedding learning to update the embedded knowledge base,
To complete the knowledge by applying the new reasoning rule to the incomplete knowledge base,
A knowledge completion device including program instructions executable by the processor.
제1항에 있어서,
상기 임베딩된 지식베이스의 업데이트는, 상기 규칙 템플릿의 Predicate 임베딩 벡터값을 업데이트하는 것으로 정의되는 지식완성 장치.
According to claim 1,
The update of the embedded knowledge base is defined as updating a value of a Predicate embedding vector of the rule template.
제1항에 있어서,
상기 NTP는, OR 모듈, Unify 모듈 및 AND 모듈을 포함하고,
상기 Unify 모듈은 상기 OR 모듈에 의해 호출되어 증명하고자 하는 논리 원소의 목표 트리플과, 상기 규칙 템플릿의 규칙 헤드를 매칭시키는 지식완성 장치.
According to claim 1,
The NTP includes an OR module, an Unify module and an AND module,
The Unify module is called by the OR module to match a target triple of a logical element to be verified and a rule head of the rule template.
제3항에 있어서,
상기 Unify 모듈은 Neural Symbolic Unification을 이용하여 상기 매칭 과정을 수행하는 지식완성 장치.
4. The method of claim 3,
The Unify module is a knowledge completion device that performs the matching process using Neural Symbolic Unification.
제3항에 있어서,
상기 AND 모듈은 상기 Unify 모듈에서 매칭된 엔티티를 이용하여 새로운 목표를 생성하고, 상기 생성된 새로운 목표와 전체 지식베이스 간의 Unify를 수행하여 새로운 바디를 완성하고, 새로운 바디에 대해서도 동일한 작업을 반복하여 트리를 형성하는 지식완성 장치.
4. The method of claim 3,
The AND module creates a new goal using the entity matched in the Unify module, performs Unify between the created new goal and the entire knowledge base to complete a new body, and repeats the same operation for the new body to create a tree knowledge completion device that forms
제3항에 있어서,
상기 NTP는, 집합(aggregation) 모듈을 포함하고, 상기 목표 트리플을 규칙 헤드로 갖는 가장 의미론적으로 부합하는 추론 규칙을 상기 새로운 추론 규칙을 선택하는 지식완성 장치.
4. The method of claim 3,
The NTP includes an aggregation module, and a knowledge completion device for selecting the new reasoning rule with the most semantically matching reasoning rule having the target triple as a rule head.
프로세서 및 메모리를 포함하는 장치에서 뉴럴 심볼릭 기반 규칙 생성을 통해 지식을 완성하는 방법으로서,
(a) 미완성 지식베이스에 포함된 트리플 및 규칙 템플릿을 뉴럴 심볼릭 기반으로 다차원 공간에 임베딩하여 임베딩된 지식베이스를 생성하는 단계;
(b) Neural Theorem Prover (NTP)가 상기 임베딩된 지식베이스를 업데이트하는 임베딩 학습을 통해 결론에 해당하는 규칙 헤드 및 조건에 해당하는 규칙 바디를 포함하는 새로운 추론 규칙을 획득하는 단계; 및
(c) 상기 미완성 지식베이스에 상기 새로운 추론 규칙을 적용하여 지식을 완성하는 단계를 포함하는 지식완성 방법.
A method of completing knowledge through neural symbol-based rule generation in a device comprising a processor and a memory, the method comprising:
(a) generating an embedded knowledge base by embedding the triples and rule templates included in the incomplete knowledge base in a multidimensional space based on a neural symbol;
(b) acquiring, by a Neural Theorem Prover (NTP), a new reasoning rule including a rule head corresponding to a conclusion and a rule body corresponding to a condition through embedding learning to update the embedded knowledge base; and
(c) completing the knowledge by applying the new reasoning rule to the incomplete knowledge base.
제7항에 있어서,
상기 (b) 단계는 상기 규칙 템플릿의 Predicate 임베딩 벡터값을 업데이트하는 단계를 포함하는 지식완성 방법.
8. The method of claim 7,
The step (b) includes updating a Predicate embedding vector value of the rule template.
제7항에 따른 방법을 수행하는 컴퓨터 판독 가능한 프로그램. A computer readable program for performing the method according to claim 7. 뉴럴 심볼릭 기반 규칙 생성을 통한 지식완성 시스템으로서,
미완성 지식베이스;
상기 미완성 지식베이스에 포함된 트리플 및 미리 정의된 규칙 템플릿을 뉴럴 심볼릭 기반으로 다차원 공간에 임베딩하여 생성되는 임베딩된 지식베이스;
상기 임베딩된 지식베이스를 업데이트하는 임베딩 학습을 통해 결론에 해당하는 규칙 헤드 및 조건에 해당하는 규칙 바디를 포함하는 새로운 추론 규칙을 획득하는 Neural Theorem Prover (NTP); 및
상기 미완성 지식베이스에 상기 새로운 추론 규칙을 적용하여 지식을 완성하는 추론 엔진을 포함하는 지식완성 시스템.




As a knowledge completion system through neural symbol-based rule creation,
unfinished knowledge base;
an embedded knowledge base generated by embedding triples and predefined rule templates included in the incomplete knowledge base in a multidimensional space based on a neural symbol;
Neural Theorem Prover (NTP) that acquires a new reasoning rule including a rule head corresponding to a conclusion and a rule body corresponding to a condition through embedding learning to update the embedded knowledge base; and
and an inference engine for completing knowledge by applying the new reasoning rule to the incomplete knowledge base.




KR1020200106770A 2020-08-25 2020-08-25 Knowledge completion method and apparatus through neural symbolic-based rule generation KR102410009B1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
KR1020200106770A KR102410009B1 (en) 2020-08-25 2020-08-25 Knowledge completion method and apparatus through neural symbolic-based rule generation
PCT/KR2020/018903 WO2022045488A1 (en) 2020-08-25 2020-12-22 Method and apparatus for knowledge completion via rule generation based on neural symbolic method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020200106770A KR102410009B1 (en) 2020-08-25 2020-08-25 Knowledge completion method and apparatus through neural symbolic-based rule generation

Publications (2)

Publication Number Publication Date
KR20220026111A true KR20220026111A (en) 2022-03-04
KR102410009B1 KR102410009B1 (en) 2022-06-15

Family

ID=80353405

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020200106770A KR102410009B1 (en) 2020-08-25 2020-08-25 Knowledge completion method and apparatus through neural symbolic-based rule generation

Country Status (2)

Country Link
KR (1) KR102410009B1 (en)
WO (1) WO2022045488A1 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102091240B1 (en) 2016-11-23 2020-03-20 한국전자통신연구원 Data processing apparatus and method for merging deterministic and non-deterministic knowledge information processing

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101983455B1 (en) * 2017-09-21 2019-05-28 숭실대학교산학협력단 Knowledge Base completion method and server
KR102206781B1 (en) * 2018-11-30 2021-01-25 고려대학교 산학협력단 Method of fake news evaluation based on knowledge-based inference, recording medium and apparatus for performing the method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102091240B1 (en) 2016-11-23 2020-03-20 한국전자통신연구원 Data processing apparatus and method for merging deterministic and non-deterministic knowledge information processing

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Rocktäschel, Tim, and Sebastian Riedel. End-to-end differentiable proving. arXiv preprint arXiv:1705.11040. 2017.* *
Xia, Shuang, Krysia Broda, and Alessandra Russo. Topical Neural Theorem Prover that Induces Rules. GCAI. 2020.4.* *

Also Published As

Publication number Publication date
WO2022045488A1 (en) 2022-03-03
KR102410009B1 (en) 2022-06-15

Similar Documents

Publication Publication Date Title
Amizadeh et al. Neuro-symbolic visual reasoning: Disentangling
Wainer Comparison of 14 different families of classification algorithms on 115 binary datasets
Neelakantan et al. Neural programmer: Inducing latent programs with gradient descent
US11581067B2 (en) Method and apparatus for generating a chemical structure using a neural network
Esposito et al. Multistrategy theory revision: Induction and abduction in inthelex
WO2020088330A1 (en) Latent space and text-based generative adversarial networks (latext-gans) for text generation
US11061805B2 (en) Code dependency influenced bug localization
Yan et al. Neural execution engines: Learning to execute subroutines
Borges et al. Learning and representing temporal knowledge in recurrent networks
US20210224692A1 (en) Hyperparameter tuning method, device, and program
Cassel et al. Learning extended finite state machines
KR102074909B1 (en) Apparatus and method for classifying software vulnerability
US20200074296A1 (en) Learning to search deep network architectures
CN113614688A (en) Large automation code
KR20210029110A (en) Method and apparatus for few-shot image classification based on deep learning
KR20200049273A (en) A method and apparatus of data configuring learning data set for machine learning
US20230089227A1 (en) Program generation apparatus, program generation method and program
KR102582779B1 (en) Knowledge completion method and apparatus through neuro symbolic-based relation embeding
KR102410009B1 (en) Knowledge completion method and apparatus through neural symbolic-based rule generation
Ray Hybrid abductive inductive learning
CN113609301A (en) Dialogue method, medium and system based on knowledge graph
US20230268035A1 (en) Method and apparatus for generating chemical structure using neural network
EP4064038B1 (en) Automated generation and integration of an optimized regular expression
KR20230049025A (en) Dimensionality reduction model and method for training same
JP2023051724A (en) Method and device for customized deep learning-based text correction

Legal Events

Date Code Title Description
E701 Decision to grant or registration of patent right
GRNT Written decision to grant