[논문 리뷰] Graph-constrained Reasoning: Faithful Reasoning on Knowledge Graphs with Large Language Models
GCR은 KG-Trie 인덱스로 LLM 추론을 제약하는 KG-기반 디코딩 프레임워크를 제시하여 지식 그래프에 대한 충실하고 환각이 없는 추론과 최첨단 KGQA 성능을 가능하게 한다.
Large language models (LLMs) have demonstrated impressive reasoning abilities, but they still struggle with faithful reasoning due to knowledge gaps and hallucinations. To address these issues, knowledge graphs (KGs) have been utilized to enhance LLM reasoning through their structured knowledge. However, existing KG-enhanced methods, either retrieval-based or agent-based, encounter difficulties in accurately retrieving knowledge and efficiently traversing KGs at scale. In this work, we introduce graph-constrained reasoning (GCR), a novel framework that bridges structured knowledge in KGs with unstructured reasoning in LLMs. To eliminate hallucinations, GCR ensures faithful KG-grounded reasoning by integrating KG structure into the LLM decoding process through KG-Trie, a trie-based index that encodes KG reasoning paths. KG-Trie constrains the decoding process, allowing LLMs to directly reason on graphs and generate faithful reasoning paths grounded in KGs. Additionally, GCR leverages a lightweight KG-specialized LLM for graph-constrained reasoning alongside a powerful general LLM for inductive reasoning over multiple reasoning paths, resulting in accurate reasoning with zero reasoning hallucination. Extensive experiments on several KGQA benchmarks demonstrate that GCR achieves state-of-the-art performance and exhibits strong zero-shot generalizability to unseen KGs without additional training.
연구 동기 및 목표
- 구조화된 KG 지식과 비구조화된 LLM 추론을 연결하여 충실한 KG-인지 답변 제공
- KG 구조로 LLM 디코딩을 제약하여 환각을 제거
- 경량 KG-전문화 LLM과 강력한 일반 LLM을 활용한 다중 경로의 효율적, 귀납적 추론
- unseen KG에 대한 제로샷 일반화로 최첨단 KGQA 성능 달성
- 검색 기반 및 에이전트 기반 KG 추론 방법 대비 효율성 향상 입증
제안 방법
- KG-를 추론 경로의 구조화된 인덱스로 변환하기
- KG-전문화 LLM을 사용하여 KG-제약 디코딩으로 KG-접근 경로 및 가설 답안을 KG-Trie 제약 하에 생성
- 그래프 제약 디코딩 데이터로 경량 KG-전문화 LLM 미세조정
- 여러 KG-접근 경로를 일반 LLM(FiD-유사)로 입력하여 최종 귀납적 추론 및 답변 생성
- 추가 학습 없이 KG-Trie를 본 unseen KG에 적용하여 제로샷 일반화 수행
실험 결과
연구 질문
- RQ1GCR이 우수한 효율성과 함께 최첨단 추론 성능을 달성할 수 있는가?
- RQ2GCR이 환각을 제거하고 KG-기반 추론의 충실성을 보장할 수 있는가?
- RQ3GCR이 제로샷 설정에서 unseen KG로 일반화할 수 있는가?
- RQ4KG-전문화 LLM과 일반 LLM의 기여도 차이가 GCR에서 어떤가?
- RQ5빔 너비와 경로 길이가 성능과 효율성에 미치는 영향은 무엇인가?
주요 결과
- GCR은 WebQSP 및 CWQ에서 최첨단 Hits를 달성하고 Hit과 F1에서 베이스라인을 능가한다.
- KG 제약으로 두 데이터셋에서 100% 충실한 추론이 가능해 테스트 사례에서 환각이 제거된다.
- 제로샷 실험에서 GCR은 unseen KG로의 전이 시 CSQA 및 MedQA에서 ChatGPT 및 GPT-4o-mini를 능가한다.
- 경량 KG-전문화 LLM(0.5B)이 미세조정 후 일부 더 큰 모델을 능가할 수 있어 전문화의 이점을 강조한다.
- 빔 크기와 경로 길이(K, L)는 탐색과 신뢰성의 균형을 형성하며 K=10, L=2가 강력한 성능-효율성 트레이드오프를 제공한다.
- KG-Trie 제약으로 디코딩하여 GCR은 효율성을 유지하고 추가 LLM 호출 없이 병렬 탐색을 가능하게 한다.
이 논문 읽기
누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.
누빈트에서 이 논문 읽기이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.