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!


Comments

Popular posts from this blog

Cut-Da Punjab

If you are a movie buff, you would have heard of the censorship issues regarding the upcoming Bollywood feature, Udta Punjab. If you are a politically conscious person, you would have heard of the censorship issues regarding the upcoming Bollywood feature, Udta Punjab. If you are a rationally thinking person, you would have heard of the censorship issues regarding the upcoming Bollywood feature, Udta Punjab. In short, if you are someone who breathes and lives on the planet Earth, you would have a heard of the censorship issues regarding the upcoming Bollywood feature, Udta Punjab. For such is the magnitude of double standards and apolitical agenda adopted by the CBFC. First, let us be politically correct: 1.        CBFC is not Censor Board. It stands for Central Board of Film Certification. 2.        The Board has not banned Udta Punjab.          Wait, if the movie is not banne...

ശബ്ദം നാമജപത്തിന് മാത്രം : ഭാഗം 1

അമ്മാ! ഒരു കഥ പറഞ്ഞു തരോ? കഥയോ? എന്താ മോനൂന് ഉറക്കം വരണില്യേ? കേട്ടാൽ ഉറക്കം വരണ കഥയല്ല അമ്മ. നല്ല കഥ വേണം. എന്നാ ഞാൻ ഒരു കഥ സൊല്ലട്ടുമാ? എന്ത് കഥയാ അച്ഛാ? വിക്രത്തിന്റെയും വേദയുടെയും കഥ. ആ നന്നാവും. കണ്ട തമിഴ് പടത്തിലെ ഗുണ്ടാ കഥയല്ലേ മക്കൾക്ക് പറഞ്ഞു കൊടുക്കാൻ പറ്റീത്. കഥയൊക്കെ ഞാൻ പറഞ്ഞു കൊടുക്കാം. മോന് ഞാൻ പുരാണ കഥ പറഞ്ഞു തരാം. അമ്മൂമ്മ പറയണ പോലത്തെ കഥയാണോ? ശ്രീകൃഷ്ണന്റെ? ആ അതുപോലത്തെ. ഇന്ന് ശ്രീരാമന്റെ കഥ പറയാം. ആരാ അമ്മെ ശ്രീരാമൻ? വിഷ്ണു ഭഗവാന്റെ അവതാരം ആണ് മോനെ. അമ്മൂമ്മ പറഞ്ഞത് കൃഷ്ണൻ ആണ് വിഷ്ണുവിന്റെ അവതാരം ന്നാണല്ലോ. വിഷ്ണു ഭഗവാന് കുറെ അവതാരങ്ങൾ ഉണ്ട് മോനെ. ലോകത്ത് അനീതി കൂടുമ്പോൾ നീതി പുനഃസ്ഥാപിക്കാൻ ഭഗവാൻ അവതരിക്കും. ആഹാ. ജീസസ് വിഷ്ണുവിന്റെ അവതാരം ആണോ അമ്മെ? ഏഹ്! അല്ലടാ. യേശു വേറേ ഒരു ദൈവമാ. വേറെ ദൈവോ? അപ്പൊ എത്ര ദൈവങ്ങളുണ്ട്? കുറെ ഉണ്ട്. അതെന്തിനാ കുറെ ദൈവങ്ങൾ? നിനക്ക് കഥ കേൾക്കണോ? ഉം. എന്നാ മിണ്ടാണ്ടിരുന്ന് കേൾക്ക്. കഥയിൽ ചോദ്യമില്ല. അങ്ങനെ അവൻ മിണ്ടാതെ ഇരുന്ന് കഥ മുഴുവൻ കേട്ടു. അയോദ്ധ്യ ...

Mix Tape

This is a personal write up. Since people are generally interested in other people's affairs, I thought why not blog it as well. So the music day happened last Wednesday. For someone who is into songs whenever conscious, every day is a music day. Still, June 21 made me think of the songs that are very special to me. I just wanted to think across years, picking up songs and the memories associated to it, and put it all together in one place. Like a mix tape of sorts. I am not sure if the concept of mix tape is relevant anymore. It once was, when all you had was ordinary tapes. Now with everyone's shuffle playlists boasting of more diversity than any mix tape could possibly have, mix tapes have lost their charm. 1. Vaseegara - Minnale  Tamil movie Minnale came out in early 2000s, back when I was a school going boy. The innocent type. The shy-to-talk-to-girls type. I hear this song, and it's like I am transformed into a magical world. No other piece of musi...