NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Modeling Deep Features with Directional Statistics

18 concepts10 papers1 proposal

When we train deep neural networks, we often normalize our feature vectors or compare them using cosine similarity. This design choice is incredibly common in contrastive learning, vision-language models, and metric learning. Geometrically, normalization forces high-dimensional feature vectors to live on the surface of a unit hypersphere.

Yet, when it comes to modeling the distributions, clusters, or uncertainties of these features, our default statistical tool remains the Euclidean Gaussian distribution. This creates a fundamental geometric mismatch.

A growing body of research addresses this mismatch by replacing Euclidean models with directional statistics—most notably the von Mises-Fisher (vMF) distribution. By modeling features directly on the hypersphere, these approaches unlock more stable training, better out-of-distribution detection, and more accurate semantic clustering.

The Failure of Gaussians on the Hypersphere

To understand why directional statistics work, we must first understand why standard Gaussian models fail when applied to normalized deep features.

1. The Curse of High-Dimensional Covariance

A multivariate Gaussian distribution relies on a covariance matrix to capture the shape of data. In high-dimensional latent spaces (often hundreds or thousands of dimensions), estimating a full covariance matrix requires an impractically large amount of data. If the data is sparse, the covariance matrix becomes singular or computationally unstable. As shown by Xuefeng Du et al. and Jingyue Gao et al., switching to directional distributions avoids this instability entirely because they do not require estimating massive, unconstrained covariance matrices.

2. Probability Mass Leakage

A Gaussian distribution assumes data can exist anywhere in flat Euclidean space. When we fit a Gaussian to data that actually lies on a sphere, the distribution places a massive amount of its probability density in the empty interior of the sphere. Li Ju et al. demonstrate that this geometric inconsistency causes probability mass to "leak" into the center of the sphere where no data can physically exist, severely distorting uncertainty estimation in models like CLIP.

Euclidean Gaussian (Flat Space)         von Mises-Fisher (Spherical Space)
         .---.                                    .---.
        /     \   <-- Mass leaks                 /  |  \   <-- Mass stays
       |   o   |      into center               |  (o)  |      on the
        \     /                                  \  |  /       manifold
         '---'                                    '---'

The Intuition of the von Mises-Fisher Distribution

The von Mises-Fisher (vMF) distribution can be thought of as the spherical equivalent of a symmetric Gaussian. Instead of a mean ($\mu$) and a variance ($\sigma^2$) in flat space, a vMF distribution is defined by:

  • A mean direction ($\mu$), which is a unit vector pointing toward the center of the cluster on the sphere.
  • A concentration parameter ($\kappa$), which dictates how tightly the data points cluster around that direction.

The probability density depends on the dot product (or cosine similarity) between a data point $x$ and the mean direction $\mu$. This aligns perfectly with the internal mechanics of modern neural networks.

Angle is Identity, Magnitude is Noise

Why does this directional focus work so well for deep learning? A key insight highlighted across this research direction is that the orientation of a feature vector encodes its semantic identity, while its magnitude often represents non-semantic variance.

For instance, Young-Jin Kim et al. utilize vMF distributions in generative adversarial networks (GANs) to separate the "identity" of an object (captured by its angular cluster) from its "style" or "confidence" (captured by magnitude). Similarly, the authors of Few-shot Weakly-Supervised Object Detection via Directional Statistics observe that the angular component represents category information, whereas vector magnitude merely tracks model confidence. By focusing purely on the angular bias, models can isolate semantic meaning from scale-based noise.

Applications Across Deep Learning

By adopting hyperspherical modeling, researchers have solved long-standing brittle behaviors across several domains:

1. Robust Clustering and Few-Shot Learning

In few-shot learning, a model must generalize from only a few examples. Standard Euclidean prototypes can be easily skewed by a single outlier's magnitude. Boyu Yang 0002 et al. introduce Prototype Mixture Models using vMF distributions for semantic segmentation, proving that measuring similarity via cosine-based spherical kernels provides a consistent performance boost over Euclidean metrics. For unsupervised tasks, such as zero-resource speech processing, Shreyas Seshadri et al. demonstrate that vMF mixture models cluster syllable-like units more effectively by natively operating on unit-normalized signal features.

2. Out-of-Distribution (OOD) Detection

To detect when an input belongs to an unknown class, a network must draw tight, reliable boundaries around its known data. Because Gaussians degrade in high dimensions, they make poor OOD detectors. Xuefeng Du et al. show that bounding feature clusters with vMF distributions creates a highly robust framework for OOD detection, preventing the false positives that occur when Euclidean metrics warp in high-dimensional spaces.

3. Domain Adaptation and Scene Understanding

When transferring knowledge from a source domain to a target domain, Meng-zhu Wang demonstrates that modeling normalized features with a mixture of vMF distributions allows for efficient maximum likelihood parameter estimation across mini-batches. This probabilistic framing enables effective semantic augmentation to bridge domain gaps.

Furthermore, directional modeling aids in structural scene understanding. Adam Kortylewski et al. replace rigid binary feature encodings in Compositional Convolutional Networks with flexible vMF mixtures, allowing networks to successfully localize occluded object parts by tracking directional feature activations.

Visualizing Representation Emergence

Directional statistics also serve as a powerful diagnostic tool. By fitting vMF distributions to intermediate layers, we can track exactly how and where a network organizes its knowledge. Mingjie Li et al. map the "discrimination power" of intermediate layers by treating neural activations as directional data. They show that as a network grows deeper or trains longer, its internal representations naturally transition from chaotic scatterings into tightly concentrated vMF clusters on the hypersphere, visually capturing the emergence of semantic concepts.

Conclusion

The shift from Euclidean Gaussians to directional distributions like the von Mises-Fisher distribution is more than a mathematical nuance—it is a correction of a fundamental geometric mismatch. When deep networks project our world onto a hypersphere, our statistical models should meet them there. Natively modeling the angular nature of these spaces yields more stable, interpretable, and mathematically consistent deep representations.

Key Foundational Work

Memorization Precedes Generation: Learning Unsupervised GANs with Memory Networks (2018) — contributed 2 concept elements to this direction.
Comparison of Non-Parametric Bayesian Mixture Models for Syllable Clustering and Zero-Resource Speech Processing (2017) — contributed 2 concept elements to this direction.
History & citationVersion 1 · 2026-10-04

Current · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_directional_feature_modeling_db795f6f,
  title = {directional feature modeling},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/directional-feature-modeling/rdr_db795f6fb079468e93796817a3c4a15b},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-28},
}

This exact version (version 1, frozen text):

@misc{lacuna_directional_feature_modeling_db795f6f_v1,
  title = {directional feature modeling},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/directional-feature-modeling/rdr_db795f6fb079468e93796817a3c4a15b/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-28},
}
About

These directions overlap with this one through shared papers.

See something wrong? Report a mistake