Personal
Multi-Modal LLM Benchmarks
Benchmarking multimodal LLMs vs. YOLO vision models for object counting in .NET.
# Context
- Purpose: Evaluate whether automated warehouse pallet counting from photos for inventory tracking (proLogistik) is better suited to multimodal LLMs or traditional object detection, producing an evidence-based feasibility recommendation within one month.
- What It Is: An experimental test bed and comparative evaluation running seven open-source multimodal LLMs across multiple prompt strategies against a labeled pallet dataset alongside end-to-end YOLO/Tiny YOLO object detection baselines, with reproducible metrics and handoff documentation.
- Main Components: A .NET 10 and C# evaluation harness integrating Ollama/OllamaSharp and SkiaSharp, ML.NET / ONNX Runtime with YOLO-based object detection, PostgreSQL (via Npgsql) for persisting run metrics and failure modes, and a documented GitHub handoff repository.
# What I did
I owned the end-to-end technical feasibility study from initial research to final architecture recommendation within a one-month window. I researched both the open-source multimodal LLM landscape (LLaVA, LLaMA 3.2, Gemma, Granite, Qwen, Moondream, Mistral) and YOLO-family object detection workflows in parallel. I designed and coded the benchmark harness in C#/.NET 10 (using Ollama/OllamaSharp, SkiaSharp, and PostgreSQL/Npgsql) as well as end-to-end YOLO/Tiny YOLO pipelines with dataset preprocessing and format conversion. Finally, I executed the experiments, captured and analyzed accuracy, count-deviation, and latency metrics,finding ~40% count deviation at ~10 seconds per image for the top LLMs versus ~80% accuracy with YOLO, and delivered a decisive go/no-go feasibility recommendation supported by a structured handoff repository.
# What I learned
This evaluation brought me much closer to practical computer vision workflows, covering data formatting, preprocessing, object detection baselines, and real-world trade-offs between training data and model accuracy. It also gave me a grounded view of what open-source multimodal LLMs can and cannot do reliably today for structured visual tasks like counting under occlusion and latency constraints. Most of all, running parallel experiments and letting empirical metrics drive the feasibility call proved how quickly you can de-risk an unfamiliar domain when you measure before committing.