AI-Based Cross-Document Legal Conflict Detection and Evidence-Based Reasoning
Large language models can read long legal case files quickly, but they also produce confident statements that are not in the documents, which makes them risky in law. We present LexConflict, a system that detects contradictions across the documents of one case (for example an FIR, witness statements and a medical report) and reports a contradiction only when (i) a deterministic quote gate finds every quotation verbatim in the source and (ii) a blind verifier, preferably of another model family, agrees without seeing the first model's reasoning. Three tool-using agents assist the human reviewer but cannot change a finding. A data policy keeps confidential files on a local model, and a fallback chain with circuit breakers keeps the system running on free AI tiers. On five synthetic clause pairs, gpt-oss-120b, Gemini 2.5 Flash and Qwen 2.5 3B each returned 5/5 valid answers, 4/5 correct labels and 5/5 verbatim quotes. In end-to-end runs the cloud models found the planted conflicts in a synthetic theft case, while a CPU-only 3B model missed them; in every run the checks blocked unverifiable output instead of showing it. The results suggest that verifiability by construction is achievable, and that model capacity, not the pipeline, limits recall on local hardware.
Authors
- Somnath Ghorai
- PALAK NIRMALKAR
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-30
- DOI
- https://doi.org/10.5281/zenodo.24673799
- Primary Topic
- Artificial Intelligence in Law
- Type
- article
- Field-Weighted Citation Impact
- 0.00