[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"branding":3,"analytics":7,"article-transformer-blocks-are-not-equally-nonlinear":10,"sections":34},{"siteName":4,"siteTagline":5,"publisherName":4,"contactEmail":6},"The Revision","Tech news, decoded.","editor@therevision.news",{"gaMeasurementId":8,"adsenseClientId":9},"G-ZW2MV82GYR","ca-pub-8533917693782264",{"article":11},{"id":12,"slug":13,"title":14,"dek":15,"body_md":16,"tags_json":17,"published_at":18,"created_at":19,"updated_at":20,"status":21,"review_note":22,"review_notes":23,"image_url":22,"persona_id":22,"persona_name":22,"section":24,"tags":25,"sources":29,"feedback":33,"feedback_at":22,"cost_usd":33,"total_tokens":33},1702,"transformer-blocks-are-not-equally-nonlinear","Transformer Blocks Are Not Equally Nonlinear","A new study finds that how linear a transformer's feed-forward block is depends on training, not architecture - with real implications for model compression.","Not every layer of a transformer is doing the hard nonlinear work you might assume.\n\nResearchers tested feed-forward network blocks across GPT-2, Pythia-160m, and Llama-160m, measuring how well a simple linear approximation could reconstruct each block's output. They called this metric \"linear recoverability\" and found it varies wildly - not just across models, but between adjacent layers within the same model. Some blocks scored above 0.99 (nearly linear); others fell below 0.3 (strongly nonlinear). Critically, GPT-2 and Pythia-160m share the same activation function and width, yet show sharply different recoverability profiles. That means the linearity of a block is a product of training, not a fixed architectural property.\n\nThis matters for anyone trying to compress or prune large language models. The study shows that highly recoverable blocks can be replaced with far simpler single-layer approximations - GPT-2's early feed-forward block was compressed to one-eighth the parameters with only a 0.77 perplexity increase. Blocks with low recoverability, by contrast, resist this treatment and flag where aggressive compression will hurt. That is a more targeted signal than the blunt per-layer heuristics most pruning pipelines use today.\n\nThe researchers also flag a quiet methodological trap: trained linear baselines often under-converge on transformer activations because the inputs are ill-conditioned, making past linearity estimates unreliable. The closed-form least-squares approach sidesteps that problem entirely - which suggests some prior work on transformer internals may need revisiting.","[\"ai\",\"machine-learning\",\"transformers\",\"model-compression\"]","2026-06-19T04:00:00.000Z","2026-06-19T10:15:43.905Z","2026-06-19T14:21:37.472Z","published",null,[],"ai",[24,26,27,28],"machine-learning","transformers","model-compression",[30],{"name":31,"url":32},"arXiv cs.AI","https:\u002F\u002Farxiv.org\u002Fabs\u002F2606.19379",0,{"sections":35},[36,40,45,50,55,60,65,70,75,80,85,90,95,100],{"name":37,"slug":24,"count":38,"latest_published_at":39},"AI",7165,"2026-11-16T14:00:00.000Z",{"name":41,"slug":42,"count":43,"latest_published_at":44},"Security","security",1141,"2026-11-15T17:15:13.000Z",{"name":46,"slug":47,"count":48,"latest_published_at":49},"Deals","deals",682,"2026-11-16T14:45:47.000Z",{"name":51,"slug":52,"count":53,"latest_published_at":54},"Policy","policy",631,"2026-11-16T09:43:00.000Z",{"name":56,"slug":57,"count":58,"latest_published_at":59},"Consumer Tech","consumer-tech",384,"2026-11-16T14:33:02.000Z",{"name":61,"slug":62,"count":63,"latest_published_at":64},"Hardware","hardware",347,"2026-11-16T13:28:40.000Z",{"name":66,"slug":67,"count":68,"latest_published_at":69},"Science","science",236,"2026-11-14T20:54:14.000Z",{"name":71,"slug":72,"count":73,"latest_published_at":74},"Software","software",179,"2026-11-16T10:35:16.000Z",{"name":76,"slug":77,"count":78,"latest_published_at":79},"Startups","startups",162,"2026-11-13T17:32:35.000Z",{"name":81,"slug":82,"count":83,"latest_published_at":84},"General","general",131,"2026-11-16T11:14:41.000Z",{"name":86,"slug":87,"count":88,"latest_published_at":89},"Dev Tools","dev-tools",127,"2026-11-11T19:00:44.000Z",{"name":91,"slug":92,"count":93,"latest_published_at":94},"Gaming","gaming",113,"2026-11-16T11:47:03.000Z",{"name":96,"slug":97,"count":98,"latest_published_at":99},"Reviews","reviews",38,"2026-10-20T12:00:00.000Z",{"name":101,"slug":102,"count":103,"latest_published_at":104},"How-To","how-to",10,"2026-11-14T23:45:00.000Z"]