This article presents a novel method for program synthesis using denoising diffusion models on syntax trees.This article presents a novel method for program synthesis using denoising diffusion models on syntax trees.

From Images to Programs: A Denoising Diffusion Method for Inverse Graphics

Abstract and 1. Introduction

  1. Background & Related Work

  2. Method

    3.1 Sampling Small Mutations

    3.2 Policy

    3.3 Value Network & Search

    3.4 Architecture

  3. Experiments

    4.1 Environments

    4.2 Baselines

    4.3 Ablations

  4. Conclusion, Acknowledgments and Disclosure of Funding, and References

    \

Appendix

A. Mutation Algorithm

B. Context-Free Grammars

C. Sketch Simulation

D. Complexity Filtering

E. Tree Path Algorithm

F. Implementation Details

3 Method

The main idea behind our method is to develop a form of denoising diffusion models analogous to image diffusion models for syntax trees.

\ Consider the example task from Ellis et al. [11] of generating a constructive solid geometry (CSG2D) program from an image. In CSG2D, we can combine simple primitives like circles and quadrilaterals using boolean operations like addition and subtraction to create more complex shapes, with the context-free grammar (CFG),

\

\ In the following sections, we will first describe how “noise” is added to syntax trees. Then, we will detail how we train a neural network to reverse this noise. Finally, we will describe how we use this neural network for search.

\

:::info Authors:

(1) Shreyas Kapur, University of California, Berkeley (srkp@cs.berkeley.edu);

(2) Erik Jenner, University of California, Berkeley (jenner@cs.berkeley.edu);

(3) Stuart Russell, University of California, Berkeley (russell@cs.berkeley.edu).

:::


:::info This paper is available on arxiv under CC BY-SA 4.0 DEED license.

:::

\

Disclaimer: The articles reposted on this site are sourced from public platforms and are provided for informational purposes only. They do not necessarily reflect the views of MEXC. All rights remain with the original authors. If you believe any content infringes on third-party rights, please contact service@support.mexc.com for removal. MEXC makes no guarantees regarding the accuracy, completeness, or timeliness of the content and is not responsible for any actions taken based on the information provided. The content does not constitute financial, legal, or other professional advice, nor should it be considered a recommendation or endorsement by MEXC.

You May Also Like

MoneyGram launches stablecoin-powered app in Colombia

MoneyGram launches stablecoin-powered app in Colombia

The post MoneyGram launches stablecoin-powered app in Colombia appeared on BitcoinEthereumNews.com. MoneyGram has launched a new mobile application in Colombia that uses USD-pegged stablecoins to modernize cross-border remittances. According to an announcement on Wednesday, the app allows customers to receive money instantly into a US dollar balance backed by Circle’s USDC stablecoin, which can be stored, spent, or cashed out through MoneyGram’s global retail network. The rollout is designed to address the volatility of local currencies, particularly the Colombian peso. Built on the Stellar blockchain and supported by wallet infrastructure provider Crossmint, the app marks MoneyGram’s most significant move yet to integrate stablecoins into consumer-facing services. Colombia was selected as the first market due to its heavy reliance on inbound remittances—families in the country receive more than 22 times the amount they send abroad, according to Statista. The announcement said future expansions will target other remittance-heavy markets. MoneyGram, which has nearly 500,000 retail locations globally, has experimented with blockchain rails since partnering with the Stellar Development Foundation in 2021. It has since built cash on and off ramps for stablecoins, developed APIs for crypto integration, and incorporated stablecoins into its internal settlement processes. “This launch is the first step toward a world where every person, everywhere, has access to dollar stablecoins,” CEO Anthony Soohoo stated. The company emphasized compliance, citing decades of regulatory experience, though stablecoin oversight remains fluid. The US Congress passed the GENIUS Act earlier this year, establishing a framework for stablecoin regulation, which MoneyGram has pointed to as providing clearer guardrails. This is a developing story. This article was generated with the assistance of AI and reviewed by editor Jeffrey Albus before publication. Get the news in your inbox. Explore Blockworks newsletters: Source: https://blockworks.co/news/moneygram-stablecoin-app-colombia
Share
BitcoinEthereumNews2025/09/18 07:04
ServicePower Closes Transformative Year with AI-Driven Growth and Market Expansion

ServicePower Closes Transformative Year with AI-Driven Growth and Market Expansion

Double-digit growth, 50% team expansion, and accelerated innovation define 2025 momentum MCLEAN, Va., Dec. 18, 2025 /PRNewswire/ — ServicePower, a leading provider
Share
AI Journal2025/12/18 23:32
XRP Fractal Signals $6–$7 Surge by November Amid DLT Disruption

XRP Fractal Signals $6–$7 Surge by November Amid DLT Disruption

The post XRP Fractal Signals $6–$7 Surge by November Amid DLT Disruption appeared on BitcoinEthereumNews.com. XRP Fractal Analysis Hints at $6–$7 Breakout by Mid-November According to renowned market analyst EGRAG CRYPTO, XRP may be on the verge of a significant price movement. In his latest analysis, he points to a fractal formation pattern that suggests XRP could reach the $6–$7 range by mid-November.  Source: EGRAG CRYPTO This projection has quickly caught the attention of traders and long-term investors, as XRP’s current price remains well below this target. Fractals, often used in technical analysis, are recurring chart patterns that can help predict future price action by identifying historical similarities in market behavior.  Therefore, EGRAG CRYPTO argues that XRP is currently mirroring a previous structure that led to a notable rally. If this fractal setup plays out as expected, it could mark one of the most significant price surges for the digital asset in recent years. If XRP reaches $6–$7 by mid-November, it would mark a major win for investors and a symbolic breakthrough for a token that has endured regulatory battles and market volatility, validating its resilience and cementing its relevance in the evolving digital finance ecosystem. Meanwhile, a recent cup-and-handle pattern signalled that XRP had the potential of soaring to $15 by year-end with the altcoin presently trading at $3.04 per CoinGecko data.  DLT-Based Solutions: How Ripple and Stellar are Redefining Cross-Border Banking According to crypto observer SMQKE, distributed ledger technology (DLT)-based solutions are increasingly challenging the traditional correspondent banking model.  For decades, cross-border payments have relied on a chain of intermediaries, often resulting in slow settlements, high costs, and limited transparency. But with the rise of blockchain networks such as Ripple and Stellar, the industry is experiencing a seismic shift. The correspondent banking model depends on trust and pre-funded accounts, locking up liquidity and exposing banks to counterparty risk.  Transactions often take days to…
Share
BitcoinEthereumNews2025/09/19 16:12