atlas

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

Tag-LLM: Repurposing General-Purpose LLMs for Specialized Domains

ICML 2024 · Large language models › Language, safety and interpretability · approach: LLM unlearning and benchmarks · 13 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.

Tag-LLM appends learned continuous domain and function tags to a frozen-weight LLM's embedding layer, trained in a three-stage protocol, to repurpose LLaMA-7B for protein, chemistry, and drug-discovery tasks and multilingual translation.

Problem

General-purpose LLMs perform poorly in specialized domains underrepresented in pretraining, such as protein sequences, SMILES molecules, and drug-target interactions, while full fine-tuning is costly and catastrophic forgetting harms reasoning ability.

Approach

Learn reusable input tags as continuous embeddings: domain tags (trained by next-token prediction on unlabeled in-domain data) delimit specialized inputs, and function tags (trained on labeled data, with optional task-specific regression heads) encode tasks, so tags can be composed for zero-shot generalization.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use Tag-LLM instead of the strongest reported baselineLLaMA-7B · DescriptorMSE: 0.012 -> 0.005Helped
use Tag-LLM instead of the strongest reported baselineLLaMA-7B · QEDMSE: 0.016 -> 0.008Helped
use Tag-LLM instead of the strongest reported baselineLLaMA-7B · Drug CombinationMAE: 16.85 -> 12.21Helped
use Tag-LLM instead of the strongest reported baselineLLaMA-7B · Binding AffinityPearson r: 0.588 -> 0.527Hurt
add domain tags (ablation)Tag-LLM · Drug CombinationMAE: 12.39 -> 12.21Helped
add function tags (ablation)Tag-LLM · Drug CombinationMAE: 21.14 -> 12.21Helped
add a regression head instead of generating digits with the language modeling head (ablation)Tag-LLM · Drug CombinationMAE: 23.42 -> 12.21Helped
enrich the domain tag with task knowledge (ablation)Tag-LLM · Drug CombinationMAE: 12.21 -> 12.10Helped
increase the DC tag length (ablation)Tag-LLM · Drug Combinationtest errorMixed
add a regression head (ablation)PEFT baselines · Descriptor, QED, Drug Combination, Binding Affinitytask metricHelped
replace learned domain tag embeddings with text-form domain info (ablation)Prompt Tuning and LoRA · specialized scientific taskstask metricNo clear effect

Surprising findings

Limitations

Experimental setup

Datasets: OPUS-100 FLORES-101 binding_affinity (jglaser) DrugComb_CSS (TDC) BindingDB_Patent (TDC)

Benchmarks: FLORES-101 Descriptor (peptides) QED (RDKit) TDC DrugComb_CSS TDC BindingDB_Patent

Metrics: spBLEU MSE MAE Pearson r ROUGE COMET

Baselines: LoRA Prompt Tuning Linear Probing GPT-4 Galactica LlaSMol Text+Chem T5 M2M XGLM BLOOM GPT-3 Otter-Knowledge

Builds on: prompt tuning prefix tuning LoRA

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