arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2412.14436cs.CLcs.AI
收藏

ORBIT:面向大语言模型领域适配的高性价比数据集构建方法及天文学案例研究

ORBIT: Cost-Effective Dataset Curation for Large Language Model Domain Adaptation with an Astronomy Case Study

University of Illinois at Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);National Center for Supercomputing Applications(国家超级计算应用中心)

Eric Modesitt, Ke Yang, Spencer Hulsey, Chengxiang Zhai, Volodymyr Kindratenko

AI总结:

本文提出ORBIT方法,从嘈杂网络数据中高效构建高质量领域数据集,在天文等领域微调LLaMA-3-8B显著提升了基准性能并开源相关资源。

摘要:

语言建模的最新进展表明,需要高质量的领域特定训练数据,尤其是对于需要专业知识的任务。通用模型虽然用途广泛,但由于缺乏领域特定信息,往往缺乏专家级任务所需的深度。领域适配训练可以增强这些模型,但它需要大量高质量数据。为了解决这个问题,我们提出了ORBIT,这是一种高性价比的方法,用于从嘈杂的网络来源中整理大规模、高质量的领域特定数据集,专为训练专业大语言模型而设计。以天文学为主要案例研究,我们将1.3T token的FineWeb-Edu数据集精炼为专注于天文学的10B token高质量子集。在1B token天文学子集上对LLaMA-3-8B进行微调,将MMLU天文学基准上的性能从69%提高到76%,并在天文学特定基准AstroBench上取得了最佳结果。此外,我们的模型在1000个天文学特定问题中,有73%的情况被GPT-4o评估认为优于LLaMA-3-8B-base。此外,我们通过将ORBIT应用于法律和医学领域验证了其泛化能力,与未过滤的基线相比,数据质量得到了显著提升。我们在https://github.com/ModeEric/ORBIT-Llama开源了ORBIT方法,包括整理好的数据集、代码库和生成的模型。

英文摘要:

Recent advances in language modeling demonstrate the need for high-quality domain-specific training data, especially for tasks that require specialized knowledge. General-purpose models, while versatile, often lack the depth needed for expert-level tasks because of limited domain-specific information. Domain adaptation training can enhance these models, but it demands substantial, high-quality data. To address this, we propose ORBIT, a cost-efficient methodology for curating massive, high-quality domain-specific datasets from noisy web sources, tailored for training specialist large language models. Using astronomy as a primary case study, we refined the 1.3T-token FineWeb-Edu dataset into a high-quality, 10B-token subset focused on astronomy. Fine-tuning \textsc{LLaMA-3-8B} on a 1B-token astronomy subset improved performance on the MMLU astronomy benchmark from 69\% to 76\% and achieved top results on AstroBench, an astronomy-specific benchmark. Moreover, our model (Orbit-LLaMA) outperformed \textsc{LLaMA-3-8B-base}, with GPT-4o evaluations preferring it in 73\% of cases across 1000 astronomy-specific questions. Additionally, we validated ORBIT's generalizability by applying it to law and medicine, achieving a significant improvement of data quality compared to an unfiltered baseline. We open-source the ORBIT methodology, including the curated datasets, the codebase, and the resulting model at \href{https://github.com/ModeEric/ORBIT-Llama}{https://github.com/ModeEric/ORBIT-Llama}.

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

↑