Reproduce “Failure Broadens, Success Sharpens: Continual Adaptation of Tool-Use Agents Across Diverse Tasks with Dual-Polarity Memory” on OpenResearch
Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Tianmai M. Zhang, Hoda Shajari, Amr Hendy, Xiaohu Liu, Piyush Behre, Omar Zia Khan, Ankur Gupta
DualPM turns experiences into separate failure and success memories through trajectory reflection and periodic maintenance, without changing model weights. In GPT-5.5 tests across four user sequences, failure-only memory had higher discovery and selection recall, while success-only memory had higher usage precision and fewer turns. Both-on produced the highest recall scores; final-answer accuracy did not differ significantly among memory-on conditions.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.