CTRLEval: An Unsupervised Reference-Free Metric for Evaluating Controlled Text Generation

Pei Ke, Hao Zhou, Yankai Lin, Peng Li, Jie Zhou +2 more
4/2/2022
cs.CLcs.AI

Official code: thu-coai/CTRLEval (33 stars, Python, PyTorch, last commit 2022-06-06).

Abstract

Existing reference-free metrics have obvious limitations for evaluating controlled text generation models. Unsupervised metrics can only provide a task-agnostic evaluation result which correlates weakly with human judgments, whereas supervised ones may overfit task-specific data with poor generalization ability to other datasets.

Show full abstract

In this paper, we propose an unsupervised reference-free metric called CTRLEval, which evaluates controlled text generation from different aspects by formulating each aspect into multiple text infilling tasks. On top of these tasks, the metric assembles the generation probabilities from a pre-trained language model without any model training. Experimental results show that our metric has higher correlations with human judgments than other baselines, while obtaining better generalization of evaluating generated texts from different models and with different qualities.

View on arXivView PDF

Code Implementations(1)

thu-coai/CTRLEvalOfficial100%
PyTorch

Codes for our paper "CTRLEval: An Unsupervised Reference-Free Metric for Evaluating Controlled Text Generation" (ACL 2022)

332PythonMar 18, 20224 years ago
evaluation-metricspegasuspretrained-modelspromptpytorch+1 more

Similar Papers

Cite this paper

@article{ke2022ctrleval,
  title  = {CTRLEval: An Unsupervised Reference-Free Metric for Evaluating Controlled Text Generation},
  author = {Pei Ke and Hao Zhou and Yankai Lin and Peng Li and Jie Zhou and Xiaoyan Zhu and Minlie Huang},
  year   = {2022},
  eprint = {2204.00862},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2204.00862}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2204.00862.svg)](https://codeofpaper.com/paper/2204.00862)

Discussion