NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Infinite Task Learning in RKHSs

Romain Brault, Alex Lambert, Zoltán Szabó, Maxime Sangnier, Florence d'Alché-Buc

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 share information across related problems. This paper introduces Infinite Task Learning (ITL), a framework for learning a continuous spectrum of tasks simultaneously by parameterizing them with a hyperparameter. By leveraging operator-valued kernels and vector-valued Reproducing Kernel Hilbert Spaces (vv-RKHS), ITL provides a principled way to predict outcomes for any hyperparameter value—including those not seen during training—while enforcing global constraints like smoothness or monotonicity across the entire task continuum.

Introduction

In many machine learning scenarios, a model’s behavior is governed by a hyperparameter (theta). For instance, in Quantile Regression, theta represents the specific quantile (e.g., the 90th percentile) to be predicted. Traditionally, practitioners either train independent models for discrete theta values or use Multi-Task Learning (MTL) for a finite set. However, these approaches often lead to physical inconsistencies, such as "crossings" where a predicted 90th percentile is lower than an 80th percentile. Furthermore, standard MTL cannot generalize to theta values absent from the training set. ITL addresses these gaps by treating the learning process as a mapping that takes an input x and returns a function h(x) over the hyperparameter space.

Methodology

The ITL framework utilizes Vector-Valued Reproducing Kernel Hilbert Spaces (vv-RKHS) and Operator-Valued Kernels. Instead of a scalar kernel, the authors employ a decomposable kernel K(x, z) = k(x, z)I, where k is a standard kernel on inputs and I is an identity operator on a space of functions over the hyperparameter space. This allows the model to capture dependencies between both input features and hyperparameter values.

The model minimizes an Integrated Loss Function over the hyperparameter space, which is approximated using Quasi Monte Carlo (QMC) sampling. A significant advantage of this continuous perspective is the ability to introduce Functional Regularization. For example, a non-crossing penalty in quantile regression penalizes the model if the derivative of the output with respect to theta is negative. Despite the infinite nature of the tasks, the authors prove a representer theorem showing the optimal solution remains a finite linear combination of kernel evaluations.

Experimental Results

The authors evaluated ITL across synthetic benchmarks and 20 UCI regression datasets. A primary focus was Infinite Quantile Regression (inf-QR).

Quantile regression with and without non-crossing constraints.

As illustrated in the figure above, the ITL framework effectively prevents quantile crossings on synthetic data. Without the non-crossing penalty, independent or unconstrained models produce overlapping curves that violate the monotonic property of quantiles.

Quantitatively, inf-QR was compared against Joint Quantile Regression (JQR) and Independent Quantile Regression (IND-QR) across various benchmarks.

Performance comparison across 20 UCI datasets.

As shown in the table above, inf-QR achieves pinball loss comparable to state-of-the-art JQR while significantly reducing crossing rates. Moreover, ITL enables "zero-shot" generalization, allowing the model to predict any quantile on the fly without retraining. The framework was also successfully applied to Density Level-Set Estimation (DLSE), maintaining the theoretical "theta-property" across the continuum.

Conclusion

Infinite Task Learning provides a rigorous mathematical foundation for learning task continua. By viewing hyperparameters as a continuous dimension, ITL enables the enforcement of global shape constraints and provides superior generalization capabilities. While computationally efficient for medium-sized datasets, future work will explore scaling methods for large-scale applications and extensions to more complex structured outputs.

Summary updated

BibTeX
@inproceedings{brault2019infinite,
  author = {Romain Brault and Alex Lambert and Zoltán Szabó and Maxime Sangnier and Florence d'Alché-Buc},
  title = {{Infinite Task Learning in RKHSs}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2019},
  url = {https://openreview.net/forum?id=sILmQjfc26},
}
Figure