Skip to main content

Machine Unlearning #5 (Reinforcement Learning)

Machine Unlearning is a series broken up into tiny, one-minute readable pieces to humor our ever-shortening attention span. Sharing the links to every single piece right below:

Reinforcement Learning is a slightly different learning model than the other techniques that we have discussed previously. Therefore, I wouldn’t be able to explain the same using the fruit basket example that we have been using all this while. Let’s replace apples and oranges with self-driving cars!

Suppose that you are at Google or Tesla and are trying to train a car to drive by itself! How would you go about that? Driving requires the knowledge of much more than turning the ignition on and steering the wheel. You should know to keep the side of the road, to stop at the red signal, or to keep off the footpath, for instance.

You decide not to overwhelm the poor machine by laying out all the rules at once. Instead, you take an “on the fly” approach, by letting the car take decisions in a real-time manner, and by giving feedback on the merit of the decision taken.

If the car stops at a red light, you reward it by giving positive feedback. If the car sways off the road and runs over people sleeping on the footpath, you punish it by giving it negative feedback. The car learns by repeating the decisions that gave it positive feedback and avoiding the decisions that gave it negative feedback.

Now, for the real world story. My mother - a brown-skinned Indian - used to be teased by some of her brown-skinned relatives, for being dark-skinned. As a result, she grew up with the notion that dark-skinned was bad (negative feedback). Whenever she used to try out a bright colored outfit, they would chide her by saying that the bright colors did not compliment her complexion. The repeated feedback reinforced this belief in her mind, and she resorted to wearing pale-colored clothes during the colorful years of her youth. It took her years of unlearning to realize that dark colors did in fact suited her well.

Not just her relatives, but the teachers at her school, who are supposed to be implanting progressive thoughts in young minds, were guilty of reinforcing regressive ideas. She used to recall accounts of the nuns who ran the Convent School she was a student of slut-shaming students for coming to school with a bright bindi on their forehead. Sweet Jesus!


Popular posts from this blog

Movie Review : The Cabinet of Dr. Caligari

Title : The Cabinet of Dr. Caligari Language : Silent Movie Year : 1920 Director : Robert Wiene Genre : Horror IMDB Link Watch movie on YouTube Lead Role :   Friedrich Feher, Werner Krauss The movie is widely acknowledged as one of the landmark revolutionary offerings from the long gone era when movies did not speak. It may be technically incorrect to call a silent film German, nevertheless it was made in Germany during a time period when the European nation was in turmoils after the devastating World War I. The story begins with a young man by the name of Francis starts narrating the hardships faced by him and his fiancee (Jane) and the very peculiar, even horrifying doings of a strange man, Dr. Caligari. Dr. Caligari owns a stall at a nearby exhibition, and on display is a somnambulist Caeser, who allegedly has slept for 23 straight years! The doctor awakens him, and he answers questions asked by the spectators. To the horror of the locals, his prophecies comes true. Mean

Planet Perillamus

  Planet Perillamus An excited Ethoruthan broadcasted his findings to the Inter Universe Lifeform Detection Council. ‘I have discovered life on another planet.’ ‘Oh not again, Mx Ethoruthan!’, the Chairman of the council, Dan Maraman, shot back.‘ This is the eleventh time you are making such a claim over the last six months. How many missions have we launched to verify your claim - and have even one bore any result? These voyages are damn expensive, you know.’ ‘Please hear me out, Mx Maraman! This is not like the previous cases. I have proof.’ ‘What proof?’ Senior agent Thengaenthu was intrigued. ‘Do I have permission to present my thoughts to the council?’ Ethoruthan asked Maraman, Dan. ‘Yeah! You may.’ the Chairman relented warily. ‘Okay here is the interesting part. The life forms on this planet have devised something called movies - where some of them write unreal descriptions about unreal persons, and someone else would behave like those unreal persons. These behaviors would be re

This and that

You might have come across this joke that has been doing rounds for years now. Let me tell it to you nevertheless. It unfurls in a classroom, where the teacher is conducting an exam. The students are to write an essay on coconut trees. (What other topic to write on in a state named after coconut trees!) While all the kids went gaga over it, Veer was yet to write a word. Veer was not from the state named after coconut trees, and he knew scant about those. This is not to imply that his was a gone case. He decided to make up for his lack of knowledge in coconuts by leveraging his extensive knowledge about cows. This is how we wrote his essay: Coconut trees are good trees. We have a coconut tree in our backyard. My uncle ties our cow to the coconut tree in the afternoon. The cow gives us milk everyday. My uncle loves our cow very much... In a system that rewards on the basis of the number of words written rather than the sense it carries, Veer passed the test in flying colors. He later hel