LLM 作为 HPC 专家:扩展 RAG 架构以处理 HPC 数据
LLM as HPC Expert: Extending RAG Architecture for HPC Data
AI总结:
本文提出 HyCE 方法,通过集成实时用户特定 HPC 数据扩展 RAG 架构,增强 LLM 作为 HPC 专家的可访问性,并解决安全与评估问题。
摘要:
高性能计算(HPC)对于执行高级计算任务至关重要,然而其复杂性常常给用户带来挑战,尤其是那些不熟悉 HPC 特定命令和工作流程的用户。本文介绍了假设命令嵌入(HyCE),这是一种新颖的方法,通过集成实时的、针对用户特定的 HPC 数据来扩展检索增强生成(RAG),从而增强这些系统的可访问性。HyCE 用实时的、用户特定的 HPC 信息丰富了大语言模型(LLM),解决了微调模型在此类数据上的局限性。我们使用一个自动化的 RAG 评估框架来评估 HyCE,其中 LLM 本身从 HPC 数据中生成合成问题并充当评判者,使用与 HPC 任务相关的评估指标来评估扩展后的 RAG 的有效性。此外,我们解决了与在 HPC 环境中部署 LLM 相关的基本安全问题,包括数据隐私和命令执行风险。该解决方案为 HPC 集群提供了一种可扩展且适应性强的途径,使 LLM 能够充当 HPC 专家,弥合用户与复杂 HPC 系统之间的鸿沟。
英文摘要:
High-Performance Computing (HPC) is crucial for performing advanced computational tasks, yet their complexity often challenges users, particularly those unfamiliar with HPC-specific commands and workflows. This paper introduces Hypothetical Command Embeddings (HyCE), a novel method that extends Retrieval-Augmented Generation (RAG) by integrating real-time, user-specific HPC data, enhancing accessibility to these systems. HyCE enriches large language models (LLM) with real-time, user-specific HPC information, addressing the limitations of fine-tuned models on such data. We evaluate HyCE using an automated RAG evaluation framework, where the LLM itself creates synthetic questions from the HPC data and serves as a judge, assessing the efficacy of the extended RAG with the evaluation metrics relevant for HPC tasks. Additionally, we tackle essential security concerns, including data privacy and command execution risks, associated with deploying LLMs in HPC environments. This solution provides a scalable and adaptable approach for HPC clusters to leverage LLMs as HPC expert, bridging the gap between users and the complex systems of HPC.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。