How to Create a Mind is a book by Ray Kurzweil about biological and mechanical brains. It suggests that there is a hierarchy of pattern recognizers in each brain.