Reproduce “Unsupervised Document and Template Clustering using Multimodal Embeddings” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Phillipe R. Sampaio, Helene Maxcici

This work systematically evaluates unsupervised document and template clustering using multimodal embeddings derived from various pre-trained models. The research demonstrates that while vision-only models excel on pristine data, text-based features provide robustness to degradation, with models fusing text, layout, and visual cues achieving the most favorable balance, and an HDBSCAN + k-NN variant producing noise-free cluster partitions.

Key insights

  • Vision-only encoders excel at unsupervised template discovery on pristine data, achieving near-perfect ARI (>0.99) with oracle-k algorithms, but exhibit brittleness under heavy visual degradation.
  • Architectures effectively fusing text, layout, and visual cues (e.g., LayoutLMv3, Donut) offer the most favorable robustness-accuracy trade-off across varying document conditions, performing well on both clean and some degraded data.
  • The HDBSCAN + k-NN variant consistently improves over plain DBSCAN by eliminating noise points, providing more actionable insights into embedding space topology and achieving noise-free partitions for `k`-unknown scenarios.
  • Larger encoder models do not universally enhance clustering; increased parameter count can sometimes degrade performance for density-based methods by smoothing out fine-grained density variations crucial for unsupervised discovery.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.