Sofiane ENNADIR
· 8 previous affiliations
- KingSince 2024
- AI Researcher · Since 2024
- Microsoft (United States)Since 2024
- Researcher · Since 2024
- KTH Royal Institute of Technology2021–2025
- PhD student · 2021–2025
- Research intern · 2024
- Data Sciences Research Intern · 2020
- École Polytechnique2019–2020
- Master 2 (M2), Data Sciences · 2019–2020
- Data Science Intern · 2019
- Visiting Research Scholar - Computer Science Department · 2018
Research Overview
Sofiane Ennadir focuses on the theoretical foundations of transformer architectures, the robustness of graph neural networks, and representation learning for continuous-time dynamic graphs. His doctoral work established mathematically grounded defenses against adversarial attacks on graph structures. More recently, his research investigates the inner mechanisms of large language models and foundation models for time series, emphasizing their behavior under distribution shifts and architectural constraints.
Research Trajectory
Ennadir's early research explored the application and vulnerabilities of graph representation learning. In 2022, he contributed to Structure-Aware Antibiotic Resistance Classification using Graph Neural Networks, integrating protein structure information from AlphaFold with sequence-based models to identify antibiotic-resistant genes. Recognizing that the widespread adoption of Graph Neural Networks (GNNs) was accompanied by significant security risks, his focus shifted toward adversarial robustness. He developed frameworks to identify and execute attacks on graph structures, notably introducing a conformal prediction approach in Conformalized Adversarial Attack Detection for Graph Neural Networks to provide well-calibrated certainty scores for detecting adversarial inputs. Expanding on attack methodologies, he proposed UnboundAttack: Generating Unbounded Adversarial Attacks to Graph Neural Networks, which generates entirely new adversarial data points rather than applying budget-constrained perturbations to existing graphs.
Building on these insights into GNN vulnerabilities, Ennadir subsequently focused on designing mathematically grounded defenses, contributing to the research direction of Clean Accuracy Degradation in Machine Learning Defenses. He helped develop NoisyGNN in A Simple and Yet Fairly Effective Defense for Graph Neural Networks, demonstrating that injecting controlled Gaussian noise into hidden layers could boost robustness without sacrificing performance on unattacked data. This theoretical approach to defense was further formalized in Bounding the Expected Robustness of Graph Neural Networks Subject to Node Feature Attacks. His investigations into model stability also revealed that architectural and training choices play a critical role in defense efficacy. In If You Want to Be Robust, Be Wary of Initialization, he showed that weight initialization and training duration are as crucial as sophisticated pre-processing techniques, advancing work in the area of Robust Overfitting in Adversarial Training. He continued to address structural vulnerabilities in Enhancing Graph Classification Robustness with Singular Pooling, mitigating the phenomenon where minor structural tweaks drastically alter model predictions.
Alongside his work on graph robustness, Ennadir explored how specialized neural architectures could be adapted for other data modalities. He contributed to Interpretable Graph Neural Networks for Tabular Data, which introduced IGNNet, a model that constrains the learning process to provide transparent predictions aligned with Shapley values. Simultaneously, he began adapting representation learning techniques to temporal data. In Joint Embedding go Temporal, he adapted the Joint-Embedding Predictive Architecture (JEPA) to time series, training models to predict missing segments in an abstract latent space to learn robust representations that discard high-frequency noise.
By 2025, Ennadir's research increasingly bridged graph learning and temporal dynamics, establishing a strong presence in the broader area of Continuous-Time Dynamic Graph Modeling. He co-authored a comprehensive survey, Expressivity of Representation Learning on Continuous-Time Dynamic Graphs: An Information-Flow Centric Review, which formalized the concept of information flow in temporal networks. Building on this theoretical foundation, he introduced Virtual Nodes Go Temporal, demonstrating that adding virtual nodes to continuous-time dynamic graphs significantly improves the capture of long-range dependencies following an event. During this period, his work at Microsoft Gaming (King AI Labs) also examined the practical limitations of large-scale models in industrial settings. In Frequency Matters: When Time Series Foundation Models Fail Under Spectral Shift, he analyzed player behavior data to show that time series foundation models are highly sensitive to spectral shifts, frequently failing when downstream tasks involve frequencies unseen during pretraining.
Most recently, Ennadir has investigated the fundamental mechanisms of transformer-based architectures and predictive models. In Pool Me Wisely: On the Effect of Pooling in Transformer-Based Models, he critically examined the often-overlooked pooling step in transformers, moving beyond conventional choices to establish principled approaches for feature aggregation. Extending his earlier work on joint-embedding architectures, he authored Understanding Early Collapse in Predictive World-Model Pretraining. This 2026 paper identifies a pathology in JEPA-style world models where prediction loss drops rapidly while learned representations remain uninformative, deriving theoretical bounds to show how momentum dynamics and masking strategies drive this collapse phase.
Ennadir has further expanded his study of world models into causal inference and context evaluation. In CaLA: Causal Latent Adjustment for World Models under Adaptive Policies, they addressed treatment-outcome confounding in imagined rollouts collected by adaptive policies, introducing a DAG-constrained world model that infers variational representations from pretreatment histories to evaluate counterfactual interventions. In parallel, Ennadir co-authored When Does Dynamics Randomization Test Context Inference?, which introduced the concept of predictive headroom to determine whether randomized environments genuinely test context inference or whether visitation patterns and current states already expose latent parameters.
Current Directions
Recent work investigates the theoretical foundations and failure modes of large-scale representation learning, particularly in transformer architectures and predictive world models. The most recent papers in the evidence address the internal mechanics of these systems, such as the impact of pooling strategies on transformer expressivity and the training dynamics of Joint-Embedding Predictive Architectures (JEPAs). A major ongoing focus is understanding the mechanics and evaluation of world models, including "early collapse" in pretraining, confounding under adaptive policies, and quantifying the information available for context inference. Additionally, Ennadir continues to explore the robustness of foundation models applied to heterogeneous time series, analyzing how spectral shifts and frequency variations degrade performance in complex, real-world environments.
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