Decision models for UAVBench and the viability of edge deployment
Organizations: InferLink Corporation, Marina del Rey, CA
Abstract
Small language models are often proposed for reasoning onboard a drone. However, a good benchmark score does not tell us whether a model will actually run, and run usefully, on an edge computer. In this paper we study three related questions using the UAV decision benchmark, UAVBench. First, are small structured decision models good candidates for these tasks? Second, can an ordinary local machine (a Mac) screen candidate models before we test them on physical devices? Third, what software and resource limits govern deployment? Our main Mac evaluation covers 24 model configurations on the same 2,000 validated multiple-choice questions from UAVBench. These include 20 size-and-precision configurations of 11 generative models, plus four open-weight structured decision models that received no additional UAVBench-specific training. A structured decision model, H2O Lightning 4B, achieved the highest accuracy we observed, scoring 77.65% on the Mac. This shows that these models are well suited to this kind of task. However, when we tried to deploy the decision models, we ran into conversion and runtime limits on the edge devices we tested, which we describe in detail. To test local screening, we ran matched evaluations of two generative models on both the Mac and a Qualcomm RB3 board. The accuracies did not match exactly, but the ranking did. LFM2 2.6B ranked above Qwen2.5 1.5B on both platforms. This supports using a local machine to shortlist candidates. That said, individual answers still differed between platforms, so testing on the actual hardware remained necessary.
Figures & tables
| Label | Meaning | Where we use it |
|---|---|---|
| MLX FP16 | 16-bit floating-point weights, run with Apple MLX | Mac generative models |
| MLX 4-bit | MLX affine 4-bit quantization, converted from FP16 weights (BF16 for Gemma) | Mac generative models; MLX resource repeat |
| BF16 | 16-bit bfloat weights, run through Apple MPS | Mac decision study (GLiDE, Liquid d1) |
| MLX q8 | MLX 8-bit conversion of H2O Lightning 4B | Mac decision study (H2O) |
| Q4_0 GGUF | 4-bit GGUF file, identical on both platforms | Matched Mac–RB3 transfer (Qwen2.5 1.5B, LFM2) |
| Q4_K_M GGUF | 4-bit k-quant GGUF file, identical on both platforms | H2O Mac–RB3 diagnostic |
| Study | Models and coverage | Main controls |
|---|---|---|
| Mac generative models | 11 checkpoints; 20 usable conditions; 2,000 questions each | MLX FP16 or MLX 4-bit; 2,048-token input limit; 8 GiB allocator allowance |
| Mac decision models | GLiDE 0.4B and 0.8B, Liquid d1 2B, H2O Lightning 4B; 2,000 each | Native decision code; BF16 or MLX q8; 4,096-token input limit |
| Matched full transfer | Qwen 1.5B and LFM2 2.6B; 2,000 per model and platform | Identical Q4_0 GGUF files and prompts; Metal versus OpenCL |
| Repeated transfer timing | Two models; six rounds of 100 questions on each platform | Fresh processes; separate warmup; alternating model order |
| H2O transfer diagnostic | Same fixed 100 questions on Mac and RB3 | Identical Q4_K_M GGUF file and runtime source; 1,024-token context |
| Model | Precision | Correct / 2,000 | Accuracy (%) | Permissive (%) | Median time (ms) | Peak alloc. (GiB) |
|---|---|---|---|---|---|---|
| SmolLM2 135M | MLX FP16 | 101 | 5.05 | 13.50 | 107.3 | 0.625 |
| SmolLM2 135M | MLX 4-bit | 0 | 0.00 | 12.50 | 138.6 | 0.343 |
| SmolLM2 360M | MLX FP16 | 252 | 12.60 | 14.55 | 101.9 | 1.285 |
| SmolLM2 360M | MLX 4-bit | 143 | 7.15 | 12.50 | 114.3 | 0.638 |
| SmolLM2 1.7B | MLX FP16 | 729 | 36.45 | 36.85 | 371.7 | 3.653 |
| SmolLM2 1.7B | MLX 4-bit | 329 | 16.45 | 16.55 | 362.8 | 1.624 |
| Model in 4-bit | Full accuracy | Median time | Round range | Peak allocation |
|---|---|---|---|---|
| LFM2 2.6B | 68.35% | 505.5 ms | 503.9–507.4 ms | 2.035 GiB |
| Gemma 3n E4B text | 70.20% | 756.1 ms | 753.2–761.4 ms | 4.726 GiB |
| Qwen2.5 7B | 66.15% | 1,301.7 ms | 1,298.7–1,304.4 ms | 4.562–4.563 GiB |
| Model | Mac accuracy | RB3 accuracy | Identical answers | Full RB3 median |
|---|---|---|---|---|
| Qwen2.5 1.5B | 41.10% | 41.05% | 1,943 / 1,999 | 3.942 s |
| LFM2 2.6B | 69.30% | 68.30% | 1,775 / 1,999 | 6.306 s |
| Model | Mac median | Mac range | RB3 median | RB3 range |
|---|---|---|---|---|
| Qwen2.5 1.5B | 313.7 | 312.5–314.0 | 3,979.2 | 3,977.2–3,980.9 |
| LFM2 2.6B | 525.8 | 525.7–526.4 | 6,338.4 | 6,333.4–6,339.2 |
| Measure | Mac | RB3 |
|---|---|---|
| Correct answers | 80 / 100 | 80 / 100 |
| Median response time | 0.967 s | 16.762 s |
| Mean response time | 0.980 s | 16.827 s |
| 95th percentile | 1.150 s | 19.809 s |
| Timed GPU sensor 0 range | Not measured | 47.3–62.4 C |
| Timed GPU sensor 1 range | Not measured | 46.9–70.9 C |
On-Device Language Model Inference
On-device language model inference runs language models locally on phones, computers, and edge devices under tight memory, power, and latency limits.
See all 193 papers