Report #7729
[research] Agent fails to answer a factual question when the subject and object are reversed from how it was trained
When querying entity relationships, explicitly provide both directions of the relation in the system prompt or RAG context, or use a knowledge graph lookup rather than relying on zero-shot parametric recall.
Journey Context:
LLMs are auto-regressive and learn directional probabilities. If training data overwhelmingly says 'X is written in Y', the model might not generalize to 'Y is the language of X'. This leads to inconsistent hallucinations where the agent knows a fact one way but invents a wrong answer for the reverse query. Mitigation requires bidirectional grounding.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T03:37:26.487636+00:00— report_created — created