mlsanityData to 7 Oct 2026

Adversarial Testing as a Tool for Interpretability: Length-based Overfitting of Elementary Functions in Transformers

arXiv 2410.13802 ↗First posted 17 Oct 2024cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

The Transformer model has a tendency to overfit various aspects of the training data, such as the overall sequence length. We study elementary string edit functions using a defined set of error indicators to interpret the behaviour of the sequence-to-sequence Transformer. We show that generalization to shorter sequences is often possible, but confirm that longer sequences are highly problematic, although partially correct answers are often obtained. Additionally, we find that other structural characteristics of the sequences, such as subsegment length, may be equally important. We hypothesize that the models learn algorithmic aspects of the tasks simultaneously with structural aspects but adhering to the structural aspects is unfortunately often preferred by Transformer when they come into conflict.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 8 of its 17 references that are in the map. First posted on arXiv 17 Oct 2024.

Builds on

8 of 17 references.

References · 8

  1. 2015Distilling the Knowledge in a Neural Networkcited by 10,076
  2. 2019fairseq: A Fast, Extensible Toolkit for Sequence Modelingcited by 1,486
  3. 2018Self-Attention with Relative Position Representationscited by 1,112
  4. 2019Deep Double Descent: Where Bigger Models and More Data Hurtcited by 667
  5. 2020Formalizing Trust in Artificial Intelligence: Prerequisites, Causes and Goals of Human Trust in AIcited by 166
  6. 2023Tracr: Compiled Transformers as a Laboratory for Interpretabilitycited by 99
  7. 2020We Need to Talk About Random Splitscited by 70
  8. 2021Sequence Length is a Domain: Length-based Overfitting in Transformer Modelscited by 34

Built on by

Not cited yet.