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

预训练语言模型的N元语法近似研究

On the N-gram Approximation of Pre-trained Language Models

Saarland University(萨尔大学);German Research Center for Artificial Intelligence (DFKI)(德国人工智能研究中心(DFKI));Saarland Informatics Campus(萨尔兰信息学园区)

Aravind Krishnan, Jesujoba Alabi, Dietrich Klakow

AI总结:

本研究探索预训练语言模型在自动语音识别语言建模中的应用,对比两种将GPT-2近似为n-gram模型的方法,提出词汇受限解码法,在8个领域语料上验证可有效降低困惑度。

摘要:

大型预训练语言模型(PLMs)已在各类自然语言理解(NLU)任务中展现出卓越性能,尤其在低资源场景下表现突出。然而,它们在自动语音识别(ASR)中的潜力仍有待充分挖掘。本研究探究了PLMs用于ASR中语言建模的潜在价值。我们对比了大规模文本采样与概率转换两种将GPT-2近似为n-gram模型的方法。此外,我们提出了一种用于随机采样的词汇受限解码方法,并评估了领域难度与数据规模对生成文本可用性的影响。我们在8个领域特定语料库上的研究结果支持采用基于采样的近似方法,且表明与大型采样语料库进行插值可使测试困惑度较基线三元语法模型降低15%。我们的词汇受限解码方法在领域特定场景下将该提升进一步提高了5%。

英文摘要:

Large pre-trained language models (PLMs) have shown remarkable performance across various natural language understanding (NLU) tasks, particularly in low-resource settings. Nevertheless, their potential in Automatic Speech Recognition (ASR) remains largely unexplored. This study investigates the potential usage of PLMs for language modelling in ASR. We compare the application of large-scale text sampling and probability conversion for approximating GPT-2 into an n-gram model. Furthermore, we introduce a vocabulary-restricted decoding method for random sampling, and evaluate the effects of domain difficulty and data size on the usability of generated text. Our findings across eight domain-specific corpora support the use of sampling-based approximation and show that interpolating with a large sampled corpus improves test perplexity over a baseline trigram by 15%. Our vocabulary-restricted decoding method pushes this improvement further by 5% in domain-specific settings.

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

↑