The Trustworthy Pal: Controlling the False Discovery Rate in Boolean Matrix Factorization

Sibylle Hess, Nico Piatkowski, Katharina Morik

Abstract

Boolean Matrix Factorization (BMF) is a fundamental technique for uncovering latent patterns in binary datasets. However, distinguishing genuine structural "tiles" from random noise remains a significant challenge, often leading to the discovery of "phantom patterns." We introduce TrustPal, a novel framework that brings statistical rigor to BMF by controlling the False Discovery Rate (FDR). By deriving theoretical bounds for noise probability based on tile density and column coherence, TrustPal identifies significant patterns and automatically determines the data's rank. Our results on synthetic and real-world datasets, such as MovieLens 1M, show that TrustPal effectively eliminates noise-driven overfitting while maintaining high reconstruction accuracy.

Introduction

Boolean Matrix Factorization (BMF) decomposes a binary matrix into a product of two smaller binary matrices, effectively finding "tiles"—dense submatrices of 1s that represent shared characteristics, such as groups of users watching the same set of movies.

Visual representation of patterns or 'tiles' discovered in binary data.

A persistent issue in unsupervised BMF is the lack of statistical guarantees. Standard algorithms often overfit noisy data, identifying patterns that are merely artifacts of random fluctuations. Traditionally, researchers have relied on manual regularization to penalize model complexity, but selecting the appropriate penalty is frequently a process of trial and error. This work addresses the need for a principled, automated approach to distinguish between true discoveries and false positives in binary data.

Methods: Statistical Bounds and TrustPal

The core contribution of this research is the control of the False Discovery Rate (FDR)—the expected proportion of false discoveries among all identified patterns. To achieve this, the authors derive two mathematical bounds to estimate the probability that a candidate tile is a product of Bernoulli-distributed noise:

  1. The Density Bound: Utilizing Hoeffding’s inequality, this bound assesses the concentration of 1s within a tile. A tile is considered significant if its density significantly exceeds what would be expected from background noise.
  2. The Coherence Bound: Based on the Bernstein inequality, this bound measures the correlation between columns within a tile. Significant patterns exhibit higher column similarity than random noise allows.
Theoretical bounds for density and coherence across different matrix dimensions.

These bounds are integrated into the TrustPal framework. Unlike traditional methods that require a pre-specified rank, TrustPal iteratively proposes patterns and prunes those that fail the statistical significance tests. This allows the algorithm to converge on the true rank of the data automatically. A key insight is the complementary nature of these bounds: the Density bound is typically tighter for square-like matrices, whereas the Coherence bound excels in "tall" or "wide" datasets.

Experimental Evaluation

The effectiveness of TrustPal was evaluated using both synthetic and real-world datasets:

  • Synthetic Data: Matrices of various dimensions (e.g., $1600 \times 500$) were generated with known ground-truth patterns and varying levels of Bernoulli noise. This setup allowed for precise measurement of rank recovery and pattern accuracy.
  • MovieLens 1M: This real-world dataset of movie ratings was binarized (ratings > 3 stars) to test TrustPal's ability to find meaningful user-movie groupings. The goal was to minimize "wrong recommendations"—patterns that include movies a user actually disliked.

Key Results

TrustPal demonstrated superior performance across several metrics:

  • Accuracy and Rank Recovery: On synthetic data with 10% noise, TrustPal achieved an F-measure of approximately 0.99. Crucially, it accurately recovered the true rank, whereas competing heuristics like PRIMP often overestimated the number of patterns by including noise-induced "phantom" tiles.
  • Robustness: The algorithm proved robust to the initial noise estimate ($\hat{p}$). Even coarse estimates of the data's noise level were sufficient for the statistical bounds to function effectively.
  • Real-World Utility: On the MovieLens dataset, TrustPal identified a parsimonious model (rank $\approx 25$) with lower approximation error than baseline methods. It maintained a very low rate of incorrect recommendations (2.1% to 2.7%), ensuring the discovered patterns remained "trustworthy."

Discussion and Future Work

By reframing rank selection as a statistical testing problem rather than a simple optimization task, TrustPal eliminates the need for "black magic" regularization tuning. However, some limitations remain. The current framework assumes independent Bernoulli noise, which may not capture the "bursty" or structured noise found in some real-world applications. Future research will focus on extending these bounds to more complex noise distributions and addressing "tile splitting," where a single true pattern is incorrectly decomposed into multiple smaller significant pieces.

Summary updated

BibTeX
@inproceedings{hess2018trustworthy,
  author = {Sibylle Hess and Nico Piatkowski and Katharina Morik},
  title = {{The Trustworthy Pal: Controlling the False Discovery Rate in Boolean Matrix Factorization}},
  booktitle = {SDM},
  year = {2018},
  doi = {10.1137/1.9781611975321.46},
}
Figure