Skip to content

Toward the worst-case robustness of large language modelsTowards the Worst-case Robustness of Large Language Models

arXiv· arXiv:2501.19040· Huanran Chen, Zeming Wei, Yao Huang, Yinpeng Dong, Jun Zhu·Indexed by this site · 26 days ago· Originally publishedAttacks
AI summary

The paper studies the worst-case robustness of large language models, namely whether adversarial examples exist that can induce harmful, violent, privacy-related or erroneous outputs. The authors use stronger white-box attacks to give an upper bound on worst-case robustness, and the results show that the worst-case robustness of most existing deterministic defenses is close to 0%. The authors propose using a fractional knapsack solver or a 0-1 knapsack solver to give general tight lower bounds for randomized smoothing, and use them to bound the worst-case robustness of all randomized defenses, thereby providing theoretical lower bounds for several prior empirical defenses. For example, the authors certify that smoothing with a uniform kernel remains robust under an average ℓ0 perturbation of 2.02 or an average suffix length of 6.41 against any possible attack.

Read originalarxiv.org