Interpretability Illusions in the Generalization of Simplified Models

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Friedman, Dan, Lampinen, Andrew, Dixon, Lucas, Chen, Danqi, Ghandeharioun, Asma
Format: Preprint
Published: 2023
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910473078702080
author Friedman, Dan
Lampinen, Andrew
Dixon, Lucas
Chen, Danqi
Ghandeharioun, Asma
author_facet Friedman, Dan
Lampinen, Andrew
Dixon, Lucas
Chen, Danqi
Ghandeharioun, Asma
contents A common method to study deep learning systems is to use simplified model representations--for example, using singular value decomposition to visualize the model's hidden states in a lower dimensional space. This approach assumes that the results of these simplifications are faithful to the original model. Here, we illustrate an important caveat to this assumption: even if the simplified representations can accurately approximate the full model on the training set, they may fail to accurately capture the model's behavior out of distribution. We illustrate this by training Transformer models on controlled datasets with systematic generalization splits, including the Dyck balanced-parenthesis languages and a code completion task. We simplify these models using tools like dimensionality reduction and clustering, and then explicitly test how these simplified proxies match the behavior of the original model. We find consistent generalization gaps: cases in which the simplified proxies are more faithful to the original model on the in-distribution evaluations and less faithful on various tests of systematic generalization. This includes cases where the original model generalizes systematically but the simplified proxies fail, and cases where the simplified proxies generalize better. Together, our results raise questions about the extent to which mechanistic interpretations derived using tools like SVD can reliably predict what a model will do in novel situations.
format Preprint
id arxiv_https___arxiv_org_abs_2312_03656
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Interpretability Illusions in the Generalization of Simplified Models
Friedman, Dan
Lampinen, Andrew
Dixon, Lucas
Chen, Danqi
Ghandeharioun, Asma
Machine Learning
Computation and Language
A common method to study deep learning systems is to use simplified model representations--for example, using singular value decomposition to visualize the model's hidden states in a lower dimensional space. This approach assumes that the results of these simplifications are faithful to the original model. Here, we illustrate an important caveat to this assumption: even if the simplified representations can accurately approximate the full model on the training set, they may fail to accurately capture the model's behavior out of distribution. We illustrate this by training Transformer models on controlled datasets with systematic generalization splits, including the Dyck balanced-parenthesis languages and a code completion task. We simplify these models using tools like dimensionality reduction and clustering, and then explicitly test how these simplified proxies match the behavior of the original model. We find consistent generalization gaps: cases in which the simplified proxies are more faithful to the original model on the in-distribution evaluations and less faithful on various tests of systematic generalization. This includes cases where the original model generalizes systematically but the simplified proxies fail, and cases where the simplified proxies generalize better. Together, our results raise questions about the extent to which mechanistic interpretations derived using tools like SVD can reliably predict what a model will do in novel situations.
title Interpretability Illusions in the Generalization of Simplified Models
topic Machine Learning
Computation and Language
url https://arxiv.org/abs/2312.03656