Startups

For successful AI projects, celebrate your graveyard and be prepared to fail fast

Comment

Image of an origami crane and several crumpled pieces of paper to represent success from failure.
Image Credits: Wachiwit (opens in a new window) / Getty Images

AI teams invest a lot of rigor in defining new project guidelines. But the same is not true for killing existing projects. In the absence of clear guidelines, teams let infeasible projects drag on for months.

They put up a dog and pony show during project review meetings for fear of becoming the messengers of bad news. By streamlining the process to fail fast on infeasible projects, teams can significantly increase their overall success with AI initiatives.

AI projects are different from traditional software projects. They have a lot more unknowns: availability of right datasets, model training to meet required accuracy threshold, fairness and robustness of recommendations in production, and many more.

In order to fail fast, AI initiatives should be managed as a conversion funnel analogous to marketing and sales funnels. Projects start at the top of the five-stage funnel and can drop off at any stage, either to be temporarily put on ice or permanently suspended and added to the AI graveyard. Each stage of the AI funnel defines a clear set of unknowns to be validated with a list of time-bound success criteria.

The AI project funnel has five stages:

Image Credits: Sandeep Uttamchandani

1. Problem definition: “If we build it, will they come?”

This is the top of the funnel. AI projects require significant investments not just during initial development but ongoing monitoring and refinement. This makes it important to verify that the problem being solved is truly worth solving with respect to potential business value compared to the effort to build. Even if the problem is worth solving, AI may not be required. There might be easier human-encoded heuristics to solve the problem.

Developing the AI solution is only half the battle. The other half is how the solution will actually be used and integrated. For instance, in developing an AI solution for predicting customer churn, there needs to be a clear understanding of incorporating attrition predictions in the customer support team workflow. A perfectly powerful AI project will fail to deliver business value without this level of integration clarity.

To successfully exit this stage, the following statements need to be true:

  • The AI project will produce tangible business value if delivered successfully.
  • There are no cheaper alternatives that can address the problem with the required accuracy threshold.
  • There is a clear path to incorporate the AI recommendations within the existing flow to make an impact.

In my experience, the early stages of the project have a higher ratio of aspiration compared to ground realities. Killing an ill-formed project can avoid teams from building “solutions in search of problems.”

2. Data availability : “We have the data to build it.”

At this stage of the funnel, we have verified the problem is worth solving. We now need to confirm the data availability to build the perception, learning and reasoning capabilities required in the AI project. Data needs vary based on the type of AI project  —  the requirements for a project building classification intelligence will be different from one providing recommendations or ranking.

Data availability broadly translates to having the right quality, quantity and features. Right quality refers to the fact that the data samples are an accurate reflection of the phenomenon we are trying to model  and meet properties such as independent and identically distributed. Common quality checks involve uncovering data collection errors, inconsistent semantics and errors in labeled samples.

The right quantity refers to the amount of data that needs to be available. A common misconception is that a significant amount of data is required for training machine learning models. This is not always true. Using pre-built transfer learning models, it is possible to get started with very little data. Also, more data does not always mean useful data. For instance, historic data spanning 10 years may not be a true reflection of current customer behavior. Finally, the right features need to be available to build the model. This is typically iterative and involves ML model design.

To successfully exit this stage, the following statements need to be true:

  • The datasets for the required features are available.
  • The corresponding datasets meet the quality requirements.
  • There are enough historic data samples available in those datasets.

In my experience, projects often are put on ice at this stage. The required features are missing and may take several months for the application teams to gather the datasets.

3. Model training :  “The project meets the accuracy thresholds.”

At this stage, we have confirmed the data is available and have iterated on ML model features. Now, it’s time to verify whether a model can actually be built to satisfy the required accuracy threshold.

Training is an iterative process where different combinations of ML algorithms, model configuration, datasets and input features are tried iteratively with the goal to meet the accuracy threshold. Training is resource-intensive, and given large datasets, the infrastructure capacity can become the limiting factor. This stage verifies that it is feasible to build the model using the existing infrastructure resources or within a feasible cloud budget.

5 machine learning essentials nontechnical leaders need to understand

During the training phase, there is the potential for “false alarms,” when the team has achieved significantly high accuracy numbers that are too good to be true. Before getting excited, it is important to double-check for the training and validation datasets to have duplicate samples. Also, there have been times when the initial tests might be promising but may not generalize over the entire dataset. Randomization of the dataset before training helps to avoid the roller coaster of accuracy variations.

To successfully exit this stage, the AI project is able to meet the required accuracy threshold after training.

4. Results fairness : “Generated results are  not garbage in, garbage out.”

We have confirmed the project can meet accuracy thresholds. Now, it’s time to verify that the results generated are actually fair with respect to bias, explainability, and compliance to privacy and data rights regulations.

Ensuring the fairness of AI recommendations is a topic of significant research. Most datasets are inherently biased and may not capture all the available attributes. Understanding the original purpose and assumptions of the dataset are important. Another common form of bias is underrepresentation —  for instance, a loan underwriting application not trained for a certain category of users or income range scenarios. It is important to evaluate model performance not just for overall accuracy but also across various data slices.

It is not just sufficient for the AI solution to be accurate — it needs to be explainable, i.e., how the algorithm arrived at its conclusions. Several regulated industries using automated decision-making tools are required to provide meaningful information about the generated results to their customers. Explainability can be supported in different forms: result visualization, feature correlations, what-if analysis, model cause-effect interpretability, etc.

To successfully exit this stage, the following statements need to be true:

  • Results have the appropriate checks and bounds for bias and are explainable.
  • The data used by the AI project meets user privacy and compliance regulations such as GDPR and CCPA.

5. Operational fitness: “Is it ready for production ?”

The last stage is to confirm operational fitness. Not all projects require the same operational rigor. I divide projects in a 2×2 matrix based on whether the training and inference are online versus offline. Offline training and inference are the easiest, while online training requires robust data pipelines and monitoring.

There are three core dimensions of operational fitness: model complexity, data pipelines robustness and retraining governance. Complex models are difficult to maintain and debug in production. The key is striking the right balance between simplicity and accuracy: A simple model may be less accurate, while a complex model may be more accurate but may not generalize to new data samples due to overfitting. Similarly, data pipelines are complex to manage given changing data schemas, quality issues and nonstandard business metrics. Finally, retraining needs to take into account changing accuracy due to shifts in data distribution as well as the semantics of features, aka concept drift.

To successfully exit this stage, the following statements need to be true:

  • Models have been optimized with the right balance between complexity and accuracy.
  • Data pipelines are robust with the required level of monitoring.
  • The right level of data and concept drift monitoring is implemented for model retraining.

To succeed in AI initiatives, teams need to fail fast. The five-stage conversion funnel provides a vocabulary for AI teams to communicate the status of projects to business teams replacing their black-box perception of these projects with a list of known unknowns. The funnel also helps identify common dropoff stages across projects that are potential areas of improvement. In a fail-fast culture, the AI graveyard is celebrated for the lessons learned that can be applied to future projects.

How we dodged risks and raised millions for our open-source machine learning startup

More TechCrunch

Some Indian government websites have allowed scammers to plant advertisements capable of redirecting visitors to online betting platforms. TechCrunch discovered around four dozen “gov.in” website links associated with Indian states,…

Scammers found planting online betting ads on Indian government websites

Around 550 employees across autonomous vehicle company Motional have been laid off, according to information taken from WARN notice filings and sources at the company.  Earlier this week, TechCrunch reported…

Motional cut about 550 employees, around 40%, in recent restructuring, sources say

The deck included some redacted numbers, but there was still enough data to get a good picture.

Pitch Deck Teardown: Cloudsmith’s $15M Series A deck

The company is describing the event as “a chance to demo some ChatGPT and GPT-4 updates.”

OpenAI’s ChatGPT announcement: What we know so far

Unlike ChatGPT, Claude did not become a new App Store hit.

Anthropic’s Claude sees tepid reception on iOS compared with ChatGPT’s debut

Welcome to Startups Weekly — Haje‘s weekly recap of everything you can’t miss from the world of startups. Sign up here to get it in your inbox every Friday. Look,…

Startups Weekly: Trouble in EV land and Peloton is circling the drain

Scarcely five months after its founding, hard tech startup Layup Parts has landed a $9 million round of financing led by Founders Fund to transform composites manufacturing. Lux Capital and Haystack…

Founders Fund leads financing of composites startup Layup Parts

AI startup Anthropic is changing its policies to allow minors to use its generative AI systems — in certain circumstances, at least.  Announced in a post on the company’s official…

Anthropic now lets kids use its AI tech — within limits

Zeekr’s market hype is noteworthy and may indicate that investors see value in the high-quality, low-price offerings of Chinese automakers.

The buzziest EV IPO of the year is a Chinese automaker

Venture capital has been hit hard by souring macroeconomic conditions over the past few years and it’s not yet clear how the market downturn affected VC fund performance. But recent…

VC fund performance is down sharply — but it may have already hit its lowest point

The person who claims to have 49 million Dell customer records told TechCrunch that he brute-forced an online company portal and scraped customer data, including physical addresses, directly from Dell’s…

Threat actor says he scraped 49M Dell customer addresses before the company found out

The social network has announced an updated version of its app that lets you offer feedback about its algorithmic feed so you can better customize it.

Bluesky now lets you personalize main Discover feed using new controls

Microsoft will launch its own mobile game store in July, the company announced at the Bloomberg Technology Summit on Thursday. Xbox president Sarah Bond shared that the company plans to…

Microsoft is launching its mobile game store in July

Smart ring maker Oura is launching two new features focused on heart health, the company announced on Friday. The first claims to help users get an idea of their cardiovascular…

Oura launches two new heart health features

Keeping up with an industry as fast-moving as AI is a tall order. So until an AI can do it for you, here’s a handy roundup of recent stories in the world…

This Week in AI: OpenAI considers allowing AI porn

Garena is quietly developing new India-themed games even though Free Fire, its biggest title, has still not made a comeback to the country.

Garena is quietly making India-themed games even as Free Fire’s relaunch remains doubtful

The U.S.’ NHTSA has opened a fourth investigation into the Fisker Ocean SUV, spurred by multiple claims of “inadvertent Automatic Emergency Braking.”

Fisker Ocean faces fourth federal safety probe

CoreWeave has formally opened an office in London that will serve as its European headquarters and home to two new data centers.

CoreWeave, a $19B AI compute provider, opens European HQ in London with plans for 2 UK data centers

The Series C funding, which brings its total raise to around $95 million, will go toward mass production of the startup’s inaugural products

AI chip startup DEEPX secures $80M Series C at a $529M valuation 

A dust-up between Evolve Bank & Trust, Mercury and Synapse has led TabaPay to abandon its acquisition plans of troubled banking-as-a-service startup Synapse.

Infighting among fintech players has caused TabaPay to ‘pull out’ from buying bankrupt Synapse

The problem is not the media, but the message.

Apple’s ‘Crush’ ad is disgusting

The Twitter for Android client was “a demo app that Google had created and gave to us,” says Particle co-founder and ex-Twitter employee Sara Beykpour.

Google built some of the first social apps for Android, including Twitter and others

WhatsApp is updating its mobile apps for a fresh and more streamlined look, while also introducing a new “darker dark mode,” the company announced on Thursday. The messaging app says…

WhatsApp’s latest update streamlines navigation and adds a ‘darker dark mode’

Plinky lets you solve the problem of saving and organizing links from anywhere with a focus on simplicity and customization.

Plinky is an app for you to collect and organize links easily

The keynote kicks off at 10 a.m. PT on Tuesday and will offer glimpses into the latest versions of Android, Wear OS and Android TV.

Google I/O 2024: How to watch

For cancer patients, medicines administered in clinical trials can help save or extend lives. But despite thousands of trials in the United States each year, only 3% to 5% of…

Triomics raises $15M Series A to automate cancer clinical trials matching

Welcome back to TechCrunch Mobility — your central hub for news and insights on the future of transportation. Sign up here for free — just click TechCrunch Mobility! Tap, tap.…

Tesla drives Luminar lidar sales and Motional pauses robotaxi plans

The newly announced “Public Content Policy” will now join Reddit’s existing privacy policy and content policy to guide how Reddit’s data is being accessed and used by commercial entities and…

Reddit locks down its public data in new content policy, says use now requires a contract

Eva Ho plans to step away from her position as general partner at Fika Ventures, the Los Angeles-based seed firm she co-founded in 2016. Fika told LPs of Ho’s intention…

Fika Ventures co-founder Eva Ho will step back from the firm after its current fund is deployed

In a post on Werner Vogels’ personal blog, he details Distill, an open-source app he built to transcribe and summarize conference calls.

Amazon’s CTO built a meeting-summarizing app for some reason