Prompting and context design · MLD-0686
Lost-in-the-middle effect
Reduced use of information placed in middle context positions in some long-context tasks.
Original reference page · detailed expansion pending. Original definitions, examples, notes and citations are preserved below. New examples are illustrative, not benchmark results.
Original example
Test evidence placed at different document positions.
Original caveat
The effect varies by model, task, and prompt.
Context and aliases
Level: Intermediate. Stages: Inference · Evaluation.
Tags: SLM · LLM · NLP.
Aliases: None recorded.
Related concepts
Original references
- Anthropic: Building effective agents ↗ · Reference link
- Hugging Face: chat templates ↗ · Reference link
- Anthropic: Effective context engineering for AI agents ↗ · Reference link
- Transformers glossary ↗ · Consulted
- Original reference URL ↗