DDGE: Disentangled Dirichlet Geodesic Evaluation for Robust Few-Shot Learning

Yifan Mei, Kun Zhou, Zelei Wu, Jieyu Zhao, Xulun YeNeurIPS 2026

TL;DR

Imagine standing on a mountain peak and looking across a deep canyon at another peak. A crow flies straight across in a hundred yards, making them seem close—but to a hiker, they are miles apart. Standard few-shot learning algorithms measure feature similarity "as the crow flies," getting easily fooled by noisy data across empty semantic canyons; DDGE teaches models to map the terrain first and penalize paths that step off a cliff, achieving remarkable resilience against corrupted data without needing a single gradient update at test time.

What Problem Does This Paper Address?

Few-Shot Learning (FSL) asks a model to recognize brand-new categories from just a handful of examples (say, 5 photos per class, known as a "support set"). Standard approaches map images into a high-dimensional feature space and classify new queries by measuring straight-line (Euclidean or cosine) distances to those few examples.

Here is the catch: real-world data doesn't fill high-dimensional space evenly. It lives on twisted, low-dimensional surfaces—manifolds—surrounded by vast, empty voids. When your tiny 5-photo support set gets contaminated by mislabeled images or out-of-distribution (OOD) junk, straight-line metrics suffer from "deceptive proximity." Two completely different things might sit on separate semantic peaks that happen to be close across an empty void, tricking a linear metric into grouping them together. Existing defenses try to throw away suspected outliers ("hard-truncation"), which is dangerous when you only have five examples—toss out a weird-looking but genuine example, and your representation collapses.

Methods

The authors introduce Disentangled Dirichlet Geodesic Evaluation (DDGE), a pipeline that operates on a frozen pre-trained backbone and requires zero gradient updates during meta-testing. Instead of measuring point-to-point distance in empty space, DDGE builds a continuous "terrain map" of the class and measures how hard it is to walk from a query to the class prototype.

Figure 1: Overview of the DDGE framework. Operating on a frozen backbone (Φ), our pipeline com- prises: (1) Orthogonal semantic disentanglement (Section 3.2); (2) Prior bank retrieval (Section 3.3); (3) DP-based manifold construction (Section 3.4); and (4) Geodesic metric evaluation (Section 3.5).
  1. Orthogonal Semantic Disentanglement (Base Training): High-dimensional features are messy, and estimating probability distributions in them leads to mathematical headaches (rank-deficient covariance matrices). DDGE learns $V$ projection matrices forced to be mutually orthogonal, splitting global features into compact, independent semantic views (subspaces).
  2. Prior Bank & Soft Calibration (Meta-Testing): Five points are just dimensionless dots—you can't build a terrain out of dots. DDGE borrows covariance matrices ("physical volume") from similar base classes via attention. Then, instead of brutally deleting outliers, it runs a leave-one-out check among the 5 samples: points sitting comfortably near their peers get high weights, while isolated anomalies smoothly fade to near-zero influence.
  3. Dirichlet Process (DP) Manifold Construction: Using those calibrated weights, DDGE samples virtual points around the trustworthy examples, inflating the sparse support set into a smooth, noise-purified Gaussian Mixture Model (GMM) density landscape.
  4. Multi-View Conformal Line Integral: Finding a true curved geodesic path is computationally way too slow for fast adaptation. Instead, DDGE uses a clever shortcut: it draws a straight line from the query to the class center and probes $M$ evenly spaced points along it. Whenever the line crosses a low-density "void" in the GMM terrain, an exponential resistance penalty spikes. Summing this across all orthogonal views gives an upper-bound geodesic approximation.

Datasets

No new datasets are introduced, though standard benchmarks are tested under synthetic OOD (open-set) and Systematic (SYS, closed-set label-swap) noise protocols:

  • Standard FSL: miniImageNet and tieredImageNet.
  • Cross-Domain FSL: FC100 and CIFAR-FS.
  • Real-World Noisy Datasets: CIFAR-100N, Animal-10N, and Food-101N (containing organic human annotation errors rather than synthetic noise).

Key Insights and Ideas

  • Orthogonality acts as a "geometric veto": Suppose a clever piece of noise (like a mislabeled dog in a wolf class) blends in seamlessly in one semantic view (e.g., fur texture). Because the views are forced to be orthogonal, that impostor is virtually guaranteed to fall into a low-density void in another view (e.g., snout geometry), triggering a massive resistance penalty.
  • You don't need to solve differential equations to respect manifolds: Solving the Eikonal equation for exact shortest curved paths is prohibitively slow. Probing a straight line and charging an exponential toll for crossing empty space achieves the goal—punishing "canyon-jumping"—at a fraction of the compute.
  • All three pillars rely on each other: Ablations show that building a GMM without orthogonal subspaces causes covariance math to collapse under 60% noise (dropping accuracy from 70.96% to 61.73%), while building the terrain and still using Euclidean distance leaves performance on the table (78.51% vs. 83.89% at 40% noise).

Key Results

DDGE sets a new state-of-the-art across both clean and heavily corrupted regimes (5-way 5-shot):

Table 1: 5-way 5-shot classification accuracy (%) under varying OOD noise ratios on miniImageNet and tieredImageNet (grouped by backbones). Best results are in bold.
  • Clean & Heavy OOD Noise: With a Swin-T backbone, DDGE hits 93.16% on clean miniImageNet and 93.21% on tieredImageNet. When 60% of the support set is replaced with OOD garbage, competing robust methods like LDC drop to 57.45% on miniImageNet, whereas DDGE holds strong at 70.96% (and 71.94% with CLIP).
  • Backbone Agnostic: Tested across 8 architectures (from ResNet-12 to ConvNeXt, DINOv3, and CLIP), DDGE consistently prevents geometric collapse, keeping modern backbones above 70% accuracy even at 60% noise.
  • Real-World Noise: On Food-101N (natural label noise), DDGE achieves 84.27% (5-shot), beating the strong ECER-FSL baseline by over 8 percentage points (75.98%).

Limitations and Future Work

Every defense has a breaking point. The authors push DDGE to an extreme 80% noise ratio—meaning out of 5 examples per class, only 1 is genuine and 4 are impostors. Under unstructured OOD noise, DDGE drops to 56.01% (still beating the 40.37% Euclidean baseline). However, under 80% Systematic noise—where the 4 impostors belong to the same wrong class and form a dense, cohesive "false peak"—the leave-one-out calibration gets outvoted, mistaking the noise cluster for the true core and dropping accuracy to 39.50%. Recovering true class manifolds when cohesive anomalies outnumber genuine data remains an open challenge.

Summary updated

Abstract

Recent studies have highlighted the crucial role of distance metrics in noisy few-shot learning. However, existing approaches heavily rely on Euclidean or cosine measurements, failing to recognize the ``deceptive proximity'' where heterogeneous samples from different manifold peaks appear spuriously close in the flat ambient space. In this paper, we present Disentangled Dirichlet Geodesic Evaluation (DDGE), a novel manifold-aware framework that unifies orthogonal disentanglement and conformal integrals to efficiently evaluate complex topological spaces. Specifically, we decouple features into orthogonal semantic subspaces and leverage a prior-guided Dirichlet Process to expand discrete samples into a continuous, noise-purified semantic terrain. Upon this landscape, we measure the intrinsic geodesic distance via a density-aware conformal line integral to capture the authentic class topology. Extensive experiments demonstrate the state-of-the-art performance of DDGE on multiple benchmark datasets. Code is available at: https://github.com/24sleeping90/DDGE.
BibTeX
@inproceedings{mei2026ddge,
  author = {Yifan Mei and Kun Zhou and Zelei Wu and Jieyu Zhao and Xulun Ye},
  title = {{DDGE: Disentangled Dirichlet Geodesic Evaluation for Robust Few-Shot Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=dSbq1BWqRS},
}
Figure