BYOCL: Build Your Own Consistent Latent with Hierarchical Representative Latent Clustering
Jiayue Dai, Yunya Wang, Yihan Fang, Yuetong Chen, Butian Xiong
TL;DR
The paper tackles semantic inconsistency in single-image segmentation models like SAM when applied to image sequences. It introduces BYOCL, a zero-shot, plug-and-play pipeline that builds hierarchical representative latent clusters using the SAM image encoder, with intra-batch PCA+K-means and inter-batch refinement to enforce cross-image consistency. On DAVIS and MOSE benchmarks, BYOCL outperforms SAM in segmentation accuracy metrics and dramatically reduces computation time, while also enabling consistent segmentation without model training. The approach demonstrates the viability of hierarchical latent clustering for foundation-model-based segmentation and suggests avenues for improved multi-object segmentation.
Abstract
To address the semantic inconsistency issue with SAM or other single-image segmentation models handling image sequences, we introduce BYOCL. This novel model outperforms SAM in extensive experiments, showcasing its Hierarchical prototype capabilities across CLIP and other representations. BYOCL significantly reduces time and space consumption by dividing inputs into smaller batches, achieving exponential time reduction compared to previous methods. Our approach leverages the SAM image encoder for feature extraction, followed by Intra-Batch and Inter-Batch clustering algorithms. Extensive experiments demonstrate that BYOCL far exceeds the previous state-of-the-art single image segmentation model. Our work is the first to apply consistent segmentation using foundation models without requiring training, utilizing plug-and-play modules for any latent space, making our method highly efficientModels are available at \href{https://github.com/cyt1202/BYOCL.git
