arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.15734cs.AIcs.MA
收藏

TaskGen:基于任务、注入记忆的智能体框架,使用StrictJSON

TaskGen: A Task-Based, Memory-Infused Agentic Framework using StrictJSON

Simbian AI(辛比安人工智能公司);National University of Singapore(新加坡国立大学);Singapore-ETH Centre(新加坡-ETH中心)

John Chong Min Tan, Prince Saroj, Bharat Runwal, Hardik Maheshwari, Brian Lim Yi Sheng, Richard Cottrill, Alankrit Chona, Ambuj Kumar, Mehul Motani

AI总结:

TaskGen是一个开源智能体框架,通过将任务分解为子任务并使用StrictJSON减少令牌使用,按需管理记忆,在迷宫导航、逃生室、网页浏览、MATH数据集和RAG任务上表现出色。

摘要:

TaskGen是一个开源的智能体框架,它使用一个智能体通过将任意任务分解为子任务来解决该任务。每个子任务被映射到一个配备的函数或另一个智能体来执行。为了减少冗长性(从而减少令牌使用量),TaskGen使用StrictJSON,它确保从大型语言模型(LLM)输出JSON,并具有类型检查和迭代错误修正等附加功能。TaskGen哲学的关键是按需知悉的基础上管理信息/记忆。我们在各种环境中对TaskGen进行了实证评估,例如具有变化障碍位置的40x40动态迷宫导航(100%解决率)、具有密集奖励和详细目标的TextWorld逃生室解决(96%解决率)、网页浏览(69%的动作成功)、解决MATH数据集(在100个Level-5问题上的71%解决率)、在NaturalQuestions数据集上的检索增强生成(F1分数为47.03%)。

英文摘要:

TaskGen is an open-sourced agentic framework which uses an Agent to solve an arbitrary task by breaking them down into subtasks. Each subtask is mapped to an Equipped Function or another Agent to execute. In order to reduce verbosity (and hence token usage), TaskGen uses StrictJSON that ensures JSON output from the Large Language Model (LLM), along with additional features such as type checking and iterative error correction. Key to the philosophy of TaskGen is the management of information/memory on a need-to-know basis. We empirically evaluate TaskGen on various environments such as 40x40 dynamic maze navigation with changing obstacle locations (100% solve rate), TextWorld escape room solving with dense rewards and detailed goals (96% solve rate), web browsing (69% of actions successful), solving the MATH dataset (71% solve rate over 100 Level-5 problems), Retrieval Augmented Generation on NaturalQuestions dataset (F1 score of 47.03%)

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑