arXiv:2509.21055cs.CV2025-09被引 2

提出Mambo框架,提升少样本分布外检测的鲁棒性

Background Prompt for Few-Shot Out-of-Distribution Detection

  • 用背景提示学习局部背景相似性,再结合类别相似性优化
  • 在真实数据集上显著优于当前最优方法,尤其在近分布外场景
  • 自校准补丁选择机制,灵活适应不同样本的背景需求

现有少样本分布外(FS-OOD)检测中的前景-背景(FG-BG)分解方法常因过度依赖局部类别相似性及固定背景补丁提取策略而鲁棒性不足。为此,本文提出新框架Mambo。首先学习背景提示以获得包含背景与语义信息的局部背景相似性,再利用局部类别相似性进行优化;最终结合优化后的背景相似性与类别相似性完成背景提取,降低对类别相似性的依赖。此外,引入补丁自校准调优机制,根据样本多样性动态选择背景补丁数量,解决以往固定提取策略的问题。在多个真实世界数据集上的大量实验表明,Mambo在分布外检测与近分布外检测设置下均优于现有最先进方法。代码将开源于https://github.com/YuzunoKawori/Mambo。

原文摘要 · Abstract (English)

Existing foreground-background (FG-BG) decomposition methods for the few-shot out-of-distribution (FS-OOD) detection often suffer from low robustness due to over-reliance on the local class similarity and a fixed background patch extraction strategy. To address these challenges, we propose a new FG-BG decomposition framework, namely Mambo, for FS-OOD detection. Specifically, we propose to first learn a background prompt to obtain the local background similarity containing both the background and image semantic information, and then refine the local background similarity using the local class similarity. As a result, we use both the refined local background similarity and the local class similarity to conduct background extraction, reducing the dependence of the local class similarity in previous methods. Furthermore, we propose the patch self-calibrated tuning to consider the sample diversity to flexibly select numbers of background patches for different samples, and thus exploring the issue of fixed background extraction strategies in previous methods. Extensive experiments on real-world datasets demonstrate that our proposed Mambo achieves the best performance, compared to SOTA methods in terms of OOD detection and near OOD detection setting. The source code will be released at https://github.com/YuzunoKawori/Mambo.

少样本检测分布外检测背景提示自校准

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。