Strengths
### Significance
I believe that the problem studied in this paper is well-motivated. Soft prompts are a threat that is specific to open-source models. However, as the authors mentioned, open-source models are becoming increasingly powerful and arguably can be utilized for harmful purposes (writing fake news, phishing, etc.).
Soft prompting (along with other fine-tuning attacks) will continue to be a challenging problem to fix for open-source models. These threats call into question the trade-off between benefits and negative impacts open-source foundation models have on society. This work well demonstrates a potential negative consequence that cannot be easily mitigated by fine-tuning or alignment methods.
Weaknesses
### 1. Utility metrics
L108: “Utility” is potentially not the right terminology or metric for an attack. I’m also unsure what its purpose is or why the attacker should care about utility of the attacked model. It would make sense for defenses.
If “utility” here is intended to measure how much the model’s response helps the attacker in conducting a harmful task, I believe it should be part of the success rate metric, i.e., whether the model generates truly harmful responses. But my understanding is that this is not the authors’ intention.
### 2. Attack success metrics
The authors mention five different metrics just for measuring an attack success rate. There should be better a motivation for why or whether we should consider all of them (vs just pick 1-2). It seems more reasonable to pick only one metric that best correlates with human judgement. I do not immediately see how each of these metrics add any relevant information beyond that, apart from the "cumulative success rate" (CU). It is also unclear whether the jailbreaking task and the unlearning task should rely on the same metric. I believe Section 4.3 can be better organized.
### 3. Toxicity score
I would like to see some justification regarding using this model for detecting toxic strings vs approaches used by a few other works (GPT-4, LlamaGuard, LLM-based detectors from https://github.com/centerforaisafety/HarmBench?tab=readme-ov-file#-classifiers). I’m thinking that these classifiers may be more reliable than the toxic-bert model.
### 4. Cumulative success rate
While I’m broadly in favor of the cumulative success rate or the “pass@k”-style metric, I don’t agree that increasing a one-shot attack to a k-shot one fully aligns with Kerckhoffs’s Principle. Kerckhoff’s Principle is about security by design and having a rigorous theoretical guarantee in a way that even when the attackers know every detail of the defense, they cannot break it.
There should be a discussion on a reasonable choice of k (if one sets k to an extremely large number, sampling with high temperature would eventually lead to at least one bad response even if the model is not attacked). For the unlearning task, why does a k-shot attack matter? If the model only outputs the right answer 1 out of 100 times, how does the attacker pick out the right answer? A k-shot attack evaluation is more k times more expensive than 1 shot. So I’d like to be convinced why it matters, e.g., if the k-shot success rate is completely correlated with the 1-shot, should I care about the k-shot?
### 5. Perplexity
I’m not convinced that perplexity is the right metric in Figure 4. Is it intended to measure the utility? The original and the attacked models would say something completely different so I doubt perplexity is a meaningful comparison here. Low perplexity can be achieved by repeating a single token. A few more questions: how is perplexity measured? Is it computed on standard, attacked, or a third model? I see that perplexity does not include prompt, but is it conditioned on the prompt?
### 6. Lack of baseline attacks
While there are a lot of results and discussion on universal attacks and multiple metrics, the numbers reported for the baseline attacks only include ASR and computation cost. In the unlearning setting, there is also no baseline attack at all (e.g., discrete optimization or other prior attacks).
### 7. Novelty
One of primary weaknesses of the paper is the lack of novelty. Soft prompt or prompt tuning is an idea that has been around for a few years and has been touched on in multiple papers in the past [1, 2, 3]. These papers, while not focusing on soft prompts as the main threat, propose attacks that optimize in the continuous space (embedding or vocabulary probability space) and then use different heuristics to recover hard prompts. Therefore, I believe that this paper offers limited technical contribution.
The experiments in this paper are fairly extensive, i.e., covering a lot of interesting questions, but there is a lack of depth in how the questions are being explored scientifically. For example, I find the fact that universal attacks are better than individual attacks very interesting and under-explored (it is also observed in the GCG paper I believe). Prompting the embedding attacked model to generate jailbreaks for another model seems to also work surprisingly well. These are potentially more novel scientific questions that are buried in the paper. On the other hand, the main contribution of showing that the soft prompt attack works is rather expected and has limited contributions to the scientific community.
1. https://arxiv.org/abs/2104.13733
2. https://arxiv.org/abs/2302.03668
3. https://arxiv.org/abs/2401.16656
Questions
**Q1:** What dataset is used for the jailbreaking experiment?
**Q2:**
> An additional investigation confirms that, across all scenarios, attacks from the final optimization iteration were less successful than those from earlier iterations. For simplicity, we nevertheless report the success at the last iteration.
Did the authors use any early stopping method here?
**Q3:** On the unlearning task (Section 6) and jailbreak task (Figure 3), universal attacks appear to perform better than individual attacks. This is very surprising and worth addressing in my opinion. First of all, do I have the right understanding here? Do the authors have explanation for why a direct optimization (individual attack) is *worse* than optimizing on a number of different samples and essentially relying on generalization (universal attack)?