betaFeedback

WorksComputer Science

Attention Latent Feedback

Abstract

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×1.38\times 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.

Introduction

Introduction

Autoregressive transformers ([46]) generate text one token at a time by passing each token through a stack of residual blocks ((He et al., 2016)) that progressively refines its representation from raw embeddings to high-level context. Because decoding proceeds sequentially across tokens, every layer at the preceding position has already finished before the first layer runs at the next. Standard causal self-attention, however, connects positions strictly within the same layer, so shallow layers receive only the next token’s embedding and have no access to the preceding position’s deeper hidden representations ([9]).

Recent architectural work relaxes this rigid information flow along two axes. Within a single position, depth-routing designs replace the uniform residual sum by letting each layer weight earlier outputs individually, as in DenseFormer, MUDDFormer, and Attention Residuals (AttnRes) ([21, 30, 50]). Across positions, latent-feedback methods pass continuous states from one token to the next to improve loss and data efficiency ([16]): the Full-bandwidth Transformer (FBT) gates the preceding final state into the next input, whereas Recycler adds a learned projection of it to the token embedding ([3, 47]).

An open question is whether the final layer is the best source for the state that is fed back. The final state is trained to predict the next token, and the next position already receives that token as an embedding. It may therefore be specialized for the output head and expose less intermediate computation. To test this, we swept the source block of an additive input feedback path in MoE-1.6B and MoE-2.6B, with backbone, parameter count, FLOPs, checkpoint, and data order fixed (Figure 2). In both models the final block is not the best source. A deep intermediate block lowers held-out loss by 4.4 and 4.1 ×10−3\times10^{-3} nats relative to the final block, while the shallowest sources are clearly worse. Intermediate layers therefore carry information that final-state feedback leaves unused. FBT replaces the addition with a gate, but it still reads only the final state.

Loss change versus final block for MoE-1.6B and MoE-2.6B

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\times10^{-3} nats. The backbone, parameter count, FLOPs, checkpoint, and data order stay fixed, and each point is one run.

Even with a better single source, feeding back only one state leaves two structural limitations. First, collapsing the preceding position into one vector prevents weighting individual depths separately and obscures intermediate representations with strong predictive signal. Second, injecting feedback only at the embedding denies later sublayers direct access to deeper previous-position outputs. Other designs fix cross-position links in advance ([4, 12, 19, 42]), while the Feedback Transformer ([9]) requires sequential training (Table 1).

DesignInput at position ttSourceTargetDepth weightsParallel trainingOne-pass decoding
Residuals across depth
Standard residual<br>He et al. (2016)xt,l=∑i<lvt,ix_{t,l} = \sum_{i<l} v_{t,i}t, i<lt,\ i<lallfixed●●
DenseFormer<br>Pagliardini et al. [30]∑i<lwi→lvt,i\sum_{i<l} w_{i\to l}v_{t,i}t, i<lt,\ i<lallstatic●●
Hyper-Connections, mHC<br>Zhu et al. [58]; Xie et al. [51]∑k≤nwt,k→lht,lk\sum_{k\le n} w_{t,k\to l}h^k_{t,l}tt, streamsall–●●
MUDDFormer<br>Xiao et al. [50]∑i<lwt,i→lvt,i\sum_{i<l}w_{t,i\to l}v_{t,i}t, i<lt,\ i<lalldynamic●●
Attention Residuals, MSAR<br>Kimi Team et al. [21]; Qin et al. [33]∑i<lαt,i→lvt,i\sum_{i<l}\alpha_{t,i\to l}v_{t,i}t, i<lt,\ i<lalldynamic●●
Feedback across positions
Feedback Transformer<br>Fan et al. [9]xt,lx_{t,l} with attention to ∑iwivp,i\sum_i w_i v_{p,i}p<tp<t, allallstatic○●
Full-bandwidth Transformer, Recycler<br>Wang et al. [47]; ByteDance Seed [3]vt,0=g(et,vt−1,top)v_{t,0}=g(e_t,v_{t-1,\mathrm{top}})t−1t-1, topinputsingle●●
PonderLM-2<br>Zeng et al. [57]extra step, vt,0=vt−1,topv_{t,0}=v_{t-1,\mathrm{top}}t−1t-1, topinputsingle●○
Latent Recurrent Transformer<br>Huang et al. [19]xt,lx_{t,l} with memory fl(vt−1,s)f_l(v_{t-1,s})t−1, st-1,\ sallsingle◐●
T²MLR<br>Cai et al. [4]g(xt,l,vt−1,s)g(x_{t,l},v_{t-1,s}) at one l<sl<st−1, st-1,\ sonesingle●●
P2N<br>Hao et al. [12]xt,l+vt−1,sx_{t,l}+v_{t-1,s} at one l<sl<st−1, st-1,\ sonesingle●●
Turbo Connection<br>Tang and Lu [42]xt,l+∑s∈SlWs→lvt−1,sx_{t,l}+\sum_{s\in S_l}W_{s\to l}v_{t-1,s}t−1, Slt-1,\ S_lseveralstatic maps○●
Recirculation<br>Mozer et al. [29], at inference timeg(xt,l,vt−1,s)g(x_{t,l},v_{t-1,s}) at one l<sl<st−1, st-1,\ sonesingle–●
Attention Latent Feedback (ours)*<br>§ 4(1−ρl)xt,l+ρl∑i≥lβt,i→lMivt−1,i(1-\rho_l)x_{t,l}+\rho_l\sum_{i\ge l}\beta_{t,i\to l}M_i v_{t-1,i}t−1, i≥lt-1,\ i\ge lalldynamic●●

Table 1. Designs that change what a layer reads. Source gives the position and depths available to layer ll at tt. 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,iv_{t,i} is sublayer ii’s output, vt,0=etv_{t,0}=e_t before input fusion, and xt,lx_{t,l} is the backbone input. The architecture specifies ss and SlS_l. ● yes, ◐ in part, ○ no, – does not apply.

We introduce Attention Latent Feedback (ALF), which removes the need to choose a single source for the sublayer path. Each sublayer keeps its current input while reading the preceding token’s outputs at and above its depth (Figure 1a), weighting them by content and mixing them at a learned share. This exposes every sublayer to the intermediate computation that a single final state hides. To pair these reads with an input summary, ALF adds a learned projection of the preceding top-layer state to the embedding, following Recycler. Both paths run in the final quarter of pretraining via two parallel passes, while decoding stays single-pass.

Attention Latent Feedback architecture and downstream accuracy

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); Table 4 and Table 11 report full results.

We evaluate ALF on mixture-of-experts transformers at three scales under the Marin recipe [44]. On MoE-1.6B, ALF lowers held-out loss by 0.024 nats over the standard residual, with similar gains at larger scales, and outperforms FBT at all three scales under the same schedule. On MoE-4.0B, downstream accuracy rises from 45.1% to 47.0% (Figure 1b), and on AttnRes ALF delivers nearly the same loss reduction across all three scales.

Our contribution is three-fold:

  1. We propose Attention Latent Feedback (ALF), which maps each previous-position sublayer output once through a low-rank projection and lets every sublayer attend over eligible depths via a learned softmax while pairing these reads with a projected top-layer input injection (§ 4).

  1. We show that ALF consistently lowers held-out loss across three MoE scales (MoE-1.6B to MoE-4.0B) on both standard and attention residual backbones, outperforms FBT at every scale, lifts MoE-4.0B downstream accuracy from 45.1% to 47.0%, and matches a 1.38×1.38 \times larger baseline token budget on MoE-1.6B (§ 5.2, § 5.3 and § 6).

  1. We further show that intermediate and nearby deeper outputs drive most of ALF’s gain on both backbones, and that a fixed window over the current and next three sublayers retains 89%–94% of ALF’s loss reduction at linear read cost (§ 5.3, § 7.1 and § 7.2).

Related work

Residual connections across depth. In a standard pre-norm transformer, the residual input to each layer is the sum of the token embedding and the outputs below it (He et al., 2016). The first group in Table 1 shows how later designs change that sum. DenseFormer learns weights for the shallower outputs [30], and MUDDFormer lets those weights depend on the input [50]. Hyper-Connections mix several residual streams [58], and manifold-constrained Hyper-Connections (mHC) restrict how those streams mix [51]. Hierarchical Residuals leave the summed outputs unchanged and widen the residual state that carries them between blocks [48]. Attention Residuals (AttnRes) use a learned query to weight the shallower outputs [21]. Multi-Stream Attention Residuals extend this depth weighting to multiple streams [33]. In our experiments with Attention Latent Feedback (ALF), AttnRes weights layers at the current position while ALF reads deeper outputs from the previous one.

Feedback across positions. The Feedback Transformer lets each layer attend to a memory that aggregates all depths from earlier positions, which requires processing the sequence sequentially during training [9]. Later designs draw feedback from the immediately preceding position, with the source and destination fixed by the architecture. The Full-bandwidth Transformer (FBT) gates the final state into the next token input [47], Recycler adds a projection of it to the embedding [3], and PonderLM-2 uses it for an extra latent step [57]. Huang et al. [16] study the data efficiency of additive feedback when the same training examples appear repeatedly. Within the stack, the Latent Recurrent Transformer gives each block a memory drawn from one chosen depth [19]. T²MLR feeds a middle layer into an earlier one [4], while P2N links the end of a chosen block range to its start at the next position [12]. Turbo Connection uses several prescribed links [42], and Recirculation introduces a link at inference time [29].

While ALF retains Recycler’s additive input connection, inside the stack each sublayer dynamically weights every output at or above its own depth from the preceding position.

Parallel training across positions. Parallelizing recurrent models over sequence length began with parallel prefix scans for linear recurrences ([27]) and extended to nonlinear sequential models through fixed-point solvers such as Jacobi iteration ([39]), parallel Newton iteration in DEER ([26]), and stabilized quasi-Newton updates in ELK ([11]). In feedback transformers, FBT and Recycler use successive Jacobi passes to feed back the final state ([3, 47]), while P2N restricts its Jacobi updates to a middle group of layers ([12]). Each pass carries feedback one token farther along the sequence. ALF trains with two parallel Jacobi passes, whereas during decoding the preceding token’s states are already cached and each new token requires only one pass.

Looped transformers. Looped transformers apply a shared block repeatedly at the same position ([7]). More iterations give a token more computation ([10]), and a learned exit gate can decide when to stop ([59]). Schwethelm et al. [38] compare repeated blocks with distinct layers at fixed unrolled depth, and at matched training compute full backpropagation through fewer loops can outperform truncation through more loops [52]. Inkling 2 Mini [45] likewise loops its middle blocks across three passes per token using block-wise attention residuals. To avoid sequential loop latency during decoding, the Parallel Loop Transformer computes different loops for different tokens in parallel within one pass while sharing key-value caches across loops (Wu et al., 2025), and a shallow loop can draft a token using full-depth values from the verified prefix (Li et al., 2026). Whereas looped transformers reuse weights to add compute at the same position during decoding, ALF reuses deeper representations already computed at the preceding position within a single decoding pass.

Method

We consider a pre-norm transformer [46] (He et al. 2016) with LL blocks and number its 2L2L sublayers from 1 at the bottom, so that block b∈{1,…,L}b \in\{1,\ldots,L\} holds attention sublayer 2b−12b-1 and feed-forward sublayer 2b2b, while index 0 denotes the token input vt,0v_{t,0} (with xt,1=vt,0x_{t,1}=v_{t,0}). We call vt,0,…,vt,2Lv_{t,0},\ldots,v_{t,2L} the sources at position tt and ii the depth of source vt,iv_{t,i}. Throughout, l=1,…,2Ll=1,\ldots,2L indexes the receiving sublayer, xt,lx_{t,l} is its backbone input, and ztz_t denotes the final state before output normalization (xt,2L+1x_{t,2L+1} on standard residuals, or the pre-head depth mixture on AttnRes).

Overview

Reusing deeper states across positions. In an autoregressive transformer, every block has finished at position t−1t-1 before decoding starts at position tt. A shallow attention sublayer at the new position still cannot read those deeper outputs, because standard self-attention restricts it to keys and values formed at its own depth. Attention Latent Feedback (ALF) lets every attention and feed-forward sublayer reuse that computation. Each sublayer keeps its usual input from the sublayers below it and also reads its own depth and every deeper one from position t−1t-1. Figure 3 compares ALF with the Full-bandwidth Transformer (FBT), which feeds only the final state back to the token input.

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 LL of position t−1t-1 into the token embedding of position tt through a learned gate gg. (b) With ALF, each sublayer of block bb attends over the mapped outputs of blocks bb to LL (weights β\beta) and mixes the result into its backbone input at share ρ\rho. The final state zt−1z_{t-1} also joins the token embedding through WEW_E (4). Faded blocks are not read.

Mixing the two streams. Sublayer ll draws on two streams. The current stream xt,lx_{t,l} is the input that the backbone assembles without ALF from the sources i<li<l at position tt, whereas the sublayer feedback carries the sources i≥li\ge l from position t−1t-1 (Figure 3b). When sublayer ll runs, position tt has not yet computed depth ll or any depth above it, so the two streams together cover every depth in its most recent version. In training, an earlier pass supplies the outputs at t−1t-1 (§ 4.3). Combining the two streams yields the mixed sublayer input

ht,l=(1−ρl)xt,l+ρlct,l∑i=l2Lβt,i→lMivt−1,i.(1)h_{t,l}=(1-\rho_l)x_{t,l}+\rho_l c_{t,l}\sum_{i=l}^{2L}\beta_{t,i\to l}M_i v_{t-1,i}. \tag*{(1)}

Here MiM_i is a learned low-rank linear map of source vt−1,iv_{t-1,i} and βt,i→l\beta_{t,i\to l} is a softmax weight over depth, both detailed in § 4.2, while ρl=σ(al)∈(0,1)\rho_l=\sigma(a_l)\in(0,1) is a learned per-sublayer mixing share parameterized through the logistic sigmoid of a scalar ala_l. The rescaling scalar ct,lc_{t,l} matches the feedback sum’s root mean square (RMS) to xt,lx_{t,l} on standard residuals and equals 1 on Attention Residuals (AttnRes), as detailed in (6). The current stream aggregates the shallower sources at position tt according to the backbone,

xt,l={∑i=0l−1vt,i,Standard residual,∑i=0l−1αt,i→lvt,i,Attention residual.(2)x_{t,l}= \begin{cases} \sum_{i=0}^{l-1}v_{t,i}, & \text{Standard residual},\\ \sum_{i=0}^{l-1}\alpha_{t,i\to l}v_{t,i}, & \text{Attention residual}. \end{cases} \tag*{(2)}

where standard residuals take an unweighted sum and AttnRes takes a depth-softmax average whose weights αt,i→l\alpha_{t,i\to l} are defined in §A.1. Each sublayer then applies pre-normalization to the mixed input and produces its output,

vt,l={Attn⁡b(RMSNorm⁡(h1:t,l)),l=2b−1,FFN⁡b(RMSNorm⁡(ht,l)),l=2b,(3)v_{t,l} = \begin{cases} \operatorname{Attn}_{b}\left(\operatorname{RMSNorm}\left(h_{1:t,l}\right)\right), & l = 2b-1, \\ \operatorname{FFN}_{b}\left(\operatorname{RMSNorm}\left(h_{t,l}\right)\right), & l = 2b, \end{cases} \tag*{(3)}

where RMSNorm is applied positionwise and causal self-attention attends over h1:t,l=(h1,l,…,ht,l)h_{1:t,l} = (h_{1,l}, \ldots, h_{t,l}), whereas the feed-forward sublayer acts on ht,lh_{t,l} alone. Because only vt,lv_{t,l} enters deeper current-stream inputs xt,l′x_{t,l'} (l′>ll' > l), ht,lh_{t,l} stays local to sublayer ll, while vt,lv_{t,l} enters sublayer feedback at position t+1t+1 for depth ll and below.

Token-input injection. Even with sublayer feedback in place, both backbones also inject the previous position’s final state into the token input. Whereas sublayer feedback exposes individual sublayer outputs vt−1,iv_{t-1,i}, the final latent state zt−1z_{t-1} carries complementary information: it is the accumulated representation that directly produces the next-token prediction logits and probabilities at position t−1t-1, preserving richer distributional context than the single sampled token alone. Let ete_t denote the token embedding at position tt and WE∈Rd×dW_E \in\mathbb{R}^{d \times d} a learned projection. Following Recycler [3] and Huang et al. [16], we initialize the current stream and depth-0 source as

xt,1=vt,0=et+WERMSNorm⁡(zt−1).(4)x_{t,1} = v_{t,0} = e_t + W_E \operatorname{RMSNorm}(z_{t-1}). \tag*{(4)}

Here RMSNorm is parameter-free (no learned gain), and the last feed-forward output vt−1,2Lv_{t-1,2L} remains a separate source for the sublayer feedback because zt−1z_{t-1} represents the accumulated residual state rather than that single sublayer’s output. We initialize WEW_E to zero so that training starts from the unmodified embedding, and scale its learning rate inversely with model width dd to maintain scale-invariant updates across model sizes (§A.2).

Why feedback starts at depth ll. Restricting the sum in (1) to i≥li \ge l roughly halves the number of sources each sublayer scores compared to attending over all 2L2L depths. It also omits shallower outputs i<li < l from position t−1t - 1, whose information is already reachable through causal self-attention in the sublayers below ll. What makes cross-position feedback valuable is access to deeper computation from the preceding token, which standard attention never exposes to shallower sublayers [9, 12, 42].

The sublayer feedback

Low-rank source maps. Each source output vt−1,iv_{t-1,i} was originally produced for position t−1t - 1, so a sublayer at position tt benefits from adapting it before reading. Motivated by LoRA (Hu et al., 2022), we apply a residual low-rank map Mi=I+UiDiM_i = I + U_iD_i to each source output once and reuse the mapped vector at every sublayer that reads it, where dd is the model width, Ui∈Rd×rU_i \in\mathbb{R}^{d \times r} and Di∈Rr×dD_i \in\mathbb{R}^{r \times d}. The identity term II preserves all information in the original output, while the low-rank projection UiDiU_iD_i adapts a compact subspace on top of it without paying for a full d×dd \times d matrix. We set r=64r = 64 so that the maps add less than one percent to a forward pass.

Tied key-value attention over depth. Each receiving sublayer ll selects among its eligible sources using a learned query ul∈Rdu_l \in\mathbb{R}^{d}. Following Attention Residuals [21], we tie the keys and values by reusing the same mapped output Mivt−1,iM_iv_{t-1,i} for both scoring and aggregation instead of adding separate key and value projections. Tying them avoids extra projection parameters at every depth and lets the query score the exact representation that will be mixed into the sublayer, while normalizing the key prevents large-magnitude sources from dominating the scores. A softmax over eligible source depths gives the weights

βt,i→l=exp⁡(ulTRMSNorm⁡(Mivt−1,i)/d)∑i′=l2Lexp⁡(ulTRMSNorm⁡(Mi′vt−1,i′)/d)(5)\beta_{t,i \to l} = \frac{\exp\left(u_l^{\mathsf{T}} \operatorname{RMSNorm}(M_iv_{t-1,i})/\sqrt{d}\right)}{\sum_{i'=l}^{2L} \exp\left(u_l^{\mathsf{T}} \operatorname{RMSNorm}(M_{i'}v_{t-1,i'})/\sqrt{d}\right)} \tag*{(5)}

Although each sublayer shares one query across positions, the resulting weights adapt dynamically to the source outputs. The weighted sum nt,l=∑i=l2Lβt,i→lMivt−1,in_{t,l} = \sum_{i=l}^{2L} \beta_{t,i \to l}M_iv_{t-1,i} combines the unnormalized mapped outputs. We initialize UiU_i and ulu_l to zero, so each map starts at the identity and each sublayer weights its eligible sources uniformly, and set ala_l so that the initial share is ρl=0.01\rho_l = 0.01.

Matching stream scales across depth. Because its softmax weights sum to one, the feedback mixture nt,ln_{t,l} stays roughly constant in scale across depth, whereas on a standard residual backbone the unweighted sum xt,lx_{t,l} accumulates across layers and grows in RMS with depth. Mixing them directly would therefore attenuate the feedback in deeper sublayers and give ρl\rho_l a different effective strength at each depth. We match the two streams by setting

ct,l={RMS⁡(xt,l)RMS⁡(nt,l)+ϵ,Standard residual,1,Attention residual.(6)c_{t,l} = \begin{cases} \frac{\operatorname{RMS}(x_{t,l})}{\operatorname{RMS}(n_{t,l}) + \epsilon}, & \text{Standard residual},\\ 1, & \text{Attention residual}. \end{cases} \tag*{(6)}

where RMS⁡(x)=∥x∥2/d\operatorname{RMS}(x) = \lVert x \rVert_2/\sqrt{d} is the root mean square of x∈Rdx \in\mathbb{R}^{d} and ϵ>0\epsilon> 0 is a small constant for numerical stability. On standard residuals, this rescaling brings both terms to the same RMS before mixing so that ρl\rho_l controls their balance uniformly across depth. On AttnRes, xt,lx_{t,l} is itself a depth-softmax average (§A.1), so both streams already share the same scale and need no rescaling.

Training and inference

Two-pass Jacobi training. Because both feedback paths at position tt read the outputs of position t−1t - 1, exact evaluation is a nonlinear recurrence across positions. To parallelize training over the sequence length, we adopt Jacobi fixed-point iteration [39], part of the broader family of parallel fixed-point solvers for nonlinear sequential models [11, 26] and also used in recent feedback transformers [3, 47]. Given a token sequence (y1,…,yT+1)(y_1,\ldots,y_{T+1}), pass 1 runs the plain backbone across all TT positions with both feedback paths disabled, setting xt,1(1)=vt,0(1)=etx_{t,1}^{(1)}=v_{t,0}^{(1)}=e_t and ht,l(1)=xt,l(1)h_{t,l}^{(1)}=x_{t,l}^{(1)}. On each subsequent pass k=2,…,Kk=2,\ldots,K, the current stream xt,l(k)x_{t,l}^{(k)} is computed within pass kk by (2), while the input injection (4) and sublayer mixing (1) read the shifted outputs from pass k−1k-1 across all positions in parallel (Figure 4a):

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 (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 (8). (b) Decoding runs one pass per token and reads the preceding token’s cached states.

xt,1(k)=vt,0(k)=et+WERMSNorm⁡(zt−1(k−1)),ht,l(k)=(1−ρl)xt,l(k)+ρlct,l(k)∑i=12Lβt,i→l(k)Mivt−1,i(k−1),(7)\begin{aligned} x_{t,1}^{(k)} &= v_{t,0}^{(k)}=e_t+W_E\operatorname{RMSNorm}\left(z_{t-1}^{(k-1)}\right),\\ h_{t,l}^{(k)} &= (1-\rho_l)x_{t,l}^{(k)}+\rho_l c_{t,l}^{(k)}\sum_{i=1}^{2L}\beta_{t,i\to l}^{(k)}M_i v_{t-1,i}^{(k-1)}, \tag*{(7)} \end{aligned}

where βt,i→l(k)\beta_{t,i\to l}^{(k)} and ct,l(k)c_{t,l}^{(k)} follow (5) and (6) using xt,l(k)x_{t,l}^{(k)} and vt−1,i(k−1)v_{t-1,i}^{(k-1)}, and each sublayer produces vt,l(k)v_{t,l}^{(k)} via (3). At the start of any document (including t=1t=1), both feedback terms are disabled so that feedback never crosses document boundaries. By induction on kk, pass kk matches exact sequential evaluation on the first kk tokens of every document, advancing exact feedback by one token per pass.

Let pt(k)p_t^{(k)} denote the next-token distribution predicted from the final state zt(k)z_t^{(k)} at position tt on pass kk. Each of the K≥2K\ge2 passes incurs a sequence-averaged next-token cross-entropy L(k)\mathcal{L}^{(k)}, and we optimize their sum with equal weight on the first pass and the mean of the feedback passes:

L=L(1)+1K−1∑k=2KL(k),L(k)=−1T∑t=1Tlog⁡pt(k)(yt+1).(8)\mathcal{L}=\mathcal{L}^{(1)}+\frac{1}{K-1}\sum_{k=2}^{K}\mathcal{L}^{(k)},\qquad\mathcal{L}^{(k)}=-\frac{1}{T}\sum_{t=1}^{T}\log p_t^{(k)}(y_{t+1}). \tag*{(8)}

We backpropagate through all passes of (7) without detaching vt−1,i(k−1)v_{t-1,i}^{(k-1)} or zt−1(k−1)z_{t-1}^{(k-1)}, so the feedback-pass losses train earlier passes to produce useful feedback representations while L(1)\mathcal{L}^{(1)} keeps the plain backbone well-calibrated. In our main experiments, we train the backbone with a single pass for the first 75% of steps and then enable feedback with K=2K=2 passes for the final quarter, which is the schedule used in § 5 and § 6. Two passes already suffice in practice: every sublayer receives cross-position feedback from pass 1, adding a third training pass yields negligible improvement over K=2K=2 at higher training compute, and evaluating further parallel passes stabilizes held-out loss rapidly (§ 7.3 and §C.3).

Single-pass decoding and prompt prefill. During autoregressive decoding, ALF caches the 2L2L sublayer outputs and the top-layer state of the preceding token, so a single forward pass at each new token evaluates both feedback paths exactly (Figure 4b). At the start of a document there is no preceding token, and both paths are disabled. For a known sequence, such as a prompt during prefill or a document during teacher-forced evaluation, multiple parallel Jacobi passes can propagate feedback across all positions, or a prompt can be prefilled with a single plain backbone pass before enabling feedback on the continuation. We examine how loss evolves across passes in § 7.3 and compare both prefill strategies in § 7.4.

Experimental results

Experimental setup

Models and data. We pretrain a ladder of three mixture-of-experts transformers following the Marin recipe (The Marin Authors, [44]), using Marin’s MoE-1.6B and MoE-4.0B configurations together with an interpolated MoE-2.6B model (Table 3). Each model trains on 791 tokens per activated parameter from our cleaned Dolma 3 mixture (Team Olmo et al., [43]).

ModelTotalActivatedBlocksHeadsWidthBatchTokens
MoE-1.6B1.59B61M867681,02447.9B
MoE-2.6B2.60B102M1078961,44080.7B
MoE-4.0B3.98B162M1281,0242,048128.1B

Table 3. 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.

Training protocol. We train the standard-residual and AttnRes backbones from scratch, then branch FBT (Wang et al., [47]) and ALF from the 75% checkpoint of each. In each paired comparison, the two branches see the same data order, run two passes over the remaining quarter, and follow the same backbone learning-rate schedule (§B.1), while the continued backbone runs a single pass over the same data. FBT retains the original paper’s gated input fusion and omits the prefix mixin, matching its stronger held-out loss recipe in § 7.4, while ALF omits both the prefix mixin and jitter (baseline details and recipe ablations appear in §B.1 and §C.3). The main comparison uses the standard residual, and § 5.3 extends it to AttnRes; training trajectories appear in Figure 12 (§B.1).

Training trajectories on MoE-4.0B

Figure 12. Figure 12 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 zz-loss.

Evaluation protocol. All held-out and downstream benchmarks use parallel teacher-forced scoring, where every token of a sequence is given up front and processed in parallel rather than one token at a time. To avoid propagating feedback sequentially across tokens, FBT and ALF keep feedback enabled as in Wang et al. [47] and run three parallel passes over each sequence (§ 4.3), whereas the continued backbone needs only a single pass. All loss, perplexity and accuracy metrics are computed from the final pass’s output distribution. For held-out language modeling, we evaluate next-token loss over whole documents at the final checkpoint and average in nats per token across six Dolma 3 domains, with 0.003 nats as our single-scale ablation threshold (§B.1). Because additional Jacobi passes further lower ALF’s loss while raising FBT’s (§ 7.3), three-pass scoring is conservative for ALF, and prompt prefill is compared in § 7.4.

Downstream evaluation. We evaluate seventeen tasks spanning knowledge, reading comprehension, commonsense reasoning and mathematics under the same three-pass parallel scoring, using the prompts and few-shot counts of Schwethelm et al. [38] and DCLM CORE (Li et al., 2024) (§B.2). Following Schwethelm et al. [38], each input concatenates the few-shot examples, question and candidate answer, and only the answer tokens are scored on the final pass. From the final pass, we compute both reference-answer perplexity, a finer-grained measure of base-model quality (Heineman et al., [14]), and accuracy: multiple-choice tasks select the option with the lowest mean negative log-likelihood per scored token, whereas completion tasks require the top-1 next token to match the reference at every answer position. Domain averages weight tasks equally, and the overall average weights domains equally. Task selection, checkpoints and uncertainty criteria appear in §B.2.

Main results

Held-out language modeling loss. Across all three model scales on standard residuals, ALF lowers held-out loss relative to both the continued backbone and FBT under the same two-pass schedule (Table 2). On MoE-1.6B, it reduces the standard residual’s loss by 0.024 nats on matched data, and the gain persists without attenuating on MoE-2.6B and MoE-4.0B. On MoE-1.6B, this gain spans all six validation domains (from code and mathematics to scientific papers and web text), with ALF ahead of FBT in every domain (Figure 5). Although FBT also improves on the backbone, ALF remains at least 0.008 nats lower at every scale, and we compare these gains against compute in § 6.

ModelMoE-1.6BMoE-2.6BMoE-4.0B
Standard residual2.05771.94001.8456
+ FBT2.04471.92611.8322
+ ALF2.03331.91701.8238
Attention residual2.04241.92441.8312
+ FBT2.03361.91441.8227
+ ALF2.01931.90201.8097

Table 2. Held-out loss on two backbones. Loss in nats per token, averaged over six Dolma 3 domains. ALF denotes Attention Latent Feedback. FBT uses its stronger recipe without prefix mixin (§ 7.4, §B.1), and both feedback methods use three evaluation passes.

Loss reductions across six domains

Figure 5. Loss reductions across six domains. MoE-1.6B runs from Table 2 on the standard residual. Points show baseline minus method loss in nats per token. Blue triangles denote FBT and orange circles denote ALF. Larger gains are better.

Downstream task performance. These held-out gains carry over directly to downstream benchmarks on MoE-4.0B (Table 4). ALF raises the four-domain average accuracy from 45.1 to 47.0 points and improves accuracy and reference-answer perplexity on nearly every individual task, with the largest gains in mathematics and reading comprehension, where reusing deeper context across tokens is most valuable. Relative to FBT, ALF adds 0.7 points on average and leads in all four domains, with the largest margins in reading comprehension and commonsense reasoning (§B.2).

TaskStandard+ FBT+ ALFStandard+ FBT+ ALF
Knowledge
TriviaQA20.220.520.912.3612.5212.18
Natural Questions7.07.06.919.4718.1518.56
WebQuestions12.813.913.516.1515.5615.65
Jeopardy33.936.236.34.354.164.11
QA-Wikidata63.262.963.94.044.003.93
ARC-Easy72.272.973.67.927.998.00
ARC-Challenge45.545.745.511.4611.4111.39
Average36.437.037.29.349.159.11
Reading comprehension
LAMBADA60.261.061.84.354.264.19
SQuAD44.645.546.61.911.901.86
SQuAD 2.037.537.440.12.142.152.07
TyDi QA39.544.545.21.611.591.57
CoQA32.633.834.43.533.453.35
DROP14.415.116.16.906.766.69
Average38.139.640.72.982.942.88
Commonsense reasoning
HellaSwag59.860.661.211.9611.7711.69
PIQA75.474.876.112.4612.2312.11
Average67.667.768.712.2112.0011.90
Mathematics
ASDiv36.439.440.34.934.524.43
MAWPS40.042.342.44.053.813.77
Average38.240.841.34.464.154.08
All domains45.146.347.06.246.055.97

Table 4. 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 § 5.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 (§B.2). ALF leads the standard residual in all four domains, raising the average from 45.1 to 47.0 points.

Finding 1 ALF lowers held-out evaluation loss relative to both the standard-residual backbone and FBT across all three scales (MoE-1.6B, MoE-2.6B, and MoE-4.0B). On MoE-4.0B, these gains carry over to higher downstream task accuracy across all four benchmark domains.

Extension to attention residuals

Complementarity with AttnRes. Because AttnRes replaces the standard residual’s running sum with a learned within-position depth softmax (§A.1), we test whether cross-position feedback still helps on this stronger backbone by training full (per-sublayer) AttnRes from scratch and branching ALF and FBT’s input fusion under the same protocol (Table 2). ALF lowers loss at all three scales by margins close to those on standard residuals and widens its lead over FBT to at least 0.012 nats. On MoE-4.0B, ALF raises downstream average accuracy by 1.7 points and lowers reference-answer loss by 0.055 nats (Figure 6; per-task results in Table 11, §B.2), leading FBT in every domain, and an independent backbone matches this gain (§B.1).

Downstream complementarity with Attention residual on MoE-4.0B

Figure 6. 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 (Table 4 and Table 11). (b) Accuracy gains over the Attention residual backbone across the four domains and their average.

TaskAttnRes+ FBT+ ALFAttnRes+ FBT+ ALF
Accuracy (%) ↑Perplexity ↓
Knowledge
TriviaQA22.322.723.212.0011.6011.37
Natural Questions7.67.88.018.0417.2817.20
WebQuestions13.314.714.514.9715.1315.03
Jeopardy36.336.137.54.204.003.94
QA-Wikidata64.365.965.63.873.573.55
ARC-Easy73.772.972.47.787.537.65
ARC-Challenge45.946.846.211.1710.6210.81
Average37.638.138.28.948.598.57
Reading comprehension
LAMBADA61.561.862.94.154.033.94
SQuAD42.145.147.71.981.911.82
SQuAD 2.034.638.740.42.272.142.05
TyDi QA41.440.241.61.681.671.63
CoQA33.133.634.93.533.423.39
DROP14.015.815.86.996.536.46
Average37.839.240.53.032.922.84
Commonsense reasoning
HellaSwag60.861.662.211.7611.5711.51
PIQA74.975.576.012.2912.0511.92
Average67.968.569.112.0211.8111.72
Mathematics
ASDiv39.041.340.84.554.284.13
MAWPS40.342.443.13.773.533.49
Average39.641.841.94.153.893.80
All domains45.746.947.46.065.825.74

Table 11. 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 4. 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. Accuracy (%) ↑ Perplexity ↓

Disentangling the two feedback paths. ALF combines two cross-position paths: additive token-input injection, a Recycler-style input-feedback baseline (ByteDance Seed, [3]) rather than FBT’s gated replacement, and per-sublayer feedback. To isolate what drives ALF’s complementarity with AttnRes and how sublayer feedback composes with input injection, we evaluate each path alone on MoE-1.6B (Table 5). Sublayer feedback alone achieves nearly identical gains on both backbones, retaining 96% of ALF’s gain on AttnRes, whereas standalone token-input injection shrinks to 49%. Once AttnRes’s within-position weighting already links every layer to the token input, per-sublayer cross-position reads carry almost all of the remaining benefit. This explains why ALF widens its lead over FBT on AttnRes while input injection still adds a small further gain when combined with sublayer feedback. Further integration and map controls appear in §C.2.

ModelStandard residual Loss ↓\downarrowStandard residual Gain ↑\uparrowAttention residual Loss ↓\downarrowAttention residual Gain ↑\uparrow
Backbone2.0577–2.0424–
+ Injection2.03880.01892.03120.0113
+ Sublayer feedback2.03530.02242.02030.0222
+ ALF (both)2.03330.02442.01930.0231

Table 5. Two paths across backbones. Held-out loss on MoE-1.6B in nats per token. Gains are relative to each backbone. The single-path rows use that path alone, while ALF uses both. Bold marks the lowest loss and largest gain on each backbone.

Finding 2 ALF’s gains in held-out loss and downstream accuracy carry over to the AttnRes backbone. Ablating the two paths confirms that both input injection and sublayer feedback contribute to the gain, with sublayer feedback providing most of the benefit.

Data and compute efficiency

ALF reuses the previous position’s computation while decoding each token in one pass. The maps and injection add 1.1% to per-token decoding FLOPs on MoE-1.6B. During training, the second pass over the final quarter raises total FLOPs to 1.253×\times the backbone (§A.3). We compare the loss reduction with this training cost under two alternatives: adding training tokens at fixed model size, or increasing model size together with its token budget.

At fixed model size, ALF uses training data more efficiently. We train the standard residual from scratch at several token budgets on MoE-1.6B and fit a power law to held-out loss (Figure 7) (Wang et al. [47]). Matching ALF’s loss requires 1.38×\times as many baseline training tokens, equivalent to a 27% reduction in tokens. The loss advantage persists when both models train on twice the base token budget. This token advantage more than covers the extra training passes: dividing the baseline’s matched-loss token budget by ALF’s training-cost multiplier gives an iso-loss compute ratio of 1.10×\times in favor of ALF. Huang et al. [16] also find that feedback improves data efficiency when models train repeatedly on a fixed dataset.

Training data on MoE-1.6B

Figure 7. Training data on MoE-1.6B. The gray curve fits the standard model’s loss from 48B tokens to twice that budget. Dashed lines mark where it reaches each feedback model trained on 48B tokens: 1.18× the budget for FBT and 1.38× for ALF.

When both model size and unique tokens can scale freely, spending the extra 25% two-pass FLOPs on a larger single-pass backbone achieves comparable pretraining compute efficiency; as Huang et al. [16] analyze, latent feedback acts primarily as a data and fixed-size amplifier. Plotting each method against its total training FLOPs across the three model sizes (Qin et al. [33]), Figure 8 compares ALF directly against FBT: accounting for each method’s exact two-pass overhead, FBT needs 1.07×\times the training FLOPs that ALF spends on average to reach each ALF model’s loss.

Held-out loss against training compute

Figure 8. Held-out loss against training compute. Training FLOPs are normalized to ALF on MoE-4.0B (including its second pass). Curves fit the power law L(C)=aC−γ\mathcal{L}(\mathcal{C}) = a\mathcal{C}^{-\gamma} to measured losses (points); the legend ratio averages FBT’s fitted FLOPs divided by ALF’s at each ALF loss.

At decoding time, ALF runs in a single pass with only about 1.1% extra forward FLOPs from the maps and input projection, leaving per-token memory traffic (discussed in Limitations) as the main deployment tradeoff.

Finding 3 At fixed size, ALF uses fewer tokens and less training compute to match the standard residual’s loss, and across scales it outperforms FBT in training compute efficiency.

Analysis

We now examine which previous-position representations drive ALF’s gains, how much of that gain survives when a fixed nearest-four window replaces the learned depth softmax, how additional parallel passes behave beyond two-pass training, and how prefill choices affect continuation quality.

What the sublayer feedback reads

The learned attention maps in Figure 9a–Figure 9c show a consistent local diagonal pattern across all three model sizes. Most of the attention probability mass falls on each sublayer’s own depth and the next three deeper sublayers of the previous position (above the dashed diagonal line), whereas more distant deeper outputs receive far less weight. At all three sizes, every reader in the lower half gives more weight to the two nearest eligible outputs together than a uniform read would: on MoE-4.0B, their combined weight averages 31% across those readers, compared with 11% under uniform weights. Across the network, shallow sublayers also carry the largest learned feedback shares (the lower half accounts for 73% of the summed shares on MoE-4.0B), so share-weighted reads focus on nearby intermediate blocks of the previous position (§C.1).

Learned attention maps over depth for MoE-1.6B, MoE-2.6B, and MoE-4.0B

Figure 9. 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 (§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.

Interventions on the trained model test how these reads contribute to prediction (§C.1). Keeping only the most useful middle block retains 40% of the sublayer feedback’s contribution, while the top quarter of blocks together retains 21%. The observed preference for intermediate blocks is thus accompanied by a larger contribution from those outputs.

While those interventions zero out reads in an already trained model, the source controls in Table 6 retrain with restricted sources so the model can adapt to the depths available. Restricting sublayer feedback to only the final state raises loss by 0.0061 nats without input injection, and restricting it to the last block still raises loss by 0.0051 nats with both paths active. Replacing learned attention over depth with an equally weighted read of the four nearest eligible outputs raises MoE-1.6B loss by only 0.0013 nats in Table 6, which we examine across scales, downstream benchmarks, and read costs in § 7.2. As a post-hoc diagnostic guided by Figure 9, moving standalone input injection from the last block down to block six also lowers MoE-1.6B loss by 0.0044 nats, corroborating that intermediate layers carry the strongest cross-position signal.

Feedback source (at every sublayer)Injection source (at the token input)Loss ↓\downarrowΔ\Delta loss
Feedback only: restrict its source
All eligible sublayer outputsDisabled2.0353–
Final state onlyDisabled2.0414+0.0061
Injection only: move the injection source
DisabledFinal state (block 8)2.0388–
DisabledState after block 62.0344−0.0044
Both paths: restrict the feedback source
All eligible sublayer outputsFinal state (block 8)2.0333–
Last-block outputs onlyFinal state (block 8)2.0384+0.0051
Nearest four outputs onlyFinal state (block 8)2.0346+0.0013

Table 6. Table 6 Feedback sources on MoE-1.6B. Held-out loss (nats per token, three passes) under Table 2’s standard-residual setup when varying which previous-position states each path reads. Within each group, Δ\Delta loss is relative to the first row (negative is better), lowest loss is bold, and the shaded row marks full ALF.

Unlike single-block input tapping, however, per-sublayer feedback discovers and routes these intermediate depths automatically per sublayer and per token without oracle block selection, and it transfers reliably to AttnRes where standalone input injection retains less than half of ALF’s gain (Table 5). Once sublayer feedback is active, moving the input injection to block six adds little further gain (§C.2), so the full model keeps the default top-layer state for input injection. Weight maps, interventions and retrained controls thus all point to intermediate layers as the primary driver of ALF’s gains.

Finding 4 Learned attention over depth places most of its probability mass on each sublayer’s current and next three sublayers of the previous position. Interventions and retrained controls confirm that these nearby outputs drive most of ALF’s gain.

Fixed nearest-window feedback

Why a four-output window. The learned attention maps in Figure 9a–c reveal a narrow diagonal band just above each sublayer’s own depth, an inductive bias discovered by training full cross-depth attention rather than prescribed in advance. Outputs one to two blocks deeper at the previous position already carry refined context yet remain close to the reader’s representation scale, whereas top layers specialize toward the output head. Averaging across receiving sublayers weighted by each sublayer’s learned feedback share ρl\rho_l (§C.1), the four nearest eligible outputs (two transformer blocks, clipped at the top) receive 73%, 68%, and 64% of the attention mass on MoE-1.6B, MoE-2.6B, and MoE-4.0B, compared with 46%, 38%, and 32% under uniform weights. To separate the benefit of reading this local band from per-token softmax selection, we replace (5) with an equal-weight average over those four outputs while keeping the rank-64 maps, learned mixing shares, and token-input injection unchanged. Removing the softmax drops all depth queries and reduces total cross-layer source reads per token from quadratic (L(2L+1)L(2L+1)) to linear (8L−68L-6) in depth, cutting reads by 57% to 70%.

What the architectural path carries. Across all three scales in Table 7, this fixed nearest-four window retains 94% to 89% of ALF’s held-out loss reduction over the standard residual and 88% to 72% of its margin over FBT. Downstream accuracy and answer perplexity follow the same pattern, tracking ALF closely while staying ahead of FBT at every scale. Adding evaluation passes beyond training also keeps lowering loss for the fixed window (−0.0014 to −0.0012 nats from pass 2 to pass 4), matching ALF’s pass-to-pass stability in § 7.3, whereas FBT rebounds after pass 2. Direct per-sublayer access to nearby deeper outputs of the previous position therefore drives both multi-pass stability and most of ALF’s gain at these scales, even without per-token softmax selection.

Held-out loss (nats) ↓\downarrowDownstream Acc (%) ↑\uparrow / PPL ↓\downarrow
ModelMoE-1.6BMoE-2.6BMoE-4.0BMoE-1.6BMoE-2.6BMoE-4.0B
Standard residual2.05771.94001.845631.98 / 9.6538.95 / 7.6345.06 / 6.24
+ FBT2.04471.92611.832232.47 / 9.4740.21 / 7.3246.27 / 6.05
+ ALF2.03331.91701.823833.29 / 9.2240.56 / 7.2246.98 / 5.97
+ Fixed nearest-42.03461.91881.826233.40 / 9.2240.48 / 7.1946.75 / 6.00
Fixed − ALF+0.0013+0.0018+0.0024+0.11 / +0.00−0.08 / −0.04−0.23 / +0.02
Fixed − FBT−0.0101−0.0072−0.0060+0.93 / −0.25+0.27 / −0.14+0.48 / −0.05

Table 7. Table 7 Fixed nearest-window feedback across scales. Standard-residual models under Table 2’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 4’s seventeen tasks. Bottom rows show differences from ALF and FBT, with the best value per column in bold.

Where learned attention earns its margin. At the same time, the gap between the fixed window and learned ALF widens monotonically across all three scales: the held-out loss penalty nearly doubles from 0.0013 nats on MoE-1.6B (L=8L = 8) to 0.0024 nats on MoE-4.0B (L=12L = 12), the share of ALF’s margin over FBT lost by dropping the softmax grows from 12% to 28%, and downstream accuracy shifts monotonically from +0.11 to −0.23 points relative to ALF. Depth geometry explains this divergence: at L=8L = 8 blocks, a four-sublayer window already spans 46% of uniform share-weighted mass, leaving limited room to separate, whereas by L=12L = 12 uniform coverage falls to 32% and Figure 9 spreads weight across more layers (nearest-four mass drops from 73% to 64% and mean top-1 weight from 0.41 to 0.37). ALF thus spans two operating points of one mechanism: the fixed nearest-four window offers a linear-read variant discovered from ALF’s attention maps at moderate depths, whereas learned attention recovers a growing share of the gain as models deepen.

Finding 5 Truncating the attention window to an equal-weight average of the current and next three sublayers preserves most of the performance gain while cutting read cost from quadratic to linear in depth.

Behavior beyond two training passes

The procedure in § 4.3 trains with two parallel passes, while decoding uses the states of the completed previous token. Evaluating additional parallel passes lets feedback propagate farther along the sequence and measures how the loss changes beyond the training regime (Figure 10). After the second pass, ALF’s loss falls by a further 0.0014 nats and FBT’s rises by 0.0012 nats. Both losses settle within a few passes.

Behavior beyond the training passes on MoE-1.6B

Figure 10. 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 2. (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−310^{-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.

State measurements confirm this stabilization: consecutive passes reach a final-state cosine similarity above 0.9996, while their relative state change levels off near 2%, and longer evaluations reproduce the same pattern (§C.3). Training with a third pass improves ALF’s late-pass loss by only 0.0010 nats, supporting the two-pass schedule at lower training cost (§C.3).

Prompt processing and training choices

The prompt provides the states from which recurrent decoding begins. Table 8 compares three ways to use the same trained checkpoint. Standard disables cross-position feedback throughout the prompt and continuation. Fused uses feedback in both, while Soft processes the prompt in one plain backbone pass and enables feedback for the continuation. This separates the benefit of feedback during continuation from the additional benefit of processing the prompt with feedback.

ModelContinuation loss ↓Prefill penalty
StandardFusedSoftSoft − Fused
Standard backbone1.9660–––
+ FBT1.97041.95221.9621+0.0099
+ ALF1.96681.94051.9436+0.0031

Table 8. Prompt processing on MoE-1.6B. Continuation loss in nats after a 1,024-token prompt, using Table 2’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.

Enabling feedback during continuation lowers loss for both methods, and using it during prompt processing lowers loss further. Switching from Fused to Soft costs 0.003 nats for ALF and 0.010 nats for FBT. ALF therefore retains more of its benefit with a single plain prompt pass. The Standard-mode controls show that these improvements depend on using feedback at evaluation time: with feedback disabled, neither feedback-trained checkpoint improves on the standard backbone.

We also vary FBT’s training modifications (Wang et al., [47]): uniform jitter on the fed-back state and a prefix mixin that feeds plain embeddings on random document prefixes. Table 14 (§C.3) shows a tradeoff for FBT: keeping the prefix mixin raises held-out loss by 0.010 nats, whereas removing it leaves FBT worse than the standard backbone in the alternating-turn evaluation, which repeatedly switches from plain prefill to feedback-enabled continuation. ALF avoids this tradeoff. Without either the prefix mixin or jitter (which changes losses by at most 0.0005 nats), it reaches the lowest loss across held-out evaluation, plain-prefill continuation and alternating-turn continuation.

Table 14 | 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., [47]), 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 2. |

ModelJitterPrefix mixinPass 2Pass 32Pass 32 − Pass 2FusedSoftSoft − FusedScored turns
Standard residual2.05742.0574–1.96601.9660–1.9887
+ FBT✓✓2.05412.0549+0.00081.96021.9601−0.00011.9839
+ FBT✓2.05412.0548+0.00081.96021.9601−0.00011.9838
+ FBT†✓2.04422.0454+0.00121.95221.9621+0.00991.9902
+ FBT2.04422.0455+0.00121.95241.9625+0.01011.9906
+ ALF✓✓2.04182.0411−0.00071.94771.9488+0.00111.9732
+ ALF✓2.04182.0411−0.00071.94771.9488+0.00111.9732
+ ALF✓2.03462.0332−0.00141.94061.9436+0.00311.9692
+ ALF†2.03462.0332−0.00141.94051.9436+0.00311.9693

Table 14.

Conclusion

Attention Latent Feedback (ALF) gives every sublayer direct access to deeper outputs of the previous position while training in two parallel passes and decoding in one pass per token with minimal forward overhead. Across the mixture-of-experts scales we study, ALF lowers held-out loss on both standard and attention residuals, outperforms FBT under the same schedule, and improves downstream accuracy. Depth weight maps, interventions and retrained source controls all point to intermediate representations as the main gain beyond final-state feedback. At fixed model size, ALF reaches a target loss with fewer training tokens, and most of its benefit persists after a single plain prompt pass.

Limitations. During decoding, each sequence caches the preceding token’s 2L2L sublayer outputs (O(Ld)O(Ld) memory, small relative to the KV cache), yet reading them at every sublayer raises per-token memory traffic over final-state feedback. Speculative decoding for final-state feedback uses stand-in states and correction passes (Huang et al., [17]). Extending it to per-sublayer reads remains open. Block-level summaries as in Block AttnRes (Kimi Team et al., [21]) could reduce this traffic, while the fixed nearest-four window of § 7.2 already removes 57%–70% of cross-layer reads with minimal loss at the scales tested. Tapping an intermediate block for single-vector input injection (Table 6) is also a lightweight alternative on standard residuals whose behavior at larger scales, on AttnRes, and under plain prefill remains untested. We evaluate base MoE models up to 4.0B parameters and 128B tokens on short-answer and multiple-choice tasks with limited seed repeats; scaling further and testing post-trained long-form generation remain future work.

Method details

ALF on Attention Residuals

Current-stream attention. The extension in § 5.3 uses full Attention Residuals [21] as the backbone. In (2), each sublayer ll forms its current stream xt,lx_{t,l} using a learned pseudo-query wl∈Rdw_l \in\mathbb{R}^{d} that scores all shallower sources at position tt:

xt,l=∑i=0l−1αt,i→lvt,i,αt,i→l=exp⁡(wlTRMSNorm⁡(vt,i)/d)∑i′=0l−1exp⁡(wlTRMSNorm⁡(vt,i′)/d)x_{t,l} = \sum_{i=0}^{l-1} \alpha_{t,i\to l} v_{t,i}, \qquad\alpha_{t,i\to l} = \frac{\exp\left(w_l^{\mathsf{T}}\operatorname{RMSNorm}(v_{t,i})/\sqrt{d}\right)}{\sum_{i'=0}^{l-1} \exp\left(w_l^{\mathsf{T}}\operatorname{RMSNorm}(v_{t,i'})/\sqrt{d}\right)}

The output head uses a separate depth softmax over all 2L+12L + 1 current-position sources to form the final state ztz_t before final normalization. Pseudo-queries start at zero, giving uniform depth weights initially. ALF retains this current stream and mixes it with the sublayer feedback in (1) using ct,l=1c_{t,l}=1 (6), since both streams are already softmax-weighted averages.

Block-level construction. Figure 11 illustrates the full layout at block level. At the attention sublayer of block bb, the sublayer feedback starts at the previous position’s attention output in that block; at the feed-forward sublayer, it starts one sublayer higher because the current position’s attention output is already available. Through (4), the projected final state zt−1z_{t-1} enters vt,0v_{t,0} and participates in every current-stream mixture, whereas the output head reads only the current stream.

Figure 11. Attention residuals, alone and with Attention Latent Feedback. Blue marks the current stream, orange the sublayer feedback and its softmax, and purple the mixture Σ\Sigma that forms the input of each sublayer. (a) In AttnRes, the current stream carries the sources of position tt upward, and each sublayer of block bb takes a softmax over those below it, with weights α\alpha. (b) With ALF on AttnRes, every output of position t−1t-1 passes through a per-output map, and each sublayer of block bb mixes a separate softmax over blocks bb to LL, with weights βb\beta_b, into its current-stream softmax at share ρ\rho. As in Figure 3, the state zt−1z_{t-1} also joins the token embedding through WEW_E (4). Faded blocks of position t−1t-1 are not read.

Parameterization, initialization, and input injection

Parameter count and initialization. Across all 2L2L sublayers, the low-rank source maps Mi=I+UiDiM_i = I + U_iD_i (§ 4.2) add 4rdL4rdL parameters, the depth queries ulu_l and mixing logits ala_l add 2dL+2L2dL + 2L parameters, and the token-input projection WEW_E adds d2d^2 parameters. Initializing Ui=0U_i = 0, ul=0u_l = 0, al=log⁡(1/99)a_l = \log(1/99) and WE=0W_E = 0 starts every source map at the identity, sets uniform depth weights βt,i→l\beta_{t,i\to l} in (5), assigns a 1% initial feedback share ρl=σ(al)=0.01\rho_l = \sigma(a_l) = 0.01 in (1), and leaves the token embedding unmodified at the branch point.

Token-input injection. In (4), the embedding ete_t is taken after the backbone’s embedding normalization, and the final state zt−1z_{t-1} is taken after the last block before final normalization (xt−1,2L+1x_{t-1,2L+1} on standard residuals, or the pre-head depth mixture on AttnRes). The projection WE∈Rd×dW_E \in\mathbb{R}^{d \times d} is bias-free and initialized to zero, and the RMSNorm applied to zt−1z_{t-1} carries no learned gain. We train WEW_E with Adam under zero weight decay and scale its learning rate by κ/d\kappa/d with κ=7.68\kappa= 7.68 (giving factors of 0.01, 0.0086 and 0.0075 across the three MoE widths) to keep output updates width-invariant after branching, following the maximal-update parametrization [54, 55] (Yang and Hu 2021).

Document boundaries and exact prefixes. Both cross-position pathways are disabled at document starts and throughout the first training pass, reducing pass 1 to the plain backbone (vt,0=etv_{t,0}=e_t and ht,l=xt,lh_{t,l}=x_{t,l}). Under Jacobi unrolling (§ 4.3), pass kk matches the exact sequential recurrence on the first kk positions of each document: pass 1 is exact at position 1, and each additional pass extends the exact prefix by one position. Full backpropagation through (8) lets later-pass losses train the earlier-pass outputs they consume.

Training and decoding compute

FLOP accounting. We count matrix products at two FLOPs per active parameter and token in a forward pass, including the output head, and add the score and value products over each attention layer’s context, counting the backward pass as twice the forward pass. Applying each low-rank map once adds 8rdL8rdL forward FLOPs per token, and the input projection adds 2d22d^2. Denoting their combined fraction of the backbone’s forward FLOPs by μ\mu, running a second pass over the final quarter of training (§ 4.3) gives the total training cost ratio

34+14(2+μ)=1+1+μ4,\frac{3}{4}+\frac{1}{4}(2+\mu)=1+\frac{1+\mu}{4},

which equals 1.253 on MoE-1.6B. Single-pass decoding incurs only the forward fraction μ\mu. Depth softmaxes are omitted from these counts because they add less than 0.5% to a forward pass.

Measured step times. For the full MoE-1.6B model on the standard residual, the median step times over the last 500 logged training steps are 1.99 seconds for the continued backbone and 4.12 seconds for ALF. Both runs use the same accelerator type, global batch and sequence length, with one microbatch for the backbone and four for the two-pass model. The measured step-time ratio is 2.07×2.07\times; applying it to the two-pass final quarter gives an estimated full-schedule ratio of 1.27×1.27\times, excluding compilation, evaluation and checkpoint I/O.

Experimental setup and evaluation

Training setup

Model configurations and data. Table 3 in § 5.1 lists the three MoE configurations, taken specifically from Marin’s moe_hero_ep scaling ladder ([44])2 rather than Marin’s other MoE ablation suites. Every fourth attention layer uses the full 4,096-token context, whereas the remaining layers use a 2,048-token sliding window. Query heads have width 128 and share one key-value head, or two on MoE-4.0B. Token budgets range from 48B to 128B. We use the Marin tokenizer ([44]), with document boundaries masked in both self-attention and cross-position feedback.

Optimization and precision. The backbone follows Marin’s matrix optimizer with momentum 0.95, while the remaining parameters use Adam with β1=0.9\beta_1=0.9. Table 9 lists peak learning rates and size-dependent Adam settings. Learning rates warm up over the first 1% of training and decay linearly to 5% of their peaks. Weight decay is 0.1, reduced to 0.02 for the router. New sublayer-feedback parameters use Adam, while the input projection uses no weight decay and the inverse-width rate of §A.2. Parameters are stored in float32 and computation runs in bfloat16. Each main comparison uses one run per method and size, complemented by the independent-backbone repeat below.

ParameterMoE-1.6BMoE-2.6BMoE-4.0B
Matrix learning rate0.01580.01480.0144
Adam learning rate0.003650.003430.00333
Adam β2\beta_{2}0.968490.955980.95000
Adam ϵ\epsilon1.03×10−151.03 \times10^{-15}1.13×10−151.13 \times10^{-15}1.20×10−151.20 \times10^{-15}

Table 9. Table 9 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 §A.2.

Downstream evaluation

FBT baseline configuration. FBT replaces the token embedding with a learned gated fusion of the embedding and the preceding final state (Wang et al., [47]), passed through the backbone’s input normalization so that it enters at the embedding’s scale. Because omitting the prefix mixin yields substantially lower held-out loss (§ 7.4), we evaluate FBT without the prefix mixin across all main comparisons; uniform jitter has negligible effect (at most 0.0005 nats in Table 14, §C.3) and is retained on the standard-residual runs while omitted on AttnRes.

Evaluation passes and variance checks. All multi-pass MoE models use three evaluation passes on the six validation domains; a fourth pass shifts ALF’s loss on MoE-1.6B by only 0.0001 nats. Paired branches share their initialization checkpoint and data order. Repeating a branch across two accelerator clusters changes held-out loss by at most 0.0001 nats, while independently trained backbones differ by 0.011 nats. For single-scale ablation decisions, we use 0.003 nats as a practical reference threshold while still tracking consistent monotonic trends across scales. Branching ALF from the second independent AttnRes backbone gains 0.022 nats, within 0.0008 nats of the gain on the first.

Training trajectories. Figure 12 plots the full MoE-4.0B trajectories and enlarges the final phase. After branching at 75% of training, ALF descends smoothly, whereas FBT shows an initial transient before both finish below the continued backbone.

Downstream evaluation

Tasks and selection. The candidate suite combines the twenty tasks released by Schwethelm et al. [38] and six tasks from DCLM CORE (Li et al., 2024), counting HellaSwag once. Table 10 lists the selected tasks. The four domains follow Saunshi et al. [37], including DROP under reading comprehension because its arithmetic questions are grounded in a passage.

DomainTaskFormatShotsQuestionsChance
KnowledgeTriviaQA (Joshi et al., [20])Completion510,000–
Natural Questions (Kwiatkowski et al., [23])Completion53,610–
WebQuestions (Berant et al., [1])Completion52,032–
Jeopardy (Li et al., 2024)Completion102,117–
QA-Wikidata (Srivastava et al., [40])Completion1010,000–
ARC-Easy (Clark et al., [6])Multiple choice102,3760.25
ARC-Challenge (Clark et al., [6])Multiple choice101,1720.25
Reading comprehensionLAMBADA (Paperno et al., [31])Completion05,153–
SQuAD (Rajpurkar et al., [35])Completion1010,000–
SQuAD 2.0 (Rajpurkar et al., [34])Completion35,928–
TyDi QA (Clark et al., [5])Completion3440–
CoQA (Reddy et al., [36])Completion17,983–
DROP (Dua et al., [8])Completion39,535–
Commonsense reasoningHellaSwag (Zellers et al., [56])Multiple choice010,0000.25
PIQA (Bisk et al., [2])Multiple choice101,8340.50
MathematicsASDiv (Miao et al., [28])Completion52,305–
MAWPS (Koncel-Kedziorski et al., [22])Completion51,772–

Table 10. 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.

We retain tasks on which baseline accuracy is measurably above chance and improves during training. Specifically, on MoE-1.6B with AttnRes, final accuracy must exceed both chance and accuracy at step 2,000 by at least five binomial standard errors, and the standard-residual accuracy gain from MoE-1.6B to MoE-4.0B must exceed ten times the larger within-task seed gap (Heineman et al., [14]). This excludes SVAMP (Patel et al., [32]) and the seven symbolic probes (whose scores vary by 2.7 points between seeds). We also omit tasks requiring long generated solutions or programs, including MATH500, HumanEval+, MBPP+ (Huang et al., [18]) and BIG-Bench Hard with chain-of-thought (Suzgun et al., [41]), as our pretraining mixture contains 2.6% mathematics and 6.9% code without instruction tuning.

Prompts and scoring. Jeopardy, ARC-Challenge, SQuAD, HellaSwag and PIQA use DCLM CORE prompts and few-shot counts (Li et al., 2024), while the remaining tasks use those of Schwethelm et al. [38]. For each of up to 10,000 questions per task, we sample few-shot examples from the same task with a fixed seed, excluding the target question. Because all tokens in each evaluation item are known in advance, FBT and ALF process the concatenated few-shot examples, question and candidate answer together in three parallel Jacobi passes with feedback enabled throughout, and we score only the answer positions on the final pass.

We follow the answer-scoring protocol of Schwethelm et al. [38]. For multiple-choice questions, we score each option after the shared token prefix and select the option with the lowest mean negative log-likelihood per scored token (omitting four PIQA questions where one tokenized option prefixes another, leaving no unshared tokens). For completion tasks, we likewise use teacher forcing, conditioning each answer position on the prompt and preceding reference tokens, and count a completion as correct only when the highest-probability next token matches the reference at every answer position.

For each task, reference-answer perplexity is the exponential of the total negative log-likelihood over all scored reference-answer tokens divided by their token count. Each domain reports the arithmetic mean of task accuracies and the geometric mean of task perplexities, and the overall average weights all four domains equally.

Checkpoints and per-task results. Table 4 (and MoE-4.0B in Table 7) evaluates FBT, ALF and the fixed-window variant at step 15,000 and the standard residual at its final step 15,276 (its step-15,000 checkpoint was not retained, giving the baseline 276 additional training steps); MoE-1.6B and MoE-2.6B in Table 7 use matched final checkpoints for all models. Across Table 4, ALF improves accuracy on fifteen tasks and reference-answer perplexity on sixteen tasks relative to the standard residual. The AttnRes extension evaluates MoE-4.0B at its final checkpoint and two earlier checkpoints after branching; Table 11 reports the final checkpoint for every task alongside domain averages. Across these checkpoints, ALF improves average accuracy by 1.4 points and reference-answer loss by 0.043 nats, with its accuracy gain growing from 0.3 points early after branching to 1.7 at the final checkpoint.

Uncertainty. Models are compared on the same questions. We draw 1,000 paired bootstrap samples within each task to obtain a 95% interval for the difference in each domain average. We call a difference resolved when this interval excludes zero and its magnitude also exceeds three times the larger gap from two MoE-1.6B seed pairs. These seed gaps range from 0.11 to 0.74 accuracy points across domains. We apply the same procedure to perplexity. The interval measures uncertainty across questions, and seed gaps check training variability.

Supplementary analysis

Depth weights and interventions

Average depth weights. Panels (a–c) of Figure 9 show the final-checkpoint softmax weights of (5) on the standard residual averaged over a held-out set T\mathcal{T} of positions that read a preceding position, evaluated in pass 2 reading pass 1 (we omit pass superscripts below for readability):

βˉi→l=1∣T∣∑t∈Tβt,i→l.\bar{\beta}_{i\to l} = \frac{1}{|\mathcal{T}|} \sum_{t\in\mathcal{T}} \beta_{t,i\to l}.

Each column sums to one over eligible sources i≥li \ge l; the deepest reader has only one eligible source, so its weight is one by construction. For the two nearest sources of a reader in the lower half, the uniform reference is 2/(2L−l+1)2/(2L-l+1), and we average both this reference and the observed sum equally across those readers.

Share-weighted source mass. Because the sublayer feedback enters sublayer ll at share ρl\rho_l, rescaled by ct,lc_{t,l} (6) to match the norm of the current stream, we summarize source usage by the share-weighted average across receiving sublayers. The mass assigned to source ii is

ri=∑l=1iρlβˉi→l∑l=12Lρl(9)r_i = \frac{\sum_{l=1}^{i} \rho_l \bar{\beta}_{i\to l}}{\sum_{l=1}^{2L} \rho_l} \tag*{(9)}

and block bb receives Rb=r2b−1+r2bR_b = r_{2b-1} + r_{2b}. Because each sublayer’s weights sum to one, the rir_i sum to one as well, and ∑irii/(2L)\sum_i r_i i/(2L) gives the mean source depth.

Because the inner sum in (C.1) runs over sublayers 1 to ii that can read source ii, a deep output collects weight from more readers than a shallow one even under uniform attention. To separate this geometric effect from learned preferences, we hold ρl\rho_l fixed and replace βˉi→l\bar{\beta}_{i\to l} with the uniform weight 1/(2L−l+1)1/(2L-l+1) over the 2L−l+12L-l+1 eligible sources,

rieven=∑l=1iρl/(2L−l+1)∑l=12Lρl.r_i^{\mathrm{even}} = \frac{\sum_{l=1}^{i} \rho_l/(2L-l+1)}{\sum_{l=1}^{2L} \rho_l}.

On MoE-4.0B, the learned mean depth is 0.55, compared with 0.70 under uniform weights. At all three scales, blocks in the lower half receive more mass than this reference, whereas those in the top quarter receive less. Using the same share weighting across receiving sublayers, the mass assigned to each sublayer’s four nearest eligible outputs in § 7.2 is

m4=∑l=12Lρl∑i=lmin⁡(l+3,2L)βˉi→l∑l=12Lρl,m4even=∑l=12Lρlmin⁡(4,2L−l+1)/(2L−l+1)∑l=12Lρl.m_4 = \frac{\sum_{l=1}^{2L} \rho_l \sum_{i=l}^{\min(l+3,2L)} \bar{\beta}_{i\to l}}{\sum_{l=1}^{2L} \rho_l}, \qquad m_4^{\mathrm{even}} = \frac{\sum_{l=1}^{2L} \rho_l \min(4,2L-l+1)/(2L-l+1)}{\sum_{l=1}^{2L} \rho_l}.

giving 73%, 68%, and 64% against uniform references of 46%, 38%, and 32% across MoE-1.6B, MoE-2.6B, and MoE-4.0B.

Single-block interventions. To isolate each block’s causal contribution, we retain only the terms of block bb at every sublayer ll,

nt,l;b=∑i∈{2b−1,2b}, i≥lβt,i→lMivt−1,i,n_{t,l;b}=\sum_{i\in\{2b-1,2b\},\,i\ge l}\beta_{t,i\to l}M_i v_{t-1,i},

and mix ct,lnt,l;bc_{t,l}n_{t,l;b} into the sublayer input (1), keeping the softmax weights βt,i→l\beta_{t,i\to l} and rescaling scalar ct,lc_{t,l} (6) from the full read nt,ln_{t,l} while leaving the token-input injection (4) active. Letting ℓoff\ell_{\mathrm{off}} denote the pass-2 held-out loss with the sublayer feedback zeroed out, ℓfull\ell_{\mathrm{full}} the full pass-2 loss, and ℓb\ell_b the loss under this intervention, we report

Gb=ℓoff−ℓbℓoff−ℓfull,G_b=\frac{\ell_{\mathrm{off}}-\ell_b}{\ell_{\mathrm{off}}-\ell_{\mathrm{full}}},

where one matches the full sublayer-feedback gain and zero matches removing it. Keeping the original weights and scale measures each block’s retained contribution in the trained mixture.

Additional ablation comparisons

Overlap between the two paths. Combining both paths consistently yields the lowest held-out loss across all three model sizes and both backbones. Adding token-input injection on top of sublayer feedback further lowers loss by 0.0020, 0.0015 and 0.0011 nats on MoE-1.6B, MoE-2.6B and MoE-4.0B on standard residuals, and by 0.0010, 0.0006 and 0.0002 nats on AttnRes. While each individual increment lies within our single-scale 0.003-nat threshold (§ 5.1), confirming that sublayer feedback carries the bulk of ALF’s gain, the consistent directional improvement across all six settings supports pairing both paths. Changing the injection’s source to an intermediate block helps when it is used alone (Table 6), whereas with both paths active on MoE-1.6B it improves loss by only 0.0020 nats.

Input fusion and maps. Table 12 compares feedback integration with the source held fixed within each pair. At the token input, additive injection of the final state lowers loss by 0.0059 nats relative to FBT’s gated replacement. With both ALF paths active, removing the per-output maps raises loss by 0.0034 nats.

ConfigurationLoss ↓Δ loss
Final-state feedback only (at the token input)
Additive injection only2.0388–
FBT’s gated replacement2.0447+0.0059
Whole-depth feedback only
Sublayer feedback2.0353–
FBT’s gated replacement at the token input2.0509+0.0156
Both paths
ALF2.0333–
ALF without maps2.0367+0.0034

Table 12. Feedback integration on MoE-1.6B. Standard-residual models share Table 2’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.

Source depth and integration. Combining the integration controls in Table 12 with the final-state sublayer-mixture control in Table 6 yields four cells crossing the source (full depth or final state) with its entry path (the sublayer mixture or FBT’s gated input fusion), without the additional input injection. Using the gated input path raises loss by 0.0156 nats for the full-depth source and 0.0033 nats for the final state. These comparisons vary the entry point and fusion rule together. Within the sublayer mixture, full depth improves loss by 0.0061 nats; within FBT’s fusion it worsens loss by 0.0062 nats. The resulting interaction is 0.0123 nats, showing that the value of a source depends on how it is incorporated.

Pass-1 held-out losses (with feedback disabled) also differ. The two models using gated input replacement end 0.0044 nats (final-state FBT) and 0.0043 nats (full-depth gated replacement) above the continued backbone, while the additive variants stay within 0.0008 nats. For full-depth input fusion, loss rises by 0.0170 nats from the second to the fourth evaluation pass. These measurements accompany the end losses in Table 6 and Table 12.

Evaluation and training passes

Evaluation beyond the training passes. Figure 10 evaluates 32 passes for the MoE-1.6B recipes in Table 14. Repeating the evaluation with 64 passes gives the same loss and state-change pattern: the mean relative change in final-state norm remains near 2% even after the held-out loss stabilizes. We use this pass-32 held-out loss from our standalone multi-pass evaluation harness (whose single-pass standard-residual baseline differs from Table 2 by 0.0003 nats due to evaluation batching) to approximate recurrent state propagation under teacher forcing in Table 13 and Table 14; finite-pass evaluation is exact only on the prefix of §A.2.

Table 13 | Two and three training passes on MoE-1.6B. FBT and ALF on the standard residual with K=2K = 2 or K=3K = 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 KK 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 § 5.1, so two passes suffice. |

ModelKKComputePass KKPass 32Pass 32 − Pass KK
Standard residual, 1.25× tokens11.252.03952.0395–
Standard residual, 1.5× tokens11.502.02622.0262–
+ FBT21.252.04422.0454+0.0012
+ FBT31.502.04262.04260.0000
+ ALF21.252.03462.0332−0.0014
+ ALF31.512.03242.0322−0.0001

Table 13.

Adding a training pass. Table 13 compares two and three training passes from the same MoE-1.6B checkpoint, with matched data and the main recipes. We set two criteria before these runs: the pass-32 held-out loss gain must exceed 0.003 nats, and the resulting ALF loss must improve on the standard residual trained with the same compute spent on additional tokens.

The third pass lowers ALF’s pass-32 held-out loss by 0.0010 nats, below the threshold, while the same extra compute lowers the standard residual’s loss by 0.013 nats. FBT gains 0.0027 nats from the third pass, also below the threshold, although it reduces the gap between pass KK and pass 32. ALF’s pass-32 held-out loss is already no higher than its pass-KK loss with either setting. We therefore use two passes for both methods in the main comparison.

Prompt processing and training recipes. Table 14 expands the main-checkpoint comparison in Table 8 to all combinations of jitter and prefix mixin. Prompt losses score the same continuation tokens in every mode, using nine continuation passes for both Fused and Soft. The alternating-turn evaluation splits documents into 512-token turns, prefills even turns plainly, and scores odd turns with feedback enabled. The held-out columns compare the last training pass with pass 32.

References

  1. [1]Berant, J., Chou, A., Frostig, R. and Liang, P. (2013). Semantic Parsing on Freebase from Question-Answer Pairs. In Conference on Empirical Methods in Natural Language Processing (EMNLP). 28DOI
  2. [2]Bisk, Y., Zellers, R., Le Bras, R., Gao, J. and Choi, Y. (2020). PIQA: Reasoning about Physical Commonsense in Natural Language. In AAAI Conference on Artificial Intelligence (AAAI). 28arxiv.org/abs/1911.11641
  3. [3]ByteDance Seed (2026). Recycler: Cost-Free Latent Reasoning via Hidden State Recycling. Tech. rep., ByteDance Seed. https://seed.bytedance.com/en/public_papers/recycler-cost-free-latent-reasoning-via-hidden-state-recycling 2, 3, 4, 6, 8, 12
  4. [4]Cai, Z., Zhu, X., Dong, Y., He, Y. and Arora, S. (2026). T²MLR: Transformer with Temporal Middle-Layer Recurrence. arXiv preprint arXiv:2607.15178. 2, 3, 4arxiv.org/abs/2607.15178
  5. [5]Clark, J. H., Choi, E., Collins, M., Garrette, D., Kwiatkowski, T., Nikolaev, V. and Palomaki, J. (2020). TyDi QA: A Benchmark for Information-Seeking Question Answering in Typologically Diverse Languages. Transactions of the Association for Computational Linguistics. 28arxiv.org/abs/2003.05002
  6. [6]Clark, P., Cowhey, I., Etzioni, O., Khot, T., Sabharwal, A., Schoenick, C. and Tafjord, O. (2018). Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challenge. arXiv preprint arXiv:1803.05457. 28arxiv.org/abs/1803.05457
  7. [7]Dehghani, M., Gouws, S., Vinyals, O., Uszkoreit, J. and Kaiser, L. (2019). Universal Transformers. In International Conference on Learning Representations (ICLR). 4arxiv.org/abs/1807.03819
  8. [8]Dua, D., Wang, Y., Dasigi, P., Stanovsky, G., Singh, S. and Gardner, M. (2019). DROP: A Reading Comprehension Benchmark Requiring Discrete Reasoning Over Paragraphs. arXiv preprint arXiv:1903.00161. 28arxiv.org/abs/1903.00161
  9. [9]Fan, A., Lavril, T., Grave, E., Joulin, A. and Sukhbaatar, S. (2020). Addressing Some Limitations of Transformers with Feedback Memory. arXiv preprint arXiv:2002.09402. 2, 3, 4, 7arxiv.org/abs/2002.09402
  10. [10]Geiping, J., McLeish, S., Jain, N., Kirchenbauer, J., Singh, S., Bartoldson, B. R., Kailkhura, B., Bhatele, A. and Goldstein, T. (2025). Scaling up Test-Time Compute with Latent Reasoning: A Recurrent Depth Approach. arXiv preprint arXiv:2502.05171. 4arxiv.org/abs/2502.05171
  11. [11]Gonzalez, X., Warrington, A., Smith, J. T. H. and Linderman, S. W. (2024). Towards Scalable and Stable Parallelization of Nonlinear RNNs. In Advances in Neural Information Processing Systems (NeurIPS). 4, 8arxiv.org/abs/2407.19115
  12. [12]Hao, Y., Zeng, B., Wang, Z., Li, H., Song, S., Song, F., Liu, Y., Tao, R., Dai, B. and Lin, Z. (2026). P2N: Reusing Deep Representations for Greater Effective Depth. arXiv preprint arXiv:2610.25076. 2, 3, 4, 7arxiv.org/abs/2610.25076
  13. [14]Heineman, D., Hofmann, V., Magnusson, I., Gu, Y., Smith, N. A., Hajishirzi, H., Lo, K. and Dodge, J. (2025). Signal and Noise: A Framework for Reducing Uncertainty in Language Model Evaluation. arXiv preprint arXiv:2508.13144. 10, 28arxiv.org/abs/2508.13144
  14. [16]Huang, B., Dwivedi, C., Ma, X., Moreno, A. and Liu, H. (2026a). Latent Feedback Is a Compute and Data Amplifier: Scaling Law for Latent Feedback Transformers on Repeated Data. alphaXiv. https://www.alphaxiv.org/abs/2611.latent-feedback-transformers-scaling-law 2, 3, 6, 13
  15. [17]Huang, B., Ma, X. and Liu, H. (2026b). Feedback Shortcut: Speculative Decoding for Latent Feedback Transformers. alphaXiv. https://www.alphaxiv.org/abs/2611.feedback-shortcut-speculative-decoding 18arxiv.org/abs/2611.28227
  16. [18]Huang, B., Shi, C., Chen, J., Wen, S., Liu, Z., Xing, F. and Ma, X. (2026c). Towards Looped Models Done Right, Part I: Topology, Input Injection, Recurrent-State Design. arXiv preprint arXiv:2610.23036. 28arxiv.org/abs/2610.23036
  17. [19]Huang, Z., He, X., Ren, L., Wang, Y., Peng, B., Cheng, H., Wang, S., He, P., Gao, J., Lee, Y. J. and Shen, Y. (2026d). Latent Recurrent Transformer: Architecture Exploration, Training Strategies, and Scaling Behavior. arXiv preprint arXiv:2605.26797. 2, 3, 4arxiv.org/abs/2605.26797
  18. [20]Joshi, M., Choi, E., Weld, D. S. and Zettlemoyer, L. (2017). TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehension. arXiv preprint arXiv:1705.03551. 28arxiv.org/abs/1705.03551
  19. [21]Kimi Team, Chen, G., Zhang, Y., Su, J., Xu, W., Pan, S., Wang, Y. et al. (2026). Attention Residuals. arXiv preprint arXiv:2603.15031. 2, 3, 4, 7, 18, 24
  20. [22]Koncel-Kedziorski, R., Roy, S., Amini, A., Kushman, N. and Hajishirzi, H. (2016). MAWPS: A Math Word Problem Repository. In Conference of the North American Chapter of the Association for Computational Linguistics (NAACL). 28
  21. [23]Kwiatkowski, T., Palomaki, J., Redfield, O., Collins, M., Parikh, A., Alberti, C., Epstein, D., Polosukhin, I., Devlin, J., Lee, K. et al. (2019). Natural Questions: A Benchmark for Question Answering Research. Transactions of the Association for Computational Linguistics. 28DOI
  22. [26]Lim, Y. H., Zhu, Q., Selfridge, J. and Kasim, M. F. (2024). Parallelizing Non-Linear Sequential Models Over the Sequence Length. In International Conference on Learning Representations (ICLR). 4, 8arxiv.org/abs/2309.12252
  23. [27]Martin, E. and Cundy, C. (2018). Parallelizing Linear Recurrent Neural Nets Over Sequence Length. In International Conference on Learning Representations (ICLR). 4arxiv.org/abs/1709.04057
  24. [28]Miao, S.-Y., Liang, C.-C. and Su, K.-Y. (2020). A Diverse Corpus for Evaluating and Developing English Math Word Problem Solvers. In Annual Meeting of the Association for Computational Linguistics (ACL). 28arxiv.org/abs/2106.15772
  25. [29]Mozer, M. C., Siddiqui, S. A., Sawyer, D., Sanyal, S. and Liu, R. (2026). Recirculation. arXiv preprint arXiv:2608.17981. 3, 4arxiv.org/abs/2608.17981
  26. [30]Pagliardini, M., Mohtashami, A., Fleuret, F. and Jaggi, M. (2024). DenseFormer: Enhancing Information Flow in Transformers via Depth Weighted Averaging. arXiv preprint arXiv:2402.02622. 2, 3, 4arxiv.org/abs/2402.02622
  27. [31]Paperno, D., Kruszewski, G., Lazaridou, A., Pham, Q. N., Bernardi, R., Pezzelle, S., Baroni, M., Boleda, G. and Fernández, R. (2016). The LAMBADA dataset: Word prediction requiring a broad discourse context. In Annual Meeting of the Association for Computational Linguistics (ACL). 28arxiv.org/abs/1606.06031
  28. [32]Patel, A., Bhattamishra, S. and Goyal, N. (2021). Are NLP Models really able to Solve Simple Math Word Problems? In Conference of the North American Chapter of the Association for Computational Linguistics (NAACL). 28
  29. [33]Qin, X., Zhang, X., Dai, T., Zou, S., Wu, H., Yang, Y., Xia, Z., Yao, L., Liu, Y. and Yan, J. (2026). Multi-Stream Attention Residuals. arXiv preprint arXiv:2610.13630. 3, 4, 13arxiv.org/abs/2610.13630
  30. [34]Rajpurkar, P., Jia, R. and Liang, P. (2018). Know What You Don’t Know: Unanswerable Questions for SQuAD. In Annual Meeting of the Association for Computational Linguistics (ACL). 28arxiv.org/abs/1806.03822
  31. [35]Rajpurkar, P., Zhang, J., Lopyrev, K. and Liang, P. (2016). SQuAD: 100,000+ Questions for Machine Comprehension of Text. In Conference on Empirical Methods in Natural Language Processing (EMNLP). 28arxiv.org/abs/1606.05250
  32. [36]Reddy, S., Chen, D. and Manning, C. D. (2019). CoQA: A Conversational Question Answering Challenge. Transactions of the Association for Computational Linguistics. 28arxiv.org/abs/1808.07042
  33. [37]Saunshi, N., Dikkala, N., Li, Z., Kumar, S. and Reddi, S. J. (2025). Reasoning with Latent Thoughts: On the Power of Looped Transformers. In International Conference on Learning Representations (ICLR). 28arxiv.org/abs/2502.17416
  34. [38]Schwethelm, K., Rueckert, D. and Kaissis, G. (2026). How Much Is One Recurrence Worth? Iso-Depth Scaling Laws for Looped Language Models. In Advances in Neural Information Processing Systems (NeurIPS). 4, 10, 28arxiv.org/abs/2604.21106
  35. [39]Song, Y., Meng, C., Liao, R. and Ermon, S. (2021). Accelerating Feedforward Computation via Parallel Nonlinear Equation Solving. In International Conference on Machine Learning (ICML). 4, 8arxiv.org/abs/2002.03629
  36. [40]Srivastava, A., Rastogi, A., Rao, A., Shoeb, A. A. M., Abid, A., Fisch, A., Brown, A. R. et al. (2022). Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language models. arXiv preprint arXiv:2206.04615. 28arxiv.org/abs/2206.04615
  37. [41]Suzgun, M., Scales, N., Schärli, N., Gehrmann, S., Tay, Y., Chung, H. W., Chowdhery, A. et al. (2022). Challenging BIG-Bench Tasks and Whether Chain-of-Thought Can Solve Them. arXiv preprint arXiv:2210.09261. 28arxiv.org/abs/2210.09261
  38. [42]Tang, M. and Lu, S. (2026). Turbo Connection: Reasoning as Information Flow from Higher to Lower Layers. arXiv preprint arXiv:2602.17993. 2, 3, 4, 7arxiv.org/abs/2602.17993
  39. [43]Team Olmo, Ettinger, A., Bertsch, A., Kuehl, B., Graham, D., Heineman, D., Groeneveld, D., Brahman, F., Timbers, F., Ivison, H. et al. (2025). Olmo 3. arXiv preprint arXiv:2512.13961. 9
  40. [44]The Marin Authors (2026). Marin. GitHub repository. Commit 8577d258. https://github.com/marin-community/marin 3, 9, 26
  41. [45]Thinking Machines Lab (2026). Introducing Inkling 2 Mini. Blog post. https://thinkingmachines.ai/blog/introducing-inkling-2-mini/ 5DOI
  42. [46]Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., Kaiser, L. and Polosukhin, I. (2017). Attention Is All You Need. In Advances in Neural Information Processing Systems (NeurIPS). 2, 5arxiv.org/abs/1706.03762
  43. [47]Wang, X., Cai, Z., Zhan, Z., Dong, H., Fan, Y., de Rosa, G., Pearce, T. and Langford, J. (2026a). Full-bandwidth transformer. arXiv preprint arXiv:2608.08888. 2, 3, 4, 8, 9, 10, 13, 17, 27, 33arxiv.org/abs/2608.08888
  44. [48]Wang, Z., Lu, J., Ma, X., Zhang, J., Zhu, J., Ma, Y. and Chen, J. (2026b). Hierarchical Residuals: A Minimalist Decoupling of Residual Width from Compute Width. arXiv preprint arXiv:2610.41711. 3arxiv.org/abs/2610.41711
  45. [50]Xiao, D., Meng, Q., Li, S. and Yuan, X. (2025). MUDDFormer: Breaking Residual Bottlenecks in Transformers via Multiway Dynamic Dense Connections. arXiv preprint arXiv:2502.12170. 2, 3, 4arxiv.org/abs/2502.12170
  46. [51]Xie, Z., Wei, Y., Cao, H., Zhao, C., Deng, C., Li, J., Dai, D., Gao, H., Chang, J., Yu, K., Zhao, L., Zhou, S., Xu, Z., Zhang, Z., Zeng, W., Hu, S., Wang, Y., Yuan, J., Wang, L. and Liang, W. (2025). mHC: Manifold-Constrained Hyper-Connections. arXiv preprint arXiv:2512.24880. 3, 4arxiv.org/abs/2512.24880
  47. [52]Xiong, X., Chen, S., Shao, Z., Su, Y., Jin, W., Luo, P., Yang, Z. and Liu, X. (2026). Truncate or Not? A Scaling Study of Looped Transformers with Truncated Backpropagation. arXiv preprint arXiv:2610.26030. 5arxiv.org/abs/2610.26030
  48. [54]Yang, G., Hu, E. J., Babuschkin, I., Sidor, S., Liu, X., Farhi, D., Ryder, N., Pachocki, J., Chen, W. and Gao, J. (2021). Tensor Programs V: Tuning Large Neural Networks via Zero-Shot Hyperparameter Transfer. In Advances in Neural Information Processing Systems (NeurIPS). 25arxiv.org/abs/2203.03466
  49. [55]Yang, G., Simon, J. B. and Bernstein, J. (2023). A Spectral Condition for Feature Learning. arXiv preprint arXiv:2310.17813. 25arxiv.org/abs/2310.17813
  50. [56]Zellers, R., Holtzman, A., Bisk, Y., Farhadi, A. and Choi, Y. (2019). HellaSwag: Can a Machine Really Finish Your Sentence? In Annual Meeting of the Association for Computational Linguistics (ACL). 28arxiv.org/abs/1905.07830
  51. [57]Zeng, B., Li, H., Song, S., Wang, Y., Wang, Z., He, Z., Wang, X. and Lin, Z. (2025). PonderLM-2: Pretraining LLM with Latent Thoughts in Continuous Space. arXiv preprint arXiv:2509.23184. 3, 4arxiv.org/abs/2509.23184
  52. [58]Zhu, D., Huang, H., Huang, Z., Zeng, Y., Mao, Y., Wu, B., Min, Q. and Zhou, X. (2024). Hyper-Connections. arXiv preprint arXiv:2409.19606. 3, 4arxiv.org/abs/2409.19606
  53. [59]Zhu, R.-J., Wang, Z., Hua, K., Zhang, T., Li, Z., Que, H., Wei, B. et al. (2025). Scaling Latent Reasoning via Looped Language Models. arXiv preprint arXiv:2510.25741. 4arxiv.org/abs/2510.25741

Paper details

vlnc:W_k7qnkya3
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 10

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents