面向噪声输入NLP模型的受限输出空间有限上下文索引
Finite-context Indexing of Restricted Output Space for NLP Models Facing Noisy Input
AI总结:
提出FiRo方法,通过有限上下文聚合在受限输出空间中推断无噪声token形式,在不牺牲清洁输入性能的前提下显著提升NLP模型在噪声输入下的准确率。
摘要:
NLP模型在清洁输入任务上表现出色,但在噪声输入下准确率较低。特别是字符级噪声(如人为拼写错误和对抗性设计的逼真拼写错误)常出现在文本中,容易使NLP模型出错。现有解决字符级噪声的方法往往改变输入内容(低保真度),从而无意中降低模型在清洁输入上的准确率。我们提出FiRo方法,在不牺牲清洁输入性能的前提下提升NLP模型在噪声输入上的表现。FiRo通过为输入中每个token推断无噪声形式来净化输入文本,同时保持其保真度。FiRo采用有限上下文聚合获取上下文嵌入,随后在受限输出空间内寻找无噪声形式。该输出空间被限制为一个小的候选簇,以更准确地预测无噪声token。尽管簇规模较小,FiRo的有效词汇表(所有簇的并集)可扩展以更好地保留输入内容。实验结果表明,使用FiRo的NLP模型在六项分类任务和一项序列标注任务中,于不同噪声程度下均优于基线方法。
英文摘要:
NLP models excel on tasks with clean inputs, but are less accurate with noisy inputs. In particular, character-level noise such as human-written typos and adversarially-engineered realistic-looking misspellings often appears in text and can easily trip up NLP models. Prior solutions to address character-level noise often alter the content of the inputs (low fidelity), thus inadvertently lowering model accuracy on clean inputs. We proposed FiRo, an approach to boost NLP model performance on noisy inputs without sacrificing performance on clean inputs. FiRo sanitizes the input text while preserving its fidelity by inferring the noise-free form for each token in the input. FiRo uses finite-context aggregation to obtain contextual embeddings which is then used to find the noise-free form within a restricted output space. The output space is restricted to a small cluster of probable candidates in order to predict the noise-free tokens more accurately. Although the clusters are small, FiRo's effective vocabulary (union of all clusters) can be scaled up to better preserve the input content. Experimental results show NLP models that use FiRo outperforming baselines on six classification tasks and one sequence labeling task at various degrees of noise.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。