PhysBERT: A Text Embedding Model for Physics Scientific Literature
Thorsten Hellert, João Montenegro, Andrea Pollastro
TL;DR
Physics NLP faces language and concept gaps that limit general embeddings. PhysBERT addresses this by a physics-domain transformer-based sentence embedder trained on 1.2 million arXiv papers with a custom tokenizer, followed by SimCSE-based fine-tuning to obtain semantic representations. Across category clustering, information retrieval, and citation classification, PhysBERT surpasses general-purpose models and proves effective as a foundation for subdomain fine-tuning, with results maintained at a smaller parameter footprint. By releasing training data and weights, the work enables more accurate physics literature search and domain-adaptive NLP in physics.
Abstract
The specialized language and complex concepts in physics pose significant challenges for information extraction through Natural Language Processing (NLP). Central to effective NLP applications is the text embedding model, which converts text into dense vector representations for efficient information retrieval and semantic analysis. In this work, we introduce PhysBERT, the first physics-specific text embedding model. Pre-trained on a curated corpus of 1.2 million arXiv physics papers and fine-tuned with supervised data, PhysBERT outperforms leading general-purpose models on physics-specific tasks including the effectiveness in fine-tuning for specific physics subdomains.
