System Message Generation for User Preferences using Open-Source Models
Abstract
System messages play a crucial role in interactions with large language models (LLMs), often serving as prompts to initiate conversations. Through system messages, users can assign specific roles, perform intended tasks, incorporate background information, specify various output formats and communication styles. Despite such versatility, publicly available data are often lack system messages and subject to strict license constraints in the industry field. Manual labeling of publicly available data with system messages that align with user instructions demands significant resources. In view of such challenges, our work introduces SysGen, a pipeline for generating system messages with better aligned assistant responses from the supervised fine-tuning dataset without system messages. Training on SysGen data has demonstrated substantial improvements in the alignment of model responses with system messages and user instructions, as demonstrated across various open-source models on the Multifacet benchmark, while maintaining minimal impact on other unseen benchmarks such as Open LLM Leaderboard 2. Our qualitative analysis highlights the importance of diverse system messages to ensure better adaptability across different contexts.
Community
System messages, also known as initial prompt, play a crucial role in steering LLM behaviors during conversations, shaping their behavior by providing roles, background information, task instructions, and communication styles.
※ Despite their versatility, publicly available datasets rarely include system messages, and those that do often contain only generic ones (e.g., You are a helpful AI assistant). Moreover, in the industry, licensing constraints limit the use of existing datasets and models, making it challenging to develop well-aligned AI assistants.
» To address these challenges, we introduce SYSGEN—a novel pipeline for generating system messages from supervised fine-tuning (SFT) datasets without system messages.
Open-source models fine-tuned with SYSGEN data produce well-aligned assistant responses with both system messages and user instructions, while minimizing performance degradation on the unseen benchmark.
If you’re already leveraging the SFT datasets, we highly recommend applying SYSGEN on top of it for enhanced alignment and usability.
This is an automated message from the Librarian Bot. I found the following papers similar to this paper.
The following papers were recommended by the Semantic Scholar API
- IHEval: Evaluating Language Models on Following the Instruction Hierarchy (2025)
- Do LLMs Recognize Your Preferences? Evaluating Personalized Preference Following in LLMs (2025)
- UltraIF: Advancing Instruction Following from the Wild (2025)
- DeepThink: Aligning Language Models with Domain-Specific User Intents (2025)
- Repository-level Code Search with Neural Retrieval Methods (2025)
- Optimization is Better than Generation: Optimizing Commit Message Leveraging Human-written Commit Message (2025)
- A Survey of Personalized Large Language Models: Progress and Future Directions (2025)
Please give a thumbs up to this comment if you found it helpful!
If you want recommendations for any Paper on Hugging Face checkout this Space
You can directly ask Librarian Bot for paper recommendations by tagging it in a comment:
@librarian-bot
recommend
Models citing this paper 0
No model linking this paper
Datasets citing this paper 0
No dataset linking this paper
Spaces citing this paper 0
No Space linking this paper
Collections including this paper 0
No Collection including this paper