SyRuP: Enhancing System-Prompt Following via Reward-Guided Prediction in LLM Decoding
Abstract
Large Language Models (LLMs) are increasingly controlled through system prompts that specify roles, formats, and safety requirements. However, models follow these prompts only implicitly through in-context learning, which can be insufficient for complex or compositional prompts. Existing approaches often require model tuning or response-level reranking, limiting their practicality for lightweight inference-time control. We introduce SyRuP, a decoding-time framework for improving system-prompt adherence while keeping the base LM frozen. SyRuP trains a cross-attention reward head from system-prompt-conditioned preference pairs, treating the system prompt as a separate memory to produce token-level adherence scores. At inference, SyRuP reranks the base LM's top-k candidates by combining base logits with both the learned reward signal and a contrastive signal that captures system-induced logit shifts. Experiments on system-prompt following benchmarks show that SyRuP consistently outperforms prompting and decoding-time baselines with moderate inference overhead. These results suggest that explicit token-level guidance is an effective and practical mechanism for reliable system-prompt following.
Create a lesson
Metadata
- Categories
- cs.CL, cs.AI
- Comments
- EMNLP 26 Main, 27 pages
Related papers
SAGE: Stochastic Prompt Optimization via Agent-Guided Exploration
Shared title terminologycs.CLZiyi Zhu, Luka Smyth, Saki Shinoda et al.
Attention-Guided Layer Selection for Contrastive Decoding in Large Language Models
Shared title terminologycs.CLYusuke Sakai, Natthawut Kertkeidkachorn, Kiyoaki Shirai
PersonaFactory: Stylistic User Prompt Augmentation with Synthetic Persona Bank
Shared title terminologycs.CLBich Ngoc Doan, Hanna Yukhymenko, Imanol Schlag
DFly2: Turbocharging Long-Context Speculative Decoding by Sharing the Target's Sparsity
Shared title terminologycs.CLHong Liu, Rui Cen, Junhan Shi et al.
FlyingStart: Learned Cross-Token Warm Starts for Fixed-Point Decoding in Recurrent-Depth Language Models
Shared title terminologycs.CLRunguo Li, Dezhen Lu, Zixiang Ni
Learning from Unreliable Operator References: Claim-Level Rewards for Customer Support Agents
Shared title terminologycs.CLDmitrii Stoianov, Olga Tsymboi, Danil Taranets et al.