CIRA Guide to Custom Loss Functions for Neural Networks in Environmental Sciences -- Version 1
Imme Ebert-Uphoff, Ryan Lagerquist, Kyle Hilburn, Yoonjin Lee,, Katherine Haynes, Jason Stock, Christina Kumler, and Jebb Q. Stewart

TL;DR
This paper provides a comprehensive guide for environmental scientists on developing custom loss functions for neural networks, emphasizing their importance for tailored model optimization and including practical examples and pitfalls.
Contribution
It fills a knowledge gap by offering detailed instructions and examples for creating custom loss functions tailored to environmental science applications.
Findings
Guidelines for writing custom loss functions in environmental contexts
Examples include fractional skill score and physical constraints incorporation
Code samples available in Python with Keras and TensorFlow
Abstract
Neural networks are increasingly used in environmental science applications. Furthermore, neural network models are trained by minimizing a loss function, and it is crucial to choose the loss function very carefully for environmental science applications, as it determines what exactly is being optimized. Standard loss functions do not cover all the needs of the environmental sciences, which makes it important for scientists to be able to develop their own custom loss functions so that they can implement many of the classic performance measures already developed in environmental science, including measures developed for spatial model verification. However, there are very few resources available that cover the basics of custom loss function development comprehensively, and to the best of our knowledge none that focus on the needs of environmental scientists. This document seeks to fill…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsComputational Physics and Python Applications · Meteorological Phenomena and Simulations · Data Analysis with R
