Skip to main content
QUICK REVIEW

[Paper Review] RBF-HS: Recursive Best-First Hitting Set Search

Patrick Rodler|arXiv (Cornell University)|Oct 8, 2020
AI-based Problem Solving and PlanningComputer Science119 references12 citations
TL;DR

This paper introduces RBF-HS and HBF-HS, two novel memory-efficient algorithms for model-based diagnosis that compute minimal fault explanations in best-first order with soundness, completeness, and linear space complexity. RBF-HS leverages recursive best-first search principles to drastically reduce memory usage—up to four orders of magnitude less than Reiter’s HS-Tree—while maintaining or improving runtime in many cases, especially for minimum-cardinality diagnoses.

ABSTRACT

Various model-based diagnosis scenarios require the computation of most preferred fault explanations. Existing algorithms that are sound (i.e., output only actual fault explanations) and complete (i.e., can return all explanations), however, require exponential space to achieve this task. As a remedy, we propose two novel diagnostic search algorithms, called RBF-HS (Recursive Best-First Hitting Set Search) and HBF-HS (Hybrid Best-First Hitting Set Search), which build upon tried and tested techniques from the heuristic search domain. RBF-HS can enumerate an arbitrary predefined finite number of fault explanations in best-first order within linear space bounds, without sacrificing the desirable soundness or completeness properties. The idea of HBF-HS is to find a trade-off between runtime optimization and a restricted space consumption that does not exceed the available memory. In extensive experiments on real-world diagnosis cases we compared our approaches to Reiter's HS-Tree, a state-of-the-art method that gives the same theoretical guarantees and is as general(ly applicable) as the suggested algorithms. For the computation of minimum-cardinality fault explanations, we find that (1) RBF-HS reduces memory requirements substantially in most cases by up to several orders of magnitude, (2) in more than a third of the cases, both memory savings and runtime savings are achieved, and (3) given the runtime overhead is significant, using HBF-HS instead of RBF-HS reduces the runtime to values comparable with HS-Tree while keeping the used memory reasonably bounded. When computing most probable fault explanations, we observe that RBF-HS tends to trade memory savings more or less one-to-one for runtime overheads. Again, HBF-HS proves to be a reasonable remedy to cut down the runtime while complying with practicable memory bounds.

Motivation & Objective

  • To address the high memory consumption of traditional best-first diagnosis algorithms, which limits their use in memory-restricted systems like IoT devices.
  • To develop a general-purpose diagnostic search method that maintains soundness, completeness, and best-first ordering while operating within linear space bounds.
  • To provide a hybrid alternative that balances memory efficiency and runtime performance by combining HS-Tree and RBF-HS.
  • To demonstrate the applicability and superiority of the proposed methods on real-world, complex diagnosis problems involving high-expressivity logics and NP-hard reasoning.

Proposed method

  • RBF-HS adapts Korf’s Recursive Best-First Search (RBFS) to the hitting set problem in model-based diagnosis, maintaining only the current path and best alternative at each level.
  • The algorithm uses a heuristic function to prioritize nodes based on a preference criterion (e.g., minimal cardinality or maximal probability) and backtracks efficiently using a recursive depth-first strategy with limited memory.
  • HBF-HS dynamically switches from HS-Tree to RBF-HS when memory usage exceeds a user-defined threshold, combining the speed of HS-Tree with the memory efficiency of RBF-HS.
  • Both algorithms are general and work with any monotonic logical language and reasoning mechanism, making them applicable to diverse domains such as ontology debugging and knowledge base validation.
  • The search maintains soundness and completeness by ensuring all minimal diagnoses are enumerated in the specified preference order.
  • The algorithms are implemented with a hitting set tree structure where each node represents a partial hitting set, and leaves correspond to complete minimal diagnoses.

Experimental results

Research questions

  • RQ1Can a best-first diagnosis algorithm be designed to operate within linear space while preserving soundness and completeness?
  • RQ2How does the memory and runtime performance of RBF-HS compare to the widely used HS-Tree algorithm on real-world diagnosis problems?
  • RQ3To what extent can RBF-HS reduce memory consumption without incurring excessive runtime overhead, especially for high-cardinality or complex diagnosis problems?
  • RQ4Can a hybrid strategy like HBF-HS effectively balance memory efficiency and runtime performance in memory-constrained environments?
  • RQ5Does the proposed approach generalize beyond diagnosis to other best-first hitting set computation problems?

Key findings

  • RBF-HS reduced memory usage by up to 4200× compared to HS-Tree in the hardest cases, such as ccc and cce, while requiring only 125 tree nodes in one instance.
  • In 38% of cases for minimum-cardinality diagnosis, RBF-HS achieved runtime improvements of up to 65% compared to HS-Tree, with a 99.9% reduction in memory usage.
  • For most-probable diagnoses, RBF-HS traded memory savings for runtime in a nearly one-to-one ratio, with significant overheads observed in some cases.
  • HBF-HS successfully mitigated runtime overheads from RBF-HS, reducing computation time to levels comparable with HS-Tree while keeping memory use bounded.
  • In one case (cce, SPL, 20), HS-Tree ran out of memory after 37 minutes, while RBF-HS solved the problem in under 11 minutes with minimal memory.
  • The results confirm that RBF-HS scales well for minimum-cardinality diagnosis, achieving substantial memory and runtime improvements across diverse, real-world knowledge-based diagnosis problems.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.