分布外(OOD)检测旨在检测在分布内(ID)训练过程中未见过其标签的“未知”数据。表征学习的最新进展催生了基于距离的OOD检测,该方法根据输入与ID类别训练数据的相对距离将其识别为ID/OOD。以往方法仅依赖全局图像表征计算成对距离,这可能并非最优,因为不可避免的背景杂波和类内变化可能会使同一ID类别的图像级表征在给定表征空间中相距甚远。在本研究中,我们通过提出多尺度OOD检测(Multi-scale OOD DEtection,MODE)框架来克服这一挑战,这是首个同时利用图像的全局视觉信息和局部区域细节以最大化助力OOD检测的框架。具体而言,我们首先发现,由于ID训练与OOD检测过程之间存在尺度差异,现有采用现成交叉熵或对比损失预训练的模型无法为MODE捕捉有价值的局部表征。为缓解这一问题并在ID训练中促进具有局部判别性的表征,我们提出了基于注意力的局部传播(Attention-based Local PropAgation,ALPA)方法,这是一种可训练目标函数,利用交叉注意力机制对齐并突出成对示例中目标对象的局部区域。在测试阶段OOD检测过程中,我们进一步在最具判别性的多尺度表征上设计了跨尺度决策(Cross-Scale Decision,CSD)函数,以更准确地区分ID/OOD数据。我们在多个基准上验证了MODE的有效性和灵活性——平均而言,MODE在FPR指标上较此前最优方法提升最高达19.24%,在AUROC指标上提升2.77%。代码可在https://github.com/JimZAI/MODE-OOD获取。
英文摘要:
Out-of-distribution (OOD) detection aims to detect "unknown" data whose labels have not been seen during the in-distribution (ID) training process. Recent progress in representation learning gives rise to distance-based OOD detection that recognizes inputs as ID/OOD according to their relative distances to the training data of ID classes. Previous approaches calculate pairwise distances relying only on global image representations, which can be sub-optimal as the inevitable background clutter and intra-class variation may drive image-level representations from the same ID class far apart in a given representation space. In this work, we overcome this challenge by proposing Multi-scale OOD DEtection (MODE), a first framework leveraging both global visual information and local region details of images to maximally benefit OOD detection. Specifically, we first find that existing models pretrained by off-the-shelf cross-entropy or contrastive losses are incompetent to capture valuable local representations for MODE, due to the scale-discrepancy between the ID training and OOD detection processes. To mitigate this issue and encourage locally discriminative representations in ID training, we propose Attention-based Local PropAgation (ALPA), a trainable objective that exploits a cross-attention mechanism to align and highlight the local regions of the target objects for pairwise examples. During test-time OOD detection, a Cross-Scale Decision (CSD) function is further devised on the most discriminative multi-scale representations to distinguish ID/OOD data more faithfully. We demonstrate the effectiveness and flexibility of MODE on several benchmarks -- on average, MODE outperforms the previous state-of-the-art by up to 19.24% in FPR, 2.77% in AUROC. Code is available at https://github.com/JimZAI/MODE-OOD.
DeepShield: Fortifying Deepfake Video Detection with Local and Global Forgery Analysis
Sun Yat-sen University(中山大学);Pengcheng Laboratory(鹏城实验室);Guilin University of Electronic Technology(桂林电子科技大学);Guangdong Key Laboratory of Big Data Analysis and Processing(广东大数据分析与处理重点实验室)
CCAD: Compressed Global Feature Conditioned Anomaly Detection
Columbia University(哥伦比亚大学);Ping An Property & Casualty Insurance Company(平安财产保险股份有限公司);University of Michigan(密歇根大学);University of California at Berkeley(加州大学伯克利分校);Stevens Institute of Technology(史蒂文斯理工学院);VisionX LLC.(VisionX有限责任公司)
CoupleNet: Coupling Global Structure with Local Parts for Object Detection
University of Chinese Academy of Sciences(中国科学院大学);School of Technology, Nanjing Audit University(南京审计大学技术学院);Department of Medicine, Indiana University(印第安纳大学医学系)
Learning Global-Local Correspondence with Semantic Bottleneck for Logical Anomaly Detection
Tsinghua University(清华大学);Huazhong University of Science and Technology(华中科技大学)
本文提出了一种新的框架,命名为全局-局部对应框架(GLCF),视觉异常检测与逻辑约束。视觉异常检测在工业异常检测、医疗疾病诊断等实际应用中已成为一个活跃的研究领域。然而,大多数现有的方法集中在识别局部结构退化异常,往往无法检测到高层次的功能异常,涉及逻辑约束。为了解决这个问题,我们提出了一个两个分支的方法,包括一个本地分支检测结构异常和一个全球分支检测逻辑异常。为了促进局部-全局特征的对应,我们引入了一个新的语义瓶颈,使视觉Transformer。此外,我们分别为每个分支开发特征估计网络来检测异常。我们提出的框架使用各种基准进行验证,包括工业数据集,Mvtec AD,Mvtec Loco AD和Retinal-OCT医疗数据集。实验结果表明,我们的方法优于现有的方法,特别是在检测逻辑异常。
Global Wheat Head Detection (GWHD) dataset: a large and diverse dataset of high resolution RGB labelled images to develop and benchmark wheat head detection methods
Arvalis, Institut du végétal(Arvalis植物研究所);INRAE(法国国家农业食品与环境研究院);Rothamsted Research(洛桑研究所);ETH Zurich(苏黎世联邦理工学院);CSIRO Agriculture and Food(联邦科学与工业研究组织农业与食品部);Nanjing Agricultural University(南京农业大学);National Agriculture and Food Research Organization(日本国家农业食品研究机构);University of Saskatchewan(萨斯喀彻温大学);The University of Queensland(昆士兰大学);The University of Tokyo(东京大学)
A Global-Local Emebdding Module for Fashion Landmark Detection
Korea Advanced Institute of Science and Technology(KAIST)(韩国科学技术院);Electronics and Telecommunications Research Institute(电子与电信研究院);Hanbat National University(韩巴国立大学)
3DLG-Detector: 3D Object Detection via Simultaneous Local-Global Feature Learning
Nanjing University of Aeronautics and Astronautics(南京航空航天大学);Delft University of Technology(代尔夫特理工大学);Lingnan University(岭南大学);University of Waterloo(滑铁卢大学);Hong Kong Metropolitan University(香港都会大学)
An Explicit Local and Global Representation Disentanglement Framework with Applications in Deep Clustering and Unsupervised Object Detection
Vidyasirimedhi Institute of Science and Technology (VISTEC)(维迪亚西利梅迪科学技术学院);King Mongkut’s University of Technology Thonburi (KMUTT)(国王科技大学吞武里分校);Imperial College London(帝国理工学院)
LoGoNet: Towards Accurate 3D Object Detection with Local-to-Global Cross-Modal Fusion
East China Normal University(华东师范大学);The Chinese University of Hong Kong(香港中文大学);Shanghai AI Laboratory(上海人工智能实验室);Fudan University(复旦大学);Hochschule Bremerhaven(不来梅港应用科学大学)
Beijing Institute of Technology University(北京理工大学);Beijing Jiaotong University(北京交通大学);Sun Yat-Sen University(中山大学);National University of Singapore(新加坡国立大学)
Memory Enhanced Global-Local Aggregation for Video Object Detection
Center of Data Science, Peking University(北京大学数据科学中心);Zhejiang Lab(浙江实验室);Microsoft Research Asia(微软亚洲研究院);Key Laboratory of Machine Perception, MOE, School of EECS, Peking University(北京大学信息科学技术学院教育部机器感知重点实验室)
Proposal-Free Temporal Action Detection via Global Segmentation Mask Learning
University of Surrey(萨里大学);iFlyTek-Surrey Joint Research Centre on Artificial Intelligence(讯飞-萨里人工智能联合研究中心);Surrey Institute for People-Centred Artificial Intelligence(萨里以人为本人工智能研究所)
DA-Mamba: Learning Domain-Aware State Space Model for Global-Local Alignment in Domain Adaptive Object Detection
Intelligent Software Research Center, Institute of Software, CAS(软件研究所智能软件研究中心,中国科学院);State Key Lab of Processors, Institute of Computing Technology, CAS(中国科学院计算技术研究所处理器国家重点实验室);School of Information Science and Technology, University of Science and Technology of China(中国科学技术大学信息科学与技术学校)
Global-Local Collaborative Inference with LLM for Lidar-Based Open-Vocabulary Detection
Institute of Artificial Intelligence, Beihang University(北京航空航天大学人工智能研究院);Meituan(美团);University of Science and Technology Beijing(北京科技大学);Hangzhou Innovation Institute, Beihang University(北京航空航天大学杭州创新研究院)
MineNetCD: A Benchmark for Global Mining Change Detection on Remote Sensing Imagery
Technical University of Munich(慕尼黑工业大学);Helmholtz-Zentrum Dresden-Rossendorf (HZDR)(德累斯顿-罗森多夫亥姆霍兹研究中心);Wuhan University of Science and Technology(武汉科技大学);Munich Center for Machine Learning(慕尼黑机器学习中心);Lancaster University(兰卡斯特大学)
LGN-Net: Local-Global Normality Network for Video Anomaly Detection
Fudan University(复旦大学);Henan University of Science and Technology(河南科技大学);University of Shanghai for Science and Technology(上海理工大学);Shanghai University of Electric Power(上海电力大学)