Substrate · Active research

Memory that composes,
not memory that scrolls.

Post-language structured memory with compositional binding.

grounding × entity. The bind is the unit.

What Heddle is

Memory that composes, not memory that scrolls

Heddle treats memory as a structured object, not a token stream. Each unit of knowledge is a bound product of what a thing is and what it is being asked to play, so the same representation can be re-bound, re-roled, and re-queried without being re-derived. Multi-hop chains and counterfactuals become operations on the structure, not language games over a buffer.

Category

Structured, post-language memory

Primitive

Bound grounding × entity vectors

Best for

Analogy, counterfactual, multi-hop reasoning

Stage

Multi-hop benchmarks closed at scale

How it composes

Three primitives, one substrate

Heddle keeps the surface small on purpose. Three primitives carry the whole library of behaviours we care about.

H1

                  bind(g, e) → p
                

Binding

Concepts are stored as products of a grounding tensor and an entity tensor. The bind is the smallest unit of structured memory — and the unit that survives transport across tasks.

H2

                  swap(p, r′) → p′
                

Role swap

Bindings can be re-roled without losing identity. "Dog chases cat" and "cat chases dog" are different structures, not different paraphrases of the same one.

H3

                  walk(p, k) → ...
                

Multi-hop recall

Retrieval is a walk over structure, not a search over a window. Chains of two, five, or ten hops stay tractable because cost grows with structure, not with token length.

A worked example

Role swap is not paraphrase.

The same entities, two different bindings, two genuinely different structures — not two views of the same one.

structure A

dog chases → cat
pA = gchases(dog: subj, cat: obj)

structure B

cat chases → dog
pB = gchases(cat: subj, dog: obj)

A and B are retrieved as different things. On held-out role-swap, slot binding stays at 1.00; byte-level approaches collapse to 0.60.

Measured

Multi-hop precision stays at ceiling.

P@5 across three index sizes. Held-out evaluation, no leakage between training and retrieval.

1.0 0.75 0.5 0.25 0.0
1.00 +11.2 pp

N = 50k

50,000 entries

1.00 +12.0 pp

N = 200k

200,000 entries

1.00 +12.5 pp

N = 1M

1,000,000 entries

Closing the prior −12.5 pp gap left by the attention-style baseline at the same scale.

Progress

Heddle in motion

  1. v0.1

    Binding primitive shipped

    The grounding × entity bind landed as a first-class primitive in the codebase, with a clean read/write/role-swap API.

  2. v0.2

    Multi-hop benchmarks closed at small scale

    Multi-hop retrieval evaluated against transformer-style baselines at the 50k and 200k entry mark. Heddle stays clean where attention smears.

  3. v0.3

    Eight of eight gates closed

    All scientific gating tests for v0.3 closed, including held-out role swap and adversarial multi-hop. Released as a library inside the core stack.

  4. Today

    Multi-hop at one million entries

    Multi-hop recall measured at the million-entry mark with the headline retrieval score saturating its ceiling. The gap to attention-based baselines on the same task is positive across all scales.

What Heddle unlocks

Memory that earns its keep

Reasoning

Analogy and counterfactual

Bindings can be re-roled to evaluate "what if" without re-prompting. The structure that supports analogy is the same structure that supports counterfactual.

Agents

Long-running agents with real memory

Agents that need to remember conversations, plans, and constraints over days or weeks keep that memory as structure, not as ever-growing context.

Research

Scientific reasoning at scale

Heddle scales with the relational complexity of a domain, not with the length of its literature. Multi-hop scientific queries stay tractable.

Heddle is what you build when you stop pretending a context window is memory.
ReasonLoom architecture brief

Available through

Research · Mnemo bridge

All technologies →