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.

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 from scratch, training methods, and inference optimization, among other things.

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.

  • Released Mixtral checkpoints from our expert-pruning experiments, including router adaptation, all-module adaptation, and three pruning families. The collection contains 14 checkpoints plus the original Mixtral model. See the configurations below and the router-sensitivity paper for the experimental results.

    Checkpoint configurations

    Browse 14 checkpoints grouped by adaptation and pruning setup. Each link gives the number of experts retained per layer; all checkpoints route each token to two experts.

    FamilyReleased configurationCheckpoints
    Gate-only LoRARank 4; 5,000 training steps8 experts
    All-module LoRARank 4; 10,000 training steps8 experts
    Random pruning1 to 4 experts removed per layer7 experts · 6 experts · 5 experts · 4 experts
    L2 pruning after gate LoRARepository label: L2 norm after gate adaptation7 experts · 6 experts · 5 experts · 4 experts
    Pruning after all-module LoRARepository label: exhaustive LoRA + pruning7 experts · 6 experts · 5 experts · 4 experts

    The table lists the released checkpoint configurations from their model cards and repository labels. The paper's main router-only experiment uses rank 8 and 500 steps.

  • 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.