// bachelor thesis | leuphana 2026
Liquid neural networks vs. classical models
completed July 2026
Do liquid neural networks forecast daily financial returns better than classical models? I tested 11 liquid variants against 8 established baselines on ten years of AAPL, JPM and SPY data. The answer is no: none of the 120 corrected comparisons was significant.
The best variant, a sparsely wired CfC, topped the point metrics on all three assets. Its lead was not significant, and its directional edge matched simply always predicting “up”: market drift, not skill. A clean no, measured properly, is worth more than a flattering chart.
- Python
- walk-forward over 5 seeds
- Diebold–Mariano + Holm
- 300 tests
- graded 1.0
How I tested it
Liquid neural networks (LTC, CfC) change their dynamics with the input. On paper that suits noisy financial time series. Does it beat the classical bar in practice?
Ten years of daily prices for AAPL, JPM and SPY, plus macro series from FRED. Every feature is built from information available on that day.
Walk-forward evaluation: train on the past, forecast the next window, move on. Every neural model runs over 5 seeds, so a lucky run cannot win.
Diebold–Mariano tests with small-sample correction for each liquid model against each baseline, Holm-adjusted across all 120 comparisons.
0 of 120 significant. The best CfC sits level with the ARMA baselines. The limit is the data, not the model: daily returns carry too little signal for extra capacity to pay off.
Code, figures and the thesis are public, with an agent quick start to reproduce or extend the benchmark. A follow-up study checks a claim from the original LTC paper: at initialisation, LTC's longer trajectories come from how the weights are scaled, 12.9× under the released code's scaling and 0.80× under the paper's. Code on GitHub | Thesis (PDF) | Follow-up study on GitHub