Skip to main content

Hypothesis Based Learning

 

In my experience, the most sophisticated decision makers tend to be hypothesis-driven thinkers. They may be engineers solving a technical problem, product designers fulfilling a customer need, or entrepreneurs growing a business. They form a hypothesis about how to reach their goal and then work systematically to either validate or falsify it. 

 

Say you’re tuning a learning algorithm that estimates the health of corn stalks based on input from a tractor-mounted camera. (Many companies are developing products like this to help farmers make decisions about planting, weeding, or harvesting.) If your algorithm is doing poorly, how should you go about improving it? 

 

Some engineers tend to apply a one-size-fits-all rule. Someone who has experience improving algorithms by collecting more data may tend to gather more photos of corn stalks. When that doesn’t work, they may end up trying things more or less at random until they stumble on something that works.

 

Hypothesis-driven thinkers, on the other hand, have seen learning algorithms perform poorly for many different reasons. Based on that experience, they can make a list of hypotheses about what could be going wrong. Perhaps the algorithm does well in sunlight but performs poorly on overcast days, in which case the best solution indeed may be to collect — or synthesize — more images under cloudy skies. Or perhaps the camera’s lens is obscured by dust, or the hyperparameters are poorly tuned. 

Screen Shot 2021-09-21 at 5.18.58 PM copy

Hypothesis-driven thinkers see a variety of possibilities. They pick the most likely one and carry out error analysis or other tests to falsify or validate it. Them they apply the insights they've gained to devise a solution, choose a new hypothesis, or re-evaluate the range of hypotheses. In this way, they find a good solution efficiently.

 

How can you gain skill in building hypotheses?

  • Seek out stories of how others have built machine learning systems. Learning from friends and colleagues about not only what worked but also what path led there — including wrong turns and ideas considered and rejected — can hone your intuition. 
  • If you work with other engineers and they advocate a course of action, ask why. Conversely, if you favor a particular approach, share your reasoning and invite them to challenge you. This helps you to (i) gain exposure to more tactics and (ii) understand when various tactics apply. 
  • Keep taking courses. They can expose you quickly to a wide range of examples. 

Hypothesis-driven thinking is helpful not only in developing AI systems, but also in building products and businesses. Perhaps you’ve identified a market need, a concept to fulfill that need, and a sales strategy to get the product into the customers’ hands. Rather than rushing ahead and assuming that everything will work out, you might question key assumptions behind the hypothesis systematically and pinpoint those that are unproven or incorrect. If you discover early on that the concept is flawed (say, because it requires AI technology that hasn’t been invented yet), you’ll have more time to pivot and find an alternative. 

Source: Andrew Ng


Comments

Popular posts from this blog

Steve Blank

Some good advice from Steve Blank.... So, my first lesson is – You don’t need to be the smartest person in the room to be the most effective. Being effective means not just mastering the facts but – figuring out how to move your agenda forward. misdirection is designed to distract you from the truth . Obscuring a fact-based argument with a faith-based one is what demagogues do – in policy and politics .  See through it. Help others to see how this kind of misdirection distorts their perspectives. when you hear or see something that is too good to be true – follow the money . It’s usually a long and winding road – but eventually you’ll find it. Change happens when you can educate and inspire others – when you can use facts to create faith in what’s possible . Graduates, as you set out on your own extraordinary adventures, remember the measure of a life is not time or money. It’s the impact you make serving God, your family, community, and country. Your report card i...

Success

Lovely Post as we start 2016 "The most simple and basic component of life: our struggles determine our successes. So choose your struggles wisely, my friend" .. and the full post Everybody wants what feels good. Everyone wants to live a carefree, happy and easy life, to fall in love and have amazing sex and relationships, to look perfect and make money and be popular and well-respected and admired and a total baller to the point that people part like the Red Sea when you walk into the room. Everyone would like that—it’s easy to like that. If I ask you, “What do you want out of life?” and you say something like, “I want to  be happy and have a great family and a job I like,” it’s so ubiquitous that it doesn’t even mean anything. A more interesting question, a question that perhaps you’ve never considered before, is what pain do you want in your life? What are you willing to struggle for? Because that seems to be a greater determinant of how our lives turn out....

Advice

" Understand and accept that you will make mistakes. The point is to find them early, before they make it into production. Fortunately, except for the few of us developing rocket guidance software at JPL, mistakes are rarely fatal in our industry, so we can, and should, learn, laugh, and move on." " No matter how much "karate" you know, someone else will always know more. Such an individual can teach you some new moves if you ask. Seek and accept input from others, especially when you think it's not needed." "Treat people who know less than you with respect, deference, and patience. Nontechnical people who deal with developers on a regular basis almost universally hold the opinion that we are prima donnas at best and crybabies at worst. Don't reinforce this stereotype with anger and impatience." " The only true authority stems from knowledge, not from position. Knowledge engenders authority, and authority engenders respect -- so...