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

微调语言模型以支持科学写作

Fine-Tuning Language Models for Scientific Writing Support

Universität Ulm(乌尔姆大学)

Justin Mücke, Daria Waldow, Luise Metzger, Philipp Schauz, Marcel Hoffman, Nicolas Lell, Ansgar Scherp

AI总结:

本文提出用于科学写作支持的语言模型微调方法,包括科学性评分、章节分类和句子改写,实验表明上下文增强分类,T5 Large改写效果最佳。

摘要:

我们支持科学写作者判断一个书面句子是否具有科学性、属于哪个章节,并建议改写以改进句子。首先,我们提出一个回归模型,该模型在从同行评审的科学论文和非科学文本中提取的科学句子语料库上进行训练,以分配一个指示句子科学性的分数。我们研究了方程和引用对该分数的影响,以测试模型可能存在的偏见。其次,我们创建了一个从章节标题到人工智能和机器学习标准论文布局的映射,以将句子分类到其最可能的章节。我们研究了上下文(即周围句子)对章节分类性能的影响。最后,我们提出了一个改写器,它为给定句子提供替代方案,包括单词替换、句子添加和结构更改,以改进写作风格。我们在从arXiv论文中提取的句子上训练了各种大型语言模型,这些论文经过同行评审并发表在A*、A、B和C级会议上。在科学性任务上,所有模型实现的均方误差小于2%。对于章节分类,BERT在大多数情况下优于WideMLP和SciBERT。我们证明使用上下文增强了句子的分类,实现了高达90%的F1分数。尽管改写模型进行的修改相对较少,但它们产生的输出句子接近黄金标准。大型微调模型如T5 Large在考虑输入句子与黄金标准之间各种差异度量的实验中表现最佳。代码可在https://github.com/JustinMuecke/SciSen下获取。

英文摘要:

We support scientific writers in determining whether a written sentence is scientific, to which section it belongs, and suggest paraphrasings to improve the sentence. Firstly, we propose a regression model trained on a corpus of scientific sentences extracted from peer-reviewed scientific papers and non-scientific text to assign a score that indicates the scientificness of a sentence. We investigate the effect of equations and citations on this score to test the model for potential biases. Secondly, we create a mapping of section titles to a standard paper layout in AI and machine learning to classify a sentence to its most likely section. We study the impact of context, i.e., surrounding sentences, on the section classification performance. Finally, we propose a paraphraser, which suggests an alternative for a given sentence that includes word substitutions, additions to the sentence, and structural changes to improve the writing style. We train various large language models on sentences extracted from arXiv papers that were peer reviewed and published at A*, A, B, and C ranked conferences. On the scientificness task, all models achieve an MSE smaller than $2\%$. For the section classification, BERT outperforms WideMLP and SciBERT in most cases. We demonstrate that using context enhances the classification of a sentence, achieving up to a $90\%$ F1-score. Although the paraphrasing models make comparatively few alterations, they produce output sentences close to the gold standard. Large fine-tuned models such as T5 Large perform best in experiments considering various measures of difference between input sentence and gold standard. Code is provided under https://github.com/JustinMuecke/SciSen.

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

↑