TL;DR
Traditional hierarchical clustering stops at the observed data, but what if the underlying hierarchy goes infinitely deeper? This paper introduces classification fields, a framework that treats clustering as a learnable, recursive geometric rule. By training a neural network on just the first few levels of a hierarchy, the authors demonstrate that it can successfully "roll out" to predict infinitely finer, unobserved sub-clusters with high stability.
What Problem Does This Paper Address?
Standard hierarchical clustering takes a fixed dataset and organizes it into a finite tree (a dendrogram) or a set of partitions. However, this finite-sample view fails when the true underlying structure is a recursive geometric object where refinements continue to finer scales than what we can directly observe.
Consider biological taxonomies, evolutionary trees, or fractal-like data distributions: we often only see a "prefix" of the full hierarchy. The authors tackle a fundamental question: Can we learn a local refinement rule from a finite observed prefix of a hierarchy and recursively roll it out to generate substantially deeper, unobserved levels?
Methods
The authors formalize this problem by introducing Classification Fields—infinite-depth hierarchical cluster structures on $\mathbb{R}^d$ generated by a local parent-to-child refinement rule.
Key components of their approach include:
- Classification Field Generator (CFG): A local rule ($r$) that maps a parent cluster center to an ordered, bounded, and separated tuple of child residuals. Combined with a root position and a scale factor ($s$), this rule recursively defines cluster centers and their corresponding Voronoi cells.
- Separation of Genealogy and Geometry: By indexing vertices by their address in the tree rather than just their spatial coordinates, the authors can rigorously compare finite truncations and infinite-depth completions using tree, point, and cell-based metrics.
- Classification Field Predictor (CFP): A neural network (specifically a ReLU MLP) trained to approximate the CFG by minimizing a residual loss over the observed training levels.
- Recursive Rollout: At test time, the learned CFP is applied self-consistently from the root. Each predicted child becomes the parent for the next level, generating deeper levels without any ground-truth guidance or teacher forcing.
The paper provides strong theoretical guarantees, proving that sufficiently deep finite rollouts exponentially converge to the true infinite-depth field under a completed cell metric, and that these refinement windows are fully realizable by ReLU networks of bounded width and depth.
Datasets
The authors evaluate the operational strength of CFPs across three settings with increasing levels of model mismatch:
- Matched CFG-Generated Hierarchies: Synthetic hierarchies generated directly by the theoretical model class to test ideal stability under repeated self-composition.
- Synthetic Nonlinear IFS Fractals: Out-of-family exact recursive hierarchies including the Sierpiński triangle, 2D Cantor dust, and Koch curve, perturbed with child-specific sinusoidal warps.
- Image-Induced Clustering Hierarchies: Real-world data consisting of frozen CLIP embeddings of the CIFAR-10 and CIFAR-100 datasets. Here, a ternary centroid hierarchy is induced via an existing deep clustering pipeline, serving as a noisy, approximate real-data stress test.
Key Insights and Ideas
- Clustering as a Generative Law: Instead of treating clustering as a static combinatorial summary of a dataset, this paper reframes it as discovering a reusable, continuous geometric law.
- Stability Under Self-Composition: A major risk in recursive rollouts is that errors compound exponentially, causing the predictor to drift. The "aha moment" is that a properly regularized neural network can learn a sufficiently coherent local rule to remain stable levels deep into the unseen.
- The Necessity of Slot Consistency: For a neural network to learn a parent-to-child mapping, the order of the children (slots) must be consistent across different parents. On real data (like CIFAR), the authors introduce a geometric preprocessing step using PCA projection to canonicalize child order, which is essential for successful training.
Key Results
- Matched CFG Rollout: The CFP maintains a stable, low mean squared error (MSE) across 9 unseen rollout levels, significantly outperforming location-independent templates and affine baselines which quickly degrade or plateau at higher errors.
- Fractal Generalization: On out-of-family nonlinear fractals, the CFP consistently achieves the lowest MSE, permutation-invariant Chamfer distance (PI-CD), and path metric distortion, proving it can capture complex recursive geometries.
- Real Image Embeddings: On the noisy, data-induced CIFAR hierarchies, the CFP successfully predicts level-6 centroids after training only on upper levels. The gains are particularly large in permutation-invariant metrics and path distortion, showing that the network preserves the large-scale branching geometry of the representation space.
Limitations and Future Work
The current framework relies on several strict assumptions: it requires a fixed branching factor (each parent must have exactly $K$ children), sufficient geometric separation between siblings, and a high degree of self-similarity across branches. If the underlying data hierarchy has weakly aligned slots or highly variable branching, the rollout quality can degrade.
The authors note that extending classification fields to handle noisy, variable-branching, and non-self-similar hierarchies represents an important and promising direction for future work.
Summary updated