Introduction
We’ve dreamed of Machine Intelligence for centuries, and until computers appeared in the 1940’s, it seemed sure to remain in the realm of Science Fiction. For the first few decades of the Computer Age, though, it looked inevitable to computer experts and the public at large that we would soon build intelligent machines. Then, those expectations foundered on our failure to address the unseen complexities of how thinking really works. And now most people again believe that it is, and always will be, just a dream.
This may remind you of the Alchemists’ doomed quests for cheap gold and eternal life.
The human brain is an intelligent machine which we can understand and emulate. While forbiddingly large and complex at first glance, the brain could only function if its components and their operation were at heart quite simple. By finding the basic principles at work in the brain and applying them to build software, people are already creating real machine intelligence and solving real problems for themselves. Hierarchical Temporal Memory, the subject of this book, is both a theory of the brain, and a set of blueprints for machine intelligence.
Based on extraordinary recent advances in the detailed study of information processing in the brain, a simple set of principles has been identified, allowing us to identify and reverse engineer each of the key steps, in enough detail that they can be run on a normal computer.
This book is about a learning machine you can start using today. This is not science fiction, nor some promised technology we’re hoping to see in the near future. It’s already here, ready to download and use. It is already being used commercially to help save energy, predict mechanical breakdowns, and keep computers running on the Internet. It’s at the centre of a vibrant open source community with growing links to leading-edge academic and industrial research. Based on more than a decade of research and development by Jeff Hawkins and his team at Numenta, NuPIC is a system built on the principles of the human brain, a theory called Hierarchical Temporal Memory (HTM).
NuPIC stands for Numenta Platform for Intelligent Computing. On the face of it, it’s a piece of software you can download for free, do the setup, and start using right away on your own data, to solve your own problems. This book will give you the information you need to do just that. But, as you’ll learn, the software (and its usefulness to you as a product) is only a small part of the story.
NuPIC is, in fact, a working model in software of a developing theory of how the brain works, Hierarchical Temporal Memory. Its design is constrained by what we know of the structure and function of the brain. As with an architect’s miniature model, a spreadsheet in the financial realm, or a CAD system in engineering, we can experiment with and adjust the model in order to gain insights into the system we’re modelling. And, just as with those tools, we can also do useful work, solve real-world problems, and derive value from using them.
And, as with other modelling tools, we can use NuPIC as a touchstone for a growing discussion of the basic theory of what is going on inside the brain. We can compare it with all the facts and understanding from decades of neuroscience research, a body of knowledge which grows daily. We believe that the theories underlying NuPIC are the best candidates for a true understanding of human intelligence and that NuPIC is already providing compelling evidence that these theories are valid.
Clortex is a new open source project which complements NuPIC and provides a new architecture for working with HTM in new application areas. Founded by the author, the Clortex project is aimed at bringing HTM to a new audience.
This book begins with an overview of how NuPIC fits in to the worlds of Artificial Intelligence and Neuroscience. We’ll then delve a little deeper into the theory of the brain which underlies the project, including the key principles which we believe are both necessary and sufficient for intelligence.
In Chapter 3, we’ll see how the design of NuPIC corresponds to these principles, and how it works in detail. Chapter 4 describes the NuPIC software at time of writing, as well as its commercial big brother, Grok. Finally, we’ll describe what the near future holds for HTM, NuPIC, and Grok, and how you can get involved in this exciting work. The details of how to download and operate NuPIC are found in the Appendices*, along with details of how to join the NuPIC mailing list.
Pending completion of the Appendices, please see the Preface for details on NuPIC and Clortex.