Yang Yang
  • about
  • blog (current)
  • publications
  • Quantization for Neural Networks

    a walkthrough of PTQ and QAT techniques for efficient on-device inference

    34 min read   ·   March 05, 2022

    2022

  • Enforcing Lipschitz Constant in Neural Network

    spectral normalization and other techniques for bounding the Lipschitz constant of neural networks

    6 min read   ·   April 03, 2021

    2021

  • Langevin Dynamics for Bayesian Inference

    connecting stochastic differential equations and the Fokker-Planck equation to Bayesian posterior sampling

    9 min read   ·   September 06, 2020

    2020

  • Understanding and Implementing Asymmetric Numeral System (ANS)

    from the theory of Asymmetric Numeral Systems to a working Python implementation

    18 min read   ·   June 26, 2020

    2020

  • Arithmetic Coding (AC) Implementation

    a from-scratch Python implementation of arithmetic coding for lossless data compression

    12 min read   ·   June 24, 2020

    2020

  • Markov Chain Monte Carlo: Gibbs, Metropolis-Hasting, and Hamiltonian

    a hands-on introduction to Gibbs sampling, Metropolis-Hastings, and Hamiltonian Monte Carlo

    10 min read   ·   July 06, 2019

    2019

  • Normalizing Flow: understanding the change of variable equation

    understanding how invertible transformations enable exact likelihood computation in normalizing flows

    8 min read   ·   March 15, 2019

    2019

  • Understanding conventional HMM-based ASR training

    how acoustic models, pronunciation lexicons, and language models combine in classical HMM-based speech recognition

    8 min read   ·   November 17, 2018

    2018

  • Comparison of end-to-end ASR models

    a probabilistic perspective on CTC, RNN-Transducer, and attention-based encoder-decoder models

    1 min read   ·   November 13, 2018

    2018

  • Gumbel max and Gumbel softmax

    the Gumbel-max trick, its continuous relaxation via Gumbel-softmax, and applications to discrete latent variables

    4 min read   ·   November 05, 2018

    2018

  • An introduction to Kalman filter and particle filter

    state estimation in linear and nonlinear dynamical systems via Kalman and particle filtering

    16 min read   ·   August 20, 2018

    2018

  • Griffin-Lim algorithm for waveform reconstruction

    an iterative phase estimation algorithm for reconstructing waveforms from magnitude spectrograms

    4 min read   ·   August 12, 2018

    2018

  • A step-by-step guide to variational inference (4): variational auto encoder

    how amortized variational inference gives rise to the encoder-decoder architecture of the VAE

    9 min read   ·   July 29, 2018

    2018

  • A step-by-step guide to variational inference (3): mean field approximation

    approximating intractable posteriors by assuming factorized independence across latent variables

    8 min read   ·   July 22, 2018

    2018

  • A step-by-step guide to variational inference (2): expectation maximization

    deriving the EM algorithm as coordinate ascent on the ELBO with a closed-form posterior

    8 min read   ·   July 15, 2018

    2018

  • A step-by-step guide to variational inference (1): variational lower bound

    deriving the ELBO from KL divergence and understanding why it underlies variational inference

    8 min read   ·   July 08, 2018

    2018

  • A solution manual to the Elements of Statistical Learning (ESL)

    solutions to selected exercises from Hastie, Tibshirani & Friedman's classic machine learning textbook

    1 min read   ·   January 01, 2018

    2018

© Copyright 2026 Yang Yang. Powered by Jekyll with al-folio theme. Hosted by GitHub Pages. Last updated: April 09, 2026.