困惑度不能总是区分对错
Perplexity Cannot Always Tell Right from Wrong
AI总结:
本文通过分析Transformer连续性,证明困惑度作为模型选择度量的局限性,指出高置信度必须伴随高准确性才能被选中。
摘要:
困惑度——一个衡量模型在遇到特定输出时整体‘惊讶’程度的函数——近年来在作为损失函数和简单易计算的模型质量度量方面获得了显著关注。先前的研究指出了困惑度的几个局限性,通常是从经验角度出发。在这里,我们利用最近关于Transformer连续性的研究成果,以严谨的方式展示困惑度可能在模型选择中是不合适的度量标准。具体来说,我们证明,如果存在任何序列被紧凑的解码器-only Transformer模型准确且自信地预测,这将是强泛化性的必要前提,那么它必须意味着存在另一个序列具有非常低的困惑度,但该模型并未正确预测。进一步地,通过分析等困惑度图,我们发现困惑度并不总是选择更准确的模型——任何模型置信度的增加都必须伴随新的模型准确性相应增加,才能使新模型被选择。
英文摘要:
Perplexity -- a function measuring a model's overall level of "surprise" when encountering a particular output -- has gained significant traction in recent years, both as a loss function and as a simple-to-compute metric of model quality. Prior studies have pointed out several limitations of perplexity, often from an empirical manner. Here we leverage recent results on Transformer continuity to show in a rigorous manner how perplexity may be an unsuitable metric for model selection. Specifically, we prove that, if there is any sequence that a compact decoder-only Transformer model predicts accurately and confidently -- a necessary pre-requisite for strong generalisation -- it must imply existence of another sequence with very low perplexity, but not predicted correctly by that same model. Further, by analytically studying iso-perplexity plots, we find that perplexity will not always select for the more accurate model -- rather, any increase in model confidence must be accompanied by a commensurate rise in accuracy for the new model to be selected.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。