NeurIPS 2026QuestionsPapersAreasAboutMarkdown

BAPM: Boundary-Aware Prompt Mining for Training-Free Few-Shot Medical Image Segmentation

Qi Wen, Jiezhou He, Zhiming Luo, Shaozi Li

NeurIPS page · OpenReview · Open on the map

Category: Graphs, OOD Detection & Medical Imaging › Image Segmentation and Its Variants · Type: new method · Keywords: few-shot medical image segmentation, SAM, prompt mining, boundary-aware, medical imaging

Areas: Computer Vision & 3D › Medical Visual Computing › Image Segmentation

Summary

BAPM introduces a training-free support-query framework that uses prototype-guided positive prompts and boundary-aware negative prompts to improve few-shot medical image segmentation without additional training.

Explained to a 5-year-old

We want to cut pictures of inside the body with very few examples. Existing methods only look at the parts we want to keep, so they sometimes include extra stuff. This new idea also looks at the space around the edges and uses that to avoid including extra stuff. It works without training new models, just by picking good points to tell the model what to keep and what to ignore. It works better on medical images when there are only a few examples.

Explained to a 5-year-old, longer

In medicine, doctors need pictures inside the body to see what's wrong. Getting these pictures labeled by experts is expensive and time-consuming. Some new tools can copy what they learned from just a few examples, called few-shot learning. These tools often use a big AI called SAM that can draw outlines when you give it points. The current way only gives points for the things we want to keep, ignoring the background. This can cause the AI to also outline nearby areas that look similar, making mistakes. The new idea also looks at the area right next to the edges and uses that information. It picks extra points that tell the AI what not to include, helping it avoid mistakes. It creates two kinds of points: one for the main objects and one for the surrounding area. These points are sent together to the AI, which then draws more accurate outlines. All of this works without having to train the AI again, saving time and resources. Tests on medical images of the abdomen show that this approach works better than the old methods.

For a technical reader

The paper addresses the limitation of existing SAM-based few-shot segmentation by incorporating both foreground and background cues. It proposes a prototype-guided positive prompt generation that uses multiple centers to cover the object region comprehensively. A boundary-adjacent background band is identified and ambiguous pixels are filtered to produce reliable negative prompts. These combined prompts are fed into SAM’s mask decoder without any additional training, yielding refined segmentations. Experiments on Abd-MRI and Abd-CT demonstrate consistent improvements over prior methods under limited annotation budgets.

Problem

Existing few-shot medical image segmentation methods using SAM rely mainly on positive prompts and ignore informative background cues, leading to over-segmentation and boundary leakage. Additionally, naive negative prompts can degrade performance rather than suppress false positives.

Method

The approach constructs multiple foreground prototypes via a multi-center prompting mechanism and selects reliable negative prompts by identifying a boundary-adjacent background band and filtering ambiguous pixels. These positive and negative prompts are jointly supplied to SAM to generate refined masks without any additional training.

Results

The approach consistently outperforms existing methods on both Abd-MRI and Abd-CT datasets, showing improved effectiveness and robustness with limited annotations.

Contributions

It introduces a prototype-guided positive prompt strategy and a boundary-aware negative prompt selection mechanism that jointly refine SAM outputs for training-free few-shot segmentation. The contributions also include comprehensive experiments on two medical imaging datasets that validate the improvements.

Practical relevance

The method reduces annotation costs and enables accurate segmentation in clinical settings where labeled data are scarce.

Research questions this paper is counted under

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction