Self-Training Large Language Models for Tool-Use Without Demonstrations

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Luo, Ne, Gema, Aryo Pradipta, He, Xuanli, van Krieken, Emile, Lesci, Pietro, Minervini, Pasquale
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866912225818574848
author Luo, Ne
Gema, Aryo Pradipta
He, Xuanli
van Krieken, Emile
Lesci, Pietro
Minervini, Pasquale
author_facet Luo, Ne
Gema, Aryo Pradipta
He, Xuanli
van Krieken, Emile
Lesci, Pietro
Minervini, Pasquale
contents Large language models (LLMs) remain prone to factual inaccuracies and computational errors, including hallucinations and mistakes in mathematical reasoning. Recent work augmented LLMs with tools to mitigate these shortcomings, but often requires curated gold tool-use demonstrations. In this paper, we investigate whether LLMs can learn to use tools without demonstrations. First, we analyse zero-shot prompting strategies to guide LLMs in tool utilisation. Second, we propose a self-training method to synthesise tool-use traces using the LLM itself. We compare supervised fine-tuning and preference fine-tuning techniques for fine-tuning the model on datasets constructed using existing Question Answering (QA) datasets, i.e., TriviaQA and GSM8K. Experiments show that tool-use enhances performance on a long-tail knowledge task: 3.7% on PopQA, which is used solely for evaluation, but leads to mixed results on other datasets, i.e., TriviaQA, GSM8K, and NQ-Open. Our findings highlight the potential and challenges of integrating external tools into LLMs without demonstrations.
format Preprint
id arxiv_https___arxiv_org_abs_2502_05867
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Self-Training Large Language Models for Tool-Use Without Demonstrations
Luo, Ne
Gema, Aryo Pradipta
He, Xuanli
van Krieken, Emile
Lesci, Pietro
Minervini, Pasquale
Computation and Language
Large language models (LLMs) remain prone to factual inaccuracies and computational errors, including hallucinations and mistakes in mathematical reasoning. Recent work augmented LLMs with tools to mitigate these shortcomings, but often requires curated gold tool-use demonstrations. In this paper, we investigate whether LLMs can learn to use tools without demonstrations. First, we analyse zero-shot prompting strategies to guide LLMs in tool utilisation. Second, we propose a self-training method to synthesise tool-use traces using the LLM itself. We compare supervised fine-tuning and preference fine-tuning techniques for fine-tuning the model on datasets constructed using existing Question Answering (QA) datasets, i.e., TriviaQA and GSM8K. Experiments show that tool-use enhances performance on a long-tail knowledge task: 3.7% on PopQA, which is used solely for evaluation, but leads to mixed results on other datasets, i.e., TriviaQA, GSM8K, and NQ-Open. Our findings highlight the potential and challenges of integrating external tools into LLMs without demonstrations.
title Self-Training Large Language Models for Tool-Use Without Demonstrations
topic Computation and Language
url https://arxiv.org/abs/2502.05867