Back to Research papers
Research paper index

RIDGE: An Autonomous Framework for Validation and Method Discovery in LLM-Generated Option Pricing

Liexin Cheng, Xue Cheng, Shuaiqiang Liu, Cornelis W. Oosterlee

arXiv:2607.25199Published July 28, 2026Updated July 30, 20260 citations
  • q-fin.CP
  • cs.AI

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.

Read the original paper

This page indexes public paper metadata. The manuscript remains with its original publisher and authors.