# Piloting AI without risking client trust or confidentiality
A partner at a mid-size law firm once described her nightmare scenario: an associate uploads a merger agreement into a free AI chatbot to "speed up" a first read. The document ends up training a public model. The client never finds out, until they do, during a dispute discovery process years later. This is not a hypothetical anymore. It's why most professional services firms in 2026 still run AI pilots in a locked room before letting a tool near a real client file.
This lesson shows how to design that locked-room pilot for a due-diligence use case, step by step, without freezing innovation and without gambling on client trust.
Due diligence, the investigative review of a target company's contracts, financials, and liabilities before a deal, merger, or audit, is a common first AI pilot in law firms, accounting networks, and consulting shops. It's attractive for three reasons:
Tools like Harvey, Luminance, and Kira Systems (now part of Litera) are widely used in legal due diligence. In audit and consulting, similar logic applies to contract abstraction or vendor risk review. None of that changes the core risk: these tools ingest confidential material.
Before any live client data is touched, build a test set from closed, anonymized matters, engagements the firm already completed, where client names, counterparties, deal values, and identifying details are stripped or replaced.
Anonymization here means more than deleting a company name. It includes:
This phase answers one question only: does the tool perform the task at all, before asking whether it's safe with real data.
Before Phase 0 data even loads, the pilot team should lock in:
1. Data residency and retention terms: where does the vendor process and store data, and for how long? Under the EU's GDPR (General Data Protection Regulation), and for US firms under state privacy laws and client confidentiality rules (e.g., ABA Model Rule 1.6 for lawyers), this must be answered in writing, not assumed.
2. No-training clause: contractual confirmation the vendor will not use firm or client data to train models used by other customers. This is standard in enterprise contracts from Harvey, OpenAI's enterprise tier, and Microsoft Azure OpenAI, but must be verified, not assumed from marketing pages.
3. Human-in-the-loop checkpoints: every AI output (a flagged clause, a risk summary) is reviewed by a qualified professional before it reaches a workpaper or deliverable.
4. Access control list: name exactly who on the pilot team can use the tool and with which document set. No open access.
5. Kill switch: a documented process to immediately disable the tool if a data leak, hallucinationhallucinationA hallucination is when an AI model generates output that is fluent and confident but factually wrong, fabricated, or unsupported by its source data.Voir la définition complète → pattern, or vendor breach is detected.
None of this is exotic. It mirrors how firms already govern outsourcing to third-party vendors, applied here to software.
Once anonymized historical data passes Phase 0, the next step is testing against synthetic documents: contracts generated to resemble real deal structures but containing no real party. This checks the tool's behavior on edge cases (unusual clause language, foreign-language contracts, scanned PDFs) without any confidentiality exposure at all.
Only after Phases 0 to 2 succeed does a live client matter enter the picture, and only:
Some firms, including several Big Four accounting networks, now disclose AI tool use directly in engagement letters, following guidance trends from bodies like the AICPA (American Institute of CPAs) on technology in audit quality control.
Resist judging a pilot purely on speed. Measure across four dimensions:
| Dimension | Sample metric |
|---|---|
| Accuracy | % of clauses correctly flagged vs. human-reviewed baseline |
| Time saved | Hours per 100 contracts reviewed, AI-assisted vs. manual |
| Error type | False negatives (missed risk) weighted more heavily than false positives |
| Trust impact | Client feedback, willingness to consent to future AI use |
A simple worked example: if a senior associate reviews 100 contracts manually in an estimated 40 hours (a commonly cited due-diligence benchmark, not a fixed rule), and an AI-assisted first pass cuts initial review to 15 hours with a human verifying flagged clauses in another 10 hours, that's 25 hours instead of 40, a 37.5% time reduction. That number only matters if accuracy on high-risk clauses (change-of-control, liability caps) holds at or above the manual baseline. A faster review that misses one indemnity clause is not a win, it's a liability.
Vérification des acquis
1. Why is due diligence often chosen as the first AI pilot use case in professional services firms?
2. What is the core risk illustrated by the associate uploading a merger agreement into a free AI chatbot?
3. In the phased pilot structure, what is the purpose of starting with Phase 0 using anonymized past matters?
4. Select ALL correct answers about what makes due diligence a 'contained' pilot scope.
Sélectionnez toutes les réponses correctes.
5. Select ALL correct answers about proper anonymization of past matters for an AI pilot.
Sélectionnez toutes les réponses correctes.
🎬 [VIDEO: "How Law Firms Are Using AI for Due Diligence" - youtube.com - search for recent legal-tech conference panels (e.g., Legalweek or ILTA sessions) discussing real due-diligence AI deployments and vendor selection criteria]
Even a basic automated scan before data upload catches obvious leaks. A simple pattern-matching check (illustrative, not production-grade):
import re
PII_PATTERNS = {
"email": r"[\w\.-]+@[\w\.-]+\.\w+",
"dollar_amount": r"\$\s?\d[\d,]*(\.\d{2})?",
"phone": r"\(?\d{3}\)?[-.\s]?\d{3}[-.\s]?\d{4}",
}
def flag_sensitive(text):
findings = {}
for label, pattern in PII_PATTERNS.items():
matches = re.findall(pattern, text)
if matches:
findings[label] = len(matches)
return findingsThis is not a substitute for legal review or proper anonymization tooling, it's a first-pass tripwire before any document reaches Phase 0 testing.