Lune

ICSE2025顶会

WDD: Weighted Delta Debugging

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

摘要

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.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 3 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Logical bytecode reduction 引用了 Effective Program Debloating via Reinforcement Learning
  • Pushing the Limit of 1-Minimality of Language-Agnostic Program Reduction 引用了 Logical bytecode reduction
  • Pushing the Limit of 1-Minimality of Language-Agnostic Program Reduction 引用了 Probabilistic Delta debugging
  • Pushing the Limit of 1-Minimality of Language-Agnostic Program Reduction 引用了 Effective Program Debloating via Reinforcement Learning
  • Boosting Program Reduction with the Missing Piece of Syntax-Guided Transformations 引用了 Logical bytecode reduction
  • Boosting Program Reduction with the Missing Piece of Syntax-Guided Transformations 引用了 Pushing the Limit of 1-Minimality of Language-Agnostic Program Reduction
  • Boosting Program Reduction with the Missing Piece of Syntax-Guided Transformations 引用了 Probabilistic Delta debugging
  • Boosting Program Reduction with the Missing Piece of Syntax-Guided Transformations 引用了 Toward a Better Understanding of Probabilistic Delta Debugging
  • Boosting Program Reduction with the Missing Piece of Syntax-Guided Transformations 引用了 Compilation Consistency Modulo Debug Information
  • Boosting Program Reduction with the Missing Piece of Syntax-Guided Transformations 引用了 Effective Program Debloating via Reinforcement Learning
  • Probabilistic Delta debugging 引用了 Effective Program Debloating via Reinforcement Learning
  • Toward a Better Understanding of Probabilistic Delta Debugging 引用了 Logical bytecode reduction
  • Toward a Better Understanding of Probabilistic Delta Debugging 引用了 Pushing the Limit of 1-Minimality of Language-Agnostic Program Reduction
  • Toward a Better Understanding of Probabilistic Delta Debugging 引用了 Probabilistic Delta debugging
  • Toward a Better Understanding of Probabilistic Delta Debugging 引用了 Compilation Consistency Modulo Debug Information
  • Toward a Better Understanding of Probabilistic Delta Debugging 引用了 Effective Program Debloating via Reinforcement Learning
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper3

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

它引用的 Paper8

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

相关 Paper

  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 等ISSTA 2024 · 1 次引用
  3. PPR: Pairwise Program ReductionMengxiao Zhang, Zhenyang Xu, Yongqiang Tian, Yu Jiang 等FSE 2023 · 13 次引用
  4. HardsHeap: A Universal and Extensible Framework for Evaluating Secure AllocatorsInsu Yun, Woosun Song, Seunggi Min, Taesoo KimCCS 2021 · 10 次引用
  5. Denoising Fault Localization with Test Line ProximityMarius Smytzek, Andreas ZellerFSE 2026
黄昏的海面,两侧是细线勾勒的悬崖