[Paper Review] Unifying Molecular and Textual Representations via Multi-task Language Modelling
The paper introduces Text+Chem T5, a multi-domain, multi-task transformer that bridges natural language and chemical language, enabling cross-domain tasks without task-specific fine-tuning or dual-domain pretraining, and showing performance gains with encoder sharing and scaling.
The recent advances in neural language models have also been successfully applied to the field of chemistry, offering generative solutions for classical problems in molecular design and synthesis planning. These new methods have the potential to fuel a new era of data-driven automation in scientific discovery. However, specialized models are still typically required for each task, leading to the need for problem-specific fine-tuning and neglecting task interrelations. The main obstacle in this field is the lack of a unified representation between natural language and chemical representations, complicating and limiting human-machine interaction. Here, we propose the first multi-domain, multi-task language model that can solve a wide range of tasks in both the chemical and natural language domains. Our model can handle chemical and natural language concurrently, without requiring expensive pre-training on single domains or task-specific models. Interestingly, sharing weights across domains remarkably improves our model when benchmarked against state-of-the-art baselines on single-domain and cross-domain tasks. In particular, sharing information across domains and tasks gives rise to large improvements in cross-domain tasks, the magnitude of which increase with scale, as measured by more than a dozen of relevant metrics. Our work suggests that such models can robustly and efficiently accelerate discovery in physical sciences by superseding problem-specific fine-tuning and enhancing human-model interactions.
Motivation & Objective
- Bridge natural language and chemical representations with a single multi-task model.
- Eliminate the need for expensive mono-domain pretraining and task-specific fine-tuning.
- Demonstrate cross-domain and cross-task capabilities across chemistry and NLP benchmarks.
- Analyze encoder-sharing and aggregation strategies to maximize cross-domain transfer.
- Show scalability benefits of larger model sizes on cross-domain tasks.
Proposed method
- Use a T5-based encoder–decoder architecture as the backbone.
- Train a single model jointly on mono-domain (text or chemistry) and cross-domain tasks using task prompts.
- Share encoders across domains and explore merging strategies via cross-attention between domain-specific encoders.
- Evaluate multiple encoder strategies (shared vs domain-specific, frozen vs fine-tuned) across mol2mol, text2mol, mol2text, and text2text tasks.
- Compare against baselines including Transformer, T5 fine-tuned models, RXN-family models, and MolT5.
- Utilize augmented data variants to balance task distributions and assess impact of data scale.
Experimental results
Research questions
- RQ1Can a single multi-task, multi-domain model achieve competitive performance on both chemistry and NLP tasks and surpass mono-domain baselines on cross-domain tasks?
- RQ2Does encoder sharing and cross-domain information sharing improve cross-domain translation performance?
- RQ3Can the model perform cross-domain tasks without task-specific heads or extensive mono-domain pretraining?
- RQ4How does model size (small vs base) affect cross-domain performance and scalability?
- RQ5What is the impact of aggregation strategies on cross-domain task performance?
Key findings
- Text+Chem T5 outperforms baselines on cross-domain tasks across multiple metrics (e.g., BLEU, ROUGE, METEOR).
- Cross-domain tasks show significant gains with encoder sharing and fine-tuning, surpassing MD e^2-CLM variants in text2mol and mol2text.
- Text+Chem T5 achieves the best scores on mol2text (Caption from SMILES) and text2mol (SMILES from text) across small and base sizes.
- Model size increases yield faster and larger gains for Text+Chem T5 relative to baselines, indicating improved scaling when sharing information across domains.
- Ablation shows encoder sharing and fine-tuning are the most impactful factors for cross-domain performance, while aggregation method is less critical.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.