**arXiv ID:** 2501.18666 **Authors:** Einar Urdshals, Jasmina Urdshals **Published:** 2025-01-30T15:56:25Z **Abstract:** We study how a one-layer attention-only transformer develops relevant structures while learning to sort lists of numbers. At the end of training, the model organizes its attention heads in two main modes that we refer to as vocabulary-splitting and copy-suppression. Both represent simpler modes than having multiple heads handle overlapping ranges of numbers. Interestingly, ...
Scanned 9/11/2026
Install to Claude Code
npx -y skills add hiyenwong/ai_collection --skill structure-development-in-listsorting-transformers --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Structure Development In Listsorting Transformers?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/hiyenwong-structure-development-in-listsorting-transformers)More formats (shields.io, HTML) on the badges page.
# Structure Development in List-Sorting Transformers
**arXiv ID:** 2501.18666
**Authors:** Einar Urdshals, Jasmina Urdshals
**Published:** 2025-01-30T15:56:25Z
**Abstract:**
We study how a one-layer attention-only transformer develops relevant structures while learning to sort lists of numbers. At the end of training, the model organizes its attention heads in two main modes that we refer to as vocabulary-splitting and copy-suppression. Both represent simpler modes than having multiple heads handle overlapping ranges of numbers. Interestingly, vocabulary-splitting is present regardless of whether we use weight decay, a common regularization technique thought to drive simplification, supporting the thesis that neural networks naturally prefer simpler solutions. We relate copy-suppression to a mechanism in GPT-2 and investigate its functional role in our model. Guided by insights from a developmental analysis of the model, we identify features in the training data that drive the model's final acquired solution. This provides a concrete example of how the training data shape the internal organization of transformers, paving the way for future studies that could help us better understand how LLMs develop their internal structures.
## Skill Description
This skill is generated from the arXiv paper: Structure Development in List-Sorting Transformers (2501.18666).
## How to Use
[To be filled in by the user or by future automation]
## References
- [arXiv:2501.18666](http://arxiv.org/abs/2501.18666v1)
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!