IDEAS home Printed from https://ideas.repec.org/a/gam/jmathe/v12y2024i23p3745-d1531635.html
   My bibliography  Save this article

Discovery of Exact Equations for Integer Sequences

Author

Listed:
  • Boštjan Gec

    (Department of Knowledge Technologies, Jožef Stefan Institute, Jamova 39, 1000 Ljubljana, Slovenia
    Jožef Stefan International Postgraduate School, Jamova 39, 1000 Ljubljana, Slovenia)

  • Sašo Džeroski

    (Department of Knowledge Technologies, Jožef Stefan Institute, Jamova 39, 1000 Ljubljana, Slovenia)

  • Ljupčo Todorovski

    (Department of Knowledge Technologies, Jožef Stefan Institute, Jamova 39, 1000 Ljubljana, Slovenia
    Faculty of Mathematics and Physics, University of Ljubljana, Jadranska 19, 1000 Ljubljana, Slovenia)

Abstract

Equation discovery, also known as symbolic regression, is the field of machine learning that studies algorithms for discovering quantitative laws, expressed as closed-form equations or formulas, in collections of observed data. The latter is expected to come from measurements of physical systems and, therefore, noisy, moving the focus of equation discovery algorithms towards discovering approximate equations. These loosely match the noisy observed data, rendering them inappropriate for applications in mathematics. In this article, we introduce Diofantos , an algorithm for discovering equations in the ring of integers that exactly match the training data. Diofantos is based on a reformulation of the equation discovery task into the task of solving linear Diophantine equations. We empirically evaluate the performance of Diofantos on reconstructing known equations for more than 27,000 sequences from the online encyclopedia of integer sequences, OEIS. Diofantos successfully reconstructs more than 90% of these equations and clearly outperforms SINDy, a state-of-the-art method for discovering approximate equations, that achieves a reconstruction rate of less than 70%.

Suggested Citation

  • Boštjan Gec & Sašo Džeroski & Ljupčo Todorovski, 2024. "Discovery of Exact Equations for Integer Sequences," Mathematics, MDPI, vol. 12(23), pages 1-22, November.
  • Handle: RePEc:gam:jmathe:v:12:y:2024:i:23:p:3745-:d:1531635
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2227-7390/12/23/3745/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2227-7390/12/23/3745/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Trieu H. Trinh & Yuhuai Wu & Quoc V. Le & He He & Thang Luong, 2024. "Solving olympiad geometry without human demonstrations," Nature, Nature, vol. 625(7995), pages 476-482, January.
    2. Gal Raayoni & Shahar Gottlieb & Yahel Manor & George Pisha & Yoav Harris & Uri Mendlovic & Doron Haviv & Yaron Hadad & Ido Kaminer, 2021. "Generating conjectures on fundamental constants with the Ramanujan Machine," Nature, Nature, vol. 590(7844), pages 67-73, February.
    3. Trieu H. Trinh & Yuhuai Wu & Quoc V. Le & He He & Thang Luong, 2024. "Author Correction: Solving olympiad geometry without human demonstrations," Nature, Nature, vol. 627(8004), pages 8-8, March.
    4. Alex Davies & Petar Veličković & Lars Buesing & Sam Blackwell & Daniel Zheng & Nenad Tomašev & Richard Tanburn & Peter Battaglia & Charles Blundell & András Juhász & Marc Lackenby & Geordie Williamson, 2021. "Advancing mathematics by guiding human intuition with AI," Nature, Nature, vol. 600(7887), pages 70-74, December.
    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. Jesús Fernández-Villaverde & Galo Nuño & Jesse Perla, 2024. "Taming the Curse of Dimensionality: Quantitative Economics with Deep Learning," NBER Working Papers 33117, National Bureau of Economic Research, Inc.
    2. Simon D Angus, 2024. "Tracking Policy-relevant Narratives of Democratic Resilience at Scale: from experts and machines, to AI & the transformer revolution," SoDa Laboratories Working Paper Series 2024-07, Monash University, SoDa Laboratories.
    3. Evangelos Katsamakas & Oleg V. Pavlov & Ryan Saklad, 2024. "Artificial intelligence and the transformation of higher education institutions," Papers 2402.08143, arXiv.org.
    4. Maryam Ghalkhani & Saeid Habibi, 2022. "Review of the Li-Ion Battery, Thermal Management, and AI-Based Battery Management System for EV Application," Energies, MDPI, vol. 16(1), pages 1-16, December.
    5. Evangelos Katsamakas, 2024. "Business models for the simulation hypothesis," Papers 2404.08991, arXiv.org.
    6. Shams Mehdi & Pratyush Tiwary, 2024. "Thermodynamics-inspired explanations of artificial intelligence," Nature Communications, Nature, vol. 15(1), pages 1-12, December.
    7. Yiting Chen & Tracy Xiao Liu & You Shan & Songfa Zhong, 2023. "The emergence of economic rationality of GPT," Proceedings of the National Academy of Sciences, Proceedings of the National Academy of Sciences, vol. 120(51), pages 2316205120-, December.
    8. Hajkowicz, Stefan & Naughtin, Claire & Sanderson, Conrad & Schleiger, Emma & Karimi, Sarvnaz & Bratanova, Alexandra & Bednarz, Tomasz, 2022. "Artificial intelligence for science – adoption trends and future development pathways," MPRA Paper 115464, University Library of Munich, Germany.
    9. Santiago Alonso-Diaz, 2024. "A human-like artificial intelligence for mathematics," Mind & Society: Cognitive Studies in Economics and Social Sciences, Springer;Fondazione Rosselli, vol. 23(1), pages 79-97, December.
    10. Xin Li & Qunxi Zhu & Chengli Zhao & Xiaojun Duan & Bolin Zhao & Xue Zhang & Huanfei Ma & Jie Sun & Wei Lin, 2024. "Higher-order Granger reservoir computing: simultaneously achieving scalable complex structures inference and accurate dynamics prediction," Nature Communications, Nature, vol. 15(1), pages 1-13, December.
    11. Evangelos Katsamakas & Oleg V. Pavlov & Ryan Saklad, 2024. "Artificial Intelligence and the Transformation of Higher Education Institutions: A Systems Approach," Sustainability, MDPI, vol. 16(14), pages 1-21, July.
    12. Rafael Magdalena-Benedicto & Sonia Pérez-Díaz & Adrià Costa-Roig, 2023. "Challenges and Opportunities in Machine Learning for Geometry," Mathematics, MDPI, vol. 11(11), pages 1-24, June.
    13. Miroslav Kureš, 2022. "A Note on the Remarkable Expression of the Number $${8}/{\pi ^2}$$ 8 / π 2 That the Ramanujan Machine Discovered," The Mathematical Intelligencer, Springer, vol. 44(2), pages 150-152, June.
    14. Gary Charness & Brian Jabarian & John List, 2023. "Generation Next: Experimentation with AI," Artefactual Field Experiments 00777, The Field Experiments Website.
    15. Jake B. Telkamp & Marc H. Anderson, 2022. "The Implications of Diverse Human Moral Foundations for Assessing the Ethicality of Artificial Intelligence," Journal of Business Ethics, Springer, vol. 178(4), pages 961-976, July.
    16. Tom Coates & Alexander M. Kasprzyk & Sara Veneziale, 2023. "Machine learning the dimension of a Fano variety," Nature Communications, Nature, vol. 14(1), pages 1-11, December.

    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:gam:jmathe:v:12:y:2024:i:23:p:3745-:d:1531635. 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: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    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.