MS Final Oral Exam: Sadegh Jafari

MS Final Oral Exam: Sadegh Jafari

Aug 25, 2026 - 3:45 PM
to , -

Join on Zoom: https://iastate.zoom.us/j/98138345701

Profiling-Guided Automation of Vision Model Compression through Multi-Agent Reasoning

Modern deep neural networks achieve strong performance across many domains, but their scale makes them costly and slow, especially on resource-constrained edge devices. Pruning and quantization address this, but they rely on manual, expertise-driven choices, and their algorithms are often complex and hard to apply across different architectures. Uniform settings also ignore how differently individual modules respond to compression, which causes large accuracy loss. 

We introduce APQF, an agentic profiling-guided framework that combines structured pruning, mixed-precision quantization-aware training, and accuracy recovery in one automated pipeline. A profiling agent measures how cost is distributed across the model and how sensitive each part is to pruning. This evidence then drives a pruning agent that sets per-layer pruning ratios and a quantization agent that assigns per-layer bit-widths, while a fine-tuning agent recovers accuracy according to how much was lost and a separate evaluation agent measures every model under the same protocol. APQF is the first framework to combine LLM-guided, profiling-grounded decisions with a fully training-aware pipeline of structured pruning and mixed-precision quantization-aware training with recovery, across both convolutional networks and vision transformers. 

We evaluate APQF on ResNet, VGG7, ViT, DeiT, and Swin using ImageNet-1k and CIFAR-10. On ImageNet, it reduces compute to between 5.6 and 7.7 percent of the original bit-operations, a 13 to 18 times reduction, while keeping accuracy close to the baseline, and under a 200K-image training budget it stays roughly 17 points higher in Top-1 accuracy than existing joint pruning and quantization methods. On CIFAR-10 it compresses further than the competing joint method on four of five architectures, and DeiT-Tiny, ResNet-50, and Swin-Tiny end up more accurate than their uncompressed originals. On VGG7, it reaches 93.15 percent accuracy using only 0.41 percent of the baseline bit-operations, the only method at that level of compression to improve on its full-precision baseline. An ablation shows that uniform compression loses the most accuracy at matched compute, while withholding the measured profiling data from the LLM planner reduces accuracy on every model tested. On Swin-Tiny, six LLM planners, including free open-weight ones, all reach 97.4 to 97.9 percent accuracy, so the framework does not depend on a premium model.

Committee: Ali Jannesari (co-major professor), Brian Gelder (co-major professor) and Chris Quinn