paper-with-me

Papers

ContraDoc: Understanding Self-Contradictions in Documents with Large Language Models

2023-11-15 · Jierui Li, Vipul Raheja, Dhruv Kumar

In recent times, large language models (LLMs) have shown impressive performance on various document-level tasks such as document classification, summarization, and question-answering. However, research on understanding their capabilities on the task of self-contradictions in long documents has been very limited. In this work, we introduce ContraDoc, the first human-annotated dataset to study self-contradictions in long documents across multiple domains, varying document lengths, self-contradictions types, and scope. We then analyze the current capabilities of four state-of-the-art open-source and commercially available LLMs: GPT3.5, GPT4, PaLM2, and LLaMAv2 on this dataset. While GPT4 performs the best and can outperform humans on this task, we find that it is still unreliable and struggles with self-contradictions that require more nuance and context. We release the dataset and all the code associated with the experiments (https://github.com/ddhruvkr/CONTRADOC).

📄 PDF Abstract BibTeX arXiv:2311.09182

Code (1)

ddhruvkr/contradoc 공식 구현 pytorch

Tasks

Document ClassificationQuestion Answering

Similar Papers 제목 키워드 기반

LegalWiz: A Multi-Agent Generation Framework for Contradiction Detection in Legal Documents

2025-10-03 · Ananya Mantravadi, Shivali Dalmia, Olga Pospelova, Abhishek Mukherji 외 arxiv

Retrieval-Augmented Generation (RAG) integrates large language models (LLMs) with external sources, but unresolved contradictions in retrieved evidence often lead to hallucinations and legally unsound outputs. Benchmarks…

ContraSolver: Self-Alignment of Language Models by Resolving Internal Preference Contradictions

2024-06-13 · Xu Zhang, Xunjian Yin, Xiaojun Wan

While substantial advancements have been made in developing large language models (LLMs), achieving control over their behavior can be difficult. Direct preference optimization (DPO) assumes the existence of a latent rew…

NLP-based Regulatory Compliance -- Using GPT 4.0 to Decode Regulatory Documents

2024-12-29 · Bimal Kumar, Dmitri Roussinov

Large Language Models (LLMs) such as GPT-4.0 have shown significant promise in addressing the semantic complexities of regulatory documents, particularly in detecting inconsistencies and contradictions. This study evalua…

Self-contradictory Hallucinations of Large Language Models: Evaluation, Detection and Mitigation

2023-05-25 · Niels Mündler, Jingxuan He, Slobodan Jenko, Martin Vechev

Large language models (large LMs) are susceptible to producing text that contains hallucinated content. An important instance of this problem is self-contradiction, where the LM generates two contradictory sentences with…

Hallucination Pair-wise Detection (1-ref)InformativenessQuestion AnsweringText Generation

Deductive Closure Training of Language Models for Coherence, Accuracy, and Updatability

2024-01-16 · Afra Feyza Akyürek, Ekin Akyürek, Leshem Choshen, Derry Wijaya 외

While language models (LMs) can sometimes generate factually correct text and estimate truth values of individual claims, these generally do not reflect a globally coherent, manipulable model of the world. As a consequen…

Fact VerificationText Generation