Explicit Style Extraction for Personalized Long-Form Text Generation
Authors: Jenitha Reddy Patel, Sameeksha Kini, Amulya Rayasam, Anisa Dye, Abhinav Sharma, Sai Karthik Navuluru, Bo Ni, Li Li, Junda Wu, Tong Yu, Nedim Lipka, Xiaolei Huang, Tyler Derr, Yue Zhao, Zhengzhong Tu, Yu Wang, Hongjie Chen, Thien Huu Nguyen, Nesreen K. Ahmed, Franck Dernoncourt, Ryan A. Rossi
Organizations: University of Chicago · University of Massachusetts Amherst · University of Texas at Dallas · Vanderbilt University · University of Southern California · Adobe Research · UCSD · University of Missouri · University of Memphis · Texas A&M University · University of Georgia · University of Oregon · Dolby Laboratories · Amazon · Cisco · Zillow
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
Figure 1: LLM-judge scores (1–5) on the nine criteria, averaged over the three LongLaMP tasks, for each generator. The shaded half holds the five style criteria (Style Fidelity): Lexical (Lex), Syntax (Syn), Tone, Discourse (Disc), and Format (Fmt); the other half holds the four task-quality criteria: Coverage (Cov), Factuality (Fact), Fluency (Flu), and Length (Len). For all three generators, SP-Refine (vermillion) and SP-Infer (orange) form the outer boundary on the style criteria, ahead of LongLaMP (tied with it only on Format for GPT). SP-Refine ’s gains over LongLaMP are largest with DeepSeek, where Format rises by almost one point, and smallest with GPT. No Profile and Random-Samples are shown for reference. Per-criterion values are in Appendix F .
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.
Figure 2: The StylePrism framework: 28 stylistic aspects in seven categories that SP-Refine extracts from a user’s past writing and uses to revise new text. Codes (L1–X2) and colors are used throughout the paper; descriptions and examples are in Appendix B .
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
Table 1: Results on the LongLaMP user setting (full test sets). R-1/R-L: ROUGE-1/ROUGE-L; MET: METEOR. Best per column within each generator in bold . Relative gains over LongLaMP are in Table 6 and Figure 6 (Appendix C ); ablations are in Table 3 .
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
Table 2: LLM-judge scores (GPT-5.4-nano, 1–5). SF: Style Fidelity; TQ: Task Quality. Best per column within each generator in bold . Full test sets. Per-criterion scores are in Appendix F .
Figure 3: What StylePrism extraction captures. Only the user’s actual abstract is shown; each highlight marks text matching an aspect in the profile extracted before this abstract was seen, colored by category (Figure 2 ). Orange bracketed tags such as [O2: method] mark the rhetorical moves the profile predicts (O2). Colored underlines with ¬ mark where the user departs from the profile: first person (P3) and a closing on applications instead of a performance claim (D3). Whole-text matches: formal academic register (P1), one unbroken paragraph without headers (F1–F2), and 25.5 words per sentence (S1; profile: 24).
Figure 4: SP-Refine and its ablations. M is the generator LLM; all methods receive the same retrieved samples S and task input x (and the task type c , omitted). SP-Refine makes style extraction an explicit function: step 1 fills the StylePrism schema Σ with the user’s patterns, quoted evidence, and things to avoid, giving the profile π ; step 2 drafts y0 from S ; step 3 revises the draft against π and S and scores the revision y1 on five style criteria ( a1 ); step 4 fixes the lowest-scored criteria, giving y2 . SP-Profile keeps only step 1 and then writes from π without S ; SP-Infer keeps only step 2.
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
Table 3: SP-Refine and its ablations (full test sets). SP-Infer keeps only the drafting call; SP-Profile keeps the extraction call but writes from the profile without the samples. Best per column within each generator in bold . ROUGE-1 for all variants is in Figure 6 .
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
Appendix
Table 4: LongLaMP user-setting statistics; lengths are mean ± s.d. in tokens as reported by Kumar et al. (2024) . We evaluate on all test instances.
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”.
Average sentence length, clause depth, punctuation frequency.
Long multi-clause vs. short direct sentences.
Appendix
Table 5: Overview of our StylePrism framework. Stylistic aspects that our approach learns from a set of text written by the user, which we then use for improving personalized text generation for that user.
Figure 5: Per-criterion LLM-judge difference between SP-Refine and LongLaMP (1–5 scale) for each generator and task (Abs.: abstract generation; Rev.: review writing; Top.: topic writing). Blue cells are gains for SP-Refine , red cells losses. The upper block holds the five style criteria, the lower block the four task-quality criteria.
Figure 6: ROUGE-1, ROUGE-L, and METEOR for No Profile , LongLaMP , and the three StylePrism variants on each task and generator (full test sets; values in Tables 1 and 3 ).
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
Appendix
Table 6: Gains of SP-Refine over the LongLaMP baseline: absolute difference ( Δ ) and relative difference ( Δ %, positive values in bold). Averaged over all 27 comparisons, the relative gain is 10.2%.
Figure 7: Review instance, annotated as in Figure 3 (only the main matches are marked). The profile, extracted from four other reviews, predicts the opening on album history (D2), contrasts with earlier versions (O3), an audience-targeted close (D3), and the reviewer’s sign-off verbatim (X2); it even quotes a metaphor (“nosing their way”, P4) that the user reuses here.
Figure 8: Topic instance annotated as in Figure 3 . Lexical and syntactic aspects (game vocabulary, parenthetical asides, coordination) match closely; the user departs from the profile by giving suggestions inline instead of as a numbered list (S5).
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
Appendix
Table 7: Oracle variants on the full test sets, with SP-Infer and SP-Refine for reference. † Shaded rows are oracles: they see the reference, directly or through reference-anchored judge scores used for selection, and are not deployable. Best per column within each generator in bold .
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
Appendix
Table 8: Oracle revision vs. its reference-free control on the same random test instances (498/488/494 for abstract/review/topic). † Oracle (sees the reference). Best per column within each generator in bold .
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
Appendix
Table 9: Per-criterion LLM-judge scores (1–5) for DeepSeek-V4-Flash. Style: Lexical, Syntax, Tone, Discourse, Format; Task Quality: Coverage, Factuality, Fluency, Length. Best per column within each task in bold .
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
Appendix
Table 10: Per-criterion LLM-judge scores (1–5) for Grok-4.1-Fast. Style: Lexical, Syntax, Tone, Discourse, Format; Task Quality: Coverage, Factuality, Fluency, Length. Best per column within each task in bold .
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
Appendix
Table 11: Per-criterion LLM-judge scores (1–5) for GPT-5.4-nano. Style: Lexical, Syntax, Tone, Discourse, Format; Task Quality: Coverage, Factuality, Fluency, Length. Best per column within each task in bold .
Symbol
Meaning
u , Pu
a user and their history of previously written documents {d1,…,dm}
x , c
task input (e.g., title and key items) and task type (abstract, review, or topic)
y , y^
the user’s reference output (used only for evaluation and by the oracles) and the generated output
R , k
retriever and number of samples: R(x,Pu,k) returns the k entries of Pu with the highest Contriever dot-product score for x (§ 3 ); k=4
S
the retrieved samples, S=R(x,Pu,k) , shared by all methods
Personalized text generation requires models to capture user-specific writing styles from historical data. Existing approaches based on retrieval, parameter-efficient fine-tuning, or activation steering either introduce inference and storage overhead or struggle to separate stylistic signals from semantic content. We propose GLASS, a training-free framework for personalized generation via Global-Local Activation Steering with Sparse priors. GLASS uses sparse autoencoders to extract a global user-style prior from historical responses and constructs local contrastive style vectors over clustered interaction scenarios. During inference, it jointly injects global and local vectors into different model layers, enabling context-aware personalization without retrieval or parameter updates. Experiments on LaMP and LongLaMP show that GLASS outperforms retrieval-, fine-tuning-, and steering-based baselines across ROUGE metrics and LLM-as-judge evaluations. Further analyses show that SAE-based representations are more robust to topic and length shifts, suggesting better disentanglement of stylistic information from semantic residue.
Liuji Chen, Zeyu Zhang, Xinyuan Zhang +4
NLPR, Institute of Automation, Chinese Academy of Sciences · Xiaomi
Personalized text generation requires models not only to produce coherent text but also to align with a target user's style, tone, and topical focus. Existing retrieval-augmented approaches such as LaMP and PGraphRAG enrich profiles with user and neighbor histories, but they stop at generation and often yield outputs that drift in tone, topic, or style. We present PerFine, a unified, training-free critique-refine framework that enhances personalization through iterative, profile-grounded feedback. In each iteration, an LLM generator produces a draft conditioned on the retrieved profile, and a critic LLM - also conditioned on the same profile - provides structured feedback on tone, vocabulary, sentence structure, and topicality. The generator then revises, while a novel knockout strategy retains the stronger draft across iterations. We further study additional inference-time strategies such as Best-of-N and Topic Extraction to balance quality and efficiency. Across Yelp, Goodreads, and Amazon datasets, PerFine consistently improves personalization over PGraphRAG, with G-Eval gains of +8.5-12%, steady improvements over 3-5 refinement iterations, and scalability with increasing critic size. These results highlight that post-hoc, profile-aware feedback offers a powerful paradigm for personalized LLM generation that is both training-free and model-agnostic.
Durga Prasad Maram, Dhruvin Gandhi, Zonghai Yao +5
University of Massachusetts Amherst · Adobe Research · University of Oregon +1
Personalized text generation aims to make LLMs write in a specific individual's style, yet existing benchmarks measure task accuracy or preference alignment rather than whether the model's output actually resembles the target author's writing. We introduce PersonalBench, a benchmark that evaluates inference-time personalization methods through three independent lenses: LUAR (a trained authorship verification model), an LLM-as-judge, and automated stylometrics. Across 50 authors, 1,000 generations, and two model families (Qwen 3, GLM-4), we find that personalization methods do produce author-differentiated output (LUAR discriminates target authors within generated text at AUC=0.918) but this differentiation never crosses the human-LLM boundary. All methods achieve LUAR similarity to real authors in the range 0.484-0.508, below the cross-author human floor of 0.626 (ceiling 0.756). The LLM's own authorship fingerprint dominates: generated text is more distant from any human author than random humans are from each other. Methods are statistically indistinguishable from each other on LUAR (spread 0.024) despite appearing differentiated on the LLM judge, a discrepancy we trace to circularity between trait extraction and profile extraction. We validate that LUAR reliably measures authorship in our corpus (AUC=0.76 single-post, 0.96 multi-post). We release PersonalBench as a calibrated measuring stick: inference-time personalization modulates the LLM's style but does not bridge the gap to human authorship.