Papers › GraPix: Exploring Graph Modularity Optimization for Unsupervised Pixel Clustering
GraPix: Exploring Graph Modularity Optimization for Unsupervised Pixel Clustering
Sonal Kumar, Arijit Sur, Rashmi Dutta Baruah
A vision transformer learns high-quality patch embeddings during the self-supervised training, which plays a crucial role in many unsupervised downstream tasks like object localization, object detection, and sparse semantic segmentation. Such downstream tasks explore the various properties of the patch affinity graph to achieve state-of-the-art performance in an unsupervised setting. However, the true potential of the patch affinity graph is yet to be harnessed for the dense semantic segmentation task. The existing works show that modularity is an essential property of a graph, which reflects the strength of the existing graph partitions. We argue that joint optimization of feature clustering in patch embedding space and graph modularity in node attribute space leads to a smooth training convergence and achieves better results. In this paper, we propose a novel end-to-end unsupervised learning method called GraPix, which utilizes the hidden property of patch embeddings extracted from a self-supervised vision transformer for the dense semantic segmentation task. The GraPix constructs an affinity graph based on patch similarities in their embedding space. Next, it learns highly discriminative centroid embeddings for dense semantic segmentation with our novel joint feature clustering and graph modularity optimization objective. The experiment results show that GraPix outperforms the state-of-the-art method on the SUIM dataset and achieves the second-best performance on the Cityscapes dataset. Also, we perform a detailed ablation to justify the choice of model components and hyper-parameters. The code is available at https://github.com/SonalKumar95/GraPix.
Code
Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.
Code Syntology ran Syntology
Not run by Syntology. Nothing on this page verifies that the listed code works.
Tasks
Results from the paper archive 2025-07-28
| Task | Dataset | Model | Metric | Value | Rank at snapshot | Leaderboard | Report |
|---|---|---|---|---|---|---|---|
| Unsupervised Semantic Segmentation | Cityscapes test | GraPix + AUT | mIoU | 14.54 | #10 of 14 | Archive leaderboard | report |
| Unsupervised Semantic Segmentation | Cityscapes test | Grapix | mIoU | 14.33 | #11 of 14 | Archive leaderboard | report |
| Unsupervised Semantic Segmentation | Cityscapes test | GraPix | Pixel Accuracy | 64.89 | #14 of 14 | Archive leaderboard | report |
| Unsupervised Semantic Segmentation | SUIM | GraPix + AUT | Pixel Accuracy | 65.48 | #2 of 4 | Archive leaderboard | report |
| Unsupervised Semantic Segmentation | SUIM | GraPix + AUT | mIoU | 30.78 | #2 of 4 | Archive leaderboard | report |
| Unsupervised Semantic Segmentation | SUIM | GraPix | Pixel Accuracy | 64.06 | #4 of 4 | Archive leaderboard | report |
| Unsupervised Semantic Segmentation | SUIM | GraPix | mIoU | 28.98 | #4 of 4 | Archive leaderboard | report |
Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.
Methods
Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections