Barcodes fail more often than people think. Labels tear, fresh produce has none, shrink wrap glares, and a damaged code at a self-checkout means a queue and a staff call. In a warehouse, a missing label means a person squinting at a box.
A camera that recognises the product itself avoids all that. The problem is cost: an accurate vision model running on every scan, at every till or packing station, is expensive in hardware and energy. Our new study asks how much of that cost you can cut without losing accuracy.
This is the plain-language companion to ARC-D: Efficient Adaptive Cascade Inference for Automated Product Identification Without Barcodes, published in the Journal of Computational and Cognitive Engineering (December 2026). A second article covers what happened when we measured the savings on real hardware.
Key takeaways:
- A small model handles every photo and passes only the unsure ones to a large model.
- On 81 fine-grained grocery classes, the cascade was statistically equivalent to the large model (within 1 percentage point) while using 41 to 58% less computation.
- On 25 packaged-goods classes it used 64 to 75% less computation, with accuracy 0.6 points lower on clean photos and up to 1.4 points lower on degraded ones.
- Only 9 to 46% of clean photos needed the large model.
- An earlier two-model design that ran both models was more expensive and less accurate than the large model alone.
Why do near-perfect product recognition scores mislead?
Because they are measured on clean, curated photos. An earlier conference pipeline by co-author Natalie Ng Yin Xin and colleagues reported 99.95% accuracy on a curated dataset. That number says little about a phone photo of an apple under shop lighting, or a parcel image compressed by a scanner.
So this study used two public benchmarks built from real shop photos, and tested every model on four conditions: clean images, JPEG recompression, blur and partial occlusion (part of the product hidden).
- Grocery Store Dataset: 81 fine-grained classes of fruit, vegetables and dairy, with 2,485 test images. Telling one apple variety from another is hard.
- Freiburg Groceries: 25 classes of packaged goods, with 1,018 test images.
Every result was repeated with three random seeds.
How does the two-stage cascade work?
ARC-D uses two models of very different sizes:
| Stage 1 | Stage 2 | |
|---|---|---|
| Model | EfficientNet-B0 | ConvNeXt-Tiny |
| Parameters | about 4.1 million | about 27.9 million |
| Computation per image | 0.42 GMACs | 4.47 GMACs |
| When it runs | every image | only when stage 1 is unsure |
The small model is trained to imitate the large one (knowledge distillation), which raised its accuracy by 3 to 13 points depending on the dataset and condition. If its top prediction has a confidence below a threshold, the image goes to the large model.
The threshold is picked once, on validation data only: the cheapest setting whose validation accuracy is within 1 point of always using the large model. We tried cleverer routing rules (margin between the top two guesses, entropy, logit energy, a fixed compute budget). None beat the simple confidence rule, and forcing a fixed budget cost about 4 points of accuracy.
How accurate is it?
Very close to the large model, at a fraction of the computation. Accuracy (%) and computation (GMACs per image) on clean photos:
| Model | Grocery Store (81 classes) | Freiburg (25 classes) |
|---|---|---|
| Small model alone | 80.1 (0.42) | 86.4 (0.42) |
| Small model, distilled | 86.7 (0.42) | 89.9 (0.42) |
| Large model alone | 92.3 (4.47) | 93.9 (4.47) |
| ARC-D cascade | 92.0 (1.88) | 93.3 (1.11) |
On the 81-class dataset, a formal equivalence test confirmed ARC-D was within 1 point of the large model on all four image conditions. On the 25-class dataset the gap was 0.6 points on clean photos, but the smaller test set meant equivalence could not be formally established, and under blur and JPEG the gap grew to 1.3 to 1.4 points.
What happens when photos are blurry or damaged?
The cascade adapts. When images get worse, the small model is unsure more often, so more of them go to the large model. On the 81-class dataset, 22 to 46% of clean photos were routed to the large model, rising to about 50% under blur. On packaged goods, 9 to 19% of clean photos were routed, rising to about 25% on degraded ones.
That is the behaviour you want at a till: cheap on easy scans, careful on hard ones. It also means your compute cost rises when your cameras or lighting get worse, so budget for the bad days, not the average. The paper explicitly advises against forcing a hard compute cap under changing conditions, because that is exactly when accuracy drops.
Why didn’t the earlier two-model design hold up?
That earlier conference design ran two classifiers and combined their confidence. On these realistic benchmarks it cost 4.89 GMACs per image, more than the large model alone, and was less accurate on the 81-class dataset (91.4% vs 92.3%). Running more models is not the same as running them wisely. Routing only the hard cases is what gives the saving.
Where this fits in ecommerce and retail
The study tested image classification for grocery products. The same pattern applies anywhere a store needs to identify items from a camera:
- Self-checkout and loose produce: no barcode on a lemon.
- Warehouse picking and packing: confirm the right item went into the parcel.
- Returns intake: identify the returned product when the label is gone.
- Shelf and stock checks: count what is on the shelf from a photo.
The paper only evaluated the classification step, not product detection in crowded shelf images, which is planned future work. Before you deploy, check accuracy on your own products and your own cameras.
What to take from this
- Don’t run your biggest model on every image. A small, distilled model can handle most of the easy cases.
- Route on confidence, and choose the threshold on held-out data. Re-choose it every time you retrain, because the small model’s confidence changes.
- Test on degraded images, not just clean ones, and plan for more large-model use on bad days.
- Measure savings on your real hardware. The operation count promised 48% here; real GPUs delivered 24 to 28%. That gap is the subject of the companion article.
If you are planning camera-based product recognition, or want to cut the running cost of AI you already use, book a free call. The same “small model first” idea drives my free right-size-model tool for LLMs.
About the paper
ARC-D: Efficient Adaptive Cascade Inference for Automated Product Identification Without Barcodes. Muhammad Ahmad Zia (University of Lahore), Natalie Ng Yin Xin (Sunway University), Yosef Hasan Jbara (Buraydah Private Colleges), Bassam Elzaghmouri (Al-Ahliyya Amman University), Lamia Hassan Rahamatalla and Marwan Abu-Zanona (King Faisal University) and Danish Mahmood Khan (Sunway University). Journal of Computational and Cognitive Engineering, Bon View Publishing, published 1 December 2026. DOI: 10.47852/bonviewJCCE620211449. Code, checkpoints and hardware harness: Zenodo.