Contract Extraction Needs a Dependency Map
Design contract review around definitions, exceptions, and cross-references so extracted obligations remain traceable and reviewers can find consequential gaps.
The extracted passage looks complete: the supplier must provide a report within ten business days. Three pages earlier, a definition changes which calendar applies. A schedule limits the obligation to one service tier. A later amendment changes the reporting trigger. A system that extracts only the passage can produce a perfectly accurate quotation and an operationally wrong summary.
For small and midsized firms evaluating AI-assisted contract review, the central engineering question is whether the system preserves dependencies. Clause recognition alone measures a convenient intermediate task. Reviewers need an account of how the document's parts combine, with enough source context to verify the result. The design below concerns document processing and review workflow; it does not prescribe contractual positions or interpret any jurisdiction's law.
Treat an obligation as a structured hypothesis
An obligation record should contain an actor, required action, object, trigger, timing, conditions, exceptions, and source location. Each field needs its own evidence reference. If the timing is inferred from a definition elsewhere, its reference should point there rather than pretending the main clause contains everything.
Keep missing fields visible. An empty trigger should mean unresolved or unstated, not “immediate.” A missing actor should not silently become whichever party appears most often in nearby text. These defaults can turn incomplete extraction into confident misinformation while leaving the quoted passage technically correct.
Store the original text and a normalized representation together. The normalized record enables comparison and sorting; the original wording lets the reviewer inspect nuance. A paraphrase should never replace the source anchor. If the source document changes, the system must know whether the anchor still resolves to the same passage.
Definitions are executable dependencies in the review model
Defined terms often behave like variables whose meaning is supplied elsewhere. Resolve exact defined terms first, preserving capitalization and scope. A schedule may define a term locally that resembles a document-wide term. Flattening both into one dictionary can change the apparent obligation without changing any passage.
Represent a definition reference as an edge from the obligation to the definition. If one definition refers to another, follow that edge as well, with a depth limit and cycle detection. A circular reference should appear as a review issue, not cause the system to invent a terminating meaning.
The graph is an index for human review, not an automated interpretation engine. It can show that an obligation depends on a definition, a schedule, and an amendment. A qualified reviewer still decides how those materials interact. That distinction is particularly useful when wording is ambiguous or documents are incomplete.
Figure 1 — A reviewable extraction carries references beyond its main passage. Illustrative model — not measured data; edges identify dependencies for review, not an interpretation of their effect.
Document boundaries matter as much as clause boundaries
A reviewer may receive a main agreement, two schedules, and an amendment in separate files. Before extraction, establish a document manifest with file identifiers, version labels, page counts, and relationships asserted by the documents. Do not assume the newest filename is the controlling version.
Detect references to missing attachments and report them explicitly. “See Schedule C” is evidence of a dependency, not evidence of Schedule C's contents. If the attachment is absent, the summary should identify the unresolved dependency and avoid completing it from a familiar form or a prior matter.
Page numbering also needs care. A PDF's twelfth physical page might display page nine, while a schedule restarts numbering at one. Preserve both physical location and printed label, plus a passage fingerprint. The reviewer should be able to reach the source even when pagination changes during conversion.
Evaluate omissions with a designed test set
An extraction benchmark built only from simple standalone clauses will overstate readiness. Include examples with nested exceptions, local definitions, repeated party names, table-based obligations, cross-document references, and deliberately missing schedules. Maintain a separate answer key prepared by reviewers who can explain each dependency.
Score fields independently. A system can identify ninety-five of one hundred actors while finding only sixty of one hundred exceptions. Averaging those results into a single accuracy percentage hides the weakness most likely to distort a summary. Report exact source anchoring separately from semantic field completeness.
In a hypothetical benchmark, suppose there are forty simple obligations, thirty with definitions, twenty with exceptions, and ten spanning amendments. The system extracts complete records for thirty-eight, twenty-four, twelve, and four respectively. Its overall completeness is seventy-eight percent, but the ten amendment examples reveal a forty-percent result where the document structure is hardest.
Figure 2 — Aggregate completeness conceals a weak amendment workflow. Worked example from a hypothetical one-hundred-obligation benchmark; no product performance is claimed. Illustrative model — not measured data.
Count false additions as well as omissions. A system that attaches an unrelated exception may look impressively comprehensive while misleading the reviewer. Precision in dependency selection matters alongside recall. Keep difficult examples in the evaluation set after improvements rather than replacing them with easier documents.
Inspect transcription before reviewing meaning
Include a document-quality panel before showing substantive results. Scanned pages can lose negation, merge table columns, or separate a footnote from the passage it qualifies. A source anchor pointing to a corrupted text layer is not sufficient verification. Let the reviewer open the page image beside the extracted text and flag uncertain transcription.
Record whether a dependency came from native text, optical recognition, or manual correction. These distinctions help reviewers focus effort on fragile evidence without suggesting that clean typography guarantees a complete extraction. Reprocessing a scan should invalidate records whose source text changed, even when the visible page count remains identical.
Design the review screen around unresolved work
Display the main passage beside the structured record, with dependency passages one action away. Highlight which fields were directly extracted, which were normalized, and which remain unresolved. Avoid a single confidence badge that blends source quality, extraction certainty, and interpretive uncertainty.
Let reviewers approve individual fields and record why they changed them. A corrected timing field should not imply approval of every other field. Store the reviewer's edits separately from the machine output so evaluation can distinguish extraction defects from later professional judgments.
Route records by dependency complexity and consequence. A low-complexity administrative obligation may need a quick check; a provision whose meaning depends on several missing documents needs deeper attention. The routing rule should assist workload allocation without making an automatic substantive decision.
An amendment needs a typed relationship, not just another link in a list. In the example, it modifies the reporting trigger, while the business-day definition determines the timing calculation. Preserve the original trigger, the amendment passage, and the reviewer’s accepted replacement as separate values. If the amendment is later removed from the document package, the system can reopen the trigger without discarding an independently confirmed calendar definition. Review history should also record which complete document package was available when a field was approved. Approval against an incomplete package must not silently become approval against a later, expanded one.
Re-review only what changed, but include its dependents
When a definition changes, all records that depend on it should be marked for reconsideration. A text comparison limited to the changed paragraph will miss downstream effects. Conversely, marking the entire agreement as unreviewed after a punctuation change creates unnecessary work and encourages blanket approvals.
Use a two-stage change process. First identify changed source spans and document relationships. Then traverse the dependency graph to collect potentially affected records. Present that set with the reason for each inclusion. The reviewer can dismiss an irrelevant propagation while preserving the audit trail of why it was considered.
Start a pilot with one recurring agreement family. Build a small benchmark from authorized documents, establish the obligation fields, and test amendments before expanding volume. Measure reviewer correction effort and unresolved dependencies, not just extraction speed. A useful system shortens the path from source text to a verified working record while keeping uncertainty visible wherever the documents do not support a clean answer.