New training-free method PR-MaGIC improves Segment Anything Model's automatic prompt generation for few-shot image segmentation tasks
arXiv cs.CV · April 15, 2026
AI Summary
•PR-MaGIC addresses limitations in SAM and its variants by refining auto-generated prompts through mask decoder gradient flow during testing
•The framework tackles visual inconsistencies between support and query images that cause sub-optimal segmentation quality in current in-context segmentation approaches
•Requires no additional training while seamlessly integrating into existing in-context segmentation frameworks for improved performance
•Uses gradient flow from SAM's mask decoder to dynamically adjust prompts and enhance segmentation accuracy in one-shot and few-shot scenarios