English

Unsupervised Document and Template Clustering using Multimodal Embeddings

Computation and Language 2025-10-28 v3 Artificial Intelligence Computer Vision and Pattern Recognition

Abstract

We study unsupervised clustering of documents at both the category and template levels using frozen multimodal encoders and classical clustering algorithms. We systematize a model-agnostic pipeline that (i) projects heterogeneous last-layer states from text-layout-vision encoders into token-type-aware document vectors and (ii) performs clustering with centroid- or density-based methods, including an HDBSCAN + kk-NN assignment to eliminate unlabeled points. We evaluate eight encoders (text-only, layout-aware, vision-only, and vision-language) with kk-Means, DBSCAN, HDBSCAN + kk-NN, and BIRCH on five corpora spanning clean synthetic invoices, their heavily degraded print-and-scan counterparts, scanned receipts, and real identity and certificate documents. The study reveals modality-specific failure modes and a robustness-accuracy trade-off, with vision features nearly solving template discovery on clean pages while text dominates under covariate shift, and fused encoders offering the best balance. We detail a reproducible, oracle-free tuning protocol and the curated evaluation settings to guide future work on unsupervised document organization.

Keywords

Cite

@article{arxiv.2506.12116,
  title  = {Unsupervised Document and Template Clustering using Multimodal Embeddings},
  author = {Phillipe R. Sampaio and Helene Maxcici},
  journal= {arXiv preprint arXiv:2506.12116},
  year   = {2025}
}

Comments

24 pages, 12 figures

R2 v1 2026-07-01T03:16:49.889Z