← TinyGPT · docs · devlog · roadmap · speedup
source: docs/prds/5.2-testtime-compute-scaling.md · view on GitHub ↗

PRD — Test-time compute scaling curve at 22M (Snell-methodology)

Goal

Run the Snell et al. 2024 methodology end-to-end at 22M: vary the test-time compute budget (N samples for Best-of-N, M tokens in CoT, K depth in tree search) and measure the quality-vs-FLOPs curve on a fixed eval (GSM8K suffices for V1). Produce a 22M data point for the Snell curve, which currently anchors on much larger models.

Tier-5 research arc. The most cleanly publishable arc in Tier 5 per PLAN.md — the methodology is established, the platform has all the test-time-compute primitives shipped (BoN ✅, MEMIT ✅, streaming-LLM ✅, KV cache ✅).

Why now

Scope — in

Scope — out

Files to touch

FileChange
Sources/TinyGPT/ScanTesttime.swiftnew — harness
Sources/TinyGPTModel/FlopsCount.swiftnew — closed-form FLOPs
Sources/TinyGPT/TinyGPT.swiftcase "scan-testtime"
docs/research/testtime-22m-curve.mdnew — paper-shaped artifact
evals/testtime-curve-smoke.shnew — 3 budgets × tiny model × 5 prompts; assert curve increases monotonically with budget
docs/PLAN.mdflip 5.2 ⬜ → ✅ on ship

Don’t touch

Acceptance criteria

Reference patterns

Open questions