Abstract
Scientific literature understanding tasks have gained significant attention due to their potential to accelerate scientific discovery. Pre-trained language models (LMs) have shown effectiveness in these tasks, especially when tuned via contrastive learning. However, jointly utilizing pre-training data across multiple heterogeneous tasks (e.g., extreme multi-label paper classification, citation prediction, and literature search) remains largely unexplored. To bridge this gap, we propose a multi-task contrastive learning framework, SciMult, with a focus on facilitating common knowledge sharing across different scientific literature understanding tasks while preventing task-specific skills from interfering with each other. To be specific, we explore two techniques – task-aware specialization and instruction tuning. The former adopts a Mixture-of-Experts Transformer architecture with task-aware sub-layers; the latter prepends task-specific instructions to the input text so as to produce task-aware outputs. Extensive experiments on a comprehensive collection of benchmark datasets verify the effectiveness of our task-aware specialization strategy, where we outperform state-of-the-art scientific pre-trained LMs.
Introduction
Scientific NLP traditionally relies on specialized models for distinct tasks such as topic classification, citation prediction, and literature search. While these tasks are conceptually related, training a single unified model often results in task interference. This phenomenon occurs when model parameters are forced to compromise between conflicting requirements of different tasks—for instance, focusing on specific entities for classification versus capturing broader intent for citation prediction. The authors introduce SciMult, a multi-task contrastive learning framework designed to share "common sense" across tasks while isolating specialized skills to prevent performance degradation.
Methods
SciMult utilizes a Bi-Encoder architecture optimized through contrastive learning, which aligns related scientific documents in a shared vector space. To mitigate task interference, the framework employs two primary strategies:
- Task-Aware Specialization (MoE): The standard Transformer architecture is modified using a Mixture-of-Experts (MoE) approach. Instead of shared parameters for all tasks, the model incorporates task-specific sub-layers. The authors evaluated two variants: placing experts in the Multi-Head Attention (MHA) layers or the Feed-Forward Networks (FFN).
- Instruction Tuning: Natural language instructions are prepended to inputs to guide the model's operational mode.
- Hard Negative Sampling: Sophisticated sampling techniques were implemented during training to improve the model's ability to distinguish between highly similar papers.
Datasets and Evaluation
The model was pre-trained and evaluated on a massive corpus of scientific data, including MAPLE for fine-grained classification, over 819,000 citation triplets, and the SciRepEval-Search dataset. Evaluation benchmarks included SciDocs (link prediction), PMC-Patients (clinical retrieval), and cross-domain datasets like TREC-COVID, SciFact, and NFCorpus. Testing on fields not seen during training (e.g., Geography, Psychology) demonstrated that SciMult learns transferable scientific reasoning rather than simple memorization.
Results and Discussion
Experimental results indicate that SciMult-MHAExpert consistently outperforms existing state-of-the-art models, including SPECTER 2.0 and SciNCL.
Key findings include:
- MHA Specialization: Task-specific MHA layers proved more effective than FFN layers, suggesting that task-dependent attention mechanisms are more critical for scientific understanding than static weight specialization.
- Instruction Tuning vs. MoE: While instruction tuning is popular in general LLMs, architectural specialization (MoE) yielded more consistent gains in the scientific contrastive learning setting.
- Synergy: Training on classification data improved citation prediction performance, confirming that heterogeneous tasks share underlying "common knowledge."
- SOTA Performance: SciMult achieved the top position on the PMC-Patients leaderboard and significantly improved Recall@20 in fine-grained classification compared to SciBERT and SPECTER.
Conclusion
SciMult demonstrates the power of task-aware specialization in scientific literature understanding. Future work may extend this framework to Cross-Encoders or late-interaction models like ColBERT, and scale the MoE approach to a broader range of tasks such as entity extraction and summarization.
Summary updated