In the study, we empirically compare the two recently proposed decoding methods, i.e. Contrastive Search (CS) and Contrastive Decoding (CD), for open-ended text generation. The automatic evaluation results suggest that, while CS performs worse than CD on the MAUVE metric, it substantially surpasses CD on the diversity and coherence metrics. More notably, extensive human evaluations across three different domains demonstrate that human annotators are universally more in favor of CS over CD with substantial margins.
The contradicted results between MAUVE and human evaluations reveal that MAUVE does not accurately reflect human preferences. Therefore, we call upon the research community to develop better evaluation metrics for open-ended text generation. To ensure the reproducibility of our work, we have open-sourced all our code, evaluation results, as well as human annotations at https://github.com/yxuansu/Contrastive_Search_versus_Contrastive_Decoding.
GUARD: Glocal Uncertainty-Aware Robust Decoding for Effective and Efficient Open-Ended Text Generation
Henan University(河南大学);Department of Statistics, LMU Munich(慕尼黑大学统计系);Munich Center for Machine Learning (MCML)(慕尼黑机器学习中心);CISPA Helmholtz Center for Information Security, Saarbrücken(萨尔布吕肯亥姆霍尔兹信息安全中心);University of California, San Diego(加州大学圣地亚哥分校)
Fudan University(复旦大学);Shanghai AI Laboratory(上海人工智能实验室);The University of Hong Kong(香港大学);Shanghai Collaborative Innovation Center of Intelligent Visual Computing(上海智能视觉计算协同创新中心)
A Comparative Study of Decoding Strategies in Medical Text Generation
AI Multimedia Lab(人工智能多媒体实验室);CAMPUS Research Institute(CAMPUS研究学院);National University of Science and Technology Politehnica Bucharest(巴尔的效率科学技术大学);Department of Holistic Systems(整体系统部门);SimulaMet;Oslo Metropolitan University(奥斯陆 Metropolitan 大学);Cyber Security(网络安全);Simula Research Laboratory(Simula研究实验室)
Lower Layers Matter: Alleviating Hallucination via Multi-Layer Fusion Contrastive Decoding with Truthfulness Refocused
Sun Yat-Sen University(中山大学);Shenzhen MSU-BIT University(深圳MSU-BIT大学);UNSW, Sydney, NSW 2052, Australia(新南威尔士大学,悉尼,新南威尔士州,2052,澳大利亚);Shenzhen Key Laboratory for High Performance Data Mining, Shenzhen Institutes of Advanced Technology, Chinese Academy of Sciences(深圳高性能数据挖掘关键实验室,深圳先进技术研究院,中国科学院)
An Analysis of the Effects of Decoding Algorithms on Fairness in Open-Ended Language Generation
Amazon Alexa AI(亚马逊Alexa人工智能部门);University of California, Los Angeles(加利福尼亚大学洛杉矶分校);Information Sciences Institute, University of Southern California(南加利福尼亚大学信息科学研究所)
Adaptive Contrastive Decoding in Retrieval-Augmented Generation for Handling Noisy Contexts
Seoul National University(首尔大学);Ewha Womans University(梨花女子大学);NAVER Cloud(NAVER云);KAIST AI(韩国科学技术院AI学院);NAVER AI LAB(NAVER AI实验室);Hanyang University(汉阳大学)
Mitigating Posterior Salience Attenuation in Long-Context LLMs with Positional Contrastive Decoding
Zhejiang University(浙江大学);University of Science and Technology of China(中国科学技术大学);Bytedance(字节跳动);Zhejiang Lab(浙江省实验室);Zhejiang Key Laboratory of Medical Imaging Artificial Intelligence(浙江省医学影像人工智能重点实验室)
Mitigating Hallucinations of Large Language Models in Medical Information Extraction via Contrastive Decoding
University of Science and Technology of China(中国科学技术大学);Jarvis Research Center, Tencent YouTu Lab(腾讯优图实验室贾维斯研究中心);Peking University(北京大学);Westlake University(西湖大学);City University of Hong Kong(香港城市大学)
Con-ReCall: Detecting Pre-training Data in LLMs via Contrastive Decoding
National University of Singapore(新加坡国立大学);University of California, Merced(加州大学默塞德分校);University of California, Los Angeles(加州大学洛杉矶分校);University of Queensland(昆士兰大学)
Please refuse to answer me! Mitigating Over-Refusal in Large Language Models via Adaptive Contrastive Decoding
School of Cyber Science and Technology, Shenzhen Campus of Sun Yat-sen University(中山大学信息科学与技术学院深圳校区);School of Information, Central University of Finance and Economics(中央财经大学信息学院);School of Artificial Intelligence, Beijing Normal University(北京师范大学人工智能学院);School of Computing Technologies, RMIT University(皇家墨尔本理工大学计算技术学院)
Enhancing Input-Label Mapping in In-Context Learning with Contrastive Decoding
Beihang University(北航大学);The University of Sydney(悉尼大学);University of Liverpool(利物浦大学);The Hong Kong Polytechnic University(香港理工大学);Nanyang Technological University(南洋理工大学)
Synthesizing Instruction-Tuning Datasets with Contrastive Decoding
Department of Computer Science, School of Computing, Institute of Science Tokyo(东京科学大学计算机科学系);National Institute of Advanced Industrial Science and Technology(国家先进工业科学与技术研究院);Research and Development Center for Large Language Models, NII(大型语言模型研究与开发中心,日本信息产业技术综合研究所)