Towards Spec Learning: Inference-Time Alignment from Preference Pairs
On the map: LLM alignment / RLHF / preference optimisation → LLM preference optimization methods
Abstract (arXiv)
Steering a large language model (LLM) toward a desired behavior typically relies on an iterative process of hand-crafting a prompt based on a careful inspection of the model's responses. This is an involved, brittle, and error-prone process. Preference-based fine-tuning is a more rigorous but often prohibitively expensive solution. We propose spec learning, a framework that relies on a brief user instruction and a small set of preference judgments. These are compiled into specifications in the form of natural-language prompts for an LLM. Specifications condition LLMs at inference time, and no parameter updates to the underlying models are required. We show that the responses generated based on the compiled specifications often outperform direct preference optimization (DPO) on datasets from specialized domains whose preference signal is dense. Unlike opaque weight updates, the resulting specifications are human-readable and double as interpretable and transparent written embodiments of the preference signal that produced them.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in LLM preference optimization methods, one of 10 directions in LLM alignment / RLHF / preference optimisation. Builds on 107 of its 127 references that are in the map. First posted on arXiv 22 Jun 2026.
Builds on
107 of 127 references.
Closest ancestors · 8
Same direction, newest first
- 2025Align-Pro: A Principled Approach to Prompt Optimization for LLM Alignment7 Jan
- 2024SimPO: Simple Preference Optimization with a Reference-Free Reward23 May
- 2024ORPO: Monolithic Preference Optimization without Reference Model12 Mar
- 2023What Makes Good Data for Alignment? A Comprehensive Study of Automatic Data Selection in Instruction Tuning25 Dec
- 2023Black-Box Prompt Optimization: Aligning Large Language Models without Model Training7 Nov
- 2023A General Theoretical Paradigm to Understand Learning from Human Preferences18 Oct
- 2022Self-Instruct: Aligning Language Models with Self-Generated Instructions20 Dec
- 2022Training language models to follow instructions with human feedback4 Mar
Other references · 99
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,393
- 2023Direct Preference Optimization: Your Language Model is Secretly a Reward Modelcited by 7,916
- 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,064
- 2017Deep reinforcement learning from human preferencescited by 3,846
- 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedbackcited by 3,634
- 2020Learning to summarize from human feedbackcited by 2,562
- 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,222
- 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,413
- 2024A Survey on LLM-as-a-Judgecited by 1,384
- 2021Calibrate Before Use: Improving Few-Shot Performance of Language Modelscited by 1,371
38 more
- 2023Large Language Models are not Fair Evaluatorscited by 1,050
- 2022Large Language Models Are Human-Level Prompt Engineerscited by 1,020
- 2026DeepSeek-V4: Towards Highly Efficient Million-Token Context Intelligencecited by 877
- 2024Length-Controlled AlpacaEval: A Simple Way to Debias Automatic Evaluatorscited by 865
- 2023Large Language Models as Optimizerscited by 830
- 2023Can Large Language Models Be an Alternative to Human Evaluations?cited by 729
- 2024LLM Evaluators Recognize and Favor Their Own Generationscited by 651
- 2023Automatic Prompt Optimization with "Gradient Descent" and Beam Searchcited by 628
- 2023Promptbreeder: Self-Referential Self-Improvement Via Prompt Evolutioncited by 521
- 2025GEPA: Reflective Prompt Evolution Can Outperform Reinforcement Learningcited by 449
- 2024MLLM-as-a-Judge: Assessing Multimodal LLM-as-a-Judge with Vision-Language Benchmarkcited by 362
- 2022RLPrompt: Optimizing Discrete Text Prompts with Reinforcement Learningcited by 361
- 2024Justice or Prejudice? Quantifying Biases in LLM-as-a-Judgecited by 354
- 2023JudgeLM: Fine-tuned Large Language Models are Scalable Judgescited by 351
- 2024Humans or LLMs as the Judge? A Study on Judgement Biasescited by 314
- 2024JudgeBench: A Benchmark for Evaluating LLM-based Judgescited by 294
- 2024Optimizing Instructions and Demonstrations for Multi-Stage Language Model Programscited by 270
- 2024LLMs instead of Human Judges? A Large Scale Empirical Study across 20 NLP Evaluation Taskscited by 236
- 2023PromptAgent: Strategic Planning with Language Models Enables Expert-level Prompt Optimizationcited by 226
- 2024Agent-as-a-Judge: Evaluate Agents with Agentscited by 223
- 2022Demystifying Prompts in Language Models via Perplexity Estimationcited by 215
- 2024Judging the Judges: Evaluating Alignment and Vulnerabilities in LLMs-as-Judgescited by 197
- 2023EvoPrompt: Connecting LLMs with Evolutionary Algorithms Yields Powerful Prompt Optimizerscited by 189
- 2023Benchmarking Foundation Models with Language-Model-as-an-Examinercited by 172
- 2022Instruction Induction: From Few Examples to Natural Language Task Descriptionscited by 152
- 2024Aligning with Human Judgement: The Role of Pairwise Preference in Large Language Model Evaluatorscited by 146
- 2022GrIPS: Gradient-free, Edit-based Instruction Search for Prompting Large Language Modelscited by 127
- 2024Is LLM-as-a-Judge Robust? Investigating Universal Adversarial Attacks on Zero-shot LLM Assessmentcited by 117
- 2024Trust or Escalate: LLM Judges with Provable Guarantees for Human Agreementcited by 99
- 2024Improving Text-to-Image Consistency via Automatic Prompt Optimizationcited by 88
- 2025J1: Incentivizing Thinking in LLM-as-a-Judge via Reinforcement Learningcited by 73
- 2022Black-box Prompt Learning for Pre-trained Language Modelscited by 70
- 2023InstructZero: Efficient Instruction Optimization for Black-Box Large Language Modelscited by 68
- 2023CritiqueLLM: Towards an Informative Critique Generation Model for Evaluation of Large Language Model Generationcited by 65
- 2025A Systematic Survey of Automatic Prompt Optimization Techniquescited by 61
- 2023Prompt Engineering a Prompt Engineercited by 53
- 2023Reprompting: Automated Chain-of-Thought Prompt Inference Through Gibbs Samplingcited by 46
- 2024PRewrite: Prompt Rewriting with Reinforcement Learningcited by 43
50 most cited of 99 All 99 (JSON)
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2024Inference time LLM alignment in single and multidomain preference spectrum
- 2025Test-Time Preference Optimization: On-the-Fly Alignment via Iterative Textual Feedback
- 2025PITA: Preference-Guided Inference-Time Alignment for LLM Post-Training
- 2024Intuitive Fine-Tuning: Towards Simplifying Alignment into a Single Process
- 2025Configurable Preference Tuning with Rubric-Guided Synthetic Data
- 2024A Systematic Examination of Preference Learning through the Lens of Instruction-Following
- 2024ICPL: Few-shot In-context Preference Learning via LLMs
- 2024Unified Preference Optimization: Language Model Alignment Beyond the Preference Frontier