Cyclic Adaptive Private Synthesis for Sharing Real-World Data in Education Conference: LAK26: 16th International Learning Analytics and Knowledge Conference; April 27-May 01, 2026; Bergen, Norway LAK26: 16th International Learning Analytics and Knowledge Conference (LAK 2026), April 27-May 01, 2026, Bergen, Norway DOI: 10.1145/3785022.3785026 ISBN: 979-8-4007-2066-6/2026/04 CCS: Applied computing Education CCS: Security and privacy Privacy protections CCS: Computing methodologies Machine learning Hibiki Ito, Chia-Yu Hsu, Hiroaki Ogata Abstract . The rapid adoption of digital technologies has greatly increased the volume of real-world data (RWD) in education. While these data offer significant opportunities for advancing learning analytics (LA), secondary use for research is constrained by privacy concerns. Differentially private synthetic data generation is regarded as the gold-standard approach to sharing sensitive data, yet studies on the private synthesis of educational data remain very scarce and rely predominantly on large, low-dimensional open datasets. Educational RWD, however, are typically high-dimensional and small in sample size, leaving the potential of private synthesis underexplored. Moreover, because educational practice is inherently iterative, data sharing is continual rather than one-off, making a traditional one-shot synthesis approach suboptimal. To address these challenges, we propose the Cyclic Adaptive Private Synthesis (CAPS) framework and evaluate it on authentic RWD. By iteratively sharing RWD, CAPS not only fosters open science, but also offers rich opportunities of design-based research (DBR), thereby amplifying the impact of LA. Our case study using actual RWD demonstrates that CAPS outperforms a one-shot baseline while highlighting challenges that warrant further investigation. Overall, this work offers a crucial first step towards privacy-preserving sharing of educational RWD and expands the possibilities for open science and DBR in LA. † † cc-license: by 1. Introduction With the widespread integration of digital technologies, the last few decades have witnessed a considerable growth in the volume of real-world data (RWD) ( 48 ) in the realm of education. Unlike data collected primarily for experimental research, RWD offers rich opportunities for advancing learning analytics (LA) by complementing experimental data and enabling the discovery of real-world evidence (RWE) ( 41 ; 54 ) . However, access to sensitive educational data—such as digital trace data—remains restricted to trusted researchers and are seldom shared with the broader research community ( 4 ) . These data enclaves slow the progress of LA and undermine open science, limiting the field’s impact ( 4 ; 25 ) . Sharing data for the public interest while protecting privacy is much easier said than done. Although no perfect solution exists, private synthesis—synthetic data generation under differential privacy (DP, ( 16 ) ) guarantee—is considered to be the gold-standard approach due to its theoretical advantages in privacy protection ( 20 ) . A model, often deep learning–based, is trained to capture the statistical properties of the original data and then used to release either the model itself or the generated synthetic data. DP provides a provable guarantee of information-theoretic privacy during the training procedure and is often regarded as offering sufficient privacy for sharing sensitive data when DP parameters are suitably calibrated ( 56 ) . Despite its promise, applications of private synthesis to educational data have been very scarce. Existing studies typically use publicly available open datasets that are large and low-dimensional ( 46 ; 44 ; 37 ) , while most educational contexts produce small, locally gathered datasets distributed across disparate platforms ( 52 ) . Multimodal and longitudinal data collection further raises dimensionality ( 51 ) . This combination of small sample sizes and high dimensionality—a well-known challenge in the DP literature—makes private synthesis especially difficult for educational RWD ( 27 ) . Moreover, most research assumes a one-shot setting, training a new generative model from scratch for each dataset ( 9 ) . Educational practice, however, is inherently cyclical: similar RWD arrive repeatedly across cohorts, making a one-off synthesis approach suboptimal. To address these challenges, we introduce the Cyclic Adaptive Private Synthesis (CAPS) framework and evaluate it with authentic RWD in education. CAPS exploits the regular arrival of comparable datasets—for example, yearly cohorts—by pre-training a feature extractor to handle small-sample, high-dimensional data and adapting it iteratively over time, thereby tailoring traditional one-shot synthesis techniques to real-world educational settings. CAPS allows LA researchers to access RWD and possibly share it with the broader research community, thereby promoting open science. In addition, a critical implication of CAPS is that the iterative process enables design-based research (DBR) in real-world education ( 11 ; 8 ) . That is, by iteratively sharing RWD, LA researchers would be able to go through the cycle of analysing the data to provide usable insights to practitioners as well as developing theoretical knowledge ( 61 ) . Hence, CAPS can significantly advance the field of LA through fostering open science and offering rich opportunities of DBR for LA researchers. Our case study using RWD from a secondary-school mathematics class demonstrates that the model utility evaluated by downstream classification performance and reconstruction power improve over successive cycles. This indicates that CAPS allows the generative model to effectively learn statistical properties of sensitive RWD, outperforming the traditional one-shot baseline. Yet, careful analysis also reveals that the quality of synthetic data could slightly degrade according to our evaluation metric. We term this phenomenon the compounding bias effect , indicating a potential area of concern that warrants further investigation. Overall, this paper takes a crucial first step towards sharing RWD in education and thereby significantly increasing the impact of LA. 1.1. Related works While various privacy protection techniques have been studied for sharing educational RWD ( 45 ) , this paper particularly focuses on the application of DP and synthetic data in LA. Gursoy et al. ( 23 ) first demonstrated the potential of DP in LA, inspiring subsequent applications such as grade prediction ( 77 ) and knowledge tracing ( 35 ) . Broader frameworks for incorporating DP into LA have also been proposed ( 47 ; 58 ) . These, however, focus on privacy-preserving predictive tasks and data analysis rather than data sharing. Private synthesis becomes essential when sensitive RWD must be shared within the research community while allowing for various downstream tasks, yet it has received little attention in education. Notable studies include those of Liu et al. ( 46 ; 44 ) , which tested private aggregation of teacher ensembles (PATE) frameworks and generative adversarial networks (GAN)-based methods, and the work by Kesgin ( 37 ) , which examined a private diffusion-based model. However, these deep learning models typically require very large datasets, and training them with DP on small high-dimensional data has proved practically infeasible without public auxiliary information such as pre-training ( 21 ; 6 ) . Moreover, open datasets used in these prior works are large and low-dimensional, differing substantially from the sensitive, small-scale RWD that ultimately need to be shared. Existing private-synthesis research also assumes a one-shot paradigm: a model is trained anew for each dataset release. Our work instead targets iterative data sharing. The proposed cyclic synthesis should not be confused with the emerging longitudinal synthesis in the DP literature, which divides longitudinal datasets—such as census data—into temporal segments for continual release ( 9 ; 26 ) . Those approaches aim to repeatedly release data from the same individuals, whereas CAPS generates synthetic data across successive, distinct cohorts while retaining consistent educational contexts. This latter perspective also enables cyclic interventions and the development of usable theoretical knowledge through a DBR approach. In summary, the contribution of this paper is twofold. First, we present the CAPS framework, which aims to optimise private synthesis for iterative sharing of educational RWD while addressing both small-sample and high-dimensional challenges. Second, we validate CAPS on authentic RWD that are small and longitudinal (i.e. high-dimensional) demonstrating its effectiveness in realistic educational settings. 2. Cyclic Adaptive Private Synthesis (CAPS) framework We first delineate a few preliminary definitions regarding DP and the model of Kingma et al. ( 39 ) which is a core of our framework. Subsequently, the CAPS framework is described based on these definitions. 2.1. Preliminary (1): differential privacy We employ the standard approximate DP defined as follows: we say that datasets D and D^{\prime} are adjacent datasets if they differ in a single data point by addition or removal. Definition 2.1 (Differential privacy ( 15 ) ). An algorithm {\mathcal{A}} is (\varepsilon,\delta) -differentially private if for all {\mathcal{S}}\subseteq\mathrm{Range}({\mathcal{A}}) and for all adjacent datasets D and D^{\prime} : (1) \Pr({\mathcal{A}}(D)\in{\mathcal{S}})\leq e^{\varepsilon}\Pr({\mathcal{A}}(D^{\prime})\in{\mathcal{S}})+\delta, where probabilities are over the randomness in the algorithm {\mathcal{A}} . Here, a data point in D is called a privacy unit as it defines the adjacency. In the following, we assume that a privacy unit is a distinct individual learner (i.e. user-level DP). However, our framework is flexible enough to allow for a relaxed privacy unit such as data for a certain time window. The following important property of DP will be also used in our framework: Proposition 2.2 (Post-processing ( 17 ) ). If an algorithm {\mathcal{A}} satisfies (\varepsilon,\delta) -DP, then a post-processing \mathrm{Proc}\circ{\mathcal{A}} is also (\varepsilon,\delta) -DP. Additionally, it is convenient to clarify the distinction between public and private data. Informally, incorporating public data to the computation of a private algorithm does not consume privacy budget. The following definition is adapted from Hod et al. ( 29 ) and Ben-David et al. ( 6 ) . Definition 2.3 (Public data). A dataset D^{\prime} is public if for an algorithm {\mathcal{A}} satisfying (\varepsilon,\delta) -DP and a private dataset D , both {\mathcal{A}}(D,\cdot) and {\mathcal{A}}(D,D^{\prime}) satisfy identical (\varepsilon,\delta) -DP guarantee. 2.2. Preliminary (2): model of Kingma et al. ( 39 ) We wish to train a generative model with DP for a small and high-dimensional dataset D=\{(\bm{x}_{i},y_{i})\}_{i=1}^{N} , where \bm{x}_{i}\in{\mathbb{X}}\subseteq{\mathbb{R}}^{d} with dimension d are features and y_{i}\in{\mathbb{Y}}=\{1,2,\dots,L\} are labels. By far the most practical approach is to first pre-train a large model on public data and then fine-tune a small (additional) part of it on D ( 12 ; 70 ) . Particularly, unlike the prior works, we employ the variational autoencoder (VAE) ( 40 ; 62 ) as a base model since it is relatively stable for small and high-dimensional data ( 49 ) . The following model introduced by Kingma et al. ( 39 ) combines a pre-trained large VAE (called M1) and a small conditional generative model (called M2) trained by semi-supervised learning. The separation of M1 and M2 allows for reusing the feature extractor across datasets of different label spaces. Thus, we adopt it as the core model of our proposed framework. In particular, we do not just reuse M1, but cyclically improve it over time (hence the name cyclic adaptive ). Let p(\bm{x}) , p(y) and p(\bm{z}) denote the prior distributions over the feature variables \bm{x} , the label variable y and the latent variables \bm{z} , respectively. Following Kingma et al. ( 39 ) , we formulate a probablistic model that consists of two models: the first model, M1, is an unconditional VAE with latent variables \bm{z}_{1} : (2) \displaystyle p(\bm{z}_{1}) \displaystyle={\mathcal{N}}(\bm{z}_{1};0,I) (3) \displaystyle p_{\bm{\theta}_{1}}(\bm{x}\mid\bm{z}_{1}) \displaystyle=f_{1}(\bm{x};\bm{z}_{1},\bm{\theta}_{1}), where {\mathcal{N}}(\cdot;0,I) denotes the density of the standard normal distribution and f_{1}(\bm{x};\bm{z}_{1},\bm{\theta}_{1}) is a suitable likelihood function with parameters \bm{\theta}_{1} . To enable conditional generation, a smaller conditional variant of VAE, M2, is stacked on top of M1: (4) \displaystyle p(y) \displaystyle=\mathrm{Cat}(y;\bm{\pi}) (5) \displaystyle p(\bm{z}_{2}) \displaystyle={\mathcal{N}}(\bm{z}_{2};0,I); (6) \displaystyle p_{\bm{\theta}_{2}}(\bm{z}_{1}\mid y,\bm{z}_{2}) \displaystyle=f_{2}(\bm{z}_{1};y,\bm{z}_{2},\bm{\theta}_{2}), where \mathrm{Cat} denotes a categorical distribution parameterised by \bm{\pi} and f_{2}(\bm{z}_{1};y,\bm{z}_{2},\bm{\theta}_{2}) is a suitable likelihood function. Here, we assume that the priors of the latent variables \bm{z}_{1} and \bm{z}_{2} are Gaussians, but our framework is open to other variants such as vector quantised VAE ( 72 ) . To train this M1+M2 stacked model, we first train M1 to learn latent variables \bm{z}_{1} with large unlabelled data \bm{x} by a standard VAE training ( 40 ) . Subsequently, we freeze M1 and train M2 using latent representations derived from M1 in a semi-supervised manner, where the label variable y is treated as a latent variable for unlabelled points. As a result, we have the following probablistic model: (7) p_{\bm{\theta}}(\bm{x},y,\bm{z}_{1},\bm{z}_{2})=p(y)p(\bm{z}_{2})p_{\bm{\theta}_{2}}(\bm{z}_{1}\mid y,\bm{z}_{2})p_{\bm{\theta}_{1}}(\bm{x}\mid\bm{z}_{1}). 2.3. CAPS Now we describe the Cyclic Adaptive Private Synthesis (CAPS) framework. To grasp the idea, consider the following example setting. Suppose that an LA system is deployed at an undergraduate study module. Let D_{1}=\{(\bm{x}_{i},y_{i})\}_{i=1}^{N_{1}} be a dataset of N_{1} students who participated in the module in year t=1 (or, more generally, cycle t=1 ), where \bm{x}_{i}\in{\mathbb{X}} are data obtained from the system and y_{i}\in{\mathbb{Y}}_{1} are final exam scores. According to the feedback from students and data analytics, the instructor decides to replace the final exam by an essay assignment in the following year. Let D_{2}=\{(\bm{x}_{i},y_{i})\}_{i=1}^{N_{2}} denote the dataset for year t=2 . Then the labels y_{i}\in{\mathbb{Y}}_{2} should now contain the evaluation of the essay assignment, so the label spaces {\mathbb{Y}}_{1} and {\mathbb{Y}}_{2} are distinct. We assume that the feature space {\mathbb{X}} remains the same (i.e. the data collection methods are the same) and that the distributions p_{1}(\bm{x}) and p_{2}(\bm{x}) over the features do not significantly differ (i.e. the cohorts are similar). The above procedure is repeated for a few times, producing datasets D_{1},D_{2},D_{3},\dots with label spaces {\mathbb{Y}}_{1},{\mathbb{Y}}_{2},{\mathbb{Y}}_{3},\dots . Sharing such RWD allows researchers to discover RWE such as how different evaluation methods impact learning processes and generate hypotheses about, for example, how to improve the system to enhance learning. To generate synthetic data for these datasets using DP, our CAPS framework proceeds as follows (see Figure 1 ). Note that cycles do not have to be years (e.g. semesters) as long as we have distinct privacy units for the different cycles. Step 0 Pre-train M1 . We initialise CAPS by pre-training M1, a larger unconditional VAE, on large unlabelled public data {\mathcal{X}}_{\mathrm{pub}} whose feature space is the same as that of the private data. Step 1 Train M2 for cycle t . Given a pre-trained M1, we generate unlabelled data from it, denoted as D_{t}^{\prime} . Then M2, a smaller conditional generative model stacked on the current M1, is trained on D_{t}\cup D_{t}^{\prime} by semi-private semi-supervised learning (SPSSL). To satisfy DP, SPSSL typically adds noise to a normal semi-supervised learning only when processing private data points ( 3 ; 57 ) . Note that D_{t}^{\prime} satisfies Definition 2.3 in this training process, thereby regarded as public data. Consequently, since the output model M1+M2 satisfies DP, by Proposition 2.2 , we may share the trained model or synthetic data generated from it with third-party researchers. Now that we shared the data, we move on to Step 2 if there is cycle t+1 . Step 2 Update M1 . For some n , let {\mathcal{X}}_{t}^{\prime}=\{\bm{x}_{i}^{\prime}\}_{i=1}^{n} be synthetic features generated by the M1+M2 stacked mode just trained. It should be noted that {\mathcal{X}}_{t}^{\prime} can be treated as public for cycle t+1 by Proposition 2.2 and Definition 2.3 . We expect that teaching the private knowledge contained in {\mathcal{X}}_{t}^{\prime} to M1 will improve the prior for the subsequent cycles. Therefore, we update M1 using {\mathcal{X}}_{t}^{\prime} . Note that simply fine-tuning M1 on {\mathcal{X}}_{t}^{\prime} would result in catastrophic forgetting of previous training data that contain potentially useful information for the subsequent cycles ( 18 ) . Hence we employ the approach of continual learning ( 74 ) . Now that the M1 is updated, we go back to Step 1 with t\leftarrow t+1 . Figure 1 . Overview of the proposed CAPS framework. D_{t} are private datasets for cycles t=1,2,\dots which we wish to share with third parties. The generative model M1+M2 is trained by semi-private semi-supervised learning (SPSSL) to share the synthetic data or the model itself under DP guarantee. A diagram of the CAPS framework shows step 0, 1, and 2 for cycle 1 and continues to step 1 of cycle 2. 3. Case study: materials and methods In this section we instantiate the proposed CAPS framework with actual educational RWD as a case study. We focus on learning habits study as an example LA research ( 67 ; 32 ; 63 ) . There has been evidence that forming a habit of learning—defined as a repetitive behaviour in the context of learning ( 75 ) —has a significant effect on learning such as academic achievement ( 67 ) and productivity ( 33 ) . Since learning habits data may allow for inferring daily routines of individual learners, it is very sensitive and individual privacy should be carefully protected when data are shared with third parties. In this case study, we particularly focus on K-12 context. As learning habits study typically involves longitudinal data collection and it is especially challenging to obtain large samples in K-12 context, this gives rise to the small-sample and high-dimensionality issues. 3.1. Materials 3.1.1. Context RWD was obtained from a Japanese lower-secondary school over three years (2022-2024). In the 7th-grade mathematics class of the school, students have a short practice test every week to check the understanding of learning contents. The topic of each weekly test is announced beforehand and corresponding learning materials are given to the students on an e-book platform called BookRoll ( 53 ) . The BookRoll system allows for collecting log data of students’ interactions with the materials in the xAPI format, and the collected data are stored in learning record store (LRS). The materials are not mandatory assignments, but students are encouraged to use them to prepare for the weekly tests. To help students’ self-directed learning, the goal-oriented active learning (GOAL) system ( 42 ) has been deployed at the school, on which students can manually enter weekly test scores by themselves and also monitor their own activity records such as time spent on studying. 3.1.2. Data For each year, we extracted from the LRS log data of the 7th-grade students’ interactions with the practice materials over 17 weeks, corresponding to one semester of the school. Additionally, end-of-semester exam scores of mathematics were obtained. We only included to the datasets those who have at least one log record on the learning materials during these periods. As a result, the datasets contain log data (features) and exam scores (labels) for 105, 111 and 115 students for years 2022, 2023 and 2024, respectively. Although CAPS supports distinct label spaces, we retain identical ones across the three datasets for consistent evaluation. 3.1.3. Pre-processing Now we wish to train generative models for these datasets. However, using raw log data with granular timestamps and several features is infeasible, especially for such small samples due to the significant signal-to-noise ratio. Though in practice it is often convenient to keep the data close to the raw form with minimum feature engineering so that third-party researchers could conduct a wider range of analyses, some pre-processing would be necessary for feasible private synthesis. Indeed in this case study, we conduct extensive feature engineering to simplify the settings. An important form of data in LA is time series, as it allows for exploring temporal changes within individuals and personalising learning ( 65 ) . Following the prior work by Hsu et al. ( 33 ; 34 ) , we first estimate time-on-task for each hour as the difference between the first and the last log record within the one-hour time window. Then these are aggregated into four time frames of the day categorised by Ricker et al. ( 63 ) : morning (05:00-11:59), afternoon (12:00-16:59), evening (17:00-23:59) and overnight (00:00-05:00). To further simplify data, we aggregate time-on-task of each weak for each time frame into three engagement classes: inactive (zero minutes), active (1 to 15 minutes) and dedicated (over 15 minutes). As a result, we have time series with four features (morning, afternoon, evening and overnight) over 17 timestamps (weeks) for each student, where each entry is one of the three engagement classes. Additionally, we also discretise exam scores by binning them into three academic achievement classes: low, middle and high. Linear interpolation was used to estimate the one-third and two-third quantiles. The class sizes are roughly uniform, but not exactly even across all datasets since we avoid splitting ties at bin edges. 3.2. Applying the CAPS framework 3.2.1. Step 0: pre-train M1 Since public data applicable to our setting is not available, we utilise large language models (LLMs) to simulate realistic data that match the schema of the private data and use the generated data as surrogate public data ( 29 ) . Building on the approach of Hod et al. ( 29 ) , we developed a prompt to generate a Python script to simulate learning habits time series with the same schema of our datasets. Then the prompt is fed to Gemini-2.5-pro , GPT-o3 and GPT-o4-mini-high to generate ten scripts for the first and five scripts for each of the latter models 1 1 1 The prompt, generated scripts and source code for the subsequent experiments are available at https://github.com/hibiki-i/CAPS . Each script is run to generate 10,000 examples, summing up to 200,000 examples in total. Finally, 100,000 data points are sampled from this pool uniformly at random to form our surrogate public dataset {\mathcal{X}}_{\mathrm{pub}} . Following Kingma et al. ( 39 ) , the posterior for M1—of which the exact distribution is intractable—is approximated as follows: (8) \quad p_{\bm{\theta}_{1}}(\bm{z}_{1}\mid\bm{x})\approx q_{\bm{\phi}_{1}}(\bm{z}_{1}\mid\bm{x})={\mathcal{N}}(\bm{z}_{1};\bm{\mu}_{\bm{\phi}_{1}}(\bm{x}),\mathrm{diag}(\bm{\sigma}_{\bm{\phi}_{1}}(\bm{x})^{2})), where \bm{z}_{1} is a 16 dimensional latent variable. We instantiate an M1 model by using 1D convolutional layers for the encoder \bm{\phi}_{1} and decoder \bm{\theta}_{1} with ReLU activation based on the prior work by Desai et al. ( 13 ) . To train M1, we employ \beta -VAE ( 28 ) : (9) \min_{\bm{\theta}_{1},\bm{\phi}_{1}}-{\mathbb{E}}_{q_{\bm{\phi}_{1}}(\bm{z}_{1}\mid\bm{x})}\left[\log p_{\bm{\theta}_{1}}(\bm{x}\mid\bm{z}_{1})\right]+\beta_{1}\mathrm{KL}\left(q_{\bm{\phi}_{1}}(\bm{z}_{1}\mid\bm{x})\parallel p_{\bm{\theta}_{1}}(\bm{z}_{1})\right). This helps avoid vanishing the KL term, a common issue known as posterior collapse ( 72 ) , and disentangle latent representations ( 10 ) . We set \beta_{1}=10^{-3} throughout our experiments. Moreover, for both M1 and M2, cyclical \beta -annealing ( 19 ) is implemented to improve training. 3.2.2. Step 1: train M2 for cycle t We first prepare an unlabelled dataset D_{t}^{\prime} consisting of 10,000 points generated from the pre-trained M1. Then for M2 we use a standard VAE with the encoder and decoder being fully connected neural networks with ReLU activation and add a linear classifier for classifying \bm{z}_{1} as in Kingam et al. ( 39 ) : (10) \displaystyle\quad p_{\bm{\theta}_{2}}(\bm{z}_{2}\mid y,\bm{z}_{1}) \displaystyle\approx q_{\bm{\phi}_{2}}(\bm{z}_{2}\mid y,\bm{z}_{1}) (11) \displaystyle={\mathcal{N}}(\bm{z}_{2};\bm{\mu}_{\bm{\phi}_{2}}(y,\bm{z}_{1}),\mathrm{diag}(\bm{\sigma}_{\bm{\phi}_{2}}(y,\bm{z}_{1})^{2})), (12) \displaystyle\quad p_{\bm{\theta}_{2}}(y\mid\bm{z}_{1}) \displaystyle\approx q_{\bm{\phi}_{2}}(y\mid\bm{z}_{1})=\mathrm{Cat}(y\mid\bm{\pi}_{\bm{\phi}_{2}}(\bm{z}_{1})), where \bm{z}_{2} is a 4 dimensional latent variable. See Appendix A for the details of the model architecture. To train M2, we have different loss functions for labelled and unlabelled data points: (13) \displaystyle\begin{aligned} \text{Labelled:}\quad{\mathcal{L}}(\bm{z}_{1},y)=-{\mathbb{E}}_{q_{\bm{\phi}_{2}}(\bm{z}_{2}\mid y,\bm{z}_{1})}\left[\log p_{\bm{\theta}_{2}}(\bm{z}_{1}\mid y,\bm{z}_{2})\right]+\\ \beta_{2}\mathrm{KL}\left(q_{\bm{\phi}_{2}}(\bm{z}_{2}\mid y,\bm{z}_{1})\parallel p_{\bm{\theta}_{2}}(\bm{z}_{2})\right)\end{aligned} (14) \displaystyle\begin{aligned} \text{Unlabelled:}\quad{\mathcal{U}}_{t}(\bm{z}_{1})=\sum_{y\in{\mathbb{Y}}_{t}}q_{\bm{\phi}_{2}}(y\mid\bm{z}_{1}){\mathcal{L}}(\bm{z}_{1},y)+{\mathcal{H}}(q_{\bm{\phi}_{2}}(y\mid\bm{z}_{1})),\end{aligned} where {\mathcal{H}} denotes the Shannon entropy and we assume that the prior of the label space {\mathbb{Y}}_{t} is a uniform distribution in our case. As recommended by Kingma et al. ( 39 ) , we include a classification loss of q_{\bm{\phi}_{2}}(y\mid\bm{z}_{1}) , so the objective of M1 becomes for some \alpha : (15) \min_{\bm{\theta}_{2},\bm{\phi}_{2}}\sum_{(\bm{x},y)\in D_{t}}{\mathcal{L}}(\mathrm{M1}(\bm{x}),y)+\sum_{\bm{x}\in D_{t}^{\prime}}{\mathcal{U}}_{t}(\mathrm{M1}(\bm{x}))\\ +\alpha{\mathbb{E}}_{(\bm{x},y)\in D_{t}}\left[-\log q_{\bm{\phi}_{2}}(y\mid\mathrm{M1}(\bm{x}))\right], where \mathrm{M1}(\bm{x})=\bm{z}_{1} denotes the latent features inferred by the frozen M1. We set \alpha=1 and \beta_{2}=10^{-3} throughout the experiments. We also perform hyperparameter optimisation once for training M1 and M2 using Optuna ( 2 ) , and the same hyperparameters are used in all stages (see Appendix A for more details). We implement SPSSL based on the DP stochastic gradient descent (DP-SGD) mechanism ( 1 ) using the Opacus library ( 76 ) . Specifically, we use the Adam optimiser ( 38 ) instead of the standard SGD as recent research suggests that DP-Adam performs better than DP-SGD for VAE ( 24 ) . The SPSSL algorithm is described Algorithm 1 . Algorithm 1 Semi-private semi-supervised Adam for training M2 0: Unlabelled public dataset D_{t}^{\prime} and labelled private dataset D_{t} of size N_{\mathrm{priv}} for cycle t , private batch size B_{\mathrm{priv}} , public batch size B^{\mathrm{pub}} , step count K , clipping norm C , noise multiplier \sigma , learning rate \gamma , decay rates \rho_{1},\rho_{2} , stability constant \epsilon 1: \Theta_{0}\leftarrow 0 {initialise parameters} 2: \bm{m}_{0}\leftarrow 0 {first moment}; \bm{v}_{0}\leftarrow 0 {second moment} 3: for k=1,\dots,K do 4: Take a private mini-batch B_{k}^{\mathrm{priv}} from D_{t} with sample rate B^{\mathrm{priv}}/N_{\mathrm{priv}} 5: Calculate per-example gradients \tilde{\bm{g}}_{k,j}^{\mathrm{priv}} for each (\bm{x}_{j}^{\mathrm{priv}},y_{j}^{\mathrm{priv}})\in B_{k}^{\mathrm{priv}} 6: \bar{\bm{g}}_{k,j}^{\mathrm{priv}}\leftarrow\bm{g}_{k,j}^{\mathrm{priv}}/\max(1,\ \|\bm{g}_{k,j}^{\mathrm{priv}}\|_{2}/C) {Clip gradients} 7: \tilde{\bm{g}}_{k}^{\mathrm{priv}}\leftarrow\frac{1}{B^{\mathrm{priv}}}\left(\sum_{j}\bar{\bm{g}}_{k,j}^{\mathrm{priv}}+{\mathcal{N}}(0,\sigma^{2}C^{2}I)\right) {Add Gaussian noise} 8: Take a public mini-batch B_{k}^{\mathrm{pub}} of size B^{\mathrm{pub}} from D_{t}^{\prime} at random 9: Calculate the gradient \bm{g}_{k}^{\mathrm{pub}} for B_{k}^{\mathrm{pub}} 10: \bm{g}_{k}\leftarrow\tilde{\bm{g}}_{k}^{\mathrm{priv}}+\bm{g}_{k}^{\mathrm{pub}} 11: \bm{m}_{k}\leftarrow\rho_{1}\bm{m}_{k-1}+(1-\rho_{1})\bm{g}_{k};\;\bm{v}_{k}\leftarrow\rho_{2}\bm{v}_{k-1}+(1-\rho_{2})\bm{g}_{k}^{2} 12: \widehat{\bm{m}_{k}}\leftarrow\bm{m}_{k}/(1-\rho_{1}^{k});\;\widehat{\bm{v}_{k}}\leftarrow\bm{v}_{k}/(1-\rho_{2}^{k}) 13: \Theta_{k}\leftarrow\Theta_{k-1}-\gamma\widehat{\bm{m}_{k}}/(\sqrt{\widehat{\bm{v}_{k}}}+\epsilon) 14: end for 3.2.3. Step 2: update M1 We employ the generative replay method ( 66 ) , a simple yet powerful continual learning technique, for updating M1. Specifically, 10,000 unlabelled data points are generated from each of the M1+M2 stacked model and the M1 pre-trained (i.e. the replay ratio is 0.5). Then the M1 is trained on these data randomly mixed by the non-DP Adam optimiser. 4. Case study: results 4.1. Privacy accounting We used Rènyi DP (RDP) ( 50 ) , a stable and established method for privacy accounting, to calculate sufficient noise multipliers for target DP guarantee. In addition, we also report accounting results by Gaussian DP (GDP) ( 14 ) based on recent recommendation by Gomez et al. ( 22 ) . We do not account for privacy loss from hyperparameter optimisation, following a convention in prior DP research ( 69 ; 12 ) . In Table 1 , \mu is the parameter of GDP, and \varepsilon is calculated by setting \delta=10^{-3} . Regret \Delta is a metric that quantifies the fit of GDP to the full privacy profile ( 36 ) , and \Delta<10^{-2} is considered to well capture the privacy guarantee ( 22 ) , which is satisfied in all of our cases. Since noise multipliers are calculated through RDP for target ( \varepsilon,\delta ), the accounting results show that the amount of noise may be too pessimistic for the privacy guarantee. Table 1 . Privacy accounting results. \mu is the parameter of GDP, and \Delta (regret) quantifies the fit of GDP to the full privacy profile. \varepsilon (RDP) \varepsilon (GDP) \mu \Delta (regret) 1.0 0.83 0.35 0.43\cdot 10^{-2} 2.0 1.75 0.63 0.24\cdot 10^{-2} 4.0 3.49 1.12 0.96\cdot 10^{-2} 4.2. Utility of generative models To evaluate the utility of the generative models in downstream tasks, we employ academic achievement prediction performance as an indicator in this case study. Note that, instead of training a classification model on synthetic data, we may use M2’s classification functionality given by q_{\bm{\phi}_{2}}(y\mid\bm{z}_{1}) . To increase the number of samples, in addition to the real chronological order ( 2022\rightarrow 2023\rightarrow 2024 ), we included mock orders (e.g. 2024\rightarrow 2023\rightarrow 2022 ) and ran each experiment over 5 random seeds, summing up to 3!\cdot 5=30 total runs. Figure 2 shows test balanced accuracy and mean absolute error. For example, test data for the classifier trained on the data of year 2022 consist of the data of year 2023 and 2024. We observe that performance is mostly increasing over cycles for both metrics. This indicates that CAPS effectively adapt the model over cycles, outperforming the one-shot baseline (i.e. the initial cycle). Nonetheless, it should be noted that, as the baseline accuracy of the random guess classifier is 1/3 , none of the models exhibit practically feasible performance. Indeed, unclear privacy-utility trade-off and larger uncertainty confirm the inherent difficulty in predicting academic achievement from learning habits. Line plots show the balanced accuracy (y-axis) over three cycles (x-axis) for epsilons 1.0, 2.0, 4.0 and infinity. They are slightly increasing over cycles. (a) Balanced accuracy Line plots show the balanced accuracy (y-axis) over three cycles (x-axis) for epsilons 1.0, 2.0, 4.0 and infinity. They are slightly increasing over cycles. Line plots show the mean absolute error (y-axis) over three cycles (x-axis) for epsilons 1.0, 2.0, 4.0 and infinity. They are slightly decreasing over cycles. (b) Mean absolute error (MAE) Line plots show the mean absolute error (y-axis) over three cycles (x-axis) for epsilons 1.0, 2.0, 4.0 and infinity. They are slightly decreasing over cycles. Figure 2 . Performance of generative models in academic achievement prediction for different privacy parameters and cycles within the CAPS framework. The shaded areas indicate 95% confidence intervals. \varepsilon=\infty is the non-DP baseline. 4.3. Quality of synthetic data To complement the above utility assessment, we evaluate the quality of generated data. While there are a growing number of metrics for evaluating the quality of synthetic data such as fidelity and diversity ( 68 ) , Räisä et al. ( 60 ) recently demonstrated that those metrics currently available are not consistent across different occasions and potentially provide misleading pictures. Thus, in the following we only rely on general statistical divergence metrics, and the results should be seen as one indicator among others that give nuanced understanding of generated data quality, leaving more rigorous real-world assessment for future work. In particular, we define the following average Jensen-Shannon (AJS) divergence similarly to prior works ( 68 ; 43 ; 55 ) . For each time series \bm{x} of 4 features (morning, afternoon, evening and overnight), let f(\bm{x}) be a 4\cdot 4=16 dimensional vector containing the median, mean, standard deviation and entropy of each feature. Then the AJS divergence between a real dataset D_{t} and a synthetic dataset D_{t}^{\mathrm{syn}} for cycle t is given as (16) \displaystyle\mathrm{AJS}(D_{t},D_{t}^{\mathrm{syn}})= \displaystyle\frac{1}{3}\sum_{c=1}^{3}\left(\frac{1}{16}\sum_{h=1}^{16}\mathrm{JS}(\widehat{P}_{t,c}^{(h)},\widehat{Q}_{t,c}^{(h)})\right) (17) \displaystyle\widehat{P}_{t,c}^{(h)}= \displaystyle\left\{f_{h}(\mathbf{x})\mid(\mathbf{x},y)\in D_{t}y=c\right\}, (18) \displaystyle\widehat{Q}_{t,c}^{(h)}= \displaystyle\left\{f_{h}(\mathbf{x})\mid(\mathbf{x},y)\in D_{t}^{\mathrm{syn}},y=c\right\}. where \mathrm{JS} denotes Jensen-Shannon divergence between two empirical distributions, f_{h}(\bm{x}) is the h -th dimension of the vector f(\bm{x}) and c=1,2,3 are the academic achievement classes. Figure 3 shows the AJS divergence between real and reconstructed data ( Figure 3(a) ) as well as between real and synthetic data conditionally generated from prior samples (\bm{z}_{2},y) ( Figure 3(b) ). We observe that the AJS divergence for reconstruction clearly decreases over cycles in our CAPS framework, while conditional generation is slightly degrading over cycles as the divergence is growing. The former result is expected and confirms the effectiveness the CAPS framework in terms of learning the statical properties of real data over cycles, while the latter contradicts our hypothesis that the quality of private synthesis iteratively improves. This seems to suggest that some bias in the one-shot setting of the first cycle is amplified in the subsequent cycles. The bias might come from LLM-generated training data or/and the training algorithm. Moreover, this bias is larger for stronger DP protection (smaller \epsilon ). A potential explanation is that the mismatch between the prior p_{\bm{\theta}_{2}}(\bm{z}_{2}) and the variational posterior q_{\bm{\phi}_{2}}(\bm{z}_{2}) of M1 at cycle 1 causes this issue ( 30 ) . This mismatch would introduce some bias in {\mathcal{X}}_{1}^{\prime} which is used for updating M1. Then the updated M1 generates biased D_{1}^{\prime} used to train M2 at cycle 2. Since smaller \epsilon adds more noise to learning from private data, at cycle 2, M2 learns more signal from the biased D_{1}^{\prime} , potentially proliferating the posterior-prior mismatch. While this is a tentative, hypothetical explanation, we term this phenomenon as compounding bias effect and leave more thorough investigation for future work. Line plots show the AJS divergence (y-axis) over three cycles (x-axis) for epsilons 1.0, 2.0, 4.0 and infinity. They are all slightly decreasing. (a) Reconstruction Line plots show the AJS divergence (y-axis) over three cycles (x-axis) for epsilons 1.0, 2.0, 4.0 and infinity. They are all slightly decreasing. Line plots show the AJS divergence (y-axis) over three cycles (x-axis) for epsilon 1.0, 2.0, 4.0 and infinity. They are slightly increasing over cycles for, especially for smaller epsilons. (b) Generation from the prior Line plots show the AJS divergence (y-axis) over three cycles (x-axis) for epsilon 1.0, 2.0, 4.0 and infinity. They are slightly increasing over cycles for, especially for smaller epsilons. Figure 3 . AJS divergence defined in Equation 17 between real and synthetic data (a) reconstructed from the real data and (b) conditionally generated by sampling from the prior. The shaded areas indicate 95% confidence intervals. \varepsilon=\infty is the non-DP baseline. 5. Discussion and conclusion 5.1. Discussion Despite the growing amount of RWD in education, concerns over data privacy limit access and have hindered data sharing in LA research, undermining the practice of open science and the progress of LA. Although private synthesis is a promising approach to sharing sensitive data, its potential for RWD—often small in sample size and high in dimensionality—has been under-explored. Notably, since sharing educational RWD is a continual process rather than a one-off event, merely applying existing methods falls short. Thus it is imperative to consider the domain’s specific characteristics and employ them to adapt existing private synthesis techniques. The proposed CAPS framework advances this goal by drawing specifically on the iterative nature of educational practice. It not only customises private synthesis methods for educational contexts and extends the availability of RWD, but also enables DBR by cyclically providing LA researchers with RWD. While traditional control-group experiments such as randomised controlled trials offer reliable evidence, they are costly and often difficult to conduct because of ethical concerns in education ( 54 ) . Thus, DBR is essential for systematically improving educational practice while simultaneously supporting the discovery of RWE and theory development ( 5 ) . In particular, LA plays a pivotal role by providing practical solutions within DBR ( 61 ) . CAPS opens this landscape by iteratively sharing RWD in a privacy-preserving manner, thereby significantly increasing the impact of LA. We further evaluated CAPS using authentic RWD in education. Such evaluation is critical because open datasets, while readily available, rarely reflect the actual distributional characteristics of sensitive RWD. Similar concerns have been raised within the DP community, where there is growing recognition of the need to evaluate DP machine learning techniques on sensitive datasets rather than solely on public benchmarks ( 71 ) . As a result, our case study extends its contribution beyond LA, offering insights that advance the broader DP research agenda. The experimental results bring us several implications. First, we relied on plain RDP to determine required noise to satisfy pre-defined DP guarantees owing to the stability of the underlying software. As confirmed by our experiments, the standard RDP tends to overestimate privacy parameters for DP-SGD ( 14 ) . Since privacy accounting is a rapidly evolving research area, a careful choice is needed in deployment. In addition, it was demonstrated that the model utility improves over cycles in terms of downstream classification performance. This suggests that the model adapts to learn latent features for different classes over time, effectively leveraging the synthetic data from earlier cycles. The improvement in the model’s reconstruction capability further supports effective cyclic adaption. These findings suggest that CAPS effectively enables private synthesis in the context of iterative sharing of educational RWD, outperforming the traditional one-shot baseline. Nonetheless, academic achievement prediction from learning habits may not be a practically feasible downstream task, and the compounding bias effect observed in the quality assessment suggests the need for further investigation on potential challenges. Another important direction of subsequent research is real-world utility assessment of DP synthetic data. In this case study, we only considered limited utility and quality evaluation, relying on statistical measures. However, what practitioners care about most when using private synthesis is epistemic parity ( 64 ) . Namely, an essential practical concern is whether the findings from downstream analyses on DP synthetic data are replicable on real data. This must be assessed through real-world use cases of DP synthetic data, rather than statistical metrics alone. Nonetheless, real-world assessment of epistemic parity is lacking not only in LA but also in DP literature ( 64 ) . Consequently, research on privacy-preserving sharing of RWD should be advanced by developing real-world assessment methods alongside methodological exploration of private synthesis. This is particularly crucial for the development of LA infrastructures since DP-SGD introduces additional computational costs by calculating per-example gradients ( 59 ; 1 ) . Investing in such expensive LA infrastructures that enable private synthesis will be challenging without evidence of real-world utility. Finally, we must heed the caution over the use of large pre-trained models for DP tasks raised by Tramèr et al. ( 71 ) : large web-scraped data used for pre-training foundation models like LLMs contain personally identifiable information that was not intentionally shared for that purpose. The recent work by Hong et al. ( 31 ) also raises concerns about legal implications of using web-scraped data for foundation models. As discussed by Hod et al. ( 29 ) , the use of LLM-simulated data as surrogate public data assumes that the training data of the LLMs are public with respect to training a model on the private data in question. That is, our CAPS framework provides a DP guarantee only for RWD D_{t} , and LLM-simulated data are public with respect to private synthesis of D_{t} , necessarily assuming that they are non-sensitive. Since CAPS relies on public pre-training to handle the small-sample and high-dimensional RWD yet suitable public data are rarely available in education, careful ethical considerations are essential when using LLMs for CAPS. As the survey by Viberg et al. ( 73 ) shows that definitions of privacy widely vary—or are sometimes absent altogether—in the LA literature, further discussion of the meaning of privacy-preserving data sharing and its ethical implications is needed within LA. 5.2. Limitation An inherent assumption in CAPS is that the feature space remains identical, or at least similar, so that the pre-trained M1 can be shared with no or minimal architectural modification across cycles. This requires consistent data collection and feature engineering throughout those cycles. Our case study is also limited to a simplified setting of learning-habits RWD. While the small sample size used in the experiments is intentional, this introduces a lack of diversity in underlying distributions. The effectiveness of CAPS on other types of RWD and more diverse populations should be rigorously tested in future work. Additionally, the quality assessment of conditionally generated synthetic data from prior samples—which is typically shared—reveals a potential challenge of the compounding bias effect. While our metric is just one general indicator, this effect might influence downstream tasks on shared data in practice. We offered a tentative explanation of the phenomenon, but further research on understanding and mitigating it is needed. Particularly, since we often need to rely on LLM-generated data due to lack of public data, bias introduced by LLMs would require further investigation. For example, if the prior-posterior mismatch is the root cause, cyclic adaption of not only M1 but also the prior p(\bm{z}_{2}) would be worth exploring ( 30 ) . 5.3. Conclusion To address the lack of research on private synthesis of RWD in education, we proposed the CAPS framework and tested it on authentic RWD. Drawing on the iterative nature of educational practice, CAPS leverages public pre-training and cyclic adaption of a feature extractor, enabling iterative sharing of RWD in education. As a result, it advances the practice of open science in LA and provides rich opportunities for DBR, thereby significantly increasing the impact of LA. The case study demonstrated the framework’s effectiveness, though closer examination also revealed potential challenges that warrant further investigation. Overall, this paper takes an essential first step towards sharing RWD in education and thereby significantly increasing the impact of LA. Acknowledgements. This work was supported by CSTI SIP Grant Number JPJ012347 and JSPS KAKENHI Grant Numbers 23H00505, 25KJ1515. Appendix A Model architecture and hyperparameters For M1, both the encoder and decoder are 1D convolutional networks with two hidden layers of sizes 32 and 64. No hidden layers are set for M2. To mitigate overfitting, for both M1 and M2, dropout was implemented with probabilities 0.2 and 0.5 for the encoders and decoders, respectively. This also helps to avoid posterior collapse as strong decoders tend to ignore priors. Adam optimiser was used for training both M1 and M2 with decay rates \rho_{1}=0.9 and \rho_{2}=0.999 and constant \epsilon=10^{-8} . M1 was trained over 50 epochs. Other hyperparameters are optimised by tree-structured Parzen estimator (TPE) algorithm ( 7 ) for 20 trials within the ranges shown in Table 2 . For M2, hyperparameters optimisation was performed using data for year 2022 as a training set and data for 2023 as a holdout set. Table 2 . Ranges for hyperparameter optimisation M1 learning rate \gamma [10^{-5},10^{-2}] (log-scale) batch size [16,512] ( \text{step}=8 ) M2 learning rate \gamma [10^{-5},10^{-2}] (log-scale) public batch size B_{\mathrm{pub}} [16,512] ( \text{step}=8 ) private batch size B_{\mathrm{priv}} [1,|D_{t}|-1] ( \text{step}=1 ) epochs [1,100] ( \text{step}=1 ) clipping norm C [0.1,5.0] ( \text{step}=0.1 )