Contradiction extraction from textual data has important applications in fake news detection, rumor identification in social media, and verification of factual claims in scientific texts.
Although contradiction detection between two sentences has been studied as a subfield of Natural Language Inference (NLI), and various models have been developed, applying these models to extract contradictory sentence pairs from large text corpora remains unexplored.
In this paper, we propose CETaD, a method which first trains a siamese network on NLI datasets. Secondly, the trained Siamese network is used to embed the sentences of the target corpus. Finally, by selecting a set of representative points in the embedding space and comparing sentence embeddings with these representative points, contradictory sentence pairs are efficiently extracted.
Numerical results show that the pairs retrieved by CETaD are contradictory with a probability of over 85%. Furthermore, a more rigorous evaluation of CETaD was conducted by constructing a dedicated corpus using fact-checking datasets. To assess its performance in real-world applications, CETaD was applied to abstracts of medical research papers from PubMed. In addition to extracting contradictory sentence pairs in this domain, the retrieved sentences were further evaluated using a large language model.