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

追影:大语言模型安全研究中的陷阱

Chasing Shadows: Pitfalls in LLM Security Research

CISPA Helmholtz Center for Information Security(CISPA赫尔姆霍兹信息安全中心);Max Planck Institute for Security and Privacy(马克斯·普朗克安全与隐私研究所);Karlsruhe Institute of Technology(卡尔斯鲁厄理工学院);Ruhr University Bochum(波鸿鲁尔大学);TU Wien(维也纳科技大学);Sapienza University of Rome(罗马第一大学);_fbeta
Jonathan Evertz, Niklas Risse, Nicolai Neuer, Andreas Müller, Philipp Normann, Gaetano Sapia, Srishti Gupta, David Pape, Soumya Shaw, Devansh Srivastav, Christi… 展开作者

Jonathan Evertz, Niklas Risse, Nicolai Neuer, Andreas Müller, Philipp Normann, Gaetano Sapia, Srishti Gupta, David Pape, Soumya Shaw, Devansh Srivastav, Christian Wressnegger, Erwin Quiring, Thorsten Eisenhofer, Daniel Arp, Lea Schönherr

AI总结:

本文识别了大语言模型安全研究中的九种常见陷阱,并通过实证案例研究分析了这些陷阱对评估、性能和可重复性的影响,提出可操作的指导方针。

摘要:

大语言模型(LLMs)在安全研究中日益普及。然而,它们独特的特性引入了挑战,这些挑战削弱了可重复性、严谨性和评估的传统范式。先前的研究已经识别出传统机器学习研究中的常见陷阱,但这些研究早于LLMs的出现。在本文中,我们识别出九种在LLMs出现后变得更加相关且可能影响涉及它们的研究有效性的常见陷阱。这些陷阱涵盖了整个计算过程,从数据收集、预训练和微调到提示和评估。我们评估了这些陷阱在2023年至2024年间发表于顶级安全和软件工程会议的72篇同行评审论文中的普遍性。我们发现每篇论文至少包含一个陷阱,每个陷阱出现在多篇论文中。然而,只有15.7%的现有陷阱被明确讨论,表明大多数仍未被识别。为了了解其实际影响,我们进行了四项实证案例研究,展示了个体陷阱如何误导评估、夸大性能或损害可重复性。基于我们的发现,我们提供可操作的指南,以支持社区在未来的工作中。

英文摘要:

Large language models (LLMs) are increasingly prevalent in security research. Their unique characteristics, however, introduce challenges that undermine established paradigms of reproducibility, rigor, and evaluation. Prior work has identified common pitfalls in traditional machine learning research, but these studies predate the advent of LLMs. In this paper, we identify nine common pitfalls that have become (more) relevant with the emergence of LLMs and that can compromise the validity of research involving them. These pitfalls span the entire computation process, from data collection, pre-training, and fine-tuning to prompting and evaluation. We assess the prevalence of these pitfalls across all 72 peer-reviewed papers published at leading Security and Software Engineering venues between 2023 and 2024. We find that every paper contains at least one pitfall, and each pitfall appears in multiple papers. Yet only 15.7% of the present pitfalls were explicitly discussed, suggesting that the majority remain unrecognized. To understand their practical impact, we conduct four empirical case studies showing how individual pitfalls can mislead evaluation, inflate performance, or impair reproducibility. Based on our findings, we offer actionable guidelines to support the community in future work.

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

↑