Benchmarking Local Large Language Models for Structured Knowledge Extraction in Conversational Commerce
Ratomir Karlović, Luka Sever, Marijela Miličević, Sandi Baressi Šegota, Vedran Mrzljak, Ivan Lorencin
Key points
From the paper's conclusion- Locally deployed, open-weights Large Language Models (LLMs) were empirically evaluated on parsing multi-intent shopping cart commands into deterministic JSON schemas.
- A trade-off between schema compliance and computational overhead was highlighted, with advanced prompting techniques improving parsing accuracy while impacting inference latency and power draw.
- A well-chosen 3-8B parameter model (Granite4 3B) paired with few-shot prompting recaptured over 95% of the quality of the largest evaluated model at a coarse indicative estimate of 40× lower operational energy per command.
Abstract
The integration of natural language understanding into conversational commerce requires robustly extracting structured intents from idiomatic text. While cloud-based models are highly capable, their latency, privacy risks, and operational costs necessitate efficient local alternatives. To address this, we empirically evaluate locally deployed, open-weights Large Language Models (LLMs) on parsing multi-intent shopping cart commands into deterministic JSON schemas. We benchmark multiple models across minimal, extended, and few-shot prompting paradigms, utilizing a dual-axis framework to simultaneously measure extraction quality (operation F1-score, exact match, schema validity) and hardware performance (latency, GPU power consumption). Our evaluation highlights a fundamental trade-off between schema compliance and computational overhead, demonstrating how advanced prompting techniques improve parsing accuracy while measurably impacting inference latency and power draw. Ultimately, this comprehensive profiling identifies optimal model configurations for resource-constrained environments: a well-chosen 3-8B parameter model (specifically Granite4 3B) paired with few-shot prompting recovers over 95% of the quality of the largest evaluated model at a coarse indicative estimate of 40× lower operational energy per command, establishing a practical baseline for deploying cost-effective LLMs as efficiency candidates in resource-constrained environments.
Read the paper
Discussion · 1
Science Skim's AI key points, plus readers' public thoughts
- Locally deployed, open-weights Large Language Models (LLMs) were empirically evaluated on parsing multi-intent shopping cart commands into deterministic JSON schemas.
- A trade-off between schema compliance and computational overhead was highlighted, with advanced prompting techniques improving parsing accuracy while impacting inference latency and power draw.
- A well-chosen 3-8B parameter model (Granite4 3B) paired with few-shot prompting recaptured over 95% of the quality of the largest evaluated model at a coarse indicative estimate of 40× lower operational energy per command.
Readers' thoughts
No reader thoughts yet.
Related papers
- More Accurate or More Efficient? Evaluating Locally Deployed Compact Open-Weight Language Models for Mathematical ReasoningarXiv · 2026
- A Survey on Inference Engines for Large Language Models: Perspectives on Optimization and EfficiencyACM Transactions on Intelligent Systems and Technology · 2026
- RouterWorld: Scaling Conversational AI with Latency-Aware LLM RoutingarXiv · 2026
- Beyond Fluent Generation: A CPU Reliability Benchmark for MCP-Style Tool Calling in Sub-2B Small Language Models for Edge DeploymentarXiv · 2026
- Contamination-Free LLM Routing on LiveBench Reasoning Tasks: Accuracy-Cost-Latency Tradeoff LearningJournal of Science Innovation and Technology Research · 2026
- Benchmarking Large Language Model Inference on Limited-Resource Edge SystemsElectronics · 2026