大型字节模型:教会语言模型关于编译代码的知识
Large Byte Model: Teaching Language Models About Compiled Code
AI总结:
本文提出首个字节原生大语言模型,通过定制字节分词器扩展词汇表,使其能直接处理可执行文件原始字节并回答恶意软件分析问题,在家族分类和架构分类上分别达到69%和98%的准确率。
摘要:
恶意软件分析始于可执行程序的原始字节,而将其“提升”到更高级表示(如汇编)的工具成本高昂且容易出错。大型语言模型(LLM)无法处理原始字节表示并回答相关问题。为此,我们提出了首个字节原生LLM。基于使用定制字节分词器的词汇扩展技术,该模型能够回答关于恶意软件二进制的复杂问题,准确率从恶意软件家族分类的69%到架构分类的98%不等。我们的发现表明,在训练过程中提供领域知识对此应用至关重要——现成的模型既缺乏准确性也缺乏洞察力。我们已将该新兴解决方案部署给有限数量的分析师,以收集反馈进行进一步改进。
英文摘要:
Malware analysis starts with the raw bytes of an executable program, and tools to "lift" these to higher-level representations, such as assembly, are expensive and subject to error. Large Language Models (LLMs) cannot process raw byte representations and answer questions about them. To this end, we present the first byte-native LLM. Based on a vocabulary expansion technique using a bespoke byte tokenizer, such a model is capable of responding to complex questions about malware binaries, with accuracies ranging from 69% for malware family classification to 98% for architecture classification. Our findings indicate that providing domain knowledge during training is essential for this application -- off-the-shelf models lack both accuracy and insight. We've deployed this emerging solution to a limited number of analysts to gather feedback for further improvements.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。