Skip to main content
QUICK REVIEW

[Paper Review] Distributed Abstraction Algorithm for Online Predicate Detection

Himanshu Chauhan, Vijay K. Garg|arXiv (Cornell University)|Apr 16, 2013
Ferroelectric and Negative Capacitance DevicesEngineering21 references6 citations
TL;DR

This paper presents the first distributed online algorithm for computation slicing with respect to regular predicates in distributed systems. By distributing the state space analysis across processes, it reduces per-process space and computation complexity by a factor of O(n), enabling efficient online predicate detection with exponential reduction in state exploration compared to centralized approaches.

ABSTRACT

Analyzing a distributed computation is a hard problem in general due to the combinatorial explosion in the size of the state-space with the number of processes in the system. By abstracting the computation, unnecessary explorations can be avoided. Computation slicing is an approach for abstracting dis- tributed computations with respect to a given predicate. We focus on regular predicates, a family of predicates that covers a large number of commonly used predicates for runtime verification. The existing algorithms for computation slicing are centralized in nature in which a single process is responsible for computing the slice in either offline or online manner. In this paper, we present a distributed online algorithm for computing the slice of a distributed computation with respect to a regular predicate. Our algorithm distributes the work and storage requirements across the system, thus reducing the space and computation complexities per process. In addition, for conjunctive predicates, our algorithm also reduces the message load per process.

Motivation & Objective

  • To address the scalability limitations of centralized predicate detection in large-scale distributed systems with combinatorial state-space explosion.
  • To enable efficient online predicate detection by abstracting irrelevant computation parts via distributed slicing.
  • To reduce per-process memory and computational load in predicate detection by distributing the slicing workload across all processes.
  • To support regular predicates—commonly used in runtime verification—through a scalable, distributed online algorithm.
  • To provide a foundation for efficient runtime verification in multicore and distributed systems with message-passing architectures.

Proposed method

  • The algorithm distributes the computation slicing process across all processes in the system, avoiding reliance on a single coordinator.
  • Each process maintains local state information and communicates with others to incrementally construct the slice of the computation relevant to the regular predicate.
  • The algorithm uses a distributed data structure to track causal dependencies and consistent cuts, ensuring correctness of the abstracted computation.
  • It employs a message-passing mechanism to propagate event information and synchronize slice construction across processes in real time.
  • An optimized variant reduces redundant computation and message traffic by pruning unnecessary state propagation.
  • The algorithm ensures that the resulting slice contains all and only the global states satisfying the predicate, minimizing state space size.

Experimental results

Research questions

  • RQ1Can computation slicing be effectively distributed across multiple processes to reduce per-process resource usage in online predicate detection?
  • RQ2Does a distributed online slicing algorithm for regular predicates achieve significant reductions in space and time complexity compared to centralized approaches?
  • RQ3Can the distributed algorithm maintain correctness and completeness in detecting predicate satisfaction across all consistent cuts?
  • RQ4How does the performance of the distributed algorithm compare to centralized online slicing in terms of message count and execution time?
  • RQ5Can the algorithm be optimized to eliminate redundant computations and message exchanges without sacrificing correctness?

Key findings

  • The distributed algorithm reduces per-process space and computation complexity by a factor of O(n) compared to centralized approaches.
  • The algorithm constructs a slice that is exponentially smaller than the original computation in many cases, significantly reducing the number of global states to examine.
  • The optimized version of the algorithm reduces message overhead and avoids redundant computations during slice construction.
  • Experimental evaluation (in the extended version) shows improved performance over centralized algorithms in terms of time and communication cost.
  • The algorithm correctly detects predicate satisfaction in the full computation by analyzing only the abstracted slice, ensuring soundness and completeness for regular predicates.

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.