תקציר
We present Randomized Path-Integration (RPI)-a path-integration method for explaining language models via randomization of the integration path over the attention information in the model.RPI employs integration on internal attention scores and their gradients along a randomized path, which is dynamically established between a baseline representation and the attention scores of the model.The inherent randomness in the integration path originates from modeling the baseline representation as a randomly drawn tensor from a Gaussian diffusion process.As a consequence, RPI generates diverse baselines, yielding a set of candidate attribution maps.This set facilitates the selection of the most effective attribution map based on the specific metric at hand.We present an extensive evaluation, encompassing 11 explanation methods and 5 language models, including the Llama2 and Mistral models.Our results demonstrate that RPI outperforms latest state-of-the-art methods across 4 datasets and 5 evaluation metrics.Our code is available at: https://github.com/rpiconf/rpi.
שפה מקורית | אנגלית |
---|---|
כותר פרסום המארח | EMNLP 2024 - 2024 Conference on Empirical Methods in Natural Language Processing, Findings of EMNLP 2024 |
עורכים | Yaser Al-Onaizan, Mohit Bansal, Yun-Nung Chen |
מוציא לאור | Association for Computational Linguistics (ACL) |
עמודים | 9430-9446 |
מספר עמודים | 17 |
מסת"ב (אלקטרוני) | 9798891761681 |
סטטוס פרסום | פורסם - 2024 |
אירוע | 2024 Conference on Empirical Methods in Natural Language Processing, EMNLP 2024 - Hybrid, Miami, ארצות הברית משך הזמן: 12 נוב׳ 2024 → 16 נוב׳ 2024 |
סדרות פרסומים
שם | EMNLP 2024 - 2024 Conference on Empirical Methods in Natural Language Processing, Findings of EMNLP 2024 |
---|
כנס
כנס | 2024 Conference on Empirical Methods in Natural Language Processing, EMNLP 2024 |
---|---|
מדינה/אזור | ארצות הברית |
עיר | Hybrid, Miami |
תקופה | 12/11/24 → 16/11/24 |
הערה ביבליוגרפית
Publisher Copyright:© 2024 Association for Computational Linguistics.