Research map / Label-efficient and robust learning / Knowledge distillation
Selective Knowledge Distillation: Fusing LLM Semantic Strengths with DNN Efficiency for Binary Code Similarity Detection
Shize Zhou, Peiyu Liu, Lirong Fu, Tong Ye, Wenhai Wang
Zhejiang University · Hangzhou Dianzi University · vivo AI Lab
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| add BinSKD distillation from CLAP | HermesSim · Pool 8192, cross-optimization | Recall@1: 0.655 -> 0.750 | Improved |
| add BinSKD distillation | jTrans · O0 vs O3, pool 8192 | MRR: 0.081 -> 0.360 | Improved |
| add BinSKD distillation in easy setting | HermesSim · O2 vs O3, pool 8192 | MRR: 0.810 -> 0.815 | Improved |
| use focal-loss regularization instead of BinSKD (ablation) | HermesSim · Pool 8192 | MRR: 0.716 -> 0.736 | Improved |
| apply plain RKD without selective distillation (ablation) | HermesSim · Pool 8192 | MRR: 0.716 -> 0.069 | Hurt |
| add selective distillation to RKD (ablation) | HermesSim · Pool 8192 | MRR: 0.069 -> 0.707 | Improved |
| add discrepancy-weighted sampling to RKD (ablation) | HermesSim · Pool 8192 | MRR: 0.069 -> 0.301 | Improved |
| combine selective distillation and discrepancy-weighted sampling (ablation) | HermesSim + RKD · Pool 8192 | MRR: 0.707 -> 0.795 | Improved |
| degrade the teacher with Gaussian noise (alpha 0.05 to 0.2) (ablation) | HermesSim + BinSKD · Pool 8192 | MRR: 0.795 -> 0.751, 0.728, 0.710 | Hurt |
| add BinSKD distillation to four DNN students on vulnerability search | SAFE, HermesSim, jTrans, BinaryAI · Linux kernel vulnerability search (10 CVEs) | MRR / bugs in top 50: e.g. CVE-2016-5195 SAFE bugs 5 -> 12 | Mixed |
| train HermesSim with BinSKD (distillation cost) | HermesSim · Training time per epoch | seconds: 144s + 51.6s | Mixed |
| increase lambda_KD up to 15 | BinSKD on BinaryAI · MRR vs lambda_KD | MRR: converges above lambda=0 level | Improved |
Open problems in rethinking distillation objectives
Does distillation still work for larger models and for tasks beyond math and classification, without special teacher access?
- Larger students and teachers were not tried. · 17 papers state it
- Gains over the strongest baselines are small or not uniform. · 15 papers state it
- Loss weights and other settings need tuning for each setup. · 12 papers state it
Closest papers by meaning
- Transforming Generic Coder LLMs to Effective Binary Code Embedding Models for Similarity Detection (NeurIPS 2025 · similarity 0.91)
- Uncovering LLM-Generated Code: A Zero-Shot Synthetic Code Detector via Code Rewriting (AAAI 2025 · similarity 0.88)
- Enhancing Learning-Based Binary Code Similarity Detection Model through Adversarial Training with Multiple Function Variants (EMNLP 2024 · similarity 0.87)
- DyCodeEval: Dynamic Benchmarking of Reasoning Capabilities in Code Large Language Models Under Data Contamination (ICML 2025 · similarity 0.86)
- AdaCCD: Adaptive Semantic Contrasts Discovery Based Cross Lingual Adaptation for Code Clone Detection (AAAI 2024 · similarity 0.85)
- Nova: Generative Language Models for Assembly Code with Hierarchical Attention and Contrastive Learning (ICLR 2025 · similarity 0.85)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.