Source-linked AI summary
SysBench: Can Large Language Models Follow System Messages?
Yanzhao Qin, Tao Zhang, Tao Zhang, Yanjun Shen, Wenjing Luo, Haoze Sun, Yan Zhang, Yujing Qiao, Weipeng Chen, Zenan Zhou, Wentao Zhang, Bin Cui
TL;DR
System messages steer LLM behavior, but comprehensive evaluation of how well models follow them is lacking. SysBench evaluates this ability with a multi-turn dataset and protocol; its experiments find performance differences across models and continuing difficulty, especially under conflicting user instructions.
Problem
There is no comprehensive benchmark for evaluating whether LLMs follow system messages across constraints and multi-turn user interactions.
Source: §1 · pp. 1–2Method
SysBench evaluates 500 system messages across six constraint types and 2,500 conversation turns, with instruction-alignment categories and three-level performance metrics.
Source: §1 · p. 2, §5 · pp. 10–11Results
Experiments show model-score differentiation across multiple perspectives, and following remains challenging, especially when user instructions conflict with system messages.
Source: §1 · p. 2, §5 · p. 11Takeaways & Limitations
SysBench provides a multi-perspective basis for assessing model performance and insights for improving system-message mechanisms.
Source: §1 · p. 2, §5 · p. 11
Abstract
from arXiv · showhide
Large Language Models (LLMs) have become instrumental across various applications, with the customization of these models to specific scenarios becoming increasingly critical. System message, a fundamental component of LLMs, is consist of carefully crafted instructions that guide the behavior of model to meet intended goals. Despite the recognized potential of system messages to optimize AI-driven solutions, there is a notable absence of a comprehensive benchmark for evaluating how well LLMs follow system messages. To fill this gap, we introduce SysBench, a benchmark that systematically analyzes system message following ability in terms of three limitations of existing LLMs: constraint violation, instruction misjudgement and multi-turn instability. Specifically, we manually construct evaluation dataset based on six prevalent types of constraints, including 500 tailor-designed system messages and multi-turn user conversations covering various interaction relationships. Additionally, we develop a comprehensive evaluation protocol to measure model performance. Finally, we conduct extensive evaluation across various existing LLMs, measuring their ability to follow specified constraints given in system messages. The results highlight both the strengths and weaknesses of existing models, offering key insights and directions for future research. The open source library SysBench is available at https://github.com/PKU-Baichuan-MLSystemLab/SysBench.
1 INTRODUCTION
System-message following remains difficult because models can violate constraints, misjudge conflicting instructions, or drift over long conversations. SysBench addresses the evaluation gap with a multi-turn benchmark and evaluation protocol, then tests 16 popular LLMs.
1 INTRODUCTION
- Constraint violations, instruction-priority errors, and drift over lengthy dialogue can diminish user experience or raise security concerns.Misjudging whether user instructions conflict with system messages can create security-attack risks.Source: §1 · p. 2
- Existing evaluations leave a gap: small, simplified datasets and single-turn benchmarks do not fully assess system-message following in real-world interactions.The paper identifies data construction and accurate evaluation of complex, multi-turn constraints as key challenges.Source: §1 · p. 2
- SysBench includes 500 system messages, each paired with five rounds of user conversations, and uses expert-guided data preparation and LLM-based verification.The authors describe real-scenario data rewritten by trained annotators and evaluation checklists with prompts.Source: §1 · pp. 2–3
- Following remains challenging, especially when user instructions conflict with system messages; attention scores allocated to system messages positively correlate with following ability.The authors present these findings as insights for improving system-message mechanisms.Source: §1 · p. 2
- The benchmark evaluates system-message following with designed criteria and a three-level framework, and reports experiments across 16 popular LLMs.The paper presents SysBench as a benchmark for dataset construction and evaluation criteria design.Source: §1 · pp. 2–3
2 RELATED WORK
Prior work examines system messages and instruction following, but the cited research leaves a gap in comprehensive, multi-turn evaluation that reflects real-world system-message use.
2.1 SYSTEM MESSAGES IN LLM
- Studies examine system-message training, priority, and stability, while existing evaluations remain focused on specific aspects and small-scale, simplified datasets.Prior findings include deteriorating stability as dialogues lengthen, alongside declining attention scores.Source: §2.1 · p. 3
2.2 EVALUATION OF INSTRUCTION FOLLOWING
- Instruction-following benchmarks assess complex constraints and compositions, but are typically single-turn and therefore do not reflect system messages' multi-turn interactive setting.The cited work includes decomposition of complex instructions and evaluation of subjective, objective, and real-world constraints.Source: §2.2 · p. 3
3 SYSBENCH
SysBench specifies a benchmark design, dataset pipeline, and evaluation protocol for measuring system-message following across user instructions and multi-turn conversations.
3.1 BENCHMARK DESIGN
- The design treats system constraints as manually checked atomic rules across six types, and separates compatible requests from contradictory ones that should be refused or ignored.Source: §3.1 · p. 4
- Parallel conversations make each instruction independent, whereas dependent conversations require integrating relevant dialogue history with the current instruction.Source: §3.1 · p. 4
3.2 DATASET
- Dataset construction starts from online logs, refines 500 system messages with 21 annotators, and retains five manually rewritten conversation rounds per message.Expert-designed checklists guide verification, and multiple experts independently review the data in multiple rounds.Source: §3.2 · p. 5
- The dataset has 500 system messages, five rounds each, and 2–3 relevant constraints per instruction on average, spanning aligned/misaligned and dependent/parallel cases.Source: §3.2 · p. 5
3.3 EVALUATION PROTOCOL
- An advanced LLM verifier evaluates responses using the system message, dialogue history, user instruction, and manually annotated checklists.Source: §3.3 · p. 5
- CSR scores individual constraints, ISR requires every constraint for an instruction, and SSR tracks consecutive fully compliant turns from the conversation start.Source: §3.3 · p. 6
4 EXPERIMENTS
Across constraint types, instruction alignments, and multi-turn sessions, model performance varies, with leading models still showing weaknesses in particular constraints and conversation settings. The experiments also examine how correct dialogue history and attention relate to system-message following.
4.1 EXPERIMENTAL SETUP
- The setup evaluates sixteen popular LLMs using CSR, ISR, and SSR for constraint-level performance, instruction-level satisfaction, and multi-turn stability, respectively.A GPT-4o verifier is used at temperature 0, with generation parameters kept at defaults.Source: §4.1 · pp. 6–7
4.2 CONSTRAINTS-CATEGORIZED RESULTS
- GPT-4o leads across constraint categories, with Claude-3 close behind; weaker models show larger constraint-specific variation, including Qwen2-7B’s 81.0% CSR for role constraints versus 43.3% for style constraints.The category-level pattern closely tracks total CSR, and Figure 4 shows eight representative models.Source: §4.2 · p. 7, Figure 4 · p. 7
4.3 INSTRUCTION ALIGNMENT
- GPT-4-Turbo leads ISR by a narrow margin, while most models perform better on aligned than misaligned instructions.Aligned instructions require satisfying both system and user constraints; for misaligned instructions, satisfying the system message alone is required.Source: Table 3 · p. 7, §4.3 · p. 8
4.4 MULTI-TURN STABILITY
- GPT-4o and GPT-4-Turbo lead SSR, but Rn generally declines faster in multi-turn dependent than parallel conversations.Some models, including ERNIE-4 and Claude-3, start with high R1 yet decay more rapidly in later turns; the best SSR is 54.4%.Source: Table 4 · p. 8, §4.4 · p. 9
4.5 INVESTIGATIVE EXPERIMENTS
- Replacing model-generated history with ground-truth responses improves ISR, especially in multi-turn dependent conversations.For parallel conversations, the improvement is comparable to first-round random variation; ERNIE-4 shows the most obvious improvement despite its sharp decline with round count.Source: §4.5 · pp. 9–10, Figure 5 · p. 9
- Attention attributed to system messages correlates with following performance, and its decline is steeper in dependent than parallel conversations.In a token-level case study, attention peaks at the starts of turns; the authors suggest this may help explain continued system-message influence across turns.Source: §4.5 · p. 10, Figure 6 · p. 10
- Replacing a system message with the same text as a user message barely changes its attention score, suggesting training-data construction matters more than a strict inference-stage distinction.The comparison changes the role marker while keeping the text the same.Source: §4.5 · p. 10, Figure 6 · p. 10
5 CONCLUSION
SysBench is presented as a comprehensive benchmark of LLM system-message following, built around six constraint types and multi-turn conversations. Its evaluations show score differentiation across multiple perspectives.
5 CONCLUSION
- SysBench is presented as the first comprehensive benchmark for LLM system-message following, with system messages and user instructions built around six constraint types.It distinguishes aligned from misaligned instructions and categorizes multi-turn conversations by dependency.Source: §5 · pp. 10–11
- Experiments across varied LLMs show differentiated SysBench scores across multiple perspectives, which the authors say underscores the benchmark’s utility for performance assessment.The authors state that these results offer insights for model improvement.Source: §5 · p. 11
- SysBench evaluates constraint-level following, instruction-level satisfaction, and multi-turn stability using three-level granularity metrics.Its dataset comprises 500 sessions and 2,500 conversation turns.Source: §5 · p. 11
A.1 DETAILED CONSTRAINT CATEGORIES
Table 5 is identified as detailing SysBench’s six constraint types.
A.1 DETAILED CONSTRAINT CATEGORIES
- Table 5 is described as detailing the six types of constraints in SysBench.Source: Table 5 · p. 15
A.2 THE VERIFICATION PROMPT FOR MODEL-BASED VERIFIER
The verification prompt asks a model-based evaluator to judge whether the current response complies with each evaluation criterion. It supplies system-message and dialogue context, then requests a JSON judgment for each constraint.
A.2 THE VERIFICATION PROMPT FOR MODEL-BASED VERIFIER
- The verifier is instructed to assess whether the current answer meets each requirement in the evaluation criteria.It is given the system prompt, historical dialogue, current user question, current answer, and corresponding checklist.Source: §A.2 · p. 16
- The prompt organizes context into the system prompt, historical dialogue rounds, and the current dialogue round to be evaluated.Source: §A.2 · p. 16
- The requested JSON contains evaluation reasoning and a conclusion mapping each constraint number to Yes or No.Source: §A.2 · p. 16
A.3 SAMPLE DATA FORMAT
The sample is a bilingual, five-instruction, multi-turn dependent conversation from SysBench’s technology domain. Its turns illustrate the constraints and checklist used to evaluate responses across changing user requests.
A.3 SAMPLE DATA FORMAT
- The 231st dataset dialogue is a bilingual, multi-turn dependent technology-domain example with five instructions; its second instruction is misaligned and includes action, content, and style constraints.The assistant texts are ground truth, and the example directs readers to SysBench checklists for detailed criteria.Source: §A.3 · pp. 16–17
- The first instruction combines a greeting requirement with a request about China’s startup taxes, followed by answers naming several tax types.The sample includes value added, corporate income, individual income, property, and stamp taxes.Source: §A.3 · p. 17
- A later tax-evasion question receives a serious refusal, matching the stated constraint for that topic.Source: §A.3 · p. 17
- The conversation proceeds to data-security and privacy guidance, then labor-law policies and dispute-avoidance suggestions.The labor-law response includes recommendations such as internal regulations, legal training, and a dispute-resolution mechanism.Source: §A.3 · pp. 18–19
- The final request shifts to intellectual-property protection, with an answer covering patents, trademarks, copyright, trade secrets, and enforcement.Source: §A.3 · pp. 19–20
B MORE EXPERIMENTAL RESULTS
Table 6 presents CSR scores across different constraint types, with version numbers omitted for clarity.
- Table 6 reports CSR scores under different constraint types and omits version numbers, referring readers to Table 2 for details.Source: Table 6 · p. 20