Cold-Serve Labs

Research

Work & Research

Our published notes, living benchmark datasets, GPU engine kernels, and reinforcement learning experiments — with regressions and negative results kept alongside wins.

Group: EVAL Decoding & Eval · DATA Living Stats · ENG Engine · RL Fine-Tuning & RL Kind: N Published Note · L Living Tracker · PM Post-Mortem / Limit · T Engineering / Research Track

01 · Research Notes

Controlled inference-time decoding audits and empirical case studies with full manual trace verification.

1 Published · 1 Active
EVAL-N01 · Published Note✓ Done

LoopCD-Logits Stops Loops but Adds No Knowledge

~10 min readDecodingAnti-LoopManual Audit

We graded 600 AA-Omniscience answers by hand (LoopCD-Logits, Liu et al., Apple, arXiv:2610.02185) on an abliterated (refusal-removed) Inkling-2-Mini build (+ separate HumanEval 164 run). Accuracy stayed flat (40 vs 38), all 7 repetition loops vanished, 1,024-token cut-offs fell 54% (p = 2.2e-5), and shorter answers kept time per question tied (−1.0%).

7 → 0 (−100%)Looping cut-offs eliminated
+10.0 Strict OI−17.3 → −7.3 (cutoff = −1)
16.64s → 16.47sTime per question (−1.0%)
Read EVAL-N01
Engine: maya-ik2 + turbo6Exp: 2026-11-29
EVAL-T01 · Decoding TrackActive

Zero-Cost LoopCD-Hidden for Inkling-2-Mini

DecodingHidden ExtrapolationInkling-2-Mini

Follow-up to EVAL-N01 on Inkling-2-Mini: instead of running a second vocabulary projection (lm_head) that costs 9–18% tok/s, we subtract earlier loop passes directly in hidden state (pass3 − pass2). Built for near-zero speed overhead and speculative-decoding compatibility; staged for full HumanEval 164 and AA-Omniscience 300 runs.

Built in maya-ik2 · Early 39-item HumanEval check: 37/39 vs 38/39 base at 33.3 tok/s
Engine: maya-ik2Exp: 2026-11-29

02 · Living Trackers & Datasets

Continuously updated benchmark datasets that grow as new evaluations, decoding tests, and RL runs finish.

1 Active Dataset · 9,112 runs
DATA-L01 · Living Tracker (v1.0)Active · Continuously Updated

Output Length by Task (Inkling-2-Mini)

~6 min readLiving DatasetContext BudgetEval & RL

Per-task output-token distributions and 4-way cut-off causes across 9,112 runs (4,112 baseline + 4,536 RL + 464 LoopCD), covering 4 standard benchmarks (AA-Omniscience, HumanEval, DataRaceBench, ParEval OpenMP/MPI) plus 11 Cold-Serve Fortran/MPI/physics suites — so eval and RL max_tokens are set from measured data.

9,112 runs4,112 base + 4,536 RL + 464 LoopCD
4 standard benchAA, HumanEval, DataRace, ParEval
1.3×–6× longerFailed vs passing median length
Open DATA-L01
Engine: maya-ik2 / TinkerUpdated: 2026-11-29

03 · Engine Optimization

Running open-weight models fast inside 32 GB unified-memory laptops (24 GiB GPU pool) with exact reference outputs by default (tubo / maya-ik2).

1 Published Note · 3 Done · 1 Upcoming · tubo page →
ENG-T02 · Agent TextbookComing soon

Optifer: Inference Optimization Textbook for AI Agents

OptiferAgent HandbookInference

A structured optimization handbook distilled from real GPU kernel, KV-cache, and serving measurements — written so AI coding agents can look up proven ceilings and dead ends before touching kernel code.

In internal use · Public scrubbed edition planned

04 · Fine-Tuning & RL

On-policy reinforcement learning, verifiable scientific computing rewards, reward-shaping post-mortems, and native reasoning-voice calibration.

1 Published Note · 2 Done · 2 Active · 1 Upcoming
RL-N01 · Published Note✓ Done

Telegraphese Hidden Backfire: When CoT Compression Looks Free In-Domain

~15 min readNegative ResultCoT CompressionOOD Backfire

Ten rounds of training Inkling-2-Mini to think in clipped, telegram-style notes cut reasoning length by 34.4% with no loss on 314 math and Python tasks (290/314). Outside those benchmarks, the model got worse at following instructions (IFEval −2.59 pp even with compression off), drawing (pelican SVG −54.5% primitives), live agent turns (+48.3% tokens and broken output), and scientific code (−7.30 pp).

−34.4% output tokensIn-domain math+code (290/314 parity)
−2.59 pp IFEval acc.Untriggered normal mode (87.06 → 84.47%)
−7.30 pp HPC pass rateVerification clipped (87.92 → 80.62%)
Read RL-N01
Engine: Tinker + llama.cppExp: 2026-11-25–27
RL-PM01 · Post-Mortem✓ Done

Why Softening Truncation Penalties Triggers Loops in RL

Negative ResultPost-MortemInkling-2-Mini

While RL-training Inkling-2-Mini on Fortran/C++ HPC tasks (GRPO, 16K token cap), we tried softening the failure penalty on cut-off answers to 0.25× instead of full −1.0. Because GRPO divides sequence reward over output tokens, a stalled 16K rollout got 32× smaller per-token penalty than a clean 2K wrong answer (8× more tokens × 4× softer penalty). The model learned to stall until the cap: held-out pass rate fell −28.75 pp, and 96.7% of 24K failures became runaway thinking loops.

Fix: drop penalty damping — use a DAPO overlong ramp (0..8K free, full −1.0 at cutoff) · Full note planned
Exp: 2026-11-27–28
RL-T01 · Training TrackActive

flumah: Verifiable Scientific-Computing RL for Inkling-2-Mini

flumahGRPOVerifiable HPC

Training Inkling-2-Mini with on-policy RL (attention-only LoRA GRPO) to write real Fortran/C++ MPI and OpenMP fluid-plasma solvers. Instead of an LLM judge, our Cold-Serve grading harness (flumah) compiles every candidate inside an isolated Docker sandbox and scores it against deterministic physics and numerical conservation tests.

Running: 160-step Dr. GRPO on Inkling-2-Mini · Token & cut-off stats logged to DATA-L01
Exp: 2026-11-27–29
RL-T02 · Research TrackActive

MimicRL: Matching a Model’s Native Reasoning Style in RL

MimicRLCoT CalibrationInkling-2-Mini

Training demos often break a reasoning model when written in another model’s voice. We profiled 2,185 real Inkling-2-Mini thinking traces (clipped 5–7 word sentences, zero markdown bolding, terse self-checks) and built MimicRL to rewrite solution demos in that exact native style. On 11 hard HPC tasks where RL previously scored 0%, style-matched demos unlocked 7/11 solves while keeping native thinking perplexity nearly unchanged (1.462 vs 1.446).

45.5% indistinguishable in blind native-vs-synthetic test (0% false positives) · Full note planned
Exp: 2026-11-28
RL-T03 · Curriculum PilotComing soon

4-Tier Curriculum RL Pilot (Unverified)

Curriculum RLPlannedInkling-2-Mini

Planned 3-seed controlled pilot testing whether staged difficulty tiers (filtering prompts by measured difficulty) outperform random mixing and self-filtering on verifiable HPC tasks — design stage only, not yet run or verified.

Pre-registered design · Pending first run