<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Clemens Mewald on Medium]]></title>
        <description><![CDATA[Stories by Clemens Mewald on Medium]]></description>
        <link>https://medium.com/@clemensm?source=rss-3214e56806b6------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*wwVi-CfYAkpAoGYOEVWpHA.jpeg</url>
            <title>Stories by Clemens Mewald on Medium</title>
            <link>https://medium.com/@clemensm?source=rss-3214e56806b6------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 04:26:09 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@clemensm/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com" rel="hub"/>
        <item>
            <title><![CDATA[Crossing the AI Chasm: How OpenAI turned LLMs into a mainstream success]]></title>
            <link>https://medium.com/data-science/crossing-the-ai-chasm-how-openai-turned-llms-into-a-mainstream-success-fc70315cf247?source=rss-3214e56806b6------2</link>
            <guid isPermaLink="false">https://medium.com/p/fc70315cf247</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[openai]]></category>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[editors-pick]]></category>
            <dc:creator><![CDATA[Clemens Mewald]]></dc:creator>
            <pubDate>Thu, 19 Oct 2023 05:38:59 GMT</pubDate>
            <atom:updated>2023-10-19T05:39:57.993Z</atom:updated>
            <content:encoded><![CDATA[<h3>Crossing the AI Chasm: How OpenAI Turned LLMs into a Mainstream Success</h3><h4>And why LLMOps will suffer the same fate as MLOps</h4><p>I’ve been a <a href="https://medium.com/thelaunchpad/your-deep-learning-tools-for-enterprises-startup-will-fail-94fb70683834">vocal</a> <a href="https://medium.com/towards-data-science/the-problem-with-ai-developer-tools-for-enterprises-and-what-ikea-has-to-do-with-it-b26277841661">skeptic</a> about the viability of ML developer tooling (broadly categorized as MLOps) as standalone businesses and, with very few exceptions, I’ve been proven right. The lack of a dominant design has led to fragmented “micro-markets” with very little value capture, mostly because of open source alternatives and cloud vendors giving their ML tools away for free (to collect revenue on the infrastructure layer). So what led LLMs to blow right past these problems, receive breakout media attention, and achieve real widespread adoption? And what is going to happen to all of the startups throwing the MLOps playbook at LLMs, rebranding as LLMOps?</p><p>In this post I’ll use the “diffusion of innovation” theory as well as the concept of “crossing the chasm” in an effort to explain my bullish expectations of LLM providers like <a href="https://openai.com/">OpenAI</a> or <a href="https://www.anthropic.com/">Anthropic</a>, and my bearish view on the attempt to resurrect MLOps as LLMOps.</p><h3>The adoption of innovations and the chasm</h3><p>According to Everett Rogers’ “<a href="https://en.wikipedia.org/wiki/Diffusion_of_innovations">Diffusion of Innovations</a>”, innovative products are adopted progressively by different groups of adopters with distinct traits. Innovators, who are willing to take risks and have a high tolerance for failure, are the first to try out a new product. Laggards, who have an aversion to change, are the last. The famous bell-curve shaped graph shows the percentage of adopters in each category, and the corresponding graph of cumulative adoption resembles the familiar “S curve” pattern of an innovation’s market share over time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*GReaXWNj-G7EyzbC" /><figcaption>Image by author (modified from <a href="https://en.wikipedia.org/wiki/Diffusion_of_innovations#/media/File:Diffusion_of_ideas.svg">source</a>)</figcaption></figure><p>The basic idea is that each group is influenced by signals and behaviors of the preceding groups, relying on social proof to inform their decision to adopt a new product. This is a well understood and empirically documented phenomenon, observed in anything from window AC units to iPhones.</p><p>The “chasm” is a concept popularized by Geoffrey A. Moore’s “<a href="https://en.wikipedia.org/wiki/Crossing_the_Chasm">Crossing the Chasm</a>” that builds on Rogers’ theory. Moore argues that the differences between the early and the mainstream markets are too large and that most products die trying to bridge that “chasm”, which is a fairly common failure mode in tech startups.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Tct_WzRVdhnmueSQ" /><figcaption>Image by author (modified from <a href="https://en.wikipedia.org/wiki/Crossing_the_Chasm#/media/File:Technology-Adoption-Lifecycle.png">source</a>)</figcaption></figure><p>Although Rogers criticized the concept of the chasm by saying that the diffusion of innovation is a “<em>social process</em>” with “<em>no sharp breaks or discontinuities between adjacent adopter categories</em>”, it should be obvious that many products fail to reach the mainstream because they never make it past the Innovator group.</p><p>Moore provides several suggestions on how to bridge the chasm that I only partially agree with. One observation is that, in his own words, his book primarily treats the chasm “<em>as a market development problem</em>” and focuses “<em>on marketing strategies and tactics for crossing it</em>”. He does cover the idea of “whole product management”, but based on his reading of Theodore Levitt’s “The Marketing Imagination” that concept is limited to bridging the gap between marketing message and product truth with “services and ancillary products”. He does not address the actual evolution of the product. In fact, the innovation (aka the core product) is treated as a constant.</p><p>Taking the specific attributes of software (particularly developer tools) into account, I propose two strategies (“evolve” and “skip”) for avoiding the chasm and hypothesize how their application helped fuel the rapid rise of LLMs.</p><h3>Two product-centric ways of avoiding the chasm</h3><h4>Evolve (simplify) your developer tools over time</h4><p>The limitation that the product is a constant, while all other aspects of the “whole product” (like messaging, distribution, pricing) change to appeal to different adoption groups, is mostly motivated by physical products. If you’re in the business of producing and selling widgets, changing your supply chain or retooling your factories is not a trivial thing to do. However, this is an entirely different story with products that are exclusively software. Not evolving your software product is almost always a recipe for failure.</p><p>The need to evolve should be obvious based on how most software startups start out these days. More often than not, developer tools (especially in AI) are born and nurtured amidst a strong and devoted user base of experts in a specific field. It may not come as a surprise that these early users are usually Innovators and, as such, are not representative of the broader market. It is far too easy for founders to spend all of their time and energy on this segment and tweak their products based on their feedback. Unfortunately, commercial success is rarely found in those first groups. Innovators are very sophisticated and often prefer to build vs. buy. Even if they decided to buy they wouldn’t represent a big enough market.</p><p>One solution to this problem is to evolve the product over time for different target audiences. With well-designed developer tools this means introducing new layers of abstractions and/or supporting more widely used languages. To use an example from my previous employer, the ongoing success of Spark is (at least in my opinion) partially due to the fact that the product surface has continuously been simplified to attract a wider range of users (dare I say the Early Majority?). Spark started out with RDDs (Resilient Distributed Datasets) and Scala as its main programming language. Then it expanded language support to Python with PySpark (opening up to a broader set of software engineers) and introduced simpler APIs like the DataFrame, as well as SparkSQL (opening up to SQL analysts). More recently, Spark added a Pandas-compatible API (opening up to Data Scientists) and even introduced an “<a href="https://www.databricks.com/blog/introducing-english-new-programming-language-apache-spark">English SDK</a>” using LLMs (opening up to, well, anyone who knows English). If Spark had not evolved in this manner it would have been stuck in the Innovator segment of experts that know how to write intricate MapReduce programs in Scala.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*HK-rs4UcWAzkddZN" /><figcaption>Image by author</figcaption></figure><p>This strategy seems somewhat obvious but not many technology products (especially in developer tooling) get this right. They sometimes “simplify” the product by removing some knobs but fail to introduce new layers of abstraction that are not leaky.</p><h4>Skip the chasm entirely</h4><p>Another approach, which is less common in developer tools, is to skip the chasm entirely. The idea is deceivingly simple: If success in the early market doesn’t automatically translate to success in the mainstream market, why not directly target the early majority?</p><p>As mentioned before, this is more important in hardware where iterations on a product are slower, more costly, and as a result the core product can’t evolve as easily. The iPhone is a great example of a product that frequently gets criticized by Innovators (even as recent as the iPhone 15 and its <a href="https://www.tomsguide.com/opinion/iphone-15-usb-c-is-a-big-disappointment-heres-why">“disappointing” USB-C port</a>) but achieved rapid success with the Early Majority who didn’t care about these technical details. In fact, Apple repeatedly teaches the industry a masterclass on this strategy with their messaging. Probably the most famous example is the “1,000 songs in your pocket” campaign, which was targeted towards the Early Majority, not Innovators who care about technical specifications.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*YUiW-0veyruMHHAX" /><figcaption>Image by author</figcaption></figure><p>This seems unnatural to many tech startups (especially those focusing on developer tooling) because it’s just too easy to achieve early success with innovators and early adopters. AI developer tools start out in the early market almost by definition, since they are usually built by and for advanced AI researchers or ML engineers. The practice of “proving product&lt;&gt;market fit” as measured by GitHub stars by open sourcing a project just reinforces this.</p><h4><strong>Common failed strategies in commercializing open source projects</strong></h4><p>I’ve seen enough “open source project turned startup” to have at least some level of “pattern recognition” for common failure modes. These startups find early success (and funding) when they experience growing adoption as measured by GitHub stars or PyPI downloads. Then they tragically follow similar paths, sometimes even if there is an experienced founder who “has done it before” (because they don’t actually understand why their previous companies succeeded).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*mgb_5lX-_0vHZZn_" /><figcaption>Image by author</figcaption></figure><p><strong>Upsell Innovators</strong>: Intuitively (or naively?), most startups first attempt to upsell Innovators with a “managed” version of the open source product. This strategy usually falls flat because early Innovators, by definition, are very sophisticated and prefer to build vs. buy. The generic 3S strategy (managed OSS + stability, scalability, security) is not sufficient for this audience to justify writing a check, since they already know how to build and run services themselves. Innovators also fear “vendor lock-in” and losing their ability to innovate independently.</p><p><strong>Product Market Mismatch</strong>: The next attempt is to sell the same “Managed OSS” product to the Early Majority. That usually fails because the core offering is still the same hard-to-use product that has been optimized for Innovators. Just adding 3S is not sufficient to incentivize the Early Majority to upskill (like the plans to train up millions of ML engineers to force the MLOps market into existence). If that wasn’t enough, the final nail in the coffin is that no one beats AWS at this game (which is also the reason why more and more infrastructure open source projects <a href="https://www.hashicorp.com/blog/hashicorp-adopts-business-source-license">switch to non-commercial licenses</a>).</p><p><strong>“Whole Product”</strong>: I call this strategy “whole product” sarcastically, because this term has been misused to fill fundamental product gaps by suboptimal means. This attempt usually follows the realization that the core product is too hard to use for a larger market, and the solution commonly involves “throwing humans at the problem”. This leads to a high service component in a startup’s revenue structure (which no investor likes to see) and bloated delivery organizations. To be fair, some amount of this is necessary, particularly in the enterprise segment or federal. But, more often than not, the startup starts looking like a tech consulting company.</p><h4>A hybrid approach for developer tools</h4><p>The strategy I am proposing is a hybrid approach that still allows for rapid iteration with a devoted user base of Innovators but acknowledges the fundamental differences in the early and mainstream markets by explicitly focusing on the Early Majority in product definition.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ES3PkJZcYxZAVTd8" /></figure><p>Proving out early success with Innovators through open source doesn’t have to be at odds with finding commercial viability with the Early Majority if you recognize that they require different products. Specifically, I suggest to:</p><ol><li>Use your open source project to gain popularity with Innovators</li><li>Use that popularity to raise money</li><li>Use the Innovator group to find out how they are creating downstream value and for whom</li><li>Target your mainstream product to that audience</li></ol><p>This is where the Diffusion of Innovation for software is different from consumer hardware like iPhones: The key insight is that, in the software value chain, Innovators are often the middlemen (middlepersons?) to the Early Majority. Put differently, Innovators themselves are not the end of the value chain. They consume technology to help product/business teams create value. Sometimes that takes the shape of a “Center of Excellence” or a centralized “Innovation Team”. The goal of a tech startup should be to learn who sits in the value chain after those Innovators, which is where they will find the key to the Early Majority. Critically, I am not saying that you should try to disintermediate those Innovators in organizations where they exist, because that usually leads to a political backlash. In those cases you need to make them your “champions”.</p><blockquote>The goal of a tech startup should be to learn who sits in the value chain after those Innovators, which is where they will find the key to the Early Majority.</blockquote><p>The main implication of the “skip” strategy is to make an explicit decision during product definition to address the Early Majority. Note that this is different from the “evolve” strategy in that the “mainstream product” may not simply be an easier version of your original product, but may take an entirely different shape. The two extremes of this different shape are:</p><ol><li><strong>A higher level of abstraction than the original OSS project, in a different form factor.</strong> Although imperfect, Databricks provides another example for this. The breakout product that led to initial interest outside of the Innovators group was not just “managed Spark” but a managed Notebook product for Data Scientists and Engineers (which, at that point in time, was quite novel). Databricks continues to follow the same strategy today with products like Databricks SQL.</li><li><strong>A more focused verticalized product higher in the value chain.</strong> Stripe is a great example as they originally started out with an open source payment processing library and then found success with products like Checkout (a full payment form for websites) or Terminal (point-of-sales checkout terminals).</li></ol><h3>How MLOps failed to evolve and LLMs skipped the chasm</h3><h4>MLOps got stuck in the early market</h4><p>A similar story to the one I shared about the evolution of Spark cannot be told about ML. The MLOps stack looks pretty much the same as it did a few years ago, and the hope in the market is that more and more engineers will learn how to use it.</p><p>Without reminiscing about <a href="https://medium.com/towards-data-science/the-problem-with-ai-developer-tools-for-enterprises-and-what-ikea-has-to-do-with-it-b26277841661">how we got here</a>, let me just briefly summarize my opinion on the state of the MLOps market:</p><ul><li>The MLOps market has not converged on a “dominant design” and, as a result, every “MLOps platform” you will find is different in both obvious and subtle ways.</li><li>On a systems level, the MLOps market hasn’t produced a simpler “form factor” or levels of abstraction, so it is still prohibitively complex and requires several specialized roles (Data Engineers, Data Scientists, ML Engineers, etc.) that are only prevalent in the most advanced tech companies.</li><li>The audience who <strong>can</strong> consume this technology, namely Innovators and Early Adopters, prefer to live on the cutting edge and use open source tools instead of paying a vendor.</li><li>The audience who would be willing to pay a vendor usually just defaults to what the main cloud service providers are offering. Cloud providers are giving the “ML Platform” layer away for free and are content with collecting revenue on storage and compute.</li><li>Since cloud vendors haven’t monetized MLOps explicitly, the value capture in this market has been minimal.</li></ul><p>In summary, MLOps has fallen into the chasm and there’s no sign of it reemerging on the other side.</p><h4>The Early Majority Appeal of LLMs</h4><p>Enter LLMs. OpenAI reportedly <a href="https://www.theinformation.com/articles/openais-revenue-crossed-1-3-billion-annualized-rate-ceo-tells-staff">passed $1.3B in ARR</a> and is expected to keep growing at a rapid pace, which can’t be said about MLOps startups. In fact, you could probably add up the top 10 MLOps startups’ revenue and not even get close. Remember that most cloud providers don’t actually monetize this layer outside of charging for compute and storage, so their “ML” revenue doesn’t really count (unless you want to get into the business of providing cloud infrastructure at commodity prices).</p><p>This begs the question, why did LLMs achieve such mainstream success so quickly? I’d argue that they successfully skipped the chasm in two very different segments.</p><h4>Skipping the chasm in the developer segment</h4><p>Traditional “discriminative” ML models are trained for very specific tasks, like predicting the quality of a sales lead or ranking a list of products. For each one of those tasks, several experts have to work together to write data pipelines, collect labels, refine so-called “features”, train and fine-tune models, evaluate them, deploy them, monitor their performance, and then retrain them periodically. Both the need to repeat this for every task, as well as the amount of expertise required to pull it off, meant that this miracle was attainable only by a select few.</p><p>“Generative” language models, on the other hand, “just work” for a wide variety of use cases, enabling anyone who can make an API call to apply AI to their product or problem. Almost overnight, LLMs solved the talent shortage in the “applied AI” space by giving every software engineer AI superpowers. Critically, the same LLM could generate poems, write code, translate natural language questions into SQL queries, or pass a wide variety of standardized tests. This works either “just out of the box” (zero-shot), or simply by giving the model a few examples of the problem you want to solve (few-shot) and extends to a wide variety of modalities, not just text.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*3D886t9P0Im3P2II" /><figcaption>Image by author</figcaption></figure><p><strong>This is the very definition of skipping the chasm and going straight for the Early Majority.</strong></p><p>It’s also why LLMOps is bound to repeat history. I guess if you have a hammer, everything looks like a nail. Inevitably a cottage industry emerged around the idea that everyone needs to train and fine-tune their own LLMs, which is missing the whole point of why LLMs have been so successful in the first place. Adding back the complexity of writing your data pipelines, training and fine-tuning your own models, deploying them, etc., puts you back into the micro-market of Innovators who prefer to build instead of buy.</p><p>Note that I am not saying that no one should be fine-tuning and deploying their own LLMs. Under some very specific circumstances (which are few) it does make sense to do so. But in almost all of those circumstances you will find yourself in the Innovators and Early Adopters groups, and those groups will just use open source tools and not pay a vendor for the benefit.</p><h4>Skipping the chasm in the consumer segment</h4><p>OpenAI plays in two very different segments: The developer segment discussed above is served with APIs and dedicated compute capacity. ChatGPT and its mobile Apps, on the other hand, are very much “consumer” products. ChatGPT is famously one of the fastest products to reach 1M users (in 5 days) and, while there is no official breakdown of OpenAI’s revenue numbers, one estimate puts revenue from <a href="https://appfigures.com/resources/insights/20231006?f=2">mobile apps at $3M per month</a>. Doesn’t sound like a product that slowly grew through the early market, does it?</p><p>Despite its jargony name (GPT stands for Generative Pretrained Transformer), ChatGPT skipped right to the Early Majority, mostly due to its friendly and easy-to-use form factor. Anyone, from journalists to teachers or students, could access it for free and immediately experience the value. If OpenAI had just released a model that engineers could call through REST APIs, it wouldn’t have led to the massive amount of adoption by the mainstream.</p><p>Most executives would tell you that splitting your focus between two wildly different segments is generally a bad idea. However, I’d argue that the broad success of ChatGPT with consumers was instrumental in driving demand in the developer segment. It turns out that developers and enterprise buyers are also human. They read the news, follow trends, and try out consumer products. OpenAI, whether intentional or not, benefited from this in several ways.</p><ul><li>Most obviously, awareness and brand recognition is critical to any business. Although OpenAI and LLMs were already well known within the AI crowd, it took ChatGPT to make it a brand name for the Early Majority in the broader developer segment.</li><li>One of the reasons the “chasm” exists in the first place is that the Early Majority is usually risk averse and doesn’t trust signals from Innovators. One way to overcome this is by providing them an easy way to experience the product. ChatGPT provided the perfect “free trial” experience for non-technical decision makers in the Early Majority.</li><li>The more “typical” way to achieve revenue growth like OpenAI is to hire an enterprise sales team. It turns out that the traditional Sales-Led-Growth (SLG) motion benefits significantly from tried-and-true PLG methods like seamless access to experience a product. Enterprise buyers increasingly expect to “<a href="https://www.mckinsey.com/industries/technology-media-and-telecommunications/our-insights/from-product-led-growth-to-product-led-sales-beyond-the-plg-hype"><em>see and experience the product’s value before committing to a large contrac</em>t</a>”.</li></ul><h3>Conclusion</h3><p>I started this post as a natural sequel to my <a href="https://medium.com/thelaunchpad/your-deep-learning-tools-for-enterprises-startup-will-fail-94fb70683834">previous</a> <a href="https://medium.com/towards-data-science/the-problem-with-ai-developer-tools-for-enterprises-and-what-ikea-has-to-do-with-it-b26277841661">posts</a> on developer tools for ML because I am seeing the MLOps story repeat itself with LLMOps. But, as I wrote about how LLMs skipped the chasm, I realized that the lessons may be applicable more broadly.</p><p><strong>For LLM providers like OpenAI, Anthropic, et al.</strong>: I am not sure if these companies stumbled upon this strategy accidentally, but, if applied intentionally, there are definitely lessons on how to improve both product development and GTM. However, if you are in hypergrowth mode there is little time or need for optimization.</p><p><strong>For anyone in the LLMOps ecosystem</strong>: I invite you to read my previous posts on ML infrastructure and you will see why I believe there won’t be much value extraction at this layer. Additionally, I believe there are very few cases where fine-tuning LLMs actually makes sense, but others have already <a href="https://www.tidepool.so/2023/08/17/why-you-probably-dont-need-to-fine-tune-an-llm/">written</a> <a href="https://www.anyscale.com/blog/fine-tuning-is-for-form-not-facts">plenty</a> about this.</p><p><strong>For tech startups in general</strong>: I’ve seen massive funding rounds in open source based startups where the hypothesis was either “managed OSS + scale, stability, and security” or “open core and we’ll figure out monetization later”. I believe that the idea of “skipping the chasm” is valuable here and look forward to feedback from both founders and investors!</p><p><em>Opinions expressed in this post are my own and not the views of my employer.</em></p><p><a href="https://www.linkedin.com/in/clemensmewald/"><em>Clemens</em></a><em> is an entrepreneurial product leader who spent the last 8+ years bringing AI to developers and enterprises.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fc70315cf247" width="1" height="1" alt=""><hr><p><a href="https://medium.com/data-science/crossing-the-ai-chasm-how-openai-turned-llms-into-a-mainstream-success-fc70315cf247">Crossing the AI Chasm: How OpenAI turned LLMs into a mainstream success</a> was originally published in <a href="https://medium.com/data-science">TDS Archive</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why Data Is *Not* the New Oil and Data Marketplaces Have Failed Us]]></title>
            <link>https://medium.com/data-science/why-data-is-not-the-new-oil-and-data-marketplaces-have-failed-us-b42dd87a0ba0?source=rss-3214e56806b6------2</link>
            <guid isPermaLink="false">https://medium.com/p/b42dd87a0ba0</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[notes-from-industry]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[data-marketplace]]></category>
            <dc:creator><![CDATA[Clemens Mewald]]></dc:creator>
            <pubDate>Thu, 13 Jul 2023 04:20:22 GMT</pubDate>
            <atom:updated>2023-07-13T04:20:53.854Z</atom:updated>
            <content:encoded><![CDATA[<h4>How a real-time programmatic data exchange would change everything</h4><p>The phrase “<em>data is the new oil</em>” was <a href="https://en.wikipedia.org/wiki/Clive_Humby">coined by Clive Humby in 2006</a> and has been widely parroted since. However, the analogy holds merit in only a few aspects (e.g. the value of both usually increases with refinement) and data’s broader economic impact has been muted outside of a select few tech and finance companies. But the actual differences between oil and data are fundamental.</p><p>Most notably, oil is a commodity. Its quality is standardized and measurable, which makes oil from different sources substitutes (in economic terms it is a “homogenous good”). It is ubiquitous and has a well established price. Not least, if you have a barrel of oil, you can’t simply make a copy to produce another — oil is a limited resource that has to be pulled from the ground.</p><p>Data, on the other hand, is a heterogeneous good. It comes in unlimited variety and the value of each occurrence cannot be measured objectively. When two parties exchange a good, the seller has to set a price and the buyer has to establish their willingness to pay. This is complicated by two attributes of data:</p><p><strong>The marginal cost of selling the same data to another buyer is zero</strong>. The cost of producing data is highly variable (sequencing a genome is more costly than taking your temperature), but once it exists, that <a href="https://www.investopedia.com/terms/s/sunkcost.asp">cost is sunk</a>. The process of selling it to another buyer is the simple act of copying it which, for all practical purposes, is zero.</p><p><strong>It is hard to establish the value of data without “consuming” it</strong>. A database of sales leads is only valuable if it results in actual sales. To make things worse, the value of the exact same dataset is highly dependent on the buyer (or its intended use). In this regard, data is actually closer to “experience goods” like books or vacations.</p><p>In this post I will argue that data is one of the most underutilized and, as a result, undervalued goods. I outline a real-time programmatic data exchange that is at the heart of a <a href="https://www.arcus.co/">new company</a> I am advising and could have a profound impact on the data economy.</p><blockquote>“Data is one of the most underutilized and, as a result, undervalued goods.”</blockquote><h3>Why should we care about the economics of data?</h3><h4>Distinguishing between 1st and 3rd Party Data</h4><p>No one I know argues against the importance of data. But even though the narrative of <em>“data is an asset”</em> has become quite common, data is probably one of the most underutilized and, as a result, undervalued goods.</p><p>When most businesses think about data, they think about data they <strong>own</strong>. This 1st party data (1PD) is usually collected from websites, CRM/ERP systems, correspondence with customers, etc. Some 1st party datasets are more valuable than others: Google’s trove of search and click history is part of their 1PD corpus.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*PoBrBxg6_hbc5O-9" /><figcaption>Image by author</figcaption></figure><p>What should be obvious is that the amount of 3rd party data (3PD) in existence, which is data you don’t directly own, is several orders of magnitudes larger than your 1PD. The argument I will make is that most people don’t realize the value of 3PD to their business. Let’s use an example to illustrate this point.</p><h4>Detecting email spam (and why your 1PD alone may not be as valuable as you think)</h4><p>What do you think is the most predictive signal in detecting email spam? The most common answers include: <em>typos, grammar, </em>or mention of specific keywords like <em>v1agra</em>. A slightly better answer is <em>“if the sender is part of your contacts or not”</em> — not because it’s true (there are more valid senders of non-spam off your contacts than on it), but because it considers a data source outside of the email itself: your contacts.</p><p>If only for the purpose of this anecdote, let’s say that the most important signal in detecting email spam is actually the <strong><em>age of the domain of the sender</em></strong>. Once stated this seems intuitive: Spammers frequently register new domains that, in short notice, get blocked by email providers.</p><p>Why don’t most people think of this answer? Because the age of the domain of the sender is not part of your “1st party dataset”, which only contains things like the sender’s and recipient’s emails, the subject, and the email body. But everyone who knows something about domain names will tell you that this information is not only readily available but also free. Take the domain, go to a domain registrar, and you can find out when it was registered (e.g. gmail.com was registered on August 13th 1995).</p><p>As it turns out, the data you own (1PD) is probably much more valuable to you if it is augmented with <em>data someone else owns (3PD).</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Yadc7xO9aryXBcsiYoP7NQ.png" /><figcaption>Image by author</figcaption></figure><h4>From email spam to quant trading (and beyond?)</h4><p>Extrapolating from the idea that you can detect email spam better simply by augmenting your dataset by the age of the domain of the sender, you can imagine that there are infinite ways you can apply the same principle. Below is a simple example of the data you can find from an address (at least in the US).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mj4HqGPF8y0QdTKo0zwU1g.png" /><figcaption>Image by author</figcaption></figure><p>Of course, this is not a new idea. Hedge funds have been using ‘’<a href="https://www.investopedia.com/what-is-alternative-data-6889002">alternative data</a>’’ for decades. <a href="https://en.wikipedia.org/wiki/Renaissance_Technologies">RenTech</a> was one of the first companies utilizing alternative data like satellite imagery, web scraping, and other creatively sourced datasets to give them an edge in trading. UBS used <a href="https://www.cnbc.com/id/38722872">satellite imagery to monitor the parking lots of big retailers</a> and correlate car traffic with quarterly revenue, allowing more accurate predictions of earnings before they were released.</p><p>You can probably guess where this is going. There are <a href="https://www.statista.com/statistics/1135041/number-of-data-suppliers-in-usa">over 300k data providers</a> in the US alone, and likely billions of datasets. Many of them could give you a competitive advantage in whatever you are trying to predict or analyze. The only limit is your creativity.</p><h4>The (subjective) value of using external data</h4><p>While the value of external data to quant trading firms is immediate and significant, executives in other industries have been slow to come to the same realization. A thought experiment helps: Consider some of the most important predictive tasks for your business. For Amazon, that could be which product a given customer is most likely to purchase next. For an oil exploration company, it could be where to discover the next oil reservoir. For a grocery chain, it might be the demand for specific products at any given point in time.</p><p>Next, imagine you had a magic dial that you could turn to improve the performance of that predictive task and the resulting value to your business. Grocery chains lose an <a href="https://www.mckinsey.com/industries/consumer-packaged-goods/our-insights/reducing-food-loss-what-grocery-retailers-and-manufacturers-can-do">approximate 10% of their food to spoilage</a>. If only they could predict demand better, they could improve their supply chain and reduce that spoilage. At <a href="https://csimarket.com/Industry/industry_Profitability_Ratios.php?ind=1305">about 20% gross margin</a>, every percentage point reduction in spoilage would improve their gross margin by 0.8pp. So, for a company like Albertsons, every percentage point improvement in predicting demand could be worth an estimated $640M per year. Alternative data could help with that.</p><p>The same data that saves a grocery chain hundreds of millions of dollars may be worth even more to a commercial real estate developer. However, data marketplaces haven’t been able to extract that value (through <a href="https://en.wikipedia.org/wiki/Price_discrimination">price discrimination</a>) because they are far away from the actual business application. They have to put a generic price on their inventory, independent of its eventual use.</p><p>Yet, external data has managed to become an estimated $5B market <a href="https://www.grandviewresearch.com/industry-analysis/alternative-data-market">growing</a> <a href="https://www.researchandmarkets.com/reports/5769444/alternative-data-global-market-report">at</a> 50% year-over-year, and the marketplaces that trade those data represent <a href="https://www.grandviewresearch.com/industry-analysis/data-marketplace-market-report">another $1B market</a>. This represents only a small fraction of the potential market size for at least two reasons: (1) Although every single company should be able to benefit from 3PD, <a href="https://sloanreview.mit.edu/projects/using-analytics-to-improve-customer-engagement/">only the most analytically mature companies</a> know how to leverage 3PD to their advantage. (2) Those who dare to try are slowed down by the antiquated process to discover and purchase 3PD. Let’s take a quick detour into the ad buying process to illustrate that point.</p><h3>What programmatic ads can teach us about how to improve the data economy</h3><h4>The evolution of the ad buying process</h4><p>Not too long ago, in 2014, programmatic ad buying represented<a href="https://www.insiderintelligence.com/public_media/docs/Programmatic_Advertising_2015-Executive_Summary-10082015.pdf"> less than half of digital ad spend</a>. How did people buy ads? They told an agency what kind of audience they wanted to reach. Then the agency looked at the publishers they worked with and their “inventory” (magazine pages, billboards, TV ad slots, …), and put together a plan of where to run a campaign to meet those requirements. After some negotiations the company and the agency eventually signed a contract. Ad creative would be developed, reviewed, and approved. Insertion orders would be submitted and eventually the ad campaign would run. A few months later the company would get a report on how the agency thought it went (based on a small sampled dataset).</p><p>Along came Google who (among others) popularized what is known as programmatic ad buying. Google created its own ad exchange (AdX) that connected the inventory from multiple publishers with different ad networks. As users performed search or visited websites, it ran a real time auction (yes, within the time it takes to load a webpage) that pitched all advertisers against each other and picked the highest bidder (actually, <a href="https://blogs.cornell.edu/info2040/2012/10/27/google-adwords-auction-a-second-price-sealed-bid-auction/">2nd highest</a>) to display their ads.</p><p>And just like that, ad buying went from a months-long ordeal with lots of humans involved and very little transparency, to a real-time transaction that both set prices (through the auction) <strong>AND</strong> gave instant measurement of impressions (and sometimes even conversions). This level of velocity, liquidity, and transparency led to an explosion in the online advertising market and programmatic ad buying now represents <a href="https://www.statista.com/forecasts/1316147/programmatic-share-digital-ad-spend-worldwide">close to 90% of digital advertising budgets</a>.</p><h4>The antiquated data buying process</h4><p>As it turns out, buying data today is even more painful than buying ads 20 years ago.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*a-gY65BUaESi5Q2C" /><figcaption>Image by author</figcaption></figure><p><strong>Discovery: </strong>First, you need to gain awareness of the fact that 3PD could be extremely valuable to you. Remember the email spam example? Next, you need the creativity to think of all of the possible 3PD that you could use to augment your 1PD. Would you have considered satellite images of parking lots to predict retailer’s revenues? Then you have to go to all of the data providers and search for what you think you need. You will find that most “data marketplaces” are basically just free text search over descriptions. Next you’ll have to look at the schema of the data to see if it contains what you are looking for, at the granularity that you need (e.g. sometimes you need foot traffic minute-by-minute as opposed to just hourly), and with the right coverage (e.g. for the right date range or geo region).</p><p><strong>Procurement: </strong>Once you find what you think you need, you have to figure out how to procure that data. You’ll be surprised that it’s not always a simple “click-to-buy” affair. You have to go talk to a data provider, learn about data licenses (can you even use this data for the intended purpose?), negotiate terms, and sign a contract. You repeat that process several times for different 3PD from different providers who all have different contracts, terms, and licenses. You wait to receive the data on floppy disks in your mailbox (just kidding).</p><p><strong>Integration: </strong>Finally you have the data you wanted. You wait a couple of weeks while your data engineering teams join it with your 1PD, just you learn that it’s not actually as useful as you had hoped. The time and money you spent are wasted and you never try again. Or, even more agonizingly, you find out that the 3PD does give you a meaningful improvement and you go on to productionize your predictive models, just to find out that you need fresh data on an hourly basis and that one of the data sources you used is only updated weekly. If you ever try again, you now know that, in addition to checking granularity based on the schema, you have to consider refresh rates.</p><p>This process can take anywhere from <a href="https://www.neudata.co/blogs/external-data">several months to more than a year</a>. In an attempt to build a faster horse, some <a href="https://www.mckinsey.com/capabilities/mckinsey-digital/our-insights/harnessing-the-power-of-external-data">consulting firms are suggesting</a> that the solution is to hire entire “data sourcing teams” and create relationships with data aggregators.</p><h3>The data economy needs a real-time programmatic data exchange</h3><p>The reason I invoked the programmatic ad buying example is my strong conviction that the data economy can evolve in the same manner, which would result in a comparably profound economic impact.</p><p><strong>Discovery and Procurement:</strong> Consider a data exchange that brought all of the data providers (the “inventory”) together and rationalized licenses so that it could facilitate transactions programmatically. Data consumers would provide any 1PD and express the task they are interested in (e.g. predict demand) as well as the value they put on each unit of improvement (remember that 1pp of improvement in demand prediction is worth $640M to Albertsons?). The data exchange would automatically identify which 3PD would provide a measurable improvement to that task, run a real-time auction based on the data consumer’s budget, and optimally choose the subset of 3PD that meet their requirements. This proximity to the actual task (and associated value) would solve the discovery and value extraction problems of existing data marketplaces which have to treat data as a commodity and not the experience good it is.</p><p><strong>Continuous Integration and Improvement:</strong> Because most valuable predictive tasks are continuous in nature (e.g. you need to predict demand on a regular basis and not just once), the exchange would become the center of repeated transactions that provide more value over time as new data providers and consumers enter the ecosystem. Running the auction every time you perform a predictive task (and not just once when you decide which data you want to buy) would ensure that new data providers reach distribution immediately, and that data consumers would benefit from the most recent data inventory and price discovery. Just as ad buying evolved from offline and manual, data transactions would become real-time, programmatic, and most importantly measurable.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*74o5dJtsP_azMaURyENzEA.png" /><figcaption>Image by author</figcaption></figure><p>This “real-time programmatic data exchange” would provide economic incentives for all participants in the marketplace:</p><ul><li>Both data providers and consumers would benefit from improved discoverability. Data marketplaces have a long-tail problem: There is a massive amount and variety of data, and it’s almost impossible using existing methods to discover the most relevant data for any given task/application.</li><li>Standardizing terms and licenses, so that transactions could happen programmatically, would improve the velocity and liquidity of the data economy, eliminating friction in the purchasing process and opening it up to a broader audience. As a result, the overall market would expand significantly.</li><li>By setting price in an auction based on the subjective value for each data consumer, consumers get a better deal if there are multiple data providers with comparable data, and providers can price-discriminate across consumers who value the same kind of data differently.</li><li>Aggregating demand from data consumers on one platform would provide invaluable insights for data providers. E.g., given all of the tasks and willingness-to-pay from the demand side, the data exchange could infer exactly which data is missing from the provider side, helping prioritize data acquisition and creation. Take note, synthetic data providers!</li></ul><h3>Hard problems that need to be solved</h3><p>In addition to solving discoverability and pricing for data, much like what Google did for advertising, this programmatic data exchange also needs to tackle licensing and delivery, not unlike what Spotify did for music. But if there weren’t a number of hard problems to solve it wouldn’t be as interesting and meaningful of an endeavor.</p><p><strong>Commercial</strong></p><ul><li><strong>Data licensing is relatively new. </strong>From what I can tell there is not a lot of standardization in data licensing. Every data provider has their own special flavor of licenses that are incompatible with others. In order to facilitate an exchange, licensing needs to be streamlined.</li><li><strong>Data marketplaces may fear disintermediation</strong>. The data ecosystem is complicated. For data providers, this would be an entirely new distribution channel. They are painfully aware of the discoverability problem and this exchange may open up the market to millions of new consumers who wouldn’t otherwise have considered alternative data. Data marketplaces and aggregators, on the other hand, are the record label equivalent that may want to block direct access of data providers to a programmatic data exchange.</li><li><strong>Introducing a new pricing model to an “old” industry is hard</strong>. The liquidity mechanisms of a programmatic exchange would significantly expand both the demand and supply side, and the pricing mechanism would optimize value capture. In aggregate, a programmatic data exchange would be a win for data providers.</li></ul><p><strong>Technical</strong></p><ul><li><strong>Semantic type detection is stuck in the past. </strong>In order to automatically identify which datasets could be joined, you first need to understand the semantic type of data. E.g. is something just a number, a zip code, or a currency? Most semantic type detection is heuristic based, but there are more modern approaches.</li><li><strong>You can’t brute-force data discovery. </strong>It turns out that there is <strong>a lot</strong> of data. The naive approach to finding out which 3PD most benefits your task would be to simply “try out” all of the data to identify which one provides most value. Thankfully there are modern breakthroughs in fields like information theory and data summarization that make this problem tractable.</li><li><strong>Joining data is hard.</strong> Once you know semantic types and you have a mechanism to identify which 3PD would provide a meaningful benefit, you have to join 1PD and 3PD in interesting ways. Weather data may come with the longitude and latitude of the weather station that doesn’t match the airport you want to predict flight delays for. Or foot-traffic data may come hourly and you need to figure out whether you want to use an average, max, or nth percentile for your daily aggregate.</li><li><strong>Data security.</strong> Data providers don’t like giving away their data (because it can be replicated so easily). However, there are techniques (like <a href="https://en.wikipedia.org/wiki/Federated_learning">federated learning</a>) that allow augmentation of predictions while preserving data access and privacy.</li></ul><p>I believe that the impact of a real-time programmatic data exchange will be profound, and thankfully, recent advancements in AI provide solutions to the challenges outlined above. I, for one, look forward to a future with data as an experience good as opposed to a commodity.</p><p><em>Opinions expressed in this post are my own and not the views of my employer.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b42dd87a0ba0" width="1" height="1" alt=""><hr><p><a href="https://medium.com/data-science/why-data-is-not-the-new-oil-and-data-marketplaces-have-failed-us-b42dd87a0ba0">Why Data Is *Not* the New Oil and Data Marketplaces Have Failed Us</a> was originally published in <a href="https://medium.com/data-science">TDS Archive</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Golden Age of Open Source in AI Is Coming to an End]]></title>
            <link>https://medium.com/data-science/the-golden-age-of-open-source-in-ai-is-coming-to-an-end-7fd35a52b786?source=rss-3214e56806b6------2</link>
            <guid isPermaLink="false">https://medium.com/p/7fd35a52b786</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[editors-pick]]></category>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[notes-from-industry]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Clemens Mewald]]></dc:creator>
            <pubDate>Wed, 07 Jun 2023 04:26:05 GMT</pubDate>
            <atom:updated>2023-06-07T05:07:27.220Z</atom:updated>
            <content:encoded><![CDATA[<h4>NC, SA, GPL, and other acronyms you don’t want to see in the open source license of the model you are using</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2f3N_RSBUwPbdWjmEa1KTQ.png" /><figcaption>Image by author (modified from <a href="https://pixabay.com/illustrations/hand-drawing-draw-notes-sketch-1515910/">source</a>)</figcaption></figure><h3>A (biased) history of open sourcing AI libraries and models</h3><p>I joined the Google Brain team in 2015 right as <a href="https://ai.googleblog.com/2015/11/tensorflow-googles-latest-machine.html">TensorFlow was open sourced</a>. Contrary to popular belief, TensorFlow was <strong>not</strong> the secret sauce behind Google’s success at that point in time. Only a handful of researchers had used it, and it took several years before it transformed Alphabet’s most important properties in a material way.</p><p>However, TensorFlow’s impact on the open source community was almost immediate. It ushered in an era of community-driven innovation that has directly contributed to the breakneck pace of AI advancements in the last couple of years. To be fair, TensorFlow was not the first open source deep learning library (e.g. <a href="https://caffe.berkeleyvision.org/">Caffe</a> was released in 2014), but it was the first that was backed by the level of credibility (and developer advocacy budget) of a company like Google.</p><p>But TensorFlow is just a library. Critically, you still need to provide your own data to actually train predictive <strong>models</strong>. In order to predict future housing prices, you need a dataset with historic housing prices and use TensorFlow to train a model. The model that comes out on the other end now encodes the aggregate knowledge of your data. A few years after open sourcing TensorFlow, Google took another fateful step that accelerated the path towards “free for all” AI. The decision to <a href="https://ai.googleblog.com/2018/11/open-sourcing-bert-state-of-art-pre.html">open source the BERT model</a> in 2018 helped trigger an avalanche in large language models. Shortly thereafter in 2019, OpenAI (still a non-profit at that point in time) <a href="https://openai.com/research/gpt-2-1-5b-release">open sourced their GPT2 model</a>. And just like that, open sourcing trained models became a thing.</p><p>The escalation from open sourcing a library like TensorFlow to a fully-trained model like BERT shouldn’t be underestimated. TensorFlow is simply a set of instructions, BERT is the result of a costly training process of applying those instructions to a large amount of data. To use a powerful analogy: If TensorFlow was a biology textbook on human reproduction, BERT would be a college graduate. Someone read the textbook, applied its instructions, and spent a lot of time and money to raise an offspring who is now a fully educated adult ready to enter the workforce (or grad school).</p><blockquote>“If TensorFlow was a biology textbook on human reproduction, BERT would be a college graduate.”</blockquote><h3>Open Sourcing Decisions</h3><p>How did we end up there? I attribute many of the open sourcing decisions during that period to the growing ​​prominence and relative bargaining power of research scientists. Researchers prefer jobs that allow them to publish in prestigious journals (like <a href="https://nips.cc/">NeurIPS</a>), and those publications are more relevant (and credible) if they come with <a href="https://paperswithcode.com/">open sourced code</a>. That’s one of the reasons why more secretive companies like Apple <a href="https://hbr.org/2015/11/can-apple-attract-top-researchers-if-it-keeps-their-research-secret">find it hard to attract talent</a>. Researchers who are allowed to talk publicly about their work are widely recognized in the industry, and their market value becomes directly correlated with their publications in top tier journals. Since rockstar AI researchers are scarce, <a href="https://www.nytimes.com/2018/04/19/technology/artificial-intelligence-salaries-openai.html">they command annual compensation packages north of $1M</a>.</p><p>Not a lot of economic scrutiny was applied to these open sourcing decisions, let alone the more important aspect of licensing (more on that later). What was the value of the IP Google gave up with BERT? How would Google’s competitors use these libraries and models against them? Thankfully, open source infrastructure projects and their corporate maintainers provide an informative case study on companies wisening up to the implications of open source licensing decisions.</p><h3>A Sea Change in Open Source</h3><p>At the same time of TensorFlow’s rise, foreshadowing what was yet to come in open source AI, enterprise software went through an open source licensing crisis. Mostly <a href="https://www.nytimes.com/2019/12/15/technology/amazon-aws-cloud-competition.html">thanks to AWS</a>, which had mastered the craft of taking open source infrastructure projects and building commercial services around them, many open source projects exchanged their permissible licenses for “Copyleft” or “ShareAlike” (SA) alternatives.</p><p>Not all open source is created equal. Permissible licenses (like Apache 2.0 or MIT) allow anyone to take an open source project and build a commercial service around it. “Copyleft” licenses (like GPL), similar to Creative Common’s “ShareAlike” terms, are one way to protect against this. They are sometimes referred to as a “poison pill”, because they require any derivative product to be licensed the same way. If AWS launched a service based on an open source project with a “Copyleft” license, the AWS service itself must be open sourced under the same license.</p><p>So, partially in response to competitive cloud services, the corporate creators and maintainers of open source projects like <a href="https://techcrunch.com/2018/10/16/mongodb-switches-up-its-open-source-license/">MongoDB</a> and <a href="https://techcrunch.com/2019/02/21/redis-labs-changes-its-open-source-license-again/">Redis</a> switched up their licenses to less permissible alternatives. This led to a painful but entertaining back-and-forth between <a href="https://aws.amazon.com/blogs/opensource/setting-the-record-straight-aws-open-source/">AWS</a> and <a href="https://redis.com/blog/aws-vs-open-source/">those companies</a> on the principles and merits of open source, which has since calmed down a bit.</p><p>Note that this change in licensing had a deceptive impact on the open source ecosystem: There are still a lot of new open source projects being announced, but the licensing implications on what can and cannot be done with those projects are more complicated than most people realize.</p><h3>Turning Tides in Open Source AI</h3><p>At this point you should be asking yourself: If the corporate maintainers of open source infrastructure projects realized that others were reaping more of the commercial benefits than themselves, shouldn’t the same be happening with AI? Isn’t this an even bigger deal for open source AI models, which hold the aggregate value of compute and data that went into creating them? The answers are: Yes and yes.</p><p>Although there seems to be a Robin Hood-esque movement around open source AI, the data is pointing in a different direction. Large corporations like Microsoft are <a href="https://huggingface.co/microsoft/layoutlmv3-base/commit/4dcbeabd3db1a13c8aeead201bb7a4811904f1fd">changing licensing</a> of some of their most popular models from permissible to non-commercial (NC) licenses, and Meta has started to use non-commercial licenses for all of their recent open source projects (<a href="https://ai.facebook.com/blog/multilingual-model-speech-recognition/">MMS</a>, <a href="https://ai.facebook.com/blog/imagebind-six-modalities-binding-ai/">ImageBind</a>, <a href="https://ai.facebook.com/blog/dino-v2-computer-vision-self-supervised-learning/">DINOv2</a> are all CC-BY-NC 4.0 and <a href="https://ai.facebook.com/blog/large-language-model-llama-meta-ai/">LLAMA</a> is GPL 3.0). Even popular projects from universities like <a href="https://github.com/tatsu-lab/stanford_alpaca">Stanford’s Alpaca</a> are only licensed for non-commercial use (inherited by the non-permissible attributes of the dataset they used). Entire companies change their business models in order to protect their IP and rid themselves of the obligation to open source as part of their mission — remember when a small non-profit called OpenAI <a href="https://openai.com/blog/openai-lp">transformed itself</a> into a capped-profit? Notice that GPT2 was open sourced, but GPT3.5 or GPT4 were not?</p><p>More generally speaking, the trend towards less permissible licenses in AI, although opaque, is noticeable. Below is an analysis of model licenses on <a href="https://huggingface.co/models">Hugging Face</a>. The share of permissible licenses (like Apache, MIT, or BSD) has been on a persistent decline since mid 2022, while non-permissible licenses (like GPL) or restrictive licenses (like OpenRAIL) are becoming more common.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*R1hBnzXDikinW_R1uKdbwQ.png" /><figcaption>Source: Analysis by author</figcaption></figure><p>To make things worse, the recent frenzy around large language models (LLMs) has further muddied the waters. Hugging Face maintains an “<a href="https://huggingface.co/spaces/HuggingFaceH4/open_llm_leaderboard">Open LLM Leaderboard</a>” which aims to highlight “<em>the genuine progress that is being made by the open-source community</em>”. To be fair, all of the models on the board are indeed open source. However, a closer look reveals that almost none are licensed for commercial use*.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xqaXjNgtcps6gaksOl1K6A.png" /><figcaption>Source: Analysis by author</figcaption></figure><p><em>*Between the writing of this post and its publication, the license for </em><a href="https://falconllm.tii.ae/"><em>Falcon models</em></a><em> changed to the permissible Apache 2.0 license. The overall observation is still valid.</em></p><p>If anything, the Open LLM Leaderboard highlights that innovation from big tech (LLaMA was open sourced by Meta with a non-commercial license) dominates all other open source efforts. The bigger problem is that these derivative models are not as forthcoming about their licenses. Almost none declare their license explicitly, and you have to do your own research to find out that the models and data they are based on don’t allow for commercial use.</p><h3>The Future of Open Source AI</h3><p>There is a lot of virtue-signaling in the community, mostly by well-meaning entrepreneurs and VCs who <a href="https://www.linkedin.com/posts/turck_this-week-in-ai-adobe-killed-all-the-generative-activity-7067856288155586560-FPNT?utm_source=share&amp;utm_medium=member_desktop">hope</a> that there is a future that is not dominated by OpenAI, Google, and a handful of others. It is not obvious why AI models should be open sourced — they represent hard-earned intellectual property that companies develop over years, spending billions on compute, data acquisition, and talent. Companies would be defrauding their shareholders if they just gave everything away for free.</p><blockquote>“If I could invest in an ETF for IP lawyers I would.”</blockquote><p>The trend towards non-permissible licenses in open source AI seems clear. Yet, the overwhelming volume of news fails to point out that the cumulative benefit of this work accrues almost entirely to academics and hobbyists. Investors and executives alike should be more aware of the implications and practice more care. I have a strong feeling that most startups in the emerging LLM cotton industry are building on top of non-commercially licensed technology. If I could invest in an ETF for IP lawyers I would.</p><p>My prediction is that the value capture for AI (specifically for the latest generation of large generative models) will look similar to other innovations that require significant capital investment and accumulation of specialized talent, like cloud computing platforms or operating systems. A few major players will emerge that provide the AI foundation to the rest of the ecosystem. There will still be ample room for a layer of startups on top of that foundation, but just as there are no open source projects dethroning AWS, I consider it very unlikely that the open source community will produce a serious competitor to OpenAI’s GPT and whatever comes next.</p><p><em>Opinions expressed in this post are my own and not the views of my employer.</em></p><p><a href="https://www.linkedin.com/in/clemensmewald/"><em>Clemens Mewald</em></a><em> leads the product team at Instabase. Previously he worked on open source AI projects like MLflow at Databricks and TensorFlow at Google.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7fd35a52b786" width="1" height="1" alt=""><hr><p><a href="https://medium.com/data-science/the-golden-age-of-open-source-in-ai-is-coming-to-an-end-7fd35a52b786">The Golden Age of Open Source in AI Is Coming to an End</a> was originally published in <a href="https://medium.com/data-science">TDS Archive</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The problem with AI developer tools for enterprises (and what IKEA has to do with it)]]></title>
            <link>https://medium.com/data-science/the-problem-with-ai-developer-tools-for-enterprises-and-what-ikea-has-to-do-with-it-b26277841661?source=rss-3214e56806b6------2</link>
            <guid isPermaLink="false">https://medium.com/p/b26277841661</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Clemens Mewald]]></dc:creator>
            <pubDate>Tue, 18 Aug 2020 02:36:03 GMT</pubDate>
            <atom:updated>2020-08-18T02:36:03.718Z</atom:updated>
            <content:encoded><![CDATA[<p>Over a year ago I shared my thoughts on why <a href="https://medium.com/thelaunchpad/your-deep-learning-tools-for-enterprises-startup-will-fail-94fb70683834">most startups that focused on deep learning tools for enterprises would fail</a>. That post got a lot of attention (with help from <a href="https://www.linkedin.com/posts/pnorvig_startups-ml-artificialinteligence-activity-6496808747783065600-nokQ">Peter Norvig posting a video about it</a>), and more than one founder of said startups told me that their investors made them write a response. I apologize for any inconvenience caused, but more scrutiny in this space definitely helps.</p><p>Unfortunately, the landscape hasn’t changed much since then. The way I lovingly describe most AI developer stacks these days is that they are <em>“like DIY craft kits, with the instructions and 70% of the parts missing”</em>. Innovation takes time.</p><p>In an effort to explain how we got here, and help guide where we need to go, I summarize three major challenges that are common in the early stages of the technology innovation lifecycle. Most importantly, we haven’t converged on a <strong>dominant design</strong> for ML Platforms, which leads to a proliferation of differently scoped and shaped systems with ill-defined interfaces. As a result, it has proven prohibitively hard to create <strong>appropriate form factors</strong> for AI developer tools targeted at enterprise users. Finally, and this is where IKEA comes in, the predominant way of how these tools are consumed by enterprises today tragically suffers from the <strong>IKEA effect</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-_Vkw_kFSE-PxX5JJJAMpA.png" /><figcaption><strong>Figure 1</strong>: ML Platforms usually come with lots of pieces missing and little to no assembly instructions (Image by author, logos from open source projects <a href="https://github.com/apache/spark">Spark</a>, <a href="https://github.com/tensorflow">TensorFlow</a>, <a href="https://github.com/apache/airflow">Airflow</a>, <a href="https://github.com/kubernetes">Kubernetes</a>, and <a href="https://github.com/docker">Docker</a>)</figcaption></figure><blockquote>“AI developer stacks today are like DIY craft kits, with the instructions and 70% of the parts missing.”</blockquote><h3>AI Developer Tools are lacking a Dominant Design</h3><p>The emergence of new technologies is usually accompanied with subsequent phases of expansion and contraction in the number of possible solution designs. It is no longer contentious that AI will transform many industries, often becoming a strategic advantage and even creating new “AI first” business models and companies. As a result, all major Cloud vendors (and countless startups) are piling on resources to bring AI developer tools to a broader audience, most importantly big enterprises. All of these vendors broadly attempt to solve the same user needs, but with distinctly different approaches and outcomes, leading to a proliferation in different designs.</p><h4><strong>Dominant Design in ML APIs</strong></h4><p>This phenomenon exists at every level of the stack and usually progresses from the bottom up. As a PM on the Google Brain team in 2016, I remember trying to rationalize over 20 different high-level Python APIs that had emerged for TensorFlow within Google. Eventually, we converged on the Estimator and Layers APIs (which merged with Keras in TensorFlow 2.0).</p><p>Once one of the design’s user adoption surpasses its competitors by a significant enough margin, it becomes the standard (or “dominant design”) and other players in this space conform to it, e.g. see equivalent APIs in PyTorch. The need for convergence on a dominant design is especially evident with platform products where it is prohibitively expensive to maintain countless competing designs, as is the case with ML frameworks where Data Scientists, ML Engineers, ISVs, Educators, etc. can’t cope with 100’s of overlapping and incompatible APIs.</p><h4><strong>Dominant Design in ML Platforms</strong></h4><p>When we talk about “AI developer tools for enterprises” we are really talking about an emerging class of technology called “ML Platforms”. The fact that we are missing a dominant design for ML Platforms also means that there is no generally accepted definition, so I’ll just give you a very basic one: An ML Platform is a horizontal technology (i.e. not specific to a vertical use case) that provides all of the capabilities to cover the full lifecycle of ML applications. A <a href="https://medium.com/thelaunchpad/your-deep-learning-tools-for-enterprises-startup-will-fail-94fb70683834">graph from my previous blog post</a> helps illustrate some of the different components of such a platform.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/902/1*wQxEZuicw4OfSHa4rjXXHg.png" /><figcaption><strong>Figure 2</strong>: A simplified overview of the different components considered to be part of an ML Platform (Image by author)</figcaption></figure><p>At this point in time, there isn’t even broad agreement in the industry on the scope of ML Platforms, i.e. where they begin and end. E.g., some ML Platform products are entirely lacking capabilities from the <em>Pre-Training (Data Prep)</em> category.</p><p>There are several reasons why we haven’t reached a dominant design for ML Platforms. To name just the most important ones:</p><ul><li><strong>Underlying technologies haven’t matured</strong>. Many of the technologies leveraged within an ML Platform are themselves early in their lifecycle. It is hard to build an ML Platform that provides continuously updated ML models when the ML framework used for said models makes backwards incompatible changes to its checkpointing format. Imagine trying to build the UI for a web app without the backend APIs having been defined. You will inadvertently have to go back and change things as the APIs evolve, and in the ML space APIs evolve rapidly.</li><li><strong>ML Platform creators don’t know what they don’t know.</strong> I have spent countless hours talking to engineering teams who had grand plans for building the canonical ML Platform. In most cases they had a mental model of only about 20% of what was required to build an ML Platform and, as a result, vastly underestimated the difficulty of what they were embarking on. A quick anecdote of how I used to make this point at Google might help: If a random Google engineer wants to build a driverless car and asks their Director for headcount, the typical response is <em>“That’s crazy hard and we are already investing massive resources into this; go work at Waymo”</em>. However, if a random Google engineer wants to build an ML Platform and asks their Director for headcount, the typical response is <em>“Sounds great, here have two engineers”</em>. Of course, we eventually got to the point where the effort of building an ML Platform was generally recognized as being more like that of building a driverless car (with some level of exaggeration to make my own job sound more important), and most of Alphabet started using <a href="https://www.tensorflow.org/tfx">TFX</a>.</li><li><strong>ML Platform consumers don’t know what they don’t know.</strong> Especially in the enterprise space, there are many companies who buy so-called “ML Platforms” without knowing the features they should be expecting or the questions they should be asking. It is almost impossible for enterprises to evaluate these offerings because they all sound the same but provide vastly different sets of features. The way that a customer once put this to me is that <em>“there is an equivalence problem in the ML Platform space”</em>, meaning that every product they get pitched sounds equivalent and they don’t know the differences until it’s too late. Below is a graph I used in a talk at <a href="https://mlsys.org/Conferences/2020">MLSys</a> (previously SysML) earlier this year to make this point.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*E-joaddQfTfbJ8Q2_V-qDw.png" /><figcaption><strong>Figure 3</strong>: A tongue-in-cheek illustration of the difference between the perceived and actual overlap of <a href="https://www.tensorflow.org/tfx">TFX</a>, <a href="https://www.kubeflow.org/">Kubeflow</a>, and <a href="https://mlflow.org/">MLflow</a> (taken from my talk at MLSys in March 2020) (Image by author)</figcaption></figure><h3>AI Developer Tools have a Form Factor Problem</h3><p>The previous section should already spell trouble for the attentive reader. If we haven’t converged on a dominant design, how can we agree on the appropriate form factors? First, let me explain what I mean by <em>form factor </em>in this context. Usually, this term is used to refer either to electronic components (e.g. motherboards) or, closer to how I use it, to different incarnations of how technology is packaged for users. E.g., the iPhone defined the predominant form factor for smartphones. I misappropriate this term to summarize everything you would consider when you talk about the “product surface”, “user experience”, or “developer experience”. What do developers actually interact with when we say they are using an ML Platform?</p><p>Right now, the form factor for most AI developer tools is like the Wild West of different API surfaces and services. Let me illustrate this with an example. To cover a minimal set of technologies you would need to train and deploy an ML model, you could:</p><ol><li>Use a data engineering product like Spark for wrangling data.</li><li>Use a library like TensorFlow for training your ML model.</li><li>Use Docker for packaging up those models.</li><li>Use Kubernetes to orchestrate those Docker containers.</li></ol><p>You could make the argument that there should be a separation of concerns; that Data Engineers should write the data pipelines, Data Scientists should train the models, and Software Engineers should write the deployment systems; and that an ML Platform couldn’t possibly provide all of these capabilities. But what I have seen time and again in enterprises is that this artificial separation of concerns (which is the result of technology boundaries drawn well before ML Platforms emerged) leads to significant slowdown, costly mistakes, and overall higher failure rates of ML projects.</p><p>We can’t assume that tools and processes created decades ago for Software Engineering are magically transferable to ML. E.g., you shouldn’t just check your ML model artifacts (which can be rather large in size and contain sensitive data) into version control systems intended for code. That’s why, at Databricks, we built the <a href="https://www.mlflow.org/docs/latest/model-registry.html">MLflow Model Registry</a> to manage the versioning and deployment lifecycle of ML models. If you want to empower your Data Scientists or Software Engineers to manage the full ML lifecycle, these tools need to be accessible to a wide range of users, not just DevOps experts. At companies like Google it is not unusual for a single person to own the full lifecycle from data pipeline to model deployment. Others have come to the same realization and are creating a broad “ML Engineer” role for this very reason.</p><blockquote>“We can’t assume that tools and processes created decades ago for Software Engineering are magically transferable to ML.”</blockquote><h4><strong>Attempts at more consistent Form Factors</strong></h4><p>Some vendors, realizing that the target audience for solutions that require you to master Spark, TensorFlow, Docker, and Kubernetes, is limited, have attempted to create different form factors that abstract away this complexity. However, most of them fail in painful ways. Let me provide two illustrative examples:</p><ul><li><strong>SQL ML</strong>: There are products, which shall remain unnamed in this post, that claim they <em>“make machine learning as easy as writing SQL queries”</em>. However, in order to do so, they let you register a snippet of Python code as a procedure, or they simply mirror the same Python APIs in SQL (e.g. to define layers of a neural network in your SQL query). Needless to say, just allowing someone to register Python code and call it from SQL isn’t really achieving anything new. In fact, it just makes everything harder (like debugging your Python code). And if you are using hardware accelerators (e.g. GPUs), you can see what I mean by violating the basic principles of levels of abstraction: Now your SQL query will throw errors that are specific to the hardware you run it on. Or, even worse, it will just silently fail and you have to go hunt for log files.</li><li><strong>WYSIWYG/UI ML</strong>: Another class of products tries to provide no-code solutions for so-called citizen data scientists. Nice UI-based workflows are meant to guide users through the typical Data Science &amp; ML model building steps. I have observed two common failure modes for this type of product: (1) At one or more steps in the workflow, commonly the modeling step, they require users to specify low-level parameters like L1 regularization. Requiring knowledge of what L1 regularization is, or how to pick a good value for it, misses the whole point of building an UI-based ML product. (2) In most cases, these tools only solve for the highest level of abstraction and don’t provide an “escape hatch” for when users reach its limits. As a result, many enterprises find UI-based ML tools falling short of solving real life use cases. These two reasons result in a typical product/market mismatch and most tools in this category don’t gain much traction beyond toy demos and POCs.</li></ul><p>The underlying issues here are, of course, ill-defined boundaries (because of the missing dominant design) and the creation of new form factors without respecting levels of abstractions. Much of this has to do with the speed of which ML tools are evolving, usually driven by research findings and open source contributions at the detriment of strict engineering principles (which would slow progress down). This balance between flexibility and stability is a function of the stage in the lifecycle of a technology, and it means that there will likely be significant changes in these tools as they mature. To give just one example for which I take partial blame: There used to be a <a href="https://www.tensorflow.org/api_docs/python/tf/compat/v1/estimator/tpu/TPUEstimator">TPUEstimator</a> in TensorFlow. The Estimator API is fairly high level, and the TPUEstimator didn’t even try to hide the fact that it was making assumptions about the hardware it ran on (TPUs); a clear violation of levels of abstractions. In newer versions of the API the hardware assignment happens at a lower API level (as a <a href="https://www.tensorflow.org/guide/distributed_training?hl=en#tpustrategy">distribution strategy</a>).</p><h3>Beware the IKEA effect when you pick an AI stack</h3><p>Finally, with neither a dominant design nor an appropriate form factor, it is not surprising that many enterprises are struggling with adopting ML Platforms, let alone transforming their companies into an “AI first” business model. Those who try often suffer from the IKEA effect.</p><p>AI developer tools are slowly starting to find widespread use. Engineers love building things and they love acquiring new skills. As a result, many engineers take way-too-low-level ML courses online. I usually tell anyone who wants to listen that no Data Scientist or ML Engineer these days needs to know how things like <a href="https://en.wikipedia.org/wiki/Backpropagation">backprop</a> actually work. Yet, many people take online courses that teach just that. (To be fair, I too learned how to write most of the popular ML algorithms from scratch. But, then again, I am a PM for AI developer tools). All of these engineers, emboldened by their newly acquired knowledge about the nitty gritty details of ML, then go out and try to apply them to their enterprise businesses problems. This is where the IKEA effect comes in.</p><p>The <a href="https://www.hbs.edu/faculty/publication%20files/11-091.pdf">IKEA effect</a> refers to the phenomenon that people attribute more value to products they helped create. It turns out that this effect applies broadly to all kinds of products (furniture, cake mixes, toys, etc.). What I am conjecturing is that the same effect is predominant in companies with a strong engineering culture. An engineering team that built their own ML Platform from the ground up, flawed as it may be, will attribute more value to it than if they just bought something out-of-the-box from a vendor. They give it a fancy name, write blog posts about it, and everyone gets promoted.</p><p>Of course, the same applies to any kind of new technology. However, no one these days would say <em>“let’s build our own database from scratch”</em>. The particular challenge with ML Platforms is that, because we lack a dominant design and common form factor, and people don’t know what they don’t know, it is far too easy to think that you can build something meaningful with just a few engineers. As the story goes, a software engineer goes and asks their Director for headcount to build an ML Platform…</p><blockquote>“An engineering team that built their own ML Platform from the ground up, flawed as it may be, will attribute more value to it than if they just bought something out-of-the-box from a vendor.”</blockquote><h3>What will AI Developer Tools look like in 10 Years?</h3><p>Finally you may ask yourself, what will AI developer tools look like 10 years from now? If you’ve been around long enough you’ll probably say something like <em>“OK, I got it Clemens, these are all common problems of any new technology. You could have written the same blog post about distributed data processing engines 20 years ago”</em>. And I’d say “<em>Thank you, that’s exactly my point</em>”. If you think that, 10 years from now, millions of people will use low-level Python APIs to specify their exact model architecture (<em>“I wonder if a skiplayer or a convolution would help here?”</em>) and fiddle around with hundreds of parameters, I’d bet that you are wrong. In fact, in an ideal world, the entire process of building “data driven applications” (which is really the broader category that ML models fall under) is just a common part of any software engineer’s job without having to earn a PhD in AI or master Kubernetes.</p><p>At the risk of stating the obvious, here are my expectations of what will happen in the next couple of years to address the aforementioned challenges:</p><ul><li><strong>We will converge on a dominant design for ML Platforms.</strong> What do we think is “inside the box” when we talk about ML Platforms? Today, many vendors focus only on the ML training part, forgetting that most time in ML is spent with data wrangling. Most likely, one product will gain traction and lead the way in defining the category. Many other vendors will exit the market and others will conform to the dominant design.</li><li><strong>There will be a few meaningful form factors for different target audiences.</strong> We don’t need to have a single form factor. In fact, I’d argue that it is desirable to have different layers of abstraction. Each layer needs to be well defined and abstractions shouldn’t leak between layers. I would argue that we haven’t seen a good example of the highest level of abstraction (e.g., SQL or UI-based ML).</li><li><strong>Enterprise customers will realize that building their own ML Platforms is not their comparative advantage.</strong> Of course, every company can hire an engineering team and try to build their own ML Platform. However, with a dominant design in place, it will be more obvious how futile of an effort this is, and that it is not (and should not be) the core competency of most companies. For most enterprises, value comes from applying ML Platforms to their business problems, not from building their own ML Platforms and maintaining them.</li></ul><p>As you may be able to guess, I have opinions on what a dominant design and good form factors for ML Platforms look like. If you are interested in solving these challenges, and defining the future of ML Platforms, I happen to be hiring an ML Platform Product Manager.</p><p>Clemens Mewald leads the product team for Data Science and Machine Learning at Databricks. Previously he spent four years on the Google Brain team building AI infrastructure for Alphabet, including TensorFlow and TensorFlow Extended (TFX).</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b26277841661" width="1" height="1" alt=""><hr><p><a href="https://medium.com/data-science/the-problem-with-ai-developer-tools-for-enterprises-and-what-ikea-has-to-do-with-it-b26277841661">The problem with AI developer tools for enterprises (and what IKEA has to do with it)</a> was originally published in <a href="https://medium.com/data-science">TDS Archive</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Your Deep-Learning-Tools-for-Enterprises Startup Will Fail]]></title>
            <link>https://medium.com/thelaunchpad/your-deep-learning-tools-for-enterprises-startup-will-fail-94fb70683834?source=rss-3214e56806b6------2</link>
            <guid isPermaLink="false">https://medium.com/p/94fb70683834</guid>
            <category><![CDATA[entrepreneurship]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Clemens Mewald]]></dc:creator>
            <pubDate>Thu, 31 Jan 2019 18:06:00 GMT</pubDate>
            <atom:updated>2019-02-04T03:23:43.826Z</atom:updated>
            <content:encoded><![CDATA[<p>I usually write about how to integrate and launch ML/AI in consumer-facing products. However, a large part of my job is building ML/AI developer tools, some of which are <a href="https://www.tensorflow.org/tfx/">open sourced</a>. In this field there is a proliferation of startups whose tagline is a random pick from all permutations of the words deep learning, platform, enterprise, deployment, training, scale, democratize. Their offerings span from data acquisition (data annotation by humans) to data science workbench environments and hosted model deployment. After speaking with many startups and investors about deep learning developer tools, I felt that it would be useful to share some of my thoughts more broadly.</p><h3>What I mean by “Deep Learning Tools for Enterprises”</h3><h4>Novelty of the deep learning method</h4><p>In any field there’s a continuum of novelty of methods and tools. In Figure 1, the vertical axis is the novelty of any given deep learning method. At the top are the most recent advances that you will find published at conferences like <a href="https://nips.cc/">NeurIPS</a>. At the bottom are the methods that have been around the longest, are well understood, and widely applied. On the horizontal axis is the number of known applications in enterprises. Note that the natural evolution of any method is to start out as a novel research finding with few applications, and then slowly get applied more widely as it is better understood.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/666/1*XGktHfjGDi_5pBSmFL88Rg.png" /><figcaption><strong>Figure 1</strong>: Deep learning tools for enterprises necessarily focus on well-understood methods that are widely applicable.</figcaption></figure><ul><li><strong>Advanced Research</strong>: The red area is the comfort zone of most research scientists. It is hard to create higher-level developer tools or production-ready infrastructure in this space because it changes at a rapid pace. Researchers need a wide variety of very flexible tools to do their job.</li><li><strong>Novel Applications</strong>: The green area is where those advances find their first applications. Usually this is first done by major technology firms like Google, Facebook, Apple, or Amazon. They have the patience, talent, resources, and a wide variety of business applications to try out the latest and greatest on their billion dollar businesses.</li><li><strong>Well-Understood Applications</strong>: In the blue area are those methods and applications that have been proven to work and are widely adopted. Once a method is in this stage, there are usually enough libraries, tools, and services available such that a wider range of developers can adopt them.</li></ul><p>I highlighted the area that is commonly the focus of deep learning tools for enterprises. This area is mostly comprised of relatively basic and well-understood methods (e.g. the good old fully-connected feed-forward neural network), but also extends to some more novel applications that have been proven to work by major technology firms.</p><p>Note that there may be startups that are trying to develop tools for researchers (the red area), but that’s an even harder product/business to get right.</p><h4>Position in the stack and users</h4><p>Another important distinction to make is the position in the ML/AI software stack and who your target users are. Figure 2 provides an oversimplified view of the ML/AI stack from hardware (lowest) to business solutions (highest), and the corresponding users/roles.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/718/1*GLvSKXsnAjHmRg8oPJ5q3g.png" /><figcaption><strong>Figure 2</strong>: The position of developer tools in the technology stack.</figcaption></figure><p>When we think about ML/AI developer tools we usually refer to the tools that are used by ML Engineers or Data Scientists to analyze data, train models, validate them, and deploy them in production (highlighted in blue).</p><p>Another detail in the graph is that more business value is created in the upper layers of the stack. In Cloud offerings, Software-as-a-Service (SaaS) can usually command higher margins than Infrastructure-as-a-Service (IaaS), because the latter is closer to being commoditized and the former provides a specific solution to common business needs. Better yet, professional services or consultants provide a customized solution to a specific business need. However, most tech startups are not getting into the business of providing professional services.</p><p>It is also worthwhile to mention that there have been attempts at offering developer tools that are vertically integrated, e.g., tools that require a specific compute platform or hardware configuration. Generally speaking this lack of portability and interoperability with upstream and downstream components will lead to a micro market, i.e. the addressable market becomes very small. More on this topic below in the section “Your Tools are Necessary, but not Sufficient”.</p><h3>Why Your Startup Will Fail</h3><p>Now, why do I feel so strongly that startups that are focusing on deep learning tools for enterprises will fail? Here are a few of the well-understood reasons why building anything for enterprises is hard:</p><ul><li>Purchasing cycles are long.</li><li>Compliance with a wide variety of standards/regulations is costly to achieve.</li><li>Getting on corporation’s approved/trusted vendor lists is an art in itself.</li><li>Distribution channels are not always wide open for new entrants.</li><li>Legacy systems make it hard to integrate new technology.</li></ul><p>I assume that you are aware of these challenges and will only focus on those aspects that are relevant for the recent wave of deep learning tools startups.</p><p>Before we jump in, let me clarify what I mean by <strong>failing</strong>. I mean that these startups will not grow into viable and self-sustainable businesses. They may still get acquired for their talent, or by a larger company that has a more comprehensive offering, but they won’t survive as standalone companies.</p><p>Also, most startups fail, which makes failure a good baseline prediction. However, if this was all I had to add to this discussion I wouldn’t have written this article. The reasons for my conviction can be boiled down to three main arguments: 1) Not everything is deep learning, 2) Given that enterprises have broader needs, they can’t deal with specialized and narrow tools, and 3) Monetizing developer tools is hard.</p><h4>1) Not Everything is Deep Learning</h4><p>Deep learning tools are certainly needed and useful. However, not all business applications can (or should) be solved with deep learning. You may want to train a neural network for machine perception tasks like detecting merchandise in images, but use gradient boosted trees for fraud detection, or linear regression for click prediction. According to Kaggle¹ and KDnuggets² surveys, neural networks are used in about one third of use-cases by data scientists. Consequently, if your enterprise tools only support deep learning, you are serving about one third of your user’s needs. Here are some of the major reasons why deep learning isn’t applicable everywhere:</p><ul><li><strong>Inference latency: </strong>In some applications the latency requirements for inference are in the low single-digits milliseconds, and you can only do so many matrix multiplications in a millisecond. In those cases, simple linear models may be necessary (and often good enough).</li><li><strong>Reproducibility</strong>: Most deep learning methods come with the inherent attribute of stochasticity. In many real-life cases, the same model trained twice on the same data may converge to the same overall loss and quality metrics, but behave very differently when analyzed in more detail. In some systems, e.g. recommendation systems, you don’t want the behavior of your model to radically change just because you retrained or added more training data.</li><li><strong>Interpretability</strong>: In cases where there is a preference, or sometimes a legal requirement, for being able to easily tell why a prediction was made, methods like linear models or trees are commonly preferred to deep models. The field of understanding and interpreting advanced deep learning models is very active, but not yet in a place where it can compete with other ML methods.</li><li><strong>Learning capacity and data</strong>: The more coefficients you need to train (learning capacity), the more data you need to learn a good model. Put differently, a large neural network generally needs more training examples to converge than a simple linear model. A related problem is the curse of dimensionality, which posits that, as we want to include more and more features in our models, the data representation in a high dimensional space becomes sparse. As a result, the amount of data needed grows exponentially.</li><li><strong>Legacy reasons</strong>: You shouldn’t underestimate the number of non deep learning models that are already out in the wild. Even if it made sense to apply deep learning everywhere, migrating existing deployments to a new training method can take years.</li></ul><h4>2) Your Tools are Necessary, but not Sufficient</h4><p>The choice of the algorithm (and training framework) is only one step in the ML/AI developer workflow. As mentioned above, if your product only serves deep learning use-cases, it already falls short for most enterprise users. In addition, if your product only focuses on one or few steps in the workflow, the same shortcomings apply. Figure 3 shows a very simplified and high-level overview of the components and different layers needed across this developer workflow.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/902/1*zjGCJ_0PnMWy1RWyIfUw-w.png" /><figcaption><strong>Figure 3</strong>: The components needed to deploy ML/AI in enterprise applications go far beyond training frameworks.</figcaption></figure><p>Given that companies have broader needs that go beyond the application area of deep learning, you have to consider the technical and organizational complexity being imposed on your enterprise users by having to adopt yet another set of tools. Here are a few of the common challenges across the ML/AI software stack:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/193/1*JmXtI-20hZaucwOyCzfzrw.png" /></figure><p><strong>Partial solutions at each step</strong>: If an enterprise only finds partial solutions in each one of the above steps, they have to adopt many different products. The most obvious one is the ML framework, where a typical company may require to adopt three different frameworks if they wanted to train deep learning, tree-based, and linear models. The quote below perfectly captures the fragmentation in this space.</p><blockquote>Today’s data engineers and data scientists use numerous, disconnected tools […], including a zoo of ML frameworks³</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/248/1*3zw1Z0IjX-6lU5Z7Z5uwVQ.png" /></figure><p><strong>Lack of portability</strong>: A related challenge is the lack of portability. Deployment environments are very heterogeneous across enterprises and, if a developer tool is tightly coupled with a solution lower in the stack, it will not be portable to a lot of environments. E.g., a data transformation product that only runs on Spark cannot be adopted by companies that use Flink. Similarly, an ML framework that is tightly coupled to a specific hardware accelerator (or vice versa) will not be widely applicable.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/466/1*IZIHCdb3fGNPO7sVtqUnSg.png" /></figure><p><strong>Incompatibilities across the workflow</strong>: Given the diversity in tools, most are incompatible with each other. The community hasn’t converged on standard formats and interfaces across the ML/AI stack, so integrating tools across the entire workflow can be prohibitively expensive. This issue spans from data formats (some training frameworks have limited support) to model serialization formats. As mentioned above, building partial and incompatible solutions within this stack means that they are only useful to very few companies and you are essentially operating in a “micro market”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/357/1*-lyyV-xIX5s3S9T7BG22Zg.png" /></figure><p><strong>Discontinuities along the workflow</strong>: Developer tools often only focus on a small part of the end-to-end workflow. Particularly in the ML/AI space, the number of different roles involved has organically led to this fragmentation. Data engineers write data pipelines that provide training data, data scientists downsample data and use ML frameworks in notebook environments to build and test new models, and product/infrastructure engineers then try to translate that into production systems. The hand-off between these steps leads to inefficiencies and, in many cases, production issues.</p><p>Of course, providing a targeted solution in a complex technology stack is not bad in itself. However, focusing on a small part of the developer workflow only works if the ecosystem is well established and follows common interfaces and industry standards. Given the lack of these interfaces and standards in the ML/AI space, partial solutions that are incompatible with the rest of the stack may only succeed with a very small set of users.</p><h4>3) Monetization models are not obvious</h4><p>The market for ML/AI developer tools is relatively new, and the industry is still figuring out what is monetizable and how. Here are a few observations on the most common pricing models:</p><ul><li><strong>Pay-per-use</strong>: In some parts of the stack, decreasing pay-per-use prices give away the fact that those offerings are being commoditized (e.g. inference APIs or labeling services). In cases where the ML/AI developer tools don’t add much value over just the compute they are using (IaaS), they may be priced at zero.</li><li><strong>Software license: </strong>Common per-seat pricing models can be found in any type of software. However, to command high prices for developer tools, they need to be differentiated and feature complete. Adobe has been able to make money from Photoshop because it is considerably better than the next best alternative, but the ML/AI space hasn’t produced an equivalent gold standard.</li><li><strong>Ecosystem</strong>: In cases where monetization comes from an ecosystem, developer tools can be cost leaders. The value of the Windows operating system increases when there are more Windows applications, so the developer tools to build these applications (Visual Studio) should be relatively accessible. However, it is unclear what the operating system equivalent in the ML/AI space is.</li></ul><p>There are good reasons why monetization strategies for ML/AI developer tools are still unclear. Because of the challenges described above, there isn’t even agreement on the categories of tools. Many startups find themselves in a situation where they can’t monetize their developer tools, in which case they pivot and apply their software or data assets to provide a solution in a specific industry vertical (e.g., a data science workbench company pivoting to build sales lead scoring tools for the insurance industry).</p><h3>The ML Toolkit for Enterprises</h3><p>If you’ve read this far you can probably guess some of the common ways to address the aforementioned challenges in the ML/AI software stack.</p><ul><li><strong>Don’t provide developer tools, provide solutions.</strong> As described in “Position in the stack and users”, most of the business value is created in higher level solutions, and those are less prone to the common pitfalls outlined above. That being said, your company will run into decisions on which developer tools to use to build these solutions, but you’d let one of the major Cloud providers figure that out for you.</li><li><strong>Build a full end-to-end stack throughout the workflow.</strong> If interoperability between workflow steps is a major issue, you could decide to build an integrated solution that spans the entire workflow. Again, you will likely only cover a subset of the enterprise ML/AI use-cases, but at least the use-cases you are going to fulfill will work end-to-end.</li><li><strong>If you only provide a piece of the workflow, invest heavily in interoperability.</strong> Let’s say you build a model deployment solution for enterprises. You would be well-advised to support all of the most common model types and serialization formats that you encounter in the ML/AI space. Only supporting one or two will not be sufficient.</li><li><strong>Don’t integrate vertically assuming a given compute platform or hardware configuration.</strong> Every assumption you make about the technology stack below your tool limits the addressable market. Find the appropriate portability layers that make your tools work in as many environments and on as many hardware configurations as possible.</li><li><strong>Think beyond deep learning. </strong>I haven’t seen a single enterprise that only had one type of ML/AI problem. Every major company will require a combination of several ML algorithms to solve their business needs, and providing them with point-solutions on deep learning is insufficient.</li></ul><h3>The Good News Is, You’ll Likely Still Have an Exit</h3><p>As mentioned above, failing to build a self-sustained company doesn’t mean that there’s no exit. Most startups in this space will still be acquired for their talent, or by a company that will be able to integrate a point-solution into a more comprehensive product offering (most likely one of the major Cloud providers). The talent market and corporate M&amp;A is still strong enough to provide attractive exits for startups in this space.</p><p>I hope you found this write-up useful and that it can help guide your decisions, no matter if it’s for your own business or a company you are looking to invest in or acquire.</p><p>[1] <a href="https://www.kaggle.com/surveys/2017">https://www.kaggle.com/surveys/2017</a></p><p>[2] <a href="https://www.kdnuggets.com/2018/05/poll-tools-analytics-data-science-machine-learning-results.html">https://www.kdnuggets.com/2018/05/poll-tools-analytics-data-science-machine-learning-results.html</a></p><p>[3] Databricks Enterprise AI Adoption Report 2018</p><p>Clemens Mewald is a Product Lead on the Machine Learning X and TensorFlow X teams at Google. He is passionate about making Machine Learning available to everyone. He is also a <a href="https://developers.google.com/programs/launchpad/">Google Developers Launchpad</a> mentor.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=94fb70683834" width="1" height="1" alt=""><hr><p><a href="https://medium.com/thelaunchpad/your-deep-learning-tools-for-enterprises-startup-will-fail-94fb70683834">Your Deep-Learning-Tools-for-Enterprises Startup Will Fail</a> was originally published in <a href="https://medium.com/thelaunchpad">The Launchpad</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to protect your Machine Learning product from time, adversaries, and itself]]></title>
            <link>https://medium.com/thelaunchpad/how-to-protect-your-machine-learning-product-from-time-adversaries-and-itself-ff07727d6712?source=rss-3214e56806b6------2</link>
            <guid isPermaLink="false">https://medium.com/p/ff07727d6712</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[product]]></category>
            <category><![CDATA[product-management]]></category>
            <dc:creator><![CDATA[Clemens Mewald]]></dc:creator>
            <pubDate>Fri, 30 Nov 2018 00:41:00 GMT</pubDate>
            <atom:updated>2019-02-21T18:34:42.702Z</atom:updated>
            <content:encoded><![CDATA[<h3>3 Common Problems With Your Machine Learning Product and How to Fix Them</h3><p>Unlike traditional products, the launch of ML/AI-driven features or products is just the start of a Product Manager’s role. ML models introduce a dependency on data (see our <a href="https://medium.com/the-lever/data-a-key-requirement-for-your-machine-learning-ml-product-9195ace977d4">previous post</a>), as well as some level of uncertainty in outcomes. In the real world, this can lead to a number of undesirable outcomes that a Product Manager needs to anticipate and mitigate. In this post, we will discuss how to protect your ML/AI product from time, from adversaries, and from itself.</p><h3>Protect your ML/AI product from time</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/597/1*Mlqizra8yaXRT1gFArRJTA.png" /><figcaption>Figure 1: If you try to use ML to give fashion advice, know that fashion changes over time (Image source <a href="https://unsplash.com/photos/jC7nVH_Sw8k">1</a>, <a href="https://unsplash.com/photos/YhgXfs80RJo">2</a>)</figcaption></figure><p>The fact that ML learns patterns from data should give a Product Manager pause and lead to the logical follow-up question: What if those patterns change? We call this general problem “model staleness”, which refers to the predictive power of an ML model decreasing over time, as trends or tastes change. Take for example a product that suggests fashion items to shoppers. Due to the short-lived nature of fashion, the product’s suggestions may become irrelevant quickly (although, if you wait long enough, any fashion trend may have an unexpected revival).</p><p>To remedy model staleness, you will have to refresh your model over time to allow it to learn from new data. Below is a graph that shows how you can avoid model staleness over time by refreshing the model with new data periodically.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/957/1*HsshEMHWdb9M1abykMTFWg.png" /></figure><p>However, there are two important considerations when going through a model refresh: 1) Not all ML/AI products are susceptible to staleness in the same way, and 2) refreshing models can introduce unwanted feedback loops.</p><ol><li>How worried you have to be about refreshing your models depends on how “stationary” your ML problem is. A product that distinguishes cats from dogs is relatively immune to model staleness. The evolution of cats and dogs is not fast enough to render your model useless over the next few years. However, if you are building a product that recommends content to your users (like videos, or fashion items), or one that detects fraud, these types of problems change rapidly and ML models need to adapt.</li><li>Refreshing models means that you update your ML model with new data. Those data can sometimes be influenced by the model itself. If your model recommends videos, and you refresh your new model based on the clicks on videos that the model recommended, it will not learn how to recommend new videos. In these cases, it is important to consider how to break out of these feedback loops by diversifying the recommendations. To give just one example, a recommendation system should not only show content based on previous click patterns but also include diverse and fresh content based on other criteria.</li></ol><h3>Protect your ML/AI product from adversaries</h3><p>Adversarial actors, like their attacks, come in all shapes and sizes. To broaden the list of concerns, bad intent is not always necessary to induce a negative effect on your ML product. Three high-level categories of adversarial behavior to consider are theft of your ML models, taking advantage of feedback loops, and coercing your ML models into bad behavior.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Fs56oFOQifcsFdfM" /><figcaption>(Image <a href="https://www.pexels.com/photo/internet-screen-security-protection-60504/">source</a>)</figcaption></figure><h3>Theft of your ML models</h3><p>If you expose your ML model directly to users (e.g. a model that allows users to predict housing prices by entering information about a specific property), there is a way for adversaries to steal the ML model through observing input and output combinations.</p><p>Most products do not directly expose their ML models to their users, but if you think there’s a chance, have your engineering team start with <a href="https://arxiv.org/abs/1609.02943">this paper</a> and think carefully about protections. One way of protecting against such attacks is rate limiting (i.e. not allowing a single user to make enough prediction requests to steal a model).</p><h3>Taking advantage of feedback loops</h3><p>The most common and potent way to influence an ML model’s behavior is to take advantage of feedback loops. Above I described how feedback loops have to be taken into account when refreshing models. They also have the potential to allow adversaries to negatively affect the user experience by tilting the balance in their own favor.</p><p>Returning to the video recommendation example, if your ML model recommended videos based on how frequently they are watched after another video, an adversary could bias the model in their favor by compensating many people to navigate to their video directly from other popular videos.</p><p>Solving the “false traffic feedback loop” problem requires even more ML: Work with your fraud team to differentiate fraudulent or spammy clicks from “authentic” clicks, and block them (or, at least, don’t include them in your training data).</p><h3>Coercing your ML models into bad behavior</h3><p>A well-publicized <a href="https://www.theverge.com/2016/3/24/11297050/tay-microsoft-chatbot-racist">example</a> of ML-gone-wrong is a chatbot that was trained through online conversations and learned from its interactions once it was launched. That bot learned that profanity was a common way to express feelings, and to more generally parrot the language and points of views of its conversation partners.</p><p>The lesson for Product Managers is simple: Your ML models will learn from data, if the data are bad, your models will be bad. As a result, you should always put safeguards in place. The general concept we use for such safeguards is a “policy layer” that sits on top of an ML model (or system) and enforces a well-defined policy. Examples include:</p><ul><li><strong>Prevent reinforcing bad habits</strong>: Following the chatbot-gone-wrong example from above, it is important to identify and prevent bad habits (e.g. profanity and gender pronoun biases) that may be apparent in the training data. Adversaries can intentionally coerce an ML model into bad habits by providing bad training examples. One way of dealing with this is to run any output of an ML model through a policy layer, like a “bad language detector” (yes, more ML!), before showing it to users.</li><li><strong>No out-of-bounds inputs or predictions</strong>: In cases where models take user provided input, unexpected values for those inputs could lead to out-of-bounds predictions (e.g. a model that predicts housing prices could predict a negative value if you specified the number of bedrooms as zero). Depending on the criticality of the model and its output, you may want to validate the inputs to be in a well-defined expected range, or cap the outputs of the model (e.g. to never allow a housing price predictor to produce a negative prediction).</li><li><strong>No errors</strong>: This may seem obvious, but in some cases, ML models return errors that should certainly not be communicated to your users. These errors could provide technical details to your users that could be taken advantage of. The general advice here is to fail gracefully. If a model returns an error or an otherwise useless prediction, one of your key roles as a Product Manager is to find a way for your product to still provide value to users, or at least be the least disruptive to the user experience. For example, if your model which provides video recommendations fails, you can still use heuristics like showing the most popular videos or the most co-watched videos.</li></ul><h3>Protect your ML/AI product from itself</h3><p>ML models blindly learn to optimize a given metric based on the data they observe during training. By now it should be well known that, if those data are flawed, the models will be flawed. As a Product Manager, your job to safeguard your users from mistakes and biased predictions.</p><ul><li><strong>Error analysis</strong>: Before launching any product powered by ML/AI, you need to spend considerable time doing error analysis. Note that this is different from the technical errors described above. Error analysis refers to instances where a model makes a prediction that is wrong or unexpected, like a false positive. In short, you should systematically investigate the cases where your model makes the worst predictions and either take steps to improve your model or to fail gracefully.</li><li><strong>Tuning thresholds</strong>: Let’s say your product is an email spam classifier. The confidence level at which it classifies something as spam is tunable. If it is set too low, it will classify too many emails as spam, resulting in actual emails in your spam folder (false positives). If it is set too high, it will classify too few emails as spam, resulting in spam emails in your inbox (false negatives). It is your responsibility as a Product Manager to assess which one is worse (false positive vs false negative) and which side to err on, if one can be prioritized over the other.</li><li><strong>Exploration vs. Exploitation:</strong> In the video recommendation example, we expect more highly-ranked videos to be clicked more often, but they were also placed more highly on the list precisely because they were expected to be more popular. There is a balancing act between having a robust model which is able to make accurate predictions, while periodically adding in some variance (for example, sampling from farther down the recommended list), to ensure the model isn’t stuck in a feedback loop.</li><li><strong>Biases</strong>: In cases where your data may be biased, there is no single method or technique that will ensure fairness. Take this topic seriously and read through Google AI’s <a href="https://ai.google/education/responsible-ai-practices?category=fairness">Responsible AI Practices</a> for guidance.</li></ul><h3>Conclusion</h3><p>I hope I have successfully convinced you that the ML/AI product launch is only the beginning of the PM’s job. The update cycle of traditional products is driven by user expectations for new features and software release cycles. The added dependency on data and the probabilistic nature of ML/AI predictions lead to a much higher-frequency cycle of updating incremental learning systems. In theory, every interaction with a user provides an opportunity to update the ML model, impacting your product.</p><p>These specific challenges need to be addressed by Product Managers, including protecting models from going stale, anticipating adversarial actors, and making sure that ML models themselves keep behaving the way they should. Stay tuned for future posts!</p><p>Clemens Mewald is a Product Lead on the Machine Learning X and TensorFlow X teams at Google. He is passionate about making Machine Learning available to everyone. He is also a <a href="https://developers.google.com/programs/launchpad/">Google Developers Launchpad</a> mentor.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ff07727d6712" width="1" height="1" alt=""><hr><p><a href="https://medium.com/thelaunchpad/how-to-protect-your-machine-learning-product-from-time-adversaries-and-itself-ff07727d6712">How to protect your Machine Learning product from time, adversaries, and itself</a> was originally published in <a href="https://medium.com/thelaunchpad">The Launchpad</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Data: A key requirement for your Machine Learning (ML) product]]></title>
            <link>https://medium.com/thelaunchpad/data-a-key-requirement-for-your-machine-learning-ml-product-9195ace977d4?source=rss-3214e56806b6------2</link>
            <guid isPermaLink="false">https://medium.com/p/9195ace977d4</guid>
            <category><![CDATA[prd]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[product]]></category>
            <dc:creator><![CDATA[Clemens Mewald]]></dc:creator>
            <pubDate>Thu, 27 Sep 2018 18:32:34 GMT</pubDate>
            <atom:updated>2018-09-27T22:33:47.683Z</atom:updated>
            <content:encoded><![CDATA[<p>As Product Managers, we have to play the product-equivalent of three-dimensional chess by trying to solve for user, engineering, marketing, business, and other cross-functional interests. However, focusing on users first typically yields the best results. One tool in the PM’s toolbox to get started is the Product Requirement Document (PRD). It should, to the extent possible, capture the requirements a product needs to fulfill in order to meet user’s needs. This post explains how to talk about data in an ML-aware PRD.</p><p>Before we jump in, a quick disclaimer: ML is not a requirement. I have seen PRDs that mentioned “using reinforcement learning to optimize the reward for the user” as a requirement. That is usually a red flag. ML, in most cases, is a means by which a user requirement is met, not the requirement itself. After all, you wouldn’t say that you need a “distributed data processing job to crunch through websites to serve search results”, would you?</p><h3>Why a PM needs to think about data</h3><p>Why would a PRD include requirements about data? Because how data are collected and used will have a material impact on the product.</p><p>First, you have to consider what you are trying to predict (the output of your ML model) and whether you have the necessary feedback mechanisms in place. Let’s say you are trying to serve only the most relevant notifications to your users. How do you know if a notification is relevant? You could provide a mechanism that lets users “swipe away” notifications. However, does this feedback tell you that they were annoyed by the notification and wanted to get rid of it, or that the notification was useful and they are simply “done” with it? You may want to do some UX research before you settle on exactly how you define this feedback.</p><p>Second, you have to consider what data about the notifications (the inputs to your ML model) are necessary in order to make these predictions. What features might be useful? Think about the nature of the notification (e.g. informative, call-to-action) or the time of the day when the notification was served. Those are a good start, but I am sure that, with some domain knowledge, you can come up with many more.</p><p>Thinking through both the inputs and the outputs of ML models carefully, and then being sure you actually do have that data available, is exactly the level of foresight required of ML Product Managers.</p><h3>Data make the ML feature possible</h3><p>Figuring out what data are needed for a specific product or feature is the first and most important step in scoping data requirements. Machine learning models are nothing more than mathematical functions that take features as inputs, produce predictions as outputs, and learn how best to match predictions to patterns observed from the training data.</p><p>To illustrate my point, I will use housing prices as an example. Below is a table of five actual houses for sale in the bay area. For the sake of clarity, note that the known attributes of the houses are referred to as features, and the value that should be predicted is referred to as the label. Note also that you may choose another label to predict (e.g. using sqft, bedrooms, bathrooms, and price you could predict the zip code a house is in).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/974/0*g2gx_wo_uEOBs1mV" /></figure><p>The above example for housing prices helps illustrate my first important reminder: you need labeled data for <a href="https://towardsdatascience.com/explaining-supervised-learning-to-a-kid-c2236f423e0f">supervised machine learning</a> (I will not cover unsupervised or semi-supervised ML in this post). Given we have a set of houses for which we know both the features and the labels, means that you have labeled data. The last row contains a house for which we don’t know the price. We can use the ML model that we train to predict this value, given the known attributes (features). In the introductory example of notifications, the label was the feedback the user provided when they dismissed the notification. If they indicated that the notification was useful, it is a positive label.</p><p>In many product use-cases, there is a natural source of labeled data: logs. In my <a href="https://medium.com/the-lever/no-machine-learning-in-your-product-start-here-2df776d10a5c">previous blog post</a> I covered an example from Google Forms which, based on the question prompt, automatically picks the question type. In the past, users have provided question prompts and then picked an appropriate question type manually. The question prompts are your feature, the question types that were selected manually are your labels. Here is an example of what this could look like:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/974/0*SsS3QHe67nRaaB9p" /></figure><h3>Data acquisition needs a strategy</h3><h3>What data (or features) do you need?</h3><p>In some cases, Product Manager’s or engineer’s imaginations are limited by data they know is readily available. However, more often than not you can enrich those data with features from other data sources. It’s a good exercise to start brainstorming a list of potential features that may be useful for a given ML task, disregarding feasibility or cost.</p><p>Let’s say you are trying to predict house prices and all you have is a table with sqft, bedrooms, bathrooms, and zip code. Could you think of other features that you could obtain that would help with this task? Perhaps the age of the house (which can be obtained from public records), or proximity to the closest grocery store (which can be computed using public maps data)?</p><p>Once you have a list of potential features that could help with the prediction task you can prioritize by availability (do those data exist?), accessibility (do you have the rights and consent needed?) and cost (how costly is it to collect those data?).</p><h3>How much data do you need?</h3><p>The answer to the question “how much data are required” could fill a textbook, but from a PM’s perspective, a few highlights are necessary to initiate conversations with the engineering team.</p><ul><li>In most cases, more data is better than less.</li><li>If little or no data are available, transfer learning may help. In short, transfer learning allows you to take data and/or ML models from one task (e.g. classify dog breeds) and apply them to other tasks (e.g. classify cars). More on that in a future blog post.</li><li>In cases where acquiring labeled data costs money (and/or time), define a goal of where you want to get to (in terms of model quality/performance) and a threshold of how much money/time you are willing/able to spend.</li><li>At some point, more data will not help.</li><li>If you are looking for more information on this topic, try searching “power analysis for testing distribution similarity”.</li></ul><p>To illustrate these statements, here is a simplified graph that highlights the potential situations in which acquiring more data may or may not be beneficial.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/573/1*xGocH-AoMR2CBHxWdhg4uQ.png" /></figure><p>The assumption is that most ML problems are on the steep part of this curve, i.e. acquiring more data will lead to better performance. However, in some cases, where a great deal of labeled training data already exists, there could be diminishing returns, i.e. training on more data doesn’t improve the model quality.</p><p>This may seem obvious. However, it is crucial to know where on this curve you lie in order to make an educated decision on whether acquiring more data is worth the expected increase in performance. For cases where you need to acquire labeled data, there are several options available to you (see this <a href="https://medium.com/the-lever/where-does-data-come-from-6115ed2a3a3b">previous blog post</a>).</p><h3>Are your data of good enough quality?</h3><p>The quality of your features and labels can vary greatly. If you are scraping your logs for these data it is very likely that you obtain some nonsensical training data. In the example of Google Forms, some of your logs may contain differing opinions about the optimal question type for a given question prompt. In some cases, this may be intended (an ML model should not be too confident about a prediction if your users disagree about the best question type). In other cases, sources of bad training examples can be as simple as differently formatted feature values or semantics (e.g. some house prices are represented in thousands, others in millions).</p><p>At this early stage (writing a requirements document), there is not much you can do about this. Maybe you already have access to those data and can perform spot checks to find problematic examples. In any case, it is important to highlight potential areas of concern for your engineering team such that they can focus their efforts on investigating data quality.</p><p>In addition, if there are concerns about the quality of your training data, this is a red flag that you should raise in your PRD. This potentially reduces the quality of your ML model and increases the execution risk.</p><h3>A note on privacy and security</h3><p>Whenever you deal with data you should take the utmost care about how you store and process those data. Before you start collecting data, check with privacy and security experts on what you can and cannot do. Even within those constraints, consider the right thing to do by your users.</p><p>When you set out on your journey, always take the time to think about what benefits your users gain from any specific ML-driven feature. Be sure that those benefits warrant the use of the required data and that your users agree with that assessment. To continue with the notifications example above, allowing users to give explicit feedback whether a notification was useful or not may be acceptable, and users would be happy to provide this feedback in exchange for more relevant notifications.</p><h3>Data requirements checklist</h3><p>Below is a checklist of specific questions you should initially ask. Depending on where you are in the product life cycle (e.g. conceiving a new product, adding an ML feature to an existing product) these will be more or less relevant.</p><p><strong>Data requirements</strong></p><ul><li>What data are needed/desired?</li><li>What are some features that are known, would be useful, etc.?</li><li>Are those features available? If not, how costly is it to acquire them?</li></ul><p><strong>Data acquisition strategy</strong></p><ul><li>Where are the above-mentioned data coming from?</li><li>Are there any quality concerns for existing data?</li><li>How much data do you think will be needed?</li></ul><p><strong>Privacy and security</strong></p><ul><li>Are data stored and processed in a secure manner?</li><li>Do you have permission to collect/use the data?</li><li>From a user perspective, do the benefits of a feature/product outweigh potential concerns they may have with providing data?</li></ul><p>In summary, an important way for PMs to contribute to ML products and features is to closely observe the data requirements needed to enable magical product experiences through ML. Although ML is not a requirement, data considerations should appear in PRDs because they can impact the way a product is designed and how users provide feedback through the product. In future posts, I will address other areas that should be covered in PRDs, e.g. how to define metrics and goals for the launch readiness of an ML-powered product/feature.</p><p><em>Clemens Mewald is a Product Lead on the Machine Learning X and TensorFlow X teams at Google. He is passionate about making Machine Learning available to everyone. He is also a </em><a href="https://developers.google.com/programs/launchpad/"><em>Google Developers Launchpad</em></a><em> mentor.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9195ace977d4" width="1" height="1" alt=""><hr><p><a href="https://medium.com/thelaunchpad/data-a-key-requirement-for-your-machine-learning-ml-product-9195ace977d4">Data: A key requirement for your Machine Learning (ML) product</a> was originally published in <a href="https://medium.com/thelaunchpad">The Launchpad</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[No Machine Learning in your product? Start here]]></title>
            <link>https://medium.com/thelaunchpad/no-machine-learning-in-your-product-start-here-2df776d10a5c?source=rss-3214e56806b6------2</link>
            <guid isPermaLink="false">https://medium.com/p/2df776d10a5c</guid>
            <category><![CDATA[product-management]]></category>
            <category><![CDATA[product]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[google]]></category>
            <category><![CDATA[startup]]></category>
            <dc:creator><![CDATA[Clemens Mewald]]></dc:creator>
            <pubDate>Thu, 16 Aug 2018 18:42:02 GMT</pubDate>
            <atom:updated>2018-08-16T18:42:58.522Z</atom:updated>
            <content:encoded><![CDATA[<h4>Advice from the trenches of machine learning integration</h4><p>In the machine learning (ML) era, leveling up your Product Management team with some ML knowledge and skills is more vital than ever, and you might be surprised at how accessible the essentials are. And yet, those skills are all too rare. I’ve spent years in the trenches as a PM at Google and have distilled some of the learnings into a couple of blog posts for you.</p><p>Being a PM gives you a great vantage point from which to watch technology evolve. Personally witnessing Google gradually integrate ML in a majority of our product offering? What a view! I’m excited to share it with you, but first things first… what is a Google PM?</p><p>The notion of a PM as the product’s CEO, although imperfect, provides a good framework. PMs at Google are technically strong and commonly involved in engineering discussions and designs. Our PM ladder requires PMs at certain levels to “sign off on overall technical direction and architecture” or to be able to “describe, in detail, the full stack and interactions of the product sub-area on a technical level”. However, deep understanding in ML/AI often requires years of applying ML in research and practice. In an AI-first company, does that mean we have to send all of our PMs back to school?</p><p>I argue that PMs <strong>do NOT need to know</strong> the nitty-gritty details of ML. They don’t need to know exactly which algorithm to apply when, or how ML models are deployed to billions of users. Rather, they should rely on their software engineering (SWE) teams and focus on how they can contribute to ML-driven product definition and strategy.</p><p>In this post I aim to share some of the best practices on what product owners <strong>should know</strong> about ML, namely:</p><ol><li>The different levels at which ML drives your products</li><li>An overview of tools in the ML toolbox</li></ol><p>To set these best practices in a practical context, I also worked with the Google Forms team on a short case study focused on how they went about integrating their first ML feature into their product.</p><h3>How much ML is in your product?</h3><p>One of the main factors influencing how much a product manager needs to know about machine learning is how central ML is to a given product or feature. For simplicity, let’s consider three different levels of ML integration in a product:</p><ol><li>ML improves an existing feature (e.g. increased accuracy of a recommendation system)</li><li>ML as an enabler for entirely new features (e.g. photo search by content rather than keyword)</li><li>ML as an enabler for entirely new products (e.g. driverless cars)</li></ol><h4>Customers who bought this item also bought…</h4><p>Level 1 integration: Supercharging an existing feature with ML.</p><p>Recommendation systems have been around for a while, but before ML, they relied on simple heuristics to recommend similar products. Co-occurrence of products in a shopping basket is one heuristic that has been traditionally used for recommending products without the use of any fancy algorithms. These types of recommendation systems are fairly simple to integrate. However, they also do a relatively poor job of generalizing to new products. ML algorithms have dramatically improved recommendation systems such as the well-known “next product to buy”. These systems are examples of ML making an improvement on an existing feature.</p><h4>Let’s find pictures of cats…</h4><p>Level 2 integration: Making a new feature that is powered by ML.</p><p>Just a few years ago, if you wanted to search your photos for a specific person or place, you would have to either remember when it was taken and search by the timestamp, or rely on manual tags that you painstakingly added to the images. Because the process was so tedious, photo search was a feature that effectively didn’t exist for the vast majority of users.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/0*bjrk2e8Rr5aTaNNt.png" /></figure><p>Facial recognition, object detection, and image classification have fundamentally changed the user experience of storing and searching for photos. These ML technologies enabled a set of entirely new features like searching for photos based on their content without having to manually tag them, or automatically grouping photos that contain the same person, scene, or location. Thus, the application of ML to photo storage effectively introduced new product features that couldn’t have existed before.</p><h4>Let’s try to drive a car, without a driver…</h4><p>Level 3 integration: Creating entirely new products using ML.</p><p>While I don’t believe we’ve seen many ML-enabled products (as opposed to features) yet, one of the closest examples we have on the horizon is the autonomous vehicle. To be honest, it is hard to come up with products that could not have existed before ML for the simple reason that they haven’t been conceived yet.</p><p>There will very likely be a class of products which are not extensions or improvements of existing products, but new categories all together. This type of product development involves a lot of fundamental technology problems (think of the decade-long time investment Google has already made into self-driving cars), and uses fundamentally different product management methodologies than improving existing features (see <a href="https://medium.com/the-lever/running-agile-machine-learning-experiments-4d500314ab11">BrainQ case study</a> for an example).</p><h3>Understanding what tools are in the toolbox</h3><p>As mentioned above, improving existing features is the most common way ML is applied today. Since feature improvements using ML are the most common, the user benefit/behavior is usually fairly well understood (e.g. how the product is currently used). There have also typically been other efforts to solve the particular customer/product need. At this level, the PM doesn’t necessarily need to know exactly how the ML algorithms work, but it is good to know what general types of ML solutions exist.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/0*SttKrM0nuDNZVfNj.jpg" /></figure><ul><li><strong>Recommender/ranking systems</strong> are used to provide a ranked list of documents from a corpus. These “documents” can be anything from apps in the app store to movies on Netflix. The “corpus” simply refers to the full set of documents available.</li><li><strong>Event/action prediction</strong> refers to ML models that try to predict the likelihood of an event or user action. One of the most common applications of ML at Google is to predict a click (e.g. to show you videos that you are most likely to click on).</li><li><strong>Classification</strong> can help classify arbitrary objects into known classes. One example is categorizing emails as spam or not spam. Another is classifying a picture whether it contains a dog or not.</li><li><strong>Generative models</strong> are ML models that can generate output in a similar form to the input they were trained with. E.g. translation models take text in one language as an input and generate text in another language as an output.</li><li><strong>Clustering</strong> is a common form of unsupervised machine learning in which objects that are similar are “clustered” together, e.g. to segment users into groups.</li></ul><h3>Google Forms case study</h3><p>Let’s look at a real-world example of integrating an ML feature in an existing product which most readers are familiar with: <a href="https://www.google.com/forms/about/">Google Forms</a>. In the past, creating a Google Form was a fairly static process from the user perspective. The user would name the form, add questions, and choose the question type (e.g. short answer, multiple choice, or checkboxes), with each of these steps being done manually.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*3-wovFRwMKucYcf3" /></figure><p>One of the key roles of a PM (regardless of the presence of ML in the product) is to have a deep understanding of the users and their workflows, and to build a product roadmap which better serves the user’s needs. One area the Google Forms team identified for potential improvement was automating the selection of the “question type” — a feature which would reduce the cognitive load of using the product, and create a more delightful user experience.</p><h4>What are we trying to maximize?</h4><p>One of the most important questions a PM must ask during the process of scoping features is “what is this feature seeking to maximize/minimize?”</p><p>In the case of the autocomplete question type, “we were trying to reduce time to creating a form but more importantly, reducing the cognitive load for users to create a form. ML recommendations help users make decisions quickly.” This leads to a magical product experience that our users love to come back to.</p><h4>When/how was the PM involved?</h4><p>It is common for new product features to originate in either engineering (with a new technical capability) or from PMs (informed by an insight into non-intuitive customer behaviors). This specific feature within Forms happened to be driven by the engineering team at the early/experimental stage since the main challenge for this feature was technical as opposed to UX/customer oriented. We were reasonably sure that, if applied using good product management practice, there was low risk of creating a bad user experience.</p><p>There were several areas in which the PM was most involved in the deployment of this feature:</p><ul><li>Brainstorming what signals to use to train the model.</li><li>Figuring out how to best surface the experience (e.g. provide a suggested question type vs. auto-apply a suggestion).</li><li>Helping the team analyze outcomes of different models.</li><li>Planning and managing launch strategy (e.g. can we launch internally or to a subset of users and see if the user’s have a pleasant experience?).</li></ul><h4>PM strategy for a smooth ML feature rollout</h4><p>Since ML-powered features are built using a varied corpus of data, and almost no new real-world example is identical to one that the model was trained on, one potential shortcoming of any ML-powered feature is occasionally making nonsensical recommendations or predictions. From a PM perspective, several best practices can be implemented to make it easy to ignore a suggestion or correct an automated action. For the Forms example, we did the following:</p><ul><li>Ensure that the model yields good results on test data.</li><li>Ensure that the feature only triggers when the model’s confidence in its prediction is high.</li><li>Ensure that future actions are accounted for (e.g. if a user explicitly changes a question type after we apply the suggestion).</li></ul><h4>Results</h4><p>The result of this process was the successful deployment of an “autocomplete” feature within forms. Now, Google Forms predicts the “question type” (e.g. short answer, multiple choice, or checkboxes) based on the text the user types into the “question” field, as opposed to having the user manually select the question type.</p><p>For example, the “question type” automatically switches to “Checkboxes” when the user types “which kinds of food do you like?”, since the question implies selecting more than one option. If the user enters “How happy are you with this product?”, the question type automatically switches to a 1 to 5 linear scale.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/893/0*PmNdo-3yVHCs8BTa" /></figure><p>In summary, since commercially-deployed ML is still in its adolescence, most systems today fall into the Level 1 (“incremental”) category: taking an existing feature, and improving it through the application of ML. For this level of integration, most PM’s should be able to own the entire process regardless of their expertise with ML, by working closely with their engineering team. The core skills of being a PM for a level 1 ML integration are foundational building blocks to deploying ML-driven features and products (levels 2 and 3) of the future, a skill set which will only continue to be more important as the technology and infrastructure matures.</p><p>Good luck and keep an eye out for my next posts! In the meantime I recommend learning more about how ML is deployed in other products by searching for case studies online.</p><p>Clemens Mewald is a Product Lead on the Machine Learning X and TensorFlow X teams at Google. He is passionate about making Machine Learning available to everyone. He is also a <a href="https://developers.google.com/programs/launchpad/">Google Developers Launchpad</a> mentor.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2df776d10a5c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/thelaunchpad/no-machine-learning-in-your-product-start-here-2df776d10a5c">No Machine Learning in your product? Start here</a> was originally published in <a href="https://medium.com/thelaunchpad">The Launchpad</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>