paper-with-me

Papers

Separator Injection Attack: Uncovering Dialogue Biases in Large Language Models Caused by Role Separators

2025-04-08 · Xitao Li, Haijun Wang, Jiang Wu, Ting Liu

Conversational large language models (LLMs) have gained widespread attention due to their instruction-following capabilities. To ensure conversational LLMs follow instructions, role separators are employed to distinguish between different participants in a conversation. However, incorporating role separators introduces potential vulnerabilities. Misusing roles can lead to prompt injection attacks, which can easily misalign the model's behavior with the user's intentions, raising significant security concerns. Although various prompt injection attacks have been proposed, recent research has largely overlooked the impact of role separators on safety. This highlights the critical need to thoroughly understand the systemic weaknesses in dialogue systems caused by role separators. This paper identifies modeling weaknesses caused by role separators. Specifically, we observe a strong positional bias associated with role separators, which is inherent in the format of dialogue modeling and can be triggered by the insertion of role separators. We further develop the Separators Injection Attack (SIA), a new orthometric attack based on role separators. The experiment results show that SIA is efficient and extensive in manipulating model behavior with an average gain of 18.2% for manual methods and enhances the attack success rate to 100% with automatic methods.

📄 PDF Abstract BibTeX arXiv:2504.05689

Code (0)

등록된 구현이 없습니다.

Tasks

Instruction Following

Methods 이 논문이 사용한 방법론

Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Attention 설명 없음

Similar Papers 제목 키워드 기반

EVA: Red-Teaming GUI Agents via Evolving Indirect Prompt Injection

2025-05-20 · Yijie Lu, Tianjie Ju, Manman Zhao, Xinbei Ma 외

As multimodal agents are increasingly trained to operate graphical user interfaces (GUIs) to complete user tasks, they face a growing threat from indirect prompt injection, attacks in which misleading instructions are em…

Red Teaming

Dialogue Injection Attack: Jailbreaking LLMs through Context Manipulation

2025-03-11 · Wenlong Meng, Fan Zhang, Wendao Yao, Zhenyuan Guo 외

Large language models (LLMs) have demonstrated significant utility in a wide range of applications; however, their deployment is plagued by security vulnerabilities, notably jailbreak attacks. These attacks manipulate LL…

Unveiling the Threat of Fraud Gangs to Graph Neural Networks: Multi-Target Graph Injection Attacks Against GNN-Based Fraud Detectors

2024-12-24 · Jinhyeok Choi, Heehyeon Kim, Joyce Jiyoung Whang

Graph neural networks (GNNs) have emerged as an effective tool for fraud detection, identifying fraudulent users, and uncovering malicious behaviors. However, attacks against GNN-based fraud detectors and their risks hav…

Fraud Detection

Uncovering Biases with Reflective Large Language Models

2024-08-24 · Edward Y. Chang

Biases and errors in human-labeled data present significant challenges for machine learning, especially in supervised learning reliant on potentially flawed ground truth data. These flaws, including diagnostic errors and…

Bias DetectionDiagnostic

ChatInject: Abusing Chat Templates for Prompt Injection in LLM Agents

2025-09-26 · Hwan Chang, Yonghyun Jun, Hwanhee Lee arxiv

The growing deployment of large language model (LLM) based agents that interact with external environments has created new attack surfaces for adversarial manipulation. One major threat is indirect prompt injection, wher…