Skip to content

lane: first Qwen statement with committed real weights: weight table and cell tie for one DeltaNet head at T = 1 (M3a-1, weight side, CPU) #229

Open

Description

@wakesync

Question

Can the CPU research harness prove a statement about one Gated DeltaNet head of Qwen3.8-27B in which the head's real weights are committed, instead of chosen by the prover? Every Qwen operator proof on main so far lets the prover pick the weights and inputs (research/operators/qwen_ops/README.md). The design for the first statement with committed weights exists and is counted but not built: experiments/20261109-32-qwen-m3-design/DESIGN.md (sections 3.2, 4, 5.0, 6.2 and the ladder in section 9, step M3a-1).

Why this is on the shortest path

The target since 2026-11-21 is one of four models people actually use, chosen by what has to be built. A desk ranking put Qwen3.8-27B first, narrowly ahead of a second candidate, because it is the only one with merged work on real weights. The design names one thing as M3a's main risk: a table of committed weights next to the harness's product oracle, with the trace's weight cells tied to it (DESIGN section 4, "composition of LIN with the research harness", and section 6.2). Nothing after it can be trusted until it exists. This issue builds that piece first, alone, at the smallest size.

One milestone (about 3 hours, CPU)

The weight side of M3a-1, for head 0 of layer 0 of the pinned stock checkpoint (layer 0 is byte-identical in the pinned abliterated checkpoint, experiments/20261109-8-qwen-real-weights/RESULTS.md), at T = 1 token:

  1. PREREG first, alone. It fixes the exact statement, what is public, what is committed, what the verifier recomputes, the honest and hostile cases, and the stop rules, before any code. It also says in one plain paragraph which parts of M3a-1 are NOT in this step.
  2. Convert that head's weights to integers by the merged rule (DESIGN 5.0 and the conversion code under research/weight-binding/), from the pinned revision, fetching only that layer's tensors.
  3. Build, in the research harness, a committed table of the head's weights with its own root, and a statement that (a) reads the 1,666 weight cells the trace uses (conv taps, gains, cA, dt_bias) with the in-trace class of DESIGN 6.2 step 1, (b) ties them to the table by the batched opening of DESIGN 6.2 step 2, and (c) if it fits the time, proves the head's in_proj outputs for one token as a linear claim on the table with the layer's normed input public (DESIGN 3.2).
  4. Honest proof verifies, repeated as the PREREG registers. Hostile cases from the ladder's M3a-1 row that apply to this step are rejected: the proof checked under another weight root, one tap changed, a trace gain out of class (2^50), a trace gain in class but not the table's, the dt_bias edge cases (real layer-0 extremes accepted, 2^17 refused).
  5. Say exactly what bounds the matrix weights in this step. The design says the range proof on committed weights exists for upstream's Maverick layout only. Either a Qwen layout of it is built here, or the result states plainly that the matrix weights' range is NOT proved in this step and what that leaves open.

Out of scope

The recurrence, the gated norm, out_proj, T = 16, any other head or layer, the MLP, attention layers, head dimension 256. Any accuracy claim: this step is about binding real weights, and the arithmetic it uses (F = 12, the M2 lowering) is known to miss the accuracy bar on layer 0 (qwen-real-weights-layer0). Any GPU. Any change to cp_verify, cp_prove or cp_commit.

What each outcome means

  • Honest proofs verify and every registered hostile case is rejected: the first Qwen statement whose weights are bound exists at the smallest size, and the rest of M3a-1 (recurrence and out_proj on top of it) is the next step.
  • The composition cannot be built in the time: the result says exactly where it stopped (which block, which interface) and what the smallest missing piece is. That is a result, not a failure to hide.
  • A registered hostile case is accepted: stop, report it as a soundness finding, fix nothing in the same step.

Stop rules

Stop and report if the counted table for this step exceeds 2^23 columns, if a run's peak memory passes 14 GB, or if no honest proof verifies by the lane's deadline. Do not widen the statement after a failure.

Cost

CPU only, one host. One layer's tensors fetched from the pinned public revision (a few hundred MB). No GPU, no spend.

Activity

  1. added
    loop:active
    P1
    gate:0
    on Nov 21, 2026
  2. wakesync commented on Nov 21, 2026

    @wakesync
    OwnerAuthor

    Draft PR: #231 (head bcc4147).

    Sub-steps (a) and (b) PASS as registered, measured, unreplicated, at research settings with no security level: the real stock weights of layer 0, V head 0 (3,288,706 of them) are committed in a table; the 1,666 weights the trace reads are in their DESIGN 6.2 classes and tied to the table. Honest proofs: 5 of 5 accepted. Registered hostile cases: 8 of 8 rejected. dt_bias completeness cases: 3 of 3 accepted. Sub-step (c) was not started (see RESULTS.md: it needs a claim with columns weighted by a, which LIN does not give). The matrix weights' range is NOT proved in this step, because no Qwen WF layout exists. The LIN part runs on the hand-made test plan, so its rounds have no error bounds.

  3. added
    loop:review
    and removed
    loop:active
    on Nov 21, 2026
  4. wakesync commented on Nov 29, 2026

    @wakesync
    OwnerAuthor

    Sub-step (c) is built: draft PR #242, #242 (head 5194cc251d2cc68bf1110743c8ecee088afb9800). Measured, unreplicated, CPU research harness, research setting; no security level.

    What it shows. For V head 0 of layer 0 and ONE token, with the layer's normed input public, 514 committed outputs (all of q, k, v, z, a, b for the head) satisfy sum_j a_j M[r][j] + 2^(s_r - 1) = 2^(s_r) x_r + rem_r in the field against the committed table of PR #231, with x_r and rem_r in exact classes. It is the first proved computation in which committed Qwen matrix weights take part.

    How. No column sumcheck and no change to an existing source file. LIN already sends W = g^T M as a message, and lin.h lets a caller add a claim to the request's own group, so the public input is applied by one extra linear claim on W. That is the suggestion in the review of PR #231 (nonblocking 5), checked in the source and then built.

    Verdicts (registered, 16 runs). Honest 5 of 5 accepted. Negative tests 9 of 9 rejected. Completeness 2 of 2 accepted. The program's integer outputs equal a numpy script's in 5 of 5. One further negative test (the prover fits W so that the extra claim is true) was added by amendment after those results were known; it was rejected and is reported separately, outside the registered threshold.

    Not established.

    • The matrix weights' range: still no Qwen layout of the WF range proof, so the equation is true integer rounding only for a table of small integers. Three registered cases use tables with entries far outside any weight class on purpose, and the proof accepts those tables.
    • Any soundness level: LIN runs on hand-made unpriced plans. A priced plan for this composition needs the number of claims in a request's own test to become a parameter of blocks/frame/lin_frame.h, which is a change to an existing file and was not made.
    • Anything of the head after in_proj; more than one token, head or layer; accuracy (the input is a float norm rounded at 2^5, a choice of this step); replication.

    State of the PR. It conflicts with main: main moved during the lane and both sides appended a row to research/results.yaml. The merge helper aborted and nothing was resolved by hand. CI was green on the first five commits; no run is listed for the last two.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1gate:0loop:review

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions