A two-step learning approach for solving full and almost full cold start problems in dyadic prediction

Tapio Pahikkala, Michiel Stock, Antti Airola, Tero Aittokallio, Bernard De Baets, Willem Waegeman

Abstract

Dyadic prediction, the task of predicting properties for pairs of objects, is fundamental to applications like drug-target interaction and protein similarity analysis. A major hurdle in this field is the "cold start" problem, where predictions must be made for pairs involving previously unseen objects. This paper introduces a novel two-step Kernel Ridge Regression (KRR) framework that addresses these challenges. By decomposing the dyadic problem into two sequential learning steps and utilizing Singular Value Decomposition (SVD), the authors develop an efficient algorithm for automatic model selection via Leave-One-Out Cross-Validation (LOOCV). The approach allows for independent regularization of both object types in a dyad and facilitates "on-the-fly" generalization to new tasks. Experimental results demonstrate that the two-step method provides superior performance in full cold start settings and significant computational advantages over traditional pairwise kernel methods.

Introduction

In dyadic prediction, researchers aim to predict a label for a pair of objects $(d_i, t_j)$. These problems are typically categorized into four settings (A through D) based on whether the objects in the test pair were present in the training data. Setting D, the "Full Cold Start," is the most challenging, as neither object has been seen before. While standard tensor product kernel methods can theoretically handle these cases, they often suffer from high computational costs and difficulties in efficient model selection, particularly when the training data is incomplete.

The Two-Step KRR Framework

The proposed method breaks down the dyadic relationship into two manageable steps. In the first step, a multi-label KRR model is trained on auxiliary tasks—related problems where data is abundant. This step captures the underlying structure of how tasks relate to objects. In the second step, the predictions from the first stage are used to "impute" or fill in gaps for the specific target task. A second, single-label KRR model is then trained for that target task using these augmented labels.

Mathematically, this approach is shown to be a form of spectral filtering, closely related to standard pairwise kernels but with enhanced flexibility. One of the primary advantages is the ability to regularize the two different types of objects in the dyad independently. For instance, in a drug-target interaction problem, one can separately tune the regularization for drugs and proteins, a feature that standard pairwise kernels lack.

Efficient Model Selection via SVD

A key contribution of this work is the optimization strategy detailed in Algorithm 2. By leveraging SVD, the authors provide a closed-form solution that makes Leave-One-Out Cross-Validation (LOOCV) computationally inexpensive.

Algorithm 2: Two-step with LOOCV-based automatic model selection

As shown in Algorithm 2, the use of SVD allows the model to iterate through grids of regularization parameters ($\lambda_t$ and $\lambda_d$) and calculate the LOO error ($\bar{e}$) efficiently. This enables the automatic selection of optimal parameters for both the "task" side and the "object" side of the dyad without the need for expensive retraining. This efficiency is crucial for generalizing to brand-new tasks "on the fly."

Experimental Evaluation

The researchers evaluated the two-step approach on three distinct datasets:

  • Drug-Target Interaction: Predicting binding affinity between 68 drug compounds and 442 protein targets.
  • 20 Newsgroups: Predicting similarity between documents as an ordinal regression task.
  • UniProt Protein Similarity: Predicting functional similarity based on amino acid sequences using a spectrum kernel.

Key Results

The experiments yielded several important insights:

  • Superior Cold Start Performance: The two-step approach consistently matched or outperformed standard pairwise KRR in the "Full Cold Start" (Setting D) scenario.
  • The Crossover Point: Auxiliary data proved most beneficial when the target task had fewer than 50–100 training examples. Beyond approximately 150 examples, single-task models began to perform better, highlighting the specific niche where the two-step method excels.
  • Computational Efficiency: The closed-form solutions provided by the SVD-based approach resulted in significantly faster implementation and training times compared to iterative gradient-descent methods used for standard kernels on incomplete data.

Conclusion

The two-step KRR approach offers a robust and efficient alternative for dyadic prediction, particularly in cold start scenarios. By decoupling the learning process and optimizing via SVD, the method provides a flexible framework for independent regularization and rapid model selection. While future work may address scaling to massive datasets and handling more heterogeneous data structures, this approach represents a significant step forward in making dyadic prediction more practical and accessible for real-world applications.

Summary updated

BibTeX
@inproceedings{pahikkala2014two,
  author = {Tapio Pahikkala and Michiel Stock and Antti Airola and Tero Aittokallio and Bernard De Baets and Willem Waegeman},
  title = {{A two-step learning approach for solving full and almost full cold start problems in dyadic prediction}},
  booktitle = {ECML/PKDD},
  year = {2014},
  url = {https://openreview.net/forum?id=z9ZnnQ6DTy},
}
Figure