mlsanityData to 14 Oct 2026

Language models as master equation solvers

arXiv 2308.02514 ↗First posted 29 Jul 2023cs.LG cs.AI math.DScited by 0

Not on the map. Why?

Abstract (arXiv)

Master equations are of fundamental importance in modeling stochastic dynamical systems.However, solving master equations is challenging due to the exponential increase in the number of possible states or trajectories with the dimension of the state space. In this study, we propose repurposing language models as a machine learning approach to solve master equations. We design a prompt-based neural network to map rate parameters, initial conditions, and time values directly to the state joint probability distribution that exactly matches the input contexts. In this way, we approximate the solution of the master equation in its most general form. We train the network using the policy gradient algorithm within the reinforcement learning framework, with feedback rewards provided by a set of variational autoregressive models. By applying this approach to representative examples, we observe high accuracy for both multi-module and high-dimensional systems. The trained network also exhibits extrapolating ability, extending its predictability to unseen data. Our findings establish the connection between language models and master equations, highlighting the possibility of using a single pretrained large model to solve any master equation.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 21 of its 46 references that are in the map. First posted on arXiv 29 Jul 2023.

Builds on

21 of 46 references.

References · 21

  1. 2017Attention Is All You Needcited by 60,361
  2. 2020Language Models are Few-Shot Learnerscited by 32,419
  3. 2023GPT-4 Technical Reportcited by 18,396
  4. 2022Training language models to follow instructions with human feedbackcited by 15,971
  5. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  6. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  7. 2021On the Opportunities and Risks of Foundation Modelscited by 4,033
  8. 2017Deep reinforcement learning from human preferencescited by 3,912
  9. 2020Learning to summarize from human feedbackcited by 2,588
  10. 2019Fine-Tuning Language Models from Human Preferencescited by 2,150
  11. 2020Efficient Transformers: A Surveycited by 790
  12. 2023Is ChatGPT a General-Purpose Natural Language Processing Task Solver?cited by 488
9 more
  1. 2023How Good Are GPT Models at Machine Translation? A Comprehensive Evaluationcited by 348
  2. 2023A Comprehensive Capability Analysis of GPT-3 and GPT-3.5 Series Modelscited by 246
  3. 2023ChatGPT: Jack of all trades, master of nonecited by 204
  4. 2023LongNet: Scaling Transformers to 1,000,000,000 Tokenscited by 204
  5. 2023Exploring the Limits of ChatGPT for Query or Aspect-based Text Summarizationcited by 122
  6. 2018Solving Statistical Mechanics Using Variational Autoregressive Networkscited by 100
  7. 2023How Robust is GPT-3.5 to Predecessors? A Comprehensive Study on Language Understanding Taskscited by 58
  8. 2020Imitating Interactive Intelligencecited by 55
  9. 2022Neural-network solutions to stochastic reaction networkscited by 8

Built on by

Not cited yet.