Oceanic processes related to climate change can be tracked by magnetic signals that are generated by ocean tides. As such, the periodic magnetic signals of the M2 tide contain trends that are related to the continuously warming ocean. In turn, long-term observations of the tidally induced magnetic field can be used as an additional measure of the heat budget and the overall warming of the ocean. We utilize artificial neural networks as non-linear inversion schemes to investigate this topic. With the help of a neural network, which was trained with ocean temperature data and corresponding simulated tidal M2 magnetic fields over the time period 1990-2015, we could, for the first time, derive global ocean heat content values from recent Swarm satellite observations.