TL;DR
Researchers have introduced SysBench, the first comprehensive benchmark designed to evaluate how well Large Language Models (LLMs) adhere to "system messages"—the foundational instructions that define a model's persona and rules. The study reveals a significant gap in current AI capabilities: even top-tier models like GPT-4o struggle to maintain these constraints over long conversations, with the best model achieving a "Session Stability Rate" of only 54.4%.
What Problem Does This Paper Address?
In the world of LLMs, there is a hierarchy of instructions. The system message is supposed to be the "boss"—it sets the role (e.g., "You are a helpful medical assistant"), the constraints (e.g., "Never give specific dosages"), and the style. User messages are the subsequent requests.
The challenge is that LLMs often suffer from "instruction drift" or "instruction injection." As a conversation gets longer, the model might forget the original rules set in the system message. Worse, if a user asks the model to ignore its previous instructions (a common tactic in "jailbreaking"), the model often misjudges which instruction takes priority. While we have many benchmarks for general instruction following, we lacked a rigorous way to measure if models can actually stick to their "system-level" identities across complex, multi-turn interactions.
Methods
The authors developed SysBench to systematically analyze three specific failure modes: constraint violation, instruction misjudgment (conflicts), and multi-turn instability.
- Constraint Taxonomy: They categorized system instructions into six types: Action, Content, Background, Role, Format, and Style.
- Granular Metrics: Instead of a simple pass/fail, they introduced three levels of evaluation:
- Constraint Satisfaction Rate (CSR): Did the model follow each individual rule?
- Instruction Satisfaction Rate (ISR): Did the model follow all rules for a specific turn?
- Session Stability Rate (SSR): How many consecutive turns did the model remain "in character" and compliant?
- The Verifier: To ensure accuracy, they used a model-based evaluation protocol (powered by GPT-4o) guided by human-annotated checklists. They verified this against human judgment, finding a high consistency rate of 97.3%.
Datasets
The researchers created a high-quality, manually refined dataset consisting of:
- 500 System Messages: Spanning 20+ domains (e.g., Finance, Healthcare, Role-playing).
- 2,500 Conversational Turns: Each system message is paired with a 5-turn dialogue.
- Aligned vs. Misaligned Instructions: Some user queries are helpful, while others are "misaligned"—specifically designed to tempt the model into violating its system constraints.
- Parallel vs. Dependent Turns: Some dialogues are independent questions, while others require the model to remember context from previous turns to stay compliant.
Key Insights and Ideas
- The "Attention" Smoking Gun: By analyzing attention scores, the researchers found that models don't inherently treat system messages as "special." The attention a model pays to system tokens is remarkably similar to how it treats user tokens. This suggests that "following the boss" is a learned behavior from training data, not a structural feature of how the models "think."
- The Priority Problem: Models perform significantly worse on "misaligned" instructions. When a user says "Ignore your previous rules," many models (especially smaller open-source ones) fail to prioritize the system message, leading to security and persona risks.
- Stability Decay: Performance isn't static. The researchers used linear regression to show that as dialogues lengthen, the probability of a model violating a system constraint increases steadily (the "decay slope").
- Role-Playing is a Strong Suit: Interestingly, many models are quite good at maintaining a "Role" (e.g., "You are a spy"), but struggle significantly more with "Style" or "Format" constraints over multiple turns.
Key Results
The study evaluated 16 popular LLMs, including the GPT, Llama, and Qwen families.
- The Leaders: GPT-4o and GPT-4-Turbo took the top spots, but even they are far from perfect. GPT-4o achieved an 87.1% CSR but only a 54.4% SSR. This means that in nearly half of all 5-turn sessions, the model failed at least once.
- The Stability Gap: There is a massive drop-off from single-turn success to session-long stability. For example, Llama-3.1-70B has a respectable 76.6% CSR, but its Session Stability (SSR) plummeted to 36.6%.
- Open Source vs. Proprietary: While proprietary models generally lead, open-source models like Qwen2.5-72B and Llama-3.1-70B are becoming competitive in basic constraint following, though they still struggle more with multi-turn consistency.
Limitations and Future Work
The authors acknowledge several areas for improvement:
- Judge Bias: While they validated GPT-4o as a judge, model-based evaluation can sometimes inherit the biases of the evaluator model.
- Training Data Scarcity: The paper notes that high-quality, precisely matched data for system message alignment is scarce.
- Future Directions: The authors suggest that "Post-hoc Steering"—techniques that manually boost the attention scores of system message tokens during inference—could be a promising way to keep models on track without expensive retraining. They also advocate for "Rule-based Alignment" in reward models to explicitly penalize system message violations.
Summary updated