지식 그래프 기반 LLM 질의응답에서 정답 경로와 그라운딩 인스트럭션의 역할
The Answer Path and the Grounding Instruction in LLM Question Answering over Knowledge Graphs
한국어 초록
그래프 검색-증강 생성(RAG) 파이프라인은 프롬프트(prompt)에 포함할 트리플, 트리플을 작성할 구문, 작성 순서, 그리고 모델(model)에 이를 어떻게 처리할지 지시하는 문장을 선택합니다. 본 연구는 6개의 대규모 언어 모델(LLM)과 2개의 지식 그래프 질의응답 벤치마크(benchmark)에 걸쳐 이 네 가지 요소를 다양하게 변화시켰습니다. 네 가지 선택지 중 두 가지는 정답에 유의미한 변화를 주었으나, 나머지 두 가지는 별다른 영향을 주지 않았습니다. 첫 번째 핵심 요소는 정답에 도달하는 데 필요한 트리플인 '정답 경로'가 프롬프트에 실제로 포함되어 있는지 여부입니다. 트리플의 수를 일정하게 유지하면서 경로 상에 있지 않은 모든 트리플을 무관한 개체의 내용으로 교체했을 때 정답 정확도는 F1 기준으로 +0.003만 변동한 반면, 경로를 제거하면 그래프가 제공하는 가치의 대부분이 상실되었습니다. 검색 예산은 재현율(recall)에 할당되어야 하며, 테스트 가능한 범위 내에서의 정밀도(precision)는 어떠한 이점도 가져오지 않습니다. 본 연구에는 리트리버가 존재하지 않으며, 서브그래프는 골드 SPARQL에서 도출되므로 정밀도는 시스템 설정이 아닌 구축된 컨텍스트를 나타냅니다. 두 번째 요소는 그라운딩(grounding) 인스트럭션입니다. 프롬프트에 아무런 사실 정보가 없을 때, 제공된 사실만을 사용하여 답변하라는 지시를 모델에 내리면 F1이 0.299에서 0.035로 8.63배 하락합니다. 이 수치는 실제 작동하는 파이프라인이 아닌 컨텍스트가 비어 있는 조건에 대한 평가 결과를 나타내며, 컨텍스트가 있는 실험 조건에는 이 인스트럭션을 적용하면서 컨텍스트가 없는 기준선(baseline)에는 적용하지 않는 실험은 그래프 컨텍스트가 탐색 깊이(depth)에서 악영향을 미친다는 잘못된 결과를 인위적으로 만들어냅니다. 저자들 역시 자체 결과에서 이러한 오류를 발견하고 이를 철회합니다. 구문, 트리플 순서, 서브그래프 크기는 멀티홉(multi-hop) 깊이에서 측정 가능한 어떠한 효과도 나타내지 않았습니다. 올바른 컨텍스트 대비 그라운딩 인스트럭션의 가치를 평가하는 비교는 인스트럭션이 응답 형식을 결정하므로 형식에 민감한 평가 방식으로는 측정할 수 없으며, 저자들은 이를 단일 수치가 아닌 미해결된 대비(open contrast)로 보고합니다.
원문 초록
A graph retrieval-augmented generation pipeline chooses which triples to put in the prompt, a syntax to write them in, an order to write them in, and a sentence telling the model what to do with them. We vary all four over six large language models and two knowledge-graph question answering benchmarks. Two of the four choices move the answer and the other two are flat. The first is whether the answer path, the triples needed to reach the answer, is in the prompt at all. Holding the number of triples fixed and replacing every triple that is not on the chain with material from an unrelated entity changes answer accuracy by +0.003 F1, while removing the chain costs most of what the graph was worth. Retrieval budget belongs on recall, and precision in the range we can test buys nothing. There is no retriever here: subgraphs come from gold SPARQL, so precision describes the context we build, not a system setting. The second is the grounding instruction. With no facts in the prompt, telling a model to answer using only the provided facts drops F1 from 0.299 to 0.035, a factor of 8.63. That figure describes an evaluation with an empty context arm rather than a working pipeline, and an experiment that applies the instruction to its context arm but not to its no-context baseline manufactures a spurious finding that graph context hurts at depth. We found one in our own results and retract it. Syntax, triple order and subgraph size produce no effect we can measure at multi-hop depth. The comparison that would price the grounding instruction against correct context is not measurable with a format-sensitive scorer, because the instruction determines the response format; we report it as an open contrast rather than a number.
제출 이력
확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.
- arXiv:2609.10237v1제출 시각 미확인
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
공통 태그로 연결된 공개 논문이 아직 없습니다.
토론
이 논문과 연결된 포럼 글이 아직 없습니다.