• bitcoinBitcoin(BTC)$77,266.000.13%
  • ethereumEthereum(ETH)$2,542.593.12%
  • tetherTether(USDT)$1.000.01%
  • binancecoinBNB(BNB)$724.671.40%
  • rippleXRP(XRP)$1.360.28%
  • usd-coinUSDC(USDC)$1.000.00%
  • solanaSolana(SOL)$101.641.81%
  • tronTRON(TRX)$0.336761-0.83%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.03-0.18%
  • zcashZcash(ZEC)$1,167.053.46%
  • HyperliquidHyperliquid(HYPE)$80.580.38%
  • dogecoinDogecoin(DOGE)$0.0843960.48%
  • RainRain(RAIN)$0.015636-1.83%
  • USDSUSDS(USDS)$1.000.00%
  • moneroMonero(XMR)$517.280.83%
  • whitebitWhiteBIT Coin(WBT)$80.430.64%
  • chainlinkChainlink(LINK)$11.62-0.07%
  • leo-tokenLEO Token(LEO)$9.16-0.43%
  • cardanoCardano(ADA)$0.205743-1.66%
  • stellarStellar(XLM)$0.1787130.28%
  • Ethena USDeEthena USDe(USDE)$1.000.01%
  • bitcoin-cashBitcoin Cash(BCH)$228.210.52%
  • daiDai(DAI)$1.000.01%
  • USD1USD1(USD1)$1.000.02%
  • litecoinLitecoin(LTC)$53.422.29%
  • CantonCanton(CC)$0.098091-1.14%
  • uniswapUniswap(UNI)$6.080.13%
  • the-open-networkGram (prev. Toncoin)(GRAM)$1.360.96%
  • Global DollarGlobal Dollar(USDG)$1.00-0.01%
  • avalanche-2Avalanche(AVAX)$7.46-1.93%
  • nearNEAR Protocol(NEAR)$2.501.22%
  • hedera-hashgraphHedera(HBAR)$0.074377-1.30%
  • shiba-inuShiba Inu(SHIB)$0.0000051.25%
  • suiSui(SUI)$0.73-1.62%
  • paypal-usdPayPal USD(PYUSD)$1.000.00%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
  • crypto-com-chainCronos(CRO)$0.0564110.13%
  • MemeCoreMemeCore(M)$1.182.68%
  • tether-goldTether Gold(XAUT)$4,347.170.47%
  • Circle USYCCircle USYC(USYC)$1.140.03%
  • Ripple USDRipple USD(RLUSD)$1.000.00%
  • okbOKB(OKB)$113.532.11%
  • BittensorBittensor(TAO)$235.15-1.89%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.14-0.01%
  • mantleMantle(MNT)$0.581.94%
  • aaveAave(AAVE)$124.370.92%
  • pax-goldPAX Gold(PAXG)$4,350.970.53%
  • AsterAster(ASTER)$0.68-3.45%
  • polkadotPolkadot(DOT)$1.05-4.97%
  • OndoOndo(ONDO)$0.3524191.36%
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

Google DeepMind Researchers Propose Chain of Code (CoC): A Simple Yet Surprisingly Effective Extension that Improves Language Model (LM) Code-Driven Reasoning

December 12, 2023
in AI & Technology
Reading Time: 4 mins read
A A
Google DeepMind Researchers Propose Chain of Code (CoC): A Simple Yet Surprisingly Effective Extension that Improves Language Model (LM) Code-Driven Reasoning
ShareShareShareShareShare

Researchers from Google DeepMind, Stanford University, and the University of California, Berkeley have developed a Chain of Code that addresses the problem of improving the code-driven reasoning of language models. Chain of Code encourages LMs to format semantic sub-tasks in a program as flexible pseudocode that the interpreter can explicitly catch undefined behaviors and hand off to simulate with an LM(as an “LMulator”). CoC scales well with large and small models and broadens the scope of reasoning questions LMs can correctly answer by thinking in code.

Works like Chain of Thought, least-to-most, and ScratchPad have leveraged prompting to improve reasoning by breaking tasks down into intermediate steps or maintaining a trace of intermediate results.LMs trained on Github have been prompted to write and execute code, which helps solve complex questions involving numeric or symbolic reasoning.

To solve a given problem, CoC generates reasoning substeps in the code structure. This code provides the framework of reasoning through the pain and may be in the form of explicit code, pseudocode, or natural language. CoC enables code use in entirely new regimes by combining the advantages of code with the powerful semantic and commonsense knowledge of LMs, which can easily express rules that are challenging to speak in code(e.g.,  which foods are fruits?).

A core contribution of CoC is not just the generation of reasoning code but how it is executed. Once the code is written, the code is attempted to be run by a code interpreter- in this work, researchers consider Python, but the approach is general to any interpreter. If the code is successfully executed, the program state is updated, and the execution continues. If the code is not executable or raises any exception, the language model instead is used to simulate the execution. The language model’s outputs update the program state, and the execution continues.  

The overall performance of the CoC approach outperforms other methods, exceeding the human baseline in the number of tasks it exceeds and the overall amount it exceeds the baseline. CoC achieves state-of-the-art performance in several studies. It shows improvements in performance as the model size increases, similar to Chain of Thought prompting. Cross-task prompting results in a drop in performance for all methods, but CoC still outperforms Chain of Thought and direct prompting at scale, approaching human average performance.

CoC is an approach towards reasoning with language models through writing code and executing code either with an interpreter or with a language model that simulates the execution if the code is not executable. CoC can leverage both the expressive structure of regulation and its powerful tools. Beyond this, by simulating the execution of non-executable code, CoC can apply to problems nominally outside the scope of code (e.g., semantic reasoning problems).


Check out the Paper and Project. All credit for this research goes to the researchers of this project. Also, don’t forget to join our 33k+ ML SubReddit, 41k+ Facebook Community, Discord Channel, and Email Newsletter, where we share the latest AI research news, cool AI projects, and more.

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


YOU MAY ALSO LIKE

New Images Show A Detailed View Of Meta’s Upcoming Mixed Reality Headset

Dzmitry Lazerka, Co-Founder of VictoriaMetrics – Interview Series – Unite.AI

Sana Hassan, a consulting intern at Marktechpost and dual-degree student at IIT Madras, is passionate about applying technology and AI to address real-world challenges. With a keen interest in solving practical problems, he brings a fresh perspective to the intersection of AI and real-life solutions.


🐝 [Free Webinar] LLMs in Banking: Building Predictive Analytics for Loan Approvals (Dec 13 2023)

Credit: Source link

ShareTweetSendSharePin

Related Posts

New Images Show A Detailed View Of Meta’s Upcoming Mixed Reality Headset
AI & Technology

New Images Show A Detailed View Of Meta’s Upcoming Mixed Reality Headset

September 11, 2026
Dzmitry Lazerka, Co-Founder of VictoriaMetrics – Interview Series – Unite.AI
AI & Technology

Dzmitry Lazerka, Co-Founder of VictoriaMetrics – Interview Series – Unite.AI

September 11, 2026
Where Should Apple Go After The iPhone Duo? Bring On Smaller And Larger Foldables
AI & Technology

Where Should Apple Go After The iPhone Duo? Bring On Smaller And Larger Foldables

September 11, 2026
Why Falling AI Prices Aren’t Lowering Enterprise AI Bills – Unite.AI
AI & Technology

Why Falling AI Prices Aren’t Lowering Enterprise AI Bills – Unite.AI

September 11, 2026
Next Post
Philadelphia businesses targeted in another night of rampant looting

Philadelphia businesses targeted in another night of rampant looting

Leave a Reply Cancel reply

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

Search

No Result
View All Result
Manhunt for suspected murderer in disguise

Manhunt for suspected murderer in disguise

September 6, 2026
Sean ‘Diddy’ Combs in solitary confinement after fight

Sean ‘Diddy’ Combs in solitary confinement after fight

September 5, 2026
AfD just won 44% in a German state. Now Germany's firewall faces its biggest test. – Axios

AfD just won 44% in a German state. Now Germany's firewall faces its biggest test. – Axios

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