arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.16931cs.CL
收藏

ScholarChemQA:揭示语言模型在化学研究问答中的能力

ScholarChemQA: Unveiling the Power of Language Models in Chemical Research Question Answering

KAUST(阿卜杜拉国王科技大学);Notre Dame(圣母大学)

Xiuying Chen, Tairan Wang, Taicheng Guo, Kehan Guo, Juexiao Zhou, Haoyang Li, Mingchen Zhuge, Jürgen Schmidhuber, Xin Gao, Xiangliang Zhang

AI总结:

本文提出ScholarChemQA数据集和QAMatch模型,通过重新加权解决标签不平衡、利用未标记数据生成增强并校准伪标签,显著提升了化学问答性能。

摘要:

问答(QA)有效评估了语言模型的推理能力和知识深度。尽管通用领域和生物医学等领域拥有大量QA数据集,但学术化学领域的探索较少。化学QA通过将复杂的化学信息有效转化为易于理解的格式,在教育和研究中发挥着关键作用。为填补这一空白,我们引入了ScholarChemQA,一个从化学论文构建的大规模QA数据集。该数据集反映了典型的现实世界挑战,包括数据分布不平衡以及大量潜在有用的未标记数据。相应地,我们引入了QAMatch模型,专为通过充分利用收集的数据来有效回答化学问题而设计。我们首先通过基于每个类别的逆频率对实例级损失进行重新加权,解决标签分布不平衡的问题,确保少数类在优化过程中不被多数类主导。接着,我们利用未标记数据丰富学习过程,基于SoftMix操作生成多种增强,并确保它们的预测与相同目标(即伪标签)对齐。为确保伪标签质量,我们提出了一种校准程序,旨在使单个样本的伪标签估计与期望的真实分布紧密对齐。实验表明,我们的QAMatch不仅在ScholarChemQA数据集上,还在四个基准数据集上显著优于近期相似规模的基线模型和大型语言模型(LLMs)。我们希望该基准和模型能促进化学QA的更多研究。

英文摘要:

Question Answering (QA) effectively evaluates language models' reasoning and knowledge depth. While QA datasets are plentiful in areas like general domain and biomedicine, academic chemistry is less explored. Chemical QA plays a crucial role in both education and research by effectively translating complex chemical information into readily understandable format. Addressing this gap, we introduce ScholarChemQA, a large-scale QA dataset constructed from chemical papers. This dataset reflects typical real-world challenges, including an imbalanced data distribution and a substantial amount of unlabeled data that can be potentially useful. Correspondingly, we introduce a QAMatch model, specifically designed to effectively answer chemical questions by fully leveraging our collected data. We first address the issue of imbalanced label distribution by re-weighting the instance-wise loss based on the inverse frequency of each class, ensuring minority classes are not dominated by majority ones during optimization. Next, we utilize the unlabeled data to enrich the learning process, generating a variety of augmentations based on a SoftMix operation and ensuring their predictions align with the same target, i.e., pseudo-labels. To ensure the quality of the pseudo-labels, we propose a calibration procedure aimed at closely aligning the pseudo-label estimates of individual samples with a desired ground truth distribution. Experiments show that our QAMatch significantly outperforms the recent similar-scale baselines and Large Language Models (LLMs) not only on our ScholarChemQA dataset but also on four benchmark datasets. We hope our benchmark and model can facilitate and promote more research on chemical QA.

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

↑