Spaces:
Running on Zero

File size: 8,360 Bytes
c38a7c7
 
 
 
 
3428dda
c38a7c7
 
e7c60d3
bf549ce
c38a7c7
 
 
 
 
 
 
 
bf549ce
f42c079
 
252e94e
 
 
 
c38a7c7
f42c079
 
2352681
 
 
 
 
c38a7c7
f42c079
 
c38a7c7
 
 
 
 
f42c079
 
afbc7f3
 
c38a7c7
252e94e
c38a7c7
d808dae
 
 
c9e4526
d808dae
f42c079
 
c38a7c7
 
5c4d9b2
 
 
 
 
 
 
 
 
 
 
 
afbc7f3
 
 
 
5c4d9b2
 
 
 
afbc7f3
 
 
 
5c4d9b2
f42c079
8dcd89f
f42c079
c38a7c7
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <meta name="theme-color" content="#f7f8f6">
  <link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M3 12 16 5l13 7-13 7L3 12Zm0 7 13 7 13-7' fill='none' stroke='%230f766e' stroke-width='2.5'/%3E%3C/svg%3E">
  <title>Critique-then-Rerank · Decision Lab</title>
  <link rel="stylesheet" href="./workbench/lab.css?v=rank-settle">
  <script type="module" src="./workbench/lab.js?v=system1-label"></script>
</head>
<body>
  <header class="topbar">
    <div class="wordmark"><svg viewBox="0 0 32 32" width="34" height="34" fill="none" aria-hidden="true"><path d="M3 13 16 6l13 7-13 7L3 13Z M3 19l13 7 13-7" stroke="currentColor" stroke-width="1.8" stroke-linejoin="round"/><path d="M16 1v8m0 14v8" stroke="currentColor" opacity=".5"/></svg><span>Critique-then-Rerank<small>DECISION LAB / RS-CC</small></span></div>
    <div class="toplinks"><a href="https://thirteen7.github.io/Critique-then-Rerank/" data-t="project">Project ↗</a><button id="language" type="button" aria-label="切换到中文">中文</button></div>
  </header>
  <main>
    <section class="hero" aria-labelledby="headline">
      <div><p class="eyebrow"><span class="signal"></span> LEVIR-CC <span class="dim">/</span> <span data-t="heroMethod">Reranking with a System-1 Decision Model</span></p>
        <h1 id="headline" data-t="headline">The best caption isn’t always ranked first.</h1>
        <p class="lede" data-t="lede">Critique-then-Rerank looks at both images to decide whether the scene changed, then selects the caption that best describes the change.</p></div>
      <div class="hero-index task-key">
        <a class="inference-link" href="#trace-title"><span data-t="openInference">Live GPU Inference</span><span aria-hidden="true">↘</span></a>
        <p data-t="inferencePath">Image pair → Beam-15 → Final caption</p>
      </div>
    </section>
    <section class="benchmarks" aria-labelledby="results-title">
      <div class="sectionbar"><h2 id="results-title" data-t="results">Benchmark results</h2><span class="micro" data-t="baseline">SCST Beam-15 Top-1 → Critique-then-Rerank</span></div>
      <article class="panel benchmark">
        <h3>LEVIR-CC</h3>
        <div class="metric"><small>CIDEr-D</small><span>146.35 → <strong>147.65</strong></span><b>+1.30</b></div>
        <div class="metric"><small>BLEU-4</small><span>67.14 → <strong>69.35</strong></span><b>+2.21</b></div>
      </article>
    </section>
    <div class="sectionbar inference-heading"><h2 id="trace-title" tabindex="-1" data-t="trace">Live GPU Inference</h2><span class="micro">LEVIR-CC / T₁ + T₂</span></div>
    <div class="lab" aria-labelledby="trace-title">
      <aside class="observation panel" aria-labelledby="observation-title">
        <div class="sectionbar"><h2 id="observation-title" data-t="observations">Bi-temporal observations</h2><code id="case-id"></code></div>
        <div id="viewer"></div>
        <div id="case-context" class="case-context"></div>
      </aside>
      <section class="decision panel" id="inference-panel" aria-labelledby="inference-controls-title">
        <div class="sectionbar"><h3 id="inference-controls-title" data-t="listTitle">From two images to one caption</h3><span class="micro">T₁ / T₂ → CAPTION</span></div>
        <p class="explain" data-t="listIntro">Choose a preset LEVIR-CC pair to run live. Each pair contains before and after images of the same location.</p>
        <details class="pair-picker"><summary data-t="pairs">Browse LEVIR-CC image pairs</summary><div class="case-grid case-options" id="case-grid"></div></details>
        <div class="toolbar">
          <div class="transport"><button type="button" id="live" data-t="live">Run on GPU</button><button type="button" id="replay" data-t="play">▷ Step through</button></div>
        </div>
        <section class="live-monitor" aria-labelledby="monitor-title">
          <div class="monitor-head"><h4 id="monitor-title" data-t="monitor">Runtime monitor</h4><span id="run-elapsed" class="elapsed" hidden><span data-t="elapsed">Elapsed</span> <time id="run-clock"></time></span></div>
          <ol class="live-nodes" id="live-nodes" role="list"></ol>
          <div class="monitor-status"><p class="run-status" id="status" role="status"></p><progress id="live-progress" max="7" aria-labelledby="monitor-title" hidden></progress></div>
        </section>
        <div id="run-output"></div>
        <a class="trace-link" href="#decision-trace" data-t="followTrace">Follow the decision trace ↓</a>
      </section>
    </div>
    <section class="panel story flow-section" id="decision-trace" aria-labelledby="decision-title">
      <div class="sectionbar"><h2 id="decision-title" data-t="decisionTitle">State-Routed Decision Trace</h2><span id="source" class="chip"></span></div>
      <p class="explain" data-t="traceIntro">Stage 1 locks the change state. That decision determines whether to exit, return a surviving candidate directly, or run Stage 2.</p>
      <div class="trace-layout">
        <nav class="pipeline" id="pipeline" aria-labelledby="decision-title"></nav>
        <div id="inspector" class="inspector"></div>
      </div>
    </section>
    <section class="panel story flow-section" id="candidate-ranking" aria-labelledby="ranking-title">
      <div class="sectionbar"><h2 id="ranking-title" data-t="rankingTitle">Candidate Ranking Explorer</h2><span class="micro">LEVIR-CC / BEAM-15</span></div>
      <div id="rank-explorer"></div>
    </section>
    <section class="decision-lab" aria-labelledby="tasks-title">
      <div class="sectionbar"><h2 id="tasks-title" data-t="decisionLabs">One model, four decisions</h2><span class="micro">ELEPHANT-1 / LEVIR-CC</span></div>
      <p class="explain" data-t="decisionIntro">Explore how Elephant-1 detects change, verifies a caption, compares two captions, and selects from the Beam-15 pool. These examples don’t use GPU quota.</p>
      <div class="task-tabs" id="task-grid" role="tablist" aria-labelledby="tasks-title">
        <button type="button" id="task-tab-state" role="tab" data-task="0" aria-controls="task-state" aria-selected="true"><small>01</small><strong data-t="taskState">Change state</strong><span data-t="taskStateHint">Images only</span></button>
        <button type="button" id="task-tab-verify" role="tab" data-task="1" aria-controls="task-verify" aria-selected="false" tabindex="-1"><small>02</small><strong data-t="taskVerify">Caption verification</strong><span data-t="taskVerifyHint">Yes / No</span></button>
        <button type="button" id="task-tab-pair" role="tab" data-task="2" aria-controls="task-pair" aria-selected="false" tabindex="-1"><small>03</small><strong data-t="taskPair">Pairwise preference</strong><span>A / B</span></button>
        <button type="button" id="task-tab-list" role="tab" data-task="3" aria-controls="task-list" aria-selected="false" tabindex="-1"><small>04</small><strong data-t="taskList">Listwise selection</strong><span>Beam-15</span></button>
      </div>
      <div role="tabpanel" aria-labelledby="task-tab-state" id="task-state" tabindex="0"><article class="panel story task-card verify-grid"><div id="state-images"></div><div id="state-probe"></div></article></div>
      <div role="tabpanel" aria-labelledby="task-tab-verify" id="task-verify" hidden><article class="panel story task-card verify-grid"><div id="verify-images"></div><div id="probe"></div></article></div>
      <div role="tabpanel" aria-labelledby="task-tab-pair" id="task-pair" hidden><article class="panel story task-card verify-grid"><div id="task-images"></div><div id="aux-probe"></div></article></div>
      <div role="tabpanel" aria-labelledby="task-tab-list" id="task-list" hidden><article class="panel story task-card verify-grid"><div id="list-images"></div><div id="list-probe"></div></article></div>
    </section>
    <p class="sr-only" id="task-announcement" role="status"></p>
    <p id="load-error" role="status"></p>
    <noscript>This interactive trace requires JavaScript. / 交互演示需要 JavaScript。</noscript>
  </main>
  <footer><span>CRITIQUE-THEN-RERANK</span><span>LEVIR-CC · DECISION LAB</span></footer>
</body>
</html>