Introduction
In the digital age, writing style serves as a unique biometric. "Stylometry"—the statistical analysis of literary variations—can identify anonymous authors across platforms with high accuracy, creating significant privacy risks for whistleblowers and sensitive forum participants. While Large Language Models (LLMs) are often used to rewrite text for anonymity, they typically function as "black boxes," often compromising meaning or failing to address the specific stylistic quirks that define an author's voice.
StyleRemix addresses these challenges by treating writing style as a collection of modular, interpretable elements. By identifying an author's stylistic "fingerprint" and using specialized adapters to shift text toward a domain average, StyleRemix provides a controllable and efficient framework for authorship obfuscation.
Methodology
StyleRemix utilizes a two-stage approach inspired by musical remixing, focusing on targeted perturbation of style axes rather than generic rewriting.
Stage 1: Pre-Obfuscation
The researchers first established a stylistic palette by creating the DiSC (Distilled Style Components) dataset. Using GPT-4, 1,500 base texts were rewritten along seven stylistic axes, such as formality, sarcasm, and voice (active vs. passive). These parallel texts were then used to train 16 lightweight Low-Rank Adaptation (LoRA) adapters on a Llama-3 8B base model, with each adapter corresponding to a specific direction on a style axis.
Stage 2: Obfuscation
To obfuscate a new text, the system calculates an "author style vector" across the seven axes and compares it to the mean style of the target domain (e.g., the average tone of a blog). StyleRemix then selects and applies the specific LoRA adapters required to steer the text away from the author's unique quirks and toward the norm. These adapters can be combined through sequential processing or mathematical weight merging.
Datasets
The study introduced two primary resources:
- AUTHORMIX: A collection of 30,000 high-quality paragraphs from 14 authors across four domains: novels, scholarly articles, blogs, and presidential speeches.
- DiSC: A parallel corpus of 1,500 texts rewritten in 16 unique directions, serving as the training foundation for the style-specific adapters.
Interpretable Stylistic Control
A core advantage of StyleRemix is its interpretability. Unlike opaque LLM prompts, StyleRemix allows users to see exactly which stylistic traits are being modified. The researchers found a "sweet spot" for perturbation: modifying 3–4 key axes provides optimal obfuscation without degrading grammatical fluency. Changing five or more axes often leads to a breakdown in text quality.
Key Results
StyleRemix outperformed both massive general-purpose models and previous state-of-the-art (SOTA) methods in overall task performance, which balances author identification drop rates, content similarity, and grammar.
- Performance: In the "Blog" domain, StyleRemix achieved an overall score of 20.4, surpassing Llama-3 70B (10.9) and the previous SOTA, JAMDEC (15.4).
- Human Evaluation: Human trials rated StyleRemix as the most effective at obfuscation (83.0%). It maintained high marks for content preservation, nearly matching the much larger Llama-3 70B model.
- Efficiency: The system is computationally efficient; merging adapters with the base model takes less than five seconds on standard hardware.
Conclusion
StyleRemix demonstrates that specialized, smaller models (8B) can outperform general-purpose giants (70B) in privacy-preserving tasks when equipped with targeted, modular adapters. While currently limited to English, the framework's interpretable nature and efficiency make it a robust candidate for real-world authorship obfuscation. Future work will focus on expanding language support and identifying additional stylistic invariants to further strengthen defenses against sophisticated stylometry.
Summary updated