Skip to content

E-2b: OIDN fast / balanced / high vs our real-time filters, rerun at HEAD + review-bench A/B - #34

Merged
DennisSmolek merged 3 commits into
mainfrom
feat/oidn-vs-svgf-bench
Nov 25, 2026
Merged

DennisSmolek merged 3 commits into
mainfrom
feat/oidn-vs-svgf-bench

Conversation

@DennisSmolek

Copy link
Copy Markdown
Member

Reruns E-2 at today's HEAD to check the claim "OIDN gives a much cleaner single frame than SVGF". This PR adds OIDN balanced, per-region / flicker / boil numbers, four more scenes and a 1080p cost run. It also puts OIDN fast / balanced / high on the review bench for a visual A/B.

Results doc: docs/research/rt-denoiser/results/E2b-oidn-vs-svgf.md (conclusion first). Raw data is in results/data/e2b-*.json.

Findings

  • Settled frames: our shipped filters beat OIDN at every quality, in every group and on every signal (FLIP agrees). There are five per-capture exceptions:

    • bistro-move shadows, −2.4 dB. Ours equals the raw input there; this was already in the scorecard.
    • golden-G4 shadows, −0.27 dB.
    • Test-bed specular on pan, cut and glossy, −0.1 to −0.8 dB.
  • Frame 0 (reset):

    • Test bed: ours ahead in the group means.
    • Real scenes: OIDN high/balanced lead on diffuse in 8 of 8 captures (≤ 1.1 dB) and on AO in 8 of 8 (≤ 2.1 dB).
    • OIDN fast leads diffuse in only 3 of 8.
    • A-SVGF overtakes within a few frames.
  • Real-scene shadows flipped since E-2: ours are now ahead by +2.1 dB, and by +4.8 dB in penumbrae.

  • Temporal stability: OIDN flickers 1.1–3× as much as ours. On moving shadows it boils above the clean reference; ours stay at or below it.

  • Cost at 1080p, per signal (best-effort; shared Mac, load recorded per round):

    filter ms
    OIDN fast 45
    OIDN balanced 86
    OIDN high 216
    ours, diffuse + specular together 4.3
    ours, shadows 0.65
    ours, AO 1.9

Changes

  • tools/rt-capture: new oidn-balanced replay arm.
  • tools/scorecard/metrics.mjs: additive fields only, so existing numbers are unchanged:
    • frame-0 PSNR
    • per-region PSNR, including penumbra
    • fixed-pixel flicker
  • tools/scorecard: three new scripts:
    • oidn-vs-svgf.mjs: replays under gpu-lock.sh and scores
    • oidn-cost.mjs: 1080p cost run
    • oidn-vs-svgf-report.mjs: generates the tables
  • Review bench: new oidn.engine row and card E2b.
    • An OIDN side runs in lockstep: render offscreen, wait for OIDN, then present the same frame. The note in the UI says so.
    • Each side has its own driver pass, because of the 16-sampler cap.
    • run-realtime.mjs review checks it.
  • TASKS.md and REVIEW-BENCH.md: updated, with two follow-ups:
    • bistro-move shadows
    • frame-0 AO and shadows on the asset scenes

Verification

  • Unchanged arms reproduce E-2 exactly (OIDN high 35.76 / 31.82 / 30.32 dB, svgf 38.09 on std540-orbit).
  • Lockstep checked in headless Chrome with run-realtime.mjs review, corner and sponza:
    • all four OIDN signals get results
    • no NaN or Inf
    • A/B difference > 0
    • OIDN switches off again when unset
  • UI controls checked in the browser pane: card buttons, table row, disabled reasons and the note.
  • Not checked visually: animation frames in the pane, because the pane was hidden during the session.

No NRD code read (RULES.md rule 8).

🤖 Generated with Claude Code

DennisSmolek and others added 3 commits November 19, 2026 12:57
…st, report

- tools/rt-capture: oidn-balanced entry (base weights, fp32) beside oidn (high) and oidn-default (fast)
- tools/scorecard/lib/metrics.mjs: additive fields psnrFrame0, regionPsnr (static / moving / disocc /
  dense / penumbra), fixed-pixel flicker; existing numbers unchanged
- oidn-vs-svgf.mjs replays every arm per capture under tools/gpu-lock.sh and scores it;
  oidn-cost.mjs times 1080p in interleaved rounds with load recorded; oidn-vs-svgf-report.mjs
  writes the results doc's tables

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
oidn.engine switch + E2b flip-test card (B: fast / balanced / high buttons). A side showing OIDN
gets denoiser/three denoise() nodes (WGSL runtime, renderer's device, clean aux) per signal; the
page runs in lockstep (render offscreen, wait for OIDN, present the same frame with the node frame
id held) and says so under the canvas. OIDN nodes and the unseen real-time nodes render in a
per-side driver pass (16-sampler cap). /tzas served by the dev server. run-realtime.mjs review
checks lockstep results, finiteness and A != B.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
results/E2b-oidn-vs-svgf.md (conclusion first) + data: E-2's captures re-run at 7014384 plus the
moving-occluder and golden captures, frame 0 vs settled, per region, flicker, boil k=1/8, 1080p
cost. With history ours beat every OIDN quality on every signal and scene group (five per-capture
exceptions: bistro-move and golden-G4 shadows, three test-bed specular paths); OIDN high / balanced
lead frame 0 on real-scene diffuse (<= 1.1 dB) and AO (<= 2.1 dB); real-scene shadows flipped to
ours. Bench card E2b jumps updated to these places; TASKS: e2b done + two follow-ups.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@DennisSmolek
DennisSmolek merged commit 7d58b7c into main Nov 25, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant