SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2403.19962 · 2024

Enhancing the General Agent Capabilities of Low-Parameter LLMs through Tuning and Multi-Branch Reasoning

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 4 functions out of this paper's own repositories and ran 1 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
haiv-lab/llm-tmbr canonical 1 of 4
FunctionStatusWhere it lives
compute_metrics_for_pair Ran haiv-lab/llm-tmbr/script/utils/metrics.py
pointer only (licence: NONE) · get_code("3b6bbd8042f32e9d")
forward Not yet run haiv-lab/llm-tmbr/script/sft/tmpx5rspyo1/_remote_module_non_scriptable.py
pointer only (licence: NONE) · get_code("ddd44785fe636d9c")
forward_async Not yet run haiv-lab/llm-tmbr/script/sft/tmpx5rspyo1/_remote_module_non_scriptable.py
pointer only (licence: NONE) · get_code("0db316ca8b4ada4e")
parser_arguments Not yet run haiv-lab/llm-tmbr/script/utils/parser_args.py
pointer only (licence: NONE) · get_code("7e8274c1b7c727fb")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Open-source pre-trained Large Language Models (LLMs) exhibit strong language understanding and generation capabilities, making them highly successful in a variety of tasks. However, when used as agents for dealing with complex problems in the real world, their performance is far inferior to large commercial models such as ChatGPT and GPT-4. As intelligent agents, LLMs need to have the capabilities of task planning, long-term memory, and the ability to leverage external tools to achieve satisfactory performance. Various methods have been proposed to enhance the agent capabilities of LLMs. On the one hand, methods involve constructing agent-specific data and fine-tuning the models. On the other hand, some methods focus on designing prompts that effectively activate the reasoning abilities of the LLMs. We explore both strategies on the 7B and 13B models. We propose a comprehensive method for constructing agent-specific data using GPT-4. Through supervised fine-tuning with constructed data, we find that for these models with a relatively small number of parameters, supervised fine-tuning can significantly reduce hallucination outputs and formatting errors in agent tasks. Furthermore, techniques such as multi-path reasoning and task decomposition can effectively decrease problem complexity and enhance the performance of LLMs as agents. We evaluate our method on five agent tasks of AgentBench and achieve satisfactory results.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2403.19962")
get_code_for_paper("2403.19962")
have("2403.19962")

Connect an agent — have() is free.