Talking Sand Labs

Navigation inside a model

QwenMem–Spine

Let the model navigate a memory structure, then bring back the evidence.

QwenMem–Spine explores a different role for a language model: executing a small navigation program over a hierarchy of memory records. It combines a modified Qwen3.5-4B checkpoint with Rust Spine’s durable memory and tools. Five added layers carry out the compiled navigation, while original source text remains outside the model.

A division of work you can inspect

The host creates, ranks, and selects the memory structure. In the opt-in internal-context path, that bounded structure passes through the checkpoint’s navigation layers. Rust checks the resulting trace before releasing the selected source excerpts for language generation. Each installed bank supports 64 combined record addresses and at most eight descents.

Navigation and answering are separate tests

The internal-context experiments recorded verified navigation alongside the agent’s behavior. A mixed-memory run passed 14 of 14 operational assertions; triangle-only automatic memory passed 12 of 14, retaining a literal/citation error and a file-write failure. A separate boundary run recovered an older event but missed a value near the end of a long source. These are small recorded test sequences, not a general accuracy estimate.

A research snapshot to examine

The important distinction is between reaching the intended record and presenting enough of its evidence to answer correctly. The repository preserves architecture notes, reproduction instructions, results, and failures so that distinction can be studied. Internal context is an explicit option; default chat uses an empty navigation forest. This snapshot is unmaintained, with no ongoing updates planned.