Locking Pretrained Weights via Deep Low-Rank Residual Distillation
Keitaro Sakamoto, Pierre Ablin, Federico Danieli, marco cuturi
NeurIPS 2026
Abstract. The quality of open-weight language models has dramatically improved in recent years. Sharing weights greatly facilitates model adoption by enabling their use across diverse hardware and software platforms. They also allow for more open research and testing, to the extent that users can use them as checkpoints, fine-tune them according to their needs, and potentially redistribute them. In some cases, however, concerns on modifying these weights towards unauthorized uses may outweigh the pros of giving users such a freedom. Defending against such adaptation is non-trivial: since an adaptive attacker can observe all weights and architectures by definition, they can reverse simple structural defenses, and use optimization to defeat the simplest locking mechanisms. In this work, we exploit the inference–training asymmetry of automatic differentiation as a novel defense axis. We propose DLR-Lock, a method where the purveyor of the model purposely replaces each pretrained MLP in their model with a deep low-rank residual network (DLR-Net) of comparable parameter count, forcing activation memory that grows linearly with depth during backpropagation. DLR-Nets are efficiently trained via module-wise distillation. We show that, beyond this memory overhead, DLR-Lock results in architectural mismatches that complicate the optimization landscape of standard fine-tuning, and a backward pass that incurs disproportionately more overhead than the forward pass. Our defense succeeds in withstanding adaptive attackers with full knowledge of the defense strategy while preserving the original model's capabilities. Experiments on LLM validate these claims.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:48 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
Final Meta-Review After the rebuttal and discussion, this submission has received final reviews of three "borderline accept". Two reviewers increased their ratings by two levels after an extended discussion with the authors. Although being "borderline accept". Given my final justification, I recommend this submission to be "accepted".
Initial Meta-Review -> Heading Toward Rejection
The submission received three reviews. One "borderline accept", two "rejects". The paper proposes a creative defense based on inference–training asymmetry: replacing transformer MLPs with deep low-rank residual networks that are comparatively expensive to differentiate. The direction is original and timely, but the current evaluation does not establish model locking under the paper’s own adaptive threat model.
The decisive issues are:
-
The strongest adaptive bypass is not evaluated: The locking factor is defined using the cheapest strategy available to an attacker, yet experiments primarily measure conventional end-to-end fine-tuning. In particular, the paper acknowledges that an attacker can reverse-distill the DLR-Nets into ordinary MLPs, but does not quantify this attack. Please compare the GPU-hour cost of reverse module distillation followed by standard fine-tuning against adapting the original model. Selective module replacement, freezing, and alternative PEFT placements should also be considered. Without this, the claim of withstanding adaptive attackers is unsupported.
-
Utility preservation is incomplete: After logits distillation, several benchmark scores remain approximately 2–5 points below the pretrained model, despite the stated requirement of preserving general capabilities. Inference overhead is also substantial at common sequence lengths and operating points. Please report a clear trade-off between locking strength, downstream utility, and inference latency, and narrow the “without quality loss” claim if necessary.
-
The measured locking factor and scaling evidence are insufficient: Full locking and adaptation experiments are limited to Qwen3-0.6B and one language-model fine-tuning task. The theoretical amplification result assumes naive training and equal sample efficiency, whereas the experiments use checkpointing and show substantial optimization instability. Please define the practical cost metric consistently: wall-clock time, GPU-hours, or FLOPs plus report the minimum cost required to reach matched downstream performance under the strongest tested attack.
The objection that locking conflicts with the purpose of open weights is not, by itself, a reason for rejection: weights may still support local inference, inspection, and auditing. The central problem is instead that the paper currently demonstrates resistance to particular fine-tuning recipes, not adaptation-cost amplification against an adaptive attacker. Addressing this would likely require substantial additional experiments rather than clarification alone.
Final justification
My final justification is based on my initial review, the rebuttal, and the discussion among the authors and reviewers. In particular, reviewer aaHJ and reviewer amfQ, who had an extended discussion with the authors, changed my recommendation. This discussion, additional results, and clarifications led the reviewers to raise their ratings. And although reviewer amfQ, increased his/her rating while lowering his/her confidence at the same time, reviewer aaHJ convinced me by mentioning that "...rebuttal and subsequent discussion substantially changed his/her assessment..." concluding him/her to "the rebuttal resolved my primary concern sufficiently for the reasons to accept to outweigh the remaining limitations".
Read meta-review
Meta-review
Final Meta-Review After the rebuttal and discussion, this submission has received final reviews of three "borderline accept". Two reviewers increased their ratings by two levels after an extended discussion with the authors. Although being "borderline accept". Given my final justification, I recommend this submission to be "accepted".
Initial Meta-Review -> Heading Toward Rejection
The submission received three reviews. One "borderline accept", two "rejects". The paper proposes a creative defense based on inference–training asymmetry: replacing transformer MLPs with deep low-rank residual networks that are comparatively expensive to differentiate. The direction is original and timely, but the current evaluation does not establish model locking under the paper’s own adaptive threat model.
The decisive issues are:
-
The strongest adaptive bypass is not evaluated: The locking factor is defined using the cheapest strategy available to an attacker, yet experiments primarily measure conventional end-to-end fine-tuning. In particular, the paper acknowledges that an attacker can reverse-distill the DLR-Nets into ordinary MLPs, but does not quantify this attack. Please compare the GPU-hour cost of reverse module distillation followed by standard fine-tuning against adapting the original model. Selective module replacement, freezing, and alternative PEFT placements should also be considered. Without this, the claim of withstanding adaptive attackers is unsupported.
-
Utility preservation is incomplete: After logits distillation, several benchmark scores remain approximately 2–5 points below the pretrained model, despite the stated requirement of preserving general capabilities. Inference overhead is also substantial at common sequence lengths and operating points. Please report a clear trade-off between locking strength, downstream utility, and inference latency, and narrow the “without quality loss” claim if necessary.
-
The measured locking factor and scaling evidence are insufficient: Full locking and adaptation experiments are limited to Qwen3-0.6B and one language-model fine-tuning task. The theoretical amplification result assumes naive training and equal sample efficiency, whereas the experiments use checkpointing and show substantial optimization instability. Please define the practical cost metric consistently: wall-clock time, GPU-hours, or FLOPs plus report the minimum cost required to reach matched downstream performance under the strongest tested attack.
The objection that locking conflicts with the purpose of open weights is not, by itself, a reason for rejection: weights may still support local inference, inspection, and auditing. The central problem is instead that the paper currently demonstrates resistance to particular fine-tuning recipes, not adaptation-cost amplification against an adaptive attacker. Addressing this would likely require substantial additional experiments rather than clarification alone.
Final justification
My final justification is based on my initial review, the rebuttal, and the discussion among the authors and reviewers. In particular, reviewer aaHJ and reviewer amfQ, who had an extended discussion with the authors, changed my recommendation. This discussion, additional results, and clarifications led the reviewers to raise their ratings. And although reviewer amfQ, increased his/her rating while lowering his/her confidence at the same time, reviewer aaHJ convinced me by mentioning that "...rebuttal and subsequent discussion substantially changed his/her assessment..." concluding him/her to "the rebuttal resolved my primary concern sufficiently for the reasons to accept to outweigh the remaining limitations".
1 comment
- Rating
- 4/6
- Confidence
- 2/5
- Quality
- 2/4
- Clarity
- 3/4
- Significance
- 1/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper proposes DLR-lock. It is a method for making fine-tuning challenging for open-weight pretrained transformer-based models while preserving the inference cost. The authors replace MLP in a transformer block with a DLR-Net. DLR-Net requires higher memory for activation in backpropagation. They distill the MLP into the DLR-Net with a two-stage training strategy: module-wise distillation then end-to-end logits distillation.
The authors conduct experiments on Qwen3 models. The empirical results show that the locked model makes fine-tuning slower. The locked model can also reach competitive perplexity and benchmark (e.g. reasoning, QA) accuracy.
Strengths and weaknesses
Strengths:
- The idea of applying inference-training asymmetry to protect the open-weight models is interesting.
- The two-phase distillation is intuitive and well-motivated. The comparison between module-wise distillation alone and module-wise + end-to-end logits distillation is convincing.
Weaknesses:
- The motivation of this paper is weak. If a model provider wants to release open weights, then making fine-tuning expensive undermines the purposes of open-weight. Why do you need to release the weights if you make it difficult for users to adapt and improve them? Why don't you just turn to cryptographic solutions?
- The paper presents interesting experiments but the architectural ablation is insufficient. The paper only motivates DLR-Net with intuition. But the authors fail to systematically compare DLR-Net architecture against more other possible locking architectures. Important variants like residual, different norms, activations, or non-DLR alternatives, are not carefully tested.
- The attack evaluation is insufficient. The paper discusses adaptive attacks like reverse module-wise distillation but does not fully test them.
Questions
See weaknesses.
- If the goal is to release open weights, why making fine-tuning difficult for all users?
- If the model provider does not want users to modify the model, why not release an encrypted or compiled inference-only package/executive program?
- Can attackers with rich compute resources easily bypass your locking method? Is "cost amplification" a valid defense?
- Why is DLR-Net your choice of locking? The theoretical analysis for asymmetry in the appendix is weak and cannot support the specific architecture design. Conceptual motivation cannot support your choice in implementation. We need stronger theoretical guarantee or systematic empirical ablations here.
- Why is the key metric for defense strength, out of wall-lock time, FLOPS, GPU-hours, memory usage, training stability, or loss?
Limitations
See weaknesses.
Final justification
Unfortunately, I am still unconvinced by the research question and motivation.
I have increased the rating and lowered my reviewer confidence score.
Formatting concerns
None.
9 comments
Rebuttal
Thank you for the constructive comments. We address each point below, with a clarified Introduction and new experiments on the architecture ablation and reverse distillation. We would be glad to discuss further during the discussion period.
Q1: If the goal is to release open weights, why making fine-tuning difficult for all users?
Fine-tunability is only one of the values the abstract lists for open weights (L2-5), alongside portability, reuse as checkpoints, and inspectability, and our replacement constrains only that one, so in our reading the objection reduces open weights to a single property. We already state the cost to benign users plainly, since the mechanism is domain-agnostic (L48-51), and what makes it worth paying is that licenses carry "no technical enforcement" (L27-28), leaving a provider only the binary choice between fully open weights and API-only access. We have updated the Introduction to make the four values and the scope of the constraint explicit. The setting is also of independent scientific interest: whether two networks representing the same function can differ substantially in their trainability is a non-trivial question.
Q2: If the model provider does not want users to modify the model, why not release an encrypted or compiled inference-only package/executive program?
Because whatever is needed to run the model must be handed to the user: a key can be reused to recover the weights, and a compiled binary must hold them in plaintext at inference time. Both also sacrifice the inspectability open weights provide. More fundamentally, they last only while the secret does, whereas our protection is structural and holds even when the defense is fully disclosed (Assumption 2.2, L87-89).
Q3: Can attackers with rich compute resources easily bypass your locking method? Is "cost amplification" a valid defense?
Yes, cost amplification is a valid defense. It is not a shortcoming of the formulation but a property of the problem setting itself: any locking method can be broken by distillation given the original architecture and enough compute, which is built explicitly into our threat model (Assumption 2.2(iii), , L86, L89-92). Cost amplification is therefore not a claim that adaptation is rendered impossible, but a definition that makes adaptation costly for an attacker whose budget falls below that of pretraining. In this sense the answer to your first question is yes: no defense can, in principle, hold against an attacker with truly unlimited compute. But this is an upper bound shared by every locking method, not a weakness specific to DLR-Lock.
Under compute budgets that are meaningful in practice, every attack we have examined remains costly. On reverse distillation we ran an actual experiment: it needed - the FLOPs of one direct fine-tune of the locked model and still failed to recover the quality the attacker already holds (numbers in our reply to Reviewer aaHJ). We also ran the LoRA attack, adapters on the attention projections with the base weights and the DLR-Nets frozen, sweeping the rate above the full-fine-tuning range. Comparing the best reachable eval loss:
| arm | best reachable loss |
|---|---|
| unlocked baseline | |
| DLR-Lock, full fine-tuning | |
| DLR-Lock, LoRA on attention |
LoRA lands above full fine-tuning of the locked model, which is itself above the baseline, and sweeping the rate does not close the gap: across from to the optimum runs , , , , , improving and then turning up. Without gradient checkpointing every LoRA run runs out of memory, since freezing the DLR-Nets does not shed their stored activations. Selective replacement interpolates between those two extremes with no advantageous middle point, and a custom kernel accelerates the forward but not the backward, which must read each layer's activations back (L318-321); we treat both at more length in our reply to Reviewer Hkd7, Q2.
Q4: Why is DLR-Net your choice of locking? The theoretical analysis for asymmetry in the appendix is weak and cannot support the specific architecture design. Conceptual motivation cannot support your choice in implementation. We need stronger theoretical guarantee or systematic empirical ablations here.
DLR-Net is not an intuition: its shape is forced by what the defense requires, and the choices left open were settled by ablation. Depth is what raises activation memory, while utility preservation caps parameter count and inference cost, and together these force low rank, fix the depth from the budget, and set the activation and the ReZero initialization to match the module being locked (L175-186). Proposition 3.1 is not the part of the argument that selects the block form: it bounds under a named attack (L189-193), that is, what depth and rank cost the attacker. Which residual block realizes that depth is an empirical question, and it is the one the ablation below answers.
On ablations your criticism is correct, none is in the submission. The design was originally fixed on a synthetic sweep over architecture, residual scaling, normalization, initialization and learning rate, where the dominant factor was the placement of the nonlinearity, relative MSE for against for , and scaling and initialization were second-order at -. Since that used a synthetic teacher, we have now repeated the comparison in the actual Phase-1 setting, distilling layer 14 of Qwen3-0.6B at a matched parameter budget:
| variant | relative MSE |
|---|---|
| ours, | |
| nonlinearity outside the low-rank map, | |
| RMSNorm removed | |
| residual connection removed |
The residual connection is load-bearing, the placement of the nonlinearity costs , and an identity activation costs , so none of these is a free choice; the ordering is unchanged at a late layer. Removing RMSNorm costs only , so we have softened the claim that it is "essential for stable training at " (L186): the reason to keep it is that its backward needs the full -dimensional input, which is what forces activations even when the attacker freezes every DLR-Net parameter (L564-568), and removing it is precisely what would let an attacker escape that term. A low-rank SwiGLU alternative needs three matrices per layer, so at a fixed budget it buys two thirds the depth, which is what carries the locking strength. This ablation is now an appendix section.
On approximation capability, expressivity grows with depth and Table 1 reports what is achieved at equal parameter count, with a domain mismatch since Qwen3's pretraining data is unknown; where provider and defender coincide ARC-Easy moves at B rather than , and tripling the Phase-2 budget takes WikiText perplexity from to (our reply to Reviewer Hkd7, Q4).
Q5: Why is the key metric for defense strength, out of wall-lock time, FLOPS, GPU-hours, memory usage, training stability, or loss?
GPU-hours, because that is what the attacker actually pays. Definition 2.3 lists wall-clock time, FLOPs and GPU-hours together for generality (L104), and we accept that offering three units without choosing one is the source of the confusion; the revision standardizes on GPU-hours, consistent with the argument in Proposition 3.1, and since our arms use the same number and type of GPUs the wall-clock ratios we report are GPU-hour ratios. The other quantities are not competing metrics but the channels through which the cost arises: memory caps the batch size or forces recomputation (L218-225), that recomputation raises FLOPs, and instability raises the iterations needed to reach a target. We report them separately only to show which mechanism contributes what. GPU-hours also handles the case where the locked model needs more devices, which a wall-clock comparison alone would credit to the attacker. Our reply to Reviewer Hkd7, Q3 sets out how the attacker's search over these axes enters the minimum in equation 2.
I am not convinced by your response to Q1. Reducing open weights to a single property does not make any sense or being valuable to serious ML developers. Yes, licenses carry "no technical enforcement". But your approach is not giving any strict technical enforcement as well, based on your answers to my Q3. You only introduced extra compute budget, which is not a guaranteed protection at all, comparing to theoretically supported methods like differential privacy, etc.
We will leverage your comments to better position the paper.
Many thanks for taking the time to read our rebuttal.
A misunderstanding worth clearing up. We wrote: "Fine-tunability is only one of the values the abstract lists for open weights (L2-5) [...] and our replacement constrains only that one, so in our reading the objection reduces open weights to a single property."
In that sentence, the subject of "reduces" is the (i.e. your) objection in Q1, which implied that releasing open weights can only be valuable if the model can be fine-tuned (Q1: If the goal is to release open weights, why making fine-tuning difficult for all users?).
Your reply, "Reducing open weights to a single property does not make any sense," claims that reduction is ours — the reverse of our claim, since we enumerate four values beyond fine-tuning and constrain only one.
"Constrain" is also not "remove": fine-tuning still works, though at substantially higher compute cost and to a lower final quality, while the weights continue to support local inference, inspection, auditing, and transfer across compute platforms, devices and quantization settings. Your Q2 proposed an encrypted or compiled inference-only package: that removes fine-tunability entirely and forfeits all four of the other properties. A locked release keeps everything your own alternative keeps, and strictly more.
On enforcement and DP. We agree no strict enforcement exists: by Assumption 2.2(iii) an attacker with C_attack ≳ C_pretrain can distill afresh, since distillation costs O(C_pretrain) [Busbridge et al., arXiv:2502.08606]. We think DP is unrelated to the problem we target: it bounds what an adversary infers about a training record from outputs; no (ε,δ) statement constrains the cost of adapting released weights. We would add that DP is not an absolute either, but a point on a Pareto frontier of the same kind as ours: its guarantee is bought with accuracy loss and compute overhead, ε has no principled choice [Hsu et al., arXiv:1402.3329], and at deployed values the formal bound is far looser than any realizable adversary [Nasr et al., arXiv:2101.04535] — "settings that provide limited accuracy loss provide meaningless privacy guarantees, and settings that provide strong privacy guarantees result in useless models" [Jayaraman & Evans, USENIX Security 2019]. We report curves over the locking/utility/latency trade-off for exactly this reason, rather than a single κ.
In our opinion, the question is thus zero guarantee versus measurable protection, not absolute versus not. Licenses give zero. We give 25-30× per optimizer step, ≈10.5× as a floor, and reverse distillation, the cheapest bypass we identified, costs 33-1193 GPU-hours against 10.3 for a direct fine-tune while still ending below the quality the attacker began with (perplexity 16.10-16.61 vs 14.9).
Note that this framing is standard in the model locking literature: Qi et al. [ICLR 2025, arXiv:2412.07097] frame durable safeguards as "raising adversaries' costs even under strong threat models where adversaries can directly fine-tune model weights", as do TAR [Tamirisa et al., ICLR 2025], Deep Ignorance [O'Brien et al., ICLR 2026], SOPHON [IEEE S&P 2024] and Self-Destructing Models [Henderson et al., AIES 2023]. Notably, Qi et al., the most prominent critique of durable safeguards, explicitly sets our setting aside rather than refuting it: "some defenses might increase costs to adversaries on average, and could be valuable in some way, but still do not provide any worst case security improvement. We do not address this setting." Outside ML, imposing compute cost on an adversary is routine and its security claim is a work factor rather than an impossibility: bcrypt, scrypt and Argon2 (RFC 9106) exist for no other purpose, and Blocki et al. [IEEE S&P 2018] argue security there precisely as "MHFs substantially increase guessing costs [so] a rational attacker will give up".
On value to serious ML developers. We respectfully disagree, and point to how the community has organized around exactly these questions. NeurIPS 2025 hosted the 1st Lock-LLM: Prevent Unauthorized Knowledge Use from LLMs workshop (keynotes Kolter, Song). Of its five topics, Un-Distillable, Un-Finetunable ("resisting malicious parameter updates: gradient-blocking mechanisms, non-differentiable components"), Un-Compressible, Un-Editable, Un-Usable, the second is our exact problem. Two of its organizers wrote Wang et al. [2026b], among the closest works we compare against.
We are grateful for your comments and for this exchange. Model locking is a young area, and the questions you raised are ones many readers will arrive with. We recognize our introduction should have done a better job of pre-empting some of your questions, and we will fix it. To be clear about the scope of these suggested revisions: they only concern positioning and not technical content. The core of our proposal (method, threat model, experimental setup) remains unchanged.
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 2/4
- Originality
- 2/4
- Contribution type
- concept_feasibility
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
DLR-LOCK replaces the original MLP blocks with significantly deeper modules to make fine-tuning unstable. Rather than training these expanded modules from scratch, it initializes them through module-wise distillation, transferring the behavior of the original MLPs into the deeper architecture. The overall goal is to preserve inference performance while making downstream adaptation substantially more difficult. The problem addressed by the paper—protecting open-weight models through technical mechanisms rather than legal restrictions such as licensing—is important, and the proposed direction is meaningfully different from prior defense approaches. Nevertheless, several key questions remain unresolved.
Strengths and weaknesses
Strengths
Paper is timely and practically important. Protecting open-weight models against unauthorized adaptation is an increasingly relevant challenge, and DLR-LOCK proposes a defense strategy that is conceptually distinct from existing approaches. The central idea of preserving inference capability while selectively increasing the difficulty of fine-tuning is intuitive, and the overall motivation and technical narrative are coherent.
Weaknesses
-
It is unclear whether the primary effect comes from increasing optimization cost or simply making fine-tuning unstable. The paper argues that DLR-LOCK increases the computational cost of adaptation, but it is not obvious that a single fine-tuning step becomes substantially more expensive in practice. Instead, the dominant effect appears to be that the modified modules become highly brittle, causing performance to degrade rapidly once fine-tuning begins. However, achieving such brittleness itself requires learning these trainable modules. This seems to raise the same dual-axis concern that the paper uses to criticize previous optimization-based defenses: if the defender can optimize a learnable module to achieve the desired behavior, an attacker with access to the same gradients may also be able to optimize against it. In other words, once the defense relies on trainable parameters, it is not clear why the optimization process is fundamentally asymmetric between the defender and the attacker.
-
The claim of preserving model quality requires stronger empirical evidence. The paper claims that model quality is preserved, yet the locked model still experiences performance degradation after fine-tuning. Moreover, while the evaluation loss appears to saturate after lock, no numbers are provided and only loss curve in fig.4 are provided. What happens if we fine-tune the locked model? furthermore, it seems logit distillation and feature distillation can enable fine tuning. This is because locking setup itself requires training this nested layer features work.
-
Reverse distillation appears to be a potentially inexpensive bypass. The most significant concern is whether the proposed defense can be circumvented through reverse distillation. Since DLR-LOCK constructs the deeper modules by distilling the original MLPs into an expanded architecture, an attacker could potentially perform the reverse operation: distill the locked model back into a simpler architecture resembling the original MLP structure. If such reverse distillation is significantly cheaper than directly fine-tuning the locked architecture, the attacker could simply recover a standard model and then perform conventional fine-tuning. In this scenario, the attacker bypasses the locked structure entirely rather than overcoming it directly.
Questions
-
Could the authors clarify whether DLR-Lock primarily increases the computational cost of each fine-tuning step, or whether its main effect is to make optimization unstable? Please provide quantitative measurements of forward-pass and backward-pass time, peak memory usage, and total fine-tuning cost relative to the original model.
-
Given that the defender can train the DLR-Net through module-wise distillation, why can an adaptive attacker with full access to the model parameters and gradients not similarly optimize the locked model or train an alternative module to bypass the defense? Please clarify the source of the claimed optimization asymmetry between the defender and the attacker.
-
What happens when the locked model is fine-tuned using standard parameter-efficient or full-parameter fine-tuning methods? Please report numerical downstream performance, training loss, and validation loss rather than only the loss curves in Figure 4.
-
Have the authors evaluated whether logit distillation, feature distillation, or layer-wise distillation can be used by an attacker to recover a trainable model from the locked model?
-
Can DLR-Lock be bypassed through reverse distillation, where the locked model is distilled into a shallower architecture resembling the original MLP blocks? Please compare the computational cost and resulting model quality of such an attack with the cost of directly fine-tuning the locked architecture.
Limitations
yes
Final justification
The rebuttal and subsequent discussion substantially changed my assessment. In particular, the authors clarified that the defense does not make recovery impossible, but instead raises the computational cost of obtaining a reusable and trainable shallow checkpoint. The additional reverse-distillation experiments provide reasonable evidence that, under the evaluated budgets, recovery is meaningfully more difficult than ordinary distillation and does not immediately restore the original model quality. I therefore no longer view reverse distillation as an obvious inexpensive bypass.
Some reservations remain. I am not fully convinced by the comparison against pretraining cost, since an attacker may have access to stronger public pretraining corpora and more effective distillation procedures. Moreover, the existence of the original shallow model means that a high-quality shallow solution does exist, so the current results demonstrate increased finite-budget difficulty rather than an inherent representational barrier. I still suspect that reverse distillation should be substantially cheaper than training the original model from scratch, even if DLR-LOCK makes it more expensive than ordinary recovery. Also, the remaining empirical concern is scale. The paper demonstrates near-complete fidelity preservation and increased recovery cost primarily on a 0.6B-parameter model, which is far smaller than practically relevant modern LLMs. It remains uncertain whether both properties can be maintained simultaneously as model size increases. There are also broader open questions regarding the practical value of preventing fine-tuning, the realism of the assumed attacker and defender costs, and whether the current evaluation is sufficiently comprehensive for the strongest versions of the paper’s claims.
Nevertheless, I find the central concept novel and interesting. The authors provide meaningful empirical evidence that the proposed architectural transformation can preserve inference utility while increasing the cost and difficulty of subsequent adaptation and recovery. Given that technical mechanisms for restricting adaptation of open-weight models are still an early research direction, I view this paper as a valuable starting point even though it does not yet establish a complete, scalable, or universally robust defense.
Overall, the rebuttal resolved my primary concern sufficiently for the reasons to accept to outweigh the remaining limitations. I therefore revise my score from Reject to Borderline Accept.
Formatting concerns
there is no concern
8 comments
Rebuttal
Thank you for the comments, and for judging the problem timely and the direction distinct. Every concern you raise is now answered by a measurement, and two of them, as we read the review, rest on a misunderstanding we clarify below. New content is in bold.
Q1: Could the authors clarify whether DLR-Lock primarily increases the computational cost of each fine-tuning step, or whether its main effect is to make optimization unstable? Please provide quantitative measurements of forward-pass and backward-pass time, peak memory usage, and total fine-tuning cost relative to the original model.
and, from the weaknesses:
it is not obvious that a single fine-tuning step becomes substantially more expensive in practice
Both effects are present and act independently, and on the quoted point the per-step cost is not a small factor: one full update takes longer for the locked model. Locking arises through three channels: activation memory, the difficulty of optimizing the backward pass, and instability from the mismatch; only the last depends on the weights, and Q2 covers it. The submission decomposes the step but not in absolute terms (L300-306), so we measured it at the Figure 4 shape; the locked model needs gradient checkpointing, the baseline does not, and deployed means reduce-overhead compilation for the baseline and our new custom kernel for the locked model:
| forward, eager | forward, deployed | training overhead | peak memory | |
|---|---|---|---|---|
| baseline | ms | ms | ms | GB |
| locked | ms | ms | ms | OOM GB with checkpointing |
| ratio | NA |
The deployed column is the asymmetry in one line: the forward gap closes to once we optimize it, so legitimate users barely pay for depth, while the training gap stays at -. On memory the locked model does not fit at all without checkpointing, whereas the baseline runs unchecked at GB, so the GB is not a saving but the price of forced recomputation, which adds .
The optimization effect involves no compute time at all: at the loss the locked model reaches after M tokens is reached by the baseline at roughly M, about more data for the same quality. With the per token this gives as a lower bound, while Figure 4's eager wall-clock ratio of min min is an upper bound, since it also carries the forward slowdown. The forward optimizes because the hidden state stays on chip; the backward must read every layer's activations back, and we ship no backward kernel, so writing one is part of the attacker's cost. This discussion is now in Section 4.4.
Q2: Given that the defender can train the DLR-Net through module-wise distillation, why can an adaptive attacker with full access to the model parameters and gradients not similarly optimize the locked model or train an alternative module to bypass the defense? Please clarify the source of the claimed optimization asymmetry between the defender and the attacker.
and, from the weaknesses:
However, achieving such brittleness itself requires learning these trainable modules. This seems to raise the same dual-axis concern that the paper uses to criticize previous optimization-based defenses
The premise does not hold: we never optimize for brittleness. Our two phases minimize distillation error against the original function (L200-203); what we criticize is a defender who "must itself rely on optimization" to find a solution that resists it (L146-147). Locking is architectural, "a structural property of automatic differentiation" that "does not depend on finding particular weights" (L166-168).
The asymmetry is that the two parties solve different problems (L169-173). The defender trains each DLR-Net independently toward a known target, whereas the attacker must adapt a parameter set carrying the mismatch, with three options, each costly: update everything, where the mismatch takes effect (Figure 4); update a subset such as LoRA, where attainable performance is limited (Q3); or invert what the defender did, which we pay once and amortize while the attacker pays it per adaptation (Q5). A new depth-rank experiment isolates the cause: at fixed parameter count the plateau is flat in from down to , so the instability comes from replacing a pretrained model's MLPs post hoc, not from depth.
Q3: What happens when the locked model is fine-tuned using standard parameter-efficient or full-parameter fine-tuning methods? Please report numerical downstream performance, training loss, and validation loss rather than only the loss curves in Figure 4.
Full-parameter fine-tuning is the primary setting, reported in Section 4.4 (L285-299), but you are right that it appears only as curves. At the Figure 4 setting the best reachable eval loss is:
| arm | best reachable loss |
|---|---|
| unlocked baseline | |
| DLR-Lock, full fine-tuning | |
| DLR-Lock, LoRA on attention |
We have added a table of final train and validation loss and GPU-hours to the baseline's performance at each rate. PEFT opens no way through: L231-235 argues LoRA cannot shorten the backward pass, and its optimum sits above full fine-tuning of the locked model, no rate closes the gap, and without checkpointing every run exhausts memory. On SST-2, where a task metric is meaningful, the locked model reaches the same accuracy but takes , and longer to reach at B, B and B. We have also added Alpaca, OpenMathReasoning and StarCoder, and Qwen3 at B and B, where the locked model reaches the baseline's final loss at none of the four rates.
Q4: Have the authors evaluated whether logit distillation, feature distillation, or layer-wise distillation can be used by an attacker to recover a trainable model from the locked model?
and, from the weaknesses:
it seems logit distillation and feature distillation can enable fine tuning. This is because locking setup itself requires training this nested layer features work
Yes, and we have measured them: the three objectives you name are our own pipeline run in reverse, the layer-wise or feature objective being the module-wise regression and logit distillation the top- KL, so the attacker can run them, as L236-239 anticipates. That we can train the DLR-Nets does not make the inverse cheap, because the two parties pay on different schedules: we pay once and amortize over every deployment, the attacker pays again per model, before any adaptation has happened. Q5 gives the cost and the quality reached.
Q5: Can DLR-Lock be bypassed through reverse distillation [...] Please compare the computational cost and resulting model quality of such an attack with the cost of directly fine-tuning the locked architecture.
Not within the budgets we studied: it costs more than the attack it replaces and ends at a worse model. The attacker's goal is not downstream performance alone, since they choose the locked model for general performance unavailable elsewhere, so recovery has to restore that. We ran it at a fixed -step budget split three ways between module-wise regression and top- KL, within of each other in FLOPs:
| split (regression, KL) | |||
|---|---|---|---|
| Nemotron perplexity |
None reaches the both the original and the locked model already have (Table 1), so no allocation favours the attacker. Recovery needs - the FLOPs of one direct fine-tune of the locked model, and GPU-hours at the cheapest allocation to at the dearest, against for that direct fine-tune. Fine-tuning onward from the recovered checkpoint takes the WikiText loss from to and at M and M tokens, short of the baseline's and of the from directly fine-tuning the locked model, so the gap at step is not closed by fine-tuning. A further asymmetry: we can lock on our own pretraining corpus while the attacker cannot.
Q6, from the weaknesses: The paper claims that model quality is preserved, yet the locked model still experiences performance degradation after fine-tuning.
The two conditions of Definition 2.3 are evaluated at different times, and the degradation you describe is the second holding rather than the first failing. Condition (i) concerns the published model before any fine-tuning, which Table 1 measures (L102); condition (ii) requires adaptation to cost more, which Section 4.4 measures (L103). A locked model sitting below the baseline under an equal fine-tuning budget is the defense working as defined. We have added cross-references to Definition 2.3 in both sections. If the concern is quality before fine-tuning, both causes of the Table 1 gap are adjustable: tripling the Phase-2 budget takes WikiText perplexity from to , matching the pretrained model, and locking on the pretraining corpus rather than a substitute narrows the downstream gap, with ARC-Easy at instead of .
Thank you for the additional experiments. However, I do not yet consider the reverse-distillation concern resolved.
- I do not understand the claimed amortization asymmetry. Locking is a one-time cost per source checkpoint, but reverse distillation is likewise a one-time cost per locked checkpoint. Once an attacker recovers a conventional shallow checkpoint, that checkpoint can be reused across arbitrary downstream adaptations and deployments. The response alternately states that the attacker pays “per adaptation” and “per model,” but these are materially different. In the present threat model, the relevant comparison appears to be the defender’s one-time locking cost versus the attacker’s one-time recovery cost for the same checkpoint, together with their respective amortized costs over multiple downstream tasks. Also, there is a case where defender who continually updates the base model . In this case, the depender should pay same cost.
2.the computational arguments given for direct fine-tuning do not appear to explain why reverse distillation should be expensive. In reverse module-wise distillation, the DLR module can remain a frozen, forward-only teacher, while only a conventional shallow MLP student is optimized. The same applies to the global logit-correction stage: the locked model can provide teacher logits using forward passes only, while backward propagation is performed through the reconstructed shallow model. Thus, the costly DLR backward pass, DLR activation checkpointing, and instability of optimizing the DLR parameters should not apply to this attack. I am not convinced that the attacker cannot perform reverse distillation. If the attacker follows same procedure, is cost is far favorable. As shallow distill modules are stable, and cheap to backpropagate.
Thanks for your great questions.
Those are great, sharp critiques. They helped us frame the paper better, thanks! We answer both points.
On amortization, you are right (with one caveat), and our wording was inconsistent. "Per adaptation" (Q2) was wrong, and we withdraw it; L236-239 needs the same correction. Taken on its own, recovery would indeed be one-time per locked checkpoint rather than per task, and the checkpoint could indeed be redistributed. The neighbouring claim at L213-215, that the defender pays only once, stands. You are also right on continual updates: a provider releasing often pays per checkpoint.
The caveat is this. To serve as a general starting point for any downstream task, a recovered checkpoint must be close to its pretraining state, which needs data of pretraining breadth; a narrow-corpus recovery is faithful only where it was fitted. Where the provider is also the defender and locks on its own mixture, the attacker cannot match that distribution, so general reuse is limited.
On the cost structure you are right, and that is already our measurement. Reverse distillation needs no backward pass through the DLR-Nets: teacher forward only, shallow student. None of our three locking channels applies to it (L285-299, L300-306, L218-225), and we will clarify this. It is exactly our (0, 200k) allocation, the cheapest of the three at 33 GPU-hours and still only Nemotron PPL 16.61.
Our claim remains that at that budget, recovery does not work.
- Nemotron PPL 16.10, against the 14.9 both the original and the locked model already hold (Table 1).
- Fine-tuning onward from the recovered checkpoint reaches 2.63, against 2.499 for directly fine-tuning the locked model and 2.337 for the baseline.
- The attacker pays for recovery and ends worse off than if they had skipped it.
On execution modes: the 33 GPU-h is compiled and the 10.3 eager, the latter deliberately so as to isolate the optimization effect; matching modes either way only widens the ratio.
In our view the main factor explaining that failure is that the two distillations are not inverses, which is central to our proposal. Phase 1 (L204-207) maps a known SwiGLU into a more expressive class, since depth is L = P/(2dr + c_norm) at fixed budget P(L177-186). Phase 2(L208-212) then adjusts all DLR-Nets jointly to correct error we already highlight: "compound[ing] across the full forward pass". Each module therefore no longer computes the MLP it replaced: it computes a drifted function, pinned only by a full-model logit objective. The attacker must fit that drifted module back into a strictly less expressive shallow class, and nothing guarantees it lies there. A frozen teacher and a cheap student cannot close a gap of that kind, because the obstacle is representational rather than computational. Concretely, the asymmetry is one of initialization: our Phase 1 regresses against known MLPs and hands Phase 2 a good start. We newly swept the two phases of DLR-Lock: the zero-regression corner is Pareto-dominated at every FLOPs budget, substantiating L214-215. The same holds in reverse, even granting that the attacker's Phase 2 needs no gradient checkpointing, so they too would want to begin there. But their targets are the drifted modules above, so an equally good start is not available to them. They are left closing the gap with the full-model objective. This sharpens the "architectural mismatch" of L43-45 and L171-173, which the submission applies to fine-tuning instability rather than recovery; we will lean more on this argument.
We also emphasize that this setup was the most adversarial for us (*): the attacker distilled on Nemotron, the very corpus we locked on (L242-243), so neither a coverage deficit nor a distribution mismatch explains that PPL gap. Giving a narrower/OOD corpus to the attacker is a natural ablation (**) that would favor the defender further, and the more likely scenario in practice; we will prepare it.
In summary:
| Attacker budget and data | Strategy | Outcome |
|---|---|---|
C_attack ≳ C_pretrain, any web-scale corpus |
logit-distill a fresh model | no defense possible (Assumption 2.2(iii), L86-92; out of scope) |
| above 200k steps, but still below pretraining scale | reverse distillation | currently running; we will report the recovery cost |
| 200k steps, matches defender locking corpus (*) | reverse distillation | PPL 16.10 vs 14.9 (Table 1); onward FT 2.63 vs 2.499 |
| 200k steps, narrow/OOD corpus (**) | reverse distillation | not yet run; expected to favor the defender |
| budget lower than defender pretrain/lock, task data only | skip recovery, fine-tune the locked model | 25-30× per step, ≈10.5× floor, diverges above 1e-4 |
(*) attacker holds our own locking corpus. (**) not yet run.
On scope: one budget, one corpus, at 0.6B. We do not claim recovery fails at an arbitrarily large budget; Assumption 2.2(iii) already concedes that regime, and we will state the bound more clearly in the paper.
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper proposes DLR-LOCK, a method for making open-weight pretrained language models harder to fine-tune while preserving their inference behavior. The core idea is to replace each pretrained SwiGLU MLP block with a deep low-rank residual network that approximates the original block through module-wise distillation, followed by logits distillation to recover full-model quality. The resulting architecture exploits the asymmetry between inference and training: inference can discard intermediate activations, while backpropagation through the deep replacement modules requires substantially more activation memory and backward computation. The paper formalizes model locking as adaptation cost amplification, discusses limitations of prior symmetry-, barrier-, and penalty-based methods, and evaluates the approach on Qwen3-0.6B with latency and fine-tuning experiments.
Strengths and weaknesses
Strengths
- The paper proposes a creative and technically interesting defense axis: increasing fine-tuning cost through inference-training asymmetry rather than relying on secrecy or simple weight-space transformations.
- The empirical evaluation is reasonably comprehensive for an initial study, covering quality preservation, inference overhead, fine-tuning resistance, gradient checkpointing, compilation effects, and several adaptive attack considerations.
Weaknesses
- The main experimental validation is still limited to Qwen3-0.6B for the full locking and fine-tuning experiments, so it is unclear how well the defense scales to larger models and more diverse downstream adaptation tasks.
- The locked model does not fully preserve downstream benchmark quality: several accuracy metrics remain below the pretrained model even after logits distillation.
- The attack evaluation is useful but incomplete; stronger adaptive attacks such as reverse distillation, partial architecture recovery, custom backward kernels, selective module replacement, or more extensive PEFT strategies should be tested more directly.
Questions
- Is it possible to provide full locking and fine-tuning experiments on larger models, not only forward-overhead measurements? Even a 1.5B or 7B full experiment would clarify whether the method scales beyond Qwen3-0.6B.
- Can the authors evaluate stronger adaptive attacks, especially reverse distillation from DLR-Net back to standard MLPs, custom backward kernels, selective replacement of only some locked modules, and LoRA/PEFT variants placed at different points in the architecture?
- How should the locking factor be measured in a realistic setting where attackers can trade off wall-clock time, GPU memory, sequence length, batch size, gradient checkpointing, quantization, and number of GPUs?
- It would be better to quantify the utility loss after locking? Some downstream metrics remain several points below the pretrained model, so it would help to discuss whether this is acceptable and how much more distillation is needed.
Limitations
See the weaknesses and questions sections.
Formatting concerns
No concerns.
1 comment
Rebuttal
Thank you for the constructive review, and for naming the attacks you wanted tested: reverse distillation, backward kernels, selective replacement and LoRA are now measured rather than argued, and the locking and fine-tuning experiments run at three scales. New content is in bold.
Q1: Is it possible to provide full locking and fine-tuning experiments on larger models, not only forward-overhead measurements? Even a 1.5B or 7B full experiment would clarify whether the method scales beyond Qwen3-0.6B.
Yes. We newly ran locking quality and fine-tuning resistance for Qwen3 at B and B, repeating the Figure 4 protocol at all four rates with three seeds: at neither scale does the locked model reach the baseline's loss within the budget, and at each model's best rate the gap is at B and at B against at B, so it does not shrink with scale. We also ran the same experiments on B, B and B models we pretrained ourselves on Nemotron-CC, which reflects the deployment setting where the provider and the defender are the same party: since Qwen3's pretraining data is not public we otherwise have to lock on a different corpus, whereas here the two coincide and quality is measured without domain mismatch. Fine-tuning is also no longer WikiText alone, with Alpaca, OpenMathReasoning, StarCoder and SST-2 added, and the trend holds on each.
Q2: Can the authors evaluate stronger adaptive attacks, especially reverse distillation from DLR-Net back to standard MLPs, custom backward kernels, selective replacement of only some locked modules, and LoRA/PEFT variants placed at different points in the architecture?
We answer each of the four in turn.
i) Reverse distillation. Discussed at L236-239, and now measured. At a fixed -step budget split three ways between module-wise regression and top- KL, within of each other in FLOPs, recovery reaches Nemotron perplexity , and , none of them the that both the original and the locked model already have. It costs GPU-hours at the cheapest allocation and at the dearest, against GPU-hours for one direct fine-tune of the locked model, and fine-tuning onward from the recovered checkpoint still ends above both the baseline and the directly fine-tuned locked model. It is not an effective bypass, and the attacker does not have our pretraining corpus, so a domain mismatch hinders recovery further.
ii) Custom backward kernels. We wrote new fused forward kernels: at the full-model level the per-step forward goes from ms for the compiled baseline to ms locked, , while the training step stays at . The forward optimizes because the hidden state stays on chip, whereas the backward must read every layer's activations back, which is a property of reverse-mode differentiation rather than of our implementation (L318-321). A hand-written backward therefore cannot match the forward's speedup, and since we ship no backward kernel, writing one is itself part of the attacker's cost.
iii) Selective replacement. We have not measured partial replacement. Analytically it interpolates between the two extremes that are now both measured, trading the upfront cost of reverse distillation against the cost of adapting to the remaining lock, and every block left locked still forces the backward through its own stack, which no parameter freezing removes (L564-568).
iv) LoRA / PEFT. Discussed at L231-235, and now measured: with adapters on attention and the DLR-Nets frozen the best reachable loss is , against for full fine-tuning of the locked model and for the baseline, no rate closes the gap, and without gradient checkpointing the runs exhaust memory. PEFT restricts which parameters are updated without changing the path of the backward pass, so it either limits adaptation or needs more iterations to reach the same performance.
Q3: How should the locking factor be measured in a realistic setting where attackers can trade off wall-clock time, GPU memory, sequence length, batch size, gradient checkpointing, quantization, and number of GPUs?
Definition 2.3 lists three units for generality (L104) and we agree that invites the question; the revision standardizes on GPU-hours, which is what the attacker pays, and since our arms use the same number and type of GPUs the wall-clock ratios we report are GPU-hour ratios. On the axes, the cost in equation 2 is a minimum over strategies, not configurations (L95-98), so the attacker is not handed good hyper-parameters as an oracle and the search is part of the cost; we have made that explicit in the definition. The axes then split in two:
- Shared axes, learning rate, batch size and sequence length: the search appears in numerator and denominator, and we hold them fixed across arms, so the contribution largely cancels.
- Locked-specific axes, gradient checkpointing, quantization and multi-GPU splitting: the search falls on the locked side alone, and adopting what is found does not put the attacker ahead either, since checkpointing buys memory with recomputation (L218-225) and quantization lowers the reachable quality.
As for reporting as a single number, it is a function of the target and we know of no principled choice of , which is why we show curves. Its decomposition is more useful: recomputation is a floor that holds however the optimization behaves, , and with the in tokens gives a lower bound near , while the eager wall-clock ratio of is an upper bound since it also carries the forward slowdown.
Q4: It would be better to quantify the utility loss after locking? Some downstream metrics remain several points below the pretrained model, so it would help to discuss whether this is acceptable and how much more distillation is needed.
Perplexity on the locking data is fully recovered (), so the gap is confined to out-of-distribution evaluation, and it has two causes we have now quantified. First the budget. We ran a new experiment sweeping the Phase-2 budget at fixed Phase 1:
| Phase-2 steps | |||||
|---|---|---|---|---|---|
| WikiText perplexity |
The submission's is therefore a moderate budget, and matches the pretrained model's . Definition 2.3 places no constraint on the locking cost (L106-107) because the defender pays once and amortizes it, so this part of the gap is a budget allocation rather than an intrinsic limit. Second the data: Table 1 locks Qwen3 on a corpus that is not its pretraining data, and where provider and defender coincide ARC-Easy moves at B and at B, against in Table 1. We have accordingly narrowed the "without quality loss" phrasing of L60 and now state the trade-off between locking budget, utility and latency directly.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
We thank the Area Chair for the careful synthesis, and for noting that locked weights may still support local inference, inspection, and auditing. We have addressed all three decisive issues with new experiments; full tables are in the reviewer threads, mapped below.
The strongest adaptive bypass.
We have now evaluated the cost of reverse distillation, and it is not the cheaper strategy. We split a fixed budget three ways between module-wise regression and top-k KL, and none recovers the perplexity the original and locked model already have: even allowing 200k steps of distillation, 3× the cost of fine-tuning the locked model, they do not bring us anywhere close to a good model. The recovered checkpoint still ends above the baseline when fine-tuned onward.
We ran these too. LoRA on the attention projections with the DLR-Nets frozen is worse than full fine-tuning of the locked model at every learning rate we swept, and exhausts memory without checkpointing. An attacker may replace only a subset of the locked blocks, but full replacement is the case most favourable to unlocking and it already fails, and every block left locked still forces its own Θ(dL) backward stack (L564-568).
Utility preservation and latency.
We have quantified both causes of the Table 1 gap and narrowed the "without quality loss" claim (L60). We swept the Phase-2 budget with Phase 1 held fixed: the submission's setting is a moderate operating point, and tripling it recovers the pretrained model's WikiText perplexity. A second factor is domain mismatch: we do not have Qwen3's pretraining data. We therefore pretrained our own models on Nemotron at three scales and locked them on that same corpus, and the gap to the base model narrows at every scale. On latency, at the fine-tuning setup of Figure 4 our fused kernel puts the per-step forward at 1.98× the compiled baseline while the training step stays at 25×, and our simple kernels bring the single-MLP overhead of Figure 3 (left) under 5.5× at every batch size. Pushing kernel design further is valuable but outside our scope.
Scale, assumptions and cost metric.
We ran full locking and fine-tuning at 1.7B and 8B, and on our own models pretrained at three scales, over four tasks beyond WikiText.
Both caveats are already stated in the submission (L194-196, L585-586): Proposition 3.1 gives an asymptotic lower bound on κ over the memory channel alone, while the experiments measure what happens in practice.
We standardize on GPU-hours, what the attacker pays.
No tested attack reaches the baseline's best loss within the budget, so at that target the cost has no finite value. At the loss the locked model itself attains, the baseline gets there between ≈10.5× and 177× sooner: the lower figure is the recomputation floor 8N/6N=1.33× times the measured 8× in tokens, the upper eager wall-clock, which also carries the forward slowdown.
Planned clarifications.
We will standardize the cost metric on GPU-hours, state that the minimum in equation 2 is over strategies, narrow the quality claim, and add the per-step cost decomposition, the architecture ablation, and the new attacks and scales.