paper-with-me

Papers

Understanding Diffusion Models via Code Execution

2025-12-08 · Cheng Yu arxiv

Diffusion models have achieved remarkable performance in generative modeling, yet their theoretical foundations are often intricate, and the gap between mathematical formulations in papers and practical open-source implementations can be difficult to bridge. Existing tutorials primarily focus on deriving equations, offering limited guidance on how diffusion models actually operate in code. To address this, we present a concise implementation of approximately 300 lines that explains diffusion models from a code-execution perspective. Our minimal example preserves the essential components -- including forward diffusion, reverse sampling, the noise-prediction network, and the training loop -- while removing unnecessary engineering details. This technical report aims to provide researchers with a clear, implementation-first understanding of how diffusion models work in practice and how code and theory correspond. Our code and pre-trained models are available at: https://github.com/disanda/GM/tree/main/DDPM-DDIM-ClassifierFree.

📄 PDF Abstract BibTeX arXiv:2512.07201

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Beyond Execution: Static-Analysis Rewards and Hint-Conditioned Diffusion RL for Code Generation

2026-05-16 · Shuyin Ouyang, Zhaozhi Qian, Faroq AL-Tam, Muhammad AL-Qurishi 외 arxiv

Reinforcement Learning (RL) is an important paradigm for aligning Diffusion Language Models (DLMs) toward functional correctness in code generation. However, these models often encounter a ``capability cliff'' on complex…

Reinforcement LearningCode Generation

AgenticDiffusion: Agentic Diffusion-based Path Planning for Vision-Based UAV Navigation

2026-06-02 · Faryal Batool, Muhammad Ahsan Mustafa, Fawad Mehboob, Valerii Serpiva 외 arxiv

Indoor UAV navigation requires efficient exploration, scene understanding, and reliable trajectory execution under limited field-of-view observations. Existing vision-based navigation frameworks typically rely on single-…

Scene Understanding

The Path Not Taken: Duality in Reasoning about Program Execution

2026-04-22 · Eshgin Hasanov, Md Mahadi Hassan Sibat, Santu Karmaker, Aashish Yadavally arxiv

Large language models (LLMs) have shown remarkable capabilities across diverse coding tasks. However, their adoption requires a true understanding of program execution rather than relying on surface-level patterns. Exist…

Generative AI Beyond LLMs: System Implications of Multi-Modal Generation

2023-12-22 · Alicia Golden, Samuel Hsia, Fei Sun, Bilge Acun 외

As the development of large-scale Generative AI models evolve beyond text (1D) generation to include image (2D) and video (3D) generation, processing spatial and temporal information presents unique challenges to quality…

3D Generation

CodeScope: An Execution-based Multilingual Multitask Multidimensional Benchmark for Evaluating LLMs on Code Understanding and Generation

2023-11-14 · Weixiang Yan, Haitian Liu, Yunkun Wang, Yunzhe Li 외

Large Language Models (LLMs) have demonstrated remarkable performance on assisting humans in programming and facilitating programming automation. However, existing benchmarks for evaluating the code understanding and gen…

Code Generation