Skip to content

RIP-Guided Graph Evidence for LLM-Based Equivalent Mutant Detection

Jul 2026 · ACM Transactions on Software Engineering and Methodology · 0 citations · 62 references

TL;DR

This work proposes an RIP (Reach–Infect–Propagate)-guided, LLM-assisted approach for equivalent mutant detection, which improves F1 by 4.81–64.34 percentage points and maintains its advantage under cross-project evaluation.

Abstract

In recent years, prior work has explored leveraging large language models (LLMs) for equivalent mutant detection. However, representations that rely solely on source-code sequences or abstract syntax trees (ASTs) make it difficult to directly capture—and to exploit in a controllable manner—the semantic information required for equivalence reasoning, such as control dependencies, data dependencies, and path constraints. To address this limitation, we propose an RIP (Reach–Infect–Propagate)-guided, LLM-assisted approach for equivalent mutant detection. We first construct local control-flow graphs (CFGs) and data-flow graphs (DFGs) on the intermediate representations of both the original program and its mutant, and align the subgraphs relevant to the mutation location. We then, from the RIP perspective, statically extract RIP-stage evidence (e.g., path predicates, def–use chains, and control/data dependencies) to form an interpretable graph-evidence representation. Finally, we serialize the paired graph evidence into structured prompts or instruction-style inputs to the LLM, enabling it to classify mutants as equivalent or non-equivalent. Experiments on a dataset built from 10 open-source Java projects show that, compared with multiple classes of classic equivalent mutant detection techniques, our approach improves F1 by 4.81–64.34 percentage points and maintains its advantage under cross-project evaluation. In addition, injecting RIP-structured evidence consistently improves F1 over the code-only setting by roughly 8–12 percentage points.

View source

Similar papers

Preprint Aug 2026

GraphAlignCoder: Aligning Program and Proof Graphs for Code Generation

GraphAlignCoder is introduced, a training framework that transfers explicit correctness structure into code generation and consistently outperforms the base model, code-only SFT, and CodeRL across all benchmarks.

Yue-Ke Zhang, Zihan Fang, Kevin Leach et al. · 0 citations
#artificial intelligence Preprint Sep 2026

Dynamic Adaptation of the LLM Context for Generating Routines with Coupled Semantics

LLM-based code generation fails when correctness depends on execution-dependent coupling: the meaning of one routine is defined by the runtime behavior of another, a relationship that cannot be resolved from textual descriptions alone. This limitation, which we call static binding, is not confined to explicitly coupled...

Gnaneswar Villuri, Hashmath Shaik, Alex Doboli · 1 citation
Open access Aug 2026

StructFix: a structure-aware reasoning framework for automated program repair with code property graphs

StructFix is proposed, a structure-aware APR framework that grounds masked patch generation in Code Property Graphs (CPGs), and explicitly coupling structural dependencies with masked generation improves repair effectiveness and enables transfer across datasets.

Mengtian Cui, Yang-Fan Liu, Zhibo Lu et al. · 0 citations
Preprint Sep 2026

SEMA-GUARD: Semantic and Graph-Based Vulnerability Detection in Assembly Code

This article presents SEMA-GUARD, a framework that uses semantic analysis and graph neural networks to identify flaws in assembly code, and results imply that including semantic information in graph-based models may be a successful method for identifying vulnerabilities in compiled code.

H. Dursunoglu, Kaan Sulkalar · 0 citations
#machine learning Preprint Sep 2026

Introspective Uncertainty Estimation for LLM-Based Code Generation

The findings suggest that hidden states are a robust and informative resource for estimating functional code correctness, supporting a two-stage workflow that combines response-level risk screening with targeted line-level prioritization.

T. Klassert · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.