atlas

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

The Truth is in There: Improving Reasoning in Language Models with Layer-Selective Rank Reduction

ICLR 2024 · Large language models › Language, safety and interpretability · approach: Pruning and circuits in LLMs · 7 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.

Shows that selectively replacing MLP weight matrices in specific later layers of trained LLMs with low-rank SVD approximations (LASER) improves factual QA and reasoning accuracy without any extra training or data.

Problem

Whether removing higher-order singular components of trained Transformer weight matrices can improve, rather than degrade, LLM performance on reasoning and factual question-answering tasks.

Approach

LASER applies a targeted, layer- and matrix-type-selective low-rank approximation (keeping only top singular components, often as few as 1% of rank) to a single MLP matrix after training, which can improve accuracy with no added parameters or data; higher-order components appear to encode conflicting or generic answers that average into incorrect outputs.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Apply single-layer LASER rank reductionGPT-J · CounterFacttop-1 accuracy: 13.3% to 24.1%Helped
Compose LASER reductions across different MLP layersGPT-J · CounterFacttop-10 accuracy: 29.2%, a 5.2% absolute improvementHelped
Apply LASER to already-correct questionsGPT-J · CounterFact paraphrasesparaphrase robustness: roughly 24.8 percentage pointsHelped
Rank-reduce MLP input matricesGPT-J · PILEperplexity: 4.8 to 5.0Hurt
Rank-reduce MLP output matricesGPT-J · PILEperplexity: 4.8 to 4.9Hurt
Rank-reduce later-layer MLP matricesGPT-J · CounterFactclassification lossHelped
Rank-reduce attention matricesGPT-J · CounterFactclassification lossNo clear effect
Rank-reduce early layersTransformer models · language understanding tasksaccuracyHurt
Remove the layer completely instead of applying low-rank approximation (ablation)LASER · language understanding tasksperformanceHurt
Increase rank-reduction severity beyond the best level (ablation)LASER · GPT-J CounterFacttop-10 accuracy: 99.95% reductionHurt
Use layer-selective absolute weight pruning instead of SVD rank reduction (ablation)GPT-J · CounterFactaccuracyHelped
Apply LASER rank reductionDecision Transformer · 10×10 Sokobanaccuracy: 50.67 to 53Helped

Surprising findings

Limitations

Experimental setup

Datasets: CounterFact PILE HotPotQA FEVER Bias in Bios TruthfulQA BigBench-Epistemic Reasoning BigBench-WikidataQA Sokoban (Gym Sokoban)

Benchmarks: CounterFact HotPotQA FEVER Bios Gender Bios Profession TruthfulQA BigBench-Epistemic Reasoning BigBench-WikidataQA Sokoban

Metrics: accuracy (generation and classification) log loss top-k accuracy paraphrase robustness perplexity return

Baselines: unmodified base model absolute weight pruning

Builds on: Eckart-Young-Mirsky theorem absolute weight pruning

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