Transformers can drop emergent pattern symbols for token-role shortcuts
Original title: Emergent Symbols or Reasoning Shortcuts?
A 6-layer model trained from scratch first reads ABA/ABB patterns, then memorizes fixed token roles while training accuracy stays high.
The paper asks whether models that continue ABA and ABB token sequences form an internal symbol for pattern role or a shortcut that remembers each token's fixed role. It proves some training sets cannot distinguish the two, and that swapping all token roles can still be fooled. Role-swap prompts or an equality-only architecture remove the false solutions, while semantic loss, fixed programs, and swapped internal states do not fully. In experiments, a 6-layer transformer switches to token memory; 12-layer models and fine-tuned Gemma 2 and Llama 3.1 mostly keep reading the pattern.
- Fixed roles such as cat and sun always as A make the two solutions indistinguishable.
- With a large vocabulary, the 6-layer model later remembers each token's role.
- Twelve-layer transformers mostly keep reading the pattern with the same training amount.
- Fine-tuned Gemma 2 and Llama 3.1 still read the pattern under fixed roles.
- Standard interventions on the internal role variable remain successful.
From the original article
1 min read at arxiv.orgCan large language models truly form symbolic representations on their own during reasoning? Recent research provides a positive answer on a simple task. A model continues "cat dog cat sun moon" with "sun" and "cat dog dog sun moon" with "moon".
By Xin Zhang · arxiv.org
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.