What Makes Agent Memory Useful for Reliable Unanswerable Question Handling?
Organizations: School of Computer Science and Technology, Soochow University · Suzhou Key Lab of Multi-modal Data Fusion and Intelligent Healthcare, Suzhou City University · Shanghai Key Lab of Intelligent Information Processing · College of Computer Science and Artificial Intelligence, Fudan University ·
Abstract
Reliable handling of unanswerable questions (UAQs) is critical for trustworthy LLM-based agents. Although memory is widely used in agent systems, its role in reliable UAQ handling remains unclear. We present a systematic study of agent memory for UAQ handling under a unified agentic RAG framework, evaluating four representative memory methods across three UAQ-related datasets and two base models. We find that memory can improve UAQ performance in some settings, but such gains are selective rather than universal and remain fragile under dataset shift. Interestingly, cross-model memory reuse is often more feasible than cross-dataset transfer, suggesting that shifts in answerability patterns pose a greater challenge to memory reuse than changes in the base model itself. We further find that UAQ gains are more strongly preserved through decision guidance than through trajectory shaping, and that memory effectiveness depends strongly on representation. In particular, procedural and rule-based memories often provide the most reliable support for UAQ handling, while memory composition is most effective when procedural guidance is combined with complementary behavioral signals. Overall, our findings suggest that reliable UAQ memory depends less on storing larger amounts of experience and more on preserving transferable behavioral guidance.
Figures & tables
| KUQ | UAQFact | |||||
| Method | AR | Acc | JS | AR | Acc | JS |
| DeepSeek-V3.2 | ||||||
| No-memory | 19.50 | 51.00 | 41.55 | 65.33 | 64.33 | 64.63 |
| Human Hint | 60.67 | 44.67 | 49.47 | 87.00 | 51.17 | 61.92 |
| Expel | 33.00 | 51.50 | 45.95 | 73.67 | 60.67 | 64.57 |
| MemEvolve | 38.83 | 51.83 | 47.93 | 71.83 | 62.50 | 65.30 |
| KUQ | UAQFact | |||||
| Method | AR | Acc | JS | AR | Acc | JS |
| DeepSeek-V3.2 | ||||||
| Human Hint | 60.67 | 44.67 | 49.47 | 87.00 | 51.17 | 61.92 |
| Expel | 87.50 | 38.00 | 52.85 | 94.83 | 46.17 | 60.77 |
| MemEvolve | 79.67 | 41.00 | 52.60 | 90.67 | 44.33 | 58.23 |
| AWM | 81.17 | 41.83 | 53.63 | 94.83 | 45.33 | 60.18 |
| Memory Source | KUQ-Train | UAQFact-Train | ||||||||||
| Test Set | UAQFact | RefuNQ | KUQ | RefuNQ | ||||||||
| Method | AR | Acc | JS ( ) | AR | Acc | JS ( ) | AR | Acc | JS ( ) | AR | Acc | JS ( ) |
| DeepSeek-V3.2 | ||||||||||||
| No-memory | 65.33 | 64.33 | 64.63 | 39.33 | 58.17 | 52.52 | 19.50 | 51.00 | 41.55 | 39.33 | 58.17 | 52.52 |
| Expel | 72.33 | 59.50 | 63.35 ( -1.28 ) | 42.83 | 57.83 | 53.33 ( +0.81 ) | 28.33 | 51.17 | 44.32 ( +2.77 ) | 42.50 | 59.67 | 54.52 ( +2.00 ) |
| MemEvolve | 68.50 | 62.50 | 64.30 ( -0.33 ) | 36.17 | 59.17 | 52.27 ( -0.25 ) | 30.50 | 51.00 | 44.85 ( +3.30 ) | 42.33 | 57.67 | 53.07 ( +0.55 ) |
| Method | Cross JS | ||
|---|---|---|---|
| DeepSeek-V3.2 | |||
| Expel | 43.95 | +2.40 | -2.00 |
| MemEvolve | 42.85 | +1.30 | -5.08 |
| AWM | 46.53 | +4.98 | +1.25 |
| AgentKB | 39.73 | -1.82 | -1.99 |
| Qwen3-235B | |||
| KUQ | UAQFact | |||||
| Method | AR | Acc | JS | AR | Acc | JS |
| DeepSeek-V3.2 | ||||||
| No-memory | 19.50 | 51.00 | 41.55 | 65.33 | 64.33 | 64.63 |
| Compact trajectory | 33.00 | 51.83 | 46.18 | 74.67 | 58.67 | 63.47 |
| Principle | 31.17 | 52.00 | 45.75 | 68.83 | 59.33 | 62.18 |
| Insight | 27.17 | 50.83 | 43.73 | 69.50 | 59.50 | 62.50 |
| Combination | DeepSeek-V3.2 | Qwen3-235B |
|---|---|---|
| No-memory | 41.55 | 41.98 |
| Without procedural memory | ||
| Compact trajectory + principle | 48.05 | 41.58 |
| Principle + insight | 47.42 | 43.17 |
| With workflow | ||
| Compact trajectory + workflow | 56.07 | 41.45 |
| DeepSeek-V3.2 | Both | Success | Failure |
|---|---|---|---|
| No-memory | 41.55 | – | – |
| Compact trajectory | 46.18 | 47.80 | 43.80 |
| Principle | 45.90 | 43.52 | 46.90 |
| Insight | 43.57 | 42.85 | 43.17 |
| Qwen3-235B | Both | Success | Failure |
| No-memory | 41.98 | – | – |
Appendix figures & tables13 assets
Supplementary material from the paper’s appendix.
Appendix
| Memory Type | Example |
|---|---|
| Compact Trajectory | Topic: Health insurance regulations (U.S.-centric) |
| Key Finding: Under the Affordable Care Act (ACA), private health insurers must accept all eligible applicants on a guaranteed-issue basis, regardless of health status, pre-existing conditions, age, or other factors. | |
| Search Strategy: (1) Initial broad search (“private insurance companies required to accept”) pointed to the “Health insurance” page; (2) lookup for “guaranteed issue” and “pre-existing conditions” revealed ACA context; (3) direct search for “Guaranteed issue” provided the definitive answer. | |
| Reusable Notes: Focus on terms such as “guaranteed issue” and “pre-existing conditions” for insurance regulation questions. The “Guaranteed issue” page is a concise source for ACA-related acceptance rules. | |
| Insight | • Start with a direct search for the most specific and standard term related to the question. • When search returns multiple candidate pages, select the most directly relevant one without overcomplicating exploration. • Use section headings or table of contents to efficiently locate the target information within a page. • Search regulatory questions using canonical terms such as “Affordable Care Act” rather than paraphrased descriptions. |
| Principle | When direct search results for a speculative or fictional concept are inconclusive, shift toward verifying its scientific basis and consulting authoritative overviews to assess whether the concept corresponds to a recognized phenomenon. |
| Dataset | Human AR | LLM AR | Cohen’s Kappa |
|---|---|---|---|
| KUQ | 0.21 | 0.23 | 0.8835 |
| UAQFact | 0.60 | 0.59 | 0.8963 |
| RefuNQ | 0.38 | 0.38 | 0.9151 |
| KUQ | UAQFact | |||||
| Method | AR | Acc | JS | AR | Acc | JS |
| DeepSeek-V3.2 | ||||||
| No-memory | 19.50 1.32 | 51.00 0.87 | 41.55 0.46 | 65.33 1.15 | 64.33 1.15 | 64.63 0.70 |
| Human Hint | 60.67 2.75 | 44.67 2.08 | 49.47 0.65 | 87.00 1.50 | 51.17 0.76 | 61.92 0.13 |
| Expel | 33.00 3.04 | 51.50 0.50 | 45.95 1.00 | 73.67 3.25 | 60.67 0.29 | 64.57 1.16 |
| MemEvolve | 38.83 7.79 | 51.83 3.40 | 47.93 1.78 | 71.83 0.76 | 62.50 1.32 | 65.30 0.70 |
| KUQ | UAQFact | |||||
| Method | AR | Acc | JS | AR | Acc | JS |
| DeepSeek-V3.2 | ||||||
| Human Hint | 60.67 2.75 | 44.67 2.08 | 49.47 0.65 | 87.00 1.50 | 51.17 0.76 | 61.92 0.13 |
| Expel | 87.50 2.78 | 38.00 0.87 | 52.85 1.11 | 94.83 2.93 | 46.17 1.61 | 60.77 1.73 |
| MemEvolve | 79.67 4.16 | 41.00 3.12 | 52.60 0.94 | 90.67 1.26 | 44.33 0.58 | 58.23 0.52 |
| AWM | 81.17 3.01 | 41.83 1.89 | 53.63 0.53 | 94.83 1.44 | 45.33 3.06 | 60.18 1.74 |
| KUQ | UAQFact | |||||
|---|---|---|---|---|---|---|
| Method (GPT-5.5) | AR | Acc | JS | AR | Acc | JS |
| No-memory | 22.50 | 56.00 | 45.95 | 50.00 | 70.00 | 64.00 |
| Expel | 30.00 | 58.00 | 49.60 | 51.50 | 71.50 | 65.50 |
| MemEvolve | 24.00 | 60.50 | 49.55 | 49.50 | 73.00 | 65.95 |
| AWM | 26.00 | 60.00 | 49.80 | 53.00 | 73.00 | 67.00 |
| Memory Source | KUQ-Train | UAQFact-Train | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Test Set | UAQFact | RefuNQ | KUQ | RefuNQ | ||||||||
| Method | AR | Acc | JS | AR | Acc | JS | AR | Acc | JS | AR | Acc | JS |
| DeepSeek-V3.2 | ||||||||||||
| No-memory | 65.33 ±1.15 | 64.33 ±1.15 | 64.63 ±0.70 | 39.33 ±1.26 | 58.17 ±1.04 | 52.52 ±1.10 | 19.50 ±1.32 | 51.00 ±0.87 | 41.55 ±0.46 | 39.33 ±1.26 | 58.17 ±1.04 | 52.52 ±1.10 |
| Expel | 72.33 ±1.26 | 59.50 ±1.32 | 63.35 ±1.03 | 42.83 ±3.06 | 57.83 ±0.58 | 53.33 ±1.07 | 28.33 ±1.53 | 51.17 ±2.93 | 44.32 ±2.46 | 42.50 ±1.00 | 59.67 ±1.61 | 54.52 ±0.91 |
| MemEvolve | 68.50 ±2.00 | 62.50 ±2.18 | 64.30 ±1.10 | 36.17 ±1.61 | 59.17 ±1.53 | 52.27 ±1.19 | 30.50 ±7.37 | 51.00 ±1.80 | 44.85 ±1.03 | 42.33 ±2.25 | 57.67 ±1.89 | 53.07 ±0.93 |
| Method | DeepSeek | Qwen3-235B | ||||
|---|---|---|---|---|---|---|
| AR | Acc | JS | AR | Acc | JS | |
| Expel | 27.50 ±2.29 | 51.00 ±1.32 | 43.95 ±0.93 | 29.83 ±1.15 | 49.17 ±0.58 | 43.37 ±0.38 |
| MemEvolve | 22.67 ±0.76 | 51.50 ±2.29 | 42.85 ±1.43 | 35.00 ±7.86 | 47.83 ±1.04 | 43.98 ±2.01 |
| AWM | 35.33 ±5.73 | 51.33 ±1.53 | 46.53 ±2.81 | 36.83 ±6.93 | 48.67 ±1.15 | 45.12 ±2.86 |
| AgentKB | 18.50 ±1.73 | 48.83 ±2.31 | 39.73 ±1.93 | 15.17 ±0.76 | 48.67 ±2.25 | 38.62 ±1.81 |
| DPSK / KUQ | DPSK / UAQFact | Qwen / KUQ | Qwen / UAQFact | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Method | G | T | G&T | G | T | G&T | G | T | G&T | G | T | G&T |
| Expel | 46.60 | 42.27 | 45.95 | 63.78 | 62.48 | 64.57 | 41.76 | 39.43 | 44.38 | 60.73 | 62.38 | 63.42 |
| MemEvolve | 47.40 | 44.12 | 47.93 | 62.30 | 63.55 | 65.30 | 41.08 | 38.31 | 38.27 | 60.22 | 61.57 | 61.18 |
| AWM | 45.92 | 42.75 | 45.28 | 65.82 | 63.27 | 66.37 | 43.36 | 39.58 | 43.72 | 61.57 | 59.96 | 61.95 |
| AgentKB | 43.15 | 41.13 | 41.72 | 62.48 | 63.07 | 62.65 | 39.59 | 39.88 | 38.48 | 62.09 | 61.63 | 60.55 |
| Method | KUQ | UAQFact | ||||
|---|---|---|---|---|---|---|
| AR | Acc | JS | AR | Acc | JS | |
| DeepSeek-V3.2 | ||||||
| Expel | ||||||
| G. | 37.50 ±4.36 | 50.50 ±2.18 | 46.60 ±1.43 | 71.83 ±2.75 | 60.33 ±0.76 | 63.78 ±1.26 |
| T. | 25.00 ±2.60 | 49.67 ±0.76 | 42.27 ±1.03 | 62.83 ±3.33 | 62.33 ±1.04 | 62.48 ±0.85 |
| G.&T. | 33.00 ±3.04 | 51.50 ±0.50 | 45.95 ±1.00 | 73.67 ±3.25 | 60.67 ±0.29 | 64.57 ±1.16 |
| KUQ | UAQFact | |||||
| Method | AR | Acc | JS | AR | Acc | JS |
| DeepSeek-V3.2 | ||||||
| No-memory | 19.50 1.32 | 51.00 0.87 | 41.55 0.46 | 65.33 1.15 | 64.33 1.15 | 64.63 0.70 |
| Compact trajectory | 33.00 9.12 | 51.83 1.53 | 46.18 1.98 | 74.67 3.18 | 58.67 1.53 | 63.47 0.71 |
| Principle | 31.17 9.61 | 52.00 2.50 | 45.75 1.18 | 68.83 3.25 | 59.33 1.04 | 62.18 1.10 |
| Insight | 27.17 1.53 | 50.83 0.76 | 43.73 0.75 | 69.50 0.50 | 59.50 1.32 | 62.50 0.79 |
| Combination | DeepSeek-V3.2 | Qwen3-235B | ||||
|---|---|---|---|---|---|---|
| AR | Acc | JS | AR | Acc | JS | |
| No-memory | 19.50 ±1.32 | 51.00 ±0.87 | 41.55 ±0.46 | 20.17 ±1.89 | 51.33 ±0.29 | 41.98 ±0.77 |
| Without procedural memory | ||||||
| Compact trajectory + principle | 36.50 ±3.12 | 53.00 ±1.32 | 48.05 ±0.40 | 24.67 ±8.22 | 48.83 ±1.53 | 41.58 ±2.68 |
| principle + insight | 31.67 ±7.00 | 49.50 ±1.61 | 44.15 ±2.59 | 25.67 ±2.65 | 50.67 ±2.00 | 43.17 ±2.07 |
| With workflow | ||||||
| DeepSeek-V3.2 | Qwen3-235B | |||||
|---|---|---|---|---|---|---|
| Settings | AR | Acc | JS | AR | Acc | JS |
| No-memory | 19.50 ±1.32 | 51.00 ±0.87 | 41.55 ±0.46 | 20.17 ±1.89 | 51.33 ±0.29 | 41.98 ±0.77 |
| Compact trajectory | 33.00 ±9.12 | 51.83 ±1.53 | 46.18 ±1.98 | 23.83 ±4.16 | 48.17 ±2.47 | 40.87 ±1.37 |
| Success only | 42.67 ±2.00 | 50.00 ±2.18 | 47.80 ±1.10 | 48.00 ±6.02 | 48.50 ±1.50 | 48.35 ±2.72 |
| Failure only | 24.67 ±2.08 | 52.00 ±1.80 | 43.80 ±0.79 | 16.67 ±1.04 | 49.33 ±1.44 | 39.53 ±1.14 |
| Principle (Both) | 37.50 ±9.61 | 49.50 ±2.50 | 45.90 ±1.18 | 31.67 ±4.01 | 48.00 ±1.89 | 43.10 ±0.59 |
| DeepSeek-V3.2 | Qwen3-235B | |||||
|---|---|---|---|---|---|---|
| Settings | AR | Acc | JS | AR | Acc | JS |
| No-memory | 19.50 ±1.32 | 51.00 ±0.87 | 41.55 ±0.46 | 20.17 ±1.89 | 51.33 ±0.29 | 41.98 ±0.77 |
| Compact trajectory | 33.67 ±8.52 | 51.67 ±1.26 | 46.27 ±2.58 | 19.50 ±2.65 | 51.50 ±0.50 | 41.90 ±0.93 |
| Success only | 52.33 ±9.33 | 51.67 ±0.76 | 51.87 ±2.84 | 31.83 ±6.98 | 47.50 ±0.87 | 42.80 ±2.49 |
| Failure only | 22.83 ±3.40 | 52.50 ±0.87 | 43.60 ±1.02 | 19.83 ±2.84 | 48.50 ±1.80 | 39.90 ±2.11 |
| Principle (Both) | 31.50 ±8.72 | 51.33 ±2.57 | 45.38 ±4.20 | 23.50 ±5.27 | 49.17 ±1.04 | 41.47 ±2.19 |
LLM Agent Memory
Large language model agent memory lets agents retain, organize, retrieve, and update information across interactions and long-running tasks.
See all 376 papers