Introducing the CZAR Loss: A Tailored Objective Function for Financial Log-Return Predictions
Joel Pfeffer, J. M. Diederik Kruijssen, Florian Stecker, Steven N. Longmore
Abstract
In quantitative finance, standard regression losses are misaligned with the economics of return prediction. As the conditional mean of financial log-returns is close to zero, symmetric losses such as the mean squared and mean absolute errors make the constant zero forecast a near-optimal solution, penalizing models with genuine but noisy directional skill. This applies both during training, where predictions shrink toward zero, and during evaluation, where trivial forecasters can lead loss-based rankings. Under a Gaussian linear prediction model, we show that all symmetric monotonic losses share a universal breakeven directional accuracy against the zero predictor, which rises sharply and becomes unobtainable as the prediction noise approaches the standard deviation of the returns. We introduce the CZAR (Composite Zero-Agnostic Return) loss function, a piecewise quadratic loss built around five key requirements: convexity in the prediction, asymmetry with true return direction that vanishes at zero, near-linear penalization of undershoots and wrong-direction predictions, divergence for large errors, and an adaptive loss floor for evaluation. CZAR is provably convex in the prediction at fixed true value, has closed-form gradient and Hessian suitable for custom objectives in gradient-boosted libraries, and its four hyperparameters reduce to a single choice through correlated defaults. In idealized tests, the minimum directional accuracy required for a CZAR-evaluated forecaster to outperform the zero predictor under mean log loss remains near the 50% chance level, whereas the corresponding threshold for symmetric losses rises sharply with prediction noise. This advantage persists under heavy-tailed return distributions. In a LightGBM experiment on intraday BTC log-returns, CZAR-trained models reduce the `zero-returns bias' and improve directional accuracy on large-magnitude returns.
Create a lesson
Metadata
- Categories
- cs.LG, cs.CE, q-fin.CP, q-fin.MF
- Journal
- ADI 3, 33-54 (2026)
- Comments
- 22 pages, 12 figures, 2 tables; appeared in ADI (September 2026)
Related papers
Predicting falls and near falls with wearable IMU and ECG in parkinson
Shared title terminologycs.LGMuqing Jian, Wenbo Ding, Xusheng Zhu et al.
Local Affine Quantization for KV Caches: From Shared Ranges to Prediction Error
Shared title terminologycs.LGShrey Shah, Rohith Kukkala
Conformal Prediction with Nested Modality Masks
Shared title terminologycs.LGAlireza Moayedikia
Optimistic Predicate Logic: Rethinking Multi-Objective Bayesian Optimization
Shared title terminologycs.LGQuoc Phong Nguyen, Sunil Gupta, Bryan Kian Hsiang Low et al.
What Predicts Forgetting in LoRA Fine-Tuning Across Optimizers
Shared title terminologycs.LGZhiyong Jin
Predicting End-to-End Fine-Tuning Time for Generative Language Models
Shared title terminologycs.LGBreno Beleza, Felipe Lima, Isis Carvalho et al.