0 cumulative citations
View corpus contextThere is no one-size-fits-all compression for edge AI: quantization typically yields predictable size and latency wins, but structured pruning can both erode task performance and — by breaking format alignments — inflate deployed artifacts and increase latency. Edge deployments must pick compression techniques by task, model family and hardware, or risk surprising slowdowns and hidden accuracy failures.
Citation observations
Cumulative provider counts captured on specific dates; providers are never combined.
Running large AI models on resource-constrained edge devices requires model compression to reduce model size and computation. What compresses well, however, need not deploy well. We survey dozens of recent works that report compression results on real hardware and extract practical deployment guidelines from them. Following these guidelines, we deploy compact language and image models on GPU, CPU, and Raspberry Pi platforms across question answering and image segmentation. No single technique wins across tasks. For question answering, Qwen3.5 0.8B reaches 93.85 SQuAD F1 and 92 EM under Q5_K_M GGUF quantization, while structured pruning at the same precision costs 16 F1 at a 1% ratio. For segmentation, the ranking reverses: default quantization leaves parameters and MACs unchanged, whereas pruning cuts model size by nearly 80% at near-constant mIoU. Pruning can even inflate the deployed artifact by 21-49% by breaking k-quant super-block alignment; combined with longer, less format-compliant outputs, this raises Raspberry Pi latency up to 3.4x. Compression can also manufacture the appearance of competence rather than destroy it visibly: one LoRA-recovered variant stays fully parseable and holds 71% strict BoolQ accuracy while sending 97 of 100 predictions to a single class, at 52.6% balanced accuracy. We explain these effects through neural-flow graph analysis and prefill-decode-level latency decomposition, and condense them into task-specific deployment research directions. The right technique depends on the task, the model, and the hardware. Our experiment code and artifacts are open-sourced at https://github.com/Arnavvvkumar/deployment
Summary
Main Finding
No single compression technique reliably dominates for edge deployment — the best choice depends on the task, the model family, and the target hardware. Quantization often gives the largest practical wins for on-device language understanding (QA) by shrinking storage and power cost without changing topology, while structured pruning can deliver large model-size and MAC reductions that benefit image segmentation. However, pruning can also harm accuracy sharply (pruning‑induced forgetfulness), break deployment-format alignment (inflating artifact size and per-token decode cost), and increase on-device latency. Recovery methods (e.g., LoRA) can mask failures (high strict accuracy but severe prediction skew). Device-level behavior must be measured end-to-end (prefill vs decode) and analyzed hardware‑aware; otherwise nominal compression numbers mislead deployment economics.
Key Points
- Empirical, deployment-focused pairing: survey of ~20+ works that report real-hardware measurements plus an original cross-task deployment study (LLMs and segmentation models) on GPU, CPU, and Raspberry Pi.
- No universal winner:
- Question answering (LLMs): GGUF quantization (Q5_K_M) of Qwen3.5 0.8B reached 93.85 SQuAD F1 and 92 EM. At the same nominal precision, structured pruning (1% MLP channels) lost ~16 F1.
- Segmentation: pruning reduced model size by nearly 80% with near-constant mIoU; quantization alone did not change parameter count or MACs (so less benefit for topology‑heavy segmentation speed).
- Pruning-induced forgetfulness: even small structured pruning ratios (e.g., 1% of MLP channels) can cause substantial downstream quality loss across evaluated LLM families; LoRA fine-tuning after pruning recovers only part of the loss.
- Neural-flow graph analysis identifies where pruning damage concentrates inside a model family:
- For Qwen3.5, 77% of measured distortion localizes to the gate projection.
- For Qwen2.5, 67% concentrates on the down projection. This layer-locality explains family‑specific vulnerability and guides targeted recovery.
- Two-stage inference decomposition (prefill vs decode):
- Prefill: compute-bound.
- Decode: memory-bandwidth-bound. Structured pruning increased latency in every matched baseline-vs-pruned pair, because pruned models generated more tokens (up to 2.7× for Gemma) and, when pruning breaks k-quant super-block alignment, the deployable weight set can grow by 21–49% — raising per-token cost and Raspberry Pi latency up to 3.4×.
- Compression can mask failure modes (prior-collapse): a LoRA-recovered variant remained syntactically parseable and achieved 71% strict BoolQ accuracy while producing 97/100 predictions for a single class; balanced accuracy was only 52.6% — illustrating why reporting strict accuracy alone is misleading.
- Practical artifact issues: pruning can increase the stored/deployable artifact size (format-dependent) by destroying quant-block alignment; quantization can be limited by missing device kernels (e.g., INT4 often unsupported on microcontrollers).
- Open-sourced artifacts and code: authors provide the experiment code and artifacts.
Data & Methods
- Models and tasks:
- LLM families: three ~1B-parameter families (e.g., Qwen2.5, Qwen3.5, Gemma/TinyLlama variants).
- NLP tasks: SQuAD (QA, reported F1 and EM), BoolQ and Natural Questions.
- Vision tasks: six segmentation models (DeepLabV3+, SegFormer, Mask2Former, SAM derivatives) evaluated with mIoU and mean accuracy.
- Compression techniques evaluated:
- Structured pruning (channel / projection pruning).
- Post‑training quantization (GGUF Q5_K_M and other PTQ variants).
- LoRA recovery / low-rank fine-tuning after pruning.
- Knowledge distillation (for segmentation experiments), and combinations (pruning + quant).
- Hardware targets:
- GPU, CPU, and Raspberry Pi (and comparisons to Jetson platforms in the survey context).
- Measurements and analyses:
- Measured end-to-end latency, artifact (checkpoint) size, MACs/parameter counts, power/energy where available.
- Performed 18 matched baseline-vs-pruned run pairs to isolate pruning effects.
- Decomposed inference into prefill (compute-bound) and decode (memory-bandwidth-bound) phases; measured token counts and per-token costs.
- Neural-flow graph analysis: first-order, layer-additive measure of local signal distortion introduced by pruning, used to rank damage and locate concentrations of distortion.
- Reported both strict accuracy and balanced accuracy + prediction skew to expose collapse modes.
- Representative quantitative findings:
- Qwen3.5 0.8B + Q5_K_M (GGUF) quant: 93.85 SQuAD F1 and 92 EM.
- Structured pruning (1% MLP channels) at same precision: ≈16 F1 drop on SQuAD for some trajectories.
- Pruning can inflate quant-deployable weights by 21–49% due to broken k-quant block alignment, increasing Raspberry Pi latency up to 3.4×.
- Pruned models generated more tokens (up to 2.7× increase observed for Gemma).
- LoRA-recovered model: 71% strict BoolQ accuracy yet 97/100 predictions to a single class; balanced accuracy 52.6%.
- In all 18 matched pruned vs baseline pairs, structured pruning raised per-token decode cost.
Implications for AI Economics
- Procurement and deployment decisions must be hardware- and task-aware:
- Don’t choose compression based only on parameter count or nominal sparsity/bit-width. Quantization can deliver storage and energy savings cheaply for LLM QA workloads, but pruning may be necessary when reducing MACs matters (e.g., segmentation) — and pruning can carry hidden costs.
- Hidden costs and operational risk:
- Accuracy loss (pruning-induced forgetfulness) reduces model utility and may require re‑training or human oversight; these are real economic costs (retraining compute, downtime, quality loss).
- Artifact inflation (format misalignment) can force upgrades to more expensive devices or cloud fallbacks, negating compression savings.
- Failure modes that keep high strict accuracy while collapsing predictions (skew) can mislead monitoring and lead to bad business decisions; balanced metrics and skew reporting should be required in SLAs.
- Infrastructure investment trade-offs:
- Two-stage inference split implies different optimization targets: investment in compute acceleration (e.g., better CPU/GPU) reduces prefill cost; investment in memory bandwidth or quant-format support reduces decode cost. For LLMs, decode-phase bandwidth is often the bottleneck on edge devices.
- Device selection should consider supported quant kernels (INT8, INT4) and format block sizes (k-quant alignment) — choosing devices and runtimes that avoid alignment pathologies can yield material cost savings.
- Design and research priorities with economic impact:
- Favor hardware-aware compression pipelines (pruning+quantization+format-aware packing) to capture both storage and runtime gains.
- Require deployment benchmarks measured end-to-end on target hardware (latency, energy, artifact size, balanced accuracy, skew) as part of procurement evaluation.
- Invest in lightweight recovery/fine-tuning methods that target layer-local distortion (guided by neural-flow analyses) to reduce retraining costs.
- Operational recommendations:
- Report both strict and balanced accuracy plus prediction skew in deployment metrics and SLAs.
- Benchmark candidate compressed artifacts on the exact target device and runtime, including end-to-end serving logs to capture prefill/decode splits and token-generation differences.
- Prefer quantization for QA/LLM prompt-encoding workloads where supported; prefer pruning and distillation for segmentation when MAC reduction yields runtime wins — but test for alignment and artifact growth.
- Broader economic effect:
- Accurate, device-specific measurement reduces costly surprises (unexpected latency, energy, or cloud fallbacks). The paper’s open-sourced artifacts lower replication and evaluation cost, enabling more transparent, economically prudent edge deployment decisions.
Source: Das et al., "Large Models for Small Devices: Recent Advances and Empirical Analysis of Edge AI Deployment" (Ohio State University; arXiv preprint; code: github.com/Arnavvvkumar/deployment).
Assessment
Claims (13)
| Claim | Direction | Outcome | Confidence & Evidence | Details |
|---|---|---|---|---|
| For question answering, Qwen3.5 0.8B achieves 93.85 SQuAD F1 and 92 EM under Q5_K_M GGUF quantization. Output Quality | positive | SQuAD F1 score and exact-match accuracy |
Reading fidelity
high
Study strength
medium
|
93.85 SQuAD F1 and 92 EM
|
| At the same precision and a 1% pruning ratio, structured pruning reduces Qwen3.5 0.8B performance by 16 F1 points relative to the quantized configuration. Output Quality | negative | SQuAD F1 score |
Reading fidelity
high
Study strength
medium
|
16 F1
|
| For image segmentation, pruning reduces model size by nearly 80% while maintaining approximately constant mean intersection-over-union, whereas default quantization leaves parameter count and MACs unchanged. Output Quality | mixed | Model size, parameter count, MACs, and segmentation mIoU |
Reading fidelity
high
Study strength
medium
|
nearly 80% model-size reduction at near-constant mIoU
|
| Structural pruning can increase the size of the deployed artifact by 21–49% because it breaks k-quant super-block alignment. Organizational Efficiency | negative | Deployed model artifact size |
Reading fidelity
high
Study strength
medium
|
21–49% increase
|
| The combination of larger deployed artifacts and longer, less format-compliant outputs can increase Raspberry Pi latency by up to 3.4 times. Task Completion Time | negative | Inference latency on Raspberry Pi |
Reading fidelity
high
Study strength
medium
|
up to 3.4× latency
|
| A LoRA-recovered compressed variant can remain fully parseable and achieve 71% strict BoolQ accuracy while sending 97 of 100 predictions to a single class, resulting in 52.6% balanced accuracy. Decision Quality | mixed | Strict accuracy, balanced accuracy, output parseability, and prediction-class distribution |
Reading fidelity
high
Study strength
medium
|
n=100
71% strict accuracy; 52.6% balanced accuracy; 97 of 100 predictions to one class
|
| Structural pruning caused substantial task-quality and output-discipline losses at pruning rates as low as 1% of MLP channels across all three evaluated language-model families, and post-pruning LoRA fine-tuning recovered only part of the loss. Output Quality | negative | Task quality and output-format discipline after pruning and recovery |
Reading fidelity
high
Study strength
medium
|
n=3
1% MLP-channel pruning
|
| The neural-flow graph distortion measure rank-matches measured SQuAD F1 loss for both Qwen pruning trajectories within a model family. Decision Quality | positive | Agreement between predicted pruning damage and measured SQuAD F1 loss |
Reading fidelity
high
Study strength
low
|
not reported
|
| In the authors' layer-locality analysis, the gate projection accounts for 77% of pruning distortion in Qwen3.5, while Qwen2.5 concentrates 67% of distortion on the down projection. Output Quality | mixed | Share of pruning-induced neural-flow distortion by projection layer |
Reading fidelity
high
Study strength
low
|
n=2
77% in Qwen3.5 gate projection; 67% in Qwen2.5 down projection
|
| Across all 18 matched baseline-versus-pruned run pairs, the additional latency was concentrated in the generation phase rather than the prefill phase. Task Completion Time | negative | Generation-phase and prefill-phase inference latency |
Reading fidelity
high
Study strength
medium
|
n=18
18 matched run pairs
|
| Pruned models generated more tokens than baseline models, with the increase reaching up to 2.7 times for Gemma. Task Completion Time | negative | Number of generated tokens |
Reading fidelity
high
Study strength
medium
|
up to 2.7× more tokens
|
| Structural pruning increased per-token decode cost in all 18 matched baseline-versus-pruned pairs and slowed every internally controlled CPU comparison, despite shrinking the stored checkpoint. Task Completion Time | negative | Per-token decode latency and CPU inference speed |
Reading fidelity
high
Study strength
medium
|
n=18
all 18 matched pairs
|
| Post-training INT8 quantization reduced inference latency by 67% on Jetson Xavier NX and 55% on Jetson Orin Nano, while reducing model size by more than 70%. Task Completion Time | positive | Inference latency and model size |
Reading fidelity
high
Study strength
medium
|
n=6
67% lower latency on Jetson Xavier NX; 55% lower latency on Jetson Orin Nano; over 70% INT8 size reduction
|