acceptodds
Published as a conference paper at NeurIPS 2026

Locking Pretrained Weights via Deep Low-Rank Residual Distillation

Keitaro Sakamoto, Pierre Ablin, Federico Danieli, Marco Cuturi

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.

Keywords:
Sydney, Main Track

Reviews

Among:
Shape:
123456this paper, Bottom 17%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 4.00 over 3 reviews, above 17% of the others.
Reviewer_amfQOpenReview ↗
Rating
4
Clarity
3
Confidence
2
Originality
3
Quality
2
Significance
1
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:

  1. The idea of applying inference-training asymmetry to protect the open-weight models is interesting.
  2. 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:

  1. 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?
  2. 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.
  3. The attack evaluation is insufficient. The paper discusses adaptive attacks like reverse module-wise distillation but does not fully test them.
Questions

See weaknesses.

  1. If the goal is to release open weights, why making fine-tuning difficult for all users?
  2. If the model provider does not want users to modify the model, why not release an encrypted or compiled inference-only package/executive program?
  3. Can attackers with rich compute resources easily bypass your locking method? Is "cost amplification" a valid defense?
  4. 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.
  5. 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.

Paper formatting concerns

None.

Final justification

Unfortunately, I am still unconvinced by the research question and motivation.

I have increased the rating and lowered my reviewer confidence score.

1 comment

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), Cattack≪CpretrainC_{\text{attack}} \ll C_{\text{pretrain}}, 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 1919-24×24\times 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:

armbest reachable loss
unlocked baseline2.3372.337
DLR-Lock, full fine-tuning2.4992.499
DLR-Lock, LoRA on attention2.6382.638

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 η\eta from 3×10−53{\times}10^{-5} to 3×10−33{\times}10^{-3} the optimum runs 2.7092.709, 2.6712.671, 2.6382.638, 2.7392.739, 2.8092.809, 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 κ≥Θ(d/r)\kappa \geq \Theta(d/r) 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, 0.3550.355 relative MSE for h+Uσ(V,RMSNorm(h))h + U\sigma(V\\,\mathrm{RMSNorm}(h)) against 0.3950.395 for h+σ(UVh)h + \sigma(UVh), and scaling and initialization were second-order at 11-4%4\%. 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:

variantrelative MSE
ours, h+Uσ(V,RMSNorm(h))h + U\sigma(V\\,\mathrm{RMSNorm}(h))0.000480.00048
nonlinearity outside the low-rank map, h+σ(UVh)h + \sigma(UVh)0.001280.00128
RMSNorm removed0.000570.00057
residual connection removed0.9440.944

The residual connection is load-bearing, the placement of the nonlinearity costs 2.6×2.6\times, and an identity activation costs 2.8×2.8\times, so none of these is a free choice; the ordering is unchanged at a late layer. Removing RMSNorm costs only 1818\\%, so we have softened the claim that it is "essential for stable training at L>100L > 100" (L186): the reason to keep it is that its backward needs the full dd-dimensional input, which is what forces Θ(dL)\Theta(dL) 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 60.4→59.860.4 \to 59.8 at 1.71.7B rather than 55.9→50.755.9 \to 50.7, and tripling the Phase-2 budget takes WikiText perplexity from 23.523.5 to 21.521.5 (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.

Reviewer_aaHJOpenReview ↗
Rating
4
Clarity
3
Confidence
4
Originality
2
Quality
3
Significance
2
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

  1. 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.

  2. 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.

  3. 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
  1. 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.

  2. 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.

  3. 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.

  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?

  5. 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

Paper formatting concerns

there is no concern

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.

1 comment

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 25×25\times 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, eagerforward, deployedtraining overheadpeak memory
baseline59.959.9 ms52.652.6 ms160.3160.3 ms37.637.6 GB
locked704.5704.5 ms103.9103.9 ms4821.74821.7 msOOM // 30.630.6 GB with checkpointing
ratio11.8×11.8\times1.98×1.98\times30.1×30.1\timesNA // 0.81×0.81\times

The deployed column is the asymmetry in one line: the forward gap closes to 1.98×1.98\times once we optimize it, so legitimate users barely pay for depth, while the training gap stays at 2525-30×30\times. On memory the locked model does not fit at all without checkpointing, whereas the baseline runs unchecked at 37.637.6 GB, so the 30.630.6 GB is not a saving but the price of forced recomputation, which adds 4/3=1.33×4/3 = 1.33\times.

The optimization effect involves no compute time at all: at η=10−5\eta = 10^{-5} the loss the locked model reaches after 4040M tokens is reached by the baseline at roughly 55M, about 8×8\times more data for the same quality. With the 1.33×1.33\times per token this gives ≈10.5×\approx 10.5\times as a lower bound, while Figure 4's eager wall-clock ratio of 620620 min /,3.5/\\,3.5 min =177×= 177\times is an upper bound, since it also carries the forward slowdown. The forward optimizes because the O(d)O(d) 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 LL from 142142 down to 11, 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:

armbest reachable loss
unlocked baseline2.3372.337
DLR-Lock, full fine-tuning2.4992.499
DLR-Lock, LoRA on attention2.6382.638

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 27.7×27.7\times, 26.1×26.1\times and 15.6×15.6\times longer to reach 0.90.9 at 0.60.6B, 1.71.7B and 88B. We have also added Alpaca, OpenMathReasoning and StarCoder, and Qwen3 at 1.71.7B and 88B, 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-kk 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 200k200\mathrm{k}-step budget split three ways between module-wise regression and top-kk KL, within 2525\\% of each other in FLOPs:

split (regression, KL)(200k,0)(200\mathrm{k}, 0)(0,200k)(0, 200\mathrm{k})(100k,100k)(100\mathrm{k}, 100\mathrm{k})
Nemotron perplexity16.1016.1016.6116.6116.3816.38

None reaches the 14.914.9 both the original and the locked model already have (Table 1), so no allocation favours the attacker. Recovery needs 1919-24×24\times the FLOPs of one direct fine-tune of the locked model, and 3333 GPU-hours at the cheapest allocation to 11931193 at the dearest, against 10.310.3 for that direct fine-tune. Fine-tuning onward from the recovered checkpoint takes the WikiText loss from 3.423.42 to 2.672.67 and 2.632.63 at 2020M and 4040M tokens, short of the baseline's 2.3372.337 and of the 2.4992.499 from directly fine-tuning the locked model, so the gap at step 00 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 23.523.5 to 21.521.5, matching the pretrained model, and locking on the pretraining corpus rather than a substitute narrows the downstream gap, with ARC-Easy at 60.4→59.860.4 \to 59.8 instead of 55.9→50.755.9 \to 50.7.

Reviewer_Hkd7OpenReview ↗
Rating
4
Clarity
3
Confidence
4
Originality
3
Quality
3
Significance
3
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
  1. 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.
  2. 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?
  3. 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?
  4. 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.

Paper formatting concerns

No concerns.

1 comment

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 1.71.7B and 88B, 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 0.160.16 at 1.71.7B and 0.240.24 at 88B against 0.160.16 at 0.60.6B, so it does not shrink with scale. We also ran the same experiments on 0.60.6B, 1.71.7B and 88B 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 200k200\mathrm{k}-step budget split three ways between module-wise regression and top-kk KL, within 2525\\% of each other in FLOPs, recovery reaches Nemotron perplexity 16.1016.10, 16.6116.61 and 16.3816.38, none of them the 14.914.9 that both the original and the locked model already have. It costs 3333 GPU-hours at the cheapest allocation and ≈1200\approx 1200 at the dearest, against 10.310.3 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 52.652.6 ms for the compiled baseline to 103.9103.9 ms locked, 1.98×1.98\times, while the training step stays at 25×25\times. The forward optimizes because the O(d)O(d) 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 Θ(dL)\Theta(dL) 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 2.6382.638, against 2.4992.499 for full fine-tuning of the locked model and 2.3372.337 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 κ\kappa as a single number, it is a function of the target pp and we know of no principled choice of pp, which is why we show curves. Its decomposition is more useful: recomputation is a floor that holds however the optimization behaves, 8N/6N=1.33×8N/6N = 1.33\times, and with the ≈8×\approx 8\times in tokens gives a lower bound near 10.5×10.5\times, while the eager wall-clock ratio of 177×177\times 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 (14.9→14.914.9 \to 14.9), 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 steps0010k10\mathrm{k}30k30\mathrm{k}100k100\mathrm{k}300k300\mathrm{k}
WikiText perplexity18218230.230.227.027.023.523.521.521.5

The submission's 100k100\mathrm{k} is therefore a moderate budget, and 300k300\mathrm{k} matches the pretrained model's 21.521.5. 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 60.4→59.860.4 \to 59.8 at 1.71.7B and 52.1→50.552.1 \to 50.5 at 0.60.6B, against 55.9→50.755.9 \to 50.7 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.

Comments on the paper

1 comment
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:

  1. 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.

  2. 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.

  3. 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.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Related papers

Loading the map…

Discussion (0)

Sign in to comment.