Farnoosh Hashemi

29 posts

Farnoosh Hashemi banner
Farnoosh Hashemi

Farnoosh Hashemi

@Farn8sh_h

Ph.D. Student @CornellInfoSci, MSc Student @UBC_CS Interested in Computational Social Science

Ithaca, NY, USA Katılım Şubat 2022
148 Takip Edilen152 Takipçiler
Ali Behrouz
Ali Behrouz@behrouz_ali·
Moving from conventional ML to continual learning requires revisiting even the fundamental concepts such as “test”/“train” time. LLMs Need Sleep and Dreaming! We introduce a phase, where the model consolidates its fragile short-term memories into stable long-term memories, and then dreams to recursively self-improve over time. For memory consolidation, we introduce a new form of distillation, called Knowledge Seeding (KS), where a small model(s) distills its knowledge to a larger model. Our experiments on continual learning and reasoning tasks show that this new phase can help the model to perform better and relatively better mitigates catastrophic forgetting.
Ali Behrouz tweet media
English
33
152
965
74.4K
Farnoosh Hashemi
Farnoosh Hashemi@Farn8sh_h·
Order matters: consolidate first, then dream. Iterating self-distillation on a fixed model can erode prior capabilities. Sleep's two-stage design addresses this, capacity grows and knowledge consolidates before the model starts modifying itself.
English
1
0
4
202
Farnoosh Hashemi
Farnoosh Hashemi@Farn8sh_h·
As we move from conventional machine learning toward models that continually learn, we need to revisit some fundamental assumptions, starting with "training time" and "test time." A continual learner doesn't have “test” or “train” time. So what does its lifecycle look like?
Farnoosh Hashemi tweet media
English
4
8
89
6.2K
Farnoosh Hashemi retweetledi
Ali Behrouz
Ali Behrouz@behrouz_ali·
The growing KV-cache of attention is the key component for the long-context understanding of LLMs, but what holds back long-term memory modules (e.g., Titans)? What if we could have the compression power of Titans but with a growing memory similar to Transformers? Memory Caching: A class of architectures that compress the context into a slow growing memory (not as fast as Transformers, but not as static as RNNs), resulting in recurrent neural networks with non-fixed-sized memory (hidden states). Building on this formulation, we present Sparse Selective Caching, an architecture with growing effective memory (similar to attention) but with almost constant inference cost per token (similar to RNNs).
Ali Behrouz tweet media
English
24
165
1K
110.9K
Farnoosh Hashemi retweetledi
Ali Behrouz
Ali Behrouz@behrouz_ali·
This paper is the same as the DeepCrossAttention (DCA) method from more than a year ago: arxiv.org/abs/2502.06785. As far as I understood, here there is no innovation to be excited about, and yet surprisingly there is no citation and discussion about DCA! The level of redundancy in LLM research and then the hype on X is getting worse and worse! DeepCrossAttention is built based on the intuition that depth-wise cross-attention allows for richer interactions between layers at different depths. DCA further provides both empirical and theoretical results to support this approach.
Kimi.ai@Kimi_Moonshot

Introducing 𝑨𝒕𝒕𝒆𝒏𝒕𝒊𝒐𝒏 𝑹𝒆𝒔𝒊𝒅𝒖𝒂𝒍𝒔: Rethinking depth-wise aggregation. Residual connections have long relied on fixed, uniform accumulation. Inspired by the duality of time and depth, we introduce Attention Residuals, replacing standard depth-wise recurrence with learned, input-dependent attention over preceding layers. 🔹 Enables networks to selectively retrieve past representations, naturally mitigating dilution and hidden-state growth. 🔹 Introduces Block AttnRes, partitioning layers into compressed blocks to make cross-layer attention practical at scale. 🔹 Serves as an efficient drop-in replacement, demonstrating a 1.25x compute advantage with negligible (<2%) inference latency overhead. 🔹 Validated on the Kimi Linear architecture (48B total, 3B activated parameters), delivering consistent downstream performance gains. 🔗Full report: github.com/MoonshotAI/Att…

English
33
91
1K
228.8K
Farnoosh Hashemi retweetledi
Ali Behrouz
Ali Behrouz@behrouz_ali·
Come to our poster session today to chat about Titans! Location: Exhibit Hall C,D,E Poster ID:3515
Google Research@GoogleResearch

Today at #NeurIPS2025, we present Titans, a new architecture that combines the speed of RNNs with the performance of Transformers. It uses deep neural memory to learn in real-time, effectively scaling to contexts larger than 2 million tokens. More at: goo.gle/3Kd5ojF

English
4
8
80
10K
Farnoosh Hashemi retweetledi
Ali Behrouz
Ali Behrouz@behrouz_ali·
We keep scaling model parameters by increasing width and stacking more layers, but what if the truly missing axes for continual learning are compression and stacking the learning process? Excited to share the full version of Nested Learning, a new paradigm for continual learning and machine learning in general. Paper: nestedlearning.net/paper
Ali Behrouz tweet media
English
43
176
1.1K
147.5K
Farnoosh Hashemi retweetledi
Ali Behrouz
Ali Behrouz@behrouz_ali·
What makes attention the critical component for most advances in LLMs and what holds back long-term memory modules (RNNs)? Can we strictly generalize Transformers? Presenting Atlas (A powerful Titan): a new architecture with long-term in-context memory that learns how to memorize the context at test time. Atlas even outperforms Titans, and is more effective than Transformers and modern linear RNNs in language modeling tasks. It further improves the effective context length of Titans and scales to 10M context window with +80% accuracy on the BABILong benchmark. (Bonus: Building on Atlas ideas, we also discuss another family of models that are strict generalization of softmax attention)
Ali Behrouz tweet media
English
24
130
938
113K
Farnoosh Hashemi retweetledi
Turing Post
Turing Post@TheTuringPost·
.@GoogleAI has dropped a very interesting study They introduced new types of attentional bias strategies in LLMs and reimagined the "forgetting" process, replacing it with "retention." All of this is wrapped up in Miras – their new framework for designing efficient AI architectures using 4 building blocks: • Memory architecture – how the memory is built • Attentional bias – how the model focuses • Retention gate – how it forgets or keeps information • Memory learning algorithm – how it’s trained Details 🧵
Turing Post tweet media
English
10
76
529
43.4K
Farnoosh Hashemi retweetledi
Evolution AI
Evolution AI@EvolutionAI·
🗓️ We're excited to announce that the next virtual London Machine Learning Meetup will be on Wednesday 26th March. The Meetup will feature a talk by Ali Behrouz (@behrouz_ali) (PhD, @Cornell) on 'Titans: Learning to Memorize at Test Time'. RSVP: bit.ly/41tvBid
Evolution AI tweet media
English
0
2
9
772
Farnoosh Hashemi retweetledi
Ali Behrouz
Ali Behrouz@behrouz_ali·
Attention has been the key component for most advances in LLMs, but it can’t scale to long context. Does this mean we need to find an alternative? Presenting Titans: a new architecture with attention and a meta in-context memory that learns how to memorize at test time. Titans are more effective than Transformers and modern linear RNNs, and can effectively scale to larger than 2M context window, with better performance than ultra-large models (e.g., GPT4, Llama3-80B).
Ali Behrouz tweet media
English
81
566
3.4K
639.6K