As Language Models Scale, Low-order Linear Depth Dynamics Emerge

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Nettasinghe, Buddhika, Joseph, Geethu
Formato: Preprint
Publicado: 2026
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866910051543810048
author Nettasinghe, Buddhika
Joseph, Geethu
author_facet Nettasinghe, Buddhika
Joseph, Geethu
contents Large language models are often viewed as high-dimensional nonlinear systems and treated as black boxes. Here, we show that transformer depth dynamics admit accurate low-order linear surrogates within context. Across tasks including toxicity, irony, hate speech and sentiment, a 32-dimensional linear surrogate reproduces the layerwise sensitivity profile of GPT-2-large with near-perfect agreement, capturing how the final output shifts under additive injections at each layer. We then uncover a surprising scaling principle: for a fixed-order linear surrogate, agreement with the full model improves monotonically with model size across the GPT-2 family. This linear surrogate also enables principled multi-layer interventions that require less energy than standard heuristic schedules when applied to the full model. Together, our results reveal that as language models scale, low-order linear depth dynamics emerge within contexts, offering a systems-theoretic foundation for analyzing and controlling them.
format Preprint
id arxiv_https___arxiv_org_abs_2603_12541
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle As Language Models Scale, Low-order Linear Depth Dynamics Emerge
Nettasinghe, Buddhika
Joseph, Geethu
Machine Learning
Systems and Control
Large language models are often viewed as high-dimensional nonlinear systems and treated as black boxes. Here, we show that transformer depth dynamics admit accurate low-order linear surrogates within context. Across tasks including toxicity, irony, hate speech and sentiment, a 32-dimensional linear surrogate reproduces the layerwise sensitivity profile of GPT-2-large with near-perfect agreement, capturing how the final output shifts under additive injections at each layer. We then uncover a surprising scaling principle: for a fixed-order linear surrogate, agreement with the full model improves monotonically with model size across the GPT-2 family. This linear surrogate also enables principled multi-layer interventions that require less energy than standard heuristic schedules when applied to the full model. Together, our results reveal that as language models scale, low-order linear depth dynamics emerge within contexts, offering a systems-theoretic foundation for analyzing and controlling them.
title As Language Models Scale, Low-order Linear Depth Dynamics Emerge
topic Machine Learning
Systems and Control
url https://arxiv.org/abs/2603.12541