Active Test Selection for Sequential Fault Diagnosis

This direction is no longer present in the current build. Its last version stays readable and citable here.

Version 1 of 119 papers30 conceptsfrozen 2026-10-04

When a complex system—whether a digital circuit, a software program, or a human body—begins to fail, the number of potential causes can be overwhelming. In a system with hundreds of components, the possible combinations of multiple faults grow exponentially. The central challenge of diagnosis is not just identifying what could be wrong, but deciding what to measure next to find the answer as quickly as possible.

Research in this field focuses on active test selection: a strategy that uses information theory to pick the most informative observations, minimizing the time and cost of troubleshooting.

The Problem of Combinatorial Explosion

Early diagnostic systems struggled with the "combinatorial explosion" of possible fault states. If every component in a circuit could be either healthy or broken, a system with only 30 parts has over a billion possible configurations. In Reasoning about Multiple Faults, Johan de Kleer and Brian C. Williams introduced the General Diagnostic Engine (GDE) to manage this by focusing on "minimal sets" of components that could explain a discrepancy.

However, knowing which components might be failing doesn't tell you where to put your probe. Randomly checking components is inefficient. To solve this, researchers turned to Shannon entropy as a compass for the diagnostic process.

Entropy as a Diagnostic Compass

The core intuition behind this research direction is that diagnosis is a process of uncertainty reduction. Before any tests are run, our uncertainty (entropy) is high because many different fault hypotheses are equally likely. A "good" test is one that, regardless of its outcome, significantly reduces this uncertainty.

In Diagnosis with Behavioral Modes, de Kleer and Williams demonstrated that by selecting measurements that maximize the expected reduction in entropy, a system (like their Sherlock engine) can isolate faults much faster.

Think of it like a game of "20 Questions." If you ask a question that only eliminates one obscure possibility, you haven't gained much. But if you ask a question that splits the remaining possibilities in half, you gain a full "bit" of information. Konstantin Schekotihin applied this to debugging logic programs in Interactive Query-Based Debugging of ASP Programs, where the system asks the user questions specifically designed to eliminate roughly half of the remaining candidate diagnoses.

The Efficiency of Greedy Selection

While finding the absolute minimum number of tests to solve a diagnosis is a computationally "hard" problem, researchers have found that greedy approximation works remarkably well. A greedy algorithm simply looks one step ahead, picking the single best test available right now.

Irina Rish, Mark Brodie, and Sheng Ma showed in Optimizing Probe Selection for Fault Localization that this greedy additive search produces results very close to the theoretical minimum. This allows for real-time diagnosis in large-scale networks without needing to calculate every possible future outcome.

Expanding the Diagnostic Horizon

This information-theoretic approach has proven versatile across different domains:

  • Software Debugging: In Spectrum-Based Sequential Diagnosis, Alberto González-Sanchez 0002 and Rui Abreu 0001 used these techniques to reduce the number of tests needed to find software bugs by up to 80%.
  • Intermittent Faults: Johan de Kleer extended the framework in Diagnosing Multiple Persistent and Intermittent Faults to handle "flaky" components that don't fail every time, using entropy to reach a target confidence level despite the noise.
  • Medicine: Keith L. Downing applied these principles to human physiology in Consistency-Based Diagnosis in Physiological Domains, showing that entropy can determine not just what to measure, but the optimal time to take a measurement in a dynamic, changing system.

By treating diagnosis as a search for information rather than just a search for a broken part, this research provides a mathematically rigorous way to troubleshoot the world's most complex systems efficiently.

Papers in this version

History & citationVersion 1 · 2026-10-04

No longer present in the current build · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_active_test_selection_for_sequential_fau_b43a2c57,
  title = {Active Test Selection for Sequential Fault Diagnosis},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/active-test-selection-for-sequential-fault-diagnosis/rdr_b43a2c574fb9452e8f7d9f4a4df0967e},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-26},
}

This exact version (version 1, frozen text):

@misc{lacuna_active_test_selection_for_sequential_fau_b43a2c57_v1,
  title = {Active Test Selection for Sequential Fault Diagnosis},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/active-test-selection-for-sequential-fault-diagnosis/rdr_b43a2c574fb9452e8f7d9f4a4df0967e/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-26},
}