Computer Science > Computation and Language
Title:Emergent Symbols or Reasoning Shortcuts?
Abstract:Can 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". Internally, a variable recording whether each token is A or B in an ABA or ABB pattern is considered an emergent symbol. It is unclear whether the network reads the role from the pattern or from the token itself, the latter being a known reasoning shortcut in neuro-symbolic learning. We prove when the training data cannot distinguish between these two approaches, for example, when "cat" and "sun" always appear as A, and "dog" and "moon" always appear as B. Even the common test of swapping all token roles can be fooled by a false solution. Semantic loss, fixed symbolic programs, and training with swapped internal states cannot completely eliminate these solutions, but adding training prompts with various role swaps or using an architecture that only considers which tokens are equal can eliminate them. In experiments with fixed roles and a large vocabulary, a 6-layer transformer trained from scratch initially reads the pattern, then, while maintaining training accuracy, switches to remembering the role of each token. This demonstrates the known transience of in-context learning, while standard interventions on this variable remain successful. With the same training amount, 12-layer transformers mostly keep reading the pattern. Pre-trained Gemma 2 and Llama 3.1 still read the pattern after fine-tuning with fixed roles.
| Subjects: | Computation and Language (cs.CL) ; Machine Learning (cs.LG) |
|---|---|
| Cite as: | arXiv:2612.06114 [cs.CL] |
| (or arXiv:2612.06114v1 [cs.CL] for this version) | |
| https://doi.org/10.48550/arXiv.2612.06114 arXiv-issued DOI via DataCite (pending registration) |
Submission history
Access Paper:
- HTML (experimental)
Additional Features
- Audio Summary
Current browse context:
References & Citations
- Google Scholar
- Semantic Scholar
BibTeX formatted citation
Bookmark
Bibliographic and Citation Tools
Code, Data and Media Associated with this Article
Demos
Recommenders and Search Tools
arXivLabs: experimental projects with community collaborators
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.