Abstract
A powerful and flexible approach to structured prediction consists in embedding the structured objects to be predicted into a feature space of possibly infinite dimension by means of output kernels, and then, solving a regression problem in this output space. A prediction in the original space is computed by solving a pre-image problem. In such an approach, the embedding, linked to the target loss, is defined prior to the learning phase. In this work, we propose to jointly learn a finite approximation of the output embedding and the regression function into the new feature space. For that purpose, we leverage a priori information on the outputs and also unexploited unsupervised output data, which are both often available in structured prediction problems. We prove that the resulting structured predictor is a consistent estimator, and derive an excess risk bound. Moreover, the novel structured prediction tool enjoys a significantly smaller computational complexity than former output kernel methods. The approach empirically tested on various structured prediction problems reveals to be versatile and able to handle large datasets.
Introduction
Structured prediction involves predicting complex objects such as graphs, rankings, or images. A standard methodology, Output Kernel Regression (OKR), embeds these objects into an infinite-dimensional Hilbert space using kernels, performs regression, and decodes the result via a pre-image problem. However, traditional OKR suffers from two primary bottlenecks: the use of fixed, potentially sub-optimal embeddings and high computational complexity, which often scales with the size of the training set $n$ during prediction.
This paper introduces Output Embedding Learning (OEL), a framework that jointly learns a compressed, finite-dimensional representation of structured outputs alongside the regression model. By leveraging both labeled data and unexploited unlabeled output data, OEL achieves state-of-the-art accuracy while drastically reducing computational costs.
Methodology
The core innovation of OEL is the transition from a fixed, infinite-dimensional embedding $\psi(y)$ to a learned, finite-dimensional proxy $g(y) = G\psi(y)$. This approach finds the directions in the output space that are most predictable from the input, effectively filtering out noise that the input features cannot explain.
Joint Optimization and Scalability
OEL minimizes a composite loss function balancing supervised learning (predictability from inputs) and unsupervised reconstruction (accuracy of the kernel representation). By learning a finite-dimensional embedding of dimension $p$, the decoding complexity is reduced from $O(n \times |\mathcal{Y}|)$ to $O(p \times |\mathcal{Y}|)$. Since $p \ll n$, this provides significant speedups. The training process utilizes Randomized SVD and Nyström approximations to handle large-scale datasets efficiently.
Experiments and Results
The authors evaluated OEL on diverse tasks, including image reconstruction (USPS), multi-label classification (Bibtex, Bookmarks), and metabolite identification. A key finding is the relationship between the embedding dimension $p$ and the model's performance. As $p$ increases, the Mean Squared Error (MSE) decreases, eventually matching or exceeding the performance of standard IOKR.
Key Performance Metrics
- Accuracy: On the USPS task, OEL achieved an RBF loss of 0.725, outperforming IOKR (0.751) and SPEN (0.801).
- Efficiency: On the Bookmarks dataset, decoding time dropped from 56 minutes (IOKR) to under 4 minutes with OEL, while maintaining comparable $F_1$ scores.
- Real-world Impact: In metabolite identification, OEL improved Top-1 accuracy from 29.6% to 31.2% by incorporating 100,000 unlabeled molecular fingerprints, demonstrating the power of leveraging "output-only" data.
Conclusion
OEL addresses the primary bottlenecks of output kernel methods by learning task-specific, finite-dimensional embeddings. This approach not only improves predictive performance by focusing on predictable structure but also enables scaling to large datasets through reduced decoding complexity. While the current formulation assumes a linear transformation of the initial kernel feature map, future work may explore non-linear transformations to further enhance flexibility.
Summary updated