arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2412.20956quant-ph
收藏

QuantumLLMInstruct:一个包含50万条面向量子计算的问题-解答对的LLM指令微调数据集

QuantumLLMInstruct: A 500k LLM Instruction-Tuning Dataset with Problem-Solution Pairs for Quantum Computing

Shlomo Kashani

AI总结:

本文提出QuantumLLMInstruct数据集,包含50万条量子计算问题-解答对,通过四阶段方法构建,用于提升LLM在量子计算任务上的指令微调性能。

摘要:

我们提出了QuantumLLMInstruct(QLMMI),这是一个创新性的数据集,包含超过500,000条精心整理的、专为量子计算设计的指令遵循问题-解答对,是同类中规模最大、最全面的数据集。QLMMI源自90多个主要种子领域,并涵盖由LLM自主生成的数百个子领域,标志着量子计算数据集在多样性和丰富性方面迈出了变革性的一步。QLMMI专为指令微调而设计,旨在显著提升LLM在应对涵盖广泛量子物理主题的复杂量子计算挑战时的性能。尽管大型语言模型(LLM)借助Omni-MATH和OpenMathInstruct等数据集推动了计算科学的进步,但这些数据集主要针对奥林匹克级别的数学,使量子计算在很大程度上未被探索。QLMMI的创建遵循严格的四阶段方法。首先,使用预定义模板开发基础问题,重点关注合成哈密顿量、QASM代码生成、Jordan-Wigner变换和Trotter-Suzuki量子电路分解等关键领域。接下来,精心制作详细且针对特定领域的解答,以确保准确性和相关性。在第三阶段,通过先进的推理技术丰富数据集,包括思维链(CoT)和面向任务的推理与行动(ToRA),在遵循严格数学标准的同时增强问题-解答的多样性。最后,一个零样本Judge LLM执行自我评估,以验证数据集的质量和可靠性,最大限度地减少人工监督需求。

英文摘要:

We present QuantumLLMInstruct (QLMMI), an innovative dataset featuring over 500,000 meticulously curated instruction-following problem-solution pairs designed specifically for quantum computing - the largest and most comprehensive dataset of its kind. Originating from over 90 primary seed domains and encompassing hundreds of subdomains autonomously generated by LLMs, QLMMI marks a transformative step in the diversity and richness of quantum computing datasets. Designed for instruction fine-tuning, QLMMI seeks to significantly improve LLM performance in addressing complex quantum computing challenges across a wide range of quantum physics topics. While Large Language Models (LLMs) have propelled advancements in computational science with datasets like Omni-MATH and OpenMathInstruct, these primarily target Olympiad-level mathematics, leaving quantum computing largely unexplored. The creation of QLMMI follows a rigorous four-stage methodology. Initially, foundational problems are developed using predefined templates, focusing on critical areas such as synthetic Hamiltonians, QASM code generation, Jordan-Wigner transformations, and Trotter-Suzuki quantum circuit decompositions. Next, detailed and domain-specific solutions are crafted to ensure accuracy and relevance. In the third stage, the dataset is enriched through advanced reasoning techniques, including Chain-of-Thought (CoT) and Task-Oriented Reasoning and Action (ToRA), which enhance problem-solution diversity while adhering to strict mathematical standards. Lastly, a zero-shot Judge LLM performs self-assessments to validate the dataset's quality and reliability, minimizing human oversight requirements.

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

↑