
doi: 10.2139/ssrn.6143886
We propose a distillation framework that transfers secure coding expertise into a compact model trained using expert demonstrations, static-analysis labels, and secure patterns. The distilled model (7B parameters) achieves 83% security compliance, nearly matching GPT-4's 89% performance while requiring significantly less compute. Evaluated across CWE-20, CWE-78, CWE-89, the distilled model reduces injection vulnerabilities by 62% relative to baseline models. This work demonstrates that targeted distillation can teach smaller models to respect security best practices.
| selected citations These citations are derived from selected sources. This is an alternative to the "Influence" indicator, which also reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically). | 0 | |
| popularity This indicator reflects the "current" impact/attention (the "hype") of an article in the research community at large, based on the underlying citation network. | Average | |
| influence This indicator reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically). | Average | |
| impulse This indicator reflects the initial momentum of an article directly after its publication, based on the underlying citation network. | Average |
