Saved in:
Bibliographic Details
Main Authors: van Sprang, Angela, Acar, Erman, Zuidema, Willem
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2410.06070
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866911292293382144
author van Sprang, Angela
Acar, Erman
Zuidema, Willem
author_facet van Sprang, Angela
Acar, Erman
Zuidema, Willem
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2410_06070
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Interpretability for Time Series Transformers using A Concept Bottleneck Framework
van Sprang, Angela
Acar, Erman
Zuidema, Willem
Machine Learning
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.
title Interpretability for Time Series Transformers using A Concept Bottleneck Framework
topic Machine Learning
url https://arxiv.org/abs/2410.06070