Nima Kelidari.

Catalogue · 2021 — present

Project Index

Everything, or close to it: coursework that got out of hand, research prototypes, weekend builds, and a few things made purely for the fun of it. The projects I'd show first are on the home page; the rest live here, grouped by area. Nearly all of it is public on GitHub.

Machine Learning & MLOps

End-to-end ML systems with production pipelines, deployment, and experiment tracking.

Footnote: RAG for SEC Filings

2026

A question-answering assistant for company filings that names the page behind every answer: page-bounded chunks, hybrid BM25 and vector search with a cross-encoder reranker, routing by company and year, and a LangGraph agent allowed one extra search. On all 150 FinanceBench questions the agent is right 85.8% of the time (87.2% on the 99 held-back questions), against 33.6% with no documents. Amended copies of real statement pages show the risk: 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 that the later filing wins bring it to 0% on three models.

LangChain · LangGraph · Chroma · FastAPI · MCP · Google ADK

Differentiating Through Dual Prices

2026

Decision-focused learning for treatment policies under a capacity limit, trained through Lagrangian dual prices by implicit differentiation. In a queueing simulation it stayed within capacity on all 6 datasets while the standard pipeline overloaded 4 (up to 116%), with up to +72% policy value. Co-first author, accepted at the NeurIPS 2026 ML×OR workshop; I was the largest code contributor (41 of 73 commits). code

PyTorch · Implicit differentiation · SLURM

Tri-Modal Sentiment Analysis — Benchmarked & Deployed

2026

Text, facial expression, and voice prosody fused into one model scoring 74.5% accuracy / 0.743 weighted-F1 on MELD (2,607 utterances) — the level of published multimodal systems. A RoBERTa-large + ModernBERT-large ensemble, an MTCNN→FER-ViT face branch at 98.5% coverage, and a frozen Whisper encoder with learnable layer weighting. It started as a 2022 course project stuck at 63% on its original corpus, where newer backbones moved it only half a point, so the limit was the data and I rebuilt it on MELD. Runs live on scale-to-zero Cloud Run under $1/month, with CI on every push and deploys gated by a smoke test that fails on degraded responses. Two browser calibration labs personalize it to a user in five minutes — voice to 96.7%, face to 90.5% leave-one-out. Playground · voice lab · face lab · code.

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

Machine Learning from Scratch — Interactive Lab

2025

Ten algorithms written by hand in NumPy and PyTorch primitives — backpropagation with dropout and momentum, AdaBoost, K-Means++, HMM Viterbi, a decoder-only transformer, tabular Q-learning — each with a live browser module that trains in front of you. Measured along the way: SGD reaches a usable model 170× faster per run than full-batch gradient descent, and dropout alone is worth +4.5 points.

NumPy · PyTorch · JavaScript · Canvas

Hybrid Anime Recommender System

2025

Neural collaborative filtering over 3.1M ratings across 17,117 titles, filtered from a 300K-user corpus to power users with 1,200+ ratings each, with Comet ML and DVC tracking, Jenkins CI/CD, and deployment on GKE.

TensorFlow · Docker · Kubernetes · Jenkins · DVC

Hotel Cancellation Detection

2025

LightGBM + Flask application predicting hotel booking cancellations, with a full MLOps pipeline from data ingestion to deployment.

Python · LightGBM · Flask · MLflow

Neural Network from Scratch

2022

Hand-built network trained with SGD on Fashion-MNIST, evaluated across multiple optimization regimes.

Python · PyTorch

Hand Gesture Recognition

2022

MLP for Latin-letter recognition from hand-movement data, compared across SGD and Adam, validated on live webcam input.

Python · OpenCV

Classic ML Algorithms

2022

Reference implementations: music recommendation, heart-disease classification, regression models.

Python · scikit-learn · Pandas

State Estimation from Scratch

2025

A Kalman filter and an Extended Kalman filter for joint state-and-parameter estimation, with analytic Jacobians derived by hand and 1,000-trial Monte Carlo sweeps showing the bias–variance tradeoff hiding in the prior covariance.

Python · NumPy

Behavior Cloning & DAgger

2025

Imitation learning on MuJoCo continuous control. On Hopper, behavior cloning collapses to 23% of expert return under compounding distribution shift; DAgger recovers 99.8% within six iterations.

PyTorch · MuJoCo · Gymnasium

In-Hand Cube Rotation on a Simulated LEAP Hand

2026

PPO policies for HORA-style in-hand rotation in mjlab (MuJoCo Warp), from proprioception only: 16 runs and 145.5 GPU-hours, each policy tested in 7 conditions at 1,024 episodes. Randomizing friction and cube mass in training was the one significant gain on slippery cubes (0.378 vs 0.280 rad/s at friction 0.3), a proportional drift gate cut tilt error 13%, and I found a reset-reference bug in mjlab 1.1.1, then ported the task to mjlab 1.6. Simulation only.

PyTorch · MuJoCo Warp · RSL-RL · SLURM

Diffusion Policy from PPO Demonstrations

2026

A state-based Diffusion Policy (16 predicted actions, 8 executed) learns a simulated Franka pick in MuJoCo Playground from 100 demonstrations of a PPO teacher that succeeds 96% of the time on held-out seeds. In a controlled test, noisy demonstrations cut open-loop success from 33% to 3%, yet beat clean data, 71% vs 47%, once the policy replans every step (100 held-out episodes each). Course project; code on request.

PyTorch · JAX · MuJoCo Playground · SLURM

Paraphrase Failures in Vision-Language-Action Models

2026 · in progress

How public VLA checkpoints such as OpenVLA-OFT handle reworded LIBERO-Goal instructions: 4,092 paraphrases, per-step goal checks and gripper contacts, and empty and counterfactual prompt controls. Report in December 2026.

PyTorch · LIBERO · SLURM

NLP & Deep Learning

Sequence modeling from Persian-language tasks to image captioning.

Mixture-of-Experts Steering, and a Gate for It

2026 · gate in progress

A 197K-parameter learned head ranks which experts react to context, and switching the top ones on or off at inference improves mean faithfulness on OLMoE by +0.101 across six benchmarks with no weight edits. Now a three-person USC course project is building a gate that decides, per input, whether to steer at all, since following a document helps when it is right and hurts when it is wrong or planted. Results in December 2026.

PyTorch · Hugging Face · vLLM · SLURM

Image Caption Generator

2023

CNN feature extractors feeding LSTM/GRU decoders for automatic caption generation.

PyTorch · LSTM · GRU

Ferdowsi Poem Generator

2023

Sequence models generating verse in the style of Ferdowsi, trained on a Persian poetry corpus.

Python · LSTM · GRU

Persian Poems Corpus

2023

Curated, preprocessed corpus with stopword lists, ready for generation and classification tasks.

Python · NLP

Computer Vision & Image Processing

Classical and deep approaches: detection, segmentation, stitching, reconstruction.

Image Compression via SVD & FFT

2024

Lossy compression that pairs singular value decomposition with matrix Fourier transforms, with a written analysis of the rank-truncation trade-off.

Python · OpenCV · MATLAB

AlexNet Scene Recognition

2024

Scene classification across AlexNet configurations: transfer learning and feature-extraction strategies.

PyTorch

HOG-SVM Face Detector

2024

Histogram-of-oriented-gradients features with an SVM classifier and non-maximum suppression.

OpenCV · scikit-learn

Video Panorama Stitching

2024

Panoramas from video sequences plus background subtraction, via SIFT-based homography estimation.

OpenCV · SIFT

Image Segmentation Toolkit

2024

K-Means, Mean-Shift, SLIC superpixels, and GrabCut, implemented and compared on real data.

OpenCV · scikit-image

Template Matching

2021

Multi-scale template matching in color, with edge detection and match highlighting.

Python · OpenCV

Hybrid Images

2021

High-pass/low-pass frequency-domain blends: one image up close, another from across the room.

Python · FFT

Texture Synthesis

2021

Patch-based synthesis with Dijkstra-optimal seams and gradient handling.

Python

Full-Stack & Applications

Web and mobile applications, backend to frontend to database.

Artist Explorer App

2025

One product, three builds: Flask + vanilla JS, Angular + Node.js + MongoDB Atlas, and Android in Kotlin with Jetpack Compose. Artist search, auth, and favorites on the Artsy API.

Flask · Angular · Node.js · MongoDB · Kotlin

QA Vision iOS Client

2025

SwiftUI client for the Real-Time AI Vision Assistant: camera streaming, animations, activity suggestions.

Swift · SwiftUI · WebSockets

MySQL Metadata Manager

2024

Tkinter GUI that reverse-engineers and manages database schema metadata, with import/export and row-level editing.

Python · MySQL · Tkinter

Systems, Networking & Algorithms

Low-level systems, distributed networking, and classical algorithms.

P2P File Sharer

2023

Multi-threaded torrent-style file sharing over TCP sockets with a central tracker, peer discovery, and detailed logs.

Python · Sockets · Multithreading

Threadpool Job Runner

2022

Custom Java thread pool: resource-aware scheduling, priority queues, dynamic worker scaling.

Java · Concurrency

MIPS Stack Machine

2022

Stack machine in MIPS assembly with expression evaluation and a custom calling convention.

MIPS Assembly

Games & Interactive

Games and toys exploring AI, multiplayer architecture, and engine fundamentals.

Dastan — Gesture Guitar Studio

2026

Strum real guitar chords with hand gestures through your webcam: Karplus-Strong synthesis, Persian 6/8 and flamenco rhythms, a theremin-style melody hand, and recording — one dependency-free HTML file. code

JavaScript · Web Audio · MediaPipe

Sea Battle Multiplayer

2021

Client-server battleship with accounts, hosted matches, spectator mode, and a leaderboard.

Java · JavaFX · Sockets

Arkanoid FX

2021

JavaFX clone of the arcade classic: power-ups, save/load, scoreboard, many brick types.

Java · JavaFX

Pac-Nam

2021

Pac-Man-style game in C++ with BFS ghost AI, level loading, and a custom render loop.

C++ · BFS

Is It the Game or the Agent?

2026

A three-arm protocol (baseline, a privileged-information oracle, and a shape-matched placebo) calibrated against exact solutions on eleven games, then applied to Gin Rummy: 24 runs per arm bound the value of seeing the opponent's hand to under 0.4 percentage points. Across an 88-configuration atlas of hidden information, independent bounds caught three silent measurement failures, one of them in my own placebo control.

PyTorch · OpenSpiel · RLCard · PettingZoo · SLURM

PettingZoo Gin Rummy Fix

2026

Found that seeded resets silently reverted custom knock and gin rewards to library defaults in the Farama Foundation's Gin Rummy environment, then landed three merged pull requests: the fix, a repaired tutorial CI job, and the v4 to v5 version bump.

Python · Open source

Nwitter — Social Network Suite

A multi-component social platform: backend, desktop clients, CLI, and chatbot extensions.

Nwitter Backend Server

2022

Java backend with MongoDB, authentication, timelines, and a REST API for clients and bots.

Java · MongoDB · REST

Graphical Nwitter

2022

Alternative JavaFX client focused on UI animation and component composition.

Java · JavaFX

XO Game Bot

2022

Tic-tac-toe over messages, with dynamic board rendering.

Java · Bot API

Calculator Bot

2022

Expression-parser bot with an extensible operator set.

Java · Parsing

Vote Bot

2022

Interactive polls with real-time tallies.

Java · Bot API

Statistics & Data Analysis

Statistical modeling and exploratory analysis in R.

Older odds and ends live in the full repository list on GitHub.