DTO-KD: Dynamic Trade-off Optimization for Effective Knowledge Distillation
Zeeshan Hayder (Google), Ali Cheraghian, Lars Petersson, Mehrtash Harandi (Monash University Australia), Richard Hartley
International Conference on Learning Representations 2026 · Oral
Overview
This talk introduces DTO-KD (Dynamic Trade-off Optimization for Knowledge Distillation), a novel approach that re-frames knowledge distillation as a multi-objective optimization problem. Presented by Mehrtash Harandi from Monash University Australia, with lead author Zeeshan Hayder (formerly Data61 CSIRO, now Google) and collaborators Ali Cheraghian, Lars Petersson, and Richard Hartley, the work addresses fundamental limitations in traditional knowledge distillation (KD) training. Conventional KD combines distillation and task losses using fixed, pre-determined weights, which can lead to suboptimal training dynamics such as gradient conflict and dominance.

Key moments
- 0:00 Introduction: Knowledge Distillation and fixed-weight problem
- 2:50 DTO-KD: Formulating KD as vectorial optimization
- 5:30 Solving for update direction using max-min problem
- 6:50 Dynamic weights via closed-form dual optimization
- 8:00 Theoretical properties: non-conflict, equal gradient action
- 8:50 Significant improvements in ImageNet classification
- 10:00 Q&A: Robustness to label noise and misaligned teacher
DTO-KD: Dynamic Trade-off Optimization for Effective Knowledge Distillation
Speakers: Zeeshan Hayder (Google); Ali Cheraghian; Lars Petersson; Mehrtash Harandi (Monash University Australia); Richard Hartley
Conference: ICLR 2026
YouTube: https://slideslive.com/39062126
Overview
This talk introduces DTO-KD (Dynamic Trade-off Optimization for Knowledge Distillation), a novel approach that re-frames knowledge distillation as a multi-objective optimization problem. Presented by Mehrtash Harandi from Monash University Australia, with lead author Zeeshan Hayder (formerly Data61 CSIRO, now Google) and collaborators Ali Cheraghian, Lars Petersson, and Richard Hartley, the work addresses fundamental limitations in traditional knowledge distillation (KD) training. Conventional KD combines distillation and task losses using fixed, pre-determined weights, which can lead to suboptimal training dynamics such as gradient conflict and dominance.
DTO-KD tackles these issues by dynamically adjusting the relative importance of the distillation and task objectives throughout the training process. Instead of a scalar loss function, it formulates the learning problem with a vectorial loss, allowing for a more nuanced optimization that seeks to improve both objectives simultaneously. This paradigm shift enables the student model to learn more effectively from the teacher, leading to superior performance in complex tasks like image classification and object detection, as demonstrated through rigorous experimentation against state-of-the-art baselines.
The significance of DTO-KD lies in its ability to unlock the full potential of knowledge distillation. By moving beyond static weighting schemes, it offers a theoretically sound and empirically validated method to balance the often-conflicting signals from the teacher and the primary task. This work is crucial for the development of more efficient and high-performing deep learning models, particularly in scenarios where deploying smaller, faster student models without significant performance degradation is paramount.
Background
▶ Watch: Introduction: Knowledge Distillation and fixed-weight problem (0:00)
Knowledge Distillation (KD) is a powerful technique in machine learning designed to transfer knowledge from a large, high-performing teacher model to a smaller, more efficient student model. The core idea is that once a robust teacher model has been trained, its learned representations and behaviors should not be discarded. Instead, the student model is trained not only on the ground truth labels but also by mimicking the soft predictions or intermediate features of the teacher. This process allows the student to benefit from the teacher's richer understanding of the data, often leading to performance that can rival or even exceed training the student model from scratch on hard labels alone.
In practice, the training objective for KD is typically formulated as a linear combination of two distinct loss functions: the distillation loss and the task loss. The distillation loss quantifies the discrepancy between the teacher's output (e.g., softened probabilities) and the student's output, encouraging the student to emulate the teacher's reasoning. Common choices for distillation loss include Kullback-Leibler (KL) divergence. The task loss, on the other hand, measures how well the student performs on the primary objective, such as classification accuracy, using the ground truth labels. This loss is typically a standard cross-entropy loss for classification tasks.
The combined loss function is conventionally expressed as L_total = α1 L_distillation + α2 L_task, where α1 and α2 are fixed scalar weights that determine the relative importance of each loss term. While seemingly straightforward, this linear combination with fixed weights introduces two significant challenges that DTO-KD aims to address:
- Gradient Conflict: When computing the gradient of the total loss, it decomposes into two terms:
α1 ∇L_distillationandα2 ∇L_task. In many practical scenarios, the directions indicated by these two gradients can conflict. For instance, a step that significantly reduces the distillation loss might simultaneously impede progress on the task loss, or vice-versa. With fixed weights, there is no mechanism to dynamically resolve such conflicts, potentially leading to suboptimal convergence paths or oscillations. - Gradient Dominance: Even if the gradients are not directly conflicting, one gradient term can overpower the other due to its magnitude or the chosen fixed weights. If
∇L_distillationis consistently much larger than∇L_task(or vice-versa), the optimization process might disproportionately prioritize one objective over the other. This can result in a student model that perfectly mimics the teacher but fails to perform well on the actual task, or a model that achieves good task performance but has not effectively absorbed the teacher's nuanced knowledge. The total gradient effectively ignores the signal from the dominated objective, hindering holistic learning.
These limitations highlight a fundamental problem: the static nature of α1 and α2 prevents the optimization from adapting to the evolving learning dynamics of the student model. As the student progresses, the relative importance or difficulty of improving the distillation versus the task loss can change dramatically. Addressing this calls for a more adaptive and intelligent approach to balancing these multiple objectives, moving beyond a simplistic scalar loss formulation.
Key Findings
▶ Watch: Solving for update direction using max-min problem (5:30)
The DTO-KD framework introduces several pivotal contributions that redefine the landscape of knowledge distillation:
- Vectorial Loss Formulation: DTO-KD fundamentally re-conceptualizes the KD training objective from a single scalar loss into a vectorial loss function. This vector comprises the distillation loss and the task loss as its dimensions, enabling a multi-objective optimization perspective rather than a weighted sum.
- Integration of Multi-Objective Optimization Principles: By adopting a vectorial loss, DTO-KD leverages concepts from multi-objective optimization (MOO), such as Pareto dominance and the Pareto front. This allows for a more sophisticated understanding of optimal solutions where no single objective can be improved without degrading another.
- Dynamic Weight Adjustment based on Gradient Geometry: The core innovation of DTO-KD is its ability to dynamically determine the combination factors (weights
α1andα2) for the distillation and task loss gradients at each training iteration. Unlike traditional KD with fixed weights, DTO-KD's weights are derived from the current geometry of the objective gradients, ensuring that the optimization direction is always aligned with improving both objectives simultaneously. - Novel Max-Min Optimization with Closed-Form Solution: DTO-KD proposes solving a max-min optimization problem to find the optimal update direction. This problem aims to maximize the minimum relative improvement ratio across all objectives, effectively prioritizing the objective that is making the slowest progress. Crucially, the authors demonstrate that this high-dimensional max-min problem has a low-dimensional dual form which yields closed-form solutions for
α1andα2, making the dynamic adjustment computationally efficient and practical. - Guaranteed Simultaneous Progress: The authors theoretically prove several desirable properties of the DTO-KD algorithm:
- The feasible set of the max-min problem is non-empty, guaranteeing that a direction exists at every iteration which can help both objectives simultaneously.
- The update direction ensures equal action on both gradients, meaning
G_star · G1 = G_star · G2. This property prevents one objective from dominating the other, ensuring balanced progress and mitigating gradient conflict. - The norm of the gradient is lower-bounded, which prevents gradient collapse and ensures stable optimization.
- Superior Empirical Performance: DTO-KD achieves significantly better results in empirical evaluations across diverse tasks. In image classification on ImageNet, it outperforms both the teacher model and state-of-the-art KD methods like DeiT and VKD (Miles et al.). Similar patterns of superior performance were observed in object detection tasks.
These findings collectively establish DTO-KD as a robust, theoretically grounded, and empirically effective method for knowledge distillation, addressing long-standing challenges in balancing multiple learning objectives.
Technical Deep Dive
▶ Watch: Dynamic weights via closed-form dual optimization (6:50)
DTO-KD's technical elegance stems from its reformulation of knowledge distillation within a multi-objective optimization (MOO) framework. This section delves into the mathematical and algorithmic details that underpin this innovative approach.
Vectorial Loss Formulation
The fundamental departure from traditional KD is the transition from a scalar combined loss to a vectorial loss function. Instead of L_total = α1 L_distillation + α2 L_task, DTO-KD defines the loss as a vector L(θ) = [L_distillation(θ), L_task(θ)], where θ represents the student model's parameters. This conceptual shift allows for direct consideration of both objectives independently yet simultaneously.
Comparing Vectors: Dominance and the Pareto Front
Once the loss is a vector, the traditional notion of "minimizing" a scalar value no longer directly applies. DTO-KD introduces concepts from MOO to define optimality:
- Dominance: A model with parameters
θ_tildeis said to dominate a model with parametersθif, when comparing their loss vectorsL(θ_tilde)andL(θ),L(θ_tilde)is no worse thanL(θ)in any objective dimension, and strictly better in at least one dimension. For example, ifL(θ_tilde) = [1.0, 2.0]andL(θ) = [1.5, 2.0], thenθ_tildedominatesθ. IfL(θ) = [1.5, 2.5],θ_tildestill dominatesθ. - Pareto Front: The goal in MOO is to find solutions that are Pareto optimal. A solution is Pareto optimal if it is not dominated by any other feasible solution. The set of all Pareto optimal solutions forms the Pareto front (or Pareto boundary). Visually, if loss values are plotted on X and Y axes, the Pareto front is the "lower-left" boundary of the achievable loss region. Any point on this curve represents an optimal trade-off; moving along the curve to improve one objective necessarily worsens another. The optimization process in DTO-KD aims to guide the student model's parameters towards this Pareto front.
Multi-Objective Optimization in DTO-KD
Traditional gradient-based MOO typically involves two steps:
- Compute individual gradients: Calculate
G_i = ∇L_i(θ)for each objectiveL_i. In DTO-KD, this meansG_1 = ∇L_distillation(θ)andG_2 = ∇L_task(θ). - Find a compatible direction: Determine a single update direction
G_tthat is compatible with all individual gradients, ensuring progress across all objectives.
DTO-KD implements this by first defining a measure of progress for each objective: the relative improvement ratio. For objective i, this ratio at time t is defined as:
R_i(t) = (L_i(t) - L_i(t+1)) / L_i(t)
This ratio quantifies how much an objective L_i improves by taking a step in a given direction. A larger R_i(t) indicates greater improvement.
The core of DTO-KD's optimization strategy is to find an update direction G_t that maximizes the minimum relative improvement ratio across all objectives. This is formulated as a max-min optimization problem:
max_{G_t} min_{i ∈ {1,2}} R_i(t)
This objective function ensures that the optimization prioritizes the objective that is currently making the least progress, effectively addressing the gradient dominance problem. By maximizing the worst-performing objective's improvement, DTO-KD ensures balanced progress.
Closed-Form Solution for Dynamic Weights
Solving a high-dimensional max-min problem directly during training would be computationally expensive. However, DTO-KD introduces a crucial simplification: the authors prove that this max-min problem has a low-dimensional dual form. This dual form allows for the derivation of closed-form solutions for the dynamic weights α1 and α2 that combine the individual gradients.
Specifically, the algorithm proceeds as follows:
- Compute log-gradients: For each objective, calculate the gradient of its logarithm:
G'_1 = ∇(log L_distillation(θ))andG'_2 = ∇(log L_task(θ)). The use ofloghere is a specific detail mentioned in the talk, indicating a focus on relative changes rather than absolute magnitudes of loss. - Calculate dynamic weights: Based on
G'_1andG'_2, the closed-form solutions yieldα1andα2. The exact mathematical derivation is not presented in the talk but is detailed in the paper, showing how these weights are determined by the current geometry of these log-gradients. - Combine gradients: The student model is then updated using the combined gradient:
G_t = α1 G'_1 + α2 G'_2.
This dynamic weighting scheme is the key differentiator from traditional KD, where α1 and α2 are fixed hyperparameters. In DTO-KD, these weights adapt at each iteration, guided by the current state of the student model's learning for both objectives.
Derived Properties
The DTO-KD algorithm comes with strong theoretical guarantees:
- Non-empty Feasible Set: Regardless of the current gradients, the max-min problem always has a feasible solution. This means there is always an update direction that can improve both objectives simultaneously, preventing deadlocks or situations where one objective cannot be helped without harming the other.
- Equal Action on Gradients: The chosen update direction
G_tsatisfiesG_t · G'_1 = G_t · G'_2. This property is critical because it implies that the projection of the update direction onto each objective's gradient is equal. This directly mitigates gradient dominance, ensuring that neither objective is disproportionately favored or neglected. - Lower-Bounded Gradient Norm: The norm of the combined gradient
||G_t||is guaranteed to be lower-bounded. This prevents the gradient from collapsing to zero prematurely, ensuring stable and continuous learning progress without stalling.
These properties provide a robust theoretical foundation for DTO-KD, demonstrating its ability to overcome the inherent challenges of multi-objective optimization in knowledge distillation.
Experimental Setup & Results
▶ Watch: Significant improvements in ImageNet classification (8:50)
The DTO-KD framework was rigorously evaluated across two primary computer vision tasks: image classification and object detection, demonstrating its effectiveness against established baselines and state-of-the-art knowledge distillation methods.
Image Classification
- Dataset: Experiments for image classification were conducted on the large-scale ImageNet dataset, a standard benchmark for evaluating image recognition models.
- Teacher Model: The teacher model chosen was RegNetY-160, a powerful convolutional neural network. This teacher achieved a strong baseline performance of 82.6% top-1 accuracy.
- Student Models: Two different Vision Transformers (ViT) were used as student models: a Tiny Vision Transformer and a Small Vision Transformer. These models are known for their efficiency and represent a common target for knowledge distillation to improve performance while maintaining a smaller footprint.
- Baselines: DTO-KD's performance was compared against two prominent state-of-the-art knowledge distillation algorithms:
- DeiT (Data-efficient Image Transformers): A method specifically designed for distilling knowledge into Vision Transformers.
- VKD (Variational Knowledge Distillation) by Miles et al.: Another advanced KD technique.
- Results: The empirical results showed that DTO-KD achieved significantly better performance compared to both the teacher model and the baseline KD algorithms. While specific percentage improvements were not enumerated in the talk, the speaker emphasized that DTO-KD consistently "obtained significantly better results." This implies that the dynamically optimized trade-off between distillation and task loss allowed the student ViT models to extract more valuable knowledge from the RegNetY-160 teacher, leading to higher accuracy. The speaker noted that some of the baseline methods "use elaborative algorithms to do knowledge distillation," implying that DTO-KD's strength lies in its fundamental reformulation of the optimization problem rather than complex architectural modifications.
Object Detection
- Task: DTO-KD was also applied to object detection, a more complex task requiring both classification and localization.
- Results: Similar to image classification, experiments in object detection demonstrated a consistent pattern of superior performance. The speaker stated that DTO-KD "either saw that we could outperform the teacher by using our distillation," indicating that the student models trained with DTO-KD could surpass the performance of the original, larger teacher model, a highly desirable outcome in KD. This further validates the robustness and generality of the DTO-KD approach across different modalities and task complexities.
In summary, the experimental results unequivocally support the effectiveness of DTO-KD. By dynamically managing the trade-off between distillation and task objectives, the method empowers student models to achieve higher performance, often exceeding that of the teacher or other advanced KD techniques, without requiring complex architectural changes or additional training mechanisms beyond the intelligent gradient combination.
Practical Implications
▶ Watch: Q&A: Robustness to label noise and misaligned teacher (10:00)
DTO-KD presents profound practical implications for practitioners, infrastructure teams, model builders, and deployers working with deep learning models, particularly in resource-constrained environments or where model efficiency is critical.
For Practitioners and Model Builders
- Enhanced Student Model Performance: The most direct implication is the ability to train student models that achieve superior performance. By mitigating gradient conflict and dominance, DTO-KD enables students to more effectively absorb knowledge from teachers, leading to higher accuracy, better generalization, or improved metrics on the target task. This means practitioners can deploy smaller, faster models without compromising as much on performance, or even achieving better results than previously possible with standard KD.
- Simplified Hyperparameter Tuning (α1, α2): One of the persistent challenges in traditional KD is tuning the fixed weights
α1andα2. This often involves extensive grid searches or heuristic methods, which are time-consuming and computationally expensive. DTO-KD automates this process by dynamically calculating these weights at each iteration. This significantly reduces the hyperparameter search space, streamlining the model development workflow and allowing practitioners to focus on other architectural or data-related optimizations. - Robustness to Training Dynamics: The dynamic nature of DTO-KD makes the training process more robust to the varying difficulties of the distillation and task objectives throughout training. Early in training, the task loss might be dominant, while later, fine-tuning with the teacher's nuances becomes more critical. DTO-KD naturally adapts to these shifts, leading to more stable and efficient convergence.
For Infrastructure and Deployment Teams
- Deployment of Smaller, More Efficient Models: The primary motivation for KD is often to create smaller models suitable for deployment on edge devices, mobile platforms, or in latency-sensitive applications. DTO-KD’s ability to yield higher-performing student models means that these smaller, more efficient models can be deployed with greater confidence in their accuracy.
- Potential for Resource Optimization: While DTO-KD involves slightly more complex gradient calculations than a simple linear sum, the derivation of closed-form solutions for the dynamic weights minimizes this overhead significantly. The benefits of improved model performance and reduced hyperparameter tuning time can easily outweigh this minor computational increase, leading to overall more efficient resource utilization in the long run.
Trade-offs and Limitations
While DTO-KD offers significant advantages, it's important to consider its trade-offs and current limitations:
- Increased Algorithmic Complexity: Although the dynamic weights are derived via closed-form solutions, the underlying mathematical framework is more complex than a simple weighted sum. Practitioners might require a deeper understanding of multi-objective optimization principles to fully grasp and potentially debug the method, though its usage is straightforward through an API.
- Reliance on Gradient Quality: As acknowledged by the speaker during the Q&A, DTO-KD, like many gradient-based methods, assumes reasonably clean and informative gradients. If the gradients are excessively noisy (e.g., due to highly noisy labels or extreme data perturbations), the method's ability to accurately identify optimal directions might suffer. The talk did not specifically study noise or perturbations in the context of DTO-KD.
- Heterogeneous Models: The speaker mentioned one experiment in their paper (not detailed in the talk) on learning from heterogeneous models. While this suggests some adaptability, the primary focus of the presented results was on a teacher-student pair of a RegNetY-160 and Vision Transformers. Further research might explore its robustness across a wider range of architectural disparities.
- Computational Overhead (Minor): While the closed-form solution is efficient, calculating the log-gradients and the dynamic weights at each step is still slightly more computationally intensive than simply summing two fixed-weighted gradients. This overhead is likely negligible for most modern training setups but is a factor to consider for extremely constrained environments.
In essence, DTO-KD provides a powerful, principled, and practical upgrade to the knowledge distillation paradigm, offering a path to more effective and efficient model deployment by intelligently navigating the inherent trade-offs in multi-objective learning.
Key Takeaways
- Traditional knowledge distillation (KD) with fixed weights for distillation and task losses suffers from gradient conflict and gradient dominance, leading to suboptimal student model training.
- DTO-KD reformulates KD as a multi-objective optimization problem with a vectorial loss, enabling simultaneous consideration of both distillation and task objectives.
- The method dynamically adjusts the relative importance of the two losses by calculating adaptive weights at each training iteration, based on the current geometry of their gradients.
- A key innovation is the use of a max-min optimization problem to find an update direction that maximizes the improvement of the worst-performing objective, with a computationally efficient closed-form solution for the dynamic weights.
- DTO-KD is theoretically proven to ensure a non-empty feasible set for updates, equal action on gradients (preventing dominance), and a lower-bounded gradient norm (preventing collapse).
- Empirical results on ImageNet classification and object detection demonstrate that DTO-KD achieves significantly superior performance compared to state-of-the-art KD methods and often outperforms the teacher model itself.
About the Speaker(s)
The work on DTO-KD was a collaborative effort. Mehrtash Harandi from Monash University Australia presented the talk, highlighting his institution's involvement in cutting-edge machine learning research. The study was led by Zeeshan Hayder, who was formerly associated with Data61 CSIRO and is now with Google, indicating his expertise in both academic research and industry applications. The team also included Ali Cheraghian, Lars Petersson, and Richard Hartley, underscoring the interdisciplinary nature of this advanced research in knowledge distillation.
Reviews
→ Top-rated talks at International Conference on Learning Representations 2026
All talks from International Conference on Learning Representations 2026