Karan Dalal
· 3 previous affiliations
- OpenAI (United States)Since 2026
- Member of Technical Staff · Since 2026
- Current
- Bachelor of Science, EECS · 2023–2026
- International Computer Science InstituteSince 2022
- Undergrad student · Since 2022
Research Overview
Karan Dalal focuses on sequence modeling and adaptive machine learning, with a specific emphasis on Test-Time Training (TTT) frameworks. His work investigates how self-supervised learning can be integrated into the inference process to enhance model performance on individual test instances and improve the scalability of long-context processing. By parameterizing the update rules of hidden states, his research seeks to bridge the gap between the computational efficiency of recurrent neural networks (RNNs) and the expressive power of self-attention mechanisms.
Research Trajectory
Dalal’s research contributions are concentrated in the development and refinement of TTT layers, a novel class of sequence modeling components. This trajectory began with the conceptualization of test-time training as a form of "learning to learn," where the model performs a gradient-based update on a single unlabeled test instance before making a final prediction. In this initial phase, the focus was on establishing a framework where the self-supervised task itself is optimized during the training phase to ensure that test-time updates are maximally beneficial for the primary task.
In 2024, Dalal participated in research that demonstrated how TTT could be implemented using linear components to mimic the behavior of linear attention. This work provided a theoretical and practical bridge between meta-learning and standard transformer architectures, showing that TTT could be integrated into existing models to improve performance on benchmarks like ImageNet.
By 2025, Dalal’s work evolved toward addressing the fundamental limitations of sequence models in handling long contexts. While Transformers offer high performance but suffer from quadratic complexity, traditional RNNs offer linear complexity but are limited by the static nature of their hidden states. Dalal contributed to the development of TTT layers that replace the traditional hidden state vector with a machine learning model (such as a linear model or a multi-layer perceptron). In this paradigm, the "hidden state" is updated via self-supervised learning during the forward pass, allowing the model to compress and retrieve information more effectively than fixed-rule RNNs. This approach achieves linear complexity while matching or exceeding the performance of Transformers in long-context scenarios.
Current Directions
Dalal’s current research continues to explore the boundaries of expressive hidden states in sequence modeling. This involves the instantiation of different TTT architectures, such as TTT-Linear and TTT-MLP, and evaluating their prescriptive power across various domains. A primary focus of this work is the optimization of the update rule—treating the transition from one hidden state to the next as a step of stochastic gradient descent (SGD) or a similar optimization process.
The research also investigates the practical implementation of these layers, including the use of heuristics like layer normalization and specific initialization strategies to ensure stability during the test-time training process. By treating the hidden state as a dynamic, trainable entity, this work aims to create models that are inherently more adaptive to the specific distribution of data encountered during inference.
Representative Work
Dalal has been a key contributor to the foundational papers defining the TTT framework and its application to sequence modeling.
In Learning to (Learn at Test Time), Dalal participated in the development of a framework that parameterizes self-supervised tasks to improve test-time predictions. The paper introduces the concept of optimizing the self-supervised task on the training set so that the subsequent test-time training (TTT) on unlabeled instances leads to better generalization. The authors demonstrate that even simple linear TTT components can implement linear attention, allowing them to be integrated into linear transformer architectures as specialized TTT layers.
Building on this foundation, Dalal contributed to Learning to (Learn at Test Time): RNNs with Expressive Hidden States, which addresses the "expressive bottleneck" of traditional RNNs. In this work, the researchers propose making the hidden state of a sequence model a machine learning model itself. By updating this state-model through self-supervised learning (such as reconstructing the input or predicting the next token) during the forward pass, the layer can maintain a more sophisticated representation of the context. The paper introduces TTT-Linear and TTT-MLP as practical instantiations, showing that these layers can scale to long sequences with linear complexity while maintaining the high performance typically associated with self-attention. This work represents a significant shift in how hidden states are conceptualized, moving from static vectors to dynamic, optimizing entities.
Profile updated
| Title | Venue | Year |
|---|---|---|
| Learning to (Learn at Test Time): RNNs with Expressive Hidden States | ICML | 2025 |
| Learning to (Learn at Test Time) | arXiv | 2023 |
Loading new papers…
Other researchers whose papers cluster into the same research directions — a proxy for overlapping technical interests and shared intellectual neighborhoods.
See something wrong? Report a mistake