TL;DR
Multilingual large language models often drift back into high-resource languages like English during long generations or complex reasoning tasks. This paper frames target-language generation as an optimal control problem using the LISECO framework, dynamically computing the minimal activation shift needed to enforce a target language. The resulting method matches or outperforms traditional activation steering techniques while requiring significantly less hyperparameter tuning.
What Problem Does This Paper Address?
Even state-of-the-art multilingual models frequently suffer from "language drift"—accidentally switching to a dominant language (usually English) when generating long texts or performing multi-step reasoning, even when explicitly prompted in another language.
While activation steering (modifying internal representations during inference) can mitigate this, existing methods like DIFFMEANS rely on fixed-magnitude shifts. These static approaches require extensive, model-specific hyperparameter tuning and risk degrading the model's semantic capabilities by over-steering activations into "unnatural" regions of the representation space.
Methods
The authors formulate cross-lingual steering as a discrete-time optimal control problem based on the Linear Semantic Control (LISECO) framework:
- Multilingual Region Identification: They train a lightweight linear probe on internal activations to find the decision boundary between languages, operating under the Linear Representation Hypothesis.
- Optimal Control Intervention: Instead of applying a constant vector shift,
LISECOdynamically calculates the minimal mathematical intervention ($\theta_\tau^*$) needed to push the activation just across the boundary into the target language region. If the model's natural activation is already in the correct language zone, no intervention is applied ($\theta_\tau^* = 0$). The closed-form solutions for this optimization problem are detailed below:
Additionally, the paper introduces a rigorous evaluation metric called Adhered Coherence. This is a joint binary score requiring a generation to simultaneously satisfy three conditions:
- Language Adherence: Is it in the target language? (Verified via a fastText language classifier).
- Semantic Coherence: Does it retain the correct meaning? (Verified via LaBSE embedding similarities against ground-truth references).
- Linguistic Coherence: Is the text well-formed and fluent? (Verified using an n-gram log-perplexity threshold to filter out common failure modes like repetition loops).
Datasets
- FLORES development set: Used to train the linear language probes and calculate baseline mean activations.
- XSTORYCLOZE: A multilingual story completion dataset. The authors construct a crosslingual variant (source language prompt, target language endings) to evaluate "language forcing" without explicit prompt instructions.
Key Insights and Ideas
- Dynamic vs. Static Steering: Traditional steering adds a constant vector regardless of the current token's state.
LISECOacts like a guardrail: it only intervenes if the model is actively drifting, minimizing unnecessary distortion to the model's internal representations. - The Semantic Hub Advantage: By minimizing the perturbation vector orthogonal to the language boundary, the method changes the language attribute while leaving the underlying semantic concept intact.
- Asymmetry in Representation Space: Models easily steer into English, but some (like EuroLLM and Gemma) struggle to steer away from English into lower-resource languages. This suggests English occupies a disproportionately large volume of the model's total activation space due to training data imbalances.
Key Results
- Superior Training Performance: Multi-layer
LISECOsignificantly outperforms single-layer and multi-layer baselines (DIFFMEANS,ACTADD) on training sets, as shown in Figure 1A.
- Robustness to Hyperparameters: On a broad test set across 8 models, a single hyperparameter setting for
LISECO($\alpha^{\text{inner}} = 10^{-8}$) outperformed or matched model-tunedDIFFMEANSfor 5 out of 8 models (BLOOM, Llama 3.1, Llama 3.2, Qwen 2.5, and Tiny Aya), eliminating the need for tedious per-model tuning (Figure 1B). - Layer Stability: Exploratory analyses on Llama 3.2 1B show that
LISECOprovides stable semantic and adhered coherence across almost all layers, whereasDIFFMEANSperformance fluctuates wildly depending on which layer is targeted.
Limitations and Future Work
- Task and Language Coverage: Due to high computational costs (~7000 GPU hours), evaluation was restricted to one core task (
XSTORYCLOZE) across 12 language pairs. - Classifier Dependency: The method's success hinges entirely on the linear probe's ability to find a causally relevant language boundary. If the classifier identifies a non-causal subspace, steering fails to change the output language.
- Future Directions: The authors suggest testing on more complex tasks like translation or prompt-based instruction following, and exploring non-linear or more sophisticated language classifiers to improve steering out of dominant languages.
Summary updated