Reasoning over Boundaries: Enhancing Specification Alignment via Test-time Deliberation
On the map: LLM reasoning → Reasoning for agents, planning and code
also in 1 more
Abstract (arXiv)
Large language models (LLMs) are increasingly applied in diverse real-world scenarios, each governed by bespoke behavioral and safety specifications (spec) custom-tailored by users or organizations. These spec, categorized into safety-spec and behavioral-spec, vary across scenarios and evolve with changing preferences and requirements. We formalize this challenge as specification alignment, focusing on LLMs' ability to follow dynamic, scenario-specific spec from both behavioral and safety perspectives. To address this challenge, we propose Align3, a lightweight method that employs Test-Time Deliberation (TTD) with hierarchical reflection and revision to reason over the specification boundaries. We further present SpecBench, a unified benchmark for measuring specification alignment, covering 5 scenarios, 103 spec, and 1,500 prompts. Experiments on 15 reasoning and 18 instruct models with several TTD methods, including Self-Refine, TPO, and MoreThink, yield three key findings: (i) test-time deliberation enhances specification alignment; (ii) Align3 advances the safety-helpfulness trade-off frontier with minimal overhead; (iii) SpecBench effectively reveals alignment gaps. These results highlight the potential of test-time deliberation as an effective strategy for reasoning over the real-world specification boundaries. Our code and resources are available at https://github.com/zzzhr97/SpecBench.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 43 of its 74 references that are in the map. First posted on arXiv 18 Sep 2025.
Builds on
43 of 74 references.
Closest ancestors · 9
Same direction, newest first
- 2025SafeWork-R1: Coevolving Safety and Intelligence under the AI-45circ Law24 Jul
- 2025SAFEPATH: Preventing Harmful Reasoning in Chain-of-Thought via Early Alignment20 May
- 2025RealSafe-R1: Safety-Aligned DeepSeek-R1 without Compromising Reasoning Capability14 Apr
- 2025STAR-1: Safer Alignment of Reasoning LLMs with 1K Data2 Apr
- 2025Safety Tax: Safety Alignment Makes Your Large Reasoning Models Less Reasonable1 Mar
- 2025The Hidden Risks of Large Reasoning Models: A Safety Assessment of R118 Feb
- 2025SafeChain: Safety of Language Models with Long Chain-of-Thought Reasoning Capabilities17 Feb
- 2025STAIR: Improving Safety Alignment with Introspective Reasoning4 Feb
- 2024Deliberative Alignment: Reasoning Enables Safer Language Models20 Dec
Other references · 34
- 2023GPT-4 Technical Reportcited by 18,396
- 2025Qwen3 Technical Reportcited by 8,820
- 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,330
- 2025Gemini 2.5: Pushing the Frontier with Advanced Reasoning, Multimodality, Long Context, and Next Generation Agentic Capabilitiescited by 3,796
- 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedbackcited by 3,720
- 2022Constitutional AI: Harmlessness from AI Feedbackcited by 3,050
- 2024HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusalcited by 1,429
- 2025s1: Simple test-time scalingcited by 1,341
- 2024Length-Controlled AlpacaEval: A Simple Way to Debias Automatic Evaluatorscited by 897
- 2024DeepSeek-V3 Technical Reportcited by 811
- 2023Safe RLHF: Safe Reinforcement Learning from Human Feedbackcited by 656
- 2024BigCodeBench: Benchmarking Code Generation with Diverse Function Calls and Complex Instructionscited by 546
22 more
- 2024The WMDP Benchmark: Measuring and Reducing Malicious Use With Unlearningcited by 509
- 2024From Crowdsourced Data to High-Quality Benchmarks: Arena-Hard and BenchBuilder Pipelinecited by 500
- 2024SALAD-Bench: A Hierarchical and Comprehensive Safety Benchmark for Large Language Modelscited by 228
- 2023Mitigating the Alignment Tax of RLHFcited by 183
- 2024InFoBench: Evaluating Instruction Following Ability in Large Language Modelscited by 135
- 2024FOFO: A Benchmark to Evaluate LLMs' Format-Following Capabilitycited by 80
- 2025Effectively Controlling Reasoning Models through Thinking Interventioncited by 65
- 2024TreeBoN: Enhancing Inference-Time Alignment with Speculative Tree-Search and Best-of-N Samplingcited by 61
- 2025SETS: Leveraging Self-Verification and Self-Correction for Improved Test-Time Scalingcited by 54
- 2024Explainable and Interpretable Multimodal Large Language Models: A Comprehensive Surveycited by 52
- 2025AGENTIF: Benchmarking Instruction Following of Large Language Models in Agentic Scenarioscited by 49
- 2025Test-Time Preference Optimization: On-the-Fly Alignment via Iterative Textual Feedbackcited by 41
- 2025AILuminate: Introducing v1.0 of the AI Risk and Reliability Benchmark from MLCommonscited by 35
- 2025LLM-Powered AI Agent Systems and Their Applications in Industrycited by 22
- 2025BioProBench: A Corpus and Benchmark for Biological Protocol Reasoning in Autonomous Sciencecited by 16
- 2025GuideBench: Benchmarking Domain-Oriented Guideline Following for LLM Agentscited by 14
- 2025AI Chatbots for Mental Health: Values and Harms from Lived Experiences of Depressioncited by 13
- 2025Is Safety Standard Same for Everyone? User-Specific Safety Evaluation of Large Language Modelscited by 10
- 2025SafeLawBench: Towards Safe Alignment of Large Language Modelscited by 9
- 2025Safe-Child-LLM: A Developmental Benchmark for Evaluating LLM Safety in Child-LLM Interactionscited by 7
- 2024Assessing Language Models' Worldview for Fiction Generationcited by 3
- 2025Instruction Tuning for Story Understanding and Generation with Weak Supervisioncited by 3
Built on by
Citing papers per year: 2025: 2; 2026: 2.
4 papers.
- 2026The Compliance Gap: Why AI Systems Promise to Follow Process Instructions but Don'tcited by 3
- 2025Multimodal Policy Internalization for Conversational Agentscited by 2
- 2025Analyzing and Internalizing Complex Policy Documents for LLM Agentscited by 2
- 2026User-Aware Active Knowledge Acquisition for Emotional Support Dialoguecited by 0
- 2026User-Aware Active Knowledge Acquisition for Emotional Support Dialogue28 May 2026
- 2026The Compliance Gap: Why AI Systems Promise to Follow Process Instructions but Don't3 May 2026
- 2025Analyzing and Internalizing Complex Policy Documents for LLM Agents13 Oct 2025
- 2025Multimodal Policy Internalization for Conversational Agents10 Oct 2025
Similar, not cited
Close in wording, no citation either way
- 2026Inferring Code Correctness from Specification
- 2026When Specifications Conflict: A Symmetry-Based Framework for Measuring LLM Preferences
- 2026SpecAlign: Efficient Specification-Grounded Alignment of Large Language Models via Synthetic Data
- 2026Deliberative Alignment is Deep, but Uncertainty Remains: Inference time safety improvement in reasoning via attribution of unsafe behavior to base model
- 2026SpecAlign: A Semantic Alignment Framework for SystemVerilog Assertion Generation
- 2025Picky LLMs and Unreliable RMs: An Empirical Study on Safety Alignment after Instruction Tuning
- 2026Intent-aligned Formal Specification Synthesis via Traceable Refinement
- 2026Detecting Inconsistencies in Model Specifications with LLM-as-Verifier Reasoning