Contrastive Learning and Mixture of Experts Enables Precise Vector Embeddings
On the map: Mixture-of-experts → MoE large language models
Abstract (arXiv)
The advancement of transformer neural networks has significantly elevated the capabilities of sentence similarity models, but they still struggle with highly discriminative tasks and may produce sub-optimal representations of important documents like scientific literature. With the increased reliance on retrieval augmentation and search, representing diverse documents as concise and descriptive vectors is crucial. This paper improves upon the vectors embeddings of scientific text by assembling niche datasets using co-citations as a similarity metric, focusing on biomedical domains. We apply a novel Mixture of Experts (MoE) extension pipeline to pretrained BERT models, where every multi-layer perceptron section is enlarged and copied into multiple distinct experts. Our MoE variants perform well over N scientific domains with N dedicated experts, whereas standard BERT models excel in only one domain at a time. Notably, extending just a single transformer block to MoE captures 85% of the benefit seen from full MoE extension at every layer. This holds promise for versatile and efficient One-Size-Fits-All transformer networks for numerically representing diverse inputs. Our methodology marks advancements in representation learning and holds promise for enhancing vector database search and compilation.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Placed in MoE large language models, one of 12 directions in Mixture-of-experts. Builds on 37 of its 59 references that are in the map. First posted on arXiv 28 Jan 2024.
Builds on
37 of 59 references.
Closest ancestors · 3
Same direction, newest first
- 2024Mixtral of Experts8 Jan
- 2022MoEBERT: from BERT to Mixture-of-Experts via Importance-Guided Adaptation15 Apr
- 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layer23 Jan
Other references · 34
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023GPT-4 Technical Reportcited by 18,132
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
- 2020Measuring Massive Multitask Language Understandingcited by 7,768
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,018
- 2023Mistral 7Bcited by 3,065
- 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,014
22 more
- 2022Training Compute-Optimal Large Language Modelscited by 2,927
- 2021TruthfulQA: Measuring How Models Mimic Human Falsehoodscited by 2,919
- 2020MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained Transformerscited by 1,414
- 2019SciBERT: A Pretrained Language Model for Scientific Textcited by 1,404
- 2020Domain-Specific Language Model Pretraining for Biomedical Natural Language Processingcited by 996
- 2020MPNet: Masked and Permuted Pre-training for Language Understandingcited by 973
- 2019ClinicalBERT: Modeling Clinical Notes and Predicting Hospital Readmissioncited by 487
- 2020DeCLUTR: Deep Contrastive Learning for Unsupervised Textual Representationscited by 249
- 2017Efficient Natural Language Response Suggestion for Smart Replycited by 228
- 2017SearchQA: A New Q&A Dataset Augmented with Context from a Search Enginecited by 221
- 2018WikiHow: A Large Scale Text Summarization Datasetcited by 203
- 2021PAQ: 65 Million Probably-Asked Questions and What You Can Do With Themcited by 198
- 2023The Truth is in There: Improving Reasoning in Language Models with Layer-Selective Rank Reductioncited by 120
- 2023Monarch Mixer: A Simple Sub-Quadratic GEMM-Based Architecturecited by 62
- 2022Looking for a Needle in a Haystack: A Comprehensive Study of Hallucinations in Neural Machine Translationcited by 60
- 2021GooAQ: Open Question Answering with Diverse Answer Typescited by 53
- 2022Sparsely Activated Mixture-of-Experts are Robust Multi-Task Learnerscited by 51
- 2019A Repository of Conversational Datasetscited by 45
- 2018Predicting citation counts based on deep neural network learning techniquescited by 21
- 2022Mod-Squad: Designing Mixture of Experts As Modular Multi-Task Learnerscited by 15
- 2019Multi-Modal Adversarial Autoencoders for Recommendations of Citations and Subject Labelscited by 5
- 2017The Closer the Better: Similarity of Publication Pairs at Different Co-Citation Levelscited by 2
Built on by
Citing papers per year: 2025: 1.
1 paper.
- 2025Training Sparse Mixture Of Experts Text Embedding Modelscited by 32
- 2025Training Sparse Mixture Of Experts Text Embedding Models11 Feb 2025
Similar, not cited
Close in wording, no citation either way
- 2026Giga-Embeddings: Mixture-of-Experts Encoders for High-Throughput Text Embeddings
- 2024Extracting Sentence Embeddings from Pretrained Transformer Models
- 2026Expert Selections In MoE Models Reveal (Almost) As Much As Text
- 2026Sparse Crosscoders for diffing MoEs and Dense models
- 2025Mixture of Experts Approaches in Dense Retrieval Tasks
- 2025Beyond Redundancy: Diverse and Specialized Multi-Expert Sparse Autoencoder
- 2023Improving Transformer Performance for French Clinical Notes Classification Using Mixture of Experts on a Limited Dataset
- 2023CAME: Competitively Learning a Mixture-of-Experts Model for First-stage Retrieval