arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.30879cs.HC
收藏

编程专长的神经特征:使用脑电图数据对程序员技能水平进行分类

Neural Signatures of Programming Expertise: Classifying Programmer Skill Levels Using EEG Data

German Research Center for Artificial Intelligence (DFKI)(德国人工智能研究中心);Saarland University(萨尔兰大学);Max Planck Institute for Software Systems(马克斯·普朗克软件系统研究所)

Maurice Rekrut, Mahima Mahabaleshwar Acharya, Taisiia Ulianova, Norman Peitek, Annabelle Bergum, Mariya Toneva, Sven Apel, Antonio Krüger

AI总结:

利用脑电图和机器学习分析编程经验与神经活动的关系,通过随机森林分类器实现高精度技能水平分类,揭示了熵值和额叶激活模式等关键神经特征。

摘要:

准确评估程序员的技能水平对于软件行业的招聘、团队组成和绩效评估至关重要。传统方法(如编码测试或面试)往往无法捕捉编程专长背后的全部认知能力。本研究探索使用脑电图(EEG)和机器学习来研究编程技能的神经关联。我们分析了一个现有的EEG数据集,该数据集记录了37名具有1至30年经验(8.1±6.3年)的程序员在代码理解过程中的脑电活动,以检查神经活动与专长之间的关系。此外,我们使用随机森林分类器进行了分类实验,采用多种特征进行二分类(专家vs.新手)和多分类(专家、中级、新手)。我们识别了与编程专长相关的EEG特征和脑区。具体来说,EEG熵与技能水平的相关性最强。此外,专家的大脑以高度局部的中央-额叶激活为特征,而其他组的额叶激活则是更分布式网络的一部分。在分类方面,我们的设置在分层10折交叉验证中达到了91.83%(二分类)和78.15%(多分类)的平均准确率,而留一被试交叉验证分别达到了85.00%和58.80%。单个频带的表现优于全频谱分析,并且程序理解和静息态数据都产生了强劲的结果。这些发现表明,EEG特征有效地捕捉了不同技能水平的神经关联,并突显了神经数据在补充传统技能评估方法方面的潜力。

英文摘要:

Accurately assessing a programmer's skill level is critical for hiring, team composition, and performance evaluation in the software industry. Conventional methods, such as coding tests or interviews, often fail to capture the full spectrum of cognitive abilities underlying programming expertise. This study explores using electroencephalography (EEG) and machine learning to investigate neural correlates of programming skill. We analyzed an existing EEG dataset recorded during code comprehension from 37 programmers with 1 to 30 years of experience (8.1 +/- 6.3 years) to examine relationships between neural activity and expertise. Additionally, we conducted classification experiments using Random Forest classifiers with diverse features for binary (experts vs. novices) and multi-class (experts, intermediates, novices) setups. We identified EEG features and brain regions associated with programming expertise. Specifically, EEG entropy showed the strongest correlation with skill level. Furthermore, experts' brains were characterized by highly localized centro-frontal activation, whereas frontal activation in other groups was part of a more distributed network. Regarding classification, our setup achieved an average accuracy of 91.83% (binary) and 78.15% (multi-class) in stratified 10-fold cross-validation, while leave-one-subject-out validation achieved 85.00% and 58.80%, respectively. Individual frequency bands outperformed full-spectrum analyses, and both program comprehension and resting-state data yielded strong results. These findings demonstrate that EEG features effectively capture neural correlates across different skill levels and highlight the potential of neural data to complement traditional methods of skill assessment.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑