LusoClin: Synthetic Clinical Notes for Low-Resource Medical Retrieval
This synthetic note set can stand in for the vocabulary and term distribution of real Portuguese records, not for a patient's timeline; it tests realism, distribution and privacy but never retrieval, so sign it as pretraining text, not a retrieval benchmark.
On this page
54,518 synthetic notes sit on your desk, and the purchase order waits, but not one real record can leave the building. You work in a hospital's information office, sourcing text for a system that takes one sentence and finds the relevant records. The vendor says these notes are ready for training. You have a week to answer. Most people count the files, then read a few to see if they sound like a doctor wrote them. Neither step is enough: this set has no patients, no timeline, and the paper never ran the search.
The Hospital Cannot Export Its Notes, So It Buys 54,518 Fakes
Note search and cohort screening look like two jobs, but the move is the same: give the system a description and have it pull matching records. Cohort screening is the concrete version: 'find people diagnosed with a condition and put on a drug in the past year' [1]. The work needs real text. Privacy rules keep it in place, and low-resource languages suffer most [1]. European Portuguese has almost no public clinical text, though Brazilian Portuguese has some [1].
Synthetic data is computer-generated data used to augment or replace real data [1]. This paper fine-tunes Llama 3.2, the 3-billion-parameter instruction variant, on Portuguese clinical text and generates notes from prompts [1]. The goal is not to write convincingly, but to give a place without real notes something to build and test retrieval on.
That goal splits into four tests, and the paper uses all four: utility, fidelity, diversity, and privacy [1]. Utility asks whether a downstream task improves. Fidelity asks whether the text is medically correct and coherent. Diversity asks whether it covers clinical variation. Privacy asks whether a note can be traced to a person [1]. The four pull against each other, which is the old problem with synthetic data [1]. The one a buyer overlooks is utility: here it rests on a retrieval task the paper never runs.
100,000 Generated, 54,518 Delivered: What Was Cut
The sources are two public Portuguese clinical sets. SemClinBr has 1,000 Brazilian Portuguese notes in four types (admission, ambulatory, discharge, nursing) with 87 semantic entity types. CLINpt has 281 European Portuguese neurology cases with manually annotated named entities [1]. Both are anonymized.
The generation settings are specific: 10 sentences, 130 words, one paragraph, temperature 0.6, up to four examples. Fine-tuning uses QLoRA, a learning rate of 3e-3, weight decay 0.01, four epochs, batch size 4, on one RTX 3090 [1]. Full generation took 17 days, 20 hours, 50 minutes, and 44 seconds, producing 100,000 notes, 25,000 per type [1].
Filtering decides the delivered count. Keyword rules remove instruction-like text and transcripts, leaving 98,571 [1]. A classifier labels each note European or Brazilian; on the first pass only 31,525, about 32%, came out European [1]. The authors reviewed the 1,000 most discriminative terms, replaced Brazilian usages, and edited 71,381 notes, raising the European count to 56,079, about 57% [1]. Diacritics were repaired in 60,590 notes; 6 with no Portuguese and 2,362 that echoed the prompt were removed [1]. Keeping only European left 54,518 [1].
| Stage | Count | What happened |
|---|---|---|
| Generated | 100,000 | 25,000 per note type |
| First post-processing | 98,571 | Removed instruction-like and transcript text |
| Before variant repair | 31,525 European | About 32% of 98,564 |
| After Brazilian-term edits | 56,079 European | 71,381 notes edited |
| Delivered | 54,518 | European Portuguese only |
The four types are uneven: 14,253 admission notes, 13,561 ambulatory, 9,032 discharge summaries, and 17,672 nursing [1]. Discharge summaries are the smallest, and they are often what cohort screening needs most. If your retrieval work leans on them, check the mix first.
Does It Read Real? Humans Could Not Tell, Machines Could Measure
The evaluation has two layers. Medical students and doctors at the University of Porto judged notes as real or synthetic on a web app between 15 May and 2 June 2025, with up to two independent reviews per note [1]. They collected 149 evaluations of 78 notes, 71 with two reviews [1]. Cohen's kappa was -0.04, no agreement [1]. The analysis keeps only the 41 notes with concordant verdicts [1].
The result is counterintuitive. Among those 41, only 9% of LusoClin notes were judged real, but 67% of real SemClinBr notes were judged synthetic [1]. The reviewers were strict enough to reject real records. The authors read this as unstable human evaluation [1]. Fair, but 9% is not a quality score; it is closer to 'these reviewers doubted everything'.
The stated defects, by how often the justification appeared: feels synthetic 7 times, medical errors 7, missing key information 6, nonsensical 5, contains metadata 4, repetitive 3, structure or grammar 3, unusual terminology 3, Brazilian words 2, non-existent medical term 1 [1]. That list is usable as an acceptance taxonomy.
| Metric | LusoClin | SemClinBr (real) | How to read it |
|---|---|---|---|
| Perplexity, GlorIA | 68.32 | 82.57 | Lower means easier for a language model |
| Perplexity, Cabrita | 29.44 | 37.31 | Same direction |
| Mean entity-distribution gap | 3.71% | baseline | Average across eight entity types |
| CMD | 0.395 | English baseline | Lower means closer distributions |
| Within-set cosine | 0.091 | 0.137 | Lower means less repetition |
| Cross-set cosine | 0.052 | not applicable | Below the 0.5 privacy threshold |
| Cross-set Hausdorff | 1.272 | not applicable | Above the 1 privacy threshold |
Lower perplexity means the text is easier to predict, which the authors treat as a sign of medical coherence [1]. The 3.71% gap says the eight entity types appear at similar frequencies [1]. CMD is 0.395, below the cited English baseline, read as limited shift [1]. Within-set cosine is 0.091 against 0.137, so the synthetic set repeats less [1]. Cross-set cosine is 0.052 and Hausdorff 1.272, beyond the cited 0.5 and 1 privacy thresholds [1].
One gap has to be stated. The paper runs no retrieval test: no query set, no relevance labels, no Recall@k, nDCG, or MAP. The abstract says the data can support clinical document retrieval and domain adaptation [1]. That is judgement, not result. Realistic text, matching entity frequencies, and a privacy distance do not add up to retrieval quality.
Seven Questions Before You Train Retrieval on It
The list is ordered by whether a failure would hurt retrieval. The first three decide if the text is usable. The last four decide whether you can put it near a hospital.
- One: how the language variant was judged. The 54,518 notes are those the classifier called European; ask for the classifier version, confidence spread, and what happened to the Brazilian-labelled rest [1].
- Two: the count per note type. Admission 14,253, ambulatory 13,561, discharge 9,032, nursing 17,672; if your queries hit discharge summaries, check whether 9,032 is enough [1].
- Three: the entity labels. MediAlbertina PT-PT tagged eight types: diagnosis, symptom, drug, dosage, procedure, vital sign, result, progress [1]. Ask whether those cover your queries, and for the tagger's accuracy on this corpus, which the paper does not give [1].
- Four: rerun the privacy metrics. The 0.052 cross-set cosine and 1.272 Hausdorff belong to this corpus; your queries and your real notes need a fresh measurement [1].
- Five: is there a patient timeline? Each note is generated from a prompt at 130 words, with no patient ID given and no link across visits. If cohort screening needs the same person over time, this fails.
- Six: add the retrieval test. Build a query set, relevance labels, and a fixed split, then compare a retriever trained on real notes against one trained on synthetic notes; the paper does not run this [1].
- Seven: audit clinical consistency. Medical errors and missing key information appear 7 and 6 times in the human justifications [1]; have a clinician sample for both and set an acceptable error rate.
One item sits outside the list but affects the contract: the paper page says CC BY 4.0, while the sources are SemClinBr and CLINpt. Redistribution, commercial use, and mixing with hospital data all need a check against those source terms, not just the paper page.
Which Half of a Real Record Synthetic Notes Cannot Replace
The limit starts with generation. A 3-billion-parameter model, 130 words per note, four types, one language. That suits short, single-visit, general text, not long, repeated, specialty records. The authors say LusoClin cannot fully replace real data and serves as a complement, especially in low-resource settings [1].
The second limit is structure. Half the value of a real record is how one patient changes over time, how departments refer, how drugs and tests interleave. These notes are generated independently, with no patient ID given and no timeline. A single-note classifier can use them. Cohort screening for the same patient over time cannot: the missing piece is the spine.
The third limit is the evaluation itself. The human layer has 41 concordant notes, 6 of them real, and a kappa of -0.04, so the two reviewers barely agreed [1]. A 9% realism rate from that sample has a direction, not a precision. The automatic metrics are distributional approximations, not retrieval evidence.
The version a non-specialist can repeat: someone fine-tuned a 3-billion-parameter model on a Brazilian set and a Portuguese neurology set, generated 100,000 notes, filtered them to 54,518, had students and doctors judge them blind, and measured distribution and privacy. Language and entity frequencies came close, medical errors remained, and retrieval was never tested. One line: synthetic notes can test your model, but they cannot certify it.
