Notes & Digital Garden
These are my personal cheat sheets and paper summaries. They serve as a quick-reference guide for me to solidify my understanding of specific technologies and research, and to troubleshoot faster when I'm back in the trenches.
Cheat sheets
Information Retrieval - Models
AI/MLCheat sheet for Information Retrieval models: from traditional lexical approaches to neural and LLM-based architectures.
Information Retrieval - Intro
AI/MLCheat sheet for Information Retrieval concepts: what it is, what it solves, how it works.
Python Backend Engineering - Q&A
BackendFlask/FastAPI, ASGI/WSGI servers, async I/O, concurrency, Dockerfile
Cloud Run - Q&A
InfraCheat sheet for serverless container deployment, scaling behaviors, and cost optimization.
Quantitative Trading & Financial Markets
FinanceMarket behavior and quantitative modeling: predictability, ARCH/GARCH volatility, and regime detection with Markov models.
Paper summaries
Agents & harnesses 3
How to build, scale and improve LLM agents.
The Last AI Built by Humans: Toward Genuine Recursive Self-Improvement
SurveyByteDance · Tsinghua University · Shanghai Jiao Tong University +7
Yi Duan et al. · 2026 · arXiv preprint (survey)
A survey that defines recursive self-improvement as a closed improvement loop in which accepted changes persist and can modify the mechanisms that generate, evaluate and select later changes. It introduces a headroom-normalized index to compare capability progress across domains, classifies systems on an autonomy hierarchy (B0 to L5) by which improvement decisions are delegated to the AI, separates structural from effective recursion, and reviews the evidence in science, embodied AI, software engineering, healthcare and eight industry case studies.
Harness²: Recursive Agent Harnessing for an Open World
ResearchGoogle Cloud AI Research · Northwestern University
Ruiyao Xu et al. · 2026 · arXiv preprint
Harness² refines an agent's execution harness (system prompt, guardrails, memory, skills, tool guidance, scripts, subagents, middleware) at test time without ground-truth verifiers. A contrastive Propose–Probe–Compose step has scoped editors propose cross-domain and domain-specific edits, executes each candidate under matched conditions, and composes only the edits supported by behavioural contrasts against a reference run. Parallel or sequential task-level recursion scales the step, and harnessing-level recursion stores adopted harnesses and evidence-backed lessons in a library that guides later tasks. It is evaluated on three professional benchmarks with two frozen executor models and two initial harnesses, against memory-based, offline and per-task harness-optimization baselines.
Towards a Science of Scaling Agent Systems
ResearchGoogle Research · Google DeepMind · MIT
Yubin Kim et al. · 2026 · arXiv preprint (v3, April 2026)
A controlled comparison of a single-agent system against four multi-agent topologies (independent, centralized, decentralized, hybrid) on six agentic benchmarks with nine models from three LLM families, holding tools, prompts and token budgets fixed so that only the coordination structure varies. The authors fit a mixed-effects regression on measured coordination properties (efficiency, overhead, error amplification, message density, redundancy) together with model capability and task properties, use it to select the best architecture for held-out configurations, and identify capability saturation, a tool–coordination trade-off and topology-dependent error amplification as the main effects.
Retrieval & RAG 1
How to find the right knowledge and combine it with an LLM.
Reinforcement learning 2
How models learn from rewards, and how LLMs are fine-tuned with RL.
Reinforcement Learning: An Overview
OverviewGoogle DeepMind
Kevin P. Murphy · 2025 · arXiv preprint (book-length overview, v5, December 2025)
A continuously revised, book-length overview of deep reinforcement learning and sequential decision making. It organizes the field by what the agent learns (value function, policy or world model) and whether it learns on- or off-policy, then covers value-based methods (TD learning, Q-learning, DQN and its fixes), policy-based methods (policy gradient, actor-critic, trust regions, PPO, RL as inference, SAC), model-based RL (MCTS, MuZero, Dreamer, self-predictive world models, successor features), multi-agent RL and game theory (equilibria, self-play, CFR), RL for and with LLMs (RLHF, RLVR, GRPO variants, DPO, multi-turn agents, a runnable training example), and exploration, distributional, hierarchical, imitation and offline RL.
Reinforcement Learning for LLM Post-Training: A Survey
SurveySalesforce · AWS AI Labs · Airbnb
Zhichao Wang et al. · 2026 · arXiv preprint (survey, v4, May 2026)
A technical survey of reinforcement-learning post-training for LLMs that writes pretraining, SFT, rejection-sampling fine-tuning, RLHF with PPO, DPO and RLVR with GRPO as one policy-gradient estimator, whose behaviour is set by a data source, a per-token gradient coefficient and a stabilizer. It then decomposes recent RLVR methods along prompt sampling, response sampling and gradient-coefficient design, and covers on-policy RLHF, RLAIF, iterative DPO, Nash learning and offline DPO variants in the same notation, with per-paper comparison tables.
Other 1
Papers outside the main topics.
More notes being added as I break things and fix them.