16.6 C
Canberra
Thursday, October 23, 2025

Software invocation rewriting for zero-shot instrument retrieval


Augmenting massive language fashions (LLMs) with exterior instruments, moderately than relying solely on their inner information, may unlock their potential to resolve more difficult issues. Widespread approaches for such “instrument studying” fall into two classes: (1) supervised strategies to generate instrument calling capabilities, or (2) in-context studying, which makes use of instrument paperwork that describe the meant instrument utilization together with few-shot demonstrations. Software paperwork present directions on instrument’s functionalities and the way to invoke it, permitting LLMs to grasp the person instruments.

Nevertheless, these strategies face sensible challenges when scaling to a lot of instruments. First, they undergo from enter token limits. It’s unattainable to feed your entire record of instruments inside a single immediate, and, even when it had been potential, LLMs nonetheless usually wrestle to successfully course of related info from prolonged enter contexts. Second, the pool of instruments is evolving. LLMs are sometimes paired with a retriever educated on labeled question–instrument pairs to advocate a shortlist of instruments. Nevertheless, the perfect LLM toolkit needs to be huge and dynamic, with instruments present process frequent updates. Offering and sustaining labels to coach a retriever for such an intensive and evolving toolset could be impractical. Lastly, one should cope with ambiguous consumer intents. Consumer context within the queries may obfuscate the underlying intents, and failure to determine them may result in calling the wrong instruments.

In “Re-Invoke: Software Invocation Rewriting for Zero-Shot Software Retrieval”, offered at EMNLP 2024, we introduce a novel unsupervised retrieval methodology particularly designed for instrument studying to deal with these distinctive challenges. Re-Invoke leverages LLMs for each instrument doc enrichment and consumer intent extraction to boost instrument retrieval efficiency throughout varied use instances. We exhibit that the proposed Re-Invoke methodology persistently and considerably improves upon the baselines overlaying each single- and multi-tool retrieval duties on instrument use benchmark datasets.

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

[td_block_social_counter facebook="tagdiv" twitter="tagdivofficial" youtube="tagdiv" style="style8 td-social-boxed td-social-font-icons" tdc_css="eyJhbGwiOnsibWFyZ2luLWJvdHRvbSI6IjM4IiwiZGlzcGxheSI6IiJ9LCJwb3J0cmFpdCI6eyJtYXJnaW4tYm90dG9tIjoiMzAiLCJkaXNwbGF5IjoiIn0sInBvcnRyYWl0X21heF93aWR0aCI6MTAxOCwicG9ydHJhaXRfbWluX3dpZHRoIjo3Njh9" custom_title="Stay Connected" block_template_id="td_block_template_8" f_header_font_family="712" f_header_font_transform="uppercase" f_header_font_weight="500" f_header_font_size="17" border_color="#dd3333"]
- Advertisement -spot_img

Latest Articles