OpenAI Develops CriticGPT Model Capable of Spotting GPT-4 Code Generation Errors

CriticGPT is currently under development and has not been released to the public.

Advertisement
Written by Akash Dutta, Edited by David Delima | Updated: 28 June 2024 19:53 IST
Highlights
  • OpenAI has published a paper on its new CriticGPT model
  • CriticGPT was trained on short responses from ChatGPT
  • OpenAI used the RLHF framework to train its CriticGPT AI model
OpenAI Develops CriticGPT Model Capable of Spotting GPT-4 Code Generation Errors

OpenAI has found that CriticGPT still hallucinates

Photo Credit: Pexels/Shantanu Kumar

OpenAI published a study about a new artificial intelligence (AI) model on Thursday that can catch GPT-4's mistakes in code generation. The AI firm stated that the new chatbot was trained using the reinforcement learning from human feedback (RLHF) framework and was powered by one of the GPT-4 models. The under-development chatbot was designed to improve the quality of the AI-generated code that users get from the large language models. At present, the model is not available to users or testers. OpenAI also highlighted several limitations of the model.

OpenAI Shares Details about CriticGPT

The AI firm shared details of the new CriticGPT model in a blog post, stating that it was based on GPT-4 and designed to identify errors in code generated by ChatGPT. "We found that when people get help from CriticGPT to review ChatGPT code they outperform those without help 60 percent of the time,” the company claims. The model was developed using the RLHF framework and the findings have been published in a paper.

RLHF is a machine learning technique that combines machine output with humans to train AI systems. In such a system, human evaluators provide feedback to the AI's performance. This is used to adjust and improve the model's behaviour. Humans who provide feedback to the AI are called AI trainers.

CriticGPT was trained on a large volume of code data that contained errors. The AI model was tasked with finding these mistakes and to critique the code. For this, AI trainers were asked to write the mistakes in the code on top of the naturally occuring mistakes, and then write example feedback as if they had caught those errors.

Advertisement

Once the CriticGPT shared its multiple variations of its critique, the trainers were asked to spot if the errors they inserted was caught by the AI alongside the naturally occurring errors. OpenAI, in its research, found that CriticGPT performed 63 percent better than ChatGPT in catching errors.

However, the model still has certain limitations. CriticGPT was trained on short strings of code generated by OpenAI. The model is yet to be trained on long and complex sets of tasks. The AI firm also found that the new chatbot continues to hallucinate (generate incorrect factual responses). Further, the model has not been tested in scenarios where multiple errors are dispersed in the code.

Advertisement

This model is unlikely to be made public as it is designed to help OpenAI better understand training techniques that can generate higher quality outputs. If CriticGPT does make it to public, it is believed to be integrated within ChatGPT.

 

For the latest tech news and reviews, follow Gadgets 360 on X, Facebook, WhatsApp, Threads and Google News. For the latest videos on gadgets and tech, subscribe to our YouTube channel. If you want to know everything about top influencers, follow our in-house Who'sThat360 on Instagram and YouTube.

Advertisement
Popular Mobile Brands
  1. iPhone 16 Pro, iPhone 16 Pro Max Price Discounted on Flipkart: See Offers
  2. Samsung Galaxy S24 FE Gets a Price Cut on Amazon: See Offer
  3. Oppo Find X9 Pro Leak Suggests Potential Camera Specifications
  1. Samsung Galaxy S24 FE Gets a Price Cut on Amazon: See Offer
  2. Samsung Galaxy Buds Core Listed on Company Site; Design, Specifications Revealed
  3. iPhone 18 Pro Series Tipped to Get Hole-Punch Selfie Camera, Hidden Face ID System
  4. iPhone 16 Pro, iPhone 16 Pro Max Available at Discounted Prices on Flipkart: See Offers
  5. Oppo Reno 14 5G Series Global Launch Date Announced; Amazon, Flipkart Tease Online Availability in India
  6. Gigabyte Aorus Master 16 AI PC With Intel Core Ultra 9 Chip, Up to GeForce RTX 5080 GPU Launched in India
  7. Google Suffers Setback in Fight Over EU’s EUR 4.1 Billion Fine
  8. Vivo X Fold 5 India Launch Reportedly Set for Mid-July
  9. Trump Extends Deadline for US TikTok Sale to September
  10. Nothing Headphone 1 Renders and Live Images Leak Ahead of July 1 Launch; Shows Unique Design
Gadgets 360 is available in
Download Our Apps
Available in Hindi
© Copyright Red Pixels Ventures Limited 2025. All rights reserved.