Hi There!👋 Welcome to my page!

I am Zhiyang Shen, a first year Ph.D. student at Tsinghua University, supervised by Prof. Shixia Liu. My current research interest lies in the intersection of visualization and AI. I am passionate about music and photography, and I enjoy exploring parks in my free time.

Sampling, sampling, and sampling!

Sampling methods, from rejection sampling to Markov Chain Monte Carlo.

April 15, 2026 · 9 min · Zhiyang Shen

A Twenty-Month Retrospective: Lessons and Reflections

A personal reflection on the (first) research project that I’ve worked on over the past 20 months, focusing on what I learned, where I struggled, and how my thinking evolved along the way.

April 9, 2026 · 3 min · Zhiyang Shen

Perron-Frobenius Theorem and the Stationary Distribution for Markov Chains

Proof of the uniqueness of stationary distribution for finite irreducible Markov chains, using Perron-Frobenius Theorem

January 24, 2026 · 2 min · Zhiyang Shen

Understanding Diffusion Models

From differential equation to diffusion models

January 24, 2026 · 14 min · Zhiyang Shen

10月16日,分享一篇文章

木心的《同车人的啜泣》,摘自小说集《豹变》

October 16, 2025 · 1 min · Zhiyang Shen

Lecture Notes (Pieces)

Lecture notes (pieces) collected from everywhere.

September 11, 2025 · 7 min · Zhiyang Shen

What if Each Number is a Polynomial?

关于数论的一些很久以前的小想法 / Some naive ideas about number theory years ago …

June 26, 2025 · 1 min · Zhiyang Shen

LLM Quantization

8bit-Quantization Implementation for LLama-2-7b Model

February 23, 2025 · 18 min · Zhiyang Shen

Random Thoughts & Ideas

碎碎念

February 6, 2025 · 2 min · Zhiyang Shen

Write a Memory Allocator for PyTorch

Write a memory allocator from scratch.

May 16, 2024 · 7 min · Zhiyang Shen