Research Assistant – Vision-Language Models
Northeastern University, Roux Institute
Industry-partnered research on vision-language models for veterinary cytology, conducted in partnership with IDEXX. I own the model work end to end: choosing and setting up the base models, building the training data, fine-tuning, and building the evaluation that decides which model ships.
- Fine-tuned MedGemma 1.5 4B, a medical vision-language model, to describe cytology images cell by cell (cell counts, positions, red cells and cellularity), with LoRA on both the language model and the image encoder, on Databricks H100 GPUs.
- Reached F1 0.97 for red cells and 0.77 for mast cells on held-out data (precision 0.86, recall 0.69), and micro F1 0.87 over the five best-detected cell types.
- Made inference 4–5× faster than the training setup by merging the LoRA weights, switching attention kernels and batching, after confirming the answers were unchanged.
- MedGemma 1.5 4B
- LoRA / QLoRA
- PyTorch
- Hugging Face Transformers
- PEFT
- TRL
- GRPO
- Cellpose-SAM
- Gemini (LLM-as-judge)
- Databricks (H100)