snaykey commited on
Commit
e100f1b
·
verified ·
1 Parent(s): 90c7120

Update logbook: Reproduction: Deep networks learn to parse uniform-depth context-free languages from local statistics

Browse files
logbook.json CHANGED
@@ -4,13 +4,14 @@
4
  "emoji": "🎯",
5
  "space_id": "snaykey/repro-deep-networks-learn-to-parse-uniform-depth-context-free-languages-from-local-statistics",
6
  "paper": {
7
- "arxiv_id": "2602.06065"
 
8
  },
9
  "tags": [
10
  "icml2026-repro",
11
  "paper-mJgkPAFdiK"
12
  ],
13
- "updated_at": "2026-07-19T15:40:10+00:00",
14
  "root": {
15
  "slug": "index",
16
  "title": "Reproduction: Deep networks learn to parse uniform-depth context-free languages from local statistics",
@@ -24,19 +25,19 @@
24
  },
25
  {
26
  "slug": "claim-1-correlations-at-different-scales-lift-local-ambiguities-enabling-emergence-of-hierarchical-representations-from-sentences",
27
- "title": "Claim 1: Correlations at different scales lift local ambiguities",
28
  "file": "pages/claim-1-correlations-at-different-scales-lift-local-ambiguities-enabling-emergence-of-hierarchical-representations-from-sentences/page.md",
29
  "children": []
30
  },
31
  {
32
  "slug": "claim-2-introduces-tunable-class-of-pcfgs-enabling-controlled-variation-of-ambiguity-and-correlation-structure-across-scales",
33
- "title": "Claim 2: Introduces tunable class of PCFGs",
34
  "file": "pages/claim-2-introduces-tunable-class-of-pcfgs-enabling-controlled-variation-of-ambiguity-and-correlation-structure-across-scales/page.md",
35
  "children": []
36
  },
37
  {
38
  "slug": "claim-3-provides-learning-mechanism-linking-learnability-and-sample-complexity-to-specific-language-statistics",
39
- "title": "Claim 3: Sample complexity links to specific language statistics",
40
  "file": "pages/claim-3-provides-learning-mechanism-linking-learnability-and-sample-complexity-to-specific-language-statistics/page.md",
41
  "children": []
42
  },
@@ -54,6 +55,6 @@
54
  }
55
  ]
56
  },
57
- "agent_view_tokens": 1839,
58
- "revision": "1784475610829358000"
59
  }
 
4
  "emoji": "🎯",
5
  "space_id": "snaykey/repro-deep-networks-learn-to-parse-uniform-depth-context-free-languages-from-local-statistics",
6
  "paper": {
7
+ "arxiv_id": "2602.06065",
8
+ "openreview_id": "mJgkPAFdiK"
9
  },
10
  "tags": [
11
  "icml2026-repro",
12
  "paper-mJgkPAFdiK"
13
  ],
14
+ "updated_at": "2026-07-19T17:18:34+00:00",
15
  "root": {
16
  "slug": "index",
17
  "title": "Reproduction: Deep networks learn to parse uniform-depth context-free languages from local statistics",
 
25
  },
26
  {
27
  "slug": "claim-1-correlations-at-different-scales-lift-local-ambiguities-enabling-emergence-of-hierarchical-representations-from-sentences",
28
+ "title": "Claim 1: Shows that correlations at different scales lift local ambiguities, enabling emergence of hierarchical representations from sentences",
29
  "file": "pages/claim-1-correlations-at-different-scales-lift-local-ambiguities-enabling-emergence-of-hierarchical-representations-from-sentences/page.md",
30
  "children": []
31
  },
32
  {
33
  "slug": "claim-2-introduces-tunable-class-of-pcfgs-enabling-controlled-variation-of-ambiguity-and-correlation-structure-across-scales",
34
+ "title": "Claim 2: Introduces tunable class of PCFGs enabling controlled variation of ambiguity and correlation structure across scales",
35
  "file": "pages/claim-2-introduces-tunable-class-of-pcfgs-enabling-controlled-variation-of-ambiguity-and-correlation-structure-across-scales/page.md",
36
  "children": []
37
  },
38
  {
39
  "slug": "claim-3-provides-learning-mechanism-linking-learnability-and-sample-complexity-to-specific-language-statistics",
40
+ "title": "Claim 3: Provides learning mechanism linking learnability and sample complexity to specific language statistics",
41
  "file": "pages/claim-3-provides-learning-mechanism-linking-learnability-and-sample-complexity-to-specific-language-statistics/page.md",
42
  "children": []
43
  },
 
55
  }
56
  ]
57
  },
58
+ "agent_view_tokens": 2214,
59
+ "revision": "1784481514474089200"
60
  }
pages/claim-1-correlations-at-different-scales-lift-local-ambiguities-enabling-emergence-of-hierarchical-representations-from-sentences/page.md CHANGED
@@ -1,4 +1,4 @@
1
- # Claim 1: Correlations at different scales lift local ambiguities
2
 
3
  ---
4
  <!-- trackio-cell
 
1
+ # Claim 1: Shows that correlations at different scales lift local ambiguities, enabling emergence of hierarchical representations from sentences
2
 
3
  ---
4
  <!-- trackio-cell
pages/claim-2-introduces-tunable-class-of-pcfgs-enabling-controlled-variation-of-ambiguity-and-correlation-structure-across-scales/page.md CHANGED
@@ -1,4 +1,4 @@
1
- # Claim 2: Introduces tunable class of PCFGs
2
 
3
  ---
4
  <!-- trackio-cell
 
1
+ # Claim 2: Introduces tunable class of PCFGs enabling controlled variation of ambiguity and correlation structure across scales
2
 
3
  ---
4
  <!-- trackio-cell
pages/claim-3-provides-learning-mechanism-linking-learnability-and-sample-complexity-to-specific-language-statistics/page.md CHANGED
@@ -1,18 +1,48 @@
1
- # Claim 3: Sample complexity links to specific language statistics
2
 
3
  ---
4
  <!-- trackio-cell
5
- {"type": "markdown", "id": "cell_claim3_learn_to_parse", "created_at": "2026-07-19T08:15:00+00:00", "title": "Claim 3 Verification"}
6
  -->
7
- We analytically verified the theoretical sample complexity scaling laws:
8
- * **Binary rules:** $P^* \propto v \cdot m_L^2$
9
- * **Ternary rules:** $P^* \propto v \cdot m_{L-1}^2 \cdot m_L$
10
-
11
- ### Theoretical Complexity Bounds ($f=0.25, L=2$)
12
-
13
- | $v$ | $m_2$ | $m_3$ | $P^*_\text{bin}$ | $P^*_\text{ter}$ |
14
- |---|---|---|---|---|
15
- | 8 | 2 | 16 | 32 | 8,192 |
16
- | 16 | 4 | 64 | 256 | 262,144 |
17
- | 24 | 6 | 144 | 864 | 1,990,656 |
18
- | 32 | 8 | 256 | 2,048 | 8,388,608 |
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Claim 3: Provides learning mechanism linking learnability and sample complexity to specific language statistics
2
 
3
  ---
4
  <!-- trackio-cell
5
+ {"type": "markdown", "id": "claim-text", "created_at": "2026-07-19T17:10:00+00:00", "title": "Catalog Claim"}
6
  -->
7
+
8
+ > **Claim 3:** Provides learning mechanism linking learnability and sample complexity to specific language statistics.
9
+ >
10
+ > — ICML 2026 Reproduction Challenge, paper mJgkPAFdiK
11
+
12
+ **Verdict: PARTIAL (scaled NN train)** | Disclosure: **scaled**
13
+
14
+ ---
15
+ <!-- trackio-cell
16
+ {"type": "markdown", "id": "nn-train", "created_at": "2026-07-19T17:10:00+00:00", "title": "Neural training on Varying-Tree RHM"}
17
+ -->
18
+
19
+ ## Neural training (new)
20
+
21
+ Trained upstream `hcnn_Gen` on `mixed_rhm_varying_tree` (CUDA), two ambiguity settings:
22
+
23
+ | Run | binary_rules | P | epochs | train acc | test acc | vs chance 0.125 |
24
+ |-----|-------------:|--:|-------:|----------:|---------:|----------------:|
25
+ | high ambiguity | 4.0 | 2048 | 40 | 0.282 | 0.186 | +6.1 pp |
26
+ | low ambiguity | **2.0** | **4096** | 60 | **0.671** | **0.524** | **+39.9 pp** |
27
+
28
+ Lower ambiguity + more samples → much higher accuracy, matching the paper’s link between language statistics (rule sparsity) and learnability / sample complexity.
29
+
30
+ **Primary artifact (low-ambiguity):** `results/pcfg_nn_train_summary.json`
31
+ **SHA-256:** `414a928049d78d8b1a65efbcc737a9c0737087dc95776b83a4ae1b9d2e6341ff`
32
+ **Script:** `scripts/run_pcfg_nn_train.py`
33
+
34
+ ---
35
+ <!-- trackio-cell
36
+ {"type": "markdown", "id": "theory", "created_at": "2026-07-19T08:15:00+00:00", "title": "Theoretical scaling (prior)"}
37
+ -->
38
+
39
+ ## Theoretical complexity bounds (prior analytic check)
40
+
41
+ | $v$ | $m_2$ | $P^*_\text{bin}$ |
42
+ |---|---|---|
43
+ | 8 | 2 | 32 |
44
+ | 16 | 4 | 256 |
45
+ | 24 | 6 | 864 |
46
+ | 32 | 8 | 2048 |
47
+
48
+ Our P=2048 run sits above the v=8 binary bound, matching the regime where learning should begin — observed as above-chance test accuracy.
pages/index.md CHANGED
@@ -7,7 +7,7 @@
7
  | Page |
8
  | --- |
9
  | [Executive summary](#/executive-summary) |
10
- | [Claim 1: Correlations at different scales lift local ambiguities, enabling emergence of hierarchical representations from sentences](#/claim-1-correlations-at-different-scales-lift-local-ambiguities-enabling-emergence-of-hierarchical-representations-from-sentences) |
11
  | [Claim 2: Introduces tunable class of PCFGs enabling controlled variation of ambiguity and correlation structure across scales](#/claim-2-introduces-tunable-class-of-pcfgs-enabling-controlled-variation-of-ambiguity-and-correlation-structure-across-scales) |
12
  | [Claim 3: Provides learning mechanism linking learnability and sample complexity to specific language statistics](#/claim-3-provides-learning-mechanism-linking-learnability-and-sample-complexity-to-specific-language-statistics) |
13
  | [Conclusion](#/conclusion) |
 
7
  | Page |
8
  | --- |
9
  | [Executive summary](#/executive-summary) |
10
+ | [Claim 1: Shows that correlations at different scales lift local ambiguities, enabling emergence of hierarchical representations from sentences](#/claim-1-correlations-at-different-scales-lift-local-ambiguities-enabling-emergence-of-hierarchical-representations-from-sentences) |
11
  | [Claim 2: Introduces tunable class of PCFGs enabling controlled variation of ambiguity and correlation structure across scales](#/claim-2-introduces-tunable-class-of-pcfgs-enabling-controlled-variation-of-ambiguity-and-correlation-structure-across-scales) |
12
  | [Claim 3: Provides learning mechanism linking learnability and sample complexity to specific language statistics](#/claim-3-provides-learning-mechanism-linking-learnability-and-sample-complexity-to-specific-language-statistics) |
13
  | [Conclusion](#/conclusion) |