<?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[SceneBox - Medium]]></title>
        <description><![CDATA[DataOps for computer vision. Designed to find game-changing data in enormous datasets, faster than ever - Medium]]></description>
        <link>https://medium.com/caliber-data-labs?source=rss----b714128905a2---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>SceneBox - Medium</title>
            <link>https://medium.com/caliber-data-labs?source=rss----b714128905a2---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 00:31:35 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/caliber-data-labs" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Dataset Streaming for ML Pipelines with SceneBox]]></title>
            <link>https://medium.com/caliber-data-labs/dataset-streaming-ml-training-on-the-cloud-with-scenebox-10489c9072e6?source=rss----b714128905a2---4</link>
            <guid isPermaLink="false">https://medium.com/p/10489c9072e6</guid>
            <category><![CDATA[data-platforms]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[data-engineering]]></category>
            <category><![CDATA[pytorch]]></category>
            <dc:creator><![CDATA[Pratik Gujjar]]></dc:creator>
            <pubDate>Thu, 17 Nov 2022 20:41:26 GMT</pubDate>
            <atom:updated>2022-11-17T21:48:41.634Z</atom:updated>
            <content:encoded><![CDATA[<p><em>TL;DR: SceneBox users can now utilize StreamableSets to stream curated datasets directly from SceneBox cloud to their PyTorch training pipelines — blazingly fast!</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VwIacmJOxlpJxUPfhZsx5g.png" /></figure><p>Machine learning algorithms have become ubiquitous in most modern technology products. Every day, a heap of these algorithms are churned. In order to keep this ML beast fed, data is collected in the order of petabytes. It is in this area that SceneBox thrives, with features such as<strong> high-throughput indexing of any schema-less data and powerful data curation tools</strong>.</p><p>As of today, we are proud to present <strong>StreamableSets </strong>for multi-worker batched loading of data from any remote storage to feed your PyTorch jobs. StreamableSets is a drop-in replacement for dataloader objects in PyTorch scripts. A few lines of code and SceneBox will seamlessly integrate with your pre-existing training pipelines. When paired with our responsive WebApp, StreamableSets becomes a powerful tool in your arsenal.</p><p>Below, we will explore how StreamableSets ties into your everyday life as a machine learning engineer, and helps you <strong>learn about your data before your ML model does.</strong></p><h3><strong>Iteration is Key for Machine Learning</strong></h3><p>A typical machine-learning workflow consists of four steps:</p><ol><li><strong>Data Curation</strong></li><li><strong>ML algorithm training and validation</strong></li><li><strong>Field-testing / Performance metrics</strong></li><li><strong>Deployment</strong></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OoGughqlxQPdPUWaQVQmfA.png" /><figcaption><a href="https://blogs.nvidia.com/blog/2020/09/03/what-is-mlops/">Source</a></figcaption></figure><p>We iterate on these steps, experimenting with various datasets and algorithms, and addressing performance gaps in the field.</p><p>Although we could get granular very quickly, for the sake of this article, we will only expand on step one — <strong>Data Curation</strong>. Step one can be further split into very involved processes that entire teams of data engineers work on painstakingly with all but their python scripts. These are the steps we find teams taking all too frequently:</p><ol><li><strong>Indexing data:</strong> Raw data (images, videos, lidars) is usually stored in an object storage and metadata in some variant of a database. <br><strong><em>SceneBox method:</em></strong> Our high-throughput index can ingest your data at speeds averaging 4000 images per minute and all the while, the raw data never leaves your object storage.</li><li><strong>Data Cleanup / Annotation: </strong>Imagine several rounds of back and forth between data scientists and your various annotators for labels and QA. <br><strong><em>SceneBox method:</em></strong> Full-featured integrations with many leading annotation providers such as <a href="https://scale.com/">Scale</a>, <a href="https://www.cvat.ai/">CVAT</a>, and <a href="https://segments.ai/">Segments</a>, that take care of these workflows with the click of a button.</li><li><strong>Curating Datasets: </strong>Usually a very manual process of filtering the data for the required attributes and is often done by visually inspecting raw data directly. This could result in several copies of the same data with every engineer curating their own sets for their algorithms.<br><strong><em>SceneBox method:</em></strong><em> </em>Our <em>Sets</em> are a logical association of data within our data index. We can sample this data using any combination of queries for metadata attributes available on the data.</li><li><strong>Fetch and feed the ML model:</strong> As machine learning practitioners, we need to feed our algorithms with the data we just curated. We’ve seen our customers download their data from cloud storage and then write a version of a Data Iterator to yield this data. Data Iterators support batching and also apply input and label transforms to each sample. Such Iterators tend to be custom-developed for every single dataset that they are working on.<br><strong><em>SceneBox method</em>:</strong> StreamableSets!</li></ol><h3><strong>Streaming Data from Cloud Storage</strong></h3><p>Sourcing data from the same remote storage to feed machine learning pipelines has many advantages. For example, it <strong>prevents redundant copies of data</strong> that many engineers will inevitably end up creating as they run their experiments. A single, well-built data orchestrator code can be shared amongst the team to <strong>significantly improve time utilization</strong>. Further, we can now pack more of these streaming services into fewer computational resources resulting in <strong>improved cost efficiency</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/411/1*dTePK730PkzaNq0gjNPpWQ.png" /><figcaption>A typical scenario of downloading data from object storage to feed a machine learning job.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/356/1*ta5GMh2bNTCaPfxn1amD5g.png" /><figcaption>With SceneBox, datasets can be streamed directly from cloud storage to compute.</figcaption></figure><p>All this said, cloud streaming of data comes with its fair share of difficulties. The first (and possibly the biggest) concern is the <strong>network overhead</strong> and its implications on <strong>throughput</strong> on the model training side. There are also issues with <strong>shuffling data and secondary transformations</strong> that are omnipresent in machine learning pipelines.</p><p>With StreamableSets, we venture to address these challenges with a <strong>cloud-agnostic API</strong>. Any SceneBox <strong><em>Set</em></strong> can be transformed into a StreamableSet <em>on-demand</em>. This ensures a one-to-one relationship between the data in the set and its streams. When a request for a StreamableSet arrives, we begin condensing all of the data in a compressed format. One or many shards of such archives are created in parallel in the background. We then use <a href="https://webdataset.github.io/webdataset/">WebDatasets</a> to build a PyTorch IterableDataset object that grants us streaming data access to the many shards. To build a dataloader, we finally wrap the IterableDataset with our stream decoding logic and provide an API that directly corresponds to the torch.utils.data.Dataloader interface.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/561/1*RF2I5OCUybGupE-IqLuEDQ.png" /><figcaption>Timing diagram to illustrate the process of streaming a SceneBox Set</figcaption></figure><p>We’ve built in it the following features:</p><ol><li><strong>Sequential I/O</strong>: We compress and build sequential shards of data for efficient network access of the samples as compared to regular file I/O operations. The capability to shuffle data is preserved by shuffling fetched data in a size-defined buffer and optionally shuffling between shards themselves.</li><li><strong>High Throughput Pipelines</strong>: StreamableSets iterates over compressed archives of data, providing very efficient access that scales to extremely large datasets. It also provides a PyTorch dataloader object (will be extended to TensorFlow in later versions) that can split data fetch jobs across multiple parallel workers battling any network overhead.</li><li><strong>Distributed Shards</strong>: Data is split into multiple shards that can themselves be distributed across multiple nodes on the cloud, thus paving the way for multi-node streaming. Partitioned sharding also means that very large datasets can be created, maintained and distributed for training or validation.</li><li><strong>Input and Target Transforms</strong>: Input and label tranforms are an integral part of an ML training / validation job. Any PyTorch transform can be applied to the data from a StreamableSet the same way a user would on their DataIterator object in PyTorch — passing these transforms as arguments to the dataloader constructor.</li><li><strong>Ubiquitous Operational Access</strong>: The intuitive SceneBox WebApp enables data filtering, dashboarding, enrichments and visualizations. Coupled with SceneBox’s curation tools, access to even niche subsets of data like <em>“All bears in the backyard that are sitting down”</em> is now possible directly from your PyTorch script.</li></ol><h3><strong>Usage</strong></h3><p>In the example below, we’ll see how to source <a href="https://mmlab.ie.cuhk.edu.hk/projects/CelebA.html">CelebA</a> data that’s hosted on <a href="https://prod.scenebox.ai/sets?view=primary&amp;asset_type=images">SceneBox</a> in a PyTorch training loop. Specifically we will show how to use a dataloader for the set<a href="https://prod.scenebox.ai/images?set_id=streamingset&amp;view=grid"> StreamingSet</a>, curated with a 1000 images in it. A few lines of code added in place of a torch.utils.data.Dataloader and we are set! SceneBox itself can be installed with a simple pip command:</p><pre>pip install scenebox</pre><pre>&quot;&quot;&quot;<br>Streamable Sets<br>&quot;&quot;&quot;<br><br>from scenebox.clients import SceneEngineClient<br>import torch <br>import time<br><br># Instantiate the client<br>sec = SceneEngineClient(auth_token=&quot;d1390598-a1e4-82d9-6922-1780_53ce_49&quot;)<br><br># Set id on SceneBox<br>celeba_image_set_id = &quot;streamingset&quot;<br><br># Create a streamable set <br>streamable_set = sec.get_streamable_set(set_id=celeba_image_set_id)<br><br># Get the pytorch dataloader for this set<br>dataloader = streamable_set.pytorch_dataloader(num_workers=4, <br>                                               batch_size=32, <br>                                               shuffle=True)<br><br># Training loop<br>start_time = time.time()<br>for i, data in enumerate(dataloader):<br>    images_batch, metadata_batch, annotations_batch = data<br><br>    # Your pytorch code here<br><br>end_time = time.time()<br>time_taken = end_time - start_time<br>num_batches = i + 1<br>print(&quot;Time per batch: {} ms&quot;.format((time_taken * 1000) / num_batches))</pre><p>Let us compare streaming data using SceneBox to other typical random file-access patterns such as:</p><ol><li><strong>Sequential GET</strong>: Reading images individually from the AWS S3 URLs in a sequence.</li></ol><pre>&quot;&quot;&quot;<br>Sequential GET<br>&quot;&quot;&quot;<br><br>import time<br>import cv2<br>import requests<br>import urllib.request<br>import numpy as np<br><br>from scenebox.clients import SceneEngineClient<br>from scenebox.constants import AssetsConstants<br><br># Instantiate the client<br>sec = SceneEngineClient(auth_token=&quot;d1390598-a1e4-82d9-6922-1780_53ce_49&quot;)<br><br># Set id on SceneBox<br>celeba_image_set_id = &quot;streamingset&quot;<br><br># Collect asset ids in the set<br>set_asset_ids = sec.assets_in_set(set_id=celeba_image_set_id)<br><br># Split into batches<br>batch_size = 32<br>batched_ids = [set_asset_ids[i:i + batch_size] <br>               for i in range(0, len(set_asset_ids), batch_size)]<br><br># Image asset manager on SceneBox<br>images_amc = sec.get_asset_manager(asset_type=AssetsConstants.IMAGES_ASSET_ID)<br><br>batch_times = []<br>for batch_idx, batch in enumerate(batched_ids):<br>    # Get signed s3 urls for the images in this batch<br>    image_id__urls_map = images_amc.get_url_in_batch(ids=batch)<br>    <br>    images_batch = {}<br>    # Fetch each of them in sequence<br>    start_time = time.time()<br>    for image_id, image_url in image_id__urls_map.items():<br>        resp = urllib.request.urlopen(image_url)<br>        image = np.asarray(bytearray(resp.read()), dtype=&quot;uint8&quot;)<br>        image = cv2.imdecode(image, cv2.IMREAD_UNCHANGED)<br>        images_batch[image_id] = image<br><br>    end_time = time.time()<br>    time_taken = end_time - start_time<br><br>    print(&quot;Batch {} Time {}&quot;.format(batch_idx, time_taken))<br>    batch_times.append(time_taken)<br><br>single_fetch_time = sum(batch_times)/len(batch_times)<br><br>print(&quot;Average single fetch batch time {} ms&quot;.format(single_fetch_time*1000))</pre><p><strong>2. Sequential Threaded GET</strong>: Reading a batch of images using concurrent HTTP requests.</p><pre>&quot;&quot;&quot;<br>Threaded GET<br>&quot;&quot;&quot;<br><br>import time<br>import cv2<br>import requests<br>import urllib.request<br>import numpy as np<br><br>from scenebox.clients import SceneEngineClient<br>from concurrent.futures.thread import ThreadPoolExecutor<br><br># Instantiate the client<br>sec = SceneEngineClient(auth_token=&quot;d1390598-a1e4-82d9-6922-1780_53ce_49&quot;)<br><br># Set id on SceneBox<br>celeba_image_set_id = &quot;streamingset&quot;<br><br># Collect asset ids in the set<br>set_asset_ids = sec.assets_in_set(set_id=celeba_image_set_id)<br><br># Split into batches<br>batch_size = 32<br>batched_ids = [set_asset_ids[i:i + batch_size] <br>               for i in range(0, len(set_asset_ids), batch_size)]<br><br># Image asset manager on SceneBox<br>images_amc = sec.get_asset_manager(asset_type=AssetsConstants.IMAGES_ASSET_ID)<br><br>batch_times = []<br>for batch_idx, batch in enumerate(batched_ids):<br>    # Get signed s3 urls for the images in this batch<br>    image_id__urls_map = images_amc.get_url_in_batch(ids=batch)<br>    images_batch = {}<br><br>    def fetch_image(image_id, image_url):<br>      resp = urllib.request.urlopen(image_url)<br>      image = np.asarray(bytearray(resp.read()), dtype=&quot;uint8&quot;)<br>      image = cv2.imdecode(image, cv2.IMREAD_UNCHANGED)<br>      images_batch[image_id] = image<br>    <br>    start_time = time.time()<br>    with ThreadPoolExecutor(max_workers=4) as executor:<br>        for image_id, image_url in image_id__urls_map.items():<br>            executor.submit(fetch_image, <br>                            image_id=image_id, <br>                            image_url=image_url)<br>    end_time = time.time()<br>    time_taken = end_time - start_time<br><br>    print(&quot;Batch {} Time {}&quot;.format(batch_idx, time_taken))<br>    batch_times.append(time_taken)<br><br>threaded_time = sum(batch_times)/len(batch_times)<br>print(&quot;Average threaded fetch batch time {} ms&quot;.format(threaded_time*1000))</pre><p>The table below compares StreamableSets with two the above methods of fetching data from the cloud:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hSLXg_tWD3V7XyB2Ca4GzA.png" /></figure><p>With an average time of 61 milliseconds to fetch a batch of 32 images, StreamableSets is <strong>16x faster</strong> than threading and <strong>67x</strong> <strong>faster</strong> than sequential HTTP requests. Results are collected from a machine with an AMD Ryzen 9 3900X 12-Core Processor.</p><h3><strong>Conclusion</strong></h3><p>StreamableSets is the latest addition from us here at SceneBox, to your repertoire of machine learning accelerator tools<em>. </em>Users can now use high-performance data streaming to feed their machine learning pipelines directly from SceneBox with almost no change to existing code<em>. </em>We are also working on many new product features that are directed towards realizing the goal of<em> </em>building<em> </em>and enabling<em> </em><strong><em>Software That Learns.</em></strong></p><p>I would love to hear your thoughts on this article. Our team at <a href="https://www.scenebox.com/">SceneBox</a> is always open to conversations. Please reach out to me on <a href="https://www.linkedin.com/in/pratikgujjar">LinkedIn</a> if you would like to take a deeper dive with me.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=10489c9072e6" width="1" height="1" alt=""><hr><p><a href="https://medium.com/caliber-data-labs/dataset-streaming-ml-training-on-the-cloud-with-scenebox-10489c9072e6">Dataset Streaming for ML Pipelines with SceneBox</a> was originally published in <a href="https://medium.com/caliber-data-labs">SceneBox</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Build vs. buy in times of economic uncertainty]]></title>
            <link>https://medium.com/caliber-data-labs/build-vs-buy-in-times-of-economic-uncertainty-63949e0d05b9?source=rss----b714128905a2---4</link>
            <guid isPermaLink="false">https://medium.com/p/63949e0d05b9</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[engineering]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[platform]]></category>
            <dc:creator><![CDATA[Yaser Khalighi]]></dc:creator>
            <pubDate>Mon, 14 Nov 2022 06:24:07 GMT</pubDate>
            <atom:updated>2022-12-12T23:49:09.880Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oWTEY8gABoToUoKW37py2A.jpeg" /><figcaption>The choice is yours!</figcaption></figure><p>As we find ourselves in times of economic uncertainty, no one knows quite what to expect or how to prepare for the next couple of years. What we do know for certain is that with interest rates rising, the cost of capital is climbing much higher than we have gotten used to over the last several years, and does not appear to be slowing down anytime soon.</p><p>In today’s climate, pre-revenue and/or research-heavy companies find themselves urgently racing to production in order to bring in revenue and avoid costly capital raises. Often, it is these future-looking companies that rely rather heavily on advanced development toolsets and platforms to build their products/services.</p><p>The difficult decision many of these companies face now more than ever is whether they should build or buy these development tools. As we know, this decision was much easier just a year ago when the capital was practically free. Cheap capital allowed engineers to build almost anything in-house (even ubiquitous tools like Slack!). However, this decision bears much more weight now. In this article, we will explore the benefits and drawbacks of buying a platform versus building one internally and explore the scenarios in which each decision makes the most sense.</p><h3>Reasons to buy</h3><p>Depending on your situation, there may be very compelling reasons to buy a solution. Below are the factors that a decision-maker should consider when making this decision:</p><p><strong>Cost of ownership: </strong>In most cases, it is significantly less costly to get to production when buying a solution as opposed to building one internally. The typical cost of buying is around 5–10% of the total cost of building and maintaining a platform.</p><p><strong>Time to market: </strong>When buying a product/platform, the time of adoption can be a matter of days. Building internal toolsets and platforms, depending on the complexity, can take weeks or months. The high cost of delayed revenue is often the greatest reason to buy.</p><p><strong>Dependency and Agility:</strong> Buying a product allows your team to remain agile and does not create dependence on employees to own internal products, keeping the team agile and the payroll leaner. When building, you have a dependency on employees to develop and maintain the product. These employees cannot usually move around internally with much agility if they are tied up managing a platform.</p><p>The cold hard truth is, if you are an owner or executive who plans to downsize your company, you will not be able to let these employees go without the product deteriorating. There is often a hard dependency on these specialized platform/toolset folks which could be incredibly expensive and add unnecessary overhead to your organization.</p><p><strong>De-risking unknown unknowns:</strong> When buying a product, it is (hopefully) used by other customers similar to your organization, and a lot of unknown unknowns have already been solved during both development and use in production. When building a product, you know some of what you do not know — but it is the unknown unknowns that are usually the expensive, time-consuming obstacles. Unknown unknowns may even force you to wrap up a project before it ever gets to production. For this reason, it is usually much safer to rely on platforms with a proven track record that other teams already use in production.</p><p><strong>Bring best practices with tools:</strong> All good platforms and products are usually built based on the feedback of their many users. Buying a product brings capabilities to your team, but products offer more than just that. Equally as important, products should also bring best practices to your organization that would be time-consuming, expensive, and challenging to establish through trial and experimentation. Buying reduces your R&amp;D costs as you race to production. In today’s economic climate, why contemplate problems that have already been solved?</p><p>To summarize the argument for buying: from a business perspective, buying is easier, faster, less expensive, and less risky.</p><h3>Reasons to build</h3><p>There are many legitimate reasons to build platforms internally. Here are the factors that you need to consider if you decide to build:</p><p><strong>Always build your core IP:</strong> If your org is working on an IP-heavy application and the platform IP is very much related to the end product, you bring defensibility to your IP if the solution is built rather than bought.</p><p><strong>Bespoke-ness:</strong> If your team’s challenges or existing systems are so bespoke that the time of integration and adoption of an external product is comparable to the time of development, then there is a very strong case for building.</p><p><strong>You hacked it and it worked:</strong> If you have built something that works well enough, and you only spend two (or fewer) engineering hours per week supporting it, then using a solution provider is not worth it.</p><p><strong>Cost at scale: </strong>At times, the scale of operation (i.e., the amount of data) is so large that the cost of relying on external platforms is prohibitive. Having that said, vendors often provide deep discounts for large accounts.</p><p><strong>Pride/fun:</strong> The decision to build is not always strictly a business decision. In an economic environment of prosperity, teams and individuals build a great deal for the simple pride and enjoyment of it. Teams at large tech companies have been known to develop solutions that are not necessary to build (i.e. Slack alternatives), but do so for the love of the work.</p><h3>What if the off-the-shelf tool doesn’t have it all?</h3><p>One last factor to consider when making the build vs. buy decision is a hybrid approach. Sometimes, an off-the-shelf (OTS) solution may only solve 90% of your challenges, and you might need to develop 10% yourself.</p><p>Now more than ever, you can ask the solution provider to build this last 10% for you. These vendors also want to generate revenue in uncertain times, so if a bit of bespoke-ness is required, you can negotiate this into most service agreements. Instead of having to build 100%, you can buy 90% and commission the last 10%. These days, you can make solution providers work a bit more for their contracts. This tactic might not have worked last Thanksgiving, but the game has changed. Use today’s economic conditions to your advantage.</p><h3>Take home message: Should I build or buy?</h3><p>It depends. Unless your required tools and/or current systems are bespoke by design, or part of your core IP, then buying is easier, faster, less expensive, and less risky. Buying will help you save costs, accelerate your time-to-market, and keep the team lean and agile. Even if a bit of custom tailoring is required, a lot of solution providers are willing to do this to ensure their product fits your requirements.</p><p>Lastly, buying is less risky from a budgeting perspective. Let’s say your team signs off on a product subscription, but your organization moves in a different direction. You can usually terminate the contract easily enough and avoid the long-term commitment of building/maintaining a solution.</p><p>In an environment of economic uncertainty, the urgency to press forward is stronger than ever, yet having the ability to pivot at a moment’s notice has never been more important.</p><p>I would love to hear your thoughts on this article. Our team at <a href="https://www.scenebox.com/">SceneBox</a> is always open to conversations. Please reach out to me on <a href="https://www.linkedin.com/in/khalighi/">LinkedIn</a> if you would like to take a deeper dive with me.</p><p><em>Thanks to Arman Mazhari.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=63949e0d05b9" width="1" height="1" alt=""><hr><p><a href="https://medium.com/caliber-data-labs/build-vs-buy-in-times-of-economic-uncertainty-63949e0d05b9">Build vs. buy in times of economic uncertainty</a> was originally published in <a href="https://medium.com/caliber-data-labs">SceneBox</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Bringing Synthetic Data into Computer Vision Training Pipelines]]></title>
            <link>https://medium.com/caliber-data-labs/bringing-synthetic-data-into-computer-vision-training-pipelines-163b6b7381a4?source=rss----b714128905a2---4</link>
            <guid isPermaLink="false">https://medium.com/p/163b6b7381a4</guid>
            <category><![CDATA[computer-vision]]></category>
            <category><![CDATA[data-sceince]]></category>
            <category><![CDATA[synthetic-data]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Yaser Khalighi]]></dc:creator>
            <pubDate>Tue, 02 Aug 2022 17:55:19 GMT</pubDate>
            <atom:updated>2022-08-02T17:59:53.232Z</atom:updated>
            <content:encoded><![CDATA[<p><strong><em>TL;DR: </em></strong><em>Synthetic data is helping fuel the future of computer vision ML and should be first-class citizens in any data management solution. At</em><a href="http://www.scenebox.com/"><em> SceneBox</em></a><em>, we are working with our partners at</em><a href="http://www.synthesis.ai/"><em> Synthesis AI</em></a><em> to enable our customers to streamline their training workflows with combinations of synthetic and real data.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*dMdlDELwG59WVmj-" /><figcaption><a href="https://opensynthetics.com/dataset/close-up-humans-dataset-by-synthesis-ai/">Close-Up Humans Dataset by Synthesis AI</a></figcaption></figure><h3>The value of synthetic data is real</h3><p>Across many verticals, we are seeing the movement towards the use of synthetic data for vision-based perception and autonomous systems. Synchronously, we are seeing new funding for synthetic data companies and an increased research effort within the community.</p><p>The trend toward synthetic data is real because it is much more cost-efficient, can be quickly generated to precise specifications, and it contains perfect ground truth labeling.</p><p>Traditionally, ML practitioners working on vision-based perception problems had to collect large volumes of real-world data, organize this data and curate a training dataset, have the data labeled, then train their models on this data. This method is not only much more expensive but significantly more time-consuming — burning through resources faster while moving slower.</p><p>There is a strong case for synthetic data and it raises the question — is synthetic data going to replace real-world data entirely?</p><p>In the long term as synthetic data, technology improves this is very possible, but over the next few years, we believe synthetic data is on its way to making up 80% of data used in ML training. However, the remaining 20% — and likely even more if the application is mission-critical — will still be real-world data.</p><p>Why?</p><h3>The answer is in engineering history books</h3><p>Let’s look at an example from engineering history that might help us understand where we are and where we are going. Take a highly regulated, research-intensive, mission-critical industry such as <strong>aviation</strong> for example.</p><p>In the 60s and 70s when aerospace engineers were designing new aircraft fuselage and wings, they had to do dozens or hundreds of expensive wind-tunnel testing for aerodynamic analysis. As you can imagine, these tests were costly, involved, and time-consuming. With the advent of computer simulations, the majority of the testing quickly moved to the digital world — reducing testing costs dramatically and rapidly hastening development and innovation broadly. However, even with the aforementioned benefits, computer simulations could not replace real-world testing entirely. To this day, aerospace engineers still do a handful of final testing in the wind tunnel, as there are many complexities in real-world physics that a computer simulation cannot capture.</p><p>In the same vein, aircraft pilots spend many hours training through flight simulators — but still, log hundreds of hours in a real aircraft. Just as flight hours are preferred to flight simulator training, synthetic data will never completely replace real-world data.</p><p>Similar to our aerospace engineers and pilot training examples, today’s ML practitioners are beginning to understand that real-world ML training data can be supplemented with, but cannot be replaced by, synthetic data.</p><h3>Real + Synthetic = Optimal training data</h3><p>Synthetic data is important — but it will coexist with real data, not replace it entirely in the coming years. Before we usher in a new age of synthetic-only ML training data, we in fact appear to be entering into a golden era of ML perception innovation and development. Never before have we had so many tools at our disposal, and we are still only scratching the surface of harnessing the power of data — real or <a href="https://synthesis.ai/2021/06/17/synthetic-data-case-studies-it-just-works/">otherwise</a>.</p><p><strong>Synthetic and real data should be managed together.</strong></p><p>In order to optimally use all of the data tools at your disposal, your data management solution should extend to, and benefit from, synthetic data engines. ML practitioners are using both, so why shouldn’t tool providers do the same?</p><p>Currently, ML practitioners use data management solutions (such as<a href="http://www.scenebox.com/"> SceneBox</a>) to find gaps in their training data, characterize these gaps, then find data to fill the gaps in either pre-existing data lakes, or by collecting new real data based on the specific requirements they have characterized.</p><p>In the present and into the future, now with the power of a synthetic data engine, we can simply generate new synthetic datasets using those same insights and characteristics. Easier yet, simply search a seemingly endless amount of already existing synthetic data in a repository to fill these data gaps.</p><p>With the <a href="https://synthesis.ai/2022/02/14/driving-model-performance-with-synthetic-data-vii-model-based-domain-adaptation/">importance of synthetic data</a> and its harmony with <a href="https://www.scenebox.com/platform">data management solutions</a> in mind, here is a couple of example workflows that integrated platforms such as SceneBox can help with:</p><h4>Workflow 1: Identifying and filling data gaps with synthetic data</h4><p>In this example, we have a computer vision engineer training a model and evaluating it on a real data set. From within the real dataset, the engineer uses a<a href="https://www.scenebox.com/"> data management platform</a> to find edge-cases and gaps in the training dataset — for example, they identify the model exhibits low precision in identifying people with long hair wearing masks and headphones in the fisheye camera. Given this insight, they go to a<a href="https://synthesis.ai/"> synthetic data engine</a> to generate hundreds of examples of people with long hair, wearing masks and headphones, and enrich the training dataset with this data. Bonus: there is no data privacy issue!</p><h4>Workflow 2: Finding labeling noise in training data</h4><p>In this example, you have a workforce that has labeled thousands of frames collected from real cameras. The problem is that if the labelers mislabel the data, the model won’t be trained correctly. So, how do you know if the data is mislabeled without a massive manual review?</p><p>One way to test for mislabeled data is to mix synthetic data with real data and use the perfect ground truth labels that are inherent to synthetic data to check the accuracy of the human labels. By using a sample of perfectly labeled data, we are able to quantify the label noise.</p><h3>A partnership between Synthesis AI and SceneBox</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*V0XP7Jboa9hyx-8Hl_L2pg.gif" /><figcaption>Closeup Humans Open Source Dataset on SceneBox</figcaption></figure><p>We have been working with our colleagues at Synthesis AI to bring the power of synthetic data to the fingertips of our customers. As a first step, SceneBox is hosting the<a href="https://opensynthetics.com/dataset/close-up-humans-dataset-by-synthesis-ai/"> Close Up Humans Dataset</a>, a synthetic, open-source dataset generated by Synthesis AI. You can check it out<a href="https://prod.scenebox.ai/public_user_redirect?user=closeup_humans"> here</a>.</p><h4>Visualizing Unique, Comprehensive Labels in Synthesis AI’s HumanAPI</h4><p>With every image, Synthesis AI datasets provide an expanded set of pixel-perfect labels including segmentation maps, dense 2D/3D landmarks, depth maps, surface normals, and more. Synthesis AI’s customers use the JSON-based API to reduce bias in their models associated with imbalanced data sets while preserving privacy. By inspecting the data on SceneBox, customers can find these imbalances and request new data from Synthesis AI’s API to ensure equal representation across identities, facial attributes, pose, camera, lighting, etcetera.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ADMGO2A-vjrK2bHQ" /><figcaption>Easily survey the different styles of metadata available by toggling landmarks and segmentation</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*MCT1mu1prFZGs4TX" /><figcaption>Examine masks, metadata, and more one SceneBox</figcaption></figure><h4>Exploring Bias in Datasets</h4><p>SceneBox’s integration with Synthesis AI’s HumanAPI also makes exploring distributions in datasets as simple as a few clicks of the mouse. For example, skin tone is an important and common bias factor for human-centric computer vision models. Synthesis AI’s HumanAPI allows you to generate millions of combinations of the environmental, camera, and character combinations, all with a certain skin tone range if desired. With the SceneBox-Synthesis AI integration, you can easily filter the dataset by different Fitzpatrick skin tones, or write your own custom filter.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KAfoRDNivzheP-BwLx8mwg.gif" /><figcaption>Filter data by any metadata to uncover bias</figcaption></figure><p>Another common bias is that of camera angle. We’ve found that the majority of real datasets only provide subjects at a limited degree of camera angle; much different than the actual use case at hand. With the SceneBox-Synthesis AI integration, you can easily filter the dataset by camera angles; for example, simply click through to the camera_db and filter to the camera angle, to see that 284 images out of 10,000 are at both extreme yaw and pitch angles. Of course, with Synthesis AI’s HumanAPI, you can request as many extreme camera angles as you would like!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mixZ2YBcgZsOmDdchovNFQ.gif" /><figcaption>Only 284 of 10,000 images are at extreme angles for both yaw and pitch</figcaption></figure><h3>What the future holds between SceneBox and Synthesis AI</h3><p>The teams at Synthesis AI and SceneBox are both excited to share the first step in our partnership and hope that you find benefit from it. In the long term, we envision helping our users easily identify biases in their datasets and generate new data with the ease of clicking a button! Don’t hesitate to get in touch with <a href="https://synthesis.ai/contact-us/">Synthesis AI</a> or <a href="https://www.scenebox.com/contact">SceneBox</a> with any questions, as well.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=163b6b7381a4" width="1" height="1" alt=""><hr><p><a href="https://medium.com/caliber-data-labs/bringing-synthetic-data-into-computer-vision-training-pipelines-163b6b7381a4">Bringing Synthetic Data into Computer Vision Training Pipelines</a> was originally published in <a href="https://medium.com/caliber-data-labs">SceneBox</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Data Management and Data Labeling: It takes two to tango]]></title>
            <link>https://medium.com/caliber-data-labs/data-management-and-data-labeling-it-takes-two-to-tango-6a0036ff0adf?source=rss----b714128905a2---4</link>
            <guid isPermaLink="false">https://medium.com/p/6a0036ff0adf</guid>
            <dc:creator><![CDATA[Yaser Khalighi]]></dc:creator>
            <pubDate>Thu, 14 Jul 2022 18:40:40 GMT</pubDate>
            <atom:updated>2022-06-03T17:47:41.856Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZO7UEtcdnvw7chuDzVrZwA.png" /></figure><p><em>TL;DR: There is a conflict of interest inherent to the business model of a provider of data management solutions (data curation and triage) and a provider of data labeling services (ground truth) for the development of machine learning (ML) models. For this reason, ML teams are better off relying on separate technology partners for data labeling and data management.</em></p><p>As a technology company building a data platform for a field as young, and fast-evolving as computer vision (CV), we are constantly reaching out to machine learning teams to see if our product solves their problems. However, before we are able to speak with a prospective customer, we are often mistaken for one of the many labeling companies vying for their business. Even when we talk to prospective customers, one of the most common questions we receive is about labeling and if we plan to go in that direction. Labeling is known to be the armpit of machine learning. It is still an open multi-billion dollar problem and it will be around for the foreseeable future. Because of that, many great teams working are on, it but we <strong>consciously made a decision to NOT be a labeling company</strong>. In fact, we believe this would create a conflict of interest.</p><p>Before I started <a href="https://www.scenebox.com/">SceneBox</a>, my team was tasked with the problem of providing the right datasets to train/improve computer vision models for self-driving cars. After speaking with a few computer vision experts who were doing similar work in different verticals (medical imaging, last-mile delivery, satellite imagery analytics, cashier-less checkout, etc.), I began to understand that <strong>providing the right data for model training is a universal problem in deep learning-based perception engineering.</strong></p><p>As I began digging into the challenge of providing the right data, I uncovered three components:</p><ol><li><strong>Data Curation </strong>— Finding the most effective raw datasets to be labeled</li><li><strong>Data Labeling</strong> — Labeling the raw datasets</li><li><strong>Data Triage</strong> — Ensuring the quality of labels is sufficient</li></ol><p>We decided to focus our efforts on <strong>Data Management</strong>, which is the combination of <strong>Data Curation</strong> and <strong>Data Triage. </strong>Data management was, and continues to be, our bread and butter. Contrary to data labeling, we are one of the very few teams focused on data management. We consciously avoided building a data labeling platform for the reasons we will explore below. As more and more data labeling companies start building their own version of a data management platform, we are beginning to learn from our customers that there are conflicting interests when it comes to data management and data labeling. We address exactly this conflict below and make the argument for using separate providers for data management and data labeling on your perception-based ML journey.</p><h3>You don’t want your dentist selling you candy.</h3><p>There is an inherent conflict of interest between data labeling and data management. One of the purposes of a data management platform is to optimize the amount of data that is sent to be labeled — <strong>Data Curation</strong>. In actuality, most teams without a data management platform struggle to find the right data to label, which results in more labeled data than necessary. This is great for data labeling companies’ bottom line, but quickly and inefficiently burns through the ML team’s resources, as redundant data is labeled for training.</p><p>Another purpose of a data management platform is to find label noise and other imperfections in the labels — <strong>Data Triage</strong>. While there are some fantastic labeling tools and workforces out there, label noise is inevitable. Again, this is not something that a labeling company, that prides itself on providing quality ground truth, wants to bring to its customers’ attention.</p><p>The problem here is that labeling companies are now marketing their own data management platforms to their existing labeling customers. Because of the conflict between data discovery/triage and data labeling explored above, I would be hesitant to leap for a data management solution provided by a labeling company — particularly when labeling is the more profitable business model for them. You would understandably be skeptical of an ad-blocker made by Facebook or Google. A similar argument applies here.</p><h3>You want your data managed by an enabler, not a monopolizer.</h3><p>Chances are, in a perfect world, you and your ML team would use more than one labeler or a different source of ground truth (such as synthetic data). This is because data types and labeling requirements change, and different labelers focus their specialty in certain areas. Sometimes, you might find it more effective to do labeling in-house with SMEs. Other times, outsourcing is best. Sometimes for privacy reasons, you are limited to labeling workforces in certain regions. Maybe you want to try auto-labeling. Or perhaps you want to use a different solution and/or workforce for semantic segmentation from the one you use for bounding boxes, and another for point clouds.</p><p>However, if a labeling company is providing your data management solution, it is very unlikely that they make it easy to integrate with another labeler or a source of ground truth— you are essentially locked into their ecosystem with a sole labeling vendor.</p><p>The point here is that labeling is complex, and computer vision teams w̶a̶n̶t̶ ̶n̶e̶e̶d̶ <strong>deserve</strong> flexibility when it comes to labeling vendors.</p><h3>Building a labeling platform is hard. So is data management.</h3><p>It is extremely difficult for a company to provide fantastic tools for both data labeling and data management. Why?</p><p><strong>Labeling is hard.</strong> When building labeling solutions, you are dealing with the human element — managing large teams and complex workflows/tools is really challenging. There are some fantastic teams out there providing world-class labeling solutions such as <a href="https://scale.com/">Scale</a>, <a href="https://labelbox.com/">Labelbox</a>, <a href="https://www.dataloop.ai/">Dataloop</a>, <a href="https://segments.ai/">Segments.ai</a>, <a href="https://aws.amazon.com/sagemaker/data-labeling/">SageMaker</a>, <a href="https://www.deepen.ai/">Deepen</a>, and <a href="https://www.superannotate.com/">SuperAnnotate</a>,— just to name a few. These are all great teams providing very elegant solutions to incredibly difficult problems. With these sharp minds pressing forward with a focus on the frontier of labeling tools, workflows, and overall quality, we continue our collective drive towards an automated world.</p><p>Having said that, these solutions are far from complete and ML practitioners are still asking for better labeling options.</p><p><strong>Data management is hard. </strong>Data management is another beast of its own. First, a data management platform should manage <strong>all the data in its entirety</strong>. For example, a self-driving car company usually generates TBs of data per day. That means the data management platform should easily scale and manage PBs of completely unstructured data. That is not an easy feat!</p><p>Another problem is data modality, perception data comes in various modalities. A data platform needs to provide a comprehensive suite of modules to index and search the data across all modalities. Your dataset may come from a robot or vehicle with other temporal data, or it may have some other metadata, or could be completely raw where you need a machine learning model to understand and categorize it. <strong>A data management platform should be able to make all data across all modalities completely usable and discoverable.</strong></p><p>Last but not least is the integration. Often teams have their way of generating and storing their piles and piles of raw data. Due to the size of these datasets, it’s often impossible to re-ingest the data to a new data platform, as a result, the data management solution should be an <strong>overlay platform </strong>meaning it should <strong><em>sit</em> on top of existing data in its original format/structure rather than restructuring it.</strong></p><h3>Specialization is imperative for progress.</h3><p>Keeping in mind how monumental both of these challenges are, one company building both a data labeling and data management solution appears infeasible. Rather, the most productive way forward is integration across different solutions and services, forming the optimal solution.</p><p>As a data management company, our mission is to be laser-focused on our efforts to build the best products for our customers. Many labeling companies, like data management companies, feel the same way.</p><p>This is why we decided not to do labeling, and to support other companies with laser-focused product visions. Rather than build labeling tools ourselves, we make it extremely simple to interface with many different <a href="https://www.scenebox.com/platform#operations">best-in-class labeling tools/workforces</a>.</p><p>Both labeling and data management companies still have lots of work to do, so the less jumping around we do, and the more specialized we become, the faster we will get to our ultimate destination.</p><p>I would love to hear your thoughts on this article. Our team in <a href="https://www.scenebox.com/">SceneBox</a> is always open to conversations. Please reach out to me on <a href="https://www.linkedin.com/in/khalighi/">LinkedIn</a> if you would like to take a deeper dive with me.</p><p><em>Special thanks to Arman Mazhari.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6a0036ff0adf" width="1" height="1" alt=""><hr><p><a href="https://medium.com/caliber-data-labs/data-management-and-data-labeling-it-takes-two-to-tango-6a0036ff0adf">Data Management and Data Labeling: It takes two to tango</a> was originally published in <a href="https://medium.com/caliber-data-labs">SceneBox</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Bridging the chasm between massive robotics data and computer vision workflows]]></title>
            <link>https://medium.com/caliber-data-labs/bridging-the-chasm-between-massive-robotics-data-and-computer-vision-workflows-3861e9eb55db?source=rss----b714128905a2---4</link>
            <guid isPermaLink="false">https://medium.com/p/3861e9eb55db</guid>
            <dc:creator><![CDATA[Yaser Khalighi]]></dc:creator>
            <pubDate>Mon, 23 May 2022 17:08:05 GMT</pubDate>
            <atom:updated>2022-07-07T20:28:30.909Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*H3x5EDbO3hDdY4IxJY55-g.png" /></figure><p>The world is going autonomous, and robotics teams are at the forefront of the autonomy revolution. When developing the robots of tomorrow, the teams behind these magical feats of engineering need to build computer vision models. Without “eyes”, truly autonomous robots cannot keep up with the dynamic and, at times, chaotic human world.</p><p>The problem is, that there is no easy way for robotics engineers to manage their robotics data for computer vision training workflows. For example, there is no way to input a rosbag (a recording file from ROS library) and easily curate, manage, search, and triage data as required for the development of computer vision models.</p><p>In this article, we explore a specific type of robotics data — namely, <a href="http://wiki.ros.org/rosbag">rosbags</a>. If you are working with robots, it’s likely that you’ve heard of rosbags, or even use them to record and store your robotics data. So, the question is, how can you review, search, and analyze the data in your rosbags for computer vision (CV) / machine learning (ML) workflows?</p><h3>Challenge: Using rosbags for CV workflows</h3><p>Before we dive into the solution, let’s explore some of the challenges. There are many obstacles teams bump into when moving to CV development with robotics data. Below is a non-exhaustive list of the pains we hear called out most often by robotics teams working on CV:</p><ul><li>rosbags are typically heavy (TBs each). As such, you don’t want to move them around</li><li>There’s typically no good way to search within rosbags en masse — rather, one must manually review data once a rosbag is downloaded and opened up for exploration</li><li>There isn’t a cloud-based way to visualize, search data, and review statistics about the data</li><li>There isn’t a unified way of orchestrating all the data operations going from rosbags, to ML training, to model evaluation</li></ul><p>The list goes on. To share some more experience, here are a couple of unedited workflow horror stories we have heard from world-class teams:</p><h3>Workflow 1:</h3><blockquote>To find the relevant data in rosbags for computer vision training, we have to review multiple rosbags based on their file and folder names, then pick a few to comb through in further detail. Download them (~approx 10 TB of data) and manually review all of the data with a local ROS visualizer. In the manual review we jot a few time intervals down in an excel spreadsheet and then run another ros script along with an FFmpeg script to extract and format 500 frames from these intervals. We package the frames in a zip file and send them to our annotation partner with an email and a cloud file-share. We receive the annotated data in JSON format in another email. We then use a home-grown script to parse the data and we then visualize and triage the annotations alongside the original data using another python script.</blockquote><blockquote>Time required: Depends, 4–5 hours on average</blockquote><h3>Workflow 2:</h3><blockquote>“Our self-driving cars records a ton of ROS data. After we upload them to S3, we want to visualize/search the data and find this “needle in the haystack” type data and send it to our labeling team. This entire process is manual and done on local machines with a growing number of in-house scripts, requiring us to download rosbags and comb through it to find and extract what we are looking for. This takes anywhere from 2 to 8 hours depending on what we are after. Management of labeled data alongside the raw ROS data is another big issue as rosbags, labels, and extracted frames live in separate environments.”</blockquote><p>These obstacles to development haunt us too, which is why we have been hard at work on these problems for the last 3 years. Below we outline how we (<a href="https://www.scenebox.com/">SceneBox</a>) to bridge the gap between robotics and ML computer vision.</p><h3>Solution: A computer vision data engine that natively supports ROS</h3><p><a href="https://www.scenebox.com/">SceneBox</a> supports ROS natively (among many other formats like KITTI, RTMaps, MDF4, etc) — and with these problems in mind, I couldn’t be more excited to show you SceneBox’s powerful tools for uploading, viewing, and analyzing rosbags. Once indexed by SceneBox (no upload required), <strong>all the data within rosbags are searchable</strong> and can be used for data curation, sent to the growing of labelers with which <a href="https://www.scenebox.com/platform#operations">SceneBox integrates with</a>, and <a href="https://www.scenebox.com/platform#remedy">triage labeled data</a>.</p><h4>Index your rosbag with a Single Python Call:</h4><p>SceneBox can either upload your rosbags to the cloud of your choice or <strong>overlay </strong>on top of your existing data in your data lake to index it. We’ve streamlined the process of indexing rosbags into <a href="https://www.scenebox.com/">SceneBox</a> for your ease. Simply call <em>index_rosbag()</em> from our Python package:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/43114b1faa449232e077b32c27add4f2/href">https://medium.com/media/43114b1faa449232e077b32c27add4f2/href</a></iframe><p>During import, SceneBox can perform <strong>deep analysis </strong>where it automatically extracts, sorts, and enriches rosbag messages. In particular, it can take a few models (here <em>mask_rcnn</em> model trained on COCO) to detect objects and index them. Once finished, various tools are available to explore and curate your data further. That includes reviewing time-based data, viewing embeddings, dashboard analytics, and multi-modal data search.</p><h4>Review data in time space or embedding space</h4><p>In session view, we can simultaneously playback a collection of rosbag events projected onto a single timeline (just like how it was recorded). Play/rewind the session, extract images or video clips, or add comments to all assets present at a specific timestamp:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WfRLQ0wpvNLyWjViGPy-OQ.gif" /></figure><p><a href="https://www.scenebox.com/">SceneBox</a> automatically generates embeddings and applies Uniform Manifold Approximation and Projection onto your rosbag images to visually show your data’s distribution. From this view, you can inspect any asset in detail, or curate a new dataset:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ni4AIIqn1t5orwA2hlLnuQ.gif" /></figure><h4>Data search and analytics</h4><p>Dashboards are a great way to discover trends in your data. Easily add and rearrange pie charts, bar charts, or tables to aggregate over virtually any metadata field. Finally, all rosbag images and videos (along with their extracted annotations, embeddings, and other metadata) are available for view on the data discovery page. Search and filter, curate new datasets, and inspect individual assets in detail in this view:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Kf4BpFsfa2vDUjeZH8dZ1w.gif" /></figure><p>The curated data from the rosbags can be used in <a href="https://www.scenebox.com/platform#operations">SceneBox’s Data Operations</a>. These operations include well-established workflows such as sending the datasets to labeling platforms, similarity search, data deduplication, label triage, and model debugging.</p><h4>Check it out:</h4><p>We’ve uploaded a rosbag created from one of the samples from the KITTI dataset for you to <a href="https://prod.scenebox.ai/public_user_redirect?user=kitti">explore here</a>. Feel free to <a href="https://www.scenebox.com/book-a-demo">contact us</a> if you have any questions!</p><p>Thanks to SceneBox’s super-engineer Emily Lee for the content on KITTI.</p><p>I would love to hear your thoughts on this article. Our team is always open to conversations. Please reach out to me on <a href="https://www.linkedin.com/in/khalighi/">LinkedIn</a> if you would like to take a deeper dive with me.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3861e9eb55db" width="1" height="1" alt=""><hr><p><a href="https://medium.com/caliber-data-labs/bridging-the-chasm-between-massive-robotics-data-and-computer-vision-workflows-3861e9eb55db">Bridging the chasm between massive robotics data and computer vision workflows</a> was originally published in <a href="https://medium.com/caliber-data-labs">SceneBox</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Tale of Long Tails]]></title>
            <link>https://medium.com/caliber-data-labs/the-tale-of-long-tales-90849d84c4d0?source=rss----b714128905a2---4</link>
            <guid isPermaLink="false">https://medium.com/p/90849d84c4d0</guid>
            <category><![CDATA[computer-vision]]></category>
            <category><![CDATA[dataops]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Yaser Khalighi]]></dc:creator>
            <pubDate>Thu, 01 Jul 2021 20:43:00 GMT</pubDate>
            <atom:updated>2022-06-03T15:17:56.246Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oBjI7KW-BlVND9XbFns0tA.png" /><figcaption><a href="http://www.freepik.com/">Designed by Freepik</a></figcaption></figure><p><em>Disclaimer: if the accuracy of machine learning models is not a priority of yours, this article might not be for you. To my machine learning engineers, data scientists, computer vision engineers, and product managers: welcome home. Grab a coffee and let’s get started.</em></p><p>For most computer vision use-cases, model development is initially quite fast and relatively straightforward. Within a short period of time, you can develop a rudimentary machine learning (ML) model sufficient for proof of concept.</p><p>To do this, simply find an open-source dataset, spend some time on labeling and use transferred learning. Within no time at all, <em>voila:</em> you have a basic model.</p><p>This model, of course, will not have a high enough level of accuracy or confidence to deliver any business value.<strong> It is when you want to scale up the accuracy and confidence of your model that development becomes much more expensive and increasingly complex.</strong></p><p>This is because the learning rate for ML models plateau the further you go — this is <strong>The Curse of the Long Tail.</strong></p><p><a href="https://medium.com/caliber-data-labs/beyond-the-needle-in-the-haystack-problem-b536312fe768">In my last article</a>, we discussed the needle in the haystack problem. We explored how this problem relates to ML, and why it is an oversimplification of the real data challenge. If you haven’t already, you can <a href="https://medium.com/caliber-data-labs/beyond-the-needle-in-the-haystack-problem-b536312fe768">check out the post here</a>.</p><p>In this article, we explore why the data challenge matters when developing autonomous systems and ML vision models, and why ML teams need a data solution in their toolkit.</p><p><strong>Back in 2019 when I was working with a top-notch self-driving car company</strong>, the autonomous system development challenge became glaringly obvious to me. I realized very quickly that it’s all about finding the right data.</p><p>Data was by far the biggest obstacle to delivering accuracy improvements to our ML models. The ability to discover high-quality data from within our existing datasets was what it took to go from the lab to the roads, and eventually to the dealership.</p><p>The bulk of the model accuracy challenge resides in the data. In commercial applications, we see that typically the backbone of machine learning models is rather standard and not usually the root of the problem.</p><p><strong>Providing high-quality data is an iterative process.</strong> After completing my work with the self-driving vehicle team, I realized that this data discovery process is needed for building much more than just self-driving cars; essentially all autonomous systems and ML computer vision applications are tasked with this data challenge. With this in mind, my team and I decided to shift our focus from consulting and form a product company with the sole purpose of solving this problem.</p><p>Many companies face diminishing returns when improving their ML models, particularly when going from 80% to &gt;95% accuracy. In order to increase model accuracy, you typically need to go through a long tail of improvement first. This long tail slows incremental model accuracy improvement, and as such, slows product time-to-market.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/978/0*FtQDLnhF4X9RclIv" /><figcaption><a href="https://www.lingholic.com/reaching-a-plateau-in-language-learning-how-to-get-out-of-it/">Source</a></figcaption></figure><p>Long tails present themselves in human learning, too. The above graphic is a language learning curve. Look familiar?</p><p>Imagine you decided to move to Spain to work in a cafe and learn Spanish. With some basic knowledge and training from your coworkers, you would very quickly be able to take simple, common orders such as café or a cerveza. However, if someone came to you with an uncommon or custom order, say for a tostada con tomate, aceite, y jamón, you may struggle to produce their desired outcome.</p><p>In ML, we call these uncommon orders ‘edge cases’, and unfortunately for us, there are a seemingly infinite number of them.</p><p>Let’s say 80% of the time people make simple orders. This means 80% of the time we can fulfill their order, and 20% of the time our language training <em>(our training data)</em> fails us.</p><p>Typically in ML development, once you are at ~70–80% model accuracy, most of the low-hanging fruit tasks (orders for coffee, beer, etc.) have been learned.</p><p>From here, the way you improve your model is by identifying these edge cases/failure modes of your model, and then find other similar instances with which to train your model.</p><p>Easier said than done.</p><p>The tricky part is finding and fixing these edge cases causing model failure. These are the needles in your haystacks.</p><p>Errors in your ground truth labels can also lead to model failures. This is why you want to be learning from the Spanish experts, not your American coworker who is also learning the language.</p><p>Looking at the ML development curves above, errors in your ground truth will typically show up in the long tail portion of development.</p><p>Finding error in your ground truth is difficult — this is done typically with either consensus-based quality control checks, or through manual, critical review of the ground truth.</p><p>If model accuracy is a priority for your use case, then at some point you will need a scalable platform to visualize and manage your data. <strong>Eventually, and especially if you are building mission-critical autonomous systems, you need to level up your ML data operations.</strong></p><p>By using a pre-established, production-grade ML DataOps platform, you would be able to eliminate the initial 3–6 months of build time that slows down your ML development. Why build when you can use an advanced platform that would take 24+ months to build, with more advanced features and better integrations than a basic internal solution could deliver?</p><p>Getting back to our long tail, this 3–6 months of initial build time holds you back from starting to iterate on your mission-critical ML project. In order to start iterating, you first need a data operations solution.</p><p>Once you start iterating, your project has a few components to look at, specifically the model:</p><ol><li><strong>Accuracy</strong></li><li><strong>Failure modes</strong></li><li><strong>Data gaps</strong></li></ol><p>To keep this article somewhat brief, we will focus on the third component, looking at data gaps in your model. That is, finding what data is missing from your model, finding this data in your existing data, and then plugging it into your model.</p><p>Reviewing and testing your model requires you to find and define what this data gap, <a href="https://medium.com/caliber-data-labs/beyond-the-needle-in-the-haystack-problem-b536312fe768"><em>the needle</em></a>, looks like. In each iteration, this takes some time. Then, the actual collection or finding of data that meets these criteria also takes a lot of time.</p><p>When approaching the upper limits of model accuracy, a 5% increase in model performance that once took 5 weeks begins to take 5 months.</p><p>For example, you decide you want to make a model that predicts the health of the annual wheat harvest in China using historical satellite imagery.</p><p>Your first 2 weeks and 1,000 labeled images return an impressive 60% increase in model performance — from 0% to 60%.</p><p>Your next 2 weeks and 1,000 labeled images improve the model from 60%-80% — now only a 20% jump.</p><p>The same effort then improves the model from 80% to 85%, a 5% jump.</p><p>And it keeps getting flatter.</p><p>Your next iteration might yield a 2% increase to 87%.</p><p>The further you go, the harder it gets.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/652/0*2Sq86Niq_an7ygBT.png" /><figcaption>A simplified example of iterations with vs. without a dedicated ML DataOps Platform.</figcaption></figure><p>Using an existing production-grade platform, not only do you skip the initial build time and indefinite maintenance and improvement, but the iterative model improvement process outlined above<strong> goes from weeks to days</strong>.</p><p>Using this tool, you are able to much more effectively find the failure modes of the model, find the right data, handle the labeling of your data, and ensure the quality of the labels.</p><p>Using the right toolset in this way, you can get to your desired accuracy faster in 3 ways:</p><ol><li><strong>Start iterating now. </strong>You don’t need to build the infrastructure required to commence iteration.</li><li><strong>Every iteration will be faster. </strong>Using a dedicated ML DataOps platform helps cut down on review time through automation of simple data operations tasks.</li><li><strong>Every iteration will be better.</strong> The data you can bring to every iteration is higher quality data.</li></ol><p>Out of necessity, many large companies at the forefront of computer vision model development have built a DataOps platform for ML. You can learn more about their development <a href="https://www.youtube.com/watch?v=oBklltKXtDE">here</a> and <a href="https://blogs.nvidia.com/blog/2018/09/13/how-maglev-speeds-autonomous-vehicles-to-superhuman-levels-of-safety/">here</a>.</p><p>Our vision is to make tools of the same caliber available off-the-shelf for organizations of all sizes so that they can develop at the same pace and not get left behind in the AI/ML race. We aim to reduce barriers to entry for organizations scaling their computer vision development. Instead of having to deal with these data operations toolsets internally, you can use a production-grade system out of the box with our flagship product <a href="https://www.caliberdatalabs.ai/scenebox-product?utm_source=medium&amp;utm_medium=content&amp;utm_campaign=tale-of-longtails&amp;utm_term=tof&amp;utm_content=hd-product_"><strong>SceneBox</strong></a>.</p><p>For the past two years, we at <a href="https://www.caliberdatalabs.ai/?utm_source=medium&amp;utm_medium=content&amp;utm_campaign=tale-of-longtails&amp;utm_term=tof&amp;utm_content=hd-home_">Caliber Data Labs</a> have been working on the challenges described above and built a platform of the highest caliber to tackle these data issues. Our platform, <a href="https://www.caliberdatalabs.ai/scenebox-product?utm_source=medium&amp;utm_medium=content&amp;utm_campaign=tale-of-longtails&amp;utm_term=tof&amp;utm_content=hd-product_"><strong>SceneBox</strong></a>, is the most comprehensive perception data operations tool on the market today.</p><p><em>If you are interested in learning more and want to schedule a demo, you can </em><a href="https://www.caliberdatalabs.ai/contact-us?utm_source=medium&amp;utm_medium=content&amp;utm_campaign=tale-of-longtails&amp;utm_term=tof&amp;utm_content=hd-contact_"><em>sign up here</em></a><strong><em> </em></strong><em>or reach out to us at </em><a href="/service/mailto:hello@caliberdatalabs.ai"><em>hello@caliberdatalabs.ai</em></a><em>.</em></p><p>I would love to hear your thoughts on this article. Our team is always open to conversations. Please reach out to me on <a href="https://www.linkedin.com/in/khalighi/">LinkedIn</a> if you would like to take a deeper dive with me.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=90849d84c4d0" width="1" height="1" alt=""><hr><p><a href="https://medium.com/caliber-data-labs/the-tale-of-long-tales-90849d84c4d0">The Tale of Long Tails</a> was originally published in <a href="https://medium.com/caliber-data-labs">SceneBox</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Beyond the needle in the haystack problem]]></title>
            <link>https://medium.com/caliber-data-labs/beyond-the-needle-in-the-haystack-problem-b536312fe768?source=rss----b714128905a2---4</link>
            <guid isPermaLink="false">https://medium.com/p/b536312fe768</guid>
            <category><![CDATA[robotics]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[data-platforms]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[machine-vision]]></category>
            <dc:creator><![CDATA[Yaser Khalighi]]></dc:creator>
            <pubDate>Tue, 20 Apr 2021 14:02:43 GMT</pubDate>
            <atom:updated>2021-04-20T13:39:09.122Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1023/0*8GZfHtXU6oo0tyEQ" /><figcaption><a href="https://modernfarmer.com/2014/11/man-finds-needle-haystack/">credit</a></figcaption></figure><p>We all have a clear image of a needle in a haystack:</p><p>a tiny needle sitting somewhere in a massive barrel of hay.</p><p>It makes some of us grimace, and understandably so. Whether you have lost your wedding ring on the beach, or you are engineering machine learning models, we all have experienced a similar problem.</p><p><strong>In machine learning for autonomous systems, the algorithm itself is typically no longer the greatest challenge.</strong> The network of a deep learning model is often standardized and is almost commoditized at this point.</p><p>However, capturing a diverse, distributed dataset to train these models on is a different story.</p><p>When developing autonomous systems, we are tasked with the collection of massive amounts of unstructured data.</p><p>From there, we have to sift through all of this data, pick out the pieces we think <em>might</em> improve our model, extract this data, send it for annotation, plug it back into the model, and compare the results.</p><p>Sounds easy enough.</p><p>So, how do you decide which data to extract? What defines a meaningful dataset? How do you even navigate through these large lakes of unstructured data? What toolkit needs to be built?</p><p>These are the questions that we are dedicated to answering.</p><p><strong>My team and I have had more than 200 conversations on this topic with ML engineers and autonomy experts</strong>, and this article is the beginning of a series outlining the results of our ongoing work. Herein, we will dive into the intersection of the needle in the haystack problem and the challenges of developing autonomous systems from a data perspective, exploring the metaphor and its limitations.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_1rr75yVF0P0oRm_QCfP0Q.png" /></figure><p><em>For some machine learning engineers who know this problem intimately, calling it the needle in the haystack problem is a gross simplification of a complex challenge. I believe the metaphor serves us in initially understanding the problem, but there are some important differences to discuss.</em></p><p>That said, here are the four reasons why we must expand our understanding of this data challenge beyond the needle in the haystack problem:</p><p><strong>1. Perception data, by construct, is dense and heavy.</strong></p><p>A typical transaction or text-based datum can be measured in bytes, whereas a single perception datum is typically in the magnitude of KBs or MBs. Because of this, perception data is much more expensive to store, transfer, and play with.</p><p>So, if your perception data operations are not handled in a smart fashion, you end up frivolously spending time and resources.</p><p>In addition to storage/transfer, the analysis of perception data is heavy as well. In contrast to a numerical or a text-based datum, extracting information from an unstructured datum demands computational resources. Think of a video of a car approaching a pedestrian. It’s a stream of pixels and you need to heavily process the data to extract that information.</p><p>Imagine a haystack, but make it iron. It’s heavy to move and tough to forge!</p><p><strong>2. Labelling ain’t cheap.</strong></p><p>Most autonomy models are based on supervised learning, meaning they always require labeled data. Labeling data is an expert task that requires time and money. Because of this human element, labeling at scale becomes quite expensive.</p><p>For example, assuming typical annotation costs range from $0.20 to $5 per instance, if you label 10,000 images that do not significantly improve your model, you could be out $50,000 and fall several weeks behind.</p><p>Unfortunately, it is not feasible to find the needle through the brute force method.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/958/0*cDqum61zLFLIVGNd" /><figcaption><a href="https://www.thehaymanager.com/round-bale-feeders/how_to_roll_the_perfect_hay_bale/">credit</a></figcaption></figure><p><strong>3. A field full of haystacks.</strong></p><p>Sometimes, we speak only in terms of one haystack — specifically in a production environment. However, you may also be still creating a lot of data at the edge, far from the cloud, and end up with a lot of unstructured data in a number of different locations. This data may be too large to transfer and organize in a centralized fashion.</p><p>So, what you end up with is multiple large silos of data at the edge, without the means of making this data centrally available, and end up having to find multiple needles in multiple haystacks.</p><p><strong>4. The nebulous needle.</strong></p><p>Perhaps the greatest challenge is in determining what is missing from your dataset. That is, <em>you probably do not know what the needle actually looks like.</em></p><p>It is often hard to characterize or understand what data is missing from your training datasets, and up until now, there has been no easy solution to this problem.</p><p>This challenge is, of course, dependent on where you are in the machine learning development cycle.</p><p>For example, if you want to go from 60% to 70% model accuracy, it is usually obvious what data you have not collected, and you simply go collect more data on that scenario. Say you notice your model is failing on rainy days, or when bicycles are present, you know you just need to collect more of this data.</p><p>However, as you get to the more advanced stages of the development cycle, you no longer have a clear understanding of what the needles look like. So, when you want to go from 75% to 95% accuracy, and from 95% to 99.9% accuracy, you often do not know what type of data is missing without manually reviewing the data, drawing out your development, and plateauing your progression into a long tail. Caution to the ML engineers: the plot below may cause sleeplessness!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/850/0*kQ8STOz3hVfx5QVX" /><figcaption><a href="https://www.researchgate.net/figure/Learning-Curve-of-machine-learning-model-with-the-size-of-dataset-used-for-testing-and_fig7_320592670">credit</a></figcaption></figure><p>Because of the high level of accuracy required, characterizing the gaps in your datasets (<em>characterizing the needle(s)</em>) is the biggest obstacle between your current model and production level accuracy — specifically for mission-critical tasks like autonomous vehicles.</p><p>At times, it is a daunting task to find the data gaps in the model, and then know how to fix them. This is perhaps the greatest challenge that machine learning engineers face today.</p><p><strong>Conclusion</strong></p><p>In summary, and at a high level, we explored the requirements machine learning engineers working on autonomous systems face today. We explored the needle in the haystack problem as a metaphor and discussed its limitations. We also dove into the four key challenges on ML engineers’ mind:</p><ol><li>Being able to review all of your data without moving is important because perception data is heavy.</li><li>The importance of knowing what needs to be labeled, and what is redundant.</li><li>A single, unified window into all of your data, wherever it may reside, is required.</li><li>The ability to characterize the data that could improve the accuracy of a model is paramount.</li></ol><p>To build a production-grade perception system, you need to address these issues. The front-runners of the autonomy revolution have managed to tackle this problem in-house with dedicated teams of engineers and massive R&amp;D budgets; however, there are scarce off-the-shelf, scalable solutions available on the market today for the teams that cannot afford to build these capabilities in-house.</p><p>For the past two years, we at <a href="https://www.caliberdatalabs.ai/?utm_source=medium&amp;utm_medium=content&amp;utm_campaign=needle-in-haystack&amp;utm_term=tof">Caliber Data Labs</a> have been working on the challenges described above and built a platform of the highest caliber to tackle these data issues. Our platform, <a href="https://www.caliberdatalabs.ai/scenebox-product?utm_source=medium&amp;utm_medium=content&amp;utm_campaign=needle-in-haystack&amp;utm_term=tof">SceneBox</a>, is the most comprehensive perception data operations tool on the market today.<em> If you are interested in learning more and want to schedule a demo, you can </em><a href="https://www.caliberdatalabs.ai/join-beta-waitlist?utm_source=medium&amp;utm_medium=content&amp;utm_campaign=needle-in-haystack&amp;utm_term=tof"><em>sign up here</em></a><strong><em> </em></strong><em>or reach out to us at hello@caliberdatalabs.ai</em></p><p>I would love to hear your thoughts on this article. Our team is always open to conversations. Please reach out to me on <a href="https://www.linkedin.com/in/khalighi/">LinkedIn</a> if you would like to take a deeper dive with me.</p><p>Stay tuned for the next installment of this series: <strong><em>The Tale of Long Tails</em></strong>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b536312fe768" width="1" height="1" alt=""><hr><p><a href="https://medium.com/caliber-data-labs/beyond-the-needle-in-the-haystack-problem-b536312fe768">Beyond the needle in the haystack problem</a> was originally published in <a href="https://medium.com/caliber-data-labs">SceneBox</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AV Value Chain — Data Perspective]]></title>
            <link>https://medium.com/caliber-data-labs/av-value-chain-data-perspective-879a7422e383?source=rss----b714128905a2---4</link>
            <guid isPermaLink="false">https://medium.com/p/879a7422e383</guid>
            <category><![CDATA[data]]></category>
            <category><![CDATA[self-driving-cars]]></category>
            <dc:creator><![CDATA[Parham Rakhshanfar]]></dc:creator>
            <pubDate>Tue, 14 Jan 2020 20:40:26 GMT</pubDate>
            <atom:updated>2020-01-14T20:40:25.940Z</atom:updated>
            <content:encoded><![CDATA[<h3>AV Value Chain — Data Perspective</h3><h3>Part 3 — Use-case-driven Alliance</h3><p>Due to the complex and evolving landscape of the AV Industry at present, we must look deeper at each company in order to understand how the Data sub-tier specifically feeds into the AV Value Chain. This can be done by starting at the top of the value chain and drilling-down to draw a more detailed picture of the company’s alliance strategy.</p><p>Here is the third corresponding alliance model <a href="https://www.mckinsey.com/industries/automotive-and-assembly/our-insights/how-china-will-help-fuel-the-revolution-in-autonomous-vehicles">characterized by McKinsey</a> that can help depict how data will be fed into the AV Value Chain:</p><p><strong>3. Use-case-driven Alliance</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*3E_xSODVBKXYITh4.png" /></figure><p>An example of this alliance model is currently Uber, which has created a separate entity called the Uber Advanced Technologies Group. Their “self-driving strategy centers around partnership” as they are tackling the AV race by combining their self-driving technology “with partners’ state-of-the-art vehicles, sensors, and technology”. In these circumstances, the company has the economies of scale to vertically integrate some of the AV hardware and software solutions. Nevertheless, as the focus is on creating more value through partnerships we will venture into how the value chain could be constructed in this circumstance if everything was provided externally. The goal is to leverage the manufacturing capabilities of multiple OEMs which will execute the mobility service providers vision of the AV. Uber would work closely with Tier 2 Suppliers of AV Hardware and Software in order to create its AV System. If the Tier 2 Supplier was a company similar to Waymo, they would have already tackled the data collection and management solutions. If not, Uber would have to work directly with its Tier 2 Suppliers to find the best data collection and management solutions to integrate with its AV System. In terms of cloud and on-prem data storage solutions, these would most likely be sourced by Uber as they would retain ownership of the data. Lastly, the Data Labelling solutions would be outsourced most probably — in this case, Uber is also working with Scale.</p><p>In each of these scenarios the driver of the technology definition is the one controlling the alliance which means they are ultimately responsible for ensuring the data challenges are being dealt with through integrating the right data solutions from the data sub-tier. Whoever that turns out to be, we believe they will attract the largest market share in the mobility value chain.</p><p><em>This is the fourth and final post in a series of articles exploring the data value chain in Smart Mobility. </em><a href="https://www.caliberdatalabs.ai/?source=post_page---------------------------"><em>Caliber AI</em></a><em> is a design and deployment partner for AI Pioneers in Smart Mobility, Legal &amp; Compliance and Utilities &amp; Resources. Start building your AI </em><a href="https://caliberdatalabs.typeform.com/to/hleLvX?source=post_page---------------------------"><em>here.</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=879a7422e383" width="1" height="1" alt=""><hr><p><a href="https://medium.com/caliber-data-labs/av-value-chain-data-perspective-879a7422e383">AV Value Chain — Data Perspective</a> was originally published in <a href="https://medium.com/caliber-data-labs">SceneBox</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AV Value Chain — Data Perspective]]></title>
            <link>https://medium.com/caliber-data-labs/av-value-chain-data-perspective-40c3c20c75e8?source=rss----b714128905a2---4</link>
            <guid isPermaLink="false">https://medium.com/p/40c3c20c75e8</guid>
            <category><![CDATA[data]]></category>
            <category><![CDATA[big-data]]></category>
            <category><![CDATA[self-driving-cars]]></category>
            <category><![CDATA[autonomous-cars]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[Parham Rakhshanfar]]></dc:creator>
            <pubDate>Tue, 03 Dec 2019 19:41:55 GMT</pubDate>
            <atom:updated>2019-12-03T19:41:55.012Z</atom:updated>
            <content:encoded><![CDATA[<h3>AV Value Chain — Data Perspective</h3><h4>Part 2 — Integration by Reference Design</h4><p>Due to the complex and evolving landscape of the AV Industry at present, we must look deeper at each company in order to understand how the Data sub-tier specifically feeds into the AV Value Chain. This can be done by starting at the top of the value chain and drilling-down to draw a more detailed picture of the company’s alliance strategy.</p><p>Here is the second corresponding alliance model <a href="https://www.mckinsey.com/industries/automotive-and-assembly/our-insights/how-china-will-help-fuel-the-revolution-in-autonomous-vehicles">characterized by McKinsey</a> that can help depict how data will be fed into the AV Value Chain:</p><p>2. <strong>Integration by Reference Design</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*2IVsaseNGmLAvVEL.png" /></figure><p>An example of this alliance model is Waymo, who has partnered with <a href="https://techcrunch.com/2018/05/31/waymo-expands-autonomous-driving-partnership-with-fiat-chrysler/">Fiat Chrysler</a> as its main AV Manufacturer (OEM 1), <a href="https://techcrunch.com/2018/03/27/waymo-teams-up-with-jaguar-to-intro-a-new-premium-self-driving-car/">Jaguar</a> as its Premium AV Manufacturer (OEM 2) and <a href="https://techcrunch.com/2019/05/07/waymo-and-lyft-partner-to-scale-self-driving-robotaxi-service-in-phoenix/">Lyft</a> as its mobility service provider.</p><p>Due to large economies of scale — a benefit by virtue of being an Alphabet Inc. subsidiary — Waymo has managed to develop most hardware and software in-house. In terms of Data Collection solutions, Waymo has created its own simulation software and HD Maps. In other situations, this software would have been integrated from external providers in the Data sub-tier to the AV System creator which would be a Tier 2 supplier. The Data Management and Storage solutions are also vertically integrated. In other situations, these would have also been provided by external suppliers in the Data sub-tier. Lastly, once again the Data Labelling solution is outsourced — even by Waymo — as the scale of data annotation needs a fully dedicated company, which can handle the capacity and efficiency that needs to be achieved. The data labelling solution for Waymo is provided by Scale, the same company that provides data labelling solutions for Cruise.</p><p><em>This is the third post in a series of articles exploring the data value chain in Smart Mobility. </em><a href="https://www.caliberdatalabs.ai/?source=post_page---------------------------"><em>Caliber AI</em></a><em> is a design and deployment partner for AI Pioneers in Smart Mobility, Legal &amp; Compliance and Utilities &amp; Resources. Start building your AI </em><a href="https://caliberdatalabs.typeform.com/to/hleLvX?source=post_page---------------------------"><em>here.</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=40c3c20c75e8" width="1" height="1" alt=""><hr><p><a href="https://medium.com/caliber-data-labs/av-value-chain-data-perspective-40c3c20c75e8">AV Value Chain — Data Perspective</a> was originally published in <a href="https://medium.com/caliber-data-labs">SceneBox</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AV Value Chain — Data Perspective]]></title>
            <link>https://medium.com/caliber-data-labs/av-value-chain-data-perspective-58884981954f?source=rss----b714128905a2---4</link>
            <guid isPermaLink="false">https://medium.com/p/58884981954f</guid>
            <category><![CDATA[self-driving-cars]]></category>
            <category><![CDATA[data-platforms]]></category>
            <category><![CDATA[big-data-training]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[big-data]]></category>
            <dc:creator><![CDATA[Parham Rakhshanfar]]></dc:creator>
            <pubDate>Fri, 08 Nov 2019 14:39:22 GMT</pubDate>
            <atom:updated>2019-11-08T14:39:22.599Z</atom:updated>
            <content:encoded><![CDATA[<h3>AV Value Chain — Data Perspective</h3><h4>Part 1 — Integration by Validation</h4><p>Due to the complex and evolving landscape of the AV Industry at present, we must look deeper at each company in order to understand how the Data sub-tier specifically feeds into the AV Value Chain. This can be done by starting at the top of the value chain and drilling-down to draw a more detailed picture of the company’s alliance strategy.</p><p>Here is the first corresponding alliance model <a href="https://www.mckinsey.com/industries/automotive-and-assembly/our-insights/how-china-will-help-fuel-the-revolution-in-autonomous-vehicles">characterized by McKinsey</a> that can help depict how data will be fed into the AV Value Chain:</p><ol><li><strong>Integration by Validation</strong></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vcFJp0cEFh_XGuqZiH6oNQ.png" /></figure><p>An example of this alliance model is the acquisition of Cruise by GM. The companies co-develop and validate the AVs together but for ultimate mass-market adoption, the driver of the technology definition is the OEM. This means that the OEM may individually source some parts of the Data sub-tier as it is responsible for ensuring all solutions are in place, but the expertise usually lies with the AV Technology providers. As a result, the data collection and management solutions will normally be provided to the Tier 2 AV Software Suppliers who will then integrate the solutions into their AV Software. The cloud and on-prem data storage solutions are then sourced by the OEMs directly based on the amount of capacity and scalability they are looking for. Lastly, Data Labelling is outsourced by the OEM to an annotation company such as Scale which is currently partnered with Cruise.</p><p><em>This is the second post in a series of articles exploring the data value chain in Smart Mobility. </em><a href="https://www.caliberdatalabs.ai/?source=post_page---------------------------"><em>Caliber AI</em></a><em> is a design and deployment partner for AI Pioneers in Smart Mobility, Legal &amp; Compliance, and Utilities &amp; Resources. Start building your AI </em><a href="https://caliberdatalabs.typeform.com/to/hleLvX?source=post_page---------------------------"><em>here.</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=58884981954f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/caliber-data-labs/av-value-chain-data-perspective-58884981954f">AV Value Chain — Data Perspective</a> was originally published in <a href="https://medium.com/caliber-data-labs">SceneBox</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>