Giter Site home page Giter Site logo

preact's Introduction

PreAct: Predicting Future in ReAct Enhances Agent’s Planning Ability

📃 ArXiv Paper • 📚 Dataset

We will release the templates, and codes within a month. Thanks for your attention!

Introduction

Addressing the discrepancies between predictions and actual outcomes often aids individuals in expanding their thought processes and engaging in reflection, thereby facilitating reasoning in the correct direction. In this paper, we introduce PreAct, an agent framework that integrates prediction with reasoning and action. Leveraging the information provided by predictions, a large language model (LLM) based agent can offer more diversified and strategically oriented reasoning, which in turn leads to more effective actions that help the agent complete complex tasks. Our experiments demonstrate that PreAct outperforms the ReAct approach in accomplishing complex tasks and that PreAct can be co-enhanced when combined with Reflexion methods. We prompt the model with different numbers of historical predictions and find that historical predictions have a sustained positive effect on LLM planning. The differences in single-step reasoning between PreAct and ReAct show that PreAct indeed offers advantages in terms of diversity and strategic directivity over ReAct.

Our code will be released soon!

Citation

Please kindly cite our paper if it helps your research:

@article{fu2024preact,
  title={PreAct: Predicting Future in ReAct Enhances Agent's Planning Ability},
  author={Fu, Dayuan and Huang, Jianzhao and Lu, Siyuan and Dong, Guanting and Wang, Yejie and He, Keqing and Xu, Weiran},
  journal={arXiv preprint arXiv:2402.11534},
  year={2024}
}

preact's People

Contributors

dongguanting avatar fu-dayuan avatar

Stargazers

Alando Ballantyne avatar  avatar lvguapi avatar  avatar Xiang Zhao avatar Vincent Tu avatar Nils avatar  avatar Rui Shao avatar  avatar Liu Hongming avatar  avatar Leechael avatar Zhiwei He avatar Hanlin Wang avatar  avatar Gary Feng avatar  avatar Allen avatar Jianzhao Huang avatar Jeff Carpenter avatar Zheng Yuan avatar  avatar

Watchers

Liang Ding avatar  avatar

preact's Issues

Release Date?

Hi, I was wondering if you had any idea when it might be ready to be open-sourced. Thanks!

什么时候开源?

你好,请问什么时候开源?
不会要一直挂着空仓库吧。。我看还是北邮AI院的组,应该不会吧。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.