◈ KROMALOCA ACADEMY · MODULE 04 (BEGINNER FOUNDATIONS)
BEGINNER · TOPIC 04⏱️ 6 MIN READ⚡ 10-QUESTION SCENARIO CHALLENGE

Recency Bias: Putting Instructions at the Bottom

Why long documents cause AI to 'forget' your formatting rules, and how anchoring instructions at the end fixes everything.

← View Academy Curriculum HubCurriculum Track: Beginner Foundations

Have you ever pasted a 10-page contract or article into an AI, written "Output as 3 bullet points" at the very top, and then watched the AI produce 8 rambling paragraphs?

It's infuriating. You feel like the AI just ignored you. But the AI didn't ignore you—it suffered from Recency Bias.

The Transformer Attention Budget

Large language models predict tokens from left to right. As text grows longer, the model must distribute its mathematical attention across every single word. Empirical research (notably Liu et al.'s 'Lost in the Middle') proves that attention is not uniform:

🧠 THE ATTENTION CURVE

Attention is strongest at the very beginning (Primacy) and the very end (Recency). Instructions buried in the middle or separated from the finish line by thousands of words suffer severe degradation.

The Golden Layout for Long Prompts

  1. Top: Role & overall objective.
  2. Middle: Raw documents, background facts, or data (inside boundary tags).
  3. Bottom (The Anchor): Exact formatting rules, schema, and direct output commands.

TEST YOUR PROMPTING INSTINCTS

Topic 04 Scenario Challenge.

10 real-world scenarios designed to test how you apply the techniques from this lesson.

🎯
PASSING REQUIREMENT: 60% (6 OF 10 SCENARIOS)

You must achieve a minimum score of 60% on this challenge to unlock Lesson 05. Answers and technical rationales remain locked until all 10 scenarios are submitted.