EcoAct: Economic Agent Determines When to Register What Action
Fuente:
arXiv
Salvato in:
| Autori principali: | , , , , , , , , , |
|---|---|
| Natura: | Preprint |
| Pubblicazione: |
2024
|
| Soggetti: | |
| Accesso online: | |
| Tags: |
Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
|
| _version_ | 1866909376309100544 |
|---|---|
| author | Zhang, Shaokun Zhang, Jieyu Ding, Dujian Garcia, Mirian Hipolito Mallick, Ankur Madrigal, Daniel Xia, Menglin Rühle, Victor Wu, Qingyun Wang, Chi |
| author_facet | Zhang, Shaokun Zhang, Jieyu Ding, Dujian Garcia, Mirian Hipolito Mallick, Ankur Madrigal, Daniel Xia, Menglin Rühle, Victor Wu, Qingyun Wang, Chi |
| contents | Recent advancements have enabled Large Language Models (LLMs) to function as agents that can perform actions using external tools. This requires registering, i.e., integrating tool information into the LLM context prior to taking actions. Current methods indiscriminately incorporate all candidate tools into the agent's context and retain them across multiple reasoning steps. This process remains opaque to LLM agents and is not integrated into their reasoning procedures, leading to inefficiencies due to increased context length from irrelevant tools. To address this, we introduce EcoAct, a tool using algorithm that allows LLMs to selectively register tools as needed, optimizing context use. By integrating the tool registration process into the reasoning procedure, EcoAct reduces computational costs by over 50% in multiple steps reasoning tasks while maintaining performance, as demonstrated through extensive experiments. Moreover, it can be plugged into any reasoning pipeline with only minor modifications to the prompt, making it applicable to LLM agents now and future. |
| format | Preprint |
| id |
arxiv_https___arxiv_org_abs_2411_01643 |
| institution | arXiv |
| publishDate | 2024 |
| record_format | arxiv |
| spellingShingle | EcoAct: Economic Agent Determines When to Register What Action Zhang, Shaokun Zhang, Jieyu Ding, Dujian Garcia, Mirian Hipolito Mallick, Ankur Madrigal, Daniel Xia, Menglin Rühle, Victor Wu, Qingyun Wang, Chi Artificial Intelligence Computation and Language Recent advancements have enabled Large Language Models (LLMs) to function as agents that can perform actions using external tools. This requires registering, i.e., integrating tool information into the LLM context prior to taking actions. Current methods indiscriminately incorporate all candidate tools into the agent's context and retain them across multiple reasoning steps. This process remains opaque to LLM agents and is not integrated into their reasoning procedures, leading to inefficiencies due to increased context length from irrelevant tools. To address this, we introduce EcoAct, a tool using algorithm that allows LLMs to selectively register tools as needed, optimizing context use. By integrating the tool registration process into the reasoning procedure, EcoAct reduces computational costs by over 50% in multiple steps reasoning tasks while maintaining performance, as demonstrated through extensive experiments. Moreover, it can be plugged into any reasoning pipeline with only minor modifications to the prompt, making it applicable to LLM agents now and future. |
| title | EcoAct: Economic Agent Determines When to Register What Action |
| topic | Artificial Intelligence Computation and Language |
| url | https://arxiv.org/abs/2411.01643 |