RAG Explained for Internal Auditors
An internal audit function builds an assistant around its methodology. The tool answers in seconds, cites an internal procedure, and appears far more dependable than a general-purpose chatbot. Then someone notices that the cited procedure was superseded six months earlier.
The answer can be perfectly “grounded” and still be wrong.
That is the central idea auditors need to understand about retrieval-augmented generation (RAG). Connecting a language model to enterprise knowledge can reduce some weaknesses of standalone LLMs, but it also moves part of the risk into sources, permissions, retrieval, and attribution. RAG does not automatically turn an answer into reliable evidence. It makes the knowledge chain behind that answer something an organization can — and should — govern and test.
RAG does not teach the model new facts; it supplies context when the question is asked
NIST defines RAG as a type of generative AI system in which a model is paired with a separate information-retrieval system or knowledge base. When a user submits a query, the system identifies relevant information and provides it to the model as context for generating the response.
That distinction matters. The model does not need to “memorize” the travel policy, audit manual, or internal standard. It can retrieve the applicable content when the user asks a question.
A common enterprise architecture looks roughly like this:
- Sources are ingested, such as policies, procedures, standards, contracts, manuals, or reports.
- Documents are prepared and split into passages that can be retrieved effectively.
- A search index is created. Many implementations use embeddings and a vector database for semantic similarity, although RAG does not depend on one particular retrieval technology.
- A user submits a query.
- The system retrieves passages it considers relevant.
- Those passages are added to the LLM's context, together with instructions for how to answer.
- The model generates a response, and the application may display citations or links to the retrieved sources.
The 2020 paper by Lewis and colleagues, which popularized RAG, combined model memory with externally retrievable memory. The enterprise implication is simpler: knowledge can be updated outside the model. A policy change need not require retraining the LLM; it requires sound repository and retrieval governance.
The enterprise value is in connecting language to controlled knowledge
RAG is particularly attractive in internal audit because much of audit work depends on knowledge that is fragmented and frequently updated. An approved corpus might include the audit methodology, corporate policies, regulatory requirements, risk and control libraries, prior reports, internal guidance, or training materials.
That enables more useful applications than a generic chatbot: comparing a control with the current methodology, locating criteria for an audit program, retrieving relevant precedent, or answering policy questions with links back to the source.
But the key distinction is this: RAG improves access to knowledge; it does not guarantee the quality of that knowledge or the correctness of the answer.
The Global Internal Audit Standards provide a useful professional anchor. Standard 14.1 requires internal auditors to gather information that is relevant, reliable, and sufficient for analysis and evaluation. If a RAG application supports an engagement, a persuasive interface cannot replace those attributes. The auditor still needs to understand which source was retrieved, whether it was current and applicable, and whether material information was omitted.
A citation shows where the system obtained context. It does not, by itself, prove that the system retrieved the best source or interpreted it correctly.
RAG changes the risk surface
With a standalone LLM, much of the attention falls on generation. In RAG, failure points are distributed across a chain.
| Stage | What can go wrong | Audit question |
|---|---|---|
| Sources | Content is stale, unauthorized, incomplete, or poor quality. | Who can add documents, and how are currency, provenance, and approval controlled? |
| Retrieval | The system retrieves irrelevant passages or misses critical information. | Is retrieval relevance and coverage tested with representative questions and known answers? |
| Access | A user retrieves content they should not be permitted to see. | Do repository permissions remain effective through retrieval and generation? |
| Generation and citations | The model adds unsupported claims, blends sources, or misattributes a citation. | Can each important claim be traced to supporting source evidence and validated for sensitive uses? |
These risks are not identical to classic hallucination. A system can hallucinate even when correct passages are present. It can answer confidently from the wrong passage. Or it can retrieve confidential information that the user could never have opened through the source system directly.
There is also an adversarial risk. NIST AI 100-2e2025 describes indirect prompt injection in systems that interact with external resources, including RAG: manipulated content inside a source can become an instruction to the model when that content is retrieved. From an audit perspective, the document repository therefore becomes part of the security attack surface, not merely a passive library.
Citations help, but attribution needs its own testing
An interface that displays sources can create trust quickly, but “has citations” can mean anything from showing retrieved documents to linking individual claims to specific passages. Attribution quality needs to be tested separately.
The NIST TREC 2025 Retrieval Augmented Generation Track is instructive because it evaluates multiple dimensions, including retrieval relevance, answer completeness, attribution verification, and agreement between the answer and supporting evidence. For auditors, the separation is useful. A response may be fluent and broadly correct but incomplete. It may cite a relevant document that does not support a particular claim. Or it may accurately cite a document that is no longer authoritative.
An enterprise RAG system should therefore be tested with a curated question set whose expected outcomes are known. The set should include more than easy questions. It should contain conflicting document versions, ambiguous terminology, missing information, users with different permissions, and questions for which the correct outcome is “insufficient evidence.”
That kind of testing reveals at least four things: whether the system retrieves what it should, avoids what it should not, recognizes what is missing, and attributes conclusions to sources that actually support them.
What internal audit should examine
When RAG supports a material process, internal audit can follow the chain from enterprise knowledge to business decision. A practical review can focus on six questions:
- Which sources are authorized? Ownership, ingestion criteria, and rules for excluding drafts, duplicates, and retired documents should be clear.
- How is knowledge kept current? Update dates, versions, and provenance should be traceable. ISO/IEC 42001:2023 provides useful control themes around documented data resources, data quality, provenance, and responsible AI-system management without turning RAG into a separate checklist standard.
- Who can retrieve what? The architecture should preserve source-system access restrictions and prevent the AI layer from becoming an alternate path to sensitive content.
- How is retrieval evaluated? The team should test real queries, including edge cases, and analyze systematic failures by source, language, format, or question type.
- How are answers validated? For higher-impact uses, citations should open the applicable source, users should be able to inspect the supporting context, and human verification expectations should be explicit.
- What is logged? Queries, retrieved documents, system version, responses, feedback, and material changes provide the traceability needed to investigate incidents and reconstruct how the system behaved at a point in time.
If internal audit itself uses RAG, Standard 10.3 of the Global Internal Audit Standards is also relevant: the chief audit executive is responsible for seeking appropriate technology to support the internal audit process, evaluating its use, supporting training, and collaborating with information technology and information security on implementation. A knowledge assistant does not remove professional accountability for the technology used by the function.
The decisive control is not the chatbot; it is the knowledge chain
RAG is often positioned as an answer to familiar LLM limitations: private knowledge, updateable information, better factual grounding, and citations. Those benefits can be real. For audit, however, the more important question is: Can we trust the chain that connects the source to the answer?
The chain includes what entered the repository, which version was authoritative, which permissions applied, what was retrieved or missed, and what evidence supports the response. When governed, RAG can turn fragmented enterprise knowledge into contextual, traceable assistance. When it is not, a polished citation may simply make an error more convincing.
Internal auditors do not need to learn how to build a vector database to understand the risk. They need to recognize that RAG turns enterprise knowledge into an operational dependency of the AI system. If that dependency can affect decisions, controls, or audit evidence, it deserves explicit criteria, testing, and accountability.
Sources
- NIST, Retrieval-Augmented Generation definition
- NIST AI 100-2e2025, Adversarial Machine Learning: A Taxonomy and Terminology of Attacks and Mitigations
- NIST, TREC 2025 Retrieval Augmented Generation Track
- The Institute of Internal Auditors, Global Internal Audit Standards
- ISO, ISO/IEC 42001:2023 — Artificial intelligence management system
- Lewis et al., Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks