Steering Large Language Models with Register Analysis for Arbitrary Style Transfer

Xinchen Yang, Marine Carpuat
5/1/2025
cs.CL

No confident code implementation found for this paper. 2 possible matches can be shown below.

Abstract

Large Language Models (LLMs) have demonstrated strong capabilities in rewriting text across various styles. However, effectively leveraging this ability for example-based arbitrary style transfer, where an input text is rewritten to match the style of a given exemplar, remains an open challenge. A key question is how to describe the style of the exemplar to guide LLMs toward high-quality rewrites. In this work, we propose a prompting method based on register analysis to guide LLMs to perform this task. Empirical evaluations across multiple style transfer tasks show that our prompting approach enhances style transfer strength while preserving meaning more effectively than existing prompting strategies.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 2 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{yang2025steering,
  title  = {Steering Large Language Models with Register Analysis for Arbitrary Style Transfer},
  author = {Xinchen Yang and Marine Carpuat},
  year   = {2025},
  eprint = {2505.00679},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.00679v2}
}

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

Discussion