A search can find passages about data sharing while missing the evidence needed for a required clause. CA-RAG, a new preprint, asks whether a document’s requirements should shape retrieval before drafting begins.

The method adds section requirements and relationships between policy concepts to each search query. A section about third-party transfers can therefore request evidence for related obligations as well as passages matching its title. The model then drafts each section from that evidence.

Researchers tested data-sharing agreement generation across education, healthcare and finance using three open-weight models. In a separate retrieval-only test with manually judged pooled passages, precision at six retrieved passages rose from 52.68% to 56.92%. That measures relevance within the study’s evaluation, not whether the resulting agreement is complete or legally sufficient.

The detailed results show why that distinction matters. Finance retrieved less direct evidence for mandatory clauses under CA-RAG despite improved conventional retrieval metrics. Supplying requirements only at generation time also achieved higher clause coverage than CA-RAG. Their aggregate reliability difference was not statistically significant.

The evaluation partly uses model auditors and constructed scores. Its structured concepts and relationships can themselves omit or misstate an obligation. Those limits leave the approach as evidence about a drafting pipeline, with expert review still needed for an actual agreement.

For a document-assistant trial, make a small table with one row per required clause. Beside each row, retain the supporting passage, its version and the generated wording. Inspect the retrieved set before evaluating the prose. An empty evidence cell should stay visible to the reviewer even when the draft sounds complete.

Compare a simple requirements prompt with retrieval conditioned on the same requirements, keeping the passage budget fixed. This shows whether extra machinery finds needed evidence or merely changes the wording. The person approving the document needs a supported clause, and a reassuring relevance score cannot supply the missing source.