RIDGE: An Autonomous Framework for Validation and Method Discovery in LLM-Generated Option Pricing
Liexin Cheng, Xue Cheng, Shuaiqiang Liu, Cornelis W. Oosterlee
Abstract
Automated code generation is becoming an important tool in quantitative finance, where large language models can generate option pricing implementations directly from mathematical model specifications. Validating such implementations, however, requires considerably more than conventional software testing: numerical pricing methods must remain mathematically consistent, numerically stable, and reliable across a wide range of model parameters. We introduce RIDGE, an autonomous validation framework in which generated pricing implementations are subjected to structured no-arbitrage tests, stress tests, benchmark comparisons, and consistency checks. Validation evidence is interpreted diagnostically, while the resulting knowledge is accumulated in a repository and reused across models and successive validation iterations. This enables systematic refinement of both the pricing implementation and the validation methodology. The framework is applied to five stochastic volatility models. Across these studies, all detected implementation defects are removed and, in two cases, the validation process reveals methodological limitations and motivates the development of alternative numerical methods. The supplementary material is available in the GitHub repository: https://github.com/ShQiangLiu/ridge.
Create a lesson
Metadata
- Categories
- q-fin.CP, cs.AI
- Comments
- 33 pages
Related papers
On the Pricing of American Options under Stochastic Local Volatility and Stochastic Correlation via the RBSDE Framework
Shared title terminologyq-fin.CPLong Teng
Beyond Black-Scholes: A Computational Framework for Option Pricing Using Heston, GARCH, and Jump Diffusion Models
Shared title terminologyq-fin.CPKarmanpartap Singh Sidhu, Pranshi Saxena
Auto-Alpha: A Framework for Autonomous Factor Research
Shared title terminologyq-fin.CPHui Cai, Kangcheng Deng, Tianyi Ma et al.
Beyond Strike Remapping: Conditional-Gamma Pricing of Leveraged ETF Options under Local Volatility
Shared title terminologyq-fin.CPGuolin Chen, Jiang Zhou, Richard Ma et al.
Pricing American Commodity Options Under the Schwartz Two-Factor Model Using the Alternating Direction Explicit (ADE) Method
Shared title terminologyq-fin.CPSanjith Prabhu, Daniel J. Duffy
AFNO: Universal Certifiably-Arbitrage-Free Operator Learning Framework for European Call-Price Surfaces
Shared title terminologyq-fin.CPAnastasis Kratsios, Yannick Limmer, Hans Buehler et al.