paper-with-me

홈 › Papers

Language hooks: a modular framework for augmenting LLM reasoning that decouples tool usage from the model and its prompt

2024-12-08 · Damien de Mijolla, Wen Yang, Philippa Duckett, Christopher Frye, Mark Worrall

Prompting and fine-tuning have emerged as two competing paradigms for augmenting language models with new capabilities, such as the use of tools. Prompting approaches are quick to set up but rely on providing explicit demonstrations of each tool's usage in the model's prompt, thus coupling tool use to the task at hand and limiting generalisation. Fine-tuning removes the need for task-specific demonstrations of tool usage at runtime; however, this ties new capabilities to a single model, thus making already-heavier setup costs a recurring expense. In this paper, we introduce language hooks, a novel framework for augmenting language models with new capabilities that is decoupled both from the model's task-specific prompt and from the model itself. The language hook algorithm interleaves text generation by the base model with the execution of modular programs that trigger conditionally based on the existing text and the available capabilities. Upon triggering, programs may call external tools, auxiliary language models (e.g. using tool specific prompts), and modify the existing context. We benchmark our method against state-of-the-art baselines, find that it outperforms task-aware approaches, and demonstrate its ability to generalise to novel tasks.

📄 PDF Abstract BibTeX arXiv:2412.05967

Code (0)

등록된 구현이 없습니다.

Tasks

Text Generation

Methods 이 논문이 사용한 방법론

SET Dynamic Sparse Training method where weight mask is updated randomly periodically
BASE 설명 없음

Similar Papers 제목 키워드 기반

Enhancing Multi-Image Question Answering via Submodular Subset Selection

2025-05-15 · Aaryan Sharma, Shivansh Gupta, Samar Agarwal, Vishak Prasad C. 외

Large multimodal models (LMMs) have achieved high performance in vision-language tasks involving single image but they struggle when presented with a collection of multiple images (Multiple Image Question Answering scena…

Question AnsweringRetrievalVisual Question Answering (VQA)

Spec Kit Agents: Context-Grounded Agentic Workflows

2026-04-07 · Pardis Taghavi, Santosh Bhavani arxiv

Spec-driven development (SDD) with AI coding agents provides a structured workflow, but agents often remain "context blind" in large, evolving repositories, leading to hallucinated APIs and architectural violations. We p…

PyTorch Adapt

2022-11-28 · Kevin Musgrave, Serge Belongie, Ser-Nam Lim

PyTorch Adapt is a library for domain adaptation, a type of machine learning algorithm that re-purposes existing models to work in new domains. It is a fully-featured toolkit, allowing users to create a complete train/te…

Domain Adaptation

SciCore-Mol: Augmenting Large Language Models with Pluggable Molecular Cognition Modules

2026-05-21 · Yuxuan Chen, Changwei Lv, Yunduo Xiao, Zhongjing Du 외 arxiv

Large Language Models (LLMs) are central to the one-for-all intelligent paradigm, but they face a fundamental challenge when dealing with heterogeneous scientific data such as molecules: the inherent gap between discrete…

Requesting Expert Reasoning: Augmenting LLM Agents with Learned Collaborative Intervention

2026-02-26 · Zhiming Wang, Jinwei He, Feng Lu arxiv

Large Language Model (LLM) based agents excel at general reasoning but often fail in specialized domains where success hinges on long-tail knowledge absent from their training data. While human experts can provide this m…