TL;DR
Forcing a single machine learning model to solve multiple distinct tasks simultaneously often backfires, causing "negative transfer" where unrelated tasks degrade each other's performance. This paper introduces RMB-CLE, a robust multi-task boosting framework that uses cross-task generalization errors to automatically cluster related tasks together. By training local boosting ensembles exclusively within these functionally coherent clusters, RMB-CLE prevents negative transfer and consistently outperforms traditional single-task and multi-task baselines.
What Problem Does This Paper Address?
Multi-Task Learning (MTL) is designed to help models generalize better by sharing knowledge across related tasks. For example, a model predicting a patient's stress levels might benefit from data collected about their sleep patterns or mood.
However, standard MTL approaches assume that all tasks are fundamentally related. When forced to learn from highly heterogeneous, unrelated, or noisy tasks, models suffer from negative transfer—the shared representations become distorted, and overall performance plummets.
While some existing methods try to mitigate this by adjusting optimization gradients or using binary "inlier vs. outlier" assumptions, they fail when the task landscape contains multiple distinct, complex groups. The authors tackle this gap by asking: How can we automatically discover multiple latent task groups and safely share information only where it makes sense, without relying on handcrafted metadata or rigid assumptions?
Methods
The authors propose Robust Multi-Task Boosting using Clustering and Local Ensembling (RMB-CLE). The framework operates in five distinct steps:
- Cross-Task Similarity Estimation: First, a standard LightGBM model is trained independently on each task. To see how well task $j$ transfers to task $i$, model $j$ is evaluated on task $i$'s dataset. This cross-task error matrix acts as a proxy for functional compatibility.
- Task Clustering: The error profiles are converted into similarity vectors using cosine distance. Tasks are then grouped adaptively using hierarchical agglomerative clustering with average linkage (UPGMA).
- Optimal Cluster Search: Rather than manually guessing the number of clusters, the algorithm uses the silhouette score to automatically determine the optimal cluster count ($k^*$).
- Agglomerative Update: Cluster distances are dynamically updated using the Lance and Williams recurrence formula to maintain a consistent tree structure.
- Cluster-Specific Models: Finally, the datasets of all tasks within a given cluster are pooled together to train a specialized local ensemble (using LightGBM or Multi-Task Gradient Boosting).
Theoretical Justification
The core innovation lies in using cross-task generalization error as the similarity metric. The authors mathematically prove that in a regression setting, cross-task risk decomposes cleanly into two parts: functional mismatch (true differences in task mechanics) and irreducible noise. By clustering based on this error, RMB-CLE structurally isolates tasks with high functional mismatch, effectively blocking negative transfer.
The table below highlights how RMB-CLE fills a unique niche compared to existing deep learning and boosting-based MTL methods:
Datasets
The framework was validated across both synthetic and real-world benchmarks:
- Synthetic Datasets: Generated using Random Fourier Features to simulate controlled environments with 25 tasks evenly distributed across 5 distinct latent clusters.
- Real-World Classification: Avila (medieval writer identification), Adult (split by Gender and Race attributes), Bank Marketing, and Landmine detection.
- Real-World Regression: Abalone, Computer hardware performance, Parkinsons telemonitoring, SARCOS robot arm kinematics, and School student performance datasets.
Key Insights and Ideas
- Difficulty $\neq$ Compatibility: In-domain training accuracy only tells you how hard a task is, not how well it aligns with another task. Two difficult tasks might transfer knowledge beautifully if their underlying conditional mechanisms match. Cross-task evaluation is essential to uncover this.
- Bypassing Gradient Warfare: Instead of trying to resolve conflicting gradients dynamically during backpropagation (a common and expensive tactic in deep MTL), RMB-CLE solves the problem architecturally by separating incompatible tasks into distinct clusters before the final training phase.
- Perfect Latent Recovery: On synthetic data, RMB-CLE achieved performance identical to an "oracle" baseline that was explicitly given the ground-truth cluster assignments. This proves the error-driven clustering mechanism is highly accurate at uncovering hidden task structures.
Key Results
- Superior Accuracy and Lower Error: Across almost all real-world benchmarks, RMB-CLE utilizing LightGBM (RMB-CLE-via-LGBM) achieved the highest classification accuracy and lowest regression error (RMSE/MAE).
- Robustness to Class Imbalance: On highly imbalanced real-world datasets like Avila and Landmine, RMB-CLE dramatically improved macro F1-scores compared to pooling-based and standard multi-task boosting baselines (e.g., scoring 0.772 on Avila vs. 0.270 for DP-LGBM).
- Fast Inference: Because prediction only requires a constant-time cluster lookup followed by evaluation from a single local ensemble, RMB-CLE maintains a low latency at test time, making it significantly faster during inference than state-of-the-art multi-block boosting alternatives like R-MTGB.
Limitations and Future Work
Despite its strong performance, the authors note a few key limitations:
- Quadratic Task Complexity: Computing the cross-task evaluation matrix introduces a quadratic dependency ($O(m^2)$) on the number of tasks ($m$). While highly efficient for a moderate number of tasks, it presents a scalability bottleneck for massive, large-scale task settings.
- Homogeneous Feature Spaces: The current formulation assumes all tasks share a common input feature dimension, meaning it cannot natively handle tasks with completely different or non-overlapping feature sets.
Future Directions: The authors suggest exploring ways to normalize transfer errors relative to the intrinsic difficulty of source and target tasks, alongside developing scalable approximations to reduce the quadratic computational overhead for massive datasets.
Summary updated