Skip to main content

Comparing NARS and Reinforcement Learning: An Analysis of ONA and Q-Learning Algorithms

  • Conference paper
  • First Online:
Artificial General Intelligence (AGI 2023)

Part of the book series: Lecture Notes in Computer Science ((LNAI,volume 13921))

Included in the following conference series:

  • 780 Accesses

Abstract

In recent years, reinforcement learning (RL) has emerged as a popular approach for solving sequence-based tasks in machine learning. However, finding suitable alternatives to RL remains an exciting and innovative research area. One such alternative that has garnered attention is the Non-Axiomatic Reasoning System (NARS), which is a general-purpose cognitive reasoning framework. In this paper, we delve into the potential of NARS as a substitute for RL in solving sequence-based tasks. To investigate this, we conduct a comparative analysis of the performance of ONA as an implementation of NARS and Q-Learning in various environments that were created using the Open AI gym. The environments have different difficulty levels, ranging from simple to complex. Our results demonstrate that NARS is a promising alternative to RL, with competitive performance in diverse environments, particularly in non-deterministic ones.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 64.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 84.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Brockman, G., et al.: OpenAI gym. arXiv preprint arXiv:1606.01540 (2016)

  2. Eberding, L.M., Thórisson, K.R., Sheikhlar, A., Andrason, S.P.: SAGE: task-environment platform for evaluating a broad range of AI learners. In: Goertzel, B., Panov, A.I., Potapov, A., Yampolskiy, R. (eds.) AGI 2020. LNCS (LNAI), vol. 12177, pp. 72–82. Springer, Cham (2020). https://doi.org/10.1007/978-3-030-52152-3_8

    Chapter  Google Scholar 

  3. Fischer, T.G.: Reinforcement learning in financial markets-a survey. Technical report, FAU Discussion Papers in Economics (2018)

    Google Scholar 

  4. Hammer, P.: Autonomy through real-time learning and OpenNARS for applications. Temple University (2021)

    Google Scholar 

  5. Hammer, P., Lofthouse, T.: ‘OpenNARS for applications’: architecture and control. In: Goertzel, B., Panov, A.I., Potapov, A., Yampolskiy, R. (eds.) AGI 2020. LNCS (LNAI), vol. 12177, pp. 193–204. Springer, Cham (2020). https://doi.org/10.1007/978-3-030-52152-3_20

    Chapter  Google Scholar 

  6. Hammer, P., Lofthouse, T., Fenoglio, E., Latapie, H., Wang, P.: A reasoning based model for anomaly detection in the smart city domain. In: Arai, K., Kapoor, S., Bhatia, R. (eds.) IntelliSys 2020. AISC, vol. 1251, pp. 144–159. Springer, Cham (2021). https://doi.org/10.1007/978-3-030-55187-2_13

    Chapter  Google Scholar 

  7. Hammer, P., Lofthouse, T., Wang, P.: The OpenNARS implementation of the non-axiomatic reasoning system. In: Steunebrink, B., Wang, P., Goertzel, B. (eds.) AGI -2016. LNCS (LNAI), vol. 9782, pp. 160–170. Springer, Cham (2016). https://doi.org/10.1007/978-3-319-41649-6_16

    Chapter  Google Scholar 

  8. Henderson, P., Islam, R., Bachman, P., Pineau, J., Precup, D., Meger, D.: Deep reinforcement learning that matters. In: Proceedings of the AAAI Conference on Artificial Intelligence, vol. 32 (2018)

    Google Scholar 

  9. Kober, J., Bagnell, J.A., Peters, J.: Reinforcement learning in robotics: a survey. Int. J. Robot. Res. 32(11), 1238–1274 (2013)

    Article  Google Scholar 

  10. Silver, D., et al.: Mastering the game of go without human knowledge. Nature 550(7676), 354–359 (2017)

    Article  Google Scholar 

  11. Sutton, R.S., Barto, A.G.: Reinforcement Learning: An Introduction. MIT Press, Cambridge (2018)

    MATH  Google Scholar 

  12. Wang, P.: Non-axiomatic reasoning system: exploring the essence of intelligence. Indiana University (1995)

    Google Scholar 

  13. Wang, P.: Rigid Flexibility: The Logic of Intelligence, vol. 34. Springer, Dordrecht (2006). https://doi.org/10.1007/1-4020-5045-3

    Book  MATH  Google Scholar 

  14. Wang, P.: Insufficient knowledge and resources-a biological constraint and its functional implications. In: 2009 AAAI Fall Symposium Series (2009)

    Google Scholar 

  15. Wang, P.: Non-axiomatic logic (NAL) specification. University of Camerino, Piazza Cavour 19 (2010)

    Google Scholar 

  16. Wang, P.: Non-Axiomatic Logic: A Model of Intelligent Reasoning. World Scientific (2013)

    Google Scholar 

  17. Watkins, C.J., Dayan, P.: Q-learning. Mach. Learn. 8(3), 279–292 (1992). https://doi.org/10.1007/BF00992698

    Article  MATH  Google Scholar 

  18. Yu, C., Liu, J., Nemati, S., Yin, G.: Reinforcement learning in healthcare: a survey. ACM Comput. Surv. 55(1), 1–36 (2021)

    Article  Google Scholar 

Download references

Acknowledgment

We would like to express our gratitude to Patrick Hammer, Ph.D., for his expert advice, encouragement, and proofreading of the manuscript throughout this work. This work was partially supported by the Swedish Research Council through grant agreement no. 2020-03607 and in part by Digital Futures, the C3.ai Digital Transformation Institute, and Sweden’s Innovation Agency (Vinnova). The computations were enabled by resources in project SNIC 2022/22-942 provided by the Swedish National Infrastructure for Computing (SNIC) at Chalmers Centre for Computational Science and Engineering (C3SE).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Ali Beikmohammadi .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Beikmohammadi, A., Magnússon, S. (2023). Comparing NARS and Reinforcement Learning: An Analysis of ONA and Q-Learning Algorithms. In: Hammer, P., Alirezaie, M., Strannegård, C. (eds) Artificial General Intelligence. AGI 2023. Lecture Notes in Computer Science(), vol 13921. Springer, Cham. https://doi.org/10.1007/978-3-031-33469-6_3

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-33469-6_3

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-33468-9

  • Online ISBN: 978-3-031-33469-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics