Understanding AI Systems
A concept-first guide to the models, data, and choices that shape an AI system.
Deep Understanding Hub
Understand AI systems as real, end-to-end operating systems
A concept-first guide to how models, data, retrieval, tools, evaluation, and governance work together in practice. Built for clarity, not hype.
What this covers
Models, training, inference, RAG, agents, evaluation, security, and governance.
How to use it
Read end-to-end, or jump to the section that matches your question.
Visual aids
Conceptual diagrams and an interactive systems map support the text.
Evidence posture
Claims are grounded in cited sources and framed with scope and limitations.
01
System, not just a model
Models matter, but real AI systems also include data, software, interfaces, tools, people, and governance.
02
Training ≠ inference
Training shapes model behavior from learning signals; inference applies that behavior to new inputs in production.
03
Capabilities add control needs
Retrieval, tools, and agent loops increase usefulness, but they also add permissions, failure paths, and oversight needs.
04
Reliability is lifecycle work
Evaluation, monitoring, human review, and governance must continue after deployment as conditions change.
System architecture
An AI System: Components, Flows and Control
Explore how people, data, models, applications, and operations can interact in an AI system. The flows shown are conceptual patterns, not mandatory architectures.
Map scale: 100%.
Select or focus a component or relationship to highlight its connections. Arrows show conceptual patterns, not required sequences.
People and governance
Human roles and safeguards shape how the system is designed, used, and reviewed.
- PeopleEnd users, developers, operators, reviewers, and affected communities.People and oversight are covered in the system-boundary and human-oversight discussions; there is no dedicated people-focused article.
- Governance, Risk Management and CompliancePolicies, risk assessment, compliance, auditability, and oversight.The linked material discusses data governance and system risks; it is not a compliance checklist and does not provide comprehensive legal advice.
- Users and ApplicationsHuman–AI interaction and use in real-world contexts.The article gives an illustrative support-assistant workflow rather than a general user-experience treatment.
Data and development
Inputs, training choices, and model behavior contribute to an application.
- DataTraining, validation, and evaluation data; provenance and governance.
- Development and TrainingModel design, training and tuning; evaluation and reproducibility.
- AI ModelA model transforms inputs into outputs using its architecture and learned parameters.
- ApplicationInterfaces, APIs, workflows, guardrails, and task-specific logic.
Operation and feedback
Infrastructure, monitoring, and operational practices support ongoing use.
Relationships
- Data → Development and TrainingData informs trainingTraining examples and data choices influence what a learning process can capture.
- Development and Training → AI ModelTraining & tuningA completed training process supplies parameters that can then be used for inference.
- AI Model → ApplicationModel inferenceAn application can incorporate model outputs with validation, retrieval, or other logic.
- Application → Users and ApplicationsApplication interactionAn interface presents system behavior to users and may collect feedback or follow-up input.
- Evaluation and Monitoring → OperationsResults & telemetryOperational evaluation can inform decisions, while operational feedback may also reshape what is measured; this is an ongoing interaction, not a required sequence.
- Operations → InfrastructureDeployment & updatesOperations maintain infrastructure, while infrastructure constraints and incidents can inform operational decisions in return.
- Infrastructure → AI ModelCompute & storageCompute and serving infrastructure execute model inference under workload and resource constraints.
- People → Governance, Risk Management and CompliancePeople uphold governanceAssigned responsibilities and human oversight are part of the system's operating boundaries.
- Governance, Risk Management and Compliance → DataData controlsGovernance decisions can shape data provenance, access, documentation, and handling.
- Governance, Risk Management and Compliance → Evaluation and MonitoringAssurance & riskRisk considerations can guide what behavior should be evaluated and monitored.
- Application → DataOptional RAGSome applications retrieve external material and provide it to a model; this is one optional design pattern.
An AI system is more than a model. NIST defines an AI system as an engineered or machine-based system that can, for a given set of objectives, generate outputs such as predictions, recommendations, or decisions influencing real or virtual environments.[1] For this article, HAC uses a broader operational boundary: an AI system includes the model or other AI method together with the data, software, infrastructure, people, procedures, and governance involved in developing, deploying, and overseeing it. This broader boundary is HAC’s framing for examining the complete product and its lifecycle; it is not part of NIST’s formal definition.
This guide moves from foundations to production engineering. It distinguishes AI systems from machine-learning models, language-model applications, retrieval-augmented generation (RAG), and agentic workflows. These are related ideas, not interchangeable labels; a particular system may use only some of them.

Conceptual diagram
Deep dive
What Is an AI System?
NIST’s definition focuses on system outputs and their effects; it does not prescribe one specific software architecture.[1]
Depending on the boundary and context being examined, a spam filter, a rules-based decision service, a speech recognizer, or a language-model assistant may be considered an AI system or a component within one. The label “AI” alone does not establish what a system can do or whether its output is appropriate for a particular use.[1]
Three terms help keep the boundary clear:
- Model: a computational object—often parameters plus an inference procedure—that maps inputs to outputs. A machine-learning model’s parameters are adjusted during training; a fixed rules engine may instead rely on explicitly authored rules.[2]
- Application: for this guide, the software that presents a capability to a user or another system. It can validate inputs, assemble context, call one or more models, apply business rules, and render results.
- AI system: in HAC’s broader operational framing, the arrangement in which models or other AI methods operate, including input data, application code, interfaces, people, external services, and operating controls.
These distinctions are practical, not universal naming law. The important question is always what is inside the boundary being evaluated. If the evaluation covers only a model, it may miss failures introduced by retrieval, orchestration, permissions, user interface, or deployment. NIST’s risk framework accordingly calls for considering AI systems within their context of use and across their lifecycle.[1]
Deep dive
The Core Building Blocks
An AI-enabled application may combine several of the following elements. They are a design vocabulary, not a checklist that every system must satisfy.
Data and inputs
An input can be a user request, sensor reading, image, document, database record, or event from another service. A preprocessing step may normalize, filter, tokenize, transform, or validate it before a model or decision component receives it. Which transformations are appropriate depends on the task; undocumented transformations can make later debugging and evaluation difficult.[1] [10]
Data used to train or evaluate a model should be understood in context: its source, collection process, scope, labels, transformations, and known limitations all affect what conclusions are warranted. Dataset documentation is one proposed way to record such context; it does not by itself establish that a dataset is suitable or representative.[7]
Algorithms, parameters, and objectives
An algorithm specifies a procedure. A parameter is a value used by a model; in a learned model, training adjusts many parameters from data. An objective states what training attempts to optimize, often through a loss function that assigns higher values to less desirable predictions under the chosen task.[2]
For a simplified gradient-based update, the parameters may be adjusted as:
θ ← θ − η ∇θ J(θ)Here, θ denotes the model parameters, J(θ) the training objective, ∇θ J(θ) its gradient with respect to the parameters, and η a step-size such as a learning rate. This is an illustrative update rule, not a description of every training method; actual systems may use different optimizers, objectives, data schedules, or non-gradient procedures.[2]
Training and inference
Training is the process of fitting a model or policy using data or interaction. Inference is the use of a fitted model to produce outputs for inputs. The two phases can have different data flows, software, hardware, latency requirements, and failure modes. A system that only calls a hosted model may use a model trained by another organization; operating that application does not mean the application owner trained the underlying model.[2]
Training performance alone does not establish performance on new cases. A model can fit its training examples while generalizing poorly to data that differs from them. Held-out data and task-appropriate evaluation help measure behavior beyond the examples used to fit the model; the validity of that assessment still depends on how the evaluation data and task were chosen.[2]
Deep dive
An AI System’s Architecture and Boundaries
There is no single mandatory diagram for an AI system. A useful teaching pattern is to follow the flow from request to response:
- Interface: receives a request and communicates status or a result.
- Input boundary: validates fields, size, identity, permissions, and allowed operations.
- Context and data layer: obtains relevant records or documents when the application requires them.
- Model or decision component: performs prediction, classification, generation, ranking, or another task.
- Orchestration and policy: chooses which components to call, in what order, and whether an output requires checks or human approval.
- Output boundary: validates the result, applies product rules, and returns a response or invokes an explicitly authorized action.
- Operations: records appropriate diagnostics, monitors behavior, manages versions, and supports recovery.
This sequence is an original explanatory pattern, not a claim that all systems have these components or always execute them in this order. A small classifier may have a direct input-to-model-to-output path. A document assistant may retrieve records before inference. A high-impact decision workflow may require a person to review results. The right boundary follows the system’s intended task and consequences.[1]
Separating components creates observable responsibilities. If an answer is wrong, investigators can ask whether the cause was a malformed input, stale record, poor retrieval, model behavior, a policy rule, or an output-handling defect. Machine-learning systems can also accumulate less obvious dependencies between data, model components, and downstream consumers, so architectural boundaries should be documented and tested rather than assumed.[10]
Deep dive
How Models Learn: Paradigms and Generalization
Machine learning is one way of constructing a model: a procedure uses examples, objectives, or interaction to determine behavior rather than relying only on hand-authored rules. The following learning paradigms are useful distinctions; deployed systems may combine them or use other methods.[2] [5]
- Supervised learning: training examples include inputs paired with target labels or values. A classifier might learn to map an email representation to a spam/not-spam label.[2]
- Unsupervised learning: methods identify structure in data without supplied task labels, such as grouping or representing examples.[2]
- Self-supervised learning: a training signal is constructed from the data itself. For example, BERT pretraining predicts selected masked tokens from their surrounding context.[16]
- Reinforcement learning: an agent selects actions in an environment and learns from outcomes or reward signals over time. The reward is a designed proxy, and optimizing it does not guarantee that the resulting behavior matches every human goal.[5]
These categories describe training signals, not product architectures. A language model trained with a self-supervised objective may later be tuned or connected to other services; a reinforcement-learning policy may be only one component of a larger control system.[2] [5]
Loss, optimization, and overfitting
A loss function converts model behavior on examples into a quantity that an optimizer can use. The chosen objective shapes what “better” means during training; it is not automatically identical to the real-world goal. For example, optimizing prediction error on a labeled dataset does not by itself determine how a downstream organization should use those predictions.[2]
Generalization is the ability to perform on cases beyond those used for fitting. Overfitting occurs when a model learns details of its training examples that do not transfer well to new cases. A validation set can help with development choices; a final test set is most informative when it is held back from repeated tuning. If people repeatedly make decisions based on a test set, it ceases to be an independent final check.[2]
For a globally deployed system, “new cases” may include shifts in language, user behavior, devices, data collection, or operating context. A score measured on one dataset should therefore be reported with its evaluation scope and limitations, rather than treated as a universal guarantee.[1] [2]
Conceptual diagram
Deep dive
Model Inference: From Tokens to Outputs
The inference mechanism depends on the model family. For a text-generating Transformer, a request is represented as a sequence of tokens, mapped to numerical representations, processed through layers, and used to produce a distribution over possible next tokens. Repeated selection from that distribution forms a generated sequence. This description applies to a common autoregressive language-model pattern; it is not a general account of every AI model.[3]
The Transformer architecture introduced in the paper Attention Is All You Need relies on attention rather than recurrence or convolution in its sequence-transduction design. Its attention operations combine information from positions in a sequence; positional encodings provide position information to that architecture.[3] Whether attention weights count as explanations depends on the explanation criterion. Jain and Wallace report evidence against treating standard attention weights as meaningful explanations in the NLP models they studied,[14] while Wiegreffe and Pinter argue that definitions and evaluation choices matter.[15] These studies do not establish a universal conclusion about every Transformer, internal representation, or modern language model.
An embedding is a numerical representation used by a model or retrieval system. Similarity between embeddings can be useful for finding related items, but a similarity score is not itself proof that a retrieved item is true, relevant, or sufficient. Retrieval needs task-specific evaluation and, where appropriate, additional ranking or filtering.[3] [4]
In generation, the system may select the next token greedily, sample from a distribution, or use another decoding strategy. Different choices can change the output; a fluent sequence is not by itself evidence that its claims are correct. NIST identifies confabulation—content that is false or misleading despite being presented plausibly—as a generative-AI risk.[12]
Deep dive
Architecture Families and System Types
The following categories are an explanatory grouping created for this guide, not an exhaustive or standard taxonomy. They are not mutually exclusive: a single application can use a rules engine, a learned classifier, a generative model, and retrieval in different parts of the workflow.
- Rule-based systems apply explicit conditions and actions authored by people. They can make defined behavior inspectable, but the rules only cover the situations and exceptions that were anticipated.
- Classical machine-learning systems fit statistical models to features and examples. They are often used for prediction, ranking, classification, or anomaly detection.[2]
- Deep-learning systems use neural networks with multiple learned transformations. Their behavior depends on the data, objective, architecture, optimization, and deployment context—not solely on the label “deep learning.”[2]
- Generative systems produce content such as text, images, audio, or other outputs. A generative model may be integrated with search, tools, moderation, or workflow code, but those surrounding elements are application design choices.[12]
- Hybrid systems combine learned models with rules, search, databases, or human decisions. The hybrid label says little about quality; each boundary and interaction still needs evaluation.
The key distinction is between a model capability and an operational system. A model may generate text, while an application decides what context to provide, what actions are permitted, which results to show, and what checks are required before a user relies on them.[1] [10]
Deep dive
Retrieval-Augmented Generation
Retrieval-augmented generation connects a generative model to an external collection of information. In the original RAG research, the model combines parametric memory in model parameters with non-parametric memory represented by an indexed collection, accessed through a learned retriever.[4]
Conceptual diagram
As an HAC engineering recommendation, a practical application might use steps like these:
- Prepare a collection of source records and preserve their provenance and access rules.
- Split or otherwise represent records in units suitable for retrieval. The appropriate unit depends on the source format and task.
- Encode the query and candidate material for retrieval, or use another search method.
- Retrieve a candidate set and optionally rerank or filter it.
- Provide selected context to the model with instructions appropriate to the task.
- Generate a response and apply output checks; show source links when the product can reliably associate claims with retrieved records.
- Evaluate retrieval and answer behavior separately, then evaluate the complete application.
This is an HAC engineering pattern, not a universal RAG recipe or a replication of the original paper’s particular architecture. Chunking, embedding models, reranking, filters, and citation behavior vary by implementation. The original RAG paper evaluated particular architectures and tasks; its results do not guarantee the quality of a different application or corpus.[4]
Retrieval can make information available to a model at request time without putting every source detail into the model’s parameters. That creates a path to update an external index independently from changing the model, but it also introduces new failure points: missing or stale records, unsuitable segmentation, irrelevant retrieval, access-control mistakes, and generated claims that go beyond their supporting context.[4] [12]
“Grounded” should describe an evaluated relationship between output and evidence, not a product label. A system that inserts retrieved text into a prompt can still produce unsupported statements, omit important context, or misrepresent a source. Assess whether retrieval found useful evidence and whether output claims are supported by it.[4] [12]
Deep dive
AI Agents: Tools, State, and Control
For this guide, “agentic system” is an operational label for a system organized around a control loop in which a model or policy selects an action, receives a result from its environment, and may continue. Terminology varies across research and products; an application that makes one model call and returns the result is not automatically an agent.
ReAct is one research approach that interleaves model reasoning and actions in task-solving trajectories. It illustrates one such pattern, not evidence that every application benefits from open-ended autonomy.[6]
Before connecting an agent to tools, specify:
- Allowed actions: which operations are available and which are prohibited.
- Authority: whose identity and permissions an action uses.
- Scope: what resources or records each tool may access.
- Confirmation: which actions require a human to review or approve them.
- State and memory: what information persists, for how long, and under whose control.
- Limits: how many steps, retries, or resources the workflow may consume.
- Audit and recovery: what is recorded appropriately, and how an erroneous action is reversed or contained.
These are engineering controls, not properties automatically supplied by a language model. OWASP describes direct and indirect prompt injection, and notes that RAG or fine-tuning alone does not eliminate this class of risk.[13] HAC additionally recommends enforcing tool permissions in the application and underlying services rather than relying on model instructions.
For consequential or irreversible operations, a safer design may restrict the model to proposing an action while deterministic code and an authorized person retain control over execution. The appropriate level of autonomy depends on the task, impact, and available safeguards; the term “agent” is not a risk assessment.[1] [13]
Deep dive
Data Quality, Provenance, and Governance
Model behavior is shaped by its training and evaluation data, while application behavior may also depend on live records and retrieval collections. Keeping track of where data came from, how it was prepared, what it represents, and which uses are permitted supports reproducibility and responsible review.[1] [7]
The Datasheets for Datasets proposal recommends documenting dataset motivation, composition, collection, and recommended uses. Model cards similarly propose reporting a model’s intended uses, evaluation, and limitations. These documentation approaches improve the information available to reviewers; they do not replace testing, legal review, or contextual judgment.[7] [8]
In an operating system, provenance may include dataset and model versions, retrieval-corpus revisions, preprocessing code, configuration, evaluation records, and release history. This is a practical governance recommendation: the exact record set should be proportionate to the risk and lifecycle of the product.[1] [10]
Privacy and access control must be considered at the actual boundaries where data enters, is retained, is retrieved, or is sent to a model service. A privacy statement or a prompt instruction does not enforce access restrictions; those must be implemented and tested in the application and its infrastructure.[1] [12]
Deep dive
Evaluation and Reliability
Evaluation should begin with a clear task and a defined system boundary. A useful plan asks what a correct result means, which cases matter, what baseline the system must improve upon, and what errors are unacceptable. The answers should be specific to intended use rather than inferred from a general benchmark score.[1]
HAC recommends evaluating components as well as the end-to-end workflow. For a RAG application, separate checks can examine whether relevant documents are retrieved, whether the generated answer is supported by those documents, and whether the final response serves the task. For an agent, tests should also cover tool-selection errors, permission enforcement, loops, and unintended actions. These are recommended test dimensions, not a universal scorecard; the cited research describes particular RAG and ReAct approaches, while OWASP discusses LLM application security risks.[4] [6] [13]
For classification, a confidence score should not automatically be read as a probability that the prediction is correct. Calibration research studies whether predicted probabilities correspond to observed correctness frequencies; Guo and colleagues found calibration issues in the neural-network settings they evaluated and examined post-processing methods such as temperature scaling.[9] That result is specific to their study and does not establish that one calibration procedure is adequate for every system.
Reliability work continues after release. Changes to input data, users, external services, model versions, or operating conditions can change behavior. Record a baseline, monitor relevant signals, investigate regressions, and define a rollback or fallback path before relying on an update.[1] [10]
Conceptual diagram
Deep dive
Failure Modes, Security, Privacy, and Human Oversight
A system can fail in different layers, and symptoms can look alike. A plausible but incorrect generated statement, for example, may arise even when the interface and API are functioning as designed. NIST’s Generative AI Profile identifies risks including confabulation, privacy, and information security; the categories are useful prompts for risk assessment, not an exhaustive list for every product.[12]
Distribution shift occurs when deployed inputs or conditions differ from those represented in development data. A previously measured score may then provide weak evidence about new cases. Monitoring and re-evaluation should focus on meaningful changes in the system’s use and data, rather than assuming that a launch-time benchmark remains valid indefinitely.[1] [2]
Prompt injection attempts to influence model behavior through crafted instructions or content. In connected applications, untrusted text may be retrieved or passed to the model alongside trusted instructions. OWASP describes direct and indirect prompt injection and recommends layered mitigation.[13] HAC recommends treating prompts as untrusted inputs rather than authorization boundaries; enforce authorization in application and service controls.
Error propagation occurs when one incorrect intermediate result influences later steps. Multi-step pipelines and agents can amplify such errors if outputs are accepted without validation. Constrain privileges, validate structured outputs in code, isolate risky operations, and require appropriate human approval for consequential actions.[1] [10] [13]
Human oversight is meaningful only when the person has enough context, authority, and time to intervene. A review checkbox after an irreversible action is not a control. For important decisions, design the workflow so a human can inspect relevant evidence, challenge the recommendation, and decide before the system executes an action.[1]
Deep dive
Production Architecture, Performance, and Cost
Production architecture should make dependencies and failure boundaries explicit. A web API, queue, database, cache, model-serving endpoint, retrieval index, and monitoring service are possible components—not a prescribed stack. Choose them based on workload, availability goals, privacy constraints, latency, operational capacity, and recovery requirements.[1] [10]
A synchronous request-response path can be simple when work finishes within the product’s response budget. Longer jobs may need asynchronous processing, status reporting, retries, and idempotent operations. These are software-engineering choices; the presence of AI does not remove the usual need to handle timeouts, duplicate requests, partial failures, and versioned contracts.[10]
For language-model serving, inference can consume substantial accelerator memory. Autoregressive serving systems may retain key and value state as sequences are generated; PagedAttention research investigates KV-cache memory management for serving multiple requests.[11] The paper’s measured performance belongs to its evaluated systems and workloads and should not be generalized into a guarantee for another deployment.
Measure before optimizing. Depending on the workload, useful metrics may include latency, throughput, resource use, failure rate, quality, and cost per completed task. Batching, caching, smaller or quantized models, and asynchronous execution can change more than one metric at once; validate the resulting quality and operational behavior on the target workload.[2] [10] [11]
Machine-learning systems can also accumulate hidden maintenance costs through entangled components, undeclared consumers, data dependencies, and feedback loops. The system should therefore be treated as maintained software, with ownership, tests, version records, and a release process—not as a one-time model artifact.[10]
Deep dive
Worked Example: A Support-Article Assistant
The following is an illustrative design created by HAC, not an empirical system or a claim about a particular product.
A reader asks a question about a published support article. The application first checks that the request is valid and that the reader may access the relevant material. A retrieval component finds candidate passages from the approved article collection. The application supplies selected passages and the question to a language model, then displays a response with links to relevant source sections.
Each boundary raises a different review question:
- Collection: Are the selected documents current, approved, and accessible to the intended reader?
- Retrieval: Does the candidate set contain relevant passages, including the important caveats?
- Generation: Does the answer stay within what the passages support, and can the reader distinguish a direct quotation from a generated explanation?
- Presentation: Do the links lead to the intended source, and is uncertainty communicated where the evidence is incomplete?
- Operations: Can the team identify which collection and model version produced a response, investigate reports, and revert a faulty update?
Adding retrieval can make external source material available to the model, but it does not by itself prove that the model’s final answer follows that material. The retrieval and response stages need separate tests, and the complete interaction needs end-to-end review.[4] [12]
If the application later gains an action such as changing an account, that is a new authority boundary. The action should not be inferred from a successful answer: permissions, confirmation, and recovery need an explicit design and independent tests.[1] [13]
Deep dive
Choosing Between Design Alternatives
These comparisons are decision prompts, not universal rankings:
- Rules or learned models: explicit rules may suit stable, well-specified conditions; learned models may help where patterns must be inferred from examples. A hybrid is possible. Compare coverage, maintainability, data needs, and error consequences for the actual task.[1] [2]
- Hosted or locally operated models: a hosted service can reduce the need to operate model-serving infrastructure, while local operation can change control, deployment, and resource responsibilities. Evaluate privacy, latency, reliability, cost, operational capacity, and applicable obligations rather than assuming either option is inherently safer or cheaper.[1]
- RAG or fine-tuning: retrieval makes selected external information available at inference time; fine-tuning changes model parameters through additional training. They address different needs and can be combined. Consider how often knowledge changes, whether evidence must be shown, the nature of the task, and what evaluation and data-governance work each approach requires.[2] [4]
- Single step or agent loop: a direct model call is simpler when the task can be completed in one response; an action loop may be useful when the system must interact with an environment. Each additional action introduces authority, state, and failure paths that must be bounded and tested.[6] [13]
- Synchronous or asynchronous execution: use a direct response when the work and user experience support it; use a job workflow when execution duration or retry needs justify the additional status and lifecycle handling.
The strongest choice is the least complex design that meets the task’s measured requirements and can be operated responsibly. Complexity is justified by a concrete need, not by the novelty of a model or architecture.[1] [10]
Deep dive
A Practical System Review
Before building or evaluating an AI-enabled product, ask:
- What task is the system intended to perform, and what is explicitly outside its scope?
- Which parts are models, application code, data services, people, or external dependencies?
- What data enters each boundary, who may access it, and how is its provenance recorded?
- What behavior is measured, against which baseline and evaluation cases?
- Which failures matter most, and how are they detected, contained, and recovered from?
- What actions can the system take, under whose authority, and which require human approval?
- How are model, data, configuration, and application versions connected to a release?
- What evidence would justify changing or expanding the system’s intended use?
These questions adapt NIST’s lifecycle risk-management framing and the operational lessons documented in machine-learning systems research. They are prompts for engineering judgment, not a guarantee that every risk has been found.[1] [10]
Deep dive
Glossary
- AI system (NIST definition): an engineered or machine-based system that can generate outputs for objectives and influence real or virtual environments.[1]
- AI-system boundary (HAC operational framing): the model or other AI method together with relevant data, software, infrastructure, people, procedures, and governance.
- Embedding: a numerical representation used by a model or retrieval method.[3] [4]
- Inference: applying a model to inputs to obtain outputs.[2]
- Loss: an objective value that scores model behavior during a training procedure.[2]
- Model: a computational representation or procedure that maps inputs to outputs.[2]
- Overfitting: fitting to training examples in a way that does not generalize well to new examples.[2]
- RAG: retrieval-augmented generation, a family of approaches combining generative models with retrieved external information.[4]
- Calibration: agreement between predicted confidence probabilities and observed correctness frequencies, for an appropriately defined evaluation setting.[9]
- Prompt injection: crafted input or external content that attempts to alter an LLM application’s intended behavior.[13]
Deep dive
References
- Tabassi, E. (2023). Artificial Intelligence Risk Management Framework (AI RMF 1.0) (NIST AI 100-1). National Institute of Standards and Technology. https://doi.org/10.6028/NIST.AI.100-1
- Goodfellow, I., Bengio, Y., & Courville, A. (2016). Deep Learning. MIT Press. ISBN 978-0-262-03561-3. Official book site
- Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., Kaiser, Ł., & Polosukhin, I. (2017). Attention Is All You Need. Advances in Neural Information Processing Systems, 30, 5998–6008. https://arxiv.org/abs/1706.03762
- Lewis, P., Perez, E., Piktus, A., Petroni, F., Karpukhin, V., Goyal, N., Küttler, H., Lewis, M., Yih, W.-t., Rocktäschel, T., Riedel, S., & Kiela, D. (2020). Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks. Advances in Neural Information Processing Systems, 33. NeurIPS proceedings
- Sutton, R. S., & Barto, A. G. (2018). Reinforcement Learning: An Introduction (2nd ed.). MIT Press. ISBN 978-0-262-03924-6. Publisher page
- Yao, S., Zhao, J., Yu, D., Du, N., Shafran, I., Narasimhan, K., & Cao, Y. (2023). ReAct: Synergizing Reasoning and Acting in Language Models. International Conference on Learning Representations. https://arxiv.org/abs/2210.03629
- Gebru, T., Morgenstern, J., Vecchione, B., Vaughan, J. W., Wallach, H., Daumé III, H., & Crawford, K. (2021). Datasheets for Datasets. Communications of the ACM, 64(12), 86–92. https://doi.org/10.1145/3458723. arXiv preprint
- Mitchell, M., Wu, S., Zaldivar, A., Barnes, P., Vasserman, L., Hutchinson, B., Spitzer, E., Raji, I. D., & Gebru, T. (2019). Model Cards for Model Reporting. Proceedings of the Conference on Fairness, Accountability, and Transparency (FAT* ’19), 220–229. https://doi.org/10.1145/3287560.3287596. arXiv preprint
- Guo, C., Pleiss, G., Sun, Y., & Weinberger, K. Q. (2017). On Calibration of Modern Neural Networks. Proceedings of the 34th International Conference on Machine Learning, 70, 1321–1330. PMLR paper page
- Sculley, D., Holt, G., Golovin, D., Davydov, E., Phillips, T., Ebner, D., Chaudhary, V., Young, M., Crespo, J.-F., & Dennison, D. (2015). Hidden Technical Debt in Machine Learning Systems. Advances in Neural Information Processing Systems, 28, 2503–2511. NeurIPS proceedings
- Kwon, W., Li, Z., Zhuang, S., Sheng, Y., Zheng, L., Yu, C. H., Gonzalez, J. E., Zhang, H., & Stoica, I. (2023). Efficient Memory Management for Large Language Model Serving with PagedAttention. Proceedings of the 29th Symposium on Operating Systems Principles, 611–626. https://doi.org/10.1145/3600006.3613165
- Autio, C., Schwartz, R., Dunietz, J., Jain, S., Stanley, M., Tabassi, E., Hall, P., & Roberts, K. (2024). Artificial Intelligence Risk Management Framework: Generative Artificial Intelligence Profile (NIST AI 600-1). National Institute of Standards and Technology. https://doi.org/10.6028/NIST.AI.600-1
- OWASP GenAI Security Project. (2025). LLM01:2025 Prompt Injection. Accessed October 17, 2026. OWASP risk page
- Jain, S., & Wallace, B. C. (2019). Attention is not Explanation. Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), 3543–3556. https://doi.org/10.18653/v1/N19-1357
- Wiegreffe, S., & Pinter, Y. (2019). Attention is not not Explanation. Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), 11–20. https://doi.org/10.18653/v1/D19-1002
- Devlin, J., Chang, M.-W., Lee, K., & Toutanova, K. (2018). BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding. arXiv:1810.04805. https://arxiv.org/abs/1810.04805
Continue exploring
Explore the broader topics connected to this article.
Recommended reading
Continue with these related articles.
Related content
Continue exploring related ideas and concepts.
machine learning
How AI Models Learn
Explore the fundamental ideas behind training, data, optimization, and model behavior.
Published Aug 31, 2026 · 9 min read
Read articleai systems
What Happens Inside an AI Model?
Understand the main ideas behind inference, representations, and model computation.
Published Aug 31, 2026 · 8 min read
Read article
Continue reading
Continue exploring Hidden AI Concepts.
Foundations
How AI Models Learn
Explore the fundamental ideas behind training, data, optimization, and model behavior.
Published Aug 31, 2026 · 9 min read
Continue to articleRecent editorial content
Discover more of the latest editorial content.