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

Data-centric Dynamic Partial Order Reduction

Krishnendu Chatterjee, Andreas Pavlogiannis, Nishant Sinha, Kapil Vaidya

Abstract

Verifying concurrent programs is a significant challenge due to the combinatorial explosion of possible thread interleavings. This paper introduces Data-Centric Dynamic Partial Order Reduction (DC-DPOR), a novel stateless model checking approach that groups program executions based on data observations rather than execution step order. By utilizing "observation equivalence"—where traces are considered identical if every read operation observes the same write operation—the authors achieve an exponential reduction in the number of explored traces while guaranteeing the discovery of all unique local program states.

Introduction

Stateless model checking (SMC) is a powerful technique for verifying concurrent software by systematically exploring thread interleavings without the overhead of storing full program states. To mitigate the state-space explosion, researchers traditionally employ Dynamic Partial Order Reduction (DPOR). Standard DPOR techniques rely on Mazurkiewicz equivalence, which considers two traces equivalent if they differ only by the swapping of independent, non-conflicting steps.

However, this control-centric view is often too fine-grained, leading to the redundant exploration of many interleavings that result in identical data flow. DC-DPOR addresses this by shifting the focus to a coarser "data-centric" equivalence, significantly reducing the search space without sacrificing bug-finding capabilities.

Methodology

Observation Equivalence

The core innovation of DC-DPOR is the definition of observation equivalence. Two traces are equivalent if every read event in both traces observes the same write event. This perspective is proven to be always coarser than Mazurkiewicz equivalence and can be exponentially more succinct in practice.

Program Representation and Notation

The algorithm operates on a formal model where programs are represented as a concurrent architecture of processes. Each process is defined by its control-flow graph (CFG) and sets of events including reads, writes, and lock operations.

Figure 2: A concurrent `withdraw` method example, showing its mapping to a control-flow graph and categorized event sets.

To navigate this formal space, the paper utilizes a specific set of notations for valuations, enabled events, and communication graphs, as summarized in the table below.

Figure 6: Summary of notations used for the concurrent architecture, event sets, and program structures.

The DC-DPOR Algorithm

The DC-DPOR algorithm explores exactly one representative trace from each observation equivalence class using "positive" and "negative" annotations. Positive annotations guide the search toward specific read-to-write mappings, while negative annotations prevent the re-exploration of previously visited states.

A critical component is the Realize procedure, which determines if a given set of read-write observations can be produced by a valid program trace. While this problem is NP-complete in general, the authors provide a cubic-time solution for acyclic architectures (where the communication graph between processes is a tree or star pattern) by reducing it to 2-SAT. For cyclic architectures, a refined, slightly finer equivalence is used to maintain optimality.

Experimental Evaluation

The authors implemented DC-DPOR on top of the LLVM-based tool Nidhugg and evaluated it against synthetic and real-world benchmarks from the SV-COMP suite.

  • Trace Reduction: The reduction in state space is often dramatic. In the lastzero(6) benchmark, the state-of-the-art Source-DPOR explored over 1.7 million traces, whereas DC-DPOR required only 316.
  • Performance: Significant speedups were observed; for instance, fib_bench(6) was verified in 85 seconds by DC-DPOR, compared to 463 seconds for Source-DPOR. In many cases where Source-DPOR timed out after an hour, DC-DPOR finished in seconds.
  • Computational Trade-offs: In specific cases like the parker benchmark, DC-DPOR was slower despite exploring fewer traces. This highlights the computational cost of the cubic-time Realize procedure compared to the linear-time checks in simpler DPOR variants.

Conclusion and Future Work

DC-DPOR represents a major step forward in stateless model checking by demonstrating that data-centric equivalence is a more efficient abstraction than traditional control-centric methods. While the current implementation assumes sequential consistency and faces overhead in cyclic architectures, it provides an optimal exploration strategy for its equivalence classes.

Future research directions include extending the data-centric approach to relaxed memory models (such as TSO or PSO) and utilizing static analysis to transform cyclic program architectures into acyclic ones to further leverage the efficient Realize algorithm.

Summary updated

BibTeX
@inproceedings{chatterjee2016data,
  author = {Krishnendu Chatterjee and Andreas Pavlogiannis and Nishant Sinha and Kapil Vaidya},
  title = {{Data-centric Dynamic Partial Order Reduction}},
  booktitle = {Proc. ACM Program. Lang},
  year = {2016},
  doi = {10.1145/3158119},
}
Figure