AI 摘要This article introduces flow-based deep generative models as a third type of generative model, following previous discussions of GANs and VAEs. It explains that neither GANs nor VAEs explicitly learn the probability density function p(x) of real data, because computing p(x) requires integrating over all possible values of the latent variable z, which is intractable.
AI 摘要Autoencoders are neural network models that reconstruct high-dimensional data using a narrow bottleneck layer in the middle, which captures a compressed latent encoding as a byproduct of dimension reduction. This low-dimensional representation can be used as an embedding vector in applications such as search, assist with data compression, or reveal the underlying generative factors of the data. The article was later updated with additional sections covering VQ-VAE, VQ-VAE-2, and TD-VAE.
AI 摘要This article provides a comprehensive technical overview of attention mechanisms in deep learning, with a particular focus on self-attention and the Transformer model. It also covers related architectures such as Pointer Networks and Neural Turing Machines, and includes links to the author's implementations. The post has been revised several times with corrections and additions, including a follow-up piece on improved Transformer models.
AI 摘要This article is a hands-on tutorial on implementing deep reinforcement learning models, following two previous posts that introduced the underlying algorithms. The implementation is built with Tensorflow and the OpenAI gym environment. The full code for the tutorial is available in the lilianweng/deep-reinforcement-learning-gym repository.
AI 摘要This article covers policy gradient algorithms in reinforcement learning and has been updated multiple times between 2018 and 2021 to incorporate newly introduced methods such as SAC, D4PG, TD3, SVPG, IMPALA, and PPG, along with additional discussion on PPO. It has also been translated into Korean and Chinese thanks to community contributors.
Interpretability techniques are normally studied in isolation. We explore the powerful interfaces that arise when you combine them -- and the rich structure of this combinatorial space.
[Updated on 2020-09-03: Updated the algorithm of SARSA and Q-learning so that the difference is more pronounced. [Updated on 2021-09-19: Thanks to 爱吃猫的鱼, we have this post in Chinese].
AI 摘要The article introduces the multi-armed bandit problem, noting that algorithms have been implemented for the Bernoulli bandit. It explains the core exploration vs exploitation dilemma through a restaurant analogy: sticking with a known favorite guarantees satisfaction but risks missing better options, while constantly trying new places can lead to unpleasant experiences. This same trade-off applies to online advisors balancing known successful ads against potentially more effective new ones.
AI 摘要The author explains that despite their blog appearing abandoned with no posts in two years, they haven't disappeared but have been posting on Medium instead since joining Tesla, as it is faster and easier. They still plan to return to this blog for longer posts when they find time, but will default to Medium for short to medium-length content. They direct readers to check out their Medium blog.
AI 摘要This article is the third installment of the 'Object Detection for Dummies' series, focusing on a review of models in the R-CNN (Region-based CNN) family. It builds on Part 1, which covered basic image processing concepts like gradient vectors and HOG, and Part 2, which introduced classic CNN architectures and pioneering object recognition models like Overfeat and DPM. The author notes updates including the removal of YOLO (deferred to Part 4) and the addition of sections on bbox regression and related tricks for R-CNN.
AI 摘要This piece is Part 2 of the 'Object Detection for Dummies' blog series, which focuses on CNN, DPM, and Overfeat methods for object detection. It opens by recapping Part 1, which introduced image gradient vectors and the HOG algorithm for summarizing gradient information, image segmentation for finding potential object regions, and the Selective Search algorithm for refining those regions into better proposals.
A visual guide to Connectionist Temporal Classification, an algorithm used to train deep neural networks in speech recognition, handwriting recognition and other sequence problems.
AI 摘要The author, new to computer vision, is starting a blog series called 'Object Detection for Dummies' to explore the math behind object recognition and detection algorithms. This first part covers rudimentary image processing concepts and image segmentation methods, such as gradient vectors, HOG, and selective search, without involving deep neural networks. Deep learning models for object detection and recognition will be covered in Parts 2 and 3 of the series.
AI 摘要This article explains that machine learning models cannot directly process free-text human vocabulary, so words must be transformed into numeric values. It introduces one-hot encoding as one of the simplest transformation approaches, where each distinct word corresponds to one dimension of the resulting vector, with a binary value indicating whether the word is present (1) or absent (0).
AI 摘要The article introduces Professor Naftali Tishby's idea of applying information theory to deep learning, written in memory of him after his passing in 2021. Using the Information Bottleneck (IB) method, he proposed a new learning bound for deep neural networks, since traditional learning theory fails due to the exponentially large number of parameters. He also observed that DNN training involves two distinct phases: first fully representing the input data to minimize generalization error, then compressing the representation by forgetting irrelevant details.