馃憢 Hi, all!

I am Elliot Shichao Song, a PhD candidate. My current research focuses on foundation models. I blog about my research and life.
Semantic islands: retrieving similar samples from a sea of images (generated with [ChatGPT Images](https://chatgpt.com/))

A Billion-Scale Retrieval System for Text-to-Image Training Data

Training a text-to-image model from scratch means finding, inspecting and filtering samples across billions of image鈥搕ext pairs. Using a retrieval system over 1.4B samples as an example, this post covers data storage and management, distributed embedding extraction, building and querying an IVF-PQ index, and online retrieval and cluster browsing.

 路 19 min 路 3948 words 路 Elliot Shichao Song
Reinforcement Learning illustration (by [Google Gemini](https://gemini.google.com/))

Fully Annotated Guide to "A (Long) Peek into Reinforcement Learning"

This is a fully annotated guide to Lilian Weng鈥檚 post A (Long) Peek into Reinforcement Learning.

 路 Updated:  路 45 min 路 9392 words 路 Shichao Song
Multi-armed bandit (by [ChatGPT Images 2.0](https://openai.com/index/introducing-chatgpt-images-2-0/))

Fully Annotated Guide to "The Multi-Armed Bandit Problem and Its Solutions"

The multi-armed bandit problem is a classic exploration鈥揺xploitation dilemma in reinforcement learning. Lilian Weng鈥檚 post is an excellent introduction, but some mathematical details and motivations can be cryptic. This article annotates it with step-by-step explanations and supplementary notes.

 路 Updated:  路 16 min 路 3257 words 路 Shichao Song
The Ouroboros Process (by [Google Gemini](https://gemini.google.com/))

Product Requirements Document of Ouroboros

An agentic DOM workspace where an LLM has full read/write/delete privileges over its own source code and visual interface.

 路 Updated:  路 12 min 路 2553 words 路 Shichao Song, Qingchen Yu, Huayi Lai, Xiaonan Zhang
The Great Decoupling (by [Google Gemini](https://gemini.google.com/))

Everything is Fleeting: A Roadmap to the Post-Labor AI Economy

A speculative roadmap of how AI will dismantle the labor market and what comes after.

 路 Updated:  路 12 min 路 2532 words 路 Shichao Song