English

MC-LSTM: Mass-Conserving LSTM

Machine Learning 2021-06-11 v3 Machine Learning

Abstract

The success of Convolutional Neural Networks (CNNs) in computer vision is mainly driven by their strong inductive bias, which is strong enough to allow CNNs to solve vision-related tasks with random weights, meaning without learning. Similarly, Long Short-Term Memory (LSTM) has a strong inductive bias towards storing information over time. However, many real-world systems are governed by conservation laws, which lead to the redistribution of particular quantities -- e.g. in physical and economical systems. Our novel Mass-Conserving LSTM (MC-LSTM) adheres to these conservation laws by extending the inductive bias of LSTM to model the redistribution of those stored quantities. MC-LSTMs set a new state-of-the-art for neural arithmetic units at learning arithmetic operations, such as addition tasks, which have a strong conservation law, as the sum is constant over time. Further, MC-LSTM is applied to traffic forecasting, modelling a pendulum, and a large benchmark dataset in hydrology, where it sets a new state-of-the-art for predicting peak flows. In the hydrology example, we show that MC-LSTM states correlate with real-world processes and are therefore interpretable.

Keywords

Cite

@article{arxiv.2101.05186,
  title  = {MC-LSTM: Mass-Conserving LSTM},
  author = {Pieter-Jan Hoedt and Frederik Kratzert and Daniel Klotz and Christina Halmich and Markus Holzleitner and Grey Nearing and Sepp Hochreiter and Günter Klambauer},
  journal= {arXiv preprint arXiv:2101.05186},
  year   = {2021}
}

Comments

13 pages (8.5 without references) + 17 pages appendix

R2 v1 2026-06-23T22:07:49.564Z