CONTESTS: a Framework for Consistency Testing of Span Probabilities in Language Models
<|reference_start|>CONTESTS: a Framework for Consistency Testing of Span Probabilities in Language Models: Although language model scores are often treated as probabilities, their reliability as probability estimators has mainly been studied through calibration, overlooking other aspects. In particular, it is unclear whether language models produce the same value for different ways of assigning joint probabilities to word spans. Our work introduces a novel framework, ConTestS (Consistency Testing over Spans), involving statistical tests to assess score consistency across interchangeable completion and conditioning orders. We conduct experiments on post-release real and synthetic data to eliminate training effects. Our findings reveal that both Masked Language Models (MLMs) and autoregressive models exhibit inconsistent predictions, with autoregressive models showing larger discrepancies. Larger MLMs tend to produce more consistent predictions, while autoregressive models show the opposite trend. Moreover, for both model types, prediction entropies offer insights into the true word span likelihood and therefore can aid in selecting optimal decoding strategies. The inconsistencies revealed by our analysis, as well their connection to prediction entropies and differences between model types, can serve as useful guides for future research on addressing these limitations.<|reference_end|>
@article{wagner2024contests:,
    title={CONTESTS: a Framework for Consistency Testing of Span Probabilities in
  Language Models},
    author={Eitan Wagner, Yuli Slavutsky and Omri Abend},
    journal={arXiv preprint arXiv:2409.19984},
    year={2024},
    archivePrefix={arXiv},
    eprint={2409.19984},
    primaryClass={cs.CL cs.AI}
}