首页|期刊导航|计算机科学与探索|基于错误传播知识图的GPU程序软错误弹性预测

基于错误传播知识图的GPU程序软错误弹性预测OA

Soft Error Resilience Prediction for GPU Programs with Error Propagation Knowledge Graph

中文摘要英文摘要

计算机内部单元尺寸缩小导致设备更易受到短沟道效应、电流噪声、电磁干扰的影响,进而产生瞬态位翻转(软错误).部分软错误可能导致静默数据损坏,对计算机系统可靠性构成严重威胁,因此亟需对软错误影响进行有效预测与评估.与中央处理器(CPU)相比,图形处理器(GPU)的指令语义与线程间并行行为高度耦合,软错误传播关系更复杂,使得已有的弹性评估方法难以直接适用于GPU汇编层级.针对该问题,构建了基于错误传播知识图的GPU程序软错误弹性预测模型(EPKGP),在SASS汇编指令层级精确预测程序故障点的软错误弹性.进行大规模故障注入实验,从数据中分析提取指令类型、位翻转位置、位翻转方向以及线程块编号等动态的启发式信息并编码启发式特征;构建SASS汇编代码语料库来预训练Word2Vec模型,挖掘丰富的指令语义知识,得到静态的指令语义嵌入特征;结合程序指令间的控制流与数据依赖关系构建错误传播知识图,融合两种异构特征表示作为输入,并利用图卷积网络(GCN)对GPU程序软错误弹性进行高效预测.实验表明,EPKGP相比G-SEPM等现有的软错误弹性预测方法,准确率最高提升了4.05个百分点,F1分数最高提升了3.92个百分点.

The reduction of internal unit sizes of computer makes the devices more susceptible to short-channel effects,current noise and electromagnetic interference,leading to transient bit-flip errors(also known as soft errors).Some of soft errors may result in silent data corruption,which is a serious threat to the reliability of computer systems.Therefore,it is urgent to predict and evaluate the impact of soft errors effectively.Compared with CPUs,the semantics of GPU are highly coupled with the parallel behavior between threads,and thus the propagation of soft errors is more complex.That makes it difficult for existing soft error resilience assessment methods to be applied at the GPU assembly level.To address the problem,a soft error resilience prediction model for GPU programs,EPKGP(soft error resilience prediction model with error propagation knowledge graph),is constructed based on an error propagation knowledge graph,so as to predict the soft error resilience of program fault points at SASS(streaming assembly)assembly level.Firstly,large-scale fault injection experiments are carried out to analyze and extract dynamic heuristic information from data,such as instruction types,bit-flip positions,bit-flip types and thread block numbers.Then,a SASS assembly code corpus is constructed to pre-train the Word2Vec model,mine abundant semantic knowledge and obtain static instruction semantic embedding features.Finally,this paper constructs an error propagation knowledge graph by virtue of the control flow and data dependency relationships between program instructions.The two heterogeneous features are fused as input and the graph convolutional network(GCN)is utilized to efficiently predict soft error resilience of GPU programs.Experiments show that compared with existing soft error prediction methods like G-SEPM,the accuracy of EPKGP is increased by up to 4.05 percentage points and the F1 score rises by up to 3.92 percentage points.

欧家依;俞鹏飞;李巍;崔煜康;顾晶晶

南京航空航天大学 计算机科学与技术学院,南京 211106南京航空航天大学 计算机科学与技术学院,南京 211106南京航空航天大学 计算机科学与技术学院,南京 211106南京航空航天大学 计算机科学与技术学院,南京 211106南京航空航天大学 计算机科学与技术学院,南京 211106

信息技术与安全科学

软错误弹性预测图形处理器(GPU)图卷积系统可靠性

soft errorresilience predictiongraphics processing unit(GPU)graph convolutionsystem reliability

《计算机科学与探索》 2026 (8)

2288-2302,15

国家自然科学基金面上项目(62072235)江苏省自然科学基金青年项目(BK20241402). This work was supported by the National Natural Science Foundation of China(62072235),and the Natural Science Foundation of Jiangsu Province(BK20241402).

10.3778/j.issn.1673-9418.2511030

评论