Counterfactuals As a Means for Evaluating Faithfulness of Attribution Methods in Autoregressive Language Models
Kamahi, Sepehr, Yaghoobzadeh, Yadollah
–arXiv.org Artificial Intelligence
Despite the widespread adoption of autoregressive language models, explainability evaluation research has predominantly focused on span infilling and masked language models (MLMs). Evaluating the faithfulness of an explanation method -- how accurately the method explains the inner workings and decision-making of the model -- is very challenging because it is very hard to separate the model from its explanation. Most faithfulness evaluation techniques corrupt or remove some input tokens considered important according to a particular attribution (feature importance) method and observe the change in the model's output. This approach creates out-of-distribution inputs for causal language models (CLMs) due to their training objective of next token prediction. In this study, we propose a technique that leverages counterfactual generation to evaluate the faithfulness of attribution methods for autoregressive language modeling scenarios. Our technique creates fluent and in-distribution counterfactuals that makes evaluation protocol more reliable. Code is available at https://github.com/Sepehr-Kamahi/faith
arXiv.org Artificial Intelligence
Aug-20-2024
- Country:
- Oceania > Australia
- North America
- United States
- Oregon (0.04)
- Washington > King County
- Seattle (0.04)
- California > San Diego County
- San Diego (0.04)
- Canada > Ontario
- Toronto (0.04)
- United States
- Europe
- Ireland > Leinster
- County Dublin > Dublin (0.04)
- Croatia > Dubrovnik-Neretva County
- Dubrovnik (0.04)
- Belgium > Brussels-Capital Region
- Brussels (0.04)
- Ireland > Leinster
- Asia
- Singapore (0.04)
- China > Hong Kong (0.04)
- Myanmar > Tanintharyi Region
- Dawei (0.04)
- Middle East
- Jordan (0.04)
- UAE > Abu Dhabi Emirate
- Abu Dhabi (0.04)
- Iran > Tehran Province
- Tehran (0.04)
- Genre:
- Research Report > New Finding (1.00)
- Technology: