PrimeBo1 commited on
Commit
1cd12a0
·
verified ·
1 Parent(s): b8fa77d

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +49 -3
README.md CHANGED
@@ -1,3 +1,49 @@
1
- ---
2
- license: mit
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: mit
3
+ ---
4
+ # FoB
5
+ [![arXiv](https://img.shields.io/badge/arXiv-Paper-b31b1b.svg?logo=arxiv)](https://arxiv.org/abs/2603.21287)
6
+ [![Paper](https://img.shields.io/badge/CVPR'26-Paper-blue)]()
7
+ [![Code](https://img.shields.io/badge/GitHub-Code-black)](https://github.com/primebo1/FoB_SAM)
8
+
9
+ Model checkpoints for paper: Focus on the Background: Exploring SAM’s
10
+ Potential in Few-shot Medical Image
11
+ Segmentation With Background-centric
12
+ Prompting
13
+
14
+
15
+ - [News!] 2025-07-23: We have uploaded the full code.
16
+ - [News!] 2026-02-21: Our work is accepted by CVPR 2026! 🎉
17
+
18
+
19
+ ## 📋 Abstract
20
+
21
+ <details>
22
+ <summary>Click to expand</summary>
23
+
24
+ Conventional few-shot medical image segmentation (FSMIS) approaches face performance bottlenecks that hinder broader clinical applicability. Although the Segment Anything Model (SAM) exhibits strong category-agnostic segmentation capabilities, its direct application to medical images often leads to over-segmentation due to ambiguous anatomical boundaries. In this paper, we reformulate SAM-based FSMIS as a prompt localization task and propose FoB (Focus on Background), a background-centric prompt generator that provides accurate background prompts to constrain SAM's over-segmentation. Specifically, FoB bridges the gap between segmentation and prompt localization by category-agnostic generation of support background prompts and localizing them directly in the query image. To address the challenge of prompt localization for novel categories, FoB models rich contextual information to capture foreground-background spatial dependencies. Moreover, inspired by the inherent structural patterns of background prompts in medical images, FoB models this structure as a constraint to progressively refine background prompt predictions. Experiments on three diverse medical image datasets demonstrate that FoB outperforms other baselines by large margins, achieving state-of-the-art performance on FSMIS, and exhibiting strong cross-domain generalization.
25
+
26
+ </details>
27
+
28
+ ## 🤔 Motivation
29
+
30
+ <p align="">
31
+ We observe that <b>SAM</b> often suffers from over-segmentation when applied to medical images. We find that incorporating <i>accurate</i> background prompts can effectively constrain this issue. However, prior methods only focus on generating accurate foreground prompts, leaving the role of background prompts largely underexplored. We aim to bridge this gap.
32
+ </p>
33
+
34
+
35
+
36
+ ## 🥰 Acknowledgement
37
+ Our implementation is based on the works: [ALPNet](https://github.com/cheng-01037/Self-supervised-Fewshot-Medical-Image-Segmentation), [ADNet](https://github.com/sha168/ADNet), [segment-anything](https://github.com/facebookresearch/segment-anything), and [ProtoSAM](https://github.com/levayz/ProtoSAM). Thanks to their excellent works!
38
+
39
+
40
+ ## 📝 Citation
41
+ If you use this code for your research or project, please consider citing our paper. Thanks!🥂:
42
+ ```bibtex
43
+ @inproceedings{bo2026fob,
44
+ title={Focus on Background: Exploring SAM’s Potential in Few-shot Medical Image Segmentation with Background-centric Prompting},
45
+ author={Bo, Yuntian and Zhu, Yazhou and Koniusz, Piotr and Zhang, Haofeng},
46
+ booktitle={2026 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
47
+ year={2026},
48
+ }
49
+ ```