Skip to main content
Commercial

Document intelligence for a law or audit practice

Contracts, filings, workpapers and correspondence carry what your firm knows, and reading them is what your firm costs. This is the pipeline a production system needs, how to measure it on your own documents, and the confidentiality architecture a risk committee will approve.

A senior associate spends a Tuesday reading forty agreements to find out which ones carry a change-of-control provision. She finds them. She is right. And the firm has just spent a day of expensive attention on a task that is fundamentally lookup, on documents the firm has already read once, drafted in many cases, and stored. That day is the product a law or audit practice sells, and reading is where most of it goes. The question is not whether software can help. It is what has to be true before a practice will rely on the answer.

This is written for the person who owns that decision: a practice leader, an innovation partner, a chief knowledge officer, the partner whose name is on the risk committee agenda. You are not short of vendors. You are short of a way to tell which claims survive contact with your own documents, and a design that your risk committee will approve without a six-month negotiation.

What makes professional documents hard

Demonstrations run on clean documents. Practices do not have clean documents.

They are scans of scans. An executed agreement is often a photograph of a signed page appended to a clean draft, sometimes rotated, sometimes at a resolution where a comma and a period are the same object. Optical character recognition quality varies inside a single file, and a system that reports uniform confidence across a mixed-quality document is telling you nothing.

The meaning is in structure, not just words. A definition on page four governs a term on page ninety. A schedule modifies an obligation stated in the body. A workpaper's conclusion depends on a tick mark whose meaning is set by the practice's own convention. Extraction that treats a document as a bag of sentences loses exactly the relationships professionals care about.

Amendments change everything and are stored separately. The operative terms of an agreement are the original plus four amendments, one of which restates a section that a later one deletes. Answering a question about the current position requires assembling the family and applying the changes in order. Most systems answer from whichever document the search happened to rank first, which is a confident wrong answer.

The language is deliberately conditional. Professional drafting hedges on purpose. A clause that is a hard restriction and a clause that is a restriction subject to three carve-outs read almost identically to a model trained on general text, and the difference is the entire point.

The same words mean different things by practice and jurisdiction. Terms carry local meaning. A general-purpose extractor trained on public filings brings the wrong prior to your corpus, and it will be confidently wrong in a consistent direction, which is worse than being randomly wrong because reviewers stop checking.

Where document systems fail on a real professional corpus

Amendments not assembled, so answers reflect a superseded term
93%
Scan quality varies inside a file and confidence is not calibrated
88%
Cross-references and defined terms are flattened away
85%
Carve-outs and conditions read as unqualified obligations
82%
Retrieval spans matters that ethical walls should separate
79%
The underlying language model is not good enough
24%

Editorial weighting, illustrative rather than measured. The last row is deliberately low: model quality is rarely the binding constraint, and the pipeline around it usually is.

The pipeline, stage by stage

A production system is a sequence of stages, each measurable on its own. Treating it as one model call is why prototypes look good and deployments disappoint.

Ingestion and normalization. Collect from the document management system, the shared drives and the mailboxes, because the work product is never all in one place. Convert to a common representation that preserves page and coordinate positions, because every citation later depends on being able to point at a location. Score text quality per page and route poor pages to better recognition rather than accepting whatever came out first.

Family assembly. Group originals with their amendments, restatements, side letters, exhibits and schedules, and determine the order. Signals include explicit references, dates, party sets and document titles, and the assembly is a first-class output that gets reviewed and corrected. This single stage removes a large share of the wrong answers a naive system gives, and it is the one most often skipped.

Segmentation. Break a document into its real units: articles, sections, clauses, definitions, schedules, for workpapers the sections your methodology defines. Resolve defined terms so a clause can be read with its definitions attached. This is the structure that makes extraction and retrieval accurate, and it is mostly deterministic parsing rather than model work.

Classification. Type the document and type each segment. A retrieval system that knows a passage is an indemnity rather than a recital can filter before it ranks, and filtering before ranking beats better ranking on almost every real corpus.

Extraction. Pull the fields that matter per document type, each with its source passage and a calibrated confidence. Fields are chosen because a person currently reads for them, not because they are easy.

Retrieval and synthesis. Answer questions over the structured extractions and the segments, always citing passages, with the citation shown beside the answer in the interface.

Filtering before ranking beats better ranking on almost every real corpus.

Measuring it, which is the part that decides adoption

Every vendor quotes an accuracy figure. None of them are about your documents. Build the measurement first and it becomes the instrument you use to evaluate every option including the one you build.

Take a sample of your own documents, stratified so it includes the awkward ones: the poor scans, the heavily amended families, the unusual jurisdictions, the document types that are rare but expensive to get wrong. Have professionals label the fields, and record disagreements rather than resolving them silently, because the rate at which two qualified people disagree is the ceiling on what any system can be measured against. Then report per field, not in aggregate.

Per field you want precision, recall, and the behavior of the confidence score. Precision matters where a wrong value flows into advice. Recall matters where a missed instance is the risk, as with a covenant nobody flagged. Calibration matters most of all, because a well-calibrated system supports a review policy: fields above a threshold pass with sampling, fields below go to full review. An uncalibrated system forces you to review everything, which removes the benefit, or to review nothing, which removes the safety.

Also measure the thing the practice actually cares about, which is time. Instrument the review workflow and compare the minutes to complete a task with and without the system, on the same document types, with the same people. That number, not the extraction score, is what a management committee will fund the next phase on.

Review workflows that keep the professional accountable

In a practice that sells judgment, no output leaves without a named person standing behind it. The system's job is to get that person to a defensible answer faster, and the workflow design decides whether it does.

Three patterns work. In extract and verify, the system proposes values and the reviewer confirms or corrects each, with the source passage on screen. Effort drops because reading a highlighted clause is faster than finding it. Every correction is captured as training data, which is how the system improves at your firm's conventions rather than at general ones.

In sample by confidence, high-confidence fields are accepted with a sampled audit and low-confidence fields go to full review. This requires the calibration work above, and it is where the economics change, because the reviewer's attention concentrates on the cases that need it.

In assemble and revise, the system produces a first draft from the firm's own prior work, with every borrowed passage cited to its source document, and the professional revises. The citation requirement is not decoration. It is what lets the reviewer check provenance quickly and what keeps the firm's precedent visible rather than laundered through a model.

Across all three, log what the reviewer did. The override and correction record is the evidence that oversight is real, it is the dataset that improves the system, and it is the first thing an insurer or a regulator asks to see.

The confidentiality architecture

This is where the risk committee lives, and getting it settled early is worth more than any feature.

Access enforced at query time. The system checks the user's permissions against the source system when the query runs, not when documents were ingested. A user retrieves only what they could already open. Ingestion-time permission snapshots go stale the moment a matter is closed or a person moves, and stale permissions are how a search returns something it should not.

Ethical walls as hard filters. Screens are enforced in the retrieval path itself and cannot be bypassed by a differently phrased query or an alternate interface. Test this deliberately, including adversarial phrasing, and keep the test in the suite.

Content stays inside your boundary. Inference runs in infrastructure you control, or under a contract with no retention and no training on your inputs, with the term written into the agreement rather than found in a marketing page. For the most sensitive corpora, self-hosted models remove the question entirely, and the quality gap for extraction and retrieval tasks is far smaller than it is for open-ended generation.

Client obligations honored per matter. Some engagements carry terms restricting where data may reside or how long it may be kept. The system tracks those at the matter level and enforces them, including deletion, because a firm that cannot delete on request has a contractual problem regardless of how good the retrieval is.

Everything logged. Who asked what, what was returned, what was accepted. This is your evidence and your incident response, and it costs nothing to build in at the start and a great deal to retrofit.

What to build first

Pick a task that is high volume, well defined, currently done by expensive people, and where the answer is checkable. Then build the whole pipeline narrowly for that one task rather than building a broad platform shallowly.

Candidate first taskWhy it works as a starting pointWhat it proves
Clause extraction across an agreement populationHigh volume, well defined fields, answers verifiable against the textExtraction accuracy and family assembly on your real documents
Obligation and deadline registryCurrently manual, and a miss is a visible risk eventRecall on rare items, and the value of calibrated confidence
Precedent search across prior work productEvery professional wants it and adoption is immediateRetrieval with citations, and access control under real use
Workpaper consistency checkingRule-shaped, repetitive, and errors are expensive lateSegmentation and the review workflow at production volume
Intake and conflicts triageTime sensitive, structured, and bounded in scopeThroughput under deadline and integration with existing systems

Whichever you choose, the measurement set and the review workflow come with it. A pilot that produces impressive outputs and no measurement leaves you exactly where you started, holding an opinion instead of a number.

The return, stated the way a partnership will accept it

Two currencies. Hours and risk.

Hours are computed from your own data if you have it: the time recorded against the task, multiplied by the fraction the system removes as measured in your own workflow test, valued at the cost of the people doing it rather than at their billing rate, because the honest question is what the firm saves and not what the client is charged. Where the work is fixed fee, the saving is margin. Where it is hourly, the saving is capacity that can be sold or a scope you can now take on profitably, and the partnership should decide which before the system ships, because that decision determines whether people experience the tool as helpful or threatening.

Risk is harder to price and often larger. A missed obligation, a superseded term relied on, an inconsistency across workpapers found by someone outside the firm. You will not get a defensible number for these, and you should not pretend to. State them as what the system detects that the current process does not, measured on the labelled sample, and let the committee weigh it.

Why the knowledge asset is worth more than the time saved

The hours argument is the one that funds the project. The knowledge argument is the one that matters over five years, and it is worth making to the committee even though it is harder to quantify.

A practice accumulates positions. How the firm words a particular protection, which arguments have worked before which authorities, how a methodology was applied to an unusual fact pattern, which counterparties negotiate which points and where they settle. Today that knowledge lives in the memory of the people who did the work, and it leaves when they do. The firm's response has historically been a precedent bank, curated by hand, which decays because curation is unbilled work that competes with billable work and loses.

A document intelligence system built on structured extraction changes the economics of that. Positions are derived from the work product itself rather than curated separately, so the bank stays current without anyone maintaining it. A question like which of our agreements accept a particular formulation, and how that has moved over the last several years, becomes answerable, and the answer is drawn from what the firm actually did rather than from what someone remembers it usually does.

That capability changes negotiation. A professional who can see, in a minute, the distribution of outcomes the firm has previously achieved on a point is negotiating from evidence. It also changes training, because a junior can be shown the range rather than one partner's preference. And it changes pricing conversations, because a firm that knows how long a matter type actually takes across a hundred instances can price with confidence where it previously guessed.

What decides whether professionals actually use the system

Every answer shows the source passage beside it
95%
Confidence is calibrated, so review can be targeted
90%
It sits inside the tools people already work in
87%
Corrections are captured and visibly improve the system
83%
Measured on the firm's own documents, not a vendor set
78%
A training programme with no change to the workflow
21%

Editorial weighting, illustrative rather than measured. The last row is deliberately low: adoption follows workflow design, not instruction.

What it costs the firm to run

Committees ask about the ongoing cost, and the honest breakdown has four parts, none of which is the model.

Compute for ingestion and inference, which is real but usually the smallest line, and which drops sharply once the initial corpus is processed and only new documents arrive. Storage for the processed representation and the extraction store, which is modest against what firms already spend on document storage. Engineering to keep the system current as source systems change, document types are added and models are refreshed, which is a fraction of a person for a single-task system and grows with breadth. And the human review capacity the workflow assumes, which is not new cost if it replaces reading that was happening anyway, but which must be planned rather than assumed.

The line most often forgotten is the labelled evaluation set. It needs refreshing as document populations change, or the measurement drifts away from reality and the confidence thresholds that review policy depends on quietly stop being right. Budget a small recurring commitment of professional time for it, and assign it to a named person, the same way the platform's other recurring obligations are assigned.

How we work inside your practice

Precision Federal builds and deploys these systems. Our engineers write the ingestion, the parsing, the extraction, the retrieval layer, the review application and the access controls, and we run them in your environment.

The first engagement is narrow on purpose. In the first two weeks we take a real document sample, including the awkward ones, and build the labelled evaluation set with your professionals, so the conversation moves from claims to numbers immediately. By week four there is a working pipeline for one task with measured per-field precision and recall on your documents, and a review interface your people can use. That result is worth having whether or not you continue, because it tells you what is achievable on your corpus rather than on a demonstration set.

You keep everything. The code is yours, in your repositories, under a written assignment. It runs in your cloud account under your identity provider, with client content inside your boundary. There is no platform license from us, and nothing stops working if the engagement ends. We write documentation for the engineers who will inherit the system and we work beside them during handover.

Pricing is fixed-price milestones where scope is clear, each tied to an acceptance test agreed in advance, so the cost is known before work starts and you pay for a result. Where the work is genuinely exploratory we use a committed team at a fixed monthly rate.

We also build and deploy inside U.S. federal agencies, where systems must earn an authorization to operate, handle controlled unclassified information, meet accessibility conformance, and pass review by people paid to find problems. That is why we treat access control, logging and measured evidence as build requirements rather than later additions. For a practice carrying confidentiality obligations to clients, the posture is the same.

The first step is one email with a one-page brief: the document types, the task you would start with, and the constraint your risk committee will care about most. We return a scoped, priced statement of work.

Bottom line

Document intelligence works in a professional practice when three things are true. The pipeline handles what real documents are: mixed-quality scans, amendment families, defined terms, conditional language. The accuracy is measured per field on your own documents against labels your own professionals produced, with calibrated confidence so review can be targeted. And the confidentiality architecture is built in at query time rather than described in a policy. Get those right and the system removes reading, which is the largest cost in the practice, while leaving judgment where it belongs. Skip them and you will have bought a demonstration that your professionals stop trusting the first time it is confidently wrong.

Frequently asked questions

How accurate is AI document extraction on legal or audit documents?

It varies enormously by field and by corpus, which is why a vendor's headline figure tells you little. Simple, explicitly stated fields extract very reliably. Fields requiring interpretation across sections, or judgment about carve-outs and conditions, are far weaker. The only meaningful answer comes from a labelled sample of your own documents, measured per field with precision, recall and confidence calibration, and compared against the rate at which two of your own qualified professionals disagree.

How do you keep client confidentiality when using AI on documents?

Enforce access at query time against the source system's permissions, so a user retrieves only what they could already open, rather than relying on a permission snapshot taken at ingestion. Implement ethical walls as filters in the retrieval path that no phrasing or alternate interface can bypass, and test that deliberately. Keep content inside your own boundary through self-hosted inference or a contract with no retention and no training on your inputs. Track per-matter obligations including deletion, and log every query and result.

Why do document AI systems give wrong answers about contracts?

Most often because they answer from one document when the operative terms are an original plus several amendments, one of which may restate a section a later one deletes. Assembling the document family and applying changes in order removes a large share of these errors. The other frequent causes are flattening cross-references and defined terms so a clause is read without its definitions, and treating heavily qualified language as unqualified, since a restriction and a restriction with three carve-outs look similar to a general model.

Should a firm build or buy document intelligence?

Build the measurement either way, because it is what lets you evaluate any option honestly against your own corpus. Buying suits common document types where a product already handles your jurisdictions and your review workflow fits its model. Building suits firm-specific conventions, unusual document types, integration with your own systems, and cases where the extracted data feeds other applications you control. Many practices do both: a product for the commodity types and built systems where the firm's own way of working is the value.

What should a law or audit firm automate first?

A task that is high volume, well defined, currently done by expensive people, and checkable. Clause extraction across an agreement population, an obligation and deadline registry, precedent search over prior work product, workpaper consistency checking, or intake and conflicts triage all qualify. Build the whole pipeline narrowly for one of them rather than a broad platform shallowly, and ship the measurement set and the review workflow alongside it, because a pilot without measurement leaves you with an opinion rather than a number.

1 business day response

Want extraction measured on your own documents?

We build the pipeline, the review workflow and the access controls, running inside your boundary and yours to keep. Send a one-page brief and we return a scoped, priced statement of work.

How we workMore insights →Email an engineer or email bo@precisionfederal.com
UEI Y2JVCZXT9HP5CAGE 1AYQ0NAICS 541512SAM.GOV ACTIVE