In financial modeling—specifically option pricing—practitioners often possess strong theoretical "prior knowledge" about how a pricing function should behave. For instance, the price of a European call option should always increase as the underlying stock price goes up (monotonicity) and should exhibit a "curved" relationship with respect to the strike price (convexity).
Standard multi-layer perceptrons (MLPs) are universal approximators capable of fitting almost any dataset. However, they are entirely agnostic to these economic rules. An unconstrained MLP might fit a training set perfectly but produce economically impossible predictions on unseen data, such as suggesting an option price should drop when the stock price rises. This leads to poor generalization, especially in non-stationary markets where the relationship between variables shifts over time.
To address this, researchers introduce a novel neural network architecture ($N_{++}$) designed to bake economic "common sense" directly into the model's structure. By enforcing second-order constraints, the model generalizes significantly better and remains stable over long periods compared to standard "black-box" neural networks.
The $N_{++}$ Architecture
The authors propose a new class of functions, $N_{++}$, which replaces standard neural network components with structures that mathematically guarantee certain derivatives remain positive.
- Enforcing Monotonicity: By forcing network weights to be positive using an exponential function ($e^w$), the authors ensure the first derivative of the output with respect to the input is always non-negative.
- Enforcing Convexity: Instead of using the standard sigmoid activation function, they use its primitive, termed the "softplus" function: $\zeta(s) = \log(1 + e^s)$. Because the derivative of softplus is the sigmoid (which is always positive), the second derivative of the softplus is also positive, ensuring convexity.
- Structural Integration: The model combines these softplus and sigmoid functions into products. This specific structure allows the model to handle multiple input dimensions (like "moneyness" and "time to maturity") while maintaining the desired constraints on both individual and cross-derivatives.
Crucially, mathematical proofs demonstrate that this constrained architecture remains a universal approximator for the class of continuous functions that satisfy these specific positivity and convexity constraints.
Experimental Setup
The researchers evaluated their models using real-world financial data consisting of 43,518 transaction prices for European call options on the S&P 500 index, spanning from 1988 to 1993.
The initial setup used the first two quarters of 1988 for training and the third quarter for validation. Testing was performed on the fourth quarter of 1988 ("Test 1") and the first quarter of 1989 ("Test 2"). Further longitudinal testing was conducted through 1993 to check for model "persistence" over time.
Key Findings and Results
Incorporating second-order knowledge acts as a powerful form of regularization. It prevents the model from learning "noise" that violates physical or economic laws, effectively narrowing the search space to "plausible" functions.
The Generalization Gap
While unconstrained models might slightly outperform on a very specific, static training dataset, they suffer massive performance degradation on out-of-sample data. In the "Test 2" scenario (Q1 1989), unconstrained MLPs saw their Mean Squared Error (MSE) jump drastically—in some units, from ~1.25 to over 27.0 (a >20x increase). In contrast, the constrained $N_{++}$ model's error remained highly stable, moving only slightly (e.g., from 3.07 to 3.79).
Long-Term Persistence and the "Liftoff" Pattern
Unconstrained networks often exhibit a "liftoff" in error. They might achieve lower training and validation errors than constrained models, but their performance explodes when applied to data just a few months outside the training window. When looking at out-of-sample results over five years (1988–1993), the unconstrained models exhibited wild, "swinging" error patterns. The fully constrained $N_{++}$ architecture, however, maintained a low, stable error rate throughout the entire half-decade.
Furthermore, the proposed architecture outperformed a neural network specifically designed to mimic the Black-Scholes formula, suggesting that $N_{++}$ strikes a superior balance between theoretical rigor and data-driven flexibility.
Limitations and Future Work
- Cross-Derivative Assumptions: The $N_{++}$ model enforces specific constraints on cross-derivatives (how the change in one variable affects the rate of change in another). It isn't entirely certain if the "true" market price function strictly follows all these second-order constraints, though enforcing them clearly aids stability.
- Missing Features: To simplify the study, the authors dropped volatility and interest rate estimates, which are notoriously difficult to forecast. Future work could integrate these as inputs while maintaining the architectural constraints.
- Computational Complexity: The use of products of functions and exponentiated weights can make the optimization surface more complex to navigate during training, potentially increasing computational overhead.
Summary updated