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

TensOrMachine: Probabilistic Boolean Tensor Decomposition

Tammo Rukat, Christopher C. Holmes, Christopher YauarXiv 2018

Introduction

In fields ranging from genomics to social network analysis, data often arrives in multi-way formats known as tensors. When this data is binary—representing presence/absence or yes/no interactions—Boolean Tensor Decomposition (BTD) is a powerful tool for uncovering latent, interpretable structures. However, traditional BTD methods are predominantly deterministic, making them sensitive to noise, unable to handle missing data gracefully, and challenged by the problem of model selection (determining the optimal tensor rank).

Methodology

TensOrMachine addresses these limitations by reformulating BTD as a probabilistic generative process. The model assumes that each entry in a binary tensor is a realization of a Bernoulli distribution, where the success probability is determined by the Boolean product of latent binary factors.

Schematic of Boolean Tensor Decomposition (BTD) where a tensor is represented as a Boolean sum of rank-1 components.

To bridge the gap between discrete Boolean logic and continuous probabilistic inference, the authors utilize a logistic sigmoid function parameterized by a noise variable, $\lambda$. This allows the model to approximate strict Boolean operations while remaining differentiable. Notably, TensOrMachine employs an "event-level inhibition" model, which differs from the classic "Noisy-OR" approach by assuming that inhibition affects the final outcome rather than individual causes. This acts as a natural Bayesian Occam’s Razor, favoring sparser and more parsimonious explanations.

Inference is performed via an efficient Gibbs sampling engine that exploits the combinatorial properties of Boolean logic—such as the fact that a single "0" in an AND-chain determines the outcome—to achieve linear scaling with tensor dimensions. This framework also handles missing data elegantly by marginalizing it out, allowing the model to perform tensor completion naturally.

Experimental Evaluation

The performance of TensOrMachine was benchmarked against the state-of-the-art deterministic method, dbtf, using both synthetic simulations and large-scale real-world datasets:

  • Synthetic Tensors: 20x20x20 random tensors used to evaluate reconstruction accuracy under varying noise levels, ranks, and densities.
  • Hospital and Classroom Interactions: Tensors capturing proximity between individuals over time.
  • Cancer Gene Expression (TCGA): A massive 3-way tensor (patient × gene × gene) containing over 10 billion observations, designed to test the limits of scalability.

Key Results

TensOrMachine consistently outperformed dbtf across all synthetic benchmarks. As shown in the comparative analysis, the model maintains superior reconstruction accuracy as noise levels increase and scales more effectively with higher tensor ranks.

Performance comparison between TensOrM and dbtf across varying noise levels, tensor densities, and ranks.

The model's scalability was most evident on the 10-billion-point TCGA dataset. TensOrMachine completed the decomposition in approximately 10 hours on a single machine, whereas the baseline dbtf failed due to memory constraints even on high-performance hardware. In biological applications, the model successfully recovered known signaling pathways (e.g., Hippo, Wnt) and identified cancer-specific gene networks, achieving 91% accuracy in classifying cancer types based on the inferred binary features.

Discussion

By moving from a deterministic to a probabilistic framework, TensOrMachine provides a robust and scalable solution for Boolean tensor analysis. Its ability to handle noise and missing data makes it uniquely suited for real-world applications where data is often incomplete or corrupted. While the underlying optimization remains NP-hard, the sampling-based approach offers a practical and highly effective approximation for large-scale discovery in complex multi-way data.

Reference: Rukat, T., Holmes, C. C., & Yau, C. (2018). TensOrMachine: Probabilistic Boolean Tensor Decomposition. arXiv:1805.04582v1 [stat.ML].

Summary updated

BibTeX
@misc{rukat2018tensormachine,
  author = {Tammo Rukat and Christopher C. Holmes and Christopher Yau},
  title = {{TensOrMachine: Probabilistic Boolean Tensor Decomposition}},
  year = {2018},
  eprint = {1805.04582},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1805.04582},
}
Figure