Weighted Historical Information based Reinforcement Learning Reward for Test Case Prioritization

With the increasing complexity of software systems and the growing demand for efficient testing, reinforcement learning (RL) emerges as a promising approach for test case prioritization. However, existing RL-based methods often underperform due to poorly designed reward functions that overlook historical execution patterns and cost-sensitive factors. To address these issues, this paper proposes a novel reward function which integrates weighted historical information and simultaneously considers both fault risk and execution cost (WHIFR). By dynamically adjusting the reward signal based on historical fault detection effectiveness and execution behavior, the proposed reward function guides the learning agent to make more informed prioritization decisions. Experimental results on multiple open-source datasets demonstrate that the optimized reward function significantly improves fault detection rates and cost-effectiveness compared to existing RL-based methods, thereby validating the effectiveness of the proposed approach.

Authors

Institutions

Publication Details

Published
2025-06-06
DOI
https://doi.org/10.1109/ngdn66208.2025.11182102
Primary Topic
Engineering and Test Systems
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Weighted Historical Information based Reinforcement Learning Reward for Test Case Prioritization

Xiguang Li, Xinyu Li, Junlong Li, Yuchen Zhao
Engineering and Test Systems
article

Weighted Historical Information based Reinforcement Learning Reward for Test Case Prioritization

Xiguang Li, Xinyu Li, Junlong Li, Yuchen Zhao
article en

Abstract

With the increasing complexity of software systems and the growing demand for efficient testing, reinforcement learning (RL) emerges as a promising approach for test case prioritization. However, existing RL-based methods often underperform due to poorly designed reward functions that overlook historical execution patterns and cost-sensitive factors. To address these issues, this paper proposes a novel reward function which integrates weighted historical information and simultaneously considers both fault risk and execution cost (WHIFR). By dynamically adjusting the reward signal based on historical fault detection effectiveness and execution behavior, the proposed reward function guides the learning agent to make more informed prioritization decisions. Experimental results on multiple open-source datasets demonstrate that the optimized reward function significantly improves fault detection rates and cost-effectiveness compared to existing RL-based methods, thereby validating the effectiveness of the proposed approach.

Shenyang Aerospace University (CN)
Openalex Percentile: Top 66%
Engineering and Test Systems
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Weighted Historical Information based Reinforcement Learning Reward for Test Case Prioritization — Xiguang Li, Xinyu Li, et al. · (2025) | TGRS Research Map | TGRS