Conflict-Aware Logit Adapters for Utility-Preserving Anti-Distillation
Organizations: Hanoi University of Science and Technology · Center for AI Research (CAIR), VinUniversity · Monash University
Abstract
While reasoning traces improve model capability, they also provide supervision signals for downstream distillation. Initial efforts to mitigate this issue rely on decoding-time interventions, but they incur high inference overhead and can harm the teacher model's natural fluency. We propose Conflict-Aware Logit Adapters (CALA), a lightweight training-time defense. CALA attaches a small residual adapter to a frozen teacher model and trains only the adapter. A proxy student identifies positions where imitation is most sensitive, and the adapter perturbs the output distribution at these positions while remaining within high-probability regions. A conflict-aware optimization strategy balances anti-distillation and utility objectives, while regularization preserves the teacher's performance and fluency. At inference time, CALA incurs modest overhead and requires no auxiliary model. Experiments on reasoning benchmarks show that CALA substantially reduces successful student imitation while maintaining near-original teacher performance and generation quality. These results establish CALA as a practical and efficient alternative to decoding-time approaches.
Figures & tables
| Method | Time / batch | Tokens / s | Avg. memory | Peak memory |
|---|---|---|---|---|
| Base teacher | 25.8s | 828.5 | 15.26 | 20.07 |
| ADS | 89.2s | 465.1 | 32.39 | 39.28 |
| CALA | 31.5s | 708.3 | 15.88 | 20.24 |
| Teacher acc. Base | Student acc. No filtering | Student acc. PPL filtering | |||
| CALA | ADS | CALA | ADS | CALA | ADS |
| 89.7 | 89.7 | 55.5 | 61.0 | 56.4 | 59.6 |
| 83.5 | 84.0 | 50.8 | 55.7 | 54.0 | 56.7 |
| 79.2 | 78.9 | 47.3 | 50.4 | 51.8 | 50.0 |
| 65.1 | 64.8 | 34.2 | 38.6 | 44.6 | 41.3 |
Appendix figures & tables23 assets
Supplementary material from the paper’s appendix.
Appendix
| Role | Model | Usage |
|---|---|---|
| Defended teacher | DeepSeek-R1-Distill-Qwen-7B | Frozen teacher |
| Training proxy | Qwen2.5-1.5B | Adapter-training signal |
| ADS proxy | Qwen2.5-3B | Decoding-time baseline |
| Downstream student | Llama-3.2-3B | Trace-distillation evaluation |
| Hyperparameter | Value |
|---|---|
| Training samples | 6,800 |
| Epochs | 5 |
| Batch size | 8 |
| Proxy accumulation steps | 2 |
| Optimizer | AdamW |
| Learning rate |
| Point | CALA | ADS | Temp. |
|---|---|---|---|
| 1 | |||
| 2 | |||
| 3 | |||
| 4 |
| Hyperparameter | Value |
|---|---|
| Fine-tuning method | LoRA |
| LoRA target modules | q, k, v, o, gate, up, down projections |
| LoRA rank / alpha / dropout | 128 / 128 / 0.0 |
| LoRA bias | none |
| Optimizer | AdamW |
| Learning rate / weight decay | / 0.1 |
| Point 1 | Point 2 | Point 3 | Point 4 | |||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Benchmark | Method | Teacher | Student | Teacher | Student | Teacher | Student | Teacher | Student | |
| GSM8K | CALA | 89.7 | 55.5 | 83.5 | 50.8 | 79.2 | 47.3 | 65.1 | 34.2 | |
| ADS | 89.7 | 61.0 | 84.0 | 55.7 | 78.9 | 50.4 | 64.8 | 38.6 | ||
| Temperature | 90.0 | 59.7 | 88.3 | 57.0 | 89.4 | 61.2 | 52.5 | 54.1 | ||
| Student undistilled | – | 43.5 | – | 43.5 | – | 43.5 | – | 43.5 | ||
| MATH | CALA | 61.6 | 13.5 | 57.7 | 12.7 | 56.5 | 11.7 | 45.6 | 10.9 | |
| Point 1 | Point 2 | Point 3 | Point 4 | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Benchmark | Method | Teacher | Fluency | Teacher | Fluency | Teacher | Fluency | Teacher | Fluency |
| GSM8K | CALA | 89.7 | 97.30 | 83.5 | 93.05 | 79.2 | 93.68 | 65.1 | 85.63 |
| ADS | 89.7 | 96.54 | 84.0 | 89.81 | 78.9 | 69.68 | 64.8 | 47.84 | |
| Temp. | 90.0 | 96.96 | 88.3 | 96.26 | 89.4 | 95.49 | 52.5 | 27.62 | |
| MATH | CALA | 61.6 | 93.96 | 57.7 | 93.35 | 56.5 | 86.65 | 45.6 | 73.52 |
| ADS | 58.2 | 85.74 | 57.9 | 85.70 | 58.8 | 86.41 | 59.9 | 85.16 | |
| Method | Configuration | Teacher acc. | Student acc. | Fluency |
|---|---|---|---|---|
| CALA | ||||
| CALA | ||||
| CALA | ||||
| CALA | ||||
| ADS | ||||
| ADS |
| Variant | Config. | Teacher Fluency | Teacher Acc. | Student Acc. | |
|---|---|---|---|---|---|
| Full objective | 97.30 | 89.7 | 55.5 | 34.2 | |
| Full objective | 93.05 | 83.5 | 50.8 | 32.7 | |
| Full objective | 93.68 | 79.2 | 47.3 | 31.9 | |
| Full objective | 85.63 | 65.1 | 34.2 | 30.9 | |
| w/o | 97.19 | 89.8 | 57.1 | 32.7 | |
| w/o | 90.78 | 88.4 | 54.1 | 34.3 |
| Method | Step-correct | Consistent | Complete | Strictly valid | Correct but invalid |
|---|---|---|---|---|---|
| CALA | 36/50 | 45/50 | 47/50 | 36/50 (72%) | 6/42 |
| ADS | 31/50 | 42/50 | 45/50 | 31/50 (62%) | 9/40 |
| Method | Configuration | Teacher/student acc. |
|---|---|---|
| CALA | 39.8/26.2 | |
| CALA | 37.9/27.2 | |
| CALA | 36.9/23.3 | |
| CALA | 23.3/19.4 | |
| ADS | 36.9/23.1 | |
| ADS | 35.0/27.5 |
| Teacher acc. | Gemma-2-2B-IT | Qwen2.5-3B |
|---|---|---|
| 89.7/89.7 | 35.5/39.1 | 78.6/77.7 |
| 83.5/84.0 | 32.5/38.1 | 73.9/75.1 |
| 79.2/78.9 | 28.6/35.1 | 71.8/68.2 |
| 65.1/64.8 | 21.5/29.7 | 67.7/54.3 |
Language Model Distillation
Language model distillation transfers a larger model’s capabilities to smaller or specialized models using outputs, probabilities, or internal representations.
See all 522 papers