Training language models to follow instructions with human feedback
arXiv:2203.02155
Abstract
Making language models bigger does not inherently make them better at following a user's intent. For example, large language models can generate outputs that are untruthful, toxic, or simply not helpful to the user. In other words, these models are not aligned with their users. In this paper, we show an avenue for aligning language models with user intent on a wide range of tasks by fine-tuning with human feedback. Starting with a set of labeler-written prompts and prompts submitted through the OpenAI API, we collect a dataset of labeler demonstrations of the desired model behavior, which we use to fine-tune GPT-3 using supervised learning. We then collect a dataset of rankings of model outputs, which we use to further fine-tune this supervised model using reinforcement learning from human feedback. We call the resulting models InstructGPT. In human evaluations on our prompt distribution, outputs from the 1.3B parameter InstructGPT model are preferred to outputs from the 175B GPT-3, despite having 100x fewer parameters. Moreover, InstructGPT models show improvements in truthfulness and reductions in toxic output generation while having minimal performance regressions on public NLP datasets. Even though InstructGPT still makes simple mistakes, our results show that fine-tuning with human feedback is a promising direction for aligning language models with human intent.
Cited by in corpus (291)
- A Survey on Large Language Model (LLM) Security and Privacy: The Good, the Bad, and the Ugly
- Summary of ChatGPT-Related Research and Perspective Towards the Future of Large Language Models
- ChatGPT: Jack of all trades, master of none
- TALLRec: An Effective and Efficient Tuning Framework to Align Large Language Model with Recommendation
- Opportunities and Challenges for ChatGPT and Large Language Models in Biomedicine and Health
- A Survey on ChatGPT: AI-Generated Contents, Challenges, and Solutions
- Extracting Accurate Materials Data from Research Papers with Conversational Language Models and Prompt Engineering
- When Large Language Models Meet Personalization: Perspectives of Challenges and Opportunities
- ChatGPT for Shaping the Future of Dentistry: The Potential of Multi-Modal Large Language Model
- The Programmer's Assistant: Conversational Interaction with a Large Language Model for Software Development
- ChatGPT and Software Testing Education: Promises & Perils
- Large AI Models in Health Informatics: Applications, Challenges, and the Future
- Thinking Fast and Slow in Large Language Models
- Human-Like Intuitive Behavior and Reasoning Biases Emerged in Language Models -- and Disappeared in GPT-4
- Should ChatGPT be Biased? Challenges and Risks of Bias in Large Language Models
- Auditing large language models: a three-layered approach
- Vision-Language Models for Medical Report Generation and Visual Question Answering: A Review
- Design Principles for Generative AI Applications
- GPT Models in Construction Industry: Opportunities, Limitations, and a Use Case Validation
- Decoding ChatGPT: A Taxonomy of Existing Research, Current Challenges, and Possible Future Directions
- Geo-knowledge-guided GPT models improve the extraction of location descriptions from disaster-related social media messages
- Fuzz4All: Universal Fuzzing with Large Language Models
- AI Agents Under Threat: A Survey of Key Security Challenges and Future Pathways
- What Large Language Models Know and What People Think They Know
- GPTScan: Detecting Logic Vulnerabilities in Smart Contracts by Combining GPT with Program Analysis
- Transformers in Healthcare: A Survey
- Benchmarking large language models for biomedical natural language processing applications and recommendations
- MentaLLaMA: Interpretable Mental Health Analysis on Social Media with Large Language Models
- Evaluating Large Language Models on a Highly-specialized Topic, Radiation Oncology Physics
- Understanding Large-Language Model (LLM)-powered Human-Robot Interaction
- Thrilled by Your Progress! Large Language Models (GPT-4) No Longer Struggle to Pass Assessments in Higher Education Programming Courses
- Keep the Conversation Going: Fixing 162 out of 337 bugs for $0.42 each using ChatGPT
- Natural Language Generation and Understanding of Big Code for AI-Assisted Programming: A Review
- Large Language Models as Zero-Shot Conversational Recommenders
- Taking the Next Step with Generative Artificial Intelligence: The Transformative Role of Multimodal Large Language Models in Science Education
- Towards Interpretable Mental Health Analysis with Large Language Models
- PromptMagician: Interactive Prompt Engineering for Text-to-Image Creation
- Machine Culture
- Opening up ChatGPT: Tracking openness, transparency, and accountability in instruction-tuned text generators
- Materials science in the era of large language models: a perspective
- Large Language Model Is Not a Good Few-shot Information Extractor, but a Good Reranker for Hard Samples!
- How understanding large language models can inform the use of ChatGPT in physics education
- ChatGPT Empowered Long-Step Robot Control in Various Environments: A Case Application
- A Comprehensive Survey of Large Language Models and Multimodal Large Language Models in Medicine
- Fake News in Sheep's Clothing: Robust Fake News Detection Against LLM-Empowered Style Attacks
- Teach AI How to Code: Using Large Language Models as Teachable Agents for Programming Education
- Fairness and Bias in Algorithmic Hiring: a Multidisciplinary Survey
- "It's a Fair Game", or Is It? Examining How Users Navigate Disclosure Risks and Benefits When Using LLM-Based Conversational Agents
- From task structures to world models: What do LLMs know?
- HAIM-DRL: Enhanced Human-in-the-loop Reinforcement Learning for Safe and Efficient Autonomous Driving
- GPT has become financially literate: Insights from financial literacy tests of GPT and a preliminary test of how people use it as a source of advice
- Large Language Models as Zero-Shot Human Models for Human-Robot Interaction
- Rethinking the Evaluation for Conversational Recommendation in the Era of Large Language Models
- KICGPT: Large Language Model with Knowledge in Context for Knowledge Graph Completion
- UAVs Meet LLMs: Overviews and Perspectives Toward Agentic Low-Altitude Mobility
- Collective Constitutional AI: Aligning a Language Model with Public Input
- Enhancing Phenotype Recognition in Clinical Notes Using Large Language Models: PhenoBCBERT and PhenoGPT
- Assessing Student Errors in Experimentation Using Artificial Intelligence and Large Language Models: A Comparative Study with Human Raters
- Human Body Digital Twin: A Master Plan
- Understanding the Impact of Long-Term Memory on Self-Disclosure with Large Language Model-Driven Chatbots for Public Health Intervention
- Exploring ChatGPT and its Impact on Society
- "We Need Structured Output": Towards User-centered Constraints on Large Language Model Output
- Refactoring Programs Using Large Language Models with Few-Shot Examples
- Generative AI and Process Systems Engineering: The Next Frontier
- GPT-4 can pass the Korean National Licensing Examination for Korean Medicine Doctors
- A Comprehensive Survey on Integrating Large Language Models with Knowledge-Based Methods
- Emotion Detection for Misinformation: A Review
- Benchmarking and Defending Against Indirect Prompt Injection Attacks on Large Language Models
- Generative AI in the Wild: Prospects, Challenges, and Strategies
- Anatomy of an AI-powered malicious social botnet
- ChatGPT Informed Graph Neural Network for Stock Movement Prediction
- Identifying and Mitigating the Security Risks of Generative AI
- AppPoet: Large Language Model based Android malware detection via multi-view prompt engineering
- Playing repeated games with Large Language Models
- Detecting AI-Generated Text: Factors Influencing Detectability with Current Methods
- Generative Speech Recognition Error Correction with Large Language Models and Task-Activating Prompting
- HPC-GPT: Integrating Large Language Model for High-Performance Computing
- LINC: A Neurosymbolic Approach for Logical Reasoning by Combining Language Models with First-Order Logic Provers
- A Survey on Multilingual Large Language Models: Corpora, Alignment, and Bias
- Understanding Users' Dissatisfaction with ChatGPT Responses: Types, Resolving Tactics, and the Effect of Knowledge Level
- Reinforcement Learning for Generative AI: State of the Art, Opportunities and Open Research Challenges
- El Agente: An Autonomous Agent for Quantum Chemistry
- ThoughtSource: A central hub for large language model reasoning data
- Improving accuracy of GPT-3/4 results on biomedical data using a retrieval-augmented language model
- Embedding Large Language Models into Extended Reality: Opportunities and Challenges for Inclusion, Engagement, and Privacy
- Inform the uninformed: Improving Online Informed Consent Reading with an AI-Powered Chatbot
- Generative Relevance Feedback with Large Language Models
- HybridFlow: A Flexible and Efficient RLHF Framework
- A Survey on Symbolic Knowledge Distillation of Large Language Models
- Unlocking Practical Applications in Legal Domain: Evaluation of GPT for Zero-Shot Semantic Annotation of Legal Texts
- Fully Autonomous Programming with Large Language Models
- Artificial intelligence and machine learning applications for cultured meat
- Diffusion Models for Generative Outfit Recommendation
- Exploring the Roles of Large Language Models in Reshaping Transportation Systems: A Survey, Framework, and Roadmap
- Automated Data Visualization from Natural Language via Large Language Models: An Exploratory Study
- Enhanced Automated Code Vulnerability Repair using Large Language Models
- Leveraging Large Language Models for Patient Engagement: The Power of Conversational AI in Digital Health
- Quo Vadis ChatGPT? From Large Language Models to Large Knowledge Models
- Ethics of generative AI and manipulation: a design-oriented research agenda
- A Framework for Demonstrating Practical Quantum Advantage: Racing Quantum against Classical Generative Models
- From Intention To Implementation: Automating Biomedical Research via LLMs
- KernelGPT: Enhanced Kernel Fuzzing via Large Language Models
- Optimization of Pressure Management Strategies for Geological CO2 Sequestration Using Surrogate Model-based Reinforcement Learning
- Examining Inter-Consistency of Large Language Models Collaboration: An In-depth Analysis via Debate
- Multi-Agent Reinforcement Learning: Methods, Applications, Visionary Prospects, and Challenges
- From Screens to Scenes: A Survey of Embodied AI in Healthcare
- A Unified Industrial Large Knowledge Model Framework in Industry 4.0 and Smart Manufacturing
- Natural Language Processing for Policymaking
- Making LLMs Worth Every Penny: Resource-Limited Text Classification in Banking
- Flexible, Model-Agnostic Method for Materials Data Extraction from Text Using General Purpose Language Models
- TypeDance: Creating Semantic Typographic Logos from Image through Personalized Generation
- The Impact and Opportunities of Generative AI in Fact-Checking
- What Should We Engineer in Prompts? Training Humans in Requirement-Driven LLM Use
- Exploring ChatGPT for Next-generation Information Retrieval: Opportunities and Challenges
- An Evaluation on Large Language Model Outputs: Discourse and Memorization
- AI Safety for Everyone
- IQAGPT: Image Quality Assessment with Vision-language and ChatGPT Models
- Large Language Models are Learnable Planners for Long-Term Recommendation
- Task Supportive and Personalized Human-Large Language Model Interaction: A User Study
- Extracting Social Support and Social Isolation Information from Clinical Psychiatry Notes: Comparing a Rule-based NLP System and a Large Language Model
- Beyond Preferences in AI Alignment
- Evaluating Search Engines and Large Language Models for Answering Health Questions
- Still No Lie Detector for Language Models: Probing Empirical and Conceptual Roadblocks
- Traces of Memorisation in Large Language Models for Code
- Potential Societal Biases of ChatGPT in Higher Education: A Scoping Review
- ArcheType: A Novel Framework for Open-Source Column Type Annotation using Large Language Models
- Patchview: LLM-Powered Worldbuilding with Generative Dust and Magnet Visualization
- Fine-tuning a Large Language Model for Automating Computational Fluid Dynamics Simulations
- Embedding Democratic Values into Social Media AIs via Societal Objective Functions
- Opportunities for Large Language Models and Discourse in Engineering Design
- Beyond Traditional Teaching: The Potential of Large Language Models and Chatbots in Graduate Engineering Education
- Improving deep learning with prior knowledge and cognitive models: A survey on enhancing explainability, adversarial robustness and zero-shot learning
- APTQ: Attention-aware Post-Training Mixed-Precision Quantization for Large Language Models
- Position is Power: System Prompts as a Mechanism of Bias in Large Language Models (LLMs)
- Large Knowledge Model: Perspectives and Challenges
- Domain Terminology Integration into Machine Translation: Leveraging Large Language Models
- Leveraging Large Language Models for Topic Classification in the Domain of Public Affairs
- Reinforcement Learning from Human Feedback: Whose Culture, Whose Values, Whose Perspectives?
- Evaluating the quality of published medical research with ChatGPT
- Feedback-Driven Automated Whole Bug Report Reproduction for Android Apps
- ContrastRepair: Enhancing Conversation-Based Automated Program Repair via Contrastive Test Case Pairs
- Reasoning Beyond Limits: Advances and Open Problems for LLMs
- A Comprehensive Review of State-of-The-Art Methods for Java Code Generation from Natural Language Text
- Will Code Remain a Relevant User Interface for End-User Programming with Generative AI Models?
- Behavior Alignment: A New Perspective of Evaluating LLM-based Conversational Recommender Systems
- Using Large Language Models for Automated Grading of Student Writing about Science
- BrainLLM: Generative Language Decoding from Brain Recordings
- SAPIEN: Affective Virtual Agents Powered by Large Language Models
- LLaVA-Docent: Instruction Tuning with Multimodal Large Language Model to Support Art Appreciation Education
- Transition Role of Entangled Data in Quantum Machine Learning
- Knowledge-tuning Large Language Models with Structured Medical Knowledge Bases for Reliable Response Generation in Chinese
- Automated Novelty Evaluation of Academic Paper: A Collaborative Approach Integrating Human and Large Language Model Knowledge
- Standards for Belief Representations in LLMs
- Multi-Meta-RAG: Improving RAG for Multi-Hop Queries using Database Filtering with LLM-Extracted Metadata
- CommonsenseVIS: Visualizing and Understanding Commonsense Reasoning Capabilities of Natural Language Models
- UnifiedGesture: A Unified Gesture Synthesis Model for Multiple Skeletons
- Potential Benefits of Employing Large Language Models in Research in Moral Education and Development
- Topological properties and organizing principles of semantic networks
- CIPHER: Cybersecurity Intelligent Penetration-testing Helper for Ethical Researcher
- FoRAG: Factuality-optimized Retrieval Augmented Generation for Web-enhanced Long-form Question Answering
- Learning Retrieval Augmentation for Personalized Dialogue Generation
- On Early Detection of Hallucinations in Factual Question Answering
- Laboratory-Scale AI: Open-Weight Models are Competitive with ChatGPT Even in Low-Resource Settings
- Does CLIP Know My Face?
- Enabling On-Device Large Language Model Personalization with Self-Supervised Data Selection and Synthesis
- Exploring the Integration of Large Language Models into Automatic Speech Recognition Systems: An Empirical Study
- Foundation Models and Transformers for Anomaly Detection: A Survey
- RSTeller: Scaling Up Visual Language Modeling in Remote Sensing with Rich Linguistic Semantics from Openly Available Data and Large Language Models
- Architecture-Preserving Provable Repair of Deep Neural Networks
- Exploring Large Language Models to Facilitate Variable Autonomy for Human-Robot Teaming
- Enhancing Relevance of Embedding-based Retrieval at Walmart
- Power-LLaVA: Large Language and Vision Assistant for Power Transmission Line Inspection
- MMSR: Symbolic Regression is a Multi-Modal Information Fusion Task
- Investigating Hallucinations in Pruned Large Language Models for Abstractive Summarization
- Barrier Functions Inspired Reward Shaping for Reinforcement Learning
- MemeCraft: Contextual and Stance-Driven Multimodal Meme Generation
- Vicarious Offense and Noise Audit of Offensive Speech Classifiers: Unifying Human and Machine Disagreement on What is Offensive
- The Life Cycle of Knowledge in Big Language Models: A Survey
- The AI-DEC: A Card-based Design Method for User-centered AI Explanations
- All in How You Ask for It: Simple Black-Box Method for Jailbreak Attacks
- LLM-Mediated Domain-Specific Voice Agents: The Case of TextileBot
- Can ChatGPT Read Who You Are?
- GeoLocator: a location-integrated large multimodal model for inferring geo-privacy
- Tucano: Advancing Neural Text Generation for Portuguese
- Exploring the Landscape of Natural Language Processing Research
- Unveiling The Factors of Aesthetic Preferences with Explainable AI
- What makes a language easy to deep-learn? Deep neural networks and humans similarly benefit from compositional structure
- On Sarcasm Detection with OpenAI GPT-based Models
- A Safe Reinforcement Learning Algorithm for Supervisory Control of Power Plants
- ChatGPT Incorrectness Detection in Software Reviews
- Domain-Specific Improvement on Psychotherapy Chatbot Using Assistant
- MetaAgents: Large Language Model Based Agents for Decision-Making on Teaming
- Large Language Models to the Rescue: Reducing the Complexity in Scientific Workflow Development Using ChatGPT
- Integrating Large Language Models with Human Expertise for Disease Detection in Electronic Health Records
- PyTester: Deep Reinforcement Learning for Text-to-Testcase Generation
- Deanthropomorphising NLP: Can a Language Model Be Conscious?
- VISION: A Modular AI Assistant for Natural Human-Instrument Interaction at Scientific User Facilities
- Large Language Models and 3D Vision for Intelligent Robotic Perception and Autonomy
- Reward Learning from Suboptimal Demonstrations with Applications in Surgical Electrocautery
- A recent evaluation on the performance of LLMs on radiation oncology physics using questions of randomly shuffled options
- Detect Llama -- Finding Vulnerabilities in Smart Contracts using Large Language Models
- Optimal Attack and Defense for Reinforcement Learning
- Answering Uncertain, Under-Specified API Queries Assisted by Knowledge-Aware Human-AI Dialogue
- Normative Conflicts and Shallow AI Alignment
- Unraveling the Potential of Diffusion Models in Small Molecule Generation
- Human-in-the-Loop Schema Induction
- Web Archives Metadata Generation with GPT-4o: Challenges and Insights
- A Hybrid Intelligence Method for Argument Mining
- Riveter: Measuring Power and Social Dynamics Between Entities
- Reviewing Clinical Knowledge in Medical Large Language Models: Training and Beyond
- Advancing biomolecular understanding and design following human instructions
- C3AI: Crafting and Evaluating Constitutions for Constitutional AI
- Optimizing LLMs with Direct Preferences: A Data Efficiency Perspective
- Teaching Machines to Code: Smart Contract Translation with LLMs
- Semantic-Enhanced Indirect Call Analysis with Large Language Models
- Conversational Dueling Bandits in Generalized Linear Models
- Complex QA and language models hybrid architectures, Survey
- CrowdTransfer: Enabling Crowd Knowledge Transfer in AIoT Community
- Free and Customizable Code Documentation with LLMs: A Fine-Tuning Approach
- Developmental Scaffolding with Large Language Models
- Are Human Rules Necessary? Generating Reusable APIs with CoT Reasoning and In-Context Learning
- An Interaction Design Toolkit for Physical Task Guidance with Artificial Intelligence and Mixed Reality
- A Simple yet Effective Framework for Active Learning to Rank
- MoC-System: Efficient Fault Tolerance for Sparse Mixture-of-Experts Model Training
- MMInstruct: A High-Quality Multi-Modal Instruction Tuning Dataset with Extensive Diversity
- FABind+: Enhancing Molecular Docking through Improved Pocket Prediction and Pose Generation
- GPT-DETOX: An In-Context Learning-Based Paraphraser for Text Detoxification
- About optimal loss function for training physics-informed neural networks under respecting causality
- A hierarchical spatial-aware algorithm with efficient reinforcement learning for human-robot task planning and allocation in production
- Improving the Capabilities of Large Language Model Based Marketing Analytics Copilots With Semantic Search And Fine-Tuning
- Research on Tibetan Tourism Viewpoints information generation system based on LLM
- Can AI Rely on the Systematicity of Truth? The Challenge of Modelling Normative Domains
- Saturn Platform: Foundation Model Operations and Generative AI for Financial Services
- Reward-Augmented Decoding: Efficient Controlled Text Generation With a Unidirectional Reward Model
- Predicting drug-gene relations via analogy tasks with word embeddings
- CFEVER: A Chinese Fact Extraction and VERification Dataset
- The Strong Pull of Prior Knowledge in Large Language Models and Its Impact on Emotion Recognition
- From Large to Tiny: Distilling and Refining Mathematical Expertise for Math Word Problems with Weakly Supervision
- Can Artificial Intelligence solve the blockchain oracle problem? Unpacking the Challenges and Possibilities
- AI-supported data analysis boosts student motivation and reduces stress in physics education
- Physio: An LLM-Based Physiotherapy Advisor
- Rewriting Conversational Utterances with Instructed Large Language Models
- Evaluating Language Model Agency through Negotiations
- EMO-KNOW: A Large Scale Dataset on Emotion and Emotion-cause
- Are NLP Models Good at Tracing Thoughts: An Overview of Narrative Understanding
- Towards Reliable Latent Knowledge Estimation in LLMs: Zero-Prompt Many-Shot Based Factual Knowledge Extraction
- Reliable Confidence Intervals for Information Retrieval Evaluation Using Generative A.I
- Automated Spinal MRI Labelling from Reports Using a Large Language Model
- EvidenceMap: Learning Evidence Analysis to Unleash the Power of Small Language Models for Biomedical Question Answering
- TabGenie: A Toolkit for Table-to-Text Generation
- Classification of integers based on residue classes via modern deep learning algorithms
- Bootstrapping LLM-based Task-Oriented Dialogue Agents via Self-Talk
- FoodMLLM-JP: Leveraging Multimodal Large Language Models for Japanese Recipe Generation
- Nano: Nested Human-in-the-Loop Reward Learning for Few-shot Language Model Control
- Unsupervised Text Embedding Space Generation Using Generative Adversarial Networks for Text Synthesis
- Revisiting Instruction Fine-tuned Model Evaluation to Guide Industrial Applications
- Natlog: Embedding Logic Programming into the Python Deep-Learning Ecosystem
- HiddenTables & PyQTax: A Cooperative Game and Dataset For TableQA to Ensure Scale and Data Privacy Across a Myriad of Taxonomies
- ForeSeer: Product Aspect Forecasting Using Temporal Graph Embedding
- Fabricator: An Open Source Toolkit for Generating Labeled Training Data with Teacher LLMs
- A Knowledge-Injected Curriculum Pretraining Framework for Question Answering
- Ink and Individuality: Crafting a Personalised Narrative in the Age of LLMs
- CPR: Mitigating Large Language Model Hallucinations with Curative Prompt Refinement
- On the Generalization and Adaptation Ability of Machine-Generated Text Detectors in Academic Writing
- Towards Interactive Reinforcement Learning with Intrinsic Feedback
- Bridging Cultural Nuances in Dialogue Agents through Cultural Value Surveys
- FashionLOGO: Prompting Multimodal Large Language Models for Fashion Logo Embeddings
- On Bilingual Lexicon Induction with Large Language Models
- Open-Ended Multi-Modal Relational Reasoning for Video Question Answering
- Image Augmentation with Controlled Diffusion for Weakly-Supervised Semantic Segmentation
- Co-Disclosing the Computer: LLM-Mediated Computing through Reflective Conversation
- The Fair Game: Auditing & Debiasing AI Algorithms Over Time
- On the Role of Domain Experts in Creating Effective Tutoring Systems
- "Mango Mango, How to Let The Lettuce Dry Without A Spinner?": Exploring User Perceptions of Using An LLM-Based Conversational Assistant Toward Cooking Partner
- Lexicalization Is All You Need: Examining the Impact of Lexical Knowledge in a Compositional QALD System
- Large Language Models are biased to overestimate profoundness
- A Recurrent Neural Network Approach to the Answering Machine Detection Problem
- Chart What I Say: Exploring Cross-Modality Prompt Alignment in AI-Assisted Chart Authoring
- How Important is Domain Specificity in Language Models and Instruction Finetuning for Biomedical Relation Extraction?
- CCAE: A Corpus of Chinese-based Asian Englishes
- Extended Japanese Commonsense Morality Dataset with Masked Token and Label Enhancement
- STEER: Semantic Turn Extension-Expansion Recognition for Voice Assistants
- CompanyKG: A Large-Scale Heterogeneous Graph for Company Similarity Quantification
- Large Language Models -- the Future of Fundamental Physics?
- Tensorization of neural networks for improved privacy and interpretability
- Meta-ethics and AI: exploring the novel meta-ethical questions in the era of AI
- Automatic Generation of Highlights for Academic Paper Via Prompt-based Learning
- It Ain't That Bad: Understanding the Mysterious Performance Drop in OOD Generalization for Generative Transformer Models
- Towards AI epidemiology: a measurement standardisation framework for prospective risk detection
- Can neural networks count digit frequency?
- DiVa: An Iterative Framework to Harvest More Diverse and Valid Labels from User Comments for Music