Researchers show language-model adapters can be recovered from log-probabilities

1 source2 comments

A study found that next-token scores from an inference interface can reveal proprietary LoRA weights. The researchers tested the method on GPT-2 small and Llama-3.2-1B.

Researchers say they recovered low-rank adaptation (LoRA) weights—the components used to customise a public language model—from next-token log-probabilities returned by a standard inference interface. Their method uses ordinary-token prompts and a public copy of the base model to turn the responses into equations for the adapter weights.

In tests on GPT-2 small, 5,000 prompts recovered rank-one query and value adapter increments with a relative parameter error of 10^-8. The researchers also report recovery of rank-four and rank-eight adapters, and tests on Llama-3.2-1B. Limiting responses to the 20 or five highest-probability tokens did not prevent recovery when they used longer prompts.

With bf16 arithmetic, recovered parameters were 10–20% from the originals, but the resulting model behaved within 10% of the original model’s own redeployment noise. The paper says the risk depends on the interface’s precision, output truncation and noise.