Sinkhorn Based Associative Memory Retrieval Using Spherical Hellinger Kantorovich Dynamics

Aratrika Mustafi, Soumya MukherjeeNeurIPS 2026

TL;DR

Classic Hopfield networks recall memories stored as static vectors, which falls flat when your data is a noisy 3D LiDAR scan, a multimodal distribution, or a weighted cloud of features. Mustafi and Mukherjee introduce a Dense Associative Memory that stores and retrieves entire weighted point clouds directly. By combining optimal transport with mass reweighting, their system smoothly morphs corrupted point-cloud queries back into clean, complex shapes—preserving vital geometric structure that simpler vector or Gaussian approximations erase.

What Problem Does This Paper Address?

Associative memories retrieve data by association rather than an address: hand the system a corrupted cue, and it rolls "downhill" along an energy landscape until it settles into an attractor representing a stored memory. Modern versions (Dense Associative Memories, closely linked to Transformer attention) boast massive storage capacities, yet almost all of them assume memories are flat vectors.

In modern machine learning, however, data often lives naturally as a probability distribution or an empirical measure—think of weighted point clouds, histograms, or particle approximations representing uncertainty. A recent prior approach extended associative memory to distributions, but restricted every memory to be a single Gaussian. Look at the shapes below: a ring, a cross, a square, and a spiral.

Figure 1: The eight stored point cloud pattern types in a identical-moment test bank. Each cloud has 64 uniformly weighted atoms and the same empirical mean and covariance; only higher-order shape distinguishes the stored patterns. This motivates a general nonparametric method such as SinkhornSHK Algo.

Every single one of those eight clouds has the exact same empirical mean and covariance. To a Gaussian-based memory, they are completely indistinguishable. Furthermore, standard optimal transport (Wasserstein) dynamics can slide points around in space, but keep their weights frozen—a major flaw when weights encode critical info like sensor intensity or saliency. The challenge is building a memory that natively stores discrete, non-Gaussian point clouds and updates both where the points are and how much weight they carry.

Methods

The authors treat stored memories and queries as finitely supported probability measures—collections of $M$ particles with specific spatial coordinates and positive weights summing to one.

  1. Sinkhorn Log-Sum-Exp Energy: Standard modern Hopfield networks build an energy function using vector inner products. Here, the authors swap inner products for the debiased Sinkhorn divergence—a computationally tractable, entropically regularized version of optimal transport distance that compares two point clouds while subtracting out entropic self-bias.
  2. Spherical Hellinger-Kantorovich (SHK) Dynamics: To minimize this energy without breaking the rules of probability, they derive a gradient flow in SHK geometry. Think of SHK as a two-part engine:
  3. Transport (Kantorovich): Uses Sinkhorn couplings to calculate deterministic "barycentric projections," sliding query particles toward where they belong in space.
  4. Reaction (Spherical Hellinger): Applies a multiplicative update on the probability simplex, dynamically growing or shrinking particle weights while guaranteeing they stay positive and sum to one.

Discretizing this continuous flow yields SinkhornSHK Algo, a deterministic, iterative retrieval algorithm.

Datasets

Because distributional associative memory is a nascent area, the authors evaluate their method on custom synthetic benchmarks alongside real-world 3D sensor data:

  • Synthetic Point-Cloud Suites: Clouds generated from Gaussian, multimodal, nonlinear, and generalized-KL Bregman-ball distributions, hit with corruptions like heavy-tailed Student-$t_3$ noise, gross outliers, and directional occlusions.
  • Diagnostic Stress-Tests: Newly constructed Identical-Moment Shapes (8 distinct geometric shapes sharing identical first two moments) and Shared-Support Weights (12 memories with identical point coordinates, distinguished solely by their weight distributions).
  • Sydney Urban Objects Dataset: Real-world outdoor 3D LiDAR scans where 3D coordinates form the support locations and laser return intensities define the particle weights.

Key Insights and Ideas

  • Exponential capacity via pure geometry: You don't need separated centers of mass to store exponentially many memories. Using random pattern models, the authors prove that the number of disjoint retrieval basins scales exponentially with ambient dimension—even if every stored cloud shares the exact same mean, separated purely by spatial orientation and shape.
  • Dodging singularities: Letting points move and weights fluctuate invites mathematical disasters: particles might collide, weights might hit zero, or points might escape the domain. The authors prove local basin invariance: start reasonably close to a memory with a proper step size, and the dynamics stay safely trapped in a well-behaved neighborhood, converging geometrically fast to an attractor exponentially close to the true memory.
  • Transport + Reaction beats either alone: Moving points without reweighting (or vice versa) leaves accuracy on the table. Coupling both yields markedly lower reconstruction error when recovering corrupted distributions.

Key Results

Across finite-step retrieval tests ($K = 80$ steps), SinkhornSHK (SHK) consistently outperforms a fitted Gaussian/Bures Dense Associative Memory (BW-DAM) and a vectorized Euclidean Hopfield baseline:

Table 1: Exact source-memory recall (%). Each row uses identical source identities and corruption draws across methods. BW-DAM uses fitted Gaussian moments here.
  • Breaking the Gaussian ceiling: On the Identical-Moment Shapes test, BW-DAM essentially guesses at random (12.50% recall across 8 patterns), while SHK achieves 95.00% exact recall.
  • Real-world 3D LiDAR: On Sydney Urban Objects, SHK achieves 68.81% exact source recall (and 77.28% class recall), more than doubling BW-DAM (26.75%) and quadrupling the Euclidean baseline (14.57%).
  • Robustness vs. Outliers: Across the 2,400-cue synthetic benchmark, SHK nails 600/600 heavy-tailed Student-$t_3$ cues and 596/600 occluded cues, though performance dips on gross-outlier corruptions (406/600).
  • Nuance in weight-only tasks: On the Shared-Support Weights ablation, turning off spatial movement ("reaction-only") actually scored higher exact recall (57.08%) than full SHK (46.67%), though full SHK still achieved the lowest final Sinkhorn divergence (reconstruction error) across all corruption severities.

Limitations and Future Work

Computing Sinkhorn potentials and couplings against every stored memory at every step carries a real computational cost compared to closed-form matrix math. Furthermore, theoretical guarantees are strictly local—queries must start within a sufficiently clean neighborhood of a target memory, with bounded step sizes, to ensure particles don't collide or vanish—and empirically, gross spatial outliers remain a vulnerability. For future work, the authors point toward faster retrieval implementations, adaptive entropic regularization, and broader applications on real-world point-cloud tasks.

Summary updated

BibTeX
@inproceedings{mustafi2026sinkhorn,
  author = {Aratrika Mustafi and Soumya Mukherjee},
  title = {{Sinkhorn Based Associative Memory Retrieval Using Spherical Hellinger Kantorovich Dynamics}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=fgXY4eVgge},
}
Figure