MIST-RL: Mutation-based Incremental Suite Testing via Reinforcement Learning

Sicheng Zhu, Jiajun Wang, Jiawei Ai, Xin Li
3/2/2026
cs.AIcs.LGcs.SE
rlrlhf-rlvr-dpo

No confident code implementation found for this paper.

Abstract

Large Language Models (LLMs) often fail to generate correct code on the first attempt, which requires using generated unit tests as verifiers to validate the solutions. Despite the success of recent verification methods, they remain constrained by a "scaling-by-quantity" paradigm.

Show full abstract

This brute-force approach suffers from a critical limitation: it yields diminishing returns in fault detection while causing severe test redundancy. To address this, we propose MIST-RL (Mutation-based Incremental Suite Testing via Reinforcement Learning), a framework that shifts the focus to "scaling-by-utility". We formulate test generation as a sequential decision process optimized via Group Relative Policy Optimization (GRPO). Specifically, we introduce a novel incremental mutation reward combined with dynamic penalties, which incentivizes the model to discover new faults while it suppresses functionally equivalent assertions. Experiments on HumanEval+ and MBPP+ demonstrate that MIST-RL outperforms state-of-the-art baselines. It achieves a +28.5% higher mutation score while reducing the number of test cases by 19.3%. Furthermore, we show that these compact, high-utility tests serve as superior verifiers, which improves downstream code reranking accuracy on HumanEval+ by 3.05% over the SOTA baseline with 10 candidate samples. The source code and data are provided in the supplementary material.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{zhu2026mistrl,
  title  = {MIST-RL: Mutation-based Incremental Suite Testing via Reinforcement Learning},
  author = {Sicheng Zhu and Jiajun Wang and Jiawei Ai and Xin Li},
  year   = {2026},
  eprint = {2603.01409},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2603.01409v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2603.01409.svg)](https://codeofpaper.com/paper/2603.01409)

Discussion