Expertise

Blog
RAG and Hallucinations in AI FCC: A Deep Dive
AI
AI Agents
AML
Compliance
Regulatory

In April 2026, a prominent law firm apologised to a US federal judge for a court filing built on fabricated legal citations, with case names, quotations, and statutes that did not exist. The cause was an AI hallucination, and just one of a fast-growing body of such cases now surfacing in courts worldwide [1].
That was a generative model drafting a document. The financial sector is already moving somewhere more consequential: agentic AI that does not merely draft text but makes financial crime compliance (FCC) decisions, including screening names, adjudicating sanctions alerts, investigating transactions, and producing regulator-ready explanations.
This shift changes the stakes of a known failure. If an autonomous compliance agent fabricates something, maybe a sanctions match that isn't real, an adverse-media hit that was never published, or a misstated rationale behind a closed alert, it can flow unverified into a regulatory decision, creating massive compliance risk. Hallucinations such as these have spotlit the leading defence against it to the centre of the FCC conversation: Retrieval-Augmented Generation (RAG).
Two Concepts Every Compliance Leader Needs
A hallucination is an incorrect output that a model produces fluently and confidently. Rather than the model misreporting a database of information, it produces this output from a totally fabricated base. This occurs because, based on their training, models generate the most statistically plausible continuation of a prompt. The result is a factually false output: a citation that looks real, or a quotation no one ever said. It happens because a model's knowledge is frozen at a training cut-off, held as diffuse patterns rather than retrievable records.
Hallucinations can spring from the specific details such as names, dates, identifiers, and list entries that are crucial to FCC. These fast-moving subject matters, where training data is thin, are exactly the inputs a screening or investigation decision hinges on.
Introduced in a 2020 paper by Lewis and colleagues [2], RAG inserts a retrieval step before generation, pairing the model's knowledge encoded in its weights, known as its parametric memory, with non-parametric memory it can consult on demand. First, the system searches an external index of source documents for relevant passages. These could be a policy library, sanctions list, or document store for example. The model then answers from that material rather than from memory alone.
It does this by splitting the external sources into passages, each of which are converted into a numerical vector and held in a vector database. When a prompt is given, the system runs a semantic similarity search to retrieve the nearest passages from the vector database, and inserts them into the prompt alongside the query. The model generates its answer based on that retrieved evidence. RAG exists to address hallucination, outdated knowledge, and opaque reasoning by grounding output in verifiable data [3]. The original work found it to be more factual than generation alone [2].
That retrieval step is not a single fixed process. The earliest systems simply fetched passages and appended them. Since then, the field has matured from simple retrieval towards more advanced and modular designs, sharpening a vague query into precise terms, expanding it with synonyms and aliases, or splitting a multi-part question into separate sub-queries that are each searched in turn.
Then, the external passages that come back are re-ranked or filtered so that the most relevant evidence is what actually reaches the model [3]. In an FCC setting, an analyst's question such as ‘is this party linked to any sanctioned entity?’ retrieves far more reliably once it is expanded into the specific names, aliases, and jurisdictions actually held in the underlying lists.
Hallucination as a Compliance Risk
Regulators identify the potential for hallucinations to cause compliance risk. FINRA's 2026 Annual Regulatory Oversight Report, published in December 2025, added a dedicated generative-AI section and named hallucination directly [4]. Its stance was that existing obligations apply to AI as to any tool, and hallucinated output is one way to fail them.
FINRA did not treat this as a novel legal category. They pointed to obligations including supervision, communications, recordkeeping, and fair dealing, which firms are already expected to maintain. A hallucinated output is just another way to breach them. Practically, a model's errors are measured against the standards an institution is already held to.
The theme runs across jurisdictions.
IOSCO files hallucination under its core “AI model and data risks”, warning that non-deterministic outputs, which are outputs that can be different even with the same input, defeat quality-assurance methods built for deterministic systems, which always return the same output given the same input [5].
The FSB notes it complicates any judgement of model accuracy, compounding its wider concerns about GenAI-enabled fraud and market disinformation [6].
The US Treasury flags generative AI's tendency to be confidently stated but incorrect, ranking it alongside bias and data-quality failures among the sector's principal AI risks [7].
The ESMA warns it can translate into misleading investment advice, reminding firms that their duty to act in the client's best interest under MiFID II holds whether a human or a model produced the recommendation [8].
A model that fabricates within a screening or monitoring workflow creates real compliance liability. A hallucinated entity match can feed a false positive into a sanctions screening queue, or, worse, suppress a true one. A made-up detail in an adverse-media summary corrupts a customer risk rating. An investigation narrative that misstates the facts undermines the audit trail an institution relies on to demonstrate sound decision-making to an examiner.
In an industry where the cost of error is measured in enforcement actions, remediation programmes, and reputational damage, a misperforming model is a liability waiting to surface, one a regulator expects the institution to own, not the algorithm.
How RAG Reduces Hallucination
Where a bare model fills gaps in its memory with confident guesses, RAG places verified source text in the prompt. This changes the nature of the task: the model is no longer asked what it remembers, but what the supplied evidence says, turning a recall problem into a reading-comprehension problem, which models handle far more reliably. Three benefits follow, each mapping to a regulatory concern.
Grounding improves accuracy: retrieving from a reliable source bases answers in fact.
Citation enables verification: the system can surface the passages it used as checkable references.
Retrieval reflects current information: the knowledge source updates continuously, without retraining.
Citation corresponds to a primary concern of regulators. Because the system records which passages it retrieved, every output can be traced back to its source, directly answering the opaque, untraceable reasoning flagged as a core weakness of generative AI [3]. Recency is also important. A sanctions designation can change within hours, and a model trained months earlier has no way of knowing, but a retrieval layer reading from a live list does.
Despite all of this, RAG only reduces hallucination, it does not eliminate it. Its effectiveness is bounded by retrieval quality. If the wrong passages return, if the answer is not in the corpus, or if the model reverts to its priors, fabrication still occurs.
These failures are specific and diagnosable. Passages split too coarsely bury the relevant fact among noise, an embedding that misjudges semantic similarity surfaces the wrong document, and an ambiguous query returns plausible, but still irrelevant, context. This is why evaluation has become a discipline in its own right. Assessing not just if an answer sounds right, but whether it is faithful to the retrieved evidence, and whether that evidence was relevant to the question in the first place [3].
Treating Hallucination as a Risk to Be Governed
Grounding is a powerful control, not a guarantee, which is why hallucination cannot be solved once and forgotten, it must be governed. Regulators have set management frameworks to minimise the impact of hallucinations on FCC processes. These map onto obligations regulators already enforce:
Governance: FINRA expects formal review and approval and a model-risk framework, with accountability that cannot be delegated to an algorithm [4].
Testing: Output should be checked for accuracy first. The MAS notes institutions sensibly start with narrow, time-bound pilots rather than releasing generative AI into high-stakes contexts without a human in the loop [9].
Monitoring: FINRA points to ongoing review of prompts, responses, and outputs, with logging that turns a black box into an auditable record [4].
Human judgement: High-stakes automated decisions must stay interpretable, auditable, and attributable.
That last point reshapes the human role rather than removing it in favour of complete automation. People move from constructing every decision to reviewing the ones that matter, concentrating scarce expertise where judgement is genuinely irreplaceable.
RAG is one essential layer in this process, making outputs groundable and checkable. However no layer is sufficient in isolation. In practice, monitoring such a system means checking the precise points at which a grounded model quietly begins to hallucinate, such as by:
Sampling outputs to confirm they remain faithful to their sources.
Detecting retrieval drift as the underlying corpus changes.
Flagging queries that fall outside what the system was tested on.
From Mitigation to Capability
In agentic FCC, RAG is more than a hallucination solution, it is what makes autonomous AI trustworthy enough to act. A compliance agent does not just score an alert; it investigates, gathering evidence and drafting a rationale. In practice that means:
Querying transaction history to establish a pattern of behaviour.
Mapping the entity relationships that link counterparties and beneficial owners.
Cross-referencing sanctions and adverse-media data before a human ever engages.
Each of these is a retrieval step, extracting info from different authoritative sources, and an agent that grounds each conclusion in the external records it consulted is performing RAG.
This delivers consistency: a retrieval-grounded agent applies the same policy against the same authoritative sources on the millionth case as on the first, building consistent AML policy adherence into its framework. Additionally, the retrieved evidence behind each decision is logged, so an examiner can reconstruct exactly what the agent saw and judge whether the conclusion followed from it, making explainability a by-product of design. An agent that produces a step-by-step reasoning trail grounded in retrievable sources yields a more robust record than a rushed human narrative.
The same logic extends to regulatory horizon scanning, where the solution hinges on grounding. Interpreting a new sanctions designation is reliable only when the system reasons from the actual text of the rule, not a model's recollection of what such rules usually say. Get that right, and a horizon-scanning agent can continuously monitor regulatory and geopolitical change, contextualise it, and map it to an institution's internal policies and obligations.
The Road Ahead
The instinct to keep AI at arm's length because it hallucinates is the wrong lesson. The institutions falling behind are not those deploying AI, but those deploying it without the architecture and governance to make it defensible.
RAG does not make a model remember perfectly. It makes it retrieve the right context, cite where it came from, and stay current as the facts change. Paired with disciplined governance, testing, monitoring, and human oversight, it turns generative AI from a source of confident error into precisely the standard regulators are now codifying, one of grounded, auditable decisions. Hallucination, while not engineered out entirely, will be governed down to a monitored, well-understood residual risk, like any other.
In an environment where every decision must be explained, the ability to ground that explanation in verifiable fact is no longer a nicety. It is the foundation on which trustworthy AI in FCC will be built.
Share article








