This article provides the technical implementation details of the Tree-Diffusion architecture using PyTorch and NF-ResNet.This article provides the technical implementation details of the Tree-Diffusion architecture using PyTorch and NF-ResNet.

Implementation Details of Tree-Diffusion: Architecture and Training 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

F Implementation Details

We implement our architecture in PyTorch [1]. For our image encoder we use the NF-ResNet26 [4] implementation from the open-sourced library by Wightman [38]. Images are of size 128 × 128 × 1 for CSG2D and 128 × 128 × 3 for TinySVG. We pass the current and target images as a stack of image planes into the image encoder. Additionally, we provide the absolute difference between current and target image as additional planes.

\

\ For the autoregressive (CSGNet) baseline, we trained the model to output ground-truth programs from target images, and provided a blank current image. For tree diffusion methods, we initialized the search and rollouts using the output of the autoregressive model, which counted as a single node expansion. For our re-implementation of Ellis et al. [11], we flattened the CSG2D tree into shapes being added from left to right. We then randomly sampled a position in this shape array, compiled the output up until the sampled position, and trained the model to output the next shape using constrained grammar decoding.

\ This is a departure from the pointer network architecture in their work. We think that the lack of prior shaping, departure from a graphics specific pointer network, and not using reinforcement learning to fine-tune leads to a performance difference between their results and our re-implementation. We note that our method does not require any of these additional features, and thus the comparison is fairer. For tree diffusion search, we used a beam size of 64, with a maximum node expansion budget of 5000 nodes.

\

:::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.

:::

\

Piyasa Fırsatı
Treehouse Logosu
Treehouse Fiyatı(TREE)
$0.1001
$0.1001$0.1001
-5.74%
USD
Treehouse (TREE) Canlı Fiyat Grafiği
Sorumluluk Reddi: Bu sitede yeniden yayınlanan makaleler, halka açık platformlardan alınmıştır ve yalnızca bilgilendirme amaçlıdır. MEXC'nin görüşlerini yansıtmayabilir. Tüm hakları telif sahiplerine aittir. Herhangi bir içeriğin üçüncü taraf haklarını ihlal ettiğini düşünüyorsanız, kaldırılması için lütfen service@support.mexc.com ile iletişime geçin. MEXC, içeriğin doğruluğu, eksiksizliği veya güncelliği konusunda hiçbir garanti vermez ve sağlanan bilgilere dayalı olarak alınan herhangi bir eylemden sorumlu değildir. İçerik, finansal, yasal veya diğer profesyonel tavsiye niteliğinde değildir ve MEXC tarafından bir tavsiye veya onay olarak değerlendirilmemelidir.

Ayrıca Şunları da Beğenebilirsiniz

USD/INR opens flat on hopes of RBI’s follow-through intervention

USD/INR opens flat on hopes of RBI’s follow-through intervention

The post USD/INR opens flat on hopes of RBI’s follow-through intervention appeared on BitcoinEthereumNews.com. The Indian Rupee (INR) opens on a flat note against
Paylaş
BitcoinEthereumNews2025/12/18 13:33
U.S. Spot ETFs for DOGE & XRP Unlock New Access

U.S. Spot ETFs for DOGE & XRP Unlock New Access

The post U.S. Spot ETFs for DOGE & XRP Unlock New Access appeared on BitcoinEthereumNews.com. Crypto News 27 September 2025 | 11:40 REX Osprey has launched the first U.S.-listed spot ETFs for Dogecoin (DOGE) and XRP (XRPR), giving investors regulated, direct exposure to two of the market’s most popular altcoins. Structured under the U.S. Investment Company Act of 1940, these ETFs provide investor protections that many crypto products still lack. Following the debut, both DOGE and XRP saw notable price jumps and a spike in trading volume a clear sign of pent-up demand now that institutional and retail access is easier. This move follows earlier milestones such as Solana’s staking ETF approval and reinforces that spot crypto ETFs are no longer niche products. They are quickly becoming a mainstream gateway to digital assets beyond Bitcoin and Ethereum. The market is paying attention and traders are now looking for the next altcoin to benefit from this rising wave. What Could Be Your Next Smart Investment Move With meme coins and altcoins like DOGE and XRP now finding their way into ETF products, the market is clearly signaling where attention is headed next. Pepeto shares much of the same DNA as these tokens especially PEPE, with which it shares the iconic 420T supply model but it’s still at an early stage. Currently priced at just $0.000000155, Pepeto offers a rare chance to get in before the big moves happen, much like the earliest entries into DOGE, SHIB, or PEPE. What sets Pepeto apart is its mix of meme culture, active exchange development, and live staking utility, making it one of the most compelling presales available right now. What This Means for Pepeto and the Future of Meme Coin Plays Pepeto is stepping into this evolving market at exactly the right moment. As crypto ETFs bring meme coins into regulated channels, projects with real infrastructure and strong community backing are…
Paylaş
BitcoinEthereumNews2025/09/27 16:43
US and UK Set to Seal Landmark Crypto Cooperation Deal

US and UK Set to Seal Landmark Crypto Cooperation Deal

The United States and the United Kingdom are preparing to announce a new agreement on digital assets, with a focus on stablecoins, following high-level talks between senior officials and major industry players.
Paylaş
Cryptodaily2025/09/18 00:49