Manuscript Offprint
arXiv:2611.01594Autoencoder Based Deep Clustering of Point Clouds
Abstract
Motivated by a problem in Generative Specification-Producing AIs (SPAIs), we focus on a problem of deep clustering of three-dimensional shapes specified by point clouds. After reviewing clustering and deep clustering, we study the fully unsupervised pipeline in which a FoldingNet autoencoder is first trained for reconstruction and then -means++ is then applied to the resulting codewords. We report clustering accuracy (ACC), normalized mutual information (NMI) and adjusted Rand index (ARI) on ModelNet10 and ModelNet40 datasets, as a function of the number of clusters . We also provide t-SNE visualizations of the codewords, and discuss the choice of .
1 Introduction
We herein focus on the problem of deep clustering of three-dimensional shapes. Our motivation is the problem of Generative Specification-Producing AIs (SPAIs) [3]. SPAIs may have multimodal prompts (as transformer VLMs [9]) with diagrams (shapes) and text conveying design requirements. That is, a description of a new design is input and a “formal” design specification is output. The output specification is informed by the designs used to train (or fine-tune) a supervised-learned SPAI. A good design specification for a given set of requirements will be informed by similar ones used to train the SPAI. So, we are concerned with feature maps (encoders) that are useful for multimodal clustering to identify the similar designs used for training, i.e., a retrieval function [14].
In this paper, we focus our study on deep clustering of 3D shapes, which are typically specified by point clouds or tesselaations on their surfaces. These two formats can be translated from one to the other. Moreover, three-dimensional shapes are invariant to point-order specification [1], translations, rotations, and uniform dilations (or contractions) [10]. Hence, for consistency and simplicity, we focus our study on point clouds. In particular, we study the deep clustering of point clouds using a FoldingNet autoencoder [15].
This paper is organized as follows. We first give an overview of K-means clustering and of deep clustering, in which a learned feature map (encoder) is followed by clustering in the embedded feature (latent, activation) space, and of the cluster collapse to which deep clustering is particularly prone. We then describe the ModelNet datasets and the clustering metrics used, describe the autoencoder/K-means++ pipeline, and report experimental results on ModelNet10 and ModelNet40.
The main contribution is an empirical study of the fully unsupervised autoencoder/K-means++ pipeline for deep clustering of shapes: a FoldingNet autoencoder [15] is trained for reconstruction only, and K-means++ is applied to its codewords. We report results for experiments conducted using the ModelNet10 and ModelNet40 datasets [7], which pose challenges because they are highly imbalanced, examine the effect of the number of clusters K on the clustering metrics for both datasets, and analyze qualitatively which shape categories are merged in codeword space.

Figure 1: Illustrative example of clustering scenario with clusters.
where here respectively are the points of (point clouds) and is the Euclidean norm. See Figure 1 for a simple illustrative example with clusters.
Clearly, the cluster-distortion loss can be zero when . To optimize generalization performance (i.e., avoid overfitting), the number of clusters can be set using BIC [8, 13]. Treating -means as a spherical Gaussian mixture with shared variance, the BIC of a partition with residual mean square error (see equ. (15) below) is
where and is the common or average dimension of each encoded shape representation, where lower is better. A simpler additive form adds only the complexity term
to the cluster-distortion loss or . Alternatively, one can apply a heuristic approach such as the “elbow” method [11]: a clustering criterion that improves monotonically with , classically the cluster-distortion loss , is plotted against , and is set to the smallest value beyond which the marginal improvement obtained by adding one more cluster becomes small, i.e., to the “elbow” of the curve, past which the returns of increasing diminish.
On the other hand, cluster collapse is a phenomenon where all the training samples are assigned to only a few (even just one) cluster. -means may exhibit cluster collapse, e.g., when the cluster prototypes are poorly initialized.
Deep clustering involves a front-end feature map (encoder) and a back-end clustering. The motivation for applying clustering within a deep learning setting is that, for certain types of data, clustering applied directly to the "raw" input data may produce poor results. For example, consider object clustering in image domains. In different images, the same object may appear in different locations, at different scales, from different perspectives, and in the presence of noise and occlusion, within an image dataset. Applying clustering directly to the raw images is not likely to assign images representing the same object (but subject to these highly variable factors) to the same cluster. However, a deep neural network can learn embedded feature representations that are relatively invariant to these variable factors. Thus, a clustering method applied to deep learning embedded representations of images is much more likely to assign images containing the same object to a common cluster.
As another example, an attempt to detect poisoned samples in the training dataset of a DNN-based classifier has been based on clustering of embedded representations of the training data samples [12, 2, 13]. [12, 2] employ a two-component clustering approach (simple 2-means clustering in the case of [2]), while [13] employs a Gaussian mixture model whose number of components is determined by BIC. As another example, [6] also considers mixture models and penalizes the number of clusters.
Cluster collapse is more problematic for deep clustering when the feature map (encoder) and cluster prototypes (in the range of the feature map) are jointly learned: if the encoder is trained against a cluster-distortion objective, it can trivially reduce the distortion by mapping all inputs to (nearly) the same codeword . The fully unsupervised approach studied herein avoids this by decoupling the two problems. The encoder is first learned as the front end of an autoencoder [15] trained for reconstruction only, an objective that does not involve the prototypes and that forces the codeword to retain enough information about the input to reconstruct it, so that distinct shapes cannot all be mapped to the same codeword. The encoder is then fixed and K-means is applied to the resulting codewords, with the prototypes initialized by K-means++ seeding to guard against the collapse of K-means itself.
Regarding deep clustering of shapes in particular, the encoder should respect the invariances of three-dimensional shapes noted in the Introduction. Point-order invariance is built into point-cloud encoders such as PointNet [1] and FoldingNet [15] through a symmetric (max) pooling over points, while invariance to translation, rotation and uniform dilation (or contraction) is obtained by normalizing the shapes and, for the pre-aligned ModelNet variants used herein (Section 3), by the canonical orientation of the data .
3 ModelNet Datasets for Clustering
We use the two standard ModelNet benchmarks [7]. ModelNet40 (MN40) consists of 12,311 shapes from 40 categories (classes), officially split into 9,843 (80%) for training and 2,468 (20%) for testing; we use the pre-aligned (“auto-aligned”) variant in which all shapes of a class share a canonical orientation. ModelNet10 (MN10) is a subset of ModelNet40 containing 4,899 shapes from 10 categories (bathtub, bed, chair, desk, dresser, monitor, night stand, sofa, table, toilet). In both datasets each shape is a 3D triangle (surface) mesh in the .OFF format (see Figure 2), which we normalize by inscribing in a unit sphere and convert to a point cloud by uniformly sampling points from the surface. Both datasets are highly imbalanced: in MN10 the largest class (chair) has 989 shapes and the smallest (bathtub) 156, and in MN40 the class sizes range from 989 (chair) down to 84 (bowl) and 99 (cup), so the imbalance is more severe and the classes more numerous and fine-grained (e.g., desk, table, night stand and dresser, or flower pot, plant and vase).
For unsupervised clustering, we treat both datasets identically: we combine ModelNet's official test and training sets and re-partition the union at random into an 80% training split and a 20% held-out split
A semisupervised approach can employ pairs of training examples that must or cannot be in the same cluster, with corresponding contrastive-loss terms in the training objective.
Alternatively, the training dataset can be augmented by rotations, scalings and translations its samples.
(fixed random seed), which gives 3,920 / 979 shapes for MN10 and 9,849 / 2,462 shapes for MN40. The autoencoder is trained on the 80% split and its reconstruction loss is monitored on the 20% held-out split to detect overfitting of the encoder. Since the class labels are never used for training, K-means++ and the clustering metrics below are then computed on the codewords of all shapes (4,899 for MN10 and 12,311 for MN40).
We evaluate our approach using the following metrics:
- Accuracy (ACC): Clustering accuracy measures the percentage of samples correctly assigned to clusters using a plurality matching strategy. For each predicted cluster , we find the most common (plurality) true label within that cluster, then count how many samples in the cluster have that label. Let be the set of samples indexed assigned to cluster . The plurality label for cluster is:
where is the set of true class labels. The number of matching ground-truth and plural label assignments in cluster is:
The clustering accuracy is then:
where is the number of clusters and the total number of training samples. This metric ranges from 0 to 1, with 1 indicating perfect clustering.
- Normalized Mutual Information (NMI): This metric measures the information-theoretic agreement between true labels and predicted clusters. It quantifies how much information is shared between the two labelings, normalized by their individual entropies. The mutual information between true labels and predicted clusters is:
where is the joint probability, is the marginal probability of true label , and is the marginal probability of cluster . The entropies are:
The normalized mutual information is:
This metric ranges from 0 to 1, where 1 indicates perfect agreement and 0 indicates independence. NMI is symmetric and does not require label-to-cluster matching, making it robust to different numbers of clusters and classes.
car
bathtub
guitar
flower_pot

dresser

chair

bowl

bottle

radio

wardrobe

airplane

bed




table
xbox
glass_box
lamp




Figure 2: Some example ModelNet shapes and their labeled category.
- Adjusted Rand Index (ARI), this measures the pairwise similarity between two partitions while correcting for the agreement that would be expected by chance. ARI evaluates how many pairs of samples are clustered together in both labelings, compared to the expected number under a random assignment with the same cluster-size distribution. Let be the contingency table count of samples with true class and predicted cluster . Let denote the size of true class , and the size of predicted cluster . The number of sample pairs that appear in the same class and the same predicted cluster is:
The expected number of such same agreements under random labeling (with fixed class sizes and cluster sizes ) is:
The average number of same cluster pairs in the two partitions is:
The Adjusted Rand Index is then defined as:
ARI equals 1 when the two partitions are identical, equals 0 when the agreement matches the expected value under random labeling, and can be negative when the agreement is worse than random. ARI is symmetric and permutation invariant.
4 Autoencoder-Based Clustering
The approach studied herein is fully unsupervised, as outlined in Section 2: an encoder is obtained as the front end of an autoencoder trained for reconstruction only, and clustering is then performed by K-means++ on the codewords it produces. The class labels play no role at either stage and are used only to compute the metrics of Section 3.
4.1 FoldingNet Autoencoder
FoldingNet [15] consists of encoder and two-stage folding decoder . Given an input point cloud with points, the encoder produces a codeword (we use ). The encoder maps each point through a three-layer MLP to a 64-dimensional feature, aggregates local features by graph-based max pooling (), max-pools over all points to a global feature, and projects it to . Because of the final max pooling the codeword is invariant to the order in which the points are listed. The decoder reconstructs a point cloud by two folding operations: a fixed 2D grid ( in our experiments) is concatenated with the codeword and passed through an MLP to produce an intermediate 3D point cloud, which is again concatenated with the codeword and passed through a second MLP to produce the final reconstruction , with .
The autoencoder is trained on the 80% training split by minimizing the bidirectional (squared) Chamfer distance between input and reconstruction,
i.e., the squared counterpart of the distance of Section 2. The reconstruction loss on the 20% held-out split is monitored during training; the checkpoint with the lowest held-out loss is retained.
4.2 K-Means++ on Codewords
Once the autoencoder is trained, the decoder is discarded and every shape is mapped to its codeword . Clustering is then performed in codeword space with the Euclidean distance, i.e., the cluster-distortion loss of Section 2 is minimized with replaced by and prototypes :
Lloyd's algorithm alternates assignment of each codeword to its nearest prototype and recomputation of each prototype as the mean of the codewords assigned to it. As noted in Section 2, K-means is prone to cluster collapse and poor local minima when the prototypes are poorly initialized; we therefore use K-means++ seeding [4], in which each successive initial prototype is drawn from the codewords with probability proportional to its squared distance to the nearest prototype already chosen, so that initial prototypes are spread across the data. The algorithm is run from 50 independent seedings (each for up to 500 Lloyd iterations) and the solution with the lowest distortion (15) is retained.
The number of clusters K is not known a priori in the unsupervised setting. We sweep K over a range of values bracketing the number of classes
for MN10 and for MN40)
and examine the clustering metrics as a function of , which, together with the “elbow” heuristic or a BIC-type penalty (2) on the distortion, indicates a suitable range for . In the experiments we apply the elbow heuristic of Section 2 to the metric curves: the operating point is the at which the curves flatten—NMI and ARI cease to improve and ACC thereafter gains only by splitting classes that are already pure rather than by separating confused ones; it is marked by a box in Tables 1 and 2. Since NMI, ARI and ACC use the class labels, this is a label-informed reading of the elbow. We also report, without using the labels, the knee of the mean codeword distortion (15) (the of maximum distance to the chord joining the first and last points of the curve) and two BIC-type criteria: the Gaussian-mixture BIC (1) and the additive penalty (2). Note that for imbalanced datasets such as ModelNet10 and ModelNet40 the best need not equal the number of classes: small classes may be absorbed into neighboring ones while large, geometrically diverse classes may be split.
5 Experimental Results
All experiments use the 80/20 re-splits of Section 3 (3,920 / 979 shapes for MN10 and 9,849 / 2,462 shapes for MN40), 2,048 input points per shape, and . The same training protocol and the same K-means++ settings are used for both datasets; only the range of differs (Section 4.2).
5.1 Autoencoder Training
We train one FoldingNet autoencoder of Section 4.1 per dataset on its 80% training split. The encoder takes as input 2,048 points uniformly sampled from each shape, and the decoder outputs a 2,025-point reconstruction, corresponding to the size of the 2D grid that is “folded” into the target shape. The minimizing objective of the autoencoder is the averaged bidirectional Chamfer distance (14) between the source and target shape. Each autoencoder was trained for 100 epochs with Adam [5] (learning rate , halved every 25 epochs, batch size 32).
ModelNet10. Figure 3 shows the training and held-out Chamfer distance over epochs and some example reconstructions. The held-out loss tracks the training loss closely after about 30 epochs, indicating no overfitting of the encoder. The final Chamfer distance (reconstruction loss before applying KMeans++) was 0.0770 on the training split and 0.0775 on the held-out split; the checkpoint with the lowest held-out loss, reached at epoch 98 of 100, is used in the sequel. The reconstructions capture the global shape of each object (the overall extent of a bed or sofa, the top of a table, the back and seat of a chair) but smooth away thin structures such as table legs and chair spindles, which is typical of folding-based decoders with a single codeword.
ModelNet40. Figure 4 shows the corresponding curves and reconstructions for MN40. The final held-out Chamfer distance was 0.0697 (training 0.0699), with the lowest held-out loss reached at the last epoch (100 of 100). With 2.5 times more training shapes, the two curves are smoother than on MN10 and coincide after about 30 epochs, so there is again no overfitting of the encoder; the final loss is in fact slightly lower than on MN10, since the larger training set outweighs the greater diversity of the 40 categories. The reconstructions show the same behavior as on MN10: the coarse volume of a sofa, bathtub, mantel or bowl is reproduced faithfully, whereas the legs of a chair or the lid and legs of a piano are smoothed into a solid block, and categories with thin or highly articulated structures (plant, lamp, person, guitar, airplane) are reconstructed as their convex envelope.
5.2 K-Means++ Clustering of Codewords: ModelNet10
Table 1 and Figure 6 show clustering results for K-Means++ (50 restarts, up to 500 iterations each) on the encoder codewords of all 4,899 shapes, for K ranging from 2 to 20.
Table 1: Autoencoding/K-Means++ Clustering Results on ModelNet10 (all 4,899 shapes). Best value per column in bold; the boxed K is the elbow (operating point).
| # Clusters (K) | NMI | ARI | ACC |
|---|---|---|---|
| 2 | 0.363 | 0.179 | 0.359 |
| 4 | 0.591 | 0.429 | 0.549 |
| 6 | 0.734 | 0.686 | 0.737 |
| 8 | 0.758 | 0.757 | 0.789 |
| 10 | 0.733 | 0.678 | 0.796 |
| 12 | 0.721 | 0.627 | 0.801 |
| 14 | 0.709 | 0.565 | 0.817 |
| 16 | 0.710 | 0.564 | 0.848 |
| 18 | 0.700 | 0.521 | 0.851 |
| 20 | 0.690 | 0.472 | 0.856 |
Effect of the number of clusters. All three metrics increase steeply from K = 2 to K = 8, as the coarse partitions for small K are forced to merge dissimilar classes. NMI and ARI peak at K = 8 (NMI 0.758, ARI
Training Curves - MODELNET10

(a) Chamfer distance vs. epoch (training and held-out splits).

(b) Example shapes (blue) and their FoldingNet reconstructions (orange).
Figure 3: Training of the FoldingNet autoencoder on ModelNet10.
0.757, ACC 0.789 in Table 1), i.e., slightly below the number of classes, and the three metrics then behave differently for larger . ARI decreases monotonically beyond (to 0.472 at ) because ARI penalizes splitting a true class across several clusters: the large and geometrically diverse classes (chair, sofa, bed) are the first to be over-segmented as grows. NMI, by contrast, is nearly flat for (between 0.690 and 0.758), since splitting a class into pure sub-clusters costs little mutual information. ACC, which only
Training Curves - MODELNET40

(a) Chamfer distance vs. epoch (training and held-out splits).

(b) Example shapes (blue) and their FoldingNet reconstructions (orange).
Figure 4: Training of the FoldingNet autoencoder on ModelNet40.
credits the plurality class of each cluster, is not penalized by such splits at all and therefore keeps increasing with , from 0.789 at to 0.856 at (NMI 0.690, ARI 0.472), the end of the sweep; the gain, however, comes from additional clusters being carved out of already-pure classes (at , chair occupies three clusters of 90–100% purity, sofa four, bed two, table three and monitor two) rather than from separating the confused ones. Taken together, the curves exhibit a clear elbow at , which we take as the operating

Figure 5: t-SNE projection of FoldingNet codewords for ModelNet10, colored by KMeans++ cluster (, left) and by true class (right). Monitor, toilet, bathtub and the sub-groups of chair, sofa and bed form compact, well separated groups, whereas desk/table and night stand/dresser overlap in the center of the projection.
point of the autoencoder/KMeans++ pipeline on ModelNet10; this is consistent with the heuristics discussed in Section 2 and with the class imbalance of the dataset: the two “missing” clusters correspond to the small classes night stand and desk (286 shapes each), which are merged with their larger, geometrically similar neighbors dresser and table.
Label-free choice of . Figure 7 shows the mean distortion (15) and the Gaussian-mixture BIC (1) against . The knee of the distortion curve is at , which coincides with the boxed, label-informed elbow. Both BIC-type criteria select , the end of the sweep: mean distortion keeps falling, so neither (1) nor the additive penalty (2) has an interior minimum on these 512-dimensional codewords.
Which classes are separated. Figure 5 shows a t-SNE projection of the codewords for , colored by cluster assignment (left) and by true class (right). Classes with a distinctive global geometry, such as monitor, toilet, chair, bed and bathtub, form compact, well separated groups that are recovered almost exactly by KMeans++: at , the plurality clusters of monitor (two clusters, both 100% pure, together containing 92% of the class), chair (three clusters of 90–100%), toilet (99%), bed (93% and 83%), sofa (four clusters of 89–98%) and bathtub (97%) are all dominated by a single class. The errors concentrate on pairs of classes with similar overall shape: desk and table (a flat top with supports) are merged into a common region of codeword space (7% of desks fall into the main table cluster and 13% of tables into the main desk cluster, which is only 61% pure), as are night stand and dresser (box-like shapes differing mainly in aspect ratio; night stand's two plurality clusters are only 43–54% pure and a quarter of its shapes fall into the main dresser cluster), while bathtub leaks into the bed clusters (23% of the class; elongated, low, hollowed shapes). Because the codeword is learned only to minimize the reconstruction error (14), it encodes the coarse volume of the object faithfully while thin structures, which often carry the class-discriminative information (e.g., the drawers of a dresser or the legs of a table), are smoothed away in the reconstructions of Figure 3; this limits how well these class pairs can be separated by any clustering of the codewords. Such confusion is also consistent with the elbow at : the two merged pairs account for the two “missing” clusters relative to the ten classes.

MODELNET10 - ARI vs Number of Clusters

MODELNET10 - ACC vs Number of Clusters

Figure 6: NMI, ARI and ACC of KMeans++ on FoldingNet codewords vs. the number of clusters K (ModelNet10). NMI and ARI peak at K = 8; ACC keeps increasing up to K = 20.
5.3 K-Means++ Clustering of Codewords: ModelNet40
MODELNET10 - Distortion vs. number of clusters

MODELNET10 - BIC vs. number of clusters
Figure 7: Mean codeword distortion (top) and Gaussian-mixture BIC (1) (bottom) vs. on ModelNet10. The solid line marks the label-free knee , which coincides with the boxed elbow; (1) has no interior minimum and selects .
Figure 8 shows the t-SNE projection of the MN40 codewords for . Table 2 and Figure 9 show the corresponding clustering results: KMeans++ (50 restarts, up to 500 iterations each) on the codewords of all 12,311 shapes, for ranging from 10 to 80.
Effect of the number of clusters. All three metrics rise steeply from to : at the 40 classes are necessarily merged into ten coarse families (NMI 0.563, ARI 0.324, ACC 0.418). At the boxed operating point (NMI 0.687, ARI 0.528, ACC 0.658), ten clusters below the number of classes, the steep rise is over. NMI and ARI continue to a modest peak at (NMI 0.706, ARI 0.542) and then ARI falls (to 0.414 at ), because the large, geometrically diverse classes are over-segmented: at , chair occupies six clusters, sofa, mantel, vase and piano four each, and airplane, bed, bookshelf, monitor and table three each. NMI is flat for (between 0.687 and 0.706), since splitting a class into pure sub-clusters costs little mutual information. ACC, which only credits the plurality class of each cluster, continues to increase with but with diminishing returns: it gains 0.10 (from 0.658 to 0.753) when is increased from 30 to 80, since the additional clusters are mostly carved out of already-pure classes rather than separating the confused ones. The best measured ACC is 0.753 (NMI 0.695, ARI 0.414) at ,

Figure 8: t-SNE projection of FoldingNet codewords for ModelNet40, colored by KMeans++ cluster (, left) and by true class (right). Airplane, car, guitar, laptop, chair, toilet and monitor form compact, well separated groups, whereas the box-like furniture classes (night stand, dresser, tv stand, glass box, wardrobe, xbox) and the container-like classes (vase, cup, flower pot, plant) overlap in the center of the projection.
the end of the sweep. We keep as the operating point on ModelNet40: it is where the metric curves flatten, and the later NMI/ARI peak at is a small gain on an already flat plateau.
Label-free choice of . Figure 10 shows the mean distortion (15) and the Gaussian-mixture BIC (1) against . The knee of the distortion curve is at , five clusters above the boxed elbow. The additive penalty (2) selects , which coincides with the boxed operating point. The Gaussian-mixture BIC (1) again has no interior minimum and selects , the end of the sweep. Relative to MN10, the metric curves are flatter, so the label-informed peak (), the distortion knee () and the boxed elbow () no longer coincide.
Which classes are separated. Figure 8 shows the t-SNE projection of the codewords for . As on MN10, the classes with a distinctive global geometry are recovered almost exactly: at the plurality clusters of airplane (three clusters, each 100% pure), car (98%, containing 99% of the class), guitar (100%, containing 91% of the class), laptop (98%), range hood (97%), chair (six clusters, four of them 94–100% pure), monitor (99%, 83% and 94%), toilet (100% and 69%), mantel (four clusters, three of them 95–99%), sofa (four clusters of 82–98%), piano (100% and 86%), bookshelf (95% and 81%), bed (93% and 88%), keyboard (86%), bench (84% and 95%), bathtub (82%), stairs (81% and 96%), bowl (80%), bottle (83% and 73%) and table (96%, 85% and 70%) are all dominated by a single class. Such confusion concentrates on families of classes with similar coarse volume. The box-like furniture classes are the largest such family: dresser's plurality cluster is only 57% pure and is shared with night stand (which loses 22% of its shapes to it); night stand itself wins three clusters of only 24–42% purity; xbox and wardrobe each win a mixed cluster of 45–49% purity, and glass box, tv stand and radio share clusters in which no class exceeds 49%. The container-like classes form the second family: cup wins a cluster that is only 41% cup and 35% vase (and contains 66% of the cups), flower pot is absorbed by plant and vase, and lamp is scattered over clusters shared with plant, vase and stool. The flat, upright panels of curtain and door form the third family (their plurality clusters are 48–50% pure and each contains the other class). Less confused are: desk with table,
Table 2: Autoencoding/K-Means++ Clustering Results on ModelNet40 (all 12,311 shapes). Best value per column in bold; the boxed K is the elbow (operating point).
| # Clusters (K) | NMI | ARI | ACC |
|---|---|---|---|
| 10 | 0.563 | 0.324 | 0.418 |
| 20 | 0.663 | 0.522 | 0.583 |
| 30 | 0.687 | 0.528 | 0.658 |
| 35 | 0.691 | 0.536 | 0.676 |
| 40 | 0.695 | 0.526 | 0.691 |
| 45 | 0.706 | 0.542 | 0.712 |
| 50 | 0.699 | 0.505 | 0.717 |
| 60 | 0.696 | 0.433 | 0.725 |
| 70 | 0.692 | 0.414 | 0.734 |
| 80 | 0.695 | 0.414 | 0.753 |
stool with night stand & lamp, tent with cone. Sink is scattered over many clusters. As a result, three classes (flower pot, radio and stool) never obtain a cluster in which they form the plurality, even at K = 80, and most clusters won by increasing K beyond 30 are sub-clusters of chair, sofa, mantel, airplane, bed or bookshelf. These merged families are exactly the fine-grained categories that distinguish MN40 from MN10, and since the codeword is learned only to minimize the Chamfer distance (14), the class-discriminative thin structures (drawers, handles, the leaves of a plant) are smoothed away in reconstruction, which limits how well these families can be separated by any clustering of the codewords. Their number accounts for the gap between the elbow at K = 30 and the 40 classes.
5.4 Comparison Across Datasets
The two datasets are processed with an identical pipeline, so the differences in Tables 1 and 2 reflect the datasets rather than the method. On MN10 the autoencoder/KMeans++ pipeline attains its best NMI and ARI (0.76 and 0.76, with ACC 0.79) at the elbow K = 8, two clusters below the number of classes, and the errors are concentrated on two pairs of confusable classes; the highest ACC (0.856, with NMI 0.690 and ARI 0.472) is reached at K = 20 by over-segmenting chair, sofa and bed. On MN40 the elbow is at K = 30 (NMI 0.69, ARI 0.53, ACC 0.66), ten clusters below the number of classes, and the highest ACC (0.753, with NMI 0.695 and ARI 0.414) is likewise only reached at K = 80 by over-segmenting the large classes. All three metrics are lower on MN40 at the respective elbows (NMI 0.69 vs. 0.76, ARI 0.53 vs. 0.76, ACC 0.66 vs. 0.79), the drop being smallest for NMI and largest for ARI, and the gap between the elbow and the number of classes is larger (10 vs. 2 clusters). The label-free distortion knee agrees with the boxed elbow on MN10 (K = 8) and is off by five clusters on MN40 (K = 35 vs. K = 30); the Gaussian-mixture BIC (1) has no interior minimum on either 512-dimensional sweep. This is because MN40 contains many more confusable families and more small classes (flower pot, radio, stool, and to a lesser extent cup, xbox, wardrobe, tent, lamp, curtain and door) that are absorbed by larger, geometrically similar ones. On the other hand the ACC curves end at similar values (0.86 and 0.75 at K = 2× the number of classes), since over-segmentation is not penalized by ACC and the large classes of both datasets split into pure sub-clusters. In both cases the limiting factor is the same: a codeword trained for reconstruction alone encodes coarse volume faithfully but discards the thin, class-discriminative structures, so geometrically similar categories are not separable in codeword space regardless of K. This effect is most pronounced on MN40 where the confusable families are most numerous.
MODELNET40 - NMI vs Number of Clusters

MODELNET40 - ARI vs Number of Clusters

MODELNET40 - ACC vs Number of Clusters

Figure 9: NMI, ARI and ACC of KMeans++ on FoldingNet codewords vs. the number of clusters (ModelNet40). NMI and ARI peak at ; the boxed operating point remains , past which ACC improves only slowly up to .
MODELNET40 - Distortion vs. number of clusters

MODELNET40 - BIC vs. number of clusters
Figure 10: Mean codeword distortion (top) and Gaussian-mixture BIC (1) (bottom) vs. on ModelNet40. The solid line marks the label-free knee ; the dashed line is the boxed elbow . (1) has no interior minimum and selects .
6 Summary and On-Going Work
This paper concerns deep clustering of three-dimensional shapes specified by point clouds. We studied the fully unsupervised pipeline in which a feature map (encoder) is obtained through an autoencoding mechanism, which avoids the cluster collapse to which deep clustering is prone, and -means clustering is then applied to the encodings: a FoldingNet encoder is trained as part of an autoencoder for reconstruction only and -means++ is applied to its codewords. Experimental results are provided for the ModelNet10 and ModelNet40 point cloud datasets. On ModelNet10 the clustering metrics exhibit a clear elbow at clusters (NMI 0.76, ARI 0.76, ACC 0.79), slightly below the number of classes, with classes of distinctive global geometry (monitor, toilet, chair, bed, bathtub) recovered almost exactly and geometrically similar pairs (desk/table, night stand/dresser) merged in codeword space; ACC continues to rise to 0.856 at as the large classes are split into pure sub-clusters. On ModelNet40 the elbow is at (NMI 0.69, ARI 0.53, ACC 0.66), ten clusters below the 40 classes, with ACC rising only to 0.753 at ; all three metrics are lower than on ModelNet10 because the more numerous fine-grained families (night stand/dresser/xbox/wardrobe, glass box/tv stand/radio, vase/cup/flower pot/plant, curtain/door) are merged and three small classes (flower pot, radio, stool) never obtain their own cluster. The label-free knee of the codeword distortion (15) coincides with the boxed elbow on ModelNet10 () and is off by five clusters on ModelNet40 (); the Gaussian-mixture BIC (1) has no interior minimum on either sweep. In both cases the limiting factor is that a codeword trained for reconstruction alone encodes coarse volume faithfully but smooths away the thin structures that distinguish geometrically similar categories. Training the autoencoder is also the dominant computational cost of the pipeline, which matters for large-scale datasets. Future work within this pipeline includes studying the effect of the codeword dimension , the number of input points and early stopping of the autoencoder on the clustering metrics, and evaluating the pipeline on larger point-cloud datasets.
In on-going work, we are considering joint semisupervised learning of encoder and prototypes with pairwise contrastive loss penalties at the cluster level. Such penalties may improve performance on datasets with classes of high size variance and significant confusion among them. We are also considering multimodal encoders including a point-cloud modality.
Acknowledgements
This research was supported by NSF CMMI grant 2415752.
References
[1] R. Q. Charles, H. Su, M. Kaichun, and L. J. Guibas. PointNet: Deep Learning on Point Sets for 3D Classification and Segmentation. In Proc. IEEE CVPR, 2017.
[2] B. Chen, W. Carvalho, N. Baracaldo, H. Ludwig, B. Edwards, T. Lee, I. Malloy, and B. Srivastava. Detecting backdoor attacks on deep neural networks by activation clustering. In Proc. AAAI Workshop on Artificial Intelligence Safety (SafeAI), 2019.
[3] Mike Dodds, Joe Kiniry, and Shauna Sweet. Generative AI for Specifications. https://www.galois.com/articles/generative-ai-for-specifications, 2024.
[4] R.O. Duda, P.E. Hart, and D.G. Stork. Pattern classification. Wiley, 2001.
[5] Diederik Kingma and Jimmy Ba. Adam: A method for stochastic optimization. https://arxiv.org/abs/1412.6980, 2014.
[6] B. Kulis and M.I. Jordan. Revisiting K-means: New Algorithms via Bayesian Nonparametrics. In Proc. ICML, 2013.
[7] Princeton ModelNet. https://modelnet.cs.princeton.edu.
[8] G. Schwarz. Estimating the dimension of a model. Annals of Stats, 6:461–464, 1978.
[9] Jasdeep Singh, Vincent Ying, and Alex Nutkiewicz. Attention on Attention: Architectures for Visual Question Answering (VQA). https://arxiv.org/abs/1803.07724, 2018.
[10] C. Small. The Statistical Theory of Shape. Springer, 1996.
[11] R. L. Thorndike. Who belongs in the family? Psychometrika, 18(4):267–276, 1953.
[12] B. Tran, J. Li, and A. Madry. Spectral signatures in backdoor attacks. In Proc. NIPS, 2018.
[13] Z. Xiang, D.J. Miller, and G. Kesidis. A Benchmark Study of Backdoor Data Poisoning Defenses for Deep Neural Network Classifiers and A Novel Defense. In Proc. IEEE MLSP, Pittsburgh, 2019.
[14] X. Xiao, S. Joshi, and J. Cecil. Critical assessment of Shape-Retrieval Tools (SRTs). Int'l Journal of Advanced Manufacturing Technology, 2021.
[15] Y. Yang, C. Feng, Y. Shen, and D. Tian. Foldingnet: Point cloud auto-encoder via deep grid deformation. https://arxiv.org/abs/1712.07262, 2018.