mlsanityData to 7 Oct 2026

CoPS: Empowering LLM Agents with Provable Cross-Task Experience Sharing

arXiv 2410.16670 ↗First posted 22 Oct 2024cs.LG cs.AIcited by 12

On the map: LLM reasoning → Reasoning for agents, planning and code

also in 1 more
Abstract (arXiv)

Sequential reasoning in agent systems has been significantly advanced by large language models (LLMs), yet existing approaches face limitations. Reflection-driven reasoning relies solely on knowledge in pretrained models, limiting performance in novel scenarios, while experience-assisted reasoning often depends on external experiences and lacks clear principles for selecting representative experiences. We address these limitations by proposing CoPS (Cross-Task Experience Sharing), a generalizable algorithm that enhances sequential reasoning by cross-task experience sharing and selection. In detail, CoPS leverages agents' experiences on previous tasks, selecting distribution-matched experiences via a provable pessimism-based strategy to maximize utility while minimizing risks from distribution shifts. Extensive experimental results on benchmarks like Alfworld, Webshop, and HotPotQA demonstrate that CoPS consistently outperforms state-of-the-art baselines, with superior sample efficiency suitable for resource-constrained scenarios. Theoretically, we show that the performance of our algorithm depends on both the quality of the pretrained LLM and the matching between the agent's task-dependent trial distribution and that generated by the LLM. Our work bridges the gap between existing sequential reasoning paradigms and validates the effectiveness of leveraging cross-task experiences, shedding light on the potential to improve agents' generalization and adaptability across diverse tasks. Our codes are available at hrefhttps://github.com/uclaml/COPShttps://github.com/uclaml/COPS.

Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 49 of its 61 references that are in the map. First posted on arXiv 22 Oct 2024.

Builds on

49 of 61 references.

Closest ancestors · 3

Same direction, newest first

  1. 2023Language Agent Tree Search Unifies Reasoning Acting and Planning in Language Models6 Oct
  2. 2023Reason for Future, Act for Now: A Principled Framework for Autonomous LLM Agents with Provable Sample Efficiency29 Sep
  3. 2023Reasoning with Language Model is Planning with World Model24 May

Other references · 46

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2023GPT-4 Technical Reportcited by 18,132
  4. 2024The Llama 3 Herd of Modelscited by 14,192
  5. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  6. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
  7. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,064
  8. 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,686
  9. 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,155
  10. 2023A Survey on Hallucination in Large Language Models: Principles, Taxonomy, Challenges, and Open Questionscited by 1,582
  11. 2023CAMEL: Communicative Agents for "Mind" Exploration of Large Language Model Societycited by 1,348
  12. 2022WebShop: Towards Scalable Real-World Web Interaction with Grounded Language Agentscited by 1,197
34 more
  1. 2020ALFWorld: Aligning Text and Embodied Environments for Interactive Learningcited by 1,143
  2. 2023ChatEval: Towards Better LLM-based Evaluators through Multi-Agent Debatecited by 724
  3. 2023Towards General Text Embeddings with Multi-stage Contrastive Learningcited by 705
  4. 2024MiniCPM: Unveiling the Potential of Small Language Models with Scalable Training Strategiescited by 694
  5. 2023AgentVerse: Facilitating Multi-Agent Collaboration and Exploring Emergent Behaviorscited by 580
  6. 2023Cognitive Architectures for Language Agentscited by 422
  7. 2024Understanding the planning of LLM agents: A surveycited by 414
  8. 2020Is Pessimism Provably Efficient for Offline RL?cited by 362
  9. 2023Large Language Models Are Latent Variable Models: Explaining and Finding Good Demonstrations for In-Context Learningcited by 149
  10. 2024HelpSteer2-Preference: Complementing Ratings with Preferencescited by 129
  11. 2023DeID-GPT: Zero-shot Medical Text De-Identification by GPT-4cited by 128
  12. 2023Automatic Prompt Augmentation and Selection with Chain-of-Thought from Labeled Datacited by 119
  13. 2024Large Language Models Meet NLP: A Surveycited by 102
  14. 2023Transformers as Decision Makers: Provable In-Context Reinforcement Learning via Supervised Pretrainingcited by 82
  15. 2024Mind Your Format: Towards Consistent Evaluation of In-Context Learning Improvementscited by 82
  16. 2024RAP: Retrieval-Augmented Planning with Contextual Memory for Multimodal LLM Agentscited by 80
  17. 2024Internet of Agents: Weaving a Web of Heterogeneous Agents for Collaborative Intelligencecited by 80
  18. 2023Generalization to New Sequential Decision Making Tasks with In-Context Learningcited by 39
  19. 2024Do LLM Agents Have Regret? A Case Study in Online Learning and Gamescited by 33
  20. 2023Understanding In-Context Learning from Repetitionscited by 27
  21. 2024Unveiling the Statistical Foundations of Chain-of-Thought Prompting Methodscited by 27
  22. 2024MHPP: Exploring the Capabilities and Limitations of Language Models Beyond Basic Code Generationcited by 25
  23. 2023RetICL: Sequential Retrieval of In-Context Examples with Reinforcement Learningcited by 24
  24. 2023Parameter-efficient Tuning of Large-scale Multimodal Foundation Modelcited by 23
  25. 2024Towards Resilient and Efficient LLMs: A Comparative Study of Efficiency, Performance, and Adversarial Robustnesscited by 22
  26. 2024Configurable Foundation Models: Building LLMs from a Modular Perspectivecited by 22
  27. 2024From Words to Actions: Unveiling the Theoretical Underpinnings of LLM-Driven Autonomous Systemscited by 17
  28. 2024Harnessing LLMs for API Interactions: A Framework for Classification and Synthetic Data Generationcited by 17
  29. 2023TeacherLM: Teaching to Fish Rather Than Giving the Fish, Language Modeling Likewisecited by 15
  30. 2022Self-consistent Reasoning For Solving Math Word Problemscited by 10
  31. 2024Evolver: Chain-of-Evolution Prompting to Boost Large Multimodal Models for Hateful Meme Detectioncited by 8
  32. 2024Understanding the Training and Generalization of Pretrained Transformer for Sequential Decision Makingcited by 4
  33. 2023Text Classification: A Perspective of Deep Learning Methodscited by 3
  34. 2024Training Task Experts through Retrieval Based Distillationcited by 3

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 1; 2025: 6; 2026: 5.

12 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Batch-of-Thought: Cross-Instance Learning for Enhanced LLM Reasoning
  2. 2025Review of Case-Based Reasoning for LLM Agents: Theoretical Foundations, Architectural Components, and Cognitive Integration
  3. 2026ContextWeaver: Selective and Dependency-Structured Memory Construction for LLM Agents
  4. 2024Reasoning Capacity in Multi-Agent Systems: Limitations, Challenges and Human-Centered Solutions
  5. 2025A Survey of Frontiers in LLM Reasoning: Inference Scaling, Learning to Reason, and Agentic Systems
  6. 2026Towards Improving Sequential Decision-Making in LLM Agents via Experience Memory
  7. 2026MetaEvo: A Meta-Optimization Framework for Experience-Driven Agent Evolution
  8. 2026A Comprehensive Evaluation of LLM Reasoning: From Single-Model to Multi-Agent Paradigms