potentialpaper

SafeQ: Safety Alignment Preserving Post-Training Quantization for Language Models

Keep the title, authors and abstract in paper.json

potentialpaper · 2026-11-23 19:52 UTC · 7904c37f2bf1 ·

.potentialpaper/metadata.json modified

+++ b/.potentialpaper/metadata.json
@@ -1,19 +1,5 @@
{
- "layout": 5,
- "identifiers": [
- {
- "scheme": "openreview",
- "value": "70RbLmZVvW"
- }
- ],
- "title": "SafeQ: Safety Alignment Preserving Post-Training Quantization for Language Models",
- "authors": [],
- "abstract": "With the growing adoption of Language Models (LMs), Post-Training Quantization\n(PTQ) has become a popular standard for efficient LM deployment, especially\nto resource-constrained environments like personal and edge devices. Most PTQ\nmethods only consider to preserve natural language understanding (understanding)\ncapabilities, without taking safety capabilities into consideration, that enables\nLMs to refuse harmful, unethical, privacy-breaching, or illegal user queries. This\ninadvertently causes complete or partial safety alignment degradation in quantized\nLMs. To address this, we propose SafeQ, a learnable PTQ method that preserves\nsafety alignment by taking both understanding and safety capabilities of LMs into\nconsideration. Precisely, SafeQ learns quantization parameters by minimizing\na block-wise weighted-sum loss over understanding and safety capabilities for\nboth weight-only quantization and weight-activation quantization. We performed\nextensive evaluations for assessing understanding capabilities, and safety and\ngeneral utility capabilities using different pre-trained and instruction-tuned LMs\nrespectively. Our evaluations demonstrate best or near-best performance by SafeQ\nin pre-trained LMs for W4A16 (i.e., 4-bit weight and 16-bit activation), and\nW4A4 quantization modes, and in instruction-tuned LMs for W4A16 quantization\nmode. In few instances, SafeQ improved safety capabilities of quantized LMs\nslightly beyond full-precision LMs. Our results evidently show that SafeQ resolved\ntrade-off between safety and general utility capabilities to a great extent in\ninstruction-tuned LMs.",
- "year": 2027,
- "venue": "ICLR 2027 (under review)",
- "source": "openreview",
- "license": {
- "metadata": "CC0-1.0",
- "abstract": "CC0-1.0"
- }
+ "layout": 6,
+ "kind": "paper",
+ "key": "08a32e7b-5d0d-4267-9769-ad08465c3903"
}

paper.json added

+++ b/paper.json
@@ -0,0 +1,9 @@
+{
+ "title": "SafeQ: Safety Alignment Preserving Post-Training Quantization for Language Models",
+ "authors": [],
+ "abstract": "With the growing adoption of Language Models (LMs), Post-Training Quantization\n(PTQ) has become a popular standard for efficient LM deployment, especially\nto resource-constrained environments like personal and edge devices. Most PTQ\nmethods only consider to preserve natural language understanding (understanding)\ncapabilities, without taking safety capabilities into consideration, that enables\nLMs to refuse harmful, unethical, privacy-breaching, or illegal user queries. This\ninadvertently causes complete or partial safety alignment degradation in quantized\nLMs. To address this, we propose SafeQ, a learnable PTQ method that preserves\nsafety alignment by taking both understanding and safety capabilities of LMs into\nconsideration. Precisely, SafeQ learns quantization parameters by minimizing\na block-wise weighted-sum loss over understanding and safety capabilities for\nboth weight-only quantization and weight-activation quantization. We performed\nextensive evaluations for assessing understanding capabilities, and safety and\ngeneral utility capabilities using different pre-trained and instruction-tuned LMs\nrespectively. Our evaluations demonstrate best or near-best performance by SafeQ\nin pre-trained LMs for W4A16 (i.e., 4-bit weight and 16-bit activation), and\nW4A4 quantization modes, and in instruction-tuned LMs for W4A16 quantization\nmode. In few instances, SafeQ improved safety capabilities of quantized LMs\nslightly beyond full-precision LMs. Our results evidently show that SafeQ resolved\ntrade-off between safety and general utility capabilities to a great extent in\ninstruction-tuned LMs.",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}