paper-with-me

Papers

DiffuTester: Accelerating Unit Test Generation for Diffusion LLMs via Mining Structural Pattern

2025-09-29 · Lekang Yang, Yuetong Liu, Yitong Zhang, Jia Li arxiv

Diffusion large language models (dLLMs) enable parallel generation and are promising for unit test generation (UTG), where efficient and large-scale automated testing is essential in software development. Despite this advantage, their application to UTG is still constrained by a clear trade-off between efficiency and test quality, since increasing the number of tokens generated in each step often causes a sharp decline in the quality of test cases. To overcome this limitation, we present DiffuTester, an acceleration framework specifically tailored for dLLMs in UTG. The motivation of DiffuTester is that unit tests targeting the same focal method often share structural patterns. DiffuTester employs a novel structural pattern based decoding approach, which dynamically identifies structural patterns across unit tests through their abstract syntax trees and additionally decodes the corresponding tokens, thereby achieving acceleration without compromising the quality of the output. To enable comprehensive evaluation, we extend the original TestEval benchmark to three programming languages. Extensive experiments on three benchmarks with two representative models show that DiffuTester delivers significant acceleration while preserving test coverage. Moreover, DiffuTester generalizes well across different dLLMs and programming languages, providing a practical and scalable solution for efficient UTG in software development. Code and data are publicly available at https://github.com/TsinghuaISE/DiffuTester.

📄 PDF Abstract BibTeX arXiv:2509.24975

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

DuoDiff: Accelerating Diffusion Models with a Dual-Backbone Approach

2024-10-12 · Daniel Gallo Fernández, Răzvan-Andrei Matişan, Alejandro Monroy Muñoz, Ana-Maria Vasilcoiu 외

Diffusion models have achieved unprecedented performance in image generation, yet they suffer from slow inference due to their iterative sampling process. To address this, early-exiting has recently been proposed, where …

DenoisingImage Generation

Presto! Distilling Steps and Layers for Accelerating Music Generation

2024-10-07 · Zachary Novack, Ge Zhu, Jonah Casebeer, Julian McAuley 외

Despite advances in diffusion-based text-to-music (TTM) methods, efficient, high-quality generation remains a challenge. We introduce Presto!, an approach to inference acceleration for score-based diffusion transformers …

DiversityMusic Generation

ConsistencyTTA: Accelerating Diffusion-Based Text-to-Audio Generation with Consistency Distillation

2023-09-19 · Yatong Bai, Trung Dang, Dung Tran, Kazuhito Koishida 외

Diffusion models are instrumental in text-to-audio (TTA) generation. Unfortunately, they suffer from slow inference due to an excessive number of queries to the underlying denoising network per generation. To address thi…

AudioCapsAudio GenerationDenoisingDiversity

Acc3D: Accelerating Single Image to 3D Diffusion Models via Edge Consistency Guided Score Distillation

2025-03-20 · CVPR 2025 1 · Kendong Liu, Zhiyu Zhu, Hui Liu, Junhui Hou

We present Acc3D to tackle the challenge of accelerating the diffusion process to generate 3D models from single images. To derive high-quality reconstructions through few-step inferences, we emphasize the critical issue…

Computational EfficiencyImage to 3D

Unleashing Vecset Diffusion Model for Fast Shape Generation

2025-03-20 · Zeqiang Lai, YunFei Zhao, Zibo Zhao, Haolin Liu 외

3D shape generation has greatly flourished through the development of so-called "native" 3D diffusion, particularly through the Vecset Diffusion Model (VDM). While recent advancements have shown promising results in gene…

3D Generation3D Shape GenerationDecodermodel