betaFeedback

WorksComputer Science

Reducing Authorship Attribution Risk in Student Texts Through Style-Conditioned Rewriting

Abstract

Building NLP applications for education is constrained by data scarcity due to student privacy concerns and data regulations. To address this, we propose a style-aware approach to rewriting student forum posts that retains analytical value while reducing identifiability. Our method isolates content, structure, and style as separate conditioning channels and aggregates over student-disjoint exemplar partitions within style clusters, extending Differentially Private In-context Learning (DP-ICL) with cluster-restricted retrieval. Across three educational NLP datasets, our approach achieves high style fidelity, preserves downstream task performance, and reduces authorship attribution risk relative to the original student-written texts, including against a dedicated authorship-attribution model.

Introduction

NLP applications for education face significant reproducibility challenges: real student data is subject to strict data protection requirements under privacy regulations and institutional policies ([43, 66, 40, 33]). We note that simply redacting sensitive information is insufficient, as Institutional Review Boards (IRBs) often prohibit the release of student-authored content; therefore, even student texts without any personally-identifiable information (PII) cannot be released. Given these constraints, researchers have investigated general-purpose LLMs for student simulation ([20, 28, 64]) and data synthesis ([29, 24]).

A central challenge for current simulation and synthesis efforts is the tradeoff between privacy and utility: methods that strongly protect identity tend to degrade the linguistic and pedagogical signals

SEAMS pipeline

Figure 1. SEAMS pipeline. Three conditioning channels (bullet summary, template, cluster exemplars) condition MM parallel LLM generations. Candidates are embedded, ℓ2\ell_2-clipped, and averaged with Gaussian noise; the released rewrite is the candidate closest to the mean.

that make the data useful. Our paper addresses this tradeoff in the context of discussion forum posts.

Discussion forums are the de facto interactive medium for both MOOCs and university courses, where learners ask questions, discuss ideas, and reflect on course material ([41]). Unlike formal academic writing, forum posts embody naturalistic student language, reflecting diverse cognitive and communicative tendencies as evidenced by their varying lengths, tones, and rhetorical structures. These posts are rich with pedagogically meaningful signals, including urgency, confusion, and emotional states ([23, 2]), making them a valuable, rich resource ([11]). More recently, increasingly capable language models have spurred the deployment of virtual teaching assistants in discussion forums (Goel and Polepeddi, [15]; Shah et al., [49]; Kweon et al., [27]), which require training and evaluation data that reflects the full distribution of student writing styles.

In the context of student simulation, general-purpose models often fail to capture the diversity in personalities, cognitive capabilities, and stylistic idiosyncrasies ([35, 70]). This failure could lead to high-stakes consequences; a virtual teaching assistant trained on distributionally flat synthetic student data may fail to produce the pedagogically optimal response in deployment. Addressing this requires synthetic data that captures the underlying stylistic distribution of real student populations.

We propose rewriting each real student post into a less-identifiable version that preserves the stylistic and semantic properties needed for downstream NLP; unlike fully synthetic generation, each output corresponds to exactly one source post. Prior work on synthetic data ([30, 39]) and differentially private language modeling ([50, 14] (Yu et al. 2022)) pays little attention to style-preserving synthesis in education. The core challenge is to preserve cluster-level style for utility while suppressing individual stylistic fingerprints that enable re-identification. We address this by decomposing student texts into content, structure, and style, then aggregating over student-disjoint exemplar partitions to limit any one author’s impact. We implement this via Style-conditioned Ensemble Aggregation with Multi-channel Synthesis (SEAMS). SEAMS extends DP-ICL (Wu et al., [61], more details in § 3.5) by incorporating stylistically similar exemplars while restricting influence of individual authors. Across three datasets, SEAMS preserves style, maintains downstream task performance, and empirically reduces authorship attribution risk relative to the originals.

Our contributions are as follows: (1) SEAMS3, a privacy-motivated, style-aware pipeline for rewriting student forum posts. (2) Evidence across three educational NLP datasets that SEAMS preserves downstream task performance and high style fidelity. (3) Evidence that SEAMS empirically reduces authorship attribution risk compared to original student posts.

Related Work

Recent work has increasingly turned to LLMs for simulating students, both for training teachers ([37]), evaluating pedagogical agents ([20]), modeling behavioral trajectories ([64]), and supporting authentic human-AI collaboration in educational settings ([28]). However, these simulators rely on prompting general-purpose LLMs, which may not faithfully reproduce the heterogeneity of real student populations ([60, 35]) and offer no mechanism for releasing privacy-protected versions of real student writing. SEAMS addresses both.

Style-conditioned Generation: Prior literature on conditional generation ([69]) and style transfer has studied approaches to steer LLM output style, from exemplar-based prompting ([47]), contrastive prompting ([52]), and controlled text editing ([32, 34]). SEAMS draws on this literature but targets a privacy-preserving rather than purely stylistic objective.

Differentially Private Text Generation: Training-time DP methods extend DP-SGD ([1]) to language model fine-tuning ([50] (Yu et al. 2022)) and attribute-conditioned synthetic text ([68, 36]), or train the generator itself from DP signals ([53, 19, 63]). Inference-time methods instead release each token under DP ([54, 5, 56, 14]), refine samples through API calls with DP-compliant feedback ([62, 10, 57]), or aggregate predictions across disjoint demonstration sets, as in DP-ICL ([61]). Generally, these methods produce a new dataset with guarantees, while SEAMS studies one-to-one rewriting, adding multi-channel conditioning and cluster-restricted retrieval, and trade formal guarantees for style fidelity. The closest one-to-one method, DP-Prompt ([55]), paraphrases each document under local DP.

SEAMS

SEAMS isolates three conditioning channels from student texts: content, structure, and style. It then aggregates over candidate generations from studentdisjoint exemplar partitions within style clusters. The rest of this section describes each component. SEAMS does not include PII redaction; therefore, any institution interested in using SEAMS should perform redactions independently.

Preprocessing

Each post is converted into two SEAMS input channels: bullet summaries for content and academic-content-removed templates for structure. Together with retrieved cluster exemplars for style, these form the three conditioning channels.

Bullet summaries: We summarize each post with Qwen-2.5-7B-Instruct (Qwen Team, [46]) into bullet points that retain content while removing style signals, using a GEPA-optimized (Agrawal et al., [3]) prompt. We use this model for cost considerations, and a 7B model is sufficient for this task. The optimization uses Stack Exchange posts, maximizing semantic similarity, stylistic dissimilarity, reconstruction fidelity, and succinctness. Details are in Appendix § 11.

Academic-content-removed templates: We also use GPT-5-mini (permitted by our IRB) to convert each post into a template where academic content is replaced by bracketed slots, e.g., [concept or knowledge], while preserving connectives and rhetorical structure. We chose GPT-5-mini because templating requires reliable span-level identification of domain-specific content; in pilot comparisons, GPT-5-mini produced templates that matched expert annotations more closely than Qwen3-30B-A3B-Instruct-2507. The template was originally designed by education collaborators for clustering, but we find it suitable for SEAMS’ structural channel. We GEPA-optimize the templating prompt against expert annotations on proprietary student posts, maximizing the per-character agreement rate between model predictions and human reference (Appendix § 12).

Embedding Model Selection

Well-formed, meaningful style clustering requires an embedding model that distinguishes posts by writing style rather than topic. We compare StyleDistance (Patel et al., [44]), Wegmann et al. (2022), Coh-Metrix (Graesser et al., [16]), and all-Mini-LM-v6 (Reimers and Gurevych, [48]). StyleDistance is selected because it separates within-student and between-student post pairs the most in terms of embedding cosine similarities, yielding the highest t-test statistics (Appendix § 10).

Per-Seed Style Clustering

HDBSCAN (with UMAP reduction first) is selected for its ability to identify clusters of varying density without requiring a fixed cluster count. We sweep a combination of HDBSCAN settings, with minimum cluster size mcs∈{100,150,200}m_{cs} \in\{100, 150, 200\} and minimum samples ms∈{10,15,20,30}m_s \in\{10, 15, 20, 30\}. The best HDBSCAN setting for the dataset is selected and fixed across seeds based on the average validation cluster membership similarity. Intuitively, high cluster membership similarity indicates better similarity between the unseen posts and existing clusters, leading to higher-quality retrieval.

Cross-Seed Meta-Cluster Formation

Per-seed HDBSCAN clusters can be unstable across random seeds. To identify a shared meta-cluster mapping across seeds for easy comparison (and to enable comparison against other cluster-based approaches), we perform average-linkage agglomerative hierarchical clustering to connect clusters from the previous step to form meta-clusters. As all data points are discussion forum posts, they occupy a similar style embedding space, potentially flattening the cosine similarity between cluster centers and reducing modularity in the final meta-cluster hierarchy. Therefore, we remove dominant shared directions using All-but-the-Top (ABTT, Mu et al. [38]) on the embeddings. The final meta-cluster count aims to maximize cross-seed cluster representation, such that most meta-clusters aggregate clusters from multiple seeds rather than a single seed, enhancing generalizability.

Privacy-Motivated Generation

Once the clusters are finalized, the generation step consists of three components: student-disjoint partition, candidate generation, and noisy aggregation. We adopt the DP-ICL framework (Wu et al., [61]) as the structural basis for this step. DP-ICL obtains differentially private responses from a noisy consensus over LLM outputs conditioned on disjoint exemplar subsets: noisy voting over predicted labels for classification, and noisy aggregation in an embedding or keyword space for generation. SEAMS follows the generation setting and aggregates in embedding space. We extend it with cluster-restricted retrieval and student-disjoint partitioning to match our specific threat model. Unlike DP-ICL’s Embedding Space Aggregation (ESA), which returns a public zero-shot candidate ([61]), we select among the privately conditioned candidates themselves and retrieve exemplars by style similarity rather than random subsampling. We therefore do not claim any formal differential privacy guarantees; our framework is privacy-motivated, drawing structural principles from DP-ICL. We include ESA as a baseline. Algorithm 1 describes this procedure.

Student-disjoint Partitioning: Retrieved exemplars are divided into disjoint sets, and if a student authors multiple posts among the exemplars, they are all placed in the same partition. This is to ensure that any single student’s individual style influences appear in only one of the M\mathcal{M} candidates, as one candidate is produced per partition. We use cluster-restricted retrieval (retrieving within the same cluster only), which further pulls candidates toward the cluster’s typical register.

Candidate Generation: Given the partitions, one candidate rewrite is created by an LLM per partition; the content and structural channels are shared across candidates so that candidate differences stem from stylistic conditioning alone. The rewriter prompt is selected from alternatives proposed by the MIPROv2 prompt optimizer ([42]) under a simplified setting rather than refinement (selection details in Appendix § 13; the final prompt is given in Appendix § 24), as iterative refinement may steer all generations toward the typical structure of forum posts to maximize average metric value, leading to low-diversity generations.

Noisy Aggregation: Following DP-ICL, candidate embeddings from StyleDistance ([44]) are ℓ2\ell_2-clipped to bound the influence of any single candidate, averaged to find a consensus, and perturbed with Gaussian noise to reduce the determinism in the selection. The chosen rewrite candidate is the one whose clipped embedding lies closest to the mean. Together, these operations limit the per-candidate influence on the output.

Component ablations (Appendix § 20) show that selecting the candidate most similar to mean embeddings filters low-quality tail outputs, while cluster restriction and noisy aggregation preserve fidelity and serve structural roles.

Datasets

We validate SEAMS across three complementary, English-language datasets spanning different educational contexts and downstream classification tasks (Table 1).

Algorithm 1 Privacy-Motivated Generation

Require: Target post pp, meta-cluster CC, content bullets bb, structural template tt, retrieval size KK, partition count MM, noise multiplier σ\sigma, clipping bound τ\tau

Ensure: Synthetic post p^\hat{p}

  1. E←TopK⁡(p,C,K)\mathcal{E} \leftarrow\operatorname{TopK}(p,C,K) ▹K\triangleright K cluster members ranked by cosine similarity to pp

  2. {E1,…,EM}←DisjPartition⁡(E,M)\{\mathcal{E}_1,\ldots,\mathcal{E}_M\} \leftarrow\operatorname{DisjPartition}(\mathcal{E},M)

  3. for m=1m=1 to MM do Candidate Generation

  4. cm←LLM⁡(Assemble⁡(b,t,Em))c_m \leftarrow\operatorname{LLM}(\operatorname{Assemble}(b,t,\mathcal{E}_m))

  5. em←Embed⁡(cm)e_m \leftarrow\operatorname{Embed}(c_m)

  6. e^m←em⋅min⁡(1,τ∥em∥2)\hat{e}_m \leftarrow e_m \cdot\min\left(1,\frac{\tau}{\lVert e_m\rVert_2}\right) ▹\triangleright clip to τ\tau

  7. end for Noisy Aggregation

  8. aˉ←1M∑m=1Me^m+N(0,(στM)2I)\bar{a} \leftarrow\frac{1}{M}\sum_{m=1}^{M}\hat{e}_m+\mathcal{N}\left(0,\left(\frac{\sigma\tau}{M}\right)^2 I\right)

  9. m∗←arg⁡min⁡m∥e^m−aˉ∥2m^* \leftarrow\arg\min_m \lVert\hat{e}_m-\bar{a}\rVert_2

  10. return p^←cm∗\hat{p}\leftarrow c_{m^*}

Proprietary Discussion Forum Dataset

Through an existing institutional partnership with a large public university in the United States, we retrieve student discussion forum posts in their deployed learning management system, covering 15 academic terms from Fall 2019 through Winter 2024. The data access is approved by the Institutional Review Board.

The full corpus comprises over four million posts across nearly two thousand courses. Most of these are non-question posts, featuring instructor-issued task prompts with limited stylistic variation; therefore, we restrict our analysis to student-originated academic questions, rather than more logistics-focused queries and announcements, to better capture diverse writing styles.

To identify these questions at scale, we use a two-stage filtering pipeline. We first retain only posts containing a question mark. From these, we randomly sample about 25,000 posts and prompt GPT-4o-mini to classify each as academic or not, yielding 10,074 academic questions. The filtered data includes 7000+ unique students, more than 50 departments, and 700+ courses.

We generate the cognitive engagement level of forum posts based on Bloom’s taxonomy ([26]) using Qwen3-30B-A3B-Instruct-2507 ([65]), following guidance from learning science co-authors and motivated by prior evidence of its applicability to related tasks ([58, 6]). In a random sample of 100 LLM-generated silver labels, 88% match domain expert judgments. We formulate this as a multi-class classification task, assigning each post to one of six cognitive complexity levels. This tests whether synthesized posts preserve the cognitive and linguistic properties that distinguish higher-order thinking (e.g., analysis, evaluation) from lower-order thinking (e.g., memorization).

DatasetPostsTask
Proprietary10,074Cognitive Engagement
Stanford MOOC29,604Confusion
Stack Exchange10,000Subject

Table 1. Dataset statistics and downstream task types.

Stanford MOOCPosts

The Stanford MOOCPosts dataset ([2]) contains 29,604 discussion forum posts from Stanford’s online courses. We use pre-existing labels for confusion, treating them as linear regression labels with values ranging from 1 to 7.

Stack Exchange

We sample 10,000 posts evenly from Stack Exchange across 10 subject areas4. The downstream task is subject classification: predicting which of the 10 sites a question was posted to. Subject is carried mainly by content, complementing Bloom’s taxonomy level and expressed confusion.

Experiments

In our experiments, we set K=20K = 20 and M=5\mathcal{M} = 5 for SEAMS (aggregation settings in Appendix § 22). We use Qwen-2.5-72B-Instruct to run all generations, unless otherwise specified. We use this model for its strong instruction-following and generation quality at a size that is feasible to serve locally over corpora of our scale. Appendix § 23 reports hardware, wall-clock, and token costs.

Baselines

Naive Zero-shot Generation: We examine whether the content and the structural channels alone are sufficient to reconstruct discussion forum posts. We study two baselines: Zero-shot-Content (ZS-C), where the model is provided only the bullet summaries, and Zero-shot-Content-Structure (ZS-CS), where both the bullet summaries and the extracted templates are supplied.

List of Stack Exchange subject areas

Figure 1 (PDF p. 5).

Cluster-Summary-Centric (CS): Another natural way to utilize our cluster structures from SEAMS, but with enhanced privacy, is to condense clusters to their summaries. Summaries are generated by repeatedly sampling from the cluster and producing a series of summary candidates; the final summary is the one closest in the semantic embedding space to the averaged candidate embedding. This is similar to our aggregation mechanism. We then employ contrastive summaries to prevent all cluster summaries from becoming too similar, thereby preserving cluster-level signals (Appendix § 14).

The naive and summary-based baselines all leverage variants of the SEAMS prompt to ensure fair comparison. Instead of referring to the style context, these baseline prompts instruct the LLM to follow the tone and register typical of a student discussion forum post.

SEAMS with M=1\mathcal{M} = 1 (SEAMS-1): To isolate the effect of aggregating across multiple candidate generations. For fair comparison, we use the same KK; that is, each LM call for SEAMS has K/MK/\mathcal{M} posts, but each call for SEAMS-1 has KK posts. This corresponds to the standard retrieval-based in-context learning approach.

DP-Prompt: Following Utpala et al. [55]’s main experimental setup, we run DP-Prompt without logit clipping. Clipping was reported in their work to provide a modest privacy-utility tradeoff, but is not used in their headline comparisons; we similarly omit it to faithfully reproduce the published method as evaluated. We swept across different temperatures and chose t=1.0t = 1.0 because it achieved the best reconstruction quality.

Embedding Space Aggregation (ESA): Wu et al. [61] produces the differentially-private output from candidates generated without private demonstrations, choosing the one with the highest cosine similarity to the noisy aggregate embedding. For this baseline, we instantiate the candidates as ZS-CS examples, then select the output accordingly.

Cluster Validation

We inspect the 14 final meta-clusters on our proprietary dataset to judge their stylistic distinctiveness (Appendix § 15). We discover various stylistic registers, from formulaic questions to analytical essays, supporting the use of clusters as style signals.

Reconstruction Quality

To improve robustness, we repeat all experiments across five seeds. We sample 1,000 validation posts and 1,000 test posts, stratified by post-content categories (course department or discussion topic). We evaluate generation quality along two dimensions: semantic preservation and style fidelity. Semantic preservation is measured using sentence embedding similarity from all-mpnet-base-v2; style fidelity is measured using style embedding similarity under both StyleDistance and Wegmann et al. [59], which is used to ensure evaluation robustness by providing an embedding separate from the SEAMS mechanisms.

Results are reported in Figure 2, with full results in Table 7. Overall, we find that SEAMS preserves stylistic similarity to the original student data across domains. SEAMS-1 performs comparably to SEAMS on fidelity across all three datasets, and slightly better on Stanford MOOC, indicating that fidelity gains come from in-context exemplar conditioning, less from aggregating across partitions. For the naive approaches, ZS-CS often outperforms ZS-C, suggesting that our structural templates are useful for generation. ESA, which selects among ZS-CS candidates, still falls below SEAMS because it selects from stylistically weak exemplars, and selection cannot compensate for missing style. Finally, most reconstruction methods achieve reasonable semantic similarity, suggesting that content and structural channels are generally sufficient to preserve meaning. In contrast, achieving high style fidelity remains the primary bottleneck.

Figure 2. Reconstruction quality of our methods on three datasets, measured as semantic similarities and stylistic similarities in the embedding space of Wegmann et al. [59]. The best-performing approaches are marked with *.

DatasetMethodSem ↑Sty ↑Weg ↑R-1 ↑MATTRSelf-BLEU ↓
ProprietarySEAMS87.4 ± 0.492.3 ± 0.485.3 ± 1.264.8 ± 0.585.219.8
ProprietarySEAMS-187.1 ± 0.491.4 ± 0.583.3 ± 1.463.8 ± 0.584.719.5
ProprietaryESA87.0 ± 0.367.4 ± 0.217.7 ± 0.559.8 ± 0.385.323.0
ProprietaryCS85.4 ± 0.468.8 ± 1.625.7 ± 4.954.9 ± 1.286.027.7
ProprietaryDP-Prompt (t=1.0)91.8 ± 0.155.4 ± 0.1−7.3 ± 0.561.4 ± 0.286.715.6
ProprietaryZS-CS86.6 ± 0.462.7 ± 0.37.9 ± 0.658.3 ± 0.385.123.5
ProprietaryZS-C79.0 ± 0.255.2 ± 0.1−14.6 ± 0.236.2 ± 0.286.437.7
Stanford MOOCSEAMS84.6 ± 0.782.3 ± 1.144.9 ± 3.168.7 ± 1.287.615.8
Stanford MOOCSEAMS-185.2 ± 0.283.7 ± 0.449.5 ± 1.169.7 ± 0.487.517.0
Stanford MOOCESA84.2 ± 0.281.4 ± 0.541.3 ± 1.766.9 ± 0.587.720.0
Stanford MOOCCS77.1 ± 1.676.0 ± 0.925.3 ± 2.551.2 ± 3.688.130.8
Stanford MOOCDP-Prompt (t=1.0)85.0 ± 0.377.5 ± 0.331.1 ± 1.056.6 ± 0.489.313.4
Stanford MOOCZS-CS83.3 ± 0.280.1 ± 0.538.1 ± 1.564.6 ± 0.587.520.5
Stanford MOOCZS-C66.2 ± 0.474.4 ± 0.315.6 ± 0.628.7 ± 0.287.238.6
Stack ExchangeSEAMS85.7 ± 0.392.0 ± 0.371.7 ± 0.663.4 ± 0.781.117.3
Stack ExchangeSEAMS-186.0 ± 0.491.5 ± 0.271.6 ± 0.763.7 ± 0.381.516.5
Stack ExchangeESA85.7 ± 0.190.7 ± 0.168.2 ± 0.462.1 ± 0.281.519.1
Stack ExchangeCS84.4 ± 0.688.9 ± 1.064.5 ± 1.554.0 ± 4.981.826.0
Stack ExchangeDP-Prompt (t=1.0)90.3 ± 0.088.0 ± 0.259.5 ± 0.760.8 ± 0.282.018.1
Stack ExchangeZS-CS85.5 ± 0.290.2 ± 0.167.2 ± 0.461.4 ± 0.281.519.0
Stack ExchangeZS-C77.2 ± 0.382.6 ± 0.342.2 ± 1.035.7 ± 0.283.537.0

Table 7. Generation quality across all three datasets. All values multiplied by 100; best per dataset-column in bold for Sem/Sty/Weg/R-1. Sem and Sty are cosine similarities to the original post in all-mpnet-base-v2 and StyleDistance/styledistance; Weg is style similarity under Wegmann et al. [59], an embedder not used for retrieval. R-1 is ROUGE-1 F1 (stemmed). MATTR (window 50) and Self-BLEU measure lexical and generation diversity.

Downstream Performance

As another measure of utility, we compare downstream evaluation metrics when models are trained on original vs. reconstructed data. We compute the difference between these metrics as a proxy for utility preservation. Since we formulate the Stanford MOOCPost downstream task as a regression problem, we use R2R^2 as the evaluation metric; for the other two tasks, we use macro-F1.

We fine-tune distilbert-base-uncased on the validation split, using either the original posts or their rewrites constructed in the previous experiments, and evaluate on the original test posts. Hyperparameters are fixed for all methods5.

Table 2 reports the difference in downstream metric values across datasets and reconstruction approaches. Classifiers trained on SEAMS rewrites lose at most 1.8 points relative to training on original posts, and SEAMS retains the most task signal on Stanford MOOC. Confusion (Stanford MOOC), which is expressed largely through affect and register, most clearly separates the methods, whereas subject (Stack Exchange) is carried by content: every method except ZS-C stays within 0.3 points of training on original posts. On Bloom’s level, which depends more on content, DP-Prompt retains slightly more signal than SEAMS as a better semantic-preserving method. SEAMS also preserves the within-cluster vs. between-cluster style separation observed in the original data, indicating that population-level stylistic structure survives the rewrite (Appendix § 17).

MethodProprietaryStanfordStack Exch.
SEAMS−1.8±0.5-1.8 \pm0.5−0.3±2.0-0.3 \pm2.0−0.1±0.6-0.1 \pm0.6
SEAMS-1−2.5±3.4-2.5 \pm3.4−1.0±1.9-1.0 \pm1.9+0.0±1.0+0.0 \pm1.0
ESA−3.5±1.1-3.5 \pm1.1−2.1±4.3-2.1 \pm4.3+0.3±0.9+0.3 \pm0.9
CS−4.8±1.0-4.8 \pm1.0−9.3±3.0-9.3 \pm3.0+0.2±1.2+0.2 \pm1.2
DP-Prompt−0.4±1.0-0.4 \pm1.0−1.1±1.2-1.1 \pm1.2+0.1±0.6+0.1 \pm0.6
ZS-CS−3.1±0.8-3.1 \pm0.8−3.0±2.4-3.0 \pm2.4+0.0±0.8+0.0 \pm0.8
ZS-C−5.6±2.1-5.6 \pm2.1−10.1±4.1-10.1 \pm4.1−1.9±2.1-1.9 \pm2.1

Table 2. Downstream utility of fine-tuned DistilBERT classifiers. Δ\Delta = score when training on rewrites − score when training on the same original posts. Closer to zero is better, and the best methods are bolded.

Human Evaluation

We strengthen our results with a style-similarity judgment study on Prolific. Each one of 180 sampled items shows an original post from the proprietary dataset, paired with two randomly-ordered rewrites of that same post, one from SEAMS and one from a baseline (ZS-CS, CS, or DP-Prompt). Annotators choose which rewrite “sounds more like it was written by the same person who wrote the original,” focusing on wording and style rather than content, or judge them equally similar (Appendix § 25). Participants were current college or graduate students compensated at $15 per hour; each rated 30 items plus three attention checks, and failing a check excluded them. Of 32 participants who started, 24 completed the study, yielding 3-5 ratings per item.

Annotators judged SEAMS rewrites closer to the original author’s style than every baseline (Table 3). Because ZS-CS and CS outputs often contain boilerplates (e.g., “[Your Name]”) that could cue annotators, we also report items where neither rewrite contains such boilerplates and find that SEAMS’s advantage persists. Raters show fair agreement (Gwet’s AC1 = 0.303; [18]), which we report as the primary statistic because SEAMS is preferred at a similar rate on nearly every item, a high-prevalence setting in which Krippendorff’s α\alpha understates agreement (α=0.103±0.075\alpha= 0.103 \pm0.075); such levels are typical for subjective judgments of generated text ([12, 22, 4]). In an exploratory analysis, pairwise agreement increases with the style gap between the two rewrites (Spearman ρ=0.17\rho= 0.17, p<0.05p < 0.05, using [59] embeddings), suggesting disagreement concentrates on items where the rewrites are stylistically close.

SEAMS vs.Win rateNo boilerplate
ZS-CS71.3±6.271.3 \pm6.265.7±8.265.7 \pm8.2
CS66.5±6.666.5 \pm6.661.7±7.661.7 \pm7.6
DP-Prompt67.1±5.767.1 \pm5.767.7±5.667.7 \pm5.6

Table 3. Percentage of human judgments in which the SEAMS rewrite was rated closer to the original style than the baseline rewrite, with item-bootstrap CI.

Authorship Attacks

Prior work on authorship obfuscation ([7, 45]) often targets stylometric attackers,6 while we evaluate both stylometric and embedding-based ones. We evaluate on all three datasets; because Stack Exchange authors are public users, results there measure how much individual style survives rewriting rather than re-identification risk. Our central claim is that style-cluster conditioning pulls reconstructions toward the cluster mean, thereby reducing the individual authorship signal. An attacker holding other posts by every student in the training data tries to identify the author of a released rewrite, ranking all students; Appendix § 18 additionally restricts candidates to the author’s style cluster.

We use three attackers. Two are retrieval-based and rank candidates by the maximum cosine similarity between the input and a candidate’s posts: Wegmann et al. [59] (Weg-ret) embeddings and LUAR ([51]), an authorship representation trained to identify authors across documents. The third is stylometric (Stylo-clf, [8]), a logistic regression classifier using the feature difference between the rewrite and a candidate post to predict same- vs. different-author. We report the MRR ratio: the true author’s mean reciprocal rank divided by its chance level over the same posts. A ratio of 1.0 indicates random attribution; higher values indicate more exploitable authorship signal.

SEAMS reduces MRR ratios relative to real posts for all three attackers on all three datasets (LUAR in Figure 4a; others in Appendix § 18). The reduction is largest for the strongest attacker, LUAR (paired tt-test over seeds, p<0.001p<0.001 on each), evidence that SEAMS empirically reduces attribution risk relative to the original data. SEAMS is also below SEAMS-1 on six of nine attacker-dataset pairs, suggesting that the partition-then-aggregate approach contributes modestly to author protection. Consistent with the well-known privacy-utility tradeoff, ZS-CS, ESA, and DP-Prompt achieve stronger MRR ratio reduction on the proprietary dataset, but sacrifice style fidelity (Figure 4b, Table 7). On Stanford MOOC and Stack Exchange, where style fidelity is similar across methods, all rewriting methods except DP-Prompt each similar attribution risk. We see that SEAMS balances privacy and utility by providing meaningful risk reduction across attack modes while maintaining downstream utility.

LUAR attribution risk on three datasets and fidelity versus LUAR risk

Figure 4. (a) LUAR attribution risk on three datasets. (b) Fidelity vs. LUAR risk (Proprietary). Figure 4: (a) Attribution risk under LUAR when the attacker ranks all students: MRR ratio (MRR / chance-level MRR; 1.0 = random attribution, lower is better), mean ± std over 5 seeds. Results for all attackers, including a within-cluster analysis, are in Appendix § 18. (b) Style fidelity vs. LUAR attribution risk on the proprietary dataset.

Discussion and Conclusion

Style as the Bottleneck Across our experiments, reconstruction methods reliably preserve content but struggle to maintain an authentic student register. Even with high-level stylistic instructions, their rewrites often show limited linguistic diversity. The example generations (Figure 3) suggest that Qwen2.5-72B has a weak prior understanding of student discussion style. The stronger style preservation of exemplar-conditioned methods across datasets indicates that for style-driven generation in non-mainstream registers, in-context exemplars convey information that instructions alone do not. This motivates using exemplar-based approaches to synthesize data from non-mainstream domains. Refreshing the exemplar pool with SEAMS rewrites may further reduce attribution risk without a significant decline in fidelity, but we leave its systematic study to future work.

Example generations from DP-Prompt, Cluster-Summary-Centric, and SEAMS

Figure 3. Example generations from DP-Prompt, Cluster-Summary-Centric, and SEAMS given the same input. Note that DP-Prompt capitalizes and formalizes the post, CS creates an email-like structure, while SEAMS achieves a register similar to typical student discussion posts.

Balancing Empirical Privacy and Utility Prior differentially private text generation methods often incur significant utility costs, as illustrated by DP-Prompt’s low stylistic similarity to the original data. SEAMS balances privacy and utility differently: it forgoes formal guarantees but achieves a moderate empirical reduction in within-cluster authorship attribution risk while maintaining reconstruction fidelity sufficient for downstream training.

Conclusion In summary, we present SEAMS, a multi-channel, cluster-centric framework for high-fidelity, privacy-motivated reconstruction of student text. By isolating content, structure, and style into conditioning channels and aggregating across student-disjoint partitions within stylistic clusters, SEAMS preserves high style fidelity and downstream utility on educationally meaningful tasks while empirically reducing authorship attribution risk, a combination not achieved by prior methods we evaluated.

Limitation

One limitation of our work is that we do not offer formal differential privacy guarantees. Our privacy claim is strictly empirical and is demonstrated through its ability to mitigate author attribution risk in § 5.6. Practitioners facing requirements of formal ϵ\epsilon guarantees should choose the appropriate DP methods.

We report ablations of cluster-restricted retrieval, noisy aggregation, and candidate selection in Appendix § 20; their attack differences fall within seed variance, so the privacy contribution of individual components remains uncertain. Our SEAMS vs. SEAMS-1 comparison suggests partitioning contributes modestly to attack resistance.

SEAMS is not the most privacy-preserving method, as seen in the Authorship Attack section. While the tradeoff between privacy and utility is well-established, there is still room for improvement, potentially through performing generation with in-context examples generated through SEAMS to further reduce attribution risk, or using more computationally expensive approaches that offer more formal DP guarantees.

Inter-rater agreement in our human evaluation is low (ordinal Krippendorff’s α=0.103\alpha= 0.103; Gwet’s AC1 =0.303= 0.303), reflecting the subjectivity of style judgments. We were able to attribute the low agreement potentially to participants disagreeing on stylistically similar rewrites of the same original posts, as there are irreducible variabilities in human language.

Finally, we only evaluate on one generator model, as our work aims to compare different methods using the same underlying model. However, it is possible that changing the model would alter the effectiveness of each of the methods studied. We leave testing the effect of varying the generator model to future work.

Ethical Considerations

Our proprietary dataset is collected and analyzed in accordance with the existing IRB protocol. The data has not been anonymized at the source. All third-party models and datasets are used in accordance with their respective licenses.

For institutions planning to use SEAMS to rewrite their data for release, we note that SEAMS does not inherently support redacting personally identifiable information. Therefore, any rewritten data should undergo PII redaction or abstraction prior to release.

AI Assistant Usage

In this project, in addition to using LLMs for experimentation purposes, we used AI assistants and agents to help write code and revise sections of the paper.

Embedding Model Selection

Overview

We compare four embedding models on their ability to separate same-student from different-student post pairs, specifically StyleDistance [44], Wegmann et al. (2022), Coh-Metrix [16], and all-MiniLM-L6-v2 [48]. Discriminability is measured via the tt-test of within- versus between-student pairwise cosine similarities, computed on 319 proprietary student forum posts drawn from 30 distinct students (10–17 posts per student). StyleDistance with PCA reduction to d=128d=128 achieves the largest separation and is adopted for the per-seed style clustering.

Embeddings Compared

  • Coh-Metrix [16]: 108 hand-crafted indices of text cohesion, syntactic complexity, and lexical sophistication. We drop 4 zero-variance indices and z-score-normalize the remaining 104 features.

  • StyleDistance [44]: a 768-dimensional neural style embedding trained with synthetic parallel examples for content-independent style representation.

  • AnnaWegmann Style-Embedding [59]: a 768-dimensional neural style embedding trained with a contrastive same-author objective.

  • all-MiniLM-L6-v2 [48]: a 384-dimensional general-purpose semantic sentence embedding, included as a content-driven baseline.

For each neural embedding we additionally evaluate PCA-reduced variants with d∈{32,64,128,256}d \in\{32, 64, 128, 256\}. For Coh-Metrix we evaluate d∈{32,64}d \in\{32, 64\}.

Evaluation Protocol

For each embedding we compute pairwise cosine similarities between all 319 posts and partition the pairs into two distributions according to whether the two posts share the same author. The 30-student sample yields 1,567 within-student pairs and 49,154 between-student pairs. A discriminative style embedding produces a clear gap, with within-student similarities markedly higher than between-student similarities. We quantify the separation with an independent tt-test.

Results

Table 4 reports the best PCA configuration per embedding. StyleDistance with d=128d=128 achieves the largest tt-statistic, outperforming the other neural style embedding AnnaWegmann, the semantic baseline all-MiniLM, and the hand-crafted Coh-Metrix features.

MethodBest dimtt-statwithin / between
Coh-MetrixOG (104)25.520.146 / -0.005
StyleDistanced=128d=12834.710.250 / -0.007
AnnaWegmannd=128d=12826.010.243 / -0.002
all-MiniLM-L6-v2d=256d=25630.330.107 / -0.006

Table 4. Embedding model comparison on 319 posts from 30 students. “Best dim” is the configuration giving the largest tt-statistic per method. For Coh-Metrix this is the original dimensionality. For the neural embeddings it is the best d∈{32,64,128,256}d \in\{32, 64, 128, 256\} PCA variant.

PCA consistently helps the neural embeddings: reducing StyleDistance from 768 to 128 dimensions raises its tt-statistic from 20.70 to 34.71, and AnnaWegmann shows a similar jump (10.56 to 26.01). The raw outputs contain noisy dimensions that dilute the discriminative signal. Coh-Metrix, already low-dimensional, shows little change under PCA.

The relatively strong performance of all-MiniLM-L6-v2 likely reflects a content confound rather than true author differentiation. Students in our dataset tend to post within the same course, so within-student pairs are often within-course pairs, and topical similarity inflates within-student scores. StyleDistance is explicitly trained for content-independent style representation, and the fact that it still outperforms the semantic baseline suggests its advantage reflects a genuine stylistic signal rather than residual topical similarity.

Bullet Summarizer Details

Overview

Each student forum post is summarized into bullet points using Qwen-2.5-7B-Instruct (Qwen Team,

  1. served locally via vLLM. The prompt is optimized with GEPA (Agrawal et al., [3]). The final artifact is the optimized prompt paired with fixed model weights; no student data touches the optimizer.

Optimization Objective

GEPA maximizes a scalar score computed over each (post, bullets) pair:

S=wsem sim+wrecon ROUGE-1recon−wstyle style_sim−wlen ℓpen.(1)S = w_{\mathrm{sem}}\,\mathrm{sim} + w_{\mathrm{recon}}\,\mathrm{ROUGE\text{-}1_{\mathrm{recon}}} - w_{\mathrm{style}}\,\mathrm{style\_sim} - w_{\mathrm{len}}\,\ell_{\mathrm{pen}}. \tag*{(1)}

where each term is defined as follows.

Semantic preservation (sim). Cosine similarity between the all-mpnet-base-v2 embeddings of the post and its bullets. Rewards retaining the informational content of the post.

Stylistic dissimilarity (style_sim). Cosine similarity between the StyleDistance embeddings of the post and its bullets. This term is subtracted: lower style similarity means the bullets do not carry the author’s writing style, which is the desired outcome. If bullets encode style, the cluster-ID conditioning applied downstream becomes redundant at inference time.

Reconstruction fidelity (ROUGE-1recon_{\mathrm{recon}}). ROUGE-1 F1 between the original post and a round-trip reconstruction of it from the bullets alone. A separate Predict module (same task LM) is prompted to reconstruct the original post from the bullets; poor reconstruction indicates the bullets omit key specifics.

Length penalty (ℓpen\ell_{\mathrm{pen}}).

ℓpen=min⁡(1,max⁡(0,∣bullets∣char∣post∣char−τ)),\ell_{\mathrm{pen}} = \min\left(1,\max\left(0,\frac{|\mathrm{bullets}|_{\mathrm{char}}}{|\mathrm{post}|_{\mathrm{char}}}-\tau\right)\right),
τ=0.30.(2)\tau= 0.30. \tag*{(2)}

Zero when bullets are at most 30% of the post length by character count; grows linearly beyond that threshold and is capped at 1.

Weights. The default weights are wsem=1.0w_{\mathrm{sem}} = 1.0, wrecon=0.5w_{\mathrm{recon}} = 0.5, wstyle=0.6w_{\mathrm{style}} = 0.6, wlen=0.4w_{\mathrm{len}} = 0.4. When GEPA’s reflection pass is active, the metric also returns natural-language feedback to the reflection LM (GPT-5) to guide prompt revision.

Training Data

GEPA is run on Stack Exchange posts (200 training, 150 validation examples), drawn from a filtered CSV requiring ≥100\ge100 characters per post. Student data is never used during optimization.

In-Context Demonstrations

Eight manually constructed (post, bullets) demonstrations are provided at inference time to cover distinct failure modes identified in early spot-checks.

Academic-Content-Removed Template Details

Overview

Each student post is converted into a template in which domain-specific academic content is replaced by one of four bracketed markers, leaving all non-domain text (connectives, hedging, filler, opinion markers, punctuation) intact. The templating prompt is optimized with GEPA (Agrawal et al., [3]) against expert human annotations on 50 proprietary student posts, maximizing character-level agreement with the human reference masks. The task LM is GPT-5-mini; the reflection LM is GPT-5.

Marker Vocabulary

Four markers cover the domain-content categories identified by our education collaborators:

MarkerSemantics
###Named concept, theory, formula, or domain term the student is asking about
***The question body directly related to the target concept (what is explicitly being asked)
%%%The student’s explanation of their own understanding of the concept
^^^Context or condition of the question (a specific scenario, given information, or described situation)

Table 1 (PDF p. 14).

Two rules govern the output: (1) each masked span must start and end exactly at the boundaries of the domain-specific content; (2) if two consecutive sentences belong to the same marker type, they are separated by a period rather than concatenated (e.g. %%%.%%% not %%%%%%).

During SEAMS, we then perform the replacement of markers into free texts so that SEAMS has better context.

Optimization Objective

Character-level accuracy. Given an original post pp, a model-produced template r^\hat{r}, and a human-annotated reference template r∗r^{*}, the score is the fraction of character positions on which the model and human agree about whether that character is masked:

char_acc⁡(p,r^,r∗)=1∣p∣∑i=1∣p∣1[masked⁡r^(i)=masked⁡r∗(i)].(3)\operatorname{char\_acc}(p,\hat{r},r^{*}) = \frac{1}{|p|}\sum_{i=1}^{|p|} \mathbf{1}[\operatorname{masked}_{\hat{r}}(i) = \operatorname{masked}_{r^{*}}(i)] . \tag*{(3)}

where masked⁡r(i)=1[character i of p is replaced by a marker in r]\operatorname{masked}_{r}(i) = \mathbf{1}[\text{character }i\text{ of }p\text{ is replaced by a marker in }r], determined by splitting rr on the marker regex [\*#^%]+ and locating the surviving literal substrings in pp. The metric also returns natural-language feedback to guide GEPA’s reflection pass.

Training Data

Optimization uses 50 expert-annotated student posts (40 train / 50 validation, all available examples used as the validation set). The annotations were produced by education collaborators and cover posts from multiple course departments. Because this data is proprietary, the released artifact is the optimized prompt only; no student post text is embedded in the model weights.

In-Context Demonstrations

Six manually constructed (post, template) demonstrations are provided at inference time, selected to cover recurring structural patterns.

MIPROv2 Prompt Proposal for the Rewriter

Instruction Candidate Proposal

We use MIPROv2 (Opsahl-Ong et al. [42]) in proposal-only mode: we call _propose_instructions to generate C=10C = 10 candidate instruction strings without any few-shot bootstrapping (max_bootstrapped_demos = 0, max_labeled_demos = 0).

Candidate Evaluation

Each candidate instruction is evaluated on a sample of n=100n = 100 held-out posts drawn from the validation split. For each post the rewriter is called with the top-KK (K=20K = 20) most style-similar training posts as exemplars, retrieved by cosine similarity under StyleDistance (Patel et al. [44]) embeddings. The per-example score used to rank candidates is:

s=13style_sim⁡+13sem_sim⁡+13ROUGE-1⁡F1(4)s = \frac{1}{3}\operatorname{style\_sim} + \frac{1}{3}\operatorname{sem\_sim} + \frac{1}{3}\operatorname{ROUGE\text{-}1}_{F_1} \tag*{(4)}

where style_sim is cosine similarity between StyleDistance embeddings of the generated and original post, sem_sim is cosine similarity between all-mpnet-base-v2 embeddings, and ROUGE-1F1_{F_1} is unigram overlap with the original post.

Candidates are ranked by mean sem_sim across the evaluation sample; the top-ranked instruction is adopted as the fixed rewriter prompt for all downstream runs.

Cluster Summary Generation

Each cluster is summarized via a two-stage process: contrastive prompt construction followed by ensemble candidate selection.

Focal and contrast post selection. For a given meta-cluster cc, we first compute its meta-centroid eˉc\bar{\mathbf{e}}_c as the ℓ2\ell_2-normalized mean of the ℓ2\ell_2-normalized cluster-center embeddings of all constituent seed clusters. We then collect the union of all post texts belonging to those seed clusters (deduplicating across seeds) and select the Kfocal=15K_{\mathrm{focal}} = 15 posts whose embeddings lie closest to eˉc\bar{\mathbf{e}}_c in cosine similarity as the focal set. To form the contrast set, we randomly sample Kcontrast=5K_{\mathrm{contrast}} = 5 posts from the union of all other meta-clusters, excluding posts that appear in cc.

Axis-specific contrastive prompt. The LLM receives the focal and contrast posts and is instructed to produce a two-sentence summary. The first sentence describes what the focal posts share with student discussion posts in general (i.e., the baseline register or content). The second sentence articulates what specifically distinguishes the focal cluster from the contrast examples. This contrastive framing is critical for preventing all cluster summaries from collapsing to generic descriptions of student posts.

Ensemble candidate selection. We generate N=10N = 10 candidate summaries by querying the LLM. Each candidate is embedded with a text embedding model (text-embedding-3-small), and the embeddings are ℓ2\ell_2-normalized. The final summary is the candidate whose normalized embedding has the highest cosine similarity to the mean of all candidate embeddings:

s∗=arg⁡max⁡si e^iTeˉ,eˉ=1N∑j=1Ne^js^* = \underset{s_i}{\arg\max}\ \hat{\mathbf{e}}_i^{\mathsf{T}}\bar{\mathbf{e}}, \qquad\bar{\mathbf{e}} = \frac{1}{N}\sum_{j=1}^{N}\hat{\mathbf{e}}_j

where e^i\hat{\mathbf{e}}_i is the normalized embedding of candidate sis_i. This is the same centroid-proximity aggregation used in the privacy-motivated generation step, and it favors summaries that are semantically representative of the consensus across candidates while filtering out outlier generations.

Cluster Inspection

Table 6 presents the concise summaries of the 14 identified clusters, highlighting the most distinguishing features of each cluster. To further examine their conceptual validity, we reviewed the cluster content in relation to educational theories on student question-asking and academic help-seeking. Overall, the clusters align with prior research in learning science that students’ questions could serve different functions, including clarifying confusion, checking understanding, asking for evidence, extending or elaborating ideas, or promoting peer discussion [17, 21, 25].

Specifically, the identified clusters reflect several theoretically meaningful patterns. Several capture clarification-oriented help-seeking, in which students pose short, task-focused questions to resolve confusion. For example, students ask questions (rewrite version) such as “Hi class, I got so confused with the last question on the weekly quiz. How does 1.98 come out in this question?” Another set of clusters captures peer-oriented interaction, where students combine acknowledgment, feedback, and follow-up questions to sustain discussion with classmates. Representative example like “Hi xx, I like and definitely agree with your post. Here are some further questions to consider: How much do you think the public has become significantly better at openly stopping hate in person, so as to motivate them to mask spreading hate behind social media? ...” In addition, a set of clusters reflects more elaborate, reflective, and synthesis-oriented questions. Those questions often summarize students’ personal understanding and then connect it to broader topical discussion. For example, “In reading ..., I learned that there are some ethical theories holding that there exist universal ethical rules. In my understanding, when they say these rules are universal, they mean "they are universal for every human being in every possible occasion". However, isn’t it a meaningless claim?" Such questions move beyond clarification and invite interpretation, evaluation, and synthesis, aligning with the constructive engagement emphasized in the ICAP framework [9].

Overall, this inspection indicates that these clusters capture theoretically meaningful variations in students’ question asking in discussion forums.

Generation Quality: Full Table

We present the full table in Table 7. Lexical overlap is measured using ROUGE-1 [31]. We additionally report diversity metrics, including MATTR [13] and Self-BLEU [71].

Relational Structure Preservation

Beyond per-post fidelity, we ask whether SEAMS preserves population-level stylistic structure, measured by the within-vs-between cluster style gap: Δsep=cos‾within−cos‾between\Delta_{\mathrm{sep}} = \overline{\mathrm{cos}}_{\mathrm{within}} - \overline{\mathrm{cos}}_{\mathrm{between}}, the difference between mean pair-wise cosine similarity of within-cluster and between-cluster posts. Values close to the original indicate that population-level style survives the rewrite. We compute Δsep\Delta_{\mathrm{sep}} in two embedding spaces to rule out artifacts of the space SEAMS uses for aggregation (Table 8).

SEAMS reproduces the original Δsep\Delta_{\mathrm{sep}} in both spaces; SEAMS-1 behaves comparably, suggesting partitioning is not the source of structural preservation. CS substantially inflates Δsep\Delta_{\mathrm{sep}}, likely due to within-cluster homogenization from rewriting all members against a single cluster summary. This is a failure mode SEAMS avoids by conditioning on individual exemplars.

Authorship Attack: Full Table

We report two attack settings. In the global setting used in § 5.6, the attacker ranks every student with training posts, without knowing the true author’s style cluster (Table 9). In the within-cluster setting, candidates are restricted to the students in the true author’s home cluster, the meta-cluster containing most of their training posts (Table 10). This removes easy negatives from other clusters and isolates the individual style that remains once cluster-level style is preserved; it also adds two further attackers: a Wegmann classifier (Weg-clf; logistic regression on the difference of Wegmann et al. [59] embeddings) and a semantic retriever (MPNet-ret; all-mpnet-base-v2). MPNet-ret links posts through shared course content rather than style; since every faithful rewrite preserves content, no method reduces it substantially. In the within-cluster setting, SEAMS is below SEAMS-1 on seven of nine attacker–dataset pairs for the three main attackers.

MethodWeg-retStylo-clfLUAR
Proprietary (6,231 candidates)
Real (unmodified)10.18 ± 3.286.21 ± 0.6170.28 ± 4.09
SEAMS7.88 ± 2.765.86 ± 0.7935.47 ± 4.12
SEAMS-16.31 ± 2.386.48 ± 1.0834.53 ± 5.21
ESA5.26 ± 1.134.31 ± 0.5027.33 ± 5.25
ZS-CS4.04 ± 1.734.10 ± 0.8722.15 ± 5.93
DP-Prompt2.62 ± 0.834.11 ± 1.0821.22 ± 4.54
Stanford MOOC (10,626 candidates)
Real (unmodified)88.05 ± 5.5115.28 ± 3.72200.06 ± 11.53
SEAMS35.65 ± 4.0911.39 ± 4.1987.55 ± 9.25
SEAMS-136.22 ± 2.3711.82 ± 3.9194.78 ± 7.17
ESA32.61 ± 3.2111.14 ± 4.4783.76 ± 5.95
ZS-CS30.67 ± 1.6211.73 ± 4.7380.50 ± 7.74
DP-Prompt27.60 ± 3.4510.46 ± 3.0953.61 ± 7.31
Stack Exchange (5,702 candidates)
Real (unmodified)22.90 ± 4.9331.39 ± 8.92123.52 ± 7.79
SEAMS9.50 ± 1.8912.36 ± 3.5355.35 ± 5.49
SEAMS-110.41 ± 2.2210.06 ± 4.5757.81 ± 6.39
ESA8.18 ± 1.8111.87 ± 4.4051.85 ± 5.87
ZS-CS8.27 ± 0.8112.11 ± 3.3550.77 ± 3.46
DP-Prompt4.26 ± 0.699.61 ± 3.3030.04 ± 1.00

Table 9. Global authorship attack: the attacker ranks all students with training posts (MRR ratio, mean ± std over 5 seeds; 1.0 = random chance, higher = easier to attribute). This is the setting reported in § 5.6.

ClusterSummarization
1Dialogic peer responses that combine salutations, personalized feedback, reflective interpretation, and multiple probing follow-up questions. These posts often link course texts to broader implications.
2Strongly interpersonal peer replies that begin with greetings and praise, directly address classmates, and ask several conversational questions for clarification, reflection, or opinion.
3Elaborative peer-feedback posts that combine praise, constructive critique, personal reflection, and open-ended questions. They foreground relational engagement and continued dialogue.
4Relational and affective replies that acknowledge peers, connect to readings or personal experiences, and close with targeted reflective questions.
5Highly dialogic and informal exchanges that combine empathy, tentative suggestions, personal reactions, and exploratory clarification questions directed to peers or instructors.
6Mini-essay style posts that summarize and analyze readings or films, often using quotations, citations, and comparative or theoretical arguments to provoke discussion.
7Synthesis-oriented posts that interweave textual summary, interpretation, evaluative stance, and structured prompts for group work or class discussion.
8Concise, task-focused entries formatted as two numbered standalone content questions, with minimal greeting, first-person framing, or contextual elaboration.
9Formulaic peer-feedback replies that begin with a greeting and positive acknowledgment, followed by exactly two numbered follow-up questions.
10Structured responses to assigned prompts, often using labels or numbered answers, multi-paragraph synthesis, course readings, citations, and reflective questions.
11Terse, decontextualized technical or concept-clarification questions, often using domain-specific terms, acronyms, and stacked sub-questions with little interpersonal framing.
12Brief, polite help-seeking messages with greetings, explicit confusion or help-seeking phrases, and a single focused clarifying question.
13Casual, peer-directed dialogic posts with named addressees, brief references to readings or lectures, and dense strings of quick follow-up questions.
14Formulaic troubleshooting requests that open with greetings and gratitude or confusion markers, then ask narrowly scoped procedural or assignment-related questions.

Table 6. Cluster Summary: Key Distinguishing Features

Ablation: Meta-Clustering Necessity

SEAMS uses meta-clusters formed by cross-seed agglomerative clustering rather than per-seed HDB-SCAN clusters directly. We ablate this choice by comparing two variants of each method: Xseed_{\text{seed}} variants retrieve same-cluster exemplars (SEAMS) or generate summaries (CS) using only the per-seed clusters from the current seed, while the other versions use the cross-seed meta-clusters.

Table 5 reports the results. For SEAMS, per-seed and meta-cluster variants are statistically indistinguishable on all three metrics, indicating that the meta-clustering step is not critical for high-fidelity exemplar-based generation. For CS, however, meta-clustering substantially improves style fidelity (0.688 vs. 0.608), at a small cost to semantic similarity and ROUGE-1.

MethodSemanticStyleROUGE-1
SEAMSseed_{seed}0.874 ± .0040.923 ± .0060.648 ± .006
SEAMS0.874 ± .0040.923 ± .0040.648 ± .005
CSseed_{seed}0.864 ± .0040.608 ± .0050.577 ± .010
CS0.854 ± .0040.688 ± .0160.549 ± .012

Table 5. Ablation of per-seed vs. meta-aggregation (n=1000n=1000, averaged over 5 seeds). Values are mean ± std over seeds.

This asymmetry is consistent with the failure mode of the CS pipeline. Per-seed clusters are smaller and more variable across seeds, so per-seed cluster summaries are noisier and less stylistically distinctive. Cross-seed aggregation stabilizes the cluster definitions, producing summaries that more consistently characterize the cluster’s register. SEAMS does not depend on summary stability because it conditions on individual exemplars within the cluster.

MethodWithin ↑Δsep\Delta_{\mathrm{sep}}
StyleDistance
Original posts90.8 ± 0.46.5 ± 0.3
SEAMS79.1 ± 1.58.3 ± 0.6
SEAMS-176.5 ± 1.48.5 ± 0.9
CS63.0 ± 4.833.9 ± 5.4
Wegmann
Original posts93.7 ± 0.25.5 ± 0.2
SEAMS88.1 ± 0.55.0 ± 0.4
SEAMS-186.6 ± 0.54.9 ± 0.5
CS86.5 ± 1.313.2 ± 2.1

Table 8. Within-cluster embedding similarities and the difference between within- and between-cluster similarities, computed in both StyleDistance and AnnaWegmann style embedding space, across methods.

We therefore retain meta-clustering in the main pipeline: although it is not necessary for SEAMS itself, it is necessary for fair comparison against the CS baseline, which depends on stable cluster-level summaries.

Ablation: Selection Mechanism

To support our design choices, we evaluate three SEAMS variants on our proprietary student dataset, each across five seeds. Unconstrained retrieval removes cluster restriction, retrieving over the entire corpus excluding posts by the target author. Deterministic selection removes clipping and noise, selecting the candidate closest to the raw mean embedding. Random selection chooses the final

MethodWeg-retStylo-clfLUARWeg-clfMPNet-ret
PROPRIETARY
Real (unmodified)2.30±0.272.30 \pm0.272.69±0.392.69 \pm0.398.80±0.748.80 \pm0.741.76±0.191.76 \pm0.196.53±0.646.53 \pm0.64
SEAMS1.89±0.311.89 \pm0.312.38±0.312.38 \pm0.315.56±0.735.56 \pm0.731.35±0.201.35 \pm0.205.86±0.725.86 \pm0.72
SEAMS-12.13±0.282.13 \pm0.282.37±0.282.37 \pm0.285.61±0.835.61 \pm0.831.49±0.321.49 \pm0.326.18±0.726.18 \pm0.72
ESA1.47±0.371.47 \pm0.371.91±0.231.91 \pm0.234.62±0.924.62 \pm0.921.09±0.321.09 \pm0.325.80±0.705.80 \pm0.70
ZS-CS1.46±0.441.46 \pm0.441.98±0.111.98 \pm0.113.94±0.923.94 \pm0.920.98±0.260.98 \pm0.265.79±0.765.79 \pm0.76
DP-Prompt1.34±0.171.34 \pm0.172.11±0.372.11 \pm0.374.45±0.694.45 \pm0.691.05±0.231.05 \pm0.236.29±0.816.29 \pm0.81
STANFORD MOOC
Real (unmodified)6.89±0.216.89 \pm0.214.36±0.394.36 \pm0.3913.30±1.1313.30 \pm1.134.73±0.734.73 \pm0.739.45±0.669.45 \pm0.66
SEAMS4.20±0.254.20 \pm0.254.00±0.544.00 \pm0.548.51±0.378.51 \pm0.373.55±0.243.55 \pm0.249.15±0.409.15 \pm0.40
SEAMS-14.42±0.194.42 \pm0.194.17±0.474.17 \pm0.478.90±0.288.90 \pm0.283.50±0.383.50 \pm0.389.09±0.489.09 \pm0.48
ESA4.05±0.394.05 \pm0.394.12±0.724.12 \pm0.728.46±0.558.46 \pm0.553.34±0.273.34 \pm0.279.00±0.649.00 \pm0.64
ZS-CS4.04±0.174.04 \pm0.174.18±0.724.18 \pm0.728.34±0.668.34 \pm0.663.61±0.253.61 \pm0.258.77±0.658.77 \pm0.65
DP-Prompt3.76±0.513.76 \pm0.513.64±0.603.64 \pm0.607.26±0.337.26 \pm0.333.03±0.323.03 \pm0.328.90±0.488.90 \pm0.48
STACK EXCHANGE
Real (unmodified)3.30±0.283.30 \pm0.285.38±0.905.38 \pm0.9012.48±1.6712.48 \pm1.672.30±0.372.30 \pm0.3714.92±0.7314.92 \pm0.73
SEAMS2.07±0.192.07 \pm0.193.40±0.593.40 \pm0.597.27±0.757.27 \pm0.751.70±0.321.70 \pm0.3214.20±0.6114.20 \pm0.61
SEAMS-12.32±0.232.32 \pm0.233.20±0.473.20 \pm0.477.95±0.947.95 \pm0.941.89±0.311.89 \pm0.3114.13±0.9714.13 \pm0.97
ESA1.89±0.121.89 \pm0.123.44±0.433.44 \pm0.436.99±0.676.99 \pm0.671.63±0.231.63 \pm0.2314.28±0.7414.28 \pm0.74
ZS-CS1.91±0.141.91 \pm0.143.26±0.433.26 \pm0.436.86±0.856.86 \pm0.851.52±0.191.52 \pm0.1914.21±0.7814.21 \pm0.78
DP-Prompt1.54±0.211.54 \pm0.213.06±0.533.06 \pm0.535.44±0.715.44 \pm0.711.58±0.201.58 \pm0.2014.86±0.5014.86 \pm0.50

caption: tbl:10: Within-cluster authorship attack: candidates are the students in the true author’s home cluster (MRR ratio, mean ±\pm std over 5 seeds; 1.0 = random chance, higher = easier to attribute; protocol in § 5.6).

:::

MethodSemStyWegR-1
SEAMS (M=5M=5)87.4±0.487.4 \pm0.492.3±0.492.3 \pm0.485.3±1.285.3 \pm1.264.8±0.564.8 \pm0.5
Unconstrained87.6±0.387.6 \pm0.392.5±0.492.5 \pm0.485.4±1.185.4 \pm1.165.1±0.465.1 \pm0.4
Deterministic87.5±0.387.5 \pm0.392.4±0.492.4 \pm0.485.3±1.185.3 \pm1.164.9±0.564.9 \pm0.5
Random87.2±0.387.2 \pm0.391.2±0.691.2 \pm0.683.1±1.583.1 \pm1.564.2±0.564.2 \pm0.5

Table 11.

MethodMATTRSelf-BLEU
SEAMS (M=5M=5)85.2±0.285.2 \pm0.219.8±0.219.8 \pm0.2
Unconstrained85.2±0.285.2 \pm0.219.5±0.519.5 \pm0.5
Deterministic85.2±0.285.2 \pm0.219.9±0.419.9 \pm0.4
Random85.2±0.285.2 \pm0.220.0±0.320.0 \pm0.3

Table 11 (PDF p. 19). Generation quality of SEAMS ablation variants on the proprietary dataset, averaged over 5 seeds. All values multiplied by 100.

candidate at random.

All variants except random selection match full SEAMS across the quality distribution (Table 11), and attack differences remain within seed variance (Table 12), though unconstrained retrieval is directionally higher on four of five attackers (e.g., +0.19 on semantic retrieval).

MethodWeg-retStylo-clfLUARWeg-clfMPNet-ret
SEAMS (M=5M=5)1.89±0.311.89 \pm0.312.38±0.312.38 \pm0.315.56±0.735.56 \pm0.731.35±0.201.35 \pm0.205.86±0.725.86 \pm0.72
Unconstrained1.94±0.261.94 \pm0.262.49±0.212.49 \pm0.215.61±0.775.61 \pm0.771.32±0.251.32 \pm0.256.05±0.756.05 \pm0.75
Deterministic1.85±0.311.85 \pm0.312.37±0.422.37 \pm0.425.44±0.665.44 \pm0.661.36±0.241.36 \pm0.245.87±0.765.87 \pm0.76
Random1.94±0.261.94 \pm0.262.32±0.412.32 \pm0.415.65±0.695.65 \pm0.691.39±0.361.39 \pm0.366.02±0.776.02 \pm0.77

Table 12. Within-cluster authorship attack results for SEAMS ablation variants on the proprietary dataset (MRR ratio, mean ±\pm std over 5 seeds; lower is harder to attribute; protocol in § 5.6).

We draw three findings. First, approximately 71% of unconstrained top-KK retrievals already fall within the target post’s cluster, indicating that style retrieval largely recovers cluster membership on its own; cluster restriction provides an in-cluster guarantee that may matter more for smaller or more heterogeneous corpora. Second, random selection

degrades quality primarily in the tail: mean style fidelity drops, and more outputs fall below a style fidelity of 80 (12.7% vs. 10.8%), with a 10th percentile of 74.4 vs. 78.6. Consensus selection therefore acts as worst-case insurance by filtering degenerate candidates. Third, deterministic selection behaves identically to full SEAMS, but retaining the noise maintains structural consistency with DP-ICL at no measured quality cost.

Embedding-Probe Downstream Evaluation

As a complement to fine-tuning (Table 2), we train logistic regression (ridge regression for Stanford MOOC) on frozen embeddings of the same validation posts, using either a semantic model (all-mpnet-base-v2) or a style model (StyleDistance), and evaluate on the original test posts. For every model, the regularization strength is selected by cross-validation on its training posts alone (5-fold for logistic regression, leave-one-out for ridge regression). Semantic probes lose little with any method’s rewrites, while style probes separate the methods: SEAMS or SEAMS-1 has the smallest style loss on every dataset (Table 13).

MethodProprietary (Bloom’s level, macro-F1) Semantic Δ\DeltaProprietary (Bloom’s level, macro-F1) Style Δ\DeltaStanford MOOC (confusion, R2R^2) Semantic Δ\DeltaStanford MOOC (confusion, R2R^2) Style Δ\DeltaStack Exchange (subject, macro-F1) Semantic Δ\DeltaStack Exchange (subject, macro-F1) Style Δ\Delta
SEAMS−0.6±2.7-0.6 \pm2.7−0.1±1.0-0.1 \pm1.0+0.5±2.0+0.5 \pm2.0−6.7±3.7-6.7 \pm3.7−1.1±0.8-1.1 \pm0.8−3.6±2.7-3.6 \pm2.7
SEAMS-1−0.4±2.0-0.4 \pm2.0+0.0±1.0+0.0 \pm1.0+0.6±1.9+0.6 \pm1.9−6.5±2.0-6.5 \pm2.0−1.2±0.7-1.2 \pm0.7−3.5±1.9-3.5 \pm1.9
ESA+1.4±2.6+1.4 \pm2.6−4.0±2.6-4.0 \pm2.6+0.9±1.6+0.9 \pm1.6−10.4±4.7-10.4 \pm4.7−1.0±0.6-1.0 \pm0.6−3.6±2.8-3.6 \pm2.8
CS+1.3±1.2+1.3 \pm1.2−2.8±2.8-2.8 \pm2.8+1.0±1.7+1.0 \pm1.7−24.6±4.9-24.6 \pm4.9−1.0±1.0-1.0 \pm1.0−6.5±2.5-6.5 \pm2.5
DP-Prompt+1.2±2.1+1.2 \pm2.1−16.7±1.8-16.7 \pm1.8+0.6±1.2+0.6 \pm1.2−16.2±9.7-16.2 \pm9.7−1.5±0.9-1.5 \pm0.9−7.4±3.6-7.4 \pm3.6
ZS-CS+0.8±2.9+0.8 \pm2.9−5.6±1.4-5.6 \pm1.4+0.7±1.3+0.7 \pm1.3−12.0±5.6-12.0 \pm5.6−1.4±0.7-1.4 \pm0.7−3.6±2.3-3.6 \pm2.3
ZS-C−0.3±0.7-0.3 \pm0.7−21.1±4.3-21.1 \pm4.3−0.7±1.4-0.7 \pm1.4−82.9±58.3-82.9 \pm58.3−1.8±0.6-1.8 \pm0.6−22.3±6.4-22.3 \pm6.4

Table 13. Downstream utility with embedding probes (logistic or ridge regression on frozen semantic and style embeddings). Δ\Delta = metric when training on rewrites − metric when training on original posts, both tested on original posts; values closer to zero indicate less utility loss. Metric is macro-F1 for classification and R2R^2 for regression, ×100; mean ± std over 5 seeds. Training on original posts scores 34.7/29.8 (Proprietary), 20.8/17.3 (Stanford MOOC), and 80.5/35.9 (Stack Exchange) with semantic/style embeddings. Semantic Δ\Deltas are within noise for every method, so bold marks the smallest style loss per dataset only.

Aggregation Hyperparameters

We use clipping bound τ=1\tau= 1 and noise multiplier σ=0.1\sigma= 0.1 (Algorithm 1). Candidate embeddings are computed with StyleDistance, whose embeddings have norms of roughly 17, so clipping effectively normalizes each candidate embedding, and the added Gaussian noise has a per-dimension standard deviation of στ/M=0.02\sigma\tau/ M = 0.02. The same settings are used for all SEAMS variants that retain noisy aggregation and for the ESA baseline, which shares SEAMS’s aggregation step.

Computational Cost

Clustering is run once per dataset, after an optimal cluster configuration has been selected using a small batch of posts as the validation set. Clustering runs on CPU and takes under 10 minutes per setting for each of the datasets we process.

All experiments using open-source models are conducted on machines with 5 A6000 GPUs (48GB each): 4 host the 72B generation model and 1 hosts the embedding model. We did not record exact wall-clock time, and report file modification times as estimates. On the proprietary dataset, SEAMS (M=5M = 5) takes approximately 21.6 seconds per post and SEAMS-1 approximately 10.7 seconds per post.

Table 14 reports token usage per post, computed from the LLM cache produced during our experiments. SEAMS costs 5×5\times more in LLM calls than SEAMS-1, but only about 17% more in total tokens per post, since each call carries a shorter prompt.

MethodCalls /postPrompt tok. /callCompl. tok. /call
SEAMS (M=5M=5)5∼\sim1,023∼\sim105
SEAMS-11∼\sim4,545∼\sim259
MethodPrompt tok. /postCompl. tok. /postTotal tok. /post
SEAMS (M=5M=5)∼\sim5,117∼\sim527∼\sim5,644
SEAMS-1∼\sim4,545∼\sim259∼\sim4,804
Ratio1.13×2.03×1.17×

Table 14. Token usage per post on the proprietary dataset. Values are approximate, computed from the LLM cache produced during our experiments.

SEAMS DSPy Rewriter Specification

The generation module in SEAMS is implemented as a DSPy Signature with three inputs and one output; DSPy compiles it into the model prompt.

class RewriteSignature(dspy.Signature):
    """Generate a student discussion forum post that
    includes all the key points provided in the `
    bullet_summary`. Ensure that the post closely mirrors
    the writing style, tone, and format as the `
    style_context` exemplar posts. Additionally, follow
    the structural guidelines detailed in the `
    post_template` to ensure the rewritten post is well-
    organized and meets the specified criteria.
1. **Content Coverage**: Make sure that every point
   listed in the `bullet_summary` is addressed in the
   rewritten post.
2. **Style and Tone**: Adopt the same writing style,
   tone, and format as the exemplar posts provided in `
   style_context`. This includes sentence structure,
   vocabulary, and any specific formatting elements.
3. **Structure**: Follow the structural guidelines in the
   `post_template`. This may include sections,
   paragraphs, headings, and other organizational
   elements that are important for the post's clarity
   and readability.

By adhering to these guidelines, the rewritten post
should effectively communicate the required content
while maintaining a consistent and appropriate style
and structure."""

bullet_summary: str = dspy.InputField(
    desc="Bullet points that the rewritten post must
    cover.")
post_template: str = dspy.InputField(
    desc="Description of the general structure of what
    the rewritten post should look like.")
style_context: str = dspy.InputField(
    desc="Numbered peer posts demonstrating the target
    register.")
rewritten_post: str = dspy.OutputField(
    desc="The rewritten post, content-preserving and
    register-matched, "
        "with all identifying surface details replaced
    .")

Annotation Information

Both human evaluations used a Streamlit application. In the style-match evaluation, each screen showed the original post above two rewrites (“Rewrite A” and “Rewrite B”) with the instruction: “Both rewrites cover the same content as the original post. Which rewrite sounds more like it was written by the same person who wrote the original? Focus on wording, tone, and writing style, not on content.” Annotators chose “Rewrite A is more similar,” “Equally similar,” or “Rewrite B is more similar.” Three attention checks were placed at fixed positions: a verbatim copy of the original versus scrambled text, an instruction to select a specific option, and a near-copy of a casual post versus unrelated formal text. Figure 5 shows the style-match interface.

Interface of the style-match evaluation (post text replaced with placeholders).

Figure 5. Interface of the style-match evaluation (post text replaced with placeholders).

Naturalness Evaluation

Before the style-match evaluation, we ran a preference-based naturalness study on Prolific with current college and graduate students ($15/hour). Each pair contained an original post and a generated post with different content (from SEAMS, CS, or ZS-CS), along with real-vs.-real control pairs and attention checks, and annotators chose which post “you or your peers [are] more likely to write,” or judged them equally natural. After excluding three participants who submitted exceptionally fast or failed attention checks, 26 remained, giving at least five ratings per item. Win rates against original posts (ties = 0.5; ± half-width of the 95% item-bootstrap CI) were 0.555±0.069 for SEAMS, 0.599±0.079 for CS, and 0.547±0.087 for ZS-CS, with ordinal Krippendorff’s α\alpha = 0.164. All three methods were judged about as natural as real student posts, and the task did not separate them. Because annotators compare posts with different content and no reference, this design measures general plausibility (and can reward polished text) rather than fidelity to a particular author, which motivated the style-match evaluation in § 5.5.

References

  1. [1]Martin Abadi, Andy Chu, Ian Goodfellow, H Brendan McMahan, Ilya Mironov, Kunal Talwar, and Li Zhang. 2016. Deep learning with differential privacy. In Proceedings of the 2016 ACM SIGSAC Conference on Computer and Communications Security, pages 308–318. ACM.DOI
  2. [2]Akshay Agrawal, Jagadish Venkatraman, Shane Leonard, and Andreas Paepcke. 2015. Youedu: addressing confusion in mooc discussion forums by recommending instructional video clips. International Educational Data Mining Society.
  3. [3]Lakshya A Agrawal, Shangyin Tan, Dilara Soylu, Noah Ziems, Rishi Khare, Krista Opsahl-Ong, Arnav Singhvi, Herumb Shandilya, Michael J Ryan, Meng Jiang, and 1 others. 2025. Gepa: Reflective prompt evolution can outperform reinforcement learning. arXiv preprint arXiv:2507.19457.arxiv.org/abs/2507.19457
  4. [4]Jacopo Amidei, Paul Piwek, and Alistair Willis. 2019. Agreement is overrated: A plea for correlation to assess human evaluation reliability. In Proceedings of the 12th International Conference on Natural Language Generation, pages 344–354, Tokyo, Japan. Association for Computational Linguistics.DOI
  5. [5]Kareem Amin, Alex Bie, Weiwei Kong, Alexey Kurakin, Natalia Ponomareva, Umar Syed, Andreas Terzis, and Sergei Vassilvitskii. 2024. Private prediction for large-scale synthetic text generation. In Findings of the Association for Computational Linguistics: EMNLP 2024, pages 7244–7262, Miami, Florida, USA. Association for Computational Linguistics.arxiv.org/abs/2407.12108
  6. [6]Mahmoud Badry, Walaa Medhat, Shereen A Taie, and Asmaa Hashem Sweidan. 2026. Cognitively aligned assessment item generation with open-source llms: A comprehensive evaluation on learningq. International Journal of Advanced Computer Science and Applications, 17(5).DOI
  7. [7]Michael Brennan, Sadia Afroz, and Rachel Greenstadt. 2012. Adversarial stylometry: Circumventing authorship recognition to preserve privacy and anonymity. ACM Transactions on Information and System Security (TISSEC), 15(3):1–22.
  8. [8]John Burrows. 2002. ‘delta’: a measure of stylistic difference and a guide to likely authorship. Literary and linguistic computing, 17(3):267–287.DOI
  9. [9]Miche­lene TH Chi and Ruth Wylie. 2014. The icap framework: Linking cognitive engagement to active learning outcomes. Educational psychologist, 49(4):219–243.DOI
  10. [10]Eli Chien, Yuzheng Hu, Ryan McKenna, Shanshan Wu, Zheng Xu, and Peter Kairouz. 2026. MAPI: Metadata augmented private language evolution. arXiv preprint arXiv:2603.19258.arxiv.org/abs/2603.19258
  11. [11]Yongwan Cho, Rabia Emhamed Almamlok, and Tasnim Gharaibeh. 2024. A systematic review of knowledge tracing and large language models in education: Opportunities, issues, and future research. arXiv preprint arXiv:2412.09248.arxiv.org/abs/2412.09248
  12. [12]Elizabeth Clark, Tal August, Sofia Serrano, Nikita Hadouong, Suchin Gururangan, and Noah A. Smith. 2021. All that’s ‘human’ is not gold: Evaluating human evaluation of generated text. In Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers), pages 7282–7296, Online. Association for Computational Linguistics.arxiv.org/abs/2107.00061
  13. [13]Michael A Covington and Joe D McFall. 2010. Cutting the gordian knot: The moving-average type–token ratio (mattr). Journal of quantitative linguistics, 17(2):94–100.DOI
  14. [14]James Flemings, Meisam Razaviyayn, and Murali Annavaram. 2024. Differentially private next-token prediction of large language models. In Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers), pages 4390–4404.arxiv.org/abs/2403.15638
  15. [15]Ashok K Goel and Lalith Polepeddi. 2018. Jill watson: A virtual teaching assistant for online education. In Learning engineering for online education, pages 120–143. Routledge.
  16. [16]Arthur C Graesser, Danielle S McNamara, Max M Louwerse, and Zhiqiang Cai. 2004. Coh-metrix: Analysis of text on cohesion and language. Behavior research methods, instruments, & computers, 36(2):193–202.pubmed.ncbi.nlm.nih.gov/15354684
  17. [17]Arthur C Graesser and Natalie K Person. 1994. Question asking during tutoring. American educational research journal, 31(1):104–137.DOI
  18. [18]Kilem L Gwet. 2014. Handbook of inter-rater reliability: The definitive guide to measuring the extent of agreement among raters.
  19. [19]Charlie Hou, Mei-Yu Wang, Yige Zhu, Daniel Lazar, and Giulia Fanti. 2025. Private federated learning using preference-optimized synthetic data. In Proceedings of the 42nd International Conference on Machine Learning, volume 267 of Proceedings of Machine Learning Research, pages 24025–24044.arxiv.org/abs/2504.16438
  20. [20]Hyoungwook Jin, Minju Yoo, Jeongeon Park, Yokyung Lee, Xu Wang, and Juho Kim. 2025. Teachtune: Reviewing pedagogical agents against diverse student profiles with simulated students. In Proceedings of the 2025 CHI Conference on Human Factors in Computing Systems, pages 1–28.arxiv.org/abs/2410.04078
  21. [21]Stuart A Karabenick. 2003. Seeking help in large college classes: A person-centered approach. Contemporary educational psychology, 28(1):37–58.DOI
  22. [22]Marzena Karpinska, Nader Akoury, and Mohit Iyyer. 2021. The perils of using Mechanical Turk to evaluate open-ended text generation. In Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing, pages 1265–1285, Online and Punta Cana, Dominican Republic. Association for Computational Linguistics.arxiv.org/abs/2109.06835
  23. [23]Nabila A Khodeir. 2021. Bi-gru urgent classification for mooc discussion forums based on bert. IEEE Access, 9:58243–58255.DOI
  24. [24]Fabian Kieser, Peter Wulff, Jochen Kuhn, and Stefan Küchemann. 2023. Educational data augmentation in physics education research using chatgpt. Physical Review Physics Education Research, 19(2):020150.arxiv.org/abs/2307.14475
  25. [25]Alison King. 1994. Guiding knowledge construction in the classroom: Effects of teaching children how to question and how to explain. American educational research journal, 31(2):338–368.DOI
  26. [26]David R Krathwohl. 2002. A revision of bloom’s taxonomy: An overview. Theory into practice, 41(4):212–218.
  27. [27]Sunjun Kweon, Sooyohn Nam, Hyunseung Lim, Hwajung Hong, and Edward Choi. 2025. A large-scale real-world evaluation of an llm-based virtual teaching assistant. In Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 6: Industry Track), pages 850–864.arxiv.org/abs/2506.17363
  28. [28]Haoxuan Li, Jifan Yu, Xin Cong, Yang Dang, Daniel Zhang-Li, Lu Mi, Yisi Zhan, Huiqin Liu, and Zhiyuan Liu. 2026. Which type of students can llms act? investigating authentic simulation with graph-based human-ai collaborative system. AI Open.arxiv.org/abs/2502.11678
  29. [29]Hongming Li and Anthony F Botelho. 2025. Balancing the imbalance: Enhancing mooc discussion forum urgency prediction with llm-generated data augmentation. In Proceedings of the 18th International Conference on Computer-Supported Collaborative Learning-CSCL 2025, pp. 455-459. International Society of the Learning Sciences.DOI
  30. [30]Zhuoyan Li, Hangxiao Zhu, Zhuoran Lu, and Ming Yin. 2023. Synthetic data generation with large language models for text classification: Potential and limitations. In Proceedings of the 2023 conference on empirical methods in natural language processing, pages 10443–10461.arxiv.org/abs/2310.07849
  31. [31]Chin-Yew Lin. 2004. Rouge: A package for automatic evaluation of summaries. In Text summarization branches out, pages 74–81.
  32. [32]Pusheng Liu, Lianwei Wu, Linyong Wang, Sensen Guo, and Yang Liu. 2024. Step-by-step: Controlling arbitrary style in text with large language models. In Proceedings of the 2024 Joint International Conference on Computational Linguistics, Language Resources and Evaluation (LREC-COLING 2024), pages 15285–15295.DOI
  33. [33]James J Lohse, Christine A McManus, and David A Joyner. 2019. Surveying the mooc data set universe. In 2019 IEEE Learning With MOOCs (LWOOCS), pages 159–164. IEEE.DOI
  34. [34]Guoqing Luo, Yu Han, Lili Mou, and Mauajama Firdaus. 2023. Prompt-based editing for text style transfer. In Findings of the Association for Computational Linguistics: EMNLP 2023, pages 5740–5750.arxiv.org/abs/2301.11997
  35. [35]Daria Martynova, Jakub Macina, Nico Daheim, Nilay Yalcin, Xiaoyu Zhang, and Mrinmaya Sachan. 2025. Can llms effectively simulate human learners? teachers’ insights from tutoring llm students. In Proceedings of the 20th Workshop on Innovative Use of NLP for Building Educational Applications (BEA 2025), pages 100–117.
  36. [36]Justus Mattern, Zhijing Jin, Benjamin Weggenmann, Bernhard Schölkopf, and Mrinmaya Sachan. 2022. Differentially private language models for secure data sharing. In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing, pages 4860–4873. Association for Computational Linguistics.arxiv.org/abs/2210.13918
  37. [37]Jamie N Mikeska, Aakanksha Bhatia, Shreyashi Halder, Tricia Maxwell, Beata Beigman Klebanov, Benny Longwill, Kashish Behl, and Calli Shekell. 2025. Generative ai teaching simulations as formative assessment tools within preservice teacher preparation. In Proceedings of the Artificial Intelligence in Measurement and Education Conference (AIME-Con): Full Papers, pages 212–220.
  38. [38]Jiaqi Mu, Suma Bhat, and Pramod Viswanath. 2017. All-but-the-top: Simple and effective postprocessing for word representations. arXiv preprint arXiv:1702.01417.arxiv.org/abs/1702.01417
  39. [39]Mihai Nadăş, Laura Dıoşan, and Andreea Tomescu. 2025. Synthetic data generation using large language models: Advances in text and code. IEEE Access.DOI
  40. [40]Seyed Parsa Neshaei, Richard Lee Davis, Paola Mejia-Domenzain, Tanya Nazaretsky, and Tanja Käser. 2025. Bridging the data gap: Using llms to augment datasets for text classification. International Educational Data Mining Society.DOI
  41. [41]Edeh Michael Onyema, Edeh Chinecherem Deborah, Alhuseen Omar Alsayed, Quadri Noorulhasan, and Sumaya Sanober. 2019. Online discussion forum as a tool for interactive learning and communication. International journal of recent technology and engineering, 8(4):4852–4859.DOI
  42. [42]Krista Opsahl-Ong, Michael J Ryan, Josh Purtell, David Broman, Christopher Potts, Matei Zaharia, and Omar Khattab. 2024. Optimizing instructions and demonstrations for multi-stage language model programs. In Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing, pages 9340–9366.
  43. [43]Abelardo Pardo and George Siemens. 2014. Ethical and privacy principles for learning analytics. British journal of educational technology, 45(3):438–450.DOI
  44. [44]Ajay Patel, Jiacheng Zhu, Justin Qiu, Zachary Horvitz, Marianna Apidianaki, Kathleen McKeown, and Chris Callison-Burch. 2025. Styledistance: Stronger content-independent style embeddings with synthetic parallel examples. In Proceedings of the 2025 Conference of the Nations of the Americas Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers), pages 8662–8685.arxiv.org/abs/2410.12757
  45. [45]Martin Potthast, Matthias Hagen, and Benno Stein. 2016. Author obfuscation: Attacking the state of the art in authorship verification. CLEF (Working Notes), pages 716–749.
  46. [46]Qwen Team. 2024. Qwen2.5 technical report. arXiv preprint arXiv:2412.15115.
  47. [47]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.arxiv.org/abs/2109.03910
  48. [48]Nils Reimers and Iryna Gurevych. 2019. Sentence-bert: Sentence embeddings using siamese bert-networks. In Proceedings of the 2019 conference on empirical methods in natural language processing and the 9th international joint conference on natural language processing (EMNLP-IJCNLP), pages 3982–3992.arxiv.org/abs/1908.10084
  49. [49]Mamta Shah, Maciej Pankiewicz, Ryan S Baker, Jiahui Chi, Yue Xin, Hetali Shah, and Dangela Fonseca. 2024. Students’ use of an llm-powered virtual teaching assistant for recommending educational applications of games. In Joint International Conference on Serious Games, pages 19–24. Springer.DOI
  50. [50]Weiyan Shi, Ryan Shea, Si Chen, Chiyuan Zhang, Ruoxi Jia, and Zhou Yu. 2022. Just fine-tune twice: Selective differential privacy for large language models. In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing, pages 6327–6340.arxiv.org/abs/2204.07667
  51. [51]Rafael A. Rivera Soto, Olivia Miano, Juanita Ordonez, Barry Chen, Aleem Khan, Marcus Bishop, and Nicholas Andrews. 2021. Learning universal authorship representations. In EMNLP.
  52. [52]Mirac Suzgun, Luke Melas-Kyriazi, and Dan Jurafsky. 2022. Prompt-and-rerank: A method for zero-shot and few-shot arbitrary textual style transfer with small language models. In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing, pages 2195–2222.arxiv.org/abs/2205.11503
  53. [53]Bowen Tan, Zheng Xu, Eric Xing, Zhiting Hu, and Shanshan Wu. 2025. Synthesizing privacy-preserving text data via finetuning without finetuning billion-scale LLMs. In Proceedings of the 42nd International Conference on Machine Learning, volume 267 of Proceedings of Machine Learning Research, pages 58637–58657.arxiv.org/abs/2503.12347
  54. [54]Xinyu Tang, Richard Shin, Huseyin A. Inan, Andre Manoel, Fatemehsadat Mireshghallah, Zinan Lin, Sivakanth Gopi, Janardhan Kulkarni, and Robert Sim. 2024. Privacy-preserving in-context learning with differentially private few-shot generation. In The Twelfth International Conference on Learning Representations.arxiv.org/abs/2309.11765
  55. [55]Saiteja Utpala, Sara Hooker, and Pin-Yu Chen. 2023. Locally differentially private document generation using zero shot prompting. In Findings of the Association for Computational Linguistics: EMNLP 2023, pages 8442–8457.arxiv.org/abs/2310.16111
  56. [56]Vishnu Vinod, Krishna Pillutla, and Abradeep Guha Thakurta. 2025. InvisibleInk: High-utility and low-cost text generation with differential privacy. In Advances in Neural Information Processing Systems, volume 38, pages 67254–67298. Curran Associates, Inc.arxiv.org/abs/2507.02974
  57. [57]Tianze Wang, Zhaoyu Chen, Jian Du, Yingtai Xiao, Lin-jun Zhang, and Qiang Yan. 2025. Secret-protected evolution for differentially private synthetic text generation. arXiv preprint arXiv:2510.10990.arxiv.org/abs/2510.10990
  58. [58]Xiaolong Wang, Zhe Zhao, Song Lai, Chaoli Zhang, Zijie Geng, Yu Tong, Ye Wei, and Qingsong Wen. 2026. From memorization to creation: Evaluating the cognitive depth of llm? generated educational questions. In Proceedings of the 32nd ACM SIGKDD Conference on Knowledge Discovery and Data Mining V. 1, pages 2818–2829.DOI
  59. [59]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.arxiv.org/abs/2204.04907
  60. [60]Tao Wu, Jingyuan Chen, Wang Lin, Mengze Li, Yu-meng Zhu, Aug Li, Kun Kuang, and Fei Wu. 2025. Embracing imperfection: Simulating students with diverse cognitive levels using llm-based agents. In Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 9887–9908.arxiv.org/abs/2505.19997
  61. [61]Tong Wu, Ashwinee Panda, Jiachen T. Wang, and Prateek Mittal. 2024. Privacy-preserving in-context learning for large language models. In The Twelfth International Conference on Learning Representations.arxiv.org/abs/2305.01639
  62. [62]Chulin Xie, Zinan Lin, Arturs Backurs, Sivakanth Gopi, Da Yu, Huseyin A Inan, Harsha Nori, Haotian Jiang, Huishuai Zhang, Yin Tat Lee, Bo Li, and Sergey Yekhanin. 2024. Differentially private synthetic data via foundation model APIs 2: Text. In Proceedings of the 41st International Conference on Machine Learning, pages 54531–54560. PMLR.arxiv.org/abs/2403.01749
  63. [63]Fangyuan Xu, Sihao Chen, Zinan Lin, Taiwei Shi, Sydney Graham, Pei Zhou, Mengting Wan, Alex Stein, Virginia Estellers, Charles Chen, Morris Sharp, Richard Speyer, Tadas Baltrusaitis, Jennifer Neville, Eunsol Choi, and Longqi Yang. 2026. DP-RFT: Learning to generate synthetic text via differentially private reinforcement fine-tuning. arXiv preprint arXiv:2602.18633.arxiv.org/abs/2602.18633
  64. [64]Songlin Xu, Hao-Ning Wen, Hongyi Pan, Dallas Dominguez, Dongyin Hu, and Xinyu Zhang. 2025. Classroom simulacra: Building contextual student generative agents in online education for learning behavioral simulation. In Proceedings of the 2025 CHI Conference on Human Factors in Computing Systems, pages 1–26.DOI
  65. [65]An Yang, Anfeng Li, Baosong Yang, Beichen Zhang, Binyuan Hui, Bo Zheng, Bowen Yu, Chang Gao, Chengেন Huang, Chenxu Lv, and 1 others. 2025. Qwen3 technical report. arXiv preprint arXiv:2505.09388.arxiv.org/abs/2505.09388
  66. [66]Elise Young. 2014. Educational privacy in the online classroom: Ferpa, moocs, and the big data conundrum. Harv. JL & Tech., 28:549.
  67. [68]Xiang Yue, Huseyin Inan, Xuechen Li, Girish Kumar, Julia McAnallen, Hoda Shajari, Huan Sun, David Levitan, and Robert Sim. 2023. Synthetic text generation with differential privacy: A simple and practical recipe. In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 1321–1342. Association for Computational Linguistics.arxiv.org/abs/2210.14348
  68. [69]Hanjing Zhang, Haolin Song, Shaoyu Li, Ming Zhou, and Dawei Song. 2023. A survey of controllable text generation using transformer-based pre-trained language models. ACM Computing Surveys, 56(3):1–37.arxiv.org/abs/2201.05337
  69. [70]Longwei Zheng, Fei Jiang, Xiaoqing Gu, Yuanyuan Li, Gong Wang, and Haomin Zhang. 2025. Teaching via llm-enhanced simulations: Authenticity and barriers to suspension of disbelief. The Internet and Higher Education, 65:100990.DOI
  70. [71]Yaoming Zhu, Sidi Lu, Lei Zheng, Jiaxian Guo, Weinan Zhang, Jun Wang, and Yong Yu. 2018. Texygen: A benchmarking platform for text generation models. In The 41st international ACM SIGIR conference on research & development in information retrieval, pages 1097–1100.arxiv.org/abs/1802.01886

Paper details

vlnc:W_ng6spwed
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 2

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

AI assistants and agents

View statement
Looking for related papers…
Contents