Highlights

In brief

A new post-training quantization method compresses vision transformer models by optimising them as a whole while assigning more bits to quantisation-sensitive layers, minimising output errors.

Photo by dannyoliva | Unsplash

Big AI, small devices

27 Nov 2026

A new compression method shrinks image-processing models enough to run on small devices while keeping their outputs accurate.

When you upload an image for an artificial intelligence chatbot to examine, that image is sent to a data centre’s servers. There, image-processing models called vision transformers (ViTs) can analyse it and help generate a response for you within moments. But if you try running a ViT directly on your smartphone for the same task, it’s likely to consume a large amount of time, storage space, battery life, or a combination thereof.

To change that, ViTs must be compressed to a form that small chips can handle. One way to do this is through quantization: a process which reduces the amount of data, or bits, used to represent the numbers in a model, reducing both its size and the energy it needs to process images.

“It’s like writing down a shopping list with prices rounded to the nearest dollar, rather than to the cent,” said Zhe Wang, a Senior Research Engineer at the A*STAR Institute of Advanced Intelligence and Computing (A*STAR IAIC), formerly the A*STAR Institute of Infocomm Research (A*STAR I2R). “The total still comes out close to right, but the list is much simpler to add together.”

However, quantization can also significantly reduce a model’s accuracy. With this in mind, Wang and A*STAR IAIC colleagues, including Senior Research Engineer Kaixin Xu and Principal Scientist Min Wu, are working with research partners at Nanyang Technological University, Singapore, to develop a new post-training quantization method that mitigates accuracy loss in ViT neural networks.

Xu explained that existing methods generally quantize layers in a ViT one by one. However, this means even a small error introduced in an early layer can grow across successive layers, resulting in a suboptimal final model. In addition, each layer’s best settings depend on how earlier layers were compressed.

“Our method compresses the whole network in a single optimisation,” said Xu. “The quantity we minimise is the error at the very end of the network, which is the only error that actually affects the prediction.”

Moreover, instead of restricting all layers to the same number of bits, the team developed an efficient algorithm that identifies which layers are more sensitive to quantization and allocates more bits to those, further minimising errors.

When tested against 64 image samples from a training database, the team’s quantized ViT models showed smaller accuracy drops than those produced by other approaches. When quantized from 32-bit to 6-bit, the team’s models showed almost no accuracy loss; when further quantized to 4-bit, the team’s models had modest losses, while others dropped to near-zero accuracy.

Their tests also showed that quantizing ViTs decreases their size as much as eightfold, making them practicable for small devices beyond smartphones. “It can enable a drone to inspect power lines, a car to recognise road scenes, an ultrasound machine to become portable, or a factory camera to check parts on a line,” said Wu.

The researchers say their study can be extended to optimise not just model size, but also latency, energy use and arithmetic operations. “We plan to extend this study to hardware-software co-optimisation, and to implement the technology on real edge platforms,” Wang added.

The A*STAR-affiliated researchers contributing to this research are from the A*STAR Institute of Advanced Intelligence and Computing (A*STAR IAIC).

Want to stay up to date with breakthroughs from A*STAR? Follow us on Twitter and LinkedIn!

References

Wang, Z., Xu, K., Geng, X., Lin, J., Sabry Aly, M.M., et al. LB-PTQ: Effective low-bit post-training quantization for vision transformers. IEEE Transactions on Image Processing 35, 4613–4628 (2026). | article

About the Researchers

Kaixin Xu is a Senior Research Engineer at the A*STAR Institute of Advanced Intelligence and Computing (A*STAR IAIC), and a part-time PhD candidate at Nanyang Technological University, Singapore. He holds a master’s degree from the National University of Singapore and a bachelor’s degree from Sun Yat-sen University (SYSU), China. His research focuses on neural network compression, including pruning and quantisation, efficient deep learning and computer vision. He has published more than 10 papers in leading conferences and journals, including TPAMI, TIP, ICCV, ECCV, CVPR and TNNLS, and has served as a reviewer for these venues. He was recognised as a Top Reviewer at NeurIPS and has received an ASTAR scholarship and awards in academic Olympiads.
Zhe Wang is a Senior Research Engineer at the A*STAR Institute of Advanced Intelligence and Computing (A*STAR IAIC), Singapore. He holds a bachelor’s degree in engineering from Beijing Jiaotong University and a master’s degree in computer applied technology from Peking University, awarded in 2012 and 2015, respectively. In 2018, he was a visiting scholar at Stanford University, USA. His research focuses on large-scale image and video search, neural network compression and deep learning hardware. He has published more than 20 research papers in computer vision and deep learning and has filed five patents. His work on fast indexing and global descriptor aggregation has been adopted by the MPEG Compact Descriptors for Visual Search (MPEG-CDVS) standard.
Min Wu is a Chapter Head at the A*STAR Institute of Advanced Intelligence and Computing (A*STAR IAIC) and Deputy Head of Tech Development at the AI Centre of Excellence for Manufacturing (AIMfg). He is a Senior Member of IEEE. He holds a PhD degree in computer science from Nanyang Technological University and a bachelor’s degree in engineering in computer science from the University of Science and Technology of China. He has received best paper awards from the EMBS Society (2023), IEEE ICIEA (2022), IEEE SmartCity (2022), InCoB (2016) and DASFAA (2015). He also won the CVPR UG2+ Challenge in 2021 and the IJCAI competition on repeat buyer prediction in 2015. He has served as an Associate Editor for Neural Networks, IEEE Transactions on Cognitive and Developmental Systems, and IEEE Transactions on Neural Networks and Learning Systems, and as an Area Chair for leading conferences including ICLR, NeurIPS, KDD and AAAI. His research focuses on AI for time series, graph, biological and healthcare data.
Xue Geng is a Senior Scientist at the A*STAR Institute of Advanced Intelligence and Computing (A*STAR IAIC). She holds a bachelor’s degree in engineering in computer science from NEU, China, awarded in 2012, and a PhD degree in computer science from the National University of Singapore, awarded in 2017. Her research focuses on model compression and efficient machine learning.

This article was made for A*STAR Research by Wildtype Media Group