---
author:
- Xu Ouyang
- Deyi Liu
- Yuhang Cai
- Jing Liu
- Yuan Yang
- Chen Zheng
- Thomas Hartvigsen
- Yiyuan Ma
bibliography:
- main.bib
date: 2026-06-20
title: "LLMs as Noisy Channels: A Shannon Perspective on Model Capacity and Scaling Laws"
---

```{=latex}
\newcommand{\mathhl}[3]{%
    \tikz[baseline=(#1.base), remember picture]{%
        \node[fill=#2, inner sep=3pt, rounded corners=4pt, anchor=base] (#1) {$#3$};%
    }%
}
```
```{=latex}
\newcommand{\theHalgorithm}{\arabic{algorithm}}
```
```{=latex}
\maketitle
```
# Introduction

The prevailing paradigm in LLM development rests on the scaling hypothesis [@kaplan2020scaling; @hoffmann2022trainingcomputeoptimallargelanguage]:

![Loss landscapes between Pretraining and downstream SFT. While pretraining exhibits monotonic improvement, SFT reveals a loss basin, indicating that scaling either model size or token count beyond a critical threshold leads to performance degradation.](figs/contour_intro2.png){#fig:contour_intro width="0.7\\linewidth"}

the empirical observation that model performance improves monotonically with increased compute, parameter count, and dataset size. This trajectory has driven the emergence of trillion-parameter Mixture-of-Experts models such as DeepSeek-V4 (1.6T) [@deepseekai2026v4] and Kimi K2.6 (1T) [@kimiteam2026], along with massive pretraining corpora.

However, the assumption that \`\`scaling is all you need" is facing practical challenges. Recent findings suggest that the scaling curve is not strictly monotonic and that naive scaling does not guarantee performance gains. Scaling laws have boundary conditions that we are beginning to encounter. Specifically, @springer2025overtrained challenge the monotonic belief by identifying *catastrophic overtraining*, where excessive pretraining degrades downstream fine-tuning performance. Similarly, @ouyang2024lowbitquantizationfavorsundertrained [@kumar2024scalinglawsprecision] observe that larger or more extensively trained models are paradoxically more susceptible to Quantization-induced Degradation (QiD). These phenomena produce U-shaped loss curves, where performance initially improves but eventually deteriorates. Traditional power-law formulations fail to model this trend effectively.

To address these anomalies, we propose a paradigm shift by viewing LLMs through the lens of communication systems [@{1948BSTJ...27..379S}]. We view a LLM as a noisy channel. In this analogy, the pretraining can be viewed as channel modulation (modulating information into model weights) and the inference is the transmission of information from input context $\mathcal{X}$ to output $\mathcal{Y}$. Just as physical channels are bounded, LLMs are bounded by noise from data and model architectures. Therefore, the Shannon-Hartley Theorem [@{1948BSTJ...27..379S}], which defines the capacity of a noisy channel, offers a theoretical framework for LLM capacity.

<figure id="fig:lawcomponent">

<figcaption>Our Shannon Scaling Law. <span class="math inline"><em>C</em><sub>LLM</sub></span> denotes the capacity of LLMs. <span class="math inline"><em>N</em>, <em>D</em></span> are model size and number of tokens. <span class="math inline"><em>α</em>, <em>β</em>, <em>γ</em>, <em>δ</em>, <em>a</em>, <em>b</em>, <em>c</em>, <em>d</em>, <em>e</em></span> are fitted positive constants.</figcaption>
</figure>

Based on this perspective, we derive a new scaling law that defines the LLM's capacity $C_\text{LLM}$ analogous to the Shannon capacity in `\autoref{fig:lawcomponent}`{=latex}. We map the components of the theorem to training dynamics as follows: (1) bandwidth corresponds to model size; (2) signal is derived from tokens; and (3) noise arises from three sources: data, model, and inevitable interference. During training, perturbations such as quantization introduce dynamic fluctuations captured by the noise term, reducing effective capacity and leading to the emergence of U-shaped scaling behaviors.

In this paper, we integrate power-law formulations of bandwidth, signal, and noise into the Shannon framework to propose a unified scaling law. Crucially, our framework reconciles the seemingly contradictory behaviors of monotonic scaling and U-shaped degradation. We posit that the strictly monotonic loss curves observed in standard pretraining represent a special case of the U-shaped phenomenon---specifically, a high-SNR regime where the perturbation factor is negligible. Our Shannon Scaling Law serves as a generalized formulation on both cases. In `\autoref{sec:experiment}`{=latex}, we demonstrate that this unified law outperforms existing baselines in various perturbation scenarios, including quantization [@frantar2023gptqaccurateposttrainingquantization; @lin2024awqactivationawareweightquantization], SFT [@springer2025overtrained; @ouyang2022training] and added Gaussian noise [@springer2025overtrained]. More importantly, the law extrapolates: fitted on $\leq$`<!-- -->`{=html}6.9B Pythia models with $\leq$`<!-- -->`{=html}180B tokens, it predicts the unseen 12B model up to 307B tokens at pooled $R^2{=}0.847$, while OpenAI and Chinchilla collapse to negative scores (`\autoref{sec:extrapolation}`{=latex}).

# Preliminary and Related Works {#sec:preliminary}

## Scaling Laws for Large Language Models

Scaling laws quantify the relationship between model performance (loss or perplexity) and key factors such as model parameters ($N$), training tokens ($D$).

#### Monotonic Scaling Laws

Traditional works assume a strict power-law relationship where loss decreases monotonically as resources increase. OpenAI's scaling law [@kaplan2020scaling] formulates the loss as: $$\label{eq:openai}
    L_{\text{OAI}}(N, D) = \left[ \left( \frac{N_c}{N} \right)^{\frac{\alpha_N}{\alpha_D}} + \frac{D_c}{D} \right]^{\alpha_D}$$ where $N_c, D_c$ are constant coefficients and $\alpha_N, \alpha_D$ are power-law exponents. Taking computational budget into account, Chinchilla law [@hoffmann2022trainingcomputeoptimallargelanguage] proposes an additive form fitted from optimal losses: $$\label{eq:chinchilla}
    L_{\text{Chin}}(N, D) = \frac{A}{N^\alpha}+\frac{B}{D^\beta} + E$$ where $E$ represents the fitted irreducible loss, and $A, B, \alpha, \beta$ are fitted parameters.

#### Perturbation-aware Scaling Laws

Recent studies challenge the monotonic assumption, identifying U-shaped loss curves caused by factors like quantization or overtraining [@springer2025overtrained; @ouyang2024lowbitquantizationfavorsundertrained]. These laws typically introduce a degradation term to the base scaling law. @ouyang2024lowbitquantizationfavorsundertrained model QiD by adding a penalty term $\Delta_q L$ to the OpenAI law: $$\label{eq:joint}
    L(N, D, P) = L_{\text{OAI}}(N, D) + \underbrace{k \cdot \frac{D^\beta}{N^\alpha P^\gamma}}_{\Delta_q L(N, D, P)}$$ where $P$ denotes quantization bit-width, $k$ is a fitted constant. Similarly, @kumar2024scalinglawsprecision propose an exponential degradation term $\delta_{\text{PTQ}}$ added to the Chinchilla law: $$\label{eq:precision}
    L(N, D, P) = L_{\text{Chin}}(N, D) +
    \underbrace{C_T \left( \frac{D^{\gamma_D}}{N^{\gamma_N}}\right) e^{-\frac{P}{\gamma}}}_{\delta_{\text{PTQ}}(N, D, P)}$$ where $C_T$ is a positive fitted constant. These formulations capture the trade-off where excessively large models or data sizes under low-bit precision lead to U-shaped loss curves.

## Noisy Channel Modeling in Signal Processing

#### The Shannon-Weaver Model and LLMs

![Structural correspondence between Shannon communication model [@{1948BSTJ...27..379S}] and LLMs.](figs/shannon_model_3.png){#fig:shannonmodel width="0.8\\linewidth"}

The Shannon-Weaver model [@{1948BSTJ...27..379S}; @haykin2001communication] describes communication as a linear process: *Source* $\to$ *Transmitter* $\to$ *Channel* (with Noise) $\to$ *Receiver* $\to$ *Destination* (`\autoref{fig:shannonmodel}`{=latex}). Besides, prior deep learning works [@shwartz2017opening; @tishby2015deep] have characterized DNNs through the mutual information $I(\mathcal{X};\mathcal{Y})$ between the input $\mathcal{X}$ and the output $\mathcal{Y}$. $I(\mathcal{X};\mathcal{Y})$ is also one of the theoretical foundations of the Shannon-Weaver model. Hence, we propose our law based on the similarities between this model and LLMs.

#### Shannon-Hartley Theorem [@{1948BSTJ...27..379S}]

This theorem defines the channel capacity $C$. This is the theoretical upper bound on the information rate for error-free transmission over a channel with bandwidth $B$ and additive white Gaussian noise (AWGN): $$C = B \log_2 \left( 1+\frac{S}{\mathcal{N}} \right)
    \label{eq:channel_capacity}$$ Here, $S$ represents the average signal power, $\mathcal{N}$ is the noise power, and $S/\mathcal{N}$ is the Signal-to-Noise Ratio (SNR). In our work, we reinterpret these physical quantities to model the representational capacity of LLMs.

#### Noisy Channel Model in NLP

The adoption of the Noisy Channel Model is well-established in NLP [@jurafsky2025naive], particularly in tasks such as spelling correction [@brill-moore-2000-improved] and machine translation [@brown-etal-1993-mathematics]. These traditional approaches typically rely on Bayes' theorem to maximize the posterior probability[^1]. However, our work fundamentally differs from this paradigm. Instead of using the channel model for the probabilistic inference of text sequences, we leverage this model to quantify the capacity of LLMs.

# The Shannon Scaling Law {#sec:method}

Inspired by Shannon capacity [@{1948BSTJ...27..379S}; @haykin2001communication], we propose a novel scaling law that conceptualizes LLMs as a noisy channel. We define the model's capability $C_{\text{LLM}}$, which is analogous to channel capacity, as the upper bound on the rate at which knowledge can be learned and represented given a specific compute and data budget.

## The Formulation of Shannon Scaling Law

We extend the channel capacity (`\autoref{eq:channel_capacity}`{=latex}) to LLMs by mapping the physical components ($B, S, \mathcal{N}$) to model sizes ($N$) and training tokens ($D$). The proposed **Shannon Scaling Law** is formulated as: $$C_{\text{LLM}} = aN^{\alpha} \log_2 \left(1 + \frac{bD^{\beta}}{c(DN)^{\gamma} + dD^{\delta} + e} \right)
    \label{eq:shannon_law}$$ where $a, b, c, d, e, \alpha, \beta, \gamma, \delta$ are fitted positive constants.

## Component Analysis

#### Bandwidth

In communication systems, bandwidth $B$ defines the range of frequencies available for transmission [@haykin2001communication]: a wider channel allows more information throughput. Analogously, we believe that the model size ($N$) acts as the bandwidth of an LLM. Larger models possess a larger space, allowing them to capture a broader spectrum of features and patterns. Following established scaling conventions, we model this relationship as a power law: $$B_{\text{LLM}} \propto N^{\alpha}$$

#### Signal

A signal is a function that conveys information about the behavior of a system or attributes of some phenomenon [@priemer1990introductory]. For LLMs, the \`\`signal" is the knowledge embedded within the training corpus ($D$). Established scaling conventions model the information gain from larger $D$ as a power law. Assuming the training data is sampled from a vast, information-rich distribution, the average signal power is proportional to the number of training tokens. Thus, we define the signal power as: $$S_{\text{LLM}} \propto D^{\beta}$$

#### Noise

Noise represents unwanted perturbations that degrade the signal. In the context of LLM training, noise is inevitable and we believe they arise from two distinct sources, which our formulation explicitly captures:

-   **Data-Induced Noise ($dD^\delta$):** Data inevitably contains noise (e.g., typos, ambiguities, and contradictions). As the token count $D$ increases, the model becomes increasingly sensitive to such noise [@ouyang2024lowbitquantizationfavorsundertrained; @springer2025overtrained]. Given that $D = bs \times t$, where $bs$ denotes the batch size and $t$ the training steps. This term effectively captures the accumulation of data-induced noise throughout the training trajectory.

-   **Model-Interaction Noise ($c(DN)^\gamma$):** `\label{gp:modelnoise}`{=latex} The training process can be viewed as a denoising procedure [@vincent2008extracting; @shwartz2017opening]: randomly initialized models having substantial noise and very low capacity $C$, and are progressively denoised as the training step $t$ increases. This term models this dynamic duration. Since $D$ is proportional to $t$, this term tracks the intrinsic model noise changing over the training trajectory $t$.

-   **Irreducible Noise ($e$):** A constant term representing irreducible system entropy, such as architectural limitations. This is analogous to the fitted constant $E$ found in the Chinchilla scaling laws [@hoffmann2022trainingcomputeoptimallargelanguage].

## Linking Capacity to Loss {#sec:loss_capacity}

For LLMs, loss or perplexity corresponds to the \`\`error rate". We propose a reciprocal relationship between test loss $\mathcal{L}$ and model capacity $C_{\text{LLM}}$: $$\mathcal{L}(N, D) = \frac{1}{C_{\text{LLM}}}
    \label{eq:reciprocal}$$ This formulation satisfies our two principles:

1.  As capacity approaches infinity ($C \to \infty$), loss approaches 0 ($\mathcal{L} \to 0$). Conversely, a zero-capacity channel results in very large loss ($\mathcal{L} \to \infty$).

2.  Nonlinearity. At high loss values (early training), small capacity gains yield significant loss reductions. However, as the model converges, achieving marginal loss reduction requires much larger increases in capacity.

# Experiments {#sec:experiment}

In this section, we conduct extensive experiments to validate the effectiveness and universality of the proposed Shannon Scaling Law across various model architectures, datasets and perturbation sources.

#### Scaling Law Baselines

As discussed in `\autoref{sec:preliminary}`{=latex}, we benchmark our method against several scaling laws, including those designed to model the monotonic trend and overtraining phenomenon.

```{=latex}
\resizebox{0.65\columnwidth}{!}{%
\begin{tabular}{@{}ll@{}}
\toprule
\textbf{Method}            & \textbf{Law Formulation} \\ \midrule
\textit{Power Laws}                   &                                     \\
OpenAI Law \citep{kaplan2020scaling}                           & $L(N, D) = \left[ \left( \frac{a}{N} \right)^{\frac{\alpha}{\beta}} + \frac{b}{D} \right]^{\beta}$                                  \\
Chinchilla Law \citep{hoffmann2022trainingcomputeoptimallargelanguage}                        & $L(N, D) = \frac{a}{N^\alpha} + \frac{b}{D^\beta} + c$                                  \\ \midrule
\textit{Perturbation-aware Laws} &                                     \\
QiD Law \citep{ouyang2024lowbitquantizationfavorsundertrained}                              & $L(N, D, X) = \frac{a}{N^\alpha} + \frac{b}{D^\beta} + c + d N^{\alpha'} D^{\beta'} X^\gamma$                                  \\
Law of Precision \citep{kumar2024scalinglawsprecision}                     & $L(N, D, X) = \frac{a}{N^\alpha} + \frac{b}{D^\beta} + c + d N^{\alpha'} D^{\beta'} e^{\gamma X}$                                  \\
Symmetric Law                         & $L(N, D) = a\frac{N^\alpha}{D^\beta} + b\frac{D^\beta}{N^\alpha} + c$                                  \\
Asymmetric Law                        & $L(N, D) = a\frac{N^\alpha}{D^\beta} + b\frac{D^{\beta'}}{N^{\alpha'}} + c$                                  \\ \bottomrule
\end{tabular}%
}
```
#### Models, Datasets and Perturbation Sources

We primarily utilize two open-source model suites: Pythia [@biderman2023pythiasuiteanalyzinglarge] and OLMo2 [@olmo20252olmo2furious], both of which provide intermediate checkpoints across various scales. For Pythia, we use the Pythia-dedup suite trained on the deduplicated Pile [@gao2020pile800gbdatasetdiverse] dataset for 1.5 epochs, covering six sizes: 160M, 410M, 1B, 2.8B, 6.9B, and 12B. For OLMo2 series. We use the 1B, 7B, 13B and 32B models. To ensure consistency with the training stage of Pythia suite, we only use stage-1 checkpoints.

We use the test loss of above models on the wikitext2 [@merity2016pointer] dataset as the law fitting target values. There are three perturbation sources that we investigate: Gaussian noise, SFT and quantization. Following the SFT protocol in @springer2025overtrained, we perform full fine-tuning on three tasks: GSM8K [@cobbe2021trainingverifierssolvemath] (Math), SiQA [@sap2019socialiqacommonsensereasoningsocial] (QA), and StarCoder-Python [@li2023starcodersourceyou] (Coding), with identical hyperparameters. Finally, we quantize the model checkpoints from 16 bit to 2 bit, 3 bit and 4 bit using GPTQ [@frantar2023gptqaccurateposttrainingquantization]. The perturbed checkpoints are subsequently evaluated on wikitext2. Please refer to `\autoref{sec:appendix}`{=latex} for implementation details.

## Gaussian Noise as Perturbation

```{=latex}
\begin{figure*}[htbp]

    \includegraphics[width=\textwidth]{figs/contour_plots_gaussian.pdf}
    %
    \caption{Evolution of Pythia loss contours under varying Gaussian noise levels. The emergence of a loss basin at higher noise levels.}
    \label{fig:contour}
\end{figure*}
```
```{=latex}
\newcommand{\tabstrut}{\rule[-8pt]{0pt}{25pt}}
```
```{=latex}
\begin{table*}[htbp]

\resizebox{\textwidth}{!}{%
\begin{tabular}{@{}lc|ccccccc|ccccc@{}}
\toprule
\textbf{Gaussian Noise} & & \textbf{Pythia} & \textbf{OLMo2} \\ \midrule
$\mathcal{L}(N, D) / \mathcal{L}(N, D, X)$ & & 40 dB & 30 dB & 20 dB & 15 dB & 12 dB & 10 dB & Avg ± Std & 40 dB & 30 dB & 20 dB & 10 dB & Avg ± Std \\ \midrule

\tabstrut $\frac{1}{aN^{\alpha}\log_2 \left(1 + \frac{bD^{\beta}}{c(DN)^{\gamma} + dD^{\delta} + e} \right)}$ & &
  \cellcolor[HTML]{DAE8FC}\textbf{0.9895} & \cellcolor[HTML]{DAE8FC}\textbf{0.9882} & \cellcolor[HTML]{DAE8FC}\textbf{0.9672} & \cellcolor[HTML]{DAE8FC}\textbf{0.9442} & \cellcolor[HTML]{DAE8FC}\textbf{0.9234} & \cellcolor[HTML]{DAE8FC}\textbf{0.9555} & \cellcolor[HTML]{DAE8FC}\textbf{0.9613 ± 0.03} &
  \cellcolor[HTML]{DAE8FC}\textbf{0.9830} & \cellcolor[HTML]{DAE8FC}\textbf{0.9907} & \cellcolor[HTML]{DAE8FC}\textbf{0.9908} & 0.8695 & \cellcolor[HTML]{DAE8FC}\textbf{0.9585 ± 0.06} \\ \midrule

\tabstrut $\left[ \left( \frac{a}{N} \right)^{\frac{\alpha}{\beta}} + \frac{b}{D} \right]^{\beta}$ & & 0.9786 & 0.8951 & 0.4865 & 0.3265 & 0.1750 & 0.0707 & 0.4887 ± 0.38 & 0.9293 & 0.9744 & 0.9884 & 0.5201 & 0.8531 ± 0.22 \\ \midrule

\tabstrut $\frac{a}{N^\alpha}+\frac{b}{D^\beta} + c$ & & 0.9523 & 0.8458 & 0.4749 & 0.3762 & 0.2844 & 0.2395 & 0.5289 ± 0.30 & 0.9517 & 0.9756 & 0.9801 & 0.5201 & 0.8569 ± 0.22 \\ \midrule

\tabstrut $\frac{a}{N^\alpha}+\frac{b}{D^\beta} + c + d\frac{D^{\beta'}}{N^{\alpha'}X^{\gamma}}$ & & 0.9891 & 0.9820 & 0.9671 & 0.9417 & 0.8759 & 0.8251 & 0.9302 ± 0.07 & 0.9535 & 0.9805 & 0.9850 & \cellcolor[HTML]{DAE8FC}\textbf{0.8708} & 0.9475 ± 0.05 \\ \midrule

\tabstrut $\frac{a}{N^\alpha}+\frac{b}{D^\beta} + c + d\frac{D^{\beta'}}{N^{\alpha'}e^{\gamma X}}$ & & 0.9523 & 0.8458 & 0.9671 & 0.9417 & 0.8759 & 0.8251 & 0.9013 ± 0.06 & 0.9517 & 0.9756 & 0.9801 & 0.8705 & 0.9445 ± 0.05 \\ \midrule

\tabstrut $a\frac{N^\alpha}{D^\beta} + b\frac{D^\beta}{N^\alpha} + c$ & & 0.9837 & 0.9360 & 0.9151 & 0.9342 & 0.8681 & 0.8251 & 0.9103 ± 0.06 & 0.9502 & 0.9786 & 0.9768 & 0.8419 & 0.9369 ± 0.06 \\ \midrule

\tabstrut $a\frac{N^\alpha}{D^\beta} + b\frac{D^{\beta'}}{N^{\alpha'}} + c$ & & 0.9879 & 0.9729 & 0.9643 & 0.9380 & 0.8681 & 0.8322 & 0.9272 ± 0.06 & 0.9533 & 0.9851 & 0.9904 & 0.8568 & 0.9464 ± 0.06 \\ \bottomrule
\end{tabular}%
}
\caption{Comparison of $R^2$ scores under varying Gaussian noise levels. Our Shannon Scaling Law (Row 1) demonstrates superior robustness across the full spectrum (40 dB--10 dB).}
\label{tab:gaussian}
\end{table*}
```
@springer2025overtrained observed a phenomenon termed *progressive sensitivity to noise*: for a fixed perturbation magnitude, the degradation in perplexity increases monotonically with the number of training tokens. Larger perturbations lead to sharper degradation, causing the inflection point to occur at lower token budgets.

We followed their approach and modify the noise injection strategy slightly. Instead of scaling by the initialization covariance matrix $\Sigma$, we inject additive Gaussian noise $\epsilon \sim \mathcal{N}(0, \sigma_n^2)$ based on the Signal-to-Noise Ratio (SNR). This decision was made for two reasons: 1. we found this phenomenon was difficult to reproduce consistently using their covariance method; 2. the initialization checkpoints are not available for all open-source models. It is feasible for them as they train their own closed-source models.

To get each perturbed weight $\tilde{w}$, we add noise $n$ to weight $w$ by generating noise with variance $\sigma_n^2$ based on the power of weight $P_w$ and the target $SNR_{dB}$ in decibels (dB) [@gonzalez2008digital; @10.5555/1795494]: $$\tilde{w} = w + n, \quad \text{where} \, n \sim \mathcal{N} (0, \sigma_n^2)$$ $$\sigma^2_{n} = \frac{P_w}{SNR} = \frac{\mathbb{E}[|w|^2]}{10^{SNR_{dB}/10}}$$ This approach allows us to strictly control the perturbation power relative to the weights power across all weights.

#### Emergence of U-shaped Curves in Loss Landscapes under Gaussian Noise

The evolution of the loss landscape in `\autoref{fig:contour}`{=latex}, from left (low noise) to right (high noise), reveals a fundamental shift in scaling dynamics.

In the high SNR regime, the loss landscape follows traditional scaling laws. The loss contours are open, indicating that increasing either model size or training tokens monotonically reduces loss. However, as the noise level increases (with SNR decreasing to 30 dB and 20 dB), this monotonicity breaks. In the bottom-right corner, a high-loss region becomes increasingly prominent. U-shaped curves emerge along both axes: (1) for a fixed model size, increasing tokens initially reduces loss but eventually leads to degradation, visible as the color shifts from blue (low loss) back to yellow (high loss) on the far right; (2) similarly, for a fixed token budget, increasing model size beyond a certain threshold causes the loss to rise. This validates our observation that excessively large models amplify their model noise when the signal is insufficient. Under the extreme 10 dB condition, the region of low loss shrinks significantly and the overall loss values increase drastically. This shows that when noise dominates the channel, simply scaling up $D$ is detrimental.

#### Fitting $\mathcal{L}(N, D)$ under Varying Noise Levels

`\autoref{tab:gaussian}`{=latex} presents a comparative analysis of goodness-of-fit, quantified by the $R^2$ score, across varying levels of Gaussian noise (10 dB -- 40 dB) for both Pythia [@biderman2023pythiasuiteanalyzinglarge] and OLMo2 [@olmo20252olmo2furious] model series. The results demonstrate that our proposed law (Row 1) consistently outperforms baseline laws across diverse perturbation levels. Our law achieves the highest alignment with experimental results across all tested noise levels. In low-noise results (40 dB), our model achieves the highest scores of $0.9895$ for Pythia and $0.9830$ for OLMo2. Notably, as the noise increases, the performance gap between our method and the baselines widens. At the highest noise level (10 dB), our model maintains a robust $R^2$ of $0.9555$ on Pythia, significantly surpassing the next best-performing baseline (Asymmetric law, Row 7) drops to $0.8322$. Similarly, on OLMo2, our method retains a competitive score of $0.8695$.

The stability of our approach is evidenced by the \`\`Average $\pm$ Standard Deviation" column. Our method yields robust average $R^2$ of $0.9613 \pm 0.03$ (Pythia) and $0.9585 \pm 0.06$ (OLMo2), indicating not only high scores but also exceptional consistency. In contrast, competing laws exhibit significant volatility. For instance, the OpenAI law shows high standard deviations of $\pm 0.38$ and $\pm 0.22$, reflecting its inability to model the data effectively as the SNR decreases. While perturbation-aware baselines (Rows 4--7) struggle to maintain both consistency and accuracy across the full spectrum of noise levels. The Shannon capacity structure of our proposed formulation effectively models the loss landscapes. This makes ours the only law to consistently achieve an average $R^2 > 0.95$ across both model families.

## Supervised Fine-Tuning as Perturbation

```{=latex}
\begin{figure*}[htbp]

    \includegraphics[width=\textwidth]{figs/contour_plots_sft_4.pdf}
    %
    \caption{Pythia loss evolution under varying SFT learning rates on GSM8K. The emergence of a loss basin at higher noise levels.}
    \label{fig:contour_sft}
\end{figure*}
```
```{=latex}
\providecommand{\tabstrut}{\rule[-8pt]{0pt}{25pt}}
```
```{=latex}
\begin{table*}[htbp]

\resizebox{\textwidth}{!}{%
\begin{tabular}{@{}l|cccccc|cccccc|cccccc@{}}
\toprule
\tabstrut \textbf{SFT} & \textbf{GSM8K} & \textbf{SiQA} & \textbf{StarCoder} \\ \midrule
\tabstrut $\mathcal{L}(N, D) / \mathcal{L}(N, D, X)$ & 1e-5 & 6e-5 & 1e-4 & 2e-4 & 6e-4 & Avg ± Std & 1e-5 & 6e-5 & 1e-4 & 2e-4 & 6e-4 & Avg ± Std & 1e-5 & 6e-5 & 1e-4 & 2e-4 & 6e-4 & Avg ± Std \\ \midrule

\tabstrut $\frac{1}{aN^{\alpha}\log_2 \left(1 + \frac{bD^{\beta}}{c(DN)^{\gamma} + dD^{\delta} + e} \right)}$ &
  \cellcolor[HTML]{DAE8FC}\textbf{0.986} & \cellcolor[HTML]{DAE8FC}\textbf{0.970} & \cellcolor[HTML]{DAE8FC}\textbf{0.901} & \cellcolor[HTML]{DAE8FC}\textbf{0.874} & \cellcolor[HTML]{DAE8FC}\textbf{0.950} & \cellcolor[HTML]{DAE8FC}\textbf{0.936 ± 0.05} &
  \cellcolor[HTML]{DAE8FC}\textbf{0.987} & \cellcolor[HTML]{DAE8FC}\textbf{0.924} & \cellcolor[HTML]{DAE8FC}\textbf{0.831} & \cellcolor[HTML]{DAE8FC}\textbf{0.920} & \cellcolor[HTML]{DAE8FC}\textbf{0.921} & \cellcolor[HTML]{DAE8FC}\textbf{0.916 ± 0.06} &
  0.977 & \cellcolor[HTML]{DAE8FC}\textbf{0.976} & \cellcolor[HTML]{DAE8FC}\textbf{0.973} & 0.901 & \cellcolor[HTML]{DAE8FC}\textbf{0.858} & \cellcolor[HTML]{DAE8FC}\textbf{0.937 ± 0.05} \\ \midrule

\tabstrut $\left[ \left( \frac{a}{N} \right)^{\frac{\alpha}{\beta}} + \frac{b}{D} \right]^{\beta}$ &
  0.963 & 0.847 & 0.466 & 0.000 & -0.579 & 0.339 ± 0.64 &
  0.956 & 0.580 & 0.000 & 0.000 & -0.879 & 0.131 ± 0.70 &
  0.956 & 0.942 & 0.881 & 0.507 & -8.336 & -1.010 ± 4.10 \\ \midrule

\tabstrut $\frac{a}{N^\alpha}+\frac{b}{D^\beta} + c$ &
  0.936 & 0.813 & 0.477 & 0.020 & 0.000 & 0.449 ± 0.44 &
  0.928 & 0.580 & 0.167 & 0.014 & 0.007 & 0.339 ± 0.40 &
  0.928 & 0.903 & 0.832 & 0.507 & 0.002 & 0.634 ± 0.39 \\ \midrule

\tabstrut $\frac{a}{N^\alpha}+\frac{b}{D^\beta} + c + d\frac{D^{\beta'}X^{\gamma}}{N^{\alpha'}}$ &
  0.934 & 0.814 & 0.552 & 0.576 & 0.308 & 0.637 ± 0.24 &
  0.929 & 0.648 & 0.379 & 0.488 & 0.427 & 0.574 ± 0.22 &
  0.929 & 0.899 & 0.844 & 0.605 & 0.384 & 0.732 ± 0.23 \\ \midrule

\tabstrut $\frac{a}{N^\alpha}+\frac{b}{D^\beta} + c + d\frac{D^{\beta'}e^{\gamma X}}{N^{\alpha'}}$ &
  0.984 & 0.949 & 0.851 & 0.572 & 0.308 & 0.733 ± 0.29 &
  0.985 & 0.868 & 0.748 & 0.488 & 0.223 & 0.662 ± 0.31 &
  \cellcolor[HTML]{DAE8FC}\textbf{0.980} & 0.974 & 0.961 & \cellcolor[HTML]{DAE8FC}\textbf{0.913} & 0.384 & 0.842 ± 0.26 \\ \midrule

\tabstrut $a\frac{N^\alpha}{D^\beta} + b\frac{D^\beta}{N^\alpha} + c$ &
  0.970 & 0.892 & 0.684 & 0.659 & 0.802 & 0.802 ± 0.13 &
  0.965 & 0.735 & 0.663 & 0.683 & 0.757 & 0.760 ± 0.12 &
  0.963 & 0.950 & 0.904 & 0.677 & 0.641 & 0.827 ± 0.16 \\ \midrule

\tabstrut $a\frac{N^\alpha}{D^\beta} + b\frac{D^{\beta'}}{N^{\alpha'}} + c$ &
  0.978 & 0.933 & 0.819 & 0.804 & 0.944 & 0.896 ± 0.08 &
  0.974 & 0.838 & 0.758 & 0.886 & 0.920 & 0.875 ± 0.08 &
  0.970 & 0.963 & 0.941 & 0.872 & 0.832 & 0.916 ± 0.06 \\ \bottomrule
\end{tabular}%
}
\caption{Comparison of $R^2$ scores across diverse SFT domains: GSM8K, SiQA and StarCoder. Our Shannon Scaling Law demonstrates universal applicability, consistently achieving the highest average scores: 0.936, 0.916 and 0.937.}
\label{tab:sft_triple}
\end{table*}
```
#### Emergence of U-shaped Curves in Loss Landscapes under SFT

We perform full fine-tuning on all the datasets and pretraining checkpoints with the same hyperparameters, except learning rate (LR). In the low-LR regime (left) of `\autoref{fig:contour_sft}`{=latex}, the landscape exhibits classic monotonic scaling, where increasing model size ($N$) or tokens ($D$) consistently reduces loss. However, as LR rises, the landscape distorts. Similar to the Gaussian perturbation results, we observe the emergence of U-shaped curves. Crucially, a \`\`basin" of loss emerges at the center (LR=2e-4). This shows U-shaped trends along both the $N$ and $D$ axes: for a fixed token or size budget, excessively large models or overtraining begin to exhibit performance degradation. At the highest LR (right), the system undergoes *catastrophic overtraining* [@springer2025overtrained]: the low-loss region virtually disappears, replaced by high loss values across the board. Neither scaling up the model nor adding more tokens can compensate for the destructive interference. This mirrors the \`\`capacity collapse" predicted by our Shannon Law when the noise term dominates the denominator. Please refer to `\autoref{sec:appendix}`{=latex} for more loss contour plots on SiQA and StarCoder. Such \`\`loss basins" also clearly exist on these two datasets.

#### Fitting $\mathcal{L}(N, D)$ across Varying Learning Rates on Diverse SFT Datasets

`\autoref{tab:sft_triple}`{=latex} extends our evaluation to three distinct SFT tasks: GSM8K [@merity2016pointer], SiQA [@sap2019socialiqacommonsensereasoningsocial], and StarCoder [@li2023starcodersourceyou], under varying learning rates. Different from precision-based scaling [@ouyang2024lowbitquantizationfavorsundertrained; @kumar2024scalinglawsprecision], the learning rate $X$ acts inversely: a larger $X$ induces greater perturbation. We places the $X^\gamma$ term in the numerator to correctly model this noise amplification.

Due to the lack of perturbation term, OpenAI and Chinchilla laws (Rows 2--3) exhibit catastrophic failure, even yielding negative $R^2$ values (e.g., $-1.010$ avg for OpenAI on StarCoder). Comparing against perturbation-aware baselines (Rows 4--7), our method demonstrates ubiquitous superiority. Even the strongest competitor (Row 7) consistently underperforms our Shannon Scaling Law across all datasets: $0.936$ vs. $0.896$ on GSM8K, $0.916$ vs. $0.875$ on SiQA, and $0.937$ vs. $0.916$ on StarCoder. Crucially, our advantage is most pronounced within the \`\`loss basins." For instance, at $\text{LR}=1\mathrm{e}{-4}$ and $2\mathrm{e}{-4}$, our law maintains robust fits of $0.901$ and $0.874$ on GSM8K, significantly outperforming the best baseline ($0.819$ and $0.804$). This trend extends to SiQA and StarCoder. Such consistent superiority across diverse SFT datasets and perturbation levels confirms our formulation as the universally superior predictor for SFT perturbation dynamics.

## Quantization as Perturbation

```{=latex}
\begin{figure*}[htbp]

    \includegraphics[width=0.7\textwidth]{figs/contour_plots_quant_5.pdf}
    %
    \caption{Evolution of Pythia loss contours under varying quantization bit-widths. The emergence of a loss basin at higher noise levels.}
    \label{fig:contour_quant}
\end{figure*}
```
```{=latex}
\providecommand{\tabstrut}{\rule[-8pt]{0pt}{25pt}}
```
```{=latex}
\begin{table*}[htbp]

\resizebox{0.8\textwidth}{!}{%
\begin{tabular}{@{}l|cccc|cccc@{}}
\toprule
\textbf{Quantization} & \textbf{Pythia} & \textbf{OLMo2} \\ \midrule
$\mathcal{L}(N, D) / \mathcal{L}(N, D, X)$ & 4 bit & 3 bit & 2 bit & Avg ± Std & 4 bit & 3 bit & 2 bit & Avg ± Std \\ \midrule

\tabstrut $\frac{1}{aN^{\alpha}\log_2 \left(1 + \frac{bD^{\beta}}{c(DN)^{\gamma} + dD^{\delta} + e} \right)}$ &
  \cellcolor[HTML]{DAE8FC}\textbf{0.9953} & \cellcolor[HTML]{DAE8FC}\textbf{0.9917} & \cellcolor[HTML]{DAE8FC}\textbf{0.9602} & \cellcolor[HTML]{DAE8FC}\textbf{0.9824 ± 0.02} &
  \cellcolor[HTML]{DAE8FC}\textbf{0.9886} & \cellcolor[HTML]{DAE8FC}\textbf{0.9888} & \cellcolor[HTML]{DAE8FC}\textbf{0.8869} & \cellcolor[HTML]{DAE8FC}\textbf{0.9548 ± 0.06} \\ \midrule

\tabstrut $\left[ \left( \frac{a}{N} \right)^{\frac{\alpha}{\beta}} + \frac{b}{D} \right]^{\beta}$ &
  0.9893 & 0.9817 & 0.7201 & 0.8970 ± 0.15 & 0.9766 & 0.9871 & 0.6155 & 0.8597 ± 0.21 \\ \midrule

\tabstrut $\frac{a}{N^\alpha}+\frac{b}{D^\beta} + c$ &
  0.9770 & 0.9688 & 0.7312 & 0.8923 ± 0.14 & 0.9732 & 0.9700 & 0.6155 & 0.8529 ± 0.21 \\ \midrule

\tabstrut $\frac{a}{N^\alpha}+\frac{b}{D^\beta} + c + d\frac{D^{\beta'}}{N^{\alpha'}X^{\gamma}}$ &
  0.9932 & 0.9883 & 0.9549 & 0.9788 ± 0.02 & 0.9790 & 0.9791 & 0.8353 & 0.9311 ± 0.08 \\ \midrule

\tabstrut $\frac{a}{N^\alpha}+\frac{b}{D^\beta} + c + d\frac{D^{\beta'}}{N^{\alpha'}e^{\gamma X}}$ &
  0.9932 & 0.9883 & 0.9549 & 0.9788 ± 0.02 & 0.9790 & 0.9791 & 0.8353 & 0.9311 ± 0.08 \\ \midrule

\tabstrut $a\frac{N^\alpha}{D^\beta} + b\frac{D^\beta}{N^\alpha} + c$ &
  0.9833 & 0.9735 & 0.9163 & 0.9577 ± 0.04 & 0.9789 & 0.9745 & 0.8713 & 0.9416 ± 0.06 \\ \midrule

\tabstrut $a\frac{N^\alpha}{D^\beta} + b\frac{D^{\beta'}}{N^{\alpha'}} + c$ &
  \cellcolor[HTML]{DAE8FC}\textbf{0.9953} & 0.9895 & 0.9499 & 0.9782 ± 0.02 & 0.9850 & 0.9882 & 0.8868 & 0.9533 ± 0.06 \\ \bottomrule
\end{tabular}%
}
\caption{Comparison of $R^2$ scores across different quantization bit-widths: 4, 3 and 2 bit. Our Shannon Scaling Law consistently outperforms other laws.}
\label{tab:quant}
\end{table*}
```
#### Emergence of U-shaped Curves in Loss Landscapes under Quantization

`\autoref{fig:contour_quant}`{=latex} illustrates the evolution of loss contours under post-training quantization GPTQ [@frantar2023gptqaccurateposttrainingquantization]. At 4 bit precision, the landscape retains standard monotonic scaling, indicating sufficient fidelity where increasing $N$ and $D$ yields consistent gains. However, as precision drops, the landscape distorts, quantization noise dominates, causing the region of optimal loss to collapse into a confined \`\`basin" rather than an open expanse.

#### Fitting $\mathcal{L}(N, D)$ across Different Precisions

To validate architectural universality, we evaluate the scaling laws on both Pythia and OLMo2 suites under varying quantization levels. `\autoref{tab:quant}`{=latex} confirms that our proposed law consistently yields the highest fitting scores, achieving averages of $0.9824$ (Pythia) and $0.9548$ (OLMo2). The superiority is most pronounced in the extreme 2-bit regime, where standard power laws suffer catastrophic collapse: dropping to $R^2 \approx 0.72$ for Pythia and plummeting further to $\approx 0.61$ for OLMo2. In contrast, our method maintains robust fidelity ($0.9602$ and $0.8869$, respectively). This superiority validates that our formulation effectively parameterizes the non-monotonic saturation dynamics caused by lower precision, distinguishing it as the only law to consistently exceed $R^2 > 0.96$ with Pythia even under aggressive quantization.

## Pretraining-only Trajectories as a High-SNR Special Case

Unperturbed trajectories can be viewed as a high-SNR special case. Our law achieves good precision on original pretraining loss, yielding an $R^2$ of $0.9889$ on OLMo2, which outperforms OpenAI law's $0.9713$, Chinchilla law's $0.9737$, and Asymmetric law's $0.9833$. On Pythia, our law reaches $0.9915$, surpassing Chinchilla law's $0.9681$ and OpenAI law's $0.9848$ while matching Asymmetric law's $0.9921$. Beyond the performance, the decisive advantage of our law is its universality: while standard baselines collapse under external noise, the Shannon Scaling Law uniquely unifies high-SNR pretraining and low-SNR perturbed regimes within a single, robust theoretical formulation.

# Beyond Fitting: Extrapolation and Analysis

```{=latex}
\begin{table*}[htbp]

\resizebox{\textwidth}{!}{%
\begin{tabular}{@{}c|l|cccccccc@{}}
\toprule
 \textbf{Gaussian Noise} &
  Method &
  Pretrain &
  40 dB &
  30 dB &
  20 dB &
  15 dB &
  12 dB &
  10 dB &
  Avg ± Std \\ \midrule
 \textbf{Pythia} &
  Full  &
  0.9915 &
  \cellcolor[HTML]{DAE8FC} \textbf{0.9895} &
  \cellcolor[HTML]{DAE8FC} \textbf{0.9882} &
  \cellcolor[HTML]{DAE8FC} \textbf{0.9672} &
  \cellcolor[HTML]{DAE8FC} \textbf{0.9442} &
  \cellcolor[HTML]{DAE8FC} \textbf{0.9234} &
  \cellcolor[HTML]{DAE8FC} \textbf{0.9555} &
  \cellcolor[HTML]{DAE8FC} \textbf{0.9656 ± 0.03} \\ \cmidrule(l){2-10}
 &
  Simplified  &
  0.9880 &
  0.9889 &
  0.9857 &
  0.9653 &
  0.9321 &
  0.9095 &
  0.9092 &
  0.9541 ± 0.04 \\ \cmidrule(l){2-10}
 &
  Pareto Front &
  \cellcolor[HTML]{DAE8FC} \textbf{0.9921} &
  0.9891 &
  0.9820 &
  0.9671 &
  0.9417 &
  0.8759 &
  0.8322 &
  0.9400 ± 0.06 \\ \midrule
\textbf{OLMo2} &
  Full  &
  \cellcolor[HTML]{DAE8FC} \textbf{0.9889} &
  \cellcolor[HTML]{DAE8FC} \textbf{0.9830} &
  \cellcolor[HTML]{DAE8FC} \textbf{0.9907} &
  \cellcolor[HTML]{DAE8FC} \textbf{0.9908} &
  - &
  - &
  0.8695 &
  \cellcolor[HTML]{DAE8FC} \textbf{0.9646 ± 0.05} \\ \cmidrule(l){2-10}
 &
  Simplified  &
  0.9877 &
  0.9779 &
  0.9895 &
  0.9903 &
  - &
  - &
  0.8695 &
  0.9630 ± 0.05 \\ \cmidrule(l){2-10}
 &
  Pareto Front &
  0.9833 &
  0.9535 &
  0.9851 &
  0.9904 &
  - &
  - &
  \cellcolor[HTML]{DAE8FC} \textbf{0.8708} &
  0.9566 ± 0.05 \\ \bottomrule
\end{tabular}%
}
\caption{Comparison of fitting accuracy between our full law, its simplified 6-parameter variant, and the best-performing baselines (Pareto Front).}
\label{tab:simplify}
%
\end{table*}
```
## Towards Parameter-Efficient Scaling Laws

The full Shannon Scaling Law needs 9 fitted constants, which is the same as QiD law [@ouyang2024lowbitquantizationfavorsundertrained] and Law of precision [@kumar2024scalinglawsprecision]. However, other baseline laws need fewer fitted constant.

To enhance parameter efficiency, we derive a Simplified Shannon Law with only 6 parameters ($a, c, \alpha, \beta, \gamma, \delta$) by pruning those consistently fitted to negligible values: $$C_{\text{Simpl}} = aN^{\alpha}\log_2 \left(1 + \frac{D^{\beta}}{c(DN)^{\gamma} + D^{\delta}} \right)$$ `\autoref{tab:simplify}`{=latex} confirms that the simplified law retains near-full predictive power (Average $R^2$: $0.9541$ vs. $0.9656$). Crucially, it also outperforms the best baselines on different Gaussian noise levels, particularly in high-noise regimes (e.g., $0.9092$ vs. $0.8322$ at 10 dB). This establishes that even in its reduced form, our law offers a superior trade-off between complexity and fitting accuracy.

## Predictive Power via Extrapolation to Unseen Models and Tokens {#sec:extrapolation}

The fitting results above quantify how well each law explains observed data, but the practical value of a scaling law lies in its ability to *predict* the behaviour of *larger, unseen* models trained on *more, unseen* tokens. To test this, we run three extrapolation experiments on the Pythia suite under Gaussian noise. All reported scores are **pooled $R^2$** computed by concatenating held-out predictions across all six SNR levels (10--40 dB) into a single flat array. This is strictly stricter than averaging per-SNR $R^2$ and rules out per-level cherry-picking.

#### Token Extrapolation

```{=latex}
\resizebox{0.7\columnwidth}{!}{%
\begin{tabular}{@{}l|ccc@{}}
\toprule
\textbf{Method} &
  $j{=}8$ \scriptsize Train $\leq$75.5B \scriptsize Predict 75.5B--307B &
  $j{=}12$ \scriptsize Train $\leq$180.4B \scriptsize Predict 180.4B--307B &
  $j{=}15$ \scriptsize Train $\leq$272.6B \scriptsize Predict 272.6B--307B \\ \midrule
Shannon (Ours, 9p)        & 0.611 & \cellcolor[HTML]{DAE8FC}\textbf{0.781} & 0.941 \\
Shannon-Simpl (Ours, 6p)   & 0.768 & 0.753 & \cellcolor[HTML]{DAE8FC}\textbf{0.945} \\ \midrule
Chinchilla                & 0.197 & 0.265 & 0.352 \\
OpenAI                    & 0.162 & 0.245 & 0.297 \\
QiD Law                   & 0.441 & 0.766 & 0.862 \\
Law of Precision          & 0.486 & 0.632 & 0.743 \\
Symmetric Law             & 0.726 & 0.760 & 0.860 \\
Asymmetric Law            & \cellcolor[HTML]{DAE8FC}\textbf{0.805} & 0.774 & 0.851 \\ \bottomrule
\end{tabular}%
}
```
We fit each law on the first $j$ token checkpoints of every model (out of $16$ checkpoints spanning up to $307$B tokens) and predict the remaining ones. As shown in `\autoref{tab:extrap_token}`{=latex}, the Shannon Scaling Law variants consistently dominate the perturbation-aware baselines at every $j$. Notably, the 6-parameter Shannon-Simpl reaches $R^2 = 0.945$ at $j{=}15$, exceeding QiD Law's $0.862$ and Law of Precision's $0.743$ despite using fewer fitted constants.

#### Model Extrapolation

We fit each law on the $k$ smallest Pythia models and predict the larger held-out models. `\autoref{tab:extrap_model}`{=latex} shows that at $k{=}4$ (training on \[2.8B, 1B, 410M, 160M\] to predict \[12B, 6.9B\]), Shannon-Simpl achieves pooled $R^2 = 0.837$ versus $0.756$ for the 9-parameter QiD Law. OpenAI's monotonic law collapses to $-0.048$, confirming that perturbation-agnostic forms cannot generalize to larger scales.

```{=latex}
\resizebox{0.7\columnwidth}{!}{%
\begin{tabular}{@{}l|ccc@{}}
\toprule
\textbf{Method} &
  $k{=}3$ \scriptsize Train [1B, 410M, 160M] \scriptsize Predict [12B, 6.9B, 2.8B] &
  $k{=}4$ \scriptsize Train $\leq$2.8B \scriptsize Predict [12B, 6.9B] &
  $k{=}5$ \scriptsize Train $\leq$6.9B \scriptsize Predict [12B] \\ \midrule
Shannon (Ours, 9p)        & 0.521 & 0.787 & 0.845 \\
Shannon-Simpl (Ours, 6p)   & \cellcolor[HTML]{DAE8FC}\textbf{0.605} & \cellcolor[HTML]{DAE8FC}\textbf{0.837} & \cellcolor[HTML]{DAE8FC}\textbf{0.847} \\ \midrule
Chinchilla                & 0.261 & 0.726 & 0.702 \\
OpenAI                    & $-0.507$ & $-0.048$ & 0.282 \\
QiD Law                   & 0.470 & 0.756 & 0.721 \\
Law of Precision          & 0.294 & 0.744 & 0.713 \\
Symmetric Law             & $-0.445$ & 0.712 & 0.717 \\
Asymmetric Law            & $-0.364$ & 0.767 & 0.720 \\ \bottomrule
\end{tabular}%
}
```
#### Joint Extrapolation: Unseen Model and Unseen Tokens

The most stringent test extrapolates along both axes simultaneously. The headline configuration $k{=}5,\, j{=}12$ trains each law on the five smallest models using only their first $12$ token checkpoints ($\leq$`<!-- -->`{=html}180B tokens), then predicts the held-out 12B model on $4$ unseen token budgets spanning 180B--307B tokens. This requires generalizing to a model $1.7\times$ larger than anything in the training set, on a token range $1.7\times$ beyond the training horizon. As reported in `\autoref{tab:extrap_joint}`{=latex}, only the full Shannon Law maintains $R^2 = 0.847$ in this regime; Chinchilla degrades to $0.305$ and OpenAI to $-0.082$. Compared with Shannon-Simpl's $0.673$ on the same setting, this confirms that the additional parameters in the full law do not merely overfit but encode meaningful joint $(N,D)$ structure that is identifiable only when training data spans both axes.

#### When to Use Simplified vs Full Shannon Scaling Law

```{=latex}
\resizebox{0.7\columnwidth}{!}{%
\begin{tabular}{@{}l|ccc@{}}
\toprule
\textbf{Method} &
  $k{=}4,\, j{=}8$ \scriptsize Predict [12B, 6.9B], \scriptsize 75.5B--307B &
  $k{=}5,\, j{=}12$ \scriptsize Predict 12B, \scriptsize 180.4B--307B &
  $k{=}5,\, j{=}15$ \scriptsize Predict 12B, \scriptsize 272.6B--307B \\ \midrule
Shannon (Ours, 9p)        & \cellcolor[HTML]{DAE8FC}\textbf{0.590} & \cellcolor[HTML]{DAE8FC}\textbf{0.847} & \cellcolor[HTML]{DAE8FC}\textbf{0.828} \\
Shannon-Simpl (Ours, 6p)   & 0.494 & 0.673 & 0.715 \\ \midrule
Chinchilla                & $-0.146$ & 0.305 & 0.439 \\
OpenAI                    & $-0.341$ & $-0.082$ & $-0.034$ \\
QiD Law                   & 0.550 & 0.761 & 0.650 \\
Law of Precision          & 0.569 & 0.708 & 0.631 \\
Symmetric Law             & 0.430 & 0.655 & 0.576 \\
Asymmetric Law            & 0.525 & 0.611 & 0.558 \\ \bottomrule
\end{tabular}%
}
```
The extrapolation results in `\autoref{sec:extrapolation}`{=latex} suggest a clear practical guideline. Shannon-Simpl (6p) is preferred for *single-axis* extrapolation: with few held-out points to predict, its reduced parameterization avoids overfitting the limited variation. The full Shannon law (9p), in contrast, is necessary for *joint* $(N, D)$ extrapolation: its extra parameters separately control the signal scaling, the data--model interaction noise $c(DN)^{\gamma}$, and the irreducible noise floor, terms that become identifiable only when the training data spans both axes. The gap is decisive in the most stringent regime: $0.847$ (Full) vs $0.673$ (Simpl) at $k{=}5,\, j{=}12$. In typical practice, where one fits a $N{\times}D$ grid of small/short runs to predict performance at larger target $(N,D)$, the full Shannon law is the appropriate choice.

## Fitted Exponents Reveal When Scaling Helps and When It Hurts

```{=latex}
\begin{table*}[htbp]

\resizebox{\textwidth}{!}{%
\begin{tabular}{@{}cl|c|cccccc|cccccc|cccccc@{}}
\toprule
 &
   &
  \textbf{GSM8K} &
  \textbf{SiQA} &
  \textbf{StarCoder} \\ \cmidrule(l){4-21}
\multirow{-2}{*}{\textbf{Exponents}} &
  \textbf{Pretrain} &
  1e-5 &
  3e-5 &
  6e-5 &
  1e-4 &
  2e-4 &
  1e-3 &
  1e-5 &
  3e-5 &
  6e-5 &
  1e-4 &
  2e-4 &
  1e-3 &
  1e-5 &
  3e-5 &
  6e-5 &
  1e-4 &
  2e-4 &
  1e-3 \\ \midrule
 &
  Bandwidth $\alpha$ &
  \cellcolor[HTML]{DAE8FC}\textbf{0.302} &
  \cellcolor[HTML]{DAE8FC}\textbf{0.706} &
  \cellcolor[HTML]{DAE8FC}\textbf{0.640} &
  0.496 &
  0.321 &
  0.280 &
  0.286 &
  \cellcolor[HTML]{DAE8FC}\textbf{0.780} &
  \cellcolor[HTML]{DAE8FC}\textbf{0.567} &
  0.338 &
  0.244 &
  0.335 &
  0.642 &
  \cellcolor[HTML]{DAE8FC}\textbf{0.659} &
  \cellcolor[HTML]{DAE8FC}\textbf{0.661} &
  \cellcolor[HTML]{DAE8FC}\textbf{0.661} &
  \cellcolor[HTML]{DAE8FC}\textbf{0.706} &
  0.471 &
  0.318 \\ \cmidrule(l){2-21}
\multirow{-2}{*}{$N$} &
  Noise $\gamma$ &
  0.299 &
  0.676 &
  0.620 &
  \cellcolor[HTML]{DAE8FC}\textbf{0.505} &
  \cellcolor[HTML]{DAE8FC}\textbf{0.475} &
  \cellcolor[HTML]{DAE8FC}\textbf{0.554} &
  \cellcolor[HTML]{DAE8FC}\textbf{0.357} &
  0.748 &
  0.558 &
  \cellcolor[HTML]{DAE8FC}\textbf{0.436} &
  \cellcolor[HTML]{DAE8FC}\textbf{0.483} &
  \cellcolor[HTML]{DAE8FC}\textbf{0.548} &
  \cellcolor[HTML]{DAE8FC}\textbf{0.684} &
  0.632 &
  0.635 &
  0.637 &
  0.688 &
  \cellcolor[HTML]{DAE8FC}\textbf{0.515} &
  \cellcolor[HTML]{DAE8FC}\textbf{0.439} \\ \midrule
 &
  Signal $\beta$ &
  0.402 &
  0.742 &
  0.683 &
  0.577 &
  0.579 &
  0.602 &
  0.409 &
  0.814 &
  0.618 &
  0.521 &
  0.605 &
  0.617 &
  0.696 &
  0.707 &
  0.710 &
  0.712 &
  0.762 &
  0.609 &
  0.431 \\ \cmidrule(l){2-21}
\multirow{-2}{*}{$D$} &
  Noise $\delta$ &
  \cellcolor[HTML]{DAE8FC}\textbf{0.745} &
  \cellcolor[HTML]{DAE8FC}\textbf{2.600} &
  \cellcolor[HTML]{DAE8FC}\textbf{3.363} &
  \cellcolor[HTML]{DAE8FC}\textbf{3.557} &
  \cellcolor[HTML]{DAE8FC}\textbf{4.297} &
  \cellcolor[HTML]{DAE8FC}\textbf{3.296} &
  \cellcolor[HTML]{DAE8FC}\textbf{1.676} &
  \cellcolor[HTML]{DAE8FC}\textbf{3.078} &
  \cellcolor[HTML]{DAE8FC}\textbf{3.955} &
  \cellcolor[HTML]{DAE8FC}\textbf{4.073} &
  \cellcolor[HTML]{DAE8FC}\textbf{3.367} &
  \cellcolor[HTML]{DAE8FC}\textbf{2.724} &
  \cellcolor[HTML]{DAE8FC}\textbf{3.082} &
  \cellcolor[HTML]{DAE8FC}\textbf{2.312} &
  \cellcolor[HTML]{DAE8FC}\textbf{2.498} &
  \cellcolor[HTML]{DAE8FC}\textbf{2.898} &
  \cellcolor[HTML]{DAE8FC}\textbf{3.836} &
  \cellcolor[HTML]{DAE8FC}\textbf{3.685} &
  \cellcolor[HTML]{DAE8FC}\textbf{2.913} \\ \bottomrule
\end{tabular}%
}
\caption{Comparison of exponents for model size ($N$) and token count ($D$).
The relationship between bandwidth exponent ($\alpha$) and model noise exponent ($\gamma$) inverts as perturbation intensity increases. In contrast, the data noise exponent ($\delta$) persistently overshadows the signal exponent ($\beta$) across all levels of perturbations.}
\label{tab:sft_expo_triple}
%
\end{table*}
```
We investigate the fitted exponents in `\autoref{tab:sft_expo_triple}`{=latex} to understand the competing dynamics between information gain and noise amplification.

#### Under Noise, Model Scaling Backfires ($\gamma > \alpha$)

The relationship between exponents of bandwidth ($\alpha$) and model noise ($\gamma$) exhibits a clear SNR-dependent crossover. In high-SNR regimes (e.g., Pretrain or GSM8K at $1\mathrm{e}{-5}$), $\alpha > \gamma$, confirming that capacity benefits outweigh noise. However, in low-SNR regimes, this inverts to $\gamma > \alpha$ (e.g., GSM8K at $\text{LR}=1\mathrm{e}{-4}$, where $0.475 > 0.321$). When perturbation gets larger, the model noise grows faster than the effective bandwidth. This empirical inversion aligns with the formation of the \`\`loss basins" observed in the contour plots: beyond a certain threshold, scaling $N$ becomes detrimental as it amplifies the noise.

#### Token Noise Always Wins in the Limit ($\delta > \beta$)

Conversely, token dynamics reveal a persistent trend where the noise exponent $\delta$ consistently exceeds the signal exponent $\beta$ across all scenarios, including pretraining. This implies that the U-shaped degradation along the token axis is intrinsic rather than merely perturbation-induced: given a sufficiently large budget $D$, accumulated noise ($D^\delta$) will inevitably overshadow information gain ($D^\beta$), leading to performance degradation. Our exponent analysis indicates that U-shaped degradation exists universally.

## Necessity of the $D\text{-}N$ Interaction Noise Term

```{=latex}
\begin{table*}[htbp]

\resizebox{\textwidth}{!}{%
\begin{tabular}{@{}c|l|cccccccc@{}}
\toprule
 \textbf{Gaussian Noise} &
  Method &
  Pretrain &
  40 dB &
  30 dB &
  20 dB &
  15 dB &
  12 dB &
  10 dB &
  Avg ± Std \\ \midrule
 \textbf{Pythia} &
  $c(DN)^\gamma$ &
  0.9915 &
  \cellcolor[HTML]{DAE8FC} \textbf{0.9895} &
  0.9882 &
  0.9672 &
  0.9442 &
  \cellcolor[HTML]{DAE8FC} \textbf{0.9234} &
  \cellcolor[HTML]{DAE8FC} \textbf{0.9555} &
  \cellcolor[HTML]{DAE8FC} \textbf{0.9656 ± 0.03} \\ \cmidrule(l){2-10}
 &
  $cN^\gamma$ &
  \cellcolor[HTML]{DAE8FC} \textbf{0.9926} &
  \cellcolor[HTML]{DAE8FC} \textbf{0.9895} &
  \cellcolor[HTML]{DAE8FC} \textbf{0.9896} &
  \cellcolor[HTML]{DAE8FC} \textbf{0.9726} &
  \cellcolor[HTML]{DAE8FC} \textbf{0.9472} &
  0.8908 &
  0.8035 &
  0.9408 ± 0.07 \\ \cmidrule(l){2-10}
 &
  Pareto Front &
  0.9921 &
  0.9891 &
  0.9820 &
  0.9671 &
  0.9417 &
  0.8759 &
  0.8322 &
  0.9400 ± 0.06 \\ \midrule
\textbf{OLMo2} &
  $c(DN)^\gamma$ &
  \cellcolor[HTML]{DAE8FC} \textbf{0.9889} &
  \cellcolor[HTML]{DAE8FC} \textbf{0.9830} &
  \cellcolor[HTML]{DAE8FC} \textbf{0.9907} &
  \cellcolor[HTML]{DAE8FC} \textbf{0.9908} &
  - &
  - &
  0.8695 &
  \cellcolor[HTML]{DAE8FC} \textbf{0.9646 ± 0.05} \\ \cmidrule(l){2-10}
 &
  $cN^\gamma$ &
  0.9879 &
  0.9776 &
  0.9896 &
  0.9903 &
  - &
  - &
  0.8695 &
  0.9630 ± 0.05 \\ \cmidrule(l){2-10}
 &
  Pareto Front &
  0.9833 &
  0.9535 &
  0.9851 &
  0.9904 &
  - &
  - &
  \cellcolor[HTML]{DAE8FC} \textbf{0.8708} &
  0.9566 ± 0.05 \\ \bottomrule
\end{tabular}%
}
\caption{Ablation analysis of the model-noise term. The significant gap at 10 dB validates the necessity of $c(DN)^\gamma$ over the size-only $cN^\gamma$ as the model noise term.}
\label{tab:modelnoise}
%
\end{table*}
```
`\autoref{tab:modelnoise}`{=latex} validates the design of the model-interaction noise term $c(DN)^\gamma$ by isolating the impact of the token budget $D$. While the full interaction term and the size-only ablation ($cN^\gamma$) are indistinguishable in high-SNR regimes (both achieving $R^2 \approx 0.99$ for Pythia at 40 dB), a sharp performance divergence emerges under heavy perturbation. Specifically, in the 10 dB scenario, the proposed $c(DN)^\gamma$ maintains robust alignment ($R^2=0.9555$), whereas the size-only baseline degrades significantly to $0.8035$. Crucially, this coupled formulation allows our method to significantly outperform the Baseline Pareto Front, which drops to $0.8322$ in the noise-dominated regime. These results empirically demonstrate that explicitly modeling the joint scaling dynamics of $D$ and $N$ is indispensable for capturing loss behaviors when noise dominates.

## Incorporating the Perturbation Factor $X$

Perturbation-aware laws [@ouyang2022training; @kumar2024scalinglawsprecision] explicitly include $X$ as a variable. To demonstrate the structural integrity of our framework, we generalize our law by integrating $X$ directly into the SNR term: $$C_{\text{ext}} = aN^{\alpha}\log_2 \left(1 + \frac{X\cdot bD^{\beta}}{c(DN)^{\gamma} + dD^{\delta} + e} \right)$$ Quantitative analysis across 6 SNR levels (consistent with `\autoref{tab:gaussian}`{=latex}) confirms that this extension preserves robust modeling capabilities, achieving an average $R^2$ of $0.9602 \pm 0.03$. This statistically matches the original implicit formulation ($0.9613 \pm 0.03$) while significantly outperforming the best competing baseline ($0.9272 \pm 0.06$). Notably, the explicit inclusion of $X$ enhances alignment in high-noise regimes: improving the fit from $0.9234$ to $0.9299$ at 12 dB, while maintaining identical precision at high SNRs ($0.9895$ at 40 dB). This result validates that our proposed denominator term correctly models the intrinsic noise floor. Here, $X$ acts as an extrinsic SNR modulator, requiring no additional fitting parameters. This formulation provides flexibility for scenarios where external noise levels are known.

# Conclusion

We propose the Shannon Scaling Law, a unified framework that reconceptualizes LLM training as information transmission, mapping parameters and tokens to channel bandwidth and signal power. Our analysis identifies a fundamental Shannon capacity, proving that scaling without maintaining sufficient SNR leads to the performance degradation observed in *catastrophic overtraining* and quantization, a phenomenon our model captures with superior fidelity compared to baselines. Crucially, the law also extrapolates $1.7\times$ beyond its fitting range: fitted on $\leq$`<!-- -->`{=html}6.9B Pythia models with $\leq$`<!-- -->`{=html}180B tokens, it predicts the unseen 12B model up to 307B tokens at pooled $R^2{=}0.847$, while monotonic baselines collapse. Ultimately, these findings advocate for a strategic shift from brute-force model expansion to prioritizing information density and SNR maximization.

```{=latex}
\clearpage
```
```{=latex}
\bibliographystyle{plainnat}
```
```{=latex}
\clearpage
```
```{=latex}
\beginappendix
```
# Appendix {#sec:appendix}

## Implementation Details

```{=latex}
\resizebox{0.8\textwidth}{!}{%
\begin{tabular}{@{}c|l|l@{}}
\toprule
\textbf{Model}                  & \textbf{Model Sizes $N$}                                                                                      & \textbf{Pretrain Tokens $D$}                                                                                                                                  \\ \midrule
Pythia Suite           & deduped-160m, deduped-410m, deduped-1b, deduped-2.8b, deduped-6.4b, deduped-12b & step: 2000, 6000, 10000, 14000, 20000,  24000, 29000, 36000, 43000, 57000,  71000, 86000, 98000, 120000, 130000, 140000        \\ \midrule
OLMo2 & OLMo-2-0425-1B, stage1                                                                                                    & 10000-21, 40000-84, 100000-210, 240000-504, 480000-1007, 880000-1846, 1170000-2454, 1450000-3041, 1800000-3775, 1907359-4001 \\ \cmidrule(l){2-3}
                       & OLMo-2-1124-7B, stage1                                                                                                    & 4000-17, 19000-80, 55000-231, 120000-504, 240000-1007, 441000-1850, 480000-2014, 584000-2450, 727000-3050, 928646-3896          \\ \cmidrule(l){2-3}
                       & OLMo-2-1124-13B, stage1                                                                                                   & 3000-26, 10000-84, 60000-504, 143000-1200, 220000-1846, 292000-2450, 363000-3046, 450000-3775, 540000-4530, 596000-5000         \\ \cmidrule(l){2-3}
                       & OLMo-2-0325-32B, stage1                                                                                                   & 10000-84, 60000-504, 220000-1846, 292000-2450, 363000-3046, 450000-3775, 540000-4530,  596000-5000, 660000-5537, 720000-6040     \\ \bottomrule
\end{tabular}%
}
```
```{=latex}
\renewcommand{\arraystretch}{1.5}
```
```{=latex}
\resizebox{0.7\textwidth}{!}{%
\begin{tabular}{@{}c|l|l@{}}
\toprule
\textbf{Task}
  & \textbf{Implementation}
  & \textbf{Parameters} \\ \midrule

SFT
  & trl.SFTTrainer, trl.SFTConfig
  & num\_train\_epochs=1, per\_device\_train\_batch\_size=64, per\_device\_eval\_batch\_size=64, gradient\_accumulation\_steps=1, optim="adamw\_torch", learning\_rate=lr, lr\_scheduler\_type="cosine", save\_strategy="steps", eval\_strategy="steps", eval\_steps=100, bf16=args.bf16, load\_best\_model\_at\_end=True, max\_length=1024, warmup\_ratio=0.1 \\ \midrule

Quantization (GPTQ)
  & \texttt{optimum.gptq.GPTQQuantizer}
  & \texttt{bit=[2, 3, 4]} \\ \midrule

Curve Fitting
  & \texttt{scipy.optimize.curve\_fit}
  & \texttt{Initialization=[1] or [0.1]} \\ \bottomrule
\end{tabular}%
}
```
## Gaussian noise over sizes

#### Superior Fit Compared to the Best Baseline over $N$

```{=latex}
\begin{figure*}[htbp]

    \includegraphics[width=\textwidth]{figs/allSNR_size_qid_shannon.pdf}

    \caption{Fitting performance comparison: Shannon Law (Solid) vs. QiD Baseline (Dashed). The plots illustrate loss trajectories across varying Gaussian noise levels (10--40\,dB) for fixed token budgets. While both laws align in high-SNR regimes (bottom curves), our Shannon Law demonstrates superior robustness in noise-dominated settings (top curves, e.g., 10\,dB), tightly tracking the U-shaped degradation where the QiD baseline systematically deviates.}
    \label{fig:allsnr}
\end{figure*}
```
`\autoref{fig:allsnr}`{=latex} visualizes the fitting performance of our Shannon Scaling Law compared to the strongest baseline, the Quantization-induced Degradation (QiD) law. It illustrates the scaling dynamics across the entire spectrum of noise levels (from 40 dB down to 10 dB) for fixed token budgets. The plots reveal a transition from the \`\`clean" regime (bottom rows), where scaling is monotonic, to the \`\`noisy" regime (top rows), where the U-shape dominates. Our law consistently outperforms the QiD law, validating that the model noise term in our equation correctly scales with the intensity of perturbations. Under insufficient training regimes, where the model is trained with a limited number of tokens, internal noise becomes more pronounced. In these cases, our law achieves average $R^2$ scores of $0.87$ and $0.95$, significantly surpassing QiD's $0.75$ and $0.88$. In each subgraph, our law tightly fits the data points across all noise levels simultaneously. Conversely, even though the QiD law is perturbation-aware, it still collapses in low SNR scenarios.

## 3D plots of Gaussian Noise Perturbations

```{=latex}
\begin{figure*}[htbp]

    \includegraphics[width=0.9\textwidth]{figs/size_token_3d_qid_shannon_2.pdf}

    \caption{3D Loss Landscapes: ours (orange surface) vs. QiD law (blue wireframe). Our method demonstrates superior geometric flexibility, maintaining high fidelity ($R^2=0.9555$) even in the extreme 10 dB regime where the baseline ($R^2=0.8251$) fails to track the steep curvature of the data manifold.}
    \label{fig:gaussian_3d}
\end{figure*}
```
#### Visualizing Surface Alignment in Noise-Dominated Regimes.

`\autoref{fig:gaussian_3d}`{=latex} presents a 3D visualization of the fitted loss surfaces, comparing our Shannon Scaling Law (orange surface) against the QiD baseline (blue wireframe). In high-SNR regimes (40 dB and 30 dB), both models exhibit high fidelity, with the blue wireframe and orange surface nearly overlapping, reflecting the effectiveness of both perturbation-aware law formulations. However, a critical divergence emerges as the SNR degrades. In the noise-dominated regimes of 12 dB and 10 dB, the empirical loss landscape exhibits a sharp, non-linear escalation at the boundaries (high $N$ and $D$), forming a steep \`\`wall" of degradation.

Visual inspection reveals that the QiD law fails to accommodate this intense curvature. The blue wireframe becomes rigid and effectively detaches from the data manifold, significantly underestimating the loss values in the high-noise regions. In contrast, our Shannon formulation demonstrates superior geometric flexibility. The orange surface tightly adheres to the data points, accurately tracking the steep vertical ascent of the loss trajectory. This visual evidence aligns with the quantitative metrics, where our method maintains a high $R^2$ of $0.954$ at 10 dB, whereas the QiD law falters at $0.817$.

```{=latex}
\newpage
```
## SFT as Perturbation: Contour plots of all learning rates {#sec:appendix_sft}

```{=latex}
\begin{figure*}[htbp]

    \includegraphics[width=\textwidth]{figs/contour_plots_sft_gsm8k_8plots_3.pdf}

    \caption{Evolution of Pythia loss contours on GSM8K under SFT with varying learning rates (8 values). As the learning rate increases, corresponding to stronger optimization noise, the loss landscape transitions from a smooth monotonic regime to a noise-dominated basin. In this regime, increasing model size ($N$) or training tokens ($D$) fails to improve performance, illustrating the breakdown of conventional scaling under extreme perturbations.}
    \label{fig:contour_gsm8k_8plots}
\end{figure*}
```
```{=latex}
\begin{figure*}[htbp]

    \includegraphics[width=\textwidth]{figs/contour_plots_sft_siqa_8plots_3.pdf}

    \caption{Evolution of Pythia loss contours on SiQA under SFT with varying learning rates (8 values). As the learning rate increases, corresponding to stronger optimization noise, the loss landscape transitions from a smooth monotonic regime to a noise-dominated basin. In this regime, increasing model size ($N$) or training tokens ($D$) fails to improve performance, illustrating the breakdown of conventional scaling under extreme perturbations.}
    \label{fig:contour_siqa_8plots}
\end{figure*}
```
```{=latex}
\begin{figure*}[htbp]

    \includegraphics[width=\textwidth]{figs/contour_plots_sft_starcoder_8plots_3.pdf}

    \caption{Evolution of Pythia loss contours on StarCoder under SFT with varying learning rates (8 values). As the learning rate increases, corresponding to stronger optimization noise, the loss landscape transitions from a smooth monotonic regime to a noise-dominated basin. In this regime, increasing model size ($N$) or training tokens ($D$) fails to improve performance, illustrating the breakdown of conventional scaling under extreme perturbations.}
    \label{fig:contour_starcoder_8plots}
\end{figure*}
```
#### Emergence of U-shaped Curves and Loss Basins under SFT Perturbation.

`\autoref{fig:contour_gsm8k_8plots}`{=latex}, `\autoref{fig:contour_siqa_8plots}`{=latex} and `\autoref{fig:contour_starcoder_8plots}`{=latex} visualizes the evolution of loss landscapes for GSM8K, SiQA, and StarCoder as the learning rate (LR) increases from $1\mathrm{e}{-5}$ to $1\mathrm{e}{-3}$. Each set of 8 contour plots reveals a fundamental transition in scaling dynamics under SFT perturbation.

In the low-LR regime, the landscapes exhibit traditional monotonic scaling, where increasing model size ($N$) or token budget ($D$) consistently reduces loss. However, as the LR intensifies, the monotonicity breaks, and a distinct \`\`loss basin" emerges in the center (e.g. at $\text{LR}=2\mathrm{e}{-4}$ of GSM8K, $\text{LR}=1\mathrm{e}{-4}$ of SiQA and at $\text{LR}=3\mathrm{e}{-4}$ of StarCoder). This basin represents a closed region of optimal performance surrounded by degradation, confirming the emergence of U-shaped curves along both axes:

-   **Along the Model Size ($N$):** For a fixed token budget, scaling up the model size initially reduces loss but eventually leads to degradation. It is visible as the color shifting back to yellow at the top of the plots. This validates our hypothesis that excessively large models contain more model noise.

-   **Along the Token Number ($D$):** Similarly, for a fixed model size, increasing training tokens beyond the optimal point incurs a penalty, likely due to the accumulation of noise during extended training steps.

At the highest LR, the system undergoes catastrophic collapse. The low-loss basin vanishes, replaced by high loss values across both $N$ and $D$ dimensions. This universal pattern is observed consistently across GSM8K, SiQA, and StarCoder. It strongly validates our Shannon Scaling Law: the noise term in the denominator eventually dominates the capacity term, no matter with larger $N$ or large $D$.

## SFT as Perturbation: GSM8K, SiQA and StarCoder.

```{=latex}
\begin{table*}[htbp]

\resizebox{\textwidth}{!}{%
\begin{tabular}{@{}c|ccccccccc@{}}
\toprule
GSM8K &
  $R^2$ \\ \midrule
L(N, D) &
  LR=1e-5 &
  LR=3e-5 &
  LR=6e-5 &
  LR=1e-4 &
  LR=2e-4 &
  LR=3e-4 &
  LR=6e-4 &
  LR=1e-3 &
  Avg ± Std \\ \midrule
$\frac{1}{aN^{\alpha}\log_2 \left(1 + \frac{bD^{\beta}}{c(DN)^{\gamma} + dD^{\delta} + e} \right)}$ &
  \cellcolor[HTML]{DAE8FC}\textbf{0.9856} &
  0.9809 &
  0.9704 &
  \cellcolor[HTML]{DAE8FC}\textbf{0.9010} &
  \cellcolor[HTML]{DAE8FC}\textbf{0.8736} &
  \cellcolor[HTML]{DAE8FC}\textbf{0.9494} &
  \cellcolor[HTML]{DAE8FC}\textbf{0.9504} &
  \cellcolor[HTML]{DAE8FC}\textbf{0.8778} &
  \cellcolor[HTML]{DAE8FC}\textbf{0.9361 ± 0.05} \\ \midrule
$\left[ \left( \frac{a}{N} \right)^{\frac{\alpha}{\beta}} + \frac{b}{D} \right]^{\beta}$ &
  0.9625 &
  0.9412 &
  0.8472 &
  0.4660 &
  0.0000 &
  -8.9821 &
  -0.5793 &
  -0.8414 &
  -0.8982 ± 3.34 \\ \midrule
$\frac{a}{N^\alpha}+\frac{b}{D^\beta} + c$ &
  0.9363 &
  0.9110 &
  0.8134 &
  0.4771 &
  0.0195 &
  0.0054 &
  0.0000 &
  0.0057 &
  0.3961 ± 0.44 \\ \midrule
$\frac{a}{N^\alpha}+\frac{b}{D^\beta} + c + d\frac{D^{\beta'}}{N^{\alpha'}}$ &
  0.7976 &
  \cellcolor[HTML]{DAE8FC}\textbf{0.9857} &
  \cellcolor[HTML]{DAE8FC}\textbf{0.9748} &
  0.8855 &
  0.3975 &
  0.3649 &
  0.2366 &
  0.1005 &
  0.5929 ± 0.36 \\ \midrule
$a\frac{N^\alpha}{D^\beta} + b\frac{D^\beta}{N^\alpha} + c$ &
  0.9702 &
  0.9536 &
  0.8922 &
  0.6843 &
  0.6590 &
  0.7105 &
  0.8020 &
  0.7716 &
  0.8054 ± 0.12 \\ \midrule
$a\frac{N^\alpha}{D^\beta} + b\frac{D^{\beta'}}{N^{\alpha'}} + c$ &
  0.9779 &
  0.9656 &
  0.9332 &
  0.8191 &
  0.8036 &
  0.9249 &
  0.9438 &
  \cellcolor[HTML]{DAE8FC}\textbf{0.8778} &
  0.9057 ± 0.07 \\ \bottomrule
\end{tabular}%
}
\caption{Goodness-of-fit ($R^2$) comparison on GSM8K under varying SFT learning rates (8 values). The Shannon Law remains robust across the U-shaped loss landscape.}
\label{tab:sftgsm8k}
\end{table*}
```
```{=latex}
\begin{table*}[htbp]

\resizebox{\textwidth}{!}{%
\begin{tabular}{@{}c|ccccccccc@{}}
\toprule
SiQA &
  Pythia \\ \midrule
L(N, D) / L(N, D, X) &
  LR=1e-5 &
  LR=3e-5 &
  LR=6e-5 &
  LR=1e-4 &
  LR=2e-4 &
  LR=3e-4 &
  LR=6e-4 &
  LR=1e-3 &
  Avg ± Std \\ \midrule
$\frac{1}{aN^{\alpha}\log_2 \left(1 + \frac{bD^{\beta}}{c(DN)^{\gamma} + dD^{\delta} + e} \right)}$ &
  \cellcolor[HTML]{DAE8FC}\textbf{0.9865} &
  \cellcolor[HTML]{DAE8FC}\textbf{0.9784} &
  \cellcolor[HTML]{DAE8FC}\textbf{0.9240} &
  \cellcolor[HTML]{DAE8FC}\textbf{0.8305} &
  \cellcolor[HTML]{DAE8FC}\textbf{0.9198} &
  \cellcolor[HTML]{DAE8FC}\textbf{0.9300} &
  \cellcolor[HTML]{DAE8FC}\textbf{0.9205} &
  \cellcolor[HTML]{DAE8FC}\textbf{0.9120} &
  \cellcolor[HTML]{DAE8FC}\textbf{0.9252 ± 0.05} \\ \midrule
$\left[ \left( \frac{a}{N} \right)^{\frac{\alpha}{\beta}} + \frac{b}{D} \right]^{\beta}$ &
  0.9562 &
  0.9059 &
  0.5799 &
  0.0000 &
  0.0000 &
  -0.4779 &
  -0.8789 &
  -1.9634 &
  -0.1098 ± 0.99 \\ \midrule
$\frac{a}{N^\alpha}+\frac{b}{D^\beta} + c$ &
  0.9283 &
  0.8832 &
  0.5795 &
  0.1667 &
  0.0136 &
  0.0061 &
  0.0072 &
  0.0122 &
  0.3246 ± 0.41 \\ \midrule
$\frac{a}{N^\alpha}+\frac{b}{D^\beta} + c + d\frac{D^{\beta'}X^{\gamma}}{N^{\alpha'}}$ &
  0.9294 &
  0.8723 &
  0.6484 &
  0.3791 &
  0.4877 &
  0.3717 &
  0.4270 &
  0.2896 &
  0.5507 ± 0.24 \\ \midrule
$\frac{a}{N^\alpha}+\frac{b}{D^\beta} + c + d\frac{D^{\beta'}e^{\gamma X}}{N^{\alpha'}}$ &
  0.9853 &
  0.9670 &
  0.8679 &
  0.7476 &
  0.4877 &
  0.3655 &
  0.2226 &
  0.2757 &
  0.6149 ± 0.31 \\ \midrule
$a\frac{N^\alpha}{D^\beta} + b\frac{D^\beta}{N^\alpha} + c$ &
  0.9645 &
  0.9278 &
  0.7347 &
  0.6634 &
  0.6827 &
  0.6530 &
  0.7569 &
  0.7477 &
  0.7663 ± 0.12 \\ \midrule
$a\frac{N^\alpha}{D^\beta} + b\frac{D^{\beta'}}{N^{\alpha'}} + c$ &
  0.9743 &
  0.9503 &
  0.8382 &
  0.7583 &
  0.8856 &
  0.9218 &
  0.9203 &
  0.9094 &
  0.8948 ± 0.07 \\ \bottomrule
\end{tabular}%
}
\caption{Goodness-of-fit ($R^2$) comparison on SiQA under varying SFT learning rates (8 values). The Shannon Law remains robust across the U-shaped loss landscape.}
\label{tab:sftsiqa}
\end{table*}
```
```{=latex}
\begin{table*}[htbp]

\resizebox{\textwidth}{!}{%
\begin{tabular}{@{}c|ccccccccc@{}}
\toprule
StarCoder &
  Pythia \\ \midrule
L(N, D) / L(N, D, X) &
  LR=1e-5 &
  LR=3e-5 &
  LR=6e-5 &
  LR=1e-4 &
  LR=2e-4 &
  LR=3e-4 &
  LR=6e-4 &
  LR=1e-3 &
  Avg ± Std \\ \midrule
$\frac{1}{aN^{\alpha}\log_2 \left(1 + \frac{bD^{\beta}}{c(DN)^{\gamma} + dD^{\delta} + e} \right)}$ &
  0.9769 &
  0.9758 &
  \cellcolor[HTML]{DAE8FC}\textbf{0.9757} &
  \cellcolor[HTML]{DAE8FC}\textbf{0.9728} &
  0.9010 &
  0.6848 &
  \cellcolor[HTML]{DAE8FC}\textbf{0.8577} &
  \cellcolor[HTML]{DAE8FC}\textbf{0.8993} &
  \cellcolor[HTML]{DAE8FC}\textbf{0.9055 ± 0.10} \\ \midrule
$\left[ \left( \frac{a}{N} \right)^{\frac{\alpha}{\beta}} + \frac{b}{D} \right]^{\beta}$ &
  0.9564 &
  0.9525 &
  0.9417 &
  0.8806 &
  0.5070 &
  -0.0729 &
  -8.3358 &
  -0.5998 &
  -0.5963 ± 3.18 \\ \midrule
$\frac{a}{N^\alpha}+\frac{b}{D^\beta} + c$ &
  0.9283 &
  0.9191 &
  0.9026 &
  0.8318 &
  0.5071 &
  0.1131 &
  0.0020 &
  0.0000 &
  0.5255 ± 0.43 \\ \midrule
$\frac{a}{N^\alpha}+\frac{b}{D^\beta} + c + d\frac{D^{\beta'}X^{\gamma}}{N^{\alpha'}}$ &
  0.9287 &
  0.9196 &
  0.8987 &
  0.8443 &
  0.6046 &
  \cellcolor[HTML]{DAE8FC}\textbf{0.6961} &
  0.3842 &
  0.0072 &
  0.6604 ± 0.32 \\ \midrule
$\frac{a}{N^\alpha}+\frac{b}{D^\beta} + c + d\frac{D^{\beta'}e^{\gamma X}}{N^{\alpha'}}$ &
  \cellcolor[HTML]{DAE8FC}\textbf{0.9796} &
  \cellcolor[HTML]{DAE8FC}\textbf{0.9778} &
  0.9739 &
  0.9610 &
  \cellcolor[HTML]{DAE8FC}\textbf{0.9131} &
  0.6838 &
  0.3842 &
  0.1945 &
  0.7585 ± 0.31 \\ \midrule
$a\frac{N^\alpha}{D^\beta} + b\frac{D^\beta}{N^\alpha} + c$ &
  0.9628 &
  0.9587 &
  0.9498 &
  0.9042 &
  0.6766 &
  0.5026 &
  0.6413 &
  0.7976 &
  0.7992 ± 0.17 \\ \midrule
$a\frac{N^\alpha}{D^\beta} + b\frac{D^{\beta'}}{N^{\alpha'}} + c$ &
  0.9698 &
  0.9670 &
  0.9631 &
  0.9408 &
  0.8722 &
  0.6313 &
  0.8317 &
  0.8971 &
  0.8841 ± 0.11 \\ \bottomrule
\end{tabular}%
}
\caption{Goodness-of-fit ($R^2$) comparison on StarCoder under varying SFT learning rates (8 values). The Shannon Law remains robust across the U-shaped loss landscape.}
\label{tab:sftstarcoder}
\end{table*}
```
We further evaluate the generalize ability of our law on SiQA (Commonsense QA) and StarCoder (Code Generation), as detailed in `\autoref{tab:sftsiqa}`{=latex} and `\autoref{tab:sftstarcoder}`{=latex}. Consistent with the GSM8K results, our Shannon Scaling Law achieves the highest goodness-of-fit across both datasets, yielding average $R^2$ scores of $0.9252$ on SiQA and $0.9055$ on StarCoder. In contrast, the strongest competing baseline (Asymmetric Law, Row 7) lags behind with averages of $0.8948$ and $0.8841$, respectively. The robustness of our formulation is particularly evident in challenging regimes. For instance, on SiQA at $\text{LR}=1\mathrm{e}{-4}$, our law maintains a robust fit of $0.8305$, significantly outperforming the best baseline's $0.7583$. Furthermore, traditional power laws (Rows 2--3) exhibit catastrophic failure on these tasks, frequently yielding negative $R^2$ values (e.g., an average of $-0.1098$ and $-0.5998$ for OpenAI law on SiQA and StarCoder respectively), which empirically validates that these laws are incapable of modeling the complex dynamics under SFT which plays a role of perturbation.

## Robustness across Quantization Schemes

To confirm that the Shannon Law's advantage is not specific to GPTQ, we additionally evaluate three off-the-shelf post-training quantization schemes on Pythia: AWQ [@lin2024awqactivationawareweightquantization], bitsandbytes (bnb) [@dettmers2023qlora], and quanto [^2]. AWQ and bnb are evaluated at 4-bit, and quanto is pushed to a more aggressive 2-bit regime. As reported in `\autoref{tab:quant_schemes}`{=latex}, the pattern observed under GPTQ is reproduced consistently: at AWQ and bnb 4-bit, all perturbation-aware laws perform well, but under 2-bit quanto the monotonic power laws collapse (OpenAI: $0.013$, Chinchilla: $0.028$), while the Shannon Law retains $R^2 = 0.9031$, the highest among all baselines, surpassing both QiD Law and Law of Precision. The choice of methods reflects compatibility with the Pythia architecture rather than cherry-picking.

```{=latex}
\resizebox{0.65\textwidth}{!}{%
\begin{tabular}{@{}l|ccc@{}}
\toprule
\textbf{Method} & AWQ 4-bit & bnb 4-bit & quanto 2-bit \\ \midrule
Shannon (Ours)        & \cellcolor[HTML]{DAE8FC}\textbf{0.9935} & 0.9881 & \cellcolor[HTML]{DAE8FC}\textbf{0.9031} \\
Shannon-Simpl (Ours)   & 0.9837 & 0.9768 & 0.8454 \\ \midrule
Chinchilla            & 0.9574 & 0.9542 & 0.0276 \\
OpenAI                & 0.9764 & 0.9679 & 0.0131 \\
QiD Law               & 0.9855 & 0.9860 & 0.8931 \\
Law of Precision      & 0.9855 & 0.9860 & 0.8932 \\
Symmetric Law         & 0.9866 & 0.9867 & 0.8531 \\
Asymmetric Law        & 0.9913 & \cellcolor[HTML]{DAE8FC}\textbf{0.9936} & 0.8636 \\ \bottomrule
\end{tabular}%
}
```

[^1]: <https://web.stanford.edu/~jurafsky/slp3/slides/6_Spell.pdf>

[^2]: <https://github.com/huggingface/optimum-quanto>
