Steering Large Language Models for Machine Translation Personalization

Daniel Scalena, Gabriele Sarti, Arianna Bisazza, Elisabetta Fersini, Malvina Nissim
5/22/2025
cs.CLcs.AIcs.LG

No official code found. Best implementation: DanielSc4/steering-for-personalization (2 stars, last commit 2025-05-23).

Abstract

Large language models have simplified the production of personalized translations reflecting predefined stylistic constraints. However, these systems still struggle when stylistic requirements are implicitly represented by a set of examples, such as texts produced by a specific human translator. In this work, we explore various strategies for personalizing automatically generated translations when few examples are available, with a focus on the challenging domain of literary translation. We begin by determining the feasibility of the task and how style information is encoded within model representations. Then, we evaluate various prompting strategies and inference-time interventions for steering model generations towards a personalized style, with a particular focus on contrastive steering with sparse autoencoder (SAE) latents to identify salient personalization properties. We demonstrate that contrastive SAE steering yields robust style conditioning and translation quality, resulting in higher inference-time computational efficiency than prompting approaches. We further examine the impact of steering on model activations, finding that layers encoding personalization properties are impacted similarly by prompting and SAE steering, suggesting a similar mechanism at play.

View on arXivView PDF

Code Implementations(1)

Materials for "Steering Large Language Models for Machine Translation Personalization"

20PythonMay 22, 20251 years ago

Similar Papers

Cite this paper

@article{scalena2025steering,
  title  = {Steering Large Language Models for Machine Translation Personalization},
  author = {Daniel Scalena and Gabriele Sarti and Arianna Bisazza and Elisabetta Fersini and Malvina Nissim},
  year   = {2025},
  eprint = {2505.16612},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.16612v2}
}

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/2505.16612.svg)](https://codeofpaper.com/paper/2505.16612)

Discussion