In the world of machine learning, we often represent relationships—like which users buy which products, or which proteins interact with which chemicals—as massive matrices. To make sense of this data, we try to find "clusters" or blocks of similar entries. But for years, we’ve been stuck with a choice: use a rigid grid that doesn't fit the data well, or use complex models that are a nightmare to analyze mathematically.
A team from NTT Communication Science Laboratories has proposed a third way. Their paper, "Rectangular Tiling Process," introduces a new stochastic model that allows for arbitrary, flexible "tiles" in a matrix while keeping the math clean enough for infinite-dimensional data analysis.
The Problem with Grids and Trees
When analyzing relational data, traditional models like the Stochastic Block Model (SBM) use a "regular grid" approach. If you split a row into two clusters, that split must persist across every single column. This is incredibly restrictive. If a specific group of users only behaves uniquely for a tiny subset of products, a grid model forces you to split those users across all products, creating "ghost" clusters where none exist.
The Mondrian Process (MP) improved on this by allowing hierarchical splits (like a tree), but it still cannot represent "arbitrary" tilings—arrangements where rectangles don't follow a strict recursive splitting rule. Until now, models for arbitrary tiling were mathematically "unfriendly," making it nearly impossible to calculate basic statistics like the expected size of a block.
The Rectangular Tiling Process (RTP)
The Rectangular Tiling Process (RTP) is a novel Bayesian nonparametric model that partitions matrices into arbitrary, non-overlapping rectangles. The authors bridge the gap between flexibility and mathematical rigor using a multi-step approach:
- Local Growth Algorithm (LGA): They start with a simple 2x2 array and define a probabilistic way to decide if adjacent cells belong to the same block. They use two parameters, $p$ (the probability of merging) and $q$ (a balancing factor), to ensure the model is "projective"—meaning it stays consistent regardless of the scale you're looking at.
- Repeated LGA (RLGA): They scale this up to any $m \times n$ matrix by "growing" the blocks from one corner to the other.
- Conditional Projectivity: A major challenge in Bayesian nonparametrics is ensuring a model works for "infinite" data. A naive growth algorithm is biased by the direction it grows. To fix this, the authors use Orbanz’s Theorem. They first use a Mondrian Process to create a hierarchical "skeleton" of boxes, then apply the RLGA within those boxes using randomized directions.
This hybrid approach allows the model to be "arbitrary" at the local level while remaining mathematically sound at the infinite scale.
Key Insights and Results
The authors evaluated RTP against the Mondrian Process using three real-world relational datasets: an Animal feature matrix, a Donations matrix, and a Cities dataset.
- Parsimony is King: The most striking takeaway is that RTP finds much cleaner representations of data. Because it isn't forced to split entire rows or columns, it can identify a dense cluster of features for a specific group without cluttering the rest of the matrix with unnecessary partitions.
- Better Fit (Perplexity): In almost all tests, RTP achieved lower perplexity (a measure of how well the model predicts unseen data) than the Mondrian Process. On the Animal dataset, the RTP variant achieved a perplexity of 1.688 compared to the MP's 1.806.
- Efficiency: RTP tends to achieve better results using fewer blocks, consistently finding more "parsimonious" explanations—essentially doing more with less.
- Mathematical "Projectivity": The paper leans heavily on the concept of projective limits. If you have a model for an infinite matrix, any finite sub-matrix you pull out of it should follow the same rules. RTP is the first arbitrary tiling model to achieve this "conditional projectivity."
Limitations and Future Work
The authors are transparent about two main hurdles. First, the current inference method (MCMC) is computationally expensive because it uses the Mondrian Process as a subroutine. Second, the model's performance is currently quite dependent on how the MCMC chain is initialized.
Future work will focus on more sophisticated inference techniques, such as combinatorial optimization or measure factorization, to make RTP fast enough for truly massive "big data" applications.
Summary updated