Large language models (LLMs) have shown remarkable performance across a wide range of natural language tasks. However, a critical challenge remains in that they sometimes generate factually incorrect answers. To address this, while many previous work has focused on identifying errors in their generation and further refining them, they are slow in deployment since they are designed to verify the response from LLMs only after their entire generation (from the first to last tokens) is done. Further, we observe that once LLMs generate incorrect tokens early on, there is a higher likelihood that subsequent tokens will also be factually incorrect. To this end, in this work, we propose Streaming-VR (Streaming Verification and Refinement), a novel approach designed to enhance the efficiency of verification and refinement of LLM outputs. Specifically, the proposed Streaming-VR enables on-the-fly verification and correction of tokens as they are being generated, similar to a streaming process, ensuring that each subset of tokens is checked and refined in real-time by another LLM as the LLM constructs its response. Through comprehensive evaluations on multiple datasets, we demonstrate that our approach not only enhances the factual accuracy of LLMs, but also offers a more efficient solution compared to prior refinement methods.
A Large Language Model Guided Topic Refinement Mechanism for Short Text Modeling
Nanjing University of Posts and Telecommunications(南京邮电大学);Jiangsu High Technology Research Key Laboratory for Wireless Sensor Networks(江苏省无线传感器网络高技术研究重点实验室)
Let LLMs Speak Embedding Languages: Generative Text Embeddings via Iterative Contrastive Refinement
Department of Computer Science and Information Engineering, National Taiwan University(国家台湾大学计算机科学与信息工程系);National Taiwan University AI Center of Research Excellence(国家台湾大学人工智能研究中心)
PR-CAD: Progressive Refinement for Unified Controllable and Faithful Text-to-CAD Generation with Large Language Models
School of Information Science, Beijing Language and Culture University, China(北京语言大学信息学院);School of Computer Science and Technology, Beijing Jiaotong University, China(北京交通大学计算机科学与技术学院);School of Computer Science and Engineering, Northeastern University, China(东北大学计算机科学与工程学院);Department of Computer Science and Technology, Tsinghua University, China(清华大学计算机科学与技术系);School of Computer Science and Technology, Harbin Institute of Technology (Shenzhen), China(哈尔滨工业大学(深圳)计算机科学与技术学院)
PAIR: Planning and Iterative Refinement in Pre-trained Transformers for Long Text Generation
Khoury College of Computer Sciences(Khoury计算机科学学院);Northeastern University(东北大学);Computer Science and Engineering(计算机科学与工程);University of Michigan(密歇根大学)
Prompt Chaining or Stepwise Prompt? Refinement in Text Summarization
The Hong Kong Polytechnic University(香港理工大学);Generative AI Research Lab (GAIR)(生成式人工智能研究实验室(GAIR));Soochow University(苏州大学);Shanghai Jiao Tong University(上海交通大学);Shanghai Artificial Intelligence Laboratory(上海人工智能实验室)
A Stitch in Time Saves Nine: Proactive Self-Refinement for Language Models
Shanghai Institute of Artificial Intelligence for Education(上海人工智能教育研究院);East China Normal University(华东师范大学);School of Data Science, Fudan University(复旦大学数据科学学院);College of Computer Science and Artificial Intelligence, Fudan University(复旦大学计算机科学与人工智能学院);Antgroup(蚂蚁集团)
Do Language Models Converge to Themselves? Recursive Self-Refinement as Textual Relaxation
Pfizer(辉瑞公司);University of California San Diego(加利福尼亚大学圣地亚哥分校);Institute for Medical Philosophy and Future Artificial Intelligence(医学哲学与未来人工智能研究所);Tongji University(同济大学);Shanghai Jiao Tong University(上海交通大学);Institute of Humanities and Social Science Data, Fudan University(复旦大学人文社会科学数据研究所)
Unlocking Recursive Thinking of LLMs: Alignment via Refinement
Soochow University(苏州大学);Zhipu AI(智谱AI);Tsinghua University(清华大学);Key Laboratory of Data Intelligence and Advanced Computing, Soochow University(苏州大学数据智能与先进计算重点实验室)
A Pair Programming Framework for Code Generation via Multi-Plan Exploration and Feedback-Driven Refinement
State Key Laboratory for Novel Software Technology(计算机软件新技术国家重点实验室);Nanjing University(南京大学);National Institute of Healthcare Data Science(国家卫生健康数据科学研究院)
OpenCodeInterpreter: Integrating Code Generation with Execution and Refinement
Multimodal Art Projection Research Community(多模态艺术投影研究共同体);University of Waterloo(滑铁卢大学);Allen Institute for Artificial Intelligence(艾伦人工智能研究所);HKUST(香港科技大学);IN.AI Research(IN.AI研究机构)
MERLIN: Multimodal Embedding Refinement via LLM-based Iterative Navigation for Text-Video Retrieval-Rerank Pipeline
Buzzni AI Lab(Buzzni人工智能实验室);KAIST(韩国科学技术院);Mathpresso Inc.(Mathpresso公司);UC Berkeley(加州大学伯克利分校);Fainders AI(Fainders人工智能公司);Seoul National University(首尔大学)
Unsupervised Information Refinement Training of Large Language Models for Retrieval-Augmented Generation
Institute of Computing Technology, CAS(中国科学院计算技术研究所);University of Chinese Academy of Sciences(中国科学院大学);Pattern Recognition Center, WeChat AI(微信AI模式识别中心)
Culture-TRIP: Culturally-Aware Text-to-Image Generation with Iterative Prompt Refinement
Department of Computer Science and Engineering, Dongguk University(计算机科学与工程系,东国大学);Department of Computer Science and Artificial Intelligence, Dongguk University(计算机科学与人工智能系,东国大学)
LLM-Based SQL Generation: Prompting, Self-Refinement, and Adaptive Weighted Majority Voting
Institute of Information Management(信息管理研究所);National Yang Ming Chiao Tung University(阳明交通大学);R. B. Annis School of Engineering(R. B. Annis工程学院);University of Indianapolis(印第安纳大学)
Not Just Plain Text! Fuel Document-Level Relation Extraction with Explicit Syntax Refinement and Subsentence Modeling
Tsinghua University(清华大学);Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所);University of Chinese Academy of Sciences(中国科学院大学)
KGQuest: Template-Driven QA Generation from Knowledge Graphs with LLM-Based Refinement
Scuola Superiore Sant’Anna, Pisa, Italy(圣安娜高等学院);Sapienza University of Rome, Rome, Italy(罗马萨皮恩扎大学);Institute of Informatics and Telematics, National Research Council of Italy (CNR)(意大利信息与电信研究所,国家研究理事会(CNR))
ErrorLLM: Modeling SQL Errors for Text-to-SQL Refinement
The Hong Kong Polytechnic University(香港理工大学);City University of Macau(澳门城市大学);Jilin University(吉林大学);Harbin Institute of Technology (Shenzhen)(哈尔滨工业大学(深圳));Beihang University(北航大学)
TextTIGER: Text-based Intelligent Generation with Entity Prompt Refinement for Text-to-Image Generation
Nara Institute of Science and Technology(奈良科学技術研究所);The University of Tokyo(东京大学);Chungnam National University(Chungnam国立大学);Institute of Science Tokyo(东京科学研究所)