Visualizing Overlapping Biclusterings and Boolean Matrix Factorizations

Thibault Marette, Pauli Miettinen, Stefan Neumann · DOI

Introduction

In data science, biclustering is a powerful technique for identifying groups of related items in bipartite graphs, such as users who share similar movie preferences or genes that respond to specific conditions. While visualizing disjoint clusters is straightforward—simply grouping rows and columns into distinct blocks—real-world data is rarely so tidy. Modern algorithms frequently identify overlapping clusters, where a single entity may belong to multiple groups simultaneously. This overlap creates a geometric challenge: it is often mathematically impossible to arrange rows and columns such that every cluster appears as a single, solid rectangle.

The Challenge of Overlapping Clusters

Previous visualization tools often struggled with this complexity, producing "salt and pepper" plots where clusters were fragmented into many tiny, disconnected pieces. This fragmentation makes it nearly impossible for human analysts to discern underlying structures or patterns. To address this, this research introduces a novel approach to matrix ordering that prioritizes visual coherence.

Comparison of matrix orderings on the Paleo dataset. The top plot shows a standard ordering with significant fragmentation, while the bottom plot uses the proposed TSP-based heuristic to create more contiguous, interpretable clusters.

A New Framework for Matrix Coherence

The authors define a "good" visualization through three formal mathematical objectives:

  1. Proximity: Members of the same cluster should be physically close, minimizing the cluster's convex hull.
  2. Consecutive Cluster Area: The visualization should maximize the size of solid, uninterrupted blocks within a cluster.
  3. Uninterrupted Area: A global objective to keep areas belonging to any clusters together, preventing visual "gaps" and maintaining flow.

To optimize these objectives, the paper introduces a Demerit score. This score penalizes the placement of adjacent rows or columns that have highly dissimilar cluster memberships. By treating rows and columns as nodes in a graph where the "distance" is the demerit score, the problem is transformed into a Traveling Salesperson Problem (TSP). Solving this TSP finds the optimal permutation that minimizes total demerit, effectively "threading" the data into a logical sequence for the human eye.

Experimental Evaluation

The researchers evaluated their TSP-based heuristic on 12 diverse real-world datasets, including newsgroup posts (20news), movie ratings (movieLens), fossil occurrences (Paleo), and Finnish dialect maps (Dialect). These datasets ranged from small (46x46) to medium-sized matrices (up to 10,000 columns).

Comparison of visualization coherence across a wider dataset. The bottom plot demonstrates the heuristic's ability to create significantly larger uninterrupted areas and better cluster proximity compared to baseline methods.

Key Results and Insights

  • Superior Coherence: The TSP-based approach consistently outperformed existing state-of-the-art methods like ADVISER. In the dialect dataset, the heuristic achieved an 18.9% higher score for uninterrupted areas.
  • Compact Clusters: For complex data like 20news, the method achieved a proximity score 30.8% lower (better) than previous benchmarks, indicating much more compact cluster representations.
  • Efficiency: Despite the NP-hard nature of the TSP, the optimized solver typically finishes in under one minute for medium-sized datasets, making it a practical tool for interactive analysis.
  • Global Perspective: A key insight of the work is that the global arrangement—how different clusters sit next to each other—is just as important for clarity as the internal cohesion of individual clusters.

Conclusion and Future Work

This TSP-based heuristic provides a significant leap forward in the visualization of overlapping Boolean data. While currently optimized for binary matrices, the framework offers a foundation for future adaptations to weighted or directed graphs. By focusing on minimizing visual "demerits," the method transforms messy, overlapping data into coherent structures that facilitate human discovery.

Summary updated

BibTeX
@inproceedings{marette2023visualizing,
  author = {Thibault Marette and Pauli Miettinen and Stefan Neumann},
  title = {{Visualizing Overlapping Biclusterings and Boolean Matrix Factorizations}},
  booktitle = {ECML/PKDD},
  year = {2023},
  doi = {10.1007/978-3-031-43412-9\_44},
}
Figure