Timezone: »
Pretrained language models (LMs) are susceptible to generate text with nonfactual information. In this work, we measure and improve the factual accuracy of large-scale LMs for open-ended text generation. We design the FactualityPrompts test set and metrics to measure the factuality of LM generations. Based on that, we study the factual accuracy of LMs with parameter sizes ranging from 126M to 530B. Interestingly, we find that larger LMs are more factual than smaller ones, although a previous study suggests that larger LMs can be less truthful in terms of misconceptions. In addition, popular sampling algorithms (e.g., top-p) in open-ended text generation can harm the factuality due to the ``uniform randomness'' introduced at every sampling step. We propose the factual-nucleus sampling algorithm that dynamically adapts the randomness to improve the factuality of generation while maintaining quality. Furthermore, we analyze the inefficiencies of the standard training method in learning correct associations between entities from factual text corpus (e.g., Wikipedia). We propose a factuality-enhanced training method that uses TopicPrefix for better awareness of facts and sentence completion as the training objective, which can vastly reduce the factual errors.
Author Information
Nayeon Lee (HKUST)
Wei Ping (Nvidia)
Peng Xu (Nvidia)
Mostofa Patwary (NVIDIA)
Pascale N Fung (Hong Kong University of Science and Technology)

Pascale Fung (馮雁) (born 1966 in Shanghai, China) is a professor in the Department of Electronic & Computer Engineering and the Department of Computer Science & Engineering at the Hong Kong University of Science & Technology(HKUST). She is the director of the newly established, multidisciplinary Centre for AI Research (CAiRE) at HKUST. She is an elected Fellow of the Institute of Electrical and Electronics Engineers (IEEE) for her “contributions to human-machine interactions”[1] and an elected Fellow of the International Speech Communication Association for “fundamental contributions to the interdisciplinary area of spoken language human-machine interactions”.
Mohammad Shoeybi (NVIDIA)
Bryan Catanzaro (NVIDIA)
More from the Same Authors
-
2021 : BiToD: A Bilingual Multi-Domain Dataset For Task-Oriented Dialogue Modeling »
Zhaojiang Lin · Andrea Madotto · Genta Winata · Peng Xu · Feijun Jiang · Yuxiang Hu · Chen Shi · Pascale N Fung -
2022 : Multi-objective Reinforcement Learning with Adaptive Pareto Reset for Prefix Adder Design »
Jialin Song · Rajarshi Roy · Jonathan Raiman · Robert Kirby · Neel Kant · Saad Godil · Bryan Catanzaro -
2022 Poster: Exploring the Limits of Domain-Adaptive Training for Detoxifying Large-Scale Language Models »
Boxin Wang · Wei Ping · Chaowei Xiao · Peng Xu · Mostofa Patwary · Mohammad Shoeybi · Bo Li · Anima Anandkumar · Bryan Catanzaro -
2021 Panel: How Should a Machine Learning Researcher Think About AI Ethics? »
Amanda Askell · Abeba Birhane · Jesse Dodge · Casey Fiesler · Pascale N Fung · Hanna Wallach -
2021 Poster: Long-Short Transformer: Efficient Transformers for Language and Vision »
Chen Zhu · Wei Ping · Chaowei Xiao · Mohammad Shoeybi · Tom Goldstein · Anima Anandkumar · Bryan Catanzaro -
2020 : Invited Speaker: Bryan Catanzaro »
Bryan Catanzaro -
2020 Tutorial: (Track2) Deep Conversational AI Q&A »
Pascale N Fung · Yun-Nung (Vivian) Chen · Zhaojiang Lin · Andrea Madotto -
2020 Tutorial: (Track2) Deeper Conversational AI »
Pascale N Fung · Yun-Nung (Vivian) Chen · Zhaojiang Lin · Andrea Madotto -
2018 Poster: Neural Voice Cloning with a Few Samples »
Sercan Arik · Jitong Chen · Kainan Peng · Wei Ping · Yanqi Zhou -
2018 Spotlight: Neural Voice Cloning with a Few Samples »
Sercan Arik · Jitong Chen · Kainan Peng · Wei Ping · Yanqi Zhou -
2017 Poster: Deep Voice 2: Multi-Speaker Neural Text-to-Speech »
Andrew Gibiansky · Sercan Arik · Gregory Diamos · John Miller · Kainan Peng · Wei Ping · Jonathan Raiman · Yanqi Zhou -
2017 Spotlight: Deep Voice 2: Multi-Speaker Neural Text-to-Speech »
Andrew Gibiansky · Sercan Arik · Gregory Diamos · John Miller · Kainan Peng · Wei Ping · Jonathan Raiman · Yanqi Zhou -
2016 Poster: Learning Infinite RBMs with Frank-Wolfe »
Wei Ping · Qiang Liu · Alexander Ihler -
2015 Poster: Decomposition Bounds for Marginal MAP »
Wei Ping · Qiang Liu · Alexander Ihler