Demonstration venue · read-only. Every page can be browsed; the buttons that would change it are switched off. Create an account to run TaxoReview on your own data. A simulation from public publication records: the people listed were not invited and did not agree to review.
? Tutorial for this page

Darshil Doshi

dblp:307/2751 · DBLP profile ↗
← Back
4ranked-venue papers
2as first author
4since 2021 · last 2025
—ORCID · none

Domains — the database's venue-derived domains; a paper can count in several

Artificial intelligence and machine learning · 4 · 2 first-author · 4 since 2021

Expertise — from the expertise taxonomy: the topics of the expert's papers under the CCF categories. A weight counts papers with recency: 1 for a paper about the topic, 0.3 when the topic is its context, halved every five years.

Artificial intelligence
4 papers
Deep learning architectures and training · 28% Trustworthy machine learning · 22% Language models and text generation · 20%

Topics — the 18 heaviest of 18, each with the papers that count most for it

TopicWeightPapersLastEvidence papers
Natural language and speech › Language models and text generation
in-context learning
1.622025
(How) Can Transformers Predict Pseudo-Random Numbers? · ICML 2025
Learning to grok: Emergence of in-context learning and skill composition in modular arithmetic tasks · NeurIPS 2024
Machine learning › Graph learning
algorithmic reasoning
0.912025
(How) Can Transformers Predict Pseudo-Random Numbers? · ICML 2025
Machine learning › Trustworthy machine learning › interpretability › neural network interpretation
transformer interpretability
0.912025
(How) Can Transformers Predict Pseudo-Random Numbers? · ICML 2025
Natural language and speech › Language models and text generation › large language model
emergent abilities
0.812024
Learning to grok: Emergence of in-context learning and skill composition in modular arithmetic tasks · NeurIPS 2024
Machine learning › Deep learning architectures and training › training dynamics
grokking
0.812024
To Grok or not to Grok: Disentangling Generalization and Memorization on Corrupted Algorithmic Datasets · ICLR 2024
Machine learning › Trustworthy machine learning › interpretability
mechanistic interpretability
0.812024
Learning to grok: Emergence of in-context learning and skill composition in modular arithmetic tasks · NeurIPS 2024
Machine learning › Learning theory › neural network theory
memorization and generalization
0.812024
To Grok or not to Grok: Disentangling Generalization and Memorization on Corrupted Algorithmic Datasets · ICLR 2024
Machine learning › Trustworthy machine learning
out-of-distribution generalization
0.812024
Learning to grok: Emergence of in-context learning and skill composition in modular arithmetic tasks · NeurIPS 2024
Machine learning › Reinforcement learning › hierarchical reinforcement learning
skill composition
0.812024
Learning to grok: Emergence of in-context learning and skill composition in modular arithmetic tasks · NeurIPS 2024
Machine learning › Deep learning architectures and training
transformer
0.812024
Learning to grok: Emergence of in-context learning and skill composition in modular arithmetic tasks · NeurIPS 2024
Machine learning › Deep learning architectures and training › weight initialization
critical initialization
0.712023
Critical Initialization of Wide and Deep Neural Networks using Partial Jacobians: General Theory and Applications · NeurIPS 2023
Machine learning › Probabilistic and Bayesian machine learning › probabilistic inference › approximate inference
gaussian process approximation
0.712023
Critical Initialization of Wide and Deep Neural Networks using Partial Jacobians: General Theory and Applications · NeurIPS 2023
Machine learning › Learning theory
neural network theory
0.712023
Critical Initialization of Wide and Deep Neural Networks using Partial Jacobians: General Theory and Applications · NeurIPS 2023
Machine learning › Deep learning architectures and training
weight initialization
0.712023
Critical Initialization of Wide and Deep Neural Networks using Partial Jacobians: General Theory and Applications · NeurIPS 2023
Machine learning › Trustworthy machine learning › robustness › robust learning
robust generalization
0.212024
To Grok or not to Grok: Disentangling Generalization and Memorization on Corrupted Algorithmic Datasets · ICLR 2024
Machine learning › Deep learning architectures and training › normalization
layer normalization
0.212023
Critical Initialization of Wide and Deep Neural Networks using Partial Jacobians: General Theory and Applications · NeurIPS 2023
Machine learning › Deep learning architectures and training › normalization
normalization layers
0.212023
Critical Initialization of Wide and Deep Neural Networks using Partial Jacobians: General Theory and Applications · NeurIPS 2023
Machine learning › Deep learning architectures and training › skip connections
residual connection
0.212023
Critical Initialization of Wide and Deep Neural Networks using Partial Jacobians: General Theory and Applications · NeurIPS 2023

Methods — techniques the papers use, named apart from their topics

embedding analysis · 0.9attention analysis · 0.9weight decay · 0.8modular arithmetic · 0.8mechanistic interpretability · 0.8interpretability study · 0.8dropout · 0.8batchnorm · 0.8partial jacobian analysis · 0.7numerical test · 0.7
YearPublicationVenuePosition
2025 (How) Can Transformers Predict Pseudo-Random Numbers?
abstract
Transformers excel at discovering patterns in sequential data, yet their fundamental limitations and learning mechanisms remain crucial topics of investigation. In this paper, we study the ability of Transformers to learn pseudo-random number sequences from linear congruential generators (LCGs), defined by the recurrence relation $x_{t+1} = a x_t + c \;\mathrm{mod}\;{m}$. We find that with sufficient architectural capacity and training data variety, Transformers can perform in-context prediction of LCG sequences with unseen moduli ($m$) and parameters ($a,c$). By analyzing the embedding layers and attention patterns, we uncover how Transformers develop algorithmic structures to learn these sequences in two scenarios of increasing complexity. First, we investigate how Transformers learn LCG sequences with unseen ($a, c$) but fixed modulus; and demonstrate successful learning up to $m = 2^{32}$. We find that models learn to factorize $m$ and utilize digit-wise number representations to make sequential predictions. In the second, more challenging scenario of unseen moduli, we show that Transformers can generalize to unseen moduli up to $m_{\text{test}} = 2^{16}$. In this case, the model employs a two-step strategy: first estimating the unknown modulus from the context, then utilizing prime factorizations to generate predictions. For this task, we observe a sharp transition in the accuracy at a critical depth $d= 3$. We also find that the number of in-context sequence elements needed to reach high accuracy scales sublinearly with the modulus.
Darshil Doshi, Dayal Singh Kalra, Tianyu He, Maissam Barkeshli
ICML2
2024 To Grok or not to Grok: Disentangling Generalization and Memorization on Corrupted Algorithmic Datasets
abstract
Robust generalization is a major challenge in deep learning, particularly when the number of trainable parameters is very large. In general, it is very difficult to know if the network has memorized a particular set of examples or understood the underlying rule (or both). Motivated by this challenge, we study an interpretable model where generalizing representations are understood analytically, and are easily distinguishable from the memorizing ones. Namely, we consider multi-layer perceptron (MLP) and Transformer architectures trained on modular arithmetic tasks, where ($\xi \cdot 100\\%$) of labels are corrupted (*i.e.* some results of the modular operations in the training set are incorrect). We show that (i) it is possible for the network to memorize the corrupted labels *and* achieve $100\\%$ generalization at the same time; (ii) the memorizing neurons can be identified and pruned, lowering the accuracy on corrupted data and improving the accuracy on uncorrupted data; (iii) regularization methods such as weight decay, dropout and BatchNorm force the network to ignore the corrupted data during optimization, and achieve $100\\%$ accuracy on the uncorrupted dataset; and (iv) the effect of these regularization methods is ("mechanistically") interpretable: weight decay and dropout force all the neurons to learn generalizing representations, while BatchNorm de-amplifies the output of memorizing neurons and amplifies the output of the generalizing ones. Finally, we show that in the presence of regularization, the training dynamics involves two consecutive stages: first, the network undergoes *grokking* dynamics reaching high train *and* test accuracy; second, it unlearns the memorizing representations, where the train accuracy suddenly jumps from $100\\%$ to $100 (1-\xi)\\%$.
Darshil Doshi, Tianyu He, Andrey Gromov
ICLR1
2024 Learning to grok: Emergence of in-context learning and skill composition in modular arithmetic tasks
abstract
Large language models can solve tasks that were not present in the training set. This capability is believed to be due to in-context learning and skill composition. In this work, we study the emergence of in-context learning and skill composition in a collection of modular arithmetic tasks. Specifically, we consider a finite collection of linear modular functions $z = a x + b y \text{ mod } p$ labeled by the vector $(a, b) \in \mathbb{Z}_p^2$. We use some of these tasks for pre-training and the rest for out-of-distribution testing. We empirically show that a GPT-style transformer exhibits a transition from in-distribution to out-of-distribution generalization as the number of pre-training tasks increases. We find that the smallest model capable of out-of-distribution generalization requires two transformer blocks, while for deeper models, the out-of-distribution generalization phase is *transient*, necessitating early stopping. Finally, we perform an interpretability study of the pre-trained models, revealing highly structured representations in both attention heads and MLPs; and discuss the learned algorithms. Notably, we find an algorithmic shift in deeper models, as we go from few to many in-context examples.
Tianyu He, Darshil Doshi, Andrey Gromov
NeurIPS2
2023 Critical Initialization of Wide and Deep Neural Networks using Partial Jacobians: General Theory and Applications
abstract
Deep neural networks are notorious for defying theoretical treatment. However, when the number of parameters in each layer tends to infinity, the network function is a Gaussian process (GP) and quantitatively predictive description is possible. Gaussian approximation allows one to formulate criteria for selecting hyperparameters, such as variances of weights and biases, as well as the learning rate. These criteria rely on the notion of criticality defined for deep neural networks. In this work we describe a new practical way to diagnose criticality. We introduce *partial Jacobians* of a network, defined as derivatives of preactivations in layer $l$ with respect to preactivations in layer $l_0\leq l$. We derive recurrence relations for the norms of partial Jacobians and utilize these relations to analyze criticality of deep fully connected neural networks with LayerNorm and/or residual connections. We derive and implement a simple and cheap numerical test that allows one to select optimal initialization for a broad class of deep neural networks; containing fully connected, convolutional and normalization layers. Using these tools we show quantitatively that proper stacking of the LayerNorm (applied to preactivations) and residual connections leads to an architecture that is critical for any initialization. Finally, we apply our methods to analyze ResNet and MLP-Mixer architectures; demonstrating the everywhere-critical regime.
Darshil Doshi, Tianyu He, Andrey Gromov
NeurIPS1