TRANSMISSION // 2611.36774v1

How CLASH searches policy documents for hidden contradictions

Source published

A two-stage language-model system screens policy clauses for conflicts, then checks likely matches against their surrounding document context.

AI-generated conceptual illustration for How CLASH searches policy documents for hidden contradictions
AI-generated conceptual illustration; not documentary evidence.

Organizational rules can conflict even when each document reads clearly on its own. CLASH is designed to find such clashes across large collections, while limiting the number of clause pairs people need to review.

Organizations often update policies in separate documents, at different times and by different authors. A newer rule may not match an older one. The result can be two instructions that apply to the same person but cannot both be followed—for example, conflicting deadlines or different offices named as the final decision-maker. Finding these clashes by hand becomes difficult as a document collection grows: 1,700 clauses alone create more than 1.5 million possible pairs.

A paper by Abdullah As Sami and colleagues introduces CLASH, a two-stage system for searching those collections. Its central idea is to separate finding possible conflicts from deciding whether they are real. This matters because a clause may be hard to interpret in isolation: nearby text can define who the rule applies to or state an exception.

From a large search to a closer check

First, CLASH breaks policy documents into clauses and adds a short, model-generated description of each clause’s role and scope. The description draws on the document summary, the clause itself and two neighboring clauses on each side. The system embeds these enriched clauses so it can retrieve passages with related meanings, even if they use different wording.

It then reranks candidate matches using a generated hypothetical contradiction. In plain terms, the model asks what an opposing rule might look like, and uses that wording as an additional search signal. A language model screens the resulting pairs permissively, retaining plausible conflicts for the next stage rather than trying to make the final decision immediately.

In Stage 2, a verifier examines each candidate alongside five clauses before and after it in its original document. That context can reveal, for instance, that two seemingly competing rules apply to different employee groups—or that one rule is qualified by an exception nearby. The researchers also tested alternatives, including verification without surrounding context, natural-language-inference models and whole-document prompts.

What the tests found

The evaluation used two human-resources policy collections, one from a local government entity and one from the University of South Florida, plus a sample of non-disclosure agreements from ContractNLI. The policy benchmarks included contradictions inserted by the researchers into real documents; the contract benchmark used existing annotations. A separate case study applied CLASH to public university regulations and federal civilian personnel policies.

Across the three benchmark corpora, the paper reports F1 scores—one measure combining precision and recall—between 0.840 and 0.921 for CLASH’s best context-aware results. In matched comparisons, the tested natural-language-inference baselines scored no higher than 0.611 on the policy corpora and 0.335 on the contract corpus. Whole-document prompting also produced many false alarms in the self-contradiction comparison. These results concern the particular datasets, models and comparison setups in the paper; they do not establish that CLASH will outperform every alternative on other policy collections.

Context helped in both stages. In the university policy corpus, enriching clauses raised retrieval recall at 20 results from 74% to 98% compared with filtered raw clauses. Recall measures how many known conflicts the search retrieves; it does not say how many retrieved candidates are genuine. Indeed, the first-stage screen deliberately favored recall and generated many false positives. Adding surrounding clauses during verification reduced false positives, though it also cost some recall in the tested policy benchmarks.

The researchers also tested tool-using and multi-step verification designs. None outperformed the single-pass verifier with document context in their reported comparisons. Type-specific prompt instructions helped some smaller open-weight models, but did not consistently improve the stronger models tested.

In the public-document case study, the team reported five previously unlisted contradictions: three in university regulations and two in federal personnel policies. Researchers manually checked the shortlisted cases against the source documents. This is a useful demonstration, not an estimate of how often real organizations’ policies contain contradictions or proof that the system finds every one.

Limits and what remains uncertain

The benchmark ground truth has an important limitation: the government and university policy contradictions were constructed by inserting conflicting clauses into real documents. Real-world conflicts can differ from these examples, even though the separate case study offers evidence that CLASH can surface actual ones. The study also uses English-language corpora, and any conflict missed during retrieval cannot be recovered by the verification stage. Errors in extracting or segmenting clauses can affect both stages.

CLASH is therefore best understood as a way to narrow a large search and help direct human review, not as an automatic authority on policy meaning or legal compliance. The source is an arXiv preprint, so its findings should be treated as preliminary; the evidence provided here does not establish peer review or independent replication.

Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.