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

Learning Parameters in Entity Relationship Graphs from Ranking Preferences

Soumen Chakrabarti, Alekh Agarwal

Abstract

Ranking nodes in complex Entity-Relationship (ER) graphs is a fundamental challenge in modern Information Retrieval. Traditional methods like PageRank rely on manually tuned edge weights, which is impractical for large, heterogeneous networks. This paper introduces a unified machine learning model that automatically learns optimal edge weights and PageRank parameters from partial user preferences (e.g., "Item A > Item B"). By employing a truncated Newton optimization method with a specialized Huber loss function, the model effectively integrates text features and graph structure. Experimental results on synthetic and real-world citation graphs demonstrate the model's robustness to noise and its ability to generalize from limited training data.

Introduction: The Challenge of Heterogeneous Graphs

In traditional Information Retrieval, documents are often treated as independent entities. However, modern datasets—ranging from citation networks to XML databases—are best represented as Entity-Relationship (ER) graphs. These graphs consist of diverse node types (e.g., Person, Paper, Company) and typed edges (e.g., "works-for", "wrote", "cited").

An example of an Entity-Relationship (ER) graph showing heterogeneous node and edge types.

Ranking nodes in such environments typically involves random walk algorithms. The primary difficulty lies in determining the relative importance (weights) of different edge types. Rather than relying on manual heuristics, this research proposes learning these parameters directly from relative user feedback associated with specific queries.

Methodology: Optimization for Markov Models

The authors propose a parameterized, weighted PageRank model. To optimize this model, they address several mathematical and practical hurdles:

  1. Truncated Power Iteration: To compute gradients efficiently, the PageRank power iteration is truncated to a fixed horizon $H$. This allows the model to be "unrolled," making it possible to calculate the gradient of scores with respect to edge weights ($\beta$) and teleport probabilities ($\alpha$).
  2. Huber Loss vs. Hinge Loss: A critical insight of this work is the failure of standard SVM-style hinge loss in the context of normalized probability vectors. Because PageRank scores must sum to one, hinge loss often results in a "noise floor" where the loss remains non-zero even when preferences are satisfied, effectively destroying the gradient. The authors introduce a custom Huber loss that is strictly zero when the desired ranking margin is met, facilitating better convergence.
Comparison of loss functions over iterations: Huber loss (green) achieves significantly lower relative error than standard hinge loss (pink).
  1. Scale-Free Regularization: Since PageRank is sensitive only to relative transition probabilities, the authors implement a "scale-free floating" penalty. This prevents the optimizer from drifting by keeping edge weights close to one another without imposing arbitrary absolute scales.

Key Results and Insights

The model was evaluated on both synthetic graphs (SynthDBLP, SynthIMDB) and a large-scale real-world citation graph (DBLP/CiteSeer).

  • Robustness to Noise: The algorithm is remarkably resilient to corrupted feedback. Even when 20% of training preference pairs were randomly flipped, the test error remained below 6%.
  • Data Efficiency: The model demonstrates high generalization capabilities, requiring only a few hundred preference pairs to learn effective parameters for massive graphs.
  • Integration of Text and Structure: The model successfully learns to balance text-match scores (like TF-IDF) with graph-based popularity. In real-world tests against Google Scholar rankings, it dynamically adjusted the weight of citation data based on the specific query.

Conclusion and Future Work

This research demonstrates that graph parameters can be effectively learned from relative preferences without requiring infinite random walks. While the optimization surface is non-convex and requires multiple restarts to avoid local minima, the use of Huber loss and truncated iterations provides a robust framework for ER graph ranking. Future directions include developing rank-sensitive loss functions that prioritize accuracy at the top of the results list and exploring more sophisticated text integration techniques.

Summary updated

BibTeX
@inproceedings{chakrabarti2006learning,
  author = {Soumen Chakrabarti and Alekh Agarwal},
  title = {{Learning Parameters in Entity Relationship Graphs from Ranking Preferences}},
  booktitle = {PKDD},
  year = {2006},
  doi = {10.1007/11871637\_13},
}
Figure