OpenAI introduces CriticGPT to improve AI-generated code quality, shows 63% improvement in error detection

  • OpenAI announced CriticGPT, an AI model designed to identify and fix GPT-4's code errors. Using the RLHF framework, it outperformed ChatGPT by 63% in tests.

Livemint
Published28 Jun 2024, 10:56 PM IST
According to OpenAI, CriticGPT demonstrated a 63 per cent improvement over ChatGPT in catching code errors.
According to OpenAI, CriticGPT demonstrated a 63 per cent improvement over ChatGPT in catching code errors. (Reuters / Dado Ruvic)

OpenAI recently announced the development of a new AI model named CriticGPT, designed to identify and rectify mistakes in code generated by GPT-4. Detailed in a blog post on Thursday, the AI company explained that CriticGPT leverages the reinforcement learning from human feedback (RLHF) framework, a technique that combines machine output with human input to refine AI systems.

CriticGPT, which remains under development and is not yet accessible to users or testers, aims to improve the quality of AI-generated code. OpenAI revealed that in testing, individuals who used CriticGPT to review code generated by ChatGPT performed better 60 per cent of the time compared to those who did not use the model. The research findings have been documented in a recently published paper.

The RLHF framework involves human evaluators, known as AI trainers, providing feedback on the AI's performance to help adjust and enhance the model's behavior. For CriticGPT, trainers added intentional errors to code samples containing natural mistakes and then provided example feedback for these errors. The model's performance was evaluated based on its ability to identify both the naturally occurring and the intentionally inserted errors.

According to OpenAI, CriticGPT demonstrated a 63 per cent improvement over ChatGPT in catching code errors. However, the model has certain limitations. It has primarily been trained on short code snippets and has not yet been tested on longer, more complex coding tasks. 

Additionally, the model still experiences issues with generating incorrect factual responses, a phenomenon known as hallucination. It has also not been tested in scenarios where multiple errors are dispersed throughout the code.

OpenAI suggests that CriticGPT is primarily intended to enhance the company's understanding of training techniques to produce higher quality AI outputs. While there is no immediate plan to release CriticGPT to the public, it may eventually be integrated into ChatGPT to provide improved code review capabilities.

 

 

Catch all the Business News, Market News, Breaking News Events and Latest News Updates on Live Mint. Download The Mint News App to get Daily Market Updates.

MoreLess
First Published:28 Jun 2024, 10:56 PM IST
Business NewsAIOpenAI introduces CriticGPT to improve AI-generated code quality, shows 63% improvement in error detection

Get Instant Loan up to ₹10 Lakh!

  • Employment Type

    Most Active Stocks

    Indian Oil Corporation

    181.20
    03:58 PM | 5 SEP 2024
    4.15 (2.34%)

    Tata Steel

    151.75
    03:57 PM | 5 SEP 2024
    0.45 (0.3%)

    Max Financial Services

    1,119.90
    03:29 PM | 5 SEP 2024
    -13 (-1.15%)

    Bharat Electronics

    290.60
    03:59 PM | 5 SEP 2024
    -8.3 (-2.78%)
    More Active Stocks

    Market Snapshot

    • Top Gainers
    • Top Losers
    • 52 Week High

    Caplin Point Laboratories

    2,116.90
    03:58 PM | 5 SEP 2024
    147.1 (7.47%)

    UTI Asset Management Company

    1,266.55
    03:43 PM | 5 SEP 2024
    77.55 (6.52%)

    KEC International

    989.00
    03:59 PM | 5 SEP 2024
    57.3 (6.15%)

    TVS Supply Chain Solutions

    206.90
    03:52 PM | 5 SEP 2024
    10.8 (5.51%)
    More from Top Gainers

    Recommended For You

      More Recommendations

      Gold Prices

      • 24K
      • 22K
      Bangalore
      73,505.00-134.00
      Chennai
      73,291.0081.00
      Delhi
      73,363.00725.00
      Kolkata
      72,650.00-1,132.00

      Fuel Price

      • Petrol
      • Diesel
      Bangalore
      102.86/L0.00
      Chennai
      100.85/L-0.01
      Kolkata
      104.95/L0.00
      New Delhi
      94.72/L0.00
      HomeMarketsPremiumInstant LoanMint Shorts