GNAT: A General Narrative Alignment Tool

Tanzir Pial, Steven Skiena


Abstract
Algorithmic sequence alignment identifies similar segments shared between pairs of documents, and is fundamental to many NLP tasks. But it is difficult to recognize similarities between distant versions of narratives such as translations and retellings, particularly for summaries and abridgements which are much shorter than the original novels. We develop a general approach to narrative alignment coupling the Smith-Waterman algorithm from bioinformatics with modern text similarity metrics. We show that the background of alignment scores fits a Gumbel distribution, enabling us to define rigorous p-values on the significance of any alignment. We apply and evaluate our general narrative alignment tool (GNAT) on four distinct problem domains differing greatly in both the relative and absolute length of documents, namely summary-to-book alignment, translated book alignment, short story alignment, and plagiarism detection—demonstrating the power and performance of our methods.
Anthology ID:
2023.emnlp-main.904
Volume:
Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing
Month:
December
Year:
2023
Address:
Singapore
Editors:
Houda Bouamor, Juan Pino, Kalika Bali
Venue:
EMNLP
SIG:
Publisher:
Association for Computational Linguistics
Note:
Pages:
14636–14652
Language:
URL:
https://aclanthology.org/2023.emnlp-main.904
DOI:
10.18653/v1/2023.emnlp-main.904
Bibkey:
Cite (ACL):
Tanzir Pial and Steven Skiena. 2023. GNAT: A General Narrative Alignment Tool. In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, pages 14636–14652, Singapore. Association for Computational Linguistics.
Cite (Informal):
GNAT: A General Narrative Alignment Tool (Pial & Skiena, EMNLP 2023)
Copy Citation:
PDF:
https://aclanthology.org/2023.emnlp-main.904.pdf
Video:
 https://aclanthology.org/2023.emnlp-main.904.mp4