Skip to content

Menu

WorksComputer Science

Explicit Style Extraction for Personalized Long-Form Text Generation

Download PDFView on arXiv

Ask your agent about this work

Your agent reads this work through Valency, with its citations and similar works. Paste this at the start of a chat.

Use the Valency MCP. Work: W_49h3xy9j. Fetch it with get_paper_by_id, then find its nearest works with find_similar_papers and tell me what it adds.

Works with any MCP client. Not connected yet? Connect your agent

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.

Introduction

Large language models (LLMs) are increasingly used to draft text on a person’s behalf: research abstracts, product reviews, social media posts. For such text to be useful, it should be correct and fluent and also sound like its author. Personalized text generation studies this problem by conditioning a model on a user’s writing history [14, 16], and the LongLaMP benchmark [4] extends it to long-form outputs, where differences in style between users are most visible.

The dominant approach is retrieval-augmented personalization: retrieve the user’s past texts that are most relevant to the current input and place them in the prompt [14, 4, 13]. Retrieval decides which samples the model sees, but says little about what the model should take from them. In LongLaMP, the retrieved samples are followed by a single instruction such as “Following the given patterns”. Whether the model attends to sentence rhythm, hedging, discourse moves, or formatting is left implicit.

We make style an explicit, inspectable intermediate. STYLEPRISM Figure 2 organizes writing style into 28 aspects in seven categories, from lexical choice to cross-task fingerprints. SP-REFINE Algorithm 1 uses it as a function: given the retrieved samples, the model first extracts a style profile that fills every STYLEPRISM aspect with an observed pattern, quoted evidence, and habits to avoid; it then drafts the output from the samples, and revises the draft twice against the profile, scoring its own revision on five style criteria and fixing the weakest. Unlike retrieval-augmented generation, SP-REFINE produces a profile that a person can read and check Figure 3.

The StylePrism framework showing 28 stylistic aspects in seven categories

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 § 10.

We evaluate on the three long-form LongLaMP tasks with three LLM families, using reference-based metrics and a rubric-based LLM judge that scores style fidelity and task quality separately (Figure 1). Our contributions are:

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 § 14.

  • STYLEPRISM, a taxonomy of writing style that serves as the schema for extraction, the guide for revision, and the basis of our style rubric.

  • SP-REFINE, which outperforms LongLaMP’s retrieval-augmented baseline in 25 of 27 reference-based comparisons and improves LLM-judged style fidelity over it in 8 of 9 generator–task settings.

  • An annotation study of users’ reference texts showing which profile aspects are borne out by what the user actually wrote, and where users depart from their own profile.

  • Ablations and an oracle study showing that the profile works as revision guidance but not as a replacement for the samples, and separating gains achievable at inference time from those that need the reference.

Related Work

Personalized text generation. LaMP (Salemi et al. [14]) introduced a benchmark for personalizing LLM outputs with retrieved user history, and LongLaMP (Kumar et al. [4]) extended it to long-form generation. Most methods follow the retrieval-augmented recipe and improve the retriever ([13, 9]), summarize the user’s history (Richardson et al. [12]), or decompose personalization into multiple stages (Li et al. [5]); see Zhang et al. [16] for a survey. We keep retrieval fixed and study what the model is told to extract from the retrieved samples and how it uses it.

Representing writing style. Style has been studied in style representation learning, where a central difficulty is separating style from content (Wegmann et al. [15]), and in style transfer (Jin et al. [3]). LLMs can transfer style from instructions and a few examples (Reif et al. [11]) and describe stylistic attributes in natural language (Patel et al. [10]). STYLEPRISM organizes such attributes into a schema that an LLM fills from a handful of samples, with quoted evidence for each claim.

Refinement and LLM-based evaluation. LLMs can critique and revise their own outputs (Madaan et al. [8]), and LLM judges are widely used to evaluate generation ([17, 7]), although they can favor their own outputs (Panickssery et al. (2024)). SP-REFINE’s revisions are guided by an explicit style profile and never see the reference; we compare them with oracle revisions that do.

Method

Task Setup

Each test instance consists of a user uu with a history Pu={d1,…,dm}P_u = \{d_1,\ldots,d_m\} of previously written documents, a task input xx (e.g., a paper title and key items) of task type cc, and a reference output yy written by uu. A generator LLM MM must produce y^\hat{y} that is faithful to xx and written in uu’s style. Following LongLaMP, all personalized methods first retrieve the kk entries of PuP_u most relevant to xx, S=R(x,Pu,k)S = R(x,P_u,k). The retriever RR follows LongLaMP’s construction: the query is the task input (for abstracts, only its list of key items); each history entry is represented by the concatenation of its fields (title and abstract; summary and post; rating, summary, product description, and review); query and entries are embedded with Contriever (Izacard et al. [2]) by mean-pooling its token embeddings; and the kk entries with the highest dot-product score are returned. We use k=4k = 4, and all methods use the same SS. The LongLaMP baseline then generates y^=M(ϕLL(S,x))\hat{y} = M(\phi_{\mathrm{LL}}(S,x)), where the template ϕLL\phi_{\mathrm{LL}} joins the samples and appends the task input with an instruction such as “Following the given patterns”.

StylePrism

STYLEPRISM (Figure 2) has seven categories: lexical choice (L1–L5), syntactic patterns (S1–S5), discourse markers (D1–D4), structural organization (O1–O4), pragmatic tone (P1–P5), formatting and layout (F1–F3), and cross-task variability (X1–X2), which records how style shifts across task types and which fingerprints persist across content. We write Σ\Sigma for the set of 28 aspects; descriptions and examples are in Appendix § 10.

SP-Refine

SP-REFINE (Algorithm 1; full prompts in Appendix § 15) has four steps, each one call to the generator MM, and never sees the reference. Steps 1 and 22 are the extraction call of SP-PROFILE and the single call of SP-INFER (§ 7); in our experiments their outputs are computed once per instance and reused, so the refinement stage itself (steps 3 and 4) adds two calls. Each entry per aspect σ∈Σ\sigma\in\Sigma. Each entry holds a natural-language pattern, a list of quoted evidence, and (for 22 aspects) an avoid field; some add typed fields such as average words per sentence, passive percentage, or Boolean use of bullets and headers (Appendix § 17).

1. Extract style. The prompt ϕext\phi_{\mathrm{ext}} casts MM as a computational linguist analyzing the kk samples of one author. It requires every claim to be based on the text, exact phrases to be quoted as evidence, no pattern to be inferred that is not present, and “not observable from samples” to be written otherwise. MM returns the profile π\pi, a JSON object with one

2. Draft. The prompt ϕdraft\phi_{\mathrm{draft}} shows the numbered samples and the task, and asks MM to silently identify the author’s recurring style features (sentence rhythm, word choices, hedging, transitions, paragraph structure, tone, formatting), draft the output, check the draft against the samples, and return only the final text, y0y_0. This step does not see π\pi.

3. Revise and score. The prompt ϕrev\phi_{\mathrm{rev}} casts MM as a writing evaluator and ghostwriter. It receives SS, π\pi, a task reminder (“complete this task and only this task”), and y0y_0. MM first revises y0y_0 using π\pi and SS as style anchors, applying every applicable profile field (sentence length, voice, hedging, transitional phrases, paragraph density, formatting) without altering or adding facts, giving y1y_1. It then scores y1y_1 against the samples from 1 to 5 on five style criteria A={Lexical,Syntactic,Tone & Formality,Discourse & Structure,Formatting}A = \{\mathrm{Lexical}, \mathrm{Syntactic}, \mathrm{Tone\ \&\ Formality}, \mathrm{Discourse\ \&\ Structure}, \mathrm{Formatting}\}, each with anchored extremes, and names its weakest criteria and specific issues; we write a1∈{1,…,5}5a_1 \in\{1,\ldots,5\}^5 for the scores.

4. Targeted revision. The prompt ϕtgt\phi_{\mathrm{tgt}} receives SS, π\pi, the task reminder, y1y_1, and a1a_1 with the named issues. MM revises y1y_1 in a fixed order of priority: criteria scored 1–2 first, then criteria scored 3, leaving criteria scored 4–5 unchanged, again without altering or adding facts. It rescores the result; these scores are not used. The output is y^=y2\hat{y}=y_2.

Experimental Setup

Data. We use the three public long-form tasks of LongLaMP [4] in the user setting, in which test users do not appear in training: abstract generation (title and key items → abstract), review writing (rating, product description, and summary → review), and topic writing (Reddit post summary → post). We evaluate on the full test sets: 4,560 abstract, 1,822 review, and 2,452 topic instances (Appendix § 9). No method is trained or tuned on these data.

Models. We generate with three LLMs from different providers, DeepSeek-V4-Flash, Grok-4.1-Fast (non-reasoning), and GPT-5.4-nano, accessed through Azure AI Foundry. Every call uses the same client and settings: the system message “You are a helpful assistant.” and the prompt as the user message; style extraction requests JSON output. A response blocked by the provider’s content filter is kept as an empty output and scored as such.

Baselines. NO PROFILE sends the task input alone (e.g., “Generate an abstract for the title . . . using the following items: . . . ”), with no samples and no added instruction. LONGLAMP formats the kk retrieved entries with LongLaMP’s own prompt templates [4] and appends the

Algorithm 1 SP-REFINE. Inputs: task input xx of type cc; user history PuP_u; retriever RR and number of samples kk; generator LLM MM; STYLEPRISM schema Σ\Sigma (28 aspects). ϕ⋅\phi_{\cdot} are prompt templates (Appendix § 15); M(⋅)M(\cdot) is one LLM call. π\pi maps each aspect σ\sigma to its pattern, quoted evidence EσE_\sigma, and avoid field; AA is the set of five style criteria; at∈{1,…,5}∣A∣a_t \in\{1,\ldots,5\}^{|A|} are MM’s scores of draft yty_t against SS. Steps 1 and 2 coincide with SP-PROFILE’s extraction and SP-INFER; their outputs are reused, so the refinement stage adds two calls (steps 3–4).

Input: x,c,Pu,R,k,M,Σx,c,P_u,R,k,M,\Sigma Output: personalized output y^\hat{y}

1: S←R(x,Pu,k)S \leftarrow R(x,P_u,k) ▷ retrieve kk samples 2: π←ExtractStyle⁡(S,Σ)\pi\leftarrow\operatorname{ExtractStyle}(S,\Sigma) ▷ step 1 y0←M(ϕdraft(S,c,x))y_0 \leftarrow M(\phi_{\mathrm{draft}}(S,c,x)) ▷ step 2 3: (y1,a1)←Revise⁡(S,π,c,x,y0)(y_1,a_1) \leftarrow\operatorname{Revise}(S,\pi,c,x,y_0) ▷ step 3 4: y2←TargetedRevise⁡(S,π,c,x,y1,a1)y_2 \leftarrow\operatorname{TargetedRevise}(S,\pi,c,x,y_1,a_1) ▷ step 4 5: return y^←y2\hat{y}\leftarrow y_2

7: function ExtractStyle⁡(S,Σ)\operatorname{ExtractStyle}(S,\Sigma) 8: return π={σ↦(pattern⁡σ,Eσ,avoid⁡σ)}σ∈Σ←M(ϕext(S,Σ))\pi=\{\sigma\mapsto(\operatorname{pattern}_\sigma,E_\sigma,\operatorname{avoid}_\sigma)\}_{\sigma\in\Sigma}\leftarrow M(\phi_{\mathrm{ext}}(S,\Sigma))

9: function Revise⁡(S,π,c,x,y0)\operatorname{Revise}(S,\pi,c,x,y_0) ▷ one call, ϕrev\phi_{\mathrm{rev}} 10: y1←y0y_1\leftarrow y_0 rewritten to match every applicable field of π\pi, anchored on SS; facts of xx unchanged 11: a1←a_1\leftarrow scores of y1y_1 against SS on each criterion in AA, with the weakest criteria and specific issues 12: return (y1,a1)(y_1,a_1)

13: function TargetedRevise⁡(S,π,c,x,y1,a1)\operatorname{TargetedRevise}(S,\pi,c,x,y_1,a_1) ▷ one call, ϕtgt\phi_{\mathrm{tgt}} 14: fix {j:a1,j≤2}\{j:a_{1,j}\le2\}, then improve {j:a1,j=3}\{j:a_{1,j}=3\}; keep {j:a1,j≥4}\{j:a_{1,j}\ge4\} 15: return revised draft y2y_2 ▷ rescores; scores unused

task input, e.g., after “Following the given patterns” for reviews; the entries’ text is passed through unchanged. RANDOM-SAMPLES uses the same template, but with kk entries drawn at random from the user’s own history instead of the kk most relevant ones, which isolates the effect of retrieval. As in LongLaMP, profile abstracts are truncated to their first 750 words in all methods. All prompts are in Appendix § 15.

Reference-based metrics. As LongLaMP does, we report ROUGE-1, ROUGE-L [6], and METEOR [1], computed with the LongLaMP evaluation code and averaged over test instances.

LLM judge. Reference-overlap metrics reward shared content but say little about style. We therefore also score outputs with an LLM judge, GPT-5.4-nano with low reasoning effort. The judge sees the task, the full generated output, and the full reference, and rates the output from 1 to 5 on nine criteria with anchored descriptions of the extremes. Style Fidelity (SF) is the mean of Lexical, Syntax, Tone, Discourse, and Format; Task Quality (TQ) is the mean of Coverage, Factuality, Fluency, and Length. Both use the reference as the anchor; SP-REFINE’s own scores in steps 3–4 use the same five style criteria but the samples as the anchor, so the method never sees the judge’s anchor. Because the judge is also one of our generators, it may favor GPT-generated text (Panickssery et al., 2024); we therefore compare methods only within a generator.

Results

Reference-based metrics. Table 1 compares SP-REFINE with the baselines. SP-REFINE scores highest in 25 of 27 generator–task–metric comparisons. It is above NO PROFILE in all 27, so the gains come from using the user’s writing; LONGLAMP is above RANDOM-SAMPLES in all 27, so choosing the most relevant samples matters as well. Relative to LONGLAMP, which sees the same retrieved samples, SP-REFINE improves by 10.2% on average (14.9% with DeepSeek, 4.4% with Grok, 11.5% with GPT; Table 6). The largest gains are on METEOR for review writing: +35.8% with GPT (0.2559 vs. 0.1885) and +32.7% with DeepSeek (0.2806 vs. 0.2114). The two exceptions are METEOR on review and topic writing with Grok, where LONGLAMP is higher (0.2900 vs. 0.2744 and 0.2485 vs. 0.2360).

MethodAbstract GenerationReview WritingTopic Writing
R-1R-LMETR-1R-LMETR-1R-LMET
DeepSeek-V4-Flash
No Profile0.37730.20260.28350.29100.13840.16850.28710.12560.2180
Random-Samples0.39040.20730.30280.32290.15820.19830.27170.12940.1979
LongLaMP0.41850.23440.33520.33450.17040.21140.28180.14270.2077
SP-Refine0.44260.26390.35350.38720.18520.28060.32650.16040.2585
Grok-4.1-Fast
No Profile0.34690.18250.27140.31110.13050.23940.26250.11080.2208
Random-Samples0.35020.18550.27200.30550.12720.24950.26410.11460.2095
LongLaMP0.39020.22210.30650.34440.15820.29000.30490.14860.2485
SP-Refine0.43180.26920.32730.35100.16840.27440.30520.15280.2360
GPT-5.4-nano
No Profile0.35390.19080.25110.24870.12670.13130.27580.12060.2028
Random-Samples0.36670.19790.27040.31130.14250.18270.27550.12110.2129
LongLaMP0.38570.21260.29020.31710.14630.18850.28540.12800.2183
SP-Refine0.40270.22800.34110.34890.15290.25590.30480.14150.2322

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 § 11); ablations are in Table 3.

Abstract GenerationReview WritingTopic Writing
R-1R-LMETR-1R-LMETR-1R-LMET
DeepSeek-V4-Flash
LongLaMP0.41850.23440.33520.33450.17040.21140.28180.14270.2077
SP-REFINE0.44260.26390.35350.38720.18520.28060.32650.16040.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
Grok-4.1-Fast
LongLaMP0.39020.22210.30650.34440.15820.29000.30490.14860.2485
SP-REFINE0.43180.26920.32730.35100.16840.27440.30520.15280.2360
Δ+0.0416+0.0471+0.0208+0.0066+0.0102−0.0156+0.0003+0.0042−0.0125
Δ%+10.7+21.2+6.8+1.9+6.4−5.4+0.1+2.8−5.0
GPT-5.4-nano
LongLaMP0.38570.21260.29020.31710.14630.18850.28540.12800.2183
SP-REFINE0.40270.22800.34110.34890.15290.25590.30480.14150.2322
Δ+0.0170+0.0154+0.0509+0.0318+0.0066+0.0674+0.0194+0.0135+0.0139
Δ%+4.4+7.2+17.5+10.0+4.5+35.8+6.8+10.5+6.4

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%.

LLM judge. Table 2 shows that SP-REFINE improves Style Fidelity over LONGLAMP in 8 of 9 generator–task settings, by 0.21 points on average, and over NO PROFILE in all 9. Its Task Quality is higher than LONGLAMP’s in 7 settings, equal in 1, and lower in 1 (GPT abstracts, 3.59 vs. 3.67), so the style gains do not come at the expense of content. The exception on Style Fidelity is GPT on review writing (2.18 vs. 2.34), where Format scores are low for every method that sees the samples (§ 7.3). Figure 1 breaks the scores down by criterion: with DeepSeek, SP-REFINE’s gain over LONGLAMP spans all five style criteria and is largest for Format (+0.97); with Grok, it is largest on Syntax and Tone; with GPT, all differences are within 0.13.

What Does Style Extraction Capture?

Aggregate scores do not show whether the extracted profile describes the user. Because π\pi is built from the kk retrieved samples only, the user’s reference text for the instance is held out from extraction and can serve as a check. Figure 3 annotates one reference abstract with the aspects of its profile (Grok-4.1-Fast); Figure 7 and Figure 8 (Appendix D) do the same for a review and a Reddit post.

Review instance annotated as in Figure 3

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.

Topic instance annotated as in Figure 3

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).

The profile predicts concrete, checkable habits. Extracted from four other abstracts, the profile predicts the abstract’s rhetorical order (problem, method, evaluation, results; O2), its transition “In this paper” (D1), the qualifiers “accurate” and “novel” (L4), a passive evaluation sentence built on the exact phrase “is carried out using” (S2), a comma-separated series (S5), superiority shown by comparison (“two to ten times faster than eight other … techniques”; O3), the single unbroken paragraph (F1–F2), and the sentence length (25.5 words vs. 24 predicted; S1). For the reviewer, the profile recovers the sign-off “[2008 hyperbolium dot com]” verbatim as a fingerprint (X2), the contrast-based evaluation against earlier versions of each song (O3), and even a metaphor the profile quotes from an earlier review (“nosing their way”; the reference has “nosed its way towards disco’s rhythms”, P4).

Users depart from their own profile. The abstract’s author writes in the first person (“we propose”, “we derive”) although the profile, built from impersonal samples, says to avoid it (P3), and closes on applications rather than a performance claim (D3). The reviewer omits the prefatorial star rating the profile lists as a fingerprint, and the Reddit user gives suggestions inline rather than as a numbered list (S5). Style varies across a user’s documents, which bounds how closely any profile-based method can match one reference.

Ablations

Variants

Each ablation removes part of SP-REFINE (Figure 4).

SP-REFINE and its ablations. History $P_u$, samples $S$, task input $x$, STYLEPRISM $\Sigma$, SP-REFINE, SP-PROFILE, and SP-INFER workflow diagram

Figure 4. SP-REFINE and its ablations. MM is the generator LLM; all methods receive the same retrieved samples SS and task input xx (and the task type cc, omitted). SP-REFINE makes style extraction an explicit function: step 1 fills the STYLEPRISM schema Σ\Sigma with the user’s patterns, quoted evidence, and things to avoid, giving the profile π\pi; step 2 drafts y0y_0 from SS; step 3 revises the draft against π\pi and SS and scores the revision y1y_1 on five style criteria (a1a_1); step 4 fixes the lowest-scored criteria, giving y2y_2. SP-PROFILE keeps only step 1 and then writes from π\pi without SS; SP-INFER keeps only step 2.

SP-INFER: implicit inference, no extraction or revision. SP-INFER is a single call that receives the numbered samples and the task and is asked to identify the author’s style silently, draft, check the draft against the samples, and return only the text (Appendix § 15). Its prompt names seven informal cues but does not use STYLEPRISM, and no profile is produced. SP-REFINE uses this same call to produce its first draft, so comparing the two measures what explicit extraction and profile-guided revision add.

Reference abstract written by the user and profile extraction annotations

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).

SP-PROFILE: the profile replaces the samples.

SP-PROFILE is step 1 of SP-REFINE followed by an apply call that receives only π\pi and xx. In one call, the apply prompt asks MM to draft while conforming to every applicable profile field, then to revise silently against it (e.g., sentence length within ±20%\pm20\% of the profile’s value, every avoid item absent), without inventing facts. It tests whether a profile can stand in for the samples.

Results

The profile helps as guidance, not as a replacement. SP-PROFILE uses the same samples and the same profile as SP-REFINE yet scores below it in all 27 reference-based comparisons, and below SP-INFER in all 27 (Table 3, Figure 6). The per-criterion judge scores (Appendix § 14) locate the loss: SP-PROFILE is below SP-INFER on Lexical in all 9 generator–task settings and on Coverage in 8 of 9, but above it on Format in 6 of 9, by 1.0–1.5 points on review writing. Writing from π\pi alone loses the samples’ concrete wording and content cues, while explicit formatting fields are enforced reliably. SP-REFINE keeps the samples in view at every step and uses π\pi only to correct a draft, and it keeps SP-PROFILE’s formatting gain on DeepSeek reviews (Format 3.37 vs. 3.32) while avoiding its lexical loss (1.90 vs. 1.83).

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 Table 1 and 3).

MethodAbstractReviewTopic
SFTQSFTQSFTQ
DeepSeek-V4-Flash
No Profile2.803.422.003.091.822.72
Random-Samples3.043.362.243.101.812.57
LongLamp3.123.422.263.131.862.60
SP-REFINE3.493.532.693.172.282.81
Grok-4.1-Fast
No Profile2.993.111.802.751.782.52
Random-Samples3.083.211.812.681.882.54
LongLamp3.273.362.072.752.102.67
SP-REFINE3.403.462.323.032.182.70
GPT-5.4-nano
No Profile3.103.582.153.041.802.82
Random-Samples3.163.622.293.231.822.74
LongLamp3.243.672.343.251.872.80
SP-REFINE3.393.592.183.252.132.92

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 § 14.

Implicit inference is a strong single call. Since SP-INFER is SP-REFINE’s own first draft, the difference between the two is exactly what extraction and revision add. On ROUGE and METEOR this is small and depends on the generator: revision helps with Grok and GPT, where SP-REFINE is higher in 13 of 18 comparisons by up to 0.015, but hurts with DeepSeek, where it is lower in 8 of 9 by up to 0.010. On judged Style Fidelity, SP-REFINE is higher in 5 of 9 settings, tied in 1, and lower in 3 by at most 0.04. The largest gain is on DeepSeek reviews (2.69 vs. 2.47), almost entirely from Format. In short, SP-INFER recovers most of SP-REFINE’s quality on its own, and the extraction and revision steps pay off mainly where the draft breaks the user’s formatting conventions.

Revision does not repair every formatting problem. On review writing, the Format scores of Grok and GPT stay low after revision (1.84 and 1.91), well below SP-PROFILE’s (2.84 and 3.36).

Why is SP-INFER better than SP-REFINE with DeepSeek? A likely explanation is that, with DeepSeek, revision trades overlap with the reference for conformance to the profile. On abstracts and reviews, SP-REFINE raises DeepSeek’s Style Fidelity over SP-INFER (by 0.09 and 0.22), mostly through Format (+0.43 and +1.06), and raises Cov-erage on abstracts (3.23 vs. 3.13), yet its ROUGE and METEOR are lower in 8 of 9 comparisons. DeepSeek’s drafts already have the highest overlap of the three generators (e.g., ROUGE-L 0.273 on abstracts vs. 0.254 for Grok and 0.217 for GPT). A revision that rewrites sentences toward the profile’s patterns and evidence phrases, which come from other documents, is then more likely to replace words the draft shared with the reference than to add new ones; with the weaker drafts of Grok and GPT, the same revisions repair more than they replace. DeepSeek may also follow “apply every applicable PSP field” more literally and rewrite more of the draft.

VariantAbstract Generation R-LAbstract Generation METAbstract Generation SFAbstract Generation TQReview Writing R-LReview Writing METReview Writing SFReview Writing TQTopic Writing R-LTopic Writing METTopic Writing SFTopic Writing TQ
DeepSeek-V4-Flash
SP-REFINE0.2640.3533.493.530.1850.2812.693.170.1600.2592.282.81
SP-INFER0.2730.3603.403.560.1860.2912.473.180.1640.2582.322.86
SP-PROFILE0.2470.3253.463.510.1650.2252.613.200.1430.2192.232.82
Grok-4.1-Fast
SP-REFINE0.2690.3273.403.460.1680.2742.323.030.1530.2362.182.70
SP-INFER0.2540.3203.403.510.1670.2782.273.040.1490.2362.192.75
SP-PROFILE0.2180.2973.313.360.1450.2192.343.030.1270.2211.992.58
GPT-5.4-nano
SP-REFINE0.2280.3413.393.590.1530.2562.183.250.1410.2322.132.92
SP-INFER0.2170.3323.363.600.1510.2532.173.240.1390.2292.142.94
SP-PROFILE0.2150.3133.393.590.1490.2102.483.280.1300.2172.142.86

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.

Oracles and Reference-Free Controls

To bound what refinement can achieve, we evaluate variants that use information unavailable at inference time (Table 7, Appendix § 13). ORACLE-REGEN gives a reviser the samples, the SP-INFER output, and the reference; in one call it scores the output on nine criteria (style against the samples; coverage and length against the reference) and writes a revision, told to match the reference’s length but not to copy its phrases. ORACLE-REGEN+P starts from the SP-PROFILE output instead. ORACLE-SELECT keeps, per instance, the candidate that the reference-anchored judge scores highest among {SP-INFER, ORACLE-REGEN}, among the three drafts SP-REFINE produces (y0y_0, y1y_1, y2y_2), or among {SP-PROFILE, ORACLE-REGEN+P}. The reference-free control SP-REGEN uses the ORACLE-REGEN prompt with the reference block, the length target, and the copy instruction removed (Algorithm 4).

MethodAbstract Generation R-1Abstract Generation R-LAbstract Generation METReview Writing R-1Review Writing R-LReview Writing METTopic Writing R-1Topic Writing R-LTopic Writing MET
DeepSeek-V4-Flash
SP-INFER0.4520.2730.3600.3870.1860.2910.3340.1640.258
SP-REFINE0.4430.2640.3530.3870.1850.2810.3270.1600.259
ORACLE-REGEN†0.5490.4000.4840.4600.2610.3520.3980.2320.323
ORACLE-REGEN+P†0.6200.4900.5480.5010.3050.4010.4290.2510.351
ORACLE-SELECT(ORACLE-REGEN)†0.5440.3930.4760.4590.2610.3550.3990.2330.324
ORACLE-SELECT(SP-REFINE)†0.4510.2720.3600.3910.1890.2880.3340.1650.261
ORACLE-SELECT(ORACLE-REGEN+P)†0.5570.4070.4700.4490.2560.3360.4000.2220.316
Grok-4.1-Fast
SP-INFER0.4240.2540.3200.3550.1670.2780.3060.1490.236
SP-REFINE0.4320.2690.3270.3510.1680.2740.3050.1530.236
ORACLE-REGEN†0.5290.3750.4180.4380.2420.3550.4260.2680.335
ORACLE-REGEN+P†0.5220.3800.3950.4230.2330.3030.4180.2640.321
ORACLE-SELECT(ORACLE-REGEN)†0.5070.3470.3970.4310.2350.3490.4060.2440.318
ORACLE-SELECT(SP-REFINE)†0.4300.2640.3250.3560.1690.2770.3060.1500.233
ORACLE-SELECT(ORACLE-REGEN+P)†0.4940.3410.3740.4100.2180.2900.3990.2400.305
GPT-5.4-nano
SP-INFER0.3960.2170.3320.3500.1510.2530.3050.1390.229
SP-REFINE0.4030.2280.3410.3490.1530.2560.3050.1410.232
ORACLE-REGEN†0.4110.2330.3310.3480.1540.2340.3090.1430.227
ORACLE-REGEN+P†0.4080.2310.3130.3340.1490.2110.3010.1340.215
ORACLE-SELECT(ORACLE-REGEN)†0.4060.2270.3340.3490.1540.2400.3100.1430.230
ORACLE-SELECT(SP-REFINE)†0.4010.2240.3380.3500.1530.2550.3060.1420.232
ORACLE-SELECT(ORACLE-REGEN+P)†0.4050.2270.3150.3350.1500.2110.3010.1340.218

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.

The reference, not the revision, drives the oracle gains. With the reference visible, ORACLE-REGEN raises ROUGE-L over SP-INFER by 0.07–0.13 for DeepSeek and Grok but at most 0.016 for GPT, and ORACLE-REGEN+P reaches ROUGE-L 0.490 on DeepSeek abstracts. Removing the reference (SP-REGEN, Table 8) leaves the same revision with a ROUGE-L change of at most 0.014 and lower METEOR in 6 of 9 settings. The oracle outputs reuse the reference: for DeepSeek, 57% of ORACLE-REGEN abstracts share an 8-word span with the reference that appears in neither the input nor the user’s samples, compared with 13% for SP-INFER.

MethodAbstract R-LAbstract METReview R-LReview METTopic R-LTopic MET
DeepSeek-V4-Flash
SP-INFER0.2690.3560.1670.2730.1470.241
SP-REGEN0.2830.3680.1630.2830.1490.245
ORACLE-REGEN†0.3910.4740.2530.3450.2170.309
Grok-4.1-Fast
SP-INFER0.2480.3070.1500.2540.1490.242
SP-REGEN0.2550.2900.1480.2470.1500.225
ORACLE-REGEN†0.3810.4090.2080.3180.2790.347
GPT-5.4-nano
SP-INFER0.2140.3280.1490.2510.1300.220
SP-REGEN0.2230.3240.1480.2360.1280.208
ORACLE-REGEN†0.2320.3310.1530.2340.1340.219

Table 8. 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.

SP-REFINE’s intermediate drafts are not much better. Choosing the best of y0y_0, y1y_1, and y2y_2 with the reference-anchored judge (ORACLE-SELECT(SP-REFINE)) changes ROUGE-L over SP-REFINE by at most 0.008 for DeepSeek and 0.006 for Grok and GPT. The returned draft is close to the best that SP-REFINE produces; larger gains require new information, such as the reference.

Conclusion

We introduced STYLEPRISM, a taxonomy of 28 stylistic aspects, and SP-REFINE, which uses it to make style extraction an explicit step in personalized long-form generation: the model writes down the user’s style with quoted evidence, then drafts from the user’s samples and revises against that profile. SP-REFINE outperforms LongLaMP’s retrieval-augmented baseline in 25 of 27 reference-based comparisons and improves judged style fidelity, and the extracted profiles predict concrete habits that users’ held-out texts bear out. Ablations show that the profile is useful as revision guidance but cannot replace the samples, and that a single implicit-inference call comes close. Oracle and control experiments show that larger refinement gains require the reference itself. Next steps are removing sample-format artifacts from the prompts and deciding per user or generator whether to revise.

Limitations

We evaluate only the user setting of LongLaMP and only English data. Our LongLaMP baseline uses LongLaMP’s prompt templates and retrieval but our generators and generation settings, so absolute numbers are not directly comparable to those of Kumar et al. [4]. ROUGE and METEOR measure overlap with a single reference and cap ture style only indirectly. Our LLM judge is a model, not a human, and also one of our generators; its scores use the reference as an anchor, so Style Fidelity partly reflects content similarity. SP-REFINE’s self-scores use the same five style criteria as the judge, anchored on the samples rather than the reference, which may favor SP-REFINE on the judge’s style criteria. The annotation study examines individual instances and is illustrative. We study prompting with a fixed retriever and k=4k = 4; other retrievers, values of kk, and fine-tuning are not explored. Oracle controls use a sample of test instances, and closed-model APIs may change over time.

Ethics Statement

Systems that imitate a person’s writing style can be misused to impersonate that person or to produce deceptive text attributed to them. Our methods operate only on a user’s own past writing for the purpose of assisting that user, and we do not release models trained to imitate specific individuals. Explicit profiles make what is being imitated inspectable, but they also summarize a person’s habits, including signature phrases and sign-offs, and should be treated as personal data. Generated text can repeat sentences from a user’s earlier documents and invent quantitative claims; deployed systems should check for both. We use the publicly released LongLaMP benchmark [4] for research purposes only, consistent with its intended use; its Hugging Face release does not state a license. The data are derived from public scientific abstracts, Amazon reviews, and Reddit posts and may contain personal information, which we do not redistribute; the user texts shown in our figures are taken from the public benchmark.

Use of AI assistants. We used AI assistants (Claude) to help write and debug experiment and analysis code, to format tables and figures, and to draft and edit parts of the text. The authors designed the study, ran all experiments, checked every number against the experiment outputs, and take full responsibility for the content.

Dataset Statistics

Task#train#val#testInput len.Output len.
Abstract13,6934,5604,56033.8±5.7144.3±68.4
Review14,7451,8261,822119.4±73.1304.5±228.6
Topic11,4422,4522,45228.4±36.1263.0±243.3

Table 4. LongLaMP user-setting statistics; lengths are mean ± s.d. in tokens as reported by Kumar et al. [4]. We evaluate on all test instances.

StylePrism in Full

Table 5 describes each of the 28 aspects of StylePrism with an example. The codes used in our annotations (L1–X2) number the aspects in the order listed, as in Figure 2.

Additional Results

Figure 6 plots ROUGE-1, ROUGE-L, and METEOR for the baselines and all StylePrism variants, and Table 6 gives the gains of SP-REFINE over LongLaMP for every comparison. Figure 5 shows, for each judge criterion and generator–task setting, the difference between SP-REFINE and LongLaMP: the style gains are largest for DeepSeek, mostly in Format, and the one loss in Style Fidelity (GPT on reviews) comes entirely from Format.

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.

Annotated Review and Topic Examples

Figure 7 and Figure 8 use the same markup as Figure 3: highlights mark text that matches an aspect of the profile extracted from the user’s retrieved samples, colored by StylePrism category; underlines with ¬ mark departures from the profile.

Oracle Variants and Controls

Table 7 reports every oracle variant on the full test sets (§ 7.4); Table 8 compares Oracle-Regen with its reference-free control SP-Regen on the same sample of instances.

CategoryStylistic AspectDescriptionExample
LEXICAL CHOICEWord Frequency & PreferenceDetects recurring words, preferred synonyms, and idiosyncratic vocabulary.Uses vitally important instead of very important.
LEXICAL CHOICEStopword Avoidance / UsageWhether user avoids starting with “The”, “This”, etc.Starts abstracts with content words.
LEXICAL CHOICEDomain-Specific LexiconDetects technical or field-specific vocabulary tendencies.Uses “serves as”, “gives rise to”, “provides a foundation for”.
LEXICAL CHOICEIntensifier & Modifier UseDetects degree of assertiveness or emphasis.Frequent “extremely”, “remarkably”, “fundamentally”.
LEXICAL CHOICEHedging BehaviorDetects cautious vs. assertive phrasing patterns.“May”, “might”, “could” vs. “is”, “demonstrates”.
SYNTACTIC PATTERNSSentence Length & ComplexityAverage sentence length, clause depth, punctuation frequency.Long multi-clause vs. short direct sentences.
SYNTACTIC PATTERNSPassive vs. Active VoiceRatio of passive to active constructions.“We propose” vs. “is proposed”.
SYNTACTIC PATTERNSCoordination vs. SubordinationPreference for connecting or nesting ideas.“Because”, “although” vs. “and”, “then”.
SYNTACTIC PATTERNSPunctuation HabitsFrequency of commas, parentheses, semicolons, etc.Avoids dashes, prefers commas.
SYNTACTIC PATTERNSEnumerative StyleFrequency of lists or structured enumerations.“(1). . . (2). . . ” common in academic writing.
DISCOURSE MARKERSTransitional PhrasesRecurrent connective or bridging expressions.“As a first step toward”, “In practice”, “The key challenge is that”.
DISCOURSE MARKERSOpening MovesTypical ways of beginning paragraphs or sections.“We propose. . . ”, “This paper. . . ”, or direct noun start.
DISCOURSE MARKERSClosing MovesHow arguments or sections conclude.“This provides a foundation. . . ”, “Overall, we demonstrate. . . ”.
DISCOURSE MARKERSReference DensityFrequency of citations or attributions.Uses “(Smith et al., 2023)” often.
STRUCTURAL ORGANIZATIONParagraph StructureAverage paragraph length and internal cohesion.Short dense vs. long narrative paragraphs.
STRUCTURAL ORGANIZATIONRhetorical Role DistributionFrequency of problem, contribution, and implication statements.“The goal is to. . . ”, “We make the following contributions. . . ”.
STRUCTURAL ORGANIZATIONArgument FramingLogical order and transition structure.“The key challenge is that. . . We address this by. . . ”.
STRUCTURAL ORGANIZATIONSection Naming StyleNaming consistency and section organization.Prefers “Motivation” over “Introduction”.
PRAGMATIC & TONEFormality LevelDegree of formality or conversational tone.Emails: “Hi”, “Thanks” vs. formal memos.
PRAGMATIC & TONEPoliteness StrategySoftening vs. direct tone and mitigation strategies.“I appreciate your input” vs. “This is incorrect”.
PRAGMATIC & TONEAudience AwarenessInclusive or direct reference to reader.“We” vs. “you”.
PRAGMATIC & TONEFigurative LanguageUse of analogy, metaphor, or idiom.“Gives rise to a new wave of methods.”
PRAGMATIC & TONECertainty & CommitmentConfidence conveyed via modal verbs or stance.“Clearly shows” vs. “suggests”.
FORMATTING & LAYOUTVisual StructureUse of bullets, numbering, or headings.Lists in emails or papers.
FORMATTING & LAYOUTParagraph DensityConsistency of idea segmentation.One idea per paragraph vs. merged ideas.
FORMATTING & LAYOUTEmphasis & CapitalizationUse of visual emphasis in text.“IMPORTANT”, “(!!!)”, etc.
CROSS-TASK VARIABILITYStyle Adaptation by TaskHow writing style changes across task types.Polite in casual emails to friends vs. professional emails.
CROSS-TASK VARIABILITYContent–Style EntanglementConsistency of stylistic cues across content.“Key challenge” appears in papers and reviews.

Table 5. 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.

Per-Criterion LLM-Judge Scores

Tables 9–11 give all nine criterion scores (GPT-5.4-nano judge, full test sets; for DeepSeek SP-REFINE on abstracts, 4,557 of the 4,560 instances have an output).

TaskMethodLex.Syn.ToneDisc.Fmt.SFCov.Fact.Flu.Len.TQ
AbstractNO PROFILE2.622.743.612.812.242.802.883.314.542.953.42
AbstractRANDOM-SAMPLES2.642.843.622.843.243.042.953.094.522.893.36
AbstractLONGLAMP2.832.953.732.993.083.123.163.084.552.903.42
AbstractSP-PROFILE2.853.163.843.124.313.463.013.334.573.143.51
AbstractSP-INFER2.923.173.883.193.833.403.133.324.603.183.56
AbstractSP-REFINE2.933.173.903.184.263.493.233.234.613.063.53
ReviewNO PROFILE1.562.052.532.091.792.001.883.374.552.553.09
ReviewRANDOM-SAMPLES1.672.172.692.222.432.241.943.324.572.593.10
ReviewLONGLAMP1.712.212.722.272.392.261.983.324.562.663.13
ReviewSP-PROFILE1.832.412.942.543.322.612.023.324.532.923.20
ReviewSP-INFER1.922.483.012.632.312.472.203.094.522.903.18
ReviewSP-REFINE1.902.473.012.693.372.692.223.024.562.873.17
TopicNO PROFILE1.351.802.131.901.931.821.802.664.292.122.72
TopicRANDOM-SAMPLES1.361.762.091.782.061.811.592.684.031.972.57
TopicLONGLAMP1.441.822.181.802.071.861.692.724.021.982.60
TopicSP-PROFILE1.532.162.482.182.782.231.733.004.192.352.82
TopicSP-INFER1.622.242.562.332.872.321.872.914.272.412.86
TopicSP-REFINE1.592.212.482.302.812.281.902.784.212.342.81

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.

TaskMethodLex.Syn.ToneDisc.Fmt.SFCov.Fact.Flu.Len.TQ
AbstractNO PROFILE2.542.663.462.783.532.993.142.134.482.703.11
AbstractRANDOM-SAMPLES2.572.703.512.823.813.083.122.394.532.793.21
AbstractLONGLAMP2.812.913.693.033.933.273.312.634.602.903.36
AbstractSP-PROFILE2.792.983.722.964.133.313.132.824.513.003.36
AbstractSP-INFER2.843.073.803.074.223.403.053.214.573.193.51
AbstractSP-REFINE2.913.103.843.044.143.402.993.324.463.093.46
ReviewNO PROFILE1.461.892.212.021.401.802.082.434.402.102.75
ReviewRANDOM-SAMPLES1.481.882.111.991.571.812.052.414.331.942.68
ReviewLONGLAMP1.702.092.512.271.772.072.252.354.372.042.75
ReviewSP-PROFILE1.742.222.602.292.842.342.042.974.382.723.03
ReviewSP-INFER1.892.402.862.481.712.272.182.844.402.723.04
ReviewSP-REFINE1.942.442.922.461.842.322.182.944.282.723.03
TopicNO PROFILE1.301.722.021.832.051.781.832.194.121.922.52
TopicRANDOM-SAMPLES1.361.822.021.912.261.881.742.314.072.042.54
TopicLONGLAMP1.572.042.292.142.472.101.962.424.132.172.67
TopicSP-PROFILE1.451.962.062.002.471.991.792.373.962.202.58
TopicSP-INFER1.592.132.382.212.642.191.892.674.132.332.75
TopicSP-REFINE1.632.192.392.152.542.181.902.603.982.322.70

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.

TaskMethodLex.Syn.ToneDisc.Fmt.SFCov.Fact.Flu.Len.TQ
AbstractNO PROFILE2.662.853.652.813.523.102.833.794.633.063.58
AbstractRANDOM-SAMPLES2.672.913.722.913.583.162.973.754.683.083.62
AbstractLONGLAMP2.802.993.793.043.603.243.123.764.703.093.67
AbstractSP-PROFILE2.773.023.853.054.253.393.073.734.642.933.59
AbstractSP-INFER2.782.983.853.104.073.363.203.664.712.813.60
AbstractSP-REFINE2.843.013.883.124.103.393.203.694.682.793.59
ReviewNO PROFILE1.512.012.492.032.702.151.653.814.602.103.04
ReviewRANDOM-SAMPLES1.582.132.592.312.832.291.823.754.692.663.23
ReviewLONGLAMP1.652.172.652.352.892.341.863.764.682.713.25
ReviewSP-PROFILE1.672.232.722.443.362.481.863.824.652.793.28
ReviewSP-INFER1.682.222.762.381.842.171.953.674.612.753.24
ReviewSP-REFINE1.682.232.722.381.912.181.953.684.612.743.25
TopicNO PROFILE1.271.732.091.862.071.801.623.244.392.042.82
TopicRANDOM-SAMPLES1.311.762.111.862.061.821.653.034.291.992.74
TopicLONGLAMP1.361.812.191.912.061.871.733.074.322.072.80
TopicSP-PROFILE1.412.042.402.162.692.141.673.224.302.252.86
TopicSP-INFER1.462.062.452.172.532.141.793.244.422.312.94
TopicSP-REFINE1.462.082.432.152.542.131.793.234.382.272.92

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.

Prompts and Algorithms

Runtime fields are shown in braces. Samples are rendered per task as “Title: . . . Abstract: . . . ” (abstracts), “Rating: . . . Product: . . . Summary: . . . Review: . . . ” (reviews), or “Summary: . . . Post: . . . ” (topics), and numbered with “– SAMPLE i –” separators.

SP-Refine (all four steps, in full)

SP-REFINE step 1: EXTRACTSTYLE (ϕext; also call 1 of SP-PROFILE)

You are an expert computational linguist specializing in writing analysis. Below are {n} writing samples from ONE author. Read all carefully and build a Personal Style Profile (PSP).

Rules:
- Base all claims on the text
- Quote exact phrases as evidence
- Do NOT infer patterns not present
- If not observable, write: "not observable from samples"

=======================
SAMPLES
=======================
{samples}
=======================

Analyze across ALL categories: lexical choice, syntactic patterns, discourse markers, structural organization, pragmatic tone, formatting & layout, cross-task variability.

Return ONLY valid JSON with this schema (replace the "..." values with your analysis):

{
  "lexical_choice": {
    "word_frequency_and_preference": {"pattern": "...", "evidence": ["..."], "avoid": "..."},
    "stopword_avoidance": {"pattern": "...", "evidence": ["..."], "avoid": "..."},
    "domain_specific_lexicon": {"pattern": "...", "evidence": ["..."], "avoid": "..."},
    "intensifier_and_modifier_use": {"pattern": "...", "evidence": ["..."], "avoid": "..."},
    "hedging_behavior": {"pattern": "...", "evidence": ["..."], "avoid": "..."}
  },
  "syntactic_patterns": {
    "sentence_length_and_complexity": {
      "avg_words_per_sentence": 0, "pattern": "...",
      "evidence": ["..."], "avoid": "..."
    },
    "passive_vs_active_voice": {"dominant": "...",
      "passive_percentage": "...", "pattern": "...",
      "evidence": ["..."], "avoid": "..."},
    "coordination_vs_subordination": {"dominant": "...",
      "pattern": "...", "evidence": ["..."], "avoid":
      "..."},
    "punctuation_habits": {"pattern": "...",
      "evidence": ["..."], "avoid": "..."},
    "enumerative_style": {"uses_enumeration":
      false, "format": "...", "evidence": ["..."],
      "avoid": "..."}
  },
  "discourse_markers": {
    "transitional_phrases": {"top_phrases": ["..."],
      "evidence": ["..."], "avoid": "..."},
    "opening_moves": {"pattern": "...", "evidence":
      ["..."], "avoid": "..."},
    "closing_moves": {"pattern": "...", "evidence":
      ["..."], "avoid": "..."},
    "reference_density": {"frequency": "...", "format":
      "...", "evidence": ["..."]}
  },
  "structural_organization": {
    "paragraph_structure": {
      "avg_sentences_per_paragraph": 0, "style": "...",
      "evidence": ["..."], "avoid": "..."
    },
    "rhetorical_role_distribution": {"pattern": "...",
      "sequence": "...", "evidence": ["..."], "avoid":
      "..."},
    "argument_framing": {"pattern": "...",
      "evidence": ["..."], "avoid": "..."},
    "section_naming_style": {"pattern": "...",
      "evidence": ["..."]}
  },
  "pragmatic_tone": {
    "formality_level": {"level": "...", "pattern":
      "...", "evidence": ["..."], "avoid": "..."},
    "politeness_strategy": {"pattern": "...",
      "evidence": ["..."], "avoid": "..."},
    "audience_awareness": {"pronoun": "...", "pattern":
      "...", "evidence": ["..."], "avoid": "..."},
    "figurative_language": {"uses_fig urative_language":
      false, "pattern": "...", "evidence": ["..."],
      "avoid": "..."},
    "certainty_and_commitment": {"stance": "...",
      "strong_verbs": ["..."], "hedge_words": ["..."],
      "evidence": ["..."], "avoid": "..."}
  },
  "formatting_layout": {
    "visual_structure": {"uses_bullets": false,
      "uses_numbered_lists": false, "uses_headers": false,
      "pattern": "...", "evidence": ["..."]},
    "paragraph_density": {"style": "...",
      "evidence": ["..."], "avoid": "..."},
    "emphasis_and_capitalization":{"uses_emphasis": false,
      "methods": "none", "evidence": ["..."]}
  },
  "cross_task_variability": {
    "style_adaptation_by_task": {"pattern": "...",
      "evidence": ["..."]},
    "content_style_entanglement": {"fingerprint_patterns":
      ["..."], "evidence": ["..."], "note": "..."}
  }
}

SP-REFINE step 2: DRAFT (ϕdraft; the entire SP-INFER method)

You are writing in the style of a specific author. Below are {k} writing samples from this author. Read them carefully, infer the author's style, and then complete the task in that style. Do not produce a written analysis -- internalize the style and write.

======================= AUTHOR'S WRITING SAMPLES ======================= {numbered_samples}

======================= TASK ======================= Task type: {task_type} Task input: {task_input}

======================= INSTRUCTIONS =======================

  1. Silently identify the author's recurring style features

    • sentence rhythm, word choices, hedging, transitions, paragraph structure, tone, formatting.

  2. Draft the task output matching those features.

  3. Briefly self-check that your draft matches the style of the samples; revise if it drifts.

  4. Output ONLY the final text -- no preamble, no analysis, no fences.

SP-REFINE step 3: REVISE (ϕrev)

You are an expert writing evaluator and ghostwriter. You will complete two steps in this call.

======================= AUTHOR'S WRITING SAMPLES

```` (k=4 retrieved profile entries -- your style reference for this call) ======================= {numbered_samples} =======================

PERSONAL STYLE PROFILE (PSP) (structured style specification extracted from the author's writing history) ======================= {psp_json} =======================

TASK REMINDER ======================= Task type: {task_type} Task input: {task_input}

Your output must complete this task and only this task. Do not change the subject matter.

=======================

INITIAL DRAFT TO IMPROVE (generated by SP-Infer) ======================= {initial_draft}

=======================

STEP 1 -- PSP-CONDITIONED REVISION ======================= Using the PSP and writing samples as style anchors, revise the initial draft to better match the author's style. Apply every applicable PSP field: sentence length, voice, hedging, transitional phrases, paragraph density, and formatting. Do not alter factual content. Do not introduce new facts not present in the task input.

Produce a revised draft. This is your Round 1 draft.

=======================

STEP 2 -- DIMENSION A SCORING (score your Round 1 draft against the author's writing samples above) =======================

Score the Round 1 draft on each Dimension A criterion below using a 1-5 scale.

Scoring scale: 1 = Poor | 2 = Below average | 3 = Adequate | 4 = Good | 5 = Excellent

DIMENSION A -- STYLISTIC FIDELITY (compare Round 1 draft to the author's writing samples): A1. Lexical Match -- vocabulary is entirely generic with no overlap (1) -> word choices indistinguishable from the author (5) A2. Syntactic Match -- sentence length and voice are opposite to the author (1) -> length, complexity, and voice indistinguishable from the author (5) A3. Tone & Formality -- register is completely wrong (1) -> formality, hedging, and certainty stance indistinguishable from the author (5) A4. Discourse & Structure -- no recognizable transitions or paragraph density (1) -> discourse organization indistinguishable from the author (5) A5. Formatting -- formatting is opposite to the author's (1) -> bullets, headers, and prose structure indistinguishable from the author (5)

Return your Dimension A scores in this exact JSON format: { "round": 1, "dimension_a_scores": { "A1_lexical_match": 0, "A2_syntactic_match": 0, "A3_tone_formality": 0, "A4_discourse_structure": 0, "A5_formatting": 0 }, "style_fidelity_score": 0.0, "weakest_criteria": ["...", "..."], "specific_issues": "..." } ````

````


=======================
OUTPUT FORMAT
=======================
Return your response in exactly this structure:

ROUND 1 DRAFT:
<your revised draft text only, no preamble, no fences>

DIMENSION A SCORES (ROUND 1):
```json
<your scores JSON from Step 2>

````

SP-REFINE step 4: TARGETED REVISE (ϕtgt\phi_{\mathrm{tgt}})

You are an expert writing evaluator and ghostwriter continuing an iterative style refinement pipeline.

======================= AUTHOR'S WRITING SAMPLES (k=4 retrieved profile entries -- your style reference for this call) ======================= {numbered_samples}

=======================

PERSONAL STYLE PROFILE (PSP) ======================= {psp_json}

=======================

TASK REMINDER ======================= Task type: {task_type} Task input: {task_input}

Your output must complete this task and only this task. Do not change the subject matter.

=======================

ROUND 1 DRAFT (produced in the previous call) ======================= {round1_draft}

=======================

ROUND 1 DIMENSION A SCORES (from the previous call -- use these to guide your revision) ======================= {round1_scores_json}

=======================

STEP 1 -- TARGETED REVISION ======================= Using the Round 1 Dimension A scores and specific issues above, revise the Round 1 draft.

Revision priorities:

  1. Fix criteria scored 1 or 2 first -- these are critical style failures.

  2. Then improve criteria scored 3 -- bring them to 4 or 5.

  3. Do not change criteria already scoring 4 or 5.

  4. Style corrections must not alter factual content.

  5. Do not introduce new facts not present in the task input.

Produce a revised draft. This is your Round 2 draft.

=======================

STEP 2 -- DIMENSION A RESCORE (score your Round 2 draft against the author's writing samples above) ======================= Score the Round 2 draft on each Dimension A criterion below using a 1-5 scale.

Scoring scale: 1 = Poor | 2 = Below average | 3 = Adequate | 4 = Good | 5 = Excellent

DIMENSION A -- STYLISTIC FIDELITY (compare Round 2 draft to the author's writing samples):

A1. Lexical Match -- vocabulary is entirely generic with no overlap (1) -> word choices indistinguishable from the author (5)

A2. Syntactic Match -- sentence length and voice are opposite to the author (1) -> length, complexity, and voice indistinguishable from the author (5)

A3. Tone & Formality -- register is completely wrong (1) -> formality, hedging, and certainty stance indistinguishable from the author (5)

A4. Discourse & Structure -- no recognizable transitions or paragraph density (1) -> discourse organization indistinguishable from the author (5)

A5. Formatting -- formatting is opposite to the author's (1) -> bullets, headers, and prose structure indistinguishable from the author (5)

Return your Dimension A scores in this exact JSON format:

{
  "round": 2,
  "dimension_a_scores": {
    "A1_lexical_match": 0,
    "A2_syntactic_match": 0,
    "A3_tone_formality": 0,
    "A4_discourse_structure": 0,
    "A5_formatting": 0
  },
  "style_fidelity_score": 0.0,
  "weakest_criteria": ["...", "..."],
  "specific_issues": "..."
}

====================== OUTPUT FORMAT ======================

Return your response in exactly this structure:

ROUND 2 DRAFT: <your revised draft text only, no preamble, no fences>

DIMENSION A SCORES (ROUND 2):

<your scores JSON from Step 2>

SP-Profile

Call 1 is EXTRACTSTYLE above; call 2 is:

SP-PROFILE call 2: APPLY (ϕapply\phi_{\mathrm{apply}})

You are writing in the style of a specific author. Below is their Personal Style Profile (PSP), built from analyzing prior writing samples. Your job is to produce text that matches this PSP as closely as possible while completing the requested task accurately.

====================== PERSONAL STYLE PROFILE ======================

{psp_json}

====================== TASK ======================

Task type: {task_type}

Task input:

{task_input}

====================== INSTRUCTIONS ======================

Step 1 -- DRAFT (silent): Write a draft that completes the task. While drafting, actively conform to every applicable PSP field -- sentence length, voice, hedging, transitional phrases, paragraph density, formatting choices. Use the “evidence” phrases as stylistic anchors but do NOT copy them verbatim if they would be content-irrelevant to this task.

Step 2 -- REVISE (silent): Re-read your draft against the PSP. For each PSP category, ask: does the draft match the stated pattern? If a PSP field says “avoid X,” confirm X is absent. If avg_words_per_sentence is N, check your draft is within +/-20% of N. If passive_percentage is “low,” count passives. Rewrite anywhere the draft drifts.

Baselines

LONGLAMP (LongLaMP’s templates; e1,…,eke_1,\ldots,e_k are the retrieved entries)

Abstract: “{abstract of e1e_1}” is the abstract for the title “{title of e1”,and...,and“abstractofe_1”, and . . . , and “{abstract of }e_k}” is the abstract for the title “{title of $e_k}”. Use the above abstracts as context to understand the style and language of the user and, {task_input}

Review: “{rating}” is a rating for the product with description “{description}”. “{summary}” is summary for “{review text}”, and . . . Following the given patterns {task_input}

Topic: “{summary}” is a summary for “{post}”, and . . . . Following the given patterns, {task_input}

NO PROFILE and RANDOM-SAMPLES

No Profile: the task input alone, e.g. Generate an abstract for the title “{title}” using the following items: {items}.

Random-Samples: the LongLaMP template above, filled with kk entries sampled uniformly at random from the user's own history (not the kk entries retrieved by Contriever).

Oracles and controls (abridged)

ORACLE-REGEN and ORACLE-REGEN+P (oracle; abridged)

You are an expert writing evaluator and ghostwriter. Your task has two steps:

STEP 1 -- evaluate a generated text using the ground truth as a scoring reference only.

STEP 2 -- produce an improved version WITHOUT referencing the ground truth.

[AUTHOR'S WRITING SAMPLES] [TASK INPUT] [GENERATED OUTPUT TO EVALUATE] (SP-Infer output for Oracle-Regen; SP-Profile output for Oracle-Regen+P)

STEP 1 -- EVALUATE (the ground truth below is for scoring reference only -- do not copy it)

Ground truth output (scoring reference only): {ground_truth}

Score 1-5: A1-A5 (compare to the author's writing samples), B1 Content Coverage (relative to ground truth), B2 Factual Consistency, B3 Fluency & Coherence, B4 Length Appropriateness (relative to ground truth). Return JSON with scores, weakest_criteria, specific_issues.

TASK REMINDER: re-read the original task. Do not introduce content from the ground truth.

STEP 2 -- REGENERATE (work only from the task input and author samples -- do NOT copy from the ground truth): Fix criteria scored 1–2 first, then 3; do not change criteria scoring 4–5; do not alter or add facts. The improved output must: complete the same task using only the task input as content source; match the author's style; be comparable in length to the ground truth; contain no preamble; NOT reproduce phrases or sentences from the ground truth.

Return: EVALUATION: {json} REGENERATED OUTPUT: <text>

SP-REGEN and SP-REGEN+ (reference-free controls): changes relative to the oracle prompt

  • Removed: the ground-truth block and every mention of the ground truth.

  • B1 Content Coverage: "key information from the task input present and well-represented" (was: relative to ground truth).

  • B4 Length Appropriateness: "output length relative to the author's writing samples" (was: relative to ground truth).

  • Removed: "Be comparable in length to the ground truth" and "NOT reproduce phrases or sentences from the ground truth".

  • All other text identical; same model, same initial drafts.

ORACLE-SELECT (oracle selection rule)

For each test instance, score every candidate draft with the LLM judge (reference-anchored) and keep the draft with the highest 0.5 * StyleFidelity + 0.5 * TaskQuality.

Candidate sets: {SP-Infer, Oracle-Regen}; {SP-Refine y0y_0 (= SP-Infer), y1y_1, y2y_2}; {SP-Profile, Oracle-Regen+P

LLM judge (abridged)

You are an expert writing evaluator performing a final blind evaluation of a generated text output.

TASK REMINDER -- Task type: {task_type} Task input: {task_input}

GENERATED OUTPUT (the text to evaluate): {generated_output}

GROUND TRUTH (what the author actually wrote for this task -- evaluation anchor for both dimensions): {ground_truth}

Score the generated output on all criteria below using a 1–5 scale (1 = Poor, 3 = Adequate, 5 = Excellent). Both dimensions use the ground truth as the evaluation anchor.

DIMENSION A -- STYLISTIC FIDELITY (compare to the ground truth as style reference):

A1. Lexical Match -- entirely generic vocabulary (1) -> word choices indistinguishable from ground truth (5)

A2. Syntactic Match -- sentence length and voice opposite (1) -> indistinguishable (5)

A3. Tone & Formality -- register completely wrong (1) -> formality, hedging, certainty indistinguishable (5)

A4. Discourse & Structure -- no recognizable transitions or paragraph density (1) -> indistinguishable (5)

A5. Formatting -- formatting opposite (1) -> bullets, headers, prose structure indistinguishable (5)

DIMENSION B -- TASK QUALITY (compare to the ground truth):

B1. Content Coverage -- most key information missing (1) -> all key information present (5)

B2. Factual Consistency -- multiple invented or contradicting facts (1) -> every claim grounded in the task input (5)

B3. Fluency & Coherence -- incoherent (1) -> fully fluent and well-structured (5)

B4. Length Appropriateness -- deviates from ground-truth length by more than 50% (1) -> within ~10% (5)

Return ONLY a JSON object with dimension_a (A1–A5), dimension_b (B1–B4), weakest_criteria, and evaluation_notes.

SF and TQ are computed by us as the means of the criterion scores; the judge’s own aggregate fields are ignored.

Notation

Table 12 lists every symbol used in Algorithms 11–44.

SymbolMeaning
uu, PuP_ua user and their history of previously written documents {d1,…,dm}\{d_1,\ldots,d_m\}
xx, cctask input (e.g., title, key and key items) and task type (abstract, review, or topic)
yy, y^\hat{y}the user’s reference output (used only for evaluation and by the oracles) and the generated output
RR, kkretriever and number of samples: R(x,Pu,k)R(x,P_u,k) returns the kk entries of PuP_u with the highest Content-Retriever dot-product score for xx (SS); k=4k=4
SSthe retrieved samples, S=R(x,Pu,k)S=R(x,P_u,k), shared by all methods
MM, M(⋅)M(\cdot)the generator LLM; M(q)M(q) is one call with prompt qq
Σ\Sigma, σ\sigmathe STYLEPRISM schema of 28 aspects; one aspect
π\pithe style profile: for each σ∈Σ\sigma\in\Sigma, a pattern, quoted evidence EσE_\sigma, and (for 22 aspects) an avoid field
ϕext\phi_{\mathrm{ext}}, ϕdraft\phi_{\mathrm{draft}}, ϕrev\phi_{\mathrm{rev}}, ϕtgt\phi_{\mathrm{tgt}}; ϕapply\phi_{\mathrm{apply}}, ϕLL\phi_{\mathrm{LL}}, ϕregen\phi_{\mathrm{regen}}prompt templates of SP-REFINE’s four steps (G\mathbf{G}) and prompt templates of SP-PROFILE’s second call, of LONG LAMP, and of the oracles
y0y_0, y1y_1, y2y_2SP-REFINE’s draft (step 2), revised draft (step 3), and output (step 4); y^=y2\hat{y}=y_2
AA, ata_tthe five style criteria (Lexical, Syntactic, Tone & Formality, Discourse & Structure, Formatting) and MM’s 1–5 scores of yty_t on them, judged against SS
ss, y~\tilde{y}an oracle’s nine criteria scores and its revised output
C\mathcal{C}a set of candidate outputs for ORACLE-SELECT
SF(z,y)SF(z,y), TQ(z,y)TQ(z,y)the LLM judge’s Style Fidelity and Task Quality of candidate zz, using yy as anchor

Table 12. Notation.

Algorithms for the ablations and oracles

Algorithm 2SP-INFER: a single call with implicit style inference and self-check.
Input:xx, cc, PuP_u, RR, kk, MM
1:S←R(x,Pu,k)S \leftarrow R(x,P_u,k)
2:return y^←M(ϕdraft(S,c,x))\hat{y}\leftarrow M(\phi_{\mathrm{draft}}(S,c,x)) ▹\triangleright infer style, draft, self-check

Table 2 (PDF p. 19).

Algorithm 3SP-PROFILE: explicit extraction, then generation from the profile without the samples.
Input:xx, cc, PuP_u, RR, kk, MM, Σ\Sigma
1:S←R(x,Pu,k)S\leftarrow R(x,P_u,k)
2:π←EXTRACTSTYLE⁡(S,Σ)\pi\leftarrow\operatorname{EXTRACTSTYLE}(S,\Sigma) ▹\triangleright as in Alg. 1
3:return y^←M(ϕapply(π,c,x))\hat{y}\leftarrow M(\phi_{\mathrm{apply}}(\pi,c,x)) ▹\triangleright SS not shown

Table 3 (PDF p. 19).

Algorithm 4 ORACLE-REGEN and its reference-free control SP-REGEN; ORACLE-SELECT. For the +P variants, y0y_0 is the SP-PROFILE output instead. ss is the reviser’s nine criterion scores; CC is a set of candidate outputs.

Input: xx, cc, PuP_u, RR, kk, MM; reference yy (oracles only)

  1. S←R(x,Pu,k)S \leftarrow R(x, P_u, k); y0←y_0 \leftarrow SP-INFER output

  2. (s,y~)←M(ϕregen(S,c,x,y0,y))(s, \tilde{y}) \leftarrow M(\phi_{\mathrm{regen}}(S, c, x, y_0, y)) ▷ SP-REGEN: yy removed

  3. return y~\tilde{y}

ORACLE-SELECT: return arg max⁡z∈C12SF(z,y)+12TQ(z,y)\operatorname*{arg\,max}_{z \in C} \frac{1}{2}SF(z, y) + \frac{1}{2}TQ(z, y)

Example Style Profile

The complete profile π\pi extracted for the abstract instance in Figure 3.

Full style profile code listing

Figure 3 (PDF p. 20). Full style profile π\pi for idx_13 (abstract generation, Grok-4.1-Fast), exactly as returned

{
  "lexical_choice": {
    "word_frequency_and_preference": {
      "pattern": "prefers precise, technical terms with repetition of key concepts",
      "evidence": [
        "tunnelled (repeated 4x in Sample 1)",
        "class B traffic (repeated 6x in Sample 2)",
        "monitoring-cycles (m-cycles) (repeated across Samples 3-4)",
        "fault detection (repeated in Samples 3-4)"
      ],
      "avoid": "not observable from samples"
    },
    "stopword_avoidance": {
      "pattern": "standard use of stopwords, no notable avoidance",
      "evidence": [
        "is an essential element",
        "are wide in scope",
        "are tunnelled over HTTP"
      ],
      "avoid": "not observable from samples"
    },
    "domain_specific_lexicon": {
      "pattern": "heavy use of networking and optical network terminology",
      "evidence": [
        "HTTP tunnels",
        "NetFlow v5",
        "Resilient Packet Ring (RPR)",
        "monitoring-cycles (m-cycles)",
        "all-optical networks (AONs)",
        "NSFNET, ARPA2, SmallNet, and Bellcore."
      ],
      "avoid": "not observable from samples"
    },
    "intensifier_and_modifier_use": {
      "pattern": "sparse use of intensifiers, favors precise qualifiers like 'novel', 'accurate'",
      "evidence": [
        "novel approach",
        "accurate classification",
        "accurate and effective",
        "nearly optimal performance"
      ],
      "avoid": "not observable from samples"
    },
    "hedging_behavior": {
      "pattern": "minimal hedging, uses qualifiers like 'nearly'",
      "evidence": [
        "nearly optimal performance (Samples 3-4)"
      ],
      "avoid": "extensive hedges like 'may', 'possibly'"
    },
    "syntactic_patterns": {
      "sentence_length_and_complexity": {
        "avg_words_per_sentence": 24,
        "pattern": "long, complex sentences with multiple clauses",
        "evidence": [
          "Accurate traffic classification is an essential element of emergent cloud and datacenter architectures. (12 words)",
          "Applications tunnelled over HTTP are wide in scope and diverse in nature, and include mapping, email, video, image, audio and file. (19 words)"
        ],
        "avoid": "not observable from samples"
      },
      "passive_vs_active_voice": {
        "dominant": "mixed, slight passive preference",
        "passive_percentage": "approx 40%",
        "pattern": "passive for technical descriptions",
        "evidence": [
          "is carried out using information",
          "is tested on live data traffic",
          "is formulated as a cycle cover problem"
        ],
        "avoid": "not observable from samples"
      },
      "coordination_vs_subordination": {
        "dominant": "subordination",
        "pattern": "heavy use of subordinate clauses and conjunctions",
        "evidence": [
          "thereby making accurate classification a challenge",
          "using information that is only available from flow-based protocols",
          "competing with background class C traffic"
        ],
        "avoid": "not observable from samples"
      },
      "punctuation_habits": {
        "pattern": "standard use, colons for lists, commas for series",
        "evidence": [
          "namely video, audio and file-transfer.",
          "NSFNET, ARPA2, SmallNet, and Bellcore.",
          "the grade of fault localization, wavelength overhead, and the number of cycles"
        ],
        "avoid": "excessive dashes or semicolons"
      },
      "enumerative_style": {
        "uses_enumeration": true,
        "format": "colon-introduced series or lists",
        "evidence": [
          "namely video, audio and file-transfer.",
          "NSFNET, ARPA2, SmallNet, and Bellcore.",
          "grade of fault localization, wavelength overhead, and the number of cycles"
        ],
        "avoid": "not observable from samples"
      }
    }
  },
  "discourse_markers": {
    "transitional_phrases": {
      "top_phrases": [
        "This paper presents",
        "In this paper",
        "The results show",
        "In comparison to"
      ],
      "evidence": [
        "This paper presents a novel approach (Sample 1)",
        "This paper reports on simulation results (Sample 2)",
        "In this paper, an m-cycle construction (Sample 3)"
      ],
      "avoid": "not observable from samples"
    },
    "opening_moves": {
      "pattern": "problem statement then proposed solution",
      "evidence": [
        "Accurate traffic classification is an essential element... making accurate classification a challenge. This paper presents (Sample 1)",
        "The IEEE P802.17 workgroup is currently standardizing ... This paper reports (Sample 2)"
],
"avoid": "not observable from samples"
},
"closing_moves": {
"pattern": "results summary with performance claims",
"evidence": [
"the proposed scheme outperforms them by at least 10%
(Sample 1)",
"it achieves nearly optimal performance (Samples 3-4)"
],
"avoid": "not observable from samples"
},
"reference_density": {
"frequency": "low",
"format": "bracketed numbers",
"evidence": [
"[8] (Sample 4)"
],
"avoid": "not observable from samples"
},
"structural_organization": {
"paragraph_structure": {
"avg_sentences_per_paragraph": 1,
"style": "single dense paragraph abstracts",
"evidence": [
"All samples are single-paragraph abstracts"
],
"avoid": "not observable from samples"
},
"rhetorical_role_distribution": {
"pattern": "problem -> method -> evaluation -> results
",
"sequence": "challenge/problem, proposal, testing/
application, performance metrics",
"evidence": [
"challenge... This paper presents... tested on...
accurately classifies (Sample 1)"
],
"avoid": "not observable from samples"
},
"argument_framing": {
"pattern": "proposal superiority via comparison/metrics
",
"evidence": [
"outperforms them by at least 10% (Sample 1)",
"achieves nearly optimal performance (Samples 3-4)"
],
"avoid": "not observable from samples"
},
"section_naming_style": {
"pattern": "descriptive titles with method/network
focus",
"evidence": [
"Classification of applications in HTTP tunnels.",
"Spanning-tree based monitoring-cycle construction for
fault detection and localization in mesh AONs."
]
}
},
"pragmatic_tone": {
"formality_level": {
"level": "high",
"pattern": "academic technical prose",
"evidence": [
"emergent cloud and datacenter architectures",
"formulated as a cycle cover problem with certain
constraints"
],
"avoid": "colloquialisms"
},
"politeness_strategy": {
"style": "neutral objective",
"pattern": "no direct politeness",
"evidence": "not observable from samples",
"avoid": "not observable from samples"
},
"audience_awareness": {
"pronoun": "none (impersonal)",
"pattern": "no personal pronouns",
"evidence": [
"We previously showed (Samples 3-4, rare 1st person
plural)"
],
"avoid": "1st/2nd person extensively"
},
"figurative_language": {
"uses_figurative_language": false,
"pattern": "literal only",
"evidence": "not observable from samples",
"avoid": "not observable from samples"
},
"certainty_and_commitment": {
"stance": "confident with qualifiers",
"strong_verbs": [
"presents",
"proposes",
"show",
"outperforms"
],
"hedge_words": [
"nearly",
"at least"
],
"evidence": [
"accurately classifies at least 70%",
"achieves nearly optimal performance"
],
"avoid": "not observable from samples"
}
},
"formatting_layout": {
"visual_structure": {
"uses_bullets": false,
"uses_numbered_lists": false,
"uses_headers": false,
"pattern": "plain text with -- delimiters in samples",
"evidence": [
"-- SAMPLE 1 --",
"Title: ... Abstract: ..."
]
},
"paragraph_density": {
"style": "high density, single block paragraphs",
"evidence": [
"All abstracts are unbroken paragraphs"
],
"avoid": "not observable from samples"
},
"emphasis_and_capitalization": {
"uses_emphasis": false,
"methods": [
"none"
],
"evidence": [
"standard title case, no italics/bold"
]
}
},
"cross_task_variability": {
"style_adaptation_by_task": {
"pattern": "highly consistent across topics",
"evidence": [
"Formulaic structure and phrasing repeated: 'This/In
this paper... proposed... applied to... results show
...' in all samples"
]
},
"content_style_entanglement": {
"fingerprint_patterns": [
"novel/heuristic proposal",
"network names listed",
"performance metrics at end",
"'This/In this paper' opener"
],
"evidence": [
"novel approach (1), heuristic... proposed (3-4)",
"NSFNET, ARPA2... (3-4)",
"accurately classifies at least 70% (1), nearly
optimal (3-4)"
],
"note": "Samples 3-4 nearly identical, reinforcing
stable style"
}
}

References

  1. [1]Satanjeev Banerjee and Alon Lavie. 2005. METEOR: An automatic metric for MT evaluation with improved correlation with human judgments. In Proceedings of the ACL Workshop on Intrinsic and Extrinsic Evaluation Measures for Machine Translation and/or Summarization, pages 65–72.
  2. [2]Gautier Izacard, Mathilde Caron, Lucas Hosseini, Sebastian Riedel, Piotr Bojanowski, Armand Joulin, and Edouard Grave. 2022. Unsupervised dense information retrieval with contrastive learning. Transactions on Machine Learning Research.arxiv.org/abs/2112.09118
  3. [3]Di Jin, Zhijing Jin, Zhiting Hu, Olga Vechtomova, and Rada Mihalcea. 2022. Deep learning for text style transfer: A survey. Computational Linguistics, 48(1):155–205.
  4. [4]Ishita Kumar, Snigdha Viswanathan, Sushrita Yerra, Alireza Salemi, Ryan A. Rossi, Franck Dernoncourt, Hanieh Deilamsalehy, Xiang Chen, Ruiyi Zhang, Shubham Agarwal, Nedim Lipka, Chien Van Nguyen, Thien Huu Nguyen, and Hamed Zamani. 2024. LongLaMP: A benchmark for personalized long-form text generation. arXiv preprint arXiv:2407.11016.arxiv.org/abs/2407.11016
  5. [5]Cheng Li, Mingyang Zhang, Qiaozhu Mei, Yaqing Wang, Spurthi Amba Hombaiah, Yi Liang, and Michael Bendersky. 2023. Teach LLMs to personalize – an approach inspired by writing education. arXiv preprint arXiv:2308.07968.arxiv.org/abs/2308.07968
  6. [6]Chin-Yew Lin. 2004. ROUGE: A package for automatic evaluation of summaries. In Text Summarization Branches Out, pages 74–81.
  7. [7]Yang Liu, Dan Iter, Yichong Xu, Shuo­hang Wang, Ruochen Xu, and Chenguang Zhu. 2023. G-eval: NLG evaluation using GPT-4 with better human alignment. In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, pages 2511–2522.arxiv.org/abs/2303.16634
  8. [8]Aman Madaan, Niket Tandon, Prakhar Gupta, Skyler Hallinan, Luyu Gao, Sarah Wiegreffe, Uri Alon, Nouha Dziri, Shrimai Prabhumoye, Yiming Yang, Shashank Gupta, Bodhisattwa Prasad Majumder, Katherine Hermann, Sean Welleck, Amir Yazdanbakhsh, and Peter Clark. 2023. Self-refine: Iterative refinement with self-feedback. In Advances in Neural Information Processing Systems.arxiv.org/abs/2303.17651
  9. [9]Sheshera Mysore, Zhuoran Lu, Mengting Wan, Longqi Yang, Bahareh Sarrafzadeh, Steve Menez­es, Tina Baghaee, Emmanuel Barajas Gonzalez, Jennifer Neville, and Tara Safavi. 2024. Pearl: Personalizing large language model writing assistants with generation-calibrated retrievers. In Proceedings of the 1st Workshop on Customizable NLP: Progress and Challenges in Customizing NLP for a Domain, Application, Group, or Individual (CustomNLP4U).arxiv.org/abs/2311.09180
  10. [10]Ajay Patel, Delip Rao, Ansh Kothary, Kathleen McKeown, and Chris Callison-Burch. 2023. Learning interpretable style embeddings via prompting LLMs. In Findings of the Association for Computational Linguistics: EMNLP 2023.
  11. [11]Emily Reif, Daphne Ippolito, Ann Yuan, Andy Coenen, Chris Callison-Burch, and Jason Wei. 2022. A recipe for arbitrary text style transfer with large language models. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers), pages 837–848.
  12. [12]Chris Richardson, Yao Zhang, Kellen Gillespie, Sudipta Kar, Arshdeep Singh, Zeynab Raeesy, Omar Zia Khan, and Abhinav Sethy. 2023. Integrating summarization and retrieval for enhanced personalization via large language models. arXiv preprint arXiv:2310.20081.arxiv.org/abs/2310.20081
  13. [13]Alireza Salemi, Surya Kallumadi, and Hamed Zamani. 2024a. Optimization methods for personalizing large language models with retrieval augmentation. In Proceedings of the 47th International ACM SIGIR Conference on Research and Development in Information Retrieval.arxiv.org/abs/2404.05970
  14. [14]Alireza Salemi, Sheshera Mysore, Michael Bendersky, and Hamed Zamani. 2024b. LaMP: When large language models meet personalization. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 7370–7392.
  15. [15]Anna Wegmann, Marijn Schraagen, and Dong Nguyen. 2022. Same author or just same topic? towards content-independent style representations. In Proceedings of the 7th Workshop on Representation Learning for NLP, pages 249–268.
  16. [16]Zhehao Zhang, Ryan A. Rossi, Branislav Kveton, Yijia Shao, Diyi Yang, Hamed Zamani, Franck Dernoncourt, et al. 2024. Personalization of large language models: A survey. arXiv preprint arXiv:2411.00027.arxiv.org/abs/2411.00027
  17. [17]Lianmin Zheng, Wei-Lin Chiang, Ying Sheng, Siyuan Zhuang, Zhanghao Wu, Yonghao Zhuang, Zi Lin, Zhuohan Li, Dacheng Li, Eric P. Xing, Hao Zhang, Joseph E. Gonzalez, and Ion Stoica. 2023. Judging LLM-as-a-judge with MT-bench and chatbot arena. In Advances in Neural Information Processing Systems (Datasets and Benchmarks Track).arxiv.org/abs/2306.05685

Machine contribution statement

No AI-use declaration is available for this version in Valency.

The available record does not establish whether AI systems or models contributed to this work.

How machine contributions are recorded

Paper details

Citation

Cite
Published
Version
Latest

Data & code

No code, data or supplementary files were declared for this version.

Contents

Pick where to look, or just type