CLASH: Detecting Contradictions in Multi-Document Policy Corpora with a Two-Stage LLM framework
Abdullah As SamiYoujian TangTrung LamJohn Licato
Nov 2026
Artificial IntelligenceNatural Language Processing
Abstract
Different individuals revise multiple organizational documents at different times. As a result, rules that apply to the same employee may contradict each other, and these conflicts often go unnoticed until someone follows one rule while violating another. Manual review is not scalable. A corpus of 1,700 clauses yields over 1.5 million possible pairs. We present CLASH, a framework based on large language models (LLM) that operates in two stages. First, it retrieves potentially conflicting clause pairs using context-enriched embeddings and contradiction-aware reranking, and then verifies each remaining pair within its source document. On two multi-document policy corpora and a contract corpus, CLASH achieves F1 scores between .840 and .921, while natural language inference (NLI) and whole-document prompting reach at most .340 in matched comparisons. The gain comes from giving the model document context at both stages. When applied unchanged to public corpora, the framework identified five actual contradictions, three in a university's regulations and two in a federal agency's personnel policies. We manually verified each against the source documents.
It is found that Llama 3 delivers comparable quality to leading language models such as GPT-4 on a plethora of tasks, and performs competitively with the state-of-the-art on image, video, and speech recognition tasks.
This paper investigates developing real-world perception for active agents, proposes Gibson Environment for this purpose, and showcases a set of perceptual tasks learned therein.
F. Xia, Amir Zamir, Zhi-Yang He et al.· 2018 IEEE/CVF Conference on...· 1,069 citations· ⚡112
This publication proposes a definition and a classification of agile software development approaches and analyses ten software development methods that can be characterized as being "agile" against the defined criterion.
P. Abrahamsson, O. Salo, Jussi Ronkainen et al.· arXiv.org· 727 citations· ⚡54
Consequences of happiness and unhappiness that are beneficial and detrimental for developers' mental well-being, the software development process, and the produced artifacts are found.
D. Graziotin, Fabian Fagerholm, Xiaofeng Wang et al.· Journal of Systems and Softw...· 236 citations· ⚡13
The Mobile-D approach is briefly outlined here and the experiences gained from four case studies are discussed, which helped develop an agile development approach for mobile application development.
P. Abrahamsson, Antti Hanhineva, H. Hulkko et al.· Conference on Object-Oriente...· 225 citations· ⚡18
The widespread adoption of long-horizon agents has made model workloads increasingly input-heavy. Although prior work has substantially reduced the cost of long-context computation, prefill remains computationally expensive, and large KV caches continue to strain HBM and SSD capacity and data-transfer bandwidth. Togeth...