Punctuation marks often mark phrase boundaries, carrying linguistic information. Therefore, punctuation marks' abundance and feasibility as proxies of linguistic structure has led to suggestions that using punctuation marks to optimise on phrasal structure may help language models (LMs) improve their representations of argument, semantic, and syntactic structures. In this paper, we test the above claim in English across three primary LM architectures: decoder-only, encoder-only, and encoder-decoder LMs, by complementing traditional token prediction with punctuation restoration (PR). Our evidence, collected at the <1B parameter scale, suggests that optimising for boundary prediction does not necessarily guarantee higher-quality structural representation in decoder-only, encoder-decoder, and encoder-only LMs, failing to improve performance on downstream tasks that require understanding structure in linguistic input.
Figures & tables
T5-base
GPT-2-medium
BERT-base
Task (Dataset)
base
+PR
Δ
base
+PR
Δ
base
+PR
Δ
PR
74.0
85.0
▲ 11.0
74.1
90.0
▲ 15.9
79.0
89.0
▲ 10.0
Structure-related tasks
RE (TACRED)
63.1
60.5
▼ 2.67 ∗
64.3
65.6
▲ 1.28 ∗
66.0
64.5
▼ 1.50
NER (CoNLL 2003)
89.4
89.1
▼ 0.31
83.0
78.7
▼ 4.27
90.9
91.0
▲ 0.19
NER (GENIA)
77.7
77.3
▼ 0.40
48.3
49.1
▲ 0.77
76.4
75.3
▼ 1.12 ∗
Table 1: Punctuation restoration and downstream task performance. PR “base” performance is measured after 1 epoch of training on PR. Structure-related task performance is F1; CoLA, Matthews correlation; STS-B, Pearson correlation; all other GLUE tasks, accuracy. We report the average across 3 runs with random classifier initialisation. Using Welch’s t-test, statistical significance Δ ( p<0.05 ) is noted with an *.
Figure 1: Cumulative variance explained by the first 10 principal components (solid = base, dashed = +PR; same sentences per pair). The higher the curve, the more collapsed the representation, and the lower the explained variance, the more high-dimensional and “spread-out” it is. Here, PR does not affect the dimensionality of T5, while it collapses BERT’s and widens that of GPT-2.
Appendix figures & tables3 assets
Supplementary material from the paper’s appendix.
Appendix
Task (Dataset)
Run
T5-base
GPT-2-medium
BERT-base
base
+PR
base
+PR
base
+PR
RE (TACRED)
1
62.52
60.46
64.34
65.19
64.90
64.23
2
63.63
59.33
64.59
65.41
67.37
64.65
3
63.26
61.62
64.04
66.21
65.70
64.59
NER (CoNLL 2003)
1
89.39
89.07
83.43
78.55
90.51
90.92
2
89.86
89.25
82.09
80.94
90.80
91.05
Appendix
Table 2: Results of each run for the structure-related tasks, for the off-the-shelf models (base) and models after extended pretraining on PR (+PR). Scores are F1 using each dataset’s default splits; each run uses a different random classifier initialisation. The means of these runs are reported in Table 1 .
Task
Run
T5-base
GPT-2-medium
BERT-base
base
+PR
base
+PR
base
+PR
SST-2
1
93.12
92.20
93.92
92.09
91.74
90.83
2
92.89
91.97
94.15
93.12
92.55
90.02
3
93.46
91.74
93.69
92.78
93.35
90.94
QQP
1
90.40
89.08
90.33
90.25
91.14
90.71
2
90.36
89.29
90.35
90.26
91.14
90.65
Appendix
Table 3: Results of each run for the GLUE tasks, for the off-the-shelf models (base) and models after extended pretraining on PR (+PR). Scores are accuracy, except for CoLA (Matthews correlation) and STS-B (Pearson correlation), on the GLUE validation split; each run uses a different random classifier initialisation. The means of these runs are reported in Table 1 .
Task (Dataset)
T5-base
+LM (1 epoch)
+LM (10 epochs)
SRL (CoNLL 2012)
87.49
80.54
78.51
NER (CoNLL 2003)
89.45
89.93
87.00
NER (GENIA)
77.69
66.84
48.44
NER (OntoNotes5)
90.47
86.65
82.69
OpenIE (OIE2016)
66.75
33.99
16.49
Appendix
Table 4: Downstream performance (F1) of off-the-shelf T5-base (mean of three runs, as in Table 1 ) and of T5-base after continued training on the financial news corpus with the language modeling objective (+LM) for 1 and 10 epochs (single run).
Next-token prediction is relied upon to learn both predictive behavior and internal representations. We ask whether representation structure itself should be an explicit inductive bias. Motivated by the two-part coding view of Kolmogorov complexity, we study a structure--residual principle in which a representation separates structure from realization detail. We instantiate this principle in two complementary ways. Boundary Bottleneck Concept (BBC) routes information from token segments through boundary carriers while preserving local autoregressive computation. Continuous Concept (CC) regularizes representation geometry and induces a spectral decomposition into low-frequency structure and high-frequency residual. We derive coding bounds for both views and show that multiplicity-corrected boundary attention becomes exact as the within-segment path energy vanishes. Empirically, BBC and CC exhibit strikingly different depth preferences: BBC works best in early layers, whereas CC is most effective in later layers. At 300M training tokens, combining BBC and CC improves NLL by 1.44% on GPT-2 Medium. These gains persist with training runs up to 20B tokens. Representation diagnostics show that BBC increases the relative predictive importance of boundary states, while CC reduces spectral residual energy. Together, these results suggest that structure--residual biases can improve language-model pretraining beyond next-token prediction. Code: https://github.com/haihuang-ml/structure-residual
Hai Huang, Bartosz Żuk, Rassul Magauin +2
Palona AI · Institute of Computer Science, Polish Academy of Sciences · Mohamed bin Zayed University of Artificial Intelligence
Language exhibits inherent structures, a property that explains both language acquisition and language change. Given this characteristic, we expect language models to manifest their own internal structures as well. While interpretability research has investigated how models compute representations mechanistically through attention patterns and Sparse AutoEncoders, the organization of the resulting representations is overlooked. To address this gap, we introduce StructLens, a framework to analyze representations through a holistic structural view. StructLens constructs maximum spanning trees based on the semantic representations in residual streams, inspired by tree representation in dependency parsing, and provides summaries of token relationships in representation space. We analyze how contiguous tokens are also nearby in representation space and find that middle layers show the strongest local-span organization. Moreover, analysis of pre-training checkpoints reveals that smaller local units become detectable earlier in pre-training, and larger units later. Our findings demonstrate that StructLens provides insights into how models organize token representations across layers and training. Our code is available at https://github.com/naist-nlp/structlens.
Usage-based theories of grammar explain language users' ability to interpret and produce novel combinations of words through two complementary inferential strategies. In cases of coercion, a language user, when encountering a word that is mismatched to its grammatical context, reinterprets that word in a way that resolves the conflict. In cases of preemption, the user infers that an otherwise plausible structure is unavailable or dispreferred because it fails to occur in contexts where it would be expected. Large Language Models are also usage-based, in the sense that the structures of language are learned through exposure to vast amounts of text. Here, we test whether or not the opposing forces of coercion and preemption also encourage and constrain linguistic productivity in LLMs. We demonstrate across models of various sizes and architectures that larger models recognize constructional productivity in cases of coercion, even when these involve novel words. However, we also show that even the largest models do not replicate the conservative language strategy of preemption for novel words: in particular, they do not appear to draw on negative evidence when making choices among competing grammatical options. We conclude that coercion is detectable because it is both surprising and semantically motivated: when a word is mismatched to its syntactic context, the word's meaning can be adjusted to fit the context. Preemption has no such signature. There is no record of the lexeme-construction pairings that were avoided--only of those that were produced. This asymmetry helps to explain why models coerce (create mismatched sign combinations) but do not preempt (avoid unconventional yet semantically defensible ones).
Claire Bonial, Claire Benet Post, Laura Michaelis +1
Georgetown University · University of Colorado Boulder · University of Bath