As language models become smaller and cheaper to run, quantization can damage their accuracy. This team project tests whether small LoRA adapters can recover not only general reasoning, but also the structured tool-calling behavior that agents depend on.
Quantization compresses model weights so a language model uses less memory and costs less to serve. The tradeoff is that compression can change how reliably the model reasons or produces structured outputs. Our team studies whether a lightweight recovery step can repair those capabilities.
The central question is whether recovery generalizes from ordinary knowledge and reasoning benchmarks to tool calling: selecting the correct function, filling its arguments, and abstaining when no available function applies.
Does recovery preserve general knowledge, reasoning, instruction following, and structured outputs after aggressive quantization?
MMLU HellaSwag IFEvalDoes the model still select the right tool and produce valid arguments under a function-calling evaluation?
BFCL Tool selection Argument validityWe compare five Qwen3-4B-Instruct-2507 configurations: full precision, damaged quantized weights, a reproduction of the published recovery recipe, a tool-calling-focused recovery variant, and a labelled fine-tuning control. The evaluation also classifies failure types instead of hiding them inside one aggregate score.
On Qwen3-4B-Instruct-2507, 2-bit quantization reduced BFCL live-simple tool-calling from 79.46% to 0%. General-text LoRA distillation recovered 13.57%; tool-calling data improved that to 22.48%. On MMLU, the same recovery setup restored accuracy from 48.48% to 62.43% versus 70.55% for the full-precision model.
I am contributing as a team member on this project with Hassaan Muzammil and Parth Panchal. The repository contains the benchmarks, recovery experiments, evaluation scripts, documentation, and progress reports.