Research Portfolio
M.S. in Computer Science (thesis option), Fall 2027
My research direction is compact, on-device AI that makes NPC behavior dynamic, from adaptive decisions to physics-driven responses, while keeping it responsive and believable. Across the two prototypes below, compact models made decisions in 15 to 61 ms and full dialogue turns took under 280 ms on one consumer PC. Speed was not the problem. Reliable behavior was.



A Unity character built from 15 physics-driven parts joined by motors, with no animation clips. When a box falls toward it or a ball is thrown at it, it must choose a reaction, such as bracing, dodging sideways or curling up, and how stiff its muscles should be.
Each event becomes one sentence, for example "A heavy object (about 12 kg) is falling toward the head, about 0.4 s until impact." I benchmarked Laya, a compact decision model, and the zero-shot classifier GLiClass, both without fine-tuning, on choosing the reaction within a 200 ms budget, with hand-written rules as a fallback. Each ran on the same 30 seeded events in two scenes.
Consumer PC with an NVIDIA RTX 4070 SUPER and an Intel Core i7.
Open question. How does learned control, for example through differentiable simulation, compare with compact decision models for choosing and shaping these reactions?
Mira is a shopkeeper NPC who remembers how the player has treated her. GLiClass reads her history and the current game state, then scores each action the game supports and the price she charges. When its confidence is low, scripted rules and templates decide instead.
A small language model, Qwen3-0.6B or SmolLM2-1.7B, then turns the chosen action into a short line of dialogue. It cannot change her decision or her price. Everything runs locally.

Mira welcomed players even after they had stolen from her. GLiClass picked "welcome" on all 50 turns, even after thefts and a hit, though it did raise her price. The system was fast enough, but its choices did not follow her memory. This gap between computational feasibility and behavioral reliability is what I want to study, starting with memory-grounded decisions.
ThreadedPaws is a Unity serious game for studying how computer science students debug concurrency. Players run a dog salon and order each stylist's actions so that shared tools and the cash register are used safely.
I designed levels that each isolate one bug type (starvation, deadlock, data race) and built an in-game tutorial so every participant starts from the same baseline. I also refactored the Unity (C#) code so new levels are easier to add. The lab used the game in a study with students.



Shetkari Mitra began as a question-and-answer platform connecting farmers with agricultural experts through crop-specific forums. We evaluated it with 50 farmers, and it was published with me as first author in the Springer ICCDN 2021 proceedings.
I then built an on-device TensorFlow Lite CNN that classifies soil photos on budget Android phones, plus KNN classifiers for fertility and crop recommendations. The fertility classifier reached 97% accuracy on held-out test data. The project won the 2022 UNESCO India-Africa Hackathon.


I built and deployed BERT-based semantic search pipelines on CPU clusters (Databricks, MLflow) for an InnerSource code-discovery platform, which finds internal repositories by the meaning of a search rather than its exact words. Running on CPUs avoided costly GPU infrastructure. Repository vectors are computed ahead of time, so each search only encodes one short query. The core engine was later released as open source as Project Fleming. Getting transformer models to respond quickly on modest hardware is the same constraint I now face when running models next to a game engine.
How can compact models running on the player's own device make NPC behavior dynamic, from adaptive decisions to physics-driven responses, while maintaining real-time performance and behavioral consistency?
My two prototypes show that compact models are already fast enough. They also show where they fall short. Off-the-shelf models repeated the same reactions, ignored object weight and impact point, and welcomed a player who had stolen from the shopkeeper. I want to study how to make these decisions follow memory and the details of each event, and to compare compact decision models with learned control, for example through differentiable simulation, with rules kept as a safety fallback.
Time from a game event to the NPC's action, measured against a fixed budget such as 200 ms.
Whether decisions follow the NPC's memory and the event's details, such as a past theft or an object's weight.
Whether behavior changes sensibly across repeated interactions with the same player.