Automation Panchatantra


One of the best books I have read in my childhood is Panchatantra . The way it’s structured, the first story ends with one of its characters saying “let me tell you a story” and leads on to the second story and then it perpetuates like that till the end . I have a feeling my post on automation might end up as a micro-panchatantra 🙂

Yesterday morning in Delhi, I wrote about a fascinating conversation I had with a Banker about automation and the potential for associated job losses . A friend of mine who read that post pointed out to me that her fear was that unethical computing practices might make job losses happen faster for women than for men .

She is an IT expert herself . And while she is not a data scientist herself , she understands how machine learning etc work and how it can figure out patterns from data it has access to . Her precise point is that if the machine is fed past data – wouldn’t there be a high chance that the machine will learn to be as bad or worse than the people who discriminated against women in the past ? And then won’t it just make that bias happen at scale since software can be distributed globally quite easily ?

It’s a VERY fair question and something that has been asked by many others before her. Bias is a real problem in data science – be it in the source data or in the model . Both data and the humans working on creating the model can perpetuate the bias.

Ethical AI is a topic very close to my heart and I have written and spoken about it several times .

Without making it too complex or technical – there are ways to identify such bias in both data and models . And once identified , it can be countered . While I agree that it’s a big problem and will take a lot of effort in creating awareness and implementing in actual projects – it’s at least possible to mitigate .

But that might not be the kind of bias we need to worry about most when a lot of decision making gets automated . Bias against a category – like gender, residential zip code etc – can be identified and countered with some effort .

But what if the algorithm goes against hundreds of parameters and each (or some combination ) contributes a little bit to the final decision ? This is the more common scenario of scoring – like a credit score calculation that looks at timely repayments, balances , history , number of accounts held etc and then comes up with one number at the end .

Credit scores only look at limited parameters and it tells you the handful of reasons why your score is low . But in a job scenario – it could be the photo of you with a hunting gun in your twitter profile , some image on your T-shirt on your Instagram account , the words you use on your CV and LinkedIn profile and a million other things which individually don’t look bad but collectively may make an algorithm figure out that you are not a great hire . And it might be really complex for a human hiring manager to explain to a candidate why she won’t be hired since it’s hard to understand the inner workings of such an algorithm .

This problem too has some possible solutions – which again needs significant work to make sure they are put into practice . For example a company can have a policy that if AI is going to automate a business decision – it’s mandatory that it is explainable . For example a neural network that comes up with a result should be able to be represented as a simple decision tree that a human can read and make sense . And just like test coverage and security checks are mandatory for code to be pushed into production – CI/CD pipelines have ethical gates too before a model gets to production .

Now about the scale question. All computing has that issue – both good and bad gets amplified significantly ! The way I look at it – even if Bias gets perpetuated at scale , once it’s solved – the solution also gets perpetuated at scale . And unlike humans who don’t all have the same moral and ethical compass – AI can have unwavering standards in each replica once it’s told what those standards are. Now – whether we can define the standards of ethics is a hard question in itself . My current thinking is that we cannot do that . And consequently – we will leave some decision making to humans to define the standards on a case by case basis and hence bring back the very problems we are trying to solve !

Automated decision making has a potential long term problem that we may already be seeing a bit of today, which has nothing to do with ethics – I think it makes us humans a little less sharp .

If my phone runs out of battery , I am sure I can find my way to my destination via a paper map or by asking for directions or by finding out which way is east or something . That is because I was already driving a long time before phones started having a GPS app . But I doubt my young daughter – who will start driving in a couple of years – can do the same if her phone ran out of charge when she is on her way some place. I doubt she knows of paper maps or even that AAA exists 🙂 .

This is not a new problem . My dad routinely used to make 500 mile plus trips without a map with our family and none of us ever remember him not making the destination in time . I don’t have that ability in the least .

PS : Let’s see if someone else inspires a follow up on this . Yesterday I wrote that post while in a cab . Today I am writing from my plane ride from Delhi . If there is a sequel, I hope it’s while I am static somewhere 🙂

Thoughts on Automation from an Indian Banker


I am in India for a week – spending time with my client and my team in Bangalore and Delhi . I had coffee earlier today with someone I met at the hotel lobby while waiting for my cab to pick me up – he is a senior banker in the public sector , and is apparently quite savvy on technology . Both his children are in US and in IT field, and he has visited a few times and is familiar with the US political scene and all that . He provided a perspective on automation that definitely gave me some food for thought . I am typing this from my cab ride on the way to my office .

India generally has a heavy leaning to socialist principles and labor is valued more than capital by the society . So the prospect of job loss – real or otherwise – gets people worked up very quickly . He saw that first hand when IT started automating some invoice processing type work at the bank. But the clerks were not fired (my guess is that it is thanks to strong labor unions) – instead they were trained to handle exceptions and they took more responsibilities at the bank .

Apparently that has worked out well – and he was surprised to see resistance to automation decrease rapidly when mind numbing repetition was eliminated from their day job. But he is convinced that the moment the first employee loses his or her job to computers – everyone will be up in arms . He thinks in a country like India with a lot of potential to expand business – one more generation at least will not face the risk of massive job losses . In his projection – based on size of population – India has another 30 years to prepare for it .

I asked him what he thought of more senior roles in management like his own job . He surprised me quite a bit with his reply – he said he expects most of those roles will just go away because there won’t be anything to do for majority of bank managers ! I pressed him for details

He thinks most of the managers just have incremental value add responsibilities today. They resolve conflicts with unions and customers , they make incremental changes to process , they interface with state authorities and they do a lot of reporting . Very few of them – his estimate is less than 10% – worry about things far into future . He is fairly convinced that as computers standardize processes and do it at great speed and accuracy – there won’t be as many conflicts to resolve , no reason to tweak process manually and not much reporting to do . So what would managers do ? He thinks banks will just eliminate those roles over time .

I asked him if he worried if that will happen before his retirement . He said “You haven’t lived here in a while or else you wouldn’t have asked this question . All these things will take twice as long as I estimate – or perhaps will never happen . Our government will have no incentive to let it happen and solve massive social upheavals nationwide”.

I nodded – I totally agreed he is right about his conclusion .

He said there is one trend that might force the government’s hand to allow more automation to happen after all . That is – if the consumers automate how they bank more and more ! Consumers already hate the friction of going to a bank (apparently no different from USA) and want a lot standard functionality in phones and web . And when most consumers behave that way the rest of the bank operations will be forced to respond to a similar way of functioning .

I asked him if he thinks computers can effectively function as equivalents to bankers if I have a problem to resolve . He said “You guys are the exception to the rule . NRI types will always have personalized attention from banks – you are special. We won’t risk computers messing up and you taking your business away from us. With you – our human bankers will just use computers on our desk to get you what you need faster. We can afford to treat you as special because we will save cost everywhere else with computers !”.

I couldn’t help but think he could really have my job – I have made this pitch countless times when explaining virtual agents and agent assists to my clients 🙂 . He just didn’t use fancy jargon – and his conviction was powerful !

I would have loved to continue the conversation for longer but alas my cabbie called that he has arrived . So I took my leave . As we shook hands he said “Vijay – just so I am transparent , I think for you NRIs to get personalized service from us when everyone else is talking to a computer – you maybe charged a little something extra”.

I told him “Sir, this last sentence is why I don’t think you will never get replaced by a machine” 🙂

12 Tips For Making Business Travel Bearable


Flashback to my college days . I had flown exactly one flight in my life – from TRV to MAD . My dream job was the one that let me fly all over the world and stay in great hotels and eat at fancy restaurants .

Fast forward to my current 43 year old self. I have flown millions of miles , stayed at extremely good and piss poor hotels and ditto about restaurants . If I never set foot on another flight for work ever again- I am sure I won’t complain even minimally 🙂

As I am typing this, I am on a plane on a 10 day international trip that will have 10 flights in the next 10 days . While it might sound a bit crazy to some of you – I can assure you it’s nowhere near the worst I have done . A lot of folks ask me for travel tips and I think now is as good a time to jot down some thoughts on how I make business travel bearable and occasionally great fun !

So here goes my dozen tips for what it’s worth

1. Book at least two weeks in advance – or more

Why ? Because you have better choice of seats , especially if you fly economy . And stick with the same airline so that you get a frequent flier status that makes travel a little better . Use your miles to upgrade every chance you get – life is better with comfortable seats 🙂

2. Packing

I try every trick in the book to not checkin my bag for domestic flights. For longer trips that might not be an option – but then always carry a smaller bag with a change of clothes . Checked bags get lost and it’s a bloody pain when it happens . I also hate paying for excess baggage – so I try hard to pack an absolute minimum of things I need . I always carry two books to read – and usually gift the good books to someone I meet.

3. Travel bag

If you travel frequently, the bags take tremendous abuse. So pay for quality construction and easy rolling. I also like long handles on my roller bag. I don’t use a suit case – and use a back pack . I am told it doesn’t look very executive like but I am willing to live with that . For one day to 5 days of travel – I use the same bag. Over 5 days I use a bigger bag. That’s all I need. Bags last me 6 to 10 years on average

4. Getting to the airport

I haven’t driven to airports in a long time – I use a cab or ride share. Plenty of time and money saved on parking and catching shuttles and all that .

5. Airline club

Absolutely great investment for frequent fliers and usually comes paired with their credit card . I liberally use my Admiral’s club membership . Being a frequent flier – it is cheaper to buy club membership in many airlines .

6. Window or Aisle ?

I like Aisle seats in general since it’s easier to get up and stretch . Windows are great if you want to lean against the wall and sleep . There are a few airports where I know the landing is spectacular and I take window seats on those . One more thing – wherever you sit , it’s important to be courteous to airline staff . They have a difficult and demanding job and it helps to show some appreciation . I also think there is some correlation to extra drink coupons and upgrades 🙂

7. Eating and drinking

I don’t like airplane food all that much – barring a few exceptions like Singapore air and the middle eastern carriers. Whenever possible I carry a small home cooked meal with me . I also try not to drink any alcohol when I fly – and if I do have a drink, I do it early in the flight and go to sleep . What I religiously do is keep drinking club soda. This also increases the bathroom breaks which in turn is great for stretching 🙂

8. Working in the plane

Plane rides are my “me time”. I try not to work when I am in a plane . I would rather sleep , read a book, post a blog or watch a movie . There are few exceptions – like international flights where I have to usually work a little bit . I also try not to strike up lengthy conversations with fellow passengers.

9. Global Entry

It’s literally the best $100 you can ever spend as a traveler . And TSA Pre comes with it . Absolute no brainer to take it and give a miss to the long immigration and customs lines

10. Hotels

I am loyal to Hilton and Marriott and hold a status on both. Simple rule on location – closest to wherever is the first meeting of the day after I check in . I don’t mind shifting to a different hotel mid week to suit where I need to be . My mobile is my alarm and I need exactly one beep to wake up . I don’t order room service generally but rely on uber eats heavily.

11. Sleep and exercise on the road

Many of my friends prioritize exercise – and I prioritize sleep . I function way better when I get 6-8 hrs of sleep. The primary motive for exercise for me is that it helps me sleep better . I don’t care for the hotel gym all that much. So I compensate by walking up stairs instead of using elevators , walking from office to hotel while avoiding taking a cab and so on

12. Never eat alone

It’s very rare that I land in some place where I absolutely don’t know anyone at all . I try really hard to meet old friends and colleagues for dinner when I am on the road. And I let them choose the place and that’s a lot of fun and I try to explore the local attractions as time permits . I was horrible at this when I started – it took me several trips before I noticed Eiffel Tower in Paris . Now I look outside the window and take in the scenery a little when I am in cabs . Conversations with uber drivers is also a great experience and I generally learn a lot from that .