Abstract
Learning physical models, or components thereof, from data is an active field of research. When the reaction of a reaction-diffusion (RD) system is unknown and is replaced by a parameterized function, learned from data, it is not guaranteed that the resulting model is a well-posed system, nor that it is physically meaningful, e.g., that non-negativity of the state is preserved. Penalizing violations of the corresponding conditions during the learning process enforces them only approximately, whereas the properties they encode are not approximate ones. In this paper, we introduce a framework for adapting a given class of parameterized reaction terms, such as neural networks, in a way that each of its elements satisfies quasipositivity and mass control, so that the learned RD systems preserve non-negativity and are well-posed under additional regularity and growth conditions. In particular, we show that the adapted class preserves the approximation capacity of the original one, and that within a regularization-based learning framework, solutions of the learning problem converge to a unique, regularization-minimizing solution of a limit system even when quasipositivity and mass control are enforced. We test the approach numerically on five RD systems and compare it with an unconstrained and a penalty-based approach, which, in contrast to the proposed approach, do not ensure quasipositivity of the learned reaction terms.