paper-with-me

홈 › Papers

Optimizing Case-Based Reasoning System for Functional Test Script Generation with Large Language Models

2025-03-26 · Siyuan Guo, Huiwu Liu, Xiaolong Chen, Yuming Xie, Liang Zhang, Tao Han, Hechang Chen, Yi Chang, Jun Wang

In this work, we explore the potential of large language models (LLMs) for generating functional test scripts, which necessitates understanding the dynamically evolving code structure of the target software. To achieve this, we propose a case-based reasoning (CBR) system utilizing a 4R cycle (i.e., retrieve, reuse, revise, and retain), which maintains and leverages a case bank of test intent descriptions and corresponding test scripts to facilitate LLMs for test script generation. To improve user experience further, we introduce Re4, an optimization method for the CBR system, comprising reranking-based retrieval finetuning and reinforced reuse finetuning. Specifically, we first identify positive examples with high semantic and script similarity, providing reliable pseudo-labels for finetuning the retriever model without costly labeling. Then, we apply supervised finetuning, followed by a reinforcement learning finetuning stage, to align LLMs with our production scenarios, ensuring the faithful reuse of retrieved cases. Extensive experimental results on two product development units from Huawei Datacom demonstrate the superiority of the proposed CBR+Re4. Notably, we also show that the proposed Re4 method can help alleviate the repetitive generation issues with LLMs.

📄 PDF Abstract BibTeX arXiv:2503.20576

Code (0)

등록된 구현이 없습니다.

Tasks

RerankingScript Generation

Methods 이 논문이 사용한 방법론

ALIGN In the ALIGN method, visual and language representations are jointly trained from noisy image alt-text data. The image and text encoders are learned via contrastive loss…

Similar Papers 제목 키워드 기반

Efficient Semi-Supervised Learning for Natural Language Understanding by Optimizing Diversity

2019-10-09 · Eunah Cho, He Xie, John P. Lalor, Varun Kumar 외

Expanding new functionalities efficiently is an ongoing challenge for single-turn task-oriented dialogue systems. In this work, we explore functionality-specific semi-supervised learning via self-training. We consider me…

DiversityNatural Language UnderstandingTask-Oriented Dialogue Systems

PG-3DGS: Optimizing 3D Gaussian Splatting to Satisfy Physics Objectives

2026-05-11 · Zachary Lee, Maxwell Jacobson, Yexiang Xue arxiv

Recent advances in Gaussian Splatting have enabled fast, high-fidelity 3D scene generation, yet these methods remain purely visual and lack an understanding of how shapes behave in the physical world. We introduce Physic…

Scene Generation

Functionality learning through specification instructions

2023-11-14 · Pedro Henrique Luz de Araujo, Benjamin Roth

Test suites assess natural language processing models' performance on specific functionalities: cases of interest involving model robustness, fairness, or particular linguistic capabilities. This paper introduces specifi…

Fairness

On Composable and Parametric Uncertainty in Systems Co-Design

2025-04-03 · Yujun Huang, Marius Furter, Gioele Zardini

Optimizing the design of complex systems requires navigating interdependent decisions, heterogeneous components, and multiple objectives. Our monotone theory of co-design offers a compositional framework for addressing t…

Decision Making

Evolutionary Prompt Optimization Discovers Emergent Multimodal Reasoning Strategies in Vision-Language Models

2025-03-30 · Sid Bharthulwar, John Rho, Katrina Brown

We present a framework for optimizing prompts in vision-language models to elicit multimodal reasoning without model retraining. Using an evolutionary algorithm to guide prompt updates downstream of visual tasks, our app…

Image SegmentationLanguage ModelingLanguage ModellingMultimodal Reasoning+2