Open Studio
AI Research Teardowns

Paper Breakdowns

Technical breakdowns of seminal AI research papers — analyzing mathematical formulations, algorithmic methods, engineering trade-offs, and production serving implications.

arXiv:2112.01488
29 Sep 2026

Definitive retrieval-systems teardown of ColBERTv2 (Santhanam et al., arXiv:2112.01488): bridging single-vector bi-encoder compression loss and cross-encoder latency via token-level MaxSim late interaction, centroid-residual b-bit quantization, and PLAID inverted-list pruning.

Core Methods:
Token-Level Multi-Vector Late Interaction via Sum-of-MaxSim OperatorCentroid-Residual Vector Compression (Coarse K-Means ID + 1-to-2 Bit Residual)Cross-Encoder Knowledge Distillation with KL-Divergence Soft LabelsIn-Batch Hard Negative Mining & Candidate Pruning
arXiv:2402.03300
29 Sep 2026

Definitive mathematical and distributed-systems teardown of DeepSeekMath (arXiv:2402.03300): eliminating the PPO value critic via Group Relative Policy Optimization (GRPO), intra-group advantage normalization, unbiased per-token KL divergence estimation, and outcome vs. process supervision.

Core Methods:
Group Relative Policy Optimization (GRPO) without a Value Critic NetworkIntra-Group Z-Score Advantage Normalization across G Sampled RolloutsUnbiased Non-Negative Schulman Per-Token KL Divergence PenaltyOutcome Supervision vs. Process Supervision Credit Assignment
arXiv:2305.14314
29 Sep 2026

Definitive mathematical and systems teardown of QLoRA (Dettmers et al., arXiv:2305.14314): information-theoretically optimal 4-bit NormalFloat (NF4) quantile binning, blockwise k-bit quantization, FP8 Double Quantization of scale constants, and CUDA Unified Memory Paged Optimizers.

Core Methods:
4-Bit NormalFloat (NF4) Information-Theoretically Optimal Quantile QuantizationBlockwise k-Bit Quantization with Independent Absmax ScalingDouble Quantization (DQ) of FP32 Quantization Constants into 8-Bit FloatsNVIDIA CUDA Unified Memory Paged Optimizers for Gradient Spike Eviction
arXiv:2310.01889
29 Sep 2026

Definitive distributed-systems and arithmetic-intensity teardown of Ring Attention (Liu et al., arXiv:2310.01889): overcoming single-GPU HBM limits via ring-topology P2P KV block circulation, overlapped communication and FlashAttention compute, and exact online softmax rescaling.

Core Methods:
Sequence-Parallel Blockwise Q, K, V Partitioning Across N Ring HostsAsynchronous Peer-to-Peer (P2P) Ring KV Block Send/Recv Double BufferingCross-Device Online Softmax Accumulator Rescaling (Exact FlashAttention)Arithmetic Intensity & Interconnect Bandwidth Lower-Bound Analysis (c >= F / B)
arXiv:2104.09864
29 Sep 2026

Definitive mathematical and kernel-level teardown of RoFormer (Su et al., arXiv:2104.09864): encoding relative token distances via multiplicative 2D complex-plane rotations, sparse element-wise slice kernels, long-term decay bounds, and NTK-aware / YaRN context extension.

Core Methods:
Complex-Plane Multiplicative Phase Rotation for Relative Position Encoding2D Block-Diagonal Orthogonal Rotation Matrix R_{Theta, m}^dO(d) Element-Wise Sin/Cos Slice Kernel without Dense Matrix MultiplicationNon-Uniform Wavelength Spectrum & NTK-Aware / YaRN Frequency Extrapolation
arXiv:2211.17192
29 Sep 2026

Definitive mathematical and systems teardown of Speculative Decoding (Leviathan et al., arXiv:2211.17192): overcoming the memory-bandwidth roofline via small draft speculation, parallel target verification, lossless modified rejection sampling, and residual distribution renormalization.

Core Methods:
Draft-Then-Verify Parallel Speculative ExecutionLossless Modified Rejection Sampling min(1, p(x) / q(x))Residual Distribution Renormalization norm(max(0, p(x) - q(x)))Expected Token Acceptance Rate (alpha) Wall-Clock Speedup Analysis
arXiv:1706.03762
29 Jul 2026

Technical paper teardown of Attention Is All You Need (Vaswani et al., NIPS 2017) detailing Scaled Dot-Product Attention math, Multi-Head Attention projections, Sinusoidal Positional Encoding, and KV cache memory bounds.

Core Methods:
Scaled Dot-Product AttentionMulti-Head Attention ProjectionsSinusoidal Positional EncodingResidual Connections & Layer Normalization
arXiv:2412.19437
26 Jul 2026

Definitive technical paper breakdown of DeepSeek-V3 and R1 detailing Multi-Head Latent Attention (MLA) low-rank KV compression, auxiliary-loss-free MoE load balancing, and DualPipe pipeline parallelism.

Core Methods:
Multi-Head Latent Attention (MLA) Low-Rank KV CompressionAuxiliary-Loss-Free MoE Load BalancingMulti-Token Prediction (MTP) Loss ObjectiveDualPipe Overlapped Computation-Communication Pipeline
arXiv:2407.08608
26 Jul 2026

Definitive paper teardown of FlashAttention-3 detailing producer-consumer warp specialization, asynchronous TMA memory loads, FP8 GEMM MMA execution, and inter-warp communication on Hopper GPUs.

Core Methods:
Producer-Consumer Warp SpecializationAsynchronous TMA (Tensor Memory Accelerator) LoadsFP8 Low-Precision GEMM Tensor Core ExecutionIn-SRAM Softmax Scaling and Online Rescaling
arXiv:2309.06180
26 Jul 2026

Definitive paper teardown of vLLM's PagedAttention architecture detailing virtual memory block translation, dynamic copy-on-write sequence forks, and prefix caching.

Core Methods:
Paged KV Cache Virtual Memory ManagerBlock Table Logical-to-Physical Address TranslationCopy-on-Write Sequence BranchingRadixTree Shared Prefix Caching
doi:10.1098/rstb.2008.0300
16 Jul 2026

Predictive processing offers a useful account of hierarchical inference and error correction, but it is not a shortcut from brain metaphor to system architecture.

Core Methods:
theoretical synthesishierarchical generative modelingpredictive-coding formulation