When Perplexity Lies: Generation-Focused Distillation of Hybrid Sequence Models

· Source: cs.CL updates on arXiv.org · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Emerging Technologies & Innovation · Depth: Expert, extended

Summary

A new study introduces Hybrid Kimi Delta Attention (Hybrid-KDA) architecture and GenDistill, a multi-stage distillation pipeline, to create efficient hybrid sequence models from pretrained Transformers. The research highlights that perplexity-based evaluation, common in prior distillation work, systematically misrepresents generation quality; a 7B parameter distilled model showed a 0.2 pp perplexity gap but a 20.8 pp generation gap. By using generation-based evaluation, the authors systematically ablated six design axes, finding that dataset selection, completion-only masking, and freezing attention layers during post-training significantly impact generation quality. Their best Hybrid-KDA model retains 86–90% teacher accuracy on knowledge benchmarks, while reducing KV cache memory by up to 75% and improving time-to-first-token by 2–4x at 128K-token contexts.

Key takeaway

For AI Architects and ML Engineers designing efficient LLMs, recognize that perplexity metrics can severely misrepresent a distilled model's true generation quality. You should prioritize generation-based evaluation protocols to guide design decisions. Implement a multi-stage distillation pipeline using Knowledge Distillation with completion-only masking, teacher-aligned instruction data, and crucially, freeze attention layers during instruction tuning to prevent catastrophic forgetting and maximize performance. This approach yields significant efficiency gains without sacrificing accuracy.

Key insights

Perplexity is a misleading metric for cross-architecture distillation; generation-based evaluation is crucial for true quality assessment.

Principles

Method

GenDistill is a multi-stage pipeline for hybrid model distillation, using beam search for attention layer selection and progressive alignment, culminating in end-to-end knowledge distillation with generation-focused training.

In practice

Topics

Code references

Best for: Research Scientist, AI Engineer, NLP Engineer, AI Scientist, Machine Learning Engineer, AI Architect

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by cs.CL updates on arXiv.org.