arXiv Machine Learning By Saima Afrin, Md. Zahidul Haque, Antonio Mastropaolo

Quantize with Confidence? An Empirical Study of Quantization for Code Generation

Read the original on arXiv Machine Learning →

arXiv:2607. 14181v1 Announce Type: cross Abstract: The growing adoption of local inference frameworks such as Ollama has made it increasingly common for developers to run large code models on laptops and other resource-constrained hardware.

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at arXiv Machine Learning.

arXiv Computation and Language
Nov 4

Beyond Accuracy: How Quantization Affects Coding Agents

The paper investigates how quantization affects coding agents that generate and revise programs. It compares BF16, 4‑bit AWQ, and GPTQ quantization methods on Qwen2.5‑Coder‑Instruct and Devstral‑Small‑2507 models across various sizes and seeds, finding no significant loss in final accuracy. However, quantization changes behavior: it alters one‑shot versus loop‑based solve rates, tool‑use patterns, and failure modes such as compilation errors and runtime issues.

By Areej Mehboob, Muhammad Ali Shafique, Muhammad Usman Qadeer, Hamza Farooq
arXiv AI
1d ago

Jagged Robustness: Uneven Safety Transfer and Emerging Vulnerabilities under LLM Quantization

The paper investigates how quantizing large language models (LLMs) affects their safety and capability. It finds that while some abilities like truthfulness stay stable, safeguards and bias degrade, a phenomenon termed Jagged Robustness. The study attributes this uneven transfer to factors such as task complexity, evaluation method, and generation coherence, and demonstrates that quantized models are more vulnerable to unsafe requests and adversarial suffix attacks.

By Ramneek Agnihotri, Yingte Xu, Hans Vath
arXiv AI
Jun 16

DualGauge: Automated Joint Security-Functionality Benchmarking of Specification-Only Code Generation by LLMs and Coding Agents

arXiv:2511. 20709v2 Announce Type: replace-cross Abstract: Large language models (LLMs) and LLM-based coding agents are now used to generate code from natural-language specifications, yet ensuring such code is both functionally correct and secure remains a challenge.

By Rupam Patir, Keyan Guo, Suvadra Barua, Abhijeet Pathak, Dinesh Gudimetla, Jiawei Guo, Hongxin Hu, Haipeng Cai