TRANSMISSION // 2611.34012v1

CARROT Lets Graph Clusters Find Their Own Size

Source published

A new clustering method aims to discover both how many groups a graph contains and how unequal those groups are. On five benchmarks, CARROT performed strongly, but broader testing is still needed.

AI-generated conceptual illustration for CARROT Lets Graph Clusters Find Their Own Size
AI-generated conceptual illustration; not documentary evidence.

Graphs—from citation networks to co-purchase records—can contain communities of very different sizes. CARROT is designed to identify those groups without being told their exact number in advance, while avoiding a built-in push toward equal-sized clusters.

Finding groups without deciding their number first

A graph represents things as nodes and their connections as edges. In a citation graph, for example, nodes might be research papers and edges the citations between them. Clustering such a graph means sorting its nodes into groups that make sense both from their connections and, when available, their features. For papers, those features might describe their text or topics.

Two practical complications can make this difficult. The number of meaningful groups is often unknown, and the groups may be very unequal in size. Yet many clustering methods need the number of groups as an input or tend to produce more balanced partitions than the data supports. That can blur smaller communities or split larger ones.

The authors of CARROT—short for Competitive Adaptive Graph Clustering via Semi-Relaxed Optimal Transport—set out to address both problems at once. Their method is unsupervised: it does not use ground-truth group labels to train the clustering. Instead, it learns from the graph structure and node features.

A flexible assignment process

CARROT first trains a graph neural network to give each node a numerical representation, or embedding, that reflects graph structure. It then places candidate group representatives, called prototypes, in the same embedding space and assigns nodes to them.

The assignment step uses a technique called semi-relaxed optimal transport. In plain terms, it treats nodes as units of mass to be distributed among prototypes. Every node must be assigned, but the method does not force each prototype to receive a predetermined share. This makes room for groups of different sizes.

The method begins with more candidate prototypes than it expects to need. A competition loss encourages assignments to concentrate on prototypes that attract substantial support. A pruning step then removes prototypes with too few assigned nodes. Together, these steps are intended to estimate the number of clusters as well as their memberships. The initial candidate count, or upper bound, still has to be supplied, though the paper reports that CARROT worked across a tested range of such bounds.

Results on five benchmarks

The researchers tested CARROT on five public attributed-graph benchmarks: three citation networks, a co-purchase network, and a co-authorship network. They compared it with five graph-clustering approaches that can also operate without a fixed cluster count. Results were averaged over ten random seeds.

Using two measures of agreement with benchmark labels—normalized mutual information (NMI) and adjusted Rand index (ARI)—the paper reports that CARROT outperformed the comparison methods on all five datasets. It also estimated cluster counts close to the benchmark counts across those datasets. The authors further examined two networks with particularly uneven group sizes. Their visual analysis suggests that CARROT better preserved those size differences than several of the compared methods.

Ablation tests, which remove parts of a system to see what changes, support the importance of both the flexible transport assignment and the competition loss. Without semi-relaxed transport, the assignments were constrained toward a fixed distribution of cluster sizes. Without competition, the model often retained all its candidate prototypes rather than reducing their number.

The results were not uniformly best on every measure. On the co-purchase benchmark, two comparison methods scored higher on the combined internal measure of modularity and the Calinski–Harabasz Index. The authors caution that this index can favor coarser partitions, making comparisons difficult when methods produce different numbers of clusters. They also report that performance depends more noticeably on the entropic-regularization setting than on the tested range of another transport parameter.

What the evidence does—and doesn’t—show

These findings are promising evidence on five established benchmarks, not proof that CARROT will work equally well on every real-world graph. Benchmark labels make it possible to score agreement, but unsupervised use in practice may not offer a clear definition of the “correct” communities. A partition that fits labels also need not be the most useful one for a particular application.

The paper’s comparisons have practical limits, too: the authors say they could reproduce results for most baselines using public code, but one baseline’s results came from its original paper because its code was unavailable. Some metrics have known biases, and the authors themselves advise caution when cluster counts differ substantially. Larger and more varied evaluations would help establish how well the method generalizes.

The supplied paper text identifies this work as a 2026 conference-style manuscript, but its citation still contains placeholder proceedings and DOI details. It should therefore be treated as a preprint or manuscript rather than as evidence of a finalized, peer-reviewed publication. CARROT offers a clear approach to two common clustering challenges; independent replication and testing beyond these five benchmarks remain important.

Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.