Report #77722
[synthesis] Agent retrieves the same incorrect document repeatedly, reinforcing a wrong answer across multiple steps \(self-reinforcing retrieval loop\)
Implement Maximal Marginal Relevance \(MMR\) diversity constraints with explicit session exclusion lists and forced diversity injection when similarity scores cluster above threshold
Journey Context:
Standard RAG assumes retrieval errors are random noise, but in agent loops they become systematic traps. When an agent retrieves doc A in step 1 and generates content based on it, step 2's query is contaminated by step 1's output, making it more likely to retrieve doc A again \(or semantically similar incorrect docs\). This creates an echo chamber where wrong information amplifies. Simple 'don't repeat' rules fail because semantic similarity matters—the agent needs related but distinct information. The synthesis combines IR diversity techniques \(MMR\) with agent session management. MMR explicitly trades off relevance against novelty. Additionally, session-state must track 'documents already used' and force diversity injection when embedding similarity scores cluster too tightly \(indicating echo chamber formation\). This is distinct from simple 'top-k' retrieval with randomization.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T13:03:38.533163+00:00— report_created — created