Higher Embedding Dimension Creates a Stronger World Model for a Simple Sorting Task
TLDR
Larger embedding dimensions improve the faithfulness, consistency, and interpretability of internal world models in transformers trained on a sorting task.
Reasoning
The paper provides clear quantitative evidence and mechanistic insights from hundreds of experiments, but its focus on a simple algorithmic task limits generalizability to complex real-world scenarios.
Read-first score
Read-first score 32.1, weighted from topical fit, citation, graph, method, reproducibility, and recency signals. Original total remains 19.
Field roles
Rank sensitivity
Stability: volatile; rank range: 124.
Keyword Scores
Deep Analysis
Innovations
- Investigation of how embedding dimension affects the emergence of an internal world model in a transformer trained with reinforcement learning for a bubble-sort sorting task
- Discovery of two consistent mechanisms: (1) the last row of the attention weight matrix monotonically encodes the global ordering of tokens; (2) the selected transposition aligns with the largest adjacent difference of these encoded values
Methodology
A transformer is trained with reinforcement learning to perform bubble-sort-style adjacent swaps. The embedding dimension is varied across hundreds of experiments to study its effect on internal representations. Models are evaluated on accuracy, faithfulness, consistency, and robustness of internal representations.
Key Results
Models achieve high accuracy even with very small embedding dimensions, but larger dimensions yield more faithful, consistent, and robust internal representations, leading to better interpretability.