Abstract
Aligning Large Language Models (LLMs) with human intent typically relies on expensive human-annotated data. This paper introduces ACT (Aligning to ConsTraints), a framework that replaces holistic human evaluation with automated, modular constraint verification. By decomposing instructions into verifiable rules, ACT generates high-quality supervision signals without human annotators. Experimental results across entity typing, summarization, and question answering demonstrate that ACT achieves performance comparable to traditional supervised fine-tuning while significantly reducing the need for human-labeled data.
Introduction
The alignment of Large Language Models (LLMs) with human expectations is a critical step in their development, usually achieved through Reinforcement Learning from Human Feedback (RLHF) or Supervised Fine-Tuning (SFT). However, these methods face a significant bottleneck: the requirement for massive amounts of human-annotated data. This process is not only slow and expensive but also fails to scale effectively for niche tasks or highly specific user constraints.
The ACT framework addresses this by observing that while evaluating the "overall quality" of a response is complex for machines, verifying specific rules—or constraints—is often straightforward. For instance, checking if a summary adheres to a word count or if an entity belongs to a predefined list can be automated via simple scripts or rule engines. ACT leverages these "automatic verifiers" to create a feedback loop for model alignment, effectively substituting human judgment with programmatic verification.
The ACT Framework
The ACT (Aligning to ConsTraints) framework follows a unified four-step pipeline designed to automate the alignment process:
- Constraint Selection & Taxonomy: Constraints are categorized into three types: those affecting the response alone ($f(y)$), those governing the relationship between input and output ($f(x, y)$), and those ensuring consistency across multiple instances ($f(\{x_i, y_i\})$).
- Verifier Realization: Instead of human judges, ACT employs "verifiers"—Python functions, rule engines, or model-based metrics like BERTScore—to calculate a Constraint Satisfaction Rate (CSR).
- Response Sampling: The model generates diverse candidate responses for a single prompt, ensuring a range of satisfaction levels for training.
- Ranking-based Training: Responses are ranked by their CSR, and the model is trained using a ranking loss to prefer higher-satisfaction outputs. Efficiency is maintained through Low-Rank Adaptation (LoRA).
Experimental Evaluation
The framework was evaluated on several tasks, including fine-grained entity typing (FIGER), abstractive summarization (XSUM), and temporal question answering (TORQUE).
In the FIGER task, ACT achieved an F1 score of 61.5, remarkably close to the 63.8 F1 of a model fine-tuned on 1,000 human-labeled instances, despite ACT using zero human labels for the alignment phase. In summarization, ACT with a minimal "warm-up" (10% human data) matched the performance of full human-labeled fine-tuning in terms of consistency and coherence, as verified by human evaluators.
Discussion and Insights
A key finding of this research is that constraints are often universal across tasks. For example, "extractiveness"—the requirement to stay true to source text—is applicable to summarization, entity extraction, and fact-checking alike. The authors discovered that a model trained to follow a constraint in one domain becomes significantly better at following it in another, suggesting the possibility of modular, "plug-and-play" constraint-following components.
Furthermore, automated feedback proved to be a viable proxy for human labels. In summarization, ACT achieved a ROUGE-L score of 15.7 with zero human labels, compared to 18.2 for full fine-tuning. With just 10% human data to "warm up," it reached parity with 100% human-labeled models.
Conclusion
ACT demonstrates a path toward scalable LLM alignment by shifting the focus from holistic human evaluation to automated constraint verification. While it currently requires human effort to define constraints and write verifiers, future work in automatic constraint discovery could further minimize human intervention. The framework proves that for many NLP tasks, programmatic rules can provide the necessary supervision to align models effectively and efficiently.
Summary updated