Explainable Semantic Text Relations: A Question-Answering Framework for Comparing Document Content
Open Access
- 8 December 2025
- journal article
- research article
- Published by MDPI AG in Information
- Vol. 16 (12) , 1090
Abstract
Understanding semantic relations between two texts is crucial for many information and document management tasks, in which one must determine whether the content fully overlaps, is completely superseded by another document, or overlaps only partially, with unique information in each. Beyond establishing this relation, it is equally important to provide explainable outputs that specify which pieces of information are present, missing, or newly added between the text pair. In this study, we formally define semantic relations between two texts through the set-theoretic relation between their respective Answerable Question Sets (AQS), the sets of questions each text can answer. Under this formulation, Semantic Text Relation (STR), such as equivalence, inclusion, and mutual overlap, becomes a well-defined set relation between the corresponding texts’ AQSs. The set differences between the AQSs also serve as an explanation or diagnostic tool for identifying how the information in the texts diverges. Using this definition, we construct a synthetic benchmark that captures fine-grained informational relations through controlled paraphrasing and deliberate information removal supported by AQS manipulations. We then use this dataset to evaluate several discriminative and generative models for classifying text pairs into STR categories, assessing how well different model architectures capture semantic relations beyond surface-level similarity. We publicly release both the dataset and the data generation code to support further research.Keywords
All Related Versions
This publication has 52 references indexed in Scilit:
- Generative AI-Based Platform for Deliberate Teaching Practice: A Review and a Suggested FrameworkEducation Sciences, 2025
- Generate, Annotate, and Learn: NLP with Synthetic TextTransactions of the Association for Computational Linguistics, 2022
- TyDi QA: A Benchmark for Information-Seeking Question Answering in Typologically Diverse LanguagesTransactions of the Association for Computational Linguistics, 2020
- Natural Questions: A Benchmark for Question Answering ResearchTransactions of the Association for Computational Linguistics, 2019
- EDA: Easy Data Augmentation Techniques for Boosting Performance on Text Classification TasksarXiv, 2019
- Annotation Artifacts in Natural Language Inference DataarXiv, 2018
- A Compare-Aggregate Model for Matching Text SequencesarXiv, 2016
- A Decomposable Attention Model for Natural Language InferencearXiv, 2016
- A large annotated corpus for learning natural language inferencearXiv, 2015
- Development and application of a metric on semantic netsIEEE Transactions on Systems, Man, and Cybernetics, 1989