MS CS @ USC · graduating May 2027

Manaswi Kalyan

ML engineer and researcher building rigorous ML systems. I implement methods from papers, run them at scale, and stay skeptical of the results.

About

I'm an MS Computer Science student at the University of Southern California, doing deep-learning research at USC's Laboratory of Neuro Imaging (LONI). My research work is on Vision Transformers for 3D brain MRI. My engineering work is on production-style LLM and MLOps systems: FastAPI services, PostgreSQL schemas, Docker deployments, monitoring, and CI.

What connects the two is rigor. I'd rather kill a promising result with a controlled ablation than report a gain I can't defend. I bring the same habit to engineering: constraining LLM output to a fixed schema, and load-testing race conditions instead of assuming they're fine.

Education

  • M.S. Computer Science, University of Southern California
    Aug 2025 – May 2027 · GPA 3.67/4.00
  • B.E. Computer Science & Business Systems, JSS Science and Technology University
    Dec 2021 – May 2025 · GPA 3.69/4.00

Research

Laboratory of Neuro Imaging (LONI), Keck School of Medicine, USC · Apr 2026 – Present

Rotary Position Embeddings in 3D Vision Transformers for Alzheimer's classification

I integrated Rotary Position Embeddings (RoPE) into 3D Vision Transformers for Alzheimer's classification on ADNI T1w MRI. I implemented the MiNiT and NiT variants and benchmarked them against a ViT-B/16 baseline across pretraining regimes on 44K UK Biobank and 100K synthetic LDM volumes, reaching AUC 0.921 on ADNI, with 0.887 and 0.813 zero-shot on the independent NIMHANS and OASIS3 cohorts.

Projects

Screenshot coming soon

ML · LLM

Multimodal RAG System

A production-grade retrieval system over PDFs, images (Tesseract OCR), CSVs, and source code, using the Claude API for grounded answers with source citations and confidence scores. Hybrid retrieval combines dense embeddings with BM25 keyword ranking, improving relevance over vector-only search, and an evaluation harness tracks ROUGE and retrieval latency (~100 ms).

  • Python
  • FastAPI
  • FAISS
  • PostgreSQL
  • LangChain
  • Claude API
  • Streamlit
  • Docker
View on GitHub: Multimodal RAG System →
Screenshot coming soon

ML · LLM evaluation

Chain-of-Thought Faithfulness Analysis

A 4-experiment framework (~15K LLM queries) testing whether chain-of-thought causally drives predictions. CoT improved math reasoning by 44–50 pp, while science MCQ showed 83% early-answer consistency, indicating post-hoc rationalization. It also identified a “Steered-But-Hidden” failure mode, in which models silently follow misleading prompt hints while emitting reasoning that never acknowledges the steer (16% on ARC-Challenge with Qwen 2.5).

  • Python
  • Ollama
  • Llama 3.2
  • Qwen 2.5
View on GitHub: Chain-of-Thought Faithfulness Analysis →
Screenshot coming soon

ML · MLOps

Real-Time ML Serving Pipeline with Monitoring

Online A/B routing between Logistic Regression (81.4%) and fine-tuned DistilBERT (91.3%) behind one FastAPI endpoint at ~10 ms. Prometheus and Grafana track latency, prediction distribution, and confidence, and drift detection triggers retraining automatically.

  • Python
  • FastAPI
  • PostgreSQL
  • Prometheus
  • Grafana
  • Docker
View on GitHub: Real-Time ML Serving Pipeline →
Screenshot coming soon

ML · Medical imaging

Diabetic Retinopathy Grading

ResNet50 on APTOS 2019 (3.6K fundus images, 5 stages) with circular ROI extraction, Gaussian contrast enhancement, and staged transfer learning. Results: 0.90 quadratic weighted kappa, 81–82% validation accuracy. I evaluated with QWK because staging is ordinal and distant errors cost more.

  • Python
  • TensorFlow
  • Keras
  • OpenCV
View on GitHub: Diabetic Retinopathy Grading →
Screenshot coming soon

Systems · LLM

LLM-Powered Code Review Assistant

A provider-agnostic LLM client abstracts Anthropic and OpenAI behind one interface, swappable by environment variable with no code changes, with exponential-backoff retry on rate limits and per-request token and cost accounting. The FastAPI service has 7 REST endpoints over 3 normalized PostgreSQL tables, covering snippet review, before/after diff scoring, and batch GitHub repo review with per-file error isolation. Constrained-JSON prompting returns severity-tagged findings, rendered in a React frontend.

  • Python
  • FastAPI
  • PostgreSQL
  • SQLAlchemy
  • React
  • Claude API
  • GPT-4o
  • Docker
View on GitHub: LLM-Powered Code Review Assistant →
Screenshot coming soon

Systems · Infrastructure

Distributed Rate Limiter & API Gateway

A horizontally-scalable API gateway enforcing token-bucket and sliding-window rate limits over Redis-backed shared state, with limit checks run as atomic Lua scripts to eliminate cross-replica read-modify-write races. Result: under k6 load across three replicas behind nginx, in-process limiting over-admitted ~3× the configured rate while the Redis-backed limiter held. Also includes Prometheus and Grafana instrumentation, fail-open/fail-closed behavior on Redis loss, and pytest concurrency tests in CI.

  • Python
  • FastAPI
  • Redis
  • Lua
  • nginx
  • k6
  • Prometheus
  • Grafana
  • Docker

Experience

  1. Student Research Worker

    Apr 2026 – Present

    Laboratory of Neuro Imaging (LONI), Keck School of Medicine, USC · Los Angeles, CA

    • Implemented REOrder, a Plackett–Luce patch-ordering policy trained with REINFORCE, in PyTorch, extending it from 2D to 3D volumetric MRI and benchmarking it against nine fixed orderings across three transformers (see Research).
    • Ran ~40 experiments on an 8× V100 HPC cluster with subject-level splits to prevent leakage; isolated an apparent +7.5-pt gain to measurement noise via a 2×2 ablation and seed-variance analysis.
    • Integrated Rotary Position Embeddings into 3D Vision Transformers; implemented the MiNiT and NiT variants and benchmarked them against a ViT-B/16 baseline, reaching AUC 0.921 on ADNI.
  2. Full Stack Web Developer Intern

    Aug 2024 – Oct 2024

    JupiterKing Technologies · Karnataka, India

    • Developed a Spring Boot authentication service using parameterized JPA queries, with comparative login endpoints exercising it against OWASP-style injection payloads to validate secure query handling.
    • Integrated an Angular frontend in a layered controller–service–repository architecture.
  3. Freelance Software Developer

    Oct 2023 – Feb 2024

    Studio Session Manager, Endurance Studios · Karnataka, India

    • Sole developer of a full-stack session management platform (React, Spring Boot, PostgreSQL) serving 15+ users.
    • Translated stakeholder requirements into booking, file-sharing, and scheduling APIs that cut manual coordination by 30+ min/session, deployed via Docker at 99%+ uptime.

Skills

Languages
  • Python
  • Java
  • C/C++
  • SQL (PostgreSQL)
  • JavaScript
  • HTML/CSS
ML & NLP
  • PyTorch
  • TensorFlow
  • Keras
  • scikit-learn
  • HuggingFace Transformers
  • sentence-transformers
ML Methods
  • Vision Transformers
  • RoPE
  • REINFORCE
  • Plackett–Luce policies
  • Ablation & seed-variance analysis
Retrieval & LLM
  • FAISS
  • BM25
  • LangChain
  • Hybrid search
  • Tesseract OCR
  • Claude API
  • GPT-4o
  • Ollama
MLOps
  • A/B testing
  • Drift detection
  • Automated retraining
  • Model serving
  • Prometheus
  • Grafana
Backend & Infra
  • FastAPI
  • Spring Boot
  • Flask
  • REST APIs
  • React
  • PostgreSQL
  • Redis
  • Docker
  • nginx
  • Git
  • GitHub Actions CI
  • pytest
  • Linux

Contact

I'm looking for ML engineering and software engineering roles. The best way to reach me is email.

mkalyan@usc.edu