2025
ACL
ACL 2025
Theoretical Analysis of Hierarchical Language Recognition and Generation by Transformers without Positional Encoding
Abstract
AbstractIn this study, we provide constructive proof that Transformers can recognize and generate hierarchical language efficiently with respect to model size, even without the need for a specific positional encoding.Specifically, we show that causal masking and a starting token enable Transformers to compute positional information and depth within hierarchical structures.We demonstrate that Transformers without positional encoding can generate hierarchical languages. Furthermore, we suggest that explicit positional encoding might have a detrimental effect on generalization with respect to sequence length.
🌉
Interdisciplinary Bridge
— Interdisciplinary and Machine Learning
🧭
Keyword Pioneer
— hierarchical language
🐝
Cross-Pollinator
— Artificial Intelligence, Computer Vision, Data Science & Analytics, Deep Learning, Interdisciplinary, Machine Learning, Mathematics & Optimization, Natural Language Processing, Reinforcement Learning, Robotics, Speech & Audio
Authors
Topics
Machine Learning > Optimization & Theory > Theory
Deep Learning > Architectures > Transformers
Natural Language Processing > Generation > Language Modeling
Interdisciplinary > Linguistics > Computational Linguistics
Deep Learning > Optimization & Theory > Theory
Artificial Intelligence > Core AI > Language