Cognitive Extensions for Dual-Process Language Agents: Memory and Self-Reflection in Interactive Environments
Abstract
Language agents remain brittle in interactive environments, where success requires long-horizon state tracking, valid action execution, and recovery from failed steps. We extend SwiftSage, a dual-process agent that combines a fast action proposer with a slower planner, using two modular cognitive extensions: an Adaptive Memory Module (AMM) for salience-gated episodic storage and trigger-driven retrieval, and a Self-Reflection Module (SRM) for bounded execution-time validation and corrective intervention. Both modules are implemented as feature-flagged extensions over the same execution substrate, enabling controlled ablations on ScienceWorld. Across four configurations---baseline, baseline+AMM, baseline+SRM, and the full system---the full system achieves the best mean final score (64.62), success rate (43.17%), and successful-step efficiency (19.33 steps), while SRM is the strongest standalone contributor. The results suggest that execution-time control is the dominant bottleneck in this setting, while episodic memory becomes most useful once the runtime loop is stabilized.
Create a lesson
Metadata
- Categories
- cs.AI, cs.LG, cs.MA
- Comments
- 13 pages, 1 figure
Related papers
A Dual-Process Perspective on Nudge Susceptibility in LLM-Based GUI Agents
Shared title terminologycs.AIHaya Halimeh, Sascha Kaltenpoth, Kevin Bösch et al.
Self-Evolving Evaluation Environments for Computer-Use Agents
Shared title terminologycs.AIWenhao Wang, Panrong Tong, Quyu Kong et al.
mini-psych-agent: Evaluating Human-Like Behavior in LLM Agents through Interactive Psychological Environments
Shared title terminologycs.AIYi-Fei Cao, Tianxin Huang, Hanbo Xie et al.
ScienceBuddy: Recursive-in-Recursive Self-Improvement for Interactive Scientific Agents
Shared title terminologycs.AIShuhan Xue, Jianyuan Zhong, Ziyuan Nan et al.
ThinkFlow: Self-Evolving Probabilistic Latent Memory for Lifelong Conversational Agents
Shared title terminologycs.AICai Ke, Xin Liu, Han Zhang et al.
A Generative AI Agent to Emulate Interactive Human-driven Vehicles for Automated Driving Testing in Urban Areas
Shared title terminologycs.AIJia Hu, Changjian Yu, Panqu Wang et al.