Friday, November 2, 2018

The Role of Robotics and AI in Pursuit of Happiness

I was recently asked to give a short speech to students at Magnolia Public Schools. Here is what I told them….

Thank you very much for giving me an opportunity to talk to you. I am a professor in the Viterbi School of Engineering at USC. I work in the area of Robotics and Artificial Intelligence, also known as AI.

Many students ask me for career advice. I believe that all of us should find a line of work that adds value to society and makes a positive impact. I believe that Robotics and AI technologies will have a positive impact on society and that is why I am working in these areas.

The US Declaration of Independence introduces the pursuits of happiness as one of the keystones of our society. So let us focus on bringing happiness to people as a guiding principle when we are thinking about career options.

Being happy requires us to have fun. Let me begin with an old joke about having fun. It is well understood that having fun requires three basic ingredients: (1) time, (2) money, and (3) good health. When you are young, you have time, and hopefully, you are in excellent health. But you have no money, so you cannot have fun. When you are done studying and have a job, you are making money and hopefully still in good health. But you are really busy with your job and so you don’t have any time. So you are unable to have any fun. Finally, when you have retired, you have money and time. Unfortunately, your health is not good, so you are unable to have fun. You see --- modern lifestyle conspires to make sure that we don’t have fun in our lives.

I believe that people take the "pursuit" part of “pursuit of happiness” more seriously than the "happiness" part. Young people are told to study so that they can get good jobs. Unfortunately, for a large number of people studying using the traditional methods does not bring happiness. Once people get a job, they focus on making money. For many people, work does not bring happiness. So they leave happiness for the retirement. Happiness is not a ball. You cannot chase it all your life and finally catch it in retirement.

I believe that idea of having to wait until retirement to have fun is flawed. We should focus on having fun during all phases of our lives.

For most people, the lack of happiness comes from doing activities that they don't want to do and not being able to do things that they want to do, often due to poor health. Robotics and AI technologies can help in solving both of these problems.

Let us begin with education. I believe that we need to change the focus from studying to learning. Learning has to be a fun activity and not a chore. No one likes to memorize pointless facts. I believe that robotics and AI can truly revolutionize learning. I am sure that some of you have participated in FIRST robotics and had fun. AI-based personalized tutors, AI-based games, robot competitions, art created by 3D printers, and virtual tours of historic places can lead to learning while students are having fun. I believe we should create technologies that make learning truly a fun activity. I hope some of you will create new technologies that will revolutionize schools and universities and bring joy to countless future students. Hopefully, you will also have fun in doing this and become rich.

Now let us focus our attention to work. All jobs currently have some components that people do not enjoy. There is no need for humans to do dangerous and tedious tasks as a part of their job. I believe that Robotics and AI can eliminate the need for humans to do things that they do not want to do. This will make work truly fun and let us focus on adding value to society. I hope that some of you will invent robotic assistants that can attend boring meetings on my behalf. I hope some of you will invent AI that can write perfect jokes to start meetings that we cannot skip.

Many of us spend a long time commuting to work every day. As you know, driving in LA is farthest thing from having fun. I cannot wait for driverless cars to arrive and enable commuters to be productive during their daily commutes. Advances in robotics and AI are the basis for advances in driverless cars.

We all spend time at our homes doing chores that we do not want to do. I hope that some of you will invent robots that can cook, clean, and extract items from packages delivered by Amazon. This will increase the time available to us for having fun.

Aging poses many health challenges for people. Advances in AI and robotics and can help elderly people in living at their homes with dignity. It can remind them to take their medicine, monitor their vitals, cook their favorite meal, and help them in getting around their homes.

I hope that these examples have convinced you that robotics and AI can be important tools in achieving happiness. I hope that some of you will choose these fields as careers.

We are heading towards a future where we will need to learn and add value every day. I hope we can soon figure out how to turn learning and work into activities that give us joy. Thank you very much for your attention. Enjoy the rest of your day don’t forget to have fun!

Monday, January 1, 2018

Is there anything on the horizon that will challenge the dominance of smartphones?

I was born in the late sixties in India. In the early seventies, our home had only a few appliances that used electricity – a couple of fans, few light bulbs, and a radio. As the middle class in India started catching up to the western standards of living, by late nineties my family in India had acquired televisions, video cassette players, audio cassette players, refrigerators, phones, washing machines, food processors, evaporative coolers, water heaters, etc. Our family was not an early adaptor of technology. By the time my family was ready to buy a new gadget, there were at least another hundred million families in developing economies that were acquiring the same gadget. Each new gadget had a market size of few tens of billions of US dollars and its wide-scale adoption added hundreds of thousands of jobs to the manufacturing sector worldwide. The growth in the sale of the manufactured products was a proven strategy to grow the economy.
I came to the US in nineteen ninety. We acquired a large number of electronic gadgets over the twenty year period including camcorders, digital cameras, navigation systems, cell phones, personal digital assistants, voice recorders, CD players, MP3 Players, handheld game consoles, alarm clocks, digital wrist watches, pedometers, televisions, DVD players, cordless phones, etc. Every year there was a new and exciting electronic gadget on the market that was on our wish list. The list of must-have products was growing and new hardware companies were springing everywhere to offer new products. Middle-class consumers have been fueling the economic growth and raising the standards of living for people through expansion of the global manufacturing sector.
The consumer electronic landscape started changing with the arrival of iPhone in 2007. My wife was an early adopter. She was using her iPhone to play music and get driving directions. She did not need her navigation system or her MP3 player. Soon the camera on her upgraded iPhone was quite decent and she abandoned her digital camera. Her wrist watch and the alarm clock on her nightstand were the next items to disappear.
Products made obsolete by smartphones (Cordless Phone Image Source:; Pedometer Image Source:; Digital Alarm Clock Image Source:; Hand held Game Consoles Image Source:; MP3 Players Image Source:; GPS Navigation System Image Source:; Digital Camera Image Source:; Camcorder Image Source:; Electronic Voice Recorder Image Source; Personal Digital Assistant Image Source:; Scanner Image Source:; Radio Image Source:

The list of products impacted by smartphones includes: (1) digital cameras, (2) video cameras, (3) navigation systems, (4) personal digital assistants, (5) MP3 Players, (6) voice recorders, (7) handheld game consoles, (8) alarm clocks, (9) pedometers, (10) cordless phones, (11) radio, and (12) scanners. Some people are also using smartphones as calculators, barcode readers, searchlights, mirrors, remote controls, keys, translators, wallets, and paperweights. All signs indicate that smartphones will make many more products vanish from the market over the next few years. Recent media reports are touting the ability of smartphones to function as metal detectors, digital projectors, and mosquito repellents! This phenomenon has never been seen before. Usually, a new product made a product with similar functionality obsolete. For example, DVD players made video cassette players obsolete. Smartphones are simply absorbing the functionality found in other products and altering the consumer electronic product landscape.
So far large screen TVs, high-quality headphones, and health monitoring systems (e.g., fit bits) appear to be immune from smartphones’ takeover. As I am writing this blog post, I am realizing that with the exception of a TV, a couple of headphones, and few fit bits, we have not bought any new electronic gadget in the last three years. Every few weeks, we get excited about new apps for our smartphones and we are constantly discussing which smartphone to get next. However, we are simply not keeping up with our previous pace of consumer-electronic hardware purchase. Smartphones have altered consumer behaviors and expectations and have ushered in the era of the app-based economy. 

Cars and homes depicted in sci-fi movies have not yet materialized. However, smartphones have fundamentally changed the way humans communicate, commute, shop, and bank. They have also opened up new channels for news delivery, advertisement and entertainment. Many people are now attached to their smartphones and cannot imagine life without them. The fear of not being to check one’s smartphone is now a recognized phobia. Twenty-four seven connectivity makes is difficult for people to disengage from work and induces a high level of stress. Smartphones are being blamed to cause several different kinds of sleep disorders. Smartphones have had the biggest impact on daily lives of humans since the advent of personal computers and fundamentally changed the cultural norms and human behaviors.

A reasonably good quality smartphone costs between $500 and $1000. Most people look forward to upgrading their smartphones to newer models in two (or fewer) years. Many previous electronic products such as digital cameras were shared by members of the family. Smartphones are not meant to be shared. Everyone needs to have their own smartphone. This is fueling growth in smartphone sale. Annual smartphone sales volume has already crossed the one billion mark. Soon revenues generated from smartphone sale will be more than one trillion US dollars. Smartphones have fundamentally altered the consumer electronics landscape and had a profound impact on the industry. Most high technology companies want to a part of this action and are launching their own smartphones. If this trend were to continue and the popularity of ride-sharing apps slow down the sale of automobiles, then smartphones might take over the automotive industry in terms of worldwide sales revenues. Smartphones currently appear indispensable and imagining life without them is not possible.
Heraclitus, a Greek philosopher said that change is the only constant in our lives. I am sure that dominance of smartphones (at least in the current form) won’t last forever. I am beginning to wonder what will replace smartphones. With easy access to the cloud, we don’t need to do any serious computing on the handheld devices. Miniaturizing is creating powerful sensors that can be easily integrated into other items carried by people. The key innovation offered by smartphones was the touchscreen-based user interface. The next generation brain-machine interfaces might reduce reliance on touchscreen interfaces. If augmented reality-based glasses become popular and everyone starts wearing them, then it will be easy to simply add smartphone functionalities to them. They will certainly provide a better display and sound quality than smartphones. People have been talking about smart clothing for a while. Would smartphones survive in the current form if smart clothing idea takes off?
Is there anything on the horizon that will challenge the dominance of smartphones?

Thursday, July 6, 2017

2017 NIST Agile Robotics for Industrial Automation Competition (ARIAC)

This year NIST organized a simulation based competition called Agile Robotics for Industrial Automation Competition (ARIAC). The idea was to move away from traditional robots that execute preprogrammed motion. Teams were challenged to build a system that can dynamically respond to failures in grasping, defective parts, and priority orders. Teams were expected to do this by using the minimum number of sensors. The task in the competition was focused on building assembly kits. The robot had to pick parts from bins and a conveyor and place them on automated guided vehicles.

Please see for details on this competition.

My group fielded a team in ARIAC. Team members included Matt Buckley and Brual Shah. Competition results were announced on July 5, 2017. Please see for details. I am happy to report that our team won the competition.

You can check out our
competition entry in the video shown below.

Wednesday, July 5, 2017

Effectively Utilizing Advanced Manufacturing Requires a New Approach to Closing Skills Gap

Advances in manufacturing technologies are fundamentally changing the nature of work at manufacturing enterprises. As new technologies are deployed, a large number of workers find themselves with obsolete skills and lose jobs. On the other hand, companies that are contemplating deploying new manufacturing technologies are unable to find workers with the right skills and hence many available manufacturing positions remain vacant.

The rate of rapid changes in manufacturing technologies is pointing to a future where major manufacturing technology refresh will occur every five to ten years. This means that a worker will need to face the challenge of skill obsolescence multiple times in a typical career. Overcoming this challenge using the current workforce education and training paradigm is not practical. Not finding a scalable solution to this challenge will lead to a major disruption to the way of life for the middle class.

Over the last few years, I have interacted with workers, companies, and colleges and discussed challenges and opportunities in the manufacturing workforce training area. Based on my analysis, the main challenges are the following:

  1. Acquiring new manufacturing skills often requires six months or more. Displaced workers are economically vulnerable and simply do not have cash reserves to complete the training. 
  2. Many displaced workers do not have math and programing prerequisites to learn advanced manufacturing technologies. Completing these prerequisites takes extra time. 
  3. Many advanced manufacturing technologies are expensive. Colleges and training institutes are unable to acquire them in sufficient quantities to rapidly build the capacity needed to retrain the workforce. 
  4. Workers are unable to travel to far away training locations for long periods of times to complete the training due to family constraints and/or economic considerations.
The workforce retraining will need to occur frequently. Therefore, simply relying on government grants to sustain the current training models will not suffice. Manufacturing enterprises have embraced innovations and learned how to deliver personalized products at low costs with highly compressed schedules. Once we start viewing the workforce training enterprise as a part of the manufacturing supply chain, we realize that many principles that led to significant efficiency gains in manufacturing will be applicable to the work training as well. We should aim to realize a new workforce training enterprise with the following attributes:
  1. Enable trainees to participate in training remotely. 
  2. Accelerate the training process. 
  3. Reduce time needed to complete prerequisites. 
  4. Leverage spare capacity on existing machines to reduce capital investments.
Unfortunately, there is no simple solution to meet these needs. The solution will require development of new technologies and pedagogical tools to accelerate learning, commitment from individuals to life-long learning, and cultures at companies to incentivize acquisition of new skills. Government will also need to provide education based tax credits. Colleges will need to master the agile manufacturing principles to quickly roll out new programs to meet emerging needs. Addressing the workforce training challenge this will be a step towards solving the most pressing societal problem faced by the advanced economies.

Sunday, July 2, 2017

Why Automation is a Key to Innovation?

Every week I see news items that identify automation as a major threat to jobs. This is beginning to paint automation as an enemy of financial well-being of a large segment of human population. However, there is a different side to the automation story. Automation has been a major force behind many modern innovations and associated industries. Unfortunately, the connection between automation and innovation has not received much attention in the media. 

Often automation has been presented as a means to eliminate the need for humans to do dull, dangerous, and dirty tasks. Moreover, the value of automation is often rationalized in terms of cost reductions. If automation is viewed only with this lens, then it basically comes across as an instrument to replace humans with machines and hence exacerbating employment prospects for many people. In many people’s mind automation is all about “dumb” machines doing the same task over and over in a monotonous way. Innovation requires human ingenuity and creativity, so automation cannot be farther away from being an enabler for innovation. This view is too myopic and prevents people from seeing the value of automation in enabling innovations and growing new industries.

Automation’s biggest contribution has been in assisting humans to overcome their inherent limitations in speed, strength, size, accuracy, consistency, and reaction time. Constraints associated with human capabilities ultimately limit what types of products can be realized with manual operations. Automation presents a solution to overcome these constraints. Once we think about automation from this perspective, we realize that automation can help us in realizing products that have complex shapes and small feature sizes and require high accuracy.

Automation has been leveraged to create many innovative products that cannot be made using manual operations. Here are few representative examples of innovations from the medical industry that were enabled by automation:
  • Computer Controlled Laser Machining: Computer controlled lasers have revolutionized machining. The software automatically controls the laser and can create really complex shapes on hard to machine metals in a matter minutes. Stents have been credited with saving many lives and they will simply not exist without computer controlled laser machining to realize complex shapes with small features.
  • 3D Printing: 3D printing epitomizes automation. A computer analyzes three dimensional model of the desired part and generates instructions so that a machine can automatically build it layer by layer. Shapes that cannot be produced by any means can be realized easily using 3D printing. Customized hearing aids will simply not exist without automation. 3D printing is also enabling customized implants and prosthesis. 
  • Automated Printed Circuit Board Assembly: Robots and motion control stages have revolutionized how printed circuit boards are assembled today. Automation enables printed circuit boards to utilize very small components that are packed very tightly in a confined space to create lightweight miniature electronics. The quality of life for diabetes patients will significantly deteriorate without glucose meters. Modern glucose meters rely on lightweight miniature electronics to function. These products will simply not be possible without automation in manufacturing of printed circuit board assemblies.
In summary, many innovative medical devices will simply cease to exist without the “helping hand” from automation.

I am concerned that all the negative press about automation will create a backlash against it. We really need advances in automation to realize the next generation products that will improve the quality of life. Automation is certainly creating challenges for the workforce and we need to find a solution to address it. However, we need to acknowledge the value of automation in driving innovations.