atlas

Research map / Large language models / Language, safety and interpretability

Separate the Wheat from the Chaff: Model Deficiency Unlearning via Parameter-Efficient Module Operation

AAAI 2024 · Large language models › Language, safety and interpretability · approach: LLM pruning and scaling data · 10 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 Extraction-before-Subtraction (Ext-Sub), which extracts the deficiency component of an anti-expert LoRA via vector geometry before subtracting it from an expert LoRA, to unlearn untruthfulness and toxicity in LLaMA-7B.

Problem

Direct subtraction of anti-expert parameter-efficient modules (PEMs) to unlearn untruthfulness and toxicity in LLMs causes harmful forgetting, text degeneration and loss of general capabilities.

Approach

Decompose each row of the anti-expert LoRA update into a general component (projection onto the direction of the sum of unit expert and anti-expert row vectors) and a residual deficiency component, then subtract only the deficiency component from the expert LoRA.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use extraction-before-subtraction instead of direct subtractionAlpaca-GPT4 expert PEM with Alpaca-GPT4 anti-expert PEM · TruthfulQAmc1: 33.5 -> 36.0Helped
Use extraction-before-subtraction instead of direct subtractionAlpaca-GPT4 expert PEM with Alpaca-GPT4 anti-expert PEM · TruthfulQAmc2: 52.7 -> 55.2Helped
Use extraction-before-subtraction instead of direct subtractionAlpaca-GPT4 expert PEM with Alpaca-GPT4 anti-expert PEM · HaluEval QAaccuracy: 70.6 -> 72.2Helped
Use extraction-before-subtraction instead of direct subtractionAlpaca-GPT4 expert PEM with Alpaca-GPT4 anti-expert PEM · HaluEval Summaryaccuracy: 49.6 -> 49.3Hurt
Use extraction-before-subtraction instead of direct subtractionWizardLM expert PEM with WizardLM anti-expert PEM · Toxicitytoxicity score: .201 -> .169Helped
Vary subtraction weight from λ = 1.0 to λ = 2.0 (ablation)Ext-Sub on Alpaca-GPT4 · TruthfulQAmc1: 35.0 -> 36.0Helped
Vary subtraction weight from λ = 1.0 to λ = 2.0 (ablation)Ext-Sub on Alpaca-GPT4 · HaluEval QAaccuracy: 70.3 -> 72.2Helped
Vary subtraction weight from λ = 1.0 to λ = 2.0 (ablation)Ext-Sub on Alpaca-GPT4 · Toxicitytoxicity score: .126 -> .108Helped
Vary subtraction weight from λ = 1.0 to λ = 1.4 (ablation)Ext-Sub on WizardLM · Toxicitytoxicity score: .195 -> .169Helped
Use extraction-before-subtraction instead of direct subtractionAlpaca-GPT4 expert PEM with Alpaca-GPT4 anti-expert PEM · GSM (Direct)accuracy: 7.0 -> 8.0Helped

Surprising findings

Limitations

Experimental setup

Datasets: Alpaca-GPT4 WizardLM-70k TruthfulQA HaluEval Civil Comments AlpacaEval MMLU GSM8K BBH

Benchmarks: TruthfulQA HaluEval Toxicity test set (200 instructions) MMLU GSM BBH AlpacaEval next-token accuracy on AlpacaEval test data

Metrics: mc1 mc2 bleu acc rouge1 acc true % true&info % QA accuracy Summary accuracy Detoxify toxicity score toxic response ratio %

Baselines: direct subtraction (theta+ minus lambda theta-) expert PEM anti-expert PEM

Builds on: LoRA direct PEM subtraction (negative/anti-expert modules)

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