paper-with-me

Papers

Can LLMs Separate Instructions From Data? And What Do We Even Mean By That?

2024-03-11 · Egor Zverev, Sahar Abdelnabi, Soroush Tabesh, Mario Fritz, Christoph H. Lampert

Instruction-tuned Large Language Models (LLMs) show impressive results in numerous practical applications, but they lack essential safety features that are common in other areas of computer science, particularly an explicit separation of instructions and data. This makes them vulnerable to manipulations such as indirect prompt injections and generally unsuitable for safety-critical tasks. Surprisingly, there is currently no established definition or benchmark to quantify this phenomenon. In this work, we close this gap by introducing a formal measure for instruction-data separation and an empirical variant that is calculable from a model's outputs. We also present a new dataset, SEP, that allows estimating the measure for real-world models. Our results on various LLMs show that the problem of instruction-data separation is real: all models fail to achieve high separation, and canonical mitigation techniques, such as prompt engineering and fine-tuning, either fail to substantially improve separation or reduce model utility. The source code and SEP dataset are openly accessible at https://github.com/egozverev/Shold-It-Be-Executed-Or-Processed.

📄 PDF Abstract BibTeX arXiv:2403.06833

Code (2)

egozverev/shold-it-be-executed-or-processed 공식 구현 pytorch
facebookresearch/meta_secalign pytorch

Tasks

Prompt Engineering

Similar Papers 제목 키워드 기반

Generating Illustrated Instructions

2023-12-07 · CVPR 2024 1 · Sachit Menon, Ishan Misra, Rohit Girdhar

We introduce the new task of generating Illustrated Instructions, i.e., visual instructions customized to a user's needs. We identify desiderata unique to this task, and formalize it through a suite of automatic and huma…

ArticlesImage GenerationText to Image GenerationText-to-Image Generation

From Complex to Simple: Enhancing Multi-Constraint Complex Instruction Following Ability of Large Language Models

2024-04-24 · Qianyu He, Jie Zeng, Qianxi He, Jiaqing Liang 외

It is imperative for Large language models (LLMs) to follow instructions with elaborate requirements (i.e. Complex Instructions Following). Yet, it remains under-explored how to enhance the ability of LLMs to follow comp…

Instruction Following

Benchmarking Large Language Models on Controllable Generation under Diversified Instructions

2024-01-01 · Yihan Chen, Benfeng Xu, Quan Wang, Yi Liu 외

While large language models (LLMs) have exhibited impressive instruction-following capabilities, it is still unclear whether and to what extent they can respond to explicit constraints that might be entailed in various i…

BenchmarkingInstruction FollowingText Generation

What Makes for Good Visual Instructions? Synthesizing Complex Visual Reasoning Instructions for Visual Instruction Tuning

2023-11-02 · Yifan Du, Hangyu Guo, Kun Zhou, Wayne Xin Zhao 외

Visual instruction tuning is an essential approach to improving the zero-shot generalization capability of Multi-modal Large Language Models (MLLMs). A surge of visual instruction datasets with various focuses and charac…

MMEVisual ReasoningZero-shot Generalization

ASIDE: Architectural Separation of Instructions and Data in Language Models

2025-03-13 · Egor Zverev, Evgenii Kortukov, Alexander Panfilov, Alexandra Volkova 외

Despite their remarkable performance, large language models lack elementary safety features, and this makes them susceptible to numerous malicious attacks. In particular, previous work has identified the absence of an in…