paper-with-me

Papers

Beyond Perplexity: Multi-dimensional Safety Evaluation of LLM Compression

2024-07-06 · Zhichao Xu, Ashim Gupta, Tao Li, Oliver Bentham, Vivek Srikumar

Increasingly, model compression techniques enable large language models (LLMs) to be deployed in real-world applications. As a result of this momentum towards local deployment, compressed LLMs will interact with a large population. Prior work on compression typically prioritize preserving perplexity, which is directly analogous to training loss. The impact of compression method on other critical aspects of model behavior\, -- \,particularly safety\, -- \,requires systematic assessment. To this end, we investigate the impact of model compression along four dimensions: (1) degeneration harm, i.e., bias and toxicity in generation; (2) representational harm, i.e., biases in discriminative tasks; (3) dialect bias; and(4) language modeling and downstream task performance. We examine a wide spectrum of LLM compression techniques, including unstructured pruning, semi-structured pruning, and quantization. Our analysis reveals that compression can lead to unexpected consequences. Although compression may unintentionally alleviate LLMs' degeneration harm, it can still exacerbate representational harm. Furthermore, increasing compression produces a divergent impact on different protected groups. Finally, different compression methods have drastically different safety impacts: for example, quantization mostly preserves bias while pruning degrades quickly. Our findings underscore the importance of integrating safety assessments into the development of compressed LLMs to ensure their reliability across real-world applications.\footnote{Our implementation and results are available here: \url{https://github.com/zhichaoxu-shufe/Beyond-Perplexity-Compression-Safety-Eval}}

📄 PDF Abstract BibTeX arXiv:2407.04965

Code (1)

zhichaoxu-shufe/beyond-perplexity-compression-safety-eval 공식 구현 pytorch

Tasks

Language ModelingLanguage ModellingModel CompressionQuantization

Methods 이 논문이 사용한 방법론

Pruning 설명 없음

Similar Papers 제목 키워드 기반

Alignment Collapse Under KV Cache Quantization: Diagnosis and Mitigation

2026-06-01 · Bruce Changlong Xu, Adarsh Kumarappan, Mu Zhou arxiv

Key-value (KV) cache quantization is widely used to reduce Large Language Model (LLM) inference memory, yet existing evaluations solely focus on measuring perplexity and accuracy without assessing the safety impact. In t…

Beyond Perplexity: UTF-8 Validity in Byte-aware Language Models

2026-06-12 · Sangwhan Moon, Daisuke Oba, Youmi Ma, Tatsuya Hiraoka 외 arxiv

Byte-level tokenization enables language models to handle any Unicode input, but models can generate invalid UTF-8 sequences when encountering rare or unseen characters. We investigate the relationship between training s…

Automatic Selection of t-SNE Perplexity

2017-08-10 · Yanshuai Cao, Luyu Wang

t-Distributed Stochastic Neighbor Embedding (t-SNE) is one of the most widely used dimensionality reduction methods for data visualization, but it has a perplexity hyperparameter that requires manual selection. In practi…

Data VisualizationDimensionality ReductionModel Selection

LatentBreak: Jailbreaking Large Language Models through Latent Space Feedback

2025-10-07 · Raffaele Mura, Giorgio Piras, Kamilė Lukošiūtė, Maura Pintor 외 arxiv

Jailbreaks are adversarial attacks designed to bypass the built-in safety mechanisms of large language models. Automated jailbreaks typically optimize an adversarial suffix or adapt long prompt templates by forcing the m…

Efficient Refusal Ablation in LLM through Optimal Transport

2026-03-04 · Geraldin Nanfack, Eugene Belilovsky, Elvis Dohmatob arxiv

Safety-aligned language models refuse harmful requests through learned refusal behaviors encoded in their internal representations. Recent activation-based jailbreaking methods circumvent these safety mechanisms by apply…