paper-with-me

홈 › Papers

Advancing the Robustness of Large Language Models through Self-Denoised Smoothing

2024-04-18 · Jiabao Ji, Bairu Hou, Zhen Zhang, Guanhua Zhang, Wenqi Fan, Qing Li, Yang Zhang, Gaowen Liu, Sijia Liu, Shiyu Chang

Although large language models (LLMs) have achieved significant success, their vulnerability to adversarial perturbations, including recent jailbreak attacks, has raised considerable concerns. However, the increasing size of these models and their limited access make improving their robustness a challenging task. Among various defense strategies, randomized smoothing has shown great potential for LLMs, as it does not require full access to the model's parameters or fine-tuning via adversarial training. However, randomized smoothing involves adding noise to the input before model prediction, and the final model's robustness largely depends on the model's performance on these noise corrupted data. Its effectiveness is often limited by the model's sub-optimal performance on noisy data. To address this issue, we propose to leverage the multitasking nature of LLMs to first denoise the noisy inputs and then to make predictions based on these denoised versions. We call this procedure self-denoised smoothing. Unlike previous denoised smoothing techniques in computer vision, which require training a separate model to enhance the robustness of LLMs, our method offers significantly better efficiency and flexibility. Our experimental results indicate that our method surpasses existing methods in both empirical and certified robustness in defending against adversarial attacks for both downstream tasks and human alignments (i.e., jailbreak attacks). Our code is publicly available at https://github.com/UCSB-NLP-Chang/SelfDenoise

📄 PDF Abstract BibTeX arXiv:2404.12274

Code (1)

ucsb-nlp-chang/selfdenoise 공식 구현 pytorch

Methods 이 논문이 사용한 방법론

Randomized Smoothing 설명 없음
Denoised Smoothing Denoised Smoothing is a method for obtaining a provably robust classifier from a fixed pretrained one, without any additional training or fine-tuning of the latter. The basic…

Similar Papers 제목 키워드 기반

Advancing human-centric AI for robust X-ray analysis through holistic self-supervised learning

2024-05-02 · Théo Moutakanni, Piotr Bojanowski, Guillaume Chassagnon, Céline Hudelot 외

AI Foundation models are gaining traction in various applications, including medical fields like radiology. However, medical foundation models are often tested on limited tasks, leaving their generalisability and biases …

Self-Supervised LearningText Generation

LLM-Enhanced Self-Evolving Reinforcement Learning for Multi-Step E-Commerce Payment Fraud Risk Detection

2025-09-23 · Bo Qu, Zhurong Wang, Daisuke Yagi, Zhen Xu 외 arxiv

This paper presents a novel approach to e-commerce payment fraud detection by integrating reinforcement learning (RL) with Large Language Models (LLMs). By framing transaction risk as a multi-step Markov Decision Process…

Reinforcement LearningFraud Detection

GraphGPT: Graph Instruction Tuning for Large Language Models

2023-10-19 · Jiabin Tang, Yuhao Yang, Wei Wei, Lei Shi 외

Graph Neural Networks (GNNs) have evolved to understand graph structures through recursive exchanges and aggregations among nodes. To enhance robustness, self-supervised learning (SSL) has become a vital tool for data au…

Data AugmentationGraph LearningSelf-Supervised LearningZero-Shot Learning

From Trial to Triumph: Advancing Long Video Understanding via Visual Context Sample Scaling and Self-reward Alignment

2025-03-26 · Yucheng Suo, Fan Ma, Linchao Zhu, Tianyi Wang 외

Multi-modal Large language models (MLLMs) show remarkable ability in video understanding. Nevertheless, understanding long videos remains challenging as the models can only process a finite number of frames in a single i…

Video Understanding

Unleashing the potential of prompt engineering for large language models

2023-10-23 · Banghao Chen, Zhaofeng Zhang, Nicolas Langrené, Shengxin Zhu

This comprehensive review delves into the pivotal role of prompt engineering in unleashing the capabilities of Large Language Models (LLMs). The development of Artificial Intelligence (AI), from its inception in the 1950…

HallucinationPrompt EngineeringPrompt Learning