arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.01135cs.CRcs.AI
收藏

利用认知增强提升小型大语言模型的推理能力

Enhancing Reasoning Capacity of SLM using Cognitive Enhancement

Home Team Science and Technology Agency(内政团队科技局)

Jonathan Pan, Swee Liang Wong, Xin Wei Chia, Yidi Yuan

AI总结:

本文针对小型大语言模型(SLM)在网络安全调查与数字取证中因规模缩减导致推理性能下降的问题,提出通过提示整合人类问题求解认知策略的认知增强方法,实验证明该方法能显著提升SLM性能。

摘要:

大型语言模型(LLMs)已被应用于自动化网络安全活动与流程,包括网络调查和数字取证。然而,将此类模型用于网络调查和数字取证时,应当解决问责性与安全性方面的考量。问责性确保模型具备提供可解释推理过程和结果的手段,这些信息可以通过明确的提示请求来提取。在安全性考量方面,同样至关重要的是在数据处理过程中解决所涉数据的隐私与保密问题。应对这一考量的一种方法是使用模型的本地实例在本地处理数据。由于本地可用资源(即内存和GPU容量)的限制,通常会使用小型大语言模型(SLM)。与LLMs相比,这些SLMs的参数量显著更少。然而,这种规模缩减会带来明显的性能下降,尤其是在被要求提供推理解释时。在本文中,我们旨在通过整合人类用于问题求解的认知策略来缓解性能下降。我们将此方法称为通过提示实现的认知增强。我们的实验表明,当应用此类增强时,SLMs的性能获得了显著提升。我们相信,我们的探索性研究为进一步研究利用认知增强来优化面向网络安全应用的SLM铺平了道路。

英文摘要:

Large Language Models (LLMs) have been applied to automate cyber security activities and processes including cyber investigation and digital forensics. However, the use of such models for cyber investigation and digital forensics should address accountability and security considerations. Accountability ensures models have the means to provide explainable reasonings and outcomes. This information can be extracted through explicit prompt requests. For security considerations, it is crucial to address privacy and confidentiality of the involved data during data processing as well. One approach to deal with this consideration is to have the data processed locally using a local instance of the model. Due to limitations of locally available resources, namely memory and GPU capacities, a Smaller Large Language Model (SLM) will typically be used. These SLMs have significantly fewer parameters compared to the LLMs. However, such size reductions have notable performance reduction, especially when tasked to provide reasoning explanations. In this paper, we aim to mitigate performance reduction through the integration of cognitive strategies that humans use for problem-solving. We term this as cognitive enhancement through prompts. Our experiments showed significant improvement gains of the SLMs' performances when such enhancements were applied. We believe that our exploration study paves the way for further investigation into the use of cognitive enhancement to optimize SLM for cyber security applications.

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

↑