Beyond Token-Level Guidance: Inference-Time Alignment of Specialized LLMs via Cross-Family Representation Steering

Jin Gan, Xin Li, Jun Luo
8/31/2026
1 citation
cs.CLcs.AIcs.LG

Official code: DecayingSeart/CREST (0 stars, Python, last commit 2026-08-21).

Abstract

Large language models (LLMs) finetuned for specialized domains represent crucial high-impact applications. Inference-time alignment improves safety degraded from specialization finetuning without requiring substantial computational resources, complementing finetuning-based methods with an easy-to-use, plug-and-play solution.

Show full abstract

However, existing inference-time methods fail to reliably improve safety without disrupting domain capability. We identify the root cause as complementary expertise orthogonality: specialized base models and general-domain guidance models have orthogonal competencies, making the guidance signal unreliable for specialized generation. This primarily manifests as stop token interference, where the guidance model's tendency toward continuation overrides the base model's decision to stop, burying correct answers under guidance-induced continuation. To address this problem, we propose CREST, an inference-time alignment method that steers base model hidden representations using safety directions extracted from a guidance model of any family, avoiding token-level structural limitations entirely. CREST improves safety where specialization has weakened it while preserving both domain-specific capability and the safety of already well-aligned models, outperforming baselines by up to 22.2\% on safety benchmarks. Our code is available at: https://github.com/DecayingSeart/CREST.

View on arXivView PDF

Code Implementations(1)

00PythonAug 21, 20263 months ago

Similar Papers

Cite this paper

@article{gan2026beyond,
  title  = {Beyond Token-Level Guidance: Inference-Time Alignment of Specialized LLMs via Cross-Family Representation Steering},
  author = {Jin Gan and Xin Li and Jun Luo},
  year   = {2026},
  eprint = {2608.30319},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2608.30319v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2608.30319.svg)](https://codeofpaper.com/paper/2608.30319)

Discussion