• bitcoinBitcoin(BTC)$65,211.00-4.84%
  • ethereumEthereum(ETH)$1,819.76-5.29%
  • tetherTether(USDT)$1.000.00%
  • binancecoinBNB(BNB)$585.12-6.99%
  • usd-coinUSDC(USDC)$1.000.01%
  • rippleXRP(XRP)$0.95-5.86%
  • solanaSolana(SOL)$72.22-9.00%
  • tronTRON(TRX)$0.308582-1.40%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.054.43%
  • HyperliquidHyperliquid(HYPE)$65.63-9.10%
  • zcashZcash(ZEC)$854.91-9.33%
  • moneroMonero(XMR)$507.67-4.03%
  • dogecoinDogecoin(DOGE)$0.059772-7.61%
  • USDSUSDS(USDS)$1.00-0.02%
  • leo-tokenLEO Token(LEO)$9.26-0.04%
  • whitebitWhiteBIT Coin(WBT)$63.45-4.40%
  • chainlinkChainlink(LINK)$9.05-7.93%
  • cardanoCardano(ADA)$0.154256-9.26%
  • Ethena USDeEthena USDe(USDE)$1.000.00%
  • stellarStellar(XLM)$0.136750-6.51%
  • daiDai(DAI)$1.000.02%
  • bitcoin-cashBitcoin Cash(BCH)$207.05-6.66%
  • nearNEAR Protocol(NEAR)$3.10-11.12%
  • Quantix FinanceQuantix Finance(QFI)$999.150.00%
  • litecoinLitecoin(LTC)$45.36-7.18%
  • avalanche-2Avalanche(AVAX)$7.47-9.81%
  • CantonCanton(CC)$0.080708-6.77%
  • USD1USD1(USD1)$1.00-0.03%
  • tether-goldTether Gold(XAUT)$3,831.60-0.94%
  • the-open-networkGram (prev. Toncoin)(GRAM)$1.05-6.51%
  • uniswapUniswap(UNI)$4.93-14.09%
  • suiSui(SUI)$0.72-9.44%
  • Ripple USDRipple USD(RLUSD)$1.000.00%
  • Global DollarGlobal Dollar(USDG)$1.000.00%
  • paypal-usdPayPal USD(PYUSD)$1.00-0.02%
  • RainRain(RAIN)$0.003668-1.80%
  • hedera-hashgraphHedera(HBAR)$0.057716-7.82%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.15-0.10%
  • shiba-inuShiba Inu(SHIB)$0.000004-7.23%
  • BittensorBittensor(TAO)$191.82-10.37%
  • crypto-com-chainCronos(CRO)$0.043579-7.72%
  • quant-networkQuant(QNT)$150.85-7.47%
  • Circle USYCCircle USYC(USYC)$1.140.00%
  • Spiko Amundi Overnight Swap Fund (EUR)Spiko Amundi Overnight Swap Fund (EUR)(EURSAFO)$1.12-0.06%
  • MemeCoreMemeCore(M)$0.820.89%
  • okbOKB(OKB)$87.03-7.54%
  • Falcon USDFalcon USD(USDF)$0.99-0.14%
  • pax-goldPAX Gold(PAXG)$3,829.77-0.99%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
  • pepePepe(PEPE)$0.000004-12.22%
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

Meta AI Introduces CRUXEval: A Benchmark for Code Reasoning, Understanding and Execution

January 13, 2024
in AI & Technology
Reading Time: 4 mins read
A A
Meta AI Introduces CRUXEval: A Benchmark for Code Reasoning, Understanding and Execution
ShareShareShareShareShare

There has been a significant surge in the integration of language models (LMs) into mainstream applications within the fields of software engineering and programming. Large Language Models LLMs, including recent models such as Code Llama, GPT-3.5, and GPT-4 (OpenAI, 2023), have demonstrated notable effectiveness in various code-related tasks. 

These tasks span code completion, program repair, debugging, test case generation, and code optimization. Code language models are commonly evaluated using benchmarks like HumanEval and MBPP, testing their ability to generate code snippets from natural language. While these benchmarks cover basic code generation tasks, there is a lack of benchmarks assessing other crucial dimensions, such as code understanding and execution.

Motivated by this objective, this paper by Meta AI introduces a novel benchmark named CRUXEval (Code Reasoning, Understanding, and eXecution Evaluation), featuring two tasks: – (1) CRUXEval-O for gauging code execution outcomes and (2) CRUXEval-I for evaluating code reasoning and understanding.

As shown above, CRUXEval focuses on assessing code language models’ competence in understanding the execution behavior of simple Python programs. While these models are not intended to replace interpreters for complex problems, CRUXEval ensures simplicity (maximum 13 lines, no complex arithmetic), making them solvable by a university-level CS graduate without excessive memory requirements. 

At a broad level, the construction of their benchmark involves several key steps. 

  • Initially, they employ Code Llama 34B to generate an extensive set of functions and corresponding inputs. The resulting outputs are derived by executing these functions on the provided inputs. 
  • They filter the set, focusing on short problems with minimal computation and memory requirements—issues that proficient human programmers should be capable of solving within a minute without additional memory.
  •  Finally, they randomly select 800 samples that pass the filtering criteria, ensuring the benchmark is sufficiently compact for easy execution while being large enough to detect performance variations across various models. This methodology is chosen because, although creating examples where robust models like GPT-4 completely fail is challenging manually, there is observed frequent failure on random yet reasonable programs by these powerful models.

Researchers observed a selection of models on CRUXEval like StarCoder, WizardCoder, Code Llama, etc. The findings observed that the best setup, GPT-4 with chain of thought (CoT), achieves a pass@1 of 75% and 81% on input and output prediction, respectively. In contrast, Code Llama 34B achieves a pass@1 of 50% and 46% on input and output prediction, highlighting the gap between open and closed source models. After fine-tuning on samples very similar to those in our benchmark, Code Llama 34B could match the performance of GPT-4 on both input and output prediction. 

The fact that models like Phi, WizardCoder, and Phind outperformed Code Llama in HumanEval but not in CRUXEval underscores the need for a deeper investigation into the effectiveness of fine-tuning with data from more powerful models. Furthermore, the question of whether fine-tuning on execution information can enhance code generation abilities remains an intriguing aspect. As a prospect for future research, this benchmark provides a solid starting point for exploring the code reasoning capabilities of language models!


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. Join our 36k+ ML SubReddit, 41k+ Facebook Community, Discord Channel, and LinkedIn Group.

If you like our work, you will love our newsletter..

Don’t Forget to join our Telegram Channel


YOU MAY ALSO LIKE

Smart Glasses Could Replace Your Monitor But They Shouldn’t — Here’s Why

What Is the NIST AI Risk Management Framework? A Guide for AI Teams – Unite.AI

Janhavi Lande, is an Engineering Physics graduate from IIT Guwahati, class of 2023. She is an upcoming data scientist and has been working in the world of ml/ai research for the past two years. She is most fascinated by this ever changing world and its constant demand of humans to keep up with it. In her pastime she enjoys traveling, reading and writing poems.


[Free AI Event] 🐝 ‘Meet SingleStore Pro Max, the Powerhouse Edition’ (Jan 24 2024, 10 am PST)


Credit: Source link

ShareTweetSendSharePin

Related Posts

Smart Glasses Could Replace Your Monitor But They Shouldn’t — Here’s Why
AI & Technology

Smart Glasses Could Replace Your Monitor But They Shouldn’t — Here’s Why

November 14, 2026
What Is the NIST AI Risk Management Framework? A Guide for AI Teams – Unite.AI
AI & Technology

What Is the NIST AI Risk Management Framework? A Guide for AI Teams – Unite.AI

November 14, 2026
Anakapalli MoU Maps 400 MW And 1,400 MW AirTrunk Campus Proposals – Unite.AI
AI & Technology

Anakapalli MoU Maps 400 MW And 1,400 MW AirTrunk Campus Proposals – Unite.AI

November 14, 2026
Outage At HR Platform Workday Locks Millions Of Employees Out Of Their Account
AI & Technology

Outage At HR Platform Workday Locks Millions Of Employees Out Of Their Account

November 14, 2026
Next Post
BP: Middle East Tensions, OPEC+ And Oil Above  (NYSE:BP)

BP: Middle East Tensions, OPEC+ And Oil Above $70 (NYSE:BP)

Leave a Reply Cancel reply

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

Search

No Result
View All Result
Fortreum Launches Kovr-Powered VDR/VER Offering Ahead of FedRAMP Vulnerability Deadline – Unite.AI

Fortreum Launches Kovr-Powered VDR/VER Offering Ahead of FedRAMP Vulnerability Deadline – Unite.AI

November 13, 2026
Stay Tuned NOW Streaming Behind The Scenes! – Nov 2

Stay Tuned NOW Streaming Behind The Scenes! – Nov 2

November 12, 2026
Market drop wipes out more than a trillion dollars in value

Market drop wipes out more than a trillion dollars in value

November 13, 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!