Portfolio / 2026 Davis, CA ↔ Bellevue, WA Pacific

I build systems where milliseconds matter: search infrastructure, LLM inference routing, and research on the models themselves.

Now Shopify Software Engineering Intern · search index serving Published ICML 2026 First author · output diversity in LLMs
Education UC Davis B.S. Computer Science · Dec 2027
live · inference router
cache hit rate—
hit rate over time
routed0
Toggle the policy and watch the hit rate. Each color is a prompt prefix; filled squares are KV caches on each GPU. A simplified model of my C++20 router.
First author · ICML 2026✦ SWE Intern · Shopify✦ −43% p99 · C++20 router✦ 23M msg/s · C++ order book✦ Top 3 of 100+ · HackDavis ’26✦ Top 5 · Cornell Quant ’23✦ AWS Certified✦ Dean’s List✦
Inference routerp99 latency
−43%

lower p99 latency from routing repeat prompts to the replica that already holds their KV cache.

p99 latency, indexed · before = 100

ARMS LabQuery latency
<40ms

tolerance lookups, down from multi-second LLM calls.

log scale

ArcadiaRobot fleet
−40%

navigation error, and −25% drift, from C++ Kalman IMU/odometry fusion.

before after · indexed

PinpointReal users
500+

UC Davis students on a real-time lost-and-found platform I shipped.

one dot = one student

Flagship01

Cache-Aware Inference Router for vLLM Fleets. Scroll through how it works.

router.cpp · C++20
79%cache hit rate
p99 before
100
p99 after
57
−43%p99 latency
<0.9 msrouting cost
50,000 / 50,000generations token-identical
load test ⚡ replica failure injected 0 divergence
01 · The problem

Round-robin wastes the GPU’s memory.

LLM serving engines like vLLM cache the attention state (the KV cache) for prompts they have already seen. A load balancer that ignores this spreads repeat prompts across every replica, so each one recomputes the same prefix from scratch.

02 · The idea

Route by prefix, on the hot path.

I wrote a C++20 router that keeps a prefix tree of which replica holds which prompt prefix, and pins each request to the replica that already has its KV cache. Matching costs under 0.9 ms per request, behind an OpenAI-compatible API.

03 · The result

−43% p99 latency. 79% cache hits.

Tail latency drops because repeat prompts skip recomputation. The fleet-wide cache hit rate rose to 79%, and p99 latency fell 43%.

04 · The proof

Faster, and provably the same output.

A router must never change what the model says. I checked 50K generations token-for-token against direct-to-engine output, under load and with an injected replica failure. Zero divergence.

C++20vLLMOpenAI-compatible APIDockerKubernetes
Read the code on GitHub ↗

Experience02

Production search, applied AI in manufacturing, robotics, and a campus platform.

  1. Sep 2026 — NowBellevue, WA

    Shopify current

    Software Engineering Intern

    Index serving for Shopify search: the low-latency layer every query passes through.

    SearchIndex ServingLow Latency
  2. Mar 2026 — NowDavis, CA

    ARMS Laboratory, UC Davis current

    AI Systems Researcher

    Industry collaboration with a major CNC machine-tool manufacturer

    • Cut tolerance-query latency from multi-second LLM calls to sub-40 ms by moving lookups onto a SQL-backed service path.
    • Built a Python FastAPI backend that maps SolidWorks part features to tolerance limits, replacing manual lookups in engineering standards.
    • Removed the CAD workstation dependency with a C# COM integration, and prototyped a RAG layer that cites its sources over the ANSI/ISO corpus.
    PythonFastAPISQLC#SolidWorksRAG
  3. Sep 2024 — Jun 2025Davis, CA

    Pinpoint, Codelab Davis ↗

    Software Developer

    • Shipped a real-time lost-and-found platform to 500+ UC Davis students on Next.js and Supabase, with live WebSocket match updates.
    • Added tag-based fuzzy matching over a PostgreSQL full-text index, so students see likely matches instantly across 1K+ listings.
    • Secured per-user data and blocked bot signups by pairing PostgreSQL row-level security with Google OAuth.
    Next.jsSupabasePostgreSQLWebSocketsOAuth
  4. Jan 2023 — Nov 2023Pleasanton, CA

    Arcadia

    Software Engineering Intern

    Venture-backed robotics startup · $2M raised · $3M+ pre-orders

    • Cut fleet navigation error 40% and drift 25% across $3M+ in pre-orders with a C++ ROS Kalman IMU/odometry fusion pipeline.
    • Built a ROS replay harness over 100+ hours of field logs to catch navigation regressions before over-the-air fleet updates.
    • Reached 90% defect-classification accuracy in variable lighting with an OpenCV pipeline that drives an Arduino servo to eject bad parts.
    C++ROSKalman FilteringOpenCVArduino
    Live · Kalman filtertruth noisy sensor estimate
    A constant-velocity Kalman filter on synthetic data: the same idea that fused IMU and odometry on Arcadia’s robots. Error now: — vs raw sensor —
  5. Jan 2022 — Jan 2023Fremont, CA

    Aspiring Scholars Directed Research Program

    Data Science Research Intern

    • Raised cluster purity 35% over baseline by training Kohonen self-organizing maps across swept grid geometries and decay schedules.
    • Reduced dimensionality on a 20K+ sample dataset while preserving topology, and benchmarked the SOM projections against PCA and t-SNE.
    PythonSelf-Organizing MapsPCAt-SNE

Research03

Does diversity survive when one language model teaches another?

ICML 2026First author

On the Transfer of Output Diversity via Synthetic Data in Language Models

I fine-tuned Llama 3.2 with LoRA in MLX to test whether a teacher model’s output diversity carries over to a student trained on its synthetic data. I built automated noun-probe and creativity evaluation harnesses and ran them across 1,250 generations to measure how much diversity each pipeline kept.

LoRA / PEFTMLXLlama 3.2Synthetic DataEvaluation
Drag: tuning strengthillustration
light tuningvaried outputsheavy tuning
Kept under light tuning
29–39%

of the diversity gains survived distillation

Heavy tuning
68.4%

top-5 repetition after outputs collapsed

Evaluated
1,250

generations across the eval harnesses

Projects04

Low-latency engines, graph algorithms, and quant research.

Live order book
Last trade — Messages 0 simulated flow
Quant · C++20 · Low latency

Limit Order Book & Matching Engine

A price-time-priority matching engine in C++20, built around the operations that dominate real order flow: cancels and replaces.

23Mmsg/s, realistic mix
6.1×faster cancel vs std::map
0divergences, 30M fuzzed msgs
  • Direct-indexed price ladder with bitmap best-price tracking, intrusive FIFO queues, a flat open-addressed order-id map, and a huge-page arena allocator.
  • Differential fuzzing across 120 flow regimes (IOC, FOK, post-only, iceberg, self-trade prevention) with bit-for-bit agreement against an independent reference engine, plus raw Nasdaq ITCH 5.0 replay.
  • Latency measured coordinated-omission-free into HdrHistogram, p50 through p99.99.
C++20CMakeHdrHistogramNasdaq ITCHFuzzing
View on GitHub ↗
route: —
Click a street to block it · Dijkstra reroutes
Graphs · HackDavis ’26 ★ Top 3 of 100+ teams

AccessMap AI

A wheelchair-accessible route planner over a 19.7K-node graph that combines footpaths, transit, and elevation, then explains each route in plain language.

19.7Kgraph nodes
<300msper route query
Top 3of 100+ teams
  • Dijkstra over a graph that fuses footpaths, transit, and elevation. Routes are served through a FastAPI backend and a Mapbox GL frontend.
  • Uses Gemini 2.5 Flash to score accessibility and explain routes. Invited to the UC Davis Startup Center EIR program.
PythonNetworkXNext.jsSupabaseMapbox GLGemini API
View on GitHub ↗
Portfolio optimizerillustrative data
Expected return —
Quant · Cornell Quant ’23 ★ Top 5

Constraint Optimization Engine

A backtesting and linear-programming platform for systematic equities, built to reduce overfitting and speed up strategy evaluation. Drag the caps and the optimizer re-solves for the best allocation that still respects every limit.

  • Linear-programming layer in PuLP that turns strategy constraints into a solvable optimization problem.
  • Backtesting harness in Pandas for fast, repeatable strategy evaluation.
PythonPuLPPandasLinear Programming
View on GitHub ↗

Toolkit05

What I reach for, and where I’ve used it.

Where each tool shows up

Hover or tap a project or a tool

      ALanguages

      Python, SQL, C/C++ (C++17/20), Java, TypeScript, JavaScript, C#, Go, R, Bash/Shell, MATLAB, Ruby

      BAI & Machine Learning

      PyTorch, Hugging Face, Transformers, LoRA/PEFT, MLX, RAG, LangChain, SBERT, vLLM, OpenCV, Time-Series

      CFrameworks & Libraries

      Flask, FastAPI, REST APIs, Node.js, Next.js, React, Apache Kafka, NumPy, Pandas, scikit-learn, XGBoost, ROS

      DCloud, Systems & Tools

      Docker, Kubernetes, AWS, GCP, PostgreSQL, Supabase, MongoDB, Redis, ChromaDB, Git, CI/CD, Linux/Unix

      Education

      University of California, Davis

      B.S. in Computer Science · Exp. Dec 2027

      Coursework Data Structures & Algorithms, Computer Architecture, Databases, Linear Algebra, Probability & Statistics

      • ICML 2026First-author publication
      • Top 3of 100+ teams, HackDavis ’26
      • Top 5Cornell Quant ’23
      • AWSCertified
      • Dean’s ListUC Davis

      About06

      I started writing code at eleven. Now I spend my time where theory meets the metal: training language models, taking latency out of hot paths, and shipping software people actually use.

      I study Computer Science at UC Davis. My work so far spans robotics sensor fusion, a campus platform with hundreds of users, applied AI for manufacturing, and production search. What ties it together is that I like measuring things, and I like it most when the numbers move in the right direction.

      Away from the keyboard I play classical piano (Certificate of Merit, Level 10), mostly Chopin and Rachmaninoff. Try the keys.

      nocturne.wav
      Click the keys, or use A–K on your keyboard

      07 — Contact

      Let’s build
      something fast.