---
type: "post"
id: "from-model-compression-to-looped-transformers-80e9fe"
slug: "from-model-compression-to-looped-transformers-80e9fe"
title: "From Model Compression to Looped Transformers"
description: "Looped Transformers repeatedly apply shared blocks to add computational depth without duplicating the main backbone parameters (shiweiliuiiiiiii.github.io)."
retrieval_nugget: "Looped Transformers repeatedly apply shared blocks to add computational depth without duplicating the main backbone parameters (shiweiliuiiiiiii.github.io)."
published_at: "2026-11-27"
updated_at: "2026-11-27"
record_date: "2026-11-27"
date_kind: "published_at"
topics: ["github"]
entities: ["Shiwei Liu","LOOM","InfiLoop","FlashLoop","Kimi","Attention Residuals"]
related_patterns: ["harness-architecture-outlives-model-choice"]
novelty_label: "new_angle"
what_changed: "Shiwei Liu connects model compression, the Curse of Depth and Looped Transformers as stages of a broader investigation into making additional computation matter."
prior_refs: ["https://newruntime.com/posts/in-a-looped-transformer-overview-the-middle-layers-e3bf19/"]
source_url: "https://shiweiliuiiiiiii.github.io/blog/2026/from-model-compression-to-looped-transformers"
source_urls: ["https://shiweiliuiiiiiii.github.io/blog/2026/from-model-compression-to-looped-transformers"]
production: {"schema":"newruntime-production-v1","desk":"newsroom","first_seen_at":"2026-11-27T17:00:21.047Z","independent_sources":1,"notes_synthesized":null,"writer_model":"gpt-6-luna","critic":null,"checks":["primary_source_verified","source_fresh","one_story","copy_contract"],"novelty":{"label":"new_angle","confidence":"medium"},"editorial_value":"high","human_review":"selective"}
citations: [{"claim":"Looped Transformers repeatedly apply shared blocks to add computational depth without duplicating the main backbone parameters.","quotes":["A looped model repeatedly applies shared blocks. It offers another way to increase computational depth without duplicating the main backbone parameters."],"cite_url":"https://shiweiliuiiiiiii.github.io/blog/2026/from-model-compression-to-looped-transformers#:~:text=A%20looped%20model%20repeatedly%20applies%20shared%20blocks.%20It%20offers%20another%20way%20to%20increase%20computational%20depth%20without%20duplicating%20the%20main%20backbone%20parameters.","source_url":"https://shiweiliuiiiiiii.github.io/blog/2026/from-model-compression-to-looped-transformers","publisher":"shiweiliuiiiiiii.github.io"},{"claim":"Shiwei Liu frames the work as a personal account of research with collaborators, asking whether those extra passes produce useful computation.","quotes":["This is a personal account of that journey, rather than a survey. I use “I” for the questions that motivated me and “we” for the research carried out with my collaborators."],"cite_url":"https://shiweiliuiiiiiii.github.io/blog/2026/from-model-compression-to-looped-transformers#:~:text=This%20is%20a%20personal%20account%20of%20that%20journey%2C%20rather%20than%20a%20survey.%20I%20use%20%E2%80%9CI%E2%80%9D%20for%20the%20questions%20that%20motivated%20me%20and%20%E2%80%9Cwe%E2%80%9D%20for%20the%20research%20carried%20out%20with%20my%20collaborators.","source_url":"https://shiweiliuiiiiiii.github.io/blog/2026/from-model-compression-to-looped-transformers","publisher":"shiweiliuiiiiiii.github.io"},{"claim":"The research path begins with pruning: Liu says substantial portions of deeper networks could often be compressed more aggressively than early layers.","quotes":["Often, we could compress substantial parts of the deeper network more aggressively than the early layers."],"cite_url":"https://shiweiliuiiiiiii.github.io/blog/2026/from-model-compression-to-looped-transformers#:~:text=Often%2C%20we%20could%20compress%20substantial%20parts%20of%20the%20deeper%20network%20more%20aggressively%20than%20the%20early%20layers.","source_url":"https://shiweiliuiiiiiii.github.io/blog/2026/from-model-compression-to-looped-transformers","publisher":"shiweiliuiiiiiii.github.io"},{"claim":"OWL uses layerwise outlier distributions to set pruning ratios, treating layers with more outliers more conservatively.","quotes":["Rather than assigning the same sparsity to every layer, OWL uses the layerwise distribution of outliers to allocate different pruning ratios. Layers with more outliers are treated more conservatively."],"cite_url":"https://shiweiliuiiiiiii.github.io/blog/2026/from-model-compression-to-looped-transformers#:~:text=Rather%20than%20assigning%20the%20same%20sparsity%20to%20every%20layer%2C%20OWL%20uses%20the%20layerwise%20distribution%20of%20outliers%20to%20allocate%20different%20pruning%20ratios.%20Layers%20with%20more%20outliers%20are%20treated%20more%20conservatively.","source_url":"https://shiweiliuiiiiiii.github.io/blog/2026/from-model-compression-to-looped-transformers","publisher":"shiweiliuiiiiiii.github.io"},{"claim":"In Pre-LN, normalized input enters the residual branch while the accumulated stream bypasses normalization; Post-LN normalizes after addition.","quotes":["Writing one residual sublayer schematically: Pre-LN: x ℓ+1 = x ℓ + F ℓ (LN(x ℓ )) Post-LN: x ℓ+1 = LN(x ℓ + F ℓ (x ℓ )) In Pre-LN, the branch receives normalized input, but the accumulated residual stream bypasses that normalization."],"cite_url":"https://shiweiliuiiiiiii.github.io/blog/2026/from-model-compression-to-looped-transformers#:~:text=Writing%20one%20residual%20sublayer%20schematically%3A%20Pre%2DLN%3A%20x%20%E2%84%93%2B1%20%3D%20x%20%E2%84%93%20%2B%20F%20%E2%84%93%20%28LN%28x%20%E2%84%93%20%29%29%20Post%2DLN%3A%20x%20%E2%84%93%2B1%20%3D%20LN%28x%20%E2%84%93%20%2B%20F%20%E2%84%93%20%28x%20%E2%84%93%20%29%29%20In%20Pre%2DLN%2C%20the%20branch%20receives%20normalized%20input%2C%20but%20the%20accumulated%20residual%20stream%20bypasses%20that%20normalization.","source_url":"https://shiweiliuiiiiiii.github.io/blog/2026/from-model-compression-to-looped-transformers","publisher":"shiweiliuiiiiiii.github.io"},{"claim":"Controlled LLaMA-130M experiments compared the designs using angular distances and the effect of removing individual layers.","quotes":["In controlled LLaMA-130M experiments, Post-LN and Pre-LN exhibit contrasting depth-utilization patterns. The top panels show angular distances; the bottom panels show the performance impact of removing individual layers."],"cite_url":"https://shiweiliuiiiiiii.github.io/blog/2026/from-model-compression-to-looped-transformers#:~:text=In%20controlled%20LLaMA%2D130M%20experiments%2C%20Post%2DLN%20and%20Pre%2DLN%20exhibit%20contrasting%20depth%2Dutilization%20patterns.%20The%20top%20panels%20show%20angular%20distances%3B%20the%20bottom%20panels%20show%20the%20performance%20impact%20of%20removing%20individual%20layers.","source_url":"https://shiweiliuiiiiiii.github.io/blog/2026/from-model-compression-to-looped-transformers","publisher":"shiweiliuiiiiiii.github.io"},{"claim":"The proposed “Curse of Depth” mechanism is that growing residual-stream variance makes the normalized branch less influential relative to the identity path.","quotes":["Reproduced from The Curse of Depth, Figure 3. The mechanism centers on residual-stream variance. As its scale grows, the normalized residual branch can become less influential relative to the identity path."],"cite_url":"https://shiweiliuiiiiiii.github.io/blog/2026/from-model-compression-to-looped-transformers#:~:text=Reproduced%20from%20The%20Curse%20of%20Depth%2C%20Figure%203.%20The%20mechanism%20centers%20on%20residual%2Dstream%20variance.%20As%20its%20scale%20grows%2C%20the%20normalized%20residual%20branch%20can%20become%20less%20influential%20relative%20to%20the%20identity%20path.","source_url":"https://shiweiliuiiiiiii.github.io/blog/2026/from-model-compression-to-looped-transformers","publisher":"shiweiliuiiiiiii.github.io"},{"claim":"LayerNorm Scaling instead scales branch input by 1/√ℓ to control variance growth while retaining Pre-LN.","quotes":["Our first response was LayerNorm Scaling : scale the normalized branch input by 1/√ℓ. This controls variance growth and improves depth utilization while retaining the Pre-LN structure."],"cite_url":"https://shiweiliuiiiiiii.github.io/blog/2026/from-model-compression-to-looped-transformers#:~:text=Our%20first%20response%20was%20LayerNorm%20Scaling%20%3A%20scale%20the%20normalized%20branch%20input%20by%201%2F%E2%88%9A%E2%84%93.%20This%20controls%20variance%20growth%20and%20improves%20depth%20utilization%20while%20retaining%20the%20Pre%2DLN%20structure.","source_url":"https://shiweiliuiiiiiii.github.io/blog/2026/from-model-compression-to-looped-transformers","publisher":"shiweiliuiiiiiii.github.io"},{"claim":"DepthBench compared normalization and residual designs across width–depth tradeoffs, approximately fixing parameter budgets and using a shared pretraining recipe; one comparison used about 400M parameters.","quotes":["In DepthBench , we compared residual and normalization designs while varying the width–depth tradeoff under approximately fixed parameter budgets and a shared pretraining recipe.","On the left, moving left means deeper and narrower models under an approximately fixed 400M parameter budget."],"cite_url":"https://shiweiliuiiiiiii.github.io/blog/2026/from-model-compression-to-looped-transformers#:~:text=In%20DepthBench%20%2C%20we%20compared%20residual%20and%20normalization%20designs%20while%20varying%20the%20width%E2%80%93depth%20tradeoff%20under%20approximately%20fixed%20parameter%20budgets%20and%20a%20shared%20pretraining%20recipe.&text=On%20the%20left%2C%20moving%20left%20means%20deeper%20and%20narrower%20models%20under%20an%20approximately%20fixed%20400M%20parameter%20budget.","source_url":"https://shiweiliuiiiiiii.github.io/blog/2026/from-model-compression-to-looped-transformers","publisher":"shiweiliuiiiiiii.github.io"},{"claim":"Full Attention Residuals preserve access to preceding outputs, while Block Attention Residuals group them to reduce overhead.","quotes":["Full AttnRes keeps access to preceding outputs; Block AttnRes groups them to reduce overhead."],"cite_url":"https://shiweiliuiiiiiii.github.io/blog/2026/from-model-compression-to-looped-transformers#:~:text=Full%20AttnRes%20keeps%20access%20to%20preceding%20outputs%3B%20Block%20AttnRes%20groups%20them%20to%20reduce%20overhead.","source_url":"https://shiweiliuiiiiiii.github.io/blog/2026/from-model-compression-to-looped-transformers","publisher":"shiweiliuiiiiiii.github.io"},{"claim":"Straightforward full-history attention over T depth steps stores growing history and requires aggregation work quadratic in T.","quotes":["For straightforward full-history attention over T depth steps, the history grows with T, and the total aggregation work grows quadratically in T."],"cite_url":"https://shiweiliuiiiiiii.github.io/blog/2026/from-model-compression-to-looped-transformers#:~:text=For%20straightforward%20full%2Dhistory%20attention%20over%20T%20depth%20steps%2C%20the%20history%20grows%20with%20T%2C%20and%20the%20total%20aggregation%20work%20grows%20quadratically%20in%20T.","source_url":"https://shiweiliuiiiiiii.github.io/blog/2026/from-model-compression-to-looped-transformers","publisher":"shiweiliuiiiiiii.github.io"},{"claim":"LOOM’s Looping Residual instead keeps a normalized exponential moving average of past outputs, with β = 0.5, a global memory across layers and loops, and a local memory reset each loop.","quotes":["This led us toward a loop-friendly alternative in LOOM : a Looping Residual based on a normalized exponential moving average. Instead of retaining every output, maintain an accumulator and its normalization: N ← βN + o D ← βD + 1 r = N / D.","LOOM uses a fixed decay β = 0.5, with a global memory across layers and loops and a local memory that resets each loop."],"cite_url":"https://shiweiliuiiiiiii.github.io/blog/2026/from-model-compression-to-looped-transformers#:~:text=This%20led%20us%20toward%20a%20loop%2Dfriendly%20alternative%20in%20LOOM%20%3A%20a%20Looping%20Residual%20based%20on%20a%20normalized%20exponential%20moving%20average.%20Instead%20of%20retaining%20every%20output%2C%20maintain%20an%20accumulator%20and%20its%20normalization%3A%20N%20%E2%86%90%20%CE%B2N%20%2B%20o%20D%20%E2%86%90%20%CE%B2D%20%2B%201%20r%20%3D%20N%20%2F%20D.&text=LOOM%20uses%20a%20fixed%20decay%20%CE%B2%20%3D%200.5%2C%20with%20a%20global%20memory%20across%20layers%20and%20loops%20and%20a%20local%20memory%20that%20resets%20each%20loop.","source_url":"https://shiweiliuiiiiiii.github.io/blog/2026/from-model-compression-to-looped-transformers","publisher":"shiweiliuiiiiiii.github.io"},{"claim":"InfiLoop is a distinct design, combining learned temporal decay with content-based weighting.","quotes":["We pursue this idea in InfiLoop, discussed below, combining learned temporal decay with content-based weighting."],"cite_url":"https://shiweiliuiiiiiii.github.io/blog/2026/from-model-compression-to-looped-transformers#:~:text=We%20pursue%20this%20idea%20in%20InfiLoop%2C%20discussed%20below%2C%20combining%20learned%20temporal%20decay%20with%20content%2Dbased%20weighting.","source_url":"https://shiweiliuiiiiiii.github.io/blog/2026/from-model-compression-to-looped-transformers","publisher":"shiweiliuiiiiiii.github.io"},{"claim":"OWL’s allocation gives many later interior layers higher pruning ratios than early layers, though final layers can again be sensitive.","quotes":["Many later interior layers receive more pruning than early layers, but the pattern is not strictly monotonic: the final layers can be sensitive again."],"cite_url":"https://shiweiliuiiiiiii.github.io/blog/2026/from-model-compression-to-looped-transformers#:~:text=Many%20later%20interior%20layers%20receive%20more%20pruning%20than%20early%20layers%2C%20but%20the%20pattern%20is%20not%20strictly%20monotonic%3A%20the%20final%20layers%20can%20be%20sensitive%20again.","source_url":"https://shiweiliuiiiiiii.github.io/blog/2026/from-model-compression-to-looped-transformers","publisher":"shiweiliuiiiiiii.github.io"},{"claim":"In controlled models, deeper Post-LN layers became more distinct and consequential, while deeper Pre-LN layers tended to change representations less.","quotes":["In controlled models, the contrast was striking: deeper Post-LN layers became more distinct and more consequential, whereas deeper Pre-LN layers tended to change the representation less."],"cite_url":"https://shiweiliuiiiiiii.github.io/blog/2026/from-model-compression-to-looped-transformers#:~:text=In%20controlled%20models%2C%20the%20contrast%20was%20striking%3A%20deeper%20Post%2DLN%20layers%20became%20more%20distinct%20and%20more%20consequential%2C%20whereas%20deeper%20Pre%2DLN%20layers%20tended%20to%20change%20the%20representation%20less.","source_url":"https://shiweiliuiiiiiii.github.io/blog/2026/from-model-compression-to-looped-transformers","publisher":"shiweiliuiiiiiii.github.io"},{"claim":"In DepthBench’s tested settings, standard Pre-LN and many normalization or scaling variants gained little or worsened as models became deeper and narrower; Full Attention Residuals and Hyper-Connections benefited more consistently.","quotes":["In the tested settings, standard Pre-LN and many normalization or scaling variants gained little—or became worse—as models became deeper and narrower. Full Attention Residuals and Hyper-Connections benefited much more consistently."],"cite_url":"https://shiweiliuiiiiiii.github.io/blog/2026/from-model-compression-to-looped-transformers#:~:text=In%20the%20tested%20settings%2C%20standard%20Pre%2DLN%20and%20many%20normalization%20or%20scaling%20variants%20gained%20little%E2%80%94or%20became%20worse%E2%80%94as%20models%20became%20deeper%20and%20narrower.%20Full%20Attention%20Residuals%20and%20Hyper%2DConnections%20benefited%20much%20more%20consistently.","source_url":"https://shiweiliuiiiiiii.github.io/blog/2026/from-model-compression-to-looped-transformers","publisher":"shiweiliuiiiiiii.github.io"},{"claim":"In looped-model experiments, uncontrolled residual accumulation amplified variance growth and representation drift.","quotes":["In our experiments, uncontrolled residual accumulation amplified variance growth and representation drift."],"cite_url":"https://shiweiliuiiiiiii.github.io/blog/2026/from-model-compression-to-looped-transformers#:~:text=In%20our%20experiments%2C%20uncontrolled%20residual%20accumulation%20amplified%20variance%20growth%20and%20representation%20drift.","source_url":"https://shiweiliuiiiiiii.github.io/blog/2026/from-model-compression-to-looped-transformers","publisher":"shiweiliuiiiiiii.github.io"},{"claim":"In MoE experiments, shared routers could repeatedly select similar experts, limiting diversity across loops.","quotes":["For MoE models, we also observed a separate problem: shared routers could repeatedly choose similar experts, limiting diversity across loops."],"cite_url":"https://shiweiliuiiiiiii.github.io/blog/2026/from-model-compression-to-looped-transformers#:~:text=For%20MoE%20models%2C%20we%20also%20observed%20a%20separate%20problem%3A%20shared%20routers%20could%20repeatedly%20choose%20similar%20experts%2C%20limiting%20diversity%20across%20loops.","source_url":"https://shiweiliuiiiiiii.github.io/blog/2026/from-model-compression-to-looped-transformers","publisher":"shiweiliuiiiiiii.github.io"},{"claim":"Prunability does not prove a layer is useless: redundancy can help, and removing weights is not the same as removing a whole block.","quotes":["Of course, compressibility alone does not prove that a layer is useless. Redundancy can be helpful, and removing weights is not the same experiment as removing an entire block."],"cite_url":"https://shiweiliuiiiiiii.github.io/blog/2026/from-model-compression-to-looped-transformers#:~:text=Of%20course%2C%20compressibility%20alone%20does%20not%20prove%20that%20a%20layer%20is%20useless.%20Redundancy%20can%20be%20helpful%2C%20and%20removing%20weights%20is%20not%20the%20same%20experiment%20as%20removing%20an%20entire%20block.","source_url":"https://shiweiliuiiiiiii.github.io/blog/2026/from-model-compression-to-looped-transformers","publisher":"shiweiliuiiiiiii.github.io"},{"claim":"A near-identity Jacobian describes local sensitivity, not an exact identity mapping.","quotes":["A near-identity Jacobian is a statement about local sensitivity; it does not, by itself, mean the block output is exactly its input."],"cite_url":"https://shiweiliuiiiiiii.github.io/blog/2026/from-model-compression-to-looped-transformers#:~:text=A%20near%2Didentity%20Jacobian%20is%20a%20statement%20about%20local%20sensitivity%3B%20it%20does%20not%2C%20by%20itself%2C%20mean%20the%20block%20output%20is%20exactly%20its%20input.","source_url":"https://shiweiliuiiiiiii.github.io/blog/2026/from-model-compression-to-looped-transformers","publisher":"shiweiliuiiiiiii.github.io"},{"claim":"Fixed parameter budgets and shared training recipes do not equalize every cost, and Full and Block Attention Residuals behaved differently.","quotes":["Fixed parameters and a shared training recipe do not make all costs identical. Full AttnRes and Block AttnRes also behaved differently in this benchmark."],"cite_url":"https://shiweiliuiiiiiii.github.io/blog/2026/from-model-compression-to-looped-transformers#:~:text=Fixed%20parameters%20and%20a%20shared%20training%20recipe%20do%20not%20make%20all%20costs%20identical.%20Full%20AttnRes%20and%20Block%20AttnRes%20also%20behaved%20differently%20in%20this%20benchmark.","source_url":"https://shiweiliuiiiiiii.github.io/blog/2026/from-model-compression-to-looped-transformers","publisher":"shiweiliuiiiiiii.github.io"},{"claim":"LOOM’s fixed-decay summary is not content-dependent softmax attention; it trades flexible retrieval of individual states for compact recurrent memory.","quotes":["A fixed-decay EMA is not content-dependent softmax attention, nor an exact replacement for it. It trades flexible retrieval of individual past states for a compact recurrent summary."],"cite_url":"https://shiweiliuiiiiiii.github.io/blog/2026/from-model-compression-to-looped-transformers#:~:text=A%20fixed%2Ddecay%20EMA%20is%20not%20content%2Ddependent%20softmax%20attention%2C%20nor%20an%20exact%20replacement%20for%20it.%20It%20trades%20flexible%20retrieval%20of%20individual%20past%20states%20for%20a%20compact%20recurrent%20summary.","source_url":"https://shiweiliuiiiiiii.github.io/blog/2026/from-model-compression-to-looped-transformers","publisher":"shiweiliuiiiiiii.github.io"},{"claim":"InfiLoop’s learned-memory results come from its reasoning experiments, not the LOOM comparison.","quotes":["LOOM’s fixed-decay EMA and InfiLoop’s learned attention residual are distinct designs; the learned-memory results come from InfiLoop’s reasoning experiments, rather than the LOOM comparison shown next."],"cite_url":"https://shiweiliuiiiiiii.github.io/blog/2026/from-model-compression-to-looped-transformers#:~:text=LOOM%E2%80%99s%20fixed%2Ddecay%20EMA%20and%20InfiLoop%E2%80%99s%20learned%20attention%20residual%20are%20distinct%20designs%3B%20the%20learned%2Dmemory%20results%20come%20from%20InfiLoop%E2%80%99s%20reasoning%20experiments%2C%20rather%20than%20the%20LOOM%20comparison%20shown%20next.","source_url":"https://shiweiliuiiiiiii.github.io/blog/2026/from-model-compression-to-looped-transformers","publisher":"shiweiliuiiiiiii.github.io"}]
schema_version: "newruntime-agent-readable-v0.2"
stable_id: "post:from-model-compression-to-looped-transformers-80e9fe"
status: "published"
visuals: []
editor: {"role":"editor","name":"Andrey Reshetnikov","profile":"https://newruntime.com/owner-profile.md","profile_json":"https://newruntime.com/owner-profile.json","same_as":["https://www.linkedin.com/in/reshetnikov1/","https://t.me/lapetuse"]}
routes: {"html":"https://newruntime.com/posts/from-model-compression-to-looped-transformers-80e9fe/","markdown":"https://newruntime.com/posts/from-model-compression-to-looped-transformers-80e9fe.md","json":"https://newruntime.com/posts/from-model-compression-to-looped-transformers-80e9fe.json"}
markdown_url: "https://newruntime.com/posts/from-model-compression-to-looped-transformers-80e9fe.md"
---

# From Model Compression to Looped Transformers

## Retrieval answer

Looped Transformers repeatedly apply shared blocks to add computational depth without duplicating the main backbone parameters (shiweiliuiiiiiii.github.io).

## Summary

Looped Transformers repeatedly apply shared blocks to add computational depth without duplicating the main backbone parameters ([shiweiliuiiiiiii.github.io](https://shiweiliuiiiiiii.github.io/blog/2026/from-model-compression-to-looped-transformers#:~:text=A%20looped%20model%20repeatedly%20applies%20shared%20blocks.%20It%20offers%20another%20way%20to%20increase%20computational%20depth%20without%20duplicating%20the%20main%20backbone%20parameters.)). Shiwei Liu frames the work as a personal account of research with collaborators, asking whether those extra passes produce useful computation ([shiweiliuiiiiiii.github.io](https://shiweiliuiiiiiii.github.io/blog/2026/from-model-compression-to-looped-transformers#:~:text=This%20is%20a%20personal%20account%20of%20that%20journey%2C%20rather%20than%20a%20survey.%20I%20use%20%E2%80%9CI%E2%80%9D%20for%20the%20questions%20that%20motivated%20me%20and%20%E2%80%9Cwe%E2%80%9D%20for%20the%20research%20carried%20out%20with%20my%20collaborators.)).

## What happened

The research path begins with pruning: Liu says substantial portions of deeper networks could often be compressed more aggressively than early layers ([shiweiliuiiiiiii.github.io](https://shiweiliuiiiiiii.github.io/blog/2026/from-model-compression-to-looped-transformers#:~:text=Often%2C%20we%20could%20compress%20substantial%20parts%20of%20the%20deeper%20network%20more%20aggressively%20than%20the%20early%20layers.)). OWL uses layerwise outlier distributions to set pruning ratios, treating layers with more outliers more conservatively ([shiweiliuiiiiiii.github.io](https://shiweiliuiiiiiii.github.io/blog/2026/from-model-compression-to-looped-transformers#:~:text=Rather%20than%20assigning%20the%20same%20sparsity%20to%20every%20layer%2C%20OWL%20uses%20the%20layerwise%20distribution%20of%20outliers%20to%20allocate%20different%20pruning%20ratios.%20Layers%20with%20more%20outliers%20are%20treated%20more%20conservatively.)). The account then turns to residual design. In Pre-LN, normalized input enters the residual branch while the accumulated stream bypasses normalization; Post-LN normalizes after addition ([shiweiliuiiiiiii.github.io](https://shiweiliuiiiiiii.github.io/blog/2026/from-model-compression-to-looped-transformers#:~:text=Writing%20one%20residual%20sublayer%20schematically%3A%20Pre%2DLN%3A%20x%20%E2%84%93%2B1%20%3D%20x%20%E2%84%93%20%2B%20F%20%E2%84%93%20%28LN%28x%20%E2%84%93%20%29%29%20Post%2DLN%3A%20x%20%E2%84%93%2B1%20%3D%20LN%28x%20%E2%84%93%20%2B%20F%20%E2%84%93%20%28x%20%E2%84%93%20%29%29%20In%20Pre%2DLN%2C%20the%20branch%20receives%20normalized%20input%2C%20but%20the%20accumulated%20residual%20stream%20bypasses%20that%20normalization.)). Controlled LLaMA-130M experiments compared the designs using angular distances and the effect of removing individual layers ([shiweiliuiiiiiii.github.io](https://shiweiliuiiiiiii.github.io/blog/2026/from-model-compression-to-looped-transformers#:~:text=In%20controlled%20LLaMA%2D130M%20experiments%2C%20Post%2DLN%20and%20Pre%2DLN%20exhibit%20contrasting%20depth%2Dutilization%20patterns.%20The%20top%20panels%20show%20angular%20distances%3B%20the%20bottom%20panels%20show%20the%20performance%20impact%20of%20removing%20individual%20layers.)). The proposed “Curse of Depth” mechanism is that growing residual-stream variance makes the normalized branch less influential relative to the identity path ([shiweiliuiiiiiii.github.io](https://shiweiliuiiiiiii.github.io/blog/2026/from-model-compression-to-looped-transformers#:~:text=Reproduced%20from%20The%20Curse%20of%20Depth%2C%20Figure%203.%20The%20mechanism%20centers%20on%20residual%2Dstream%20variance.%20As%20its%20scale%20grows%2C%20the%20normalized%20residual%20branch%20can%20become%20less%20influential%20relative%20to%20the%20identity%20path.)). LayerNorm Scaling instead scales branch input by 1/√ℓ to control variance growth while retaining Pre-LN ([shiweiliuiiiiiii.github.io](https://shiweiliuiiiiiii.github.io/blog/2026/from-model-compression-to-looped-transformers#:~:text=Our%20first%20response%20was%20LayerNorm%20Scaling%20%3A%20scale%20the%20normalized%20branch%20input%20by%201%2F%E2%88%9A%E2%84%93.%20This%20controls%20variance%20growth%20and%20improves%20depth%20utilization%20while%20retaining%20the%20Pre%2DLN%20structure.)).

DepthBench compared normalization and residual designs across width–depth tradeoffs, approximately fixing parameter budgets and using a shared pretraining recipe; one comparison used about 400M parameters ([shiweiliuiiiiiii.github.io](https://shiweiliuiiiiiii.github.io/blog/2026/from-model-compression-to-looped-transformers#:~:text=In%20DepthBench%20%2C%20we%20compared%20residual%20and%20normalization%20designs%20while%20varying%20the%20width%E2%80%93depth%20tradeoff%20under%20approximately%20fixed%20parameter%20budgets%20and%20a%20shared%20pretraining%20recipe.&text=On%20the%20left%2C%20moving%20left%20means%20deeper%20and%20narrower%20models%20under%20an%20approximately%20fixed%20400M%20parameter%20budget.)). The account also examines attention-based residuals: Kimi’s design selectively combines earlier representations with learned, input-dependent weights. Full Attention Residuals preserve access to preceding outputs, while Block Attention Residuals group them to reduce overhead ([shiweiliuiiiiiii.github.io](https://shiweiliuiiiiiii.github.io/blog/2026/from-model-compression-to-looped-transformers#:~:text=Full%20AttnRes%20keeps%20access%20to%20preceding%20outputs%3B%20Block%20AttnRes%20groups%20them%20to%20reduce%20overhead.)). Straightforward full-history attention over T depth steps stores growing history and requires aggregation work quadratic in T ([shiweiliuiiiiiii.github.io](https://shiweiliuiiiiiii.github.io/blog/2026/from-model-compression-to-looped-transformers#:~:text=For%20straightforward%20full%2Dhistory%20attention%20over%20T%20depth%20steps%2C%20the%20history%20grows%20with%20T%2C%20and%20the%20total%20aggregation%20work%20grows%20quadratically%20in%20T.)).

LOOM’s Looping Residual instead keeps a normalized exponential moving average of past outputs, with β = 0.5, a global memory across layers and loops, and a local memory reset each loop ([shiweiliuiiiiiii.github.io](https://shiweiliuiiiiiii.github.io/blog/2026/from-model-compression-to-looped-transformers#:~:text=This%20led%20us%20toward%20a%20loop%2Dfriendly%20alternative%20in%20LOOM%20%3A%20a%20Looping%20Residual%20based%20on%20a%20normalized%20exponential%20moving%20average.%20Instead%20of%20retaining%20every%20output%2C%20maintain%20an%20accumulator%20and%20its%20normalization%3A%20N%20%E2%86%90%20%CE%B2N%20%2B%20o%20D%20%E2%86%90%20%CE%B2D%20%2B%201%20r%20%3D%20N%20%2F%20D.&text=LOOM%20uses%20a%20fixed%20decay%20%CE%B2%20%3D%200.5%2C%20with%20a%20global%20memory%20across%20layers%20and%20loops%20and%20a%20local%20memory%20that%20resets%20each%20loop.)). InfiLoop is a distinct design, combining learned temporal decay with content-based weighting ([shiweiliuiiiiiii.github.io](https://shiweiliuiiiiiii.github.io/blog/2026/from-model-compression-to-looped-transformers#:~:text=We%20pursue%20this%20idea%20in%20InfiLoop%2C%20discussed%20below%2C%20combining%20learned%20temporal%20decay%20with%20content%2Dbased%20weighting.)).

OWL’s allocation gives many later interior layers higher pruning ratios than early layers, though final layers can again be sensitive ([shiweiliuiiiiiii.github.io](https://shiweiliuiiiiiii.github.io/blog/2026/from-model-compression-to-looped-transformers#:~:text=Many%20later%20interior%20layers%20receive%20more%20pruning%20than%20early%20layers%2C%20but%20the%20pattern%20is%20not%20strictly%20monotonic%3A%20the%20final%20layers%20can%20be%20sensitive%20again.)). In controlled models, deeper Post-LN layers became more distinct and consequential, while deeper Pre-LN layers tended to change representations less ([shiweiliuiiiiiii.github.io](https://shiweiliuiiiiiii.github.io/blog/2026/from-model-compression-to-looped-transformers#:~:text=In%20controlled%20models%2C%20the%20contrast%20was%20striking%3A%20deeper%20Post%2DLN%20layers%20became%20more%20distinct%20and%20more%20consequential%2C%20whereas%20deeper%20Pre%2DLN%20layers%20tended%20to%20change%20the%20representation%20less.)). In DepthBench’s tested settings, standard Pre-LN and many normalization or scaling variants gained little or worsened as models became deeper and narrower; Full Attention Residuals and Hyper-Connections benefited more consistently ([shiweiliuiiiiiii.github.io](https://shiweiliuiiiiiii.github.io/blog/2026/from-model-compression-to-looped-transformers#:~:text=In%20the%20tested%20settings%2C%20standard%20Pre%2DLN%20and%20many%20normalization%20or%20scaling%20variants%20gained%20little%E2%80%94or%20became%20worse%E2%80%94as%20models%20became%20deeper%20and%20narrower.%20Full%20Attention%20Residuals%20and%20Hyper%2DConnections%20benefited%20much%20more%20consistently.)). In looped-model experiments, uncontrolled residual accumulation amplified variance growth and representation drift ([shiweiliuiiiiiii.github.io](https://shiweiliuiiiiiii.github.io/blog/2026/from-model-compression-to-looped-transformers#:~:text=In%20our%20experiments%2C%20uncontrolled%20residual%20accumulation%20amplified%20variance%20growth%20and%20representation%20drift.)). In MoE experiments, shared routers could repeatedly select similar experts, limiting diversity across loops ([shiweiliuiiiiiii.github.io](https://shiweiliuiiiiiii.github.io/blog/2026/from-model-compression-to-looped-transformers#:~:text=For%20MoE%20models%2C%20we%20also%20observed%20a%20separate%20problem%3A%20shared%20routers%20could%20repeatedly%20choose%20similar%20experts%2C%20limiting%20diversity%20across%20loops.)).

A chart reports TRM exact accuracy peaking at 62.2% at 468 executed layers, then falling to 58.1% at 1,872. InfiLoop’s accuracy curve continues upward with effective depth. After 36 updates, the chart labels 100% of InfiLoop solutions still correct, compared with 80% for TRM. These charted results are separate from the DepthBench and looped-model findings.

## What the archive adds

This account extends an earlier Field Note on a NeurIPS mechanistic study finding that looped language models can repeat processing stages across iterations ([earlier New Runtime note](https://newruntime.com/posts/a-neurips-paper-finds-that-each-loop-in-938616/)).

## Why it matters

For architecture researchers, added loop depth is a capacity to compute, not evidence of a gain. Compare designs on both task performance and the cost of their residual memory: retaining or aggregating more history can change the tradeoff even when the backbone weights are shared.

## Limits and uncertainty

Prunability does not prove a layer is useless: redundancy can help, and removing weights is not the same as removing a whole block ([shiweiliuiiiiiii.github.io](https://shiweiliuiiiiiii.github.io/blog/2026/from-model-compression-to-looped-transformers#:~:text=Of%20course%2C%20compressibility%20alone%20does%20not%20prove%20that%20a%20layer%20is%20useless.%20Redundancy%20can%20be%20helpful%2C%20and%20removing%20weights%20is%20not%20the%20same%20experiment%20as%20removing%20an%20entire%20block.)). A near-identity Jacobian describes local sensitivity, not an exact identity mapping ([shiweiliuiiiiiii.github.io](https://shiweiliuiiiiiii.github.io/blog/2026/from-model-compression-to-looped-transformers#:~:text=A%20near%2Didentity%20Jacobian%20is%20a%20statement%20about%20local%20sensitivity%3B%20it%20does%20not%2C%20by%20itself%2C%20mean%20the%20block%20output%20is%20exactly%20its%20input.)). Fixed parameter budgets and shared training recipes do not equalize every cost, and Full and Block Attention Residuals behaved differently ([shiweiliuiiiiiii.github.io](https://shiweiliuiiiiiii.github.io/blog/2026/from-model-compression-to-looped-transformers#:~:text=Fixed%20parameters%20and%20a%20shared%20training%20recipe%20do%20not%20make%20all%20costs%20identical.%20Full%20AttnRes%20and%20Block%20AttnRes%20also%20behaved%20differently%20in%20this%20benchmark.)). LOOM’s fixed-decay summary is not content-dependent softmax attention; it trades flexible retrieval of individual states for compact recurrent memory ([shiweiliuiiiiiii.github.io](https://shiweiliuiiiiiii.github.io/blog/2026/from-model-compression-to-looped-transformers#:~:text=A%20fixed%2Ddecay%20EMA%20is%20not%20content%2Ddependent%20softmax%20attention%2C%20nor%20an%20exact%20replacement%20for%20it.%20It%20trades%20flexible%20retrieval%20of%20individual%20past%20states%20for%20a%20compact%20recurrent%20summary.)). InfiLoop’s learned-memory results come from its reasoning experiments, not the LOOM comparison ([shiweiliuiiiiiii.github.io](https://shiweiliuiiiiiii.github.io/blog/2026/from-model-compression-to-looped-transformers#:~:text=LOOM%E2%80%99s%20fixed%2Ddecay%20EMA%20and%20InfiLoop%E2%80%99s%20learned%20attention%20residual%20are%20distinct%20designs%3B%20the%20learned%2Dmemory%20results%20come%20from%20InfiLoop%E2%80%99s%20reasoning%20experiments%2C%20rather%20than%20the%20LOOM%20comparison%20shown%20next.)). The chart does not identify the InfiLoop–TRM task, dataset, sample size, or compute-matching conditions.

## Reader takeaway

Looped Transformers add computational depth by reusing blocks, but the account’s experiments point to residual-stream behavior and memory design as constraints on whether extra passes help. The charted TRM results even decline at higher executed depth, while InfiLoop’s curve rises; without task and compute details, that contrast is suggestive rather than decisive.

## Open question

Do learned loop memories keep their apparent advantages on other tasks when compute and evaluation conditions are matched?

Editor: [Andrey Reshetnikov](https://newruntime.com/owner-profile.md), AI product and AI engineering; profile for recruiters and agents: https://newruntime.com/owner-profile.json

## Continue in the graph

Next records for an agent, linked to their Markdown twins. Replace `.md` with `.json` for structured fields, including `next_reads`.

- topic hub: [Github](https://newruntime.com/topics/github.md): Explore the github topic hub.
- collection: [Field Notes](https://newruntime.com/posts.json): Open the latest editorial analysis.
- collection: [Sources](https://newruntime.com/sources/): See the original sources this archive cites.
- whole graph: [discovery graph](https://newruntime.com/discovery-graph.json) (typed nodes and edges) and [site index](https://newruntime.com/site-index.md)
