Create and explore imaginative 3D worlds with our new product Dreamfield (opens in a new tab)
Papers
Topics
Authors
Recent
Search
2000 character limit reached

Latent Lattice Language Models

Published 16 Nov 2026 in cs.LG, cs.AI, and cs.CL | (2611.21608v1)

Abstract: LLMs typically increase per-token computation through deeper or looped layers and latent reasoning steps, while richer residual connections improve information flow across layers. We instead increase computational capacity: the number of active computational states a model maintains. We introduce the Lattice of Latents, a set of per-layer horizontal latent streams that run recurrently along time, alongside the vertical residual stream that flows through depth. Like hyper-connections, mHC, and attention or value residuals, the Lattice enhances the residual stream, but rather than adding or rerouting residual pathways through depth, it provides companion computational states that persist across tokens. Unlike hybrid Transformer-SSM architectures, whose recurrent states primarily serve as internal memory for sequence mixing, these latents directly condition the vertical stream's attention, KV-cache writes, MLP computation, and decoding. On Transformers trained on 20B FineWeb-Edu tokens, a 406M-parameter Lattice model lowers validation perplexity from 15.41 to 14.40 over a parameter-matched Transformer. These gains extend across architectural variants. The Lattice composes with prior residual-stream enhancements: with hyper-connections and input residuals, it lowers validation perplexity from 15.41 (base Transformer) and 14.22 (Transformer with the same enhancements) to 13.61. On Gated DeltaNet, Mamba-2, Triadic GDN, and GDN-Mamba-2 hybrids, it improves perplexity at every tested native state size, with Lattice-GDN and Lattice-Triadic-GDN variants outperforming pure baselines with 4x larger native states. These results identify persistent per-layer state as a complementary axis for scaling language-model computation.

Summary

  • The paper introduces Latent Lattice Language Models (LLLLMs), which enhance language-model capacity by adding persistent horizontal latents to conventional residual streams, improving perplexity and downstream task performance without increasing model size or sequence length.
  • LLLLMs achieve a 5.6% reduction in FineWeb-Edu perplexity at 400M parameters, outperforming both 24-layer and 40-layer Transformer baselines with similar parameter counts. Further enhancements like Jacobi refinement and input injection further improve performance, particularly in mathematical fine-tuning tasks.
  • The Lattice architecture complements vertical residual-stream enhancements and can be applied to various recurrent backbones, increasing perplexity and downstream accuracy across all tested configurations. Enriches native memory utilization through mechanisms.

Central contribution

“Latent Lattice LLMs” proposes increasing language-model capacity by adding persistent computational states rather than relying exclusively on greater residual-stream width, depth, recurrent iteration, or KV-cache capacity (2611.21608). The central architectural object is the Lattice of Latents: alongside the conventional vertical residual state htℓh_t^\ell, which propagates through network depth at timestep tt, each selected layer maintains a horizontal latent rtℓr_t^\ell that evolves recurrently across timesteps.

This distinction is functional rather than merely structural. In a standard Transformer, the residual stream performs several roles simultaneously: it queries and updates sequence memory, undergoes MLP transformations, and supplies the decoding representation. The Lattice introduces layer-specific companion states that persist across tokens and condition these operations. In the Transformer implementation, each horizontal latent modulates attention queries, keys, and values through FiLM, thereby influencing both KV-cache reads and writes. It also modulates SwiGLU MLP pre-activations and can optionally participate in output decoding. The KV cache remains the sequence memory, while the horizontal states provide history-dependent control over how the residual stream interacts with that memory.

The paper therefore distinguishes the Lattice from hybrid Transformer–SSM systems. In those systems, recurrent states generally function as sequence mixers that replace or supplement attention. In the Lattice, recurrence is assigned a complementary role: the horizontal state conditions the backbone’s computation while the native memory mechanism remains responsible for sequence mixing. This separation permits the same mechanism to augment both attention-based and recurrent architectures.

Architecture and recurrent update

The Lattice is inserted into an intermediate block of layers. Early layers produce vertical representations that feed the Lattice block, and late layers consume its output. For each Lattice layer, the horizontal state is updated from its previous value and the incoming vertical latent. The base update is an input-dependent affine recurrence,

rtℓ=gtℓ⊙rt−1ℓ+btℓ,r_t^\ell = g_t^\ell \odot r_{t-1}^\ell + b_t^\ell,

where the gate and candidate content depend on the current layer input but not directly on rt−1ℓr_{t-1}^\ell. This restriction is important computationally: conditional on the input sequence, the recurrence admits an exact associative scan over token positions. Training therefore retains token-parallel, teacher-forced execution rather than requiring a sequential recurrent loop.

The horizontal latent affects the Transformer through three primary mechanisms. First, FiLM conditioning applies learned multiplicative and additive transformations to queries, keys, and values. Because the modulated keys and values are written into the KV cache, the horizontal state influences both the representation used to access past tokens and the representation stored for future access. Second, the horizontal latent shifts the gate and up-projection pre-activations of the MLP. Third, an optional decoding head combines the top horizontal state with the final vertical state. The latter is used mainly in experiments where the vertical stream is deliberately compressed.

The base affine recurrence is augmented in two ways while retaining parallel scanning. Input injection supplies the raw token embedding directly to every horizontal update, preventing information about token identity from being lost as the vertical stream traverses depth. The depth-wise readout stream provides nonlinear communication from lower to higher horizontal states within the same timestep. It does not alter the recurrent state itself; instead, it enriches the signal used to condition subsequent computations.

The third enhancement is a nonlinear top-to-bottom feedback path. The top Lattice state from the preceding timestep is transformed by a SwiGLU module and injected into the bottom Lattice layer at the current timestep. Exact execution is straightforward during sequential inference but conflicts with a single bottom-to-top teacher-forced pass. The authors therefore use Jacobi refinement: multiple token-parallel sweeps recompute the Lattice, with each sweep using the previous sweep’s delayed top-state feedback. The three-sweep configuration, denoted J3, increases training and parallel-evaluation cost to approximately 2.6×2.6\times the single-pass FLOPs. At inference, sequential rollout can compute the feedback at base per-token FLOPs, although the resulting performance does not exactly match the three-sweep checkpoint evaluation.

All Lattice conditioning maps are zero-initialized. Consequently, models are functionally equivalent to their corresponding baselines at initialization, and the horizontal pathway acquires influence through optimization rather than through an abrupt change in the initial computation.

Transformer results

The principal experiments train approximately 400M–600M-parameter models on 10B, 20B, or 30B FineWeb-Edu tokens, using 2048-token contexts. At 20B tokens, the results show consistent improvements at approximately matched parameter counts and forward compute.

Model and setting Parameters FineWeb-Edu PPL Pile PPL Nine-task average
Base 24-layer Transformer 406.7M 15.41 26.28 45.46 zero-shot
LLLM (945,256)(945,256) 406.5M 14.545 25.03 47.67 zero-shot
LLLM (908,256)(908,256) + injection + readout 405.6M 14.400 24.10 47.38 zero-shot
LLLM J3 (945,256)(945,256) 406.9M 14.026 24.11 48.69 zero-shot
Base 40-layer Transformer 609.1M 14.400 24.23 47.36 zero-shot
LLLM (1024,1024)(1024,1024) 603.0M 13.704 24.20 48.53 zero-shot

The base 400M LLLM reduces FineWeb-Edu perplexity from 15.41 to 14.545, a 5.6% reduction, while also improving every reported out-of-domain perplexity. Adding input injection and the depth-wise readout stream lowers perplexity further to 14.400, despite reducing the vertical width from 945 to 908 to preserve the parameter and compute budget. The three-sweep Jacobi model reaches 14.026, but this result should not be interpreted as a single-pass efficiency gain: its estimated forward cost is 1.85 GFLOPs per token compared with approximately 0.72 GFLOPs for the single-pass models.

The 600M comparison is particularly relevant to the paper’s capacity-allocation claim. LLLM (1024,1024)(1024,1024) reaches 13.704, outperforming both a width-scaled 24-layer Transformer and a depth-scaled 40-layer Transformer at similar parameter counts and forward compute. At 400M, the Lattice also matches or exceeds the performance of approximately 600M Transformer baselines on several evaluations. After 30B tokens, the same pattern persists: the 400M input-injection plus depth-wise-readout LLLM reduces FineWeb-Edu perplexity by 5.4% relative to its Transformer baseline and improves Pile and both LAMBADA perplexities by 8.9%, 8.1%, and 11.2%, respectively.

The downstream results indicate that the language-modeling gains are not confined to held-out perplexity. At the matched 400M scale, the base LLLM improves the nine-task zero-shot average from 45.46 to 47.67 and the five-shot average from 46.19 to 47.79. The J3 model reaches 48.69 zero-shot and 49.38 five-shot, corresponding to improvements of 3.23 and 3.19 percentage points over the Transformer. At 600M, the Lattice exceeds the 40-layer Transformer by 1.17 zero-shot and 2.00 five-shot points.

The mathematical fine-tuning experiments provide a stronger transfer result. After GSM8K-Aug chain-of-thought fine-tuning, the 400M Transformer baseline obtains a mean accuracy of 36.02 across GSM8K, SVAMP, MultiArith, ASDiv, and GSM-Hard, whereas the 400M J3 LLLM reaches 48.10. At 600M, the Lattice improves the corresponding mean from 40.24 to 47.74. The paper also reports that models with nearly identical pretraining perplexity can differ substantially after mathematical fine-tuning: the 400M LLLM with input injection and depth-wise readout achieves 43.6% on GSM8K compared with 33.5% for the 40-layer Transformer. This result suggests that the horizontal states alter representations relevant to adaptation, not merely next-token prediction.

Composition with residual-stream enhancements

The Lattice is designed to operate orthogonally to modifications of vertical information flow. The experiments combine it with hyper-connections, manifold-constrained hyper-connections, value residuals, and input residuals. The Lattice alone reduces the 400M Transformer’s FineWeb-Edu perplexity from 15.41 to 14.47, compared with 15.28 for hyper-connections, 14.93 for mHC, 14.69 for value residuals, and 14.34 for input residuals.

More importantly, the effects compound. Hyper-connections plus input residuals reach 14.22 without the Lattice, whereas adding the Lattice reduces perplexity to 13.61. The reported best combination is 11.7% below the plain Transformer and 3.9% below the strongest Transformer-only composition. This supports the paper’s claim that persistent horizontal states are not simply an alternative parameterization of richer residual pathways. Vertical residual-stream routing and horizontal temporal state provide distinct sources of computational capacity.

The composition experiments also qualify the interpretation of the gains. Since the Lattice models are often forced to reduce vertical width to remain parameter-matched, the comparisons do not establish that every allocation of horizontal capacity is superior to every width or depth allocation. Rather, they show that the tested joint allocations are more effective than the tested width-only and depth-only alternatives under the specified training budgets and architectural settings.

Extension to recurrent backbones

The authors apply the Lattice to Gated DeltaNet, Mamba-2, Triadic GDN, and GDN–Mamba-2 hybrids. In these models, the backbone already maintains fixed-size recurrent memories. The Lattice leaves those memories unchanged and uses the horizontal latent to modulate memory reads, writes, update strengths, decay parameters, gates, and, for Triadic GDN, routing factors.

At approximately 405M parameters and after 10B FineWeb-Edu tokens, the Lattice improves perplexity at every tested native-state size. The gains range from 1.2–2.6% for GDN, 0.6–2.2% for Mamba-2, 1.1–2.1% for Triadic GDN, and 0.3–1.0% for the GDN–Mamba-2 hybrid. The result is especially notable when native memory capacity is increased in the baseline instead of adding horizontal latents. A 64K-state Lattice GDN outperforms a 256K-state pure GDN, with perplexities of 16.05 and 16.11, respectively. The same comparison holds for Triadic GDN: 64K-state Lattice Triadic GDN reaches 15.98 versus 16.09 for the 256K-state pure model.

Downstream evaluations show that the effect is not limited to perplexity. Across GDN, Mamba-2, and the hybrid, the selected Lattice variants improve the nine-task average in 29 of 30 paired comparisons. Averaged across native-state budgets, gains range from 0.53 to 0.67 points zero-shot and from 0.76 to 0.95 points five-shot. In some cases, a Lattice model with 8 or 16 times fewer native-state entries outperforms the larger pure model.

The paper’s analysis of GDN memory geometry offers a mechanistic correlate. At every tested native-state size, the Lattice reduces the entropy effective rank and stable rank of the memory spectrum while increasing query alignment with its leading singular direction. At 256K native-state entries, query alignment rises from 7.957 to 13.321, while entropy effective rank falls from 37.915 to 33.418 and stable rank from 2.504 to 2.128. These statistics are consistent with more concentrated memory writes and more directed reads. They do not, however, prove that concentration is causally responsible for the performance gain; the paper appropriately treats this as evidence supporting, rather than establishing, the hypothesis that the Lattice improves native-memory utilization.

Ablations and interpretation of the gains

The ablations distinguish recurrent history from generic conditional modulation. Replacing the horizontal state with a stateless signal derived from either the token embedding or the residual stream improves the Transformer, but performs worse than recurrent Lattice conditioning. With QKV modulation, the Lattice reaches 15.99 compared with 16.29 for the best stateless input-conditioned variant. When MLP modulation is also enabled, the Lattice reaches 15.63, whereas the corresponding stateless variants do not benefit similarly. The result supports the interpretation that accumulated temporal state, rather than additional FiLM parameters alone, accounts for a substantial portion of the improvement.

The allocation experiments show that the vertical–horizontal split is consequential. A narrow 512-dimensional Transformer reaches 18.87 perplexity in the examined 10B-token setting. A 291M-parameter LLLM with (dmodel,dr)=(512,512)(d_{\text{model}}, d_r)=(512,512) reaches 16.96, approximately matching the 406M Transformer. At matched 406M scale, LLLM (945,256)(945,256) reaches 15.63, or 15.49 with input injection and depth-wise readout. However, an extremely narrow vertical stream remains costly: a 256-dimensional vertical latent cannot be fully compensated by increasing horizontal capacity, even after adding input injection, readout, decoding, and Jacobi refinement. Thus, the Lattice is not a general substitute for residual-stream width; it is a complementary capacity axis whose usefulness depends on maintaining a sufficiently expressive vertical pathway.

The top-to-bottom feedback experiments further separate the contributions of vertical and horizontal recurrence. Three-sweep feedback on the vertical stream substantially improves a Transformer, reducing perplexity from 16.94 to 15.36. Horizontal feedback reduces the single-pass Lattice from 15.52 to 15.09, and combining both reaches 14.92. These results indicate that the Lattice does not subsume all benefits of recurrent residual-stream refinement; the two feedback paths are complementary.

The comparison with short convolutions provides another control. Static and dynamic width-4 convolutions over QKV improve the Transformer, with dynamic convolution reaching 15.52. The Lattice reaches 15.49 with fewer additional parameters, and combining the two lowers perplexity to 14.99. This comparison indicates that the Lattice’s benefit is not reducible to local temporal mixing. Its recurrence can, in principle, carry information beyond a fixed recent-token window, although the experiments do not directly characterize the effective temporal horizon of the learned states.

Limitations and open questions

The main quantitative comparisons are conducted at relatively small model scales—approximately 400M to 600M parameters—and on FineWeb-Edu pretraining budgets of 10B to 30B tokens. The results therefore establish an architectural effect in the reported regime but do not determine scaling behavior at contemporary multi-billion- or trillion-parameter scales. The paper also evaluates a single 2048-token context length, leaving the interaction between horizontal-state persistence and much longer contexts unresolved.

The Jacobi refiner introduces a nontrivial efficiency trade-off. Its strongest reported results use three sweeps, increasing parallel training and evaluation compute by approximately 2.6×2.6\times. Sequential inference avoids the additional sweep cost but produces weaker performance for the fixed-sweep-trained model: FineWeb-Edu perplexity increases from 14.026 under three-sweep evaluation to 14.733 under sequential rollout. The paper notes that randomized-sweep training may reduce this discrepancy, but that strategy is not the principal experimental configuration here.

Several comparisons involve post-hoc selection among recurrent-backbone couplings or jointly add multiple Lattice enhancements. In particular, downstream recurrent results select the best of several couplings at each state budget, so they should be interpreted as the performance of the best tested configuration rather than as the result of one uniformly predetermined architecture. Likewise, the compressed-vertical-stream ablation changes parameter count as several mechanisms are added, limiting attribution of the individual contributions.

Finally, the GDN spectral analysis is correlational. More concentrated memory spectra and stronger query alignment are compatible with improved memory utilization, but the experiments do not intervene directly on these geometric properties. It remains open whether the same mechanism explains the gains across all recurrent backbones, whether horizontal states learn clearly separable functions at different depths, and how their learned decay timescales compare with the effective temporal dependencies encoded by the backbone’s native memory.

Conclusion

The paper presents persistent, layer-wise horizontal latents as a distinct mechanism for allocating computation in autoregressive LLMs. These states recurrently persist across tokens and condition attention, memory operations, MLP transformations, and, optionally, decoding, while preserving parallel scan-based training in the base configuration. Across Transformer and recurrent backbones, the Lattice improves perplexity, downstream accuracy, and post-finetuning mathematical reasoning at approximately matched parameter budgets. Its gains compound with vertical residual-stream enhancements and can exceed those obtained by substantially enlarging native recurrent memory. The evidence supports persistent per-layer state as a complementary scaling axis, while the computational cost of nonlinear feedback, the appropriate vertical–horizontal allocation, and behavior at substantially larger scales remain open within the paper’s experimental scope.

Whiteboard

Explain it Like I'm 14

1. What is this paper about?

This paper introduces a new design for LLMs called the Lattice of Latents.

LLMs such as ChatGPT read text one piece at a time and use internal information to guess what comes next. Usually, most of this information travels through one main pathway, called the residual stream.

The researchers ask:

Could a LLM become better by keeping extra internal information that lasts across many words?

Their answer is yes. They add extra internal “memory-like” states at different layers of the model. These states form a kind of grid, or lattice, that works alongside the model’s usual pathway.

The resulting model is called a Latent Lattice LLM, or LLLM.

2. What questions did the researchers investigate?

The paper focuses on several main questions:

  • Can extra persistent internal states help a LLM understand and predict text?
  • Is this better than simply making the model wider or deeper?
  • Can these extra states improve both Transformers and other language-model designs, such as Mamba and Gated DeltaNet?
  • Do the extra states work well together with other improvements to LLMs?
  • Can a model with the same number of parameters and similar computing cost perform better using this lattice design?

In simple terms, the researchers wanted to know whether it is better to give a model more kinds of active memory, instead of only making its existing memory bigger.

3. How does the method work?

The usual approach

A standard Transformer processes a word through many layers. Imagine a word moving upward through a tall building:

  • Each floor is a model layer.
  • The word’s changing information is carried upward.
  • At every floor, the model examines earlier words and updates its understanding.

This main pathway is called the vertical stream because it moves through the layers.

The model also keeps a KV cache, which is like a notebook containing information from earlier words. Attention uses this notebook to look back at the past.

The new lattice approach

The Lattice of Latents adds another type of information pathway.

At each selected layer, the model keeps a separate hidden state that continues from one word to the next. These states move horizontally through time, while the ordinary residual stream moves vertically through the layers.

This can be pictured as a grid:

  • Vertical direction: information for the current word moves through the model’s layers.
  • Horizontal direction: each layer keeps a state that remembers information from previous words.

The researchers call these extra states horizontal latents.

A horizontal latent can influence several important operations:

  • Which earlier words the model pays attention to
  • What information the model writes into its memory
  • How the model’s feed-forward network processes information
  • In some versions, how the model chooses its final next-word prediction

An everyday analogy is a school project. In a normal model, one student carries the main project folder through every classroom. In the lattice model, each classroom also keeps its own notebook from earlier steps. The notebooks help students decide what to read, what to add, and how to improve the project.

Updating the extra states

The horizontal latents are updated using a recurrence. This means that the new state depends partly on the previous state, much like a person remembering what happened earlier.

The researchers use an update inspired by Mamba, another type of sequence model. The update is designed so that many words can still be processed in parallel during training.

The paper also tests several improvements:

  • Input injection: each horizontal state receives the original word information directly.
  • Depth-wise readout: horizontal states from lower layers can help states in higher layers during the same step.
  • Top-to-bottom feedback: information from the highest lattice layer can be sent back to the lowest layer when processing the next word.

The last method requires extra computation during training, but it can make the model stronger.

How the researchers measured success

The models were trained on billions of tokens from the FineWeb-Edu dataset, which contains educational web text.

They compared the new models with regular Transformers and recurrent models. They used measures such as:

  • Perplexity: how surprised the model is by the correct next word. Lower perplexity means better predictions.
  • Downstream accuracy: how well the model performs on other language tasks, such as answering questions or solving problems.
  • Parameter count: roughly how many adjustable values the model has.
  • Compute: how much processing power is needed.

4. What did the researchers find?

The lattice improved language prediction

A roughly 400-million-parameter standard Transformer had a FineWeb-Edu perplexity of 15.41.

A similar-sized lattice model reduced this to about 14.40. With additional improvements, the score reached 14.03.

Because lower perplexity is better, these results show that the lattice model predicted text more accurately while using about the same number of parameters.

The lattice model also performed well on text from other datasets that it had not trained directly on. This suggests that the improvement was not limited to one particular collection of text.

It could outperform larger Transformers

The paper reports that some smaller lattice models performed as well as, or better than, Transformers with about 1.5 times more parameters.

For example, a model with about 400 million parameters could match or surpass some models with about 600 million parameters.

This is important because larger models usually require more memory, electricity, and computer time.

The method also improved other language-model designs

The researchers added the lattice to several recurrent models, including:

  • Gated DeltaNet
  • Mamba-2
  • Triadic Gated DeltaNet
  • Hybrid Gated DeltaNet–Mamba-2 models

The lattice improved perplexity at every tested memory size.

In some experiments, a lattice model with a much smaller internal memory performed better than a regular model with up to four times as many memory entries.

This suggests that the lattice does not simply add more storage. It may also help the model use its existing memory more effectively.

The lattice worked well with other improvements

The researchers also combined the lattice with methods that improve information flow through the model’s layers.

These included hyper-connections and input residuals.

A basic Transformer had a perplexity of 15.41. Combining several improvements with the lattice reduced this to about 13.61.

This means the lattice is not just a replacement for other ideas. It can work together with them.

The extra memory appeared to become more organized

The researchers examined the internal memory of Gated DeltaNet models.

They found that lattice models tended to:

  • Store information in fewer, more organized directions
  • Make their memory easier to use
  • Aim their questions more closely toward the most useful part of memory

This is similar to organizing a messy desk. The model is not necessarily storing more objects, but it may be arranging them so that important information is easier to find.

5. Why are these findings important?

Most improvements to LLMs focus on making one main pathway:

  • Deeper
  • Wider
  • More repeated
  • Better connected

This paper suggests another possibility: give the model several persistent internal states that work alongside the main pathway.

The results indicate that model capacity is not only about the total number of parameters. It also matters how those parameters are organized and how information is allowed to persist.

The lattice could lead to LLMs that:

  • Make better predictions with fewer parameters
  • Use computer hardware more efficiently
  • Remember useful information across longer passages
  • Work with both Transformer and recurrent architectures
  • Perform better on a variety of tasks without simply becoming much larger

However, the paper also shows some trade-offs. The most advanced feedback version can require more computation during training or inference. The researchers also tested relatively small models compared with today’s largest systems, so more research is needed to see whether the same improvements continue at very large scales.

Conclusion

The paper presents the Lattice of Latents, a way to give each model layer its own small, continuing stream of internal information.

Instead of relying on one main pathway, the model uses:

  • A vertical stream for processing the current word through the layers
  • Horizontal latent states that remember and influence processing across words

The experiments show that this design can make LLMs more accurate without simply making them larger. It improves Transformers and recurrent models, works with other model improvements, and may help models use their memory more intelligently.

In short, the paper argues that the future of language-model scaling may involve not only making models bigger, but also giving them more useful kinds of internal memory and computation.

Practical Applications

Immediate Applications

  • More efficient language-model deployment in software and cloud services (AI infrastructure, search, productivity software)
    • lower-cost autocomplete and text-generation APIs;
    • more accurate enterprise search and retrieval-augmented generation systems;
    • smaller on-premises assistants with comparable quality to larger models;
    • compact coding, summarization, translation, and document-analysis models.
    • Dependencies: Results were obtained on FineWeb-Edu and selected benchmarks at 400M–600M parameters. Production benefits require validation on domain-specific data, instruction tuning, safety evaluation, and hardware-specific benchmarking.
  • Improved long-context and streaming text processing (customer support, transcription, communications, edge AI) The Lattice adds persistent, fixed-size per-layer state without adding token positions or KV-cache entries. This makes it suitable for streaming applications that process long or unbounded inputs, such as live transcription, conversation agents, log analysis, and continuous document ingestion. Potential workflows include maintaining recurrent state across incoming text chunks while avoiding the linear KV-cache growth associated with standard attention. Dependencies: The experiments primarily used 2,048-token contexts, so benefits for very long sequences and state retention over hours or days remain to be demonstrated. State-reset policies, privacy isolation, and robustness to topic shifts are also necessary.
  • Reduced memory requirements for recurrent LLMs (edge computing, mobile AI, embedded systems)
    • offline mobile writing assistants;
    • embedded voice-command systems;
    • industrial monitoring devices;
    • low-memory agents operating on laptops or edge servers.
    • Dependencies: The apparent memory savings are benchmark-dependent. Actual latency, activation memory, quantization behavior, and energy consumption must be measured on target hardware.
  • Drop-in architectural enhancement for existing sequence-model backbones (software and model engineering) Because the Lattice conditions attention, memory reads and writes, and MLP operations while preserving the underlying backbone, it can be implemented as an architectural module in existing Transformer, Mamba-2, GDN, Triadic GDN, and hybrid codebases. A practical engineering workflow would be:

    1. select intermediate layers for the Lattice block;
    2. add per-layer recurrent horizontal states;
    3. use the affine scan-compatible update for parallel training;
    4. apply FiLM conditioning to QKV, recurrent-memory operations, and MLPs;
    5. compare against a parameter- and FLOP-matched baseline. Dependencies: Stable initialization, normalization, recurrent-state management, and compatibility with distributed training frameworks must be established. The method also introduces additional implementation and debugging complexity.
  • Improved memory utilization in state-space and recurrent models (time-series analysis, finance, telemetry, cybersecurity)

    • financial transaction streams;
    • network and security logs;
    • industrial sensor data;
    • operational telemetry;
    • event-driven forecasting.
    • A model could use the horizontal latent as a context-dependent controller for what information to write, retain, or retrieve from recurrent memory.
    • Dependencies: The paper evaluates language modeling rather than these application domains. Domain-specific forecasting accuracy, concept drift, irregular sampling, and calibration need to be tested.
  • More capable compact educational and research models (academia and education) The reported improvements in zero-shot, few-shot, and GSM8K-related evaluations indicate that Lattice models could serve as stronger baselines for academic experiments under fixed compute budgets. Universities and small research groups could use them to obtain better performance without access to very large-model training infrastructure. Potential tools include open-source compact language-model checkpoints, teaching implementations of recurrent computation, and reproducible benchmarks comparing width, depth, and persistent latent capacity. Dependencies: The paper’s checkpoints, training recipes, and code must be released and independently reproduced. Results may vary with tokenizer, data mixture, fine-tuning method, and evaluation contamination.
  • Parameter-efficient model scaling and hardware procurement decisions (AI product planning and policy)
    • vertical residual-stream width;
    • horizontal latent width;
    • native recurrent-memory capacity.
    • This could support cost-performance studies when deciding whether to purchase additional GPU capacity, deploy larger models, or redesign the architecture.
    • Dependencies: The paper reports perplexity and benchmark gains, but not full serving economics. Throughput, batching efficiency, communication overhead, and total training wall-clock time must be included in procurement decisions.

Long-Term Applications

  • Persistent-context personal assistants and adaptive agents (consumer software, enterprise assistants, robotics)
    • personal assistants that maintain preferences over long sessions;
    • enterprise copilots that track workflow state;
    • game characters with persistent dialogue context;
    • robotic agents that maintain task-relevant internal state.
    • Dependencies: Persistent state raises privacy, consent, deletion, and interpretability issues. Research is needed on state editing, selective forgetting, user isolation, resistance to prompt injection, and preventing stale or incorrect beliefs from persisting.
  • Hybrid neural memory systems for retrieval-augmented generation (enterprise search, knowledge management, databases) A Lattice could act as a controller around external retrieval systems, conditioning which documents, memories, or database records should be queried and how retrieved information should influence generation. Its learned horizontal states may provide a compact summary of ongoing task context while the external system retains verifiable facts. Potential tools include adaptive retrievers, stateful document assistants, and multi-stage question-answering systems that adjust retrieval behavior over a conversation. Dependencies: The paper only demonstrates conditioning of internal KV or recurrent memory. Integrating external retrieval requires experiments on factuality, citation accuracy, retrieval latency, and state contamination.
  • Low-power multimodal and embodied systems (robotics, autonomous devices, healthcare monitoring)
    • warehouse and service robots;
    • wearable health monitors;
    • autonomous inspection systems;
    • multimodal assistants operating under energy constraints.
    • Dependencies: Multimodal extensions require new projection and synchronization mechanisms. Safety-critical deployment would require real-time guarantees, uncertainty estimation, fault recovery, and extensive testing under distribution shift.
  • Adaptive compute and conditional inference (cloud serving and edge AI)
    • one pass for routine autocomplete;
    • additional refinement passes for difficult reasoning or planning;
    • sequential rollout when exact cross-timestep feedback is valuable.
    • Dependencies: Adaptive stopping criteria, uncertainty calibration, and predictable latency must be developed. The paper reports that three-sweep refinement improves quality but increases training and, in some settings, inference cost.
  • More efficient reasoning and planning models (mathematical reasoning, code generation, autonomous planning) The top-to-bottom feedback pathway and persistent layer-specific states may support iterative latent computation without representing every intermediate step as an additional token or KV-cache entry. This could lead to models that perform internal refinement for mathematics, code repair, scheduling, or multi-step planning. Dependencies: The reported gains are primarily language-modeling and benchmark-level. Further work must establish whether the Lattice improves verifiable reasoning rather than only next-token prediction, and whether latent computations are interpretable or controllable.
  • State-aware financial and economic forecasting systems (finance and risk management) Lattice-style recurrent conditioning could support models that process transaction streams, market events, filings, and news while preserving compact multi-timescale state. Different horizontal layers might learn to control short-, medium-, and long-term information retention. Potential tools include streaming risk monitors, fraud-detection systems, and adaptive portfolio-analysis assistants. Dependencies: Financial data are nonstationary and adversarial. Deployment would require strict out-of-time validation, leakage controls, regulatory compliance, explainability, and robustness to regime changes. The paper provides no direct evidence in finance.
  • Policy and infrastructure standards for persistent-state AI (public policy and AI governance)
    • state-retention documentation in model cards;
    • APIs for resetting or inspecting session state;
    • benchmarks for unintended memory and forgetting;
    • privacy standards for stateful assistants.
    • Dependencies: Horizontal latents are not directly human-readable, and the paper does not provide interpretability or privacy analyses. Governance tools would require methods for tracing, redacting, and validating information stored in latent states.
  • Learned memory compression and model co-design with future hardware (accelerators and energy systems) Since the Lattice can improve performance without proportionally increasing native memory size, future accelerators could co-design support for compact recurrent states, parallel affine scans, FiLM modulation, and optional sequential feedback. This may reduce data movement and energy costs in long-running inference workloads. Dependencies: Hardware benefits are not established by the paper. Actual gains depend on kernel fusion, memory bandwidth, recurrent-state placement, quantization, sparsity, and whether horizontal-state updates offset the savings from reduced backbone size.

Glossary

  • Affine recurrence: A recurrence in which the next state is an affine function of the previous state, typically combining scaling and addition. “An affine transition with input-dependent coefficients has this property.”
  • Associative scan: A parallel algorithm for evaluating associative recurrences efficiently across a sequence. “this affine recurrence admits an exact associative scan across token positions.”
  • Autoregressive: A modeling approach that predicts each next token using previously observed tokens. “In a standard autoregressive LLM”
  • Chinchilla-style compute-optimal budget: A training-data and model-size allocation intended to optimize performance for a fixed computational budget. “the larger budgets exceed Chinchilla-style compute-optimal budgets at these sizes.”
  • Continuous latent reasoning: Iterative reasoning performed in continuous hidden representations rather than discrete token sequences. “continuous latent reasoning continues latent processing between tokens”
  • Cross-timestep feedback: Information transferred from a later computation at one time step to an earlier computation at a subsequent time step. “the optional Jacobi refiner adds feedback rtopt−1 from the top Lattice layer one timestep back”
  • Doubly stochastic: Describing a matrix whose rows and columns each sum to one, often used to constrain learned mixing. “mHC constrains this mixing to be doubly stochastic”
  • Effective rank: A spectral measure estimating how many dimensions meaningfully contribute to a matrix or representation. “The entropy effective rank rent = exp”
  • Feature-wise Linear Modulation (FiLM): A conditioning mechanism that scales and shifts features using parameters generated from another representation. “Feature-wise Linear Modulation (FiLM)”
  • Gated DeltaNet (GDN): A recurrent sequence-modeling architecture that uses gated delta-rule memory updates. “We instantiate it on GDN, Mamba-2, Triadic GDN, and GDN–Mamba-2 hybrids.”
  • Hyper-connections: Residual architectures that use multiple parallel streams and learned routing or mixing between them. “Hyper-connections expand the residual stream into n parallel streams”
  • In-distribution: Data drawn from a distribution similar to that used for training. “FineWeb-Edu is in-distribution”
  • Input injection: Directly supplying the current token embedding to the update mechanism at each layer. “Input injection adds the token embedding h0t”
  • Jacobi iteration: An iterative numerical method that updates variables using values from a previous iteration, enabling parallel computation. “we approximate it with a Jacobi refiner”
  • KV cache: A stored collection of attention keys and values from preceding tokens, used to avoid recomputing them. “The memory it writes to, the KV cache, is an append-only record that stays fixed once written”
  • Latent reasoning: Computation carried out in hidden representations rather than directly in the observed token sequence. “and latent reasoning steps”
  • Manifold-constrained hyper-connections (mHC): A hyper-connection design whose mixing parameters are constrained to remain on a specified mathematical manifold, here through doubly stochasticity. “manifold-constrained hyper-connections (mHC)”
  • Mamba-style state-space model: A sequence model that maintains a recurrent hidden state updated through parameterized state-space dynamics. “Following linear attention and Mamba-style state-space models”
  • Native memory: The fixed-size recurrent state maintained internally by a sequence-modeling backbone. “these backbones keep native memories of fixed size”
  • Nonlinear depth-wise readout stream: A pathway that performs nonlinear information transfer between layer-wise latent states within one time step. “a nonlinear depth-wise readout stream lets each layer’s readout of its horizontal latent depend on those of the layers below”
  • Out-of-distribution: Data whose distribution differs from the training distribution. “the other sets are out-of-distribution.”
  • Perplexity: An exponential measure of a LLM’s average negative log-likelihood, commonly interpreted as predictive uncertainty. “These gains extend across architectural variants.”
  • Pre-norm: A Transformer arrangement that applies normalization before an attention or feedforward sublayer. “Layerℓ ∈ {1, . . . , N } updates this latent with a pre-norm attention block followed by an MLP block”
  • Query alignment: The degree to which an attention or memory-reading query points in the direction of a dominant memory component. “greater query alignment with the leading memory direction”
  • Recurrent backbone: A sequence-modeling architecture that maintains and updates hidden state across time steps. “The Lattice is not specific to softmax attention.”
  • Residual stream: The principal hidden representation passed through successive neural-network layers. “the vertical residual stream width is significantly reduced to 256-dim.”
  • RMSNorm: A normalization method that scales activations using their root-mean-square magnitude without subtracting the mean. “Norm is RMSNorm”
  • Sequential rollout: Computing recurrent updates one time step after another rather than in parallel. “At inference, the feedback can instead be computed exactly by sequential rollout”
  • Sequence mixer: A mechanism that combines information across positions in a sequence. “the recurrent state acts as a sequence mixer”
  • Silu: A smooth neural-network activation function defined by multiplying an input by its sigmoid. “cℓt = SiLU”
  • Softmax attention: An attention mechanism that converts query–key scores into normalized weights using the softmax function. “In Transformers, softmax attention is retained”
  • Stable rank: A matrix-spectrum measure defined as the squared Frobenius norm divided by the squared largest singular value. “the stable rank rstable = ∥S∥2F /σ2 1”
  • State-space model (SSM): A model that represents sequence processing through evolving latent states governed by state-transition equations. “Unlike hybrid Transformer–SSM architectures”
  • Teacher-forced training: Training in which the model receives the correct previous token or state rather than its own prediction. “compatible with token-parallel, teacher-forced training.”
  • Token-parallel: Computation across multiple token positions performed concurrently rather than sequentially. “The first two preserve the parallel scan”
  • Triadic GDN: A Gated DeltaNet variant whose recurrent state includes an additional routing dimension. “Triadic GDN additionally conditions its routing factors”
  • Value residual: A residual mechanism that reuses or combines attention values from an earlier layer with those of later layers. “value residuals reuse first-layer values in later layers”
  • Vertical latent: The per-token hidden representation that propagates through the layers of the network. “the vertical latent hℓt that flows through depth”
  • Zero-shot evaluation: Evaluation in which a model performs a task without task-specific examples in the prompt. “zero- and five-shot downstream tasks”
  • Zero-initialization: Initializing parameters to zero so that a newly added mechanism initially behaves as an identity or inactive transformation. “All modulation weights are zero-initialized”

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Tweets

Sign up for free to view the 2 tweets with 385 likes about this paper.