Skip to content

Phase 4j: the graph softmax-tie is redundancy, not complementarity - #6

Merged
dkjo8 merged 2 commits into
mainfrom
phase-4j-complementarity
Jul 28, 2026
Merged

Phase 4j: the graph softmax-tie is redundancy, not complementarity#6
dkjo8 merged 2 commits into
mainfrom
phase-4j-complementarity

Conversation

@dkjo8

@dkjo8 dkjo8 commented Jul 28, 2026

Copy link
Copy Markdown
Owner

Resolves what "geometry ties softmax on graph" means, via a combined-mapper test.

Method

Fit a nonconformity mapper on [geometry ∪ softmax] and compare to one on [softmax] alone (both on the fit fold). Positive ΔAURC ⇒ geometry adds conditional signal over softmax.

Result (5 seeds / cell → T4)

task reasoner geom vs softmax (head-to-head) geom adds over softmax
arithmetic basin −0.011 (0/5) +0.001 (0/5)
arithmetic IRED +0.007 (4/5) +0.007 (4/5 add)
graph basin −0.034 (0/5) −0.006 (0/5)
graph IRED +0.001 (0/5, ties) +0.001 (0/5)

Geometry adds over softmax only where it also wins head-to-head (arithmetic-IRED). On graph-IRED the combined mapper is no better than softmax alone — so the graph tie is genuine redundancy, not a complementary-but-losing signal. Clean summary: geometry always beats the EBT scalar energy; it beats/adds-to softmax only under a learned landscape on arithmetic.

Also

  • headline_cell hardened: config-schema additions changed the config_hash, so a re-run's rows didn't dedup against the old ones (a 10-row K=12 headline group). Now dedups each (K, n_test) group by seed (latest timestamp) and prefers the newest field-carrying cell; T1 stays canonical basin-center.
  • T4 table + paper paragraph; F2 gains the combined line. 95 tests green, ruff clean; paper rebuilds. Additive/non-breaking.

🤖 Generated with Claude Code

David Khachatryan Johansson and others added 2 commits July 28, 2026 15:13
… softmax?

Adds the machinery to answer whether geometry is redundant with or complementary to softmax
confidence (the open question after geometry ties softmax head-to-head on graph).

- eval/evaluate.py: fit a softmax-only mapper and a [geometry ∪ softmax] combined mapper on the
  fit fold (invariant 7); add `softmax_learned` + `geom_softmax` scores and
  `delta_aurc_geom_adds` = ΔAURC(softmax_learned − geom_softmax) (positive w/ CI>0 => geometry
  adds conditional signal) + `geometry_adds_over_softmax`.
- analysis/aggregate.py: aggregate the field (+ has_geom_adds guard for pre-4j rows).
- analysis/make_tables.py: T4_complementarity table (per task × reasoner: head-to-head vs
  geometry-adds). plotting: F2 gets softmax_learned + geom_softmax lines.
- tests: complementarity assertions in the evaluate smoke test + aggregate field/fallback. 95 green.

Metric only; opt-in/additive, non-breaking. The 4 seed sweeps are being re-run to populate it;
verdict (complementary vs redundant per cell, esp. graph-IRED) to follow.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…e_cell hardening)

Answers whether geometry ties softmax on graph out of redundancy or complementarity, via a combined
[geometry ∪ softmax] mapper vs a [softmax] mapper.

- aggregate.headline_cell: dedup each (K, n_test) group by seed (latest timestamp) and prefer the
  newest field-carrying cell — fixes a re-run bug where adding config fields changed the config_hash,
  so old+new rows for one seed both survived and polluted the headline cell.
- make_tables: T4_complementarity emitted + wired into the paper; F2 gains the combined line.
- docs/paper (abstract already tempered; experiments/conclusion) report the redundancy finding.

RESULT (5 seeds/cell): geometry adds conditional signal over softmax ONLY where it wins head-to-head
(arithmetic-IRED, 4/5, dAURC_adds +0.007). Everywhere else, incl. the crux graph-IRED cell, the
combined mapper ≈ softmax alone (0/5, +0.001) — so the graph tie is genuine redundancy: a well-
calibrated softmax already captures what descent geometry would add there. Clean summary: geometry
always beats scalar energy; it beats/adds-to softmax only under a learned landscape on arithmetic.
95 tests green, ruff clean; paper rebuilds. Additive; default reasoner + T1 unchanged.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@dkjo8
dkjo8 merged commit 357a832 into main Jul 28, 2026
@cursor

cursor Bot commented Jul 28, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@dkjo8
dkjo8 deleted the phase-4j-complementarity branch July 28, 2026 13:43
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