Tag-LLM: Repurposing General-Purpose LLMs for Specialized Domains
Not on the map. Why?
Abstract (arXiv)
Large Language Models (LLMs) have demonstrated remarkable proficiency in understanding and generating natural language. However, their capabilities wane in highly specialized domains underrepresented in the pretraining corpus, such as physical and biomedical sciences. This work explores how to repurpose general LLMs into effective task solvers for specialized domains. We introduce a novel, model-agnostic framework for learning custom input tags, which are parameterized as continuous vectors appended to the LLM's embedding layer, to condition the LLM. We design two types of input tags: domain tags are used to delimit specialized representations (e.g., chemical formulas) and provide domain-relevant context; function tags are used to represent specific functions (e.g., predicting molecular properties) and compress function-solving instructions. We develop a three-stage protocol to learn these tags using auxiliary data and domain knowledge. By explicitly disentangling task domains from task functions, our method enables zero-shot generalization to unseen problems through diverse combinations of the input tags. It also boosts LLM's performance in various specialized domains, such as predicting protein or chemical properties and modeling drug-target interactions, outperforming expert models tailored to these tasks.
Key facts. Cited by 30 papers in the map (data through 7 Oct 2026). Builds on 29 of its 50 references that are in the map. First posted on arXiv 6 Feb 2024.
Builds on
29 of 50 references.
References · 29
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,203
- 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
- 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
- 2022BLOOM: A 176B-Parameter Open-Access Multilingual Language Modelcited by 1,968
- 2022Large Language Models Encode Clinical Knowledgecited by 1,807
- 2021Multitask Prompted Training Enables Zero-Shot Task Generalizationcited by 1,462
- 2022Solving Quantitative Reasoning Problems with Language Modelscited by 1,359
- 2021Fantastically Ordered Prompts and Where to Find Them: Overcoming Few-Shot Prompt Order Sensitivitycited by 1,122
- 2019Plug and Play Language Models: A Simple Approach to Controlled Text Generationcited by 793
- 2019CTRL: A Conditional Transformer Language Model for Controllable Generationcited by 754
- 2022Galactica: A Large Language Model for Sciencecited by 736
17 more
- 2020Beyond English-Centric Multilingual Machine Translationcited by 559
- 2021The FLORES-101 Evaluation Benchmark for Low-Resource and Multilingual Machine Translationcited by 556
- 2023Learning to Compress Prompts with Gist Tokenscited by 379
- 2021Few-shot Learning with Multilingual Language Modelscited by 278
- 2020Improving Massively Multilingual Neural Machine Translation and Zero-Shot Translationcited by 277
- 2021Therapeutics Data Commons: Machine Learning Datasets and Tasks for Drug Discovery and Developmentcited by 258
- 2022LIFT: Language-Interfaced Fine-Tuning for Non-Language Machine Learning Taskscited by 146
- 2020A Transformer-based Approach for Source Code Summarizationcited by 129
- 2022A Survey of Controllable Text Generation using Transformer-based Pre-trained Language Modelscited by 128
- 2020CoCon: A Self-Supervised Approach for Controlled Text Generationcited by 47
- 2023Cross-Modal Fine-Tuning: Align then Refinecited by 34
- 2021NAS-Bench-360: Benchmarking Neural Architecture Search on Diverse Taskscited by 32
- 2022DisCup: Discriminator Cooperative Unlikelihood Prompt-tuning for Controllable Text Generationcited by 30
- 2022Tailor: A Prompt-Based Approach to Attribute-Based Controlled Text Generationcited by 22
- 2022Efficient Architecture Search for Diverse Taskscited by 18
- 2023Reprogramming Pretrained Language Models for Protein Sequence Representation Learningcited by 12
- 2023Otter-Knowledge: benchmarks of multimodal knowledge graph representation learning from different sources for drug discoverycited by 10
Built on by
Citing papers per year: 2024: 11; 2025: 16; 2026: 3.
30 papers.
Sort:
By area:
- 2024Continual Learning of Large Language Models: A Comprehensive Surveycited by 228
- 2024A Review of Large Language Models and Autonomous Agents in Chemistrycited by 96
- 2025A Survey of Graph Retrieval-Augmented Generation for Customized Large Language Modelscited by 85
- 2024500xCompressor: Generalized Prompt Compression for Large Language Modelscited by 45
- 2025CodePDE: An Inference Framework for LLM-driven PDE Solver Generationcited by 37
- 2025Middle-Layer Representation Alignment for Cross-Lingual Transfer in Fine-Tuned LLMscited by 26
- 2024Zeroth-Order Fine-Tuning of LLMs in Random Subspacescited by 23
- 2024Specialized Foundation Models Struggle to Beat Supervised Baselinescited by 23
- 2025OmniScience: A Domain-Specialized LLM for Scientific Reasoning and Discoverycited by 20
- 2024Leveraging Biomolecule and Natural Language through Multi-Modal Learning: A Surveycited by 16
- 2025Mixture of Structural-and-Textual Retrieval over Text-rich Graph Knowledge Basescited by 9
- 2025TagRouter: Learning Route to LLMs through Tags for Open-Domain Text Generation Taskscited by 9
18 more
- 2025A Large Language Model-Empowered Agent for Reliable and Robust Structural Analysiscited by 8
- 2024Large Model Strategic Thinking, Small Model Efficiency: Transferring Theory of Mind in Large Language Modelscited by 7
- 2024Multi-Document Financial Question Answering using LLMscited by 6
- 2025LoRA-Gen: Specializing Large Language Model via Online LoRA Generationcited by 5
- 2025A Multi-Task Evaluation of LLMs' Processing of Academic Text Inputcited by 5
- 2024Generative Design of Functional Metal Complexes Utilizing the Internal Knowledge of Large Language Modelscited by 4
- 2025PhenoAssistant: A Conversational Multi-Agent AI System for Automated Plant Phenotypingcited by 4
- 2024Autoware.Flex: Human-Instructed Dynamically Reconfigurable Autonomous Driving Systemscited by 3
- 2025Treasure Hunt: Real-time Targeting of the Long Tail using Training-Time Markerscited by 2
- 2025MiST: Understanding the Role of Mid-Stage Scientific Training in Developing Chemical Reasoning Modelscited by 2
- 2024A Survey for Large Language Models in Biomedicinecited by 1
- 2025An Open-Source Dual-Loss Embedding Model for Semantic Retrieval in Higher Educationcited by 1
- 2025Synergy over Discrepancy: A Partition-Based Approach to Multi-Domain LLM Fine-Tuningcited by 1
- 2025A Structure-Agnostic Co-Tuning Framework for LLMs and SLMs in Cloud-Edge Systemscited by 1
- 2026Do We Need Bigger Models for Science? Task-Aware Retrieval with Small Language Modelscited by 1
- 2025General Intelligence-based Fragmentation (GIF): A framework for peak-labeled spectra simulationcited by 0
- 2026AbAffinity: A Large Language Model for Predicting Antibody Binding Affinity against SARS-CoV-2cited by 0
- 2026LegalMidm: Use-Case-Driven Legal Domain Specialization for Korean Large Language Modelcited by 0
- 2026LegalMidm: Use-Case-Driven Legal Domain Specialization for Korean Large Language Model28 Apr 2026
- 2026Do We Need Bigger Models for Science? Task-Aware Retrieval with Small Language Models2 Apr 2026
- 2026AbAffinity: A Large Language Model for Predicting Antibody Binding Affinity against SARS-CoV-24 Mar 2026
- 2025MiST: Understanding the Role of Mid-Stage Scientific Training in Developing Chemical Reasoning Models24 Dec 2025
- 2025A Structure-Agnostic Co-Tuning Framework for LLMs and SLMs in Cloud-Edge Systems12 Nov 2025
- 2025General Intelligence-based Fragmentation (GIF): A framework for peak-labeled spectra simulation11 Nov 2025
- 2025Synergy over Discrepancy: A Partition-Based Approach to Multi-Domain LLM Fine-Tuning10 Nov 2025
- 2025A Multi-Task Evaluation of LLMs' Processing of Academic Text Input15 Aug 2025
- 2025A Large Language Model-Empowered Agent for Reliable and Robust Structural Analysis27 Jun 2025
- 2025Treasure Hunt: Real-time Targeting of the Long Tail using Training-Time Markers17 Jun 2025
- 2025TagRouter: Learning Route to LLMs through Tags for Open-Domain Text Generation Tasks14 Jun 2025
- 2025LoRA-Gen: Specializing Large Language Model via Online LoRA Generation13 Jun 2025
18 more
- 2025CodePDE: An Inference Framework for LLM-driven PDE Solver Generation13 May 2025
- 2025An Open-Source Dual-Loss Embedding Model for Semantic Retrieval in Higher Education8 May 2025
- 2025PhenoAssistant: A Conversational Multi-Agent AI System for Automated Plant Phenotyping28 Apr 2025
- 2025OmniScience: A Domain-Specialized LLM for Scientific Reasoning and Discovery22 Mar 2025
- 2025Mixture of Structural-and-Textual Retrieval over Text-rich Graph Knowledge Bases27 Feb 2025
- 2025Middle-Layer Representation Alignment for Cross-Lingual Transfer in Fine-Tuned LLMs20 Feb 2025
- 2025A Survey of Graph Retrieval-Augmented Generation for Customized Large Language Models21 Jan 2025
- 2024Autoware.Flex: Human-Instructed Dynamically Reconfigurable Autonomous Driving Systems20 Dec 2024
- 2024Multi-Document Financial Question Answering using LLMs8 Nov 2024
- 2024Specialized Foundation Models Struggle to Beat Supervised Baselines5 Nov 2024
- 2024Generative Design of Functional Metal Complexes Utilizing the Internal Knowledge of Large Language Models21 Oct 2024
- 2024Zeroth-Order Fine-Tuning of LLMs in Random Subspaces11 Oct 2024
- 2024A Survey for Large Language Models in Biomedicine29 Aug 2024
- 2024500xCompressor: Generalized Prompt Compression for Large Language Models6 Aug 2024
- 2024Large Model Strategic Thinking, Small Model Efficiency: Transferring Theory of Mind in Large Language Models5 Aug 2024
- 2024A Review of Large Language Models and Autonomous Agents in Chemistry26 Jun 2024
- 2024Continual Learning of Large Language Models: A Comprehensive Survey25 Apr 2024
- 2024Leveraging Biomolecule and Natural Language through Multi-Modal Learning: A Survey3 Mar 2024
- 2025OmniScience: A Domain-Specialized LLM for Scientific Reasoning and Discoverycited by 20
- 2024Large Model Strategic Thinking, Small Model Efficiency: Transferring Theory of Mind in Large Language Modelscited by 7
- 2025MiST: Understanding the Role of Mid-Stage Scientific Training in Developing Chemical Reasoning Modelscited by 2
- 2025MiST: Understanding the Role of Mid-Stage Scientific Training in Developing Chemical Reasoning Models24 Dec 2025
- 2025OmniScience: A Domain-Specialized LLM for Scientific Reasoning and Discovery22 Mar 2025
- 2024Large Model Strategic Thinking, Small Model Efficiency: Transferring Theory of Mind in Large Language Models5 Aug 2024
- 2024Continual Learning of Large Language Models: A Comprehensive Surveycited by 228
- 2025CodePDE: An Inference Framework for LLM-driven PDE Solver Generationcited by 37
- 2025Middle-Layer Representation Alignment for Cross-Lingual Transfer in Fine-Tuned LLMscited by 26
- 2024Zeroth-Order Fine-Tuning of LLMs in Random Subspacescited by 23
- 2024Specialized Foundation Models Struggle to Beat Supervised Baselinescited by 23
- 2024Leveraging Biomolecule and Natural Language through Multi-Modal Learning: A Surveycited by 16
- 2025Mixture of Structural-and-Textual Retrieval over Text-rich Graph Knowledge Basescited by 9
- 2025TagRouter: Learning Route to LLMs through Tags for Open-Domain Text Generation Taskscited by 9
- 2024Multi-Document Financial Question Answering using LLMscited by 6
- 2025LoRA-Gen: Specializing Large Language Model via Online LoRA Generationcited by 5
- 2025A Multi-Task Evaluation of LLMs' Processing of Academic Text Inputcited by 5
- 2024Generative Design of Functional Metal Complexes Utilizing the Internal Knowledge of Large Language Modelscited by 4
12 most cited of 21 All 21 (JSON)
- 2026LegalMidm: Use-Case-Driven Legal Domain Specialization for Korean Large Language Model28 Apr 2026
- 2026Do We Need Bigger Models for Science? Task-Aware Retrieval with Small Language Models2 Apr 2026
- 2026AbAffinity: A Large Language Model for Predicting Antibody Binding Affinity against SARS-CoV-24 Mar 2026
- 2025A Structure-Agnostic Co-Tuning Framework for LLMs and SLMs in Cloud-Edge Systems12 Nov 2025
- 2025General Intelligence-based Fragmentation (GIF): A framework for peak-labeled spectra simulation11 Nov 2025
- 2025Synergy over Discrepancy: A Partition-Based Approach to Multi-Domain LLM Fine-Tuning10 Nov 2025
- 2025A Multi-Task Evaluation of LLMs' Processing of Academic Text Input15 Aug 2025
- 2025Treasure Hunt: Real-time Targeting of the Long Tail using Training-Time Markers17 Jun 2025
- 2025TagRouter: Learning Route to LLMs through Tags for Open-Domain Text Generation Tasks14 Jun 2025
- 2025LoRA-Gen: Specializing Large Language Model via Online LoRA Generation13 Jun 2025
- 2025CodePDE: An Inference Framework for LLM-driven PDE Solver Generation13 May 2025
- 2025An Open-Source Dual-Loss Embedding Model for Semantic Retrieval in Higher Education8 May 2025
12 newest of 21 All 21 (JSON)