Research map / Large language models / Alignment and preferences
InferAligner: Inference-Time Alignment for Harmlessness through Cross-Model Guidance
Pengyu Wang, Dong Zhang, Linyang Li, Chenkun Tan, Xinghao Wang, Ke Ren, Botian Jiang, Xipeng Qiu
Fudan University
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| add InferAligner | DS-LLaMA2 (finance) · Finance harmfulness | ASR: 38.4 -> 0.0 | Improved |
| add InferAligner | DS-LLaMA2 (finance) · Finance jailbreak | ASR: 48.2 -> 0.2 | Improved |
| add InferAligner | DS-LLaMA2 (medicine) · Medicine jailbreak | ASR: 21.4 -> 0.0 | Improved |
| add InferAligner | DS-LLaMA2 (mathematics) · Mathematics harmfulness | ASR: 36.8 -> 0.0 | Improved |
| add InferAligner | DS-LLaMA2 · Finance/Medicine/Mathematics utility | Accuracy: 92.9 -> 92.9; 42.7 -> 42.7; 39.0 -> 39.0 | No clear effect |
| add Safety SFT (100 safe samples) | DS-LLaMA2 (finance) · Finance jailbreak | ASR: 48.2 -> 13.4 | Mixed |
| use LLaMA2-CHAT-based fine-tuning instead of base LLaMA2 | DS-LLaMA2-CHAT · Medicine/Mathematics utility | Accuracy: 42.7 -> 40.6; 39.0 -> 36.8 | Hurt |
| add Self-Reminder prompt | DS-LLaMA2 (medicine) · Medicine harmfulness | ASR: 31.6 -> 29.2 | No clear effect |
| add Goal Priority prompt | DS-LLaMA2 (mathematics) · Mathematics jailbreak | ASR: 42.2 -> 4.2 | Improved |
| apply InferAligner with SSVs from LLaMA2-CHAT to LLaVA | LLaVA-7B/13B · MM-Harmful Bench | ASR | Improved |
| use SSVs extracted from the target model itself (add) instead of from aligned model (ablation) | InferAligner · harmfulness test set | ASR | No clear effect |
| subtract self-extracted SSVs during inference (ablation) | InferAligner · harmfulness test set | Safety Score: 2.5-3.5 | No clear effect |
Later papers that compared with this method
1 later accepted paper reports InferAligner as a baseline in their results tables; 1 of them report a better number on most of the results they share with it.
- AdaSteer: Your Aligned LLM is Inherently an Adaptive Jailbreak Defender (EMNLP 2025 · better on 4 of 4 shared results)
Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.
Closest papers by meaning
- Bounded Rationality for LLMs: Satisficing Alignment at Inference-Time (ICML 2025 · similarity 0.90)
- Align-Pro: A Principled Approach to Prompt Optimization for LLM Alignment (AAAI 2025 · similarity 0.89)
- The Unlocking Spell on Base LLMs: Rethinking Alignment via In-Context Learning (ICLR 2024 · similarity 0.89)
- On-the-fly Preference Alignment via Principle-Guided Decoding (ICLR 2025 · similarity 0.89)
- Aligner: Efficient Alignment by Learning to Correct (NeurIPS 2024 · similarity 0.88)
- Model Spec Midtraining: Improving How Alignment Training Generalizes (NeurIPS 2026 · similarity 0.88)
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.
