TRANSMISSION // 2611.33497v1

Can Better Retrieval Help AI Draft Complete Agreements?

Source published

CA-RAG adds document structure and policy relationships to retrieval queries. Tests on data-sharing agreements found stronger evidence retrieval than standard RAG, but downstream gains varied by domain and model.

AI-generated conceptual illustration for Can Better Retrieval Help AI Draft Complete Agreements?
AI-generated conceptual illustration; not documentary evidence.

A passage can be relevant to a question yet miss a required obligation. This preprint tests whether guiding an AI’s search with document structure and policy relationships can help it find evidence for complete, compliance-sensitive drafts.

The problem: relevant is not always sufficient

Retrieval-augmented generation, or RAG, gives a language model passages from an external collection before it writes an answer. A common way to choose those passages is to rank them by how closely their meaning matches the query. That can work well for straightforward questions, but a long document may also need to satisfy a checklist of required sections and clauses. A passage about data sharing, for example, may be relevant to an agreement without addressing every obligation needed for a particular section.

The authors of Constraint-Aligned RAG (CA-RAG) ask whether retrieval can be guided by those structural obligations—not just by the subject of the prompt. Their approach targets cases where semantically relevant search results may not provide enough evidence to support required content in a generated document.

The framework adds two kinds of information to a section-specific retrieval query. An ontology describes the document’s structure, such as section types, required fields and dependencies between attributes. A policy-grounded knowledge graph represents relationships among clauses, entities and policy conditions, using links such as “requires,” “permits” and “prohibits.”

For each section, CA-RAG matches its heading to relevant ontology concepts and retrieves related policy-graph information. It adds those constraints to the original query, then uses a dense retriever to select evidence. The language model generates sections using the scenario, retrieved passages and associated constraints. This is a way of conditioning retrieval, not a replacement retrieval architecture.

The researchers tested the approach on data-sharing agreement synthesis in healthcare, education and finance. They compared it with standard RAG and other variants using three open-weight language models. They also evaluated retrieval separately from generation: people judged passages returned by the methods, allowing the team to measure whether CA-RAG changed the evidence selected before a model wrote anything.

Better retrieval, uneven results downstream

In the retrieval-only test, CA-RAG scored higher than standard RAG on precision, pooled recall and F1 at each of the three reported retrieval depths. At a depth of six passages, precision rose from 0.5268 to 0.5692, pooled recall from 0.5402 to 0.5950, and F1 from 0.5389 to 0.5672. These figures describe the study’s judged candidate pool: pooled recall is calculated against relevant passages found in that pool, not every relevant passage in the full corpus.

The evidence picture differed across domains. The paper reports improvements in clause-evidence coverage and fewer retrieval omissions in healthcare, particularly at larger retrieval budgets, and high coverage in education under both methods. Finance remained difficult: CA-RAG’s coverage of ontology and knowledge-graph constraints was comparable to standard RAG, but it retrieved less direct evidence for mandatory clauses. The authors emphasize that matching structural constraints does not guarantee that every required clause will have supporting evidence in the retrieved passages.

Generation results were also mixed rather than universal. CA-RAG had the highest mean reliability in six of nine model–domain configurations, while other methods led in the remaining cases. In a comparison with constraints supplied only at generation time, that generation-only approach had higher clause coverage (78.7% versus 77.8%). CA-RAG, however, scored higher on the paper’s overall compliance and reliability measures. The reported bootstrap comparison found no statistically significant reliability difference between those two variants; the authors argue that retrieval-stage conditioning can still help with evidence availability and omission robustness.

What the results do—and do not—show

The clearest result is about retrieval: adding structural and policy cues changed which passages were selected and improved several retrieval metrics in this evaluation. The downstream findings suggest that better-aligned evidence can help, but the effect depends on the domain and language model. More retrieved passages alone did not guarantee better performance, and CA-RAG did not eliminate omissions.

There are important limits. The evaluation focused on data-sharing agreements in three domains and used three open-weight model families. Some compliance judgments relied on automated auditing, including an LLM-based clause auditor; the authors report that it agreed closely with manual assessments, but automated review can still miss legal or domain-specific nuance. The method also depends on the quality of its ontology and policy graph: missing or mistaken relationships can steer retrieval in the wrong direction. It adds query-construction overhead, and scaling to larger collections or real-time use needs further study.

This is an arXiv preprint, not evidence of independent peer review. Its results should be read as a test in a specific experimental setting, not proof that the system can produce legally sufficient agreements. The authors describe such tools as aids for drafting, not substitutes for expert review.

Reviewed cross-references

These connections were reviewed by a model, not independently fact-checked by a human. Similarity does not imply agreement; consult the original papers and the evidence below.

  • TUSI-Bench tests retrieval for Persian legal AI

    Supporting evidence: Both papers report retrieval improvements from adding structural information: CA-RAG reports higher Precision@6, pooled Recall@6, and F1@6 than standard RAG, while TUSI reports up to an 8-percentage-point Recall@5 improvement for graph-based legal retrieval. These results support only the bounded claim that structural signals improved retrieval in these evaluated settings; they do not establish generalization across domains or methods. TUSI is identified as submitted to Elsevier, and these reported findings are not evidence of consensus.

    Model review: · openai-codex/gpt-6-luna

    Evidence and provenance

    Selected excerpts, not complete papers. PDF extraction can omit figures or damage equations, tables and reading order; sources may be preprints.

    • 2611.33497v1 — Original paper

      Excerpt reference: static/papers/2611.33497v1.md:13-80
      Basis: Paper text
      Source SHA-256: b68e144efcb6fcec0e5505b756dc6c8d9276bc65dbd0e1011145e7904e468522

    • 2611.21823v2 — Original paper

      Excerpt reference: static/papers/2611.21823v2.md:192-241
      Basis: Paper text
      Source SHA-256: 403cd5c940e161e54e3e6c99ce94fdc19d11648bcc9da31a717ce4f4e894ad7d

  • SpectRAG Connects the Dots Before an AI Writes an Answer

    Supporting evidence: Both papers report retrieval benefits from incorporating structure beyond semantic matching: CA-RAG reports improved retrieval metrics over standard RAG, and SpectRAG’s conclusion reports its highest overall recall on MultiHopRAG. This is compatible evidence for improved evidence recovery in the tested settings, not a controlled comparison between methods. SpectRAG also notes that retrieval gains may not yield proportional answer gains. Both are preprints, so these are reported results rather than established consensus.

    Model review: · openai-codex/gpt-6-luna

    Evidence and provenance

    Selected excerpts, not complete papers. PDF extraction can omit figures or damage equations, tables and reading order; sources may be preprints.

    • 2611.33497v1 — Original paper

      Excerpt reference: static/papers/2611.33497v1.md:13-80
      Basis: Paper text
      Source SHA-256: b68e144efcb6fcec0e5505b756dc6c8d9276bc65dbd0e1011145e7904e468522

    • 2610.36991v4 — Original paper

      Excerpt reference: static/papers/2610.36991v4.md:2134-2186
      Basis: Paper text
      Source SHA-256: 79d586e1163a53513533df0eef3cd78344b9fd547c45b143bfce7efdba23c68a

    • 2610.36991v4 — Original paper

      Excerpt reference: static/papers/2610.36991v4.md:2061-2133
      Basis: Paper text
      Source SHA-256: 79d586e1163a53513533df0eef3cd78344b9fd547c45b143bfce7efdba23c68a

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