atlas

Research map / Large language models / Instruction and fine-tuning

PaCE: Parsimonious Concept Engineering for Large Language Models

NeurIPS 2024 · Large language models › Instruction and fine-tuning · approach: Fine-tuning generalization and delta compression · 2 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes PaCE, a training-free activation engineering method that builds a 40k-concept activation dictionary (PaCE-1M), partitions concepts with GPT-4 per task, and removes undesirable components via sparse-coding oblique projection of LLM activations.

Problem

Activation engineering for LLM alignment (detoxification, faithfulness, sentiment) struggles to remove undesirable concepts without removing benign ones, because existing vector addition and orthogonal projection methods model the activation geometry poorly and remove only one direction.

Approach

Model many concept directions in an overcomplete dictionary, decompose activations with elastic-net sparse coding (oblique projection), and zero out only the coefficients of concepts a GPT-4 partitioner labels undesirable, keeping the residual.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use PaCE instead of the strongest reported baselineLLaMA-7B-Chat detoxification · SafeEdit effective set, IAsafety (%): 65.2 -> 75.3Helped
Use PaCE instead of the strongest reported baselineLLaMA2-13B-Chat detoxification · SafeEdit effective set, IAsafety (%): 64.3 -> 94.9Helped
Use PaCE instead of VanillaLLaMA-7B-Chat detoxification · SafeEdit effective set, MMLUaccuracy (%): 43.4 -> 37.1Hurt
Use PaCE instead of VanillaLLaMA2-13B-Chat detoxification · SafeEdit effective set, MMLUaccuracy (%): 54.9 -> 54.1Hurt
Use PaCE instead of the strongest reported baselineLLaMA2-7B-Chat · FactScore labeled subsetLAF: 49.7 -> 65.9Helped
Use PaCE instead of the strongest reported baselineLLaMA2-7B-Chat · HolisticBias, Gendernon-negative sentiment (%): 55.2 -> 66.2Helped
Use PaCE instead of the strongest reported baselineLLaMA2-13B-Chat · HolisticBias, Gendernon-negative sentiment (%): 57.7 -> 63.4Helped
Add decomposition on the top 10,000 concepts (ablation)PaCE detoxification · Detoxification ablationsafety (%): 50.2 -> 57.6Helped
Add concept clustering (ablation)PaCE detoxification with 10,000 concepts · Detoxification ablationsafety (%): 57.6 -> 62.3Helped
Add the GPT-4 concept partitioner (ablation)PaCE detoxification with clustering · Detoxification ablationsafety (%): 62.3 -> 65.1Helped
Remove the top 50 undesirable concepts (ablation)PaCE detoxification with concept partitioning · Detoxification ablationsafety (%): 65.1 -> 76.5Helped

Surprising findings

Limitations

Experimental setup

Datasets: Brown Corpus Wikipedia (FAISS-indexed 2018 snapshot) SafeEdit FactScore HolisticBias MMLU AdvBench

Benchmarks: SafeEdit MMLU AdvBench FactScore HolisticBias

Metrics: safety score (%) fluency perplexity MMLU accuracy (%) factuality (labeled/unlabeled score) sentiment score (%) computation time

Baselines: Prompting VecAdd OrthoProj PE SFT RLHF

Builds on: representation engineering vector addition (activation addition) orthogonal projection (debiasing) elastic net representation reading

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy