response to reviewer jzC7
Firstly, thank you for your invaluable suggestion and patience. We apologize for the delay in our response, as we have been thoroughly enhancing our work in line with your feedback. We are excited to share that we have updated both our paper and the supplementary materials, including the code, in this revised version. Detailed summaries of our revisions are available in the official comments. Below, we address your specific concerns.
**Response to W1: it's very likely that the proprietary model (GPT series) has seen these two classic word knowledge dataset. So it's hard to fairely evaluate robustness of ChatGPT and GPT3.**
We appreciate your concern regarding the data leakage issues in the GPT series models. However, we want to clarify that our focus is not on measuring the models' accuracy on these question-answering datasets, where data leakage issues could be a concern. Instead, we aim to assess the instruction-following robustness against prompt injection. Specifically, our evaluation is twofold:
- **Performance Influence**: We measure the **relative** performance drop to assess how injected instructions affect the model's output.
- **Instruction Discrimination/Prioritization**: We analyze which type of instruction, the original target or the injected one, the model prioritizes in its response, also using a **relative** comparison approach.
Therefore, we believe data leakage does not significantly impact our study's objectives or outcomes.
Furthermore, our experimental results demonstrate that GPT models are indeed susceptible to prompt injection attacks, especially with compromised prefixes. This vulnerability is particularly noteworthy if the models have previously been exposed to the original question-answering pairs. In such cases, one might expect the models to prioritize responding to the original questions seen in their training data, but our findings suggest otherwise, indicating a susceptibility to newly introduced instructions.
**Response to W2: Since this is a benchmark work to evaluate robustness of LLMs against prompt injection. Hence the work would be more complete if some existing prompt injection defense strategies are investigated.**
Thank you for highlighting the importance of exploring existing prompt injection defense strategies in our work. We appreciate the related work provided. For the first paper, in Section 5.6 on mitigation: it points out that current defense approaches seems to follow a "whack-A-Mole" style, whenever there is an attack, there is a targeted defensive, but eventually there will be other attacks. This highlights the need to enhance models' inherent understanding of prompts and their discernment of appropriate instructions, which is also why we examine their such abilities and call for attention to solutions. Apart from this, the mentioned literatureinclude one focusing on jailbreak instead of prompt injection attack [1].
**For the second work released after ICLR deadlines, we noticed several defensive approaches that intersect with our evaluations, including data isolation and instructional defense. These have been incorporated into our updated experiments as detailed in Section 4.1. In our newly added Section 4.4, we investigate the effects of attack and defense mechanisms.** As we aim to investigate the model's inherent ability to understand prompts and discern target instructions, we primarily focus on the prevention defensive approaches such as the sandwich defense. Our findings reveal intriguing new insights: models with a better grasp of prompt context also exhibit increased vulnerability to attacks using compromised phrases like "ignore previous prompts" or "answer my question one-by-one, per answer per response" especially when the injected question precedes the original one. **The details can be found in Section 4.4 of our updated paper.**
**Response to Q1: references and model version specificity issues in Section 4.**
Thanks for pointing out these issues. We have corrected the citations of LLama2 and provided references for other evaluated models in our updated manuscript. Additionally, we have provided model versions for proprietary models, and huggingface mode path for open-sourced models in the appendix, for enhanced clarity and ease of reference.
[1] Daniel Kang, Xuechen Li, Ion Stoica, Carlos Guestrin, Matei Zaharia, and Tatsunori Hashimoto. 2023. Exploiting Programmatic Behavior of LLMs: Dual-Use Through Standard Security Attacks. arXiv (2023).