KR102603767B1 - Method and system for generating knowledge graphs automatically - Google Patents

Method and system for generating knowledge graphs automatically Download PDF

Info

Publication number
KR102603767B1
KR102603767B1 KR1020230114549A KR20230114549A KR102603767B1 KR 102603767 B1 KR102603767 B1 KR 102603767B1 KR 1020230114549 A KR1020230114549 A KR 1020230114549A KR 20230114549 A KR20230114549 A KR 20230114549A KR 102603767 B1 KR102603767 B1 KR 102603767B1
Authority
KR
South Korea
Prior art keywords
knowledge graph
entities
machine learning
learning model
domain
Prior art date
Application number
KR1020230114549A
Other languages
Korean (ko)
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 KR1020230114549A priority Critical patent/KR102603767B1/en
Application granted granted Critical
Publication of KR102603767B1 publication Critical patent/KR102603767B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/901Indexing; Data structures therefor; Storage structures
    • G06F16/9024Graphs; Linked lists
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/36Creation of semantic tools, e.g. ontology or thesauri
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/80Information retrieval; Database structures therefor; File system structures therefor of semi-structured data, e.g. markup language structured data such as SGML, XML or HTML
    • G06F16/84Mapping; Conversion
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/907Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/169Annotation, e.g. comment data or footnotes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N20/00Machine learning

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Software Systems (AREA)
  • Computational Linguistics (AREA)
  • Artificial Intelligence (AREA)
  • Health & Medical Sciences (AREA)
  • Library & Information Science (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Evolutionary Computation (AREA)
  • Medical Informatics (AREA)
  • Computing Systems (AREA)
  • Mathematical Physics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

본 개시는 적어도 하나의 프로세서에 의해 수행되는, 지식 그래프 자동 생성 방법을 제공한다. 이 방법은, 입력 데이터 세트를 수신하는 단계, 입력 데이터 세트와 연관된 도메인을 식별하는 단계, 도메인과 연관된 기계 학습 모델을 이용하여, 입력 데이터 세트에 기초하여 로컬 지식 그래프를 생성하는 단계 및 로컬 지식 그래프에 기초하여, 글로벌 지식 그래프를 구축하는 단계를 포함한다.The present disclosure provides a method for automatically generating a knowledge graph, which is performed by at least one processor. The method includes receiving an input data set, identifying a domain associated with the input data set, using a machine learning model associated with the domain, to generate a local knowledge graph based on the input data set, and the local knowledge graph. Based on this, it includes the step of building a global knowledge graph.

Description

지식 그래프 자동 생성 방법 및 시스템{METHOD AND SYSTEM FOR GENERATING KNOWLEDGE GRAPHS AUTOMATICALLY}Knowledge graph automatic generation method and system {METHOD AND SYSTEM FOR GENERATING KNOWLEDGE GRAPHS AUTOMATICALLY}

본 개시는 지식 그래프 자동 생성 방법 및 시스템에 관한 것으로, 구체적으로, 수신한 입력 데이터 세트와 연관된 도메인을 식별하고, 해당 도메인과 연관된 기계 학습 모델을 이용하여 로컬 지식 그래프를 생성하고, 글로벌 지식 그래프를 구축하는 방법 및 시스템에 관한 것이다.This disclosure relates to a method and system for automatically generating a knowledge graph, and specifically, to identify a domain associated with a received input data set, generate a local knowledge graph using a machine learning model associated with the domain, and create a global knowledge graph. It is about construction methods and systems.

네트워크 및 정보 처리 기술이 발전함에 따라, 사용자에게 다양한 서비스를 제공하기 위하여 다양한 데이터가 수집 및 이용될 수 있다. 여기서, 이러한 데이터를 활용하기 위해 수집된 데이터를 정리하고 표준화하여 통합함으로써 데이터가 가공 및 정제될 필요가 있다. 서비스를 제공하는 서버는 사용자에게 보다 적절한 서비스를 제공하기 위하여, 다양한 카테고리에 대한 지식 그래프를 활용하고 있다. 여기서, 지식 그래프는 정보와 지식을 구조화하고 표현하는 방법으로서, 어떤 개념이 다른 개념과 어떤 방식으로 연결되어 있는지를 그래프 형태로 표현된 것을 의미할 수 있다.As network and information processing technology develops, various data can be collected and used to provide various services to users. Here, in order to utilize this data, the data needs to be processed and refined by organizing, standardizing, and integrating the collected data. Servers that provide services utilize knowledge graphs for various categories to provide more appropriate services to users. Here, a knowledge graph is a method of structuring and expressing information and knowledge, and may mean expressing in the form of a graph how a concept is connected to other concepts.

한편, 지식이라는 개념이 의미론적 관점을 포함하기 때문에 최초로 지식 그래프를 구축할 때 프로그램이 기계적으로 처리하는데 한계가 있다. 이에, 종래 기술은 지식 그래프를 생성하기 위해 지식 문서(knowledge document)를 그래프 자료 구조로 사람이 직접 변환하여 입력하였다. 그러나, 이러한 종래 기술은 대용량 데이터를 지식 그래프로 나타내는데 시간과 비용이 많이 소요된다는 문제점이 있다.On the other hand, because the concept of knowledge includes a semantic perspective, there are limitations in the program's mechanical processing when first constructing a knowledge graph. Accordingly, in the prior art, a person directly converted a knowledge document into a graph data structure and input it to create a knowledge graph. However, this prior art has the problem that it takes a lot of time and money to represent large amounts of data as a knowledge graph.

본 개시는 상기와 같은 문제점을 해결하기 위한 지식 그래프 자동 생성 방법 및 시스템(장치)을 제공한다.The present disclosure provides a method and system (device) for automatically generating a knowledge graph to solve the above problems.

본 개시는 방법, 장치(시스템) 또는 판독 가능 저장 매체에 저장된 컴퓨터 프로그램을 포함한 다양한 방식으로 구현될 수 있다.The present disclosure may be implemented in various ways, including as a method, device (system), or computer program stored in a readable storage medium.

본 개시의 일 실시예에 따르면, 지식 그래프 자동 생성 방법은, 입력 데이터 세트를 수신하는 단계, 입력 데이터 세트와 연관된 도메인을 식별하는 단계, 도메인과 연관된 기계 학습 모델을 이용하여, 입력 데이터 세트에 기초하여 로컬 지식 그래프를 생성하는 단계 및 로컬 지식 그래프에 기초하여, 글로벌 지식 그래프를 구축하는 단계를 포함할 수 있다.According to an embodiment of the present disclosure, a method for automatically generating a knowledge graph includes receiving an input data set, identifying a domain associated with the input data set, and using a machine learning model associated with the domain to base the knowledge graph on the input data set. This may include generating a local knowledge graph and building a global knowledge graph based on the local knowledge graph.

본 개시의 일 실시예에 따르면, 기계 학습 모델은, 입력받은 데이터로부터 추출된 메타 데이터(meta data)에 기초하여 입력받은 데이터와 연관된 복수의 엔티티(entity) 및 복수의 엔티티 간의 관계(relationship)를 생성하도록 사전 학습될 수 있다.According to an embodiment of the present disclosure, the machine learning model identifies a plurality of entities associated with the input data and relationships between the plurality of entities based on meta data extracted from the input data. Can be pre-trained to generate

본 개시의 일 실시예에 따르면, 기계 학습 모델은, 사전 결정된 도메인이 어노테이션(annotation)된 지식 베이스(knowledge base) 문서를 이용하여 학습될 수 있다.According to an embodiment of the present disclosure, a machine learning model may be learned using a knowledge base document in which a predetermined domain is annotated.

본 개시의 일 실시예에 따르면, 로컬 지식 그래프를 생성하는 단계는, 기계 학습 모델을 이용하여 입력 데이터 세트와 연관된 복수의 엔티티 및 복수의 엔티티 간의 관계를 생성하는 단계 및 복수의 엔티티 및 복수의 엔티티 간의 관계에 기초하여, 도메인과 연관된 로컬 지식 그래프를 생성하는 단계를 포함할 수 있다.According to an embodiment of the present disclosure, generating a local knowledge graph includes generating a plurality of entities and relationships between a plurality of entities associated with an input data set using a machine learning model, and a plurality of entities and a plurality of entities. It may include generating a local knowledge graph associated with the domain based on the relationships between the domains.

본 개시의 일 실시예에 따르면, 글로벌 지식 그래프를 구축하는 단계는, 로컬 지식 그래프의 인스턴스 노드(instance node)를 중심으로 사전 결정된 범위 내의 엔티티 간의 관계를 추출하는 단계 및 추출된 엔티티 간의 관계에 기초하여, 로컬 지식 그래프를 통합하여 글로벌 지식 그래프를 구축하는 단계를 포함할 수 있다.According to an embodiment of the present disclosure, the step of constructing a global knowledge graph includes extracting relationships between entities within a predetermined range centered on instance nodes of the local knowledge graph and based on the relationships between the extracted entities. Thus, it may include the step of building a global knowledge graph by integrating the local knowledge graph.

본 개시의 일 실시예에 따르면, 글로벌 지식 그래프에 포함된 복수의 엔티티 각각에 대응하는 인덱스를 생성하는 단계를 더 포함할 수 있다.According to an embodiment of the present disclosure, the method may further include generating an index corresponding to each of a plurality of entities included in the global knowledge graph.

본 개시의 일 실시예에 따르면, 인덱스를 생성하는 단계는, 글로벌 지식 그래프에 포함된 복수의 엔티티 각각을 벡터로 임베딩(embedding)하는 단계 및 임베딩된 벡터를 글로벌 지식 그래프에 대응하여 맵핑(mapping)하는 단계를 포함할 수 있다.According to an embodiment of the present disclosure, the step of generating an index includes embedding each of a plurality of entities included in the global knowledge graph into a vector and mapping the embedded vectors to the global knowledge graph. It may include steps.

본 개시의 일 실시예에 따르면, 벡터로 임베딩하는 단계는, 글로벌 지식 그래프에서 변경된 내용을 순차적으로 로그에 기록하여, 비동기적으로 수행될 수 있다.According to an embodiment of the present disclosure, the step of embedding into a vector may be performed asynchronously by sequentially recording changes in the global knowledge graph in a log.

본 개시의 일 실시예에 따른 방법을 컴퓨터에서 실행하기 위해 컴퓨터로 판독 가능한 기록 매체에 저장된 컴퓨터 프로그램이 제공될 수 있다.In order to execute the method according to an embodiment of the present disclosure on a computer, a computer program stored in a computer-readable recording medium may be provided.

본 개시의 일 실시예에 따른 시스템으로서, 통신 모듈, 메모리 및 메모리와 연결되고, 메모리에 포함된 컴퓨터 판독 가능한 적어도 하나의 프로그램을 실행하도록 구성된 적어도 하나의 프로세서를 포함하고, 적어도 하나의 프로그램은 입력 데이터 세트를 수신하고, 입력 데이터 세트와 연관된 도메인을 식별하고, 도메인과 연관된 기계 학습 모델을 이용하여, 입력 데이터 세트에 기초하여 로컬 지식 그래프를 생성하고, 로컬 지식 그래프에 기초하여, 글로벌 지식 그래프를 구축하기 위한 명령어들을 포함할 수 있다.A system according to an embodiment of the present disclosure includes a communication module, a memory, and at least one processor connected to the memory and configured to execute at least one computer-readable program included in the memory, wherein the at least one program is an input Receive a data set, identify the domain associated with the input data set, use machine learning models associated with the domain to generate a local knowledge graph based on the input data set, and based on the local knowledge graph, create a global knowledge graph. It may contain commands for building.

본 개시의 일부 실시예에 따르면, 기계 학습 모델을 이용하여 입력 데이터 세트에 대한 의미론적 처리(semantic processing)을 수행함으로써, 지식 그래프가 용이하게 생성될 수 있다. 이에 따라, 사람이 직접 데이터를 지식 그래프로 입력하지 않으므로, 방대한 양의 데이터를 지식 그래프로 변환하는데 소요되는 시간과 비용이 대폭 줄어들 수 있다.According to some embodiments of the present disclosure, a knowledge graph can be easily created by performing semantic processing on an input data set using a machine learning model. Accordingly, since people do not directly input data into the knowledge graph, the time and cost required to convert massive amounts of data into the knowledge graph can be significantly reduced.

본 개시의 일부 실시예에 따르면, 정보 처리 시스템에서 기능을 수행하는 구성 및 데이터가 분산될 수 있다. 이에 따라, 지식 그래프를 생성하기 위해 방대한 양의 데이터를 처리하는 속도가 대폭 향상되고, 방대한 양의 데이터를 처리하기 위한 시스템 확장이 매우 용이할 수 있다.According to some embodiments of the present disclosure, components and data that perform functions in an information processing system may be distributed. Accordingly, the speed of processing vast amounts of data to create a knowledge graph is greatly improved, and system expansion to process vast amounts of data can be very easy.

본 개시의 일부 실시예에 따르면, 글로벌 지식 그래프는 엔티티 및/또는 관계를 포함하는 복수의 엔티티가 어떤 로컬 지식 그래프와 연관성이 있는지 나타낼 수 있다. 이에 따라, 특정 엔티티 및/또는 관계를 포함하는 복수의 엔티티가 해당하는 도메인이 용이하게 탐색될 수 있다.According to some embodiments of the present disclosure, a global knowledge graph may indicate which local knowledge graph a plurality of entities including entities and/or relationships are associated with. Accordingly, a domain corresponding to a plurality of entities including a specific entity and/or relationship can be easily searched.

본 개시의 일부 실시예에 따르면, 지식 그래프에서 엔티티 및 엔티티 간의 관계를 벡터로 임베딩하여 인덱스가 생성될 수 있다. 이에 따라, 지식 그래프 내의 데이터를 수치적으로 표현함으로써, 찾고자 하는 데이터를 빠르게 검색되고, 처리될 수 있다. 또한, 지식 그래프를 이용하는 시스템의 성능이 대폭 향상될 수 있다.According to some embodiments of the present disclosure, an index may be created by embedding entities and relationships between entities in a knowledge graph as vectors. Accordingly, by numerically expressing the data in the knowledge graph, the data you are looking for can be quickly searched and processed. Additionally, the performance of systems using knowledge graphs can be significantly improved.

본 개시의 효과는 이상에서 언급한 효과로 제한되지 않으며, 언급되지 않은 다른 효과들은 청구범위의 기재로부터 본 개시가 속하는 기술분야에서 통상의 지식을 가진 자("통상의 기술자"라 함)에게 명확하게 이해될 수 있을 것이다.The effects of the present disclosure are not limited to the effects mentioned above, and other effects not mentioned are clear to a person skilled in the art (referred to as “a person skilled in the art”) in the technical field to which the present disclosure pertains from the description of the claims. It will be understandable.

본 개시의 실시예들은, 이하 설명하는 첨부 도면들을 참조하여 설명될 것이며, 여기서 유사한 참조 번호는 유사한 요소들을 나타내지만, 이에 한정되지는 않는다.
도 1은 본 개시의 일 실시예에 따라 지식 그래프가 자동으로 생성되는 예시를 나타낸다.
도 2는 본 개시의 일 실시예에 따른 지식 그래프를 생성하기 위해, 정보 처리 시스템이 복수의 사용자 단말과 통신 가능하도록 연결된 구성을 나타내는 개요도이다.
도 3은 본 개시의 일 실시예에 따른 사용자 단말 및 정보 처리 시스템의 내부 구성을 나타내는 블록도이다.
도 4는 본 개시의 일 실시예에 따른 기계 학습 모델이 학습되는 예시를 나타내는 도면이다.
도 5는 본 개시의 일 실시예에 따른 지식 그래프를 생성하기 위한 정보 처리 시스템의 기능적 구성의 예시를 나타내는 도면이다.
도 6은 본 개시의 일 실시예에 따라 지식 그래프 생성기가 지식 그래프를 생성하는 예시를 나타내는 도면이다.
도 7은 본 개시의 일 실시예에 따라 지식 그래프의 엔티티에 대응하는 인덱스가 생성되는 예시를 나타내는 도면이다.
도 8은 본 개시의 일 실시예에 따른 방법의 예시를 나타내는 흐름도이다.
Embodiments of the present disclosure will be described with reference to the accompanying drawings described below, in which like reference numerals indicate like elements, but are not limited thereto.
Figure 1 shows an example in which a knowledge graph is automatically generated according to an embodiment of the present disclosure.
Figure 2 is a schematic diagram showing a configuration in which an information processing system is connected to communicate with a plurality of user terminals in order to generate a knowledge graph according to an embodiment of the present disclosure.
Figure 3 is a block diagram showing the internal configuration of a user terminal and an information processing system according to an embodiment of the present disclosure.
Figure 4 is a diagram illustrating an example of learning a machine learning model according to an embodiment of the present disclosure.
FIG. 5 is a diagram illustrating an example of the functional configuration of an information processing system for generating a knowledge graph according to an embodiment of the present disclosure.
FIG. 6 is a diagram illustrating an example of a knowledge graph generator generating a knowledge graph according to an embodiment of the present disclosure.
FIG. 7 is a diagram illustrating an example in which an index corresponding to an entity of a knowledge graph is created according to an embodiment of the present disclosure.
Figure 8 is a flowchart showing an example of a method according to an embodiment of the present disclosure.

이하, 본 개시의 실시를 위한 구체적인 내용을 첨부된 도면을 참조하여 상세히 설명한다. 다만, 이하의 설명에서는 본 개시의 요지를 불필요하게 흐릴 우려가 있는 경우, 널리 알려진 기능이나 구성에 관한 구체적 설명은 생략하기로 한다.Hereinafter, specific details for implementing the present disclosure will be described in detail with reference to the attached drawings. However, in the following description, detailed descriptions of well-known functions or configurations will be omitted if there is a risk of unnecessarily obscuring the gist of the present disclosure.

첨부된 도면에서, 동일하거나 대응하는 구성요소에는 동일한 참조부호가 부여되어 있다. 또한, 이하의 실시예들의 설명에 있어서, 동일하거나 대응되는 구성요소를 중복하여 기술하는 것이 생략될 수 있다. 그러나, 구성요소에 관한 기술이 생략되어도, 그러한 구성요소가 어떤 실시예에 포함되지 않는 것으로 의도되지는 않는다.In the accompanying drawings, identical or corresponding components are given the same reference numerals. Additionally, in the description of the following embodiments, overlapping descriptions of identical or corresponding components may be omitted. However, even if descriptions of components are omitted, it is not intended that such components are not included in any embodiment.

개시된 실시예의 이점 및 특징, 그리고 그것들을 달성하는 방법은 첨부되는 도면과 함께 후술되어 있는 실시예들을 참조하면 명확해질 것이다. 그러나, 본 개시는 이하에서 개시되는 실시예들에 한정되는 것이 아니라 서로 다른 다양한 형태로 구현될 수 있으며, 단지 본 실시예들은 본 개시가 완전하도록 하고, 본 개시가 통상의 기술자에게 발명의 범주를 완전하게 알려주기 위해 제공되는 것일 뿐이다.Advantages and features of the disclosed embodiments and methods for achieving them will become clear by referring to the embodiments described below in conjunction with the accompanying drawings. However, the present disclosure is not limited to the embodiments disclosed below and may be implemented in various different forms. The present embodiments are merely provided to ensure that the present disclosure is complete and that the present disclosure does not convey the scope of the invention to those skilled in the art. It is provided only for complete information.

본 명세서에서 사용되는 용어에 대해 간략히 설명하고, 개시된 실시예에 대해 구체적으로 설명하기로 한다. 본 명세서에서 사용되는 용어는 본 개시에서의 기능을 고려하면서 가능한 현재 널리 사용되는 일반적인 용어들을 선택하였으나, 이는 관련 분야에 종사하는 기술자의 의도 또는 판례, 새로운 기술의 출현 등에 따라 달라질 수 있다. 또한, 특정한 경우는 출원인이 임의로 선정한 용어도 있으며, 이 경우 해당되는 발명의 설명 부분에서 상세히 그 의미를 기재할 것이다. 따라서, 본 개시에서 사용되는 용어는 단순한 용어의 명칭이 아닌, 그 용어가 가지는 의미와 본 개시의 전반에 걸친 내용을 토대로 정의되어야 한다.Terms used in this specification will be briefly described, and the disclosed embodiments will be described in detail. The terms used in this specification are general terms that are currently widely used as much as possible while considering the function in the present disclosure, but this may vary depending on the intention or precedent of a technician working in the related field, the emergence of new technology, etc. In addition, in certain cases, there are terms arbitrarily selected by the applicant, and in this case, the meaning will be described in detail in the description of the relevant invention. Accordingly, the terms used in this disclosure should be defined based on the meaning of the term and the overall content of the present disclosure, rather than simply the name of the term.

본 명세서에서의 단수의 표현은 문맥상 명백하게 단수인 것으로 특정하지 않는 한, 복수의 표현을 포함한다. 또한, 복수의 표현은 문맥상 명백하게 복수인 것으로 특정하지 않는 한, 단수의 표현을 포함한다. 명세서 전체에서 어떤 부분이 어떤 구성요소를 포함한다고 할 때, 이는 특별히 반대되는 기재가 없는 한 다른 구성요소를 제외하는 것이 아니라 다른 구성요소를 더 포함할 수 있음을 의미한다.In this specification, singular expressions include plural expressions, unless the context clearly specifies the singular. Additionally, plural expressions include singular expressions, unless the context clearly specifies plural expressions. When it is said that a certain part includes a certain element throughout the specification, this does not mean excluding other elements, but may further include other elements, unless specifically stated to the contrary.

또한, 명세서에서 사용되는 '모듈' 또는 '부'라는 용어는 소프트웨어 또는 하드웨어 구성요소를 의미하며, '모듈' 또는 '부'는 어떤 역할들을 수행한다. 그렇지만, '모듈' 또는 '부'는 소프트웨어 또는 하드웨어에 한정되는 의미는 아니다. '모듈' 또는 '부'는 어드레싱할 수 있는 저장 매체에 있도록 구성될 수도 있고 하나 또는 그 이상의 프로세서들을 재생시키도록 구성될 수도 있다. 따라서, 일 예로서, '모듈' 또는 '부'는 소프트웨어 구성요소들, 객체지향 소프트웨어 구성요소들, 클래스 구성요소들 및 태스크 구성요소들과 같은 구성요소들과, 프로세스들, 함수들, 속성들, 프로시저들, 서브루틴들, 프로그램 코드의 세그먼트들, 드라이버들, 펌웨어, 마이크로 코드, 회로, 데이터, 데이터베이스, 데이터 구조들, 테이블들, 어레이들 또는 변수들 중 적어도 하나를 포함할 수 있다. 구성요소들과 '모듈' 또는 '부'들은 안에서 제공되는 기능은 더 작은 수의 구성요소들 및 '모듈' 또는 '부'들로 결합되거나 추가적인 구성요소들과 '모듈' 또는 '부'들로 더 분리될 수 있다.Additionally, the term 'module' or 'unit' used in the specification refers to a software or hardware component, and the 'module' or 'unit' performs certain roles. However, 'module' or 'unit' is not limited to software or hardware. A 'module' or 'unit' may be configured to reside on an addressable storage medium and may be configured to run on one or more processors. Thus, as an example, a 'module' or 'part' refers to components such as software components, object-oriented software components, class components and task components, processes, functions and properties. , procedures, subroutines, segments of program code, drivers, firmware, microcode, circuits, data, databases, data structures, tables, arrays, or variables. Components and 'modules' or 'parts' may be combined into smaller components and 'modules' or 'parts' or further components and 'modules' or 'parts'. Could be further separated.

본 개시의 일 실시예에 따르면, '모듈' 또는 '부'는 프로세서 및 메모리로 구현될 수 있다. '프로세서'는 범용 프로세서, 중앙 처리 장치(CPU), 마이크로프로세서, 디지털 신호 프로세서(DSP), 제어기, 마이크로제어기, 상태 머신 등을 포함하도록 넓게 해석되어야 한다. 몇몇 환경에서, '프로세서'는 주문형 반도체(ASIC), 프로그램가능 로직 디바이스(PLD), 필드 프로그램가능 게이트 어레이(FPGA) 등을 지칭할 수도 있다. '프로세서'는, 예를 들어, DSP와 마이크로프로세서의 조합, 복수의 마이크로프로세서들의 조합, DSP 코어와 결합한 하나 이상의 마이크로프로세서들의 조합, 또는 임의의 다른 그러한 구성들의 조합과 같은 처리 디바이스들의 조합을 지칭할 수도 있다. 또한, '메모리'는 전자 정보를 저장 가능한 임의의 전자 컴포넌트를 포함하도록 넓게 해석되어야 한다. '메모리'는 임의 액세스 메모리(RAM), 판독-전용 메모리(ROM), 비-휘발성 임의 액세스 메모리(NVRAM), 프로그램가능 판독-전용 메모리(PROM), 소거-프로그램가능 판독 전용 메모리(EPROM), 전기적으로 소거가능 PROM(EEPROM), 플래쉬 메모리, 자기 또는 광학 데이터 저장장치, 레지스터들 등과 같은 프로세서-판독가능 매체의 다양한 유형들을 지칭할 수도 있다. 프로세서가 메모리로부터 정보를 판독하고/하거나 메모리에 정보를 기록할 수 있다면 메모리는 프로세서와 전자 통신 상태에 있다고 불린다. 프로세서에 집적된 메모리는 프로세서와 전자 통신 상태에 있다.According to an embodiment of the present disclosure, a 'module' or 'unit' may be implemented with a processor and memory. 'Processor' should be interpreted broadly to include general-purpose processors, central processing units (CPUs), microprocessors, digital signal processors (DSPs), controllers, microcontrollers, state machines, etc. In some contexts, 'processor' may refer to an application-specific integrated circuit (ASIC), programmable logic device (PLD), field programmable gate array (FPGA), etc. 'Processor' refers to a combination of processing devices, for example, a combination of a DSP and a microprocessor, a combination of a plurality of microprocessors, a combination of one or more microprocessors in combination with a DSP core, or any other such combination of configurations. You may. Additionally, 'memory' should be interpreted broadly to include any electronic component capable of storing electronic information. 'Memory' refers to random access memory (RAM), read-only memory (ROM), non-volatile random access memory (NVRAM), programmable read-only memory (PROM), erasable-programmable read-only memory (EPROM), May also refer to various types of processor-readable media, such as electrically erasable PROM (EEPROM), flash memory, magnetic or optical data storage, registers, etc. A memory is said to be in electronic communication with a processor if the processor can read information from and/or write information to the memory. The memory integrated into the processor is in electronic communication with the processor.

본 개시에서, '시스템'은 서버 장치와 클라우드 장치 중 적어도 하나의 장치를 포함할 수 있으나, 이에 한정되는 것은 아니다. 예를 들어, 시스템은 하나 이상의 서버 장치로 구성될 수 있다. 다른 예로서, 시스템은 하나 이상의 클라우드 장치로 구성될 수 있다. 또 다른 예로서, 시스템은 서버 장치와 클라우드 장치가 함께 구성되어 동작될 수 있다.In the present disclosure, 'system' may include at least one of a server device and a cloud device, but is not limited thereto. For example, a system may consist of one or more server devices. As another example, a system may consist of one or more cloud devices. As another example, the system may be operated with a server device and a cloud device configured together.

본 개시에서, '디스플레이'는 컴퓨팅 장치와 연관된 임의의 디스플레이 장치를 지칭할 수 있는데, 예를 들어, 컴퓨팅 장치에 의해 제어되거나 컴퓨팅 장치로부터 제공된 임의의 정보/데이터를 표시할 수 있는 임의의 디스플레이 장치를 지칭할 수 있다.In this disclosure, 'display' may refer to any display device associated with a computing device, e.g., any display device capable of displaying any information/data controlled by or provided by the computing device. can refer to.

본 개시에서, '복수의 A의 각각' 또는 '복수의 A 각각'은 복수의 A에 포함된 모든 구성 요소의 각각을 지칭하거나, 복수의 A에 포함된 일부 구성 요소의 각각을 지칭할 수 있다.In the present disclosure, 'each of a plurality of A' or 'each of a plurality of A' may refer to each of all components included in a plurality of A, or may refer to each of some components included in a plurality of A. .

본 개시에서, '지식 그래프(knowledge graph)'는 현실 세계의 지식을 나타내거나 특징화하는 임의의 그래프 구조를 지칭할 수 있다. 지식 그래프는 엔티티(entity)와 엔티티 간의 관계(relationship) 각각을 노드(node)와 엣지(edge)로 표현함으로써 정보를 구조화하고 연결할 수 있다. 또한, 본 개시에서, 예를 들어, 로컬 지식 그래프(local knowledge graph)는 특정 주제나 분야에 사용되는 작은 규모의 지식 그래프로서, 한정된 범위 내에서 정보를 표현할 수 있다. 추가적으로, 글로벌 지식 그래프(global knowledge graph)는 다양한 주제와 분야에 사용되는 큰 규모의 지식 그래프로서, 넓은 범위의 정보를 표현할 수 있다.In this disclosure, 'knowledge graph' may refer to any graph structure that represents or characterizes knowledge in the real world. The knowledge graph can structure and connect information by expressing entities and relationships between entities as nodes and edges, respectively. Additionally, in the present disclosure, for example, a local knowledge graph is a small-scale knowledge graph used for a specific topic or field, and can express information within a limited range. Additionally, a global knowledge graph is a large-scale knowledge graph used in a variety of topics and fields and can represent a wide range of information.

본 개시에서, '도메인(domain)'은 지식 그래프에서 특정 주제, 분야, 주변 환경 등의 특정한 범위 또는 영역을 나타내거나 특징화할 수 있다. 예를 들어, 이러한 도메인은 지식 그래프 내에서 다루어지는 내용의 범위를 제한 및 구체화하는데 사용될 수 있다.In the present disclosure, 'domain' may represent or characterize a specific scope or area, such as a specific topic, field, or surrounding environment, in a knowledge graph. For example, these domains can be used to limit and refine the scope of content covered within the knowledge graph.

본 개시에서, '기계학습 모델'은 주어진 입력에 대한 해답(answer)을 추론하는데 사용하는 임의의 모델을 포함할 수 있다. 일 실시예에 따르면, 기계학습 모델은 입력 레이어(층), 복수 개의 은닉 레이어 및 출력 레이어를 포함한 인공신경망 모델을 포함할 수 있다. 여기서, 각 레이어는 복수의 노드를 포함할 수 있다. 본 개시에서, 복수의 기계학습 모델 각각을 별도의 기계학습 모델로서 설명하나, 이에 한정되지 않으며, 복수의 기계학습 모델의 일부 또는 전체는 하나의 기계학습 모델로 구현될 수 있다. 또한, 하나의 기계학습 모델은 복수의 기계학습 모델을 포함할 수 있다. 본 개시에서, 기계학습 모델과 인공신경망 모델이라는 용어들은 동일 또는 유사한 모델을 나타내도록 상호 교환적으로 사용될 수 있다.In this disclosure, 'machine learning model' may include any model used to infer an answer to a given input. According to one embodiment, the machine learning model may include an artificial neural network model including an input layer (layer), a plurality of hidden layers, and an output layer. Here, each layer may include multiple nodes. In this disclosure, each of the plurality of machine learning models is described as a separate machine learning model, but the present invention is not limited thereto, and some or all of the plurality of machine learning models may be implemented as one machine learning model. Additionally, one machine learning model may include multiple machine learning models. In this disclosure, the terms machine learning model and artificial neural network model may be used interchangeably to refer to the same or similar model.

본 개시에서, '초대형 언어 모델(Large Language Model; LLM)'은 퓨샷 러닝(few-shot learning) 등과 같은 방식을 이용하여 파인 튜닝(fine-tuning) 없이 추론이 가능한 언어 모델을 지칭할 수 있으며, 기존의 일반 언어 모델에 비해 10배 이상 많은 매개 변수(예를 들어, 1000억 개 이상의 매개 변수 등)를 가질 수 있다. 본 개시에서, '언어 모델'은 초대형 언어 모델을 포함할 수 있다.In this disclosure, 'Large Language Model (LLM)' may refer to a language model capable of inference without fine-tuning using methods such as few-shot learning, It can have more than 10 times as many parameters (for example, more than 100 billion parameters) compared to existing general language models. In this disclosure, 'language model' may include a very large language model.

도 1은 본 개시의 일 실시예에 따라 지식 그래프(150)가 자동으로 생성되는 예시를 나타낸다. 일 실시예에서, 정보 처리 시스템(미도시)은 입력 데이터 세트(110)를 수신할 수 있다. 여기서, 입력 데이터 세트(110)는 텍스트 문서, 웹 페이지, 데이터베이스 등에서 추출된 데이터를 포함할 수 있다. 또한, 정보 처리 시스템은 입력 데이터 세트(110)와 연관된 도메인을 식별할 수 있다. 예를 들어, 정보 처리 시스템은 입력 데이터 세트(110)를 분석하여, 해당 입력 데이터 세트(110)가 자율주행 분야와 연관되는 것으로 결정할 수 있다. 대안적으로, 정보 처리 시스템은 사전 학습된 기계 학습 모델(예를 들어, 언어 모델 등)을 이용하여 입력 데이터 세트(110)와 연관된 도메인을 식별할 수 있다.Figure 1 shows an example in which the knowledge graph 150 is automatically generated according to an embodiment of the present disclosure. In one embodiment, an information processing system (not shown) may receive input data set 110. Here, the input data set 110 may include data extracted from text documents, web pages, databases, etc. Additionally, the information processing system may identify the domain associated with the input data set 110. For example, the information processing system may analyze the input data set 110 and determine that the input data set 110 is related to the field of autonomous driving. Alternatively, the information processing system may use a pre-trained machine learning model (e.g., language model, etc.) to identify the domain associated with the input data set 110.

일 실시예에서, 정보 처리 시스템은 식별된 도메인과 연관된 기계 학습 모델(120)을 이용하여, 입력 데이터 세트(110)에 기초하여 지식 그래프(150)를 생성할 수 있다. 구체적으로, 정보 처리 시스템은 식별된 도메인과 연관된 기계 학습 모델(120)을 이용하여 입력 데이터 세트(110)와 연관된 복수의 엔티티(130) 및 복수의 엔티티 간의 관계(140)를 생성할 수 있다. 여기서, 기계 학습 모델(120)은 입력 데이터 세트(110)를 수신하여, 복수의 엔티티(130) 및 복수의 엔티티 간의 관계(140)를 출력하도록 사전 학습된 모델일 수 있다. 또는, 기계 학습 모델(120)은 입력 데이터 세트(110)로부터 추출 또는 식별된 도메인을 수신하여, 복수의 엔티티(130) 및 복수의 엔티티 간의 관계(140)를 출력하도록 사전 학습된 모델일 수 있다. 이와 달리, 기계 학습 모델(120)은 입력 데이터 세트(110) 및 입력 데이터 세트(110) 로부터 추출 또는 식별된 도메인을 수신하여, 복수의 엔티티(130) 및 복수의 엔티티 간의 관계(140)를 출력하도록 사전 학습된 모델일 수 있다.In one embodiment, the information processing system may generate a knowledge graph 150 based on the input data set 110 using a machine learning model 120 associated with the identified domain. Specifically, the information processing system may generate a plurality of entities 130 and relationships 140 between the plurality of entities associated with the input data set 110 using a machine learning model 120 associated with the identified domain. Here, the machine learning model 120 may be a pre-trained model that receives the input data set 110 and outputs a plurality of entities 130 and relationships 140 between the plurality of entities. Alternatively, the machine learning model 120 may be a pre-trained model that receives a domain extracted or identified from the input data set 110 and outputs a plurality of entities 130 and relationships 140 between the plurality of entities. . In contrast, the machine learning model 120 receives the input data set 110 and the domain extracted or identified from the input data set 110, and outputs a plurality of entities 130 and relationships 140 between the plurality of entities. It may be a pre-trained model to do so.

또한, 정보 처리 시스템은 생성된 복수의 엔티티(130) 및 복수의 엔티티 간의 관계(140)에 기초하여, 식별된 도메인과 연관된 로컬 지식 그래프를 생성할 수 있다. 추가적으로, 정보 처리 시스템은 생성된 로컬 지식 그래프의 인스턴스 노드(instance node)를 중심으로 사전 결정된 범위 내의 엔티티 간의 관계를 추출할 수 있다. 정보 처리 시스템은 추출된 엔티티 간의 관계에 기초하여 로컬 지식 그래프를 포함한 복수의 로컬 지식 그래프를 통합함으로써, 글로벌 지식 그래프를 구축할 수 있다.Additionally, the information processing system may generate a local knowledge graph associated with the identified domain based on the generated plurality of entities 130 and relationships 140 between the plurality of entities. Additionally, the information processing system can extract relationships between entities within a predetermined range centered on instance nodes of the generated local knowledge graph. The information processing system can build a global knowledge graph by integrating multiple local knowledge graphs, including a local knowledge graph, based on relationships between extracted entities.

일 실시예에서, 기계 학습 모델(120)은 사전 결정된 도메인이 어노테이션(annotation)된 지식 베이스(knowledge base) 문서를 이용하여 사전 학습될 수 있다. 여기서, 기계 학습 모델(120)은 초대형 언어 모델(Large Language Model; LLM)일 수 있으나, 이에 한정되지 않는다. 이러한 도메인 특화된(domain specific) 기계 학습 모델이 학습되는 예시는 도 4를 참조하여 자세히 후술된다.In one embodiment, the machine learning model 120 may be pre-trained using a knowledge base document annotated with a predetermined domain. Here, the machine learning model 120 may be a large language model (LLM), but is not limited thereto. An example of how such a domain-specific machine learning model is learned will be described in detail later with reference to FIG. 4.

일 실시예에서, 정보 처리 시스템은 생성된 도메인과 연관된 로컬 지식 그래프와 글로벌 지식 그래프로 구성된 지식 그래프 계층을 통합한 인덱스(index) 데이터베이스를 생성할 수 있다. 구체적으로, 정보 처리 시스템은 글로벌 지식 그래프에 포함된 복수의 엔티티 각각에 대응하는 인덱스를 생성할 수 있다. 인덱스가 글로벌 지식 그래프의 도메인 및/또는 엔티티와 대응됨으로써, 지식 그래프에서 인덱스를 활용하여 특정 데이터가 용이하게 검색될 수 있다.In one embodiment, the information processing system may create an index database that integrates a knowledge graph layer consisting of a local knowledge graph and a global knowledge graph associated with the created domain. Specifically, the information processing system may generate an index corresponding to each of a plurality of entities included in the global knowledge graph. As the index corresponds to the domain and/or entity of the global knowledge graph, specific data can be easily searched using the index in the knowledge graph.

이러한 구성에 의해, 기계 학습 모델을 이용하여 입력 데이터 세트에 대한 의미론적 처리(semantic processing)을 수행함으로써, 지식 그래프가 용이하게 생성될 수 있다. 이에 따라, 사람이 직접 데이터를 지식 그래프로 입력하지 않으므로, 방대한 양의 데이터를 지식 그래프로 변환하는데 소요되는 시간과 비용이 대폭 줄어들 수 있다.With this configuration, a knowledge graph can be easily created by performing semantic processing on the input data set using a machine learning model. Accordingly, since people do not directly input data into the knowledge graph, the time and cost required to convert massive amounts of data into the knowledge graph can be significantly reduced.

도 2는 본 개시의 일 실시예에 따른 지식 그래프를 생성하기 위해, 정보 처리 시스템(230)이 복수의 사용자 단말(210_1, 210_2, 210_3)과 통신 가능하도록 연결된 구성을 나타내는 개요도이다. 도시된 바와 같이, 복수의 사용자 단말(210_1, 210_2, 210_3)은 네트워크(220)를 통해 지식 그래프 생성 서비스를 제공할 수 있는 정보 처리 시스템(230)과 연결될 수 있다. 여기서, 복수의 사용자 단말(210_1, 210_2, 210_3)은 지식 그래프 생성 서비스를 제공받는 사용자의 단말을 포함할 수 있다.Figure 2 is a schematic diagram showing a configuration in which the information processing system 230 is connected to enable communication with a plurality of user terminals 210_1, 210_2, and 210_3 in order to generate a knowledge graph according to an embodiment of the present disclosure. As shown, a plurality of user terminals 210_1, 210_2, and 210_3 may be connected to the information processing system 230 that can provide a knowledge graph creation service through the network 220. Here, the plurality of user terminals 210_1, 210_2, and 210_3 may include terminals of users who are provided with a knowledge graph creation service.

일 실시예에서, 정보 처리 시스템(230)은 지식 그래프 생성 서비스 제공 등과 연관된 컴퓨터 실행 가능한 프로그램(예를 들어, 다운로드 가능한 애플리케이션) 및 데이터를 저장, 제공 및 실행할 수 있는 하나 이상의 서버 장치 및/또는 데이터베이스, 또는 클라우드 컴퓨팅 서비스 기반의 하나 이상의 분산 컴퓨팅 장치 및/또는 분산 데이터베이스를 포함할 수 있다.In one embodiment, information processing system 230 is one or more server devices and/or databases capable of storing, providing, and executing computer-executable programs (e.g., downloadable applications) and data associated with providing knowledge graph creation services, etc. , or may include one or more distributed computing devices and/or distributed databases based on cloud computing services.

정보 처리 시스템(230)에 의해 제공되는 지식 그래프 생성 서비스는, 복수의 사용자 단말(210_1, 210_2, 210_3)의 각각에 설치된 지식 그래프 생성 서비스 애플리케이션, 웹 브라우저, 웹 브라우저 확장 프로그램 등을 통해 사용자에게 제공될 수 있다. 예를 들어, 정보 처리 시스템(230)은 지식 그래프 생성 서비스 애플리케이션 등을 통해 사용자 단말(210_1, 210_2, 210_3)로부터 수신되는 지식 그래프 생성 요청에 대응하는 정보를 제공하거나 대응하는 처리를 수행할 수 있다.The knowledge graph creation service provided by the information processing system 230 is provided to users through a knowledge graph creation service application, web browser, web browser extension, etc. installed on each of the plurality of user terminals 210_1, 210_2, and 210_3. It can be. For example, the information processing system 230 may provide information corresponding to a knowledge graph creation request received from the user terminals 210_1, 210_2, and 210_3 through a knowledge graph creation service application or perform corresponding processing. .

복수의 사용자 단말(210_1, 210_2, 210_3)은 네트워크(220)를 통해 정보 처리 시스템(230)과 통신할 수 있다. 네트워크(220)는 복수의 사용자 단말(210_1, 210_2, 210_3)과 정보 처리 시스템(230) 사이의 통신이 가능하도록 구성될 수 있다. 네트워크(220)는 설치 환경에 따라, 예를 들어, 이더넷(Ethernet), 유선 홈 네트워크(Power Line Communication), 전화선 통신 장치 및 RS-serial 통신 등의 유선 네트워크, 이동통신망, WLAN(Wireless LAN), Wi-Fi, Bluetooth 및 ZigBee 등과 같은 무선 네트워크 또는 그 조합으로 구성될 수 있다. 통신 방식은 제한되지 않으며, 네트워크(220)가 포함할 수 있는 통신망(일례로, 이동통신망, 유선 인터넷, 무선 인터넷, 방송망, 위성망 등)을 활용하는 통신 방식뿐만 아니라 사용자 단말(210_1, 210_2, 210_3) 사이의 근거리 무선 통신 역시 포함될 수 있다.A plurality of user terminals 210_1, 210_2, and 210_3 may communicate with the information processing system 230 through the network 220. The network 220 may be configured to enable communication between a plurality of user terminals 210_1, 210_2, and 210_3 and the information processing system 230. Depending on the installation environment, the network 220 may be, for example, a wired network such as Ethernet, a wired home network (Power Line Communication), a telephone line communication device, and RS-serial communication, a mobile communication network, a wireless LAN (WLAN), It may consist of wireless networks such as Wi-Fi, Bluetooth, and ZigBee, or a combination thereof. The communication method is not limited, and may include communication methods utilizing communication networks that the network 220 may include (e.g., mobile communication networks, wired Internet, wireless Internet, broadcasting networks, satellite networks, etc.) as well as user terminals (210_1, 210_2, 210_3). ) may also include short-range wireless communication between

도 2에서 휴대폰 단말(210_1), 태블릿 단말(210_2) 및 PC 단말 (210_3)이 사용자 단말의 예로서 도시되었으나, 이에 한정되지 않으며, 사용자 단말(210_1, 210_2, 210_3)은 유선 및/또는 무선 통신이 가능하고 지식 그래프 생성 서비스 애플리케이션 또는 웹 브라우저 등이 설치되어 실행될 수 있는 임의의 컴퓨팅 장치일 수 있다. 예를 들어, 사용자 단말은, AI 스피커, 스마트폰, 휴대폰, 내비게이션, 컴퓨터, 노트북, 디지털방송용 단말, PDA(Personal Digital Assistants), PMP(Portable Multimedia Player), 태블릿 PC, 게임 콘솔(game console), 웨어러블 디바이스(wearable device), IoT(internet of things) 디바이스, VR(virtual reality) 디바이스, AR(augmented reality) 디바이스, 셋톱 박스 등을 포함할 수 있다. 또한, 도 2에는 3개의 사용자 단말(210_1, 210_2, 210_3)이 네트워크(220)를 통해 정보 처리 시스템(230)과 통신하는 것으로 도시되어 있으나, 이에 한정되지 않으며, 상이한 수의 사용자 단말이 네트워크(220)를 통해 정보 처리 시스템(230)과 통신하도록 구성될 수도 있다.In Figure 2, the mobile phone terminal (210_1), tablet terminal (210_2), and PC terminal (210_3) are shown as examples of user terminals, but they are not limited thereto, and the user terminals (210_1, 210_2, 210_3) use wired and/or wireless communication. This is possible and may be any computing device on which a knowledge graph creation service application or a web browser, etc. can be installed and executed. For example, user terminals include AI speakers, smartphones, mobile phones, navigation, computers, laptops, digital broadcasting terminals, PDAs (Personal Digital Assistants), PMPs (Portable Multimedia Players), tablet PCs, game consoles, It may include wearable devices, IoT (internet of things) devices, VR (virtual reality) devices, AR (augmented reality) devices, set-top boxes, etc. In addition, in Figure 2, three user terminals (210_1, 210_2, 210_3) are shown as communicating with the information processing system 230 through the network 220, but this is not limited to this, and a different number of user terminals are connected to the network ( It may be configured to communicate with the information processing system 230 through 220).

도 2에서는 사용자의 요청이 사용자 단말(210_1, 210_2, 210_3)을 통해 정보 처리 시스템(230)에 전달되는 구성이 예시적으로 도시되어 있으나, 이에 한정되지 않으며, 사용자의 요청이 사용자 단말(210_1, 210_2, 210_3)을 거치지 않고 정보 처리 시스템(230)과 연관된 입력 장치를 통해 정보 처리 시스템(230)에 제공될 수 있으며, 사용자의 요청을 처리한 결과가 정보 처리 시스템(230)과 연관된 출력 장치(예를 들어, 디스플레이 등)를 통해 사용자에게 제공될 수도 있다. In Figure 2, a configuration in which the user's request is transmitted to the information processing system 230 through the user terminals 210_1, 210_2, and 210_3 is shown as an example, but the present invention is not limited thereto, and the user's request is transmitted to the information processing system 230 through the user terminals 210_1, 210_1, and 210_3. It may be provided to the information processing system 230 through an input device associated with the information processing system 230 without going through 210_2, 210_3), and the result of processing the user's request may be sent to an output device associated with the information processing system 230 ( For example, it may be provided to the user through a display, etc.).

도 3은 본 개시의 일 실시예에 따른 사용자 단말(210) 및 정보 처리 시스템(230)의 내부 구성을 나타내는 블록도이다. 사용자 단말(210)은 애플리케이션, 웹 브라우저 등이 실행 가능하고 유/무선 통신이 가능한 임의의 컴퓨팅 장치를 지칭할 수 있으며, 예를 들어, 도 2의 휴대폰 단말(210_1), 태블릿 단말(210_2), PC 단말(210_3) 등을 포함할 수 있다. 도시된 바와 같이, 사용자 단말(210)은 메모리(312), 프로세서(314), 통신 모듈(316) 및 입출력 인터페이스(318)를 포함할 수 있다. 이와 유사하게, 정보 처리 시스템(230)은 메모리(332), 프로세서(334), 통신 모듈(336) 및 입출력 인터페이스(338)를 포함할 수 있다. 도 3에 도시된 바와 같이, 사용자 단말(210) 및 정보 처리 시스템(230)은 각각의 통신 모듈(316, 336)을 이용하여 네트워크(220)를 통해 정보 및/또는 데이터를 통신할 수 있도록 구성될 수 있다. 또한, 입출력 장치(320)는 입출력 인터페이스(318)를 통해 사용자 단말(210)에 정보 및/또는 데이터를 입력하거나 사용자 단말(210)로부터 생성된 정보 및/또는 데이터를 출력하도록 구성될 수 있다.Figure 3 is a block diagram showing the internal configuration of the user terminal 210 and the information processing system 230 according to an embodiment of the present disclosure. The user terminal 210 may refer to any computing device capable of executing applications, web browsers, etc. and capable of wired/wireless communication, for example, the mobile phone terminal 210_1, tablet terminal 210_2 of FIG. 2, It may include a PC terminal (210_3), etc. As shown, the user terminal 210 may include a memory 312, a processor 314, a communication module 316, and an input/output interface 318. Similarly, information processing system 230 may include memory 332, processor 334, communication module 336, and input/output interface 338. As shown in FIG. 3, the user terminal 210 and the information processing system 230 are configured to communicate information and/or data through the network 220 using respective communication modules 316 and 336. It can be. Additionally, the input/output device 320 may be configured to input information and/or data to the user terminal 210 through the input/output interface 318 or to output information and/or data generated from the user terminal 210.

메모리(312, 332)는 비-일시적인 임의의 컴퓨터 판독 가능한 기록매체를 포함할 수 있다. 일 실시예에 따르면, 메모리(312, 332)는 ROM(read only memory), 디스크 드라이브, SSD(solid state drive), 플래시 메모리(flash memory) 등과 같은 비소멸성 대용량 저장 장치(permanent mass storage device)를 포함할 수 있다. 다른 예로서, ROM, SSD, 플래시 메모리, 디스크 드라이브 등과 같은 비소멸성 대용량 저장 장치는 메모리와는 구분되는 별도의 영구 저장 장치로서 사용자 단말(210) 또는 정보 처리 시스템(230)에 포함될 수 있다. 또한, 메모리(312, 332)에는 운영체제와 적어도 하나의 프로그램 코드가 저장될 수 있다.Memories 312 and 332 may include any non-transitory computer-readable recording medium. According to one embodiment, the memories 312 and 332 are non-permanent mass storage devices such as read only memory (ROM), disk drive, solid state drive (SSD), flash memory, etc. It can be included. As another example, non-perishable mass storage devices such as ROM, SSD, flash memory, disk drive, etc. may be included in the user terminal 210 or the information processing system 230 as a separate persistent storage device that is distinct from memory. Additionally, an operating system and at least one program code may be stored in the memories 312 and 332.

이러한 소프트웨어 구성요소들은 메모리(312, 332)와는 별도의 컴퓨터에서 판독 가능한 기록매체로부터 로딩될 수 있다. 이러한 별도의 컴퓨터에서 판독가능한 기록매체는 이러한 사용자 단말(210) 및 정보 처리 시스템(230)에 직접 연결가능한 기록 매체를 포함할 수 있는데, 예를 들어, 플로피 드라이브, 디스크, 테이프, DVD/CD-ROM 드라이브, 메모리 카드 등의 컴퓨터에서 판독 가능한 기록매체를 포함할 수 있다. 다른 예로서, 소프트웨어 구성요소들은 컴퓨터에서 판독 가능한 기록매체가 아닌 통신 모듈(316, 336)을 통해 메모리(312, 332)에 로딩될 수도 있다. 예를 들어, 적어도 하나의 프로그램은 개발자들 또는 애플리케이션의 설치 파일을 배포하는 파일 배포 시스템이 네트워크(220)를 통해 제공하는 파일들에 의해 설치되는 컴퓨터 프로그램에 기반하여 메모리(312, 332)에 로딩될 수 있다.These software components may be loaded from a computer-readable recording medium separate from the memories 312 and 332. This separate computer-readable recording medium may include a recording medium directly connectable to the user terminal 210 and the information processing system 230, for example, a floppy drive, disk, tape, DVD/CD- It may include computer-readable recording media such as ROM drives and memory cards. As another example, software components may be loaded into the memories 312 and 332 through the communication modules 316 and 336 rather than computer-readable recording media. For example, at least one program is loaded into memory 312, 332 based on a computer program installed by files provided over the network 220 by developers or a file distribution system that distributes installation files for applications. It can be.

프로세서(314, 334)는 기본적인 산술, 로직 및 입출력 연산을 수행함으로써, 컴퓨터 프로그램의 명령을 처리하도록 구성될 수 있다. 명령은 메모리(312, 332) 또는 통신 모듈(316, 336)에 의해 프로세서(314, 334)로 제공될 수 있다. 예를 들어, 프로세서(314, 334)는 메모리(312, 332)와 같은 기록 장치에 저장된 프로그램 코드에 따라 수신되는 명령을 실행하도록 구성될 수 있다.The processors 314 and 334 may be configured to process instructions of a computer program by performing basic arithmetic, logic, and input/output operations. Instructions may be provided to the processors 314 and 334 by memories 312 and 332 or communication modules 316 and 336. For example, the processors 314 and 334 may be configured to execute instructions received according to program codes stored in a recording device such as the memory 312 and 332.

통신 모듈(316, 336)은 네트워크(220)를 통해 사용자 단말(210)과 정보 처리 시스템(230)이 서로 통신하기 위한 구성 또는 기능을 제공할 수 있으며, 사용자 단말(210) 및/또는 정보 처리 시스템(230)이 다른 사용자 단말 또는 다른 시스템(일례로 별도의 클라우드 시스템 등)과 통신하기 위한 구성 또는 기능을 제공할 수 있다. 일례로, 사용자 단말(210)의 프로세서(314)가 메모리(312) 등과 같은 기록 장치에 저장된 프로그램 코드에 따라 생성한 요청 또는 데이터(예를 들어, 지식 그래프 생성 요청 등)는 통신 모듈(316)의 제어에 따라 네트워크(220)를 통해 정보 처리 시스템(230)으로 전달될 수 있다. 역으로, 정보 처리 시스템(230)의 프로세서(334)의 제어에 따라 제공되는 제어 신호나 명령이 통신 모듈(336)과 네트워크(220)를 거쳐 사용자 단말(210)의 통신 모듈(316)을 통해 사용자 단말(210)에 수신될 수 있다.The communication modules 316 and 336 may provide a configuration or function for the user terminal 210 and the information processing system 230 to communicate with each other through the network 220, and may provide a configuration or function for the user terminal 210 and/or information processing. The system 230 may provide a configuration or function for communicating with other user terminals or other systems (for example, a separate cloud system, etc.). For example, a request or data (e.g., a knowledge graph creation request, etc.) generated by the processor 314 of the user terminal 210 according to a program code stored in a recording device such as the memory 312 is sent to the communication module 316. It may be transmitted to the information processing system 230 through the network 220 under the control of . Conversely, a control signal or command provided under the control of the processor 334 of the information processing system 230 is transmitted through the communication module 316 of the user terminal 210 through the communication module 336 and the network 220. It may be received by the user terminal 210.

입출력 인터페이스(318)는 입출력 장치(320)와의 인터페이스를 위한 수단일 수 있다. 일 예로서, 입력 장치는 오디오 센서 및/또는 이미지 센서를 포함한 카메라, 키보드, 마이크로폰, 마우스 등의 장치를, 그리고 출력 장치는 디스플레이, 스피커, 햅틱 피드백 디바이스(haptic feedback device) 등과 같은 장치를 포함할 수 있다. 다른 예로, 입출력 인터페이스(318)는 터치스크린 등과 같이 입력과 출력을 수행하기 위한 구성 또는 기능이 하나로 통합된 장치와의 인터페이스를 위한 수단일 수 있다. 예를 들어, 사용자 단말(210)의 프로세서(314)가 메모리(312)에 로딩된 컴퓨터 프로그램의 명령을 처리함에 있어서 정보 처리 시스템(230)이나 다른 사용자 단말이 제공하는 정보 및/또는 데이터를 이용하여 구성되는 서비스 화면 등이 입출력 인터페이스(318)를 통해 디스플레이에 표시될 수 있다. 도 3에서는 입출력 장치(320)가 사용자 단말(210)에 포함되지 않도록 도시되어 있으나, 이에 한정되지 않으며, 사용자 단말(210)과 하나의 장치로 구성될 수 있다. 또한, 정보 처리 시스템(230)의 입출력 인터페이스(338)는 정보 처리 시스템(230)과 연결되거나 정보 처리 시스템(230)이 포함할 수 있는 입력 또는 출력을 위한 장치(미도시)와의 인터페이스를 위한 수단일 수 있다. 도 3에서는 입출력 인터페이스(318, 338)가 프로세서(314, 334)와 별도로 구성된 요소로서 도시되었으나, 이에 한정되지 않으며, 입출력 인터페이스(318, 338)가 프로세서(314, 334)에 포함되도록 구성될 수 있다.The input/output interface 318 may be a means for interfacing with the input/output device 320. As an example, input devices may include devices such as cameras, keyboards, microphones, mice, etc., including audio sensors and/or image sensors, and output devices may include devices such as displays, speakers, haptic feedback devices, etc. You can. As another example, the input/output interface 318 may be a means for interfacing with a device that has components or functions for performing input and output, such as a touch screen, integrated into one. For example, the processor 314 of the user terminal 210 uses information and/or data provided by the information processing system 230 or another user terminal when processing instructions of a computer program loaded in the memory 312. A service screen, etc. configured as such may be displayed on the display through the input/output interface 318. In FIG. 3 , the input/output device 320 is shown not to be included in the user terminal 210, but the present invention is not limited to this and may be configured as a single device with the user terminal 210. Additionally, the input/output interface 338 of the information processing system 230 may be connected to the information processing system 230 or means for interfacing with a device (not shown) for input or output that the information processing system 230 may include. It can be. In FIG. 3, the input/output interfaces 318 and 338 are shown as elements configured separately from the processors 314 and 334, but the present invention is not limited thereto, and the input/output interfaces 318 and 338 may be configured to be included in the processors 314 and 334. there is.

사용자 단말(210) 및 정보 처리 시스템(230)은 도 3의 구성요소들보다 더 많은 구성요소들을 포함할 수 있다. 그러나, 대부분의 종래기술적 구성요소들을 명확하게 도시할 필요성은 없다. 일 실시예에서, 사용자 단말(210)은 상술된 입출력 장치(320) 중 적어도 일부를 포함하도록 구현될 수 있다. 또한, 사용자 단말(210)은 트랜시버(transceiver), GPS(Global Positioning system) 모듈, 카메라, 각종 센서, 데이터베이스 등과 같은 다른 구성요소들을 더 포함할 수 있다. 예를 들어, 사용자 단말(210)이 스마트폰인 경우, 일반적으로 스마트폰이 포함하고 있는 구성요소를 포함할 수 있으며, 예를 들어, 가속도 센서, 자이로 센서, 마이크 모듈, 카메라 모듈, 각종 물리적인 버튼, 터치패널을 이용한 버튼, 입출력 포트, 진동을 위한 진동기 등의 다양한 구성요소들이 사용자 단말(210)에 더 포함되도록 구현될 수 있다.The user terminal 210 and information processing system 230 may include more components than those in FIG. 3 . However, there is no need to clearly show most prior art components. In one embodiment, the user terminal 210 may be implemented to include at least some of the input/output devices 320 described above. Additionally, the user terminal 210 may further include other components such as a transceiver, a global positioning system (GPS) module, a camera, various sensors, and a database. For example, if the user terminal 210 is a smartphone, it may include components generally included in a smartphone, such as an acceleration sensor, a gyro sensor, a microphone module, a camera module, and various physical devices. Various components such as buttons, buttons using a touch panel, input/output ports, and vibrators for vibration may be implemented to be further included in the user terminal 210.

지식 그래프 생성 서비스 등을 위한 프로그램 또는 애플리케이션이 동작되는 동안에, 프로세서(314)는 입출력 인터페이스(318)와 연결된 터치 스크린, 키보드, 오디오 센서 및/또는 이미지 센서를 포함한 카메라, 마이크로폰 등의 입력 장치를 통해 입력되거나 선택된 텍스트, 이미지, 영상, 음성 및/또는 동작 등을 수신할 수 있으며, 수신된 텍스트, 이미지, 영상, 음성 및/또는 동작 등을 메모리(312)에 저장하거나 통신 모듈(316) 및 네트워크(220)를 통해 정보 처리 시스템(230)에 제공할 수 있다.While a program or application for a knowledge graph creation service, etc. is operated, the processor 314 uses input devices such as a touch screen, a keyboard, a camera including an audio sensor and/or an image sensor, and a microphone connected to the input/output interface 318. Input or selected text, image, video, voice and/or motion can be received, and the received text, image, video, voice and/or motion can be stored in the memory 312 or stored in the communication module 316 and network. It can be provided to the information processing system 230 through (220).

사용자 단말(210)의 프로세서(314)는 입출력 장치(320), 다른 사용자 단말, 정보 처리 시스템(230) 및/또는 복수의 외부 시스템으로부터 수신된 정보 및/또는 데이터를 관리, 처리 및/또는 저장하도록 구성될 수 있다. 프로세서(314)에 의해 처리된 정보 및/또는 데이터는 통신 모듈(316) 및 네트워크(220)를 통해 정보 처리 시스템(230)에 제공될 수 있다. 사용자 단말(210)의 프로세서(314)는 입출력 인터페이스(318)를 통해 입출력 장치(320)로 정보 및/또는 데이터를 전송하여, 출력할 수 있다. 예를 들면, 프로세서(314)는 수신한 정보 및/또는 데이터를 사용자 단말(210)과 연관된 화면에 출력 또는 디스플레이할 수 있다.The processor 314 of the user terminal 210 manages, processes, and/or stores information and/or data received from the input/output device 320, other user terminals, the information processing system 230, and/or a plurality of external systems. It can be configured to do so. Information and/or data processed by processor 314 may be provided to information processing system 230 via communication module 316 and network 220. The processor 314 of the user terminal 210 may transmit information and/or data to the input/output device 320 through the input/output interface 318 and output the information. For example, the processor 314 may output or display the received information and/or data on a screen associated with the user terminal 210.

정보 처리 시스템(230)의 프로세서(334)는 복수의 사용자 단말(210) 및/또는 복수의 외부 시스템으로부터 수신된 정보 및/또는 데이터를 관리, 처리 및/또는 저장하도록 구성될 수 있다. 프로세서(334)에 의해 처리된 정보 및/또는 데이터는 통신 모듈(336) 및 네트워크(220)를 통해 사용자 단말(210)에 제공할 수 있다.The processor 334 of the information processing system 230 may be configured to manage, process, and/or store information and/or data received from a plurality of user terminals 210 and/or a plurality of external systems. Information and/or data processed by the processor 334 may be provided to the user terminal 210 through the communication module 336 and the network 220.

도 2 및 3에서는, 지식 그래프를 자동으로 생성하기 위하여, 사용자 단말과 정보 처리 시스템이 서로 통신하는 환경을 예시적으로 설명하였으나, 이에 한정되지 않으며, 사용자 단말과의 통신 없이, 정보 처리 시스템에 입출력 인터페이스 및/또는 입출력 장치가 연결된 환경이 제공될 수 있다. In Figures 2 and 3, an environment in which a user terminal and an information processing system communicate with each other in order to automatically generate a knowledge graph is described as an example, but it is not limited thereto, and input/output to the information processing system is performed without communication with the user terminal. An environment where interfaces and/or input/output devices are connected may be provided.

도 4는 본 개시의 일 실시예에 따른 기계 학습 모델이 학습되는 예시를 나타내는 도면이다. 일 실시예에서, 지식 그래프를 생성하기 위해 기계 학습 모델이 사전 학습될 수 있다. 여기서, 기계 학습 모델은 입력받은 데이터로부터 추출된 메타 데이터(meta data)에 기초하여 상기 입력받은 데이터와 연관된 복수의 엔티티(entity) 및 상기 복수의 엔티티 간의 관계(relationship)를 생성하도록 사전 학습될 수 있다. 여기서, 기계 학습 모델은 초대형 언어 모델(Large Language Model; LLM)일 수 있으나, 이에 한정되지 않는다.Figure 4 is a diagram illustrating an example of learning a machine learning model according to an embodiment of the present disclosure. In one embodiment, a machine learning model may be pre-trained to create a knowledge graph. Here, the machine learning model may be pre-trained to create a plurality of entities associated with the input data and relationships between the plurality of entities based on meta data extracted from the input data. there is. Here, the machine learning model may be a large language model (LLM), but is not limited to this.

일 실시예에서, 도메인 특화된(domain specific) 기계 학습 모델(430)은 사전 학습된 기계 학습 모델(410)을 파인 튜닝(fine tuning)하여 생성될 수 있다. 구체적으로, 콘텐츠 관리 시스템과 연관된 데이터베이스(420)의 데이터가 학습 데이터로 이용될 수 있다. 여기서, 데이터베이스(420)의 데이터에 해당 데이터에 대응하는 도메인이 사전에 어노테이션될 수 있다. 이에 따라, 사전 학습된 기계 학습 모델(410)이 특정 도메인(예를 들어, 자율 주행 분야, 의료 분야 등)의 데이터를 통해 파인 튜닝됨으로써, 특정 도메인에 최적화된 도메인 특화된 기계 학습 모델(430)이 생성될 수 있다. 추가적으로, 이러한 학습은 사전 설정된 시간에 따라 주기적으로 수행될 수 있다. 이에 따라, 사전 결정된 복수의 도메인 각각에 특화된 기계 학습 모델이 생성될 수 있으며, 사전 결정된 복수의 도메인은 데이터 양의 증가에 따라 추가될 수도 있다.In one embodiment, the domain specific machine learning model 430 may be created by fine tuning the pre-trained machine learning model 410. Specifically, data in the database 420 associated with the content management system may be used as learning data. Here, data in the database 420 may be annotated in advance with a domain corresponding to the data. Accordingly, the pre-trained machine learning model 410 is fine-tuned through data from a specific domain (e.g., autonomous driving field, medical field, etc.), thereby creating a domain-specific machine learning model 430 optimized for the specific domain. can be created. Additionally, this learning may be performed periodically according to a preset time. Accordingly, a machine learning model specialized for each of the plurality of predetermined domains may be created, and the plurality of predetermined domains may be added as the amount of data increases.

도 5는 본 개시의 일 실시예에 따른 지식 그래프를 생성하기 위한 정보 처리 시스템(230)의 기능적 구성의 예시를 나타내는 도면이다. 일 실시예에서, 정보 처리 시스템(230)은 도 4에서 상술한 방식으로 학습된 도메인 특화된 기계 학습 모델(510)을 포함할 수 있다. 이와 달리, 학습된 도메인 특화된 기계 학습 모델(510)은 정보 처리 시스템(230)에 의해 유선 및/또는 무선으로 접근 가능한 장치에 포함될 수 있다. 또한, 정보 처리 시스템(230)은 데이터 파이프라인(520)을 통해 분산 데이터 세트(550)에 접근하여 수신할 수 있다. 이 경우, 정보 처리 시스템(230)은 분산 데이터 세트(550)를 전처리하고, 분산 데이터 세트(550)로부터 메타 데이터를 추출하여 도메인 특화된 기계 학습 모델(510)로 전송할 수 있다.FIG. 5 is a diagram illustrating an example of the functional configuration of the information processing system 230 for generating a knowledge graph according to an embodiment of the present disclosure. In one embodiment, the information processing system 230 may include a domain-specific machine learning model 510 trained in the manner described above in FIG. 4 . Alternatively, the learned domain-specific machine learning model 510 may be included in a device accessible by wired and/or wirelessly by the information processing system 230. Additionally, the information processing system 230 may access and receive the distributed data set 550 through the data pipeline 520. In this case, the information processing system 230 may preprocess the distributed data set 550, extract metadata from the distributed data set 550, and transmit it to the domain-specific machine learning model 510.

일 실시예에서, 도메인 특화된 기계 학습 모델(510)은 입력 데이터로부터 엔티티를 식별하고 엔티티 간의 관계를 정의할 수 있다. 이에 따라, 정보 처리 시스템(230)은 도메인 특화된 기계 학습 모델(510)에 의해 생성된 엔티티와 엔티티 간의 관계를 지식 그래프 생성기(530)로 전송할 수 있다. 이 경우, 지식 그래프 생성기(530)는 엔티티 및 엔티티 간의 관계에 기초하여, 지식 그래프를 생성할 수 있다. 지식 그래프 생성기가 지식 그래프를 생성하는 예시는 도 6을 참조하여 자세히 후술된다. 추가적으로, 생성된 지식 그래프는 지식 그래프와 연관된 데이터베이스(540)에 저장될 수 있다.In one embodiment, domain-specific machine learning model 510 can identify entities from input data and define relationships between the entities. Accordingly, the information processing system 230 may transmit the relationships between entities generated by the domain-specific machine learning model 510 to the knowledge graph generator 530. In this case, the knowledge graph generator 530 may generate a knowledge graph based on entities and relationships between entities. An example of how the knowledge graph generator generates a knowledge graph will be described in detail later with reference to FIG. 6. Additionally, the generated knowledge graph may be stored in a database 540 associated with the knowledge graph.

도 5에 도시되어 있지 않으나, 정보 처리 시스템(230)은 지식 그래프의 엔티티에 대응하는 인덱스를 생성하는 인덱스 생성기를 더 포함할 수 있다. 정보 처리 시스템(230)이 인덱스 생성기를 이용하여 인덱스를 생성하는 예시는 도 7을 참조하여 자세히 후술된다.Although not shown in FIG. 5, the information processing system 230 may further include an index generator that generates an index corresponding to an entity in the knowledge graph. An example of the information processing system 230 generating an index using an index generator will be described in detail later with reference to FIG. 7 .

이와 같은 구성을 통해, 정보 처리 시스템에서 기능을 수행하는 구성 및 데이터가 분산될 수 있다. 이에 따라, 지식 그래프를 생성하기 위해 방대한 양의 데이터를 처리하는 속도가 대폭 향상되고, 방대한 양의 데이터를 처리하기 위한 시스템 확장이 매우 용이할 수 있다.Through this configuration, the configuration and data that perform functions in the information processing system can be distributed. Accordingly, the speed of processing vast amounts of data to create a knowledge graph is greatly improved, and system expansion to process vast amounts of data can be very easy.

도 6은 본 개시의 일 실시예에 따라 지식 그래프 생성기(530)가 지식 그래프를 생성하는 예시를 나타내는 도면이다. 일 실시예에서, 지식 그래프 생성기(또는, 도 5의 530)(530)는 도메인 특화된 기계 학습 모델로부터 생성된 복수의 엔티티 및 복수의 엔티티 간의 관계에 기초하여 로컬 지식 그래프(620)를 생성할 수 있다. 여기서, 생성된 로컬 지식 그래프(620)는 해당 기계 학습 모델이 특화된 도메인과 연관될 수 있다. 이 경우, 로컬 지식 그래프(620)는 복수의 엔티티를 노드(node)로 하고, 복수의 엔티티 간의 관계를 엣지(edge)로 하는 지식 그래프일 수 있다.FIG. 6 is a diagram illustrating an example of the knowledge graph generator 530 generating a knowledge graph according to an embodiment of the present disclosure. In one embodiment, the knowledge graph generator (or 530 in FIG. 5) 530 may generate a local knowledge graph 620 based on a plurality of entities and relationships between the plurality of entities generated from a domain-specific machine learning model. there is. Here, the generated local knowledge graph 620 may be associated with a domain in which the corresponding machine learning model is specialized. In this case, the local knowledge graph 620 may be a knowledge graph with a plurality of entities as nodes and relationships between the plurality of entities as edges.

일 실시예에서, 지식 그래프 생성기(530)는 생성된 로컬 지식 그래프(620)에 기초하여 글로벌 지식 그래프(630)를 구축할 수 있다. 구체적으로, 지식 그래프 생성기(530)는 특정 도메인과 연관된 로컬 지식 그래프(620)에서 인스턴스 노드(instance node)를 수집할 수 있다. 또한, 지식 그래프 생성기(530)는 수집한 인스턴스 노드들을 중심으로 사전 결정된 범위 내의 엔티티 간의 관계를 추출할 수 있다. 즉, 지식 그래프 생성기(530)는 인스턴스 노드들을 중심으로 사전 결정된 범위 내의 로컬 지식 그래프의 인스턴스 노드와 기존의 글로벌 지식 그래프의 노드 간의 관계를 추출할 수 있다. 여기서, 인스턴스 노드는 로컬 지식 그래프와 연관된 도메인의 목적과 범위, 데이터의 가용성 등에 기초하여 결정될 수 있다. 추가적으로, 지식 그래프 생성기(530)는 추출된 엔티티 간의 관계에 기초하여 기존의 글로벌 지식 그래프에 연결하여 통합함으로써, 글로벌 지식 그래프(630)를 구축할 수 있다. 이러한 글로벌 지식 그래프의 구축 과정은 사전 결정된 주기마다 자동으로 수행될 수 있다. 또한, 생성된 로컬 지식 그래프(620) 및 구축된 글로벌 지식 그래프(630)는 지식 그래프와 연관된 데이터베이스(640)로 전송되어 저장될 수 있다.In one embodiment, the knowledge graph generator 530 may build the global knowledge graph 630 based on the generated local knowledge graph 620. Specifically, the knowledge graph generator 530 may collect instance nodes from the local knowledge graph 620 associated with a specific domain. Additionally, the knowledge graph generator 530 may extract relationships between entities within a predetermined range centered on the collected instance nodes. That is, the knowledge graph generator 530 can extract the relationship between the instance nodes of the local knowledge graph and the nodes of the existing global knowledge graph within a predetermined range centered on the instance nodes. Here, the instance node may be determined based on the purpose and scope of the domain associated with the local knowledge graph, availability of data, etc. Additionally, the knowledge graph generator 530 can build the global knowledge graph 630 by connecting and integrating the extracted entities with the existing global knowledge graph based on the relationships between the extracted entities. This process of building a global knowledge graph can be performed automatically at predetermined intervals. Additionally, the generated local knowledge graph 620 and the constructed global knowledge graph 630 may be transmitted and stored in the database 640 associated with the knowledge graph.

이러한 구성에 의해, 글로벌 지식 그래프는 엔티티 및/또는 관계를 포함하는 복수의 엔티티가 어떤 로컬 지식 그래프와 연관성이 있는지 나타낼 수 있다. 이에 따라, 특정 엔티티 및/또는 관계를 포함하는 복수의 엔티티가 해당하는 도메인이 용이하게 탐색될 수 있다.By this configuration, the global knowledge graph can indicate which local knowledge graph a plurality of entities including entities and/or relationships are related to. Accordingly, a domain corresponding to a plurality of entities including a specific entity and/or relationship can be easily searched.

도 7은 본 개시의 일 실시예에 따라 지식 그래프(720, 730)의 엔티티에 대응하는 인덱스가 생성되는 예시를 나타내는 도면이다. 일 실시예에서, 인덱스 생성기(740)는 지식 그래프와 연관된 제1 데이터베이스(710)에 저장된 로컬 지식 그래프(720) 및 글로벌 지식 그래프(730)에 기초하여, 지식 그래프에 포함된 복수의 엔티티 각각에 대응하는 인덱스를 생성할 수 있다. 여기서, 인덱스 생성기(740)는 정보 처리 시스템(230)에 포함될 수 있다. 구체적으로, 인덱스 생성기(740)는 지식 그래프(720, 730)에 포함된 복수의 엔티티 각각을 벡터로 임베딩(embedding)할 수 있다. 여기서, 엔티티를 벡터로 임베딩하기 위해 벡터 임베딩과 연관된 분야에서 이미 알려진 임의의 임베딩 알고리즘이 사용될 수 있다. 또한, 인덱스 생성기(740)는 임베딩된 벡터를 지식 그래프(720, 730)에 대응하여 벡터 공간에 맵핑(mapping)할 수 있다. 이에 따라, 임베딩된 벡터는 인덱스로 이용될 수 있으며, 코사인 유사도(cosine similarity), 유클리디안 거리(Euclidean Distance) 등을 이용하여 임베딩된 벡터 간의 유사도가 산출될 수 있다.FIG. 7 is a diagram illustrating an example in which indexes corresponding to entities of the knowledge graphs 720 and 730 are created according to an embodiment of the present disclosure. In one embodiment, the index generator 740 stores each of a plurality of entities included in the knowledge graph based on the local knowledge graph 720 and the global knowledge graph 730 stored in the first database 710 associated with the knowledge graph. A corresponding index can be created. Here, the index generator 740 may be included in the information processing system 230. Specifically, the index generator 740 may embed each of a plurality of entities included in the knowledge graphs 720 and 730 into a vector. Here, any embedding algorithm already known in the field related to vector embedding can be used to embed the entity into the vector. Additionally, the index generator 740 may map the embedded vector to a vector space corresponding to the knowledge graphs 720 and 730. Accordingly, the embedded vector can be used as an index, and the similarity between embedded vectors can be calculated using cosine similarity, Euclidean distance, etc.

일 실시예에서, 임베딩된 벡터(또는, 인덱스)는 인덱스와 연관된 제2 데이터베이스(750)에 저장될 수 있다. 지식 그래프(720, 730)의 엔티티 또는 엔티티 간의 관계가 변경되는 경우, 변경 내용이 순차적으로 로그에 기록될 수 있다. 또한, 로그에 기록된 변경 내용은 비동기적으로 인덱스 생성기(740)로 전달됨으로써, 변경 내용에 기초한 인덱스가 생성될 수 있다.In one embodiment, the embedded vector (or index) may be stored in the second database 750 associated with the index. If the entities or relationships between entities in the knowledge graphs 720 and 730 change, the changes may be sequentially recorded in the log. Additionally, the changes recorded in the log are asynchronously transmitted to the index generator 740, so that an index based on the changes can be created.

이러한 구성에 의해, 지식 그래프에서 엔티티 및 엔티티 간의 관계를 벡터로 임베딩하여 인덱스가 생성될 수 있다. 이에 따라, 지식 그래프 내의 데이터를 수치적으로 표현함으로써, 찾고자 하는 데이터를 빠르게 검색되고, 처리될 수 있다. 또한, 지식 그래프를 이용하는 시스템의 성능이 대폭 향상될 수 있다.With this configuration, an index can be created by embedding entities and relationships between entities in a knowledge graph as vectors. Accordingly, by numerically expressing the data in the knowledge graph, the data you are looking for can be quickly searched and processed. Additionally, the performance of systems using knowledge graphs can be significantly improved.

도 8은 본 개시의 일 실시예에 따른 방법(800)의 예시를 나타내는 흐름도이다. 일 실시예에서, 방법(800)은 적어도 하나의 프로세서에 의해 수행될 수 있다. 방법(800)은 프로세서가 입력 데이터 세트를 수신하는 것으로 개시될 수 있다(S810). 그 후, 프로세서는 입력 데이터 세트와 연관된 도메인을 식별할 수 있다(S820).8 is a flow chart illustrating an example method 800 according to one embodiment of the present disclosure. In one embodiment, method 800 may be performed by at least one processor. Method 800 may begin with a processor receiving an input data set (S810). Thereafter, the processor may identify the domain associated with the input data set (S820).

그 후, 프로세서는 도메인과 연관된 기계 학습 모델을 이용하여, 입력 데이터 세트에 기초하여 로컬 지식 그래프를 생성할 수 있다(S830). 구체적으로, 프로세서는 기계 학습 모델을 이용하여 입력 데이터 세트와 연관된 복수의 엔티티 및 복수의 엔티티 간의 관계를 생성할 수 있다. 또한, 프로세서는 복수의 엔티티 및 복수의 엔티티 간의 관계에 기초하여, 도메인과 연관된 로컬 지식 그래프를 생성할 수 있다. 여기서, 기계 학습 모델은, 입력받은 데이터로부터 추출된 메타 데이터(meta data)에 기초하여 입력받은 데이터와 연관된 복수의 엔티티(entity) 및 복수의 엔티티 간의 관계(relationship)를 생성하도록 사전 학습될 수 있다. 또한, 기계 학습 모델은, 사전 결정된 도메인이 어노테이션(annotation)된 지식 베이스(knowledge base) 문서를 이용하여 학습될 수 있다.Afterwards, the processor may generate a local knowledge graph based on the input data set using a machine learning model associated with the domain (S830). Specifically, the processor may use a machine learning model to generate a plurality of entities associated with an input data set and relationships between the plurality of entities. Additionally, the processor may generate a local knowledge graph associated with the domain based on the plurality of entities and relationships between the plurality of entities. Here, the machine learning model may be pre-trained to create a plurality of entities associated with the input data and relationships between the plurality of entities based on meta data extracted from the input data. . Additionally, the machine learning model can be learned using a knowledge base document annotated with a predetermined domain.

그 후, 프로세서는 로컬 지식 그래프에 기초하여, 글로벌 지식 그래프를 구축할 수 있다(S840). 구체적으로, 프로세서는 로컬 지식 그래프의 인스턴스 노드(instance node)를 중심으로 사전 결정된 범위 내의 엔티티 간의 관계를 추출할 수 있다. 또한, 프로세서는 추출된 엔티티 간의 관계에 기초하여, 로컬 지식 그래프를 통합하여 글로벌 지식 그래프를 구축할 수 있다.Afterwards, the processor may build a global knowledge graph based on the local knowledge graph (S840). Specifically, the processor can extract relationships between entities within a predetermined range centered on instance nodes of the local knowledge graph. Additionally, the processor may build a global knowledge graph by integrating the local knowledge graph based on relationships between extracted entities.

일 실시예에서, 프로세서는 글로벌 지식 그래프에 포함된 복수의 엔티티 각각에 대응하는 인덱스를 생성할 수 있다. 구체적으로, 프로세서는 글로벌 지식 그래프에 포함된 복수의 엔티티 각각을 벡터로 임베딩(embedding)할 수 있다. 또한, 프로세서는 임베딩된 벡터를 글로벌 지식 그래프에 대응하여 맵핑(mapping)할 수 있다. 여기서, 벡터로 임베딩하는 단계는, 글로벌 지식 그래프에서 변경된 내용을 순차적으로 로그에 기록하여, 비동기적으로 수행될 수 있다.In one embodiment, the processor may generate an index corresponding to each of a plurality of entities included in the global knowledge graph. Specifically, the processor can embed each of a plurality of entities included in the global knowledge graph as a vector. Additionally, the processor can map the embedded vector to the global knowledge graph. Here, the step of embedding into a vector can be performed asynchronously by sequentially recording changes in the global knowledge graph to the log.

상술한 방법은 컴퓨터에서 실행하기 위해 컴퓨터 판독 가능한 기록 매체에 저장된 컴퓨터 프로그램으로 제공될 수 있다. 매체는 컴퓨터로 실행 가능한 프로그램을 계속 저장하거나, 실행 또는 다운로드를 위해 임시 저장하는 것일수도 있다. 또한, 매체는 단일 또는 수개 하드웨어가 결합된 형태의 다양한 기록 수단 또는 저장수단일 수 있는데, 어떤 컴퓨터 시스템에 직접 접속되는 매체에 한정되지 않고, 네트워크 상에 분산 존재하는 것일 수도 있다. 매체의 예시로는, 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체, CD-ROM 및 DVD 와 같은 광기록 매체, 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto optical medium), 및 ROM, RAM, 플래시 메모리 등을 포함하여 프로그램 명령어가 저장되도록 구성된 것이 있을 수 있다. 또한, 다른 매체의 예시로, 애플리케이션을 유통하는 앱 스토어나 기타 다양한 소프트웨어를 공급 내지 유통하는 사이트, 서버 등에서 관리하는 기록매체 내지 저장매체도 들 수 있다.The above-described method may be provided as a computer program stored in a computer-readable recording medium for execution on a computer. Media may be used to continuously store executable programs on a computer, or may be temporarily stored for execution or download. In addition, the medium may be a variety of recording or storage means in the form of a single or several pieces of hardware combined. It is not limited to a medium directly connected to a computer system and may be distributed over a network. Examples of media include magnetic media such as hard disks, floppy disks, and magnetic tapes, optical recording media such as CD-ROMs and DVDs, magneto-optical media such as floptical disks, and There may be something configured to store program instructions, including ROM, RAM, flash memory, etc. Additionally, examples of other media include recording or storage media managed by app stores that distribute applications, sites or servers that supply or distribute various other software, etc.

본 개시의 방법, 동작 또는 기법들은 다양한 수단에 의해 구현될 수도 있다. 예를 들어, 이러한 기법들은 하드웨어, 펌웨어, 소프트웨어, 또는 이들의 조합으로 구현될 수도 있다. 본원의 개시와 연계하여 설명된 다양한 예시적인 논리적 블록들, 모듈들, 회로들, 및 알고리즘 단계들은 전자 하드웨어, 컴퓨터 소프트웨어, 또는 양자의 조합들로 구현될 수도 있음을 통상의 기술자들은 이해할 것이다. 하드웨어 및 소프트웨어의 이러한 상호 대체를 명확하게 설명하기 위해, 다양한 예시적인 구성요소들, 블록들, 모듈들, 회로들, 및 단계들이 그들의 기능적 관점에서 일반적으로 위에서 설명되었다. 그러한 기능이 하드웨어로서 구현되는지 또는 소프트웨어로서 구현되는 지의 여부는, 특정 애플리케이션 및 전체 시스템에 부과되는 설계 요구사항들에 따라 달라진다. 통상의 기술자들은 각각의 특정 애플리케이션을 위해 다양한 방식들로 설명된 기능을 구현할 수도 있으나, 그러한 구현들은 본 개시의 범위로부터 벗어나게 하는 것으로 해석되어서는 안된다.The methods, operations, or techniques of this disclosure may be implemented by various means. For example, these techniques may be implemented in hardware, firmware, software, or a combination thereof. Those skilled in the art will understand that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the disclosure herein may be implemented in electronic hardware, computer software, or combinations of both. To clearly illustrate this interchange of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as hardware or software depends on the specific application and design requirements imposed on the overall system. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementations should not be interpreted as causing a departure from the scope of the present disclosure.

하드웨어 구현에서, 기법들을 수행하는 데 이용되는 프로세싱 유닛들은, 하나 이상의 ASIC들, DSP들, GPU들, 디지털 신호 프로세싱 디바이스들(digital signal processing devices; DSPD들), 프로그램가능 논리 디바이스들(programmable logic devices; PLD들), 필드 프로그램가능 게이트 어레이들(field programmable gate arrays; FPGA들), 프로세서들, 제어기들, 마이크로제어기들, 마이크로프로세서들, 전자 디바이스들, 본 개시에 설명된 기능들을 수행하도록 설계된 다른 전자 유닛들, 컴퓨터, 또는 이들의 조합 내에서 구현될 수도 있다.In a hardware implementation, the processing units used to perform the techniques may include one or more ASICs, DSPs, GPUs, digital signal processing devices (DSPDs), or programmable logic devices. ; PLDs), field programmable gate arrays (FPGAs), processors, controllers, microcontrollers, microprocessors, electronic devices, and other devices designed to perform the functions described in this disclosure. It may be implemented within electronic units, a computer, or a combination thereof.

따라서, 본 개시와 연계하여 설명된 다양한 예시적인 논리 블록들, 모듈들, 및 회로들은 범용 프로세서, DSP, ASIC, FPGA나 다른 프로그램 가능 논리 디바이스, 이산 게이트나 트랜지스터 로직, 이산 하드웨어 컴포넌트들, 또는 본원에 설명된 기능들을 수행하도록 설계된 것들의 임의의 조합으로 구현되거나 수행될 수도 있다. 범용 프로세서는 마이크로프로세서일 수도 있지만, 대안으로, 프로세서는 임의의 종래의 프로세서, 제어기, 마이크로제어기, 또는 상태 머신일 수도 있다. 프로세서는 또한, 컴퓨팅 디바이스들의 조합, 예를 들면, DSP와 마이크로프로세서, 복수의 마이크로프로세서들, DSP 코어와 연계한 하나 이상의 마이크로프로세서들, 또는 임의의 다른 구성의 조합으로서 구현될 수도 있다.Accordingly, the various illustrative logical blocks, modules, and circuits described in connection with this disclosure may be general-purpose processors, DSPs, ASICs, FPGAs or other programmable logic devices, discrete gate or transistor logic, discrete hardware components, or It may be implemented or performed as any combination of those designed to perform the functions described in. A general-purpose processor may be a microprocessor, but in the alternative, the processor may be any conventional processor, controller, microcontroller, or state machine. A processor may also be implemented as a combination of computing devices, such as a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP core, or any other configuration.

펌웨어 및/또는 소프트웨어 구현에 있어서, 기법들은 랜덤 액세스 메모리(random access memory; RAM), 판독 전용 메모리(read-only memory; ROM), 비휘발성 RAM(non-volatile random access memory; NVRAM), PROM(programmable read-only memory), EPROM(erasable programmable read-only memory), EEPROM(electrically erasable PROM), 플래시 메모리, 컴팩트 디스크(compact disc; CD), 자기 또는 광학 데이터 스토리지 디바이스 등과 같은 컴퓨터 판독가능 매체 상에 저장된 명령들로서 구현될 수도 있다. 명령들은 하나 이상의 프로세서들에 의해 실행 가능할 수도 있고, 프로세서(들)로 하여금 본 개시에 설명된 기능의 특정 양태들을 수행하게 할 수도 있다.For firmware and/or software implementations, techniques include random access memory (RAM), read-only memory (ROM), non-volatile random access memory (NVRAM), and PROM ( on computer-readable media such as programmable read-only memory (EPROM), electrically erasable PROM (EEPROM), flash memory, compact disc (CD), magnetic or optical data storage devices, etc. It may also be implemented as stored instructions. Instructions may be executable by one or more processors and may cause the processor(s) to perform certain aspects of the functionality described in this disclosure.

소프트웨어로 구현되는 경우, 상기 기법들은 하나 이상의 명령들 또는 코드로서 컴퓨터 판독 가능한 매체 상에 저장되거나 또는 컴퓨터 판독 가능한 매체를 통해 전송될 수도 있다. 컴퓨터 판독가능 매체들은 한 장소에서 다른 장소로 컴퓨터 프로그램의 전송을 용이하게 하는 임의의 매체를 포함하여 컴퓨터 저장 매체들 및 통신 매체들 양자를 포함한다. 저장 매체들은 컴퓨터에 의해 액세스될 수 있는 임의의 이용 가능한 매체들일 수도 있다. 비제한적인 예로서, 이러한 컴퓨터 판독가능 매체는 RAM, ROM, EEPROM, CD-ROM 또는 다른 광학 디스크 스토리지, 자기 디스크 스토리지 또는 다른 자기 스토리지 디바이스들, 또는 소망의 프로그램 코드를 명령들 또는 데이터 구조들의 형태로 이송 또는 저장하기 위해 사용될 수 있으며 컴퓨터에 의해 액세스될 수 있는 임의의 다른 매체를 포함할 수 있다. 또한, 임의의 접속이 컴퓨터 판독가능 매체로 적절히 행해진다.When implemented in software, the techniques may be stored on or transmitted through a computer-readable medium as one or more instructions or code. Computer-readable media includes both computer storage media and communication media, including any medium that facilitates transfer of a computer program from one place to another. Storage media may be any available media that can be accessed by a computer. By way of non-limiting example, such computer readable media may include RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or the desired program code in the form of instructions or data structures. It can be used to transfer or store data and can include any other media that can be accessed by a computer. Additionally, any connection may suitably be made to a computer-readable medium.

예를 들어, 소프트웨어가 동축 케이블, 광섬유 케이블, 연선, 디지털 가입자 회선 (DSL), 또는 적외선, 무선, 및 마이크로파와 같은 무선 기술들을 사용하여 웹사이트, 서버, 또는 다른 원격 소스로부터 전송되면, 동축 케이블, 광섬유 케이블, 연선, 디지털 가입자 회선, 또는 적외선, 무선, 및 마이크로파와 같은 무선 기술들은 매체의 정의 내에 포함된다. 본원에서 사용된 디스크(disk) 와 디스크(disc)는, CD, 레이저 디스크, 광 디스크, DVD(digital versatile disc), 플로피디스크, 및 블루레이 디스크를 포함하며, 여기서 디스크들(disks)은 보통 자기적으로 데이터를 재생하고, 반면 디스크들(discs) 은 레이저를 이용하여 광학적으로 데이터를 재생한다. 위의 조합들도 컴퓨터 판독가능 매체들의 범위 내에 포함되어야 한다.For example, if the Software is transmitted from a website, server, or other remote source using coaxial cable, fiber optic cable, twisted pair cable, digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwave, , fiber optic cable, twisted pair, digital subscriber line, or wireless technologies such as infrared, radio, and microwave are included within the definition of medium. As used herein, disk and disk include CD, laser disk, optical disk, digital versatile disc (DVD), floppy disk, and Blu-ray disk, where disks are usually magnetic. It reproduces data optically, while discs reproduce data optically using lasers. Combinations of the above should also be included within the scope of computer-readable media.

소프트웨어 모듈은, RAM 메모리, 플래시 메모리, ROM 메모리, EPROM 메모리, EEPROM 메모리, 레지스터들, 하드 디스크, 이동식 디스크, CD-ROM, 또는 공지된 임의의 다른 형태의 저장 매체 내에 상주할 수도 있다. 예시적인 저장 매체는, 프로세서가 저장 매체로부터 정보를 판독하거나 저장 매체에 정보를 기록할 수 있도록, 프로세서에 연결될 수 있다. 대안으로, 저장 매체는 프로세서에 통합될 수도 있다. 프로세서와 저장 매체는 ASIC 내에 존재할 수도 있다. ASIC은 유저 단말 내에 존재할 수도 있다. 대안으로, 프로세서와 저장 매체는 유저 단말에서 개별 구성요소들로서 존재할 수도 있다.A software module may reside in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium known. An exemplary storage medium may be coupled to the processor such that the processor may read information from or write information to the storage medium. Alternatively, the storage medium may be integrated into the processor. The processor and storage medium may reside within an ASIC. ASIC may exist within the user terminal. Alternatively, the processor and storage medium may exist as separate components in the user terminal.

이상 설명된 실시예들이 하나 이상의 독립형 컴퓨터 시스템에서 현재 개시된 주제의 양태들을 활용하는 것으로 기술되었으나, 본 개시는 이에 한정되지 않고, 네트워크나 분산 컴퓨팅 환경과 같은 임의의 컴퓨팅 환경과 연계하여 구현될 수도 있다. 또 나아가, 본 개시에서 주제의 양상들은 복수의 프로세싱 칩들이나 장치들에서 구현될 수도 있고, 스토리지는 복수의 장치들에 걸쳐 유사하게 영향을 받게 될 수도 있다. 이러한 장치들은 PC들, 네트워크 서버들, 및 휴대용 장치들을 포함할 수도 있다.Although the above-described embodiments have been described as utilizing aspects of the presently disclosed subject matter in one or more standalone computer systems, the disclosure is not limited thereto and may also be implemented in conjunction with any computing environment, such as a network or distributed computing environment. . Furthermore, aspects of the subject matter of this disclosure may be implemented in multiple processing chips or devices, and storage may be similarly effected across the multiple devices. These devices may include PCs, network servers, and portable devices.

본 명세서에서는 본 개시가 일부 실시예들과 관련하여 설명되었지만, 본 개시의 발명이 속하는 기술분야의 통상의 기술자가 이해할 수 있는 본 개시의 범위를 벗어나지 않는 범위에서 다양한 변형 및 변경이 이루어질 수 있다. 또한, 그러한 변형 및 변경은 본 명세서에 첨부된 특허청구의 범위 내에 속하는 것으로 생각되어야 한다.Although the present disclosure has been described in relation to some embodiments in this specification, various modifications and changes may be made without departing from the scope of the present disclosure as can be understood by a person skilled in the art to which the invention pertains. Additionally, such modifications and changes should be considered to fall within the scope of the claims appended hereto.

110: 입력 데이터 세트
120: 기계 학습 모델
130: 엔티티
140: 관계
150: 지식 그래프
110: input data set
120: Machine learning model
130: Entity
140: Relationships
150: Knowledge Graph

Claims (10)

적어도 하나의 프로세서에 의해 수행되는, 지식 그래프(knowledge graph) 자동 생성 방법에 있어서,
입력 데이터 세트를 수신하는 단계;
사전 결정된 복수의 도메인 중에서, 상기 입력 데이터 세트와 연관된 도메인을 식별하는 단계 - 상기 사전 결정된 복수의 도메인의 각각에 특화된 기계 학습 모델이 생성되고 사전 결정된 복수의 도메인의 수는 주어진 데이터량이 증가될수록 증가됨 -;
상기 식별된 도메인과 연관된 기계 학습 모델을 이용하여, 상기 입력 데이터 세트에 기초하여 로컬 지식 그래프를 생성하는 단계 - 상기 기계 학습 모델은 상기 도메인과 연관된 데이터를 이용하여 사전 결정된 시간에 따라 주기적으로 파인 튜닝(fine tuning)됨 -;
상기 로컬 지식 그래프에 기초하여, 글로벌 지식 그래프를 구축하는 단계;
상기 구축된 글로벌 지식 그래프에 포함된 복수의 엔티티 각각을 벡터로 임베딩하는 단계; 및
상기 임베딩된 벡터를 벡터 공간에 맵핑함으로써, 상기 구축된 글로벌 지식 그래프에 대응하는 인덱스를 생성하는 단계
를 포함하고,
상기 글로벌 지식 그래프를 구축하는 단계는,
상기 로컬 지식 그래프의 인스턴스 노드(instance node)를 중심으로 사전 결정된 범위 내의 엔티티 간의 관계를 추출하는 단계 - 상기 로컬 지식 그래프의 인스턴스 노드는 상기 로컬 지식 그래프와 연관된 도메인의 목적, 범위 및 데이터의 가용성에 기초하여 결정됨 -; 및
상기 추출된 엔티티 간의 관계에 기초하여, 상기 로컬 지식 그래프를 통합하여 상기 글로벌 지식 그래프를 구축하는 단계를 포함하고,
상기 인덱스는 데이터를 검색할 수 있도록 상기 로컬 지식 그래프 및 상기 글로벌 지식 그래프로 구성된 지식 그래프 계층을 통합한 인덱스 데이터베이스에 저장되고,
상기 벡터로 임베딩하는 단계는, 상기 글로벌 지식 그래프에서 변경된 내용을 순차적으로 로그에 기록하여, 비동기적으로 수행되는, 지식 그래프 자동 생성 방법.
In a method for automatically generating a knowledge graph, performed by at least one processor,
Receiving an input data set;
Identifying a domain associated with the input data set, from among a plurality of predetermined domains, wherein a machine learning model specialized for each of the plurality of predetermined domains is created and the number of the plurality of predetermined domains increases as a given amount of data increases. ;
Generating a local knowledge graph based on the input data set using a machine learning model associated with the identified domain, wherein the machine learning model is fine-tuned periodically at a predetermined time using data associated with the domain. (fine tuned) -;
Building a global knowledge graph based on the local knowledge graph;
Embedding each of a plurality of entities included in the constructed global knowledge graph into a vector; and
Generating an index corresponding to the constructed global knowledge graph by mapping the embedded vector to a vector space.
Including,
The step of building the global knowledge graph is,
Extracting relationships between entities within a predetermined range centered on an instance node of the local knowledge graph - the instance node of the local knowledge graph determines the purpose, scope, and availability of data of the domain associated with the local knowledge graph. decided on the basis -; and
Integrating the local knowledge graph based on the relationships between the extracted entities to build the global knowledge graph,
The index is stored in an index database that integrates a knowledge graph layer consisting of the local knowledge graph and the global knowledge graph to enable data retrieval,
The step of embedding into the vector is performed asynchronously by sequentially recording changes in the global knowledge graph in a log.
제1항에 있어서,
상기 기계 학습 모델은, 입력받은 데이터로부터 추출된 메타 데이터(meta data)에 기초하여 상기 입력받은 데이터와 연관된 복수의 엔티티(entity) 및 상기 복수의 엔티티 간의 관계(relationship)를 생성하도록 사전 학습된, 지식 그래프 자동 생성 방법.
According to paragraph 1,
The machine learning model is pre-trained to generate a plurality of entities associated with the input data and relationships between the plurality of entities based on meta data extracted from the input data, Method for automatically generating knowledge graphs.
제1항에 있어서,
상기 기계 학습 모델은, 사전 결정된 도메인이 어노테이션(annotation)된 지식 베이스(knowledge base) 문서를 이용하여 학습된, 지식 그래프 자동 생성 방법.
According to paragraph 1,
The machine learning model is a method of automatically generating a knowledge graph, where the machine learning model is learned using a knowledge base document annotated with a predetermined domain.
제1항에 있어서,
상기 로컬 지식 그래프를 생성하는 단계는,
상기 기계 학습 모델을 이용하여 상기 입력 데이터 세트와 연관된 복수의 엔티티 및 상기 복수의 엔티티 간의 관계를 생성하는 단계; 및
상기 복수의 엔티티 및 상기 복수의 엔티티 간의 관계에 기초하여, 상기 도메인과 연관된 로컬 지식 그래프를 생성하는 단계
를 포함하는, 지식 그래프 자동 생성 방법.
According to paragraph 1,
The step of generating the local knowledge graph is,
generating a plurality of entities associated with the input data set and relationships between the plurality of entities using the machine learning model; and
Generating a local knowledge graph associated with the domain based on the plurality of entities and relationships between the plurality of entities.
Method for automatically generating a knowledge graph, including:
삭제delete 삭제delete 삭제delete 삭제delete 제1항 내지 제4항 중 어느 한 항에 따른 방법을 컴퓨터에서 실행하기 위해 컴퓨터 판독 가능한 기록 매체에 저장된 컴퓨터 프로그램.
A computer program stored in a computer-readable recording medium for executing the method according to any one of claims 1 to 4 on a computer.
시스템으로서,
통신 모듈;
메모리; 및
상기 메모리와 연결되고, 상기 메모리에 포함된 컴퓨터 판독 가능한 적어도 하나의 프로그램을 실행하도록 구성된 적어도 하나의 프로세서를 포함하고,
상기 적어도 하나의 프로그램은,
입력 데이터 세트를 수신하고,
사전 결정된 복수의 도메인 중에서, 상기 입력 데이터 세트와 연관된 도메인을 식별하고 - 상기 사전 결정된 복수의 도메인의 각각에 특화된 기계 학습 모델이 생성되고 사전 결정된 복수의 도메인의 수는 주어진 데이터량이 증가될수록 증가됨 -,
상기 식별된 도메인과 연관된 기계 학습 모델을 이용하여, 상기 입력 데이터 세트에 기초하여 로컬 지식 그래프를 생성하고 - 상기 기계 학습 모델은 상기 도메인과 연관된 데이터를 이용하여 사전 결정된 시간에 따라 주기적으로 파인 튜닝(fine tuning)됨 -,
상기 로컬 지식 그래프에 기초하여, 글로벌 지식 그래프를 구축하고,
상기 구축된 글로벌 지식 그래프에 포함된 복수의 엔티티 각각을 벡터로 임베딩하고,
상기 임베딩된 벡터를 벡터 공간에 맵핑함으로써, 상기 구축된 글로벌 지식 그래프에 대응하는 인덱스를 생성하기 위한 명령어들을 포함하고,
상기 글로벌 지식 그래프를 구축하는 것은,
상기 로컬 지식 그래프의 인스턴스 노드(instance node)를 중심으로 사전 결정된 범위 내의 엔티티 간의 관계를 추출하는 것 - 상기 로컬 지식 그래프의 인스턴스 노드는 상기 로컬 지식 그래프와 연관된 도메인의 목적, 범위 및 데이터의 가용성에 기초하여 결정됨 -, 및
상기 추출된 엔티티 간의 관계에 기초하여, 상기 로컬 지식 그래프를 통합하여 상기 글로벌 지식 그래프를 구축하는 것을 포함하고,
상기 인덱스는 데이터를 검색할 수 있도록 상기 로컬 지식 그래프 및 상기 글로벌 지식 그래프로 구성된 지식 그래프 계층을 통합한 인덱스 데이터베이스에 저장되고,
상기 벡터로 임베딩하는 단계는, 상기 글로벌 지식 그래프에서 변경된 내용을 순차적으로 로그에 기록하여, 비동기적으로 수행되는, 시스템.
As a system,
communication module;
Memory; and
At least one processor connected to the memory and configured to execute at least one computer-readable program included in the memory,
The at least one program is,
Receive a set of input data,
Among the predetermined plurality of domains, identify a domain associated with the input data set - a machine learning model specialized for each of the predetermined plurality of domains is created and the number of the predetermined plurality of domains is increased as a given amount of data increases -
Using a machine learning model associated with the identified domain, a local knowledge graph is generated based on the input data set, and the machine learning model is fine-tuned periodically at a predetermined time using data associated with the domain. fine tuned -,
Based on the local knowledge graph, build a global knowledge graph,
Embedding each of the plurality of entities included in the constructed global knowledge graph as a vector,
Contains instructions for generating an index corresponding to the constructed global knowledge graph by mapping the embedded vector to a vector space,
Building the global knowledge graph involves:
Extracting relationships between entities within a predetermined range centered on an instance node of the local knowledge graph - the instance node of the local knowledge graph determines the purpose, scope, and availability of data of the domain associated with the local knowledge graph. determined on the basis -, and
Based on the relationships between the extracted entities, integrating the local knowledge graph to build the global knowledge graph,
The index is stored in an index database that integrates a knowledge graph layer consisting of the local knowledge graph and the global knowledge graph to enable data retrieval,
The step of embedding into the vector is performed asynchronously by sequentially recording changes in the global knowledge graph in a log.
KR1020230114549A 2023-08-30 2023-08-30 Method and system for generating knowledge graphs automatically KR102603767B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020230114549A KR102603767B1 (en) 2023-08-30 2023-08-30 Method and system for generating knowledge graphs automatically

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020230114549A KR102603767B1 (en) 2023-08-30 2023-08-30 Method and system for generating knowledge graphs automatically

Publications (1)

Publication Number Publication Date
KR102603767B1 true KR102603767B1 (en) 2023-11-17

Family

ID=88968715

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020230114549A KR102603767B1 (en) 2023-08-30 2023-08-30 Method and system for generating knowledge graphs automatically

Country Status (1)

Country Link
KR (1) KR102603767B1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117391192A (en) * 2023-12-08 2024-01-12 杭州悦数科技有限公司 Method and device for constructing knowledge graph from PDF by using LLM based on graph database
KR102649675B1 (en) * 2023-12-20 2024-03-20 주식회사 인텔렉투스 Method and system for providing information using full-text index integrated graph data structure and vector data
CN117891925A (en) * 2024-03-15 2024-04-16 青岛网信信息科技有限公司 Method, medium and system for realizing chat memory by using large language model

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200218968A1 (en) * 2019-01-07 2020-07-09 International Business Machines Corporation Deep symbolic validation of information extraction systems
US20220067590A1 (en) * 2020-08-28 2022-03-03 International Business Machines Corporation Automatic knowledge graph construction

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200218968A1 (en) * 2019-01-07 2020-07-09 International Business Machines Corporation Deep symbolic validation of information extraction systems
US20220067590A1 (en) * 2020-08-28 2022-03-03 International Business Machines Corporation Automatic knowledge graph construction

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117391192A (en) * 2023-12-08 2024-01-12 杭州悦数科技有限公司 Method and device for constructing knowledge graph from PDF by using LLM based on graph database
CN117391192B (en) * 2023-12-08 2024-03-15 杭州悦数科技有限公司 Method and device for constructing knowledge graph from PDF by using LLM based on graph database
KR102649675B1 (en) * 2023-12-20 2024-03-20 주식회사 인텔렉투스 Method and system for providing information using full-text index integrated graph data structure and vector data
CN117891925A (en) * 2024-03-15 2024-04-16 青岛网信信息科技有限公司 Method, medium and system for realizing chat memory by using large language model
CN117891925B (en) * 2024-03-15 2024-05-28 青岛网信信息科技有限公司 Method, medium and system for realizing chat memory by using large language model

Similar Documents

Publication Publication Date Title
KR102603767B1 (en) Method and system for generating knowledge graphs automatically
US20230177073A1 (en) Method and system for addressing the problem of discovering relevant services and applications that are available over the internet or other communcations network
US20180052824A1 (en) Task identification and completion based on natural language query
WO2018213740A1 (en) Action recipes for a crowdsourced digital assistant system
CN107209668A (en) Response type agent development environment
US20150161249A1 (en) Finding personal meaning in unstructured user data
CN109891406B (en) Multi-level data paging
US11687794B2 (en) User-centric artificial intelligence knowledge base
US10229189B2 (en) System for generation of automated response follow-up
US10229187B2 (en) System for determination of automated response follow-up
US20220283831A1 (en) Action recipes for a crowdsourced digital assistant system
KR102432600B1 (en) Method and system for detecting duplicated document using vector quantization
CN112182255A (en) Method and apparatus for storing media files and for retrieving media files
US20230161945A1 (en) Automatic two-way generation and synchronization of notebook and pipeline
WO2024001548A1 (en) Song list generation method and apparatus, and electronic device and storage medium
Lee et al. LifeLogOn: A practical lifelog system for building and exploiting lifelog ontology
KR102649675B1 (en) Method and system for providing information using full-text index integrated graph data structure and vector data
WO2017074808A1 (en) Single unified ranker
JP7012803B2 (en) Soaring search term provision method and system
KR102611482B1 (en) Method and system for providing marketing strategy model based on big data
KR20200087471A (en) Object recommendation method and system
Amato et al. BDI Intelligent Agents for Augmented Exploitation of Pervasive Environments.
KR102638782B1 (en) Method and system for displaying non-fungible token avatar in metaverse
KR102610134B1 (en) Method and system for generating composite image
CN112650830B (en) Keyword extraction method and device, electronic equipment and storage medium

Legal Events

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