Theoretical Analysis of Hierarchical Language Recognition and Generation by Transformers without Positional Encoding

In 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.

Authors

Institutions

Publication Details

Published
2025-01-01
DOI
https://doi.org/10.18653/v1/2025.acl-long.1488
Citations
1
Primary Topic
Speech Recognition and Synthesis
Type
article
Field-Weighted Citation Impact
2.48

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Theoretical Analysis of Hierarchical Language Recognition and Generation by Transformers without Positional Encoding

Issei Sato, Daichi Hayakawa
1 citations
Speech Recognition and Synthesis
2.48
article

Theoretical Analysis of Hierarchical Language Recognition and Generation by Transformers without Positional Encoding

Issei Sato, Daichi Hayakawa
article en
1 citations

Abstract

In 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.

The University of Tokyo (JP)
Japan Society for the Promotion of Science
Quality Education
Openalex Percentile: Top 9%
Speech Recognition and Synthesis
2.48
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.