cs.AINov 4, 2026

Does Context Compression Preserve Refusal Alignment?

Authors: Anthony Nguyen, Wenjun Lin

Organizations: Digital Innovation Lab, Faculty of Computer Science and Technology Algoma University, ON, Canada

Abstract

Context compression reduces inference cost by encoding inputs into compact representations while preserving semantic content. An open question is whether semantic preservation alone is sufficient to maintain downstream behaviours such as refusal alignment. We investigate this question and find that encoder-based compression systematically weakens refusal behaviour in instruction-tuned language models, despite high reconstruction fidelity. This effect persists across model families and compression architectures. Mechanistic analysis shows that compression attenuates activation along the decoder's learned refusal direction. We further explore Memory Steering, a lightweight inference-time intervention that restores refusal rates to near-baseline levels without retraining and operates entirely in compressed representation space. These results demonstrate that semantic preservation does not guarantee behavioural preservation under compression, highlighting the need to explicitly preserve alignment-relevant features in compression-aware systems.

Figures & tables

Appendix figures & tables2 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. End-to-End Context Compression at Scale

    Jun 8, 2026Ang Li, Sean McLeish, Haozhe Chen +12LLM CompressionLong-Context Language Model Inference

  2. KEEP-Bench: Evaluating Evidence Preservation in Context Compression

    Oct 19, 2026Ziqing Man, Di Wu, Jia-Chen Gu +3LLM Context CompressionLLM Evaluation