# Large Language Models and Knowledge Graphs: Opportunities and Challenges

대규모 언어 모델과 지식 그래프: 기회와 과제

Jeff Z. Pan, Simon Razniewski, Jan-Christoph Kalo, Sneha Singhania, Jiaoyan Chen, Stefan Dietze 외 10명 · arXiv · 2023년 8월 11일

- **연구 문제** LLM의 등장으로 지식 표현 연구는 명시적 KG 중심에서 명시적 지식과 파라미터 지식을 함께 다루는 하이브리드 표현으로 옮겨 가고 있습니다.
- **연구 방법** 논문은 LLM과 KG를 결합하는 두 방향, 즉 LLM으로 KG를 구축·정제하는 방향과 KG로 LLM을 보강하는 방향을 나누어 기회와 과제를 정리합니다.
- **주요 결과** LLM 기반 지식 구축은 KG 수준의 높은 정밀도와 롱테일 사실 커버리지에서 한계를 보이며, 지식 검색은 질문 표현에 따라 일관성이 떨어질 수 있다고 보고됩니다.

## 명시적 지식에서 하이브리드 표현으로의 전환

이 논문이 다루는 변화는 지식 표현의 중심이 명시적 지식에서 명시적 지식과 파라미터 지식을 함께 다루는 하이브리드 표현으로 옮겨 가는 것입니다. 기존 KR 연구는 텍스트, 데이터베이스, 지식 그래프(KG)처럼 구조가 드러난 명시적 지식을 중심에 두었습니다. 대규모 언어 모델(LLM)은 방대한 텍스트 학습으로 지식을 모델의 파라미터 안에 담으므로, 두 지식 형태를 어떻게 결합할지가 새로운 질문이 됩니다. 저자들은 이 전환을 LLM이 KG를 보강하는 방향과 KG가 LLM을 보강하는 방향 모두에서 살펴봅니다. 이 논문은 실험 논문이 아니라 position paper로서, 이 두 방향의 기회와 과제를 정리하는 데 초점을 둡니다.

## 정밀도와 재현율의 긴장

논문은 명시적 지식과 파라미터 지식의 차이를 정밀도와 재현율의 트레이드오프로 설명합니다. KG는 사실을 높은 정확도로 제공하는 것이 강점이며, 원문은 YAGO가 95%를 넘는 정확도를 주장한다고 소개합니다. 반면 LLM 기반 KG completion 방법들은 이러한 높은 정밀도 수준에 도달하지 못하는 경우가 많다고 지적됩니다. 같은 맥락에서 numerical KG completion 평가에서는 여러 LLM이 Wikidata의 출생 및 사망 연도를 예측했지만, 테스트된 모델 중 단 하나의 연도도 정확히 예측하지 못했다고 보고됩니다. 또 LLM의 성능은 PopQA 등에서 인기 엔티티보다 롱테일 엔티티에서 크게 떨어진다고 보고되며, 이 결과는 LLM이 드문 사실을 기억하는 능력에 한계가 있음을 보여 줍니다.

이 세 결과는 서로 다른 과제와 데이터에서 얻은 관찰이므로, LLM의 정밀도 한계를 모든 과제에 대한 단일 수치로 일반화하지 않아야 합니다.

## 링크 예측과 귀납적 링크 예측

Link prediction은 triple의 head, relation, tail 중 하나가 빠졌을 때 나머지 요소로 빠진 요소를 예측하는 과제입니다. 기존 KG embedding 방법은 학습 단계에서 본 엔티티에만 임베딩을 만들 수 있어, 새 엔티티에는 링크를 예측하기 어렵습니다. Inductive link prediction은 KG에 처음부터 없던 새로운 엔티티로 향하는 링크를 예측하는 방향입니다. 논문은 이 문제를 해결하려는 방법으로 텍스트 정보를 활용하는 흐름을 소개합니다. 예를 들어 KG-BERT는 triple을 head 텍스트, relation 텍스트, tail 텍스트를 이어 붙인 시퀀스로 표현하고 BERT를 KG completion에 맞춰 최적화합니다.

한편 직접 LLM에 프롬프트를 주어 링크를 찾는 방법은 ILP 설정에서도 평가될 수 있다고 설명합니다. 다만 생성 모델은 생성 결과가 KG에 이미 있는지 보장하지 못하며, 한 엔티티가 여러 자연어 이름을 가질 수 있어 결과의 정답 여부를 판단하기 어렵다는 한계가 제시됩니다.

## LLM 파라미터에서의 지식 검색과 일관성

Knowledge retrieval은 LLM 파라미터에 저장된 관계형 지식을 질의나 프롬프트로 꺼내는 과제로 정의됩니다. LAMA는 이 지식 검색을 평가하기 위해 처음 제시된 벤치마크 데이터셋입니다. 이 맥락에서 논문은 지식 검색 결과가 같은 사실을 다른 표현으로 물을 때 일관성이 부족하다고 보고합니다. 즉 지식이 모델 안에 있더라도 질문의 표현 방식에 따라 답이 달라질 수 있습니다. 이 결과는 LAMA 맥락의 평가 설정에서 나온 관찰이며, 모든 LLM과 모든 지식 유형에 같은 크기로 적용된다고 볼 수는 없습니다. 논문은 프롬프트 엔지니어링이 지식 검색 결과를 크게 좌우하므로, 프롬프트 설계 자체가 KG 구축 파이프라인의 중요한 구성요소가 된다고 설명합니다.

## 출처 부재와 KG의 열린 세계 가정

LLM에서 추출한 사실 지식은 출처와 신뢰도를 나타내는 provenance를 제공하지 않습니다. 이 점은 정보의 정확성을 검증하기 어렵게 만들고, 잘못된 정보가 퍼질 가능성을 높입니다. 또한 편향이 어떤 학습 데이터에서 왔는지 추적하기 어려워지고, 모델의 투명성과 책임성도 낮아집니다. 반면 KG 쪽에서는 closed world assumption이 성립하지 않는다고 설명되므로, 누락된 사실을 거짓으로 간주하지 않는 open-world assumption이 일반적으로 적용됩니다. 이 두 가정의 차이는 LLM이 생성한 누락 사실을 KG에 넣을 때 참과 거짓을 구분하는 기준을 어떻게 세울지에 직접 관련됩니다.

## 온톨로지 정제와 정렬의 LLM 활용

KG에는 온톨로지 스키마가 함께 붙는 경우가 많고, 온톨로지 정제는 지식 완성, 오류 탐지와 수정, 개념 정규화를 포함합니다. 이 영역의 기존 방법 가운데 BERTSubs는 BERT와 로지스틱 회귀 분류기를 사용해 두 개념 사이의 하위 개념 관계를 예측합니다. 온톨로지 정렬은 서로 다른 온톨로지에서 동치, 하위 개념, 소속 관계의 매핑을 찾는 과제입니다. 전통 시스템인 LogMap은 어휘 매칭과 논리 추론으로 매핑을 만들고, 최근에는 머신러닝과 결합하는 방식이 소개됩니다. 논문은 LLM이 텍스트 정보를 활용해 이런 과제를 개선할 가능성을 제시하지만, 형식 의미와 텍스트 의미가 어긋날 때 매핑의 참 거짓을 판단하기 어렵다는 평가 문제도 함께 제기합니다.

## 향후 방향과 권고

논문의 결론은 LLM이 KG 연구를 끝내는 것이 아니라 두 지식 형태를 결합하는 새로운 단계를 연다는 입장입니다. 저자들은 신뢰성과 안전성이 중요한 응용에서는 구조화된 지식이 여전히 필요하므로 KG를 버리지 말아야 한다고 권고합니다. 동시에 LLM이 많은 파이프라인 단계를 발전시키거나 대체할 수 있으므로, 기존 구성요소를 LLM 기반 최신 방법과 지속적으로 비교해야 한다고 제안합니다. 또한 환각 문제에 대한 근본적 해결책은 아직 보이지 않는다고 보고, 비판적 태도를 유지할 것을 강조합니다. 이 권고들은 저자들의 관점과 설문형 논의에 기반한 것이며, 이 논문이 새로운 구현을 제시해 검증한 결과는 아닙니다.

## 논문 정보

- **저자**: Jeff Z. Pan, Simon Razniewski, Jan-Christoph Kalo, Sneha Singhania, Jiaoyan Chen, Stefan Dietze, Hajira Jabeen, Janna Omeliyanenko, Wen Zhang, Matteo Lissandrini, Russa Biswas, Gerard de Melo, Angela Bonifati, Edlira Vakaj, Mauro Dragoni, Damien Graux
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2023년 8월 11일
- **등록일**: 2026년 11월 6일
- **수정일**: 2023년 8월 11일
- **버전**: v1
- **arXiv**: 2308.06374
- **분류**: cs.AI · cs.CL
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

[논문 원문 ↗](https://arxiv.org/abs/2308.06374v1) · [원문 PDF ↗](https://arxiv.org/pdf/2308.06374v1)

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

## 초록

Large Language Models (LLMs) have taken Knowledge Representation -- and the world -- by storm. This inflection point marks a shift from explicit knowledge representation to a renewed focus on the hybrid representation of both explicit knowledge and parametric knowledge. In this position paper, we will discuss some of the common debate points within the community on LLMs (parametric knowledge) and Knowledge Graphs (explicit knowledge) and speculate on opportunities and visions that the renewed focus brings, as well as related research topics and challenges.

## 원문 인용

Jeff Z. Pan, Simon Razniewski, Jan-Christoph Kalo, Sneha Singhania, Jiaoyan Chen, Stefan Dietze, Hajira Jabeen, Janna Omeliyanenko, Wen Zhang, Matteo Lissandrini, Russa Biswas, Gerard de Melo, Angela Bonifati, Edlira Vakaj, Mauro Dragoni, Damien Graux (2023). Large Language Models and Knowledge Graphs: Opportunities and Challenges. arXiv:2308.06374v1. https://arxiv.org/abs/2308.06374v1

**BibTeX**

```
@misc{pan2023large,
  title = {{Large Language Models and Knowledge Graphs: Opportunities and Challenges}},
  author = {Jeff Z. Pan and Simon Razniewski and Jan-Christoph Kalo and Sneha Singhania and Jiaoyan Chen and Stefan Dietze and Hajira Jabeen and Janna Omeliyanenko and Wen Zhang and Matteo Lissandrini and Russa Biswas and Gerard de Melo and Angela Bonifati and Edlira Vakaj and Mauro Dragoni and Damien Graux},
  year = {2023},
  eprint = {2308.06374},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2308.06374v1}
}
```

## 이 논문의 용어

- [검색 증강 생성](https://refivu.com/terms/745578495b18-retrieval-augmented-generation)
- [대규모 언어 모델](https://refivu.com/terms/d06687a9ae3e-large-language-model)
- [prompt engineering](https://refivu.com/terms/fd335dee5f48-prompt-engineering)
- [Mean Reciprocal Rank](https://refivu.com/terms/5cee33207fc4-mean-reciprocal-rank)
- [link prediction](https://refivu.com/terms/f029f4345f8f-link-prediction)
- [LAMA](https://refivu.com/terms/acf6ed8e0c14-lama)
- [Hit@k](https://refivu.com/terms/242762e2fe1a-hit-k)

## 다른 논문 해설

- [Overview of the NTCIR-19 SciClaimEval Task: Cross-modal Claim Verification in Scientific Papers](https://refivu.com/papers/66dde2db-1bff-4f6e-9051-9ebc38bf1bf6-overview-of-the-ntcir-19-sciclaimeval-task-cross.md)
- [Retrieval Supersedes Scale: Efficient Log Level Prediction via Multiplex Socio-Technical Context](https://refivu.com/papers/1d3e8983-7d23-49b6-9f2c-a73b6cc445aa-retrieval-supersedes-scale-efficient-log-level-prediction.md)
- [AGORA: Reliability-Aware Aggregation of LLM Judges via Item-Response Theory](https://refivu.com/papers/0038d415-6622-454c-ae5b-e99ae5a41f64-agora-reliability-aware-aggregation-of-llm-judges-via.md)
- [Iterated creation, grading, and revision of data science projects by language models](https://refivu.com/papers/6e806f60-e68c-4a63-b8ee-18fbe24f7095-iterated-creation-grading-and-revision-of-data-science.md)
- [Can Large Language Models Review the Scientific Literature? A Test Against a 102-Article Benchmark](https://refivu.com/papers/afea80c2-0ed3-410b-a236-d918b0185197-can-large-language-models-review-the-scientific-literature.md)
- [LIBRA: Programmatic Induction of Executable Tool Libraries](https://refivu.com/papers/8da9ea01-fd35-49ff-950a-1f4175fbaf56-libra-programmatic-induction-of-executable-tool-libraries.md)
- [Multiparty Dynamics and Failure Modes for Machine Learning and Artificial Intelligence](https://refivu.com/papers/217401ac-d459-4484-b401-9ca00d7c10bd-multiparty-dynamics-and-failure-modes-for-machine-learning.md)
- [Reinforcement Learning of Beam Codebooks in Millimeter Wave and Terahertz MIMO Systems](https://refivu.com/papers/aee9b50b-14ac-4bb3-829c-8d1a65fe0f08-reinforcement-learning-of-beam-codebooks-in-millimeter-wave.md)
- [Deep Reinforcement Learning for Constrained Field Development Optimization in Subsurface Two-phase Flow](https://refivu.com/papers/193e3a0e-055b-4a7b-ac9b-43d9820efac4-deep-reinforcement-learning-for-constrained-field.md)
- [Context-Aware Convolutional Neural Network for Grading of Colorectal Cancer Histology Images](https://refivu.com/papers/eb8ac42e-dc45-4449-a344-d888315689e8-context-aware-convolutional-neural-network-for-grading-of.md)
- [Accessible Visualization via Natural Language Descriptions: A Four-Level Model of Semantic Content](https://refivu.com/papers/21a3a865-761d-4341-a41f-2e734373f6ab-accessible-visualization-via-natural-language-descriptions-a.md)
- [Vertical Federated Learning: Concepts, Advances and Challenges](https://refivu.com/papers/39bcdd63-2fa5-4368-9a59-dc29f3d92aa4-vertical-federated-learning-concepts-advances-and-challenges.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/850acb5a-09f1-45e0-afdb-8bf8d121a048-large-language-models-and-knowledge-graphs-opportunities-and)
