An AI hit 91% predicting ICD categories. Its scoring counted sepsis for a UTI as correct.
A new preprint reports 91.45% accuracy at predicting a primary ICD category from hospital records. The scoring rule credits a sepsis prediction on a urinary tract infection case. Those two codes sit on opposite sides of an HCC, and that gap is the coder's job.
Reviewed by Jess P., CPC
Published July 10, 2026

Key Takeaways
- →A preprint posted to arXiv on June 27, 2026 reported that linear probes on a frozen medical large language model predicted a patient's primary diagnosis category with 87.69% strict accuracy and 91.45% medical accuracy on a MIMIC-IV cohort of 13,645 hospital admissions.
- →The preprint's task was to pick one of seven diagnosis categories, consolidated from the ten most frequent primary ICD-10 codes in a MIMIC-IV critical-care cohort. It was not to assign an ICD-10-CM code.
- →The 91.45% figure uses what the authors call a clinically relaxed soft-matching rule. The paper's own example is that predicting sepsis for a urinary tract infection case is counted as correct, because both fall in its Infection Related category.
- →Under CMS-HCC V28 for PY2026, sepsis (A41.9) maps to HCC 2 with a community coefficient of 0.500, while a urinary tract infection (N39.0) maps to no HCC at all. The study's scoring rule treats that pair as interchangeable.
- →The authors of the June 2026 arXiv preprint state that their study does not include prospective validation or assessment of workflow integration with professional coders, and that its results may not generalize to outpatient settings.
On June 27, 2026, researchers posted a preprint to arXiv reporting that a frozen medical large language model can recover a patient's primary diagnosis category from hospital records with 87.69% strict accuracy and 91.45% "medical accuracy." The work is careful, the authors are candid about its limits, and the number that'll get quoted is the 91.45%.
That number is going to end up on a vendor slide. It's worth knowing what the scoring rule quietly forgives before it does.
What the study actually measured
The researchers built a cohort of 13,645 admissions from MIMIC-IV, a public database of de-identified critical-care records. They took the ten most frequent primary ICD-10 codes in that cohort and consolidated them into seven diagnosis categories. The reported mean age was 64.0 years, and the cohort was 52.9% male. The admissions were split into 9,556 training, 2,042 validation, and 2,047 test records.
The task was a seven-way choice. Given a patient's structured data and a leakage-pruned discharge note, pick the right category. The best configuration, a probe trained on layer 32 of the frozen model with both inputs combined, reached 87.69% strict accuracy and 91.45% medical accuracy.
That's a legitimate result for what it is, which is a representation-probing study. It isn't a coding accuracy number, and the paper never claims otherwise.
The scoring rule credits sepsis for a UTI
"Medical accuracy" is not a stricter metric than strict accuracy. It is a looser one. The paper defines it as a fixed soft-matching rule "that credits clinically related but non-identical predictions," and it gives the example itself: predicting "Sepsis" for a "urinary tract infection" case "is counted as correct because both map to the Infection Related category."
Read that again with a coder's eye. The study's Infection Related category contains exactly two codes, A41.9 and N39.0. Sepsis and a UTI. The headline metric treats a model that confuses them as having gotten the answer right.
The authors flag this plainly in their limitations, noting that medical accuracy "is a clinically relaxed soft-matching metric and should be interpreted alongside strict accuracy and per-class recall." The paper is fine. The trouble starts when that number gets quoted without the sentence sitting next to it.
Where those seven categories land in CMS-HCC V28
We looked up each of the ten codes behind the seven categories against the CMS-HCC V28 model for PY2026 and the FY2026 ICD-10-CM tabular. The categories aren't risk-adjustment-neutral. Several of them straddle the line between a code that carries an HCC and a code that carries none.
| Study category | Codes in it | CMS-HCC V28 (PY2026) | V28 community coefficient |
|---|---|---|---|
| Infection Related | A41.9 | HCC 2, Septicemia, Sepsis, SIRS/Shock | 0.500 |
| Infection Related | N39.0 | No HCC | 0.000 |
| Hypertensive Heart Failure | I11.0, I13.0 | HCC 226, Heart Failure, Except End Stage and Acute | 0.360 |
| Cardiovascular Event | I21.4 | HCC 228, Acute Myocardial Infarction | 0.252 |
| Cardiovascular Event | R07.9 | No HCC | 0.000 |
| Chemotherapy Encounter | Z51.11 | No HCC | 0.000 |
| Acute Kidney Failure | N17.9 | No HCC (V24 mapped it to HCC 135) | 0.000 |
| Major Depression | F32.9 | No HCC | 0.000 |
| Alcohol Intoxication | F10.129 | No HCC (V24 mapped it to HCC 55) | 0.000 |
Two of the seven categories pair an HCC-bearing code with a code that carries no HCC. Infection Related pairs sepsis with a UTI. Cardiovascular Event pairs an NSTEMI with unspecified chest pain, a symptom code. A model can be scored correct on either pair while landing on the wrong side of a risk-adjustment boundary worth half a RAF point.
Two categories rest on codes V28 stopped paying
The table holds a second lesson that has nothing to do with AI. Acute kidney failure (N17.9) mapped to HCC 135 under V24. Alcohol abuse with intoxication (F10.129) mapped to HCC 55. Neither maps to an HCC under V28, the model that pays for PY2026. Together those two categories account for 1,645 of the 13,645 admissions in the cohort.
Major Depression is the sharpest case. The study's code is F32.9, major depressive disorder, single episode, unspecified, and it carries no HCC in either model. Specify the severity and the picture changes. F32.1 and F32.2 map to HCC 155 under V28, and F32.3 maps to HCC 152. The category label "Major Depression" is precisely the thing that doesn't code. The specificity underneath it is what does, which is the same lesson our V28 guide and the RAF calculator exist to make concrete.
What the authors say the study does not show
The paper's limitations section is the most useful page in it, and it's doing the work a vendor deck usually won't.
The authors write that the task "does not capture the full multi-label and long-tail structure of production ICD coding." They note that MIMIC-IV and MIMIC-III are retrospective critical-care datasets, so "performance may not generalize to outpatient settings, non-ICU populations, or institutions with different documentation practices." Most risk-adjustment coding happens in exactly those outpatient settings. And they close by stating that the study "does not include prospective validation or assessment of workflow integration with professional coders."
That's an author telling you, in the paper, that no coder has tested this.
| Reported metric | What it credits | Our read of the miss rate |
|---|---|---|
| 87.69% strict accuracy | The exact category, out of seven | The category was wrong on roughly 1 in 8 admissions |
| 91.45% medical accuracy | The category, or a "clinically related" near miss | Roughly 1 in 12, after crediting near misses |
The miss-rate column is our arithmetic, not the paper's. It's simply the complement of each reported figure expressed as a frequency, and it's here because "91.45% accurate" and "wrong on one admission in twelve, before you even get to code selection" describe the same result.
Where a human coder is still required
Nothing in this study picks a code. It picks a bucket, from a menu of seven, on inpatient critical-care records, and it's graded on a curve that forgives sepsis for a UTI.
Everything that makes a diagnosis reportable happens after the bucket. Whether the encounter supports the condition. Whether the documentation carries MEAT for it. Whether the severity, the episode, and the laterality are specified enough to reach a billable code. Whether that code maps to an HCC under the model that pays this year, and not the model that paid three years ago. Every one of those is a judgment about a record, made by someone who can be held to it, and this paper doesn't claim otherwise.
The pattern is familiar. A study earlier this month graded an AI comorbidity reader against the billing codes already sitting on the claim, and agreeing with a billing code doesn't prove the record supported it. Here the yardstick is a category, and agreeing with a category tells you even less, because it never reaches a code at all. Both are worth reading. Neither replaces the coder QA pass on an AI-touched note.
When a tool's accuracy number lands on your desk, the number is the least interesting part. Ask what it was graded against, and at what granularity. If the answer is a category, you've learned nothing yet about a code. Look the code up in the encoder and read the note.
What coders should do now
- 1Ask any vendor quoting an accuracy figure two questions before anything else: accuracy at what granularity (a category, a billable code, or a code plus all reportable secondary diagnoses), and graded against what (the note, the claim, or a consolidated bucket). A category-level number tells you nothing about code selection.
- 2Get the strict number, not the soft-matched one. If a metric credits clinically related near misses, ask for the exact-match accuracy and the per-class recall, and ask which code pairs the soft-match rule treats as equivalent.
- 3Check whether the cohort was inpatient or outpatient before you trust a number for your own panel. Critical-care discharge summaries aren't the outpatient physician-office encounters most risk-adjustment coding runs on, and the authors of this study say so themselves.
- 4Never let a category-level tool drive HCC capture. HCC mapping happens at the code level: sepsis (A41.9) carries HCC 2 under V28 while a urinary tract infection (N39.0) carries none, and the two sit in the same category in this study.
- 5Re-check any condition your team treats as an automatic HCC against the model that pays this year. Acute kidney failure (N17.9) and alcohol abuse with intoxication (F10.129) both carried an HCC under V24 and carry none under V28.
Frequently Asked Questions
Does this study mean AI can code ICD-10 at 91% accuracy?
No. The study asked a model to pick one of seven diagnosis categories consolidated from the ten most frequent primary ICD-10 codes in a critical-care cohort. It did not ask the model to assign an ICD-10-CM code, and the authors describe it as a representation-probing study, not a production coding system.
What is the difference between strict accuracy and medical accuracy in this paper?
Strict accuracy requires the exact category. Medical accuracy applies a soft-matching rule that credits clinically related but non-identical predictions. The authors give the example of a sepsis prediction on a urinary tract infection case being counted as correct, and they caution that medical accuracy is a clinically relaxed metric that should be read alongside strict accuracy and per-class recall.
Do sepsis and a urinary tract infection map to the same HCC?
No. Under CMS-HCC V28 for PY2026, sepsis, unspecified organism (A41.9) maps to HCC 2, Septicemia, Sepsis, Systemic Inflammatory Response Syndrome/Shock, with a community coefficient of 0.500. Urinary tract infection, site not specified (N39.0) maps to no HCC in either V28 or V24.
Does acute kidney failure still carry an HCC under V28?
No. Acute kidney failure, unspecified (N17.9) mapped to HCC 135, Acute Renal Failure, under CMS-HCC V24. It maps to no HCC under V28, which is the model that pays for PY2026. Alcohol abuse with intoxication, unspecified (F10.129) is in the same position, having mapped to HCC 55 under V24.
Was this study validated with professional coders?
No. The authors state in their limitations that the study does not include prospective validation or assessment of workflow integration with professional coders, and that performance may not generalize to outpatient settings, non-ICU populations, or institutions with different documentation practices.
Sources
- Primary ICD Category Prediction using LLM-based Probing (arXiv:2606.28798) — arXiv, Jun 27, 2026
- Primary ICD Category Prediction using LLM-based Probing (DOI) — arXiv, Jun 27, 2026
- MIMIC-IV, a freely accessible electronic health record dataset (v3.1) — PhysioNet, Oct 11, 2024
- Medicare Advantage Rates & Statistics: Risk Adjustment (CMS-HCC V28 PY2026 model software) — CMS, Oct 24, 2024
- ICD-10-CM FY2026 official code set — CMS, Jun 5, 2026
Related Tools
ICD-10 Encoder
Look up a code yourself and read its official FY2026 descriptor before you trust anything that suggested it.
CMS-HCC V28
Check whether a code still carries an HCC under the model that pays this year, not the one that paid under V24.
RAF Calculator
See what the difference between two codes in the same clinical category is actually worth.
Jess P., CPC
Certified Professional Coder
Jess reviews HCC Buddy editorial content for accuracy against the current CMS-HCC model and the active FY ICD-10-CM tabular release.
Get CMS Updates in Your Inbox
RADV news, model changes, and coding guidance — within days of CMS publishing, not quarters.
More from CMS Watch
A new study graded an AI comorbidity reader against billing codes. Coders get graded against the note.
July 9, 2026
PolicyCMS's July NCCI update adds 2,199 practitioner edit pairs. No modifier will bypass 424 of them.
July 9, 2026
PolicyCoding intensity is climbing where AI documentation landed, and payers have started downcoding
July 8, 2026

