GAPrune: Gradient-Alignment Pruning for Domain-Aware Embeddings
On the map: LLM agents and tool use → Web, search, and research agents
Abstract (arXiv)
Domain-specific embedding models have shown promise for applications that require specialized semantic understanding, such as coding agents and financial retrieval systems, often achieving higher performance gains than general models. However, state-of-the-art embedding models are typically based on LLMs, which contain billions of parameters, making deployment challenging in resource-constrained environments. Model compression through pruning offers a promising solution, but existing pruning methods treat all parameters uniformly, failing to distinguish between general semantic representations and domain-specific patterns, leading to suboptimal pruning decisions. Thus, we propose GAPrune, a pruning framework that addresses this challenge by considering both domain importance and preserving general linguistic foundation. Our method uses Fisher Information to measure importance and general-domain gradient alignment to assess parameter behavior, then combines these signals using our Domain Alignment Importance (DAI) scoring. Lower DAI scores indicate that the parameter is either less important for the domain task or creates conflicts between domain and general objectives. Experiments on two domain benchmarks, FinMTEB and ChemTEB, show that GAPrune maintains performance within 2.5% of dense models in one-shot pruning at 50% sparsity, while outperforming all baselines. With retraining in 100 steps, GAPrune achieves +4.51% improvement on FinMTEB and +1.73% on ChemTEB, demonstrating that our pruning strategy not only preserves but enhances domain-specific capabilities. Our findings demonstrate that principled pruning strategies can achieve model compression and enhanced domain specialization, providing the research community with a new approach for development.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Placed in Web, search, and research agents, one of 16 directions in LLM agents and tool use. Builds on 29 of its 37 references that are in the map. First posted on arXiv 13 Sep 2025.
Builds on
29 of 37 references.
References · 29
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
- 2018Representation Learning with Contrastive Predictive Codingcited by 7,777
- 2020Scaling Laws for Neural Language Modelscited by 6,586
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,148
- 2015Learning both Weights and Connections for Efficient Neural Networkscited by 2,031
- 2016MS MARCO: A Human Generated MAchine Reading COmprehension Datasetcited by 1,605
- 2020Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hyperspherecited by 1,405
- 2025Qwen3 Embedding: Advancing Text Embedding and Reranking Through Foundation Modelscited by 1,261
- 2016Pruning Filters for Efficient ConvNetscited by 1,143
- 2023SparseGPT: Massive Language Models Can Be Accurately Pruned in One-Shotcited by 1,121
- 2020Domain-Specific Language Model Pretraining for Biomedical Natural Language Processingcited by 1,009
- 2019Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Prunedcited by 856
17 more
- 2023A Simple and Effective Pruning Approach for Large Language Modelscited by 800
- 2022MTEB: Massive Text Embedding Benchmarkcited by 640
- 2023Improving Text Embeddings with Large Language Modelscited by 303
- 2018Faster gaze prediction with dense networks and Fisher pruningcited by 94
- 2024Making Text Embedders Few-Shot Learnerscited by 79
- 2024CoIR: A Comprehensive Benchmark for Code Information Retrieval Modelscited by 60
- 2024CodeXEmbed: A Generalist Embedding Model Family for Multiligual and Multi-task Code Retrievalcited by 34
- 2024Pooling And Attention: What Are Effective Designs For LLM-Based Embedding Models?cited by 19
- 2025FinMTEB: Finance Massive Text Embedding Benchmarkcited by 18
- 2024Pruning as a Domain-specific LLM Extractorcited by 13
- 2024Greenback Bears and Fiscal Hawks: Finance is a Jungle and Text Embeddings Must Adaptcited by 12
- 2024Large Language Models Are Overparameterized Text Encoderscited by 6
- 2025ChEmbed: Enhancing Chemical Literature Search Through Domain-Specific Text Embeddingscited by 5
- 2025Compressing Language Models for Specialized Domainscited by 4
- 2025FineScope : SAE-guided Data Selection Enables Domain Specific LLM Pruning and Finetuningcited by 2
- 2025Adapting General-Purpose Embedding Models to Private Datasets Using Keyword-based Retrievalcited by 2
- 2025Towards Domain Specification of Embedding Models in Medicinecited by 2
Built on by
Citing papers per year: 2026: 2.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2025SAGE: A Realistic Benchmark for Semantic Understanding
- 2019Constrained Non-Affine Alignment of Embeddings
- 2025LMAR: Language Model Augmented Retriever for Domain-specific Knowledge Indexing
- 2026When Pruning Meets Interpretability: Preserving Sparse Autoencoder Robustness in LLMs
- 2023How to Prune Your Language Model: Recovering Accuracy on the "Sparsity May Cry'' Benchmark
- 2025MTEB-NL and E5-NL: Embedding Benchmark and Models for Dutch
- 2022Sparse*BERT: Sparse Models Generalize To New tasks and Domains
- 2024Disentangling Dense Embeddings with Sparse Autoencoders