CITI: Enhancing Tool Utilizing Ability in Large Language Models without Sacrificing General Performance

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Hao, Yupu, Cao, Pengfei, Jin, Zhuoran, Liao, Huanxuan, Chen, Yubo, Liu, Kang, Zhao, Jun
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912039280050176
author Hao, Yupu
Cao, Pengfei
Jin, Zhuoran
Liao, Huanxuan
Chen, Yubo
Liu, Kang
Zhao, Jun
author_facet Hao, Yupu
Cao, Pengfei
Jin, Zhuoran
Liao, Huanxuan
Chen, Yubo
Liu, Kang
Zhao, Jun
contents Tool learning enables the Large Language Models (LLMs) to interact with the external environment by invoking tools, enriching the accuracy and capability scope of LLMs. However, previous works predominantly focus on improving model's tool-utilizing accuracy and the ability to generalize to new, unseen tools, excessively forcing LLMs to adjust specific tool-invoking pattern without considering the harm to model's general performance. This deviates from the actual applications and original intention of integrating tools to enhance model. To tackle this problem, we dissect the capability trade-offs by examining the hidden representation changes and the gradient-based importance score of model's components. Based on the analysis result, we propose a Component Importance-based Tool-utilizing ability Injection method (CITI). According to the gradient-based importance score of different components, it alleviates the capability conflicts caused by fine-tuning process by applying distinct training strategies to different components. CITI applies Mixture-Of-LoRA (MOLoRA) for important components. Meanwhile, it fine-tunes the parameters of few components deemed less important in the backbone of the LLM, while keeping other parameters frozen. CITI can effectively enhance the model's tool-utilizing capability without excessively compromising its general performance. Experimental results demonstrate that our approach achieves outstanding performance across a range of evaluation metrics.
format Preprint
id arxiv_https___arxiv_org_abs_2409_13202
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle CITI: Enhancing Tool Utilizing Ability in Large Language Models without Sacrificing General Performance
Hao, Yupu
Cao, Pengfei
Jin, Zhuoran
Liao, Huanxuan
Chen, Yubo
Liu, Kang
Zhao, Jun
Computation and Language
Tool learning enables the Large Language Models (LLMs) to interact with the external environment by invoking tools, enriching the accuracy and capability scope of LLMs. However, previous works predominantly focus on improving model's tool-utilizing accuracy and the ability to generalize to new, unseen tools, excessively forcing LLMs to adjust specific tool-invoking pattern without considering the harm to model's general performance. This deviates from the actual applications and original intention of integrating tools to enhance model. To tackle this problem, we dissect the capability trade-offs by examining the hidden representation changes and the gradient-based importance score of model's components. Based on the analysis result, we propose a Component Importance-based Tool-utilizing ability Injection method (CITI). According to the gradient-based importance score of different components, it alleviates the capability conflicts caused by fine-tuning process by applying distinct training strategies to different components. CITI applies Mixture-Of-LoRA (MOLoRA) for important components. Meanwhile, it fine-tunes the parameters of few components deemed less important in the backbone of the LLM, while keeping other parameters frozen. CITI can effectively enhance the model's tool-utilizing capability without excessively compromising its general performance. Experimental results demonstrate that our approach achieves outstanding performance across a range of evaluation metrics.
title CITI: Enhancing Tool Utilizing Ability in Large Language Models without Sacrificing General Performance
topic Computation and Language
url https://arxiv.org/abs/2409.13202