# US 2026/0087329 A1 · Persistent fixed-size memory for machine-learning using recurrent neural networks

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2026/0087329 A1
- Document ID: US20260087329A1
- Status: Published application
- Kind: A1
- Application number: 19/333,279
- Filed: 2025-09-18
- Published: 2026-03-26
- Earliest claimed: 2024-09-20
- Assignees: Londeree Technologies LLC
- Applicants: Londeree Technologies LLC
- Inventors: Alex Bryan Londeree
- Web page: https://patentgrep.com/patent/US20260087329A1

## CPC

- G06N 3/048: Activation functions
- G06N 3/044: Recurrent networks, e.g. Hopfield networks
- G06N 3/045: Combinations of networks
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Computer-implemented methods and systems provide a persistent fixed-size recurrent memory that supports long or unbounded sequence processing with substantially constant compute and bounded memory. A recurrent model maintains a matrix state updated per chunk from key, value, gate, and optional control signals; a gated error between value and a key-weighted state yields a rank-1 proposal. Chunk proposals are reconciled coordinate-wise by an order-invariant convex combiner; solitary proposals pass unchanged. Queries can be answered from proposals without materializing a full updated state. Multiple asynchronous agents emit sparse updates with overwrite strengths that are merged using sparse convex or max selection and optional optimizer preprocessing. A feedback projection writes higher layer activations into lower layer state to consolidate durable skills and reduce forgetting. The approach enables durable retention, parallel inference-time adaptation, scalable linear-attention approximation, and persistent fixed memory use over arbitrarily long sequences.

## Claims

### Claim 1

A computer-implemented method for approximating a linear attention mechanism in a chunkwise manner, the method comprising: maintaining, in memory, a matrix-valued state; receiving a chunk comprising, for each input, a key vector, a value vector, a gate parameter that is a scalar or a vector, and optionally an independent per-input control value, and further including a set of query vectors; for each input in the chunk: computing an error as a difference between the value vector and a product of the state and the key vector; multiplicatively applying the gate parameter to the error, element-wise when the gate parameter is vector-valued, to obtain a gated error; and forming an update proposal as a rank-1 outer product of the gated error and the key vector; reconciling, at each coordinate of the state, the update proposals into a chunk update by computing per-coordinate non-negative coefficients over the set of update proposals such that (i) when exactly one proposal contributes at that coordinate the coefficient for that proposal equals one and the others equal zero, and (ii) when two or more proposals contribute at that coordinate the coefficients sum to one, thereby yielding a value within the convex hull of those proposals; and updating the state with the chunk update; and for each query vector, producing an output vector using the state.

### Claim 2 (depends on 1)

The method of claim 1, wherein the forming of the update proposal further comprises dividing the gated error by a squared Euclidean norm of the corresponding key vector.

### Claim 3 (depends on 1)

The method of claim 1, wherein coefficients used by the combining operator are derived solely from the key vectors of the inputs in the chunk.

### Claim 4 (depends on 1)

The method of claim 1, wherein coefficients used by the combining operator are derived solely from the gate parameters of the inputs in the chunk.

### Claim 5 (depends on 1)

The method of claim 1, wherein coefficients used by the combining operator are jointly derived from the key vectors and the gate parameters of the inputs in the chunk.

### Claim 6 (depends on 1)

The method of claim 1, wherein coefficients used by the combining operator are derived solely from an independent per-input control value associated with each input in the chunk.

### Claim 7 (depends on 1)

The method of claim 1, wherein the coefficients used by the combining operator are derived from pairwise dot products among the key vectors within the chunk.

### Claim 8 (depends on 1)

The method of claim 1, wherein the coefficients used by the combining operator are effected implicitly by transforming one or both of the key vectors and the gate parameters prior to forming the update proposals such that the resulting proposals, when combined, yield the same per-coordinate result as would explicit coefficients.

### Claim 9 (depends on 1)

The method of claim 1, wherein producing the output vectors comprises evaluating dot products between the query vectors and the key vectors in the chunk and linearly combining the value vectors according to the coefficients used by the combining operator, without first storing an updated state.

### Claim 10 (depends on 1)

A system comprising one or more processors and a memory storing instructions that, when executed by the one or more processors, cause the system to perform the method of claim 1.

### Claim 11 (depends on 1)

A non-transitory computer-readable medium storing instructions that, when executed by one or more processors, cause performance of the method of claim 1.

### Claim 12

A computer-implemented method comprising: (a) maintaining, in memory, a state tensor for a recurrent neural network (the “state”); (b) initializing a plurality of agents with a common initial state and running each agent along a trajectory that is a sequence of inputs and timesteps beginning at the common initial state; (c) for each agent, obtaining an update that specifies, for one or more addresses of the state, a per-address numeric delta to be applied to the state, and obtaining a corresponding coefficient for the agent provided as a scalar, vector, or tensor, the coefficient being supplied by the agent or computed by a coordinator from agent-specific signals, and being replicated across one or more dimensions to align in shape with the agent's update when shapes differ; (d) assembling a merged update by, for each address (a position in the state tensor): (i) when exactly one agent provides a non-zero update at the address, setting the merged contribution equal to that update; and (ii) when two or more agents provide non-zero updates at the address, combining the agents' per-address updates in accordance with their coefficients to produce a single per-address delta; (e) when exactly one agent provides a non-zero update at the address, setting the merged contribution equal to that update; and (i) when two or more agents provide non-zero updates at the address, combining the agents' per-address updates in accordance with their coefficients to produce a single per-address delta; (f) updating the state by applying the merged update to produce an updated state for subsequent processing; and (g) performing steps (c)-(e) at a coordination step of a processing algorithm that collects updates from the plurality of agents and combines them.

### Claim 13 (depends on 12)

The method of claim 12, wherein each agent's coefficient is aggregated over the agent's trajectory and is provided per address of the state.

### Claim 14 (depends on 12)

The method of claim 12, wherein each trajectory provides updates for a subset of addresses of the state and addresses not provided in a trajectory are treated as zero updates for that trajectory when assembling the merged update.

### Claim 15 (depends on 12)

The method of claim 12, wherein the combining in step (d) for an address at which two or more agents provide non-zero updates is order-invariant, such that the merged contribution at the address is independent of the processing order of agent updates.

### Claim 16 (depends on 12)

The method of claim 12, wherein the combining in step (d)(ii) is convex-hull constrained, such that the merged contribution at the address lies in the convex hull of the agents' updates at that address.

### Claim 17 (depends on 12)

The method of claim 12, wherein the combining in step (d)(ii) comprises one of: (a) a normalized weighted sum in which each agent's contribution is the agent's update at the address multiplied by a coefficient divided by the sum of coefficients provided for that address when that sum is non-zero; a weighted median computed from the agents' updates at the address using their coefficients; or (b) a max-basis selection that selects the update associated with an extremal coefficient at the address.

### Claim at position 18 (depends on 12)

18: The method of claim 12, wherein each coefficient is monotone with respect to an overwrite-strength measure at an address, the overwrite-strength measure being a real-valued function of an agent's trajectory and state interaction that satisfies: (a) monotonicity: if an agent increases its overwrite effect at an address, the measure does not decrease; (b) zero at no-write: the measure is zero when the agent supplies only zero updates at the address; and (c) equalization at full-overwrite: two agents that fully overwrite the address according to the measure receive equal coefficients at that address.

### Claim 19 (depends on 18)

The method of claim 18, wherein the overwrite-strength measure comprises at least one of: (a) a cumulative write-gate mass at the address computed over the trajectory; (b) a residual-reduction norm ∥v−Sk∥ aggregated over writes at the address; or (c) a bounded, saturating transform φ(m) with φ(0)=0 and limm→∞φ(m)=C>0, used to derive the coefficient from a raw measure m.

### Claim 20 (depends on 12)

The method of claim 12, wherein updates and coefficients are sparse over addresses and represented by explicit index lists, and the addresses are optionally block-sparse or hierarchically addressed.

### Claim 21 (depends on 12)

The method of claim 12, wherein the merged update of step (d) is applied directly to the state without preprocessing by an optimizer.

### Claim 22 (depends on 12)

The method of claim 12, further comprising preprocessing the merged update produced in step (d) by an optimizer to produce a transformed update, and applying the transformed update to the state in step (e).

### Claim 23 (depends on 12)

A system comprising: one or more processors; and a memory storing instructions that, when executed by the processors, cause the processors to perform the method of claim 12.

### Claim 24 (depends on 12)

A non-transitory computer-readable medium storing instructions that, when executed by one or more processors, cause the processors to perform the method of claim 12.

### Claim 25

A computer-implemented method comprising: maintaining, for a neural network having at least a lower recurrent layer and a higher recurrent layer, a recurrent state for each layer; during processing of a timestep, obtaining a feedback activation produced by computation that executes after the lower layer within the same timestep and is computationally dependent (directly or indirectly) on an output of the lower layer; computing, by a feedback projection with learned parameters, an update to the recurrent state of the lower layer based at least on the feedback activation; and applying the update using a state-update operation of the lower layer to modify its recurrent state such that computations of the lower layer at a subsequent timestep are conditioned on the modified state; wherein “higher” and “lower” are defined by execution order within a recurrent timestep, and a “higher” layer (or process) depends on the lower layer's output for that timestep.

### Claim 26 (depends on 25)

The method of claim 25, wherein the update comprises, for each input element, a key tensor and a value tensor, and optionally one or more per-element control tensors sufficient to parameterize the state-update operation of the lower layer.

### Claim 27 (depends on 25, 26)

The method of claim 25 or 26, wherein after completing timestep *t* and before beginning timestep *t+1* of the same sequence, the neural network temporarily pauses ingestion of new inputs, and generates and applies the update(s) as a batch of one or more updates during that interval.

### Claim 28 (depends on 25, 26, 27)

The method of any of the claims 25-27, wherein the feedback activation is sampled from one or more activations of a higher-level recurrent process, the higher-level recurrent process being one that at each timestep consumes, directly or indirectly, the output of the lower recurrent layer for that timestep.
