面向预生产测试中动态配置分配的自适应强化学习 Adaptive Reinforcement Learning for Dynamic Configuration Allocation in Pre-Production Testing 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2025-10-02
👁️ 预览文献
💡 AI 中文简介
软件上线前需要在各种不同环境中测试,但资源有限,无法全部测完。传统方法按固定规则分配测试资源,无法应对故障概率随时间变化的情况。本文把配置分配看作一个连续决策问题,用强化学习(Q-learning)结合模拟结果和实时反馈的混合奖励,并设计在线-离线自适应训练方案,让智能体既能快速跟踪突变,又能保持长期稳定。模拟实验表明,该方法持续优于静态和优化基线,接近理想分配效果。
领域软件测试与可靠性工程 / 强化学习应用
适合谁读需要一定专业背景(了解强化学习基础与软件测试概念)
核心贡献首次将Q学习与混合奖励(模拟+实时反馈)结合用于配置分配,并设计自适应在线-离线训练方案,使智能体能快速跟踪概率突变且保持长期稳定。
关键数据模拟实验中持续优于静态和优化基线,接近理想(oracle)性能。
推荐理由如果你关心如何用AI让软件测试更聪明、更省资源,这篇论文给出了一个既新颖又实用的强化学习方案。
关键词["强化学习", "配置分配", "预生产测试", "动态环境", "Q学习", "资源调度"]

原文摘要

查看英文原文摘要

Ensuring reliability in modern software systems requires rigorous pre-production testing across highly heterogeneous and evolving environments. Because exhaustive evaluation is infeasible, practitioners must decide how to allocate limited testing resources across configurations where failure probabilities may drift over time. Existing combinatorial optimization approaches are static, ad hoc, and poorly suited to such non-stationary settings. We introduce a novel reinforcement learning (RL) framework that recasts configuration allocation as a sequential decision-making problem. Our method is the first to integrate Q-learning with a hybrid reward design that fuses simulated outcomes and real-time feedback, enabling both sample efficiency and robustness. In addition, we develop an adaptive online-offline training scheme that allows the agent to quickly track abrupt probability shifts while maintaining long-run stability. Extensive simulation studies demonstrate that our approach consistently outperforms static and optimization-based baselines, approaching oracle performance. This work establishes RL as a powerful new paradigm for adaptive configuration allocation, advancing beyond traditional methods and offering broad applicability to dynamic testing and resource scheduling domains.