search
HomeTechnology peripheralsAIThe core method of ChatGPT can be used for AI painting, and the effect soars by 47%. Corresponding author: has switched to OpenAI

There is such a core training method in ChatGPT called "Human Feedback Reinforcement Learning (RLHF)".

It can make the model safer and the output results more consistent with human intentions.

Now, researchers from Google Research and UC Berkeley have found that using this method in AI painting can "treat" the situation where the image does not completely match the input, and the effect is also surprisingly good——

Up to 47% improvement can be achieved.

The core method of ChatGPT can be used for AI painting, and the effect soars by 47%. Corresponding author: has switched to OpenAI

△ The left is Stable Diffusion, the right is the improved effect

At this moment, the two popular models in the AIGC field seem to have found some kind of " resonance".

How to use RLHF for AI painting?

RLHF, the full name is "Reinforcement Learning from Human Feedback", is a reinforcement learning technology jointly developed by OpenAI and DeepMind in 2017.

As its name suggests, RLHF uses human evaluation of model output results (i.e. feedback) to directly optimize the model. In LLM, it can make "model values" more consistent with human values.

In the AI ​​image generation model, it can fully align the generated image with the text prompt.

Specifically, first, collect human feedback data.

Here, the researchers generated a total of more than 27,000 "text-image pairs" and then asked some humans to score them.

For the sake of simplicity, text prompts only include the following four categories, related to quantity, color, background and blending options; human feedback is only divided into "good", "bad" and "don't know (skip)" ".

The core method of ChatGPT can be used for AI painting, and the effect soars by 47%. Corresponding author: has switched to OpenAI

Secondly, learn the reward function.

This step is to use the data set composed of human evaluations just obtained to train a reward function, and then use this function to predict human satisfaction with the model output (red part of the formula).

In this way, the model knows how much its results match the text.

The core method of ChatGPT can be used for AI painting, and the effect soars by 47%. Corresponding author: has switched to OpenAI

#In addition to the reward function, the author also proposes an auxiliary task (blue part of the formula).

That is, after the image generation is completed, the model will give a bunch of text, but only one of them is the original text, and let the reward model "check by itself" whether the image matches the text.

This reverse operation can make the effect "double insurance" (it can assist step 2 in the figure below to understand).

The core method of ChatGPT can be used for AI painting, and the effect soars by 47%. Corresponding author: has switched to OpenAI

Finally, it’s fine-tuning.

That is, the text-image generation model is updated through reward-weighted likelihood maximization (the first item of the formula below).

The core method of ChatGPT can be used for AI painting, and the effect soars by 47%. Corresponding author: has switched to OpenAI

#In order to avoid overfitting, the author minimized the NLL value (the second term of the formula) on the pre-training data set. This approach is similar to InstructionGPT (the "direct predecessor" of ChatGPT).

The effect increased by 47%, but the clarity dropped by 5%

As shown in the following series of effects, compared with the original Stable Diffusion, the model fine-tuned with RLHF can:

(1) Get "two" and "green" in the text more correctly;

The core method of ChatGPT can be used for AI painting, and the effect soars by 47%. Corresponding author: has switched to OpenAI

(2) Will not ignore "sea" As a background requirement;

(3) If you want a red tiger, it can give a "redder" result.

Judging from the specific data, the human satisfaction level of the fine-tuned model is 50%, which is a 47% improvement compared to the original model (3%).

However, the price is a loss of 5% image clarity.

The core method of ChatGPT can be used for AI painting, and the effect soars by 47%. Corresponding author: has switched to OpenAI

We can also clearly see from the picture below that the wolf on the right is obviously blurrier than the one on the left:

Yes Therefore, the authors suggest that the situation could be improved using larger human evaluation datasets and better optimization (RL) methods.

About the author

There are 9 authors in total for this article.

The core method of ChatGPT can be used for AI painting, and the effect soars by 47%. Corresponding author: has switched to OpenAI

As a Google AI research scientist Kimin Lee, Ph.D. from Korea Institute of Science and Technology, postdoctoral research was carried out at UC Berkeley.

The core method of ChatGPT can be used for AI painting, and the effect soars by 47%. Corresponding author: has switched to OpenAI

Three Chinese authors:

Liu Hao, a doctoral student at UC Berkeley, whose main research interest is feedback neural networks.

Du Yuqing is a PhD candidate at UC Berkeley. His main research direction is unsupervised reinforcement learning methods.

Shixiang Shane Gu (Gu Shixiang), the corresponding author, studied under Hinton, one of the three giants, for his undergraduate degree, and graduated from Cambridge University with his doctorate.

The core method of ChatGPT can be used for AI painting, and the effect soars by 47%. Corresponding author: has switched to OpenAI

△ Gu Shixiang

It is worth mentioning that when writing this article, he was still a Googler, and now he has switched to OpenAI, where he directly reports to Report from the person in charge of ChatGPT.

Paper address:

https://arxiv.org/abs/2302.12192

Reference link: [1]​​https://www.php .cn/link/4d42d2f5010c1c13f23492a35645d6a7​

[2]​https://openai.com/blog/instruction-following/

The above is the detailed content of The core method of ChatGPT can be used for AI painting, and the effect soars by 47%. Corresponding author: has switched to OpenAI. For more information, please follow other related articles on the PHP Chinese website!

Statement
This article is reproduced at:51CTO.COM. If there is any infringement, please contact admin@php.cn delete
5 Methods to Convert .ipynb Files to PDF- Analytics Vidhya5 Methods to Convert .ipynb Files to PDF- Analytics VidhyaApr 15, 2025 am 10:06 AM

Jupyter Notebook (.ipynb) files are widely used in data analysis, scientific computing, and interactive encoding. While these Notebooks are great for developing and sharing code with other data scientists, sometimes you need to convert it into a more generally readable format, such as PDF. This guide will walk you through the various ways to convert .ipynb files to PDFs, as well as tips, best practices, and troubleshooting suggestions. Table of contents Why convert .ipynb to PDF? How to convert .ipynb files to PDF Using the Jupyter Notebook UI Using nbconve

A Comprehensive Guide on LLM Quantization and Use CasesA Comprehensive Guide on LLM Quantization and Use CasesApr 15, 2025 am 10:02 AM

Introduction Large Language Models (LLMs) are revolutionizing natural language processing, but their immense size and computational demands limit deployment. Quantization, a technique to shrink models and lower computational costs, is a crucial solu

A Comprehensive Guide to Selenium with PythonA Comprehensive Guide to Selenium with PythonApr 15, 2025 am 09:57 AM

Introduction This guide explores the powerful combination of Selenium and Python for web automation and testing. Selenium automates browser interactions, significantly improving testing efficiency for large web applications. This tutorial focuses o

A Guide to Understanding Interaction TermsA Guide to Understanding Interaction TermsApr 15, 2025 am 09:56 AM

Introduction Interaction terms are incorporated in regression modelling to capture the effect of two or more independent variables in the dependent variable. At times, it is not just the simple relationship between the control

Swiggy's Hermes: AI Solution for Seamless Data-Driven DecisionsSwiggy's Hermes: AI Solution for Seamless Data-Driven DecisionsApr 15, 2025 am 09:50 AM

Swiggy's Hermes: Revolutionizing Data Access with Generative AI In today's data-driven landscape, Swiggy, a leading Indian food delivery service, is leveraging the power of generative AI through its innovative tool, Hermes. Designed to accelerate da

Gaurav Agarwal's Blueprint for Success with RagaAI - Analytics VidhyaGaurav Agarwal's Blueprint for Success with RagaAI - Analytics VidhyaApr 15, 2025 am 09:46 AM

This episode of "Leading with Data" features Gaurav Agarwal, CEO and founder of RagaAI, a company focused on ensuring the reliability of generative AI. Gaurav discusses his journey in AI, the challenges of building dependable AI systems, a

Grok 2 Image Generator: Shown Angry Elon Musk Holding AR15Grok 2 Image Generator: Shown Angry Elon Musk Holding AR15Apr 15, 2025 am 09:45 AM

Grok-2: Unfiltered AI Image Generation Sparks Ethical Debate Elon Musk's xAI has launched Grok-2, a powerful AI model boasting enhanced chat, coding, and reasoning capabilities, alongside a controversial unfiltered image generator. This release has

Top 10 GitHub Repositories to Master Statistics - Analytics VidhyaTop 10 GitHub Repositories to Master Statistics - Analytics VidhyaApr 15, 2025 am 09:44 AM

Statistical Mastery: Top 10 GitHub Repositories for Data Science Statistics is fundamental to data science and machine learning. This article explores ten leading GitHub repositories that provide excellent resources for mastering statistical concept

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
WWE 2K25: How To Unlock Everything In MyRise
1 months agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

SublimeText3 Linux new version

SublimeText3 Linux new version

SublimeText3 Linux latest version

MantisBT

MantisBT

Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools