Article5 min read
Zero Audit Findings: How to Deploy AI in a Regulated Environment Without Losing Sleep
Auditors do not ask whether an AI system is accurate. They ask how you know, who checked, what happens when it is wrong, and whether you can show them a specific decision from eight months ago.
Systems that answer those questions comfortably were designed to. Systems that cannot were designed for accuracy and had governance attached afterwards, which is where the findings come from.
Across deployments in pharmaceutical compliance, insurance, telecom, and commercial real estate, QuantaumAI has maintained zero major audit findings. That record is not the result of unusual diligence during audits. It is the result of five decisions made at design time, each cheap then and expensive later.
1. Redact before retrieval, not after generation
Where personal data is removed determines whether exposure is prevented or merely filtered.
Redacting after generation means personal data entered the system, was processed, possibly stored in logs and vector indexes, and a filter is trusted to catch it on the way out. Every one of those steps is a place it can persist. The control is a promise.
Redacting before retrieval means the data never enters the retrieval layer at all. There is nothing downstream to leak, because it is not there. The control is structural.
The second is harder to build and dramatically easier to defend. "We filter it from responses" invites a question about logs. "It never enters the index" ends the conversation.
2. Make every answer traceable to a source
The question that ends badly is: why did the system produce this answer?
A system answering from model memory cannot respond usefully. A retrieval-based system can name the document, the section, and the passage the answer came from.
This is a large part of why retrieval architecture matters in regulated settings — not only accuracy, but the ability to show the provenance of a specific output months later. Build the citation into the record at the time of generation. Reconstructing it afterwards is not possible.
3. Log decisions, not just outputs
Most systems log inputs and outputs. Under examination that is insufficient, because the interesting question is what happened in between.
What needs recording:
- Which sources were retrieved for a given request, not just the ones cited
- Which rules or policies were applied, and their version at that moment
- Which checks ran and what they returned — including the ones that passed
- Where the run halted, if it did, and what triggered it
- Which model and prompt version produced the output
That last item matters more than teams expect. When an auditor asks about a decision from March, "the current system does this correctly" is not an answer. You need to show what the system did in March.
4. Design the human checkpoint deliberately
Every regulated deployment needs human oversight. The failure is treating it as a blanket review requirement.
If a person must approve everything, one of two things happens: the review becomes perfunctory clicking, which is worse than no review because it manufactures a false record of scrutiny; or the workload makes the system pointless, and it gets abandoned.
The design that works places the checkpoint where consequence concentrates:
- Route by consequence. Outputs above a value threshold, in a sensitive category, or affecting a protected decision go to a person. Routine cases proceed.
- Route by confidence. When evaluation scores fall below threshold, halt. On the commercial real estate platform the orchestrating agent scored each step and stopped the run on failure rather than passing questionable output downstream.
- Make the review meaningful. The reviewer sees the sources, the checks, and what specifically triggered the halt. A reviewer shown only a final answer cannot add anything.
- Record the human decision with the same rigour as the automated one. Who, when, what they saw, what they concluded.
A system that routes genuine exceptions to a person is defensible. A system that requires people to review everything is a manual process with extra steps.
5. Produce evaluation evidence continuously
"The system is accurate" is an assertion. "Here is the accuracy against a fixed evaluation set, measured on every release for eighteen months, with regressions and their resolutions" is evidence.
Continuous evaluation using Ragas and DeepEval on the agentic platform moved accuracy from 68% to 94% and held hallucinations below 4%. The improvement matters operationally; for audit, the record of continuous measurement matters at least as much. It demonstrates a controlled process rather than a hopeful one.
Practical requirements:
- A held-out evaluation set that does not change casually, with changes versioned when they do
- Automated scoring on every release, with results retained
- A defined threshold below which a release does not ship
- Documented investigation of regressions
What auditors actually ask
Useful to rehearse before it happens:
- Show a specific decision and explain how the system reached it
- Demonstrate that personal data is handled per policy, including in logs and indexes
- Explain what happens when the system is uncertain
- Produce the accuracy record over time
- Identify who approved the current version reaching production, and when
- Explain what would have to go wrong for a bad output to reach a customer, and what prevents it
None of these are about model sophistication. All of them are about whether the surrounding process was designed.
Frequently asked questions
Can generative AI be used in a regulated industry at all?
Yes, and it is, at scale. What determines whether a deployment is defensible is architecture: where personal data is removed, whether outputs trace to sources, what gets logged, where human checkpoints sit, and whether accuracy is measured continuously. Systems built with those properties survive examination. Systems built for capability alone tend not to.
What is the most common audit finding on AI systems?
Inability to explain a specific historical decision. The system works today, but no record exists of which sources, prompt version, and rules produced a given output eight months ago. This is entirely preventable and almost impossible to fix retroactively.
Do we need a human reviewing every AI output?
Usually not, and requiring it often makes things worse — blanket review becomes perfunctory and manufactures a misleading record of oversight. Route to humans by consequence and by confidence, make the review substantive, and log the human decision properly.
How do we prove the system is accurate?
With a fixed evaluation set, automated scoring on every release, retained results, and documented investigation of regressions. Spot checks are not evidence; they cannot distinguish a system that is 68% accurate from one that is 94% accurate.
Does using a third-party model create a compliance problem?
It creates questions that need answers: where data is processed, whether it is retained, whether it trains future models, and what contractual terms apply. Those are answerable — enterprise agreements typically address them — but they should be answered before deployment, and the answers belong in your documentation rather than the vendor's.
How much does governance add to the cost of a project?
Far less when designed in than when retrofitted. Redaction before retrieval, structured logging, and an evaluation harness are modest additions at build time. Adding them after a finding means reworking architecture, backfilling records that cannot be backfilled, and doing it under time pressure.