Accessing machine learning models through remote APIs has been gaining prevalence following the recent trend of scaling up model parameters for increased performance. Even though these models exhibit remarkable ability, detecting out-of-distribution (OOD) samples remains a crucial safety concern for end users as these samples may induce unreliable outputs from the model. In this work, we propose an OOD detection framework, MixDiff, that is applicable even when the model's parameters or its activations are not accessible to the end user. To bypass the access restriction, MixDiff applies an identical input-level perturbation to a given target sample and a similar in-distribution (ID) sample, then compares the relative difference in the model outputs of these two samples. MixDiff is model-agnostic and compatible with existing output-based OOD detection methods. We provide theoretical analysis to illustrate MixDiff's effectiveness in discerning OOD samples that induce overconfident outputs from the model and empirically demonstrate that MixDiff consistently enhances the OOD detection performance on various datasets in vision and text domains.
Detecting Adversarial Samples for Deep Neural Networks through Mutation Testing
Information Systems Technology and Design(信息系统技术与设计);Singapore University Of Technology and Design(新加坡科技设计大学);College of Computer Science and Technology(计算机科学与技术学院);Zhejiang University(浙江大学)
Open-access model for detecting openly dumped dispersed municipal solid waste from crowdsourced UAV imagery in Sub-Saharan Africa
Heidelberg University(海德堡大学);Global Facility for Disaster Reduction and Recovery (GFDRR), World Bank(世界银行全球减灾与恢复基金(GFDRR));The University of Chicago(芝加哥大学);Santa Fe Institute(圣塔菲研究所);Complexity Science Hub(维也纳复杂科学中心);Imperial College London(帝国理工学院);Humanitarian OpenStreetMap Team(人道开放街图团队);Open Map Development Tanzania(坦桑尼亚开放地图发展组织);Data4Moz(莫桑比克数据组织)
Cassandra: Detecting Trojaned Networks from Adversarial Perturbations
Center for Research in Computer Vision, University of Central Florida(中佛罗里达大学计算机视觉研究中心);Computer Science and Software Engineering, The University of Western Australia(西澳大学计算机科学与软件工程学院);Department of Electrical and Computer Engineering, University of Central Florida(中佛罗里达大学电气与计算机工程系)
Detecting Adversarial Data by Probing Multiple Perturbations Using Expected Perturbation Score
South China University of Technology(华南理工大学);Pazhou Laboratory(琶洲实验室);The University of Melbourne(墨尔本大学);Beijing Institute of Technology(北京理工大学);Hong Kong Baptist University(香港浸会大学)
Detecting Backdoors During the Inference Stage Based on Corruption Robustness Consistency
Huazhong University of Science and Technology(华中科技大学);National Engineering Research Center for Big Data Technology and System(大数据技术与系统国家工程研究中心);Wuhan University(武汉大学)