Using Feature Conjunctions Across Examples for Learning Pairwise Classifiers

Satoshi Oyama, Christopher D. Manning

Introduction

Pairwise classification is a fundamental task in data science, involving the determination of whether two distinct records represent the same entity. This process is critical for applications such as duplicate detection in databases, entity resolution in search engines, and author name disambiguation in bibliographic datasets. Traditional approaches typically rely on identifying overlapping features—such as shared keywords or small string edit distances—between the two records. However, these methods often struggle when common features are sparse or non-existent.

The Challenge of Sparse Common Features

Standard matching algorithms fail when two records referring to the same entity share few surface-level similarities. For example, in academic citations, two papers by "A. Gupta" might focus on entirely different sub-fields, such as database views and query processing. While a human expert might recognize the connection between the "SIGMOD" and "VLDB" communities, a standard algorithm looking for overlapping strings would treat these as unrelated entities.

The core challenge lies in leveraging combinations (conjunctions) of features across examples (e.g., "Paper A contains SIGMOD" AND "Paper B contains VLDB"). While powerful, explicitly modeling these conjunctions leads to a quadratic explosion in the feature space ($n^2$), making the problem computationally intractable and highly susceptible to overfitting.

Proposed Methodology: The Cartesian Kernel

To address the computational burden of high-dimensional feature conjunctions, this paper introduces a novel kernel-based approach. Instead of relying solely on a "Common" feature vector (features shared by both instances), the authors propose a Cartesian product approach.

Given two instances $\alpha$ and $\beta$ with feature vectors $x^\alpha$ and $x^\beta$, the goal is to consider every possible pair of features $(x_i^\alpha, x_j^\beta)$. To make this tractable, the authors define a specific kernel function: $$K(\hat{x}, \hat{z}) = \langle x^\alpha \cdot z^\alpha \rangle \langle x^\beta \cdot z^\beta \rangle$$

This formulation represents a tensor product of two linear kernels. This mathematical "trick" allows a Support Vector Machine (SVM) to operate in the high-dimensional space of feature conjunctions without explicitly computing the massive $n^2$ feature vector. Consequently, the model can learn the underlying interactions between different words across different records, effectively "breaking" the independence (orthogonality) typically assumed in bag-of-words models.

Experimental Evaluation

The proposed method was evaluated on two primary datasets:

  1. DBLP Dataset: A large-scale bibliography used for author matching. The task involved disambiguating authors with identical first initials and last names (e.g., "J. Smith").
  2. Cora Citation Matching Dataset: A benchmark for traditional citation matching where records often share significant keyword overlap.

Results and Discussion

The "Cartesian" kernel demonstrated significant performance gains, particularly in the challenging author matching task. In scenarios where common features were sparse, the Cartesian method maintained high precision even at higher recall levels, whereas the precision of the "Common" method dropped precipitously once overlapping features were exhausted.

Precision-Recall curves for author matching across four different names. The Cartesian kernel (squares) consistently outperforms the Common (crosses) and Polynomial (triangles) methods, especially at higher recall.

At medium recall levels, the Cartesian method achieved a precision 4 to 8 times higher than previous methods. Interestingly, on the Cora dataset—where common features are abundant—the Cartesian method performed similarly to traditional approaches. This confirms that the primary advantage of the Cartesian kernel is its ability to handle "hard" matching tasks where data overlap is near zero.

Conclusion

The Cartesian kernel provides an elegant and efficient way to learn from feature interactions across examples. By leveraging the power of a quadratic feature space at the computational cost of a linear one, it significantly improves the accuracy of pairwise classification in sparse data environments. Future research may explore the application of this method to cross-modal matching, such as linking text in different languages or associating text with images, where shared features are non-existent by definition.

Summary updated

BibTeX
@inproceedings{oyama2004using,
  author = {Satoshi Oyama and Christopher D. Manning},
  title = {{Using Feature Conjunctions Across Examples for Learning Pairwise Classifiers}},
  booktitle = {ECML},
  year = {2004},
  doi = {10.1007/978-3-540-30115-8\_31},
}
Figure