- The paper establishes a variational and dynamical equivalence between K-Means and smooth RBF networks through Γ-convergence and an exact gradient-based recovery of centroid updates in the zero-temperature limit.
- Theoretical bounds show that soft centroids approach hard K-Means centroids exponentially under Softmax and at an O(σ) rate with Entmax-1.5, assuming bounded data, balanced clusters, and positive assignment margins.
- Experiments on four synthetic datasets confirm monotone convergence toward K-Means solutions, while the differentiable formulation enables joint clustering and representation learning but retains Euclidean Voronoi limitations.
Overview and motivation
This paper establishes a formal correspondence between classical K-Means clustering and differentiable Radial Basis Function (RBF) networks with smooth responsibility assignments. The authors' central claim is that K-Means is not merely approximated by an RBF network with Gaussian activations, but is exactly recovered as the zero-temperature limit of a specific entropically regularized RBF objective. The equivalence is established on two levels: a variational level, via Γ-convergence of the soft objective to the hard K-Means distortion, and a dynamical level, via recovery of the exact centroid update rule from gradient descent under a particular step-size choice.
The practical motivation is structural rather than algorithmic. K-Means relies on hard assignments that induce non-differentiable Voronoi partitions, which precludes its direct embedding in end-to-end gradient-based pipelines; in practice it is used as an external initialization or post-processing stage. By recasting K-Means as the low-temperature regime of a smooth loss, the paper enables joint optimization of centroids and learned representations within a single differentiable framework.
Variational reparametrization and Γ-convergence
The starting point is the standard joint formulation of K-Means over binary assignment indicators rij∈{0,1} with simplex constraints. Relaxing R to the probability simplex Δk−1 and adding an entropic penalty yields
Jσ(μ,r)=i,j∑rij∥xi−μj∥2+2σ2i,j∑rijlogrij,
whose inner minimizer over r is exactly the Softmax responsibility rij(σ;μ)=exp(−∥xi−μj∥2/2σ2)/ℓ∑exp(−∥xi−μℓ∥2/2σ2). Eliminating r produces the reduced functional Lσ(μ), identified with the weighted-distortion RBF loss.
The main theoretical result (Theorem 1) proves that Γ0 on compact sets of centroid configurations as Γ1, where Γ2. The proof uses the convex-combination lower bound for the liminf inequality and concentration of Softmax mass on the nearest-centroid set for the limsup inequality; by the fundamental theorem of Γ3-convergence, every accumulation point of minimizers of Γ4 is a minimizer of Γ5. A corollary extends this to the unconstrained case under coercivity of Γ6. The consequence is that optimal soft-RBF centers converge to optimal K-Means centroids — but only accumulation points are characterized, not uniqueness or global optimality, since both objectives remain non-convex.
Equivalence of update dynamics
The second contribution shows that gradient-based training recovers the discrete centroid mechanics. With responsibilities fixed, the loss reduces to a weighted least-squares form whose gradient is affine in each Γ7, so gradient descent is a contraction toward the soft centroid Γ8 whenever Γ9 (Lemma 1). The step size rij∈{0,1}0 achieves convergence in a single step; in the hard-assignment limit rij∈{0,1}1, this becomes rij∈{0,1}2, and Theorem 2 proves that with this learning rate the gradient step coincides exactly with the classical K-Means centroid update. The paper further argues that when the dependence of rij∈{0,1}3 on rij∈{0,1}4 is restored, the extra gradient terms vanish in the zero-temperature limit because the indicator-like responsibilities have zero derivative almost everywhere and decay exponentially.
A quantitative rate is given in Theorem 3: under bounded data (rij∈{0,1}5), balanced clusters (rij∈{0,1}6), and a positive assignment margin rij∈{0,1}7, the deviation between soft and hard centroids satisfies
rij∈{0,1}8
The assumptions matter: vanishing margins degrade the bound, and unbounded or heavy-tailed data can invalidate the control entirely, as the authors state explicitly.
Numerical stabilization via Entmax-1.5
Softmax responsibilities are numerically unusable at small rij∈{0,1}9: activations such as R0 underflow in finite precision, gradients collapse, and the theoretical limit cannot be reached computationally. The paper proposes replacing Softmax with Entmax-1.5, whose polynomial growth and sparsity keep assignments numerically controlled while preserving the ordering structure and hence the limiting Voronoi partition. Theorem 4 proves convergence of Entmax-1.5-based soft centroids to the K-Means solution at rate R1, i.e., polynomial rather than exponential. An appendix theorem generalizes the hard-assignment limit to all Entmax-R2 families with R3. The trade-off is explicit: numerical stability is purchased at the cost of a slower convergence rate.
Empirical validation
Experiments use four synthetic geometries (Gaussian blobs, two moons, spirals, concentric circles), R4, R5 steps, and R6 runs per configuration, with a logarithmic temperature schedule over R7. Centroid discrepancy is measured after optimal permutation alignment, under both fixed-initialization and resampled-initialization protocols. The reported findings are:
- Monotone collapse: for every dataset and every R8, soft-RBF centroids converge monotonically toward the hard K-Means fixed point.
- Rate verification: log–log fits yield empirical exponents R9 across all datasets under Entmax-1.5, consistent with (and strictly below the bound implied by) the proven Δk−10 rate; Softmax exhibits super-polynomial contraction consistent with the exponential bound.
- Geometry dependence: isotropic datasets converge stably, whereas manifold-structured data (moons, spirals) show faster but irregular trajectories reflecting deformation of attraction basins as responsibilities sharpen. One anomaly in the Gaussian-blob fixed-initialization curve arises from saturation due to dataset-dependent constants, which the authors retain deliberately to avoid cherry-picking.
Qualitative trajectory plots confirm that centroid paths contract onto the K-Means optima as Δk−11, with non-convex geometries producing winding paths due to the transition from global averaging to localized ownership.
Extensions to deep architectures
The differentiable loss Δk−12 can be added to any task loss as Δk−13, synchronizing centroid updates with representation learning and removing alternating minimization. Computationally, SoftRBF-Net adds only an Δk−14 sorting overhead per sample relative to K-Means' Δk−15 bottleneck, and expected sparsity Δk−16 can reduce accumulation cost below the classical method.
Two caveats are stated plainly by the authors. First, the formulation does not extend K-Means' geometric expressiveness: the method remains confined to Euclidean Voronoi partitions, and the contribution is computational rather than representational. Second, forcing latent spaces toward isotropy to suit K-Means suppresses curvature and nonlinear structure, leading the authors to discourage the approach for highly nonlinear manifold tasks. These are honest limitations: the equivalence guarantees recovery of K-Means behavior, including its well-known geometric restrictions.
Limitations and open questions
Several limitations constrain the scope of the results. All convergence guarantees require compactness or coercivity, bounded data, balanced clusters, and a positive margin Δk−17; degenerate or heavy-tailed settings fall outside the theory. The Δk−18-convergence result characterizes accumulation points of minimizers without addressing local-minima correspondence at finite temperature, initialization sensitivity, or whether the soft landscape's stationary points approximate those of Δk−19. Empirical validation is restricted to small synthetic datasets with Jσ(μ,r)=i,j∑rij∥xi−μj∥2+2σ2i,j∑rijlogrij,0; no real-data benchmarks or deep-network experiments are reported, so the claimed end-to-end integration remains demonstrated only in principle. Finally, the interaction between the adaptive step size Jσ(μ,r)=i,j∑rij∥xi−μj∥2+2σ2i,j∑rijlogrij,1 and stochastic mini-batch settings, where Jσ(μ,r)=i,j∑rij∥xi−μj∥2+2σ2i,j∑rijlogrij,2 estimates are noisy, is not analyzed.
Conclusion
The paper provides a rigorous two-level equivalence — variational (Jσ(μ,r)=i,j∑rij∥xi−μj∥2+2σ2i,j∑rijlogrij,3-convergence) and dynamical (exact recovery of the centroid update) — between K-Means and smooth RBF networks, together with a numerically stable Entmax-1.5 variant that preserves the limiting solution at a provable Jσ(μ,r)=i,j∑rij∥xi−μj∥2+2σ2i,j∑rijlogrij,4 rate. Experiments confirm monotone, geometry-consistent collapse of soft centroids onto K-Means fixed points. The framework's value lies in enabling differentiable embedding of clustering into neural pipelines, while its applicability is bounded by the Euclidean geometry it inherits and by assumptions on data scale, cluster balance, and separation margins that the theory makes explicit.