KinyaMed: Seeds, Not Rows -- What a Corpus Requirement Written in the Wrong Unit Fails to Constrain
Organizations: Independent Researcher, Kigali, Rwanda
Abstract
Triage decides who is seen first. Building an urgency classifier for patient-voice Kinyarwanda, we found our specification could be met without producing anything it was meant to secure. We report that, and the instruments that detect it, instead of a classifier. Designed for the four languages a Rwandan health centre receives, with every instrument per-language: sentences are authored in all four arms and rows generate in one, because the frame slots those three need do not exist. Our requirement asked for one million examples; generation produced them in 130 seconds. It fails four of the nine quality gates in that specification, six when rows are attributed to their source sentence. The binding gate counts distinct authored seed phrases, not rows: at our 165, no corpus passes at any row count. Two shortfalls follow and differ: 2,835 further sentences to pass the seed-count gate, 19,835 to reach the stated million rows, because a separate gate caps a seed at 50 rows. Rows come from a machine at 7,700 per second; seeds from clinicians. A row count constrains the cheap quantity, leaves the expensive one free, and so does not constrain quality at all. Two further negatives follow. An evaluation set of 17,942 rows built from nine distinct sentences supports no verdict: our gate, which counts distinct sentences, refuses 38 of its cells and reports nothing. A model trained on a corpus of uniform surface form changes its predicted urgency for 31.5% of inputs under capitalisation and 21.0% under a single typo, reported as measurement and not attribution. A model directory shipped without its tokenizer loads without error and answers its class prior on input it cannot read, with well-formed probabilities. No figure here is evidence of model quality; the contribution is the apparatus and the negative results it produced, reproducible from a clean clone except where marked NOT REPRODUCIBLE.
Figures & tables
| Seed (concept IF05, fever with generalised rash , label URGENT) | |
| Mfite umuriro kandi mfite uduheri ku mubiri wose. | |
| 1 | Nyabuneka, mfite umuriro kandi mfite uduheri ku mubiri wose kuva mu cyumweru gishize |
| 2 | Muraho, mfite umuriro kandi mfite uduheri ku mubiri wose kuva hashize icyumweru nta miti imfasha. Murakoze. |
| 3 | Mfite umuriro kandi mfite uduheri ku mubiri wose kuva mu gitondo kandi nta miti mfite. Urakoze. |
| 4 | Mfite umuriro kandi mfite uduheri ku mubiri wose kuva mu cyumweru gishize. Abandi bana na bo bafite iki kibazo. Nkora iki? |
| 5 | Nyabuneka, mfite umuriro kandi mfite uduheri ku mubiri wose kuva mu masaha abiri ashize. Byatangiye gitunguranye. |
| Arm | Phrases | Drafts | Authored | Relations | Frames | Rows |
|---|---|---|---|---|---|---|
| Kinyarwanda | 165 | – | 2,281 | 8 | 43 (4/4) | 330,000 |
| English | 0 | 198 | 2,302 | 8 | 10 (1/4) | 0 |
| French | 0 | 194 | 2,301 | 8 | 10 (1/4) | 0 |
| Swahili | 0 | 0 | 2,300 | 7 | 10 (1/4) | 0 |
| Gate | What it constrains | Outcome on our corpus |
|---|---|---|
| C1 | rows per seed ( ; no seed above 0.1%) | FAIL : worst seed 8,975 rows, 26.07% of the 34,425-row test split |
| C2 | distinct seeds per language ( ) | FAIL : 15 in the test split, 150 in train, 165 in the whole inventory. This is the binding gate. |
| C3 | lexical diversity against the pilot’s floor | not computable: the pilot that defines the floor does not exist |
| C4 | near-duplicate seeds ( at Jaccard 0.85) | pass: 0 of 15 |
| C5 | machine person-transformation banned | FAIL : no recorded origin per row |
| C6 | frame consistent with reporter and age group | not computable: neither is recorded |
| Seeds available | Rows allowed by C1 | Passes C2? | Largest passing corpus |
|---|---|---|---|
| 165 (ours) | 8,250 | FAIL (needs 3,000) | 0 rows |
| 3,000 | 150,000 | pass | 150,000 |
| 20,000 | 1,000,000 | pass | 1,000,000 (the target) |
Appendix figures & tables6 assets
Supplementary material from the paper’s appendix.
Appendix
| Absorbed | Into | Absorbed | Into | Absorbed | Into |
|---|---|---|---|---|---|
| EX17 | EX16 | HT06 | EX22 | NE04 | EX35 |
| EX30 | CR07 | IF07 | EX29 | NE08 | EX36 |
| EX42 | IF05 | NE01 | EX33 | PA01 | EX33 |
| GI08 | EX16 | NE02 | EX32 | PA06 | IF05 |
| HT01 | EX18 | NE03 | EX34 | PA10 | EX46 |
| pair | why it does not generate |
|---|---|
| kw en | four switched terms are ruled, all nouns. Enough to emit rows, not enough to be the mixed language the label claims. Pending a speaker’s answer on ten further terms. |
| kw fr | no French-origin term is cleanly switched; all are borrowed or dual-disposition. |
| en kw, fr kw | require the reverse insertion direction and English or French frame fragments, neither of which exists. |
| sw en, en sw | require a Swahili-matrix worksheet. None exists; the noun classes ruled so far are Kinyarwanda’s. |
| eval_rows_whose_phrase_appears_in_train | 114,321 |
|---|---|
| eval_rows_leaked_fraction | 1.0 |
| phrase_overlap | 50 |
| substring_violations | 54 |
| exact_text_overlap | 0 |
| family_overlap | 0 |
| Class | Precision | Recall | F1 | Rows | Distinct sentences |
|---|---|---|---|---|---|
| CRITICAL | 0.6633 | 0.8504 | 0.7453 | 8,962 | 4 |
| URGENT | 0.7426 | 0.4963 | 0.5950 | 7,793 | 4 |
| ROUTINE | 0.9549 | 1.0000 | 0.9770 | 1,187 | 1 |
| Macro avg | n/a | n/a | 0.7724 | 17,942 | 9 |
| Truth / Pred | CRITICAL | URGENT | ROUTINE |
| CRITICAL | 7,621 | 1,341 | 0 |
| URGENT | 3,869 | 3,868 | 56 |
| ROUTINE | 0 | 0 | 1,187 |
| Run | Trainable | Macro F1 | CRIT P/R | URG P/R | Gate |
|---|---|---|---|---|---|
| v2b_freeze10_lr1e-5 | 3,697,923 | 0.7660 | 0.7951/0.9007 | 0.8636/0.6315 | FAIL |
| v2c_freeze6_lr1.5e-5 | 10,795,779 | 0.5545 | 0.5337/0.9749 | 0.2321/0.0083 | FAIL |
| v2d_freeze8_lr1e-5 | 7,246,851 | 0.7724 | 0.6633/0.8504 | 0.7426/0.4963 | FAIL |
Synthetic Data Evaluation
Synthetic data evaluation measures whether generated examples preserve the properties needed for a stated use, including fidelity, privacy, and utility.
See all 236 papers