Search papers, labs, and topics across Lattice.
This paper introduces HaReCAP, an extension of the ReCAP method that addresses the inefficiencies of last-mile grounding redundancy in long-horizon embodied tasks by leveraging habitual-action rules derived from successful trajectories. By compiling frequent leaf decisions into auditable one-step reflex rules, HaReCAP significantly reduces the need for repeated LLM calls during execution, thus optimizing token consumption. Evaluations on Robotouille and ALFWorld demonstrate that HaReCAP achieves reductions in token usage by up to 20.08%, enhancing the efficiency of recursive context-management frameworks without sacrificing control flow integrity.
HaReCAP cuts token consumption by over 20% in long-horizon tasks by replacing redundant LLM calls with offline-learned action rules.
Long-horizon embodied tasks require LLM agents to iteratively decompose high-level goals, revise plans in response to environmental feedback, and ground leaf-level subgoals into valid executable actions. Recursive context-management methods such as ReCAP improve planning stability through multi-level task decomposition and parent-node refinement, but still repeatedly invoke the LLM at leaf nodes to ground atomic subtasks into exact valid actions. We refer to this final grounding step as last-mile grounding redundancy, which accumulates into substantial LLM-call and token overhead during long-horizon execution. To mitigate this issue, we propose HaReCAP (Habitual-action Grounded ReCAP), a low-intrusion leaf grounding extension for ReCAP. HaReCAP extracts frequent leaf decisions from successful trajectories and compiles them offline into auditable and abstainable one-step leaf-reflex rules. At runtime, it skips the leaf LLM call only when a rule can uniquely determine a legal action in the current valid-action set; otherwise, it falls back to the original ReCAP. This design avoids repeatedly carrying the full recursive context into the LLM for routine leaf action grounding, while preserving the original recursive control flow. We evaluate HaReCAP on Robotouille and ALFWorld with Qwen3.5-27B as the main model. On tasks solved by both ReCAP and HaReCAP, HaReCAP reduces token consumption by 14.67%, 17.93%, and 20.08% on Robotouille synchronous, Robotouille asynchronous, and ALFWorld, respectively. The results show that HaReCAP can serve as a low-intrusion extension to ReCAP-style recursive context-management frameworks, reducing last-mile grounding redundancy across environments and models on commonly successful trajectories.