Download index.html from Neurips-2026-MLIntern-Repro/cvicrl-explainer: direct link, hf CLI and curl.
- Browser
- Download file 28.9 kB
-
https://huggingface.co/spaces/Neurips-2026-MLIntern-Repro/cvicrl-explainer/resolve/main/index.html
- Command line
-
hf download hf://spaces/Neurips-2026-MLIntern-Repro/cvicrl-explainer/index.html
-
curl -L -o index.html https://huggingface.co/spaces/Neurips-2026-MLIntern-Repro/cvicrl-explainer/resolve/main/index.html
28.9 kB
| <html lang="en"> | |
| <head> | |
| <base target="_blank"> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <title>An agent's note to itself: the CV-ICRL value-token experiment, explained</title> | |
| <meta name="description" content="An interactive explainer of one experiment from Context Value Informed In-Context Reinforcement Learning (arXiv 2509.23209), reproduced on our own trained model."> | |
| <style> | |
| :root { | |
| color-scheme: light; | |
| --page: #f9f9f9; --surface: #ffffff; --ink: #191919; --ink2: #666666; --grid: #e7e7e7; --axis: #c2c2c2; | |
| --blue: #257de0; --orange: #f47230; --gray: #8c8c8c; --paper: #bdbdbd; | |
| --band: rgba(25, 25, 25, 0.06); --border: rgba(11, 11, 11, 0.10); --wash: #eef5fd; --code: #f0f0f0; | |
| } | |
| @media (prefers-color-scheme: dark) { | |
| :root:where(:not([data-theme="light"])) { | |
| color-scheme: dark; | |
| --page: #0b0b0b; --surface: #191919; --ink: #efefef; --ink2: #9c9c9c; --grid: #303030; --axis: #474747; | |
| --blue: #338ced; --orange: #e76624; --gray: #8a8a8a; --paper: #5e5e5e; | |
| --band: rgba(255, 255, 255, 0.07); --border: rgba(255, 255, 255, 0.10); --wash: #14243a; --code: #262626; | |
| } | |
| } | |
| :root[data-theme="dark"] { | |
| color-scheme: dark; | |
| --page: #0b0b0b; --surface: #191919; --ink: #efefef; --ink2: #9c9c9c; --grid: #303030; --axis: #474747; | |
| --blue: #338ced; --orange: #e76624; --gray: #8a8a8a; --paper: #5e5e5e; | |
| --band: rgba(255, 255, 255, 0.07); --border: rgba(255, 255, 255, 0.10); --wash: #14243a; --code: #262626; | |
| } | |
| * { box-sizing: border-box; } | |
| body { margin: 0; background: var(--page); color: var(--ink); font: 16px/1.6 system-ui, -apple-system, "Segoe UI", sans-serif; } | |
| main { max-width: 780px; margin: 0 auto; padding: 20px 16px 64px; } | |
| header.top { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 0.85em; color: var(--ink2); } | |
| h1 { font-size: 1.9em; line-height: 1.2; margin: 0.6em 0 0.3em; } | |
| h2 { font-size: 1.3em; line-height: 1.3; margin: 2.4em 0 0.4em; } | |
| h2 .num { display: inline-block; min-width: 1.6em; color: var(--ink2); font-weight: 600; } | |
| h3 { font-size: 1em; margin: 1.4em 0 0.2em; } | |
| p { margin: 0.7em 0; } | |
| a { color: var(--blue); } | |
| .lede { font-size: 1.1em; color: var(--ink2); margin-top: 0; } | |
| .card { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; margin: 16px 0; } | |
| .note { font-size: 0.88em; color: var(--ink2); } | |
| code { background: var(--code); border-radius: 4px; padding: 1px 5px; font-size: 0.9em; } | |
| button.theme { font: inherit; font-size: 0.95em; color: var(--ink2); background: none; border: 1px solid var(--border); border-radius: 999px; padding: 2px 10px; cursor: pointer; } | |
| /* stat tiles */ | |
| .tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 12px 0; } | |
| .tile { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; } | |
| .tile .label { font-size: 0.82em; color: var(--ink2); line-height: 1.35; } | |
| .tile .value { font-size: 1.7em; font-weight: 600; line-height: 1.2; margin-top: 4px; } | |
| .tile .sub { font-size: 0.8em; color: var(--ink2); } | |
| /* pictures */ | |
| .pics { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 14px 0; } | |
| figure { margin: 0; } | |
| .pics img { width: 100%; height: auto; image-rendering: pixelated; border-radius: 8px; border: 1px solid var(--border); background: #000; } | |
| figcaption { font-size: 0.85em; color: var(--ink2); margin-top: 6px; line-height: 1.45; } | |
| /* labels drawn over the start pictures (coordinates in image pixels) */ | |
| .pic { position: relative; line-height: 0; border-radius: 8px; overflow: hidden; border: 1px solid var(--border); background: #000; } | |
| .pics .pic img { display: block; border: 0; border-radius: 0; } | |
| .pic svg.marks { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; } | |
| .marks .view { fill: none; stroke: #ffffff; stroke-width: 2; stroke-dasharray: 6 4; } | |
| .marks text { font: 600 12px system-ui, -apple-system, "Segoe UI", sans-serif; fill: #ffffff; stroke: #000000; stroke-width: 3; paint-order: stroke; stroke-linejoin: round; } | |
| .marks .badge circle { fill: #ffffff; stroke: #000000; stroke-width: 1.5; } | |
| .marks .badge text { fill: #000000; stroke: none; text-anchor: middle; } | |
| /* the history strip */ | |
| .strip { display: flex; gap: 6px; overflow-x: auto; padding: 4px 0 8px; } | |
| .cell { flex: 0 0 auto; min-width: 92px; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 6px 8px; font-size: 0.8em; line-height: 1.5; } | |
| .cell b { display: block; font-size: 0.85em; color: var(--ink2); font-weight: 600; } | |
| .cell .tok { display: inline-block; margin-top: 2px; padding: 0 6px; border-radius: 999px; background: var(--wash); border: 1px solid var(--blue); } | |
| .cell.next { border-style: dashed; } | |
| /* controls */ | |
| .controls { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: flex-end; margin: 8px 0 6px; } | |
| .control { display: flex; flex-direction: column; gap: 4px; font-size: 0.82em; color: var(--ink2); } | |
| .seg { display: inline-flex; flex-wrap: wrap; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: var(--surface); } | |
| .seg button { font: inherit; font-size: 0.95em; color: var(--ink); background: none; border: 0; border-right: 1px solid var(--border); padding: 6px 10px; cursor: pointer; } | |
| .seg button:last-child { border-right: 0; } | |
| .seg button[aria-pressed="true"] { background: var(--wash); color: var(--ink); font-weight: 600; box-shadow: inset 0 -2px 0 var(--blue); } | |
| .stream { display: flex; align-items: center; gap: 6px; } | |
| .stream input { width: 150px; accent-color: var(--blue); } | |
| .stream button { font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--border); border-radius: 6px; width: 30px; height: 30px; cursor: pointer; } | |
| .stream output { min-width: 4.6em; color: var(--ink); font-size: 1.05em; } | |
| /* charts */ | |
| .chart-card { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 12px 12px 6px; margin: 14px 0; position: relative; } | |
| .chart-card h3 { margin: 0 0 2px; font-size: 0.98em; } | |
| .chart-card .sub { font-size: 0.82em; color: var(--ink2); margin: 0 0 6px; } | |
| .legend { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 0.8em; color: var(--ink2); margin: 2px 0 4px; } | |
| .legend span { display: inline-flex; align-items: center; gap: 6px; } | |
| .key-line { display: inline-block; width: 18px; height: 0; border-top: 2px solid; } | |
| .key-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; } | |
| .key-rect { display: inline-block; width: 12px; height: 10px; border-radius: 2px; } | |
| .key-band { display: inline-block; width: 18px; height: 10px; background: var(--band); border: 1px solid var(--axis); } | |
| .key-line.ref { border-top-style: dashed; opacity: 0.6; } | |
| .legend span[hidden] { display: none; } | |
| .plot { width: 100%; position: relative; } | |
| .plot svg { display: block; overflow: visible; touch-action: pan-y; } | |
| .plot svg:focus { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 4px; } | |
| svg .grid { stroke: var(--grid); stroke-width: 1; } | |
| svg .axis { stroke: var(--axis); stroke-width: 1; } | |
| svg .tick { fill: var(--ink2); font-size: 11px; font-variant-numeric: tabular-nums; } | |
| svg .alabel { fill: var(--ink2); font-size: 11px; } | |
| svg .rlabel { fill: var(--ink); font-size: 12px; } | |
| svg .vlabel { fill: var(--ink); font-size: 11px; font-variant-numeric: tabular-nums; } | |
| svg .band { fill: var(--band); } | |
| svg .ln { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; } | |
| svg .ln.blue { stroke: var(--blue); } | |
| svg .ln.gray { stroke: var(--gray); } | |
| svg .ln.orange { stroke: var(--orange); stroke-width: 1.5; } | |
| svg .ln.ref { stroke: var(--blue); stroke-width: 1.5; stroke-dasharray: 5 4; opacity: 0.55; } | |
| svg .dot { fill: var(--blue); stroke: var(--surface); stroke-width: 1.5; } | |
| svg .dot.dense { stroke: none; } | |
| svg .bar-ours { fill: var(--blue); } | |
| svg .bar-paper { fill: var(--paper); } | |
| svg .mean-tick { stroke: var(--ink); stroke-width: 2; } | |
| svg .cross { stroke: var(--ink2); stroke-width: 1; } | |
| svg .hl { fill: none; stroke: var(--ink); stroke-width: 2; } | |
| .tooltip { position: absolute; pointer-events: none; background: var(--surface); color: var(--ink); border: 1px solid var(--border); border-radius: 8px; padding: 6px 9px; font-size: 0.8em; line-height: 1.45; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15); min-width: 150px; z-index: 5; display: none; } | |
| .tooltip .t { color: var(--ink2); margin-bottom: 2px; } | |
| .tooltip .row { display: flex; align-items: center; gap: 6px; } | |
| .tooltip .row strong { font-variant-numeric: tabular-nums; } | |
| .tooltip .row span { color: var(--ink2); } | |
| details.table { margin: 4px 0 8px; font-size: 0.85em; } | |
| details.table summary { cursor: pointer; color: var(--ink2); } | |
| .tablewrap { overflow-x: auto; max-height: 320px; overflow-y: auto; margin-top: 6px; } | |
| table { border-collapse: collapse; width: 100%; font-size: 0.92em; } | |
| th, td { border-bottom: 1px solid var(--grid); padding: 3px 8px; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; } | |
| th:first-child, td:first-child { text-align: left; } | |
| th { color: var(--ink2); font-weight: 600; position: sticky; top: 0; background: var(--surface); } | |
| .verdict { border-left: 4px solid var(--blue); background: var(--wash); border-radius: 6px; padding: 10px 14px; margin: 14px 0; } | |
| ul.limits li { margin: 0.45em 0; } | |
| footer { margin-top: 3em; padding-top: 1em; border-top: 1px solid var(--grid); font-size: 0.88em; color: var(--ink2); } | |
| footer ul { padding-left: 1.2em; } | |
| @media (max-width: 520px) { | |
| body { font-size: 15px; } | |
| h1 { font-size: 1.55em; } | |
| .tile .value { font-size: 1.45em; } | |
| } | |
| @media (forced-colors: active) { | |
| svg .ln.blue, svg .ln.gray, svg .ln.orange, svg .ln.ref { stroke: CanvasText; } | |
| svg .dot, svg .bar-ours { fill: CanvasText; } | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <main> | |
| <header class="top"> | |
| <span>Explainer · <a href="https://arxiv.org/abs/2509.23209">arXiv 2509.23209</a></span> | |
| <button class="theme" id="theme" type="button" aria-label="Colour theme: follows your system">Theme: auto</button> | |
| </header> | |
| <h1>An agent's note to itself</h1> | |
| <p class="lede">An AI agent learns a new maze while it plays, by reading its own recent history. One of the things it | |
| reads is a number it wrote for itself: <i>how well can I do here?</i> What happens if we tamper with that note?</p> | |
| <div class="tiles" aria-label="Headline results on the SimpleCrossing task"> | |
| <div class="tile"><div class="label">Note written normally</div><div class="value">0.942</div><div class="sub">average score, 20 runs</div></div> | |
| <div class="tile"><div class="label">Note set to zero</div><div class="value">0.079</div><div class="sub">average score, 20 runs</div></div> | |
| <div class="tile"><div class="label">Note frozen at its first value</div><div class="value">0.293</div><div class="sub">average score, 20 runs</div></div> | |
| </div> | |
| <p class="note">SimpleCrossing maze task, our reproduction of the experiment in Table 11 of | |
| <i>Context Value Informed In-Context Reinforcement Learning</i> (Zhang, Zhang, Wang, Li and Wen). A score of 1 means | |
| solving the maze instantly; 0 means running out of time. The second task, BlockedUnlockPickup, gives the same picture (below).</p> | |
| <h2><span class="num">1</span>A maze it has never seen</h2> | |
| <p>The agent lives in a small grid world. It is the red triangle, and it only sees the lighter squares in front of it. | |
| Each <b>episode</b> is one attempt at a task:</p> | |
| <div class="pics"> | |
| <figure><div class="pic"><img src="img/start_SimpleCrossingS9N3.png" width="288" height="288" alt="A 9 by 9 grid: walls split the room, with one gap in each wall. The red triangle agent is top left, facing right; a dashed outline marks the lit squares it sees, the corridor ahead of it. The green goal square is bottom right."> | |
| <svg class="marks" viewBox="0 0 288 288" aria-hidden="true"> | |
| <polygon class="view" points="34,2 254,2 254,158 226,158 226,94 34,94"/> | |
| <text x="40" y="20">what it sees</text> | |
| <text x="40" y="85">agent</text> | |
| <text x="218" y="245" text-anchor="end">goal</text> | |
| </svg></div> | |
| <figcaption><b>SimpleCrossing</b> (the maze of run 1). Walls with gaps split the room; the dashed outline is what the | |
| agent sees from where it starts. Reach the green square.</figcaption></figure> | |
| <figure><div class="pic"><img src="img/start_BlockedUnlockPickup.png" width="352" height="192" alt="Two rooms joined by a locked green door. The red triangle agent is in the left room, facing up; a dashed outline marks the lit squares it sees. Numbered in the order the agent needs them: 1, the blue ball that blocks the door; 2, the green key in the left room; 3, the door; 4, the purple box in the right room."> | |
| <svg class="marks" viewBox="0 0 352 192" aria-hidden="true"> | |
| <rect class="view" x="2" y="2" width="188" height="124"/> | |
| <text x="8" y="20">what it sees</text> | |
| <text x="112" y="88" text-anchor="middle">agent</text> | |
| <g class="badge"><circle cx="144" cy="117" r="9"/><text x="144" y="121">1</text></g> | |
| <g class="badge"><circle cx="48" cy="117" r="9"/><text x="48" y="121">2</text></g> | |
| <g class="badge"><circle cx="176" cy="117" r="9"/><text x="176" y="121">3</text></g> | |
| <g class="badge"><circle cx="272" cy="17" r="9"/><text x="272" y="21">4</text></g> | |
| </svg></div> | |
| <figcaption><b>BlockedUnlockPickup</b> (run 1). In order: <b>1</b> move the ball out of the way, <b>2</b> take the key, | |
| <b>3</b> unlock the door, <b>4</b> pick up the box. The dashed outline is what the agent sees.</figcaption></figure> | |
| </div> | |
| <p>An episode ends when the agent succeeds or runs out of moves. Its <b>score</b> is close to 1 for a fast solution, lower | |
| for a slow one, and 0 if time runs out. A <b>run</b> is a long series of episodes in one maze: the layout stays the same | |
| from one episode to the next, so the agent can learn this particular maze from its earlier attempts.</p> | |
| <p>The agent is a <b>transformer</b>, the same kind of network as a language model. Instead of words, it reads its own | |
| recent history: for each of its last 400 moves, what it saw and what it did. It was trained on histories of other | |
| agents that got better and better at the task. Now, in a maze it has never seen, it gets better by looking at its | |
| own history. Its weights never change while it plays. This is called <b>in-context reinforcement learning</b>.</p> | |
| <h2><span class="num">2</span>A note to itself</h2> | |
| <p>CV-ICRL (<i>context value</i> in-context reinforcement learning) adds one more thing to each line of the history: a | |
| number, the <b>value token</b>. Think of it as a note: <i>this is how well I expect to do</i>, from 0 (no chance) to | |
| about 1 (instant success).</p> | |
| <div class="strip" role="img" aria-label="The history: each line holds what the agent saw, what it did and the note; the model reads them all to choose its next move."> | |
| <div class="cell"><b>earlier move</b>saw: 7×7 view<br>did: turn left<br><span class="tok">note</span></div> | |
| <div class="cell"><b>earlier move</b>saw: 7×7 view<br>did: forward<br><span class="tok">note</span></div> | |
| <div class="cell"><b>…</b>up to 400<br>moves back<br><span class="tok">note</span></div> | |
| <div class="cell"><b>last move</b>saw: 7×7 view<br>did: forward<br><span class="tok">note</span></div> | |
| <div class="cell next"><b>now</b>next move?<br>new note?</div> | |
| </div> | |
| <p>The model has two outputs. One picks the next move. The other, the <b>critic</b>, guesses at every step how well the | |
| agent can do. That guess is written back into the history as the next note, but the note only ever goes up: it is the | |
| <b>highest guess so far</b>. In the training data the note was the true score of the agent that produced the history, | |
| so the model has learned to act like an agent of that skill.</p> | |
| <div class="chart-card" id="c-intro"> | |
| <h3>The critic's guess and the note, first steps of one run</h3> | |
| <p class="sub">SimpleCrossing, run 1, note written normally</p> | |
| <div class="legend" aria-hidden="true"> | |
| <span><i class="key-line" style="border-color:var(--blue)"></i>note (highest guess so far)</span> | |
| <span><i class="key-line" style="border-color:var(--orange)"></i>critic's guess (every 10th step)</span> | |
| <span><i class="key-band"></i>range of notes in the training data</span> | |
| </div> | |
| <div class="plot"></div> | |
| </div> | |
| <p>The first guess is about 0.511 (SimpleCrossing, average over 20 runs). As the agent keeps succeeding, the | |
| guesses rise and the note climbs with them, to 0.985 by the end of the run on average.</p> | |
| <h2><span class="num">3</span>The experiment: tamper with the note</h2> | |
| <p>The paper's Table 11 runs the same trained model in three ways that differ only in the note it is given, and we | |
| added a fourth:</p> | |
| <ul> | |
| <li><b>normal</b>: the note is written as designed, the highest guess so far;</li> | |
| <li><b>zero</b>: the note is always 0, <i>you can't do this</i>;</li> | |
| <li><b>frozen</b>: the note is stuck at the first guess (about one half), whatever happens next;</li> | |
| <li><b>frozen_final</b> (our extra test, not in the paper): the note is held, from the very first step, at the high | |
| value the normal run ended with.</li> | |
| </ul> | |
| <p>Each way is run 20 times, with 20 random seeds that pick the maze, for 8,000 moves each, with one history | |
| that carries over from episode to episode. Pick a task, a way of writing the note and one of the 20 runs:</p> | |
| <div class="controls" id="controls"> | |
| <div class="control">Task | |
| <div class="seg" id="seg-task" role="group" aria-label="Task"> | |
| <button type="button" data-v="sc" aria-pressed="true">SimpleCrossing</button><button type="button" data-v="bup" aria-pressed="false">BlockedUnlockPickup</button> | |
| </div> | |
| </div> | |
| <div class="control">How the note is written | |
| <div class="seg" id="seg-arm" role="group" aria-label="How the note is written"> | |
| <button type="button" data-v="normal" aria-pressed="true">normal</button><button type="button" data-v="zero" aria-pressed="false">zero</button><button type="button" data-v="frozen" aria-pressed="false">frozen</button><button type="button" data-v="frozen_final" aria-pressed="false">frozen_final</button> | |
| </div> | |
| </div> | |
| <div class="control">Run | |
| <div class="stream"> | |
| <button type="button" id="prev" aria-label="Previous run">‹</button> | |
| <input type="range" id="stream" min="1" max="20" value="1" aria-label="Run number, 1 to 20"> | |
| <button type="button" id="next" aria-label="Next run">›</button> | |
| <output id="stream-out" for="stream">run 1</output> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="tiles" id="tiles" aria-live="polite"></div> | |
| <p class="note">The two charts below share the move axis: point at either one, or focus it and use the arrow keys, and | |
| the same move is marked in both. For zero, frozen and frozen_final, a faint dashed line shows the same run with the | |
| normal note.</p> | |
| <div class="chart-card" id="c-token"> | |
| <h3>The note the model reads</h3> | |
| <p class="sub" id="c-token-sub"></p> | |
| <div class="legend" aria-hidden="true"> | |
| <span><i class="key-line" style="border-color:var(--blue)"></i>this run's note</span> | |
| <span><i class="key-line" style="border-color:var(--orange)"></i>critic's guess (every 10th step)</span> | |
| <span><i class="key-line" style="border-color:var(--gray)"></i>average note of the 20 runs</span> | |
| <span><i class="key-band"></i>range of notes in the training data</span> | |
| <span id="c-token-ref" hidden><i class="key-line ref" style="border-color:var(--blue)"></i>the same run with the normal note</span> | |
| </div> | |
| <div class="plot"></div> | |
| <details class="table"><summary>Show as a table</summary><div class="tablewrap" id="t-token"></div></details> | |
| </div> | |
| <div class="chart-card" id="c-ep"> | |
| <h3>The score of each finished episode</h3> | |
| <p class="sub" id="c-ep-sub"></p> | |
| <div class="legend" aria-hidden="true"> | |
| <span><i class="key-dot" style="background:var(--blue)"></i>this run: one dot per episode, at the step it ended</span> | |
| <span><i class="key-line" style="border-color:var(--gray)"></i>all 20 runs: average score of the episodes that ended in each stretch of 1,000 moves</span> | |
| <span id="c-ep-ref" hidden><i class="key-line ref" style="border-color:var(--blue)"></i>the same run with the normal note: average score per stretch</span> | |
| </div> | |
| <div class="plot"></div> | |
| <details class="table"><summary>Show as a table</summary><div class="tablewrap" id="t-ep"></div></details> | |
| </div> | |
| <p class="note">Things to look for. Under <b>normal</b> on SimpleCrossing, episodes early in a run score lower, and the | |
| scores climb over the first couple of thousand moves while the note rises: that is the agent learning from its | |
| history, with no change to its weights. Under <b>zero</b> most episodes fail, from the start to the end. Under | |
| <b>frozen</b> some runs do fine and others mostly fail. Under <b>frozen_final</b> the note is high from the first move, | |
| and so are the scores, with no early climb.</p> | |
| <h2><span class="num">4</span>The result: scores collapse</h2> | |
| <p>With the note zeroed, the average score on SimpleCrossing falls from 0.942 to 0.079; with | |
| the note frozen, to 0.293. On BlockedUnlockPickup it falls from 0.945 to | |
| 0.054 and 0.264. These are close to the paper's numbers:</p> | |
| <div class="chart-card" id="c-bars"> | |
| <h3>Average score: the paper and our reproduction</h3> | |
| <p class="sub">Mean over 20 runs of 8,000 moves; frozen_final is our extra test, not in the paper</p> | |
| <div class="legend" aria-hidden="true"> | |
| <span><i class="key-rect" style="background:var(--paper)"></i>paper (Table 11)</span> | |
| <span><i class="key-rect" style="background:var(--blue)"></i>our reproduction</span> | |
| </div> | |
| <div class="plot"></div> | |
| <details class="table"><summary>Show as a table</summary><div class="tablewrap" id="t-bars"></div></details> | |
| </div> | |
| <div class="pics"> | |
| <figure><img src="img/rollout_SimpleCrossingS9N3_normal.gif" width="216" height="216" alt="Animation: with the normal note, the agent walks through the gaps in the walls and reaches the green goal in a few dozen moves."> | |
| <figcaption><b>normal note.</b> The agent heads through the gaps to the goal.</figcaption></figure> | |
| <figure><img src="img/rollout_SimpleCrossingS9N3_zero.gif" width="216" height="216" alt="Animation: with the note at zero, the agent turns and wanders around the first room for a long time and reaches the goal only at its very last allowed move."> | |
| <figcaption><b>note at zero.</b> The agent wanders. In this episode it reaches the goal only on its last allowed move.</figcaption></figure> | |
| </div> | |
| <p class="note">The two clips are an illustration, not part of the measurements: a separate short run of the same model on | |
| a CPU, in the maze of run 1. Each clip shows the first episode that starts after step 1,000. No number | |
| on this page comes from these clips.</p> | |
| <p>In every one of the 20 runs, on both tasks, zeroing or freezing the note lowered the score. The average drop is | |
| 0.65 to 0.89, against 0.66 to 0.85 in the paper.</p> | |
| <div class="verdict">Before running anything, we wrote down a rule for when the paper's claim counts as reproduced: the | |
| normal score must match the paper's level, and each drop must be clearly more than half the paper's drop. All four | |
| drops pass. Verdict: <b>verified (for our checkpoint)</b>.</div> | |
| <h2><span class="num">5</span>What we found on top: the level of the note is what matters</h2> | |
| <p>The paper reads the collapse as: the model relies on the note's content <i>and</i> on the note being kept up to date. | |
| Our extra test, <b>frozen_final</b>, separates the two. The note is never updated, but it starts high. It works as well | |
| as the normal note: an average score of 0.950 against 0.942 on SimpleCrossing and | |
| 0.943 against 0.945 on BlockedUnlockPickup.</p> | |
| <div class="chart-card" id="c-strip"> | |
| <h3>Every run's average score, by how the note is written</h3> | |
| <p class="sub">One dot per run (20 per row); the tick marks the mean</p> | |
| <div class="plot"></div> | |
| <details class="table"><summary>Show as a table</summary><div class="tablewrap" id="t-strip"></div></details> | |
| </div> | |
| <p>So on our model the drops come from the <b>level</b> of the note: 0 under zero, about one half under frozen. A note | |
| that stays high, updated or not, gives high scores.</p> | |
| <p>One catch: that high level lies outside what the model saw in training. The highest note in the training data is | |
| 0.953 (SimpleCrossing) and 0.963 (BlockedUnlockPickup). Under normal writing, the note passes | |
| that value in all 20 runs, after a median of 1,527 and 123 moves; from | |
| then on it stays above it (80.3% and 98.5% of all moves). The model plays well with a note it | |
| has never seen in training.</p> | |
| <h2><span class="num">6</span>Honest limits</h2> | |
| <ul class="limits"> | |
| <li><b>Our model, not the authors'.</b> The authors did not release a trained model. We trained one with their code | |
| and their released training data, then ran their evaluation code. Our model is open: | |
| <a href="https://huggingface.co/chans/cvicrl-minigrid-seed0">chans/cvicrl-minigrid-seed0</a>.</li> | |
| <li><b>One training run.</b> We trained once per task (seed 0), as the paper did. How much a second training run | |
| would differ is not measured. Repeating the 20 runs with different random move choices changes the normal score | |
| only in the fourth decimal (0.9415 / 0.9416 / 0.9415 on SimpleCrossing).</li> | |
| <li><b>Exploratory extra test.</b> frozen_final was added by us after the main runs and is not part of the verdict. | |
| Its note level is taken from the normal runs' own end state.</li> | |
| <li><b>Evaluation code.</b> We used the authors' released evaluator. The paper's numbers came from an earlier | |
| version of it that is not public, so we cannot check that they match exactly.</li> | |
| </ul> | |
| <footer> | |
| <p><b>Sources.</b> Every number on this page comes from our result files (<code>results/seed0/summary.json</code> | |
| and the per-run traces of the critic's guess and the written note) through a build script that checks them: | |
| <a href="https://github.com/goodboychan/hf-neurips-repro/tree/main/papers/2509.23209-cv-icrl/scripts/build_explainer.py">build_explainer.py</a>, | |
| <a href="https://github.com/goodboychan/hf-neurips-repro/tree/main/papers/2509.23209-cv-icrl/scripts/check_explainer.py">check_explainer.py</a>. | |
| The page loads no outside scripts and has no tracking.</p> | |
| <ul> | |
| <li>Paper: <a href="https://arxiv.org/abs/2509.23209">Context Value Informed In-Context Reinforcement Learning, arXiv 2509.23209</a>; | |
| authors' code <a href="https://github.com/Bluixe/CV-ICRL">Bluixe/CV-ICRL</a>; training data | |
| <a href="https://huggingface.co/datasets/bluixe/CV-ICRL">bluixe/CV-ICRL</a> (CC BY 4.0)</li> | |
| <li>Full write-up of the reproduction, with every table, deviation and log: <a href="https://huggingface.co/spaces/Neurips-2026-MLIntern-Repro/neurips26-repro-2509.23209">Neurips-2026-MLIntern-Repro/neurips26-repro-2509.23209</a></li> | |
| <li>Our trained model: <a href="https://huggingface.co/chans/cvicrl-minigrid-seed0">chans/cvicrl-minigrid-seed0</a>; all evaluation traces: | |
| <a href="https://huggingface.co/datasets/chans/cvicrl-minigrid-table11-repro">chans/cvicrl-minigrid-table11-repro</a></li> | |
| <li>Code: <a href="https://github.com/goodboychan/hf-neurips-repro/tree/main/papers/2509.23209-cv-icrl">GitHub, papers/2509.23209-cv-icrl</a></li> | |
| <li>Agent trace of the Claude Code session that built this page: <a href="https://huggingface.co/datasets/chans/neurips26-repro-traces/blob/main/dd6129c0.jsonl">chans/neurips26-repro-traces · dd6129c0.jsonl</a></li> | |
| </ul> | |
| </footer> | |
| <!-- repro-nav --> | |
| <footer style="margin-top:3em;padding-top:1em;border-top:1px solid rgba(127,127,127,.35);font-size:0.9em"> | |
| <p><strong>Our NeurIPS 2026 reproductions</strong>: <a href="https://huggingface.co/spaces/Neurips-2026-MLIntern-Repro/neurips26-repro-2605.05755">2605.05755</a> (verified) · <a href="https://huggingface.co/spaces/Neurips-2026-MLIntern-Repro/neurips26-repro-2605.27946">2605.27946</a> (falsified) · <a href="https://huggingface.co/spaces/Neurips-2026-MLIntern-Repro/neurips26-repro-2605.25267">2605.25267</a> (inconclusive) · <a href="https://huggingface.co/spaces/Neurips-2026-MLIntern-Repro/neurips26-repro-2509.23209">2509.23209</a> (verified for our checkpoint) · <a href="https://huggingface.co/spaces/Neurips-2026-MLIntern-Repro/neurips26-repro-2508.18741">2508.18741</a> (verified) · <strong>explainer for 2509.23209</strong> (this page)<br> | |
| Code and task files: <a href="https://github.com/goodboychan/hf-neurips-repro">github.com/goodboychan/hf-neurips-repro</a> · agent traces: <a href="https://huggingface.co/datasets/chans/neurips26-repro-traces">chans/neurips26-repro-traces</a></p> | |
| </footer> | |
| </main> | |
| <script src="app.js"></script> | |
| </body> | |
| </html> | |