Ali Janati.

I study how neural networks learn, organize knowledge, and generalize.

My research spans model architecture, optimization, training dynamics, and interpretability. I am especially interested in how a model’s internal structure gives rise to its capabilities, how those capabilities evolve during training, and how understanding these relationships can lead to better architectures and training methods, and to safer and better-aligned models.

I am a Senior Machine Learning Researcher at a startup in San Francisco, where I work on world models. I am an alumnus of Columbia and Mines Paris.

On this website, I share my papers, implementations, experimental studies, and articles, along with thoughts and ideas across my research and broader interests.

Recent

Papers.

Most of my work asks which parts of a large model are actually doing the work. Recent papers span expert pruning in mixture-of-experts models, training dynamics after grokking, uncertainty in multimodal recognition, and machine learning for epigenomics.

Earlier research, with Prof. Pierre Gentine’s group at Columbia: fine-tuned the IBM-NASA geospatial vision transformer to segment wind-damaged forest in satellite imagery.

Articles.

Write-ups on deep learning: architectures I reimplement from scratch in PyTorch-Playground, and training and inference work I take part in. What is new in each, how it was done, and the code that matters.

Open source.

  • From-scratch PyTorch reimplementations of modern architectures: Llama 3.1 8B, GPT-2, gpt-oss-20B, Qwen3-80B-A3B, Gemma 270M, and Magistral Small, plus speculative decoding and quantization-aware training.

  • Whisper large-v3 fine-tuned for medical conversation: 14% lower word-error rate on validation, released as open weights. 35,000+ downloads on Hugging Face.

  • Open artifacts behind the router-sensitivity paper: Mixtral-8x7B and Qwen1.5-MoE variants with experts pruned and ablated, along with the SFT datasets used to recover performance. The Mixtral series is curated as a collection; the full set lives on the profile.

  • The experiment suite behind the post-grokking-collapse paper: Muon and AdamW sweeps on modular arithmetic, freezing and unembedding-rate interventions at the representation-readout interface, and a generality suite across moduli, widths, and training configurations.

  • A CycleGAN that transfers Claude Monet’s painting style to photographs.