paper-with-me

Papers

ExplainFuzz: Explainable and Constraint-Conditioned Test Generation with Probabilistic Circuits

2026-04-08 · Annaëlle Baiget, Jaron Maene, Seongmin Lee, Benjie Wang, Guy Van den Broeck, Miryung Kim arxiv

Understanding and explaining the structure of generated test inputs is essential for effective software testing and debugging. Existing approaches--including grammar-based fuzzers, probabilistic Context-Free Grammars (pCFGs), and Large Language Models (LLMs)--suffer from critical limitations. They frequently produce ill-formed inputs that fail to reflect realistic data distributions, struggle to capture context-sensitive probabilistic dependencies, and lack explainability. We introduce ExplainFuzz, a test generation framework that leverages Probabilistic Circuits (PCs) to learn and query structured distributions over grammar-based test inputs interpretably and controllably. Starting from a Context-Free Grammar (CFG), ExplainFuzz compiles a grammar-aware PC and trains it on existing inputs. New inputs are then generated via sampling. ExplainFuzz utilizes the conditioning capability of PCs to incorporate test-specific constraints (e.g., a query must have GROUP BY), enabling constrained probabilistic sampling to generate inputs satisfying grammar and user-provided constraints. Our results show that ExplainFuzz improves the coherence and realism of generated inputs, achieving significant perplexity reduction compared to pCFGs, grammar-unaware PCs, and LLMs. By leveraging its native conditioning capability, ExplainFuzz significantly enhances the diversity of inputs that satisfy a user-provided constraint. Compared to grammar-aware mutational fuzzing, ExplainFuzz increases bug-triggering rates from 35% to 63% in SQL and from 10% to 100% in XML. These results demonstrate the power of a learned input distribution over mutational fuzzing, which is often limited to exploring the local neighborhood of seed inputs. These capabilities highlight the potential of PCs to serve as a foundation for grammar-aware, controllable test generation that captures context-sensitive, probabilistic dependencies.

📄 PDF Abstract BibTeX arXiv:2604.06559

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Distance Guided Generative Adversarial Network for Explainable Binary Classifications

2023-12-29 · Xiangyu Xiong, Yue Sun, Xiaohong Liu, Wei Ke 외

Despite the potential benefits of data augmentation for mitigating the data insufficiency, traditional augmentation methods primarily rely on the prior intra-domain knowledge. On the other hand, advanced generative adver…

Binary ClassificationClassificationData AugmentationGenerative Adversarial Network+1

Do Language Models Dream of Binding Molecules? Benchmarking LLMs under Spatial Constraints

2026-07-20 · Thomas MacDougall, Maksim Kuznetsov, Roman Schutski, Rim Shayakhmetov 외 hf

Structure-based drug design (SBDD) leverages the 3D structure of protein targets, often complemented by other spatial constraints, to generate candidate binding molecules. While diffusion models have dominated as a leadi…

xpSHACL: Explainable SHACL Validation using Retrieval-Augmented Generation and Large Language Models

2025-07-11 · Gustavo Correa Publio, José Emilio Labra Gayo arxiv

Shapes Constraint Language (SHACL) is a powerful language for validating RDF data. Given the recent industry attention to Knowledge Graphs (KGs), more users need to validate linked data properly. However, traditional SHA…

Knowledge Graphs

DDOR: Delta Debugging for Explainable Overrefusal Testing and Repair

2026-06-02 · Qinyan Zhou, Peixin Zhang, Jun Sun, Haonan Zhang 외 arxiv

While safety alignment and guardrails help large language models (LLMs) avoid harmful outputs, they can also induce overrefusal, i.e., unwarranted rejection of benign queries that merely appear risky. We present DDOR (De…

TEXEDO : Test Time Scaling for Controller-aware Language-conditioned Humanoid Motion Generation

2026-06-22 · Jianuo Cao, Yuxin Chen, Yuzhen Song, Masayoshi Tomizuka 외 arxiv

Text-conditioned motion generation is a promising interface for programming humanoid robots, yet current generators are often trained on human motion datasets retargeted to robot morphologies. Although such data provides…