Thursday, February 16, 2012

A machine that can dream










Note: This takes 20-30s to load, supported browsers are Chrome,  Safari 4.0+, 
Firefox 4+, Opera 10.0+. It requires heavy computations.

This is a live demo of a type of Boltzmann machine in Javascript. The evolving image at the bottom is what the machine is thinking and the flickering lights are the state of its neurons. This particular machine has been shown thousands of faces, and now it imagines faces when it dreams.

The Boltzmann machines have a remarkable ability similar to dreaming. They were first introduced by Geoff Hinton and Terry Sejnowski as a model of the brain in 1983. They can discover patterns when they are learning from data. And when run in a closed loop they can generate or dream new examples based on what is has learned.




How do they work? The full answer is beyond the scope of this post, but for motivated readers here's a quick explanation focusing on the restricted Boltzmann machine (RBM). It is defined by its so-called energy function
$$E({\bf v}, {\bf h}) = - \sum\limits_{i,j} v_i h_j w_{ij}$$
This function measures the energy between a sensory input vector \({\bf v}\) and the state of each neuron \({\bf h}\). The parameters \(w_{ij}\) weight correlations in the data. This is used to define the probability
$$p({\bf v}, {\bf h}) = \frac{e^{-E({\bf v}, {\bf h})}}{\sum\limits_{{\bf v}',{\bf h}'} e^{-E({\bf v}', {\bf h'})}}$$
where the denominator is the summation of the energy of all possible configurations of inputs and brain states.

Learning consists of adjusting \(w_{ij}\) to maximize the probability the RBM assigns to what you show it. This will make the neurons detect patterns in the sensory input. Dreaming consists of traveling in probable sensory inputs and brain states using Markov Chain Monte Carlo (MCMC).

If you want to know more about Boltzmann machines and Deep Learning, you should checkout this excellent talk by Geoff Hinton, or you can read this introductory paper by Yoshua Bengio and Yann LeCun.

You can also find here a pythonic implementation of the binary restricted Boltzmann machine (RBM) that I wrote.

99 comments:

  1. This comment has been removed by a blog administrator.

    ReplyDelete
  2. Muito bem yann, novo e já com um futuro excepcional só posso parabenisa-lo e desejar-lhe um futuro promissor, pois o mais difícil você já fez. Ventura!!!.

    ReplyDelete
  3. The material of the essay is also extremely crucial. For essays, content that is informative is a need to. Filling the webpages with fluff words merely to meet up with the web page prerequisite will land you a poor evaluation and some severe criticism. Consequently, when you really feel like you have operate out of items to say, attempt carrying out a little bit much more custom research papers study. There is often something else that you forgot to mention, or possibly go back and elaborate on one thing you spent little time on. Filler terms are never an excellent selection.

    ReplyDelete
  4. Amazing and inspiring work, at least to my uninitiated eye. My area of studies is far from machine learning, but I am fascinated by this field and I'm trying to wrap my head around the main concepts in my spare time. Projects like this are my main source of motivation!

    ReplyDelete
  5. i really thanks for sharing this blog..
    goldenslot

    ReplyDelete
  6. Would be a great step towards artificial intelligence.
    airport parking gatwick

    ReplyDelete
  7. This comment has been removed by the author.

    ReplyDelete
  8. I found this informative and interesting blog so i think so its very useful and knowledge able.I would like to thank you for the efforts you have made in writing this article.
    Data Science course in Chennai | Data science course in bangalore
    Data science course in pune | Data science online course
    Python course in Kalyan nagar

    ReplyDelete
  9. I found your blog while searching for the updates, I am happy to be here. Very useful content and also easily understandable providing.. Believe me I did wrote an post about tutorials for beginners with reference of your blog. 
    java training in jayanagar | java training in electronic city

    java training in chennai | java training in USA

    ReplyDelete
  10. A very nice guide. I will definitely follow these tips. Thank you for sharing such detailed article. I am learning a lot from you.

    rpa training in electronic-city | rpa training in btm | rpa training in marathahalli | rpa training in pune

    ReplyDelete
  11. I’d like to write some material for your blog in exchange for a link back to mine. Please shoot me an email if interested. Thanks.
    safety course institute in chennai

    ReplyDelete
  12. Very creativity blog!!! I learned a lot of new things from your post. It is really a good work and your post is the knowledgeable. Waiting for your more updates...
    Blue Prism Training Institute in Bangalore
    Blue Prism Course in Bangalore
    Blue Prism Training Bangalore
    Blue Prism Classes in Bangalore
    Blue Prism Course in Adyar
    Blue Prism Training in Mogappair

    ReplyDelete
  13. Thanks for your contribution in sharing such a useful information. Waiting for your further updates.

    Article submission sites
    Education

    ReplyDelete
  14. I really thank you for your innovative post.I have never read a creative ideas like your posts.here after i will follow your posts which is very much help for my career.
    Selenium Training in Ashok Nagar
    Selenium Training in Nungambakkam
    Selenium Training in Kelambakkam
    Selenium Training in Padur

    ReplyDelete
  15. This comment has been removed by the author.

    ReplyDelete
  16. And indeed, I’m just always astounded concerning the remarkable things served by you. Some four facts on this page are undeniably the most effective I’ve had.
    Data science Course Training in Chennai | No.1 Data Science Training in Chennai
    RPA Course Training in Chennai | No.1 RPA Training in Chennai

    ReplyDelete
  17. Hello! I just wish to give an enormous thumbs up for the nice info you've got right here on this post. I will probably be coming back to your weblog for more soon!
    big data course malaysia

    ReplyDelete
  18. Quickbooks enterprise support Phone number
    Call the QuickBooks Enterprise phone number for 24 hours support for the Enterprise QuickBook. We are ready to solve QuickBooks Enterprise issues through the QuickBooks Enterprise Support Group. Please contact QuickBook Support Team (+1 (833) 400-1001) for help from a certified QuickBooks specialist.

    ReplyDelete
  19. Quickbooks enterprise support

    Use QuickBooks Enterprise Support Team to fix QuickBooks Enterprise Issues. Please contact QuickBooks Support Team (+1 (833) 400-1001) for help from a certified QuickBooks specialist.

    ReplyDelete
  20. This is a very great post and the way you express your all post details that is too good. thanks for sharing- wpgroup , 9xMovie , TamilMV , Jio Rockers , movieswood , 9xRockers , Full Form .

    ReplyDelete
  21. Here at this site really the fastidious material collection so that everybody can enjoy a lot.

    machine learning training

    ReplyDelete
  22. Really it was an awesome article!!! It was so good to read and used to improve my knowledge as updated one, keep blogging...

    clash of clans mod apk

    ReplyDelete
  23. Nice Post
    For Blockchain training in Bangalore, Visit:
    Blockchain training in Bangalore

    ReplyDelete
  24. This comment has been removed by the author.

    ReplyDelete
  25. Thanks for sharing such valuable information I am also impressed by the creativity of the writer. This is excellent information. Thank you for sharing this valuable informative post about Digital Marketing Services. If you have any another information related Internet Marketing then kindly inform me. I am Sharing usefull imformation about Off Page SEO. It is amazing and wonderful to visit your site

    Whatsapp group links

    ReplyDelete
  26. This is the first & best article to make me satisfied by presenting good content. I feel so happy and delighted. Thank you so much for this article... Post office Recruitment 2020 department is issued a new recruitment Notification 2020 For the Post of Postal Assistant and Postman Jobs...

    ReplyDelete
  27. I found this informative and interesting blog so i think so its very useful and knowledge able.I would like to thank

    7 tips to start a career in digital marketing

    “Digital marketing is the marketing of product or service using digital technologies, mainly on the Internet, but also including mobile phones, display advertising, and any other digital medium”. This is the definition that you would get when you search for the term “Digital marketing” in google. Let’s give out a simpler explanation by saying, “the form of marketing, using the internet and technologies like phones, computer etc”.

    we have offered to the advanced syllabus course digital marketing for available join now.

    more details click the link now.

    https://www.webdschool.com/digital-marketing-course-in-chennai.html

    ReplyDelete
  28. We provide influencer marketing campaigns through our network professional African Bloggers, influencers & content creators.

    ReplyDelete
  29. We develop free teaching aids for parents and educators to teach English to pre-school children. For more info please visit here: English for children

    ReplyDelete

  30. Your astounding wise data involves a lot to me and particularly to my friends. Much obliged a ton; from us all.
    hrdf claimable

    ReplyDelete
  31. On the off chance that you are being mindful to gain proficiency with a few methodologies, at that point you should peruse this article, I am sure you'll get a lot of extra from this article.
    360DigiTMG pmp certification in malaysia

    ReplyDelete
  32. "I can set up my original thought from this post. It gives all around data. A commitment of gratefulness is all together for this essential data for all,

    "HRDF training

    ReplyDelete
  33. I wanted to thank you for this great read!! I definitely enjoying every little bit of it I have you bookmarked to check out new stuff you post.

    Best Institute for Data Science in Hyderabad

    ReplyDelete
  34. Thanks for Sharing This Article.It is very so much valuable content. I hope these Commenting lists will help to my website
    top blockchain online training

    ReplyDelete
  35. Thanks for sharing an informative blog keep rocking bring more details.I like the helpful info you provide in your articles. I’ll bookmark your weblog and check again here regularly.
    Digital Marketing Course in Bangalore

    ReplyDelete
  36. Frankly I don't understand why you lead this site blog when there are instagram and twitter. You can have more successful blog there. If you need to get first followers use this site https://viplikes.net to buy it

    ReplyDelete
  37. Hey, Wow all the posts are very informative for the people who visit this site. Good work! We also have a Website. Please feel free to visit our site. Thank you for sharing.
    Be Your Own Boss! If you're looking for a change in your work prospects, then let's prepare for your career from here!!!
    Self Employment | Women Development | Information Technology | Engineering Courses

    ReplyDelete
  38. <a href="https://easysstudy.blogspot.com/2021/03/pharmacodynamics-by-kkc-easyshare-study.html/>Pharmacodynamic-General introduction</a>

    ReplyDelete
  39. Your blog is very informative and you always update it in order to provide us such kind of knowledge, thanks for the help!
    Kanag
    Top Ranking School in Ghaziabad
    Hearing loss treatment in Meerut
    Online Marketing Company in Meerut

    ReplyDelete
  40. You can write about neural networks and machine learning on instagram. I think such topic will be popular today. From here https://vocal.media/lifehack/instagram-promotion-the-main-do-s-and-don-ts you can read how to get followers for your profile

    ReplyDelete
  41. Everything is your post going to be alright. Are we really being honest
    Computer Full Form and Job Information
    OTT Full Form

    ReplyDelete
  42. Hi, your content is very unique and informative, Keep spreading this useful information. Meanwhile, Here on JustCol you can track down Memen.

    ReplyDelete
  43. A great cryptocurrency to invest in is Score, where you will get a high return on investment. Invest in cryptocurrency today, don't delay.


    Buy Cryptocurrency in UK Online


    Cryptocurrency Risk Framework Company in India

    ReplyDelete
  44. Great post! Thanks for sharing. I like your content its unique and interesting, I have been always a fan of those who have this unique talent of writing unique content
    digital marketing agency pakistan

    ReplyDelete
  45. I like your content its unique and interesting, Best Private School in Bulandshahr I have been always a fan of those who have this unique talent of writing unique content . Best CBSE School in Bulandshahr

    ReplyDelete
  46. Informative article with detailed explanation. Thanks for sharing your work . keep up the good work Angular training in Chennai

    ReplyDelete
  47. Read the comments that have already been made an immense pwer, Best Properties in Gurgaon Exclusive Gurgaon properties for sale at limited edition. Best Real Estate Agent In Gurgaon

    ReplyDelete
  48. I think you should make a video for tiktok about this machine. It is very interesting for people. You can get more followers for your tiktok profile from this site https://soclikes.com/buy-tiktok-followers

    ReplyDelete
  49. Very good article I like this full Form website so please click

    ReplyDelete
  50. در تولید و چاپ تقویم رومیزی و فروش آن سایت های Vajegostar ، Digikala ، Bargcalendar ، Chapmatin جز بهترین ها هستند!

    ReplyDelete
  51. You can attract the right customers to your company by making engaging content like infographics and marketing tutorials online. As soon as they register, you still have work to do by providing them with useful information on a regular basis and trying to close the deal.

    Branding Services
    Digital Marketing Agency

    ReplyDelete
  52. This post is so interactive and informative.keep update more information...
    Selenium Training in Bangalore
    Selenium Training in Pune

    ReplyDelete
  53. You have amazing writing skills and you display them in every article. Keep it going!
    Choose our Online Course Visit Cyber Security Bootcamp

    ReplyDelete
  54. Excellent post!!!. The strategy you have posted on this technology helped me to get into the next level and had lot of information in it.
    Meet And Greet Manchester Airport

    ReplyDelete
  55. Great Blog ! Thank you for sharing this useful information.
    Adobe Commerce Solutions Partner in India

    ReplyDelete
  56. You have shared valuable content. Thank you for sharing such valuable content.
    Digital marketing institute in Gwalior provides you the best digital marketing course for your digital growth.

    ReplyDelete
  57. Hi. The substance of the essay holds immense importance as well. When it comes to essays, it is essential to have informative content. Merely filling the pages with unnecessary words to meet the page requirement will result in a negative evaluation and substantial criticism.Here is sharing some AngularJS Training information may be its helpful to you.
    AngularJS Training

    ReplyDelete
  58. A thought-provoking dive into AI consciousness — where logic meets imagination. Fascinating concept!

    <a href="https://digitalfloats.com/graphic-design-course-in-
    hyderabad/">new A machine that can dream : NP Contemplation
    ;/a>

    https://digitalfloats.com/graphic-design-course-in-hyderabad/






    ReplyDelete