Term2Note: Privacy-Preserving Clinical Note Synthesis
- Term2Note is a novel methodology that decomposes long clinical notes into section-wise content and form to enable DP synthesis.
- It employs a staged pipeline with modules for rule-based section splitting, clinical term generation, and note synthesis enhanced by a DP quality maximizer.
- Empirical evaluations on MIMIC datasets demonstrate that Term2Note achieves high fidelity and downstream utility while maintaining strict privacy guarantees.
Searching arXiv for the Term2Note paper and closely related context. Term2Note is a methodology for synthesising full-length clinical notes under differential privacy by separating clinically salient content from document form, then generating section-wise text conditioned on medical terms and filtering candidate outputs with a DP quality maximizer (Wu et al., 13 Sep 2025). It is designed for the setting in which real clinical notes are difficult to share because of privacy leakage risk, yet downstream machine learning still requires training corpora with realistic statistical and semantic structure. The method addresses the particular difficulty of long-form clinical text generation, where notes may be thousands of tokens long, contain many specialised medical terms and abbreviations, and exhibit a challenging privacy-utility trade-off under strong DP constraints (Wu et al., 13 Sep 2025).
1. Problem formulation and design rationale
The Term2Note problem setting is the construction of a mechanism that maps a private dataset of clinical notes to a synthetic dataset satisfying -differential privacy (Wu et al., 13 Sep 2025). The paper adopts the standard definition
for neighboring datasets differing in one record and all measurable sets (Wu et al., 13 Sep 2025). It also explicitly relies on the standard DP facts of post-processing and parallel composition.
The motivation for the method is that clinical note synthesis under DP is substantially harder than short-text DP generation. The reasons given are threefold: long-form generation complexity, because notes are often thousands of tokens long and errors compound over long generation chains; domain specificity, because medically plausible text depends on specialised terminology and abbreviations; and the privacy-utility trade-off, because stronger DP noise harms semantic fidelity, term accuracy, and downstream usefulness (Wu et al., 13 Sep 2025). The paper further argues that existing DP text generation methods mostly target short, easy-to-model text such as reviews and are therefore not suitable for long clinical notes.
The central architectural decision is to separate content from form. In Term2Note, content is represented by section-wise clinical terms, while form is represented by the section-wise note structure and narrative realisation (Wu et al., 13 Sep 2025). This decomposition replaces direct end-to-end long-note generation with a staged procedure in which terms are extracted, optionally privatized, used to generate section-wise term content, then used again to condition section-wise note generation. This suggests that the method treats clinical notes not as monolithic sequences but as structured compositions whose semantic anchors can be handled separately from stylistic and discourse realisation.
2. Pipeline architecture
The paper describes four main modules: Format and Term Identification, Clinical Terms Generation, Clinical Note Generation, and DP Quality Maximizer (Wu et al., 13 Sep 2025). The overall workflow is summarized in Algorithm 1 of the paper.
| Module | Function | Key implementation detail |
|---|---|---|
| Format and Term Identification | Split notes and extract section-wise terms | Rule-based regex segmentation; QuickUMLS; SNOMED CT |
| Clinical Terms Generation | Reconstruct or synthesize term lists from embeddings | Public term dataset; for privatized embeddings |
| Clinical Note Generation | Generate each section conditioned on instruction, prior sections, and terms | FastDP training under |
| DP Quality Maximizer | Select best note among candidates | Perplexity-based post-processing |
The first stage applies
0
to split a private note into up to 1 standardized sections (Wu et al., 13 Sep 2025). The splitting is implemented with rule-based regex segmentation over common clinical section titles. The resulting sections are grouped into six broad categories: Patient Information, Clinical Course / History, Examinations / Findings, Laboratory / Imaging Results, Hospital Stay / Treatment, and Medications / Discharge Plan (Wu et al., 13 Sep 2025).
Term extraction then applies
2
using QuickUMLS, while keeping only concepts mapped to SNOMED CT (Wu et al., 13 Sep 2025). These section-wise term lists act as content anchors. This is an important distinction from the baselines described in the paper, which condition on ICD control codes rather than extracted section-wise clinical terms.
The term-generation stage is trained on a public dataset of clinical terms 3. The paper introduces an encoder 4, projection layer 5, and term generator 6, and defines
7
The synthetic terms are then sampled as
8
Because privatization is applied section by section, the term privacy budget is divided evenly across sections as 9 (Wu et al., 13 Sep 2025).
The note-generation stage synthesizes each section conditionally: 0 and assembles the full note as
1
The note generator is trained with FastDP under 2 (Wu et al., 13 Sep 2025). The conditioning term list 3 may be either the original extracted terms 4 or the privatized synthetic terms 5, yielding the paper’s distinction between partial privacy and full privacy.
3. Differential privacy mechanisms and guarantees
A notable technical component of Term2Note is the optional term-level privacy mechanism 6, which adapts DPRP (Differentially Private Random Projections) to term embeddings (Wu et al., 13 Sep 2025). The appendix pseudocode splits the privacy budget into
7
then adds Gaussian noise both to embeddings and to covariance: 8
9
After this, the method performs
0
keeps the top 1 components,
2
and reconstructs privatized embeddings as
3
The paper states that this yields DP term embeddings that preserve enough semantic structure to support generation (Wu et al., 13 Sep 2025).
The privacy guarantee of the full pipeline is summarized as
4
Thus, if only the note generator is private, the system is 5-DP; if both the term generator and note generator are private, the total guarantee follows from parallel composition plus post-processing and becomes 6-DP (Wu et al., 13 Sep 2025).
The DP quality maximizer is used only at inference time. The system generates 7 candidate notes,
8
scores them by perplexity,
9
and selects
0
Because this step is described as pure post-processing, it does not alter the DP guarantee (Wu et al., 13 Sep 2025). The paper also reports that simpler reference-free metrics were explored, and that maximum sentence character length aligned best with human judgments in some ablations.
4. Experimental setting and evaluation protocol
The experimental study uses the MIMIC family of datasets. MIMIC-III serves as the public dataset for training the term generator, while MIMIC-IV notes are used as the private dataset for training the note generator; evaluation is conducted on a held-out SNOMED-annotated subset from MIMIC-IV (Wu et al., 13 Sep 2025). After filtering, the dataset sizes are approximately 1 notes, 2 notes, and 3 notes, with average note lengths roughly 4–5 tokens.
The evaluated privacy settings are
6
where 7 is the private dataset size (Wu et al., 13 Sep 2025). The paper lists the model stack as follows: MedEmbed-large for term embeddings, GPT2-Large for term generation, Llama-3.2-1B or Gemma-3-1B for note generation, and Asclepius-Llama3-8B as the perplexity scorer.
Two baselines are used. AUG-PE is described as a private-evaluation-based text synthesis method adapted to clinical notes using ICD control codes, and FastDP is a DP-SGD / FastDP fine-tuning baseline also conditioned on ICD codes (Wu et al., 13 Sep 2025). The comparison is therefore not only between privacy mechanisms but also between two conditioning paradigms: coarse label control via ICD codes and section-wise term conditioning via extracted medical terms.
Evaluation is divided into fidelity, utility, and human evaluation. Fidelity metrics are Length KL divergence, Unary/binary clinical term Jaccard similarity, KL divergence over unary and binary term distributions, and MAUVE (Wu et al., 13 Sep 2025). Utility is assessed through multi-label ICD code prediction over 20 chapter-level ICD groups from discharge notes, using Micro F1, Macro F1, Micro AUC, Macro AUC, and Precision@k for 8 (Wu et al., 13 Sep 2025). Human evaluation is based on pairwise comparisons by three licensed physicians, with rankings fit by a Bradley–Terry model.
The paper emphasizes the utility experiment as a direct test of whether the synthetic notes preserve clinically actionable information, rather than merely superficial plausibility (Wu et al., 13 Sep 2025). This is especially relevant because the method is intended to preserve semantically meaningful content while providing formal privacy guarantees.
5. Empirical results
Term2Note is reported to consistently give the best fidelity among DP methods (Wu et al., 13 Sep 2025). The paper reports Length KL divergence as low as 0.15–0.25, the best or near-best term overlap scores, and the best MAUVE scores among DP methods, up to around 0.59 on Llama-3.2-1B in the main table and up to 0.80 in Gemma settings without note privacy (Wu et al., 13 Sep 2025). A specific observation is that Term2Note preserves note length distributions much better than the baselines, which often generate notes that are too short.
For downstream ICD prediction, Term2Note is generally described as the best DP method across privacy settings (Wu et al., 13 Sep 2025). At 9, Term2Note with private terms achieved approximately Micro F1: 49.71, Macro F1: 21.28, Micro AUC: 80.03, and Macro AUC: 52.80 (Wu et al., 13 Sep 2025). The real-data upper bound reported in the paper is Micro F1 57.03, Macro F1 30.80, Micro AUC 82.01, and Macro AUC 58.88. The synthetic notes therefore remain below real data but are described as meaningfully close to it.
Compared with AUG-PE and FastDP, Term2Note is said to achieve substantial improvements in both fidelity and utility while operating under fewer assumptions (Wu et al., 13 Sep 2025). The baseline distinction matters: both baselines use ICD control codes rather than section-wise clinical terms, so the reported gains are associated not only with DP optimisation but also with the content/form decomposition of the synthesis task.
In human evaluation, physicians preferred Term2Note over AUG-PE by a large margin, with a Term2Note win rate of about 52.2%–53.5% and an AUG-PE win rate of about 12.4% (Wu et al., 13 Sep 2025). The paper also reports that imposing full privacy on terms has only a marginal impact on human preference. This suggests that the term privatization layer can be added without severely degrading perceived clinical plausibility.
A recurring experimental theme is the comparison between note-only privacy and full privacy. The reported main takeaway is that full privacy slightly reduces fidelity and utility in some settings, but the drop is often modest, and the method remains substantially better than baselines even under stronger privacy constraints (Wu et al., 13 Sep 2025).
6. Scope, limitations, and significance
The paper identifies several assumptions underlying the method. It assumes that notes can be reliably segmented into sections, that clinical terms can be extracted with QuickUMLS/SNOMED CT, that public term corpora are available for pretraining the term generator, and that DP guarantees are meaningful at the note and term generation levels (Wu et al., 13 Sep 2025).
It also explicitly lists limitations. Some outputs still exhibit missing or misordered sections. Clinical accuracy issues remain, including inconsistent medications, vague phrasing, and occasional reasoning errors (Wu et al., 13 Sep 2025). Under stronger privacy settings, repetition increases. The evaluation is limited to MIMIC discharge notes and ICD prediction, privacy evaluation is described as preliminary, and the DP quality maximizer is characterized as simple and potentially improvable with better reference-free filters (Wu et al., 13 Sep 2025).
Within the paper’s own framing, the main contributions are sixfold: a new task formulation as the first work to study full-length clinical note synthesis under DP; a content/form decomposition based on section-wise generation conditioned on medical terms; a term-level privacy mechanism via 0; a privacy-preserving generation pipeline combining DP note generation with FastDP and parallel-composition guarantees; a DP quality maximizer based on post-processing selection via perplexity; and strong empirical results in fidelity, utility, and human preference relative to DP baselines (Wu et al., 13 Sep 2025).
In broader methodological terms, Term2Note occupies a specific niche within privacy-preserving clinical NLP: it is not simply a DP fine-tuning scheme for generic language generation, but a structured synthesis pipeline tailored to long clinical narratives and grounded in section-wise medical concepts (Wu et al., 13 Sep 2025). A plausible implication is that its main significance lies in making long-form DP generation tractable by imposing document structure and medically salient intermediate representations. The paper further suggests practical relevance for institutions that need synthetic notes for training or evaluation when real notes cannot be shared, while still requiring formal privacy guarantees.
7. Conceptual interpretation within privacy-preserving clinical NLP
Term2Note can be understood as an instance of structured text synthesis in which latent document organisation is externalized into explicit intermediate objects: standardized sections, section-wise medical terms, and candidate-level quality scores (Wu et al., 13 Sep 2025). The method’s key claim is not merely that synthetic notes can be made private, but that the clinical note synthesis problem becomes more manageable and more faithful when decomposed into section-specific subproblems.
The contrast with ICD-code-conditioned baselines is central. The paper argues that conditioning on high-level labels only can produce outputs that are too coarse or unrealistic, whereas extracted section-wise clinical terms provide finer-grained semantic anchors (Wu et al., 13 Sep 2025). This suggests that the method’s gains arise from aligning the control signal with the internal discourse structure of clinical notes rather than from DP machinery alone.
At the same time, the paper does not present Term2Note as eliminating the privacy-utility tension. Instead, it presents a configuration in which formal privacy, structural fidelity, semantic realism, and downstream utility are jointly optimized more effectively than in the evaluated baselines (Wu et al., 13 Sep 2025). The remaining issues—section ordering failures, clinical inconsistencies, and only preliminary privacy evaluation—indicate that the method is best viewed as a technically specific step in privacy-preserving clinical text generation rather than a complete resolution of the problem.