Machine learning models for text classification often excel on in-distribution (ID) data but struggle with unseen out-of-distribution (OOD) inputs. Most techniques for improving OOD robustness are not applicable to settings where the model is effectively a black box, such as when the weights are frozen, retraining is costly, or the model is leveraged via an API. Test-time augmentation (TTA) is a simple post-hoc technique for improving robustness that sidesteps black-box constraints by aggregating predictions across multiple augmentations of the test input. TTA has seen limited use in NLP due to the challenge of generating effective natural language augmentations. In this work, we propose LLM-TTA, which uses LLM-generated augmentations as TTA's augmentation function. LLM-TTA outperforms conventional augmentation functions across sentiment, toxicity, and news classification tasks for BERT and T5 models, with BERT's OOD robustness improving by an average of 4.48 percentage points without regressing average ID performance. We explore selectively augmenting inputs based on prediction entropy to reduce the rate of expensive LLM augmentations, allowing us to maintain performance gains while reducing the average number of generated augmentations by 57.74\%. LLM-TTA is agnostic to the task model architecture, does not require OOD labels, and is effective across low and high-resource settings. We share our data, models, and code for reproducibility.
Improving Query Efficiency of Black-box Adversarial Attack
Tsinghua Berkeley Shenzhen Institute, Tsinghua University(清华大学清华伯克利深圳学院);PCL Research Center of Networks and Communications, Peng Cheng Laboratory(鹏城实验室网络通信与安全研究中心(PCL));Tsinghua Shenzhen International Graduate School, Tsinghua University(清华大学深圳国际研究生院);Shanghai Jiao Tong University(上海交通大学);vivo AI Lab(vivo人工智能实验室)
深度神经网络(DNN)在各种任务上表现出了出色的性能,但它们面临着对抗性示例的风险,当攻击者可以访问目标模型时(白盒设置),这些示例可以很容易地生成。由于大量的机器学习模型已经通过在线服务部署,这些服务只提供来自不可访问模型的查询输出(例如Google Cloud Vision API 2),因此黑盒对抗攻击(不可访问的目标模型)在实践中是关键的安全问题,而不是白盒。然而,现有的基于查询的黑盒对抗攻击往往需要过多的模型查询来维持高的攻击成功率。因此,为了提高查询效率,本文利用神经过程表征的图像结构信息,探索良性输入周围的对抗性样本分布,提出了一种基于神经过程的黑盒对抗攻击(NP-Attack)。大量的实验表明,NP攻击可以大大减少黑盒设置下的查询次数。
Ten Words Only Still Help: Improving Black-Box AI-Generated Text Detection via Proxy-Guided Efficient Re-Sampling
Key Lab of Intelligent Information Processing of Chinese Academy of Sciences(中国科学院智能信息处理重点实验室);Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所);University of Chinese Academy of Sciences(中国科学院大学);Xi’an Jiaotong University(西安交通大学)
Improving the Robustness of Quantized Deep Neural Networks to White-Box Attacks using Stochastic Quantization and Information-Theoretic Ensemble Training
Center for Vision Technologies(视觉技术中心);SRI International(SRI国际)
SA-Attack: Improving Adversarial Transferability of Vision-Language Pre-training Models via Self-Augmentation
Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);Nanyang Technological University(南洋理工大学);National University of Singapore(新加坡国立大学);Sun Yat-sen University(中山大学)
Black-Box Optimization Revisited: Improving Algorithm Selection Wizards through Massive Benchmarking
Facebook AI Research(Facebook AI研究院);The Chinese University of Hong Kong(香港中文大学);Université Paris-Saclay(巴黎萨克雷大学);Université Clermont Auvergne(克莱蒙奥弗涅大学);Sorbonne Université(索邦大学)
Self-Improving Safety Performance of Reinforcement Learning Based Driving with Black-Box Verification Algorithms
ITU Artificial Intelligence and Data Science Research Center(伊斯坦布尔技术大学人工智能与数据科学研究中心);Department of Aeronautical Engineering(航空工程系);Eatron Technologies(Eatron技术公司);Department of Electronics and Communication Engineering(电子与通信工程系);ITU Artificial Intelligence and Data Science Application and Research Center(伊斯坦布尔技术大学人工智能与数据科学应用与研究中心);Department of Computer Engineering(计算机工程系)
A Framework for Improving the Reliability of Black-box Variational Inference
Department of Mathematics \& Statistics, Boston University, mw;DTU Compute, Technical University of Denmark, mra;Department of Computer Science, Aalto University, av;Faculty of Computing \& Data Sciences, Boston University, jh
DALD: Improving Logits-based Detector without Logits from Black-box LLMs
MBZUAI(Mohamed bin Zayed 人工智能大学);University of California, Santa Barbara(加州大学圣巴巴拉分校);University of California, Los Angeles(加州大学洛杉矶分校);NEC Labs America(美国 NEC 实验室);University of North Carolina, Chapel Hill(北卡罗来纳大学教堂山分校);NC State University(北卡罗来纳州立大学)