Pages

Monday, November 17, 2014

Neighbourhood Gerrymandering: An Approach to Discriminative Metric Learning via Latent Structured Prediction

An informal summary of a recent project I had some involvement in.
Motivation: Why care about Metric Learning?
In many machine learning algorithms, such as k-means, Support Vector Machines, k-Nearest Neighbour based classification, kernel regression, methods based on Gaussian Processes etc etc – there is a fundamental reliance, that is to be able to measure dissimilarity between two examples. Usually this is done by using the Euclidean distance between points (i.e. points that are closer in this sense are considered more similar), which is usually suboptimal in the sense that will be explained below. Being able to compare examples and decide if they are similar or dissimilar or return a measure of similarity is one of the most fundamental problems in machine learning. Ofcourse a related question is: What does mean by “similar” afterall?
To illustrate the above let us work with k-Nearest Neighbour classification. Before starting, let us just illustrate the really simple idea (of kNN classification) by an example: Consider the following points in \mathbb{R}^2, with the classes marked by different colours.
2DPoints
Now suppose we have a new point – marked with black – whose class is unknown. We assign it a class by looking at the nearest neighbors and taking the majority vote:
kNN
Some notes on kNN:
A brief digression first before moving on the problem in the above (what is nearest?). kNN classifiers are very simple and yet in many cases they can give excellent performance. For example, consider the performance on the MNIST dataset, it is clear that kNN can give competitive performance as compared to other more complicated models.
MNIST
Moreover, they are simple to implement, use local information and hence are inherently nonlinear. The biggest advantage in my opinion is that it is easy to add new classes (since no retraining from scratch is required) and since we average across points, kNN is also relatively robust to label noise. It also has some attractive theoretical properties: for example kNN is universally consistent (as the number of points approaches infinity, with appropriate choice of k, the kNN error will approach the Bayes Risk).
Notion of “Nearest”:
At the same time, kNN classifiers also have their disadvantages. One is related to the notion of “nearest” (which falls back on what was talked about at the start) i.e. how does one decide what points are “nearest”. Usually such points are decided on the basis of the Euclidean distance on the native feature space which usually has shortfalls. Why? Because nearness in the Euclidean space may not correspond to nearness in the label space i.e. points that might be far off in the Euclidean space may have similar labels. In such cases, clearly the notion of “near” using the euclidean distance is suboptimal. This is illustrated by a set of figures below (adapted from slides by Kilian Weinberger):
An Illustration:
Consider the image of this lady – now how do we decide what is more similar to it?
 Lady-Who
Someone might mean similar on the basis of the gender:
Lady-GenderOr on the basis of age:
Lady-Age
Or on the basis of the hairstyle!
Lady-Hair
Similarity depends on the context! Something that the euclidean distance in the native feature space would fail to capture. This context is provided by labels.
Distance Metric Learning:
The goal of Metric Learning is to learn a distance metric, so that the above label information is incorporated in the notion of distance i.e. points that are semantically similar are now closer in the new space. The idea is to take the original or native feature space, use the label information and then amplify directions that are more informative and squish directions that are not. This is illustrated in this figure – notice that the point marked in black would be incorrectly classified in the native feature space, however under the learnt metric it would be correctly classified.
MetricLearningAmp
It is worthwhile to have a brief look at what this means. The Euclidean distance (with x_i \in \mathbb{R}^d) is defined by
\sqrt{(x_i - x_j)^T (x_i - x_j)}
as also was evident in the above figure, this corresponds to the following euclidean ball in 2-D
EucBall
A family of distance measure may be defined using an inner product matrix. These are called the Mahalanobis metrics.
\sqrt{(x_i - x_j)^T \mathbf{W}(x_i - x_j)}
Mahal-Ball
The learnt metric affects a rescaling and rotation of the original space. The goal is now to learn this \mathbf{W} \succeq 0 using the label information so that the new distances correspond better to the semantic context. It is easy to see that when \mathbf{W} \succeq 0, the above is still a distance metric.
Learning \mathbf{W}:
Usually the real motivation for metric learning is to optimize for the kNN objective i.e. learn the matrix \mathbf{W} \succeq 0  so that the kNN error is reduced. But note that directly optimizing for the kNN loss is intractable because of the combinatorial nature of the optimization (we’ll see this in a bit), so instead, \mathbf{W}is learnt as follows:
1. Define a set of “good” neighbors for each point. The definition of “good” is usually some combination of proximity to the query point and label agreement between the points.
2. Define a set of “bad” neighbours for each point. This might be a set of points that are “close” to the query point but disagree on the label (i.e. inspite of being close to the query point they might give a wrong classification if they were chosen to classify the query point).
3. Set up the optimization problem for \mathbf{W} such that for each query point, “good” neighbours are pulled closer to it while “bad” neighbours are pushed farther away, and thus learn \mathbf{W} so as to minimize the leave one out kNN error.
The exact formulation of “good” and “bad” varies from method to method. Here are some examples:
In one of the earliest papers on distance metric learning by Xing, Ng, Jordan and Russell (2002) – good neighbors are similarly labeled k points. The optimization is done so that each class is mapped into a ball of fixed radius. However no separation is enforced between the classes. This is illustrated in the following figure (the query point is marked with an X, similarly labeled k points are moved into a ball of a fixed radius):
XingNgJordan
One problem with the above is that the kNN objective does not really require that similarly labeled points are clustered together, hence in a way it optimizes for a harder objective. This is remedied by the LMNN described briefly below.
One of the more famous Metric Learning papers is the Large Margin Nearest Neighbors by Weinberger and Saul (2006). Here good neighbors are similarly labeled k points (and the circle around x is the distance of the farthest of the good neighbours) and “worst offenders” or “bad” neighbours are points that are of a different class but still in the nearest neighbors of the query point. The optimization is basically a semidefinite program that works to pull the good neighbours towards the query point and a margin is enforced by pushing the offending points out of this circle. Thus in a way, the goal in LMNN is to deform the metric in such a way that the neighbourhood for each point is “pure.
LMNN
There are many approaches to the metric learning problem, however a few more notable ones are:
1. Neighbourhood Components Analysis (Goldberger, Roweis, Hinton and Salakhutdinov, 2004): Here the piecewise constant error of the kNN rule is replaced by a soft version. This leads to a non-convex objective that can be optimized by gradient descent. Basically, NCA tries to optimize for the choice  of neighbour at the price of losing convexity.
2. Collapsing Classes (Globerson and Roweis, 2006): This method attempts to remedy the non-convexity above by optimizing a similar stochastic rule while attempting to collapse each class to one point, making the problem convex.
3. Metric Learning to Rank (McFee and Lankriet, 2010): This paper takes a different take on metric learning, treating it as a ranking problem. Note that given a fixed p.s.d matrix \mathbf{W} a query point induces a permutation on the training set (in order of increasing distance). The idea thus is to optimize the metric for some ranking measure (such as precision@k). But note that this is not necessarily the same as requiring correct classification.
Neighbourhood Gerrymandering:
As a motivation we can look at the cartoon above for LMNN. Since we are looking to optimize for the kNN objective, the requirement to learn the metric should just be correct classification. Thus, we should need to push the points to ensure the same. Thus we can have the circle around x as simply the distance of the farthest point in the k nearest neighbours (irrespective of class). Now, we would like to deform the metric such that enough points are pulled in and pushed out of this circle so as to ensure correct classification. This is illustrated below.
MLNG
This method is akin to the common practice of Gerrymandering, in drawing up borders of election districts so as to provide advantages to desired political parties. This is done by concentrating voters from a particular party and/or by spreading out voters from other parties. In the above, the “districts” are cells in the Voronoi diagram defined by the Mahalanobis metric and “parties” are class labels voted for by each neighbour.
 Motivations and Intuition:
Now we can step back a little from the survey above, and think a bit about the kNN problem in somewhat more precise terms so that the above approach can be motivated better.
For kNN, given a query point and a fixed metric, there is an implicit latent variable: The choice of the k “neighbours”.
Given this latent variable – inference of the label for the query point is trivial – since it is just the majority vote. But notice that for any given query point, there can exist a very large number of  choices of k points that may correspond to correct classification (basically any set of points with majority of correct class will work). Now we basically want to learn a metric so that we prefer one of thesesets over any set of k neighbours which would vote for a wrong class. In particular, from the sets that affects correct classification we would like to pick the set that is on average most similar to the query point.
We can write kNN prediction as an inference problem with a structured latent variable being the choice of k neighbours.
The learning then corresponds to  minimizing a sum of structured latent hinge loss and a regularizer. Computing the latent hinge loss involves loss-augmented inference - which is basically looking for the worst offending k points (points that have high average similarity with the query point, yet correspond to a high loss). Given the combinatorial nature of the problem, efficient inference and loss-augmented inference is key. Optimization can basically be just gradient descent on the surrograte loss. To make this a bit more clear, the setup is described below:
Problem Setup:
Suppose we are given N training examples that are represented by a “native” feature map, \mathbf{X} = \{x_1, \dots, x_N\} with x_i \in \mathbb{R}^d with class labels \mathbf{y} = [y_1, \dots, y_N]^T with y_i \in [\mathbf{R}], where [\mathbf{R}] stands for the set \{1, \dots, \mathbf{R}\}.
Suppose are also provided with a loss matrix \Lambda with \Lambda(r,r') being the loss incurred by predicting r' when the correct class is r. We assume that \Lambda(r,r) = 0  and \forall (r,r'), \Lambda(r,r') \geq 0.
Now let h \subset \mathbf{X} be a set of examples in \mathbf{X}.
As stated earlier, we are interested in the Mahalanobis metrics:
D_W(x,x_i) = (x-x_i)^T W (x-x_i)
For a fixed W we may define the distance of h with respect to a point x as:
\displaystyle S_W(x,h) - \sum_{x_j \in h} D_W(x, x_j)
Therefore, the set of k-Nearest Neighbours of x in \mathbf{X} is:
h_W(x ) = \arg\max_{|h|=k} S_W(x,h)
For any set h of k examples from \mathbf{X} we can predict the label of x by a simple majority vote.
\hat{y}(h) = majority\{y_j: x_j \in h\}
The kNN classifier therefore predicts \hat{y}(h_W(x)).
Thus, the classification loss incurred using the set h can be defined as:
\Delta(y,h) = \Lambda(y,\hat{y}(h))
Learning and Inference:
One might want to learn W so as to minimize the training loss:
\displaystyle \sum_i \Delta(y_i, h_W(x_i))
However as mentioned in passing above, this fails because of the intractable nature of  the classification loss \Delta. Thus we’d have to resort to the usual remedy: define a tractable surrograte loss.
It must be stressed again that the output of prediction is a structured object h_W. The loss in structured prediction penalizes the gap between score of the correct structured output and the score of the “worst offending” incorrect output. This leads to the following definition of the surrogate:
L(x,y,W) = \max_h [S_W(x,h) + \Delta(y,h)] - \max_{h: \Delta(y,h) = 0} S_W(x,h)
This corresponds to our earlier intuition on wanting to learn W such that the gap between the “good neighbours” and “worst offenders” is increased.
So, although the loss above was arrived at by intuitive arguments, it turns out that our problem is an instance of a familiar type of problem: Latent Structured Prediction and hence the machinery for optimization there can be used here as well. The objective for us corresponds to:
\displaystyle \min_W \| W\|^2_{F} + C \sum_i (L(x_i, y_i,W))
Where \| \cdot \|_F is the Frobenius norm.
Note that the regularizer is convex, but the loss is not convex to the subtraction of the max term i.e. now it is a difference of convex functions which means the concave convex procedure may be used for optimization (although we just use stochastic gradient descent). Also note that the optimization at each step needs an efficient subroutine to determine the correct structured output (inference of the best set of neighbours) and the worst offending incorrect structured output (loss augmented inference i.e. finding the worst set of neighbors). Turns out that for this problem this is possible (although not presented here).
It is interesting to think about how this approach extends to regression and to see how it works when the embeddings learnt are not linear.

Oreo Owl Cupcake

Intensely chocolaty and moist Oreo Owl Cupcakes are the cutest way to celebrate a festival like Halloween! Or you could just make ‘em this way all the time! :)

Oreo Owl Cupcake Recipe Tutorial | Fun Halloween & Easter Treats
Oreos and Chocolate in a Cupcake can only mean that cupcake is going to be the most popular cupcake in the history of cupcakes. Am I Right or am I Right? ;)
I’m lately obsessed with finding simple tweaks that could change the way we look at food! Take this chocolate cake for example. Can you tell that this is nothing but a simple chocolate sponge cake? Doesn’t the addition of a bit of powdered sugar just take it up a notch?
A somewhat similar experiment led to the discovery of my Oreo Owl Cupcake. Bake dark chocolate cupcakes. Dip them in chocolate ganache. Break off some Oreo cookies and stick them onto the cupcake. Dip M&M / Gems / similar round candies in chocolate ganache and place them for eyes. Congratulations. You just made an Oreo Owl Cupcake – or a few dozen of them!
Oreo Owl Cupcake Recipe | Fun Halloween & Easter Treats I intended for it to be scary, but it turned out cute! And one of my recipe-tasters even remarked that it looks like a bunny. But I think they look like owls. What do you think?

Oreo Owl Cupcake Recipe – Printable Option

Oreo Owl Cupcake
 
Prep time
Cook time
Total time
 
Author: 
Serves: 6-8 medium cupcakes
Ingredients
For the Chocolate Cupcakes
  • 1 cup All Purpose Flour
  • ¼ cup Cocoa Powder (if you don't want a darker cupcake, reduce the amount)
  • ⅔ cup Powdered Sugar (adjust for sweetness)
  • ½ teaspoon Baking Soda
  • 1 teaspoon Baking Powder
  • a pinch of Salt
  • ¼ cup Vegetable Oil
  • ¾ cup Buttermilk (Or ½ cup Yogurt mixed with ¼ cup water)
For the decoration
  • Chocolate Frosting (Ganache, Fudge, Etc.)
  • Oreo Cookies (preferably with vanilla cream)
  • M&M candies / Gems / Other round flat candies
  • Melted Chocolate - optional
Instructions
For the Chocolate Cupcakes
  1. Mix all the dry ingredients - flour, sugar, cocoa powder, salt, baking soda, baking powder
  2. Add the oil & buttermilk and mix to form a smooth batter
  3. Fill ¾th of the cupcake molds. Bake at 160 C for 30 minutes.
  4. Let the cupcakes cool completely
To decorate an Oreo Owl Cupcake
  1. Open up a few Oreo cookies carefully.
  2. Dip the Chocolate cupcake in chocolate ganache / other chocolate frosting
  3. Place the 2 of the cream part of the Oreo Cookies on the top end of the cupcakes. These form the EYES for the owl
  4. Break the non-cream part of the Oreo cookies to resemble wings. Gently press 2 of the wings on top of the eyes.
  5. Dip the M&M / gems in Chocolate frosting / melted chocolate and place on the bottom center of the cream part of the EYES.
  6. Press one M&M in the middle of the cupcake to represent a NOSE.
  7. Chill the cupcakes for at least 20 minutes to set them
  8. Enjoy!

 Oreo Owl Cupcake Recipe – Step by Step

Mix dry ingredients and add the oil & buttermilk
Oreo Owl Cupcake Recipe Tutorial | Fun Halloween & Easter Treats
Mix to form a smooth batter
Oreo Owl Cupcake Recipe | Fun Halloween & Easter Treats
Add to cupcake molds & bake for 30 minutes at 160 C.
Oreo Owl Cupcake Recipe | Fun Halloween & Easter Treats
Dip each cupcake in Chocolate Ganache or apply some fudge frosting. Place 2 Oreo Cookies and place them for eyes. (I got the chocolate oroes. Try to get vanilla instead)
Oreo Owl Cupcake Recipe | Fun Halloween & Easter Treats
Dip 2 M&M or Gems in Chocolate Ganache / Melted Chocolate and place it on the Oreo cream for eyes. Place another similar one for nose (do not dip in chocolate for nose)
Oreo Owl Cupcake Recipe | Fun Halloween & Easter Treats
Chill them for at least 20 minutes for everything to set. Enjoy!
Oreo Owl Cupcake Recipe | Fun Halloween & Easter Treats 

Sunday, November 16, 2014

“My boss is always touching me”

laptop1It is said that getting a good boss is almost as important as getting a good husband. While your personal life depends a lot on the kind of husband you have, the route your career graph will take in a particular company, also depends on a good boss. You might work your a** off, but if your boss doesn’t think you have done enough, or doesn’t like you in the first place, he/she might royally …umm… finish you in the appraisals. There’s hardly anything you can do about it. Except, of course, leave the job and hope that you get a better boss in the next one.
In my entire career I have dealt with all kinds of bosses – the good and the bad, the moody and the pervert, the committed and the unprofessional…the list can go on. In the early part of my career I have dealt with a boss (lady) who was beautiful and immensely talented, but would turn up in office at 6pm when we were ready to go home after finishing the day’s work. She would walk in, take a look at the pages (I worked in a newspaper) change everything, and make us sit in office, till late, implementing the changes.
I have had men bosses who noticed the colour of my lipstick and told me what clothes to wear, bosses who believed that hitting the bar during office hours was perfectly normal, and bosses who thought calling my landline at 6am to tell me that a comma was missing in my article, was perfectly normal too.
But the boss I am going to talk about now takes the cake. I must say I was not really prepared for this new job and the boss I would have to deal with. But with time I have got used to it and the mantra is to “keep the boss happy” so I guess I have to follow that.
My new boss believes in starting the day with a kiss and there is no way I can say no. There are times I find him arching over my shoulders when I am working on my laptop with his eyes glued to the screen trying to catch what I have written. Sometimes I say that I feel distracted if he does this, sometimes I don’t. It rarely makes a difference to him.
Then he touches my shoulders and says, “Do you need a massage?” I know he wouldn’t like it if I said “no”. So I have to say “yes”. I must say he is quite good at it and it is relaxing to get a nice massage like that during my workday, but sometimes what happens is that his hands just slip from my shoulders to any part of my body and he touches me just about anywhere without any inhibition. Then he asks me to stand up because he wants to give me a hug. I have to relent immediately. He is my boss after all.
He is a control freak too. He likes to work out my schedule for me. If he sees me too engrossed at my laptop he would send me off to get him a glass of juice (yes that’s my job too) and maybe a pack of potato chips with it if he is in the mood. Most of the days after work I have to go out with him and accompany him in all his evening activities which might be cycling, swimming or just taking a walk. He says he wants me around because he enjoys my company and when we are walking he always holds my hand.
It’s a tough job because I have to do exactly what he wants. And he is constantly watching my every move. Sometimes he even wants to accompany me to the bathroom. But that is one thing I have managed to say no to.
But all said and done, this is the BEST boss I have ever had. I know I have to be on my toes constantly in this job and give myself up completely to his whims, but I somehow enjoy it.
In case you are thinking that I am out of my mind I am not. I am a full-time mom (now don’t tell me that’s not a job), who works from home sometimes and my boss is my three and a half year old son. I have been in this job for the last two and a half years and so far my career graph has been on the way up.
My boss has been happy with my performance and has been giving me consistent A’s in my weekly appraisals, in every possible colour, on his sketch book. Clearly, I have managed to keep the boss happy.
I have written this today because today is Children’s Day and this goes out to all those lovely little bosses who make a mom’s life worthwhile.
PS: Even when I am uploading this I am being asked by my boss to hurry up because he needs the laptop for his work, which is watching Tom and Jerry on Youtube.

Hey India, you didn't build that!


InfrastructureIf I had to analyze why -- despite its ancient culture, knowledge, enterprise and natural resources --  India remains home to more poverty and deprivation than sub-saharan Africa... here's what I'd say:
Infrastructure.
Ugh. What a boring word. Conjures up ads for cement (they're EVERYWHERE in India);  utilitarian bridges, dams and sewer lines; industrial bits that do the unseen work in cities, keeping nasty things flowing away, and clean things in abundance. How many journalists are clamoring to write about the preponderance of underground piping or trash collection mechanisms, when there are far sexier things to reveal:  starving kids, colorful eunuchs, epic graft and Bollywood! 
But the recent US presidential election briefly put a spotlight on infrastructure as a moral issue. If you build it, everyone benefits. Paradoxically, I think it's the issue of equalitywhich ensures that infrastructure remains a luxury in India, despite more than a decade of promises.
See, everyone in India doesn't 'need' infrastructure. The poor and ignorant were born that way and are destined to die that way and no one should really bother, because it's their own karma. Even if you improve their lives, 'it won't do them any good.' 
The worthy folk (upper castes, middle classes, power-hungry politicos, old money, foreigners, etc) can just buy their own personal infrastructure. Need clean water? Install a state-of-the-art reverse osmosis filter in your kitchen. But really, why bother with a functional kitchen at all? It's only the silly maid who'll be using it. Drains blocked? Hire some wretch to clean your shit out by hand from under the manhole in the street.
Want to educate your kids? Pay a private school a suitcase full of cash to reform your runts. Roads? Who cares if they function, it's only the silly driver who will negotiate the potholes, pedestrians and traffic chaos.
India's elite have become all too accustomed to their own cheap personal infrastructure. Servants, they're called, and they are the wretches doomed to plug the comfort gaps for their masters. 
'Oh but otherwise they wouldn't have a job!' say the employers, convinced of their realpolitik. 
And so the merry-go-round of misery swirls on. There's little sign of improvement, so even the poor convince themselves that a kick in the teeth and a penny or two is progress. 
Yet there's simply no escaping that this mentality keeps India in a hopeless, lose-lose situation. 
If you've ever been to Delhi or Mumbai, I'm sure you've noticed how pristine BMW's and Lexus cars drive down streets that look like film sets for civil-war Beirut. Like the photo above (taken just outside my very posh Delhi neighborhood, home to armies of powerful journalists, politicians and administrators), India is a hodge-podge of modern muck, broken streets, ill-equipped public institutions, smelly toilets, wonky buildings; all liberally peppered with idiotically expensive homes and cars. Never mind the everyday, unspeakable police brutality, the numbers of anonymous, homeless dead, nor the millions of children enslaved in beggary or sweatshops. 
Still, half the time, you can just about blur out the lack of infrastructure. So it's stupidly hot, there are no trees, and no building codes requiring insulation? Just fire up the air conditioners!
Water ran out? Ahhh, just jump start the pump and suck more out of the ground. Power failure? No worries, the Krypton-sized back-up battery pack will kick in!
Internet signal as fast and constant as a snail's trail? Hmmm, actually, there's not much you can do about that. Neither can you do much to prevent your kid ending up crammed in with 39 others, even in your posh private school. And worse, you can't anticipate when one of you will come home burning with mosquito-borne dengue fever, or brain worms because the city is literally awash with raw sewage.
The ultimate karmic punch of course is when your fancy car gets smashed to pieces in lawless traffic... and even if the city has an ambulance, it will never reach you in time because of poor roads, girdlock and often, simply because people will stubbornly remain in their spots, refusing to give way. 'Hey, everyone here's got problems!'
I don't believe these failings have anything to do with culture. Indian culture is filled with altruistic, progressive ideas and India is filled with lower, middle and upper class people desperately trying to improve the status quo. Take an Indian out of India, and most likely, he or she will thrive. 
They do have everything to do with a total lack of law enforcement and the fact that an incredibly well entrenched group of morally bankrupt, cowardly, intellectually adolescent men and women run this country's Parliament, legislative assemblies and administration.
Until India strips bare the fantasy that a few grand malls, a few mega-movie stars and a few rich billionaires make for a successful nation, even a world power; until people confront the stinking, ghastly mess outside the few gated communities; and until the powerful make a united moral call to invest in clinics, doctors, schools, teachers, clean water, toilets, nutrition and education, India will remain a disappointment to itself and to the world; a stunted, incapable nation where enterprise is smothered at birth.
Recently, listeners challenged the BBC World Service on its coverage of the Boston marathon bombings. Why, they asked, did the deaths of three people deserve so many hours of coverage, when scores of people die everyday in other parts of the world, unmentioned. 
I can't speak for BBC editors - indeed I'm a long way away from those decision makers. But as someone who has spent many years covering international news stories day to day, I can't deny the fundamental fact that some countries value their citizens' lives more than others. And to an extent, the rest of world including the news media, can only follow suit in reflecting that. 
If charity begins at home, so too does respect...  It's rather obvious that if the United States is willing to invest millions of dollars in safeguarding lives... when the city of Boston can shut down and deploy every last law enforcement officer to hunt for the killers of a child, an immigrant and a woman... then the world is obviously going to take notice too. 
Conversely, when you can't be bothered to protect innocent infants from drinking shitty water; when you don't care if people die in agony of treatable diseases; when you're quite happy to cheat others to make sure you pocket a few extra bucks; when you think a few cell phones will reduce poverty, rather than the availability of a good solid meal, a solid home, and schools for children ... well then, the world will reflect that contempt. 
Yeah, infrastructure is boring, especially when you've got it. 

Why these Devadasis refused to dance to God’s tune

In our entire life we probably haven’t met one of them, and chances are we never would, but as soon the word “Devadasi” is mentioned to us our mind gets transported to the era of the Maharajas, to the Nat Mandir (dance hall of the temple) where a beautiful woman, resplendent in gold is dancing in front of God, in a classical dance style Odissi or Bharathanatyam.
Devadasis in ancient India
Devadasis in ancient India
But the adult and the enlightened mind knows that behind this beautiful picture is also the picture of a young girl sacrificed to the service of God, shackled to a life of sexual exploitation that throws her into a vicious cycle of social manipulation where a Davadasi’s daughter has to become a servant of God.
In fact, this post that I am writing today is about a few Devadasis in Karnataka who refused to continue to dance to the tune of Goddess Yellamma, to whose service they were dedicated at the age of six or seven. They wanted a way out of the system and send their children to school and its people like you and me who have shown them the way.
When the NGO Milaap – you must have noticed them appearing in pop ups in numerous websites asking you to loan (mind it not donate) Rs 2500, to someone who needs it to change his or her life – claimed they have been helping Devadasis find a new future I wanted to know more. I came to know Milaap has joined hands with Mahila Abhivrudhimathu Samrakshana Samsthe (MASS) a collective of former Devadasis, and has been giving out loans to Devadasis to build a life for themselves.
I wrote to Sourabh Sharma, founder of Milaap.org and wanted to know real stories. Sourabh immediately got back with the relevant information. I realized the success stories are heart-warming and what is more fascinating is so many people have played a part in these success stories just by lending a part of their own income to the people who need it more.
A former Devadasi herself, Mahananda has employed four former Devadasis in her sewing business
A former Devadasi herself, Mahananda has employed four former Devadasis in her sewing business
Success story 1: Mahananda
This 34-year-old woman now employs four former Devadasis in her sewing enterprise. Her younger daughter studies in class eight, and plans to pursue a career in science. “Girls should prosper. I have painstakingly brought my daughters up so that they are able to live a good life and I want to see them prosper,” she says.
Shobha could not find employment for years till she started on her own, raising buffalos and selling milk
Shobha could not find employment for years till she started on her own, raising buffaloes and selling milk
Success Story 2: Shobha
Every year she made a promise to herself that she would find some job to earn a legitimate living but every year she realized no one was willing to employ a Devadasi. Every year she went back to selling her body but she was determined none of her four children would see the life she had seen.
So Shobha registered for help from MASS and Milaap and learned to raise buffaloes and sell their milk. She applied for a loan, and used the money to buy a buffalo. She saved, repaid her loan, and requested another. She bought more buffaloes, earned more. Today, she is securely out of the Devadasi system and her children are in school.
After Mangal's grocery store took off she got a marriage proposal which she accepted
After Mangal’s grocery store took off she got a marriage proposal which she accepted
Success Story 3: Mangal
Mangal’s success with her grocery store not only gave her and her teenage children a new life of dignity – it also got her a husband (given that no one marries Devadasis). They have a child together. And Mangal, who realized the importance of financial independence, continues to grow her business.
Here’s what I found out about the Devadasi system:
Does the Devadasi system still exist?
Although states like Orissa, Maharashtra, Tamil Nadu, Andhra Pradesh and Karnataka claim that they have done away with the Devadasi system, Karnataka even passed the Devadasi (Prohibition of Dedication) Act in 1992 the National Commission of Women found out that Andhra Pradesh had 16,624 Devadasis within its state and Karnataka has around 22,941.
Mala took her first leap out of the Devadasi system when she opened her pan shop
Mala took her first leap out of the Devadasi system when she opened her pan shop
Who is a modern-day Devadasi?
French-American author Catherine Rubin Kermorgant spent four years researching among Devadasi women in Karnataka. She interviewed five women and wrote her bookServants of the Goddess: the modern-day Devadasis.
In her book she mentions Ganga who was dedicated to the Goddess because her father had promised to do so if her mother recovered from a serious ailment. Her mother recovered and she was made into a Devadasi – one woman’s life was finished to save another’s.
Although dedications are banned now but these are still carried out surreptitiously as the girl is bathed in neem and turmeric and taken before God and told about her duties which includes never retaliating to abuse and “giving shelter to strangers”.
Ganga further said, “Some landlords consider it a matter of prestige to deflower as many young girls as possible. In Mumbai, virgin Devadasis fetch a high price. By deflowering a Devadasi, a man can cure himself of disease. He can purify himself. If the goddess wills it, then it is possible.”
“And what about AIDS?” Catherine had asked
“It is said you can get rid of it by giving it to a client,” Ganga said.
The National Commission of Women say that women still become Devadasis because of dumbness, deafness and poverty. Women who are deserted by their husbands, widowed, or living with AIDS dedicate their children as Devadasis when they find it difficult to get them married. They subsist on the money that their daughter earns. In fact, most Devadasis now hail from poor families and are responsible for earning for the entire family.
So far the life expectancy of a Devadasi has been low. She usually does not live beyond 50.
And even if she get’s out of the system it’s hard to make two ends meet and lead a good life. Read Ratnamma’s story.
Kallava became a Devadasi at six, gave birth to three children in her late 40s and now pays her children's school fees from her goat rearing buisness
Kallava became a Devadasi at six, gave birth to three children in her late 40s and now pays her children’s school fees from her goat rearing business

Former Devadasi Kasturi is in the textiles business
Former Devadasi Kasturi is in the textiles business
If you want to help another Devadasi to break free from the oppressive system go to www.milaap.org and give a loan. You will get your money back along with the satisfaction that you have changed somebody’s life.

What Is Freedom ?

Recently, I was asked to participate in a campaign that encourages a greater degree of freedom within a woman. And that got me thinking about what freedom actually means to me. Here are some thoughts… raw and beautiful.
Freedom is
Freedom to me is…
-       having the voice to say no to sex, even to a partner
-       being able to buy a motorbike and ride it across the country
-       being able to wear t-shirts and jeans, and walk down the street without fear of being touched or spoken to inappropriately
-       being able to go to a public park in the middle of the day, lie on the grass and day-dream
-       driving out to eat ice cream in the middle of the night
-       living alone and having my privacy respected
-       having the opportunity to gamble with my career, because hey, unless I take a few risks I’ll never know what I’m capable of
-       having a whole bunch of great friends with whom I can talk about anything under the sun
-       sitting with a cup of chai at 8am in a sunny living room and having nothing to worry about
-       going to a club to dance, dancing my heart away and returning home safe
-       being able to explore religion and spirituality on my own terms and in my own time. These are very personal things and needn’t be handed down as a compulsion
-       being able to go on a long train-trip, reading books all the way and soaking in the country side, and not being commented on or looked at shadily
-       the joy of making the choices I intuitively want to make, that I may not know much about but feel good about making those choices anyway
-       being able to marry the man I choose, even if he is differently abled and of another religion
-       being able to flirt with a charming man without worrying about the repercussions of doing so in a public space
-       being able to make informed choices when it comes to food, and being aware of the chances I take with unhealthy food
-       wearing the colours I want to wear and not being told to tame it down
-       wearing the jewelry I want to wear, and not having to choose between gold and diamonds
-       being able to switch off my phone and disconnect from the whole world for at least one week in a year
-       walking into a lift and being able to smile at someone else there
-       holding hands with a loved one, and walking down the street
-       being able to work, explore my abilities, build a business or help grow one
-       being able to wear my hair the way I want to
-       being able to sleep on a roof top, soaking in the stars and the moon
-       being able to sit on a hill top, alone, watching the clouds stream past and around, listening to the sounds of the breeze
-       being able to wear make up, and in the colours I choose to wear them
-       being able to get a divorce, a way out of an unhappy marriage and finding my footing again
And I think the list could go on. What does freedom mean to you? 

Brand Modi

Namo
He is stylish, he is spicy, he is sweet, he is explosive. Choose a non-controversial product, attach his face, add the brilliantly-coined acronym NaMo, and you have a best-seller. Brand Modi sells – anything from clothes, snacks, tea, explosive firecrackers to the idea of India.
Some attribute it to the business acumen of the Gujarati, others point to the unquestionable charisma of the man, but brand-merchandising has closely accompanied Narendra Modi’s rise in the national scene. With state elections a few weeks ahead and national elections just months away, Gujarat Chief Minister Narendra Modi, who is also the Bharatiya Janata Party’s (BJP) Prime Ministerial candidate is on a brand projectile.
The first to appear were the ones you would see in the US election conventions: Modi masks, pins, bands, caps, T-shirts – in one early rally an entire section of the audience was made of Modi faces – a startling sight! Soon BJP supporters saw the business opportunity in his growing popularity. The obvious product was the Modi kurta – the knee-length top worn over leggings – customized and popularized by the man himself. With a close collar, short sleeves and earth colors it was already a “moving” item. All it needed was international exposure.
A boutique in Ahmedabad has registered a trademark for these “half-sleeve kurtas”. “We’re trying for an international trademark for the brand,” said its owner. A report in the Indian Express said at least 30,000 made-in-Surat kurtas carrying embroidered “NaMoMantra” were sold at Patna’s Gandhi Maidan on the October 27 Hunkar rally, addressed by Modi. A NaMo store opened in an upmarket mall in Ahmedabad to sell NaMoMantra apparel, books and other merchandise. Modi Lion, named after the Hunkar (roar) rally, will soon reach the children’s section of super markets. “Even his most ardent fans could not have foreseen this transformation – from Loha Purush to cuddly toy,” wrote Firstpost Editor Sandip Roy.
The Patna rally also saw the mushrooming of those humble tea-stalls that dot India’s roads, street-corners and railway stations. Unsurprisingly called Modi Tea-Stalls, they were dual-purpose. The kiosks made sure tea was available to rallyists all day while reminding them of the great man’s humble origins as a vendor at a railway tea-stall. A killer branding idea!
Diwali of course brought a multitude of options for value addition. Boxes of firecrackers (labelled Modi Brand) wrapped in Modi’s photograph sold the most, outdoing cheaper imports from China. One shop-owner cracked: “We have Chinese items as well as the ones with photos of actors. Right now, “Modi Brand” is the most popular and is explosive in Rajkot. “Explosive like Modi” was the underlying sentiment, agreed the buyers. In the US, the boxes went for $16/- . The firecracker business, reported India Today, was worth $8 million in Rajkot alone.
Can Modi snacks be far behind? NDTV ran a story of how “Modi magic” spiced up this year’s Diwali in the US. Rajbhog Sweets, which celebrated Modi’s elevation as Chief Minister of Gujarat for a third consecutive term by gifting each customer with 11 pedas (one for each year), decided to go “namkeen” on the run up to the 2014 general elections. According to the news channel, Arvind Patel, Rajbhog Sweets, Newark Avenue, Jersey City said, “A few of us were chatting one afternoon when the idea of ‘Modi Magic’ came about. We give it out for free at BJP events and festivals here in the US, and aim to distribute 10 lakh packets till the elections.”
Each packet of  spicy mix labelled “Modi Magic” sells at 45 cents, but 10 lakh packets will be given away free, said Mr Patel, adding he was ready to do much more. The mix was a hit with the customers, probably Modi fans. “This is the first time I have seen an Indian politician branded like this, his magic is working not only in India but the whole world,” said one. Mr. Patel would have happily sent the sales proceeds to the BJP election campaign, but laws don’t permit supporters in the US to donate directly to political parties in India. So after spreading the Modi message on foreign shores, Mr. Patel has traveled to India to campaign for the BJP.
The virtual world has embraced him. While Modi social-networks constantly, tweeting, face-booking and blogging on the go, his fans have made a video game and composed a Namo Youth Anthem that goes, “A powerful orator will now become the nation’s curator. His persona is athletic, his charisma magnetic. Who’s gonna mar ‘em? NaMo. NaMo. Who’s gonna scar ‘em? NaMo, Namo.”

Merchandising politics isn’t new to India. Gandhi topi, Nehru galaband, I Am Anna cap, Mamata sari and paintings, Mulayam pehalwan doll, yojnas (schemes) and streets named after leaders are all part of this branding culture. But Modi-branding is much larger in scale and scope. It is market-savvy, and thanks to supporters’ unrelenting efforts, has gone global. In is case, Modi’s the brand, and his supporters know how to sell him.
“Brand Modi becomes an act of reflection with the multiplying effect of a hall of mirrors,” said Firstpost editor Sandip Roy. “As Modi stands at the rally, beaming, waving to the crowd, the jubilant crowd gazes back at him draped in NaMo paraphernalia… Our feverish passion for politics and our insatiable hunger for brands have finally come together in common churn. And Narendra Modi has emerged from that manthan (churn) as an entity than can both sell and be sold.”
As in everything political in India, Modi branding is not without its comic consequences. To their utter dismay, BJP’s election supervisors have found that people in many parts of the hinterlands who have pledged to vote for Modi (Modi ko vote denge) are clueless about the party symbol. Brand Modi now outshines brand BJP! The lotus (party symbol) has been blown away by the Modi storm, said a commentator. Ironically, the party might lose the votes of those who support Modi! Party heads are no doubt at the drawing board figuring out how to bring the lotus back into the picture. Any ideas?