← Lab /AI/ML

Poison rows in tabular foundation model contexts flip majority of predictions

Inserting mislabeled copies of a target row into the in-context data can cause TFMs to misclassify the target row in most cases

AI/ML arXiv 20 Nov 2026 Attack Maturity unclear Threat model

Published as “Targeted In-Context Poisoning of Tabular Foundation Models: An Empirical Study”

Why it matters

Operators of tabular foundation models must enforce strict access control, per-prediction traceability, and runtime validation of the context to prevent immediate, reversible prediction-time poisoning.

Summary

A single poison row flips the majority of target predictions in tabular foundation models, averaging 53 % for TabICL and 65 % for TabPFN, and three poison rows flip almost all predictions. The effect is due to the wrong label, as control rows with the correct label rarely flip any predictions. The attack is statistically significant (p < 0.001) across 30 OpenML datasets and does not degrade overall model performance. Trained models are also vulnerable, with random forests flipping nearly all targets, CatBoost about half, and logistic regression almost none. The paper demonstrates internal mechanisms (embedding rotation in TabICL, weight redistribution in TabPFN) and proposes access-control, traceability, and validation as mitigations.

What they found 5

  1. A single poison row flips the majority of attacked target rows in both TFMs (53 % TabICL, 65 % TabPFN).

    “A single poison row already flips the majority of the attacked target rows in both TFMs, on average 53 % for TabICL and 65 % for TabPFN.”

  2. Three poison rows flip almost all target predictions.

    “and three poison rows flip almost all.”

  3. Poison rows flip significantly more predictions than control rows (p < 0.001).

    “The test confirms this: in both TFMs and at every budget, poison rows flip statistically significantly more predictions than control rows (research questions (1a) and (1b), p < 0.001, Table E2).”

  4. In TabICL, flipped targets have embedding closer to the wrong-class centroid (m > 1) with statistical significance.

    “flipped target rows have m > 1 with statistical significance, so they lie closer to the centroid μF of the wrong class (p < 0.001).”

  5. In TabPFN, a single poison row receives on average only 31 % of the vote weight, less than the 50 % needed to flip alone.

    “For flipped target rows, a single poison row receives significantly less than half of the weight, on average 31 %.”

Caveats 4

  • A single poison row alone does not obtain a majority of the vote in TabPFN (only 31 % weight), so flipping relies on genuine rows of the wrong class.
  • Target rows that hold even with five poison rows usually have a genuine duplicate with the true label in the context.
  • Control rows with the correct label can correct many wrong predictions (79 % correction for TabICL, 84 % for TabPFN).
  • Logistic regression trained on the poisoned context flips almost none of the attacked targets (1.8 %).

What’s new here 4

  • Demonstrates targeted in-context poisoning of tabular foundation models using exact duplicate rows with wrong labels.
  • Shows that the attack works at prediction time without retraining, a timing aspect not explored in prior work.
  • Provides an empirical analysis of internal model behavior (embedding rotation and attention weight shifts) under poisoning.
  • Proposes a detection/validation mechanism and operational safeguards specific to the context of TFMs.

Threat model stated by the source

Adversaryattacker with write/overwrite access to the source that populates the model's context
Capabilitycan replace up to five context rows with exact copies of a target row bearing an arbitrary label before prediction
Assumesfeatures of the target row are known to the attacker; no knowledge of model weights is required; poison rows reach the context before the query is processed