Organizations: Independent Researcher · Michigan State University · Together AI · University of Wisconsin–Madison · University of California, Santa Cruz · Mistral AI
Weight tying reduces the parameter cost of language models, but the usual tied output head is limited to a single softmax. We introduce onóna, a two-table parameterization that increases output expressiveness while preserving input-output weight sharing. The Transformer takes the average of two embedding tables as input, and the output head combines the softmax distributions defined by those same tables. A gate conditioned only on the current input token determines the mixture weight. Its values can be precomputed for inference, and the Transformer body remains unchanged. We evaluate onóna across Dense, Gated DeltaNet hybrid, mixture-of-experts, and Attention Residual architectures at 142M, 330M, and 1B scales. Under matched token budgets, onóna lowers final validation loss and external perplexity in 11 of 12 comparisons and raises the average accuracy over eight downstream tasks in 10 of 12. The one exception on loss is the 1B MoE model. The cost is one extra embedding table and one extra vocabulary projection.
Figures & tables
Figure 1: onóna overview and validation loss. (a) Twin embedding and twin unembedding share two tables. The input uses their average, and the output mixes their softmax distributions. The dashed path shows the input-token router. (b) Final 40-TPP loss of onóna minus Standard (Table 1 ) at 142M (top) and 330M (bottom); more negative is better. Dashed lines mark Standard. One seed per bar, so no error bars. (c) Early training of 142M Dense; the dashed line marks where the curves cross.
Val loss
LAMBADA PPL
WikiText PPL
One table
Size
Arch.
Std.
onóna
Δ
Std.
onóna
Std.
onóna
A
B
142M
Dense
2.8142
2.7857
− 0.0285
67.4
63.4
63.0
60.7
3.17
3.11
GDN hybrid
2.7600
2.7467
− 0.0134
59.9
55.4
57.9
57.3
3.11
3.05
MoE
2.7190
2.7074
− 0.0116
50.7
49.6
54.6
53.4
2.92
3.49
AttnRes
2.7791
2.7564
− 0.0226
54.8
52.3
58.4
56.3
3.15
3.08
330M
Dense
2.5868
2.5803
− 0.0065
30.6
29.6
42.7
42.2
2.84
2.82
Table 1: Pretraining results on ClimbMix at 40 TPP (seed 0). Loss is measured in nats, and Δ denotes onóna minus Standard. Lower values are better. PPL is LAMBADA last-word or WikiText-2 word perplexity. A/B-only uses the selected table at both input and output. The 142M/330M losses use shared validation windows, while 1B uses separate windows and coarser rounding. Appendix C gives evaluation details.
ARC
Size
Model
Arm
HS
E
C
PIQA
BoolQ
SciQ
LAMB.
MMLU
Avg.
142M
Dense
Std.
36.8
52.4
28.5
67.8
56.1
85.0
27.7
25.5
47.46
onóna
38.1
54.5
30.5
68.8
58.8
83.9
29.1
27.0
48.84
GDN hybrid
Std.
39.3
56.3
28.0
69.3
56.6
83.7
27.3
27.1
48.43
onóna
39.5
54.6
28.8
70.0
53.6
84.0
30.2
25.7
48.30
MoE
Std.
40.0
55.9
30.1
70.1
57.0
84.9
30.4
24.5
49.11
Table 2: Downstream accuracy (%). Evaluation is zero-shot except for MMLU, which uses up to five shots. HS and LAMB. abbreviate HellaSwag and LAMBADA. Avg. is the unweighted mean of eight tasks, with the higher paired average in bold. HS and ARC use UTF-8 byte-normalized scores from our custom evaluator. The 1B rows come from a separate evaluation run. Appendix B describes the benchmarks and scoring.
Validation
Perplexity ↓
Training cost
Method
Loss ↓
Δ
LAMBADA
WikiText-2
Params (M)
ktok/s
GB
Standard
2.8069
—
66.03
62.69
142.47
614
19.48
MoS ( K=2 )
2.8239
+0.0171
53.29
65.07
143.65
451
32.78
Sigsoftmax
2.7992
−0.0076
62.49
62.05
142.47
606
19.48
MoSS ( K=2 )
2.7974
−0.0094
46.50
61.36
143.65
428
33.35
Untied head
2.8132
+0.0064
71.49
64.48
181.10
616
20.25
Table 3: Alternative output layers on 142M Dense (seed 0). Δ is the loss difference from Standard. Bold marks the lowest loss or PPL.
ARC
Method
HS
E
C
PIQA
BoolQ
SciQ
LAMB.
MMLU
Avg.
Standard
37.01
54.17
30.38
68.01
51.28
87.20
27.98
25.82
47.73
MoS ( K=2 )
36.44
54.04
29.61
67.63
54.01
85.70
29.79
26.93
48.02
Sigsoftmax
36.89
53.96
29.10
69.37
61.83
82.70
27.69
26.01
48.44
MoSS ( K=2 )
37.37
53.49
28.50
68.50
53.76
81.30
31.28
26.76
47.62
Untied head
36.73
53.20
29.69
68.17
52.20
83.20
27.46
26.80
47.18
Table 4: Downstream accuracy (%) for alternative output layers. All results use seed 0 and the evaluation protocol of Table 2 . Bold marks the highest value in each column.
Model
Tables
Extra params
Head cost
Serving
Val
Δ
142M Dense, 40 TPP ( Δ against the mean of two Standard seeds, 2.8777 and 2.8693)
Standard (tied), 2 seeds
1
–
1 ×
1 table
2.8735
–
Untied head ‡
2
Vd
1 ×
2 tables
2.8821
+ 0.009
MoS K=2 (two contexts, one table) ‡
1
2d2+2d
2 ×
1 table
2.8977
+ 0.024
Input gate only ‡ , 2 seeds
2
Vd+d
1 ×
2 tables
2.8641
− 0.009
onóna ‡ , 2 seeds
2
Vd+d
2 ×
2 tables
2.8505
− 0.023
Table 5: Dense controls at 40 TPP. Extra params gives the added parameter count, Head cost counts vocabulary projections per position, and Serving gives the number of tables after folding. Δ is validation loss minus Standard, using the two-seed mean at 142M. ‡ marks a different GPU layout with the same global batch.
Single unembedding
Twin unembedding
Single embedding
2.80685 (+0.00000)
2.81401 (+0.00716)
Twin embedding
2.79956 (−0.00729)
2.78683 (−0.02002)
Table 6: Input–output ablation at 142M Dense. Final validation loss for seed 0, with the difference from this grid’s baseline in parentheses. Lower is better.
Appendix figures & tables1 asset
Supplementary material from the paper’s appendix.
Appendix
Val loss
LAMBADA PPL
WikiText PPL
One table
Size
Arch.
Std.
onóna
Δ
Std.
onóna
Std.
onóna
A
B
142M
Dense
2.8777
2.8501 ‡
− 0.028
87.3
71.8
72.1
68.2
3.27
3.17
GDN hybrid
2.8208
2.8101 ‡
− 0.011
68.2
65.0
64.6
64.1
3.20
3.12
MoE
2.7890
2.7775 ‡
− 0.011
62.0
63.0
62.3
60.2
3.00
3.66
AttnRes
2.8493
2.8208 ‡
− 0.029
78.5
65.2
65.6
62.5
3.25
3.26
330M
Dense
2.6426
2.6329 ‡
− 0.010
35.0
34.4
47.4
46.9
2.92
2.88
Appendix
Table 9: Additional evaluations using earlier settings. These results are not comparable with Table 1 , although the column definitions are the same.
Weight tying, i.e. sharing parameters between input and output embedding matrices, is common practice in language model design, yet its impact on the learned embedding space remains poorly understood. In this paper, we show that tied embedding matrices align more closely with output (unembedding) matrices than with input embeddings of comparable untied models, indicating that the shared matrix is shaped primarily for output prediction rather than input representation. This unembedding bias arises because output gradients dominate early in training. Using tuned lens analysis, we show this negatively affects early-layer computations, which contribute less effectively to the residual stream. Scaling input gradients during training reduces this bias, providing causal evidence for the role of gradient imbalance. This is mechanistic evidence that weight tying optimizes the embedding matrix for output prediction, compromising its role in input representation. These results help explain why weight tying can harm performance at scale and have implications for training smaller LLMs, where the embedding matrix contributes substantially to total parameter count.
Antonio Lopardo, Avyukth Harish, Catherine Arnett +1
A trainable input embedding table assigns each vocabulary item an independently adjustable vector. We investigate whether this token-specific parameterization is required for substantial language-modeling capability, or whether a shared Transformer can learn from fixed token identities. We compare three decoder-only language models trained from scratch with the same tokenizer, contextual backbone, untied output-head architecture, and training recipe, with a target budget of 100 billion prediction tokens per model. Their input interfaces are a learned table, canonical 16-bit token-ID codes, and one fixed invertible recoding over GF(2). The fixed codes are repeated to model width without an additional trainable input projection. Both fixed-code models acquire substantial capabilities: canonical codes achieve 52.40% HellaSwag normalized accuracy, 70.51% PIQA accuracy, and 42.75% LAMBADA accuracy. The learned-input control performs better on several evaluations, including HellaSwag and LAMBADA, so these results establish viability rather than performance parity. The fixed interfaces remove 100.7 million trainable parameters, yielding 1.711B-parameter models, but parameter reduction is not the central result. These single-run experiments distinguish architectural necessity from empirical utility: independently trainable token-specific input vectors are not required for the observed capabilities. A fixed identity interface also provides a controlled setting for studying representation learning downstream of an immutable input, without establishing where particular capabilities are localized.
Modern language models, including transformer, recurrent, and memory-based variants, share a common chassis: a stack of identical layers in which parameters are allocated uniformly across depth. This is a default inherited from the original transformer and largely unchanged since, yet a growing body of evidence suggests that layers contribute non-uniformly to the final output, with later layers refining the residual stream rather than transforming it. We ask whether parameter capacity should reflect this asymmetry. Our controlled experiment shows that, under a fixed budget, allocating more capacity to earlier layers and less to later layers improves perplexity over a uniform-width baseline, while the reverse allocation hurts. Building on this result, we introduce Tapered Language Models (TLMs), an architectural principle in which a parameter-bearing component is monotonically tapered across depth under a fixed total budget. MLPs are the natural site for this instantiation: they dominate parameter count across all modern LM families and expose width as a single, clean axis of variation. Across three model scales and four architectures (Transformer, Gated Attention, Hope-attention, and Titans), tapering MLP width via a smooth cosine schedule consistently improves perplexity and downstream benchmark performance over uniform baselines, at no additional parameter or compute cost. These findings establish depth-aware capacity allocation as a simple, architecture-agnostic axis of language model design, a free lever hidden in plain sight.
Reza Bayat, Ali Behrouz, Aaron Courville
1Mila · 2Cornell University · 3Université de Montréal +1