Blog

Paper breakdowns, frontier updates and engineering notes on large language models.

Mamba: linear-time sequence modeling with selective state spaces

Mamba makes a state space model's Δ, B and C depend on the current token (selection) and runs it with a hardware-aware scan: linear cost in length, fixed-size state at inference. We recompute its parameters and Table 3, then compare LTI and selective SSMs on selective copying.

Paper notes arXiv 2023

GAIA: A benchmark for tool-using general AI assistants

GAIA contains 466 questions with verifiable answers that require reasoning, web browsing, multimodal understanding and tools. It measures complete task execution rather than isolated knowledge recall.

Paper notes ICLR 2024 2023

vLLM and PagedAttention: Managing the KV Cache Like Paged Memory

The vLLM paper (SOSP 2023) brings operating-system paging to the KV cache: fixed-size blocks, on-demand allocation, a block table, copy-on-write sharing. This post checks the paper's numbers and shows the real range behind the headline 2-4x, what it was compared with, and where it stops applying.

Paper notes SOSP 2023

YaRN: Extending RoPE Models to a 128K Context Window with Light Fine-Tuning

YaRN extends a RoPE model's context window by interpolating each rotary dimension according to how many turns it makes within the training length and adding a softmax temperature tied to ln s. 400 to 600 fine-tuning steps take Llama 2 to 128K. This post covers PI, NTK-aware and the evidence.

Paper notes arXiv 2023

Lost in the Middle: Models Use the Start and End of a Long Context Best

Liu et al. (2023) moved the answer around inside long inputs and found a U-shaped curve: accuracy is highest at the start or end and lowest in the middle. With 20 documents GPT-3.5-Turbo loses 22.0 points between its best and worst position. This post recomputes the results and discusses RAG.

Paper notes TACL 2023