For which cases does AI help with classification (medical diagnosis example)? “The narrow beach between the continent of clear effects and the sea of confusion”

Paul Alper points to this news article entitled “ChatGPT Defeated Doctors at Diagnosing Illness,” which reports:

A small study found ChatGPT outdid human physicians when assessing medical case histories, even when those doctors were using a chatbot. . . . doctors who were given ChatGPT-4 along with conventional resources did only slightly better than doctors who did not have access to the bot. And, to the researchers’ surprise, ChatGPT alone outperformed the doctors.

Alper writes:

In contrast, without any AI, over the summer I was (instantly) diagnosed as having a hernia, an exceedingly common condition, and conventionally operated on, unaided by AI. My path of recovery was exactly as Wikipedia (boringly?) predicted and I am now as physically healthy as I am, because of the election results, mentally a basket case. So, the issue might simply be that AI is of little diagnostic value when things are commonplace, i.e., straightforward, far from “exotic.” AI becomes valuable only when there are competing treatments and uncertainty.

Interesting point, and I guess this is a general issue with such classification problems, that most of the cases are easy, and the improvement is coming on the frontier: those cases where the classification is hard enough that the standard approach might get it wrong, but there’s enough potential information that a new approach can do better.

As we’ve said before, statistics lives on a phase transition, “the narrow beach between the continent of clear effects and the sea of confusion”: that sweet spot between signals that are so clear you don’t need statistics, and signals that are so weak that statistical analysis can’t help.

This reminds me of a similar thing we’ve discussed regarding models for forecasting elections and sporting events: if you can predict a continuous outcome, that’s great, but if you can only predict the winner, things are more tricky. Your best data come not from the blowouts (just about any model can predict these) or the nailbiters (the prediction here is basically random) but rather from the games or races with moderate margins of victory.

That last point relies not just on the properties of the estimation or forecasting method but also on the data-generating process. The relevant assumption is that the score differential (or vote differential) is generated by a continuous process, which then determines who wins. If there’s a way for a candidate or team to get a win in some direct way, without just improving their score or vote differential, then that’s another story. If there is no such way to get the win by bypassing the continuous process, then forecasts for very close outcomes will necessarily be essentially coin flips.

This is an interesting point to me, because the statistical properties of an estimator are usually taken to just depend on the process of estimation, but here they depend on the data-generating process as well.

To get back to the problem of evaluating diagnoses: it would make sense to focus on these not-too-easy, not-too-hard intermediate cases. Also, though, I guess that some doctors could miss the obvious ones too sometimes—everybody can have a bad day, right? So it could be that the greatest value in AI is in catching the super-obvious mistakes.

I’m not sure. Maybe there’s some literature on this?

28 thoughts on “For which cases does AI help with classification (medical diagnosis example)? “The narrow beach between the continent of clear effects and the sea of confusion””

  1. There’s a paper that looks at ML-based decision aids (though not LLMs) for radiologists and finds that they actually do even worse for the reasons described: https://www.nber.org/papers/w31422

    I might be misremembering, but I think it was that experts trusted themselves over the machine in routine cases, but not exotic cases, so the combined predictions were actually worse than either independently.

  2. ‘Maybe there’s some literature on this?’
    I am not sure whether there is any literature on the correctness of diagnoses and how difficult it is to diagnose something. It would certainly be an interesting topic, though! However, from my time working at an institute for family medicine, I remember that general practitioners correctly diagnose over 90% of their patients’ conditions. Sadly, I do not remember any exact figures, only that the institute director, who was also a general practitioner, was immensely proud of his profession for achieving such results.
    P.S. I hope Paul Alper is doing better now!

    • Raphael K: Thanks for asking. To use a baseball parlance, “a step slower to my left,” but my ambition is to live long enough to be the last person alive who witnessed R.A. Fisher’s University of Wisconsin presentation in the very early 1960s claiming that there was no (proper statistical) proof that smoking causes cancer. Even though I have no actual data for this imagined contest, the actuarial tables are in my favor.
      There is a different R.A. Fisher imagined contest that I stand less of a chance: The last person alive to have ever seen Fisher. There appear to be several Cambridge people who are alive and younger than I am.

  3. The issue here (and generally with studies like this) is that these are artificial scenarios that do not mimic clinical practice. When you lay everything out in a vignette, you are essentially providing sufficient information for a diagnosis, and it is not surprising that models (with access to a vast array of training data including cases likely similar to this patient) perform well. The data gathering process is often labour intensive, requiring persistence and sometimes inductive reasoning, and performing prediction on a neat write-up differs significantly from the chaotic environment of a hospital.

    I did my PhD research on a similar topic. I think the main utility wasn’t in diagnostics but rather often just telling the doctors to listen to the nurse (who flagged that something was wrong 4 hours before the model). I see a use for these tools to catch people who slip through the cracks, to act as a second opinion, and maybe to encourage some critical thinking, but I often get frustrated with this “AI is better than doctors” claim because it just glosses over how inconvenient and difficult medicine actually is in practice. (Disclaimer – I’m not a doctor. Or at least, the kind who helps people!)

  4. LLM outputs are statistical processes based on the statistics of input. When there is a rare or unusual condition, by definition there will be few cases in the training data and so the statistical variations will be large. In addition, LLM or no, there is the problem of applying statistical summaries to individual cases. So an LLM *might* have some information on an unusual case that a particular doctor doesn’t, and that could be helpful. But it seems to me we can’t expect the LLM to be particularly accurate or reliable in general away from the best studied, most common cases.

  5. There may be other benefits: during the standard ultrasound scans for our second child earlier this year, my partner was part of a trial whereby the sonographers were recording fairly long 3D scans of the child. This was in order to attempt to train an AI algorithm to support sonographer assessments. Obviously this was partly a detection- / assessment-support system, but the other reason given was to reduce repetitive strain injury in technicians, which is apparently a real concern (e.g. Google turns up this as a top hit: https://www.bmus.org/education-and-cpd/cpd-resources/top-tips/top-tips-to-minimise-the-symptoms-and-severity-of-repetitive-strain-injury-rsi-for-sonographers/)

  6. I’m having a hard time understanding this post.

    First, should “If there is no such way to get the win by bypassing the continuous process” be “If there *is* such a way to get the win…” then the forecasts are hard to make?

    Second: “the statistical properties of an estimator are usually taken to just depend on the process of estimation, but here they depend on the data-generating process as well.” Don’t they always depend on the data-generating process, which sets what the variance of the actual data will be, and therefore how good any estimator can be?

    Finally, not a point of confusion, but I find it interesting that some of the most remarkable machine learning successes, like AlphaGo, use reinforcement learning methods that *are* re-enacting the data generation process.

    • Regarding your second point: I am also confused by Andrew’s statement, but more so by yours. What does it mean that “the properties of an estimator depend on the data-generating process”?

      Let’s say we observe some sample X. We think this sample comes from a distribution P. This distribution is our model of the data-generating process (DGP). For example X ~ Normal(mu, 1), so P = Normal(mu, 1). We want to estimate mu with an estimator T(X). A property of T, for example it’s bias, is defined as
      bias(T) = E( T(X) ) – mu, where the expectation is taken wrt to our model P. So the statistical properties of an estimator depend on “the process of estimating” (choosing a function T) and our model for X, but not directly on the data-generating process.

      But maybe I misunderstand what a DGP is and for you the DGP is simply our model? For me the DGP is the mechanism that leads to the sample X with certainty.

      • Ah, I see now where I was confused.

        I had mistakenly thought that properties like bias were defined with respect to the assumed distribution, not the actual distribution in the population. For example, if the population distribution is Exponential(λ), but we assume the data are Normal(μ, σ²), then we might construct an estimator—say, by trimming the 100 smallest and largest values and taking the mean—that is unbiased under the Normal model, but not under the actual Exponential distribution.

        Previously, I thought of this as a problem with the model, not the estimator. I would have said: “The estimator is unbiased; the issue is just that our model doesn’t match reality.” But now I realize that properties like bias, variance, and consistency are defined relative to the actual distribution in the population. If the model is wrong, then the estimator’s properties with respect to the actual distribution can be very different from what we expect under the assumed model.

        Glad to have cleared that up!

        • Almost! Bias for example is defined relative to the underlying “true mean” in the population, not some assumed “true distribution”. You don’t need to assume the underlying quantities of interest are distributions to model them successfully with distributions (representing uncertainty, sampling variability, etc)

  7. It has been pointed out on this blog that the term “AI” has undergone backwards mission creep, where now the term is used for things computers can do that predate machine learning. When it comes to medical diagnosis, I think the skillful part is not AI, and the AI part is not skillful.

    During my career I performed infrared spectroscopy on unknown field samples. Early in my career it was just me comparing hundreds of spectra in books, then eventually primitive computer search-matches against pure compound spectra, to finally very sophisticated search-match deconvolution of mixture spectra near the end of my career.

    I would argue that what the LLMs are achieving here does not involve machine learning, per se, but is instead sophisticated search-match. Computers excel at “where’s Waldo” problems, and that is all that is required here, so it shouldn’t surprise us that LLMs can help with medical diagnoses in cases where the most fruitful approach is sifting through vast numbers of case histories to find matching sets of symptoms.

  8. The post recognizes the potential importance of the distribution of diagnosis complexity. Equally important is the distribution of clinician capability. My belief (not based on any careful analysis, but consistent with the studies I have seen and also consistent perhaps with the one cited) is that AI will improve performance of the lowest part of the clinician quality distribution. In some rare cases it may outperform other parts of that distribution – but I would still maintain that I want a human ultimately making, and responsible for, the diagnosis. I believe the best clinicians will use AI as a complementary tool, not a substitute. It is precisely the bottom of the distribution that may delegate to the AI and become sloppier or less involved, i.e. using the AI as a crutch.

    There is also some ambiguity about what we mean by AI. I had robotic hernia surgery last year and I consider that an AI application. It was also a case where I believe the surgeon used AI as a complementary tool. My case was not complex, though it was not the most straightforward of such cases. Did the AI help? Without AI, I guess it wouldn’t have been a robotic surgery and I can say the outcome would have been inferior to what I had.

    sidebar to Paul: we live in a similar area and perhaps should compare notes on hernia surgery and political derangement syndrome. I have some other medical conditions we might share as well.

    • Dale wrote:
      ”My belief (not based on any careful analysis, but consistent with the studies I have seen and also consistent perhaps with the one cited) is that AI will improve performance of the lowest part of the clinician quality distribution.”

      Ah, reminds me. Of the opiod epidemic. We learned two things from said epidemic. (1) The number of addicted patients a particular doctor generates is proportional to the amount of opioids said doc prescribes. And (2), the amount of opioids a doctor prescribes is inversely proportional to the quality of med school said doc graduated from (or directly proportional to the ranking).

      There really is a “lowest part of the clinician quality distribution.”

      Of more general concern to this topic, “AI” covers a lot of different things, and “AI in medicine” also includes a hodgepoge of special-purpose stuff, so there’s a certain unreasonableness to talking about “AI in medicine” in general.

      • I believe this example (the opioid epidemic) is related to Andrew’s “Clarke’s Law! Any sufficiently crappy research is indistinguishable from fraud.” Intentional prescription of drugs for nefarious purposes indeed represents part of the provider distribution that I would consider low quality. But it is probably not the most common reason for low-quality practitioners. If statistics is hard, then I think medicine is even harder, and there are clinicians who just aren’t as capable despite no ill intentions. These providers might be out-performed by AI, although it is also possible that these are the kind of providers more likely to perform badly in conjunction with AI. In any case, I think this area of research (relative performance of humans vs AI) generally suffers from a failure to adequately recognize the diverse capabilities of the humans.

      • David, somewhere in there we need to have learned that capitalists will kill people for profit without any compunction, and will hire young good looking women and pay them to wear tight clothing with low cut necklines and have them go around to doctors offices and tell those doctors lies about the addictiveness of their products and the supposed benefits of them. Also, that by making society precarious enough, young good looking women will choose to take those jobs. And young men too. And at the back end people will happily work as accountants and marketing executives, while they know they are killing people… but they make good money…

        • Uh, the doctors get paid good money to know how drugs work and their downsides. It’s their job.

          Sure, the opioid companies were bad. But it was the doctors who over-prescribed them.

          Agreed that medicine is hard. But I doubt that AI will help much.

          (I think AI’s over-fascination with medicine is sick. It sure looks to me that we see an easy source of money. We don’t respect doctors, and the idea that we can do better than them is just as stupid as the idea that random text generation is going to create superintelligence. We’re idiots.)

        • I agree the doctors have responsibility, but the opioid manufacturers actually created continuing education courses that promoted the use of opioids as a scientifically validated modern practice. I remember my friend, a country doctor, going to these courses and talking about how the “modern” thinking is to Rx a lot more pain meds. This was maybe 2005.

          When faced with a highly funded disinformation campaign actually promoted through the doctor’s own information channels, it would have taken a very knowledgeable and committed doctor to push back. There just aren’t going to be PhD pain specialists in every Primary Care role, and that’s what it would have taken.

          It’s important not to let the active conspirators off the hook by blaming some of their victims (the doctors didn’t *want* to create addicts).

  9. The literature on statistical models vs clinical prediction goes back to the turn of the century. To my knowledge it was first popularized by Meehl (1954) in his book Clinical Versus Statistical Prediction. When he wrote the book there were about 13 studies, which mostly showed that simple statistical models (e.g. 2 variable regressions) generally beat out trained clinicians in diagnostic settings. A meta-analysis by Grove et al. (2000) covered some 136 studies which pretty much showed nothing had changed (statistical models were about 10% more accurate on average than clinicians). If I recall correctly clinicians also tended to do worse when provided the output from the statistical models (similar to provide the ChatGPT output).

    The take-away for Meehl was that the clinician’s main role was in discerning what inputs to put into the analysis rather than performing the optimization. With the possible exception of what he called the “broken leg case”. He used this to describe a scenario where the model didn’t have the relevant training data and hence the clinician’s diagnoses ought to be far superior (e.g. someone broke their leg and we’re trying to predict what they will do on a Friday night but the model cant incorporate this additional information). So, this isn’t quite new stuff despite the fancier models being used as comparators. Though I suppose once AIs are sufficiently trained one could argue the clinician no longer even has to discern the relevant inputs. That might be new.

    • Allan:

      This reminds me a bit of our discussion about the relative merits of statistical models and betting markets in election forecasting. My take was that statistical models are good for combining information of the sort that has been seen before, and betting markets are good for incorporating unprecedented or rare information. When the task was to incorporate information from a new poll, statistical models can do better than markets; when the task is to adjust for a candidate dropping out of the race, markets can do better.

  10. Error rates arent going to capture the problems with this. The errors made are of a different class than human errors. Like driving, a human may make mistakes due to lack of attention or recklessness, the bot will confuse a cloud pattern for the road.

    Even with lower error rate, humans will at least perceive the remaining ones as more egregious. Like diagnoses based off the background lighting in a similar room found in the training data.

  11. Some related papers:

    A recent study on radiologists that finds that ~2/3 of their errors are owed to inconsistency (“underperforming their personal fronteir”) and the rest are a gap between human ability and ML ability:
    https://www.adviksh.com/files/in_progress/x-raying-experts.pdf

    Related to the hypothesis above that worse doctors are more likely to benefit, this one on skin condition diagnosis shows that specialists are less helped by AI than primary care physicians:
    https://www.nature.com/articles/s41591-023-02728-3.pdf

    This was an RCT that came out recently on using LLMs to come up with a differential diagnosis then synthesize and critique the doctor’s diagnostic judgment relative to the LLM prediction. They found improvements, though I vaguely recall some pushback on social media about it not capturing actual diagnosis scenarios in some way
    https://www.medrxiv.org/content/medrxiv/early/2025/06/08/2025.06.07.25329176.full.pdf

  12. I have course have not read this book, as it comes out next February:
    https://www.amazon.com/Giant-Leap-Transforming-Healthcare-Future/dp/B0F7G3216X/
    but I am certainly going to buy it.
    Robert Wachter is Chair of UCSF’s Department of Medicine, i.e., one of the top medical institutions in US.
    I’ve read his earlier books “Internal Bleeding” and “The Digital Doctor” and also traded emails now and then.
    He is very careful to provide balanced assessments of what works, what doesn’t, and the sometimes surprising interactions.
    he is both an expert on medical practice and a good writer.

Leave a Reply

Your email address will not be published. Required fields are marked *