Analogy-Based Preference Learning with Kernels

Mohsen Ahmadi Fahandar, Eyke Hüllermeier

Abstract

This paper presents a mathematical framework for integrating analogical reasoning into kernel-based machine learning. By formalizing analogical proportions as valid positive semi-definite kernels, the authors introduce AnKer-rank, a novel method for object ranking. Experimental results across 18 diverse datasets demonstrate that AnKer-rank matches or exceeds the performance of state-of-the-art utility-based models by leveraging the relational logic inherent in human preference.

Introduction

The core challenge in preference learning is object ranking: predicting the "correct" order of items (e.g., hotels, sports teams) for a user. Traditional machine learning approaches typically rely on utility functions, which assign numerical scores to individual items to determine their rank. However, human reasoning often follows an analogical pattern: "If I preferred Hotel A over Hotel B because of the price-to-quality ratio, I will likely prefer Hotel C over Hotel D for the same reason."

While intuitive, analogy-based reasoning has historically been difficult to integrate into rigorous machine learning frameworks. This research bridges that gap by proving that analogical relationships can be treated as formal similarity measures (kernels) compatible with powerful algorithms like Support Vector Machines (SVMs).

The AnKer-rank Framework

AnKer-rank operates in two primary stages to transform analogical reasoning into a predictive ranking model:

1. The Analogy Kernel

The fundamental innovation is a new kernel function $k(a, b, c, d)$ that measures how strongly four objects form an analogical proportion. The authors prove mathematically, via Mercer’s Theorem, that a specific fuzzy logic-based formalization of analogy is a positive semi-definite kernel. This allows the use of the "kernel trick," projecting complex analogical relationships into a high-dimensional space where an SVM can learn to distinguish between "correct" and "incorrect" preferences.

Truth table for the Boolean analogical proportion $a:b :: c:d$, which serves as the logical foundation for the analogy kernel.

2. Rank Aggregation

Once the SVM predicts the probability that one item is preferred over another (pairwise preferences), the model employs the Bradley-Terry-Luce (BTL) model. This aggregates the pairwise predictions into a single, consistent total ordering (a ranking). Unlike standard methods that view items in isolation, AnKer-rank learns from the relationships between pairs of items.

Experimental Evaluation

The authors evaluated AnKer-rank on 18 different datasets spanning multiple domains to ensure robustness:

  • Sports: Decathlon results, Bundesliga seasons, FIFA World Cup, and Volleyball World League data.
  • Education: University rankings.
  • Tourism: Hotel rankings in Düsseldorf and Frankfurt.
  • General: "Footballers" (Streaker) data.

These datasets vary significantly in feature types, including numeric, binary, and ordinal data.

Key Results

Experimental results indicate that AnKer-rank is highly competitive:

  • Performance: In many domains, particularly sports (Bundesliga and FIFA), AnKer-rank achieved the lowest "ranking loss" (the fewest errors in the predicted order).
  • Comparison: It consistently performed on par with or better than Ranking SVM (an industry standard) and significantly outperformed RankNet and Expected Rank Regression (ERR) on several benchmarks.
  • Consistency: The method showed stable performance across both small and medium-sized datasets, unlike some niche competitors.

Discussion and Insights

  • Analogy as Similarity: The research demonstrates that an analogy is essentially a "similarity of relations." By framing this as a kernel, analogy becomes "plug-and-play" for existing ML tools.
  • Robustness Beyond Utility: Most ranking models fail if the "utility" of an item changes based on context. Analogy-based models are naturally more robust because they focus on the difference or ratio between items rather than absolute scores.
  • Transfer Learning Potential: Because the model evaluates the relation $R(a, b)$ separately from $R(c, d)$, it is uniquely suited for transfer learning. One could theoretically train on one domain and predict in another, provided the nature of the relationship remains consistent.

Limitations and Future Work

Despite its success, AnKer-rank relies heavily on feature normalization (scaling values between 0 and 1), making it sensitive to data distribution shifts. Additionally, training on quadruples $(a, b, c, d)$ is more computationally expensive than training on single points or pairs. Future research will explore other types of analogies, such as geometric proportions, and investigate Multiple Kernel Learning (MKL) to automatically weight the importance of different analogical features.

Summary updated

BibTeX
@inproceedings{fahandar2019analogy,
  author = {Mohsen Ahmadi Fahandar and Eyke Hüllermeier},
  title = {{Analogy-Based Preference Learning with Kernels}},
  booktitle = {KI},
  year = {2019},
  doi = {10.1007/978-3-030-30179-8\_3},
}
Figure