ACL 2025finding0 citations

Benchmarking Query-Conditioned Natural Language Inference

Marc E. Canby, Xinchi Chen, Xing Niu, Jifan Chen, Bonan Min, Sergul Aydore, Vittorio Castelli

Abstract

The growing excitement around the ability of large language models (LLMs) to tackle various tasks has been tempered by their propensity for generating unsubstantiated information (hallucination) and by their inability to effectively handle inconsistent inputs. To detect such issues, we propose the novel task of Query-Conditioned Natural Language Inference (QC-NLI), where the goal is to determine the semantic relationship (e.g. entailment or not entailment) between two documents conditioned on a query; we demonstrate that many common tasks regarding inconsistency detection can be formulated as QC-NLI problems. We focus on three applications in particular: fact verification, intrinsic hallucination detection, and document inconsistency detection. We convert existing datasets for these tasks into the QC-NLI format, and manual annotation confirms their high quality. Finally, we employ zero- and few-shot prompting methods to solve the QC-NLI prediction problem for each task, showing the critical importance of conditioning on the query.

BibTeX
@inproceedings{canby-etal-2025-benchmarking,
    title = "Benchmarking Query-Conditioned Natural Language Inference",
    author = "Canby, Marc E.  and
      Chen, Xinchi  and
      Niu, Xing  and
      Chen, Jifan  and
      Min, Bonan  and
      Aydore, Sergul  and
      Castelli, Vittorio",
    editor = "Che, Wanxiang  and
      Nabende, Joyce  and
      Shutova, Ekaterina  and
      Pilehvar, Mohammad Taher",
    booktitle = "Findings of the Association for Computational Linguistics: ACL 2025",
    month = jul,
    year = "2025",
    address = "Vienna, Austria",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2025.findings-acl.765/",
    doi = "10.18653/v1/2025.findings-acl.765",
    pages = "14808--14835",
    ISBN = "979-8-89176-256-5"
}
Benchmarking Query-Conditioned Natural Language Inference · ACL 2025