Memory-SAM:无需人工提示的舌头分割:通过检索生成提示
Memory-SAM: Human-Prompt-Free Tongue Segmentation via Retrieval-to-Prompt
AI总结:
Memory-SAM通过检索生成提示实现无需人工提示的舌头分割,利用密集DINOv3特征和FAISS检索自动生成有效提示,提升分割精度与鲁棒性。
摘要:
准确的舌头分割对于可靠的中医分析至关重要。监督模型需要大量标注数据集,而SAM家族模型仍依赖提示。我们提出了Memory-SAM,一种无需训练和人工提示的流程,通过密集DINOv3特征和FAISS检索自动从少量先前案例的内存中生成有效提示。给定查询图像,检索到的示例的掩码约束对应关系被转化为前景/背景点提示,引导SAM2无需手动点击或模型微调。我们在600个专家标注图像(300个受控数据,300个真实世界数据)上进行了评估。在混合测试分割中,Memory-SAM达到mIoU 0.9863,超过FCN(0.8188)和检测器到框SAM基线(0.1839)。在受控数据上,超过0.98的天花板效应使小差异变得不重要,而我们的方法在真实世界条件下显示出明显优势。结果表明,检索到提示能够实现数据高效且鲁棒的舌头图像不规则边界分割。代码可在https://github.com/jw-chae/memory-sam公开获取。
英文摘要:
Accurate tongue segmentation is crucial for reliable TCM analysis. Supervised models require large annotated datasets, while SAM-family models remain prompt-driven. We present Memory-SAM, a training-free, human-prompt-free pipeline that automatically generates effective prompts from a small memory of prior cases via dense DINOv3 features and FAISS retrieval. Given a query image, mask-constrained correspondences to the retrieved exemplar are distilled into foreground/background point prompts that guide SAM2 without manual clicks or model fine-tuning. We evaluate on 600 expert-annotated images (300 controlled, 300 in-the-wild). On the mixed test split, Memory-SAM achieves mIoU 0.9863, surpassing FCN (0.8188) and a detector-to-box SAM baseline (0.1839). On controlled data, ceiling effects above 0.98 make small differences less meaningful given annotation variability, while our method shows clear gains under real-world conditions. Results indicate that retrieval-to-prompt enables data-efficient, robust segmentation of irregular boundaries in tongue imaging. The code is publicly available at https://github.com/jw-chae/memory-sam.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。