LGAICLJan 28, 2024

Contrastive Learning and Mixture of Experts Enables Precise Vector Embeddings

arXiv:2401.15713v34 citationsh-index: 6
Originality Incremental advance
AI Analysis

This incremental improvement enhances vector database search and compilation for scientific literature retrieval.

The paper tackled the problem of sub-optimal vector embeddings for scientific text, particularly in biomedical domains, by using a Mixture of Experts (MoE) extension on pretrained BERT models, achieving 85% of the benefit of full MoE extension with just a single transformer block.

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.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes