Nima Kelidari.

Machine learning · Research & engineering

Nima Kelidari

I build machine-learning systems end to end and test whether they hold up. I'm a graduate research assistant at Memorial Sloan Kettering Cancer Center, making the solvers behind radiotherapy planning faster, and I finish my M.S. in AI at USC in December 2026.

Open to full-time ML research and engineering roles from January 2027

01About

Models are easy to train and hard to trust.

I'm finishing an M.S. in computer science (artificial intelligence) at USC's Viterbi School of Engineering, after a B.S. in computer science at Sharif University of Technology. Most of my work is about taking models out of notebooks and making them hold up: on HPC clusters, behind APIs, and under tests built to find where they fail.

Recent work runs across the stack: finding which features speech models actually use to detect Parkinson's disease, steering mixture-of-experts LLMs at inference time without touching their weights, measuring game-playing agents against a fixed expert, and testing what a RAG assistant answers after a filing is amended. I also taught for four semesters at Sharif, six courses and 300+ students. Away from a keyboard I hike, swim, and lose evenings to strategy games.

Tools I use

  • Python
  • PyTorch
  • JAX
  • TensorFlow
  • Hugging Face
  • vLLM
  • LangGraph
  • CUDA
  • CuPy
  • SLURM
  • Docker
  • Kubernetes
  • FastAPI
  • MLflow
  • GCP
  • AWS
Nima Kelidari, outdoors on a tree-lined street in autumn
Los Angeles, CA 34.02° N, 118.285° W

Experience

— Present Remote

Graduate Research Assistant

Memorial Sloan Kettering Cancer Center, Department of Medical Physics

  • Extending Warm-IP, the group's interior-point QP solver for radiotherapy planning, into a benchmark against its cold-start IP, Gurobi, MOSEK, Clarabel, PIQP and OSQP on 282 public problems, with Bayesian tuning (Optuna TPE) for all seven solvers and our accelerated ADMM inside four of them.
  • Wrote warm-start patches for PIQP (C++) and Clarabel (Rust), whose releases cannot take a starting point, and kept every extension off by default behind an equivalence test against the upstream code.
  • Diagnosed thread contention between OpenBLAS and MKL that made vector operations ~150× slower, fixed it in one line, reran every affected study and reported the smaller gain. Campaigns run up to ~2,100 task-hours on SLURM with train/test splits and paired bootstrap intervals; the paper is in preparation for IEEE CEC 2027.

— Remote

Computational Optimization Intern

Memorial Sloan Kettering Cancer Center, Department of Medical Physics

  • Accelerated the convex QP behind IMRT radiotherapy planning, up to ~216K variables per clinical case: a path-following ADMM that warm-starts an interior-point method, on GPU with CuPy. Bayesian optimization replaced hand-tuning and cut iterations to a usable warm start from 78 to 21, 3.7× fewer and 3.2–3.8× less wall-clock on a held-out clinical case.
  • Derived a predictive bound showing the capped penalty schedule, not the solver, was the bottleneck (69 of the old method's 78 iterations), confirmed in 10 of 10 ablations. The rebuilt rule needs 6 to 21 iterations across four orders of magnitude of starting penalty, against 8 to 78 before.
  • Built the platform behind ~2,700 solver runs, with a matrix-free conjugate-gradient GPU engine, an NFS-safe SLURM search and an early exit that cut trial cost 1.8–4.4×, and shipped admm_tuner, the two-function tune/solve tool the planning team asked for.

— Present Los Angeles

Graduate Student Researcher

University of Southern California

  • Interpretable clinical speech models, advised by Prof. Mohammad Soleymani (USC ICT): sparse autoencoders on six speech encoders across four Parkinson's datasets in three languages, keeping only features whose link to the disease replicates across datasets. Steering along them moves predictions toward Parkinson's in 22 of 22 configurations, and five recording-condition features alone predict the disease in 3 of 4 public datasets. First author, under review at ICASSP 2027.
  • Steering mixture-of-experts LLMs: a 197K-parameter learned head that steers expert routing at inference with zero weight changes. On OLMoE it lifts mean faithfulness by +0.101 over six benchmarks, about 4× the gain of SteerMoE (ICLR 2026), and the recipe transfers across six MoE families from 1.3B to 30.5B parameters.
  • Evaluating game-playing agents: with a fixed rule-based expert as the yardstick, 100+ controlled PPO/TRPO runs isolated five training choices that lift the agent from about 30% to 34.2 ± 2.1% against it, and ruled out four, including imitating an LLM guide. First-author paper accepted at AIIDE 2026 (AAAI).
  • Decision-focused learning: co-first author of a paper accepted at the NeurIPS 2026 ML×OR workshop that trains outcome models through Lagrangian dual prices. In a queueing simulation it stayed within capacity on all 6 datasets while the standard pipeline overloaded 4; I was the largest code contributor (41 of 73 commits).
  • Infrastructure: a fault-tolerant master–worker stack serving three LLM families across 14 GPU workers at ~32 req/s, and a worker cold start traced to an 11 MB/s NFS mount and cut 62×, from ~28 minutes to ~27 seconds.

— Tehran

Research Assistant, Computer Vision

Sharif University of Technology

  • Ten months in Dr. Tefagh's group on a four-person team, prototyping generative computer-vision pipelines with vision transformers and 3D CNNs on university GPU servers.

— Tehran

Teaching Assistant & Tutor

Sharif University of Technology

  • Four semesters, six courses, 300+ students: lectures, assignment design and grading for programming and machine-learning courses, plus a TensorFlow workshop series for 60 students that I designed and ran.

— Issaquah, WA

Technical Sales Advisor — Best Buy

Part-time technical PC advisor: hardware recommendations, debugging and device tuning, and practice explaining technical trade-offs to non-experts.

Publications

  1. Accepted

    AIIDE 2026 (AAAI)

    A Gold-Standard Study of What Makes a Lightweight Game-Playing Agent Strong

    Nima Kelidari*, Mohammadsaeed Haghi*, Mahdi Salmani* (*equal contribution)

  2. Accepted

    NeurIPS 2026 Workshop on ML×OR

    Differentiating Through Dual Prices: End-to-End Policy Learning Under Capacity Constraints

    Mohammadsaeed Haghi*, Mahdi Salmani*, Nima Kelidari*, Vishal Gupta, Phebe Vayanos (*equal contribution)

  3. Under review

    ICASSP 2027

    Interpreting Speech-Based Parkinson's Disease Detection with Sparse Autoencoders

    Nima Kelidari, Minoo Ahmadi, Chaitanya Parwatkar, Ashutosh Chaubey, Mohammad Soleymani

  4. Under review

    ICASSP 2027

    The Representation Utility Gap in Audio LLMs for Clinical Speech

    Chaitanya Parwatkar, Nima Kelidari, Minoo Ahmadi, Ashutosh Chaubey, Mohammad Soleymani

  5. In preparation

    3D-DELTA: A Learned Low-Rank Expert-Steering Head for Frozen Mixture-of-Experts LLMs

    Nima Kelidari, Mahdi Salmani, Mohammadsaeed Haghi

  6. In preparation

    Tuned and Accelerated Quadratic Programming Solvers: Bayesian Configuration and a Safeguarded Anderson-Accelerated ADMM Warm Start

    Nima Kelidari, Mohammadsaeed Haghi

  7. In preparation

    Diagnosing Paraphrase-Induced Failures in Vision-Language-Action Models

    Nima Kelidari

Education

—

M.S. Computer Science — Artificial Intelligence

University of Southern California, Viterbi School of Engineering · Los Angeles

  • GPA 3.55 / 4.0, and 3.8 in AI/ML courses. Machine learning, deep learning, applied NLP, multimodal probabilistic learning, analysis of algorithms, robot manipulation. Merit scholarship, USC Viterbi.

—

B.S. Computer Science

Sharif University of Technology · Tehran

  • GPA 3.37 / 4.0, and 3.5 across fifteen-plus CS and AI courses: computer vision, deep learning, statistical learning, algorithm design, data structures, image processing, numerical analysis, databases.
  • Thesis graded 20/20: segmenting medical images in 3D by lifting 2D MedSAM masks through a pretrained NeRF on CT volumes, advised by Dr. Tefagh.

Honors

  • Finalist, Anthropic Fellows Program (AI Safety) November 2026 cohort
  • 85th nationally (top 0.05%), National University Entrance Exam, math and physics
  • 11th of 1,200 teams, Pardis Code programming contest
  • Top 10 groups, Mustafa Prize innovation competition
  • Three merged pull requests to PettingZoo Farama Foundation · 2026

Selected work

Footnote: RAG for SEC Filings 2026

Diagram of how Footnote answers a question: route to the filing, keyword and vector search with reranking, statements pinned first, one optional retry, then an answer from eight whole pages that names its pages
Fig. 01Route, search, retry once, cite the page

A question-answering assistant for company filings that names the page behind every answer. On all 150 FinanceBench questions its LangGraph agent is right 85.8% of the time (87.2% on the 99 held-back questions), against 33.6% with no documents. I then tested amended copies of real statement pages: with both versions in front of the model, answers lead with the old amount up to 100% of the time, and filing dates plus one sentence saying the later filing wins bring that to 0% on three models.

  • LangChain
  • LangGraph
  • Chroma
  • BM25
  • FastAPI
  • MCP
  • Google ADK

Low-Rank Steering for Mixture-of-Experts LLMs 2026

Three-step diagram of expert-routing analysis and test-time steering in a mixture-of-experts LLM
Fig. 02Routing-level steering, zero weight edits

A 197K-parameter learned head ranks which experts react to context, and the top ones are switched on or off at inference with no change to the model's weights. Trained on contrastive pairs from SQuAD, HotpotQA and FEVER, it improves mean faithfulness on OLMoE by +0.101 across six benchmarks, about 4× the gain of the published SteerMoE baseline, and transfers across six MoE families from 1.3B to 30.5B parameters. First author with Mahdi Salmani; full paper in preparation. Next, a three-person USC course project is building a gate that decides, per input, whether to apply this steering, because following a document helps when the document is right and hurts when it is wrong or planted; results in December 2026.

  • PyTorch
  • Hugging Face
  • vLLM
  • SLURM

Robot Learning in Simulation 2026

Three panels: four frames of a simulated Franka arm picking a cube under a Diffusion Policy, spin of a simulated LEAP hand by test condition for three training setups, and a LIBERO instruction shown with two reworded versions
Fig. 03Demonstrations, reward, then language

Three USC robotics projects, all in simulation. A PPO policy turns a cube in a LEAP hand from proprioception alone, across 16 runs and 145.5 GPU-hours; randomizing friction and mass was the one significant gain on slippery cubes, 0.378 vs 0.280 rad/s. A state-based Diffusion Policy learns a Franka pick from 100 demonstrations of a PPO teacher: noisy demonstrations cut open-loop success from 33% to 3%, yet beat clean data, 71% vs 47%, once the policy replans every step. In progress for December: how public vision-language-action checkpoints such as OpenVLA-OFT hold up when LIBERO-Goal instructions are reworded, across 4,092 paraphrases with per-step goal checks.

  • PyTorch
  • JAX
  • MuJoCo Warp
  • MuJoCo Playground
  • RSL-RL
  • LIBERO
  • SLURM

Adversarial Co-Evolution of RL & LLM Agents 2026

System diagram of RL learner, LLM opponent, curriculum manager, and evaluators in a Gym environment
Fig. 04Curriculum, opponents, and a fixed yardstick

Gin Rummy agents trained with distributed PPO and TRPO, measured against a fixed rule-based expert used only as a yardstick. Across 100+ controlled runs, five training choices lift the agent from about 30% to 34.2 ± 2.1% against the expert, and four that looked promising, including imitating an LLM guide and training against a live LLM opponent, do not help. The paper is accepted at AIIDE 2026 (AAAI).

  • PyTorch
  • Stable-Baselines3
  • PettingZoo
  • Ollama
  • Flask

Language-Agnostic Speech Emotion Recognition 2026

Layer-wise emotion-probing architecture and accuracy curves for wav2vec 2.0, HuBERT, and Whisper
Fig. 05Layer-wise probing, 3 model families

A probing framework that asks where emotion lives inside speech transformers, layer by layer across 24 hidden layers: six frozen encoders and eight datasets in five languages, run unattended on SLURM and read through a FastAPI dashboard of layer-wise results.

  • PyTorch
  • Hugging Face
  • FastAPI
  • SLURM

Tri-Modal Sentiment Analysis, Benchmarked and Deployed 2026

Dialogue frames from a TV scene annotated with negative and neutral sentiment labels
Fig. 06Text · face · voice, fused and deployed

Text, face and voice fused into one model at 74.5% accuracy / 0.743 weighted-F1 on MELD (2,607 test utterances). It began as a 2022 course project stuck at 63% on its original corpus, where newer backbones moved it only half a point, so I rebuilt it on MELD. It runs live on scale-to-zero Cloud Run, with browser labs that personalize it to one user in five minutes.

  • RoBERTa
  • ModernBERT
  • DINOv2
  • Whisper
  • MTCNN
  • FastAPI
  • Cloud Run
  • GitHub Actions

Real-Time AI Vision Assistant 2025

iOS app interface answering natural-language questions about a live camera scene
Fig. 07Camera → WebSocket → Vertex AI, round trip

Point a phone at something and ask about it. A Dockerized FastAPI backend on Google Cloud Vision and Vertex AI talks to a native SwiftUI client over WebSockets and answers natural-language questions about the live camera feed.

  • Docker
  • FastAPI
  • GCP
  • Swift
  • WebSockets

Machine Learning from Scratch 2025

Interactive lab showing a multilayer perceptron trained by hand-written backpropagation solving XOR, with live loss curve and hyperparameter controls
Fig. 08Ten algorithms, trained live in the browser

Ten algorithms written by hand in NumPy and PyTorch primitives, from backpropagation with dropout and momentum to AdaBoost, K-Means++, HMM Viterbi decoding, a decoder-only transformer and tabular Q-learning, each paired with a browser module that trains in front of you.

  • NumPy
  • PyTorch
  • JavaScript
  • Canvas

Off the clock: Dastan, a guitar you strum with hand gestures through your webcam, written as one HTML file. The full index has sixty-odd more projects, from SDN controllers to Persian poem generators.

Playgrounds

Seven things you can open and use right now, with no install and no sign-up.

07Contact

Get in touch.

I'm looking for full-time roles in machine-learning research and engineering from January 2027, across LLMs, applied ML and numerical optimization. I'm authorized to work in the U.S., based in Los Angeles and Seattle, and open to relocating. If you're hiring, or want to compare notes on any of this work, write to me.