What matters in AI.

Subscribe

Attack finds a full transformer block with queries only

The attack uses only 0.26 to 0.47 queries for each parameter on blocks with more than 1 million parameters.

Researchers show the first end to end attack that finds the hidden parameters of a full transformer block from input and output queries only. A transformer block is the repeating unit of a language model. The transformer blocks in the test have more than 1 million parameters, 256 token dimensions and 8 heads. The error stays near the rounding limit of each number format.

How it works

The attack only sends inputs and reads outputs. It has 4 steps:

  • It finds the value map of the attention part.
  • It extracts the feed forward network.
  • It finds all attention heads.
  • It refines the full transformer block in one step.

The numbers

The attack uses 0.26 to 0.47 queries for each parameter. The error is below 0.01 in all 4 number formats. One pipeline works for all 4 number formats.

What is not known

The test is on one transformer block, not a full model. The source gives no test on a production model and no defense. It does not tell how many transformer blocks a full attack must find.

Insight: Query access can leak weights, and weights face other attacks

Before this, a study found a hidden network in the weights of a model, and audits could not find it. Another study changed weights in GPU memory with no file change. It reads as if model weights face attacks from 3 sides: copy by queries, change in memory and hidden networks. Monitor tests of the query attack on full models.

Sources

  1. Cryptanalytic Extraction on a Single Full Transformer Block with Arbitrary Precisionarxiv.org
AI MATTER · NEWS · AI MATTER · NEWS ·1 DEC2026

Posted

Tags

Learn the terms in this story

Guides for this story

More in Security

All Security news