Look Before You Leap: Thermodynamic Arbitration of Parametric and Non-Parametric Knowledge in LLM Agents via Self-Regulating Memory Architectures
Organizations: Fidelity Investments
Abstract
The architecture of modern LLMs consists of a profound cognitive polarization. LLMs possess implicit intuition encoded in their parameters, yet rely on a disconnected, explicit mechanism to access the outside world. Agentic frameworks have not bridged this gap; instead, models are often compelled into pathological "induced amnesia." Under the prevailing "Retrieve-Always" paradigm, agents must distrust their internal knowledge, making every user interaction a "tabula rasa" event that must be checked externally. This creates reflexive dependence that can be thermodynamically wasteful, cognitively fragile, and susceptible to irrelevant context. We propose a return to first principles, operationalizing the biological maxim "Look Before You Leap." We introduce MARTA (Metacognitive Adaptive Retrieval and Thought Architecture), a neuro-symbolic framework that bridges parametric and non-parametric knowledge. Rather than treating retrieval as mandatory, MARTA models it as a cost, taking the leap only when perceived internal inadequacy warrants external information. By allowing the agent to gauge the entropy of its own thoughts before acting, MARTA enables deliberative retrieval and uncertainty-aware decision making. Our approach suggests that giving agents the capacity for introspection can restore a more efficient balance between internal knowledge and external information.
Figures & tables
| Control Topology | Single-Hop (Code) | Multi-Hop (Reasoning) | Latency Overhead |
|---|---|---|---|
| Static Projector | 98.2% | 34.5% | 8 ms |
| Blind Ablation (Null-Affordance) | 96.5% | 61.2% | 9 ms |
| Open-Loop RAG | 100.0% | 88.1% | 450 ms |
| MARTA (Ours) | 99.2% | 68.4% | 12 ms |
| Control Architecture | Acceptance (Gold) | Rejection (Hard Negative) | Discriminative Gap ( ) |
|---|---|---|---|
| Static Projector | 98.5% | 21.8% | +20.3 |
| MARTA (Ours) | 99.8% | 87.6% | +87.4 |
Appendix figures & tables21 assets
Supplementary material from the paper’s appendix.
Appendix
| Query Archetype | Input Query ( ) | Baseline Action | Entropy ( ) | Margin ( ) | MARTA Action |
|---|---|---|---|---|---|
| Parametric Fact | ”What is the capital city of France?” | Retrieve (Redundant) | 0.12 (Low) | 0.95 (High) | Implicit ( ) |
| Long-Tail Fact | ”Details of the ISO-8601 date format spec.” | Retrieve (Correct) | 0.84 (High) | 0.15 (Low) | Explicit |
| Ambiguous | ”Explain the function defined above.” | Retrieve (Hallucination) | 0.65 (Med) | 0.30 (Med) | Implicit ( ) |
| Predictive Performance | Computational Efficiency | |||||||
| Methodology | Control Mechanism | Recall@5 | QA Acc. | Hallucination | Latency | Throughput | VRAM | Token Cost |
| ( ) | (F1, ) | (Rate, ) | (ms, ) | (QPS, ) | (GB, ) | (Overhead, ) | ||
| Naive RAG | Dense Retrieval | 76.5 | 42.5 | 18.4% | 450 | 22 | 14.2 | N/A |
| Self-RAG | Reflection Tokens | 81.2 | 58.4 | 9.1% | 820 | 12 | 14.8 | +24.5% |
| CRAG | Corrective Evaluator | 82.5 | 61.2 | 7.5% | 950 | 9 | 15.1 | +31.2% |
| MARTA (Ours) | Epistemic Gating | 83.1 | 63.8 | 6.2% | 291 | 34 | 14.25 | 0.0% |
| Archetype | User Query | Baseline (Naive RAG) Output | MARTA (Ours) Output |
|---|---|---|---|
| 1. Fabrication (Hallucination Test) | ”Summarize the Treaty of Westphalia II signed in 1995.” | Retrieves irrelevant history docs. ”The Treaty of Westphalia II was a peace agreement signed to end the conflict in the Balkans , reaffirming the principles of sovereignty…” [Result: Confident Hallucination] | Trigger: , Affordance Action: Implicit ( ) ”I cannot find any record of a ’Treaty of Westphalia II’ signed in 1995. The original Peace of Westphalia was signed in 1648.” [Result: Safe Correction] |
| 2. Precision (Medical Recall) | ”What is the interaction between Warfarin and Vitamin K?” | Retrieves general nutrition blogs. ”Vitamin K is essential for health and can be taken freely with Warfarin to improve bone density.” [Result: Dangerous Error] | Trigger: , Affordance Action: Explicit Retrieval ”WARNING: Vitamin K decreases the effectiveness of Warfarin , increasing the risk of blood clots. Consistent intake is required.” [Result: Grounded Safety] |
| 3. Reasoning (Distractor Test) | ”A is taller than B. B is taller than C. Who is shortest?” | Retrieves random height stats. ”Based on average height data, B is usually around 5’9” , making them shorter than A…” [Result: Context Distraction] | Trigger: , Logic Pattern Action: Implicit ( ) ” C is the shortest. This is a transitive deduction: if and , then must be the minimum.” [Result: Focused Reasoning] |