• bitcoinBitcoin(BTC)$77,563.00-3.20%
  • ethereumEthereum(ETH)$2,225.86-4.04%
  • tetherTether(USDT)$1.000.03%
  • binancecoinBNB(BNB)$702.35-6.26%
  • rippleXRP(XRP)$1.25-3.08%
  • usd-coinUSDC(USDC)$1.000.03%
  • solanaSolana(SOL)$96.73-3.46%
  • tronTRON(TRX)$0.3347531.11%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.03-0.07%
  • HyperliquidHyperliquid(HYPE)$91.1614.90%
  • zcashZcash(ZEC)$1,250.86-0.11%
  • dogecoinDogecoin(DOGE)$0.075335-3.65%
  • moneroMonero(XMR)$591.23-0.98%
  • USDSUSDS(USDS)$1.000.15%
  • whitebitWhiteBIT Coin(WBT)$74.27-3.44%
  • leo-tokenLEO Token(LEO)$9.41-0.49%
  • chainlinkChainlink(LINK)$11.02-4.19%
  • cardanoCardano(ADA)$0.192337-3.69%
  • stellarStellar(XLM)$0.164910-2.37%
  • nearNEAR Protocol(NEAR)$4.370.08%
  • bitcoin-cashBitcoin Cash(BCH)$281.170.61%
  • RainRain(RAIN)$0.006634-3.94%
  • daiDai(DAI)$1.000.07%
  • Ethena USDeEthena USDe(USDE)$1.00-0.06%
  • litecoinLitecoin(LTC)$55.37-3.60%
  • uniswapUniswap(UNI)$6.77-3.89%
  • USD1USD1(USD1)$1.00-0.05%
  • avalanche-2Avalanche(AVAX)$8.47-2.95%
  • CantonCanton(CC)$0.093263-3.66%
  • suiSui(SUI)$0.88-3.49%
  • the-open-networkGram (prev. Toncoin)(GRAM)$1.17-3.04%
  • tether-goldTether Gold(XAUT)$3,987.17-0.86%
  • hedera-hashgraphHedera(HBAR)$0.071343-3.44%
  • Global DollarGlobal Dollar(USDG)$1.000.05%
  • paypal-usdPayPal USD(PYUSD)$1.000.11%
  • quant-networkQuant(QNT)$196.812.10%
  • shiba-inuShiba Inu(SHIB)$0.000005-3.88%
  • BittensorBittensor(TAO)$232.52-6.79%
  • crypto-com-chainCronos(CRO)$0.051204-3.69%
  • Ripple USDRipple USD(RLUSD)$1.000.02%
  • EthenaEthena(ENA)$0.190656-3.55%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.15-0.01%
  • Circle USYCCircle USYC(USYC)$1.140.01%
  • okbOKB(OKB)$111.590.54%
  • MemeCoreMemeCore(M)$1.01-4.97%
  • BitwayBitway(BTW)$1.47-21.53%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
  • pepePepe(PEPE)$0.000005-1.47%
  • aaveAave(AAVE)$124.77-4.81%
  • OndoOndo(ONDO)$0.387229-5.49%
TradePoint.io
  • Main
  • AI & Technology
  • Stock Charts
  • Market & News
  • Business
  • Finance Tips
  • Trade Tube
  • Blog
  • Shop
No Result
View All Result
TradePoint.io
No Result
View All Result

AWS Researchers Propose LEDEX: A Machine Learning Training Framework that Significantly Improves the Self-Debugging Capability of LLMs

December 27, 2024
in AI & Technology
Reading Time: 4 mins read
A A
AWS Researchers Propose LEDEX: A Machine Learning Training Framework that Significantly Improves the Self-Debugging Capability of LLMs
ShareShareShareShareShare

Code generation using Large Language Models (LLMs) has emerged as a critical research area, but generating accurate code for complex problems in a single attempt remains a significant challenge. Even skilled human developers often require multiple iterations of trial-and-error debugging to solve difficult programming problems. While LLMs have demonstrated impressive code generation capabilities, their self-debugging ability to analyze incorrect code and make necessary corrections is still limited. This limitation is evident in open-source models like StarCoder and CodeLlama, which show significantly lower self-refinement performance compared to models like GPT-3.5-Turbo.

Existing approaches to improve code generation and debugging capabilities in LLMs have followed several distinct paths. LLMs have shown significant success across various code-related tasks, including code generation, bug fixing, program testing, and fuzzing. These models use extensive pre-training on vast datasets to understand patterns and generate contextually relevant code. However, most existing work has primarily focused on single-round generation rather than iterative improvement. Other methods like ILF, CYCLE, and Self-Edit have explored supervised fine-tuning approaches while solutions like OpenCodeInterpreter and EURUS have attempted to create high-quality multi-turn interaction datasets using advanced models for fine-tuning purposes.

YOU MAY ALSO LIKE

Cursor Discloses SSH Backdoor Attempt in Malicious Claude Code Extension – Unite.AI

General Motors Agrees To Pay $220 Million To Settle Multi-State Data Privacy Lawsuit

Researchers from Purdue University, AWS AI Labs, and the University of Virginia have proposed LEDEX (learning to self-debug and explain code), a novel training framework designed to enhance LLMs’ self-debugging capabilities. The framework builds on the observation that a sequential process of explaining incorrect code followed by refinement enables LLMs to analyze and improve faulty code in a better way. LEDEX implements an automated pipeline to collect high-quality datasets for code explanation, and refinement. Moreover, it combines supervised fine-tuning (SFT) and reinforcement learning (RL) approaches, utilizing successful and failed trajectories with a specialized reward system that evaluates code explanation and refinement quality.

LEDEX employs a comprehensive architecture containing data collection, verification, and multi-stage training processes. The framework begins by collecting code explanation and refinement datasets through queries to pre-trained or instruction-tuned models. These responses undergo rigorous execution-based verification to filter and maintain only high-quality explanation and refinement data. The collected dataset then serves as input for supervised fine-tuning which significantly enhances the model’s capabilities in bug explanation and code refinement. LEDEX uses programming problems from MBPP, APPS, and CodeContests to train data. To expand the dataset of incorrect solutions, the framework prompts pre-trained LLMs like StarCoder and CodeLlama with 3-shot examples to generate 20 solutions per problem.

LEDEX is evaluated using three model backbones: StarCoder-15B, CodeLlama-7B, and CodeLlama-13B, with initial training data collected from GPT-3.5-Turbo. The SFT phase shows significant improvements, achieving up to a 15.92% increase in pass@1 and 9.30% in pass@10 metrics across four benchmark datasets. The subsequent RL phase further enhances performance with additional improvements of up to 3.54% in pass@1 and 2.55% in pass@10. Notably, LEDEX’s model-agnostic nature is shown through experiments with CodeLlama-7B, which achieve substantial improvements (8.25% in pass@1 and 2.14% in pass@10) even when trained on data collected from CodeLlama-34B or itself, proving its effectiveness independent of GPT-3.5-Turbo.

In conclusion, researchers introduced LEDEX, a comprehensive and scalable framework that combines automated data collection, verification processes, SFT, and RL with innovative reward designs to significantly improve LLMs’ ability to identify and correct code errors. The framework’s model-agnostic nature is evidenced by its successful implementation with GPT-3.5-Turbo and CodeLlama, while its rigorous data verification process ensures the quality of code explanations and refinements. Human evaluations further validate the framework’s effectiveness, confirming that LEDEX-trained models produce superior code explanations that effectively assist developers in understanding and resolving code issues.


Check out the Paper. All credit for this research goes to the researchers of this project. Also, don’t forget to follow us on Twitter and join our Telegram Channel and LinkedIn Group. Don’t Forget to join our 60k+ ML SubReddit.

🚨 Trending: LG AI Research Releases EXAONE 3.5: Three Open-Source Bilingual Frontier AI-level Models Delivering Unmatched Instruction Following and Long Context Understanding for Global Leadership in Generative AI Excellence….


Sajjad Ansari is a final year undergraduate from IIT Kharagpur. As a Tech enthusiast, he delves into the practical applications of AI with a focus on understanding the impact of AI technologies and their real-world implications. He aims to articulate complex AI concepts in a clear and accessible manner.

🧵🧵 [Download] Evaluation of Large Language Model Vulnerabilities Report (Promoted)


Credit: Source link

ShareTweetSendSharePin

Related Posts

Cursor Discloses SSH Backdoor Attempt in Malicious Claude Code Extension – Unite.AI
AI & Technology

Cursor Discloses SSH Backdoor Attempt in Malicious Claude Code Extension – Unite.AI

October 30, 2026
General Motors Agrees To Pay 0 Million To Settle Multi-State Data Privacy Lawsuit
AI & Technology

General Motors Agrees To Pay $220 Million To Settle Multi-State Data Privacy Lawsuit

October 30, 2026
Edge0 Releases Audio8-TTS-Realistic, a 0.6B Voice Cloning TTS Model
AI & Technology

Edge0 Releases Audio8-TTS-Realistic, a 0.6B Voice Cloning TTS Model

October 30, 2026
Microsoft Offers Buyouts to 60,000 Employees
AI & Technology

Microsoft Offers Buyouts to 60,000 Employees

October 30, 2026
Next Post
South Korea votes to impeach acting president Han Duck-soo – BBC.com

South Korea votes to impeach acting president Han Duck-soo - BBC.com

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Search

No Result
View All Result
Xona Raises 0 Million to Remake 50-Year-Old GPS

Xona Raises $250 Million to Remake 50-Year-Old GPS

October 25, 2026
Is This The End Of The Bull Market? (How To Survive)

Is This The End Of The Bull Market? (How To Survive)

October 24, 2026
Making ,958 in 20 mins

Making $1,958 in 20 mins

October 26, 2026

About

Learn more

Our Services

Legal

Privacy Policy

Terms of Use

Bloggers

Learn more

Article Links

Contact

Advertise

Ask us anything

©2020- TradePoint.io - All rights reserved!

Tradepoint.io, being just a publishing and technology platform, is not a registered broker-dealer or investment adviser. So we do not provide investment advice. Rather, brokerage services are provided to clients of Tradepoint.io by independent SEC-registered broker-dealers and members of FINRA/SIPC. Every form of investing carries some risk and past performance is not a guarantee of future results. “Tradepoint.io“, “Instant Investing” and “My Trading Tools” are registered trademarks of Apperbuild, LLC.

This website is operated by Apperbuild, LLC. We have no link to any brokerage firm and we do not provide investment advice. Every information and resource we provide is solely for the education of our readers. © 2020 Apperbuild, LLC. All rights reserved.

No Result
View All Result
  • Main
  • AI & Technology
  • Stock Charts
  • Market & News
  • Business
  • Finance Tips
  • Trade Tube
  • Blog
  • Shop

© 2023 - TradePoint.io - All Rights Reserved!