[논문 리뷰] KG-FiD: Infusing Knowledge Graph in Fusion-in-Decoder for Open-Domain Question Answering
KG-FiD는 지식 그래프와 두 단계 그래프 뉴럴 네트워크 재랭킹을 활용해 Fusion-in-Decoder를 보강하여 Passage를 가지치고, FiD의 계산량의 약 40% 수준에서 FiD와 동등하거나 더 나은 QA 정확도를 달성합니다.
Current Open-Domain Question Answering (ODQA) model paradigm often contains a retrieving module and a reading module. Given an input question, the reading module predicts the answer from the relevant passages which are retrieved by the retriever. The recent proposed Fusion-in-Decoder (FiD), which is built on top of the pretrained generative model T5, achieves the state-of-the-art performance in the reading module. Although being effective, it remains constrained by inefficient attention on all retrieved passages which contain a lot of noise. In this work, we propose a novel method KG-FiD, which filters noisy passages by leveraging the structural relationship among the retrieved passages with a knowledge graph. We initiate the passage node embedding from the FiD encoder and then use graph neural network (GNN) to update the representation for reranking. To improve the efficiency, we build the GNN on top of the intermediate layer output of the FiD encoder and only pass a few top reranked passages into the higher layers of encoder and decoder for answer generation. We also apply the proposed GNN based reranking method to enhance the passage retrieval results in the retrieving module. Extensive experiments on common ODQA benchmark datasets (Natural Question and TriviaQA) demonstrate that KG-FiD can improve vanilla FiD by up to 1.5% on answer exact match score and achieve comparable performance with FiD with only 40% of computation cost.
연구 동기 및 목표
- 검색된 Passage 간의 구조적 관계를 활용하여 오픈 도메인 QA를 개선하려는 동기 부여.
- 패시지 간 연결을 모델링하고 재랭킹에 정보를 제공하기 위해 외부 지식 그래프를 활용합니다.
- FiD의 계산 비용을 희생하지 않으면서 QA 성능을 줄이고자 합니다.
- ODQA 파이프라인의 읽기 모듈을 위한 Passage 선택을 더 효율적으로 만들 수 있도록 합니다.
제안 방법
- 패시지 그래프를 구성하여 Passage를 KG 정렬 엔티티에 매핑하고 KG로 연결된 엔티티를 가진 Passage를 연결합니다.
- Stage-1 재랭킹: 초기 노드 임베딩을 DPR에서 얻은 상태로 Passage 그래프 위의 GNN을 사용하여 대량의 검색 Passage를 재랭킹합니다.
- Stage-2 재랭킹 및 답변 생성: 독해기-인코더에서 파생된 임베딩을 사용하여 더 작은 Passage 집합을 공동으로 재랭킹하고 FiD 독해기를 사용해 답변 생성을 수행합니다.
- Stage-2에서 중간 인코더 표현을 사용하여 남은 인코더 층을 통해 상위-N2 Passage만 처리함으로써 계산을 줄입니다.
- 재검색 품질과 답변 정확도 간의 균형을 맞추기 위해 재랭킹 단계와 답변 생성 손실을 함께 학습합니다.
- NQ 및 TriviaQA에서 FiD 대비 FLOPs 및 지연 (latency)을 정량화하여 효율성 향상을 Demonstrate합니다.
실험 결과
연구 질문
- RQ1KG를 사용하여 ODQA에서 검색된 Passage 간의 구조적 관계를 포착할 수 있는 방법은 무엇인가?
- RQ2그래프 신경망이 Passage를 효과적으로 재랭킹하여 답변 정확도를 높이고 계산을 줄일 수 있는가?
- RQ3Stage-2 재랭킹에 중간 인코더 표현을 사용하는 것이 비용을 낮추면서 QA 성능을 유지하는가?
- RQ4KG-FiD가 FiD와 비교할 때 Passage 수, 인코더 층 수, 전체 효율성 사이의 트레이드오프는 무엇인가?
주요 결과
- KG-FiD는 Natural Questions와 TriviaQA에서 FiD와 동등하거나 더 나은 Exact Match 점수를 달성합니다.
- KG 기반의 2단계 재랭킹은 대형 모델 설정에서 FiD의 약 38-40% 수준으로 계산 비용을 줄이면서 성능을 유지하거나 향상시킵니다.
- Stage-1 재랭킹은 DPR 임베딩을 초기 노드 특징으로 사용할 때 골 패시지 리콜을 향상시킵니다.
- Stage-2 재랭킹은 독해기-유래 임베딩을 사용하여 추가 이점을 제공합니다. 이를 결합하면 최첨단 또는 경쟁력 있는 결과를 얻습니다.
- L1(Stage-2에서 사용되는 중간 층) 및 N1/N2(Reader의 Passage 수) 설정을 통해 효율성 이점을 조정할 수 있어 정확도와 속도 간의 우호적인 트레이드오프가 가능합니다.
- 아블레이션 연구에서 Stage-1과 Stage-2 재랭킹 모두 성능 향상에 기여하는 것으로 나타났습니다.
이 논문 읽기
누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.
누빈트에서 이 논문 읽기이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.