Saved in:
Bibliographic Details
Main Authors: Komorowski, Piotr, Golimblevskaia, Elena, Achtibat, Reduan, Wiegand, Thomas, Lapuschkin, Sebastian, Samek, Wojciech
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2509.26307
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910054979993600
author Komorowski, Piotr
Golimblevskaia, Elena
Achtibat, Reduan
Wiegand, Thomas
Lapuschkin, Sebastian
Samek, Wojciech
author_facet Komorowski, Piotr
Golimblevskaia, Elena
Achtibat, Reduan
Wiegand, Thomas
Lapuschkin, Sebastian
Samek, Wojciech
contents The capacity of Large Language Models (LLMs) to follow complex instructions and generate factually accurate text is critical for their real-world application. However, standard decoding methods often fail to robustly satisfy these requirements, while existing control techniques frequently degrade general output quality. In this work, we introduce Attribution-Guided Decoding (AGD), an interpretability-based decoding strategy. Instead of directly manipulating model activations, AGD considers a set of high-probability output token candidates and selects the one that exhibits the highest attribution to a user-defined Region of Interest (ROI). This ROI can be flexibly defined over different parts of the model's input or internal components, allowing AGD to steer generation towards various desirable behaviors. We demonstrate AGD's efficacy across three challenging domains. For instruction following, we show that AGD significantly boosts adherence (e.g., improving the overall success rate on Llama 3.1 from 66.0% to 79.1%). For knowledge-intensive tasks, we show that guiding generation towards usage of internal knowledge components or contextual sources can reduce hallucinations and improve factual accuracy in both closed-book and open-book settings. Furthermore, we propose an adaptive, entropy-based variant of AGD that mitigates quality degradation and reduces computational overhead by applying guidance only when the model is uncertain. Our work presents a versatile, more interpretable, and effective method for enhancing the reliability of modern LLMs.
format Preprint
id arxiv_https___arxiv_org_abs_2509_26307
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Attribution-Guided Decoding
Komorowski, Piotr
Golimblevskaia, Elena
Achtibat, Reduan
Wiegand, Thomas
Lapuschkin, Sebastian
Samek, Wojciech
Machine Learning
The capacity of Large Language Models (LLMs) to follow complex instructions and generate factually accurate text is critical for their real-world application. However, standard decoding methods often fail to robustly satisfy these requirements, while existing control techniques frequently degrade general output quality. In this work, we introduce Attribution-Guided Decoding (AGD), an interpretability-based decoding strategy. Instead of directly manipulating model activations, AGD considers a set of high-probability output token candidates and selects the one that exhibits the highest attribution to a user-defined Region of Interest (ROI). This ROI can be flexibly defined over different parts of the model's input or internal components, allowing AGD to steer generation towards various desirable behaviors. We demonstrate AGD's efficacy across three challenging domains. For instruction following, we show that AGD significantly boosts adherence (e.g., improving the overall success rate on Llama 3.1 from 66.0% to 79.1%). For knowledge-intensive tasks, we show that guiding generation towards usage of internal knowledge components or contextual sources can reduce hallucinations and improve factual accuracy in both closed-book and open-book settings. Furthermore, we propose an adaptive, entropy-based variant of AGD that mitigates quality degradation and reduces computational overhead by applying guidance only when the model is uncertain. Our work presents a versatile, more interpretable, and effective method for enhancing the reliability of modern LLMs.
title Attribution-Guided Decoding
topic Machine Learning
url https://arxiv.org/abs/2509.26307