Abstract
Boolean Matrix Factorization (BMF) is a fundamental technique for discovering latent structures in binary datasets. However, traditional BMF methods often fail when data exhibits heteroscedastic noise, such as individual row or column biases. This paper introduces Bias Aware Probabilistic Boolean Matrix Factorization (BABF), which explicitly models these biases. By separating latent patterns from systematic biases, BABF provides more accurate reconstructions and improved interpretability across synthetic and real-world datasets, including recommendation systems and single-cell genomics.
The Challenge of Heteroscedasticity in Binary Data
Boolean Matrix Factorization (BMF) aims to decompose a binary matrix $A$ into two low-rank binary matrices $X$ and $Y$ such that $A \approx X \otimes Y$. While powerful for recommendation systems and bioinformatics, standard BMF methods typically assume homoscedasticity—the assumption that noise is uniformly distributed across the dataset.
In practice, binary data is often heteroscedastic. For instance, in a movie rating dataset, a "super-buyer" might interact with almost every item, creating a row-wise bias. Conversely, a blockbuster movie might be watched by nearly everyone, creating a column-wise bias. Traditional models struggle to distinguish these systematic biases from the underlying latent patterns, leading to noisy and less interpretable results.
Methods: The BABF Framework
The researchers proposed BABF to address this by explicitly separating the generation of latent patterns from individual biases.
1. The Generative Model
BABF models the observed matrix $A$ as a combination of three components:
- Latent Boolean Pattern ($Z$): The product $X \otimes Y$.
- Background Flipping Error ($E$): Random noise.
- Bias Matrix ($B$): Determined by the product of row-specific ($\mu_i$) and column-specific ($\nu_j$) bias vectors.
2. Algorithmic Approach
The model is optimized using an iterative two-module approach:
prob_BMF: Updates the latent patterns $X$ and $Y$ using Max-Sum Belief Propagation, allowing the model to estimate factors while accounting for current bias estimates.Bias_infer: Updates the bias vectors $\mu$ and $\nu$ using a modified Mean Square Error (MSE) loss that targets observations not already explained by the latent patterns.
This architecture maintains a computational complexity of $O(mnk)$, ensuring it remains as efficient as standard probabilistic BMF methods while providing a more nuanced decomposition.
Experimental Validation
The authors evaluated BABF against state-of-the-art methods like MP, ASSO, and PANDA across diverse datasets:
- Synthetic Scenarios: 24 tests varying in density and noise levels confirmed that BABF consistently achieves lower reconstruction errors, particularly in high-bias environments.
- MovieLens: On this classic recommendation dataset, BABF provided a superior fit (higher log-likelihood) compared to standard models.
- Single-cell RNA-seq: In cancer datasets (Melanoma and Head/Neck cancer), BABF successfully identified "housekeeping genes"—genes active across almost all cells—separating them from the specific cancer-related patterns.
Key Insights and Results
- Bias as a Parameter: By treating systematic activity as a measurable parameter rather than noise, BABF allows the "true" latent structure to emerge more clearly.
- Improved Interpretability: In genomic data, the inferred patterns aligned more closely with known cell-type labels (measured by Adjusted Rand Index) than non-bias-aware methods.
- Robustness: The inferred bias levels showed high correlation ($>0.8$) with ground-truth values in simulations.
Conclusion and Future Directions
BABF represents a significant step forward in making BMF robust to real-world data irregularities. While highly effective, the model currently requires manual selection of the rank $k$, which can be computationally intensive. Future work may involve extending this bias-aware logic to Non-negative Matrix Factorization (NMF) for continuous data or incorporating domain-specific priors to further refine the decomposition process.
Summary updated