Interpretability for Time Series Transformers using A Concept Bottleneck Framework

Angela van Sprang, Erman Acar, Willem Zuidema
10/8/2024
cs.LG

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Mechanistic interpretability focuses on reverse engineering the internal mechanisms learned by neural networks. We extend our focus and propose to mechanistically forward engineer using our framework based on Concept Bottleneck Models. In the context of long-term time series forecasting, we modify the training objective to encourage a model to develop representations which are similar to predefined, interpretable concepts using Centered Kernel Alignment. This steers the bottleneck components to learn the predefined concepts, while allowing other components to learn other, undefined concepts. We apply the framework to the Vanilla Transformer, Autoformer and FEDformer, and present an in-depth analysis on synthetic data and on a variety of benchmark datasets. We find that the model performance remains mostly unaffected, while the model shows much improved interpretability. Additionally, we verify the interpretation of the bottleneck components with an intervention experiment using activation patching.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{sprang2024interpretability,
  title  = {Interpretability for Time Series Transformers using A Concept Bottleneck Framework},
  author = {Angela van Sprang and Erman Acar and Willem Zuidema},
  year   = {2024},
  eprint = {2410.06070},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.06070v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2410.06070.svg)](https://codeofpaper.com/paper/2410.06070)

Discussion