Abstract
Machine learning has witnessed tremendous success in solving tasks depending on a single hyperparameter. When considering simultaneously a finite number of tasks, multi-task learning enables one to account for the similarities of the tasks via appropriate regularizers. A step further consists of learning a continuum of tasks for various loss functions. In this work, we introduce a novel approach called Infinite Task Learning (ITL) whose goal is to learn a function whose output is a function over the hyperparameter space. We leverage tools from operator-valued kernels and the associated vector-valued RKHSs that provide an explicit control over the role of the hyperparameters and allow for new types of constraints. We provide generalization guarantees and illustrate efficiency in cost-sensitive classification, quantile regression, and density level set estimation.
Introduction
Many machine learning problems are parameterized by a "tuning" hyperparameter that fundamentally changes the nature of the task. Examples include Quantile Regression, where one predicts various percentiles; Cost-Sensitive Classification, where penalties for false positives and negatives vary; and Density Level-Set Estimation, used for identifying outliers at different strictness levels.
Traditionally, these are solved for a single hyperparameter value or a finite set of values using Multi-Task Learning (MTL). However, MTL does not provide information about the behavior between these discrete points. Infinite Task Learning (ITL) fills this gap by providing a non-parametric framework to learn a function that outputs another function—specifically, a function over the entire hyperparameter space $\Theta$.
Methodology: Learning in Function-Valued Spaces
The core innovation of ITL is treating the learning problem as a function-valued function learning task. This is achieved through several key components:
- Vector-Valued RKHS (vv-RKHS): The authors use operator-valued kernels to define a hypothesis space where the output for a given input $x$ is a function $h(x)(\cdot)$ mapping a hyperparameter $\theta$ to a prediction.
- Integrated Loss Function: Instead of minimizing loss at discrete points, ITL minimizes an "integrated loss" over the entire hyperparameter domain $\Theta$.
- Decomposable Kernels: To manage complexity, kernels are decomposed into an input space part ($k_X$) and a hyperparameter space part ($k_\Theta$), allowing the model to share information across similar tasks efficiently.
- Shape Constraints: A major advantage of this functional approach is the ability to enforce global properties, such as monotonicity in quantile regression to prevent "quantile crossing."
Empirical Evaluation and Key Results
The authors evaluated ITL across three distinct domains using synthetic benchmarks and standard UCI datasets.
Quantile Regression
ITL (referred to as $\infty$-QR) performed comparably to state-of-the-art Joint Quantile Regression (JQR) across 20 datasets. Crucially, the non-crossing penalty successfully eliminated errors where lower quantile predictions exceeded higher ones, particularly in regions with sparse data, as illustrated in the figure above.
Density Level-Set Estimation
In density estimation, the model successfully maintained the theoretical $\theta$-property, which dictates that the proportion of outliers should roughly equal the hyperparameter $\theta$. This was demonstrated on the Wilt and Spambase datasets.
Cost-Sensitive Classification
In classification tasks, the continuum approach significantly outperformed independent models, particularly in improving the balance between sensitivity and specificity on complex synthetic datasets like "Circles."
Conclusion and Future Work
Infinite Task Learning provides a principled way to model how a machine learning model's output should change as a hyperparameter varies across its entire range. By leveraging vv-RKHSs, the framework offers both theoretical guarantees and practical benefits, such as the ability to predict for unseen hyperparameter values on the fly.
Future research may focus on automating kernel selection and investigating whether specific local properties of individual algorithms (like the exact sparsity of Support Vector Machines) are preserved when moving to the infinite-task continuum.
Summary updated