Data race detection via few-shot parameter-efficient fine-tuning

被引:0
作者
Shen, Yuanyuan [1 ]
Peng, Manman [2 ]
Zhang, Fan [2 ]
Wu, Qiang [2 ]
机构
[1] North Univ China, Sch Data Sci & Technol, Taiyuan 030051, Peoples R China
[2] Hunan Univ, Coll Comp Sci & Elect Engn, Changsha 410082, Peoples R China
关键词
Data race detection; Parallelization; Few-shot parameter-efficient fine-tuning; Adapter; Neural architecture search;
D O I
10.1016/j.jss.2024.112289
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
The OpenMP programming model is playing an increasing role in parallelization on shared-memory systems owing to its simplicity of operation and portability. OpenMP provides the semantic equivalent of a parallel program for the original sequential program. Though it is easier to write parallel programs using OpenMP, writing them correctly is a challenge. Data race conditions errors can easily occur during the writing process, particularly by inexperienced programmers. Some data race checkers have been developed to help programmers check for data race in parallel programs. However, several of them have constraints on the input and thread configuration, time overhead, and scope of program analysis. In this study, we target data race detection in OpenMP parallel programs to address the issues of constraints from checkers. We propose a few-shot parameter-efficient fine-tuning method using adapter module to address data race detection issue. The proposed method does not require a large labeled dataset, and it makes data efficient. A generic dataset is constructed with a limited number of labeled data, containing diverse OpenMP patterns for data race detection. A neural architecture search approach is employed to improve the performance of detection. The experimental results on the generated and open-source datasets demonstrate that our method is effective and improves race detection compared with traditional methods.
引用
收藏
页数:13
相关论文
empty
未找到相关数据