How to use from the
Use from the
PEFT library
Task type is invalid.

Thinking-Jev RMT v0.2.0: Qwen3.5-2B looped-memory reader (limited-scope experimental release)

Status: experimental research checkpoint for adaptive-stopping research, release v0.2.0.

  • It is not a solved or general-purpose latent reasoner.
  • It did not pass all of our pre-registered readiness criteria. See "Release decision" below.
  • v0.1.0 remains available, unchanged, under the tag v0.1.0.

What changed from v0.1.0

v0.1.0 v0.2.0
Peak accuracy, 12-swap stories (never trained) 0.76 0.91 (+0.15, 95 % interval [0.06, 0.25])
Peak accuracy, 16-swap stories (never trained) 0.56 0.68 (+0.11, [0.00, 0.23])
Accuracy after 48 thinking steps (8 / 12 / 16 swaps) 0.20 / 0.24 / 0.23 (collapsed by step 16) 0.99 / 0.81 / 0.65
Gain from extra thinking (best step − step 1; 8 / 12 / 16 swaps) 0.00 / +0.11 / +0.14, followed by collapse +0.06 / +0.09 / +0.19, then holds
Interface, files, state format jev_latent identical (code written for v0.1.0 runs unchanged)

What it is

A LoRA adapter (r = 16) on Qwen/Qwen3.5-2B, plus 16 learned memory vectors and a scalar decision head. The model reads a fixed text again and again:

  • pass (one latent thinking step): [memory, text, memory] → new memory (16 vectors). The text is the same at every pass; no new information is given.
  • read-out: a fresh pass over [memory, question prompt], without the text. Each answer candidate is scored by the head, then a softmax.
  • state: the memories at depths 0…t. States can be saved, reloaded, continued and branched ("stop now" or "think one more pass").

Use

from huggingface_hub import snapshot_download
from jev_latent import LatentJev            # jev_latent.py ships in this repository

path = snapshot_download("yixuanzheng/Thinking-Jev-RMT", revision="v0.2.0")   # pin the version
m = LatentJev.from_pretrained(path)          # checks SHA256SUMS; loads Qwen/Qwen3.5-2B at the pinned revision
s = m.start(text)                            # depth 0
s = m.step(s)                                # one more pass on the same text (returns a new state)
m.answer(s, questions)                       # Jev request in, typed answers with probabilities out
m.decide(text, questions, max_depth=6)       # answers and probabilities at depths 1..6
m.save(s, "run.safetensors"); s2 = m.load("run.safetensors")
stop, think = m.answer(s2, questions), m.answer(m.step(s2), questions)
  • Requirements are pinned in requirements.txt. example.py runs a three-swap story.
  • Saved states refuse to load under another model (including v0.1.0) or with altered text.
  • Exact replay is promised for batch size 1 on the same device type and dtype (tested on an NVIDIA L40S, bf16).
  • calibrated=True has no effect in this release (temperature 1.0; see the limitations).

Results

Box-swap stories with five boxes and five objects (chance ≈ 0.2), 80 stories per row. 12- and 16-swap stories are longer than anything in training (at most 8 swaps).

Swaps Model step 1 2 3 6 12 24 48
8 v0.2.0 0.93 0.99 0.99 0.99 0.99 0.99 0.99
8 v0.1.0 0.96 0.94 0.95 0.96 0.88 0.23 0.20
12 v0.2.0 0.83 0.90 0.91 0.88 0.84 0.83 0.81
12 v0.1.0 0.65 0.73 0.73 0.75 0.64 0.19 0.24
16 v0.2.0 0.49 0.64 0.68 0.63 0.65 0.64 0.65
16 v0.1.0 0.43 0.50 0.53 0.54 0.50 0.26 0.23

Memory durability:

  • v0.2.0's memory converges to a state determined by the text.
  • After a 30 % perturbation of the memory, or after replacing it with another story's memory at step 24, accuracy on 8-swap stories recovers to 0.975 within 8 steps.
  • v0.1.0 collapses to chance between steps 12 and 16.

Stopping:

Rule 8 swaps (accuracy, mean steps) 12 swaps 16 swaps
stop when two consecutive answers agree 0.99, 2.1 0.90, 2.1 0.64, 2.4
stop at confidence ≥ 0.95 (uncalibrated) 0.99, 1.2 0.86, 2.0 0.63, 3.1
best fixed number of steps 0.99 (2) 0.91 (3) 0.68 (3)

Limitations: read before use

  1. Short useful thinking window. The benefit of extra thinking comes in the first 2–3 steps. After that, accuracy stays flat (8 and 16 swaps) or eases by up to 0.10 by step 48 (12 swaps). Thinking longer than needed costs a little and does not help.
  2. Not evidence that more steps solve longer problems. Our analysis of these stories found that a single pass already resolves most of each problem. The extra steps refine that answer; they do not carry out the remaining computation step by step.
  3. The hardest stories stay hard: 16 swaps peak at 0.68. On those stories the answer still changes between steps (0.25 of stories go right→wrong and 0.41 wrong→right over 48 steps), so stopping decisions there are noisier.
  4. Confidence is not calibrated (temperature 1.0). Confidence-based stopping stops too early on 12-swap stories. Agree-twice stopping performed better in our tests.
  5. Narrow scope: trained only on synthetic box-swap stories (at most 8 swaps, about 200 tokens). We expect no transfer to general reasoning or natural-text benchmarks.
  6. Single training seed.

Release decision

  • Pre-registered readiness criteria. We evaluated this checkpoint against criteria fixed before evaluation (the same ones applied to an earlier candidate). The verdict was "not ready".
  • What passed:
    • interface compatibility (every check exact);
    • higher accuracy than v0.1.0 on harder problems (+0.10, interval [0.025, 0.18], 12- and 16-swap stories pooled).
  • What failed:
    • a strict "reliable depth" criterion. It requires staying within 0.05 of the peak at every later step; this model peaks early and then holds a plateau.
    • two criteria on 16-swap stories (stopping and answer stability), each missed by less than one story in 80.
  • We judged that none of these prevents useful adaptive-stopping research, and authorised this limited-scope experimental release. The verdict itself is unchanged.

Training data and procedure

  • Data: synthetic stories only. Five boxes, five objects, an initial arrangement, then 0–8 swap sentences ("The contents of box 2 and box 5 are exchanged."). Question: which box holds a given object. No natural text.
  • Starting point: v0.1.0.
  • Two continuation stages of 300 updates each:
    • full gradient through every thinking step (unrolls of 3–24 steps);
    • a decision loss at a sampled step, a state-line loss at each of the last 8 steps, a consistency loss toward the model's own one-pass encoding of the scheduled arrangement, and memory noise;
    • batch 16, learning rate 5e-5.
  • Released checkpoint: the last checkpoint of the second stage.

Engineering verification (same procedure as v0.1.0)

Each check ran in a fresh process from a clean copy of this folder:

Check Result
File hashes (SHA256SUMS) pass
Save 300 stories at depth 5, replay in a separate process read-out difference 0.0
Continuing from every saved depth equals the unbroken run; branching twice 0.0 / 0.0
This package reproduces the training code's stored answers (100) 100/100, largest probability difference < 1e-6
Save at depth 32, reload, continue from depths 8 / 16 / 24 / 31 0.0
Refuses a state saved by v0.1.0, and a state whose text was altered yes / yes

Licence

  • Weights (adapter, memory, head): derived from Qwen/Qwen3.5-2B, Apache License 2.0.
  • Code (jev_latent.py, example.py): MIT.
  • Full texts in LICENSE.
Downloads last month
-
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for yixuanzheng/Thinking-Jev-RMT

Finetuned
Qwen/Qwen3.5-2B
Adapter
(453)
this model