Saved in:
Bibliographic Details
Main Authors: Ren, Siyu, Wu, Zhiyong, Zhu, Kenny Q.
Format: Preprint
Published: 2023
Subjects:
Online Access:https://arxiv.org/abs/2310.04691
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910319316566016
author Ren, Siyu
Wu, Zhiyong
Zhu, Kenny Q.
author_facet Ren, Siyu
Wu, Zhiyong
Zhu, Kenny Q.
contents Neural language models are probabilistic models of human text. They are predominantly trained using maximum likelihood estimation (MLE), which is equivalent to minimizing the forward cross-entropy between the empirical data distribution and the model distribution. However, various degeneration phenomena are still widely observed when decoding from the distributions learned by such models. We establish that the forward cross-entropy is suboptimal as a distance metric for aligning human and model distribution due to its (1) recall-prioritization (2) negative diversity ignorance and (3) train-test mismatch. In this paper, we propose Earth Mover Distance Optimization (EMO) for auto-regressive language modeling. EMO capitalizes on the inherent properties of earth mover distance to address the aforementioned challenges. Due to the high complexity of direct computation, we further introduce a feasible upper bound for EMO to ease end-to-end training. Upon extensive evaluation of language models trained using EMO and MLE. We find that EMO demonstrates a consistently better language modeling performance than MLE across domains. Moreover, EMO demonstrates noteworthy enhancements in downstream performance with minimal fine-tuning on merely 25,000 sentences. This highlights the tremendous potential of EMO as a lightweight calibration method for enhancing large-scale pre-trained language models.
format Preprint
id arxiv_https___arxiv_org_abs_2310_04691
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle EMO: Earth Mover Distance Optimization for Auto-Regressive Language Modeling
Ren, Siyu
Wu, Zhiyong
Zhu, Kenny Q.
Computation and Language
Neural language models are probabilistic models of human text. They are predominantly trained using maximum likelihood estimation (MLE), which is equivalent to minimizing the forward cross-entropy between the empirical data distribution and the model distribution. However, various degeneration phenomena are still widely observed when decoding from the distributions learned by such models. We establish that the forward cross-entropy is suboptimal as a distance metric for aligning human and model distribution due to its (1) recall-prioritization (2) negative diversity ignorance and (3) train-test mismatch. In this paper, we propose Earth Mover Distance Optimization (EMO) for auto-regressive language modeling. EMO capitalizes on the inherent properties of earth mover distance to address the aforementioned challenges. Due to the high complexity of direct computation, we further introduce a feasible upper bound for EMO to ease end-to-end training. Upon extensive evaluation of language models trained using EMO and MLE. We find that EMO demonstrates a consistently better language modeling performance than MLE across domains. Moreover, EMO demonstrates noteworthy enhancements in downstream performance with minimal fine-tuning on merely 25,000 sentences. This highlights the tremendous potential of EMO as a lightweight calibration method for enhancing large-scale pre-trained language models.
title EMO: Earth Mover Distance Optimization for Auto-Regressive Language Modeling
topic Computation and Language
url https://arxiv.org/abs/2310.04691