Generalization vs. Memorization in the Presence of Statistical Biases in Transformers

John Mitros
9/6/2024
cs.LGstat.ML

No confident code implementation found for this paper.

Abstract

This study aims to understand how statistical biases affect the model's ability to generalize to in-distribution and out-of-distribution data on algorithmic tasks. Prior research indicates that transformers may inadvertently learn to rely on these spurious correlations, leading to an overestimation of their generalization capabilities. To investigate this, we evaluate transformer models on several synthetic algorithmic tasks, systematically introducing and varying the presence of these biases. We also analyze how different components of the transformer models impact their generalization. Our findings suggest that statistical biases impair the model's performance on out-of-distribution data, providing a overestimation of its generalization capabilities. The models rely heavily on these spurious correlations for inference, as indicated by their performance on tasks including such biases.

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. Any repos shown below are weak matches — 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{mitros2024generalization,
  title  = {Generalization vs. Memorization in the Presence of Statistical Biases in Transformers},
  author = {John Mitros},
  year   = {2024},
  eprint = {2409.04654},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.04654v1}
}

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/2409.04654.svg)](https://codeofpaper.com/paper/2409.04654)

Discussion