SAGE: Semantic-Aware Gray-Box Game Regression Testing with Large Language Models

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Cai, Jinyu, Li, Jialong, Li, Nianyu, Mao, Zhenyu, Zhang, Mingyue, Tei, Kenji
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866915645120053248
author Cai, Jinyu
Li, Jialong
Li, Nianyu
Mao, Zhenyu
Zhang, Mingyue
Tei, Kenji
author_facet Cai, Jinyu
Li, Jialong
Li, Nianyu
Mao, Zhenyu
Zhang, Mingyue
Tei, Kenji
contents The rapid iteration cycles of modern live-service games make regression testing indispensable for maintaining quality and stability. However, existing regression testing approaches face critical limitations, especially in common gray-box settings where full source code access is unavailable: they heavily rely on manual effort for test case construction, struggle to maintain growing suites plagued by redundancy, and lack efficient mechanisms for prioritizing relevant tests. These challenges result in excessive testing costs, limited automation, and insufficient bug detection. To address these issues, we propose SAGE, a semanticaware regression testing framework for gray-box game environments. SAGE systematically addresses the core challenges of test generation, maintenance, and selection. It employs LLM-guided reinforcement learning for efficient, goal-oriented exploration to automatically generate a diverse foundational test suite. Subsequently, it applies a semantic-based multi-objective optimization to refine this suite into a compact, high-value subset by balancing cost, coverage, and rarity. Finally, it leverages LLM-based semantic analysis of update logs to prioritize test cases most relevant to version changes, enabling efficient adaptation across iterations. We evaluate SAGE on two representative environments, Overcooked Plus and Minecraft, comparing against both automated baselines and human-recorded test cases. Across all environments, SAGE achieves superior bug detection with significantly lower execution cost, while demonstrating strong adaptability to version updates.
format Preprint
id arxiv_https___arxiv_org_abs_2512_00560
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle SAGE: Semantic-Aware Gray-Box Game Regression Testing with Large Language Models
Cai, Jinyu
Li, Jialong
Li, Nianyu
Mao, Zhenyu
Zhang, Mingyue
Tei, Kenji
Software Engineering
The rapid iteration cycles of modern live-service games make regression testing indispensable for maintaining quality and stability. However, existing regression testing approaches face critical limitations, especially in common gray-box settings where full source code access is unavailable: they heavily rely on manual effort for test case construction, struggle to maintain growing suites plagued by redundancy, and lack efficient mechanisms for prioritizing relevant tests. These challenges result in excessive testing costs, limited automation, and insufficient bug detection. To address these issues, we propose SAGE, a semanticaware regression testing framework for gray-box game environments. SAGE systematically addresses the core challenges of test generation, maintenance, and selection. It employs LLM-guided reinforcement learning for efficient, goal-oriented exploration to automatically generate a diverse foundational test suite. Subsequently, it applies a semantic-based multi-objective optimization to refine this suite into a compact, high-value subset by balancing cost, coverage, and rarity. Finally, it leverages LLM-based semantic analysis of update logs to prioritize test cases most relevant to version changes, enabling efficient adaptation across iterations. We evaluate SAGE on two representative environments, Overcooked Plus and Minecraft, comparing against both automated baselines and human-recorded test cases. Across all environments, SAGE achieves superior bug detection with significantly lower execution cost, while demonstrating strong adaptability to version updates.
title SAGE: Semantic-Aware Gray-Box Game Regression Testing with Large Language Models
topic Software Engineering
url https://arxiv.org/abs/2512.00560