Skip to main content

Welcome to a Grasp lesson

Create a free account to keep studying and create your own study path.

Lesson 13

Understanding Sensitivity and Specificity in Dental Diagnostics

Recommended resources

Hello! Welcome to the first lesson in our new module, "Understanding AI Performance Metrics."

In our last module, we explored how an AI model for dental vision is trained, tested, and how it presents its findings through outputs like probability scores, bounding boxes, and segmentation masks. We learned to answer the question, "What is the AI telling me?"

Now, we move to a different, equally critical question: "How good is the AI's answer?" Just because an AI flags a potential issue doesn't automatically mean it's correct. To be effective clinical users of AI, we must be able to objectively measure and understand its diagnostic performance. This module will give you the tools to do just that.

Today's learning outcome is to: Define sensitivity and specificity in the context of a dental diagnostic test.

These two metrics are the bedrock of evaluating any diagnostic test, from a simple reagent strip to a sophisticated AI algorithm. Mastering them will empower you to look past marketing claims and critically assess how a tool might perform in your practice.

The Four Possible Outcomes of a Diagnostic Test

Before we can define sensitivity and specificity, we need to establish the four fundamental outcomes that can occur whenever we compare a test result to the "real" situation. In diagnostics, this "real" situation is called the gold standard or ground truth. For detecting caries, the gold standard might be a histological analysis of an extracted tooth—a method that gives us the definitive answer but is obviously not practical for routine use.

An AI, like any diagnostic test, is evaluated by comparing its findings to this gold standard. This comparison results in one of four outcomes:

  1. True Positive (TP): The AI correctly identifies a condition that is truly present.
    • Example: The AI flags a carious lesion on a bitewing, and the gold standard confirms caries is there. This is a correct "hit."
  2. True Negative (TN): The AI correctly reports no condition when no condition is present.
    • Example: The AI finds no caries on a tooth surface, and the gold standard confirms the surface is sound. This is a correct "rejection."
  3. False Positive (FP): The AI incorrectly identifies a condition that is not actually present. This is also known as a Type I error.
    • Example: The AI flags a carious lesion, but the gold standard shows the tooth is sound. This could lead to unnecessary investigation or even drilling on a healthy tooth.
  4. False Negative (FN): The AI fails to identify a condition that is truly present. This is also known as a Type II error.
    • Example: The AI misses a carious lesion that the gold standard confirms is present. This could lead to untreated disease progression.

To get a clear visual and conceptual grasp of these four outcomes and their clinical importance, please watch the following video.

Sensitivity and Specificity simplified

The video 'Sensitivity and Specificity simplified' from the Let's Learn Public Health channel provides an excellent introduction to these four foundational terms.

Watch the segment from 00:36 to 02:24. It walks through the definitions of True Positive, True Negative, False Positive, and False Negative and explains their clinical implications.


The 2x2 Table: Organizing the Outcomes

To calculate performance metrics, we organize these four outcomes into a standard format called a 2x2 contingency table. This table is the foundation for everything we will discuss in this module.

Gold Standard: Disease Present Gold Standard: Disease Absent
Test: Positive True Positive (TP) False Positive (FP)
Test: Negative False Negative (FN) True Negative (TN)

Now, let's use this framework to define sensitivity and specificity.


Sensitivity: The "True Positive Rate"

Sensitivity measures how well a test can detect a disease when it is actually present. It answers the question: Of all the patients who truly have the condition, what proportion did our test correctly identify?

The formula for sensitivity is:

The denominator, TP + FN, represents everyone who truly has the disease. Sensitivity is therefore the proportion of these individuals who received a positive test result.

Let's watch a video that explains this calculation using the 2x2 table.

Biostatistics - Evaluation of Diagnostic Tests: Sensitivity & Specificity

The video 'Biostatistics - Evaluation of Diagnostic Tests' clearly explains the formula for sensitivity.

Watch from 00:13 to 02:22. The presenter introduces the 2x2 table and explains how to derive the sensitivity formula directly from the definition.

Now, let's apply this to a dental example from a helpful handout on this topic.

[PDF] Sensitivity and Specificity A Caries Example

This PDF, 'Sensitivity and Specificity: A Caries Example,' provides a concise, numerical example that is directly relevant to our interests.

Read the first page of the document, focusing on the section 'Calculating sensitivity.' It provides a clear calculation based on real-world data.

As the handout explains, if a gold standard (histology) finds 45 tooth surfaces with caries (TP + FN), and bitewing radiographs correctly identify 24 of them (TP), the sensitivity is:

This means that this specific diagnostic method (bitewings) correctly identifies 53% of the carious lesions that are present.


Specificity: The "True Negative Rate"

Specificity is the complementary measure. It tells us how well a test can rule out a disease when it is truly absent. It answers the question: Of all the patients who are truly healthy, what proportion did our test correctly identify as negative?

The formula for specificity is:

Here, the denominator, TN + FP, represents everyone who truly does not have the disease. Specificity is the proportion of these healthy individuals who received a negative test result.

The video you watched previously also covers this concept.

Biostatistics - Evaluation of Diagnostic Tests: Sensitivity & Specificity

Let's return to the 'Biostatistics' video to see how specificity is defined and calculated.

Watch the section from 02:22 to 03:19, which focuses on the definition and formula for specificity.

Using the same dental handout, we can see a calculation for specificity: if there are 60 surfaces with no caries (TN + FP), and radiographs correctly identify 58 of them as sound (TN), the specificity is:

This means that bitewings are 97% accurate at confirming that a tooth surface is sound when it truly is.

Here is a simple graphic that summarizes both formulas visually.

Sensitivity and Specificity Explained Visually and Mathematically
This image provides a helpful visual summary. Sensitivity focuses on the left column of our 2x2 table (the 'Disease Present' group), while Specificity focuses on the right column (the 'Disease Absent' group).

Clinical Interpretation: "Ruling In" vs. "Ruling Out"

Sensitivity and specificity are not just abstract numbers; they have direct clinical implications for how we use test results.

  • A test with high sensitivity is very good at finding the disease. It produces few false negatives. Therefore, if a highly sensitive test gives a negative result, you can be very confident that the patient does not have the disease. This is useful for ruling out a condition. A common mnemonic is SnNout (a highly Sensitive test, when Negative, rules out the disease).

  • A test with high specificity is very good at confirming the absence of disease. It produces few false positives. Therefore, if a highly specific test gives a positive result, you can be very confident that the patient does have the disease. This is useful for ruling in a condition. The mnemonic for this is SpPin (a highly Specific test, when Positive, rules in the disease).

The dog analogy in the 'Biostatistics' video provides a memorable way to understand this distinction.

Biostatistics - Evaluation of Diagnostic Tests: Sensitivity & Specificity

To solidify your understanding of 'rule in' and 'rule out,' watch this final clip from the 'Biostatistics' video. The analogy is very effective.

Watch from 03:19 to 06:06. Pay attention to why the 'sensitive' dog is good at ruling out threats and why the 'specific' dog is good at ruling them in.


Application to a Dental AI Study

Now, let's tie this all together by looking at a real research paper evaluating a dental AI. This is exactly the kind of literature you will encounter as a clinician interested in AI.

Assessment of the Diagnostic Accuracy of Artificial Intelligence ...

The paper 'Assessment of the Diagnostic Accuracy of Artificial Intelligence...' evaluates a commercial AI software. We will look at its reported sensitivity and specificity.

First, read the paragraph in the Methods section that begins 'This evaluation utilized diagnostic metrics...' to see the formal definitions. Then, look at Table 2 in the Results section. Finally, read the first paragraph of subsection 4.1 'AI in the Detection of Carious Lesions'.

From Table 2, we can see the performance of the AI for detecting caries:

  • Sensitivity: 91.0%
  • Specificity: 87.0%

How do we interpret this?

  • The AI correctly identified 91% of the carious lesions that were truly present in the dataset.
  • The AI correctly identified 87% of the tooth surfaces that were truly sound.

As the authors discuss in section 4.1, for a condition like caries where treatment is irreversible, high specificity is arguably more critical than high sensitivity. A false positive (low specificity) could lead a dentist to drill a healthy tooth, whereas a false negative (low sensitivity) means a lesion is missed, which, while not ideal, can often be caught at a later check-up. This is a perfect example of how understanding these metrics allows you to critically appraise a tool's clinical utility.


Conclusion

In this lesson, you've learned to define and interpret two of the most fundamental metrics for evaluating any diagnostic test, including AI.

Key Takeaways:

  • Any diagnostic test has four possible outcomes when compared to a gold standard: True Positive (TP), True Negative (TN), False Positive (FP), and False Negative (FN).
  • Sensitivity measures the proportion of true disease cases that the test correctly identifies (TP / (TP + FN)). A highly sensitive test is excellent for ruling out disease.
  • Specificity measures the proportion of true non-disease cases that the test correctly identifies (TN / (TN + FP)). A highly specific test is excellent for ruling in disease.
  • The clinical context dictates whether sensitivity or specificity is more important. For irreversible treatments like restorative dentistry, high specificity is often prioritized to avoid false positives.

You are now equipped with the foundational language of diagnostic test evaluation. In our next lesson, we will build directly on the 2x2 table to explore two more metrics: Positive Predictive Value (PPV) and Negative Predictive Value (NPV). These metrics shift the perspective from the test itself to the patient, answering the crucial clinical question: "My patient's test is positive. What is the probability they actually have the disease?"