Baxter Permutation Process

Masahiro Nakano, Akisato Kimura, Takeshi Yamada, Naonori UedaNeurIPS 2020

In the realm of relational data analysis—such as mapping who follows whom on a social network or tracking interactions in a biological system—researchers frequently need to group rows and columns into distinct "blocks" or clusters. This technique is known as Rectangular Partitioning (RP).

Historically, models designed for RP have suffered from a significant "flexibility gap." The popular Infinite Relational Model (IRM) is rigid, only capable of creating regular, chessboard-like grids. The Mondrian Process (MP) offers more flexibility but is strictly hierarchical, forcing partitions into tree-like structures. Neither can represent "arbitrary" partitions: complex, real-world layouts where rectangles do not align in a simple grid or hierarchy. While some theoretical models like the Rectangular Tiling Process (RTP) can achieve this, they are notoriously difficult to work with mathematically and challenging to implement for Bayesian inference.

To bridge this gap, researchers have developed the Baxter Permutation Process (BPP), a novel Bayesian nonparametric model that can represent arbitrary rectangular partitions of data while remaining mathematically tractable.

Decoupling Topology and Geometry

The breakthrough of this paper lies in separating the problem into two interconnected processes: one for the layout's structure (topology) and one for its dimensions (geometry).

  1. Baxter Permutation Process (BPP): Modeling 2D geometry directly is highly complex. The authors bypassed this by exploiting a mathematical one-to-one correspondence between "Baxter permutations" (a specific class of 1D mathematical sequences) and "floorplan partitions" (the 2D topology of how rectangles fit together). They defined a discrete-time Markov process that grows these permutations one element at a time, effectively "growing" a complex floorplan step-by-step.
  2. Block-breaking Process (BBP): While the BPP handles the topology (which box is next to which), the BBP handles the geometry (how large each box is). Functioning as a multi-dimensional extension of the classic "stick-breaking process" used in Dirichlet Processes, the BBP uses Beta distributions to "break" existing blocks into smaller ones. This allows the model to perfectly fit the specific dimensions of the underlying data.
Illustration of the mapping between a continuous rectangular partition and its underlying discrete floorplan topology.

By combining these two processes, the authors created a generative model that can start with a single block and iteratively insert new ones into admissible positions, eventually reaching any arbitrary rectangular configuration. Crucially, the authors proved that the BPP satisfies projectivity (via the Kolmogorov extension theorem), ensuring the model remains mathematically consistent as more data is added—a strict requirement for Bayesian nonparametric models.

Performance and Key Results

The BBP model was evaluated against the IRM, MP, and RTP models using perplexity, a metric that measures how well a model predicts held-out data (where lower is better). The evaluation spanned both synthetic datasets and real-world social networks (Wiki-Vote, Facebook, Twitter, and Epinion from the SNAP repository).

  • Superior Flexibility: On synthetic data designed with "Arbitrary" partitions, the BBP significantly outperformed both the IRM and MP, which simply lack the mathematical vocabulary to describe non-grid, non-hierarchical shapes.
  • Real-World Accuracy: Across all four real-world social network datasets, the BBP consistently achieved the lowest perplexity, proving its practical utility in capturing complex relational structures.
An example of an arbitrary rectangular partition, demonstrating the flexibility of the Baxter Permutation Process compared to strict grid or hierarchical layouts.
  • Computational Efficiency: While the older RTP model can theoretically represent arbitrary partitions, the BBP proved much faster in terms of "wall-clock time" to reach a high-quality solution. The BBP's simpler, decoupled description allows for much more efficient Markov Chain Monte Carlo (MCMC) sampling.

Limitations and Future Directions

Despite its advantages, the BBP does have limitations. Because of its vast flexibility, the BBP "mixes" slower than the IRM; the IRM's rigid grid structure is simpler to navigate, allowing it to reach a stable state in fewer iterations.

To address this, the authors suggest that future work could incorporate more sophisticated inference techniques, such as Sequential Monte Carlo or Particle MCMC, to further improve the BBP’s performance and help it avoid local optima. Finally, the authors note an ethical consideration: because the BBP is such a powerful clustering tool, it could potentially reveal hidden, sensitive structures in relational data, necessitating careful handling of input data and privacy.

Summary updated

BibTeX
@inproceedings{nakano2020baxter,
  author = {Masahiro Nakano and Akisato Kimura and Takeshi Yamada and Naonori Ueda},
  title = {{Baxter Permutation Process}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2020},
}
Figure