Abstract
User-centric personalization of text opens many avenues of applications from stylized email composition to machine translation. Existing approaches in this domain often encounter limitations in data and resource requirements. Drawing inspiration from the success of prompt-enabled stylization in related fields, this work conducts the first feasibility study into 12 pre-trained SOTA LLMs for author style emulation. Although promising, the results suggest that current off-the-shelf LLMs fall short of achieving effective author style emulation.
Introduction
Can an off-the-shelf Large Language Model (LLM) write exactly like you just by looking at a few of your emails or blog posts? In the world of AI, we have become accustomed to "Text Style Transfer"—asking a model to make a sentence sound "more formal" or "like Shakespeare." However, Author Style Emulation is a much harder, more personal challenge. It aims to replicate the unique, often indecipherable linguistic preferences of a specific individual.
Historically, achieving this required massive "parallel corpora" (the same text written in two different styles), which rarely exist for the average person. With the rise of LLMs, researchers hoped that prompt engineering could bypass the need for massive datasets. This study investigates whether we can achieve "plug-and-play" personalization using only a few examples and clever instructions across 12 state-of-the-art models.
Methodology
The researchers tested 12 SOTA models, including heavyweights like GPT-4 and GPT-3.5, and open-source contenders like Llama-2, Mistral, and Zephyr. These were categorized into three types: Auto-regressive, Chat-tuned, and Instruction-tuned.
To evaluate the models, two distinct prompting protocols were used:
- Trivial Emulation Protocol (TEP): A simple "mimic this" prompt accompanied by a short snippet of author text.
- Complex Emulation Protocol (CEP): A detailed prompt providing specific linguistic targets (lexical richness, sentence structure, punctuation style) and longer snippets of example text.
The study utilized the Blogs Authorship Corpus, focusing on 100 authors with established writing styles. Performance was measured using five Authorship Attribution (AA) algorithms (e.g., BertAA, Contra-X). If an AA model correctly identifies LLM-generated text as belonging to the original author, the emulation is considered successful.
Key Results and Insights
The Performance Gap and the Instruction Paradox
Despite the promising capabilities of modern LLMs, a significant performance gap remains. The best-performing LLM setups only reached about two-thirds of the accuracy seen in original human texts. Digital detective algorithms can still easily distinguish between a human and an LLM attempting to emulate that human's style.
A surprising finding was the "Instruction Paradox": providing models with more specific linguistic instructions (the CEP protocol) often made them worse at emulating style compared to simpler prompts with longer context. Chat-tuned models (like GPT-4 and Llama-2-Chat) generally outperformed base models, likely due to their training in persona-following.
Linguistic Feature Analysis
LLMs show varying degrees of success depending on the stylistic feature being mimicked. While models are relatively adept at capturing "Tone" and "Authenticity," they struggle immensely with "Lexical Diversity" (e.g., Type-Token Ratio) and "Punctuation Style."
As shown in the Z-score analysis, features like TTR (Type-Token Ratio) and PUNCT (Punctuation) often show high deviation from the ground truth, suggesting that LLMs default to their own internal probabilistic patterns rather than fully adopting the author's unique linguistic fingerprint.
Conclusion
While LLMs like GPT-4 and DeepSeek show flashes of brilliance in style emulation, they are not yet ready to ghostwrite personalized content without human intervention. The study suggests that the most promising path forward lies in "Dynamic Prompting"—using AI to first analyze an author's unique traits and then generating a custom, rather than static, prompt to guide the emulation process.
Summary updated