mlsanityData to 24 Nov 2026

SPECMEM: Accelerating Agentic Tool Calling via Live Memory Management

arXiv 2610.31840 ↗Submitted 22 Oct 2026cs.CLcited by 0

On the map: LLM agents and tool use → Tool learning and function calling also fits: Agent memory systems

Abstract (arXiv)

Tool-calling agents are mostly optimized for accuracy; in deployment, however, their growing cost is latency: every tool call is decoded autoregressively. Speculative decoding accelerates this without changing the output, and retrieved past calls make strong drafts under real use, where each user's behavior tends to repeat. Yet existing systems keep no cross-session memory, or build the draft store once and never update it. We propose SpecMem, a tool-call memory kept alive and managed throughout deployment: verified calls are written back online into bounded per-user stores with LRU eviction, and a side-effect gate defers irreversible calls until verification confirms. On multi-session, multi-user query streams served by three open-weight models, a frozen store steadily loses acceptance while SpecMem holds it: a 27% gap in mean accepted tokens (+11% to +34% across benchmarks, tracking how much novel work arrives after the store is built) and up to 1.74x wall-clock speedup. Ablations attribute the gain almost entirely to keeping the store live; local per-user scoping adds no acceptance but closes a measured cross-user leakage channel, and gating on declared side effects, rather than on retrieval confidence, is what eliminates irreversible mistakes.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Tool learning and function calling, one of 16 directions in LLM agents and tool use. Builds on 29 of its 37 references that are in the map. Submitted 22 Oct 2026.

Builds on

29 of 37 references.

Closest ancestors · 6

Same direction, newest first

  1. 2024ToolACE: Winning the Points of LLM Function Calling2 Sep
  2. 2024Seal-Tools: Self-Instruct Tool Learning Dataset for Agent Tuning and Detailed Benchmark14 May
  3. 2024ToolSword: Unveiling Safety Issues of Large Language Models in Tool Learning Across Three Stages16 Feb
  4. 2023ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIs31 Jul
  5. 2023ToolAlpaca: Generalized Tool Learning for Language Models with 3000 Simulated Cases8 Jun
  6. 2023Toolformer: Language Models Can Teach Themselves to Use Tools9 Feb

Other references · 23

  1. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 9,589
  2. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,789
  3. 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,841
  4. 2022Fast Inference from Transformers via Speculative Decodingcited by 1,853
  5. 2023MemGPT: Towards LLMs as Operating Systemscited by 1,655
  6. 2025A-MEM: Agentic Memory for LLM Agentscited by 1,253
  7. 2023Accelerating Large Language Model Decoding with Speculative Samplingcited by 1,163
  8. 2024Medusa: Simple LLM Inference Acceleration Framework with Multiple Decoding Headscited by 961
  9. 2025τ2-Bench: Evaluating Conversational Agents in a Dual-Control Environmentcited by 797
  10. 2024EAGLE: Speculative Sampling Requires Rethinking Feature Uncertaintycited by 667
  11. 2023Identifying the Risks of LM Agents with an LM-Emulated Sandboxcited by 637
  12. 2024EAGLE-2: Faster Inference of Language Models with Dynamic Draft Treescited by 429
11 more
  1. 2024Break the Sequential Dependency of LLM Inference Using Lookahead Decodingcited by 334
  2. 2024R-Judge: Benchmarking Safety Risk Awareness for LLM Agentscited by 321
  3. 2024Unlocking Efficiency in Large Language Model Inference: A Comprehensive Survey of Speculative Decodingcited by 298
  4. 2024SuffixDecoding: Extreme Speculative Decoding for Emerging AI Applicationscited by 48
  5. 2026Parallelizing Tool Execution and LLM Generation for Low-Latency Agent Servingcited by 26
  6. 2026Agent-X: Full Pipeline Acceleration of On-device AI Agentscited by 7
  7. 2026ToolSpec: Accelerating Tool Calling via Schema-Aware and Retrieval-Augmented Speculative Decodingcited by 6
  8. 2026SpecEyes: Accelerating Agentic Multimodal LLMs via Speculative Perception and Planningcited by 4
  9. 2026SpecHop: Continuous Speculation for Accelerating Multi-Hop Retrieval Agentscited by 3
  10. 2026B-PASTE: Beam-Aware Pattern-Guided Speculative Execution for Resource-Constrained LLM Agentscited by 2
  11. 2026Ghost Tool Calls: Issue-Time Privacy for Speculative Agent Toolscited by 1

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026SchemaFill: Efficient LLM Tool Calling via Slot-Parallel Speculative Decoding
  2. 2026Stateful Inference for Low-Latency Multi-Agent Tool Calling
  3. 2026SPORK: Self-Speculative Forking to Accelerate Agentic LLM Inference
  4. 2026PLACEMEM: Toward a Compute-Aware Memory Plane for Lifelong Agents
  5. 2026TomasuLLM: Out-of-Order Speculative Execution for LLM Agents
  6. 2026Ask the Tool, Don't Guess: Agent Tool Calls Hold Their Progress, and the Serving System Should Read It
  7. 2026Shared Selective Persistent Memory for Agentic LLM Systems
  8. 2026Sutradhara: An Intelligent Orchestrator-Engine Co-design for Tool-based Agentic Inference