Generate text 8x faster than GPT while matching its quality through smart self-distillation.
π https://arxiv.org/abs/2410.21035
π€ Original Problem:
Current autoregressive LLMs generate text one token at a time, causing noticeable latency. This becomes a major bottleneck when applications need search, planning, or reranking with multiple completions.
-----
π§ Solution in this Paper:
β’ Introduces Self-Distillation Through Time (SDTT) for discrete diffusion models
β’ Generates 32+ tokens simultaneously while exceeding autoregressive model quality
β’ Uses Kullback-Leibler Divergence (KLD) as the distillation measure
β’ Reduces inference steps by 32-64x through iterative distillation rounds
β’ Operates without activation caching, suggesting room for further speed gains
β’ Successfully scales to models up to 860M parameters
-----
π‘ Key Insights:
β’ KLD outperforms Mean-Squared Error and Total Variation Distance for distillation
β’ Distilling more than 2 steps at once weakens student model performance
β’ 5-10k training steps per distillation round is sufficient
β’ Preserves teacher model's natural language understanding capabilities
β’ Does not rely on deterministic mappings like DDIM
-----
π Results:
β’ Achieves 8x faster generation than AR models using KV caching
β’ Matches/exceeds GPT-2 performance with nucleus sampling using only 32 steps
β’ Maintains teacher model's performance on LAMBADA benchmark
β’ Demonstrates effectiveness up to 860M parameter models
β’ Reduces inference steps from 1024 to 16-32 while preserving quality










