IDEAS home Printed from https://ideas.repec.org/p/arx/papers/2607.25199.html

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

Author

Listed:
  • 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.

Suggested Citation

  • Liexin Cheng & Xue Cheng & Shuaiqiang Liu & Cornelis W. Oosterlee, 2026. "RIDGE: An Autonomous Framework for Validation and Method Discovery in LLM-Generated Option Pricing," Papers 2607.25199, arXiv.org, revised Jul 2026.
  • Handle: RePEc:arx:papers:2607.25199
    as

    Download full text from publisher

    File URL: https://arxiv.org/pdf/2607.25199
    File Function: Latest version
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Omar El Euch & Mathieu Rosenbaum, 2019. "The characteristic function of rough Heston models," Mathematical Finance, Wiley Blackwell, vol. 29(1), pages 3-38, January.
    2. Fang, Fang & Oosterlee, Kees, 2008. "A Novel Pricing Method For European Options Based On Fourier-Cosine Series Expansions," MPRA Paper 9319, University Library of Munich, Germany.
    3. Breeden, Douglas T & Litzenberger, Robert H, 1978. "Prices of State-contingent Claims Implicit in Option Prices," The Journal of Business, University of Chicago Press, vol. 51(4), pages 621-651, October.
    4. Darrell Duffie & Jun Pan & Kenneth Singleton, 2000. "Transform Analysis and Asset Pricing for Affine Jump-Diffusions," Econometrica, Econometric Society, vol. 68(6), pages 1343-1376, November.
    5. Chris Lu & Cong Lu & Robert Tjarko Lange & Yutaro Yamada & Shengran Hu & Jakob Foerster & David Ha & Jeff Clune, 2026. "Towards end-to-end automation of AI research," Nature, Nature, vol. 651(8107), pages 914-919, March.
    6. Bates, David S, 1996. "Jumps and Stochastic Volatility: Exchange Rate Processes Implicit in Deutsche Mark Options," The Review of Financial Studies, Society for Financial Studies, vol. 9(1), pages 69-107.
    7. Nicola Fusari & Robert Jarrow & Sujan Lamichhane, 2025. "Testing for Asset Price Bubbles Using Options Data," Journal of Business & Economic Statistics, Taylor & Francis Journals, vol. 43(4), pages 807-821, October.
    8. Cox, John C. & Ingersoll Junior, Jonathan E. & Ross, Stephen A., 2007. "A theory of the term structure of interest rates," RAE - Revista de Administração de Empresas, FGV-EAESP Escola de Administração de Empresas de São Paulo (Brazil), vol. 47(2), April.
    9. Daniel J. Mankowitz & Andrea Michi & Anton Zhernov & Marco Gelmi & Marco Selvi & Cosmin Paduraru & Edouard Leurent & Shariq Iqbal & Jean-Baptiste Lespiau & Alex Ahern & Thomas Köppe & Kevin Millikin &, 2023. "Faster sorting algorithms discovered using deep reinforcement learning," Nature, Nature, vol. 618(7964), pages 257-263, June.
    10. Merton, Robert C., 1976. "Option pricing when underlying stock returns are discontinuous," Journal of Financial Economics, Elsevier, vol. 3(1-2), pages 125-144.
    11. Alhussein Fawzi & Matej Balog & Aja Huang & Thomas Hubert & Bernardino Romera-Paredes & Mohammadamin Barekatain & Alexander Novikov & Francisco J. R. Ruiz & Julian Schrittwieser & Grzegorz Swirszcz & , 2022. "Discovering faster matrix multiplication algorithms with reinforcement learning," Nature, Nature, vol. 610(7930), pages 47-53, October.
    12. Heston, Steven L, 1993. "A Closed-Form Solution for Options with Stochastic Volatility with Applications to Bond and Currency Options," The Review of Financial Studies, Society for Financial Studies, vol. 6(2), pages 327-343.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Ying Chang & Yiming Wang & Sumei Zhang, 2021. "Option Pricing under Double Heston Jump-Diffusion Model with Approximative Fractional Stochastic Volatility," Mathematics, MDPI, vol. 9(2), pages 1-10, January.
    2. Martijn Pistorius & Johannes Stolte, 2012. "Fast computation of vanilla prices in time-changed models and implied volatilities using rational approximations," Papers 1203.6899, arXiv.org.
    3. Kozarski, R., 2013. "Pricing and hedging in the VIX derivative market," Other publications TiSEM 221fefe0-241e-4914-b6bd-c, Tilburg University, School of Economics and Management.
    4. Brignone, Riccardo & Gonzato, Luca & Lütkebohmert, Eva, 2023. "Efficient Quasi-Bayesian Estimation of Affine Option Pricing Models Using Risk-Neutral Cumulants," Journal of Banking & Finance, Elsevier, vol. 148(C).
    5. Ying Jiao & Chunhua Ma & Simone Scotti & Chao Zhou, 2021. "The Alpha‐Heston stochastic volatility model," Mathematical Finance, Wiley Blackwell, vol. 31(3), pages 943-978, July.
    6. Giulia Di Nunno & Kk{e}stutis Kubilius & Yuliya Mishura & Anton Yurchenko-Tytarenko, 2023. "From constant to rough: A survey of continuous volatility modeling," Papers 2309.01033, arXiv.org, revised Aug 2025.
    7. Ostap Okhrin & Michael Rockinger & Manuel Schmid, 2023. "Distributional properties of continuous time processes: from CIR to bates," AStA Advances in Statistical Analysis, Springer;German Statistical Society, vol. 107(3), pages 397-419, September.
    8. Torben G. Andersen & Luca Benzoni & Jesper Lund, 2002. "An Empirical Investigation of Continuous‐Time Equity Return Models," Journal of Finance, American Finance Association, vol. 57(3), pages 1239-1284, June.
    9. R. Merino & J. Pospíšil & T. Sobotka & J. Vives, 2018. "Decomposition Formula For Jump Diffusion Models," Journal of Enterprising Culture (JEC), World Scientific Publishing Co. Pte. Ltd., vol. 21(08), pages 1-36, December.
    10. Raul Merino & Jan Posp'iv{s}il & Tom'av{s} Sobotka & Josep Vives, 2019. "Decomposition formula for jump diffusion models," Papers 1906.06930, arXiv.org.
    11. Chernov, Mikhail, 2007. "On the Role of Risk Premia in Volatility Forecasting," Journal of Business & Economic Statistics, American Statistical Association, vol. 25, pages 411-426, October.
    12. Beliaeva, Natalia & Nawalkha, Sanjay, 2012. "Pricing American interest rate options under the jump-extended constant-elasticity-of-variance short rate models," Journal of Banking & Finance, Elsevier, vol. 36(1), pages 151-163.
    13. Gonçalo Faria & João Correia-da-Silva, 2014. "A closed-form solution for options with ambiguity about stochastic volatility," Review of Derivatives Research, Springer, vol. 17(2), pages 125-159, July.
    14. Carme Frau & Viviana Fanelli, 2024. "Seasonality in commodity prices: new approaches for pricing plain vanilla options," Annals of Operations Research, Springer, vol. 336(1), pages 1089-1131, May.
    15. Giulia Di Nunno & Kęstutis Kubilius & Yuliya Mishura & Anton Yurchenko-Tytarenko, 2023. "From Constant to Rough: A Survey of Continuous Volatility Modeling," Mathematics, MDPI, vol. 11(19), pages 1-35, October.
    16. M.E. Mancino & S. Scotti & G. Toscano, 2020. "Is the Variance Swap Rate Affine in the Spot Variance? Evidence from S&P500 Data," Applied Mathematical Finance, Taylor & Francis Journals, vol. 27(4), pages 288-316, July.
    17. Zhang Chen & Chen Kay, 2026. "Historical Developments in Probability Measures for Asset Pricing: From State Prices to Modern Pricing Kernels," Papers 2605.27658, arXiv.org.
    18. Alessandro Bondi & Sergio Pulido & Simone Scotti, 2022. "The rough Hawkes Heston stochastic volatility model," Papers 2210.12393, arXiv.org.
    19. Bakshi, Gurdip & Cao, Charles & Chen, Zhiwu, 2000. "Pricing and hedging long-term options," Journal of Econometrics, Elsevier, vol. 94(1-2), pages 277-318.
    20. Bin Xie & Weiping Li & Nan Liang, 2021. "Pricing S&P 500 Index Options with L\'evy Jumps," Papers 2111.10033, arXiv.org, revised Nov 2021.

    More about this item

    NEP fields

    This paper has been announced in the following NEP Reports:

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:arx:papers:2607.25199. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: arXiv administrators (email available below). General contact details of provider: https://arxiv.org/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.