Diagram of the basic principle of diffusion models, showing recovery of an image from noise. Generated by [Google Nano Banana (gemini-2.5-flash-image-preview)](https://www.nano-banana.ai/)

Fully Annotated Guide to "What are Diffusion Models?"

Diffusion models are the de facto standard for image generation. Lilian Weng’s “What Are Diffusion Models?” is an excellent introduction to it, but readers without a solid mathematical background may struggle. This article fills that gap with clear, step‑by‑step derivations and explanations.

September 2, 2025 · 74 min · 15730 words · Shichao Song

Python Package Design: API, Dependency and Code Structure

Python—a language well-suited for fast prototyping in the AI field—has become increasingly popular these days. Creating a well-designed Python package at the right time can make your work more impactful and more likely to be adopted. Since October 2024, I have been learning about Python package development. Since then, I have published my own work IAAR-Shanghai/UHGEval as a Python package, participated in the early architecture design of MemTensor/MemOS , and deeply studied and contributed to gaogaotiantian/dowhen . These experiences have given me some insights into Python package design, which I document in this post. ...

August 3, 2025 · Updated: September 8, 2025 · 15 min · 3071 words · Shichao Song

Why I Started Blogging Again

I used to blog for a while, but mostly just study notes. Now I plan to start blogging again, preferring to write in-depth long articles, especially in research and life experiences. The future of research won’t belong to the peer-review system—which is already crumbling, in my view. Plus, blogging has become an integral part of academic discourse; for instance, ICLR introduced blog post tracks in 2021 1. So, I hope to create cool stuff, write fascinating content, and hopefully catch your attention through blogging. 🌟 ...

July 21, 2025 · Updated: September 2, 2025 · 1 min · 127 words · Shichao Song

Python 爬虫学习笔记

在慕课网学习 Scrapy 时所作的笔记,后来不断发展,内容更丰富,不仅限于 Scrapy 的内容。

August 17, 2021 · Updated: September 2, 2025 · 4 min · 799 words · Shichao Song

C/C++ 语言算法与数据结构学习笔记

给自己备考用的 C/C++ 语言算法与数据结构学习笔记。从 https://github.com/Ki-Seki/algorithm 迁移而来。

February 5, 2021 · Updated: September 2, 2025 · 61 min · 12988 words · Shichao Song