Decoding Partial Differential Equations: Cross-Modal Adaptation of Decoder-only Models to PDEs
Not on the map. Why?
Abstract (arXiv)
While large language models are primarily used on natural language tasks, they have also shown great promise when adapted to new modalities, e.g., for scientific machine learning tasks. Most proposed approaches for such cross-modal adaptation of language models focus on encoder-only transformer model architectures, despite decoder-only architectures being far more popular for language tasks in recent years, and being trained at much larger scales. This raises the question of how model architecture affects cross-modal adaptation approaches, and whether we can leverage the success of decoder-only models. In this paper, we systematically compare encoder-only and decoder-only language models on cross-modal adaptation for time-dependent simulation tasks based on partial differential equations (PDEs). We find that decoder-only models are far worse than encoder-only models, when existing approaches are applied unmodified. In contrast to several other domains, scaling decoder-only models also does not help. To enhance the performance of decoder-only models in this context, we introduce two novel approaches that mimic bidirectionality, Parallel Flipping and Sequence Doubling. Both our methods improve overall performance using decoder-only models for all tasks and all cross-modal adaptation methods, closing the gap to encoder-only model performance. We hope that our findings broaden the spectrum of models used on cross-modal adaptation tasks to further scientific machine learning.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 29 of its 46 references that are in the map. First posted on arXiv 6 Oct 2025.
Builds on
29 of 46 references.
References · 29
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2020Scaling Laws for Neural Language Modelscited by 6,411
- 2020Fourier Neural Operator for Parametric Partial Differential Equationscited by 2,806
- 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,734
- 2022PDEBENCH: An Extensive Benchmark for Scientific Machine Learningcited by 396
- 2024LLM2Vec: Large Language Models Are Secretly Powerful Text Encoderscited by 396
- 2024Poseidon: Efficient Foundation Models for PDEscited by 186
- 2020Geometric Dataset Distances via Optimal Transportcited by 157
- 2024The Well: a Large-Scale Collection of Diverse Physics Simulations for Machine Learningcited by 134
- 2023Noise Is Not the Main Factor Behind the Gap Between SGD and Adam on Transformers, but Sign Descent Might Becited by 114
17 more
- 2024CALF: Aligning LLMs for Time Series Forecasting via Cross-modal Fine-Tuningcited by 105
- 2024Repetition Improves Language Model Embeddingscited by 70
- 2025CodePDE: An Inference Framework for LLM-driven PDE Solver Generationcited by 37
- 2023Cross-Modal Fine-Tuning: Align then Refinecited by 34
- 2025PolyPythias: Stability and Outliers across Fifty Language Model Pre-Training Runscited by 33
- 2024Unisolver: PDE-Conditional Transformers Towards Universal Neural PDE Solverscited by 31
- 2024Holmes: A Benchmark to Assess the Linguistic Competence of Language Modelscited by 26
- 2024GPT or BERT: why not both?cited by 26
- 2024Robust Pronoun Fidelity with English LLMs: Are they Reasoning, Repeating, or Just Biased?cited by 17
- 2024Learning Modality Knowledge Alignment for Cross-Modality Transfercited by 8
- 2025Text-Trained LLMs Can Zero-Shot Extrapolate PDE Dynamics, Revealing a Three-Stage In-Context Learning Mechanismcited by 7
- 2024Enhancing Cross-Modal Fine-Tuning with Gradually Intermediate Modality Generationcited by 5
- 2024Scaling Laws of Decoder-Only Models on the Multilingual Machine Translation Taskcited by 4
- 2025Exploring Training and Inference Scaling Laws in Generative Retrievalcited by 4
- 2025SeisMoLLM: Advancing Seismic Monitoring via Cross-modal Transfer with Pre-trained Large Language Modelcited by 3
- 2024What explains the success of cross-modal fine-tuning with ORCA?cited by 2
- 2025From Equations to Insights: Unraveling Symbolic Structures in PDEs with LLMscited by 2
Built on by
Not cited yet.