Skip to main content
QUICK REVIEW

[논문 리뷰] HippoRAG: Neurobiologically Inspired Long-Term Memory for Large Language Models

Bernal Jiménez Gutiérrez, Yiheng Shu|arXiv (Cornell University)|2024. 05. 23.
Topic ModelingComputer Science인용 수 20
한 줄 요약

HippoRAG은 지식 그래프와 Personalized PageRank를 활용하여 단일 단계의 다중 홉 검색을 가능하게 하는 신경생물학적으로 영감을 받은 검색 프레임워크를 도입함으로써 표준 RAG 방법에 비해 정확도와 효율성을 향상시킵니다.

ABSTRACT

In order to thrive in hostile and ever-changing natural environments, mammalian brains evolved to store large amounts of knowledge about the world and continually integrate new information while avoiding catastrophic forgetting. Despite the impressive accomplishments, large language models (LLMs), even with retrieval-augmented generation (RAG), still struggle to efficiently and effectively integrate a large amount of new experiences after pre-training. In this work, we introduce HippoRAG, a novel retrieval framework inspired by the hippocampal indexing theory of human long-term memory to enable deeper and more efficient knowledge integration over new experiences. HippoRAG synergistically orchestrates LLMs, knowledge graphs, and the Personalized PageRank algorithm to mimic the different roles of neocortex and hippocampus in human memory. We compare HippoRAG with existing RAG methods on multi-hop question answering and show that our method outperforms the state-of-the-art methods remarkably, by up to 20%. Single-step retrieval with HippoRAG achieves comparable or better performance than iterative retrieval like IRCoT while being 10-30 times cheaper and 6-13 times faster, and integrating HippoRAG into IRCoT brings further substantial gains. Finally, we show that our method can tackle new types of scenarios that are out of reach of existing methods. Code and data are available at https://github.com/OSU-NLP-Group/HippoRAG.

연구 동기 및 목표

  • LLM의 표준 RAG를 넘어서는 장기 기억을 모델링하여 해마 기억 인덱싱을 활용하고자 한다.
  • schemaless 지식 그래프를 인공 해마 인덱스로 구축하고 활용하는 세 가지 구성요소의 HippoRAG 시스템을 제안한다.
  • 단일 단계 다중 홉 검색과 반복 검색 기준선에 비해 효율성을 향상시키는 것을 보여준다.
  • HippoRAG가 MuSiQue와 2WikiMultiHopQA에서 다중 홉 QA 성능을 개선하고 IRCoT를 보완한다는 것을 보여준다.

제안 방법

  • 온라인 인덱싱은 강한 지시어로 미세 조정된 LLM을 사용하여 OpenIE를 통해 패시지를 schemaless 지식 그래프로 전환한다.
  • 임계값을 초과하는 코사인 유사도와 함께 KG에 동의어 간선을 추가한다.
  • 온라인 검색은 LLM으로 쿼리 엔티티를 추출하고 Retrieval Encoder를 사용하여 KG 노드에 연결한다.
  • 쿼리 노드를 시드로 하여 KG에서 Personalized PageRank를 실행해 점수화된 이웃을 생성한다.
  • 패시지에 걸쳐 PPR 결과를 종합하여 패시지 검색 점수를 얻고 노드 특이성이 지역 IDF 유사 신호로 작용하게 한다.
  • PPR 기반 순위를 사용하여 단일 단계 다중 홉 검색을 가능하게 하고 이를 단일 단계 및 다중 단계 기준선과 비교한다.

실험 결과

연구 질문

  • RQ1신경생물학적으로 영감을 받은 KG 및 PPR 검색이 LLM 보강에서 단일 단계 다중 홉 검색을 달성할 수 있는가?
  • RQ2HippoRAG가 표준 RAG 및 IRCoT 기준선과 비교했을 때 다중 홉 QA 벤치마크에서의 성능은 어떤가?
  • RQ3OpenIE, 동의어 간선 등 KG 구성 선택 및 PPR 변형이 검색 및 QA 성능에 미치는 영향은 무엇인가?
  • RQ4HippoRAG가 표준 경로 추적 질문을 넘어 경로 탐색 다중 홉 시나리오를 효과적으로 처리할 수 있는가?

주요 결과

  • HippoRAG가 MuSiQue 및 2WikiMultiHopQA에서 단일 단계 검색에서 모든 기준선보다 우수하다.
  • HippoRAG는 IRCoT와 같은 반복 검색보다 비슷하거나 더 나은 성능을 달성하면서 온라인에서 10~30배 저렴하고 6~13배 빠르다.
  • HippoRAG를 IRCoT와 결합하면 동일한 데이터 세트에서 추가 이득이 있다.
  • HippoRAG는 경로 탐색 다중 홉 QA에서 강력한 결과를 보이고 경로 찾기 다중 홉 QA에서도 가능성을 시사한다.
  • 단절 분석은 노드 특이성과 동의어 간선이 성능에 기여하고 OpenIE의 품질이 결과에 상당히 영향을 미친다.

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.