Explicit Style Extraction for Personalized Long-Form Text Generation
Organizations: University of Chicago · University of Massachusetts Amherst · University of Texas at Dallas · Vanderbilt University ·
Abstract
Personalized long-form generation asks a language model to write new text the way a specific user would. The standard recipe, retrieval-augmented generation, places a few of the user's past texts in the prompt but leaves the model to decide what to take from them. We introduce StylePrism, a taxonomy of 28 stylistic aspects in seven categories, and SP-Refine, an inference-time method that makes style extraction an explicit step: the model first fills StylePrism with the user's patterns, quoted evidence, and habits to avoid, then drafts from the user's samples and revises the draft twice against this profile, guided by its own style scores. On the three long-form tasks of LongLaMP with three LLMs, SP-Refine outperforms LongLaMP's retrieval-augmented baseline in 25 of 27 ROUGE and METEOR comparisons, by 10.2% on average and by up to 35.8%. Annotating users' own texts with the extracted profiles shows that StylePrism captures concrete, checkable habits, from the order of rhetorical moves to a reviewer's sign-off. Ablations show that the profile helps as revision guidance, not as a replacement for the samples: writing from the profile alone is worse in all 27 comparisons, while a single implicit-inference call is a cheaper alternative that comes close. Oracle variants that let the reviser see the reference, together with reference-free controls, show that larger refinement gains require information unavailable at inference time.
Figures & tables
| Lexical Choice L1 Word Frequency & Preference -Detects idiosyncrasies and recurring words L2 Stopword Avoidance / Usage -Does user avoid starting with “The”, “This”, etc. L3 Domain-Specific Lexicon -Detects technical or field-specific vocabulary L4 Intensifier & Modifier Use -Detects degree of assertiveness or emphasis L5 Hedging Behavior -Detects cautious vs. assertive phrasing patterns Syntactic Patterns S1 Sentence Length/Complexity -Avg. sentence length and clause depth S2 Passive vs. Active Voice -Ratio of passive to active constructions S3 Coordination vs. Subordination -Preference for connecting or nesting ideas S4 Punctuation Habits -Frequency of commas, parentheses, semicolons, etc. S5 Enumerative Style -Frequency of lists or structured enumerations Pragmatic & Tone P1 Formality Level -Degree of formality or conversational tone. P2 Politeness Strategy -Softening vs. direct tone and mitigation strategies. P3 Audience Awareness -Inclusive or direct reference to reader. P4 Figurative Language -Use of analogy, metaphor, or idiom. P5 Certainty & Commitment -Confidence conveyed via modal verbs or stance. | Structural Organization O1 Paragraph Structure -Average paragraph length and internal cohesion. O2 Rhetorical Role Distribution -Freq. of problem, contribution, & implication O3 Argument Framing -Logical order and transition structure. O4 Section Naming Style -Naming consistency and section organization. Discourse Markers D1 Transitional Phrases -Recurrent connective or bridging expressions D2 Opening Moves -Typical ways of beginning paragraphs or sections D3 Closing Moves -How arguments or sections conclude D4 Reference Density -Frequency of citations or attributions Formatting & Layout F1 Visual Structure -Use of bullets, numbering, or headings. F2 Paragraph Density -Consistency of idea segmentation. F3 Emphasis & Capitalization -Use of visual emphasis in text. Cross-Task Variability X1 Style Adaptation by Task -How writing style changes across task types. X2 Content–Style Entanglement -Consistency of stylistic cues across content. |
| Abstract Generation | Review Writing | Topic Writing | |||||||
| Method | R-1 | R-L | MET | R-1 | R-L | MET | R-1 | R-L | MET |
| DeepSeek-V4-Flash | |||||||||
| No Profile | 0.3773 | 0.2026 | 0.2835 | 0.2910 | 0.1384 | 0.1685 | 0.2871 | 0.1256 | 0.2180 |
| Random-Samples | 0.3904 | 0.2073 | 0.3028 | 0.3229 | 0.1582 | 0.1983 | 0.2717 | 0.1294 | 0.1979 |
| LongLaMP | 0.4185 | 0.2344 | 0.3352 | 0.3345 | 0.1704 | 0.2114 | 0.2818 | 0.1427 | 0.2077 |
| SP-Refine | 0.4426 | 0.2639 | 0.3535 | 0.3872 | 0.1852 | 0.2806 | 0.3265 | 0.1604 | 0.2585 |
| Abstract | Review | Topic | ||||
| Method | SF | TQ | SF | TQ | SF | TQ |
| DeepSeek-V4-Flash | ||||||
| No Profile | 2.80 | 3.42 | 2.00 | 3.09 | 1.82 | 2.72 |
| Random-Samples | 3.04 | 3.36 | 2.24 | 3.10 | 1.81 | 2.57 |
| LongLaMP | 3.12 | 3.42 | 2.26 | 3.13 | 1.86 | 2.60 |
| SP-Refine | 3.49 | 3.53 | 2.69 | 3.17 | 2.28 | 2.81 |
| Abstract Generation | Review Writing | Topic Writing | ||||||||||
| Variant | R-L | MET | SF | TQ | R-L | MET | SF | TQ | R-L | MET | SF | TQ |
| DeepSeek-V4-Flash | ||||||||||||
| SP-Refine | 0.264 | 0.353 | 3.49 | 3.53 | 0.185 | 0.281 | 2.69 | 3.17 | 0.160 | 0.259 | 2.28 | 2.81 |
| SP-Infer | 0.273 | 0.360 | 3.40 | 3.56 | 0.186 | 0.291 | 2.47 | 3.18 | 0.164 | 0.258 | 2.32 | 2.86 |
| SP-Profile | 0.247 | 0.325 | 3.46 | 3.51 | 0.165 | 0.225 | 2.61 | 3.20 | 0.143 | 0.219 | 2.23 | 2.82 |
| Grok-4.1-Fast | ||||||||||||
Appendix figures & tables13 assets
Supplementary material from the paper’s appendix.
Appendix
| Task | #train | #val | #test | Input len. | Output len. |
|---|---|---|---|---|---|
| Abstract | 13,693 | 4,560 | 4,560 | 33.8 5.7 | 144.3 68.4 |
| Review | 14,745 | 1,826 | 1,822 | 119.4 73.1 | 304.5 228.6 |
| Topic | 11,442 | 2,452 | 2,452 | 28.4 36.1 | 263.0 243.3 |
| Category | Stylistic Aspect | Description | Example |
| Lexical Choice | Word Frequency & Preference | Detects recurring words, preferred synonyms, and idiosyncratic vocabulary. | Uses vitally important instead of very important . |
| Stopword Avoidance / Usage | Whether user avoids starting with “The”, “This”, etc. | Starts abstracts with content words. | |
| Domain-Specific Lexicon | Detects technical or field-specific vocabulary tendencies. | Uses “serves as”, “gives rise to”, “provides a foundation for”. | |
| Intensifier & Modifier Use | Detects degree of assertiveness or emphasis. | Frequent “extremely”, “remarkably”, “fundamentally”. | |
| Hedging Behavior | Detects cautious vs. assertive phrasing patterns. | “May”, “might”, “could” vs. “is”, “demonstrates”. | |
| Syntactic Patterns | Sentence Length & Complexity | Average sentence length, clause depth, punctuation frequency. | Long multi-clause vs. short direct sentences. |
| Abstract Generation | Review Writing | Topic Writing | |||||||
| R-1 | R-L | MET | R-1 | R-L | MET | R-1 | R-L | MET | |
| DeepSeek-V4-Flash | |||||||||
| LongLaMP | 0.4185 | 0.2344 | 0.3352 | 0.3345 | 0.1704 | 0.2114 | 0.2818 | 0.1427 | 0.2077 |
| SP-Refine | 0.4426 | 0.2639 | 0.3535 | 0.3872 | 0.1852 | 0.2806 | 0.3265 | 0.1604 | 0.2585 |
| +0.0241 | +0.0295 | +0.0183 | +0.0527 | +0.0148 | +0.0692 | +0.0447 | +0.0177 | +0.0508 | |
| % | +5.8 | +12.6 | +5.5 | +15.8 | +8.7 | +32.7 | +15.9 | +12.4 | +24.5 |
| Abstract Generation | Review Writing | Topic Writing | |||||||
| Method | R-1 | R-L | MET | R-1 | R-L | MET | R-1 | R-L | MET |
| DeepSeek-V4-Flash | |||||||||
| SP-Infer | 0.452 | 0.273 | 0.360 | 0.387 | 0.186 | 0.291 | 0.334 | 0.164 | 0.258 |
| SP-Refine | 0.443 | 0.264 | 0.353 | 0.387 | 0.185 | 0.281 | 0.327 | 0.160 | 0.259 |
| Oracle-Regen † | 0.549 | 0.400 | 0.484 | 0.460 | 0.261 | 0.352 | 0.398 | 0.232 | 0.323 |
| Oracle-Regen+P † | 0.620 | 0.490 | 0.548 | 0.501 | 0.305 | 0.401 | 0.429 | 0.251 | 0.351 |
| Abstract | Review | Topic | ||||
| Method | R-L | MET | R-L | MET | R-L | MET |
| DeepSeek-V4-Flash | ||||||
| SP-Infer | 0.269 | 0.356 | 0.167 | 0.273 | 0.147 | 0.241 |
| SP-Regen | 0.283 | 0.368 | 0.163 | 0.283 | 0.149 | 0.245 |
| Oracle-Regen † | 0.391 | 0.474 | 0.253 | 0.345 | 0.217 | 0.309 |
| Grok-4.1-Fast | ||||||
| Task | Method | Lex. | Syn. | Tone | Disc. | Fmt. | SF | Cov. | Fact. | Flu. | Len. | TQ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Abstract | No Profile | 2.62 | 2.74 | 3.61 | 2.81 | 2.24 | 2.80 | 2.88 | 3.31 | 4.54 | 2.95 | 3.42 |
| Random-Samples | 2.64 | 2.84 | 3.62 | 2.84 | 3.24 | 3.04 | 2.95 | 3.09 | 4.52 | 2.89 | 3.36 | |
| LongLaMP | 2.83 | 2.95 | 3.73 | 2.99 | 3.08 | 3.12 | 3.16 | 3.08 | 4.55 | 2.90 | 3.42 | |
| SP-Profile | 2.85 | 3.16 | 3.84 | 3.12 | 4.31 | 3.46 | 3.01 | 3.33 | 4.57 | 3.14 | 3.51 | |
| SP-Infer | 2.92 | 3.17 | 3.88 | 3.19 | 3.83 | 3.40 | 3.13 | 3.32 | 4.60 | 3.18 | 3.56 | |
| SP-Refine | 2.93 | 3.17 | 3.90 | 3.18 | 4.26 | 3.49 | 3.23 | 3.23 | 4.61 | 3.06 | 3.53 |
| Task | Method | Lex. | Syn. | Tone | Disc. | Fmt. | SF | Cov. | Fact. | Flu. | Len. | TQ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Abstract | No Profile | 2.54 | 2.66 | 3.46 | 2.78 | 3.53 | 2.99 | 3.14 | 2.13 | 4.48 | 2.70 | 3.11 |
| Random-Samples | 2.57 | 2.70 | 3.51 | 2.82 | 3.81 | 3.08 | 3.12 | 2.39 | 4.53 | 2.79 | 3.21 | |
| LongLaMP | 2.81 | 2.91 | 3.69 | 3.03 | 3.93 | 3.27 | 3.31 | 2.63 | 4.60 | 2.90 | 3.36 | |
| SP-Profile | 2.79 | 2.98 | 3.72 | 2.96 | 4.13 | 3.31 | 3.13 | 2.82 | 4.51 | 3.00 | 3.36 | |
| SP-Infer | 2.84 | 3.07 | 3.80 | 3.07 | 4.22 | 3.40 | 3.05 | 3.21 | 4.57 | 3.19 | 3.51 | |
| SP-Refine | 2.91 | 3.10 | 3.84 | 3.04 | 4.14 | 3.40 | 2.99 | 3.32 | 4.46 | 3.09 | 3.46 |
| Task | Method | Lex. | Syn. | Tone | Disc. | Fmt. | SF | Cov. | Fact. | Flu. | Len. | TQ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Abstract | No Profile | 2.66 | 2.85 | 3.65 | 2.81 | 3.52 | 3.10 | 2.83 | 3.79 | 4.63 | 3.06 | 3.58 |
| Random-Samples | 2.67 | 2.91 | 3.72 | 2.91 | 3.58 | 3.16 | 2.97 | 3.75 | 4.68 | 3.08 | 3.62 | |
| LongLaMP | 2.80 | 2.99 | 3.79 | 3.04 | 3.60 | 3.24 | 3.12 | 3.76 | 4.70 | 3.09 | 3.67 | |
| SP-Profile | 2.77 | 3.02 | 3.85 | 3.05 | 4.25 | 3.39 | 3.07 | 3.73 | 4.64 | 2.93 | 3.59 | |
| SP-Infer | 2.78 | 2.98 | 3.85 | 3.10 | 4.07 | 3.36 | 3.20 | 3.66 | 4.71 | 2.81 | 3.60 | |
| SP-Refine | 2.84 | 3.01 | 3.88 | 3.12 | 4.10 | 3.39 | 3.20 | 3.69 | 4.68 | 2.79 | 3.59 |
| Symbol | Meaning |
|---|---|
| , | a user and their history of previously written documents |
| , | task input (e.g., title and key items) and task type (abstract, review, or topic) |
| , | the user’s reference output (used only for evaluation and by the oracles) and the generated output |
| , | retriever and number of samples: returns the entries of with the highest Contriever dot-product score for (§ 3 ); |
| the retrieved samples, , shared by all methods | |
| , | the generator LLM; is one call with prompt |
Personalized Text Generation
Personalized text generation adapts language-model outputs to a user's writing style, preferences, history, and context.
See all 26 papers