|
1 | | -# Topology of Truth (Consolidated Main) |
| 1 | +# Topology Repository |
2 | 2 |
|
3 | | -This repository is now one merged branch with all experiments, artifacts, and paper outputs. |
| 3 | +This repo contains three completed experiment phases. The front-door claim is: |
4 | 4 |
|
5 | | -## Project Status (short) |
| 5 | +> On a held-out procedural micro-world task, `Unknown` / non-entailment is recoverable from verdict-region hidden states, while decoder outputs under-express it. |
6 | 6 |
|
7 | | -- The original global-topology hypothesis did **not** verify. |
8 | | -- A fixed-decoding GSM8K branch found a strong **convergence-failure** effect. |
9 | | -- A procedural micro-world branch found a replicated **representation--decoder dissociation** for `Unknown`. |
| 7 | +The old “global topology of truth” headline did not survive. |
10 | 8 |
|
11 | | -## The 3 Experiment Tracks |
| 9 | +## Start Here |
12 | 10 |
|
13 | | -1. **Old global H0/H1 topology (negative)** |
14 | | - Details: [docs/experiments/01_global_h0_topology/README.md](docs/experiments/01_global_h0_topology/README.md) |
15 | | - |
16 | | -2. **Convergence failure on fixed GSM8K decoding (positive)** |
17 | | - Details: [docs/experiments/02_convergence_failure/README.md](docs/experiments/02_convergence_failure/README.md) |
18 | | - |
19 | | -3. **Procedural micro-world semantics (main positive)** |
20 | | - Details: [docs/experiments/03_micro_world_semantics/README.md](docs/experiments/03_micro_world_semantics/README.md) |
21 | | - |
22 | | -Index: [docs/experiments/README.md](docs/experiments/README.md) |
23 | | - |
24 | | -## Key Results |
25 | | - |
26 | | -### Track 1 (negative) |
27 | | - |
28 | | -- Dynamic/topology separability stayed weak (`AUC ~0.5-0.6`). |
29 | | -- Corrected fixed-window topology did not beat controls (`AUC 0.20` vs controls `0.60`). |
30 | | - |
31 | | -### Track 2 (convergence) |
32 | | - |
33 | | -From `artifacts/qwen35_2b_within_question/run_manifest.csv`: |
34 | | - |
35 | | -- `n=180`, correct/wrong = `88/92` |
36 | | -- capped = `87` (`75` wrong, `12` correct) |
37 | | -- eos = `93` (`17` wrong, `76` correct) |
38 | | -- cap->wrong AUC = `0.839` |
| 11 | +- Paper source: [paper/main.tex](paper/main.tex) |
| 12 | +- Paper PDF: [paper/paper.pdf](paper/paper.pdf) |
| 13 | +- Claim-to-file mapping: [CLAIMS_AND_EVIDENCE.md](CLAIMS_AND_EVIDENCE.md) |
| 14 | +- Repository file map: [REPO_MAP.md](REPO_MAP.md) |
| 15 | +- Experiment index: [docs/experiments/README.md](docs/experiments/README.md) |
39 | 16 |
|
40 | | -From `artifacts/qwen35_2b_cap_sensitivity_640/analysis/transition_summary.csv`: |
| 17 | +## Three Phases |
41 | 18 |
|
42 | | -- matched capped reruns = `87` |
43 | | -- wrong->correct at longer budget = `27` |
44 | | -- wrong->still wrong = `48` |
| 19 | +1. Phase A (negative): global H0/H1 topology on GSM8K traces |
| 20 | + [docs/experiments/01_global_h0_topology/README.md](docs/experiments/01_global_h0_topology/README.md) |
45 | 21 |
|
46 | | -### Track 3 (micro-world) |
| 22 | +2. Phase B (positive): fixed-decoding convergence failure on GSM8K |
| 23 | + [docs/experiments/02_convergence_failure/README.md](docs/experiments/02_convergence_failure/README.md) |
47 | 24 |
|
48 | | -Decoder baseline (`artifacts/micro_world_v1/comparison_decoder_qwen_gemma.csv`): |
| 25 | +3. Phase C (main positive): procedural micro-world representation–decoder dissociation |
| 26 | + [docs/experiments/03_micro_world_semantics/README.md](docs/experiments/03_micro_world_semantics/README.md) |
49 | 27 |
|
50 | | -- Qwen3.5-2B Unknown recall = `0.000` |
51 | | -- Qwen3.5-4B Unknown recall = `0.000` |
52 | | -- Gemma-3-4B-it Unknown recall = `0.0125` |
| 28 | +## Main Numbers |
53 | 29 |
|
54 | | -Verdict-token probe (`artifacts/micro_world_v1/comparison_probe_states_qwen_gemma.csv`): |
| 30 | +- Phase A: corrected topology-only AUC = `0.20` (controls = `0.60`) |
| 31 | +- Phase B: cap→wrong AUC = `0.839`; OR ≈ `26.40` |
| 32 | +- Phase C: decoder Unknown recall (`Qwen2B=0.000`, `Qwen4B=0.000`, `Gemma-it=0.0125`) while verdict-token probe Unknown recall (`0.7375`, `0.1292`, `0.5625`) |
55 | 33 |
|
56 | | -- Qwen3.5-2B Unknown recall = `0.7375` |
57 | | -- Qwen3.5-4B Unknown recall = `0.1292` |
58 | | -- Gemma-3-4B-it Unknown recall = `0.5625` |
| 34 | +## Repo Notes |
59 | 35 |
|
60 | | -## Paper and CI |
61 | | - |
62 | | -- Paper source: [paper/main.tex](paper/main.tex) |
63 | | -- Compiled PDF: [paper/paper.pdf](paper/paper.pdf) |
64 | | -- Figure generator: [paper/scripts/make_figures.py](paper/scripts/make_figures.py) |
65 | | -- CI workflow: [.github/workflows/paper.yml](.github/workflows/paper.yml) |
66 | | -- Release bundle script: [scripts/package_release_bundle.py](scripts/package_release_bundle.py) |
| 36 | +- Legacy root Python scripts were moved to `phase_a_global_h0_topology/scripts/`. |
| 37 | +- All committed artifacts are kept under `artifacts/` and `outputs/`. |
| 38 | +- `.npz` artifacts are committed (not ignored). |
67 | 39 |
|
68 | 40 | ## Reproducibility |
69 | 41 |
|
70 | | -- Version lock: [repro/requirements.lock.txt](repro/requirements.lock.txt) |
71 | | -- Rebuild instructions: [repro/README.md](repro/README.md) |
72 | | - |
73 | | -## Artifact policy |
74 | | - |
75 | | -All committed artifacts are retained in-repo under `artifacts/` and `outputs/`. |
76 | | -Release packaging additionally provides `release/paper_release_bundle.tar.gz` for a compact reproducible subset. |
| 42 | +- Locked deps: [repro/requirements.lock.txt](repro/requirements.lock.txt) |
| 43 | +- Rebuild guide: [repro/README.md](repro/README.md) |
| 44 | +- CI build/release: [.github/workflows/paper.yml](.github/workflows/paper.yml) |
0 commit comments