GeoProto: Geometry-aware Prototype Learning for Cross-domain Few-shot Medical Image Segmentation

arXiv:2605.10885 · cs.CV · Submitted 2026-05-11 · Read on arXiv

Listen

Radio episode about this paper

Transcript

Introduction to the show: ident: AI Radio. Generated commentary on the latest Artificial Intelligence papers.

Tom: We're looking at the paper: "GeoProto: Geometry-aware Prototype Learning for Cross-domain Few-shot Medical Image Segmentation".

Title and authors: Tom: So, we’re talking about GeoProto now. Essentially, this paper is about fixing a major problem in medical AI where models get confused when they see an organ from a different scanner or a completely new type of case they haven't seen before, even if you only show them two or three examples <ref:2605.10885#pg1>.

Jane: Right. The core idea here is that instead of just relying on what the image looks like—the appearance—GeoProto forces the model to consider the actual physical shape and structure of a human organ as a stable anchor for matching, even when the imaging quality changes drastically <ref:2605.10885#pg2>.

Lu: They introduce something called Geometry-Aware Prototype Enrichment, or GAPE. This module takes those initial appearance prototypes—the learned representations of what an organ looks like—and it adds a geometric offset to them based on where that organ is in the interior structure <ref:2605.10885#pg2>.

Tom: And that offset isn't random either; it comes from a branch called the Ordinal Shape Branch, or OSB. The OSB is trained to predict how far a pixel is from the boundary of the organ, essentially encoding its ordinal position inside the organ’s structure <ref:2605.10885#pg3>.

Jane: So this means when the model tries to match a new image, it doesn't just compare features; it compares features adjusted by how geometrically deep or far from the surface that feature is <ref:2605.10885#pg4>. It allows two prototypes that look visually similar but are actually in different layers of the organ to be pushed into distinct places in the model's understanding <ref:2605.10885#pg4>.

Lu: The training for the OSB uses an ordinally consistent objective. This means they only need standard segmentation masks to supervise it; you don't need extra annotations just to figure out the internal structure of the organ <ref:2605.10885#pg3>. They enforce a smooth, monotonic change in these geometric embeddings across all those interior strata <ref:2605.10885#pg3>.

Tom: I love that you can do this with just segmentation masks. It’s much more practical than needing millions of perfectly labeled feature vectors for every possible position <ref:2605.10885#pg3>.

Jane: What does this mean for the end user? It means the AI gets better at generalizing across different hospitals or different machines because it learns the underlying anatomy, not just a specific look of one machine's scan <ref:2605.10885#pg9>.

Lu: Exactly. The experiments show that GeoProto achieves state-of-the-art results across three different settings, beating previous methods by over eight percent on kidney classes compared to models like FAMNet and RobustEMD <ref:2605.10885#pg9>.

Tom: It really suggests the model is actually learning structural knowledge rather than just memorizing appearance for one specific domain <ref:2605.10885#pg9>.

The paper's summary: Tom: So we’re looking at how they took GeoProto and made it even better in some of their ablation studies <ref:2605.10885#pg8>. They showed that just using the ordinal supervision, which is the OSB loss, is actually a bigger deal than just adding a simple position embedding <ref:2605.10885#pg3>.

Jane: That makes sense because it means you don't need to add tons of extra components to get big gains; the core idea of enforcing that smooth, monotonic change in geometry is the heavy lifter <ref:2605.10885#pg3>.

Lu: They also looked at background enrichment and found that it didn't provide any consistent gain because those background regions are too messy across different training episodes <ref:2605.10885#pg14>.

Tom: So, the takeaway there is that focusing your effort on getting that ordinal supervision right is much more efficient than trying to clean up the background data <ref:2605.10885#pg3>.

Jane: And they also discussed how you can adjust things at query time, which is a really practical thing for deployment <ref:2605.10885#pg4>. They suggest applying a soft affinity gate on each prototype's similarity score before the final softmax normalization #two thousand six hundred five point one zero eight eight five#pg4.

Lu: That gate helps down-weight those prototypes whose geometric stratum doesn't match where the query pixel is located, which is good for ensuring a better fit <ref:2605.10885#pg4>.

Tom: So, that means you can prioritize matching boundary regions with prototypes that are also geometrically near that boundary without messing up the overall classification #two thousand six hundred five point one zero eight eight five#pg4.

Jane: It’s a way to make sure the geometry helps guide the decision at every single pixel level, not just at the prototype level <ref:2605.10885#pg4>.

Lu: They also mentioned that enriching only the support side is more robust because when you're testing on a new domain, your query predictions are inherently noisier than the model's own supervised predictions #two thousand six hundred five point one zero eight eight five#pg14.

Tom: So, for real-world use, that means we don't need to worry about perfectly labeling every single possible background region because the system is designed to handle that uncertainty better <ref:2605.10885#pg9>.

Jane: It’s about building a more robust structure where the geometry handles the hard generalization work, leaving less room for noisy appearance variations to cause problems <ref:2605.10885#pg2>.

Lu: The overall message is that this framework uses anatomy as a reliable prior regardless of the scanner or domain, which is what we need for cross-domain tasks <ref:2605.10885#pg9>.

Tom: It’s not just about getting a high score on one benchmark; it’s about showing that the model learns structural knowledge that it can actually use to generalize to new patients <ref:2605.10885#pg9>.

Jane: So, this GeoProto approach is proving that geometry provides a solid anchor when you’re dealing with few-shot learning and domain shifts in medical imaging <ref:2605.10885#pg9>.

Lu: It really shows how using geometry as a prior can make the model more stable without needing massive amounts of new data to retrain it from scratch <ref:2605.10885#pg9>.

The paper's improvements: Tom: So we’re wrapping up GeoProto now by summarizing what this whole thing actually means for medical imaging AI <ref:2605.10885#pg9>.

Jane: Essentially, it shows that using anatomy as a geometric prior allows models to generalize across different scanners and domains without needing massive retraining cycles <ref:2605.10885#pg9>.

Lu: The implication is that we can achieve better cross-domain few-shot segmentation by anchoring the matching process onto stable physical structure rather than just noisy surface features <ref:2605.10885#pg9>.

Tom: I mean it proves that structural understanding is a genuine capacity the model acquires, which is exactly what we want for reliable deployment <ref:2605.10885#pg9>.

Jane: It’s about moving past just pattern matching to understanding the physical space inside an organ, and this GeoProto paper demonstrates that approach works well <ref:2605.10885#pg1>.

Lu: The method uses geometry as a modality-invariant prior, which means it doesn't care much about the specific acquisition protocol of the image <ref:2605.10885#pg9>.

Tom: It’s a solid result, but they did flag that the query side predictions are inherently less certain when dealing with completely new domains <ref:2605.10885#pg14>.

Jane: That’s a fair caution; the model has to be careful how much it trusts those noisy query signals <ref:2605.10885#pg14>.

Lu: They also noted that enriching only the support side is more robust because that part is supervised, while the query side is where we’re testing generalization <ref:2605.10885#pg14>.

Tom: So, for anyone looking to build these kinds of cross-domain models, you focus on getting that ordinal supervision right <ref:2605.10885#pg3> and you get a lot of the stability you need <ref:2605.10885#pg9>.

Jane: It’s a powerful tool for making medical AI more adaptable when it moves outside the lab setting <ref:2605.10885#pg1>.

Lu: I think the focus on geometry as a prior is what makes this paper interesting for representation learning research <ref:2605.10885#pg9>.

Tom: It’s certainly a strong paper, and it sets a new baseline for how we handle structural generalization in this area <ref:2605.10885#pg9>.

Jane: Okay, that covers GeoProto; next up, we’re looking at how other methods are dealing with real-world video synchronization issues #two thousand six hundred eleven point three three three eight seven#pg1.

Conclusion: Tom: So we’re wrapping up GeoProto now by summarizing what this whole thing actually means for medical imaging AI <ref:2605.10885#pg9>.

Jane: Essentially, it shows that using anatomy as a geometric prior allows models to generalize across different scanners and domains without needing massive retraining cycles <ref:2605.10885#pg9>.

Lu: The implication is that we can achieve better cross-domain few-shot segmentation by anchoring the matching process onto stable physical structure rather than just noisy surface features <ref:2605.10885#pg9>.

Tom: I mean it proves that structural understanding is a genuine capacity the model acquires, which is exactly what we want for reliable deployment <ref:2605.10885#pg9>.

Jane: It’s about moving past just pattern matching to understanding the physical space inside an organ, and this GeoProto paper demonstrates that approach works well <ref:2605.10885#pg1>.

Lu: The method uses geometry as a modality-invariant prior, which means it doesn't care much about the specific acquisition protocol of the image <ref:2605.10885#pg9>.

Tom: It’s a solid result, but they did flag that the query side predictions are inherently less certain when dealing with completely new domains <ref:2605.10885#pg14>.

Jane: That’s a fair caution; the model has to be careful how much it trusts those noisy query signals <ref:2605.10885#pg14>.

Lu: They also noted that enriching only the support side is more robust because that part is supervised, while the query side is where we’re testing generalization <ref:2605.10885#pg14>.

Tom: So, for anyone looking to build these kinds of cross-domain models, you focus on getting that ordinal supervision right <ref:2605.10885#pg3> and you get a lot of the stability you need <ref:2605.10885#pg9>.

Jane: It’s a powerful tool for making medical AI more adaptable when it moves outside the lab setting <ref:2605.10885#pg1>.

Lu: I think the focus on geometry as a prior is what makes this paper interesting for representation learning research <ref:2605.10885#pg9>.

Tom: It’s certainly a strong paper, and it sets a new baseline for how we handle structural generalization in this area <ref:2605.10885#pg9>.

Jane: Okay, that covers GeoProto; next up, we’re looking at how other methods are dealing with real-world video synchronization issues <ref:2611.33387#pg1>.

School of Computer Science and Engineering, Nanjing University of Science and Technology

cs.CV

Submitted: 2026-05-11

Updated: 2026-11-27

Code: https://github.com/FeifanSong/Geoproto

License: http://creativecommons.org/licenses/by/4.0/

Importance score: 90/100

The gist: Cross-domain few-shot medical image segmentation (CD-FSMIS) requires a model to generalise simultaneously to novel anatomical categories and unseen imaging domains from only a handful of annotated…

Key concepts

Cross-domain Few-shot Medical Image Segmentation (CD-FSMIS)
This task requires a model to accurately segment medical images from new types of organs and different imaging sources, given only a very small number of labeled examples. The challenge is generalizing the learned segmentation knowledge across these unseen domains.
Geometry-Aware Prototype Enrichment (GAPE)
GAPE enriches local appearance prototypes by adding geometric offsets derived from predicted distance-to-boundary bin distributions. This modification shifts prototype matching from simple feature comparison to a discrimination based on both appearance and the organ's internal structure.
Ordinal Shape Branch (OSB)
OSB is an auxiliary branch trained using an 'ordinally consistent objective.' It predicts how features distribute across different interior strata of an organ, enforcing smooth, monotonic variation in geometric embeddings. This allows the model to learn the inherent structural order of the anatomy without needing extra labels.

Terminology

Summary

Cross-domain few-shot medical image segmentation (CD-FSMIS) requires a model to generalise simultaneously to novel anatomical categories and unseen imaging domains from only a handful of annotated examples. p. 0

Where the paper says it

bo, zhanghf}@njust. cn Abstract Cross-domain few-shot medical image segmentation (CD-FSMIS) requires a model to generalise simultaneously to novel anatomical categories and unseen imaging domains from only a handful of annotated examples.

<ref:2605.10885#pg1>. The core contribution is GeoProto, a geometry-aware CD-FSMIS framework that enriches prototypical matching with explicit structural priors. p. 1
Where the paper says it

Based on the observations above, we propose GeoProto, a geometry-aware CD-FSMIS framework that enriches prototypical matching with explicit structural priors. The core contribution is GeometryAware Prototype Enrichment (GAPE), which augments each local appearance prototype with a learned geometric offset encoding its ordinal position within the organ’s interior topology.

<ref:2605.10885#pg2>.

Pruning redundant reasoning tokens

The paper proposes GeoProto to address the limitation where existing prototypical approaches entangle anatomical structure with domain-specific appearance variations, which lack a stable reference for reliable matching under domain shift.<ref:2605.10885#pg2>. The framework introduces Geometry-Aware Prototype Enrichment (GAPE), which augments each local appearance prototype with a learned geometric offset encoding its ordinal position within the organ’s interior topology. p. 0

Where the paper says it

Building on this insight, we propose GeoProto, a geometry-aware CD-FSMIS framework that enriches prototypical matching with explicit structural priors. The core component, Geometry-Aware Prototype Enrichment (GAPE), augments each local appearance prototype with a learned geometric offset encoding its ordinal position within the organ’s interior topology.

<ref:2605.10885#pg2>. This offset is derived from an auxiliary Ordinal Shape Branch (OSB) trained under an ordinally consistent objective that enforces monotonic variation of geometric embeddings across interior strata. p. 0
Where the paper says it

The core component, Geometry-Aware Prototype Enrichment (GAPE), augments each local appearance prototype with a learned geometric offset encoding its ordinal position within the organ’s interior topology. This offset is derived from an auxiliary Ordinal Shape Branch (OSB) trained under an ordinally consistent objective that enforces monotonic variation of geometric embeddings across interior strata, requiring no annotation beyond standard segmentation masks.

<ref:2605.10885#pg3>.

How the training signal is built

The Ordinal Shape Branch (OSB) predicts quantised bin distributions from backbone features, supervised by an ordinally consistent objective that enforces smooth, monotonic variation of the geometric embedding across interior strata.<ref:2605.10885#pg3>. This objective consists of two terms: a standard cross-entropy restricted to foreground pixels and a second term penalising misclassified pixels proportionally to their ordinal gap from the ground truth. p. 3

Where the paper says it

The first term is a standard cross-entropy restricted to foreground pixels, which penalises the classification error for each geometric stratum equally: Lcls = −β X x∈Ω K X−1 k=0 1(z(x) = k) log ˆpk(x), (2) where pˆk(x) is the probability that the strata of x belongs to k bin. The second term penalises misclassified pixels proportionally to their ordinal gap from the ground truth, providing gradient direction that smoothly pulls adjacent bin probabilities toward one another rather than treating all misclassifications equally: Ldist = −β X x∈Ω |zˆ(x) − z(x)| K log1 − max k pˆk(x) .

<ref:2605.10885#pg3>. The combined OSB loss is defined as LOSB = Lcls + λdist Ldist. p. 3
Where the paper says it

(3) As shown in Figure 4, as training episodes increase, zˆ(x) vary monotonically with distance from boundary to centroid in the geometry stratum space, rather than collapsing abruptly at a single bin. Together, the combined OSB loss is: LOSB = Lcls + λdist Ldist, (4) where λdist balances the contribution of the ordinal penalty relative to the classification term.

<ref:2605.10885#pg3>.

Where the gains come from

The Geometry-Aware Prototype Enrichment (GAPE) module computes an expected ordinal strata under the OSB bin probability distribution and injects this as a geometric offset into the local prototype feature space.<ref:2605.10885#pg4>. This enrichment allows two local prototypes capturing similar appearance but originating from distinct anatomical strata to be displaced to geometrically differentiated regions of the feature space. p. 1

Where the paper says it

The core contribution is GeometryAware Prototype Enrichment (GAPE), which augments each local appearance prototype with a learned geometric offset encoding its ordinal position within the organ’s interior topology. This offset is derived from predicted distance-to-boundary bin distributions and injected additively into the prototype feature space, such that two local prototypes capturing the similar appearance but originating from distinct anatomical strata are displaced to geometrically differentiated regions of the feature space.

<ref:2605.10885#pg4>. Extensive experiments across seven datasets spanning three evaluation settings demonstrate that GeoProto achieves state-of-the-art performance. p. 0
Where the paper says it

This offset is derived from an auxiliary Ordinal Shape Branch (OSB) trained under an ordinally consistent objective that enforces monotonic variation of geometric embeddings across interior strata, requiring no annotation beyond standard segmentation masks. Extensive experiments across seven datasets spanning three evaluation settings (cross-modality, cross-sequence, and cross-context) demonstrate that GeoProto achieves state-of-the-art performance.

<ref:2605.10885#pg4>.

The framework's effectiveness is validated through ablation studies showing that ordinal supervision is the key driver, as adding OSB-L alone already surpasses position embedding (PE) on both datasets.<ref:2605.10885#pg8>. Furthermore, the analysis confirms that background enrichment provides no consistent gain because background regions are heterogeneous across episodes.<ref:2605.10885#pg14>. The model achieves state-of-the-art performance with minimal computational overhead. p. 8

Where the paper says it

The Geometry-Aware Prototype Enrichment (GAPE) module injects these ordinal signals as additive geometric offsets into local prototypes, lifting prototype matching along the stable boundary-to-centroid axis. Extensive experiments across seven benchmarks spanning three evaluation settings demonstrate that GeoProto achieves state-of-the-art performance with minimal computational overhead.

<ref:2605.10885#pg9>.

GeoProto achieves consistent state-of-the-art performance across all three settings, surpassing the previous best C-Graph by 2.07% and 8%+ improvements on kidney classes over FAMNet and RobustEMD. p. 6

Where the paper says it

65% on CT → MRI and MRI →CT, surpassing the previous best C-Graph [11] by 2. 07% and 8%+ improvements on kidney classes over FAMNet [7] and RobustEMD [6].

<ref:2605.10885#pg9>. The results suggest that our model acquires a genuine capacity for structural generalisation rather than domain-specific overfitting. p. 6
Where the paper says it

14% gain over C-Graph [11] on MI-PMR, while remaining competitive on ISIC. These results suggest that our model acquires a genuine capacity for structural generalisation rather than domain-specific overfitting, adapting to unseen anatomies and modalities from a single support sample by leveraging geometry as a modality-invariant prior.

<ref:2605.10885#pg9>.

The paper concludes that GeoProto addresses the entanglement of anatomical structure with domain-specific appearance in learned prototypes by leveraging geometry as a modality-invariant prior.<ref:2605.10885#pg9>. The design choice to enrich only the well-supervised support side is more robust because the query bin map predicted on novel-domain features carries higher uncertainty than the support’s supervised prediction. p. 4

Where the paper says it

The background score Sbg(x) is computed analogously using {p bg j }, and the final prediction is obtained as Mˆ q = arg max[Sbg, Sfg]. To regularise the feature space, we add a bidirectional alignment loss [24] by swapping support and query roles: raw query prototypes p q i , pooled from the query feature map using the predicted mask Mˆ q , are used to segment the support image: Lalign = LCE(Mˆ s , Ms ), (10) where Mˆ s denotes the support prediction under query prototypes.

<ref:2605.10885#pg14>. The framework's robustness is further supported by its performance on source-domain benchmarks, where it achieves the highest mean DSC.<ref:2605.10885#pg9>.

Green — the paper says it, and the page is printed. Red — no passage carries it, so treat that sentence as unverified. The same check runs on your own text: check a summary against its source, $5.

Improvements for AI systems

  1. Geometric prior for prototype matching improves generalization across imaging modalities by anchoring prototype-to-query matching along a stable boundary-to-centroid axis, which is domain-transferable. This allows models to generalize to unseen domains without retraining by leveraging the geometric structure of human anatomy constitutes a reliable, domain-transferable prior.

  2. Geometry Aware Prototype Enrichment (GAPE) enriches local appearance prototypes with learned geometric offsets derived from predicted distance-to-boundary bin distributions. This modification lifts prototype matching from feature-level comparison to geometry-conditioned discrimination, enabling better separation of prototypes even when they have similar raw appearances but originate from distinct anatomical strata.

  3. The Ordinal Shape Branch (OSB) enforces monotonic variation of geometric embeddings across interior strata using an ordinally consistent objective. This supervision is derived entirely from binary segmentation masks, requiring no annotation beyond standard segmentation masks, making the geometric structure learnable without costly labeling efforts.

  4. Query-side geometric re-weighting can be implemented by applying a soft affinity gate on each prototype's cosine similarity prior to softmax normalization, down-weighting prototypes whose geometric stratum is inconsistent with the query pixel. This mechanism allows query pixels predicted to lie near the organ boundary should preferentially match boundary-region prototypes.

Abstract

Cross-domain few-shot medical image segmentation (CD-FSMIS) requires a model to generalise simultaneously to novel anatomical categories and unseen imaging domains from only a handful of annotated examples. Rather than suppressing domain-specific signals as most existing approaches do, we present a new perspective that exploits human anatomical structure as a stable reference for reliable matching under domain shift: despite drastic appearance changes across domains, the interior geometry of each organ, from boundary to centroid, remains consistent across individuals. In our proposed GeoProto, the core component, Geometry-Aware Prototype Enrichment (GAPE), augments each local appearance prototype with a learned geometric offset encoding its ordinal position within the organ's interior, so that regions with similar appearance but distinct anatomical strata become separable. These strata are predicted by an auxiliary Ordinal Shape Branch (OSB) trained under an ordinally consistent objective that enforces smooth, monotonic variation across adjacent interior strata, requiring no annotation beyond standard binary masks. Extensive experiments across seven datasets spanning three evaluation settings demonstrate that GeoProto achieves state-of-the-art performance.

Sources

Related papers