Skip to content

🌐 日本語

Part 1: Understanding the Structural Constraints of LLMs

NOTE

LLMs are not omnipotent. They have structural constraints. Understanding these is the first step to grasping the design philosophy behind Claude Code.

Why You Need to Know About Structural Problems

Claude Code's configuration files (CLAUDE.md, rules/, skills/, hooks, etc.) are not mere "convenience features." They are deliberate design responses to the structural problems inherent in LLMs.

For example:

  • CLAUDE.md's 200-line limit → Countermeasure for Priority Saturation
  • .claude/rules/ conditional injection → Countermeasure for Lost in the Middle
  • Hooks for mechanical verification → Countermeasure for Hallucination

To understand "why configurations are designed this way" (the Why), you first need to understand "what problems LLMs inherently have."

The 8 Structural Problems

LLMs have the following 8 structural problems. These are not "bugs" — they are unavoidable constraints arising from the Transformer architecture and training process.

ProblemIn a NutshellDetails
Context RotOutput quality degrades as tokens increaseEven with 200K capacity, degradation begins at just 50K
Lost in the MiddleInformation in the middle of context is ignoredAttention concentrates on beginning and end, with over 30% accuracy loss in the middle
Priority SaturationOverall compliance drops with too many instructionsWith 10 simultaneous instructions, GPT-4o shows 15% and Claude Sonnet 44% compliance
ProblemIn a NutshellDetails
HallucinationGenerates content that contradicts factsMathematically proven to be "impossible to reduce to zero"
SycophancyAgrees with users at the expense of accuracyA side effect of RLHF. Average 58% compliance rate across all models
Knowledge BoundaryCannot say "I don't know" for out-of-scope questionsNo reward for "I don't know" in the training objective function

Input Sensitivity (Problems dependent on prompt phrasing)

ProblemIn a NutshellDetails
Prompt SensitivityResults vary significantly by phrasingUp to 76 accuracy points difference for the same meaning

Temporal (Problems that worsen as conversations grow longer)

ProblemIn a NutshellDetails
Instruction DecayRules are forgotten in long conversationsA compound result of the above 7 problems. Average 39% performance degradation in multi-turn

Relationships Between Problems

These problems do not exist in isolation — they amplify each other. The diagram below visualizes how the 8 structural problems cascade and reinforce one another.

3 Major Cascades:

  1. Spatial Degradation: Context Rot → Lost in the Middle → Priority Saturation (accelerates as context grows)
  2. Reliability Collapse: Knowledge Boundary → Hallucination ↔ Sycophancy (feedback loop)
  3. Temporal Compound: All 7 problems → Instruction Decay (everything converges in multi-turn)

Structural Problems × Claude Code Countermeasures Map

LLMs have 8 structural problems, and each Claude Code feature is a deliberate design response to these problems. From Part 2 onward, we will examine in detail how each feature addresses these problems.

Structural ProblemOverviewPrimary Countermeasures (Claude Code)Related Docs
Context RotOutput quality degrades as tokens increase/compact, /clear, context budget managementPart 2, 3, 5, 6, 8
Lost in the MiddleInformation in the middle of context is ignored/compact (50% threshold), conditional rules, AgentsPart 2, 4, 5, 8
Priority SaturationOverall compliance drops with too many instructionsCLAUDE.md 200-line limit, .claude/rules/, SkillsPart 3, 4, 5
HallucinationGenerates factually incorrect content (structurally unavoidable)Hooks (mechanical verification), test code, MCPPart 6, 7
SycophancyAgrees with users at the expense of accuracyCross-model QA (Agents), Hooks, question designPart 5, 7
Knowledge BoundaryCannot say "I don't know" for out-of-scope questionsMCP external references, version pinning, specialized AgentsPart 3, 5, 6
Prompt SensitivityResults vary significantly by phrasingCLAUDE.md writing style, Skills description designPart 3, 5
Instruction DecayRules forgotten in long conversations (compound of 7 problems)/compact, /clear, Hooks, session splittingPart 7, 8

For the detailed version, see Structural Problems × Claude Code Countermeasures Map (Appendix).


Next: Part 2: Understanding the Context Window

Released under the CC BY 4.0 License.