Startups

4 questions to ask before building a computer vision model

Comment

Close-Up Of Number 4 On Table. 4 questions to ask when building a deep learning model
Image Credits: Stefano Stignani / EyeEm (opens in a new window) / Getty Images

Eric Landau

Contributor

Before Eric Landau co-founded Encord, he spent nearly a decade at DRW, where he was lead quantitative researcher on a global equity delta one desk and put thousands of models into production. He holds an S.M. in Applied Physics from Harvard University, an M.S. in Electrical Engineering and a B.S. in Physics from Stanford University.

More posts from Eric Landau

In 2015, the launch of YOLO — a high-performing computer vision model that could produce predictions for real-time object detection — started an avalanche of progress that sped up computer vision’s jump from research to market.

It’s since been an exciting time for startups as entrepreneurs continue to discover use cases for computer vision in everything from retail and agriculture to construction. With lower computing costs, greater model accuracy and rapid proliferation of raw data, an increasing number of startups are turning to computer vision to find solutions to problems.

However, before founders begin building AI systems, they should think carefully about their risk appetite, data management practices and strategies for future-proofing their AI stack.


TechCrunch+ is having a Memorial Day sale. You can save 50% on annual subscriptions for a limited time.


Below are four factors that founders should consider when deciding to build computer vision models.

Is deep learning the right tool for solving my problem?

It may sound crazy, but the first question founders should ask themselves is if they even need to use a deep learning approach to solve their problem.

During my time in finance, I often saw that we’d hire a new employee right out of university who would want to use the latest deep learning model to solve a problem. After spending time working on the model, they’d come to the conclusion that using a variant of linear regression worked better.

The moral of the story?

Deep learning might sound like a futuristic solution, but in reality, these systems are sensitive to many small factors. Often, you can already use an existing and simpler solution — such as a “classical” algorithm — that produces an equally good or better outcome for lower cost.

Consider the problem, and the solution, from all angles before building a deep learning model.

Deep learning in general, and computer vision in particular, hold a great deal of promise for creating new approaches to solving old problems. However, building these systems comes with an investment risk: You’ll need machine learning engineers, a lot of data and validation mechanisms to put these models into production and build a functioning AI system.

It’s best to evaluate whether a simpler solution could solve your problem before beginning such a large-scale effort.

Perform a thorough risk assessment

Before building any AI system, founders must consider their risk appetite, which means evaluating the risks that occur at both the application layer and the research and development stage.

Roughly speaking, in R&D, the risk is that a model won’t meet certain metric-based performance criteria, and at the application-level, the risk is that the production system will not succeed within the context in which it is placed.

While machine learning-oriented founders tend to focus on R&D risks, a better first step is to create an assessment criteria for the application-level risk. Factors in this assessment will differ by application, but they often include potential risks in regulation, public perception and systems-level engineering.

The first step of building an effective framework often involves understanding the consequence of model errors (such as false positives or false negatives) within your application. The target use case has an important effect on this analysis — after all, there’s a huge difference between the application risk for using AI to filter emails and using AI to run autonomous vehicles.

The consequence of a model allowing one of every 1,000 spam emails to go to your inbox is minor. At worst, receiving a spam email moderately annoys someone, so this model has an acceptable application risk level for production. However, the consequence of mistaking a green light for a red one is severe. A computer vision model that mistakes one of every 1,000 green lights for red is just not capable of going into production.

Founders should first map out the consequences of errors in their application, because these consequences influence the evaluation of R&D risk. Depending on the application risk, AI systems need to meet different performance benchmarks before going into production.

For low-risk applications, simply beating the (human-based) status quo is often enough. High-risk applications, such as self-driving cars, need to meet new gold standards before people can trust the model’s performance. It doesn’t matter if autonomous vehicles are less likely to crash than human drivers, because the technology is held to a higher standard.

Beware the prototype-production gap

Making a proof-of-concept model for a given use case is (often) relatively simple. Making a model suitable for an application in a production environment requires more than an order of magnitude of work.

To avoid falling into the so-called prototype-production gap, founders must think carefully about the performance characteristics required for model deployment, and how these needs will influence the length and resourcing of the development cycle.

Consider the development cycle required for deploying a computer vision model designed for a high-risk application. Let’s say a model achieved 95% accuracy at the prototype stage. However, to go into production, that model needs to make predictions accurately 99.99% of the time. In terms of development, closing that 4.99% accuracy gap is much more challenging than building the prototype.

To achieve that level of accuracy, the model must train on vast amounts of data and learn to react appropriately to all types of situations. AI systems lack common sense, and computer vision models can’t reason as a human would. When they encounter an unexpected scenario that they have never seen before, these models won’t perform predictably. These scenarios, called edge cases, are notoriously difficult to debug within a machine learning context, because machine learning engineers must locate the few examples out of millions where the model fails for a systematic reason.

Edge cases often prevent models from achieving 100% accuracy in the testing phase. Again, autonomous vehicles are a great example, because human drivers can use reason while computer vision models can’t. For example, let’s say after training on enormous amounts of data, a model becomes capable of recognizing cyclists, but then it encounters a reflection of a cyclist. In this situation, the model will likely evaluate the situation as if a cyclist were present and behave unexpectedly, acting as if a cyclist rather than a reflection were there. A human would not make this mistake.

Founders should be aware that applications requiring a high-level of accuracy to enter production require more training time and more training data during the development cycle, and they need to make allowances for additional resources such as time and money before they begin building their models.

Take a data-centric approach

Once founders decide to build a model, they should take a data-centric rather than model-centric approach.

As open source models continue to improve, a company’s competitive edge will no longer come from building more sophisticated models: it’ll come from the quality and quantity of its data. The data, not the model, will become the core of the IP.

To understand how not taking a data-centric approach has stifled deep learning progress, consider the algorithm bias problem.

A lot of medical AI fails to make the jump from the research lab to the real world. That’s because researchers have tended to focus on improving the accuracy of the model in controlled settings rather than think carefully about whether their training data is representative of the population at large.

When medical AI models train on biased datasets, they do not learn how to make predictions about people of varying ages, racial demographics and genders. This knowledge gap leads to misdiagnoses and the perpetuation of existing medical biases.

With a data-centric approach, the aim is to think from first principles what the data that the model needs to train on to achieve the best performance possible.

When building data-centric AI for computer vision, your success will depend on how well you source data. Procuring the best proprietary datasets available is a priority. Unlike more established companies that have been generating their own data, startups may find obtaining exclusive datasets challenging and should consider partnering with established companies or using creative methods such as sophisticated scraping to secure unique datasets.

After securing a supply of data, set up a data management system that enables machine learning engineers to effectively store, filter, query and visualize data in a scalable way. The system needs to be structured so that it can accommodate future needs and uses, including ingesting additional data, reorganizing data, deleting data, cleaning data, querying data with arbitrary points of inquiry and more.

With a management system in place, the next step is ensuring a process for continuous annotation and review. The real world contains messy and imperfect data, so data-centric AI requires robust and iterative annotation pipelines as opposed to once-off annotations.

Think about the subject-matter expertise and labeling tools you’ll need to ensure that high-quality annotations can be completed as efficiently as possible. Also, keep in mind that in the world of data-centric AI, the annotation layer is no longer just procedural. The label structures and architectural design choices will influence how the system is going to learn, and these data labeling techniques will become intellectual property that can give companies a competitive advantage.

Taking a data-centric approach also enables companies to remain model-agnostic, which means they can reap the rewards of future innovations. Having a system dependent on a particular architecture limits a company’s ability to take advantage of more advanced models. For instance, if a company relies on a label ingestion system built for the needs of one model, then refactoring that process might prove difficult and prevent a company from incorporating a newer, better model into its business.

At Encord, we know it’s the data, not the model that matters most, and investing in a data-centric approach allowed us to use the same model for both detecting gastrointestinal polyps and for finding illegal fishing vessels in the ocean.

The technological landscape is evolving rapidly, and in five years, deep learning will look very different. As a result, any AI system developed today needs to take a data-centric approach so that it can incorporate the models of the future.

More TechCrunch

The problem is not the media, but the message.

Apple’s ‘Crush’ ad is disgusting

Ever wonder why conversational AI like ChatGPT says “Sorry, I can’t do that” or some other polite refusal? OpenAI is offering a limited look at the reasoning behind its own…

OpenAI offers a peek behind the curtain of its AI’s secret instructions

The federal government agency responsible for granting patents and trademarks is alerting thousands of filers whose private addresses were exposed following a second data spill in as many years. The…

US Patent and Trademark Office confirms another leak of filers’ address data

As part of an investigation into people involved in the pro-independence movement in Catalonia, the Spanish police obtained information from the encrypted services Wire and Proton, which helped the authorities…

Encrypted services Apple, Proton and Wire helped Spanish police identify activist

Match Group, the company that owns several dating apps, including Tinder and Hinge, released its first-quarter earnings report on Tuesday, which shows that Tinder’s paying user base has decreased for…

Match looks to Hinge as Tinder fails

Private social networking is making a comeback. Gratitude Plus, a startup that aims to shift social media in a more positive direction, is expanding its wellness-focused, personal reflections journal to…

Gratitude Plus makes social networking positive, private and personal

With venture totals slipping year-over-year in key markets like the United States, and concern that venture firms themselves are struggling to raise more capital, founders might be worried. After all,…

Can AI help founders fundraise more quickly and easily?

Google has found a way to bring a variation of its clever “Circle to Search” gesture to iPhone users. The new interaction, launched in January, allows Android users to search…

Google brings a variation on ‘Circle to Search’ to iPhone users

A new sculpture going live on Wednesday in the Flatiron South Public Plaza in New York is not your typical artwork. It combines technology, sociology, anthropology and art to let…

Always-on video portal lets people in NYC and Dublin interact in real time

Apple’s iPad event had a lot to like. New iPads with new chips and new sizes, a new Apple Pencil, and even some software updates. If you are a big…

TechCrunch Minute: When did iPads get as expensive as MacBooks?

Autonomous, AI-based players are coming to a gaming experience near you, and a new startup, Altera, is joining the fray to build this new guard of AI agents. The company announced…

Bye-bye bots: Altera’s game-playing AI agents get backing from Eric Schmidt

Google DeepMind has taken the wraps off a new version of AlphaFold, their transformative machine learning model that predicts the shape and behavior of proteins. AlphaFold 3 is not only…

Google DeepMind debuts huge AlphaFold update and free proteomics-as-a-service web app

Uber plans to deliver more perks to Uber One members, like member-exclusive events, in a bid to gain more revenue through subscriptions.  “You will see more member-exclusives coming up where…

Uber promises member exclusives as Uber One passes $1B run-rate

We’ve all seen them. The inspector with a clipboard, walking around a building, ticking off the last time the fire extinguishers were checked, or if all the lights are working.…

Checkfirst raises $1.5M pre-seed to apply AI to remote inspections and audits

Close to a decade ago, brothers Aviv and Matteo Shapira co-founded a company, Replay, that created a video format for 360-degree replays — the sorts of replays that have become…

Controversial drone company Xtend leans into defense with new $40 million round

Usually, when something starts to rot, it gets pitched in the trash. But Joanne Rodriguez wants to turn the concept of rot on its head by growing fungus on trash…

Mycocycle uses mushrooms to upcycle old tires and construction waste

Monzo has raised another £150 million ($190 million), as the challenger bank looks to expand its presence internationally — particularly in the U.S. The new round comes just two months…

UK challenger bank Monzo nabs another $190M as US expansion beckons

iRobot has announced the successor to longtime CEO, Colin Angle. Gary Cohen, who previous held chief executive role at Timex and Qualitor Automotive, will be heading up the company, marking a major…

iRobot names former Timex head Gary Cohen as CEO

Reddit — now a publicly-traded company with more scrutiny on revenue growth — is putting a big focus on boosting its international audience, starting with francophones. In their first-ever earnings…

Reddit tests automatic, whole-site translation into French using LLM-based AI

Mushrooms continue to be a big area for alternative proteins. Canada-based Maia Farms recently raised $1.7 million to develop a blend of mushroom and plant-based protein using biomass fermentation. There’s…

Meati Foods bites into another $100M amid growth to 7,000 retail locations

Cleaning the outside of buildings is a dirty job, and it’s also dangerous. Lucid Bots came on the scene in 2018 with its Sherpa line of drones to clean windows…

Lucid Bots secures $9M for drones to clean more than your windows

High interest rates and financial pressures make it more important than ever for finance teams to have a better handle on their cash flow, and several startups are hoping to…

Israeli startup Panax raises a $10M Series A for its AI-driven cash flow management platform

The European Union has deepened the investigation of Elon Musk-owned social network, X, that it opened back in December under the bloc’s online governance and content moderation rulebook, the Digital Services Act…

EU grills Elon Musk’s X about content moderation and deepfake risks

For the founders of Atlan, a data governance startup, data has always been at the heart of what they do, even before they launched the company. In fact, co-founders Prukalpa…

Atlan scores $105M for its data control plane, as LLMs boost importance of data

It is estimated that about 2 billion people, especially those in lower and middle-income countries, lack access to quality and affordable essential medicines. The situation is exacerbated by low-quality or even killer…

Axmed raises $2M from Founderful to streamline drug supply chains in underserved markets

For decades, the Global Positioning System (GPS) has maintained a de facto monopoly on positioning, navigation and timing, because it’s cheap and already integrated into billions of devices around the…

Xona Space Systems closes $19M Series A to build out ultra-accurate GPS alternative

Bankruptcy lawyers representing customers impacted by the dramatic crash of cryptocurrency exchange FTX 17 months ago say that the vast majority of victims will receive their money back — plus interest. The…

FTX crypto fraud victims to get their money back — plus interest

On Wednesday, Google launched its digital wallet in India with local integrations, nearly two years after the app was relaunched as a digital wallet platform in the U.S. As TechCrunch exclusively reported last month,…

Google Wallet is now available in India

Bluesky has launched a new product roadmap for the coming months. The decentralized social network said on Tuesday that it is planning to introduce direct messages, support for videos, improved…

Bluesky to add DMs, video support and in-app custom feed curation

Samsung Medison, a medical device unit of Samsung Electronics that specializes in developing diagnostic imaging devices, said on Wednesday it plans to acquire Sonio, a Paris-based startup that makes AI-powered software…

Samsung Medison to acquire French AI ultrasound startup Sonio for $92.7M