During autoregressive decoding, the deeper representations of the previous token have already been computed, yet shallow layers at the current token cannot read them directly because standard self-attention connects positions only at the same depth. We introduce Attention Latent Feedback (ALF), an architecture that allows every sublayer to attend to the outputs of the deeper layers at the previous position. Training unrolls this cross-position recurrence into two parallel passes, whereas decoding remains single-pass using cached previous-token states. Across mixture-of-experts models with up to 4.0B parameters, ALF lowers held-out loss by 0.022-0.024 nats over the standard residual with about 1.1% decoding FLOP overhead, and consistently outperforms prior final-state feedback across all three scales on both standard and attention residual backbones. On MoE-1.6B, ALF matches a 1.38× larger baseline token budget, and on MoE-4.0B it lifts average accuracy across seventeen downstream benchmarks from 45.1% to 47.0%. Analysis further reveals that intermediate and nearby deeper layers drive most of this benefit, allowing a fixed nearest-window variant to retain 89%-94% of the gain at linear read cost while learned attention widens its margin with scale.
Figures & tables
Figure 1: Attention Latent Feedback and downstream accuracy. (a) Each sublayer uses attention (orange) to weight previous-position outputs from its own depth upward and mix them with the current stream, while the projected top state enters the embedding sum. (b) Domain-balanced accuracy on seventeen tasks for MoE-4.0B on a zoomed axis, comparing ALF with the Full-bandwidth Transformer (FBT); Tables 5 and 13 report full results.
Figure 2: The final block is not the best feedback source. Held-out loss at the third evaluation pass is plotted relative to reading the final block, with one block’s state projected and added to the next token input. Both models do best at a deep intermediate block, 7 of 8 and 8 of 10, lowering loss by 4.4 and 4.1 ×10−3 nats. The backbone, parameter count, FLOPs, checkpoint, and data order stay fixed, and each point is one run.
Design
Input at position t
Source
Target
Depth weights
Parallel training
One-pass decoding
Residuals across depth
Standard residual He et al. (2016)
xt,l=∑i<lvt,i
t,i<l
all
fixed
DenseFormer Pagliardini et al. (2024)
∑i<lwi→lvt,i
t,i<l
all
static
Hyper-Connections, mHC Zhu et al. (2024) ; Xie et al. (2025)
∑k≤nwt,k→lht,lk
t , streams
all
–
MUDDFormer Xiao et al. (2025)
∑i<lwt,i→lvt,i
t,i<l
all
dynamic
Attention Residuals, MSAR Kimi Team et al. (2026) ; Qin et al. (2026)
∑i<lαt,i→lvt,i
t,i<l
all
dynamic
Table 1: Designs that change what a layer reads. Source gives the position and depths available to layer l at t . Target identifies the receiver. Fixed weights are prescribed, static weights are learned and shared across tokens, and dynamic weights depend on the input. A single source requires no weighting across depths. Here vt,i is sublayer i ’s output, vt,0=et before input fusion, and xt,l is the backbone input. The architecture specifies s and Sl . yes, in part, no, – does not apply.
Figure 3: The Full-bandwidth Transformer and Attention Latent Feedback. Blue marks the current position, orange what is read from the previous position, and purple the mixtures where they meet. (a) FBT fuses block L of position t−1 into the token embedding of position t through a learned gate g . (b) With ALF, each sublayer of block b attends over the mapped outputs of blocks b to L (weights β ) and mixes the result into its backbone input at share ρ . The final state zt−1 also joins the token embedding through WE ( 3.4 ). Faded blocks are not read.
Figure 4: Parallel training and decoding. Each column is one forward pass of the backbone at one token, its circles are the sublayers with depth increasing upward, the blue chips are the input tokens, and the orange chips are the final states that the next position adds to its token input ( 3.4 ). (a) Training runs two passes over all positions. Pass 1 is the plain backbone, while in pass 2 every sublayer reads the outputs that pass 1 left at the preceding position, at its own depth (solid) and at every deeper sublayer (light). Each pass applies a next-token loss to its final states across all positions, and the two are added ( 3.8 ). (b) Decoding runs one pass per token and reads the preceding token’s cached states.
Table 6
Parameters
Model
Total
Activated
Blocks
Heads
Width
Batch
Tokens
MoE-1.6B
1.59B
61M
8
6
768
1,024
47.9B
MoE-2.6B
2.60B
102M
10
7
896
1,440
80.7B
MoE-4.0B
3.98B
162M
12
8
1,024
2,048
128.1B
Table 4: Model configurations and training budgets. The three MoE models are named by their total parameters; MoE-2.6B interpolates between Marin’s MoE-1.6B and MoE-4.0B configurations. Every block routes each token to 8 of 384 experts plus two shared experts, and activated parameters exclude embeddings. Batch counts sequences of 4,096 tokens.
Accuracy (%) ↑
Perplexity ↓
Task
Standard
+ FBT
+ ALF
Standard
+ FBT
+ ALF
Knowledge
TriviaQA
20.2
20.5
20.9
12.36
12.52
12.18
Natural Questions
7.0
7.0
6.9
19.47
18.15
18.56
WebQuestions
12.8
13.9
13.5
16.15
15.56
15.65
Jeopardy
33.9
36.2
36.3
4.35
4.16
4.11
Table 5: Downstream tasks on MoE-4.0B. Accuracy in percent (higher is better) and perplexity of the correct answer (lower is better) on the seventeen tasks of Section 4.1 , grouped by domain, with the best result of each row in bold. Each domain ends with its average, and the last row weights the four domains equally ( Section B.2 ). ALF leads the standard residual in all four domains, raising the average from 45.1 to 47.0 points.
Figure 5: Downstream complementarity with Attention residual on MoE-4.0B. (a) Four-domain average accuracy against reference-answer perplexity (reversed horizontal axis) for the Standard residual and Attention residual backbones, each with FBT and ALF (Tables 5 and 13 ). (b) Accuracy gains over the Attention residual backbone across the four domains and their average.
Table 10
Figure 7: What the sublayer feedback reads. (a–c) Learned attention maps over depth at the final checkpoints of MoE-1.6B, MoE-2.6B, and MoE-4.0B on the standard residual ( Section C.1 ). Each column gives one sublayer’s mean weights over outputs of the previous position, and hatching marks sources outside its range. The dashed diagonal marks the lower boundary of each sublayer’s current and next three deeper sublayers, where most of the attention weight concentrates.
Feedback source (at every sublayer)
Injection source (at the token input)
Loss ↓
Δ loss
Feedback only: restrict its source
All eligible sublayer outputs
Disabled
2.0353
–
Final state only
Disabled
2.0414
+0.0061
Injection only: move the injection source
Disabled
Final state (block 8)
2.0388
–
Disabled
State after block 6
2.0344
−0.0044
Table 8: Feedback sources on MoE-1.6B. Held-out loss (nats per token, three passes) under Table 3 ’s standard-residual setup when varying which previous-position states each path reads. Within each group, Δ loss is relative to the first row (negative is better), lowest loss is bold, and the shaded row marks full ALF.
Held-out loss (nats) ↓
Downstream Acc (%) ↑ / PPL ↓
Model
MoE-1.6B
MoE-2.6B
MoE-4.0B
MoE-1.6B
MoE-2.6B
MoE-4.0B
Standard residual
2.0577
1.9400
1.8456
31.98 / 9.65
38.95 / 7.63
45.06 / 6.24
+ FBT
2.0447
1.9261
1.8322
32.47 / 9.47
40.21 / 7.32
46.27 / 6.05
+ ALF
2.0333
1.9170
1.8238
33.29 / 9.22
40.56 / 7.22
46.98 / 5.97
+ Fixed nearest-4
2.0346
1.9188
1.8262
33.40 / 9.22
40.48 / 7.19
46.75 / 6.00
Fixed − ALF
+0.0013
+0.0018
+0.0024
+0.11 / +0.00
−0.08 / −0.04
−0.23 / +0.02
Table 9: Fixed nearest-window feedback across scales. Standard-residual models under Table 3 ’s protocol, comparing learned attention (+ ALF) with an equal-weight average of the current and next three sublayers (+ Fixed nearest-4). Left: three-pass held-out loss; right: accuracy and perplexity on Table 5 ’s seventeen tasks. Bottom rows show differences from ALF and FBT, with the best value per column in bold.
Figure 8: Behavior beyond the training passes on MoE-1.6B. One evaluation runs 32 parallel passes over the held-out set for FBT and ALF, with the recipes of Table 3 . (a) Held-out loss from pass 1 (no feedback) through pass 32; the inset zooms in on each model’s change relative to its own pass 2 (in 10−3 nats). (b) One minus the cosine similarity between the final states of consecutive passes, starting at pass 2. Pass 2 captures most of the loss reduction and both losses settle within a few passes, while small differences between successive final states persist.
Continuation loss ↓
Prefill penalty
Model
Standard
Fused
Soft
Soft − Fused
Standard backbone
1.9660
–
–
–
+ FBT
1.9704
1.9522
1.9621
+0.0099
+ ALF
1.9668
1.9405
1.9436
+0.0031
Table 10: Prompt processing on MoE-1.6B. Continuation loss in nats after a 1,024-token prompt, using Table 3 ’s FBT and ALF recipes and a matched backbone control. Standard disables feedback throughout. Fused processes the prompt with nine feedback passes; Soft uses one plain pass. Both use nine feedback-enabled continuation passes to propagate feedback under teacher forcing. The backbone supports only Standard mode. Bold marks the lowest loss in each mode.
Appendix figures & tables8 assets
Supplementary material from the paper’s appendix.
Appendix
Figure 9: Attention residuals, alone and with Attention Latent Feedback. Blue marks the current stream, orange the sublayer feedback and its softmax, and purple the mixture Σ that forms the input of each sublayer. (a) In AttnRes, the current stream carries the sources of position t upward, and each sublayer of block b takes a softmax over those below it, with weights {\color[rgb]{0.2422,0.4219,0.6602}\alpha} . (b) With ALF on AttnRes, every output of position t−1 passes through a per-output map, and each sublayer of block b mixes a separate softmax over blocks b to L , with weights {\color[rgb]{0.5586,0.2969,0.0703}\beta} , into its current-stream softmax at share ρ . As in Figure 3 , the state zt−1 also joins the token embedding through WE ( 3.4 ). Faded blocks of position t−1 are not read.
Parameter
MoE-1.6B
MoE-2.6B
MoE-4.0B
Matrix learning rate
0.0158
0.0148
0.0144
Adam learning rate
0.00365
0.00343
0.00333
Adam β2
0.96849
0.95598
0.95000
Adam ϵ
1.03×10−15
1.13×10−15
1.20×10−15
Appendix
Table 11: Optimization settings. Peak learning rates and size-dependent Adam hyperparameters from the exported training configurations. The feedback models inherit their backbone’s schedule at the branch point. The input projection’s additional learning-rate multiplier is given in Section A.2 .
Figure 10: Training trajectories on MoE-4.0B. (a) The full schedule, with FBT and ALF branching at 75% of training. (b) The final interval marked in (a), with a tighter loss scale. The dashed box is padded vertically for visibility. Faint lines show every logged step, and bold lines show a centered 200-step mean with shorter windows at the endpoints. Labels report the mean of the final 200 steps. The plotted loss is the last-pass training cross-entropy, including the z-loss.
Domain
Task
Format
Shots
Questions
Chance
Knowledge
TriviaQA ( Joshi et al., 2017 )
Completion
5
10,000
–
Natural Questions ( Kwiatkowski et al., 2019 )
Completion
5
3,610
–
WebQuestions ( Berant et al., 2013 )
Completion
5
2,032
–
Jeopardy ( Li et al., 2024 )
Completion
10
2,117
–
QA-Wikidata ( Srivastava et al., 2022 )
Completion
10
10,000
–
ARC-Easy ( Clark et al., 2018 )
Multiple choice
10
2,376
0.25
Appendix
Table 12: The downstream tasks. Shots counts the solved examples in each prompt, Questions the questions scored per model, and Chance the accuracy of a uniform guess among the options.
Accuracy (%) ↑
Perplexity ↓
Task
AttnRes
+ FBT
+ ALF
AttnRes
+ FBT
+ ALF
Knowledge
TriviaQA
22.3
22.7
23.2
12.00
11.60
11.37
Natural Questions
7.6
7.8
8.0
18.04
17.28
17.20
WebQuestions
13.3
14.7
14.5
14.97
15.13
15.03
Jeopardy
36.3
36.1
37.5
4.20
4.00
3.94
Appendix
Table 13: Downstream results on the Attention residual backbone. MoE-4.0B with AttnRes alone, with FBT and with Attention Latent Feedback (ALF), all at the final checkpoint (step 15,276). Accuracy and reference-answer perplexity are listed for the same seventeen tasks as Table 5 . Each domain ends with its arithmetic mean accuracy and geometric mean perplexity. The final row weights the four domains equally; the best result for each task and average is in bold.
Configuration
Loss ↓
Δ loss
Final-state feedback only (at the token input)
Additive injection only
2.0388
–
FBT’s gated replacement
2.0447
+0.0059
Whole-depth feedback only
Sublayer feedback
2.0353
–
FBT’s gated replacement at the token input
2.0509
+0.0156
Appendix
Table 14: Feedback integration on MoE-1.6B. Standard-residual models share Table 3 ’s feedback training schedule. Loss is in nats per token after three evaluation passes. Each pair’s first row is its reference; Δ loss subtracts it from the second row. Lower loss is bold.
Model
K
Compute
Pass K
Pass 32
Pass 32 − Pass K
Standard residual, 1.25× tokens
1
1.25
2.0395
2.0395
–
Standard residual, 1.5× tokens
1
1.50
2.0262
2.0262
–
+ FBT
2
1.25
2.0442
2.0454
+0.0012
+ FBT
3
1.50
2.0426
2.0426
0.0000
+ ALF
2
1.25
2.0346
2.0332
−0.0014
+ ALF
3
1.51
2.0324
2.0322
−0.0001
Appendix
Table 15: Two and three training passes on MoE-1.6B. FBT and ALF on the standard residual with K=2 or K=3 passes in the last quarter, against the standard residual trained from scratch on 1.25 and 1.5 times the tokens. Compute is relative to the backbone on the base budget, Pass K gives the held-out loss at the last training pass, and Pass 32 gives the converged held-out loss under teacher forcing. A third pass lowers ALF’s pass-32 held-out loss by 0.0010 nats, below the 0.003-nat threshold of Section 4.1 , so two passes suffice.
Held-out set
After a 1,024-token prompt
Multi-turn
Model
Jitter
Prefix mixin
Pass 2
Pass 32
Pass 32 − Pass 2
Fused
Soft
Soft − Fused
Scored turns
Standard residual
2.0574
2.0574
–
1.9660
1.9660
–
1.9887
+ FBT
✓
✓
2.0541
2.0549
+0.0008
1.9602
1.9601
−0.0001
1.9839
+ FBT
✓
2.0541
2.0548
+0.0008
1.9602
1.9601
−0.0001
1.9838
+ FBT †
✓
2.0442
2.0454
+0.0012
1.9522
1.9621
+0.0099
1.9902
+ FBT
2.0442
2.0455
+0.0012
1.9524
1.9625
+0.0101
1.9906
Appendix
Table 16: Training recipe and prompt processing on MoE-1.6B. Standard-residual MoE-1.6B models with FBT or ALF, trained with and without FBT’s two stabilization aids ( Wang et al., 2026a ) , uniform jitter on the fed-back state and the prefix mixin. Entries are held-out losses in nats or differences of two: on the held-out set at pass 2 and at pass 32 (the converged late-pass teacher-forced held-out loss, approximating recurrent state propagation without self-rollout); after a 1,024-token prompt with nine continuation passes, following either nine feedback-enabled prompt passes (Fused) or one plain prompt pass (Soft); and over the feedback-enabled odd turns of 512-token multi-turn documents. Bold marks the lowest loss in each column except pass 2, and every loss within 0.0002 nats of it, and † marks the recipes of Table 3 .