Astro-HEP-BERT:用于研究天体物理学与高能物理学概念含义的双向语言模型
Astro-HEP-BERT: A bidirectional language model for studying the meanings of concepts in astrophysics and high energy physics
AI总结:
本文提出 Astro-HEP-BERT,通过在自建大规模天体物理与高能物理语料上微调通用 BERT,以低成本实现领域概念语义分析,并证明其对科学史与科学哲学研究的有效性。
摘要:
我提出 Astro-HEP-BERT,这是一个基于 Transformer 的语言模型,专门用于生成上下文词嵌入(CWEs),以研究天体物理学和高能物理学中概念的含义。Astro-HEP-BERT 建立在一个通用的预训练 BERT 模型之上,并使用 Astro-HEP Corpus 进行了三个轮次的进一步训练。该语料库是我从 arXiv 上超过 600,000 篇学术文章中提取的 2184 万个段落整理而成,这些文章均至少属于上述两个科学领域之一。该项目展示了将双向 Transformer 适配于科学史、科学哲学和科学社会学(HPSS)应用的有效性和可行性。整个训练过程使用免费可得的代码、预训练权重和文本输入完成,并在一台 MacBook Pro 笔记本电脑(M2/96GB)上运行。初步评估表明,在领域特定的词义消歧与归纳以及相关语义变化分析中,Astro-HEP-BERT 的 CWEs 性能可与在更大数据集上从头训练的领域适配 BERT 模型相媲美。这表明,为特定科学领域重新训练通用语言模型,对于 HPSS 研究者而言是一种成本效益高且高效的策略,无需从头进行大规模训练即可实现高性能。
英文摘要:
I present Astro-HEP-BERT, a transformer-based language model specifically designed for generating contextualized word embeddings (CWEs) to study the meanings of concepts in astrophysics and high-energy physics. Built on a general pretrained BERT model, Astro-HEP-BERT underwent further training over three epochs using the Astro-HEP Corpus, a dataset I curated from 21.84 million paragraphs extracted from more than 600,000 scholarly articles on arXiv, all belonging to at least one of these two scientific domains. The project demonstrates both the effectiveness and feasibility of adapting a bidirectional transformer for applications in the history, philosophy, and sociology of science (HPSS). The entire training process was conducted using freely available code, pretrained weights, and text inputs, completed on a single MacBook Pro Laptop (M2/96GB). Preliminary evaluations indicate that Astro-HEP-BERT's CWEs perform comparably to domain-adapted BERT models trained from scratch on larger datasets for domain-specific word sense disambiguation and induction and related semantic change analyses. This suggests that retraining general language models for specific scientific domains can be a cost-effective and efficient strategy for HPSS researchers, enabling high performance without the need for extensive training from scratch.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。