TL;DR
Specificity-Guided Knowledge Diversion (SGKDiv) is a novel pre-training framework that organizes generative models into modular "Knowledge Units" without the heavy overhead of traditional weight factorization. By using calibrated routing and specificity-based regularization, it allows models to adaptively learn which parameters should be shared and which should specialize, leading to better image generation and significantly more efficient downstream adaptation than standard fine-tuning or Mixture-of-Experts (MoE) approaches.
What Problem Does This Paper Address?
Large-scale generative models, like Diffusion Transformers (DiT), are typically trained as monolithic blocks. While they perform well, they don't explicitly distinguish between "transferable knowledge" (general features) and "source-specific information" (details unique to a training class).
Previous attempts at "decomposable" pre-training, such as Knowledge Diversion (KDiv), tried to solve this by splitting weights using Singular Value Decomposition (SVD). However, this approach has two major flaws:
- Parameter Overhead: SVD-based reparameterization adds a significant number of extra parameters.
- Rigid Specialization: These methods often rely on fixed, predefined assignments (e.g., "these 20% of neurons are for class A, these are shared"). This rigidity often degrades the quality of the base model's generation.
The authors of SGKDiv aim to create a flexible, "native" way to decompose knowledge that actually improves base performance while making the model much easier to adapt to new tasks.
Methods
SGKDiv introduces three key innovations to move beyond rigid decomposition:
- Native Paired Knowledge Units: Instead of using SVD to create artificial components, SGKDiv pairs each input-projection column of a Feed-Forward Network (FFN) with its corresponding output-projection row. This preserves the "native" computational pathway of the transformer while creating discrete units that can be independently modulated.
- Calibrated Condition-Specific Routing: The model uses two gates to control these units. A condition-agnostic gate sets a shared "usage prior" (how much a unit is used generally), and a condition-specific gate applies adjustments based on the class label (e.g., "Dog" or "Cat").
- Specificity-Regularized Optimization: To ensure the model actually learns to specialize, the authors introduce three regularization terms:
- Polarization: Encourages the shared gates to be either "on" or "off" rather than stuck in the middle.
- Diversity: Forces different conditions to use different specialized units.
- Magnitude: Controls the strength of the specialized adjustments so they don't overwhelm the shared knowledge.
Datasets
The authors evaluated SGKDiv across a wide range of settings:
- Pre-training: ImageNet-1K (256x256 resolution).
- Downstream Adaptation: Eight diverse datasets including CUB-200 (birds), DF20M (fungi), Flowers-102, Food-101, LSUN Bedroom & Church, NWPU-RESISC45 (remote sensing), and Stanford Cars.
- Model Architectures: DiT, DiT-Flow, REPA, and JiT.
Key Insights and Ideas
- Decomposability as a Performance Booster: Unlike previous methods where modularity came at the cost of accuracy, SGKDiv actually improves in-distribution generation (FID). By explicitly regulating specialization, the model uses its activated capacity more effectively.
- Semantic "Aha" Moments: The routing coefficients naturally organize themselves semantically. If you replace the routing embedding of a "Dog" class with a semantically similar class (like "Wolf"), the loss increase is minimal. If you replace it with "Toaster," the loss spikes. This proves the model is learning meaningful, reusable knowledge structures.
- Pruning Resilience: Because the model learns a clear hierarchy of shared vs. specific knowledge, it is remarkably robust to model pruning. It can maintain nearly constant performance even after removing 20% of its parameters.
Key Results
- Better Generation: On DiT-B, SGKDiv improved the FID (Fréchet Inception Distance) from 12.96 to 10.03 compared to the dense baseline, while actually reducing the number of activated parameters during inference (from 130.5M to 118.8M).
- Superior Adaptation: When adapting to new datasets, SGKDiv outperformed popular Parameter-Efficient Fine-Tuning (PEFT) methods like LoRA and PiSSA. For example, on the CUB-200 dataset, SGKDiv achieved an FDD (Fréchet Distance on Downstream) of 945, significantly better than LoRA's 1095.
- Efficiency: Compared to MoE baselines (like ProMoE), SGKDiv achieved lower FID scores with roughly half the total parameter count (34.5M vs 75.5M for the "Small" model variant).
Limitations and Future Work
- Total Parameter Count: While SGKDiv reduces activated parameters (those used in a single forward pass), the total parameter count on disk is slightly higher than a standard dense model (though much lower than an MoE or SVD-based model).
- Scope: The current work focuses on class-conditional image generation. Extending this to large-scale text-to-image models or Large Language Models (LLMs) remains an open and promising direction.
- Inference Sparsity: While the paper mentions masking units with small coefficients for sparse inference, the full potential of this for hardware acceleration wasn't the primary focus and could be explored further.
Summary updated