potentialpaper

On the Inherent Vulnerability of Randomized Models to Nagging Attack

Wei Zhang, Jiashen Fu, Xiao Li, Xiaolin Hu

ICLR 2026 submission

Edit this page

Or clone it with git

The page gets its repository with its first edit, so start in the web editor.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

Abstract. There has been a long debate on whether inference-time randomness enhances or reduces the safety of deep learning models. In this paper, we formalize a realistic threat model, and provide both theoretical and empirical evidence demonstrating that randomness in inference undermines model safety. The threat we consider is nagging attack, where an adversary repeatedly queries the model with the same adversarial example, exploiting the model’s inherent randomness until a failure occurs. Theoretically, we show that nagging attack introduces a fundamental vulnerability for randomized models, which cannot be eliminated by refining their design. To address this challenge, we propose seed-rotation, a deployment strategy that de-randomizes the model within fixed intervals while retaining stochasticity across intervals. We prove that seed-rotation makes the randomized model safer. Empirically, we compared seed-rotation to the standard randomized deployment across multiple randomized defense methods. The results consistently showed that seed-rotation achieved higher adversarial robustness than the randomized deployment.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

add · history

No versions are recorded yet: its preprint, the venues it went to and what they decided, the camera-ready. Missing a version?

We don't know of a submission of this paper to a venue with open reviews. Missing a submission?

Loading the discussion…