自回归模型中隐藏的偏见
Hidden Biases in Conditioning Autoregressive Models
AI总结:
研究揭示了自回归模型在条件生成中存在隐藏的推理偏见,证明了精确解码在全局形式约束下计算上是不可行的。
摘要:
大型语言和音乐模型越来越多地用于受约束的生成:押韵的句子、固定节奏、补全或填充、位置结尾等全局形式要求。这些系统通常表现非常出色,但诱导的过程通常不是底层自回归模型的精确条件化。这会产生一种不同于训练集继承的已知偏见的隐藏推理偏见:样本相对于真实约束分布被扭曲,没有保证完全覆盖可接受的解空间或在有效补全上正确条件概率。我们为自回归模型正式化了几个精确推理任务,并证明了相应的难度结果。对于能够以多项式时间计算下一个标记概率的简洁表示自回归模型,精确的句子级最大后验(MAP)解码是NP难的。这种难度在单一位和度量约束下仍然存在。在采样方面,即使对于常规约束如固定长度终端事件,精确的条件归一化也是#P难的。与有限状态马尔可夫模型不同,通用的自回归模型不适用于这些任务的有界状态动态规划。这些结果正式化了神经解码文献中的一个标准主张:局部自回归采样是容易的,而精确解码和在全局形式约束下的精确条件化在一般情况下是计算上不可行的。
英文摘要:
Large language and music models are increasingly used for constrained generation: rhyming lines, fixed meter, inpainting or infilling, positional endings, and other global form requirements. These systems often perform strikingly well, but the induced procedures are usually not exact conditioning of the underlying autoregressive model. This creates a hidden inferential bias, distinct from the better-known notion of bias inherited from the training set: samples are distorted relative to the true constrained distribution, with no generic guarantee of complete coverage of the admissible solution space or of correct conditional probabilities over valid completions. We formalize several exact inference tasks for autoregressive models and prove corresponding hardness results. For succinctly represented autoregressive models whose next-token probabilities are computable in polynomial time, exact sentence-level maximum a posteriori (MAP) decoding is NP-hard. This hardness persists under unary and metrical constraints. On the sampling side, exact conditioned normalization is \#P-hard even for regular constraints such as fixed-length terminal events. Unlike finite-state Markov models, general autoregressive models do not admit a bounded-state dynamic program for these tasks. These results formalize a standard claim in the neural decoding literature: local autoregressive sampling is easy, whereas exact decoding and exact conditioning under global form constraints are computationally intractable in general.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。