Multilevel Text Alignment with Cross-Document Attention

Xuhui Zhou, Nikolaos Pappas, Noah A. Smith
10/3/2020
cs.CL

Official code: XuhuiZhou/CDA (14 stars, Python, last commit 2021-05-18).

Abstract

Text alignment finds application in tasks such as citation recommendation and plagiarism detection. Existing alignment methods operate at a single, predefined level and cannot learn to align texts at, for example, sentence and document levels.

Show full abstract

We propose a new learning approach that equips previously established hierarchical attention encoders for representing documents with a cross-document attention component, enabling structural comparisons across different levels (document-to-document and sentence-to-document). Our component is weakly supervised from document pairs and can align at multiple levels. Our evaluation on predicting document-to-document relationships and sentence-to-document relationships on the tasks of citation recommendation and plagiarism detection shows that our approach outperforms previously established hierarchical, attention encoders based on recurrent and transformer contextualization that are unaware of structural correspondence between documents.

View on arXivView PDF

Code Implementations(1)

XuhuiZhou/CDAOfficial100%

code for our EMNLP2020 paper: Multilevel Text Alignment with Cross-Document Attention by Xuhui Zhou, Nikolaos Pappas, and Noah A. Smith

147Python, ShellJul 2, 20205 years ago
emnlp2020nlp-machine-learning

Similar Papers

Cite this paper

@article{zhou2020multilevel,
  title  = {Multilevel Text Alignment with Cross-Document Attention},
  author = {Xuhui Zhou and Nikolaos Pappas and Noah A. Smith},
  year   = {2020},
  eprint = {2010.01263},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2010.01263}
}

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/2010.01263.svg)](https://codeofpaper.com/paper/2010.01263)

Discussion