- Rating
- 4
- Clarity
- 3
- Confidence
- 4
- Originality
- 3
- Quality
- 2
- Significance
- 3
Read review
Summary
This paper proposes TIMA, a framework that equips LLM agents with latent memory continuously updated during deployment via self-supervised learning. Existing methods either use text-based memory that consumes context budget or use latent memory modules frozen at test time. TIMA bridges this gap with: (1) a memory-augmented agent loop injecting latent memory tokens at each turn; (2) an Internalizer (Qwen2.5-1.5B with LoRA) updated online by minimizing the NLL of the agent's own composite actions; and (3) an Internalizer Bank that stores, retrieves, and updates multiple Internalizer instances across episodes. An entropy-aware filtering mechanism selects only low-uncertainty turns for updates. Experiments on eight benchmarks spanning math reasoning, code generation, multi-hop QA, and interactive agents demonstrate consistent improvements over textual-memory (A-Mem), latent-memory (MemGen, Titans), and RL-augmented (Search-R1) baselines.
Strengths and weaknesses
Strengths
Quality
- The TTL (Test-Time Learning) objective is well-motivated: using the agent's own next composite action as self-supervision is a natural extension of test-time training to the agentic setting.
- The experimental coverage is broad — four task families, eight benchmarks, two backbones — and the gains are consistent.
- The ablation studies (memory token count, LoRA rank, entropy threshold) are informative and isolate the contribution of individual design choices.
Significance
- This paper tackles an important problem: how to give LLM agents continuously evolving latent memory.
- The demonstrated gains on interactive benchmarks (ALFWorld, WebShop) are particularly noteworthy, as they require multi-step compositional reasoning that benefits most from cross-episode memory transfer.
Originality
- While test-time memory updating (Titans) and latent memory for agents (MemGen) each exist independently, TIMA contributes a specific self-supervised objective tailored to the agent trajectories.
- The Internalizer Bank with retrieval-and-update semantics is a thoughtful organizational mechanism that extends beyond single-episode adaptation.
Weaknesses
Quality
- The self-supervised objective reinforces the agent's own predictions — either correct or incorrect. The NLL objective has no access to outcome feedback (task success/failure). Bad trajectories are internalized just as good ones, as long as they are low-entropy, creating a self-reinforcing loop where systematic errors become difficult to change. In contrast, RAG-style text memory has two advantages here: (1) bad trajectories can be filtered out post-hoc based on outcome signals, and (2) even when bad examples are retrieved, the agent can explicitly reason about them in context — recognizing them as negative examples to avoid. TIMA's latent memory offers no such reflection.
- The paper does not adequately address the trade-off between latent memory and text-based memory regarding forgetting. RAG-style methods store experiences as discrete, immutable entries. TIMA's design introduces an inherent forgetting problem: because there is no retrieval similarity threshold, every incoming task retrieves some Internalizer and updates its parameters, drifting weights away from what was previously learned. Figure 5 shows that low-entropy selection slows forgetting but does not eliminate it. This drift compounds over long deployment horizons: early tasks' performance could degrade substantially when they reappear. The paper only evaluates forgetting over 5 blocks, far from realistic long-term deployment, and does not discuss when RAG-style memory might be preferable.
- Unclear fairness of the experimental comparison. TIMA accumulates information across the test stream: each test task's trajectory updates the Internalizer and potentially grows the bank, so later test tasks benefit from earlier ones. The paper never clarifies whether the other baselines (Vanilla, CoT, RAG, A-Mem, MemGen, Search-R1) also process the test stream sequentially with cross-task memory accumulation. (Only Titans is explicitly described as performing test-time updates, making it a fair comparison.) For the remaining baselines, if they treat each test task independently while TIMA benefits from cross-task information flow, the comparison is fundamentally unfair. The authors must explicitly state the evaluation protocol for every baseline.
- The warm-start procedure (initializing the bank with 20 entries from training data) is a reasonable design choice, but the paper lacks a proper ablation to isolate its contribution. The existing "TIMA w/o TTL" ablation still uses the warm-started bank, conflating retrieval benefit with initialization quality. A cold-start ablation is needed to decompose the gains into warm-start vs. TTL components.
- The paper is vague about how much training data is used for the warm-start: "samples drawn from each dataset's training split". Since baselines like Vanilla and CoT use no training data at all, the authors should report the exact number of warm-start examples per benchmark and discuss whether giving baselines access to similar amounts of data.
Clarity
- The distinction between "seed" and "spec" Internalizer entries (Algorithm 1) is central to how the bank evolves but is never explained in the main text. The bank growth mechanism is the key logic governing how the bank expands and eventually saturates. Without this explanation, Figure 4 (right) is essentially uninterpretable to a reader who has not read the appendix algorithm. The authors should move this mechanism into the main text.
- The sliding window size is mentioned but not motivated. Why is a single previous turn sufficient context for the Internalizer?
Questions
- Figure 4 (left) shows cumulative accuracy dropping in the initial steps before stabilizing. Is it because the entropy threshold is cold-started for the first 100 steps, during which noisy gradients may degrade the Internalizer? The authors could consider adding a short stabilization phase: running a few additional training-data tasks after warm-start but before evaluation begins.
- The notation could be streamlined — is used for both generic Internalizer parameters and the retrieved instance. Consider using distinct symbols to improve readability.
Limitations
The paper acknowledges the finite set of task families and test-time computation overhead in Appendix F.1, but does not adequately address cost-effectiveness:
- The Internalizer is a 1.5B parameter model, making the "lightweight" characterization misleading, especially when the backbone is 3B (Llama3.2-3B), where the Internalizer adds 50% overhead in parameters.
- An ablation over Internalizer scale (e.g., 125M, 350M, 1.5B) is needed to determine whether a much smaller model suffices.
- The per-turn compute cost of the TTL backward pass relative to forward inference is not quantified.
- The memory footprint of the Internalizer Bank (multiple LoRA-adapted 1.5B-parameter instances) has non-trivial storage cost that should be quantified, especially as the bank grows.
Paper formatting concerns
N/A
Final justification
Overall, the core contribution (test-time adaptation for agentic latent memory) is real, the experimental evidence is now statistically sound, and the comparison is fair. The two unresolved issues are genuine structural limitations but not fatal flaws — they bound the method's applicability rather than invalidating it.
A1: Thank you for your comment. We hope the following points address your concern:
Due to space constraints, we refer the reviewer to Response A3 to Reviewer BH8X for a detailed mechanistic explanation. We provide (i) the association between the negative entropy of each composite action and the final success label of its corresponding trajectory, and (ii) a comparison of the accuracy of entropy-retained versus discarded turns. Together, these results support both the rationale behind our low-entropy selection and the effectiveness of self-NLL learning.
Regarding RAG-style textual memory, we acknowledge that, when reliable outcome feedback is available, it facilitates filtering failed trajectories and explicitly reflecting on them.
A2: We thank the reviewer for raising the important issue of long-term forgetting. We would like to highlight the following two points:
[1] On the Stability-Plasticity Dilemma in Continual Meta-Learning: Theory and Algorithm. NeurIPS 2023.
A3: Thank you for your thoughtful comments. We fully understand your concern and address it from the following aspects:
A4: We thank the reviewer for the questions regarding our warm-start setting. We hope the following points address these concerns:
We will move the detailed warm-start protocol to the Implementation Details in the revised version.
A5: Thank you for this insightful suggestion. We explicitly define the two entry types here:
A6: Thank you for raising this point. We have added an ablation study on the context-window size. Both the results and our intuition indicate that w=1 provides sufficient information about the current interaction state through the most recent action–observation pair, whereas larger windows introduce redundant contextual information and degrade performance.
Table A6. Context-window size ablation on GSM8K, KodCode, and 2Wiki.
A7: Thanks for the thoughtful question. Figure 4 (left) reports cumulative accuracy up to each evaluation step. At the beginning of the test stream, this estimate is based on only a small number of examples and is therefore highly sensitive to individual difficult or failed cases. As more examples are observed, such fluctuations naturally diminish and the curve gradually stabilizes. The similar early-stage trend observed for Vanilla, which does not perform test-time updates, further supports this explanation. Nevertheless, we acknowledge that cold-start calibration may introduce additional noise during the initial stage. We appreciate the reviewer's suggestion and will introduce a short stabilization phase after warm-start and before formal evaluation in the camera-ready version. We will also revise the discussion and the caption of Figure 4 to explicitly clarify this early-stage behavior.
A8: Thanks for this helpful suggestion. We agree that distinguishing the generic Internalizer parameters from the retrieved instance would improve readability. In the revised version, we will use ϕ only for generic Internalizer parameters, ϕi for the parameters stored in the i-th bank entry, and ϕ~←ϕi∗ for the retrieved working instance that is updated during the current task. We will apply this notation consistently throughout Section 4, Equation 9, and Algorithm 1.
A9: Thank you for raising these questions. For the parameter efficiency and computational efficiency of our method, as well as the 1.5B-parameter ablation, please refer to A2 to Reviewer BH8X and A4 to Reviewer zFFc. In addition, with Llama as the backbone, we conducted an ablation using Qwen2.5-0.5B-Instruct, which introduces fewer additional parameters and lower overhead relative to Llama as the Internalizer. The results show that our method remains effective, with a slight decrease in accuracy. We will also revise the term "lightweight" in the original manuscript.
Table A9. Internalizer-size ablation on Llama3.2-3B-Instruct.
A10: Thank you for raising these efficiency-related limitations. Due to the word limit, please refer to A4 and A5 to Rev. zFFc, where we provide a breakdown of the computational cost and an analysis of the bank's storage footprint.