Memory Mosaics
Open accessAbstract
Memory Mosaics are networks of associative memories working in concert to achieve a prediction task of interest. Like transformers, memory mosaics possess compositional capabilities and in-context learning capabilities. Unlike transformers, memory mosaics achieve these capabilities in comparatively transparent way ("predictive disentanglement"). We illustrate these capabilities on a toy example and also show that memory mosaics perform as well or better than transformers on medium-scale language modeling tasks.
AI snapshot
Written from the paper’s full text.
TL;DR
Memory Mosaics are networks of associative memories implemented with Gaussian kernel smoothing that resemble transformers but expose a “predictive disentanglement” principle. They match or outperform transformers on medium-scale language modeling, especially out-of-distribution and in-context learning tasks.
Key findings
- A single layer of memory units can implement an induction head, whereas a decoding transformer needs at least two layers; the paper argues this follows from values peeking one step ahead and the resulting aggressive attention mask.
- In the 54-parameter three-moons toy task, the single-head network’s prediction error drops sharply after `lcm(p1, p2, p3)` observations, while the three-head network improves after seeing `p1`, `p2`, and `p3` observations and predicts accurately after `max(p1, p2, p3)`, well before the combined period.
- On BABISTORIES language modeling, the Memory Mosaic slightly outperforms the transformer for small depth networks, but the effect disappears as depth increases and training/validation losses become indistinguishable.
- On out-of-distribution Simple English Wikipedia, Memory Mosaics outperform transformers after about 50 tokens; on REGBENCH in-context learning, Memory Mosaics dominate the benchmark, substantially outperforming transformers, recurrent neural networks, and state-space models across three orders of magnitude of training set sizes.
Methods
- The architecture uses elementary associative memories with Gaussian kernel regression / Nadaraya-Watson retrieval: keys are computed from past observations, values may peek one time step into the future, and retrieval estimates `E(V | K)`; deep networks are unrolled in time and trained by backpropagation.
- The three-moons experiment uses single-layer complex networks with either `N_h = 1` or `N_h = 3` memory units and 54 trainable real parameters, trained on randomly generated sequences of length 800 with validation sequences using unseen moon periods; error is average absolute deviation over the next 25 auto-regressive predictions.
- Language experiments use a GPT2-small-like Memory Mosaic with embedding dimension `d = 768`, `N_h = N_c = N_p = 12`, sequence length 512, no positional encoding, contextual memory units plus persistent memory units replacing FFNs; training data is BABISTORIES (2.2M train stories, 474,704,907 tokens; 2.2k valid stories, 4,749,107 tokens), with evaluation on BABISTORIES, Simple English Wikipedia, and REGBENCH.
Limitations
- The paper states that much work is needed to replicate the observations at far greater scale, and that all hyper-parameters were tuned for the transformer and transferred verbatim to Memory Mosaics, leaving Memory Mosaics at a slight disadvantage.
- The paper notes that training the three-heads network can be challenging, requiring tricks such as restricting to `3 × 3` complex matrices and clipping the mean squared loss; it also states the leaky average used is too simple to effectively encode long-range dependencies.
- Evident from the text: experiments are medium-scale and limited to BABISTORIES, Simple English Wikipedia, and REGBENCH; the architecture lacks positional encoding and does not distinguish keys from queries, which may limit selective addressing by position.
Model-written summary. Check it against the paper before relying on it.
Integrity signals
Registry
Cites
Statistics
Claims the paper makes
13 of 28 cited sources checked · 9 supported · 1 flagged · accuracy not yet measured
- Premisecitation
The leaking average in expression (6) is far too simple to effectively encode long range dependencies.
“The leaking average in expression (6) is far too simple to effectively encode long range dependencies as demonstrated in(Voelker et al., 2019;Peng et al., 2023;Gu & Dao, 2023).”
Quote in the paperNot a substantial claim2 of 3 sources checked- cites Voelker et al., 2019
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
- cites Peng et al., 2023 source
The Additional information section says RWKV’s time-decay mechanism preserves and propagates some information throughout the model’s temporal context. Section J.2 reports strong performance on several long-context tasks, though it also notes weaker results on others. The paper does not assess the citing document’s expression (6) specifically, but its findings run contrary to the blanket claim that a decaying average is too simple to encode long-range dependencies effectively. (LLM, conf=0.76)
Checked by a reasoning model — may be wrong.
Experimental — accuracy not yet measured - cites Gu & Dao, 2023 source
Section 3.1 says time-invariant models struggle with selective copying because they cannot choose what to retain based on input content. But Figure 2 says they can solve the standard copying task, and the paper does not assess the citing document’s specific leaky average in expression (6). The source supports a narrower limitation, not the blanket claim that this average is too simple to encode long-range dependencies. (LLM, conf=0.82)
Experimental — accuracy not yet measured
- Premisecitation
Implementing associative memories with kernel smoothing provides a direct illustration of the connection between self-attention and associative memories.
“Implementing associative memories with kernel smoothing therefore provides a particularly direct illustration of the connection between self-attention and associative memories (e.g., (Ramsauer et al., 2020)).”
Quote in the paperSubstantial claim1 of 1 sources checked- cites Ramsauer et al., 2020 source
- Premisecitation
Unrolling equation (3) along an input sequence yields an expression that very much resembles masked self-attention.
“Unsurprisingly, unrolling equation (3) along an input sequence (x 1 . . .x D ) of duration D yields an expression that very much resembles masked self-attention (Vaswani et al., 2017).”
Quote in the paperNot a substantial claim1 of 1 sources checked- cites Vaswani et al., 2017 source
- Findingown data
Memory Mosaics outperform all previously tested architectures on the REGBENCH in-context learning benchmark.
“Memory mosaics outperform all previously tested architectures in this benchmark.”
Quote in the paperSubstantial claim1 of 1 sources checked- cites Akyürek et al., 2024 source
Section 4.2 lists the architectures evaluated, but does not include Memory Mosaics. Section 4.5 reports that Transformers outperformed the other model classes tested on REGBENCH; it does not compare them with Memory Mosaics. Searches for “Memory Mosaics” and a REGBENCH performance comparison found no passage establishing the claimed result. (LLM, conf=0.76)
Experimental — accuracy not yet measured
- Interpretationreasoning
Because contextual memory contents are updated at inference time, recruiting some of them into the routing circuitry provides means to create new routes based on the first observations of a new sequence, suggesting an efficient alternative to capsule networks.
“Because the contents of contextual memory units are updated at inference time, recruiting some of them into the routing circuitry provides the means to create new routes on the basis of the first observations of a new sequence, suggesting an efficient alternative to capsule networks (Sabour et al., 2017).”
Quote in the paperSubstantial claim1 of 1 sources checked- cites Sabour et al., 2017 source
- Findingnone given
The Memory Mosaic architecture outperforms decoding transformers on out-of-distribution tasks such as in-context learning.
“and outperforms them on o.o.d.tasks such as in-context learning.”
Quote in the paperSubstantial claim - Findingnone given
The comparatively transparent Memory Mosaic architecture matches the i.i.d. performance of decoding transformers on a language modeling task.
“showing that this comparatively transparent architecture matches the i.i.d.performance of decoding transformers on a language modeling task”
Quote in the paperSubstantial claim - Findingreasoning
The gradient training algorithm splits the overall prediction task into disentangled prediction sub-tasks assigned to each memory unit (predictive disentanglement).
“This meta-learning interpretation reveals a remarkable phenomenon that we call predictive disentanglement : the gradient training algorithm splits the overall prediction task (e.g., predicting the next token in a natural language sentence) into disentangled prediction sub-tasks assigned to each memory unit.”
Quote in the paperSubstantial claim - Findingcitation
Memory Mosaics possess some disentanglement and compositional capabilities that have long eluded machine learning systems.
“Like transformers, Memory Mosaics possesses some of the disentanglement and compositional capabilities that have long eluded machine learning systems (Lake & Baroni, 2018).”
Quote in the paperSubstantial claim0 of 1 sources checked- cites Lake & Baroni, 2018
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
- Findingown data
Memory Mosaics perform as well or better than transformers on medium-scale language modeling tasks.
“We illustrate these capabilities on a toy example and also show that memory mosaics perform as well or better than transformers on medium-scale language modeling tasks.”
Quote in the paperSubstantial claim - Findingown data
All baseline methods perform well in the IID test set (even with only 100 training environments).
“All baseline methods perform well in the IID test set (even with only 100 training environments).”
Quote in the paperSubstantial claim - Findingown data
The ROPE attention patterns do not extend nicely beyond the training context length.
“The ROPE attention patterns do not extend nicely beyond the training context length.”
Quote in the paperSubstantial claim - Findingown data
The Memory Mosaic attention pattern is mostly flat, save for higher scores for the most recent tokens.
“In contrast, the Memory Mosaic attention pattern is mostly flat, save for higher scores for the most recent tokens.”
Quote in the paperSubstantial claim - Findingown data
Single head network prediction error shows a sharp transition after lcm(p1, p2, p3) observations, when the network switches from predicting the future moon position by repeating the last observation to predicting by finding a matching memorized configuration.
“The prediction error shows a sharp transition after lcm(p 1 , p 2 , p 3 ) observations (red vertical line), when the network switches from predicting the future moon position by repeating the last observation to predicting by find a matching memorized configuration.”
Quote in the paperSubstantial claim - Findingown data
Memory Mosaics perform very much like decoding transformers on the sort of language modeling task that made them famous.
“Such learning machines not only resemble decoding transformers (Section 3) but also perform very much like decoding transformers on the sort of language modeling task that made them famous (Section 7).”
Quote in the paperSubstantial claim - Findingown data
Both models perform very similarly on the qualitative evaluation task of twenty-four prompts.
“Both models perform very similarly on this task.”
Quote in the paperNot a substantial claim0 of 1 sources checked- cites Eldan & Li
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
- Findingown data
The Memory Mosaic attention patterns remain mostly flat on extended contexts.
“In contrast the Memory Mosaic attention patterns remain mostly flat.”
Quote in the paperSubstantial claim - Findingown data
The training process yields parameter matrices Wφ, Wψ, and Wz that dedicate one memory unit to each moon.
“Figure 10 shows how the training process yields parameter matrices W φ , W ψ , and W z , that dedicate one memory unit to each moon.”
Quote in the paperSubstantial claim - Findingown data
In the interval between max period and lcm, the three-heads network returns accurate predictions for moon configurations very different from previously observed ones by combining individual moon predictions.
“In this interval, accurate predictions are returned for moon configurations that can be very different from the previously observed ones.Instead the network combines individual moon predictions, each well supported by the past observations.”
Quote in the paperSubstantial claim - Findingown data
For the single-head network, prediction error shows a sharp transition after lcm(p1,p2,p3) observations, when the memory contains a full set of moon configurations.
“For the single head network (Figure 4), the plots show a sharp transition after lcm(p 1 , p 2 , p 3 ) observations, that is, when the memory contains a full set of moon configurations (red vertical line).”
Quote in the paperSubstantial claim - Findingnone given
The similarity of the Transformer and Memory Mosaic curves is especially striking when one recalls that the Memory Mosaic does not use position encoding.
“The similarity of the Transformer and Memory Mosaic curves is especially striking when one recalls that the Memory Mosaic does not use position encoding.”
Quote in the paperSubstantial claim - Findingreasoning
The Memory Mosaic has a small advantage for very small depths (N b = 1 and N b = 4).
“The Memory Mosaic has a small advantage for very small depths (N b = 1 and N b = 4) but this advantage does not persist when the number of blocks increases.”
Quote in the paperNot a substantial claim - Findingreasoning
The Memory Mosaic's advantage does not persist when the number of blocks increases.
“The Memory Mosaic has a small advantage for very small depths (N b = 1 and N b = 4) but this advantage does not persist when the number of blocks increases.”
Quote in the paperSubstantial claim - Findingown data
Baseline methods learned the training environments (good IID).
“This table, together with Figure 9, show that baseline methods learned the training environments (good IID) but not the meta-learning ability (poor OOD).”
Quote in the paperSubstantial claim - Findingown data
For the three-heads network, the prediction error curve drops after seeing exactly p1, p2, and p3 observations, whenever the orbit of an additional moon has been memorized.
“For the three-heads network (Figure 5), the prediction error curve drops after seeing exactly p 1 , p 2 , and p 3 observations (black lines), that is whenever the orbit of an additional moon has been memorized.”
Quote in the paperSubstantial claim - Findingown data
Memory Mosaics dominate the REGBENCH benchmark, substantially outperforming transformers, recurrent neural networks, and state-space models for training set sizes covering three orders of magnitude.
“Memory Mosaics dominate this benchmark, substantially outperforming transformers, recurrent neural networks, and state-space models for training set sizes covering three orders of magnitude.”
Quote in the paperSubstantial claim0 of 1 sources checked- cites Akyürek et al.
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
- Findingown data
Baseline methods did not learn the meta-learning ability (poor OOD).
“This table, together with Figure 9, show that baseline methods learned the training environments (good IID) but not the meta-learning ability (poor OOD).”
Quote in the paperSubstantial claim - Findingown data
The ALIBI attention patterns show the vanishing contribution of distant tokens.
“The ALIBI attention patterns show the vanishing contribution of distant tokens.”
Quote in the paperSubstantial claim - Findingown data
The three-heads network produces accurate predictions after a time equal to max(p1,p2,p3), long before the combined period lcm(p1,p2,p3).
“Observe how the network produces accurate predictions after a time equal to the period max(p 1 , p 2 , p 3 ) of the slowest moon (last black line), long before the combined period lcm(p 1 , p 2 , p 3 ) (red line) of the moon system.”
Quote in the paperSubstantial claim - Findingown data
The transformer performance plateaus after 100 to 150 tokens on Simple English Wikipedia, which is a bit shorter than a typical tiny story.
“The transformer performance plateaus after 100 to 150 tokens, which is a bit shorter than a typical tiny story.”
Quote in the paperSubstantial claim - Findingown data
This effect is connected to the leaky average coefficient λφ.
“This effect is connected to the leaky average coefficient λφ, as shown in Figure16.”
Quote in the paperNot a substantial claim - Interpretationreasoning
Because the associative memory retrieval function (2) converges to stationary conditional expectations E(V|K), each memory unit is driven to produce a good conditional expectation estimate as soon as possible.
“Because the associative memory retrieval function ( 2) is known to converge to stationary conditional expectations E(V |K), each memory unit is driven to produce a good conditional expectation estimate as soon as possible.”
Quote in the paperNot a substantial claim- Rests on an assumption: The associative memory retrieval function converges to stationary conditional expectations E(V|K).
- Interpretationreasoning
When multiple memory units are available, training can distribute the overall prediction task among them by optimizing value extraction functions psi to produce values v_T that are more efficiently modeled by their respective memory units.
“When multiple memory units are available, the training procedure can also distribute the overall prediction task among the available memory units.As long as the memory units outputs can still be combined to address the overall task, the training algorithm can optimize the parameters of the value extraction functions ψ to produce values v T that more efficiently modeled by their respective memory”
Quote in the paperSubstantial claim - Premisereasoning
An associative memory can be viewed as a device that estimates a conditional probability distribution P(V|K) on the basis of a sample of key-value pairs.
“This exchangeability property suggests that we can also view an associative memory as a device that estimates a conditional probability distribution P (V |K) on the basis of the sample (k 1 , v 1 ) . . .(k n , v n ) of key-value pairs.”
Quote in the paperSubstantial claim- Rests on an assumption: An associative memory stores key-value pairs without consideration for their temporal ordering, except perhaps when duplicate keys are involved.
- Interpretationreasoning
Each memory unit operates as a little predictor whose outputs y_T can be interpreted as a conditional expectation that estimates features of the near future (v_T) based on past observations (k_T).
“Each memory unit operates as a little predictor whose outputs y T can be interpreted as a conditional expectation (1) that estimates features of the near future (v T ) of the input time series on the basis of its past observations (k T ).”
Quote in the paperSubstantial claim - Interpretationcitation
With a frozen value extraction function psi, training can make each memory unit statistically more efficient by tuning the key extraction function phi, i.e., learning a similarity metric (kernel).
“Let us first assume that each memory unit has a frozen value extraction function ψ.The training procedure can still make each memory unit statistically more efficient by tuning the parameters of the key extraction function φ, that is, by learning how to compare the current prediction context (x T , x T -1 , x T -2 . . . ) with past prediction contexts (x t , x t-1 , x t-2 . . . ) for t < T .”
Quote in the paperSubstantial claim0 of 1 sources checked- cites Bach et al., 2004 source
- Interpretationreasoning
Because each memory unit operates independently at inference time, predictive disentanglement works best when the overall prediction task is disentangled into smaller sub-tasks that can be modeled independently and efficiently.
“Because each memory unit operates independently at inference time, this works best when the overall prediction task is disentangled into smaller prediction sub-tasks that can be modeled independently and efficiently.”
Quote in the paperSubstantial claim - Interpretationreasoning
The training procedure should be seen as a meta-learning process, distinct from the memory-based learning that occurs at inference time when new key/value pairs are added into the memories.
“The training procedure should therefore be seen as a meta-learning process, distinct from the memory-based learning that occurs at inference time when new key/value pairs are added into the memories.”
Quote in the paperSubstantial claim - Interpretationown data
Predictive disentanglement is not a mysterious effect of scale but a property of the architecture.
“showing that this is not a mysterious effect of scale but a property of the architecture.”
Quote in the paperSubstantial claim - Interpretationnone given
The predictive disentanglement principle explains how training decomposes the overall task in interesting ways.
“identifying and illustrating the predictive disentanglement principle which explains how training decomposes the overall task in interesting ways”
Quote in the paperSubstantial claim - Premisereasoning
When all key vectors share a same squared norm, Gaussian kernel smoothing becomes equivalent to attention.
“The close connection between this Gaussian kernel smoothing and attention (Bahdanau et al., 2015) is obvious when all key vectors k i share a same squared norm because expression (2) becomes”
Quote in the paperNot a substantial claim0 of 1 sources checked- cites Bahdanau et al., 2015
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
- Study design and conductreasoning
There is no leak of future information in the elementary memory unit because the output y_T does not depend on v_T but only on previously stored key/value pairs.
“Although the value v T depends on the near future, the output y T does not depend on v T but merely leverages the previously stored key/value pairs to estimate v T .Therefore there is no leak of future information: each memory unit is a little machine that predicts a bit of future information (described by v T ) on the basis of recent information (described by k T ) and previously stored key/valu”
Quote in the paperSubstantial claim - Premisereasoning
The retrieval function of an associative memory is a conditional expectation over the estimated distribution.
“The retrieval function is then a conditional expectation over this estimated distribution:”
Quote in the paperSubstantial claim - Interpretationreasoning
Memory Mosaics achieve compositional and in-context learning capabilities in a comparatively transparent way, unlike transformers.
“Unlike transformers, memory mosaics achieve these capabilities in comparatively transparent way”
Quote in the paperSubstantial claim - Premisenone given
Such a conditional expectation can be constructed with Gaussian kernel regression.
“Such a conditional expectation can be constructed with Gaussian kernel regression,”
Quote in the paperSubstantial claim - Interpretationnone given
An n block deep Mosaic has the same number of parameters as an n block deep Transformer.
“This amounts to saying that a n block deep Mosaic has the same number of parameters than a n block deep Transformer, its performance is closer to that of a n + 1 block Transformer.”
Quote in the paperSubstantial claim - Interpretationreasoning
Minimizing the sum of prediction losses favors memories that produce useful value estimates after fewer time steps.
“Minimizing their sum -the area under the curve-favors memories that produce useful value estimates after fewer time steps.”
Quote in the paperSubstantial claim - Interpretationreasoning
Position encoding in Transformers is mostly useful to implement an initial induction head in the first two blocks.
“This suggests that position encoding in Transformers is mostly useful to implement an initial induction head in the first two blocks.”
Quote in the paperSubstantial claim - Interpretationreasoning
These two mechanisms do not allow a head to selectively address a token by position.
“These two mechanisms are useful to implement bigram or n-gram induction heads in a single layer, but they do not allow a head to selectively address a token by position (we use a single scalar leaky average coefficient per head).”
Quote in the paperSubstantial claim - Premisereasoning
Predicting Simple English Wikipedia articles using models trained on BABISTORIES is a challenging out-of-distribution task.
“Predicting Simple English Wikipedia articles using models trained on BABISTORIESis therefore a challenging out-of-distribution task.”
Quote in the paperSubstantial claim - Interpretationreasoning
An n block deep Mosaic's performance is closer to that of an n+1 block Transformer.
“This amounts to saying that a n block deep Mosaic has the same number of parameters than a n block deep Transformer, its performance is closer to that of a n + 1 block Transformer.”
Quote in the paperSubstantial claim - Premisenone given
The absolute position encoding scheme cannot be extended to longer contexts.
“Because the absolute position encoding scheme cannot be extended to longer contexts, we provides a comparison with transformers using ROPE (Su et al., 2024) and ALIBI (Press et al., 2022).”
Quote in the paperSubstantial claim0 of 2 sources checked- cites Su et al., 2024
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
- cites Press et al., 2022
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
- Interpretationreasoning
The chatbot creative writing phenomenon is fundamentally similar to the three-moons example, where unseen configurations are accurately predicted by combining individual moon predictions.
“This phenomenon is fundamentally similar to that illustrated in Figure 5, where moon configurations unlike any previously seen configurations are accurately predicted because the network has learned how to combine individual moon predictions.”
Quote in the paperSubstantial claim - Interpretationreasoning
The outputs of disentangled sub-tasks can be recombined to provide predictions for inputs globally very different from training inputs, but whose disentangled components are individually predictable.
“Their outputs can then be recombined to provide predictions for inputs that are globally very different from the training inputs, but whose disentangled components are individually predictable, as illustrated in Section 5.”
Quote in the paperSubstantial claim - Interpretationreasoning
The predictive disentanglement principle explains why training a Memory Mosaic breaks the overall prediction task into pieces that are more efficiently memorized when they are considered independently.
“Second, the predictive disentanglement principle explains why training a Memory Mosaic breaks the overall prediction task into pieces that are more efficiently memorized when they are considered independently (Section 5).”
Quote in the paperSubstantial claim - Premisereasoning
The second astronomer only needs to log daily moon positions until each moon returns to a previously observed position, for a number of days equal to max(p1,p2,p3).
“In contrast, the second astronomer only needs to log daily moon positions until each of the moons returns to a previously observed position, for a number of days equal to the period max(p 1 , p 2 , p 3 ) of the slowest moon.”
Quote in the paperSubstantial claim - Interpretationreasoning
These two mechanisms are useful to implement bigram or n-gram induction heads in a single layer.
“These two mechanisms are useful to implement bigram or n-gram induction heads in a single layer, but they do not allow a head to selectively address a token by position (we use a single scalar leaky average coefficient per head).”
Quote in the paperSubstantial claim - Interpretationreasoning
The total number of persistent memory unit slots is close to the total number of FFN hidden units.
“The total number of persistent memory unit slots is therefore close to the total number of FFN hidden units.”
Quote in the paperNot a substantial claim - Interpretationreasoning
As λφ increases, the pick at the end of attention map becomes wider.
“As λ φ increases, k t in Eq 6 effectively takes a longer history into the account, and thus the pick at the end of attention map becomes wider.”
Quote in the paperNot a substantial claim - Interpretationnone given
As λφ increases, kt in Eq 6 effectively takes a longer history into account.
“As λ φ increases, k t in Eq 6 effectively takes a longer history into the account, and thus the pick at the end of attention map becomes wider.”
Quote in the paperNot a substantial claim
- Classified as probably not a substantial claim. 20
- May combine two claims. 20
Probably not a substantial claim: may not pass S3 (load-bearing), S4 (based).
Interpretationnone givenA similar effect to the meta-learning objective of Bengio et al. happens in our architecture as a consequence of the normal training process interpreted as a meta-learning process.
“We argue that a similar effect happens in our architecture, as a consequence of the normal training process interpreted as a meta-learning process, revealing an important aspect of the still mysterious compositional learning abilities of transformer-like architectures.”
Quote in the paperNot a substantial claim1 of 1 sources checked- cites Bengio et al., 2019 source
May combine two claims.
Interpretationnone givenPredictive disentanglement is closely related to the meta-transfer objective of Bengio et al. (2019) but arises as a side effect of a specific predictive architecture trained with the usual gradient procedure.
“Predictive disentanglement is closely related to the meta-transfer objective of Bengio et al. (2019) but arises as a side effect of a specific predictive architecture trained with the usual gradient procedure.”
Quote in the paperNot a substantial claim1 of 1 sources checked- cites Bengio et al., 2019 source
Probably not a substantial claim: may not pass S3 (load-bearing).
PremisecitationA small language model trained on TINYSTORIES data generates continuations with far better language quality and narrative consistency than a much larger model (1.5B parameters) trained on generic text.
“A small language model trained on such data generates continuations with far better language quality and narrative consistency than those a much larger model (1.5B parameters) trained on a generic text.”
Quote in the paperNot a substantial claim1 of 1 sources checked- cites Eldan & Li (2023) source
May combine two claims.
PremisecitationFFNs in a transformer can be interpreted as persistent memories that augment self-attention layers and provide means to represent information that persists across input sequences.
“Persistent memories Sukhbaatar et al. (2019) shows that FFNs in a transformer can be interpreted as persistent memories that augment the self-attention layers and provide means to represent information that persists across input sequences.”
Quote in the paperSubstantial claim1 of 1 sources checked- cites Sukhbaatar et al. (2019) source
Probably not a substantial claim: may not pass S3 (load-bearing). May combine two claims.
PremisecitationThe TINYSTORIES dataset is composed of stories written in a simple language and taking place in a narrow world.
“The TINYSTORIES dataset (Eldan & Li, 2023) is composed of stories written in a simple language and taking place a narrow world.”
Quote in the paperNot a substantial claim1 of 1 sources checked- cites Eldan & Li, 2023 source
May combine two claims.
FindingcitationThe transformer attention patterns are noisy, with a strong 'attention sink' at position 0.
“The transformer attention patterns are noisy, with a strong”
Quote in the paperSubstantial claim1 of 1 sources checked- cites Xiao et al., 2023 source
Classified as probably not a substantial claim. May combine two claims.
PremisecitationREGBENCH constructs random artificial languages defined by probabilistic finite automata, and competing architectures are evaluated on predicting the last token of testing sequences generated using held out PFAs.
“the REGBENCH benchmark (Akyürek et al., 2024) constructs random artificial languages defined by probabilistic finite automata (PFA).Each input sequence is composed of 10 to 20 strings drawn from a same PFA and delimited separator tokens.The competing architectures are trained on a variable number of input sequences, then evaluated on their ability to predict the last token of testing sequences”
Quote in the paperSubstantial claim1 of 1 sources checked- cites Akyürek et al., 2024 source
Section 3.3 (page unavailable) describes REGBENCH instances made from 10–20 strings sampled from an automaton, with distinct automata divided between training and test sets. Section 2.3 identifies the languages as PFA-based. However, Section 4.4 evaluates next-token predictions across all test-set symbols, not only the last token of each testing sequence. (LLM, conf=0.88)
Experimental — accuracy not yet measured
May combine two claims.
Findingnone givenMemory Mosaics possess compositional capabilities and in-context learning capabilities like transformers.
“Like transformers, memory mosaics possess compositional capabilities and in-context learning capabilities.”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataMemory Mosaics substantially outperform transformers after about 50 tokens on Simple English Wikipedia, suggesting superior in-context learning abilities.
“Memory Mosaics substantially outperform transformers after about 50 tokens, suggesting superior in-context learning abilities.”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataThree-heads network prediction error improves whenever the context length reaches the period of a new moon, yielding accurate predictions after the last one, well before having seen the full set of moon configurations.
“The prediction error improves whenever the context length reaches the period of a new moon (black vertical lines), yielding accurate predictions after the last one, well before having seen the full set of moon configurations (red vertical line).”
Quote in the paperSubstantial claimProbably not a substantial claim: may not pass S3 (load-bearing).
FindingcitationTraining the three-heads network can be quite challenging in a manner that resembles the XOR networks of the early times.
“Training the three-heads network can be quite challenging in a manner that resembles the XOR networks of the early times (Rumelhart et al., 1986).”
Quote in the paperNot a substantial claim0 of 1 sources checked- cites Rumelhart et al., 1986
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
May combine two claims.
Findingown dataBefore the lcm threshold, the single-head network predicts by repeating the last observation; after the threshold, it predicts by finding a matching moon configuration in memory.
“Before this threshold, predictions are performed by repeating the last observation.After this threshold, predictions are performed by finding a matching moon configuration in the memory, just as suggested by the first astronomer.”
Quote in the paperSubstantial claimProbably not a substantial claim: may not pass S3 (load-bearing).
Findingnone givenFor small block depths, the Memory Mosaic training curve shows initial instability.
“However, for small block depths, the Memory Mosaic training curve shows initial instability, suggesting that it might benefit from a smaller stepsize.”
Quote in the paperNot a substantial claimMay combine two claims.
Findingown dataThe Memory Mosaic slightly outperforms the transformer for small depth networks, but this effect disappears when depth increases and both training and validation losses become indistinguishable.
“The Memory Mosaic slightly outperforms the transformer for small depth networks,foot_7 but this effect disappears when the depth increases and both the training and validation losses become indistinguishable.”
Quote in the paperNot a substantial claimProbably not a substantial claim: may not pass S3 (load-bearing), S4 (based).
Findingnone givenMany variations of key and value extraction functions perform more or less equivalently.
“Many variations perform more or less equivalently.”
Quote in the paperNot a substantial claimMay combine two claims.
Findingown dataBaseline methods trained with small training sets perform poorly on the REG-BENCH task but very well when tested in-distribution.
“Although the baseline methods trained with small training sets (e.g.100) perform poorly on the REG-BENCH task, they perform very well when tested in-distribition (see Table3in the Appendix).”
Quote in the paperSubstantial claimMay combine two claims.
InterpretationreasoningBecause each memory unit acts as a predictor, a single layer of memory units is sufficient to address the induction head problem of Bietti et al. (2024), whereas a decoding transformer needs at least two self-attention layers for the same task.
“Because each memory unit acts as a predictor, a single layer of memory units is sufficient to address the induction head problem of Bietti et al. (2024).In contrast, a decoding transformer needs at least two self-attention layers for the same task.”
Quote in the paperNot a substantial claim0 of 1 sources checked- cites Bietti et al., 2024
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
May combine two claims.
InterpretationreasoningPosition encoding and a distinction between query and key vectors are not needed in Memory Mosaics to implement induction heads.
“Equation ( 7) makes no provision for position encoding and no distinction between query and key vectors.In other words, we are betting that these transformers complications are no longer needed because our associative memory units do not need them to implement induction heads.”
Quote in the paperSubstantial claimProbably not a substantial claim: may not pass S3 (load-bearing).
PremisecitationPersistent memory units can be viewed as fully connected neural networks with a single hidden layer that uses a soft-max non-linearity instead of a component-wise transfer function.
“As pointed out by Sukhbaatar et al., they also can be viewed as fully connected neural networks with a single hidden layer that uses a soft-max non-linearity instead of a component-wise transfer function.”
Quote in the paperNot a substantial claim0 of 1 sources checked- cites Sukhbaatar et al.
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
Classified as probably not a substantial claim.
InterpretationreasoningMemory Mosaics are a model for compositional learning systems that break knowledge into independently memorized fragments, then reassemble them as needed using combination strategies that can themselves be viewed as memorized knowledge fragments.
“Therefore, Memory Mosaics are not just a transformer-like architecture, but also a modelfoot_10 for compositional learning systems that break knowledge into independently memorized fragments, then reassemble them as needed using combination strategies that can themselves be viewed as memorized knowledge fragments (Section 6).”
Quote in the paperSubstantial claimProbably not a substantial claim: may not pass S4 (based).
Interpretationnone givenIn the Simple English Wikipedia experiment, token prediction is expected to improve when increasing context size reveals that the distribution is different.
“In this experiment, the token prediction is expected to improve when the increasing context size reveals that the distribution is different.”
Quote in the paperNot a substantial claimMay combine two claims.
Study design and conductreasoningMemory Mosaics and transformers use the same search space with the same parameter counts in REGBENCH.
“Since REGBENCH includes an hyper-parameter search, Memory Mosaics and transformers use the same search space with the same parameter counts.”
Quote in the paperSubstantial claimMay combine two claims.
InterpretationreasoningUnder the pressure of predictive disentanglement, a network of memory units memorizes disentangled fragments of information and also memorizes how they fit together and how their combinations can be broken into new disentangled fragments and recombined.
“Therefore, under the pressure of the predictive disentanglement principle, a network of memory units does not only memorize disentangled fragments of information, but also memorizes how they fit together and how their combinations can be again broken into new disentangled fragments and recombined in myriad ways.”
Quote in the paperSubstantial claimMay combine two claims.
Study design and conductreasoningAll hyper-parameters were tuned for the transformer architectures and transferred verbatim to the Memory Mosaics, which might explain why training curves track each other and leaves Memory Mosaics at a slight disadvantage.
“Importantly, all hyper-parameters were tuned for the transformer architectures (Appendix C) and transferred verbatim to the Memory Mosaics.This choice might explain why the training curves track each other so well.It also leaves the Memory Mosaics at a slight disadvantage.”
Quote in the paperSubstantial claimProbably not a substantial claim: may not pass S3 (load-bearing), S4 (based).
Interpretationnone givenPersistent memory output y_t can be viewed as the conditional expectation E(V|K) of an implicit value function that is not explicitly parameterized but can be figured out after training.
“Yet, we find conceptually useful to still view the persistent memory output y t as the conditional expectation E(V |K) of an implicit value function that is not explicitly parameterized, but can be figured out after training.”
Quote in the paperNot a substantial claimProbably not a substantial claim: may not pass S4 (based).
InterpretationreasoningThe small advantage of Memory Mosaic at small depths is due to the fact that a single layer Memory Mosaic can implement an induction head whereas a Transformer needs two layers.
“We believe this is due to the fact that a single layer Memory Mosaic can implement an induction head whereas a Transformer needs two layers.”
Quote in the paperNot a substantial claimProbably not a substantial claim: may not pass S2 (checkable), S3 (load-bearing).
InterpretationreasoningDisentanglement can often be achieved in the canonical basis.
“Yet it is not unreasonable to believe that disentanglement can often be achieved in the canonical basis.”
Quote in the paperNot a substantial claimProbably not a substantial claim: may not pass S3 (load-bearing), S4 (based).
Study design and conductnone givenThe persistent memory units are sized to ensure that the per-block parameter count of the Memory Mosaic architecture closely matches GPT2-small.
“These persistent memory units are sized to ensure that the per-block parameter count of the Memory Mosaic architecture closely matches GPT2-small.”
Quote in the paperNot a substantial claimMay combine two claims.
Study design and conductown dataThe Memory Mosaic architecture closely matches the classic GPT2-small transformer architecture in tokenizer, embedding dimension, and number of heads.
“Both architectures, shown side-by-side in Figure 6, use the same GPT2 tokenizer, the same embedding dimension (d = 768), and the same number of heads (N h = N c = N p = 12).”
Quote in the paperNot a substantial claim0 of 1 sources checked- cites Radford et al., 2018;2019
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
May combine two claims.
PremisereasoningTo make reliable predictions, the first astronomer needs a table containing at least one record for each possible moon configuration, requiring logging until lcm(p1,p2,p3) days.
“To make reliable predictions, the first astronomer needs a table that contains at least one record for each of the possible moon configurations.Our astronomer therefore needs to log the daily moon positions until all three moons return to their original configuration, after a number of days equal to the least common multiple lcm(p 1 , p 2 , p 3 ) of the individual moon periods.”
Quote in the paperSubstantial claimProbably not a substantial claim: may not pass S3 (load-bearing).
Study design and conductnone givenThe attention mask excludes the main diagonal to avoid breaking causality.
“Accordingly, the attention mask excludes the main diagonal to avoid breaking causality.”
Quote in the paperNot a substantial claimProbably not a substantial claim: may not pass S4 (based).
PremisereasoningSuch stories can be used to train relatively small language models that still must address some of the broader language modeling challenges such as obeying narrative necessity and maintaining logical consistency.
“Such stories can be used to train relatively small language models that still must address some of the broader language modeling challenges such as obeying narrative necessity and maintaining logical consistency.”
Quote in the paperNot a substantial claimMay combine two claims.
InterpretationcitationPersistent memory units can be seen as a tool for routing information between successive layers of contextual memory units, implementing data-dependent routes like gating modules of a mixture of experts.
“Therefore persistent memory units can also be seen as tool for routing information between successive layers of contextual memory units.Such a circuitry can implement routes that depend on the data, just like the gating modules of a mixture of expert (Jacobs et al., 1991).”
Quote in the paperSubstantial claim0 of 1 sources checked- cites Jacobs et al., 1991 source
Probably not a substantial claim: may not pass S3 (load-bearing).
PremisecitationThe Nadaraya-Watson estimator converges to the true conditional expectation E(K|V) when n → ∞ and β = √n.
“It is known to converge to the true conditional expectation E(K|V ) when n → ∞ and β = √ n.”
Quote in the paperNot a substantial claim0 of 2 sources checked- cites Nadaraya, 1964 source
- cites Watson, 1964
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
Probably not a substantial claim: may not pass S3 (load-bearing), S4 (based).
Interpretationnone givenThe steamroller metaphor makes more sense when the loss is bounded.
“The steamroller metaphor (Figure2) makes more sense when the loss is bounded.”
Quote in the paperNot a substantial claimProbably not a substantial claim: may not pass S3 (load-bearing), S4 (based).
Interpretationnone givenMemory Mosaics only need a single block to implement induction heads, whereas transformers need at least two for the same task.
“This is not surprising because Memory Mosaics only need a single block to implement induction heads, whereas transformers need at least two for the same task.”
Quote in the paperNot a substantial claimMay combine two claims.
InterpretationreasoningBaseline methods trained with small training sets learned to model the training languages but did not acquire the ability to learn new languages in context.
“Therefore they learned to model the training languages but did not acquire the ability to learn new languages in context.”
Quote in the paperSubstantial claimClassified as probably not a substantial claim.
Premisenone givenThe persistent associative memory contains a fixed number of key-value pairs whose values are determined by back-propagating gradients at training time.
“The persistent associative memory contains a fixed number of key-value pairs (k i , v i ) i=1...m whose values are determined by back-propagating gradients at training time.”
Quote in the paperSubstantial claim
The paper relies on this without support.
The associative memory retrieval function converges to stationary conditional expectations E(V|K).
“Because the associative memory retrieval function ( 2) is known to converge to stationary conditional expectations E(V |K), each memory unit is driven to produce a good conditional expectation estimate as soon as possible.”
The authors state this as an assumption.
The training set sequences are extracted from underlying time series governed by possibly different stationary processes.
“Consider a training set composed of long enough sequences (x 1 , . . .x D ) extracted from underlying time series governed by possibly different stationary processes.”
The authors state this as an assumption.
The moons do not collide.
“Space and time separation merely suggests the possibility of independent predictions, as long as the moons do not collide.”
The paper relies on this without support.
An associative memory stores key-value pairs without consideration for their temporal ordering, except perhaps when duplicate keys are involved.
“Except perhaps when duplicate keys are involved, an associative memory stores key-value pairs without consideration for their temporal ordering.”
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
Each contradiction between two passages listed here was confirmed by an independent check.
Footnote reverses the conditional expectation
MinorThe paper defines retrieval as an estimate of E(V|K=k), but the footnote says the same estimator converges to E(K|V). These are different conditional expectations.
“It is known to converge to the true conditional expectation E(K|V ) when n → ∞ and β = √ n.”
“f k; {(k 1 , v 1 ) . . . (k n , v n )} = E(V | K = k) .(1)”
Gaussian-kernel expansion drops a factor of two
MinorWith equal key norms, expanding −β∥k−ki∥2 gives a key-dependent term of 2βkTki. Equation (3) instead uses βkTki, so it does not follow from equation (2) with the same β.
“f k; {(k 1 , v 1 ) . . . (k n , v n )} = n i=1 1 Z e -β∥k-ki∥ 2 v i with Z = n i=1 e -β∥k-ki∥ 2 . (2)”
“f k; {(k 1 , v 1 ) . . . (k n , v n )} = n i=1 e β k ⊤ ki n j=1 e β k ⊤ kj v i .(3)”
Cites
Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., Kaiser, L., & Polosukhin, I. (2017) · arXiv · doi:10.48550/arxiv.1706.03762 · Cited by 120,404 · cited 2× · see citing works
“Such systems are closely re-lated to memory networks (Weston et al., 2014; Sukhbaatar et al., 2015) and resemble transformers (Vaswani et al., 2017) despite significant differences.”
Learning Internal Representations by Error Propagation
Rumelhart, D. E., Hinton, G. E., & Williams, R. J. (1985) · doi:10.21236/ada164453 · Cited by 16,501 · see citing works
Neural Machine Translation by Jointly Learning to Align and Translate
Bahdanau, D., Cho, K., & Bengio, Y. (2014) · arXiv · doi:10.48550/arxiv.1409.0473 · Cited by 16,213 · cited 1× · see citing works
“…expectation can be constructed with Gaussian kernel regression, The close connection between this Gaussian kernel smoothing and attention (Bahdanau et al., 2015) is obvious when all key vectors k i share a same squared norm because expression (2) becomes There are of course more…”
Decoupled Weight Decay Regularization
Loshchilov, I., & Hutter, F. (2017) · arXiv · doi:10.48550/arxiv.1711.05101 · Cited by 12,522 · see citing works
Adaptive Mixtures of Local Experts
Jacobs, R. A., Jordan, M. I., Nowlan, S. J., & Hinton, G. E. (1991) · Neural Computation · doi:10.1162/neco.1991.3.1.79 · Cited by 5,384 · cited 1× · see citing works
“Such a circuitry can implement routes that depend on the data, just like the gating modules of a mixture of expert (Jacobs et al., 1991).”
Dynamic Routing Between Capsules
Sabour, S., Frosst, N., & Hinton, G. E. (2017) · arXiv · doi:10.48550/arxiv.1710.09829 · Cited by 4,167 · cited 1× · see citing works
“…the contents of contextual memory units are updated at inference time, recruiting some of them into the routing circuitry provides the means to create new routes on the basis of the first observations of a new sequence, suggesting an efficient alternative to capsule networks (Sabour et al., 2017).”
Nadaraya, E. A. (1964) · Theory of Probability & Its Applications · doi:10.1137/1109020 · Cited by 3,462 · see citing works
Learning internal representations by error propagation
RUMELHART, D. E., HINTON, G. E., & WILLIAMS, R. J. (1988) · Readings in Cognitive Science · doi:10.1016/b978-1-4832-1446-7.50035-2 · Cited by 3,002 · cited 1× · see citing works
“A Tracking three moons Training the three-heads network can be quite challenging in a manner that resembles the XOR networks of the early times (Rumelhart et al., 1986).”
Using labeled data to evaluate change detectors in a multivariate streaming environment
Kim, A. Y., Marzban, C., Percival, D., et al. (2009) · Signal Processing · doi:10.1016/j.sigpro.2009.04.011 · Cited by 2,735 · cited 1× · see citing works
“Disentanglement has long been recognized as desirable (Bengio, 2013) but has been hard to pinpoint (Comon, 1994; Roth et al., 2022; Thomas et al., 2018).”
RoFormer: Enhanced transformer with rotary position embedding
Su, J., Ahmed, M., Lu, Y., Pan, S., Bo, W., & Liu, Y. (2024) · Neurocomputing · doi:10.1016/j.neucom.2023.127063 · Cited by 1,957 · cited 2× · see citing works
“Because the GPT2 absolute position encoding does not extend, we compare with R O PE (Su et al., 2024) and A LI B I (Press et al., 2022).”
Mamba: Linear-Time Sequence Modeling with Selective State Spaces
Gu, A., & Dao, T. (2023) · arXiv · doi:10.48550/arxiv.2312.00752 · Cited by 1,579 · cited 1× · see citing works
“Several recent papers (e.g., Katharopoulos et al., 2020; Peng et al., 2023; Sun et al., 2023; Gu & Dao, 2023) propose transformer alternatives that use efficient recurrences to cut the quadratic computational cost of transformers.”
Multiple kernel learning, conic duality, and the SMO algorithm
Bach, F. R., Lanckriet, G. R. G., & Jordan, M. I. (2004) · Twenty-first international conference on Machine learning - ICML '04 · doi:10.1145/1015330.1015424 · Cited by 1,453 · cited 1× · see citing works
“Learning a similarity metric (a kernel) is a well known way to make non-parametric estimators more efficient (e.g., Bach et al., 2004).”
Transformers are RNNs: Fast Autoregressive Transformers with Linear Attention
Katharopoulos, A., Vyas, A., Pappas, N., & Fleuret, F. (2020) · arXiv · doi:10.48550/arxiv.2006.16236 · Cited by 827 · cited 1× · see citing works
“Several recent papers (e.g., Katharopoulos et al., 2020; Peng et al., 2023; Sun et al., 2023; Gu & Dao, 2023) propose transformer alternatives that use efficient recurrences to cut the quadratic computational cost of transformers.”
Memory NetworksPreprint
Weston, J., Chopra, S., & Bordes, A. (2014) · arXiv (Cornell University) · doi:10.48550/arxiv.1410.3916 · Cited by 819 · cited 2× · see citing works
“Such systems are closely re-lated to memory networks (Weston et al., 2014; Sukhbaatar et al., 2015) and resemble transformers (Vaswani et al., 2017) despite significant differences.”
Greengard, L., & Strain, J. (1991) · SIAM Journal on Scientific Computing · doi:10.1137/0912004 · Cited by 598 · cited 1× · see citing works
“One time step later, the input x T +1 is revealed, the value v T can be computed, and the pair ( k T , v T ) is added to the memory.”
Deep Learning of Representations: Looking Forward
Bengio, Y. (2013) · Lecture notes in computer science · doi:10.1007/978-3-642-39593-2_1 · Cited by 558 · cited 1× · see citing works
“Disentanglement has long been recognized as desirable (Bengio, 2013) but has been hard to pinpoint (Comon, 1994; Roth et al., 2022; Thomas et al., 2018).”
Improved fast gauss transform and efficient kernel density estimation
Yang, C., Duraiswami, R., Gumerov, N., et al. (2003) · Proceedings Ninth IEEE International Conference on Computer Vision · doi:10.1109/iccv.2003.1238383 · Cited by 526 · see citing works
RWKV: Reinventing RNNs for the Transformer Era
Peng, B., Alcaide, E., Anthony, Q., Albalak, A., Arcadinho, S., Biderman, S., Cao, H., Cheng, X., Chung, M., Derczynski, L., et al. (2023) · Findings of the Association for Computational Linguistics: EMNLP 2023 · doi:10.18653/v1/2023.findings-emnlp.936 · Cited by 390 · cited 1× · see citing works
“Several recent papers (e.g., Katharopoulos et al., 2020; Peng et al., 2023; Sun et al., 2023; Gu & Dao, 2023) propose transformer alternatives that use efficient recurrences to cut the quadratic computational cost of transformers.”
HiPPO: Recurrent Memory with Optimal Polynomial ProjectionsPreprint
Gu, A., Dao, T., Ermon, S., Rudra, A., & Ré, C. (2020) · arXiv (Cornell University) · doi:10.48550/arxiv.2008.07669 · Cited by 249 · cited 1× · see citing works
“One time step later, the input x T +1 is revealed, the value v T can be computed, and the pair ( k T , v T ) is added to the memory.”
Hopfield Networks is All You Need
Ramsauer, H., Schäfl, B., Lehner, J., Seidl, P., Widrich, M., Adler, T., Gruber, L., Holzleitner, M., Pavlović, M., Sandve, G. K., et al. (2020) · arXiv · doi:10.48550/arxiv.2008.02217 · Cited by 236 · cited 2× · see citing works
“Closer to our interests, other authors (e.g., Ramsauer et al., 2020; Krotov, 2023; Hoover et al., 2024) rethink transformers with Hopfield-style associative memories and their associated energy function.”
A Meta-Transfer Objective for Learning to Disentangle Causal Mechanisms
Bengio, Y., Deleu, T., Rahaman, N., Ke, R., Lachapelle, S., Bilaniuk, O., Goyal, A., & Pal, C. (2019) · arXiv · doi:10.48550/arxiv.1901.10912 · Cited by 182 · cited 2× · see citing works
“Predictive disentanglement is closely related to the meta-transfer objective of Bengio et al. (2019) but arises as a side effect of a specific predictive architecture trained with the usual gradient procedure.”
Inferring Algorithmic Patterns with Stack-Augmented Recurrent NetsPreprint
Joulin, A., & Mikolov, T. (2015) · arXiv (Cornell University) · doi:10.48550/arxiv.1503.01007 · Cited by 168 · cited 1× · see citing works
“Although such ideas have been explored in memory networks (Weston et al., 2014; Joulin & Mikolov, 2015; Sukhbaatar et al., 2015), the importance of having lots of independent memories had not been fully appreciated.”
Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolation
Press, O., Smith, N. A., & Lewis, M. (2021) · arXiv · doi:10.48550/arxiv.2108.12409 · Cited by 161 · cited 2× · see citing works
“Because the GPT2 absolute position encoding does not extend, we compare with R O PE (Su et al., 2024) and A LI B I (Press et al., 2022).”
Jiang, A. Q., Sablayrolles, A., Roux, A., Mensch, A., Savary, B., Bamford, C., Chaplot, D. S., Casas, D. D. L., Hanna, E. B., Bressand, F., et al. (2024) · arXiv · doi:10.48550/arxiv.2401.04088 · Cited by 143 · see citing works
Retentive Network: A Successor to Transformer for Large Language Models
Sun, Y., Dong, L., Huang, S., Ma, S., Xia, Y., Xue, J., Wang, J., & Wei, F. (2023) · arXiv · doi:10.48550/arxiv.2307.08621 · Cited by 142 · cited 1× · see citing works
“Several recent papers (e.g., Katharopoulos et al., 2020; Peng et al., 2023; Sun et al., 2023; Gu & Dao, 2023) propose transformer alternatives that use efficient recurrences to cut the quadratic computational cost of transformers.”
In-context Learning and Induction Heads
Olsson, C., Elhage, N., Nanda, N., Joseph, N., DasSarma, N., Henighan, T., Mann, B., Askell, A., Bai, Y., Chen, A., et al. (2022) · arXiv · doi:10.48550/arxiv.2209.11895 · Cited by 104 · see citing works
Hoover, B., Liang, Y., Pham, B., et al. (2023) · Neural Information Processing Systems · doi:10.48550/arxiv.2302.07253 · Cited by 100 · cited 1×
“Closer to our interests, other authors (e.g., Ramsauer et al., 2020; Krotov, 2023; Hoover et al., 2024) rethink transformers with Hopfield-style associative memories and their associated energy function.”
Lake, B., & Baroni, M. (2017) · International Conference on Learning Representations · doi:10.48550/arxiv.1711.00350 · Cited by 85 · see citing works
A new frontier for Hopfield networks
Krotov, D. (2023) · Nature Reviews Physics · doi:10.1038/s42254-023-00595-y · Cited by 84 · cited 1× · see citing works
“Closer to our interests, other authors (e.g., Ramsauer et al., 2020; Krotov, 2023; Hoover et al., 2024) rethink transformers with Hopfield-style associative memories and their associated energy function.”
Augmenting Self-attention with Persistent Memory
Sukhbaatar, S., Grave, E., Lample, G., Jegou, H., & Joulin, A. (2019) · arXiv · doi:10.48550/arxiv.1907.01470 · Cited by 75 · cited 2× · see citing works
“Persistent memories Sukhbaatar et al. (2019) shows that FFNs in a transformer can be interpreted as persistent memories that augment the self-attention layers and provide means to represent information that persists across input sequences.”
Chen, B., Medini, T., Farwell, J., Gobriel, S., Tai, C., & Shrivastava, A. (2019) · arXiv (Cornell University) · doi:10.48550/arxiv.1903.03129 · Cited by 62 · see citing works
Self-citationSpring, R., & Shrivastava, A. (2017) · arXiv.org · doi:10.48550/arxiv.1703.05160 · Cited by 57 · cited 1×
“…et al., 2023), and associative memories could be implemented using a wide spectrum of techniques, either classical (e.g., Green-gard & Strain, 1991; Spring & Shrivastava, 2017), or neural (e.g., Krotov, 2023), which could rede-fine the computing requirements of contemporary artificial intelligence…”
Efficient Streaming Language Models with Attention Sinks
Xiao, G., Tian, Y., Chen, B., Han, S., & Lewis, M. (2023) · arXiv · doi:10.48550/arxiv.2309.17453 · Cited by 55 · cited 1× · see citing works
“The transformer attention patterns are noisy, with a strong “attention sink” at position 0 (Xiao et al., 2023).”
Self-citationTinyStories: How Small Can Language Models Be and Still Speak Coherent English?
Eldan, R., & Li, Y. (2023) · arXiv · doi:10.48550/arxiv.2305.07759 · Cited by 52 · see citing works
Disentanglement of Correlated Factors via Hausdorff Factorized Support
Roth, K., Ibrahim, M., Akata, Z., et al. (2022) · International Conference on Learning Representations · doi:10.48550/arxiv.2210.07347 · Cited by 49 · cited 1×
“Disentanglement has long been recognized as desirable (Bengio, 2013) but has been hard to pinpoint (Comon, 1994; Roth et al., 2022; Thomas et al., 2018).”
Disentangling the independently controllable factors of variation by interacting with the worldPreprint
Thomas, V., Bengio, E., Fedus, W., Pondard, J., Beaudoin, P., Larochelle, H., Pineau, J., Precup, D., & Bengio, Y. (2018) · arXiv (Cornell University) · doi:10.48550/arxiv.1802.09484 · Cited by 39 · cited 1× · see citing works
“Disentanglement has long been recognized as desirable (Bengio, 2013) but has been hard to pinpoint (Comon, 1994; Roth et al., 2022; Thomas et al., 2018).”
RWKV: Reinventing RNNs for the Transformer Era
Peng, B., Alcaide, E., Anthony, Q., Albalak, A., Arcadinho, S., Biderman, S., Cao, H., Cheng, X., Chung, M., Grella, M., et al. (2023) · arXiv · doi:10.48550/arxiv.2305.13048 · Cited by 17 · see citing works
Birth of a Transformer: A Memory Viewpoint
Bietti, A., Cabannes, V., Bouchacourt, D., Jegou, H., & Bottou, L. (2023) · arXiv · doi:10.48550/arxiv.2306.00802 · Cited by 13 · cited 2×
“Unlike transformers whose internal mechanism are hard to decipher (Olsson et al., 2022; Bietti et al., 2024), Memory Mosaics achieve these capabilities in comparatively transparent ways.”
Self-citationBirth of a Transformer: A Memory Viewpoint
Bietti, A., Cabannes, V., Bouchacourt, D., et al. (2023) · neural information processing systems · doi:10.52202/075280-0077 · Cited by 13
Hoover, B., Liang, Y., Pham, B., et al. (2023) · neural information processing systems · doi:10.52202/075280-1197 · Cited by 12
In-Context Language Learning: Architectures and Algorithms
Akyürek, E., Wang, B., Kim, Y., & Andreas, J. (2024) · arXiv · doi:10.48550/arxiv.2401.12973 · Cited by 3 · see citing works
Flagged first, then by citations
Research works printed but not linked: 4
- Zellig Harris. Mathematical Structures of Language. John Wiley & Sons, 1968.
- In C. Cortes, N. Lawrence, D. Lee, M. Sugiyama, and R. Garnett (eds.), Advances in Neural Information Processing Systems, volume 28.
- Aaron Voelker, Ivana Kajić, and Chris Eliasmith. Legendre memory units: Continuous-time repre- sentation in recurrent neural networks. Advances in neural information processing systems, 32, 2019.
- Geoffrey S. Watson. Smooth regression analysis. Sankhyā: The Indian Journal of Statistics, Series A, pp. 359-372, 1964.
Cited by
Sorted by citations
Douze, M., Guzhva, A., Deng, C., Johnson, J., Szilvasy, G., Mazaré, P.-E., Lomeli, M., Hosseini, L., & Jégou, H. (2026) · IEEE Transactions on Big Data · doi:10.1109/tbdata.2025.3618474 · Cited by 478 · see citing works
“We continue doing this to include novel quantization techniques [54], better hardware support for some indexes [49] and new indexing forms, such as associative vector memories for transformer architectures [91], [92].”
Strong Model CollapsePreprint
Dohmatob, E., Feng, Y., Subramonian, A., & Kempe, J. (2024) · arXiv (Cornell University) · doi:10.48550/arxiv.2410.04840 · Cited by 4 · see citing works
“The generation process for the BabiStories dataset is detailed in the GitHub repository of Zhang et al. (2024a).”
Test-time regression: a unifying framework for designing sequence models with associative memory
Wang, K. A., Shi, J., & Fox, E. B. (2025) · arXiv · doi:10.48550/arxiv.2501.12352
Titans: Learning to Memorize at Test Time
Behrouz, A., Zhong, P., & Mirrokni, V. (2025) · arXiv · doi:10.48550/arxiv.2501.00663 · Cited by 24 · see citing works
“Memory has always been one of the core parts of the neural network designs [76, 12, 77, 32].”
Inference-time sparse attention with asymmetric indexing
Mazaré, P.-E., Szilvasy, G., Lomeli, M., et al. (2025) · arXiv.org · doi:10.48550/arxiv.2502.08246 · Cited by 11
Fast-weight Product Key MemoryPreprint
Zhao, T., & Jones, L. (2026) · arXiv (Cornell University) · doi:10.48550/arxiv.2601.00671
Composer: A Search Framework for Hybrid Neural Architecture Design
Acun, B., Sinha, P., Ardalani, N., et al. (2025) · arXiv.org · doi:10.48550/arxiv.2510.00379 · Cited by 6
“We also include our findings when using BabiStories (Zhang et al., 2025) to evaluate candidate architectures.”
InfluentialReasonCACHE: Teaching LLMs To Reason Without Weight Updates
Gupta, S., Isola, P., Jegelka, S., Lopez-Paz, D., Ahuja, K., Ibrahim, M., & Pezeshki, M. (2026) · arXiv.org · doi:10.48550/arxiv.2602.02366 · Cited by 5
Sparse Attention as Compact Kernel Regression
Santos, S., Gonccalves, N., McNamee, D. C., et al. (2026) · arXiv.org · doi:10.48550/arxiv.2601.22766 · Cited by 3
“These tasks test the model’s ability to maintain attention on relevant, sparse subsets of tokens, and probe the model’s ability to learn an underlying length-agnostic algorithm, rather than memorizing patterns.”
InfluentialLearning with Hidden Factorial Structure
Arnald, C., Berenfeld, C., Rosenberg, S., et al. (2024) · doi:10.48550/arxiv.2411.01375 · Cited by 2
“…to understand and improve learning (e.g., Dziri et al., 2023; Alabdulka-reem et al., 2024; Valvoda et al., 2023; Wang et al., 2024; Wies et al., 2022; Zhang et al., 2024; Guo et al., 2024; Ma-hajan et al., 2024), as well as hidden sparsity (e.g., Barak et al., 2022; Marion et al., 2024).”
Sinkhorn Based Associative Memory Retrieval Using Spherical Hellinger Kantorovich Dynamics
Mustafi, A., & Mukherjee, S. (2026) · arXiv.org · doi:10.48550/arxiv.2603.20656 · Cited by 1
Memory as a cache: Exact context reuse and deletion by construction
Wang, S.-Y., & Liu, J. (2026) · doi:10.48550/arxiv.2609.32395
Good Memory Has ECC: Evaluating the Memory of Vision-Language Models Beyond Accuracy
Berman, S., & Deng, J. (2026) · doi:10.48550/arxiv.2609.00103
Mela: Test-Time Memory Consolidation based on Transformation Hypothesis
Chen, L. (2026) · arXiv.org · doi:10.48550/arxiv.2605.10537
“Over the past decades, memory mechanisms have played a crucial role in many deep learning models (Hochreiter and Schmidhuber, 1997; Weston et al., 2014; Burtsev et al., 2020; Zhang et al., 2024; Beck et al., 2024).”
Online Vector Quantized Attention
Alonso, N., Figliolia, T., & Millidge, B. (2026) · arXiv.org · doi:10.48550/arxiv.2602.03922 · Cited by 1
“We use chunk size L = 128 in all experiments.”
NMRet: A Memory-Augmented Retrieval Framework for Large Language Models
Bhat, S., Cambria, E., & Pen, H. (2025) · IEEE ... International Conference on Data Mining workshops · doi:10.1109/icdmw69685.2025.00252
“…of memory systems in the human brain (e.g., short-term, long-term, working memory) [21]–[23] and recent advancements in neural memory architectures [24]–[26] and reasoning compression techniques [27], we propose a novel retrieval system designed to enhance the ability of LLMs to reason effectively…”
Zhang, J., & Bottou, L. (2025) · arXiv · doi:10.48550/arxiv.2507.03285
“In this work, we follow the definition from Zhang et al. [2025], according to which an associative memory is a device that can store key-value pairs { ( k 1 , v 1 ) . . . ( k n , v n ) } and retrieve values given a corresponding key: The key-value pairs are stored in a set, and thus can be assumed…”
InfluentialSelf-citation
- Authors
- Zhang, J., Nolte, N., Sadhukhan, R., Chen, B., & Bottou, L.
- Affiliations
- New York University (US)
- Venue
- arXiv
- Publisher
- arXiv
- Published
- 2024
- ISSN
- 2331-8422 (ISSN-L)
- arXiv
- 2405.06394
- OpenAlex
- W4396882208
- Semantic Scholar
- 5cfa8d7212b0da50dc31f55e7e0092b42dec7e55
- Cited by
- 0
- References
- 33
- Type
- posted content
- Language
- en
- Open access
- green
- arxiv.org
- Licence
- Locations
- arXiv (Cornell University) (submittedVersion, cc-by-nc-nd)
- arXiv (Cornell University)
- Topics
- Physical Sciences › Computer Science › Artificial Intelligence › Topic Modeling
- Physical Sciences › Computer Science › Artificial Intelligence › Natural Language Processing Techniques
- Physical Sciences › Computer Science › Artificial Intelligence › Neural Networks and Applications
- Keywords
- associative memory, in-context learning, language modeling, memory networks
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Claims read by deepseek-v4.1-flash under definition version 3 (extract-v3) on 2026-10-08.
Classified by jev-1.13-20260917 (gold-guideline-v0.2) on 2026-10-08.
Cited sources are checked by gpt-6-sol.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review