arXiv · 2505.00679
Steering Large Language Models with Register Analysis for Arbitrary Style Transfer
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.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Xinchen Yang, Marine Carpuat. 2025-05-01. Steering Large Language Models with Register Analysis for Arbitrary Style Transfer. https://arxiv.org/abs/2505.00679
Cite the original work for its findings. Save a collection to share your selection of sources.