Samet Demir
· 2 previous affiliations
- Koc UniversityCurrent
- Current
- PhD student · 2020–2026
- Boğaziçi University2015–2020
- Undergrad student · 2015–2020
Research Overview
Samet Demir focuses on high-dimensional learning theory, the statistics of learned representations, and the interplay between architecture, data, and optimization in deep learning. His research trajectory spans from early applied work on automated text generation to rigorous asymptotic analyses of neural networks and random feature models. Currently, he investigates the theoretical foundations of in-context learning and robustness under distribution shifts in modern Transformer architectures.
Research Trajectory
Demir’s early research explored applied deep learning, particularly in the domains of sequence generation and automated testing. In 2019, he investigated the capacity of neural language models to handle complex, long-range syntactic and semantic dependencies. This work culminated in Neural Academic Paper Generation, which demonstrated that Transformer-XL architectures could successfully generate realistic, compilable LaTeX documents, outperforming standard LSTM baselines. This project touched upon challenges in the research direction of Degenerate Repetition and the Self Reinforcement Effect. The following year, he applied reinforcement learning and neural architecture search principles to software security, developing DeepSmartFuzzer: Reward Guided Test Generation For Deep Learning. This work addressed automated fuzzing constraints, contributing to the broader area of Solving the Cold Start Problem in Software Fuzzing.
Following these applied projects, Demir’s focus shifted toward the theoretical foundations of machine learning, specifically high-dimensional statistics and learning theory. A central theme of this period is the asymptotic behavior of neural networks and random feature models. In Optimal Nonlinearities Improve Generalization Performance of Random Features (2023), he and his collaborators studied models that are asymptotically equivalent to Gaussian models in terms of training and generalization errors. By analyzing the parameters of these equivalent models, they defined a set of optimal nonlinearities—such as second-order polynomial and piecewise linear functions—that improve generalization. This theoretical grounding advanced the area of Principled Design of Neural Network Activation Functions.
Building on this high-dimensional analysis, Demir explored the conditions under which non-linear models genuinely outperform simpler baselines. In Random Features Outperform Linear Models: Effect of Strong Input-Label Correlation in Spiked Covariance Data (2024), he identified a "correlation-driven phase transition." By examining data with spiked covariance structures, the research demonstrated that the alignment between data structure and labels acts as a switch, activating higher-order nonlinear terms that were previously thought to be suppressed in high dimensions. This work provided critical insights into the research direction of The Spiked Covariance Model for High-Dimensional Signal Recovery.
In 2025, Demir’s theoretical investigations expanded into online learning dynamics and robust optimization. He introduced a novel approach to principal component analysis in Implicitly Normalized Online PCA: A Regularized Algorithm with Exact High-Dimensional Dynamics. By replacing the standard hard normalization step with a regularized update, the algorithm allows the parameter norm to evolve dynamically, capturing signal strength and improving adaptation in non-stationary environments—a key challenge in the area of Learning in Non-Stationary Data Streams. Concurrently, he investigated the impact of data non-Gaussianity on learning speed and stability in Learning Rate Should Scale Inversely with High-Order Data Moments in High-Dimensional Online Independent Component Analysis. This research highlighted a fundamental trade-off between data richness and algorithmic robustness, showing that higher data moments require slower learning rates for convergence. He further explored robust regression and outlier detection in Benefits of Online Tilted Empirical Risk Minimization: A Case Study of Outlier Detection and Robust Regression.
A major pillar of Demir’s recent trajectory involves the rigorous asymptotic analysis of feature learning and in-context learning (ICL) in neural networks. In Asymptotic Analysis of Two-Layer Neural Networks after One Gradient Step under Gaussian Mixtures Data with Structure (2025), he proved a polynomial equivalence theorem showing that complex non-linear networks learning features via a single gradient step behave identically to simpler polynomial models, governed by the interplay between data spread and learning rate.
This analytical framework naturally extended to modern Transformer architectures, contributing significantly to the broader area of The Architectural Simplification Gap in Transformer Theory. In How Data Mixing Shapes In-Context Learning: Asymptotic Equivalence for Transformers with MLPs (2025), Demir provided a theoretical bridge between simplified models and real-world, MLP-heavy Transformers. The work revealed that high-quality training data with low noise and structured task covariances is essential for effective feature learning and ICL performance. He continued this line of inquiry in Asymptotic Study of in-Context Learning with Random Transformers Through Equivalent Models (2025). Most recently, in Optimal Attention Temperature Improves the Robustness of In-Context Learning under Distribution Shift in High Dimensions (2026), he demonstrated that dynamically adjusting the attention temperature at inference time can recover near-optimal performance under distribution shifts without requiring additional training.
Current Directions
Demir’s most recent work focuses on the theoretical mechanics of in-context learning and the robustness of large-scale architectures like Transformers. A primary theme is understanding how the statistical properties of training data—such as noise levels and task covariances—dictate a model's ability to learn features and generalize to unseen tasks. By leveraging asymptotic equivalence and high-dimensional statistics, his research seeks to demystify the complex interplay between multi-layer perceptron heads and attention mechanisms. Furthermore, he is actively investigating inference-time interventions, such as optimal attention temperature scaling, to enhance model robustness against distribution shifts. This direction aims to provide principled, mathematically grounded methods for adapting foundation models to dynamic environments without the computational overhead of retraining.
Profile updated
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