scimeatlas

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

SPIN: Sparsifying and Integrating Internal Neurons in Large Language Models for Text Classification

Difan Jiao, Yilun Liu, Zhenwei Tang, Daniel Matter, Jürgen Pfeffer, Ashton Anderson

ACL 2024Large language models › Language, safety and interpretabilityapproach: Linguistic encoding in LLM representationsopen problems in this approach19 citations (OpenAlex)

University of Toronto · Technical University of Munich

Read the paperPlace an idea next to itCheck your own paper ↗

11measured effects
7improved
2no clear effect
2hurt

AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
add sparsified, integrated internal neurons (SPIN) over final hidden state headFlan-T5-S · EDOSmacro F1: 59.62 -> 74.51 (+24.97%)Improved
add SPIN over final hidden state headFlan-T5-XL · IMDbaccuracy: 90.50 -> 96.12Improved
add SPIN on top of fully fine-tuned modelsDistilBERT/RoBERTa/GPT2 · IMDbaccuracy: 92.80 -> 92.88 (DistilBERT); 94.67 -> 95.68 (RoBERTa)Improved
add SPIN on top of fully fine-tuned DistilBERT (small gain)DistilBERT (full SFT) · IMDbaccuracy: 92.80 -> 92.88 (+0.09%)Improved
replace linear-probing neuron selection with random selection (w/o SP) (ablation)SPIN · IMDb (GPT2-XL)accuracy: 94.63 -> 90.98 (100 neurons); 94.42 -> 82.75 (10 neurons)Hurt
remove cross-layer integration (w/o IN) (ablation)SPIN · IMDb (GPT2-XL)accuracy: 94.92 -> 92.41 (48 layers)Hurt
early exit using only 60% of layers (ablation)SPIN · IMDbaccuracy: Flan-T5-XL 96.12 at 60% and 100%; GPT2-XL 91.10 -> 91.94 (60% -> 100%)No clear effect
increase sparsification threshold eta beyond 0.2 (ablation)SPIN · IMDbaccuracyNo clear effect
add SPIN to LoRA-finetuned DistilBERTDistilBERT w/ LoRA SFT · IMDbaccuracy: 87.71 -> 90.58Improved
add SPIN to LLaMA2-7B/13BLLaMA2 · IMDbaccuracy: 94.04 -> 95.76 (7B); 94.55 -> 96.06 (13B)Improved
add SPIN with multinomial regressorsDistilBERT/GPT2/Flan-T5-S · AG Newsaccuracy: 85.68 -> 91.89 (Flan-T5-S)Improved

Open problems in linguistic encoding in LLM representations

Do the linguistic signals found in LLM representations play a causal role, and do they hold across languages and model scales?

All 5 open problems and what was already tried →

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