<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by DarwinAI on Medium]]></title>
        <description><![CDATA[Stories by DarwinAI on Medium]]></description>
        <link>https://medium.com/@darwinai?source=rss-2b37279ff473------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*CnN7im8GrE9CPkB_OaG0Nw.jpeg</url>
            <title>Stories by DarwinAI on Medium</title>
            <link>https://medium.com/@darwinai?source=rss-2b37279ff473------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 20:13:23 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@darwinai/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[OutlierNets: AI for On-Device Acoustic Anomaly Detection in Manufacturing]]></title>
            <link>https://medium.com/darwinai/outliernets-ai-for-on-device-acoustic-anomaly-detection-in-manufacturing-f38cb1f7251f?source=rss-2b37279ff473------2</link>
            <guid isPermaLink="false">https://medium.com/p/f38cb1f7251f</guid>
            <category><![CDATA[darwinai]]></category>
            <category><![CDATA[anomaly-detection]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[outliernets]]></category>
            <dc:creator><![CDATA[DarwinAI]]></dc:creator>
            <pubDate>Thu, 22 Apr 2021 16:39:50 GMT</pubDate>
            <atom:updated>2021-04-26T14:47:48.466Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9xMm8oslY9qIWCwKwIewMQ.jpeg" /></figure><p>By: Dr. Alexander Wong</p><p>In manufacturing facilities, human operators often can tell if machinery requires maintenance by the sounds it is making. If the pitch of a fan changes or something starts clanging, that’s a pretty clear indicator that something has changed and should be investigated immediately. Manufacturing operators require training and experience to listen for slight changes in sound that can result in an expensive shutdown or a potentially dangerous scenario if not addressed quickly.</p><p>Unfortunately, many of the currently available AI solutions require large amounts of prohibitively expensive computational resources to run for such a use case.</p><p>To help solve this problem our researchers at DarwinAI and our friends at the University of Waterloo have worked together to create OutlierNets, a collection of compact deep autoencoder network architectures that are compact enough to run on edge devices (like CPUs and microcontrollers) in real time while maintaining or exceeding the accuracy rates provided by much larger solutions containing millions of parameters.</p><h3>Enter The OutlierNets Solution</h3><p>With the new OutlierNets AI architectures available to run on edge devices in real time, manufacturing facilities can get all the benefits of immediately and accurately detecting audio anomalies in their equipment at an affordable setup cost, allowing them to detect minor issues before they become major issues. Earlier detection also allows for maintenance to be scheduled in an off-peak time, instead of requiring an immediate shutdown, or, worse, having the machinery break down, leading to expensive repairs in addition to an extended work stoppage.</p><h3>How We Built OutlierNets</h3><p>To create OutlierNets, the team started with the MIMII dataset, which contains audio recordings of fans, sliders, valves, pumps, etc. In this case the team focused on fans and sliders. The training set contained only normal sounds while the test set included an equal split of normal and abnormal sounds. Each audio clip was limited to one second in length. This helped provide a more uniform sample for the autoencoder to learn, it proved that OutlierNets only required one second to identify a sound, and significantly reduced lag due to a reduction in the size of the samples.</p><p>Once the samples were prepared, the team used Generative Synthesis to automatically explore and identify the best deep neural network architectures tailored specifically for the task of detecting acoustic anomalies on different machinery, thus finding the best trade-offs between size and accuracy based on the operational requirements specified by the team. The results are highly unique, customized deep neural network architectures that are highly accurate but still small enough to run on a variety of microcontrollers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/747/0*pebYPsVHehq1HTN1" /></figure><h3>Phenomenal Results Achieved</h3><p>Some of our new OutlierNet architectures operate with as few as 686 parameters and are as small as 2.7KB in size (orders of magnitude smaller than many of the available solutions), reducing CPU latency by as much as 21x.</p><p>We are extremely excited about our achievements to help manufacturing enterprises with acoustic anomaly detection and we look forward to seeing where our continued research in this space will take us. <a href="https://arxiv.org/abs/2104.00528"><strong>Read the full paper here.</strong></a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/288/0*u7OMVhwBdrTdcNim" /></figure><p>DarwinAI, the explainable AI company, enables enterprises to build AI they can trust. DarwinAI’s solutions have been leveraged in a variety of enterprise contexts, including in advanced manufacturing and industrial automation. Within healthcare, DarwinAI’s technology resulted in the development of COVID-Net, an open source system to diagnose Covid-19 via chest x-rays.</p><p><strong>To learn more, visit </strong><a href="http://www.darwinai.com/"><strong>darwinai.com</strong></a><strong> or follow </strong><a href="https://twitter.com/darwinai"><strong>@DarwinAI</strong></a><strong> on Twitter.</strong></p><p><em>If you liked this blog post, click the </em>👏 <em>below so other people will see this on Medium. For more insights from our team, follow our publication and @DarwinAI. (Plus, subscribe to our letters if you’d like to hear from us!)</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f38cb1f7251f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/darwinai/outliernets-ai-for-on-device-acoustic-anomaly-detection-in-manufacturing-f38cb1f7251f">OutlierNets: AI for On-Device Acoustic Anomaly Detection in Manufacturing</a> was originally published in <a href="https://medium.com/darwinai">DarwinAI</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introducing COVID-Net Clinical ICU, an Explainable and Trustworthy AI for Predicting COVID-19 ICU…]]></title>
            <link>https://medium.com/darwinai/introducing-covid-net-clinical-icu-an-explainable-and-trustworthy-ai-for-predicting-covid-19-icu-57c36e039b81?source=rss-2b37279ff473------2</link>
            <guid isPermaLink="false">https://medium.com/p/57c36e039b81</guid>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[covid19]]></category>
            <category><![CDATA[covid-net]]></category>
            <category><![CDATA[explainable-ai]]></category>
            <dc:creator><![CDATA[DarwinAI]]></dc:creator>
            <pubDate>Thu, 25 Mar 2021 17:18:28 GMT</pubDate>
            <atom:updated>2021-04-01T18:13:33.001Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*szTwghuXhHKiMcSwGp6ZUg.jpeg" /></figure><h3>Introducing COVID-Net Clinical ICU, an Explainable and Trustworthy AI for Predicting COVID-19 ICU Admission</h3><p><strong>By: Dr. Audrey Chung, Technical Product Manager at DarwinAI</strong></p><p>In this blog post, Dr. Audrey Chung shares new insights about COVID-Net Clinical ICU,<strong> </strong>the newest addition to the COVID-Net Open Source Initiative. COVID-Net Clinical ICU was built by DarwinAI’s team members, Chief Scientist and Co-Founder Dr. Alexander Wong, Dr. Audrey Chung, Dr. Mahmoud Famouri, and Andrew Hryniowski.</p><p>This new model, made with our Explainable AI, is now publicly available and is able to predict when a COVID-19 patient will require ICU admission with an accuracy of 96.9%.</p><p><strong>Read on to find out how the new model works and explore some of the real-world findings related to this crucially important project.</strong></p><h3>Leveraging XAI to predict ICU admissions within crowded hospitals</h3><p>The COVID-19 pandemic continues to have a devastating impact on the health and well-being of the global population, with far-reaching social and economic effects. In particular, COVID-19 has placed a tremendous burden on struggling healthcare systems around the world, depleting already scarce resources. A critical component of the clinical workflow in fighting COVID-19 is accurate triaging and care planning, which enables patient-centric personalized care while simultaneously reducing the load on hospitals by only using the necessary resources for each patient. To that end, one crucial task within care planning is determining if a patient should be admitted to a hospital’s intensive care unit (ICU), especially given the ongoing shortage of available ICU space.</p><p>One promising avenue is to leverage AI to help predict ICU admissions by harnessing the wealth of clinical data being collected for each patient (e.g., demographic information, vital signs, blood results, etc.). However, a key challenge with building and using such predictive models is the difficulty understanding the rationale behind ICU admission predictions (i.e., the “how and why”), the factors most critical to ICU admission (i.e., the “what”), and under what circumstances a given predictive model is dependable and trustworthy (i.e., the “when and where”).</p><p>We at DarwinAI are proud to be leveraging our unique Explainable AI (XAI) technology to explore the building of a predictive model for ICU admission for COVID-19 patients. Motivated by the need for transparent and trustworthy ICU admission clinical decision support, we introduce COVID-Net Clinical ICU, a publicly available reference model for ICU admission prediction based on clinical data and the newest addition to the <a href="https://alexswong.github.io/COVID-Net/">COVID-Net Open Source Initiative</a>. We hope that the public release of models such as COVID-Net Clinical ICU can motivate and enable researchers, clinical scientists, and citizen scientists to accelerate progress in the field of AI to support the fight against the pandemic.</p><h3>How we built our new model and leveraged system-level insights to improve it</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*MBn4AW76iDlHfBBe" /></figure><p>COVID-Net Clinical ICU is built using a <a href="https://www.kaggle.com/S%C3%ADrio-Libanes/covid19">clinical dataset</a> from Hospital Sírio-Libanês, comprising 1,925 COVID-19 records from 385 patients and their associated demographic information (e.g., age and gender), information about previous diseases (e.g., hypertension, immunocompromised, etc.), blood results (e.g, platelets count, neutrophils count, etc.), and vital signs (e.g., body temperature, pulse rate, etc.). Based on this dataset, we built an initial version of the COVID-Net Clinical ICU model that was able to predict when a COVID-19 patient would require ICU admission with an accuracy of 95.7%. We used our unique quantitative XAI system-level insight discovery on this initial model to study the decision-making impact of different clinical features and gain actionable insights for enhancing predictive performance to enable better care planning for hospitals amidst the ongoing pandemic.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/834/0*j_bzwuro-N2QSICn" /></figure><p>The illustration above shows the 15 most predictive (positive association) and the 15 least predictive (negative association) clinical factors used by the initial COVID-Net Clinical ICU for ICU admission. The most predictive factors indicating whether a COVID-19 positive patient should be admitted to ICU are their median heart rate, mean blood sodium level, and if they are immunocompromised, as they have very high quantitative impact on the predictive performance of the model. Conversely, the minimum blood D-dimer level, median partial thromboplastin time (TTPA), and the average lymphocyte (linfocitos) count are the least predictive clinical factors. These interesting insights highlight the importance of taking a system-level insight discovery strategy using a quantitative XAI approach to better understand what factors are most important for making clinical decisions pertaining to ICU admission for COVID-19 patients.</p><p>We can take advantage of these system-level insights to improve our initial COVID-Net Clinical ICU model by using only the clinical features identified as having a quantitatively positive impact on the decision-making process, and our final model is able to predict when a COVID-19 patient would require ICU admission with an accuracy of 96.9% (noticeably higher than the initial model) while achieving a lower model complexity with 10% fewer parameters.</p><h3>Using DarwinAI’s GenSynth explainability features to reveal critical insights that empower clinicians</h3><p>At DarwinAI, we value bringing to life AI that you can trust, which is particularly important for mission-critical scenarios such as healthcare applications. As such, we evaluate the trustworthiness of COVID-Net Clinical ICU using our quantitative XAI technology, and take a closer look at the demographic trust spectrum to identify potential bias and gaps in fairness. While no model is perfect, understanding these gaps in fairness helps us to improve the overall performance and consistency of the model, while revealing when and where COVID-Net Clinical ICU is dependable.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/450/0*whkcExtk7445iFHG" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/450/0*mLX1NB11s2RPB0eq" /></figure><p>The final COVID-Net Clinical ICU network generally behaves in a fair manner when making predictions across different demographics. The difference in trustworthiness for patients over the age of 65 and patients age 65 and under is minimal, and the model is relatively fair when it comes to the trustworthiness of predictions made for both age demographic groups. More interestingly, the model provides equally trustworthy predictions for female and male patients. This is particularly compelling given the fact that there is a higher number of male patients in the dataset compared to female patients (1,215 male vs. 710 female). This insight into the fairness of the final COVID-Net Clinical ICU network brings to light that the overall balance in the quantity of cases across demographic groups may not paint a complete picture in the resulting decision-making behaviour of predictive models that are built using the dataset. Notably, our unique trust quantification process can be a powerful tool for improved trustworthiness and fairness if trust gaps are indeed identified.</p><p>By digging deeper into when and why predictive models make certain decisions, we can uncover key factors in decision making for critical tasks, such as ICU admission prediction, and identify the situations we can trust these models in. We hope our work in creating an explainable and trustworthy model for predicting COVID-19 ICU admission can serve as an example of how leveraging XAI and trust quantification during model development is a step towards building and improving AI solutions you can trust. The COVID-Net Clinical ICU model is publicly available and can be found <a href="https://github.com/darwinai/covidnet_clinical_ICU"><strong>here</strong></a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/288/0*fXRwk45QrnCe3WDB" /></figure><p>DarwinAI, the explainable AI company, enables enterprises to build AI they can trust. DarwinAI’s solutions have been leveraged in a variety of enterprise contexts, including in advanced manufacturing and industrial automation. Within healthcare, DarwinAI’s technology resulted in the development of COVID-Net, an open source system to diagnose Covid-19 via chest x-rays.</p><p><strong>To learn more, visit </strong><a href="http://www.darwinai.com/"><strong>darwinai.com</strong></a><strong> or follow </strong><a href="https://twitter.com/darwinai"><strong>@DarwinAI</strong></a><strong> on Twitter.</strong></p><p><em>If you liked this blog post, click the </em>👏 <em>below so other people will see this on Medium. For more insights from our team, follow our publication and @DarwinAI. (Plus, subscribe to our letters if you’d like to hear from us!)</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=57c36e039b81" width="1" height="1" alt=""><hr><p><a href="https://medium.com/darwinai/introducing-covid-net-clinical-icu-an-explainable-and-trustworthy-ai-for-predicting-covid-19-icu-57c36e039b81">Introducing COVID-Net Clinical ICU, an Explainable and Trustworthy AI for Predicting COVID-19 ICU…</a> was originally published in <a href="https://medium.com/darwinai">DarwinAI</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Top Reasons Why Manufacturing is Slow to Implement AI]]></title>
            <link>https://medium.com/darwinai/the-top-reasons-why-manufacturing-is-slow-to-implement-ai-3d4cdb30d6bc?source=rss-2b37279ff473------2</link>
            <guid isPermaLink="false">https://medium.com/p/3d4cdb30d6bc</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[industry-4-0]]></category>
            <category><![CDATA[ai-for-manufacturing]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[advanced-manufacturing]]></category>
            <dc:creator><![CDATA[DarwinAI]]></dc:creator>
            <pubDate>Fri, 26 Feb 2021 18:03:05 GMT</pubDate>
            <atom:updated>2021-03-02T21:01:40.954Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DeeI1Ke3w1FbrLpfUT1PMg.png" /></figure><p><strong>Plus DarwinAI’s best practices to implement AI at scale</strong></p><p>By: Saibal Chakraburtty, Head of Product, DarwinAI</p><p>This article is part of our series of content about AI within Manufacturing. <strong>We invite you to </strong><a href="https://info.darwinai.com/white-paper-leading-artificial-intelligence-use-cases-in-manufacturing"><strong>visit our DarwinAI &amp; Manufacturing landing page</strong></a><strong>, where you can access our newest insights:</strong></p><ul><li>Our white paper — Leading Artificial Intelligence Use Cases In Manufacturing</li><li>Our case study — A Global Aerospace &amp; Defense Manufacturer uses Artificial Intelligence</li><li>The Aspire Food Group story, about optimized cricket harvesting using DarwinAI’s deep learning.</li></ul><p>Industry 4.0, or the “Fourth Industrial Revolution,’’ was first introduced in 2011 and refers to the ongoing automation of traditional manufacturing practices. In the last ten years many VC firms have been attracted to the problem space, alongside the increasing use of industrial-IOT and resultant big data, an increase in computer power and the need and ability to automate as much as possible. Surely this should mean this problem is being addressed adequately… But in fact, our work with enterprises and our conversations with many Fortune 500 manufacturing companies keen to adopt parts inspection in manufacturing reveal a different picture.</p><h3>Although the business value is massive to the sector, adoption lags</h3><p>According to a report cited in Markets and Markets, “The AI in Manufacturing market is expected to be valued at USD 1.1 billion in 2020 and is likely to reach USD 16.7 billion by 2026; it is expected to grow at a CAGR of 57.2% during the forecast period.”</p><p>So, why is adoption slow when the business value and impact is clearly substantial?</p><p>Before we explore why adoption is slow and discuss how to improve your organization’s chances for success, let’s visit some specific examples to illustrate why leveraging AI for parts inspection can provide a huge benefit.</p><h4><strong>AI helps reduce scrap, rework, risk of litigation and additional costs</strong></h4><p>In manufacturing, the supply chain can be complex, making final inspection of a finished good challenging. Suppliers are contractually bound to deliver parts as per a specification, but defects often go undetected. The impacts of defective parts entering a supply chain can result in everything from costly recalls or missing project deadlines, to catastrophic failures that can result in lawsuits or loss of life. Clearly there is much to gain when leveraging AI for smoother more efficient parts inspection applications.</p><h4><strong>AI improves efficiencies</strong></h4><p>There is a large impact if a defective part is missed, and so often for high volume parts we find shop floors with round-the-clock shifts full of workers manually inspecting parts. This does not scale well with the business and, as much as we like to think we are, humans are not perfect: defects can go unchecked with large downstream ramifications. AI reduces errors and lets humans thrive more fully and effectively in the less repetitive parts of their jobs.</p><h4><strong>AI helps to handle the multi-dimensional complexity of manufacturing</strong></h4><p>Whether it’s multi-layer PCBs or organic shapes generated via additive manufacturing processes, production processes are complicated and minor variations can result in defects. Complicated production processes also require complicated inspection processes with many options to find defects, whether they’re using X-ray, penetrative dye inspection, or magnetic eddy current detection. However, these processes still rely on human interpretation, which also requires extensive training and error handling. AI helps humans do their most complex jobs better.</p><p>There are other reasons why parts inspection is critical to the modern manufacturing enterprise, but these are the primary ones when it comes to where AI solutions can provide huge gains.</p><h3>While AI solutions are possible, adoption lags</h3><h4><strong>A lack of talent and training</strong></h4><p>Most software developers lack the specific skills and knowledge required to implement Machine Learning, let alone Deep Learning, at the sophistication that is required to develop and implement AI solutions for large enterprises. When it comes to sourcing talent, there is a labour shortage for these specific skill sets, which often comes with high salary expectations, and the ability to live and work in an urban tech hub. Companies newer to adopting AI will have to invest substantially to implement AI effectively. While legacy technologies and software systems are prevalent, the cost to upgrade will be even higher, as retraining developers and hiring adds additional cost. Meanwhile, the infrastructure required for AI training and inference include a big investment in computational and storage systems, even while 5G helps with computing at the edge.</p><h4><strong>Data issues abound</strong></h4><p>Studies have shown that many companies still lack a strategy and the infrastructure required to access the data that is necessary to implement AI. As the old additive goes “garbage in, garbage out.” Many companies still simply lack clean data, and oftentimes data is in silos and not easily accessible by different departments in the enterprise. When the most simple data strategies and infrastructures are not working, engaging in AI seems like a distant future dream.</p><h4>Camera-based computer vision isn’t perfect</h4><p>The use of machine learning in parts inspection is not a new concept. In these systems, cameras capture images of incoming parts and the AI System compares these to a model trained previously with thousands of images previously collected. We’ve learned a few things about why this approach alone is insufficient, and where many enterprises fail to implement AI at scale:</p><ol><li>Building models with enough training data can often be a challenge. Creating a classification system that performs well and identifies essential features requires a representative dataset, which can often be difficult to acquire as there may not be enough balanced data to identify all of the possible categories (i.e., there simply aren’t enough photographed defects).</li><li>AI Model performance can be a “black box”. It’s difficult to identify and correct data errors, to eliminate false positives and reduce false negatives. There’s simply not enough feedback to understand where models go awry.</li><li>AI Models can become outdated as soon as they are deployed. For example, near-perfect lighting in a production environment is difficult to guarantee; minor variations can seriously impact performance, if left unchecked.</li></ol><h3>Here are DarwinAI’s best practices to implement AI at scale</h3><h4>Optimize the entire AI lifecycle</h4><p>Here at DarwinAI, when we provide AI products and solutions to our enterprise customers, we solve these common problems by thinking through the entire process:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/0*hW1ej41y_aRzkjAC" /></figure><p><strong>These are the steps we recommend:</strong></p><ol><li>Collect and audit your data:</li></ol><ul><li>Use Explainability to identify any problems in the dataset, whether it’s image noise or manual label errors.</li><li>Too often we have seen artifacts in training data that can affect the model’s performance. Often, the data scientists aren’t even aware that minor things such as light-reflection or surfaces themselves, can have dramatic effects. With Explainability, you can learn about the quality of the training data and can help make adjustments to collect better data.</li></ul><p>2. Calibrate your AI to a custom dataset with Explainability:</p><ul><li>Use Data Augmentation techniques to work with a small data set to account for different operating conditions. Use training algorithms to ensure a balance dataset.</li><li>With our Explainability product, the ‘Black Box’ of AI disappears. Manufacturers will understand exactly how and why their AI models make the right predictions. This enables enterprises to responsibly adopt AI with greater confidence throughout all departments and levels of the enterprise.</li></ul><p>3. Ensure that your AI is continuously learning in production:</p><ul><li>Monitor machine learning models in production, providing real time feedback to improve performance automatically.</li><li>This enables a manufacturing enterprise to help their human operators and team members to reskill and perform higher value activities that leverage their unique capabilities, while reducing repetitive strain and workplace injuries. At the same time, parts inspection is greatly improved, and the enterprise realizes cost reductions and additional revenue.</li></ul><h4>Enable change throughout the enterprise</h4><p>In order to adopt AI Transformation, many different business units and teams need to be involved. One of the most important groups (if not the most important) are the business leaders at the top, because they will need to shepherd change and adoption with the right policies and governance in place. The mission and vision of the company must embrace all aspects of digital transformation at scale, with the right resourcing, teams, and talent.</p><h4>Find a proven AI partner that has practical solutions at scale</h4><p>Manufacturing companies, whether they have internal data science teams or not, should seek out a trusted partner to help them achieve their parts inspection outcomes. These are difficult problems which require the expertise from a partner that can help shoulder the burden of modernizing manufacturing processes.</p><p>To learn more about implementing AI within manufacturing, visit DarwinAI’s landing page and sign-up to receive our new <a href="https://info.darwinai.com/white-paper-leading-artificial-intelligence-use-cases-in-manufacturing"><strong>white paper on AI use cases in manufacturing and our case study on a smart inspection system</strong></a>, plus get access to our latest video — A panel discussion with DarwinAI’s CEO about the Aspire Food Group project.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/288/0*M_mMmKRE7gKHnJs1" /></figure><p>DarwinAI, the explainable AI company, enables enterprises to build AI they can trust. DarwinAI’s solutions have been leveraged in a variety of enterprise contexts, including in advanced manufacturing and industrial automation. Within healthcare, DarwinAI’s technology resulted in the development of COVID-Net, an open source system to diagnose Covid-19 via chest x-rays.</p><p><strong>To learn more, visit </strong><a href="http://www.darwinai.com/"><strong>darwinai.com</strong></a><strong> or follow </strong><a href="https://twitter.com/darwinai"><strong>@DarwinAI</strong></a><strong> on Twitter.</strong></p><p><em>If you liked this blog post, click the </em>👏 <em>below so other people will see this on Medium. For more insights from our team, follow our publication and @DarwinAI. (Plus, subscribe to our letters if you’d like to hear from us!)</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3d4cdb30d6bc" width="1" height="1" alt=""><hr><p><a href="https://medium.com/darwinai/the-top-reasons-why-manufacturing-is-slow-to-implement-ai-3d4cdb30d6bc">The Top Reasons Why Manufacturing is Slow to Implement AI</a> was originally published in <a href="https://medium.com/darwinai">DarwinAI</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Worried About an Adversarial Attack on your AI?]]></title>
            <link>https://medium.com/darwinai/worried-about-an-adversarial-attack-on-your-ai-fde2ad956a6e?source=rss-2b37279ff473------2</link>
            <guid isPermaLink="false">https://medium.com/p/fde2ad956a6e</guid>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[explainable-ai]]></category>
            <category><![CDATA[ai-and-security]]></category>
            <category><![CDATA[xai]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[DarwinAI]]></dc:creator>
            <pubDate>Fri, 26 Feb 2021 17:02:14 GMT</pubDate>
            <atom:updated>2021-03-03T19:57:04.530Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uqpO7d_IsnnrfzJHJwHw1w.png" /><figcaption>(Image sourced from Unsplash, FLY:D.)</figcaption></figure><h3>Worried About an Adversarial Attack on your AI? Fine-tune Your Way to a Strong Defense!</h3><p>Dr. Javad Shafiee</p><p>With AI becoming more and more prominent in our everyday lives and work, how do we protect our vital systems that run on AI from nefarious actors? Let’s say that an autonomous vehicle is rolling towards a stop sign, that has been manipulated with an <strong>adversarial attack</strong> — undetectable to the human eye — that tricks the autonomous system into misidentifying that stop sign. If we are going to turn our steering wheels over to AI, we need to confidently trust that the system is robust and cannot be easily tricked.</p><p>To tackle the rise of adversarial attacks, our researchers at DarwinAI <em>(with Ahmadreza Jeddi from Vision and Image Processing Research Group) </em>have published a new <a href="https://arxiv.org/pdf/2012.13628.pdf">adversarial fine tuning paper</a> about how to build up defences in AI models to harden them against these kinds of attacks in the wild. Our work in strengthening AI’s security resulted in an order of magnitude cost reduction when compared to previous adversarial training methods, and we achieved even better model robustness and generalization.</p><h3>Building up your AI’s immune system</h3><p>To combat security vulnerabilities, there has been a lot of research into an area known as <strong>adversarial training</strong>. This method involves training a model not only with traditional ‘clean’ datasets but also with datasets containing data that have been altered to simulate attacks, effectively teaching the model to look for these kinds of deviations and reducing the chance that it will be fooled in real world applications. This is similar to the human immune system, which learns patterns from past infections and vaccines so that it is more effective in fending off similar types of infections.</p><h3>The challenges of adversarial training</h3><p>While adversarial training can be very effective, there are a number of major challenges that make them limited in practice. First, existing adversarial training methods are very expensive in terms of time and resources. If you are training your own model, you have to run additional iterations with the modified adversarial data; this can be extremely time consuming, especially since some large datasets can have hundreds of thousands of images. You might also have to create your own altered data for these iterations. If you have invested in a pre-trained model, this technique probably won’t work for you because you will have to take it back to the beginning and start training from scratch. If you don’t have access to the training data and methods, you might never get it back to the level of accuracy it had when you first got it.</p><p>The second challenge with existing adversarial training methods is that models trained this way can also be prone to overfitting to adversarial samples. If a model is overfit, it means that its accuracy is excellent against its own training, but once it is exposed to scenarios that more accurately reflect real world use, it just cannot match its in-lab results. This can happen because the model has been trained to look for the altered images and ignores the natural samples when making predictions to some extent.</p><h3>How does adversarial fine-tuning solve the problem?</h3><p>To tackle both of these challenges, our researchers have introduced a new method called <strong>adversarial fine-tuning</strong> that eliminates a lot of the resource cost and can also mitigate the overfitting issue associated with adversarial training. More specifically, the proposed adversarial fine-tuning strategy takes a pre-trained model and uses that as the baseline instead of having to start from scratch like adversarial training methods. This dramatically reduces the number of training iterations for both natural and adversarial samples. The ability to perform adversarial fine-tuning without forgetting the previously learned knowledge from the original training data is made possible by a new ‘slow start, fast decay’ learning rate scheduling strategy our researchers introduced. This new approach enables the level of accuracy necessary for real-world use while making the models robust against adversarial attacks to the highest degree compared to state-of-the-art (SOTA) algorithms. These innovations result in an adversarial fine-tuning method that can reduce computational costs by as much as ∼10× and noticeably improve the robustness and generalization of an AI model compared to SOTA methods, which we demonstrated across three different datasets (CIFAR-10, CIFAR-100, and ImageNet).</p><h3>Making AI safer for real-world deployment</h3><p>By making these more naturally defendable models not only much more reliable and accessible, we hope that it will lead to a greater proliferation of robust, dependable, and safer AI models in the wild. We at DarwinAI continue to innovate in this area to provide ever-stronger protection against dangerous attacks and help build better AI solutions you can trust.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/288/0*EU2-Qg3kUInSj48i" /></figure><p>DarwinAI, the explainable AI company, enables enterprises to build AI they can trust. DarwinAI’s solutions have been leveraged in a variety of enterprise contexts, including in advanced manufacturing and industrial automation. Within healthcare, DarwinAI’s technology resulted in the development of Covid-Net, an open source system to diagnose Covid-19 via chest x-rays.</p><p><strong>To learn more, visit </strong><a href="http://www.darwinai.com/"><strong>darwinai.com</strong></a><strong> or follow </strong><a href="https://twitter.com/darwinai"><strong>@DarwinAI</strong></a><strong> on Twitter.</strong></p><p><em>If you liked this blog post, click the </em>👏 <em>below so other people will see this on Medium. For more insights from our team, follow our publication and @DarwinAI. (Plus, subscribe to our letters if you’d like to hear from us!)</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fde2ad956a6e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/darwinai/worried-about-an-adversarial-attack-on-your-ai-fde2ad956a6e">Worried About an Adversarial Attack on your AI?</a> was originally published in <a href="https://medium.com/darwinai">DarwinAI</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Using Explainable AI to Improve Personalized Drug Response Prediction]]></title>
            <link>https://medium.com/darwinai/using-explainable-ai-to-improve-personalized-drug-response-prediction-68d4d606b025?source=rss-2b37279ff473------2</link>
            <guid isPermaLink="false">https://medium.com/p/68d4d606b025</guid>
            <category><![CDATA[xai]]></category>
            <category><![CDATA[ai-for-healthcare]]></category>
            <category><![CDATA[explainable-ai]]></category>
            <dc:creator><![CDATA[DarwinAI]]></dc:creator>
            <pubDate>Mon, 25 Jan 2021 20:39:42 GMT</pubDate>
            <atom:updated>2021-01-27T22:57:13.718Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uuOsot__9sSQdvfWX9NnzA.jpeg" /></figure><p>By: Dr. Alexander Wong</p><p>Since its inception, the pharmaceutical industry has invested considerable energy towards the acute problem of Cancer treatment. One of the greatest challenges is identifying what type of drug therapy is most effective for a specific cancer patient, as the therapeutic response to a particular drug can vary greatly from patient to patient due to the high diversity in disease characteristics.</p><p>Through our collaboration with enterprises and our research work on medical AI, we’ve discovered that our unique Explainable AI (XAI) gives practitioners valuable insights into enhancing drug response prediction in cancer patients in the healthcare space, and it does so in a way that is transparent, responsible, and trustworthy. We are proud to be devising new XAI solutions that will help pharmaceutical and medical enterprises get lifesaving drugs into the hands of patients in a rapid and timely manner.</p><h3>Promising research advancements done to date</h3><p>In recent years, a very promising direction in personalized cancer treatment is the use of genomics to predict drug response in a cancer patient based on the patient’s gene expression profile. By matching molecular disease signatures with the drug treatments that induce the strongest response, you can greatly improve the chance of therapeutic success.</p><p>Despite the promise of genomics-driven drug response prediction, it has been difficult to widely adopt personalized cancer treatment because there are very few preclinical models. These models are extremely challenging to develop given the significant interdependencies between drug compounds and the disease’s individual genetic makeup. Modeling these complex relationships is ideal for deep learning, and recent studies have shown breakthrough results in the creation of deep learning-based preclinical models for predicting the drug response to therapy in cancer patients. For example, Sakellapolous et al. published a paper in <strong>Cell Report</strong> entitled “<a href="https://www.sciencedirect.com/science/article/pii/S2211124719314883">A Deep Learning Framework for Predicting Response to Therapy in Cancer</a>” demonstrating dramatic improvements over traditional machine learning algorithms in determining the best drug therapy for a patient’s specific type of cancer based on gene expression.</p><h3>DarwinAI Takes New XAI Research a Step Further</h3><p>We wanted to leverage our core technology to uncover new insights into how deep learning-driven preclinical predictive models behave in order to improve personalized drug response prediction.</p><p>We also wanted to uncover which gene expression features are the most predictive of drug response and which hinder the model’s performance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*Le5QG6CR1rEe3nP2A3hyqw.png" /><figcaption><em>Overview of DarwinAI’s process</em></figcaption></figure><p>We trained a deep learning-based preclinical prediction model using the OCCAMS Cisplatin dataset to predict drug response based on gene expression data. We then used our unique quantitative XAI to gain deeper insights into which gene expression features the model used to make its prediction. Our XAI technology has two unique ways to quantitatively use this understanding about the drug response prediction model:</p><ul><li><strong>Patient level</strong> — provides insights into the most predictive gene expression features for predicting the effectiveness of a drug for a given patient.</li><li><strong>Model level</strong> — provides insights into the gene expression features that are most predictive of the effectiveness of a drug in general across all cancer patient cohorts. Of particular interest is model-level explainability for improving personalized drug response prediction, as it allows us to discover both the gene expression features most predictive of drug effectiveness AND the most detrimental gene expression features that hinder the predictive performance of a preclinical predictive model.</li></ul><p>Here is an illustration of the 50 most predictive gene expression features (top) and the 50 features that are most likely to cause an incorrect prediction (bottom) among the ~15,000 gene expression features input to the deep learning-based preclinical predictive model. Our XAI technology allows a quantitative perspective into the behaviour of the model, with high positive impact scores being the most predictive and negative impact scores indicating performance hindrance.</p><p>The top 50 gene expression features identified to be most predictive of a patient’s response to a particular drug therapy have very high quantitative impact, indicating that building a predictive model based on these features can yield great predictive performance. More interesting, the bottom 50 gene expression features identified have very negative quantitative impact, indicating that removing these gene expression features can lead to even greater predictive performance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*52FVZ-nsfoj153Sd4Vtcgg.png" /></figure><p>By illuminating how therapies work with specific cancers, researchers may be able to develop more effective drug therapies and deliver them to patients in a more timely manner saving countless lives.</p><p>It is our hope that this analysis provides a useful overview of how Explainable AI not only mitigates the ‘black box’ problem inherent in deep learning, but also how tasks such as drug response prediction in cancer patients can be designed in a transparent, responsible, and trustworthy manner using the technology.</p><p><strong><em>About the Author</em></strong></p><p>Alexander Wong, P.Eng. is currently the Chief Scientist at DarwinAI, a Canada Research Chair in the area of Artificial Intelligence, a Member of the College of the Royal Society of Canada, co-director of the Vision and Image Processing Research Group, and an associate professor in the Department of Systems Design Engineering at the University of Waterloo.</p><p>His area of expertise is in scalable and explainable deep learning, an inventor of Generative Synthesis, Evolutionary Synthesis, and Random Graphical Models, and has published over 600 refereed journal and conference papers, as well as patents.</p><p>He has received numerous awards including three Outstanding Performance Awards, a Distinguished Performance Award, an Engineering Research Excellence Award, a Sandford Fleming Teaching Excellence Award, an Early Researcher Award from the Ministry of Economic Development and Innovation, a Best Paper Award at the NIPS Workshop on NIPS Workshop on Transparent and Interpretable Machine Learning (2017), a Best Paper Award at the NIPS Workshop on Efficient Methods for Deep Neural Networks (2016), two Best Paper Awards by the Canadian Image Processing and Pattern Recognition Society (CIPPRS) (2009 and 2014), a Distinguished Paper Award by the Society of Information Display (2015), and four Best Paper Awards for the Conference of Computer Vision and Intelligent Systems (CVIS) (2015, 2017, 2018, 2019).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/288/1*1sXvDYpliVTR_QO1o4iQ_Q.png" /></figure><p>DarwinAI, the explainable AI company, enables enterprises to build AI they can trust. DarwinAI’s solutions have been leveraged in a variety of enterprise contexts, including in advanced manufacturing and industrial automation. Within healthcare, DarwinAI’s technology resulted in the development of Covid-Net, an open source system to diagnose Covid-19 via chest x-rays.</p><p><strong>To learn more, visit </strong><a href="http://www.darwinai.com/"><strong>darwinai.com</strong></a><strong> or follow </strong><a href="https://twitter.com/darwinai"><strong>@DarwinAI</strong></a><strong> on Twitter.</strong></p><p><em>If you liked this blog post, click the </em>👏 <em>below so other people will see this on Medium. For more insights from our team, follow our publication and @DarwinAI. (Plus, subscribe to our letters if you’d like to hear from us!)</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=68d4d606b025" width="1" height="1" alt=""><hr><p><a href="https://medium.com/darwinai/using-explainable-ai-to-improve-personalized-drug-response-prediction-68d4d606b025">Using Explainable AI to Improve Personalized Drug Response Prediction</a> was originally published in <a href="https://medium.com/darwinai">DarwinAI</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How Much Can We Really Trust You? — A paper on deep neural networks]]></title>
            <link>https://medium.com/darwinai/how-much-can-we-really-trust-you-a-paper-on-deep-neural-networks-e16a175fc77f?source=rss-2b37279ff473------2</link>
            <guid isPermaLink="false">https://medium.com/p/e16a175fc77f</guid>
            <category><![CDATA[explainable-ai]]></category>
            <category><![CDATA[xai]]></category>
            <dc:creator><![CDATA[DarwinAI]]></dc:creator>
            <pubDate>Fri, 22 Jan 2021 23:07:33 GMT</pubDate>
            <atom:updated>2021-01-22T23:20:19.553Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Lz7lFuv0SzAqm7twIfJDIw.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@alinnnaaaa?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Alina Grubnyak</a> on Unsplash.</figcaption></figure><h3>How Much Can We Really Trust You? — A paper on deep neural networks</h3><h3>Towards Simple, Interpretable Trust Quantification Metrics for Deep Neural Networks</h3><p>The researchers at DarwinAI published a <a href="https://arxiv.org/abs/2009.05835">paper</a> about how much we can trust deep neural networks. In order to create any trust at all, we have to first determine what trust actually means in this context and then determine what kinds of measurements are actually “trustworthy”. How much trust do we put in things that are ultimately wrong, but are presented extremely confidently? Alternatively, how much trust do we put in things that are ultimately correct, but are presented hesitantly? For example, if a model identifies a vehicle as a motorcycle with 100% confidence–when the vehicle is actually a truck–are we less likely to trust its next decision? If the model correctly identifies a second vehicle as a truck with 55% confidence, are we more likely to distrust it because it is not confident in its own determinations?</p><p>The study presents simple and interpretable metrics to measure trust in deep neural networks based on a thought experiment about trust with respect to confidence to try to better understand where and how trust breaks down. The proposed metrics are by no means perfect, but we hope to push the conversation towards better metrics to help guide practitioners and regulators in producing, deploying, and certifying deep learning solutions that can be trusted to operate in the real world.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/288/1*1sXvDYpliVTR_QO1o4iQ_Q.png" /></figure><p>DarwinAI, the explainable AI company, enables enterprises to build AI they can trust. DarwinAI’s solutions have been leveraged in a variety of enterprise contexts, including in advanced manufacturing and industrial automation. Within healthcare, DarwinAI’s technology resulted in the development of Covid-Net, an open source system to diagnose Covid-19 via chest x-rays.</p><p><strong>To learn more, visit </strong><a href="http://www.darwinai.com/"><strong>darwinai.com</strong></a><strong> or follow </strong><a href="https://twitter.com/darwinai"><strong>@DarwinAI</strong></a><strong> on Twitter.</strong></p><p><em>If you liked this blog post, click the </em>👏 <em>below so other people will see this on Medium. For more insights from our team, follow our publication and @DarwinAI. (Plus, subscribe to our letters if you’d like to hear from us!)</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e16a175fc77f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/darwinai/how-much-can-we-really-trust-you-a-paper-on-deep-neural-networks-e16a175fc77f">How Much Can We Really Trust You? — A paper on deep neural networks</a> was originally published in <a href="https://medium.com/darwinai">DarwinAI</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[GenSynth Simplifies Parallel Performance Calculations]]></title>
            <link>https://medium.com/darwinai/gensynth-simplifies-parallel-performance-calculations-ddeef11c581a?source=rss-2b37279ff473------2</link>
            <guid isPermaLink="false">https://medium.com/p/ddeef11c581a</guid>
            <category><![CDATA[gensynth]]></category>
            <dc:creator><![CDATA[DarwinAI]]></dc:creator>
            <pubDate>Fri, 22 Jan 2021 23:02:42 GMT</pubDate>
            <atom:updated>2021-01-22T23:19:57.368Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/656/1*0fkfGk4dqZp_1I_F_T-tVg.png" /></figure><p><strong>A Case Study</strong></p><p>Internally we test GenSynth on a wide variety of models and datasets, to ensure GenSynth generalizes to the custom models designed by our customers. Our team has logged thousands of hours of regression testing, and building examples quickly. We’ve trained and tested numerous models on a wide variety of the world’s most popular datasets such as MNIST, ImageNet, VOC, COCO, Kitti 2D/3D, CityScapes, CamVid, Google Speech Commands, and many more..</p><p><strong>The Problem</strong></p><p>Although some networks have an “accuracy” (or similar measure of performance) output, we find it more often the case that we need to write some Python code to measure the quality of predictions, especially for models performing more complex tasks such as object detection and image segmentation. For example, for object detection we might need to perform a fairly complex sorting and matching of bounding boxes in order to determine the mean average precision (mAP) of the model .</p><p>It is very difficult to represent these complex operations needed to perform performance tests with drop-downs and checkboxes, and so GenSynth provides a custom metrics interface to give users the flexibility to create their own tailored performance testing strategies directly in Python. These user-created “Performance Metric Entities” can be leveraged directly within GenSynth to conduct comprehensive performance tests fit for the task at hand.</p><p>Our first attempt at creating this custom metric interface was not only more complicated for users than it should be, but also does not support parallelism to speed up the tests . As such, our goal was to figure out how best to simplify and speed up high-volume performance testing in GenSynth.</p><p><strong>The Solution</strong></p><p>We set two main goals for our new custom metric interface:</p><ol><li>It had to be simple and easy to understand so that users can easily define their custom performance metrics.</li><li>It had to be parallelizable across multiple worker machines to speed up the performance testing that is being conducted.</li></ol><p>Our new custom metric interface is very simple for users to use. The user provides a Python class with 4 methods and these arguments:</p><ol><li>The constructor __init__(self, folder_name).</li><li>An update(self, data, tensor_values) method.</li><li>A get_worker_results(self) method.</li><li>A reduce_all_worker_results(self, worker_results_list) method.</li></ol><p>One instance of this class will be created on each worker whenever a validation or test epoch is started.</p><p>The update function is called for each batch of data; it is then passed values of output tensors (configured), and may also access any fields of the validation dataset. The user writes this function to evaluate one batch at a time and aggregate summary statistics within the instance of the class (e.g., self.stat).</p><p>The get_worker_results() function has a simple purpose: to return the aggregate results computed by the present worker. These results are automatically sent to the main worker.</p><p>The reduce function is called at the end of the epoch, only on the main worker, being passed a list of all of the items returned by get_worker_results(). For example, if you have 4 workers, the main worker’s reduce function will get passed a 4-item list, each list item being from a different worker. You write this function to further aggregate the aggregates, compute the desired metrics, and return them in a dictionary.</p><p>You edit your Python module in a window of our web-based platform, where you have Python auto-complete features, and quickly check your code with the Validate button.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/886/1*jPfH-afGHR9hXpBr8uGLLQ.png" /><figcaption>If you want the full details, including a simple example, please see the <a href="https://docs.darwinai.com/1.13/en/gensynth-data-preparation-guide/creating-custom-performance-metrics.html">section in our Data Preparation Guide</a>.</figcaption></figure><p><strong>The Result</strong></p><p>Performance Metric Entities are quick and easy to create by following this 4-method template. The inputs and outputs to each method are consistent; therefore, the user can focus solely on creating code to compute their desired metrics. Along with the inherent simplicity, the speed of performance testing can now be greatly sped up through the parallelism enabled in our custom performance interfaces.</p><p>After a Performance Metric Entity is defined and validated, you can use it in a job, attaching it to the model and data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/608/1*7vB-31ilFoWPrJWIJBk5Ew.png" /><figcaption>Several complex examples can be found in tutorial <a href="http://docs.darwinai.com/en/gensynth-resource-packages.html">resource packages</a>.</figcaption></figure><p><strong>GenSynth-Ready Data, Models, and Metrics</strong></p><p>We provide some <a href="http://docs.darwinai.com/en/gensynth-resource-packages/what-are-gensynth-resource-packages-.html">add-on packages</a> of fully-functional, GenSynth-ready examples (both image datasets and popular models) for our users. Use them directly or modify them for your own data and applications.</p><p>Interested in trying GenSynth on your deep learning project? Connect with us.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/288/1*1sXvDYpliVTR_QO1o4iQ_Q.png" /></figure><p>DarwinAI, the explainable AI company, enables enterprises to build AI they can trust. DarwinAI’s solutions have been leveraged in a variety of enterprise contexts, including in advanced manufacturing and industrial automation. Within healthcare, DarwinAI’s technology resulted in the development of Covid-Net, an open source system to diagnose Covid-19 via chest x-rays.</p><p><strong>To learn more, visit </strong><a href="http://www.darwinai.com/"><strong>darwinai.com</strong></a><strong> or follow </strong><a href="https://twitter.com/darwinai"><strong>@DarwinAI</strong></a><strong> on Twitter.</strong></p><p><em>If you liked this blog post, click the </em>👏 <em>below so other people will see this on Medium. For more insights from our team, follow our publication and @DarwinAI. (Plus, subscribe to our letters if you’d like to hear from us!)</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ddeef11c581a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/darwinai/gensynth-simplifies-parallel-performance-calculations-ddeef11c581a">GenSynth Simplifies Parallel Performance Calculations</a> was originally published in <a href="https://medium.com/darwinai">DarwinAI</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[TinySpeech: Attention Condensers for Deep Speech Recognition Neural Networks on Edge Devices]]></title>
            <link>https://medium.com/darwinai/tinyspeech-attention-condensers-for-deep-speech-recognition-neural-networks-on-edge-devices-cb225aabc46e?source=rss-2b37279ff473------2</link>
            <guid isPermaLink="false">https://medium.com/p/cb225aabc46e</guid>
            <category><![CDATA[xai]]></category>
            <category><![CDATA[explainable-ai]]></category>
            <dc:creator><![CDATA[DarwinAI]]></dc:creator>
            <pubDate>Fri, 22 Jan 2021 22:57:12 GMT</pubDate>
            <atom:updated>2021-01-22T23:21:15.770Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SMKrSHxTjzklcVX5rKmCeA.png" /></figure><p>TL;DR: Our new <strong>attention condenser</strong> architecture enables high-performing deep neural networks for robust deep learning on the edge. It resulted in networks <strong>208x</strong> smaller with a higher accuracy on the Google Speech Commands benchmark dataset when compared to equivalent models.</p><p>At DarwinAI, our researchers are always looking to push the envelope when it comes to accelerating deep learning for TinyML (tiny machine learning). In this article we introduce our latest building block designed for deep learning on the edge: the <strong>attention condenser</strong>. It further enables our GenSynth platform to automatically build powerful deep neural networks to satisfy the tough challenges faced while bringing TinyML to anyone, anywhere, anytime. The entire paper with verbose details is available <a href="https://arxiv.org/abs/2008.04245">here</a>. You can also read about them in this article at <a href="https://insidebigdata.com/2020/08/27/research-highlights-attention-condensers/">Inside Big Data</a>.</p><h3>What is an attention condenser?</h3><p>Motivated to make networks faster at the edge, our research team focused on the recent emergence of self-attention: a breakthrough innovation in the world of deep learning due to its effectiveness. Much of the self-attention research has focused squarely on accuracy, with attention-based networks scaling larger and larger to attain and maintain this higher accuracy at the cost of efficiency.</p><p>To offset this imbalance, we designed the attention condenser with both accuracy and efficiency in mind to build deep neural networks for speech recognition on edge devices. We specifically designed the attention condenser to learn cross-dimensional neuron relationships at a reduced dimension to strike a balance between modelling efficacy and computational efficiency.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SMKrSHxTjzklcVX5rKmCeA.png" /></figure><p>An attention condenser is a self-attention mechanism that learns a condensed embedding <em>E</em> of what information in <em>V</em> is relevant to decision-making, and performs selective attention (i.e., <em>F(V,A,S)</em>) to produce the focused output <em>V’</em>. Attention condensers can reduce the necessary number of large, stand-alone convolution modules.</p><h3>Putting attention condensers to the test</h3><p>Deep learning for speech recognition has been so successful that it is now widely used in numerous real-world applications (e.g., voice assistants, real-time closed captioning). The ability to perform real-time, on-device limited-vocabulary speech recognition will allow for the widespread use of voice interfaces on low-cost, low-power edge devices untethered from the Internet.</p><p>To address this challenge, we incorporated attention condensers into GenSynth, so that it can automatically determine the best microarchitecture and macroarchitecture designs for this specific purpose.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ApfLLvtB1MG1t5y5F1h-ig.png" /></figure><p>The most interesting observation about TinySpeech network architectures is the extremely sparse use of stand-alone convolution modules and heavy use of attention condensers. This setup results in significantly lower computational complexity in the resulting network architecture. Note the high architectural diversity of TinySpeech, with each attention condenser and each stand-alone convolution module having unique parameter counts. This level of architectural diversity can only be facilitated through GenSynth, which operates at the computational graph level. TinySpeech, therefore, has a highly efficient, low precision deep neural network architecture tailored for edge scenarios.</p><h3>How does it perform?</h3><p>To evaluate TinySpeech’s deep neural networks for limited-vocabulary speech recognition, we used the <a href="https://research.googleblog.com/2017/08/%20launching-speech-commands-dataset.html">Google Speech Commands benchmark dataset</a> and compared it against several deep speech recognition networks (res15-narrow, trad-fpool13, tpool2, TDNN, PONAS-kws2), all of which were designed for efficient on-device speech recognition purposes. The results are below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2WlaBxR0gC0UTE34_-rnYA.png" /></figure><p>As you can see, TinySpeech-A and B achieved high test accuracy rates comparable to the others (TinySpeech-A actually achieved one of the highest overall accuracy rates at 94.3%) with a fraction of the parameters and Mult-Adds when compared to others (TinySpeech-B had <strong>208x fewer</strong> parameters used by trad-fpool13, yet was more accurate) and based on weights at 1/4th of the data precision.</p><h3>Why does this matter?</h3><p>By facilitating tetherless machine learning on the edge, TinyML enables trusted decision-making independent of cloud connectivity. Such capabilities are critical for empowering a wide range of applications where privacy, security, dependability, cost, and real-time considerations are important factors for deployment. These design strengths makes attention condensers perfect for the following use cases:</p><p>1. On-device speech recognition for ubiquitous, private voice assistants on everyday devices</p><p>2. Low-power visual recognition and understanding for everything from wearable devices to IoT devices to smart city applications</p><p>3. Real-time monitoring and predictive analysis on low-cost sensors on drones, aircrafts, helicopters, and cars</p><p>4. Real-time information processing and analytics on smart grids and low-power sensor arrays for smart farming</p><p>5. On-device medical screening on portable x-ray devices</p><p>Given the strong results our team produced by integrating attention condensers into GenSynth, we can’t wait to see how customers will use it to create highly-efficient and trustworthy TinyML applications for the edge.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/288/1*1sXvDYpliVTR_QO1o4iQ_Q.png" /></figure><p>DarwinAI, the explainable AI company, enables enterprises to build AI they can trust. DarwinAI’s solutions have been leveraged in a variety of enterprise contexts, including in advanced manufacturing and industrial automation. Within healthcare, DarwinAI’s technology resulted in the development of Covid-Net, an open source system to diagnose Covid-19 via chest x-rays.</p><p><strong>To learn more, visit </strong><a href="http://www.darwinai.com/"><strong>darwinai.com</strong></a><strong> or follow </strong><a href="https://twitter.com/darwinai"><strong>@DarwinAI</strong></a><strong> on Twitter.</strong></p><p><em>If you liked this blog post, click the </em>👏 <em>below so other people will see this on Medium. For more insights from our team, follow our publication and @DarwinAI. (Plus, subscribe to our letters if you’d like to hear from us!)</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cb225aabc46e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/darwinai/tinyspeech-attention-condensers-for-deep-speech-recognition-neural-networks-on-edge-devices-cb225aabc46e">TinySpeech: Attention Condensers for Deep Speech Recognition Neural Networks on Edge Devices</a> was originally published in <a href="https://medium.com/darwinai">DarwinAI</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>