1. Home
  2. Explore
  3. Medicine
  4. Differential Diagnosis

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Differential Diagnosis

Speaker 1Speaker 2

Differential Diagnosis

22:11
0:00-22:11
  1. Maria

    Welcome back. Today we're focusing on differential diagnosis: the process of distinguishing one disease or condition from other conditions that produce similar clinical features. In practice, a doctor begins with a list of things that might be wrong with a patient, then gathers information to determine which explanation is most likely.

  2. Michael

    And the dream would be to model the entire human body in enough detail that we could simply tune the model to an individual patient and predict exactly what would happen. A cardiovascular model from Guyton's textbook, for example, represented interactions among hormones, vascular resistance, cardiac output, and other physiological components.

  3. Maria

    In principle, that model could predict the effects of changing systemic vascular resistance or developing a coronary blockage. But the model involved hundreds of differential equations and hundreds of parameters. We would need enormous amounts of patient-specific data to tune it, and collecting enough measurements could be practically impossible without invasive procedures.

  4. Michael

    So we need simpler models for diagnostic reasoning. Before discussing them, let's distinguish signs, symptoms, and manifestations. A sign is an objective finding that a doctor or another observer can detect, while a symptom is something experienced by the patient, such as dizziness or pain. Manifestation, or finding, is the broader category that includes things determinable about a patient.

  5. Maria

    The lecture moves through several approaches: flowcharts, associations between diseases and manifestations, probabilistic diagnosis, decision methods based on utility, and briefly, rule-based and pattern-matching systems. A major theme is that each method simplifies reality in a different way.

  6. Michael

    The earliest approach discussed is the flowchart. A 1973 MIT Health Center sheet for women with possible urinary tract infections used color-coded boxes. A nurse asked questions, followed branches, and eventually reached a conclusion or a recommendation for another test.

  7. Maria

    That system was essentially a triage instrument. It tried to determine whether someone needed immediate attention, such as an ambulance and hospital care, could return the next day to see a doctor, or had a self-limited problem that might resolve with simple treatment.

  8. Michael

    Interestingly, it began as a computer project involving Beth Israel Hospital and Lincoln Laboratories. But computers in the late 1960s and early 1970s were difficult to use, so the program was converted into roughly twenty printed flow sheets. The paper version was practical enough to be used at MIT for a while, including for headache complaints.

  9. Maria

    Flowcharts are still useful in unfamiliar situations. A doctor trained in Boston may not have much experience with tropical diseases, so a manual can provide a branching sequence of questions and warning signs. But these systems are fragile: they're highly specific, may fail on unusual cases, require substantial consensus-building, and can become outdated.

  10. Michael

    Another early idea represented diseases and symptoms using punched cards, similar to old library-card sorting systems. A disease card had holes corresponding to manifestations. If a patient had a particular symptom, you inserted a needle through the relevant hole and shook the pile; the cards that remained represented diseases associated with that symptom.

  11. Maria

    The problem becomes obvious when a patient has multiple problems. If you select several manifestations, very quickly no single disease card may match all of them, so you end up with no cards. A computer implementation of essentially the same idea was even proposed in the late 1980s, but colleagues advised against investing in it.

  12. Michael

    A more sophisticated approach is the naive Bayes model. It assumes that the patient has exactly one disease from an exhaustive and mutually exclusive set. It also assumes that the manifestations are conditionally independent given the disease: each finding depends on the disease, but not on the other findings.

  13. Maria

    Under those assumptions, Bayes' rule lets us update disease probabilities as evidence arrives. We start with prior probabilities, such as disease prevalence in a population. Then, after observing a symptom or test result, we revise the probabilities, and we can repeat that process sequentially for additional observations.

  14. Michael

    The sequential process can be pictured as narrowing the population. Begin with everyone, observe symptom one, and focus on the people who had that result. Then observe symptom two and narrow the group again. Mathematically, this works through repeated Bayesian updating, although its validity depends on the conditional-independence assumption.

  15. Maria

    Because medical users often prefer addition to multiplication, probabilities can be represented as odds. The posterior odds equal the prior odds multiplied by the likelihood ratios associated with the observed symptoms. Taking logarithms turns multiplication into addition, which is why some clinical scores add points for different findings: they can be interpreted as a log-odds version of sequential Bayesian reasoning.

  16. Michael

    The lecture then connects testing to receiver operating characteristic curves. Imagine test results as continuous values for two groups: ill patients and well patients. Because the two distributions may overlap, choosing a threshold creates false positives among well patients above the threshold and false negatives among ill patients below it.

  17. Maria

    Moving the threshold changes the trade-off between sensitivity and specificity. A test with almost no overlap between the distributions performs very well. On an ROC curve, a diagonal line represents random performance, with an area under the curve of about one-half. An area under the curve close to one indicates a strong ability to distinguish the two patient categories.

  18. Michael

    Diagnosis isn't only about what is most probable; it can also be about what action produces the best expected outcome. The principle of rationality says an agent should choose the action that maximizes expected utility, where utility represents the value of possible outcomes.

  19. Maria

    In medicine, utility might involve survival, quality-adjusted life years, hospitalization costs, or the patient's assessment of a health state. Every action also has a cost, including time and the possibility of harmful side effects.

  20. Michael

    Consider the elderly man with gangrene in his foot. His choices were immediate foot amputation or medical treatment with antibiotics. Medical treatment could lead to full recovery, worsening gangrene requiring amputation of the whole leg, or death. If the first treatment failed, there was another decision about whether to amputate the leg or continue medical treatment.

  21. Maria

    This can be represented as a decision tree. At chance nodes, we calculate expected utility by multiplying each outcome's utility by its probability and adding the results. At decision nodes, we choose the branch with the higher expected value, then fold the tree backward until we reach the initial decision.

  22. Michael

    The important ethical point is that the utilities should reflect what the patient values, not simply what the doctor thinks is best. The gentleman valued living with an amputated foot at 850 on a scale where healthy was 1,000 and death was zero. Someone whose profession depends heavily on physical performance might value amputation very differently.

  23. Maria

    The resulting recommendation depends on both probabilities and utilities. With one set of estimates, medical treatment had slightly higher expected utility than immediate amputation. But when the patient's value for living with an amputation changed from 850 to 900, immediate amputation became slightly preferable. That sensitivity shows how dependent decision analysis is on its inputs.

  24. Michael

    The probabilities were estimated by reviewing medical literature, databases, and outcomes for people with similar characteristics. Utilities are harder to measure. One method is the standard gamble: ask a patient to compare a health state, such as living without a foot, with a gamble between remaining healthy and dying.

  25. Maria

    If a person is indifferent between the health state and a gamble with a particular probability of survival, that probability estimates the utility of the health state relative to perfect health. But these measurements can be unstable: people may give one answer hypothetically and change their preference when facing the real decision.

  26. Michael

    A classic diagnostic program applied these ideas to acute oliguric renal failure, meaning a sudden kidney problem in which the patient produces too little urine. This was considered a good target because a sudden change in someone who was well the previous day is more likely to have one main cause than the many interacting conditions that may occur in an older patient.

  27. Maria

    The system listed fourteen possible causes and twenty-seven relatively inexpensive tests, questions, or observations. It aimed to avoid asking all twenty-seven questions. Instead, it selected questions that were expected to reduce uncertainty the most, using entropy as a measure of uncertainty.

  28. Michael

    For example, it might first ask about blood pressure when oliguria began, then about protein in the urine, kidney size, or the amount of urine being produced. Each answer updated the probability distribution across possible causes. Once one cause reached an arbitrary threshold of 95 percent, the system moved toward considering expensive or invasive tests and treatments.

  29. Maria

    This was a practical compromise. Building a full decision tree with twenty-seven possible questions would create an enormous number of branches. Choosing questions that maximize expected information gain provides a heuristic for narrowing the problem before applying more detailed decision analysis.

  30. Michael

    The program did not work especially well because its probabilities were poorly estimated and its utility model was unrealistic. Its model treated the patient as simply getting better, staying the same, or getting worse, without adequately representing how much better or worse the outcomes were. Still, one doctor later said that the system seemed to think the way he did.

  31. Maria

    The single-disease assumption is often too restrictive. If several diseases can be present at once, we can create a bipartite model with diseases on one side and manifestations on the other. Each disease can cause some manifestations, and the model assumes that manifestations depend on the diseases present rather than directly on one another.

  32. Michael

    This creates a large Bayesian network, and exact inference can become computationally difficult. The difficulty tends to grow exponentially with the number of undirected cycles in the network. A system such as QMR eventually included hundreds of diseases and thousands of manifestations, making exact calculation especially challenging.

  33. Maria

    QMR evolved from an earlier program called Dialog, later renamed Internist, and eventually QMR, or Quick Medical Reference. Around 1982, it included about 500 diseases and 3,500 manifestations, representing an estimated 70 to 75 percent of major internal-medicine diagnoses. Building that database required roughly fifteen person-years of reading textbooks, journal articles, and patient records.

  34. Michael

    By 1997, the commercialized system had grown to about 750 diagnoses and 5,500 manifestations. For each disease, QMR stored associated findings along with two important ratings: evoking strength and frequency. Evoking strength measured how strongly a finding should suggest the disease, while frequency measured how often the finding occurred among patients with that disease.

  35. Maria

    The scales were impressionistic rather than formally defined. An evoking strength of zero meant a manifestation was nonspecific, while five meant it was pathognomonic—strong enough by itself to identify the disease. A frequency of one meant the manifestation was rare in that disease, while five meant it occurred in essentially all cases.

  36. Michael

    That distinction matters. Anorexia, for example, might be common among people with alcoholic hepatitis, giving it a high frequency, but seeing anorexia should not strongly evoke alcoholic hepatitis because many conditions can cause it. The system also rated how critical a manifestation was to explain: a headache might be incidental, while gastrointestinal bleeding would be difficult to leave unexplained.

  37. Maria

    QMR took a case's manifestations, used strongly evocative findings to generate candidate diagnoses, scored them, and formed a differential around the highest-ranking diagnosis. Its developers tested it on difficult clinical-pathological conference cases, including cases selected because experienced doctors could be stumped by them.

  38. Michael

    One useful heuristic involved distinguishing competing from complementary diagnoses. Suppose disease one explains manifestations one through four, and disease two explains manifestations three through six. If the patient has only manifestations three and four, either disease could explain the case, so they compete. If the patient has manifestation one as well, disease one becomes more attractive because it explains more of the findings.

  39. Maria

    But if the patient also has manifestation six, neither disease explains everything alone. That makes the possibility of two simultaneous diseases more plausible. QMR responded by forming a differential around the leading hypothesis: it retained diseases that competed with that hypothesis, while temporarily setting aside complementary diseases and unrelated manifestations.

  40. Michael

    The system could also choose different questioning strategies. If one diagnosis had a much higher score than the others, it could ask about findings strongly predicted by that leading diagnosis. If the differential was broad, it could ask about findings associated with less likely diagnoses, hoping to rule them out and shrink the list.

  41. Maria

    Initial evaluations were very positive, but later testing was less impressive. In one study of 105 cases and four programs, including QMR, DXplain, Iliad, and Meditel, researchers measured coverage, correctness, ranking, the presence of expert-approved diagnoses in the top twenty, and whether the program added reasonable diagnoses experts had not considered.

  42. Michael

    For example, the correct diagnosis appeared somewhere in DXplain for about 91 percent of cases but in QMR for about 73 percent. When the programs did include the correct diagnosis, it was often not ranked first. At a cutoff of twenty diagnoses, performance was only a little over half for many systems.

  43. Maria

    So these programs were not reliable replacements for expert diagnosis. Still, they could be useful because they displayed relationships between findings and diseases, provided relative likelihoods, and sometimes suggested possibilities a doctor might otherwise overlook. The researchers argued that the next question should be whether these systems actually improved doctors' performance.

  44. Michael

    A later effort treated the QMR database more directly as a Bayesian network. It used binary variables for disease presence and absence and manifestation presence and absence, causal independence through a leaky noisy-OR model, and prior probabilities estimated from national health statistics. It used the frequency information as a scaled conditional probability but did not use evoking strength.

  45. Maria

    When tested on cases from Scientific American Medicine, this Bayesian approach often ranked the reference diagnosis near the top and performed better than some simplified variants. There were still difficult cases, including one where the system's defense was that it identified a more general version of the diagnosis that experts had accepted.

  46. Michael

    Today, symptom checkers are widely available as apps. They ask about manifestations, timing, severity, related findings, and demographic information, then adapt their next questions. In that sense, they are descendants of the renal-failure algorithm: they try to choose questions that efficiently narrow the possibilities.

  47. Maria

    A British Medical Journal evaluation examined twenty-three symptom checkers using forty-five standardized patient vignettes. The correct diagnosis was listed first in 34 percent of cases, appeared within the top twenty in 58 percent, and the correct triage recommendation was given in 57 percent.

  48. Michael

    The triage results were more accurate for emergency cases, which is particularly important because missing an urgent situation is more dangerous than giving a cautious recommendation. These tools also tend to end with advice to seek medical care if symptoms are severe, partly because they are not intended to function as unrestricted autonomous medical decision-makers.

  49. Maria

    Another issue is that probabilities become less stable as populations are divided into narrower combinations of symptoms and demographic characteristics. A result based on a small number of similar patients may look precise but actually rest on limited evidence.

  50. Michael

    Now let's return to rationality and resource constraints. Every question, test, or treatment costs something—at minimum time, and sometimes risk or money. Eric Horvitz argued that utility comes not only from the patient's outcome but also from the reasoning process itself: computation takes time, and time can matter.

  51. Maria

    This is bounded rationality. If you're choosing a house, you may have time to compare many alternatives carefully. If a car is moving toward you in a crosswalk, you need a rapid response rather than a long calculation. Medical reasoning can face the same tension when a patient is deteriorating while the clinician is still deciding what to do.

  52. Michael

    Horvitz's framework uses the expected value of computation: is it worth spending more time reasoning, gathering information, or refining a calculation? The answer depends on whether the improvement in the decision is worth the delay and computational cost.

  53. Maria

    The intensive-care example involved a 75-year-old woman who suddenly developed breathing difficulties. Immediate mechanical ventilation might prevent short-term death, but it could also cause complications such as infection or pneumonia. Deliberating too long could also be dangerous, so the system has to balance treatment utility against the value and cost of additional reasoning.

  54. Michael

    The proposed architecture represented the medical decision with an influence diagram: essentially a Bayesian network augmented with decision nodes and value nodes. It also represented meta-level knowledge about which utility model, inference method, or questioning strategy was worth using under the circumstances.

  55. Maria

    That connects back to QMR's different questioning strategies. Choosing whether to pursue evidence for the leading diagnosis or search for findings that eliminate alternatives is itself a reasoning decision. Just-in-time algorithms capture a similar idea: if time runs out, use the best answer available rather than continuing to deliberate indefinitely.

  56. Michael

    The most modern approach in the lecture reformulates diagnosis as reinforcement learning. Every activity—asking about a finding, performing an intervention, or concluding a diagnosis—is treated as an action. The patient's state, or the system's knowledge about the patient, changes after each action.

  57. Maria

    In this formulation, the state space consists of positive and negative findings. The action space includes asking about a finding or concluding a diagnosis. The reward is positive or negative depending on whether the final single diagnosis is correct. It is a finite-horizon problem because the system imposes a limit on the number of questions; failure to reach an answer in time receives a negative reward.

  58. Michael

    A discount factor gives less value to rewards that are farther in the future, encouraging shorter questioning sequences. The system uses a modern form of Q-learning with a double deep-neural-network strategy to learn a policy: a rule for choosing the next action in each possible state.

  59. Maria

    The REFUEL system adds two important techniques. First is reward shaping, which gives extra encouragement to ask questions likely to have positive answers. Since most patients do not have most possible findings, asking endless questions that produce no, no, no, and no provides little guidance. Positive findings are often more useful for identifying what is happening.

  60. Michael

    The authors showed that the added reward could guide learning without changing the optimal policy for the original reward function. The second technique, called feature rebuilding, reduces the effective space of findings. The network learns to predict unasked manifestations from the findings already observed, using the fact that manifestations often covary rather than being truly independent.

  61. Maria

    REFUEL was tested on simulated data involving 650 diseases and 375 symptoms. Its full method performed better and learned more quickly than straightforward reinforcement learning or a version using only reward shaping. But that result needs caution: the data were generated artificially from estimated disease and symptom statistics, not collected from real patients.

  62. Michael

    So the historical progression is clear. We move from paper flowcharts and punched cards, to association-based systems, naive Bayes, decision analysis, large Bayesian networks, symptom checkers, meta-level reasoning, and finally neural reinforcement-learning approaches.

  63. Maria

    The underlying questions remain similar: What diseases could explain the findings? Which question or test should come next? How should uncertainty be updated? What action has the best expected outcome? And how should time, cost, risk, and the patient's own preferences affect the decision?

  64. Michael

    The newer neural-network systems often treat diagnosis mainly as a prediction task rather than explicitly representing every probability. They may use convolutional, recurrent, attention-based, or combined models, and they often perform somewhat better than earlier learning methods, though not invariably.

  65. Maria

    But better prediction does not eliminate the need for evaluation. A system can produce plausible rankings while missing important diseases, relying on questionable probabilities, or failing to improve clinicians' decisions. The central lesson is that diagnostic reasoning is not just classification: it combines evidence, uncertainty, multiple possible diseases, actions, utilities, and limited time.

  66. Michael

    And that's differential diagnosis in a nutshell—not a single magic algorithm, but a family of models for narrowing possibilities and choosing wisely under uncertainty. The best approach depends on the structure of the medical problem, the quality of the data, the consequences of errors, and how much time is available.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent