Lune

ASE2025顶会

Faster Runtime Verification during Testing via Feedback-Guided Selective Monitoring

Shinhae Kim, Saikat Dutta, Owolabi Legunsen

摘要

Runtime verification (RV) uses monitors, which are dynamically synthesized from formal specifications (specs), to check running programs against specs. RV of passing tests in many open-source projects found hundreds of new bugs. But, high overheads make it hard to use RV for testing in practice.We propose Valg, the first on-the-fly selective RV technique for testing, and the first to use reinforcement learning (RL) to speed up RV. Valg leverages a recent finding: 99.87% of monitors are redundant for testing; they wastefully re-check unique traces— sequences of events, e.g., method calls—that the other necessary 0.13% already checked. Valg uses feedback about redundancy of prior monitors and events to selectively monitor only necessary ones subsequently. A key idea in Valg is our novel formulation of selective monitor creation as a two-armed bandit RL problem that rewards necessary monitors and penalizes redundant ones.We implement Valg for Java and compare it with state-of-the-art RV tools on one revision each of 64 open-source projects. With default RL hyperparameters, Valg is up to 20.2x and 551.5x faster than JavaMOP and TraceMOP, respectively. For example, Valg takes only 11.6 minutes in total to monitor three projects where TraceMOP takes 3.02 days in total. With default RL hyperparameters, Valg finds 99.6% of spec violations found by JavaMOP and TraceMOP, but it only checks 76.7% of their unique traces on average. After tuning RL hyperparameters, Valg checks 95.1% of unique traces on average with minor loss in speed. Using tuned hyperparameters from one revision "into the future" as code evolves preserves Valg’s high speedups and rate of checked unique traces, without needing frequent re-tuning.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • Fine-Grained Analyses for Evolution-Aware Runtime Verification 引用了 An In-Depth Study of Runtime Verification Overheads during Software Testing
  • Fine-Grained Analyses for Evolution-Aware Runtime Verification 引用了 Instrumentation-Driven Evolution-Aware Runtime Verification
  • Fine-Grained Analyses for Evolution-Aware Runtime Verification 引用了 Faster Explicit-Trace Monitoring-Oriented Programming for Runtime Verification of Software Tests
  • Fine-Grained Analyses for Evolution-Aware Runtime Verification 引用了 More Precise Regression Test Selection via Reasoning about Semantics-Modifying Changes
  • An In-Depth Study of Runtime Verification Overheads during Software Testing 引用了 More Precise Regression Test Selection via Reasoning about Semantics-Modifying Changes
  • Instrumentation-Driven Evolution-Aware Runtime Verification 引用了 An In-Depth Study of Runtime Verification Overheads during Software Testing
  • Instrumentation-Driven Evolution-Aware Runtime Verification 引用了 More Precise Regression Test Selection via Reasoning about Semantics-Modifying Changes
  • Faster Explicit-Trace Monitoring-Oriented Programming for Runtime Verification of Software Tests 引用了 An In-Depth Study of Runtime Verification Overheads during Software Testing
  • Faster Explicit-Trace Monitoring-Oriented Programming for Runtime Verification of Software Tests 引用了 Instrumentation-Driven Evolution-Aware Runtime Verification
  • Faster Explicit-Trace Monitoring-Oriented Programming for Runtime Verification of Software Tests 引用了 More Precise Regression Test Selection via Reasoning about Semantics-Modifying Changes
  • A Closer Look at the Use of Reinforcement Learning for Speeding Up Runtime Verification of Software Tests (Experience Paper) 引用了 Fine-Grained Analyses for Evolution-Aware Runtime Verification
  • A Closer Look at the Use of Reinforcement Learning for Speeding Up Runtime Verification of Software Tests (Experience Paper) 引用了 An In-Depth Study of Runtime Verification Overheads during Software Testing
  • A Closer Look at the Use of Reinforcement Learning for Speeding Up Runtime Verification of Software Tests (Experience Paper) 引用了 Instrumentation-Driven Evolution-Aware Runtime Verification
  • A Closer Look at the Use of Reinforcement Learning for Speeding Up Runtime Verification of Software Tests (Experience Paper) 引用了 Faster Explicit-Trace Monitoring-Oriented Programming for Runtime Verification of Software Tests
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper2

  1. Fine-Grained Analyses for Evolution-Aware Runtime VerificationPengyue Jiang, Kevin Guan, Mahdi Khosravi, Moustafa Ismail 等ICSE 2026 · 1 次引用
  2. A Closer Look at the Use of Reinforcement Learning for Speeding Up Runtime Verification of Software Tests (Experience Paper)Shinhae Kim, Saikat Dutta, Owolabi LegunsenISSTA 2026

它引用的 Paper5

  1. Hyperparameters in Reinforcement Learning and How To Tune ThemTheresa Eimer, Marius Lindauer, Roberta RaileanuICML 2023 · 96 次引用
  2. More Precise Regression Test Selection via Reasoning about Semantics-Modifying ChangesYu Liu, Jiyang Zhang, Pengyu Nie, Milos Gligoric 等ISSTA 2023 · 19 次引用
  3. An In-Depth Study of Runtime Verification Overheads during Software TestingKevin Guan, Owolabi LegunsenISSTA 2024 · 7 次引用
  4. Faster Explicit-Trace Monitoring-Oriented Programming for Runtime Verification of Software TestsKevin Guan, Marcelo d'Amorim, Owolabi LegunsenOOPSLA 2025 · 7 次引用
  5. Instrumentation-Driven Evolution-Aware Runtime VerificationKevin Guan, Owolabi LegunsenICSE 2025 · 4 次引用

相关 Paper

  1. Rate or Fate? RLVε^{\varepsilon}R: Reinforcement Learning with Verifiable Noisy RewardsAli Rad, Khashayar Filom, Darioush Keivan, Peyman Mohajerin Esfahani 等ICML 2026
  2. Using Reinforcement Learning for Load Testing of Video GamesRosalia Tufano, Simone Scalabrino, Luca Pascarella, Emad Aghajani 等ICSE 2022 · 37 次引用
  3. Quantitative and Approximate MonitoringThomas A. Henzinger, N. Ege SaraçLICS 2021 · 15 次引用
  4. Zeror: Speed Up Fuzzing with Coverage-sensitive Tracing and SchedulingChijin Zhou, Mingzhe Wang, Jie Liang, Zhe Liu 等ASE 2020 · 35 次引用
  5. Learning to Synthesize Relational InvariantsJingbo Wang, Chao WangASE 2022 · 9 次引用
黄昏的海面,两侧是细线勾勒的悬崖