atlas

Research map / Large language models / Alignment and preferences

Stream Aligner: Efficient Sentence-Level Alignment via Distribution Induction

AAAI 2025 · Large language models › Alignment and preferences · approach: Steering and correcting LLM behavior · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes Stream Aligner, a small sentence-level corrector that iteratively rewrites the latest sentence of an upstream LLM's output and feeds the correction back into the prefix, improving helpfulness, harmlessness and math accuracy.

Problem

Existing alignment methods either need expensive training of the base model or, for inference-time add-on correctors like Aligner, rely heavily on the capability of the additional model and add latency because correction happens only once on the full answer.

Approach

Instead of correcting a full response once, a small model is fine-tuned on sentence-level preference pairs (original vs. corrected last sentence given prefix) and is run in a loop: the upstream model generates a sentence, the corrector rewrites it, and the corrected sentence is appended to the prefix for the next round. This elicits the upstream model's latent capability with a much smaller correc

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Replace whole-answer correction with sentence-level streaming correctionLlama2-70B-chat with Stream Aligner-2B · Helpful QAwin rate: 21.3 -> 76.1Helped
Replace whole-answer correction with sentence-level streaming correctionLlama2-70B-chat with Stream Aligner-2B · Harmless QAwin rate: 7.2 -> 36.0Helped
Use Continue rather than Direct generation (ablation)Stream Aligner-2B + Llama2-70B-chat · Helpful QAwin rate: Direct: 76.1; Continue: 54.3Mixed
Use Continue rather than Direct generation (ablation)Stream Aligner-2B + Llama2-70B-chat · Harmless QAwin rate: Direct: 36.0; Continue: 50.0Mixed
Increase the number of generation-correction cycles (ablation)Stream Aligner · Helpful and harmless QA; mathwin rate / accuracyHelped
Use Continue generation rather than the classic sentence-by-sentence correction pipeline (ablation)Stream Aligner · Mathwin rateHelped
Use Stream Aligner-2B rather than Aligner-70B (ablation)Llama3-70B-Instruct · Mathaccuracy improvementHelped
Increase the additional model size from Stream Aligner-2B to Stream Aligner-8B (ablation)Llama3-8B-Instruct · Mathaccuracy improvement: 6.1% -> 11.3%Helped
Use SFT instead of Stream Aligner (ablation)Llama3-8B-Instruct · Mathaccuracy improvement: 5.8% -> -0.5%Hurt
Use DPO instead of Stream Aligner (ablation)Llama3-8B-Instruct · Mathaccuracy improvement: 5.8% -> 0.3%Hurt
Use Stream Aligner rather than Aligner with equal-sized correction modelsUpstream model with correction models of equivalent size · Inferenceper-token inference time: 0.80 timesHelped
Use Stream Aligner rather than AlignerInference pipeline · Inferencefirst-token latency: 10 timesHelped

Surprising findings

Limitations

Experimental setup

Datasets: HH-RLHF PKU-SafeRLHF MATH BeaverTails

Benchmarks: HH-RLHF PKU-SafeRLHF MATH BeaverTails

Metrics: win rate (helpfulness) win rate (harmlessness) accuracy improvement (math) first-token latency per-token inference time

Baselines: Aligner Proxy-tuning SFT DPO Stream Aligner continue-generation pipeline

Builds on: Aligner speculative sampling proxy-tuning SFT

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy