{
  "canonical_url": "http://127.0.0.1:18768/hnet/index.html",
  "edition": "source-grounded-v3-encoder-learning-evidence",
  "source_revision": "3673fe1217ebeb0d1438c7c71d58d32bdd190ec2",
  "source_paper": "https://arxiv.org/html/2507.07955v2",
  "historical_reference_paper": "https://arxiv.org/html/2507.07955v1",
  "retrieval_date": "2026-11-18",
  "source_audit": "SOURCE-AUDIT.md",
  "source_documents": [
    {
      "kind": "supplied-local-paper",
      "version": "2507.07955v2",
      "revision_date": "2025-07-15",
      "pages": 39,
      "size_bytes": 1375282,
      "sha256": "04a2b32e6e82853cfc23c5db132750874a86cde99219ec6f664128f4aa83122f",
      "url": "https://arxiv.org/html/2507.07955v2",
      "local_path": "./Dropbox\\ResearchPaper\\Attention Methods\\Dynamic Chunking for End-to-End Hierarchical Sequence Modeling - 2507.07955v2.pdf",
      "verification_scope": "PDF identity and relevant method, ablation, discussion and downsampling-appendix passages inspected; English extraction cross-checked against arXiv HTML. Not an exhaustive proof or experiment reproduction."
    },
    {
      "kind": "author-blog",
      "url": "https://www.cartesia.ai/blog/from-tokens-to-bytes-part-1",
      "publication_date": "2026-10-28",
      "inspected_at": "2026-11-18",
      "model_scope": "Improved internal H-Net; distinguish the explicitly earlier original/LH-Net public mechanism",
      "artwork": "Linked, not rehosted; separate reuse permission not established",
      "experiment_status": "Author-reported, not locally reproduced"
    },
    {
      "kind": "author-blog",
      "url": "https://www.cartesia.ai/blog/from-tokens-to-bytes-part-2",
      "publication_date": "2026-10-28",
      "inspected_at": "2026-11-18",
      "model_scope": "Improved internal H-Net; distinguish the explicitly earlier original/LH-Net public mechanism",
      "artwork": "Linked, not rehosted; separate reuse permission not established",
      "experiment_status": "Author-reported, not locally reproduced"
    }
  ],
  "official_figures": [
    {
      "path": "assets\\official\\arch.png",
      "url": "https://raw.githubusercontent.com/goombalab/hnet/3673fe1217ebeb0d1438c7c71d58d32bdd190ec2/assets/arch.png",
      "author": "H-Net project; paper authors Sukjun Hwang, Brandon Wang, Albert Gu",
      "copyright": "Copyright (c) 2025 brwa-cartesia",
      "license": "MIT",
      "license_path": "assets\\official\\LICENSE",
      "license_url": "https://github.com/goombalab/hnet/blob/3673fe1217ebeb0d1438c7c71d58d32bdd190ec2/LICENSE",
      "reuse_basis": "Official repository-owned architecture asset, no separate asset license or third-party attribution found in inspected repository README/license; distributed under repository MIT notice, preserved locally.",
      "sha256": "d16d6d481c88ed60f90d95f7408f284db7ad85d777ef696036af2b2565d04e67",
      "size_bytes": 722852,
      "width": 3176,
      "height": 2720,
      "transformation": "None; original static PNG, CSS responsive display only",
      "display": "Explained in section 07 with notice, panel-by-panel reading guide, takeaway, alt text and full-size/source links",
      "other_assets": "Official english/code/chinese/korean GIFs inspected in repository listing and README; deliberately not downloaded or embedded. Static architecture chosen to avoid compulsory animation."
    },
    {
      "path": "assets\\official\\routing-crop.png",
      "derived_from": "assets\\official\\arch.png",
      "source_url": "https://raw.githubusercontent.com/goombalab/hnet/3673fe1217ebeb0d1438c7c71d58d32bdd190ec2/assets/arch.png",
      "license": "MIT",
      "license_path": "assets\\official\\LICENSE",
      "copyright": "Copyright (c) 2025 brwa-cartesia",
      "panel": "Routing module (a)",
      "transformation": "Rectangular crop only, no redraw or annotation; original retained unmodified",
      "crop_pixels": {
        "x": 1895,
        "y": 2080,
        "width": 1281,
        "height": 515
      },
      "sha256": "1810895b66761b2c9bf08199fb2274d3eb95d5fe54f987fa5a0228bc2fa6238a",
      "size_bytes": 65440,
      "width": 1281,
      "height": 515
    },
    {
      "path": "assets\\official\\smoothing-crop.png",
      "derived_from": "assets\\official\\arch.png",
      "source_url": "https://raw.githubusercontent.com/goombalab/hnet/3673fe1217ebeb0d1438c7c71d58d32bdd190ec2/assets/arch.png",
      "license": "MIT",
      "license_path": "assets\\official\\LICENSE",
      "copyright": "Copyright (c) 2025 brwa-cartesia",
      "panel": "Smoothing module (c)",
      "transformation": "Rectangular crop only, no redraw or annotation; original retained unmodified",
      "crop_pixels": {
        "x": 1895,
        "y": 800,
        "width": 1281,
        "height": 575
      },
      "sha256": "de47e9733195620881ea5cb3232bd908ae6f5c9bd32c65bf6337f8dddebd2d84",
      "size_bytes": 47062,
      "width": 1281,
      "height": 575
    },
    {
      "path": "assets\\official\\paper-v2-smoothing.png",
      "url": "https://arxiv.org/html/2507.07955v2/new_product.png",
      "source_figure": "Figure 2",
      "authors": "Sukjun Hwang, Brandon Wang, Albert Gu",
      "paper_version": "2507.07955v2",
      "license": "CC-BY-4.0",
      "license_url": "https://creativecommons.org/licenses/by/4.0/",
      "license_declaration": "https://arxiv.org/abs/2507.07955v2",
      "attribution_path": "assets\\official\\paper-figure-NOTICE.txt",
      "transformation": "None; original PNG, responsive CSS display and original explanatory caption",
      "retrieved_at": "2026-11-18",
      "sha256": "610d025849f3d29e44adaa686b5ca667228c2f8a0e5f26e5296bfb69a1e42b82",
      "size_bytes": 94678,
      "width": 2035,
      "height": 469
    }
  ],
  "mechanism_evidence": [
    {
      "claim": "Causal byte input; coarse plus projected residual before decoder; recursive architecture",
      "source": "paper §§2.1, 2.4; assets\\official\\hnet.source.py"
    },
    {
      "claim": "Adjacent-projection cosine routing; first selected; strict >0.5 release decision; paper/code projection-order and threshold distinction",
      "source": "paper §2.2.1 Eq.4; assets\\official\\dc.source.py RoutingModule.forward/step"
    },
    {
      "claim": "Selected-position EMA, probability clamp, causal repetition",
      "source": "paper §2.2.2; assets\\official\\dc.source.py DeChunkingLayer.forward/step"
    },
    {
      "claim": "Learned boundaries are not guaranteed word boundaries; numerical widgets do not run trained model",
      "source": "paper §2; explicit widget construction and existing validated numerical cores"
    },
    {
      "claim": "Complete one-stage Large contracts; T22 width1536 final RMSNorm before truncation to1024; outer decoder norm before untied 256-row head",
      "source": "Pinned configs/hnet_1stage_L.json; hnet/models/hnet.py; hnet/modules/isotropic.py; hnet/models/mixer_seq.py; SOURCE-AUDIT.md"
    },
    {
      "claim": "Newer internal blog model is not silently equated with the 2025 public release; compression, transfer and training/inference claims separated",
      "source": "Both 2026-10-28 Cartesia blogs; Part I original/LH-Net aside; Part II pretokenization and boundary-learning comparisons"
    },
    {
      "claim": "Connected one-/two-stage fixture computes causal attention, nested return, EMA, repeat, residual, decoder and all256 synthetic logits from declared supplied encoder states",
      "source": "hnet-core.js forwardFixture; forward-fixture.test.cjs; lesson.js renderProcess; no checkpoint execution"
    },
    {
      "claim": "A retained vector depends on earlier skipped bytes through a declared causal toy encoder; non-identity Wq/Wk make release and paper q/k orderings differ",
      "source": "paper v2 §2.1.2/App. E.1 for the role of encoders; hnet-core.js toyEncoder/projectedRoute; encoder-learning.test.cjs; pinned dc.source.py RoutingModule.forward"
    },
    {
      "claim": "Fixed-mask EMA/ratio derivatives and the STE surrogate (2b-1)*dL/dgate*dp/dphi are decomposed for one toy parameter; surrogate step is not guaranteed to reduce immediate loss",
      "source": "paper v2 §2.2 Eqs. 5-10; pinned hnet.source.py STE/residual order; hnet-core.js learningStep; encoder-learning.test.cjs"
    },
    {
      "claim": "Ablation, adverse-cost and metric explanations are author-reported or definitional and not reproduced locally",
      "source": "paper v2 §3.3/Fig. 7-8, App. E.1/E.3, §4 Efficiency; both 2026-10-28 Cartesia blogs; CRITICAL-REVIEW.md R4-R6"
    }
  ],
  "preservation": {
    "source_directory": "./.copilot\\session-state\\14c48ac6-7170-4cd0-8c15-8482eb592b94\\files\\hnet",
    "source_page_sha256": "45f71e57ea08662d94a72521ffaa82e28d369d9e1e34021977dd9d4beea26934",
    "strategy": "Byte-for-byte original snapshots under original-material; all 17 educational section subtrees, equations, tables, controls and source links of basics/full embedded in same-page opt-in chapters. Duplicate chapter header/nav/footer removed; one obsolete architecture caption updated. Original scalar core APIs and numerical UI scripts retained; hnet-core.js extended with a separately labeled connected synthetic forward fixture. All 17 original extra worked-explanation definitions reused verbatim as optional textual notes. Original isometric town artwork/runtime archived, not run as a competing primary interface.",
    "worked_notes": {
      "source": "original-material\\hnet-world.js",
      "generated": "reference-notes.js",
      "section_count": 17,
      "transformation": "Reuse original definition/node computation bodies verbatim; replace forced isometric presentation with optional textual worked notes; replace the displayed roof metaphor in the inference-note title with prediction"
    },
    "removed_from_reference": "Duplicate headers/navigation/footers; one stale isometric caption reworded, no educational content removed. Isometric world runtime never injected into new page; exact original remains in original-material.",
    "chapter_sections": [
      {
        "prefix": "basics",
        "ids": [
          "basics-why",
          "basics-dictionary",
          "basics-reader",
          "basics-blend",
          "basics-detail",
          "basics-nested",
          "basics-learn",
          "basics-check"
        ]
      },
      {
        "prefix": "full",
        "ids": [
          "full-idea",
          "full-architecture",
          "full-router",
          "full-dryrun",
          "full-training",
          "full-inference",
          "full-compute",
          "full-evidence",
          "full-questions"
        ]
      }
    ],
    "snapshots": [
      {
        "path": "original-material\\build-hnet-world.cjs",
        "sha256": "a6efe77df6cd674f747aa693aebff3bbd318b0f87e6897f19ddf112a43ab9c9a",
        "size_bytes": 13324
      },
      {
        "path": "original-material\\hnet-basics-core.js",
        "sha256": "c069ed03a7337034509a029d292ae1b89ed217414cb18c2fb84ecf2e3324ea0f",
        "size_bytes": 2354
      },
      {
        "path": "original-material\\hnet-basics-core.test.cjs",
        "sha256": "f5869d1d5f3f9a2cbbe2a053fa1fe52464878fdcd06607e025e79b40f10c8321",
        "size_bytes": 2278
      },
      {
        "path": "original-material\\hnet-core.js",
        "sha256": "874f8375e1b2c18ab62c5d281e9defa6a221f3ead0cc36fb326e0fdee6ad775e",
        "size_bytes": 3424
      },
      {
        "path": "original-material\\hnet-core.test.cjs",
        "sha256": "ee3b30af5ed66d1091993027809fe29036a28e62c9d5e3e994f54aa49bd15584",
        "size_bytes": 2873
      },
      {
        "path": "original-material\\hnet-flow-diagram.html",
        "sha256": "3a749b5380036f512a2661aac4258edf2fb031f7adab96570866811263ebb0f5",
        "size_bytes": 823
      },
      {
        "path": "original-material\\hnet-guide.md",
        "sha256": "81ac94ae721156912fc97c81957b578f7d535924d81023f892d3ef2ea784a74d",
        "size_bytes": 41649
      },
      {
        "path": "original-material\\hnet-isometric.html",
        "sha256": "bc8237b98afe558db297d02d30d8b73d3562765c658e633a5ce6eeeb892f4465",
        "size_bytes": 816
      },
      {
        "path": "original-material\\hnet-isometric.js",
        "sha256": "efdf726d239809945a9330d5170f2b860851ccfb6881f3a7615e573e764c8c8f",
        "size_bytes": 16689
      },
      {
        "path": "original-material\\hnet-isometric.test.cjs",
        "sha256": "be9ad6ac740596c9bac74b44a99f18a62b2ce8f4d377d405a3e8511e6e58ef20",
        "size_bytes": 1089
      },
      {
        "path": "original-material\\hnet-start-here.html",
        "sha256": "546d942cc64f2875cfaf092bad76d33e853308d22b56956a8c75868369726269",
        "size_bytes": 831
      },
      {
        "path": "original-material\\hnet-world-manifest.json",
        "sha256": "ab2ee7d12712af8a07dc8e5ddce5d4b11f81206ddde9b4fbea893bf140eb54ea",
        "size_bytes": 4655
      },
      {
        "path": "original-material\\hnet-world.css",
        "sha256": "bca5eb4a40622fdb8d02b42a9461a68df573472d8602506b1d429dba00a5806a",
        "size_bytes": 7177
      },
      {
        "path": "original-material\\hnet-world.html",
        "sha256": "45f71e57ea08662d94a72521ffaa82e28d369d9e1e34021977dd9d4beea26934",
        "size_bytes": 96915
      },
      {
        "path": "original-material\\hnet-world.js",
        "sha256": "380fb437cc16134d7d6d7f57f0ddffd9e6bcb4f515fa0398d4d3a9e53be119a0",
        "size_bytes": 33200
      },
      {
        "path": "original-material\\source-lessons\\hnet-flow-diagram.html.txt",
        "sha256": "1ac147e3d9490e9b38217ecc0c456e9f7334ff1c0225b0b3b1e4ce3ee656a4d8",
        "size_bytes": 47340
      },
      {
        "path": "original-material\\source-lessons\\hnet-isometric.html.txt",
        "sha256": "35d4c79197781fdae377a76a1872decd369eb805fb034c34a7896836512eb870",
        "size_bytes": 12325
      },
      {
        "path": "original-material\\source-lessons\\hnet-start-here.html.txt",
        "sha256": "8039c302c148a1b0f54f522e5203f5733d251ca9a08665ac1a5a97dec95040ce",
        "size_bytes": 34873
      }
    ]
  },
  "runtime": [
    {
      "path": "lesson.css",
      "sha256": "ebfc26b12d643d86e9687e923512844aadd1278e2f3bed47373b46375493d232",
      "size_bytes": 14717
    },
    {
      "path": "lesson.js",
      "sha256": "395ed46cac5249f08dc430548afebb499f5ce4d2dc1808aa6b5a73d434c4235a",
      "size_bytes": 33081
    },
    {
      "path": "reference-notes.js",
      "sha256": "a9425da77b5e5757b95a83700d0b522117cd967c8e8bf213f53d7e54dca1fcfb",
      "size_bytes": 19124
    },
    {
      "path": "hnet-core.js",
      "sha256": "34ffebbb0f4d3d5d9c0d23ad74ca8738ed1dfa068443ebb174cfb89e5ee7eefb",
      "size_bytes": 15034
    },
    {
      "path": "hnet-basics-core.js",
      "sha256": "c069ed03a7337034509a029d292ae1b89ed217414cb18c2fb84ecf2e3324ea0f",
      "size_bytes": 2354
    },
    {
      "path": "assets\\official\\arch.png",
      "sha256": "d16d6d481c88ed60f90d95f7408f284db7ad85d777ef696036af2b2565d04e67",
      "size_bytes": 722852
    },
    {
      "path": "assets\\official\\routing-crop.png",
      "sha256": "1810895b66761b2c9bf08199fb2274d3eb95d5fe54f987fa5a0228bc2fa6238a",
      "size_bytes": 65440
    },
    {
      "path": "assets\\official\\smoothing-crop.png",
      "sha256": "de47e9733195620881ea5cb3232bd908ae6f5c9bd32c65bf6337f8dddebd2d84",
      "size_bytes": 47062
    },
    {
      "path": "assets\\official\\paper-v2-smoothing.png",
      "sha256": "610d025849f3d29e44adaa686b5ca667228c2f8a0e5f26e5296bfb69a1e42b82",
      "size_bytes": 94678
    }
  ],
  "downloaded_source_evidence": [
    {
      "path": "assets\\official\\LICENSE",
      "sha256": "78d0d86467c3d5e5844807b306611bbc0c8292c2c23cd1a95d6fd2e4c92e36f8",
      "size_bytes": 1070
    },
    {
      "path": "assets\\official\\README.source.md",
      "sha256": "dc2d3802a343cd1ae1f91b7440c29c1931e54a17d9d6eb29206f2096a5e1cd1e",
      "size_bytes": 3160
    },
    {
      "path": "assets\\official\\dc.source.py",
      "sha256": "b0a30a75245a0f6911a92a56e6be80a3725fc27aa859bd0e9905c239fe87bb38",
      "size_bytes": 11927
    },
    {
      "path": "assets\\official\\hnet.source.py",
      "sha256": "237b0295cf8270e1902aba5761f6ffe7ba137a5770f2d63a9f04209816f10433",
      "size_bytes": 12965
    }
  ],
  "build_command": "node .\\build.cjs",
  "generated_html_sha256": "f594d0916b9727b0d53f991fbfaef3b41f13197ee492d4be2eb4845b4d5272db"
}
