Skip to main content

Unsupervised One-Shot Learning of Both Specific Instances and Generalised Classes with a Hippocampal Architecture

  • Conference paper
  • First Online:
AI 2020: Advances in Artificial Intelligence (AI 2020)


Established experimental procedures for one-shot machine learning do not test the ability to learn or remember specific instances of classes, a key feature of animal intelligence. Distinguishing specific instances is necessary for many real-world tasks, such as remembering which cup belongs to you. Generalisation within classes conflicts with the ability to separate instances of classes, making it difficult to achieve both capabilities within a single architecture. We propose an extension to the standard Omniglot classification-generalisation framework that additionally tests the ability to distinguish specific instances after one exposure and introduces noise and occlusion corruption. Learning is defined as an ability to classify as well as recall training samples. Complementary Learning Systems (CLS) is a popular model of mammalian brain regions believed to play a crucial role in learning from a single exposure to a stimulus. We created an artificial neural network implementation of CLS and applied it to the extended Omniglot benchmark. Our unsupervised model demonstrates comparable performance to existing supervised ANNs on the Omniglot classification task (requiring generalisation), without the need for domain-specific inductive biases. On the extended Omniglot instance-recognition task, the same model also demonstrates significantly better performance than a baseline nearest-neighbour approach, given partial occlusion and noise.

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

Access this chapter

Subscribe and save

Springer+ Basic
EUR 32.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
USD 79.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 99.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

Similar content being viewed by others


  1. 1.

  2. 2.

    Adam Optimizer is reset and trainable parameters are re-initialised.


  1. Ahmad, S., Scheinkman, L.: How can we be so dense? The benefits of using highly sparse representations. arXiv preprint arXiv:1903.11257 (2019)

  2. George, D., et al.: A generative vision model that trains with high data efficiency and breaks text-based CAPTCHAs. Science, 1–19 (2017)

    Google Scholar 

  3. Gidaris, S., Bursuc, A., Komodakis, N., Pérez, P., Cord, M.: Boosting few-shot visual learning with self-supervision. In: Proceedings of the IEEE International Conference on Computer Vision (2019)

    Google Scholar 

  4. Greene, P., Howard, M., Bhattacharyya, R., Fellous, J.M.: Hippocampal anatomy supports the use of context in object recognition: a computational model. Comput. Intell. Neurosci. 2013 (2013)

    Google Scholar 

  5. Hewitt, L.B., Nye, M.I., Gane, A., Jaakkola, T., Tenenbaum, J.B.: The variational homoencoder: learning to learn high capacity generative models from few examples. arXiv preprint arXiv:1807.08919, July 2018

  6. Hopfield, J.J.: Neural networks and physical systems with emergent collective computational abilities. Proc. Nat. Acad. Sci. 79(8) (1982)

    Google Scholar 

  7. Ketz, N., Morkonda, S.G., O’Reilly, R.C.: Theta coordinated error-driven learning in the hippocampus. PLoS Comput. Biol. 9(6) (2013)

    Google Scholar 

  8. Koch, G., Zemel, R., Salakhutdinov, R.: Siamese neural networks for one-shot image recognition. In: Proceedings of the 32nd International Conference on Machine Learning (2015)

    Google Scholar 

  9. Kowadlo, G., Ahmed, A., Rawlinson, D.: AHA! an ‘Artificial Hippocampal Algorithm’ for episodic machine learning. arXiv preprint arxiv:1909.10340 (2019)

  10. Kumaran, D., Hassabis, D., McClelland, J.L.: What learning systems do intelligent agents need? Complementary learning systems theory updated. Trends Cogn. Sci. 20(7), 512–534 (2016)

    Google Scholar 

  11. Lake, B.M., Salakhutdinov, R., Gross, J., Tenenbaum, J.B.: One shot learning of simple visual concepts. In Proceedings of the 33rd Annual Conference of the Cognitive Science Society (2011)

    Google Scholar 

  12. Lake, B.M., Salakhutdinov, R., Tenenbaum, J.B.: Human-level concept learning through probabilistic program induction. Science 350(6266), 1332–1338 (2015)

    Article  MathSciNet  Google Scholar 

  13. Lake, B.M., Salakhutdinov, R., Tenenbaum, J.B.: The Omniglot challenge: a 3-year progress report. Curr. Opin. Behav. Sci. 29, 97–104 (2019)

    Article  Google Scholar 

  14. Lake, B.M., Ullman, T.D., Tenenbaum, J.B., Gershman, S.J.: Building machines that learn and think like people. Behav. Brain Sci. 40(2012), 1–58 (2017)

    Google Scholar 

  15. Li, F.F., Fergus, R., Perona, P.: A Bayesian approach to unsupervised one-shot learning of object categories. In: Proceedings Ninth IEEE International Conference on Computer Vision (2003)

    Google Scholar 

  16. Li, F.F., Fergus, R., Perona, P.: One-shot learning of object categories. IEEE Trans. Pattern Anal. Mach. Intell. (2006)

    Google Scholar 

  17. Makhzani, A., Frey, B.: K-sparse autoencoders. arXiv preprint arXiv:1312.5663 (2013)

  18. Makhzani, A., Frey, B.J.: Winner-take-all autoencoders. In: Advances in Neural Information Processing Systems, pp. 2791–2799 (2015)

    Google Scholar 

  19. McClelland, J.L., McNaughton, B.L., O’Reilly, R.C.: Why there are complementary learning systems in the hippocampus and neocortex: insights from the successes and failures of connectionist models of learning and memory. Psychol. Rev. 102(3), 419–457 (1995)

    Article  Google Scholar 

  20. Norman, K.A., O’Reilly, R.C.: Modeling hippocampal and neocortical contributions to recognition memory: a complementary-learning-systems approach. Psychol. Rev. 110(4), 611–646 (2003)

    Article  Google Scholar 

  21. O’Reilly, R.C., Bhattacharyya, R., Howard, M.D., Ketz, N.: Complementary learning systems. Cogn. Sci. 38(6), 1229–1248 (2014)

    Article  Google Scholar 

  22. Rolls, E.T.: A model of the operation of the hippocampus and entorhinal cortex in memory. Int. J. Neural Syst. 6 (1995)

    Google Scholar 

  23. Rolls, E.T.: The mechanisms for pattern completion and pattern separation in the hippocampus. Front. Syst. Neurosci. 7(October), 1–21 (2013)

    Google Scholar 

  24. Russell, S.J., Norvig, P.: Artificial Intelligence: A Modern Approach. Prentice Hall, Upper Saddle River (2009)

    Google Scholar 

  25. Schapiro, A.C., Turk-Browne, N.B., Botvinick, M.M., Norman, K.A.: Complementary learning systems within the hippocampus: a neural network modelling approach to reconciling episodic memory with statistical learning. Philos. Trans. Roy. Soc. B Biol. Sci. 372(1711), 20160049 (2017)

    Article  Google Scholar 

  26. Snell, J., Swersky, K., Zemel, R.S.: Prototypical networks for few-shot learning. In: Advances in Neural Information Processing Systems, pp. 4077–4087 (2017)

    Google Scholar 

  27. Vinyals, O., Blundell, C., Lillicrap, T., Kavukcuoglu, K.: Matching networks for one shot learning. In: Advances in Neural Information Processing Systems (2016)

    Google Scholar 

  28. Young, R.A.: The Gaussian derivative model for spatial vision: I. Retinal mechanisms. Spat. Vis. 2(4), 273–293 (1987)

    Article  Google Scholar 

Download references


Thanks to Elkhonon Goldberg for enriching discussions on the hippocampal region and to Rotem Aharon for insights and analysis of Hopfield networks.

Author information

Authors and Affiliations


Corresponding author

Correspondence to Gideon Kowadlo .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Kowadlo, G., Ahmed, A., Rawlinson, D. (2020). Unsupervised One-Shot Learning of Both Specific Instances and Generalised Classes with a Hippocampal Architecture. In: Gallagher, M., Moustafa, N., Lakshika, E. (eds) AI 2020: Advances in Artificial Intelligence. AI 2020. Lecture Notes in Computer Science(), vol 12576. Springer, Cham.

Download citation

  • DOI:

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-64983-8

  • Online ISBN: 978-3-030-64984-5

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics