Skip to content

Machine learning systems, with a focus on language models

  • Hybrid local–cloud LLM systems

    Small models on local hardware, supervised by a larger cloud model, for privacy-sensitive work such as healthcare.

  • LLM evaluation

    Benchmarks, baselines and paired comparisons that show what a model can and cannot do.

  • Multimodal & accessible AI

    Vision-language models that describe images for people who use screen readers.

University
UW Tacoma
Independent study
Prof. Wei Cai
Program
M.S. CSS · Jun 2027

About

I am an M.S. student in Computer Science & Systems at the University of Washington Tacoma, doing an independent study with Prof. Wei Cai.

My research is in machine learning systems, with a focus on language models: how to build them efficiently, evaluate them honestly, and make them useful to people. My current work is on hybrid systems that pair a small model running locally with a larger model in the cloud, for privacy-sensitive settings such as healthcare, where sending every document to a cloud model is costly or not allowed.

Before UW, I co-authored a paper on context-aware image descriptions for screen-reader users and worked on applied machine learning and data pipelines in industry.

Current questions

  1. How far can small local models go?

    Measuring where 4B–27B models running on local hardware hold up on long clinical records, and where they break.

    Current study

  2. Can uncertainty say when to ask for help?

    Testing whether uncertainty signals predict which subtasks actually need review by a cloud supervisor.

    Current study

  3. How should AI describe images for people who can’t see them?

    Layered, context-aware descriptions with a sentiment reading, instead of one-line alt-text.

    Published paper

News

  1. Sep 2026

    Began an independent study (TCSS 600) with Prof. Wei Cai on cloud-supervised local LLM workers.

  2. Sep 2025

    Started the M.S. in Computer Science & Systems at the University of Washington Tacoma.

  3. Jan 2025

    Co-authored paper on context-aware alt-text published in IJSRCSEIT.

Current research

One question set, five ways to answer it, one way to measure

  • Local worker (Qwen3 4B / 27B)
  • Cloud supervisor (Gemini Flash)

Input

LongHealth long-document clinical QA: fictional patient records of about 11,000–13,000 tokens, each with multiple-choice questions (A–E). Question sets are frozen before any run: 20 warm-up and 200 evaluation questions.

Protocols compared

  1. Local only

    No review · RQ2, RQ3

    1. Worker reads the record27B: whole record
    2. Answers A–E

    The 4B worker’s window is too small for a whole record, so it reads ~1,500-token chunks and the majority vote over its per-chunk answers is final.

  2. Cloud only

    Reference

    1. Supervisor reads the whole record
    2. Answers A–E
  3. Review every step

    RQ2

    1. Worker answers a step
    2. Supervisor reviews it
    3. Final answer
  4. MinionS

    RQ2 · Narayan et al.

    1. Supervisor writes jobssubtask × chunk
    2. Workers run jobs in parallelanswer + evidence per chunk
    3. Supervisor combinesanother round, or answer
  5. Review when unsure

    1. Worker answerswith token log-probabilities
    2. Uncertainty signal
    3. Confident: keep it
    4. orUnsure: ask supervisor

Measured the same way for every protocol

Graded
Rule-based answer parser; every answer it cannot parse is checked by hand.
Logged
Each call’s full prompt and answer, tokens, time and cost, in a JSONL run log.
Compared
Accuracy against cloud cost, paired on the same frozen questions.

Every reported number names its protocol, worker, supervisor and grading method.

OngoingIndependent study (TCSS 600), Autumn 2026 · with Prof. Wei Cai

Cloud supervision of small local language-model workers

Can a cloud model supervise small language models running on local hardware, and can uncertainty signals predict which subtasks actually need cloud review? This study evaluates and extends the Minions local–cloud protocol on the LongHealth long-document clinical QA benchmark, comparing review strategies (no review, every-step review, Minions) and local worker sizes (Qwen3 4B and 27B) under a Gemini Flash supervisor, with frozen baselines and paired comparisons.

Write-up in progress.

Publications

  1. Structured multimodal prompting: image and context go in together

    • Imagethe photo to describe
    • Instruction prompt“Summarize the context for this image.”
    • Contextual metadatalocation, object labels, user hints

    Llama 3.2 11B

    Vision-Instruct

    reads the image and the text in one request

    • Caption & scene contextwhat is there, and what is happening
    • Sentimentmood from colour tones, faces, ambiance
    • Storya short narrative from the scene

    AltTextPro runs it with Llama 3.2 Vision behind one API endpoint. Location, objects and hints are optional.

    • works on the image
    • works on text
    1. 1. Check & resizeJPEG, PNG or WebP; bytes verified
    2. 2. Captionimage + your context · 15–25 words
    3. 3. Scene contextimage + your context · 150–175 words
    4. 4. Rich descriptionrewrites the context · 175–200 words
    5. 5. Sentiment (JSON)emotion, score −1 to 1, elements

    A short story from the scene is written on request. The published version used GPT-3.5-turbo for sentiment and sent no contextual metadata; the current code follows the paper’s method with one model. Fine-tuning and the paper’s accuracy figures are not reproducible from the repository.

    PublishedJournal article · 2025

    From Alt-text to Real Context: Revolutionizing image captioning using the potential of LLM

    V. Patel, A. Modi, H. Mistry, A. Mishra, R. Upadhyay, A. Shah

    International Journal of Scientific Research in Computer Science, Engineering and Information Technology (IJSRCSEIT), 11(1):379–387, January 2025.

    Written as B.Tech students at the Krishna School of Emerging Technology and Applied Research, KPGU, Vadodara.

    Plain alt-text names what is in an image but not its context or mood. The paper uses Meta’s Llama-3.2-11B-Vision-Instruct with structured multimodal prompting to produce context-rich captions and scene descriptions, along with sentiment analysis and image-based storytelling.

    From the paper

    Example from the paper
    Prompt
    “Summarize the context for this image.”
    Metadata
    Location: Tokyo, Japan; Objects: vendor stalls, people, cars, traditional items.
    Output
    “A street market in Tokyo, crowded with activity as vendors display their traditional Japanese wares while people browse and interact with the goods.”

    Implementation

    AltTextPro (open source): a Flask API that runs Llama-3.2-11B-Vision-Instruct through the Hugging Face Inference API. It implements the paper’s structured multimodal prompting (the image plus optional location, objects and hints) for a 15–25 word caption and a 150–175 word scene context, expands it into a richer description, adds a sentiment reading (dominant emotion, score from −1 to 1, emotional elements) and, on request, a short story. A Next.js page handles uploads and shows the results. The README tables what the paper describes against what the code does: the paper’s fine-tuning and accuracy figures are not reproducible from the repository.

    • Image captioning
    • Vision-language models
    • Multimodal prompting
    • Sentiment analysis
    • Accessibility

Presentations

  • Context-aware alt-text for screen-reader users (poster), UW Tacoma School of Engineering & Technology Masters Seminar.

Selected projects

Research toolkit

Methods
Evaluation harnessesPaired comparisonsLong-context benchmarksMultimodal prompting
Models
Qwen3 4B / 27BGemini FlashLlama 3.2 VisionGPT-3.5
Tools
PythonPyTorchHugging FaceLangGraphFastAPIFlask

Education

  1. 2025 – 2027 (expected June 2027)

    M.S., Computer Science & Systems

    University of Washington Tacoma

  2. 2021 – 2025

    B.Tech., Computer Science & Engineering

    Drs. Kiran & Pallavi Patel Global University (KPGU), Vadodara, India

Experience & service

Industry

  • Data Engineer Intern

    Edunet Foundation, Vadodara, India

    Nov 2024 – May 2025

  • AI/ML Engineer Intern

    MaMo TechnoLabs LLP, Vadodara, India

    Jan – Apr 2025

Service & leadership

  • Front Desk Assistant

    Center for Student Involvement (CSI), UW Tacoma

    Jul 2026 – present

  • Makerspace Student Assistant

    UW Tacoma Makerspace

    May 2026 – present

  • Vice President, Indian Student Association

    UW Tacoma

    Apr 2026 – present

  • Secretary, Indian Student Association

    UW Tacoma

    Oct 2025 – Apr 2026

Get in touch

Open to AI/ML Engineer & SWE internships and new-grad roles. Email is the best way to reach me.

Last updated November 2026.