Model and System Behavior
Use this background to form questions about a product. It does not identify the cause of an incident.
A bounded model of text generation
For a conventional autoregressive Transformer language model:
- A tokenizer represents text as tokens.
- The model processes the supplied sequence using learned parameters and positional information.
- It scores possible next tokens conditioned on the input and generated prefix.
- A decoding procedure selects a continuation, and generation proceeds.
The Transformer architecture uses attention and other transformations to combine information across positions. This describes computation, not a guarantee that every fact will be used correctly. The original paper studies an encoder-decoder architecture; it is background for the Transformer family, not a specification of every current model. Vaswani et al., Attention Is All You Need.
For a fixed model checkpoint under ordinary inference, examples supplied in context can change behavior without changing the weights. Brown et al. demonstrate this in GPT-3 on the tasks they study. This distinguishes information supplied for a run from training or fine-tuning. Language Models are Few-Shot Learners.
For a specific product, inspect its actual interface, context limits, model version, and decoding settings. A hosted service can manage history, retrieval, caching, or other state outside the model. “The model is stateless” is too imprecise to describe that whole service.
Research findings with limited scope
Sources: Liu et al., Lost in the Middle; Turpin et al., Language Models Don’t Always Say What They Think; Wallace et al., The Instruction Hierarchy.
These studies motivate checks. They do not make the former stack’s mechanism labels established diagnoses, and they do not establish current performance across all models.
Inspect the whole application
These are observable system questions, not a taxonomy of universal AI properties. Some apply equally to ordinary software.
Feedback can change future inputs
A generated answer might be copied into a knowledge base, indexed, and retrieved later. A workflow can also update records that become inputs to later decisions.
When this happens, distinguish original evidence, generated material, and reviewed corrections. A claim appearing in a later source does not independently corroborate it if that source copied the original output.
Similarly, a click, accepted draft, or saved summary records an event in the workflow. Check what it means before treating it as a correctness label. The product may have influenced what was available to select or how expensive correction was.
This is a possible failure path to inspect when the product stores its own output; no local occurrence is claimed here.
Limits of attribution
A trace can show what input reached a call, which action was attempted, and what state changed. It may narrow a diagnosis considerably without revealing the model’s internal mechanism.
Do not infer an attention failure from an omitted fact, a competence boundary from one failure, or accurate probability calibration from confident language. Write the observation precisely, consider alternatives, and choose a check.
A control that blocks a particular bad result may be useful even while its internal model cause remains unknown. Keep that engineering decision separate from the explanatory claim.
Library sources
- Ma et al. 2025, Diagnosing Failure Root Causes in Platform-Orchestrated Agentic Systems (arXiv:2509.23735)