Learning Binary Relations Using Weighted Majority Voting

Sally A. Goldman, Manfred K. WarmuthMachine Learning 1995

Abstract

This paper introduces robust algorithms for the on-line learning of binary relations, represented as $n \times m$ matrices. Traditional models often assume "pure" relations where rows belonging to the same cluster are identical. This work relaxes that constraint, providing the first formal framework and algorithms for learning "non-pure" or noisy relations with provable mistake bounds. By leveraging weighted majority voting, the authors propose an optimal exponential-time algorithm and a computationally efficient polynomial-time algorithm that achieves superior performance over previous methods.

Introduction: The Challenge of Non-Pure Relations

Imagine an allergist testing patients for various allergens. Some patients react similarly because they share an "allergy type." In computer science, we model this as a binary relation: an $n \times m$ matrix where a '1' means a patient reacts to an allergen and a '0' means they don't.

Previous research assumed "pure" relations—if two patients are of the same type, their rows in the matrix must be identical. In the real world, this is rarely true; people of the same "type" might have slight variations. This paper addresses the challenge of on-line learning of binary relations where the learner must predict unknown matrix entries one by one, minimizing mistakes even when the data is "non-pure" (noisy).

Methods: Weighted Majority Voting

The authors leverage the Weighted Majority Algorithm, which makes predictions by combining the "votes" of various experts. If an expert is wrong, its weight is reduced multiplicatively. The paper proposes two distinct approaches:

1. The Exponential Algorithm

This uses one weight for every possible way to partition the $n$ rows into $k$ clusters. While it achieves a nearly optimal mistake bound, it requires $k^n/k!$ weights, making it computationally impractical for large datasets.

Figure 1: The Exponential Algorithm uses a weight for every possible partition of rows into clusters, leading to a massive expert pool.

2. The Polynomial Algorithm

This is the paper's primary contribution. It uses $n$ copies of a weighted majority scheme running in parallel—one for each row. These copies share a pool of $O(n^2)$ weights (one for each pair of rows). Instead of knowing everything upfront, experts "wake up" and gain information as more of the matrix is uncovered.

Figure 4: The Polynomial Algorithm predicts entry $(r, j)$ by aggregating votes from other rows, weighted by their perceived similarity to row $r$.

The "secret sauce" is the multiplicative weight update. By not setting weights to zero immediately upon a mistake (using a factor $\beta > 0$), the algorithms become naturally robust to noise, allowing them to handle non-pure relations where rows in a cluster are "close" but not identical.

Key Insights and Results

As a theoretical machine learning paper, performance is evaluated using mistake bounds—a mathematical guarantee on the maximum number of incorrect predictions the algorithm will make over the entire learning session.

  • Noise as a Feature: The authors reframe the problem of "non-pure" clusters as a noise-tolerance problem. By treating discrepancies between rows in the same cluster as noise, they can apply robust voting techniques.
  • Optimal Bounds for Pure Relations: The first algorithm's mistake bound nearly matches the information-theoretic lower bound of $km + (n-k) \log k$.
  • Superior Polynomial Performance: The second algorithm achieves a mistake bound of $O(km + \sqrt{m n^2 \log k})$. While not as tight as the exponential version, it is significantly better than any previous polynomial-time algorithm for this problem.
  • First Noisy Learners: The paper provides the first provable bounds for learning non-pure binary relations, showing that the mistake bound increases gracefully as the "noise" (the distance between rows in a cluster) increases.

Conclusion and Future Work

The most obvious limitation is the gap between the polynomial and exponential algorithms. While $O(n^2)$ weights provide a massive speedup, the mistake bound is still higher than the theoretical optimum.

The authors pose a fascinating open question: Is there a "middle ground"? Could an algorithm using $O(n^3)$ weights significantly bridge the gap in accuracy? Additionally, while the paper assumes a binary matrix, extending these techniques to continuous values or more complex relations remains a promising direction for future research.

Summary updated

BibTeX
@article{goldman1995learning,
  author = {Sally A. Goldman and Manfred K. Warmuth},
  title = {{Learning Binary Relations Using Weighted Majority Voting}},
  journal = {Machine Learning},
  year = {1995},
  doi = {10.1007/bf00994017},
}
Figure