# Log probabilities alone can recover LoRA adapter weights, GPT-2 experiment shows

> A paper posted to arXiv on Dec. 2 says LoRA adapter weights can be recovered at the parameter level using only the next-token log probabilities returned by an API.

- **Publisher**: New Web Media
- **Section**: AI
- **Published**: Dec 3, 2026, 02:51 KST (2026-12-02T17:51:30.884Z)
- **Updated**: 2026-12-02T17:58:35.922Z
- **Credit**: Edited by Seung Kim
- **Canonical URL**: https://newweb.media/en/a/261203-7g5dnm
- **Markdown URL**: https://newweb.media/en/a/261203-7g5dnm.md
- **Korean Original**: https://newweb.media/a/261203-7g5dnm

## Why it matters
- A fine-tuned adapter, the only proprietary asset in a deployed model, could be recovered from nothing more than the output of a standard inference interface.

## By the numbers
| Metric | Value | Change |
| --- | --- | --- |
| Prompts used for recovery (GPT-2 small) | 5,000 | — |
| Adapter structure tested | Rank 1 | — |

## Key details
The researchers claim they can recover an adapter parameter by parameter, rather than merely imitating it. All that is needed are the next-token log probabilities returned by the inference interface, prompts made of ordinary tokens and the publicly available base model. The key to the attack is making prompts very short so that only one free weight remains per attention head. Each response then becomes a linear equation in the adapter.

## Context
Targeting a rank-1 adapter trained on text for GPT-2 small, the researchers recovered the query and value updates in every layer using 5,000 prompts. Research targeting components added through fine-tuning continues, including papers NWM reported earlier on backdoors at the fine-tuning stage and on removing capabilities from open-weight models.

## Key terms
- **LoRA adapter**: A lightweight fine-tuning module that keeps the base model's weights frozen and trains only low-rank matrices that are added on top.
- **Log probability**: The logarithm of the probability that a model picks each word as the next token.

## Primary Sources
- [arXiv new AI papers](https://arxiv.org/abs/2612.00549)

---
Tags: LoRA, model security, fine-tuning, arXiv
