NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Distributed Computation of Fixed Points on Dependency Graphs

Andreas Engelbredt Dalsgaard, Søren Enevoldsen, Kim Guldstrand Larsen, Jirí SrbaSETTA 2016

TL;DR

This paper introduces a novel distributed algorithm for computing fixed points on dependency graphs, a fundamental structure for various verification problems. Their on-the-fly approach offers significant speedups, outperforming existing tools on complex verification tasks by efficiently exploring only necessary parts of the graph.

What Problem Does This Paper Address?

Formal verification of software and hardware systems is crucial for ensuring reliability. Many verification problems, such as checking equivalences (like bisimulation) or model checking, can be reduced to computing fixed points on dependency graphs. While algorithms exist for this, they often require generating the entire graph upfront and can be computationally expensive, especially for large systems. The challenge is to efficiently compute these fixed points in a distributed manner, leveraging parallel computing power to handle increasingly complex systems.

Methods

The core contribution is a distributed, on-the-fly algorithm for computing minimum fixed points on dependency graphs. Instead of pre-generating the entire graph, their algorithm explores it as needed. It uses a message-passing approach where multiple workers (processes) collaborate. Each worker maintains a local view of the graph and its assignments, communicating with others to gather information and update values. Key aspects include:

  • Dependency Graphs: A mathematical structure representing dependencies between vertices, where a vertex's value depends on the values of other vertices in its "target set."
  • Fixed-Point Computation: Finding an assignment of values (0 or 1) to vertices such that the dependencies are satisfied. The minimum fixed-point is of particular interest.
  • Distributed Algorithm: Workers communicate via messages to collectively compute the fixed point. This avoids a central coordinator and allows for parallel execution.
  • On-the-Fly Exploration: The algorithm only explores parts of the dependency graph that are necessary to determine the fixed-point value for a specific vertex. This is a significant advantage when the answer can be found early.
  • Termination Detection: A standard distributed mechanism is used to ensure the algorithm halts correctly.

Datasets

Not discussed in the paper. The paper focuses on the algorithm's theoretical correctness and performance evaluation using synthetic benchmarks derived from specific verification problems (leader election, alternating bit protocol, task graphs).

Key Insights and Ideas

  • Dependency Graphs as a Universal Framework: The paper highlights how a wide range of verification problems can be unified under the umbrella of fixed-point computation on dependency graphs. This allows for a single, generic distributed algorithm to address diverse verification challenges.
  • On-the-Fly is Crucial for Performance: For problems where the fixed-point can be determined early (e.g., negative cases in bisimulation checks), exploring only the necessary parts of the graph dramatically improves performance compared to methods that require full graph construction.
  • P-Completeness Doesn't Mean No Speedup: While computing fixed points on dependency graphs is theoretically P-complete (meaning parallelization might not yield linear speedups), the authors demonstrate significant practical speedups on hundreds of cores. This suggests that for real-world problems, the structure of the graph and the distributed approach can overcome theoretical limitations.
  • Scalability Beyond Existing Tools: The distributed nature of their algorithm allows it to scale better with increasing problem sizes compared to single-core, global algorithms like those in the Concurrency WorkBench (CWB).

Key Results

  • Significant Speedups: The distributed algorithm achieves substantial speedups on a Linux cluster with hundreds of cores. For example, in leader election with 9 and 10 processes, speedups of 32x and 52x were observed with 256 cores. For the alternating bit protocol, speedups of 102x and 98x were achieved.
  • Outperforming CWB: The implemented algorithm, especially in "negative" cases where the answer is found quickly, outperforms the CWB tool. Even in "positive" cases, it matches or surpasses CWB's performance with fewer cores as problem sizes increase.
  • Correctness Proof: The paper provides formal proofs for the termination and correctness of the distributed algorithm.
  • Practical Implementation: An open-source C++ implementation using MPI is available, demonstrating the feasibility of the approach.

Limitations and Future Work

  • Initialization Overhead: For very small instances, the initialization cost of the distributed algorithm can be high, making it slower than single-core tools.
  • Search Order Impact: The performance can be sensitive to the order in which workers explore the graph, especially in cases where the answer is found early. The authors note that increasing cores doesn't always lead to faster answers if the search goes in the "wrong direction."
  • NUMA Locality: In some experiments, a high standard deviation was observed due to the scheduler not ensuring locality among NUMA nodes.
  • Future Work:
    • Investigating better parallel search strategies to enable earlier termination when the root fixed-point value is 1.
  • Developing mechanisms to terminate the parallel search of the graph once it's determined that further exploration is not needed.
  • Integrating the distributed engine into the CAAL user interface for broader accessibility.

Summary updated

BibTeX
@inproceedings{dalsgaard2016distributed,
  author = {Andreas Engelbredt Dalsgaard and Søren Enevoldsen and Kim Guldstrand Larsen and Jirí Srba},
  title = {{Distributed Computation of Fixed Points on Dependency Graphs}},
  booktitle = {SETTA},
  year = {2016},
  doi = {10.1007/978-3-319-47677-3\_13},
}
Figure