Lune

ICSE2025Top-tier venue

WDD: Weighted Delta Debugging

Xintong Zhou, Zhenyang Xu, Mengxiao Zhang, Yongqiang Tian, Chengnian Sun

Abstract

Delta Debugging is a widely used family of algorithms (e.g., ddmin and ProbDD) to automatically minimize bug-triggering test inputs, thus to facilitate debugging. It takes a list of elements with each element representing a fragment of the test input, systematically partitions the list at different granularities, identifies and deletes bug-irrelevant partitions. Prior delta debugging algorithms assume there are no differences among the elements in the list, and thus treat them uniformly during partitioning. However, in practice, this assumption usually does not hold, because the size (referred to as weight) of the fragment represented by each element can vary significantly. For example, a single element representing 50% of the test input is much more likely to be bug-relevant than elements representing only 1%. This assumption inevitably impairs the efficiency or even effectiveness of these delta debugging algorithms. This paper proposes Weighted Delta Debugging (WDD), a novel concept to help prior delta debugging algorithms overcome the limitation mentioned above. The key insight of WDD is to assign each element in the list a weight according to its size, and distinguish different elements based on their weights during partitioning. We designed two new minimization algorithms, <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">Wddmin\mathbf{W}_{\text{ddmin}}</tex> and <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">WProbDD \mathbf{W}_{\text{ProbDD }}</tex>, by applying WDD to ddmin and ProbDD respectively. We extensively evaluated <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">Wddmin\mathbf{W}_{\text{ddmin}}</tex> and <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">WProbDD \mathbf{W}_{\text{ProbDD }}</tex> in two representative applications, HDD and Perses, on 62 benchmarks across two languages. On average, with <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">Wddmin \mathbf{W}_{\text{ddmin }}</tex>, HDD and Perses took 51.31% and 7.47% less time to generate 9.12% and 0.96% smaller results than with ddmin, respectively. With <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">WProbDD \mathbf{W}_{\text{ProbDD }}</tex>, HDD and Perses used 11.98% and 9.72% less time to generate 13.40% and 2.20% smaller results than with ProbDD, respectively. The results strongly demonstrate the value of WDD. We firmly believe that WDD opens up a new dimension to improve test input minimization techniques.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

3 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Logical bytecode reduction cites Effective Program Debloating via Reinforcement Learning
  • Pushing the Limit of 1-Minimality of Language-Agnostic Program Reduction cites Logical bytecode reduction
  • Pushing the Limit of 1-Minimality of Language-Agnostic Program Reduction cites Probabilistic Delta debugging
  • Pushing the Limit of 1-Minimality of Language-Agnostic Program Reduction cites Effective Program Debloating via Reinforcement Learning
  • Boosting Program Reduction with the Missing Piece of Syntax-Guided Transformations cites Logical bytecode reduction
  • Boosting Program Reduction with the Missing Piece of Syntax-Guided Transformations cites Pushing the Limit of 1-Minimality of Language-Agnostic Program Reduction
  • Boosting Program Reduction with the Missing Piece of Syntax-Guided Transformations cites Probabilistic Delta debugging
  • Boosting Program Reduction with the Missing Piece of Syntax-Guided Transformations cites Toward a Better Understanding of Probabilistic Delta Debugging
  • Boosting Program Reduction with the Missing Piece of Syntax-Guided Transformations cites Compilation Consistency Modulo Debug Information
  • Boosting Program Reduction with the Missing Piece of Syntax-Guided Transformations cites Effective Program Debloating via Reinforcement Learning
  • Probabilistic Delta debugging cites Effective Program Debloating via Reinforcement Learning
  • Toward a Better Understanding of Probabilistic Delta Debugging cites Logical bytecode reduction
  • Toward a Better Understanding of Probabilistic Delta Debugging cites Pushing the Limit of 1-Minimality of Language-Agnostic Program Reduction
  • Toward a Better Understanding of Probabilistic Delta Debugging cites Probabilistic Delta debugging
  • Toward a Better Understanding of Probabilistic Delta Debugging cites Compilation Consistency Modulo Debug Information
  • Toward a Better Understanding of Probabilistic Delta Debugging cites Effective Program Debloating via Reinforcement Learning
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers3

  1. Toward a Better Understanding of Probabilistic Delta DebuggingMengxiao Zhang, Zhenyang Xu, Yongqiang Tian, Xinru Cheng et al.ICSE 2025 · 4 citations
  2. Boosting Program Reduction with the Missing Piece of Syntax-Guided TransformationsZhenyang Xu, Yongqiang Tian, Mengxiao Zhang, Chengnian SunOOPSLA 2025 · 1 citation
  3. Debugging Performance Issues in WebAssembly Runtimes via Mutation-based InferenceRuiying Zeng, Shuyao Jiang, Wenxuan Zhao, Yangfan ZhouICSE 2026

Builds on8

  1. Effective Program Debloating via Reinforcement LearningKihong Heo, Woosuk Lee, Pardis Pashakhanloo, Mayur NaikCCS 2018 · 175 citations
  2. Probabilistic Delta debuggingGuancheng Wang, Ruobing Shen, Junjie Chen, Yingfei Xiong et al.FSE 2021 · 56 citations
  3. Pushing the Limit of 1-Minimality of Language-Agnostic Program ReductionZhenyang Xu, Yongqiang Tian, Mengxiao Zhang, Gaosen Zhao et al.OOPSLA 2023 · 21 citations
  4. Logical bytecode reductionChristian Gram Kalhauge, Jens PalsbergPLDI 2021 · 16 citations
  5. Compilation Consistency Modulo Debug InformationTheodore Luo Wang, Yongqiang Tian, Yiwen Dong, Zhenyang Xu et al.ASPLOS 2023 · 14 citations

Related papers

  1. Structure-Aware Delta Debugging with Geometric-Information WeightsYonggang Tao, Jingling XueFSE 2026
  2. C2D2: Extracting Critical Changes for Real-World Bugs with Dependency-Sensitive Delta DebuggingXuezhi Song, Yijian Wu, Shuning Liu, Bihuan Chen et al.ISSTA 2024 · 1 citation
  3. PPR: Pairwise Program ReductionMengxiao Zhang, Zhenyang Xu, Yongqiang Tian, Yu Jiang et al.FSE 2023 · 13 citations
  4. HardsHeap: A Universal and Extensible Framework for Evaluating Secure AllocatorsInsu Yun, Woosun Song, Seunggi Min, Taesoo KimCCS 2021 · 10 citations
  5. Denoising Fault Localization with Test Line ProximityMarius Smytzek, Andreas ZellerFSE 2026
Dusk over the sea between two cliffs drawn in fine vertical lines