R$^2$F: A General Retrieval, Reading and Fusion Framework for Document-level Natural Language Inference

Hao Wang, Yixin Cao, Yangguang Li, Zhen Huang, Kun Wang +1 more
10/22/2022
cs.CL

Official code: phoenixsecularbird/R2F (4 stars, Python, last commit 2022-10-18).

Abstract

Document-level natural language inference (DOCNLI) is a new challenging task in natural language processing, aiming at judging the entailment relationship between a pair of hypothesis and premise documents. Current datasets and baselines largely follow sentence-level settings, but fail to address the issues raised by longer documents.

Show full abstract

In this paper, we establish a general solution, named Retrieval, Reading and Fusion (R2F) framework, and a new setting, by analyzing the main challenges of DOCNLI: interpretability, long-range dependency, and cross-sentence inference. The basic idea of the framework is to simplify document-level task into a set of sentence-level tasks, and improve both performance and interpretability with the power of evidence. For each hypothesis sentence, the framework retrieves evidence sentences from the premise, and reads to estimate its credibility. Then the sentence-level results are fused to judge the relationship between the documents. For the setting, we contribute complementary evidence and entailment label annotation on hypothesis sentences, for interpretability study. Our experimental results show that R2F framework can obtain state-of-the-art performance and is robust for diverse evidence retrieval methods. Moreover, it can give more interpretable prediction results. Our model and code are released at https://github.com/phoenixsecularbird/R2F.

View on arXivView PDF

Code Implementations(1)

40PythonOct 8, 20224 years ago

Similar Papers

Cite this paper

@article{wang2022rf,
  title  = {R$^2$F: A General Retrieval, Reading and Fusion Framework for Document-level Natural Language Inference},
  author = {Hao Wang and Yixin Cao and Yangguang Li and Zhen Huang and Kun Wang and Jing Shao},
  year   = {2022},
  eprint = {2210.12328},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.12328}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2210.12328.svg)](https://codeofpaper.com/paper/2210.12328)

Discussion