• bitcoinBitcoin(BTC)$79,916.000.19%
  • ethereumEthereum(ETH)$2,495.600.65%
  • tetherTether(USDT)$1.00-0.01%
  • binancecoinBNB(BNB)$750.64-2.69%
  • rippleXRP(XRP)$1.420.00%
  • usd-coinUSDC(USDC)$1.00-0.01%
  • solanaSolana(SOL)$105.622.15%
  • tronTRON(TRX)$0.3358720.43%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.065.00%
  • zcashZcash(ZEC)$1,218.7220.50%
  • HyperliquidHyperliquid(HYPE)$87.762.56%
  • dogecoinDogecoin(DOGE)$0.090065-0.96%
  • RainRain(RAIN)$0.016746-1.59%
  • moneroMonero(XMR)$529.38-3.01%
  • USDSUSDS(USDS)$1.000.03%
  • chainlinkChainlink(LINK)$12.695.17%
  • whitebitWhiteBIT Coin(WBT)$73.600.25%
  • leo-tokenLEO Token(LEO)$9.290.49%
  • cardanoCardano(ADA)$0.2206580.30%
  • stellarStellar(XLM)$0.1847970.25%
  • bitcoin-cashBitcoin Cash(BCH)$257.630.51%
  • daiDai(DAI)$1.000.00%
  • uniswapUniswap(UNI)$7.130.10%
  • Ethena USDeEthena USDe(USDE)$1.000.00%
  • CantonCanton(CC)$0.1102101.06%
  • USD1USD1(USD1)$1.000.02%
  • litecoinLitecoin(LTC)$54.220.67%
  • the-open-networkGram (prev. Toncoin)(GRAM)$1.43-0.20%
  • hedera-hashgraphHedera(HBAR)$0.0810610.23%
  • avalanche-2Avalanche(AVAX)$7.721.57%
  • suiSui(SUI)$0.80-0.06%
  • Global DollarGlobal Dollar(USDG)$1.00-0.01%
  • shiba-inuShiba Inu(SHIB)$0.000005-0.59%
  • nearNEAR Protocol(NEAR)$2.4110.54%
  • paypal-usdPayPal USD(PYUSD)$1.000.01%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
  • crypto-com-chainCronos(CRO)$0.0574611.93%
  • tether-goldTether Gold(XAUT)$4,415.97-0.22%
  • Circle USYCCircle USYC(USYC)$1.140.00%
  • BittensorBittensor(TAO)$269.7915.64%
  • MemeCoreMemeCore(M)$1.12-0.09%
  • Ripple USDRipple USD(RLUSD)$1.000.01%
  • okbOKB(OKB)$113.130.28%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.14-0.40%
  • AsterAster(ASTER)$0.78-0.81%
  • aaveAave(AAVE)$133.22-1.12%
  • mantleMantle(MNT)$0.602.76%
  • pax-goldPAX Gold(PAXG)$4,420.54-0.27%
  • OndoOndo(ONDO)$0.3789542.47%
  • World Liberty FinancialWorld Liberty Financial(WLFI)$0.056423-1.27%
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

Researchers From China Propose a Generate-and-Edit Approach that Utilizes Execution Results of the Generated Code from LLMs to Improve the Code Quality in the Competitive Programming Task

May 18, 2023
in AI & Technology
Reading Time: 4 mins read
A A
Researchers From China Propose a Generate-and-Edit Approach that Utilizes Execution Results of the Generated Code from LLMs to Improve the Code Quality in the Competitive Programming Task
ShareShareShareShareShare

Researchers draw inspiration from the process of human programming to help LLMs do better in competitive programming jobs. The competitive programming job has recently been applied to large language models. This work necessitates accurately implementing solutions that can span hundreds of lines and comprehending a sophisticated natural language description of a problem with example test cases. Executing solutions on concealed test cases allows for solution evaluation. However, current LLMs’ accuracy and pass rates could be higher for this purpose. For instance, on the widely used APPS test, a competitive programming benchmark, the virtually most powerful model GPT3 only scores 7% accuracy. 

Programmers often develop an initial program, run a few sample test cases, and then make changes to the code in response to the test findings while resolving competitive programming difficulties. During this step, the programmer may use important information from the test results to troubleshoot the software. They implement this concept by using a comparable workflow with a neural-based editor. The code produced by a pre-trained LLM was examined, and it was discovered that several of the generated codes might be enhanced with small adjustments. 

They see that the error message identifies the coding fault, allowing them to correct the problem rapidly. It encourages us to look into editing methods and enhance the code quality produced by LLMs with the aid of execution outcomes. In this study, researchers from Peking University suggest a unique generate-and-edit approach to improve LLMs at competitive programming tasks. Their method uses the capability of LLMs in three phases to emulate the behavior of the human programmers mentioned above: 

🚀 JOIN the fastest ML Subreddit Community
  1. Generation utilizing LLMs. They create the program based on the problem description using huge language models like black box generators.
  2. Execution. They run the created code on the sample test case using LLMs to obtain the execution results. They also offer templates for the execution results as additional comments to include more useful data for modification.
  3. Edit. They create a fault-aware neural code editor that improves the code using the produced code and additional comments as input. Their code editor strives to raise the caliber and precision of LLM-based code production. 

They conduct in-depth research on the APPS and HumanEval public competitive programming benchmarks. To demonstrate the universality, they apply their methodology to 9 well-known LLMs with parameter values ranging from 110M to 175B. Their strategy dramatically raises LLM’s performance. In particular, their method raises the average of pass@1 on APPS-dev and APPS-test by 89% and 31%, respectively. Their tiny editor model can increase pass@1 from 26.6% to 32.4% on the APPS-dev test, even for the biggest language model used, GPT3-175B. They prove the transferability of their method on the out-of-distribution benchmark by improving the average of pass@1 by 48% on a new kind of dataset called HumanEval. Various methods for post-processing programs created by LLMs have recently been presented. 

These methods do extensive LLM sampling, rerank the sampled programs, and produce the final program. Their strategy, in contrast, provides two benefits: Their method keeps the sample budget constant and drastically lowers the computational burden on LLMs. Their editor alters the programs directly and outperforms these reranking-based techniques, particularly with a constrained sample budget like pass@1. They are the first, as far as they are aware, to use an editing-based post-processing technique for programming competitions. 

The following is a list of the contributions: 

• To produce high-quality code for challenging programming jobs, they suggest a generate-and-edit method for huge language models. 

• They create a fault-aware neural code editor that uses error messages and produces code as input to improve the code’s precision and quality. 

• They do trials using two well-known datasets and nine LLMs to show the potency and applicability of their strategy.


Check out the Paper. Don’t forget to join our 21k+ ML SubReddit, Discord Channel, and Email Newsletter, where we share the latest AI research news, cool AI projects, and more. If you have any questions regarding the above article or if we missed anything, feel free to email us at [email protected]

🚀 Check Out 100’s AI Tools in AI Tools Club


YOU MAY ALSO LIKE

What Is Vibe Coding And Why Does It Get So Much Hate?

My Content Tracker Idea Became a Real App – Unite.AI

Aneesh Tickoo is a consulting intern at MarktechPost. He is currently pursuing his undergraduate degree in Data Science and Artificial Intelligence from the Indian Institute of Technology(IIT), Bhilai. He spends most of his time working on projects aimed at harnessing the power of machine learning. His research interest is image processing and is passionate about building solutions around it. He loves to connect with people and collaborate on interesting projects.


➡️ Meet Bright Data: The World’s #1 Web Data Platform

Credit: Source link

ShareTweetSendSharePin

Related Posts

What Is Vibe Coding And Why Does It Get So Much Hate?
AI & Technology

What Is Vibe Coding And Why Does It Get So Much Hate?

September 6, 2026
My Content Tracker Idea Became a Real App – Unite.AI
AI & Technology

My Content Tracker Idea Became a Real App – Unite.AI

September 6, 2026
Is 256GB Enough For An iPhone? Here’s When You Should Go Bigger
AI & Technology

Is 256GB Enough For An iPhone? Here’s When You Should Go Bigger

September 6, 2026
How To Check Your PC’s Hard-Drive Health
AI & Technology

How To Check Your PC’s Hard-Drive Health

September 6, 2026
Next Post
Jim Cramer on Apple, Micron, GM, GE, Disney, Target and Nike

Jim Cramer on Apple, Micron, GM, GE, Disney, Target and Nike

Leave a Reply Cancel reply

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

Search

No Result
View All Result
Adobe Brings 70+ Tools From Photoshop, Illustrator And More To Slack

Adobe Brings 70+ Tools From Photoshop, Illustrator And More To Slack

September 3, 2026
Retail Is Beating the S&P — What They’re Buying Right Now

Retail Is Beating the S&P — What They’re Buying Right Now

September 3, 2026
Midstream Scales Up Natural Gas Infrastructure

Midstream Scales Up Natural Gas Infrastructure

September 2, 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!