potentialpaper

Mechanistic Interpretability on (multi-task) Irreducible Integer Identifiers

Noah Syrkis, Anders Søgaard, Sebastian Risi, Timothée Anne

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

Abstract. Understanding how neural networks internalize algorithms remains a central chal- lenge in deep learning. We investigate mechanistic interpretability in a multitask setting by training transformer models on 29 parallel modular arithmetic tasks, predicting the remainder of two-digit base-113 numbers modulo distinct primes less than 113 (of which there are 29). In addition to replicating prior findings on the dynamics of generalization ("grokking") and overfitting, we discover a third, previously unreported class of gradient updates that is neither overfitting nor part of a final generalized solution. Through comprehensive embedding, sin- gular value decomposition, and Fourier analysis, we observe that these gradients updates are associated with general but temporary structures. Our results reveal how multitask learning shapes the development and interplay of internal mecha- nisms in deep models, and suggest future directions for speeding up generaliza- tion through more targeted gradient filtering in multitask environments. Code: https://anonymous.4open.science/r/miiii-3B9E/

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

add · history

No versions are recorded yet: its preprint, the venues it went to and what they decided, the camera-ready. Missing a version?

We don't know of a submission of this paper to a venue with open reviews. Missing a submission?

Loading the discussion…