跳到正文
研踪PaperTrail
← 研踪 PaperTrail

arXiv:2612.00549 · v1

Recovering LoRA Adapter Weights from Log-Probabilities

首次提交 2026-12-01 07:32
版本更新 2026-12-01 07:32
雷达观测 2026-12-02 23:12
arXiv ↗PDF ↗

摘要

Fine-tuning a public base model with a low-rank adapter is the standard way to build a deployed language model, and the adapter is then the only proprietary part of the deployment. We show that it can be recovered at the parameter level, not merely imitated, from the next-token log-probabilities a standard inference interface returns, using nothing but prompts of ordinary tokens and the public base. The attack rests on prompts so short that each attention head has a single free weight, which turns every response into linear equations in the adapter. On GPT-2 small with rank-one adapters trained on text, five thousand prompts recover every layer's query and value increments to a relative error of 10^-8, and the clones are indistinguishable from their victims to double-precision rounding. The same procedure recovers rank-four and rank-eight adapters and carries over to Llama-3.2-1B. The number of prompts needed is bounded below by the model dimension, and the bound is tight. Returning only the 20 or 5 largest log-probabilities does not prevent recovery once longer prompts are used. What binds is the victim's arithmetic: under bf16 the recovered parameters stay 10-20% from the truth, yet the clone behaves within ten percent of the victim's own redeployment noise, on a real serving stack as in simulation. The protection an interface offers is set by its precision, truncation and noise, not by the size of the increment.

AI 论文解读

基于摘要 · 非全文审阅

此版本尚未生成 AI 解读。解读由后台任务生成并按论文版本保存,登录后共享已有结果。

版本差异

目前只收录了一个版本。收录下一版后,可以对照标题、作者、分类和摘要。

观测到的版本

相邻记录可能跳过中间版本;首次发现 v2 及以上也会标为版本更新。

v1 · 2026-12-01 07:32 · 最新观测版本

Recovering LoRA Adapter Weights from Log-Probabilities

Fine-tuning a public base model with a low-rank adapter is the standard way to build a deployed language model, and the adapter is then the only proprietary part of the deployment. We show that it can be recovered at the parameter level, not merely imitated, from the next-token log-probabilities a standard inference interface returns, using nothing but prompts of ordinary tokens and the public base. The attack rests on prompts so short that each attention head has a single free weight, which turns every response into linear equations in the adapter. On GPT-2 small with rank-one adapters trained on text, five thousand prompts recover every layer's query and value increments to a relative error of 10^-8, and the clones are indistinguishable from their victims to double-precision rounding. The same procedure recovers rank-four and rank-eight adapters and carries over to Llama-3.2-1B. The number of prompts needed is bounded below by the model dimension, and the bound is tight. Returning only the 20 or 5 largest log-probabilities does not prevent recovery once longer prompts are used. What binds is the victim's arithmetic: under bf16 the recovered parameters stay 10-20% from the truth, yet the clone behaves within ten percent of the victim's own redeployment noise, on a real serving stack as in simulation. The protection an interface offers is set by its precision, truncation and noise, not by the size of the increment.

查看此版本解读 →查看此版本原文 ↗