Token-Level Accept or Reject: A Micro Alignment Approach for Large Language Models

Yang Zhang, Yu Yu, Bo Tang, Yu Zhu, Chuxiong Sun, Wenqiang Wei, Jie Hu, Zipeng Xie, Zhiyu Li, Feiyu Xiong, Edward Chung

Introduction

Aligning Large Language Models (LLMs) with human values—ensuring they are helpful, safe, and ethical—is a cornerstone of modern AI development. Traditionally, this alignment is achieved through Reinforcement Learning from Human Feedback (RLHF) or Direct Preference Optimization (DPO). While effective, these methods are computationally expensive, requiring the fine-tuning of billions of parameters and tying the alignment logic directly to the model's weights.

This paper introduces MARA (Micro token-level Accept-Reject Aligning), a paradigm shift that decouples alignment from the base language model. By treating alignment as a lightweight, external decision-making process, MARA achieves superior performance with a fraction of the computational overhead.

The Challenge of Traditional Alignment

Traditional alignment methods are "heavy." They involve modifying the entire neural network of the LLM. This approach presents two major hurdles:

  1. Computational Cost: Fine-tuning models with 8B to 70B parameters requires massive GPU resources and hundreds of hours of training.
  2. Lack of Portability: Alignment is model-specific. If a developer switches from a Llama-based architecture to Mistral, the entire alignment process must typically be repeated from scratch.

MARA addresses these issues by asking: Can we treat alignment as a simple filter rather than a fundamental retraining of the model's internal logic?

Methods: The MARA Approach

Architectural Overview

MARA shifts the burden of alignment to a "Micro Alignment Model." While the base LLM might have billions of parameters, the MARA gatekeeper is a simple three-layer fully-connected network with only approximately 4 million parameters. This represents a 2000x reduction in scale compared to the models it controls.

Figure 3: Comparison between traditional alignment (left), which modifies the base model, and the MARA approach (right), which uses a decoupled micro-alignment model.

The Token Selection Process

Instead of changing how the LLM "thinks," MARA acts as an editor during the generation phase. The process follows a sequential "Accept or Reject" logic:

  1. The base LLM generates a set of candidate tokens for the next word using standard sampling techniques.
  2. These candidates are ranked by probability.
  3. The Micro Alignment Model evaluates the prompt, the conversation history, and the candidate token.
  4. It makes a binary decision: Accept or Reject.
  5. If a token is rejected, the system moves to the next candidate. A fallback mechanism ensures that if all candidates are rejected, the final candidate is accepted to maintain the flow of generation.
Figure 5: The detailed workflow of MARA, showing how candidate tokens from a reference model are sequentially evaluated and either rejected or accepted by the micro-alignment model.

Training via Soft Actor-Critic (SAC)

To bridge the gap between high-level human preferences and low-level token decisions, the authors frame alignment as a Markov Decision Process (MDP). They utilize the Soft Actor-Critic (SAC) algorithm for training. SAC is notably more efficient in distributed environments than the Proximal Policy Optimization (PPO) algorithm typically used in RLHF, allowing the micro-model to learn complex preference signals rapidly.

Datasets and Evaluation

The researchers trained and evaluated MARA using several rigorous benchmarks:

  • PKU-SafeRLHF: 83.4K preference pairs used for primary training.
  • BeaverTails: Used to evaluate safety across 14 distinct categories.
  • HarmfulQA: A benchmark for testing responses in potentially dangerous conversational contexts.
  • HH-RLHF & Ultra-Feedback: Utilized for robustness testing and ablation studies.

Key Insights and Results

Superior Performance and Efficiency

On the Llama 3.1-8B architecture, MARA demonstrated a +31.8% improvement in preference rates over RLHF and a +18.8% improvement over DPO. Remarkably, it also outperformed "Aligner" models (7B parameters) by +8.8%, despite being nearly 1,750 times smaller. Furthermore, MARA maintains high inference speeds (31.41 tokens/s), significantly faster than larger seq2seq alignment models.

Cross-Model Universality

One of the most significant findings is MARA's transferability. An alignment model trained on Mistral-7B was shown to improve the performance of Llama 3-8B by an average of 25.5%. This suggests that human preference signals are universal enough to transcend specific model architectures, allowing for "plug-and-play" alignment modules.

The "First Token" Rule

Empirical analysis revealed that the base model's first choice is accepted 65-74% of the time. MARA's primary value lies in its intervention during the critical 25-35% of instances where the base model might otherwise generate unhelpful or unsafe content.

Conclusion

MARA proves that alignment does not require massive model retraining. By simplifying the task into a binary token-level decision, researchers can create highly efficient, portable, and effective alignment "gates." This approach paves the way for more sustainable and flexible AI safety frameworks that can be easily adapted across different language model families.

Summary updated

BibTeX
@inproceedings{zhang2025token,
  author = {Yang Zhang and Yu Yu and Bo Tang and Yu Zhu and Chuxiong Sun and Wenqiang Wei and Jie Hu and Zipeng Xie and Zhiyu Li and Feiyu Xiong and Edward Chung},
  title = {{Token-Level Accept or Reject: A Micro Alignment Approach for Large Language Models}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.24963/ijcai.2025/931},
}
Figure