시퀀스 추론을 위한 그래프 시퀀스 네트워크
Graph Sequential Network for Reasoning over Sequences
Graph Sequential Network for Reasoning over Sequences
@misc{tu2020graph,
title = {Graph Sequential Network for Reasoning over Sequences},
author = {Ming Tu and Jing Huang and Xiaodong He and Bowen Zhou},
year = {2020},
eprint = {2004.02001},
archivePrefix = {arXiv},
primaryClass = {cs.CL},
url = {https://arxiv.org/abs/2004.02001}
}
Tu, M., Huang, J., He, X., & Zhou, B. (2020). Graph Sequential Network for Reasoning over Sequences [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2004.02001
TU M, HUANG J, HE X, et al. Graph Sequential Network for Reasoning over Sequences[EB/OL]. (2020-04-04)[2026-11-29]. https://arxiv.org/abs/2004.02001.
초록
최근 그래프 신경망 (GNN) 은 추론이 필요한 다양한 자연어 처리 작업, 예를 들어 다단계 기계적 읽기 이해 (multi-hop machine reading comprehension) 에 성공적으로 적용되어 왔다. 본 논문에서는 시퀀스로부터 구축된 그래프, 즉 시퀀스 데이터를 노드로 갖는 그래프 위에서 추론이 필요한 새로운 사례를 고려한다. 기존 GNN 모델은 먼저 노드 시퀀스를 고정 차원 벡터로 요약한 후 이러한 벡터에 GNN 을 적용함으로써 이 목표를 달성한다. 초기 요약 과정에서 발생하는 정보 손실을 피하고 GNN 출력에 대한 시퀀스 라벨링 작업을 가능하게 하기 위해, 노드와 각 이웃 간의 공동 주의 (co-attention) 를 기반으로 한 새로운 메시지 전달 알고리즘을 특징으로 하는 새로운 유형의 GNN 인 그래프 시퀀스 네트워크 (Graph Sequential Network, GSN) 를 제안한다. 제안된 GSN 은 HotpotQA 의 해석 가능한 다단계 읽기 이해와 FEVER 의 그래프 기반 사실 검증이라는 두 가지 NLP 작업에서 검증되었다. 두 작업 모두 여러 문서나 문장 위에서 추론을 요구한다. 실험 결과는 제안된 GSN 이 표준 GNN 기반 방법보다 더 나은 성능을 달성함을 보여준다.
Recently Graph Neural Network (GNN) has been applied successfully to various NLP tasks that require reasoning, such as multi-hop machine reading comprehension. In this paper, we consider a novel case where reasoning is needed over graphs built from sequences, i.e. graph nodes with sequence data. Existing GNN models fulfill this goal by first summarizing the node sequences into fixed-dimensional vectors, then applying GNN on these vectors. To avoid information loss inherent in the early summarization and make sequential labeling tasks on GNN output feasible, we propose a new type of GNN called Graph Sequential Network (GSN), which features a new message passing algorithm based on co-attention between a node and each of its neighbors. We validate the proposed GSN on two NLP tasks: interpretable multi-hop reading comprehension on HotpotQA and graph based fact verification on FEVER. Both tasks require reasoning over multiple documents or sentences. Our experimental results show that the proposed GSN attains better performance than the standard GNN based methods.