Skip to main content
LLM Security Database
Skip to research details
Back to research findings
LMVD-ID: 81594649
Paper published February 1, 2026
Entry analyzed February 21, 2026
Paper-reported evidence
Confidence: Source-linked

The LMVD-ID is an internal research identifier, not an official CVE identifier.

Noisy Data Pretraining Divergence

A data poisoning vulnerability exists in the pretraining pipeline of Transformer-based Large Language Models (LLMs) where the injection of synthetic uniform random noise into the training corpus induces irreversible…

BibTeX citation

Paper-evaluated models

No paper-evaluated models are recorded for this entry.

Description

A data poisoning vulnerability exists in the pretraining pipeline of Transformer-based Large Language Models (LLMs) where the injection of synthetic uniform random noise into the training corpus induces irreversible training loss divergence or performance degradation. This instability is mechanistically distinct from divergence caused by high learning rates. The vulnerability is specifically triggered by "insertion noise" (inserting random tokens between clean tokens) drawn from a restricted noise vocabulary (e.g., a small subset of $\le$ 5 unique tokens repeated frequently) rather than the full tokenizer vocabulary. The probability of divergence scales with the noise ratio, model size, and specifically model depth, affecting both Dense and Mixture-of-Experts (MoE) architectures.

Examples

To reproduce the divergence in a standard decoder-only transformer (e.g., Llama 3 architecture, 540M+ parameters):

  1. Define Noise Vocabulary ($V_N$): Select a small subset of the tokenizer vocabulary, for example, the first 5 tokens: V_N = {token_id_0, token_id_1, token_id_2, token_id_3, token_id_4}.
  2. Inject Noise via Insertion: Iterate through a clean document. For a target noise ratio $\alpha$ (e.g., $\alpha = 0.55$), sample insertion positions and inject a token $n_i \sim \text{Uniform}(V_N)$ between clean tokens.
  • Clean Sequence: [The, quick, brown, fox]
  • Poisoned Sequence: [The, <token_1>, quick, <token_4>, brown, <token_1>, fox]
  1. Training: Train the model using standard auto-regressive next-token prediction.
  2. Observation: The training loss will exhibit a spike and fail to recover (diverge), typically when the maximum attention logit exceeds $\sim1800$.

Impact

  • Availability: Causes total failure of the pretraining run (loss divergence), resulting in wasted computational resources (GPU hours) and financial loss.
  • Integrity: If the model does not fully diverge, it suffers from significant performance degradation on clean data benchmarks compared to models trained on clean corpora.

Affected Systems

  • Decoder-only Transformer models (e.g., Llama 3 family architectures).
  • Model identity note: The paper trains controlled architectures from 480M to 5.2B parameters rather than evaluating released Llama checkpoints, so affectedModels is intentionally empty.
  • Dense models and Mixture-of-Experts (MoE) models (specifically dropless MoEs with top-2 routing).
  • Susceptibility begins at small scales (480M parameters) and increases significantly with model depth (e.g., 35-layer models).

Mitigation Steps

  • Data Cleaning: Filter training corpora to identify and remove sequences containing high-frequency, low-entropy uniform random noise or unusual concentrations of a restricted token set.
  • Architecture Modification (QK-LayerNorm): Implement Query-Key Layer Normalization (applying LayerNorm to query and key vectors before the attention mechanism). This reduces maximum attention logits and stabilizes training against noise-induced divergence, even at high noise ratios (up to 70%).
  • Telemetry Monitoring: Monitor maximum attention logits during training. A persistent value exceeding $\sim1800$ (but below the high-LR threshold of $\sim4000$) indicates instability driven by data noise.

Research context and confidence

Evidence and verification
Paper-reported; independent reproduction is not documented.
Primary research source linked.
Severity
Not rated by this catalog.
Source and publication type
arXiv · Research preprint.
Peer-review status is not provided by this source.
Author and publication status
Author metadata is not stored; see the primary paper.
Threat model and attacker access
Ability to influence a training, retrieval, or tool-data source.
Related deployment categories
No related deployment category is classified.
Taxonomy labels only; paper-specific deployment prerequisites are not inferred.
Affected systems
Decoder-only Transformer models (e.g., Llama 3 family architectures). Model identity note: The paper trains controlled architectures from 480M to 5.2B parameters rather than evaluating released Llama checkpoints, so…

Research Paper

An Empirical Study on Noisy Data and LLM Pretraining Loss Divergence

Primary source: arXiv. Findings are reported by the cited research and have not been independently verified.

View Paper

Evidence

This entry is based on a primary research source. Its findings are paper-reported; independent reproduction and verification are not claimed.

https://arxiv.org/abs/2602.02400