Sorry

This feed does not validate.

In addition, interoperability with the widest range of feed readers could be improved by implementing the following recommendations.

Source: https://kavita-ganesan.com/feed/

  1. <?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
  2. xmlns:content="http://purl.org/rss/1.0/modules/content/"
  3. xmlns:wfw="http://wellformedweb.org/CommentAPI/"
  4. xmlns:dc="http://purl.org/dc/elements/1.1/"
  5. xmlns:atom="http://www.w3.org/2005/Atom"
  6. xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
  7. xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
  8. xmlns:georss="http://www.georss.org/georss"
  9. xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
  10. >
  11.  
  12. <channel>
  13. <title>Kavita Ganesan, PhD </title>
  14. <atom:link href="https://kavita-ganesan.com/feed/" rel="self" type="application/rss+xml" />
  15. <link>https://kavita-ganesan.com/</link>
  16. <description></description>
  17. <lastBuildDate>Wed, 05 Apr 2023 23:02:05 +0000</lastBuildDate>
  18. <language>en-US</language>
  19. <sy:updatePeriod>
  20. hourly </sy:updatePeriod>
  21. <sy:updateFrequency>
  22. 1 </sy:updateFrequency>
  23. <generator>https://wordpress.org/?v=6.5.2</generator>
  24.  
  25. <image>
  26. <url>https://kavita-ganesan.com/wp-content/uploads/cropped-KavitaOutdoor1-V2-1-edited-1-scaled-1-32x32.jpeg</url>
  27. <title>Kavita Ganesan, PhD </title>
  28. <link>https://kavita-ganesan.com/</link>
  29. <width>32</width>
  30. <height>32</height>
  31. </image>
  32. <site xmlns="com-wordpress:feed-additions:1">137950579</site> <item>
  33. <title>Exploring the Ethical Implications of AI: A Closer Look at the Challenges Ahead</title>
  34. <link>https://kavita-ganesan.com/ai-ethical-issues-and-examples/</link>
  35. <comments>https://kavita-ganesan.com/ai-ethical-issues-and-examples/#respond</comments>
  36. <dc:creator><![CDATA[Kavita Ganesan]]></dc:creator>
  37. <pubDate>Wed, 29 Mar 2023 20:16:20 +0000</pubDate>
  38. <category><![CDATA[AI ETHICS]]></category>
  39. <category><![CDATA[AI For Business]]></category>
  40. <guid isPermaLink="false">https://kavita-ganesan.com/?p=8759</guid>
  41.  
  42. <description><![CDATA[This article discusses five common ethical issues that arise when AI is not implemented or released in the most responsible way.]]></description>
  43. <content:encoded><![CDATA[
  44. <p>AI ethics is about releasing and implementing AI responsibly, paying attention to several considerations, from <em>data etiquette</em> to<em> tool development risks, </em>as discussed in a <a href="https://www.opinosis-analytics.com/blog/what-is-ai-ethics/">previous</a> article. In this article, we’ll explore some of the ethical issues that arise with AI systems, particularly machine learning systems, when we overlook the ethical considerations of AI, often unintentionally.</p>
  45.  
  46.  
  47.  
  48. <p></p>
  49.  
  50.  
  51.  
  52. <h2 class="wp-block-heading">The 5 Common AI Ethical Issues </h2>
  53.  
  54.  
  55.  
  56. <p></p>
  57.  
  58.  
  59.  
  60. <h3 class="wp-block-heading" id="ai-bias">1. Bias propagation  </h3>
  61.  
  62.  
  63.  
  64. <p>Although there’s a strong belief that algorithms are less biased than humans, AI systems are known to propagate our conscious and unconscious biases.&nbsp;</p>
  65.  
  66.  
  67.  
  68. <p>For example, there are known recruiting tools that algorithmically “learned” to <a href="https://www.reuters.com/article/us-amazon-com-jobs-automation-insight/amazon-scraps-secret-ai-recruiting-tool-that-showed-bias-against-women-idUSKCN1MK08G">dismiss women candidates</a> as they learned that men were preferred in the tech workforce. </p>
  69.  
  70.  
  71.  
  72. <p>Even facial recognition systems are infamous for disproportionately making mistakes on <a href="https://news.mit.edu/2018/study-finds-gender-skin-type-bias-artificial-intelligence-systems-0212">minority groups and people of color</a>. For example, when the researcher, Joy Buolamwini, looked into the accuracy of facial recognition systems from various companies, she found that the error rate for lighter-skinned males was no higher than 1%. However, for darker-skinned females, the mistakes were much more significant, reaching up to 35%. Even the most renowned AI systems have been unable to accurately identify female celebrities of color.</p>
  73.  
  74.  
  75.  
  76. <p>So, what’s the primary cause of AI bias?</p>
  77.  
  78.  
  79.  
  80. <p>Data. AI systems today are only as good as the data they are trained on; if the data is nonrepresentative, skewed towards a particular group, or somehow imbalanced, the AI system will learn this nonrepresentation and propagate biases.&nbsp;</p>
  81.  
  82.  
  83.  
  84. <p>Bias in data can be caused by a range of factors. For example, if historically, certain groups of people have been discriminated against, this discrimination will be very well recorded in the data. </p>
  85.  
  86.  
  87.  
  88. <p>Another reason for bias in data can be a company&#8217;s data warehousing processes or lack thereof, causing AI systems to learn from skewed samples of data instead of representative ones. Even using a snapshot of the Web to train models can mean you&#8217;ve learned the biases in that snapshot. This is why large language models (LLMs) are not free from biases when they&#8217;re quizzed on subjective topics. </p>
  89.  
  90.  
  91.  
  92. <p>Bias in data can also be a <em>development mistake </em>where the data used for model development was not sampled correctly, resulting in an imbalance of subgroup samples.&nbsp;</p>
  93.  
  94.  
  95.  
  96. <p></p>
  97.  
  98.  
  99.  
  100. <p></p>
  101.  
  102.  
  103.  
  104. <div class="wp-block-stackable-columns stk-block-columns stk-block stk-a43493a" data-block-id="a43493a"><div class="stk-row stk-inner-blocks stk-block-content stk-content-align stk-a43493a-column">
  105. <div class="wp-block-stackable-column stk-block-column stk-block-column--v3 stk-column stk-block-column--v2 stk-block stk-13a5603" data-block-id="13a5603"><div class="stk-column-wrapper stk-block-column__content stk-container stk-13a5603-container stk--no-background stk--no-padding"><div class="stk-block-content stk-inner-blocks stk-13a5603-inner-blocks">
  106. <p class="has-ast-global-color-4-background-color has-background"><strong>Bottom line:</strong> When there&#8217;s limited oversight of the quality of data used for <a href="https://www.opinosis-analytics.com/ai-glossary/machine-learning-model-training">model training</a>, various unintended biases are bound to happen. We may not know when and where especially with unconstrained multi-taskers like LLMs. </p>
  107. </div></div></div>
  108. </div></div>
  109.  
  110.  
  111.  
  112. <h3 class="wp-block-heading">2. Unintended Plagiarism</h3>
  113.  
  114.  
  115.  
  116. <p>Generative AI tools such as <a href="https://www.opinosis-analytics.com/blog/what-is-gpt-3-and-what-it-can-do-for-your-business">GPT-3 </a>and ChatGPT learn from massive amounts of Web data. These tools generate the probability of producing meaningful content. In doing that, these generative AI tools may repeat content on the Web word-for-word without any attribution.&nbsp;</p>
  117.  
  118.  
  119.  
  120. <p>How would we know that the generated content is, in fact, unique? What if the uniquely generated text is identical to a source on the Web? Can the source claim plagiarism?</p>
  121.  
  122.  
  123.  
  124. <p>We&#8217;re already seeing this issue in artwork generators that learn from a large number of art pieces belonging to different artists. The AI tool may end up generating art that combines work from multiple artists. </p>
  125.  
  126.  
  127.  
  128. <p>In the end, who exactly owns the copyright to the generated art? If the artwork is too similar to existing ones, this can lead to copyright infringement.</p>
  129.  
  130.  
  131.  
  132. <div class="wp-block-stackable-columns stk-block-columns stk-block stk-92b89b8" data-block-id="92b89b8"><div class="stk-row stk-inner-blocks stk-block-content stk-content-align stk-92b89b8-column">
  133. <div class="wp-block-stackable-column stk-block-column stk-block-column--v3 stk-column stk-block-column--v2 stk-block stk-db68522" data-block-id="db68522"><div class="stk-column-wrapper stk-block-column__content stk-container stk-db68522-container stk--no-background stk--no-padding"><div class="stk-block-content stk-inner-blocks stk-db68522-inner-blocks">
  134. <p class="has-ast-global-color-4-background-color has-background"><strong>Bottom line:</strong> Leveraging Web and public datasets for developing models can result in unintended plagiarism. However, due to little AI regulation worldwide, we currently lack enforceable solutions.</p>
  135. </div></div></div>
  136. </div></div>
  137.  
  138.  
  139.  
  140. <h3 class="wp-block-heading">3. Technology Misuse</h3>
  141.  
  142.  
  143.  
  144. <p>A while ago, a Ukrainian state leader was<a href="https://www.newsweek.com/fact-check-russia-ukraine-deepfake-technology-video-call-1752690"> portrayed as saying something they did not </a>actually say, using a tool called <em><a href="https://en.wikipedia.org/wiki/Deepfake">deepfakes</a></em>. This AI tool can generate videos or images of people saying things that they never actually said. Similarly, AI image generator tools like DALL.E and Stable Diffusion can be used to create incredibly realistic depictions of events that never occurred.</p>
  145.  
  146.  
  147.  
  148. <p>Intelligent tools like these can be used as weapons in a war (as we’ve already seen), to spread misinformation to gain political advantage, manipulate public opinion, commit fraud,  and more.&nbsp;</p>
  149.  
  150.  
  151.  
  152. <p>In all of these, AI is <em>NOT</em> the bad actor, it’s doing what it’s designed to do. The bad actors are the humans who misuse AI for their own advantage. Furthermore, the companies or teams that create and distribute these AI tools have not taken into account the wider effects these tools may have on society, which is also an issue.&nbsp;</p>
  153.  
  154.  
  155.  
  156. <div class="wp-block-stackable-columns stk-block-columns stk-block stk-2aa8b47" data-block-id="2aa8b47"><div class="stk-row stk-inner-blocks stk-block-content stk-content-align stk-2aa8b47-column">
  157. <div class="wp-block-stackable-column stk-block-column stk-block-column--v3 stk-column stk-block-column--v2 stk-block stk-f950917" data-block-id="f950917"><div class="stk-column-wrapper stk-block-column__content stk-container stk-f950917-container stk--no-background stk--no-padding"><div class="stk-block-content stk-inner-blocks stk-f950917-inner-blocks">
  158. <p class="has-ast-global-color-4-background-color has-background"><strong>Bottom line: </strong>While the misuse of technology is not exclusive to AI, because AI tools are so adept at replicating human abilities, it is possible that the abuse of AI could go undetected and have a lasting effect on our view of the world.</p>
  159. </div></div></div>
  160. </div></div>
  161.  
  162.  
  163.  
  164. <h3 class="wp-block-heading">4. Uneven Playing Fields</h3>
  165.  
  166.  
  167.  
  168. <p>Algorithms can be easily tricked, and the same is true of AI-powered software, where you can trick the underlying algorithms to gain an unfair advantage. </p>
  169.  
  170.  
  171.  
  172. <p>In a <a href="https://www.linkedin.com/posts/kavita-ganesan_looking-for-a-new-job-new-rules-may-save-activity-7032891511004434432-WKfg?utm_source=share&amp;utm_medium=member_desktop">LinkedIn post</a> that I put out, I discussed how people might trick AI hiring tools when you disclose the attributes the system will use in the decision-making process. </p>
  173.  
  174.  
  175.  
  176. <p>While enforcing steps <a href="https://news.yahoo.com/looking-for-a-new-job-new-rules-may-save-you-from-the-ai-hiring-bots-121308792.html">to reveal an AI&#8217;s decision-making process in hiring</a> is a well-intentioned step toward promoting transparency, it may enable people to game the system. For example, candidates may learn that certain keywords are preferred in the hiring process and stuff their resumes with such keywords, unfairly getting ranked higher than more qualified candidates.&nbsp;</p>
  177.  
  178.  
  179.  
  180. <p>We see this on a much bigger scale with the SEO industry, estimated to be worth over 60 billion dollars. Getting ranked highly in Google’s eyes these days is not just a function of having meaningful content worth reading. But also a function of having done “good SEO” and thus, the growing popularity of this industry. </p>
  181.  
  182.  
  183.  
  184. <p>SEO services have enabled organizations with hefty budgets to dominate the ranks as they’re able to invest heavily in creating massive amounts of content, performing keyword optimization, and getting links placed broadly around the Web. </p>
  185.  
  186.  
  187.  
  188. <p>While some SEO practices are mere content optimization, some “trick” the search algorithms into believing that their websites are the best in class, the most authoritative, and will provide the best value to readers. This may or may not be true. The highly ranked companies may have just <em>invested in more SEO</em>. </p>
  189.  
  190.  
  191.  
  192. <div class="wp-block-stackable-columns stk-block-columns stk-block stk-c5ea403" data-block-id="c5ea403"><div class="stk-row stk-inner-blocks stk-block-content stk-content-align stk-c5ea403-column">
  193. <div class="wp-block-stackable-column stk-block-column stk-block-column--v3 stk-column stk-block-column--v2 stk-block stk-808c87c" data-block-id="808c87c"><div class="stk-column-wrapper stk-block-column__content stk-container stk-808c87c-container stk--no-background stk--no-padding"><div class="stk-block-content stk-inner-blocks stk-808c87c-inner-blocks">
  194. <p class="has-ast-global-color-4-background-color has-background"><strong>Bottom line: </strong>Gaming AI algorithms is one of the easiest ways to gain an unfair advantage in business, career, influencer-ship, and politics. People who figure out how your algorithm &#8220;operates&#8221; and makes decisions can abuse and game the system. </p>
  195. </div></div></div>
  196. </div></div>
  197.  
  198.  
  199.  
  200. <h3 class="wp-block-heading">5. Widespread Misinformation</h3>
  201.  
  202.  
  203.  
  204. <p>As we rely more and more on answers and content generated by generative AI systems, the “facts” that these systems produce can be assumed to be the ultimate truth.  For example, in Google’s demo of their generative AI system, Bard, it provides three points in response to the question, <em>&#8220;What new discoveries from the James Webb Space Telescope can I tell my 9-year-old about?&#8221;</em> One of the points states that the telescope “took the very first pictures of a planet outside of our own solar system.” However, astronomers later pointed out in a very public way that this <a href="https://www.theverge.com/2023/2/8/23590864/google-ai-chatbot-bard-mistake-error-exoplanet-demo">wasn’t the case</a>. Directly using output from such systems can result in widespread misinformation.&nbsp;</p>
  205.  
  206.  
  207.  
  208. <p>Unfortunately, without proper citation, it isn&#8217;t easy to verify facts and decide which answers to trust and which not to. And as more people accept the content generated without question, this can lead to the spread of false information on a much larger scale than seen with traditional search engines.&nbsp;</p>
  209.  
  210.  
  211.  
  212. <p>The same is true for content ghostwritten by generative AI systems. Previously, human ghostwriters had to research information from trustworthy sources, piece them together in a meaningful way, and cite the sources before they publish. But now, they can have entire articles ghostwritten for them by an AI system. Unfortunately, if an article generated by an AI system is published without further verification of the facts, misinformation is bound to spread.&nbsp;</p>
  213.  
  214.  
  215.  
  216. <div class="wp-block-stackable-columns stk-block-columns stk-block stk-ca8f877" data-block-id="ca8f877"><div class="stk-row stk-inner-blocks stk-block-content stk-content-align stk-ca8f877-column">
  217. <div class="wp-block-stackable-column stk-block-column stk-block-column--v3 stk-column stk-block-column--v2 stk-block stk-0e530db" data-block-id="0e530db"><div class="stk-column-wrapper stk-block-column__content stk-container stk-0e530db-container stk--no-background stk--no-padding"><div class="stk-block-content stk-inner-blocks stk-0e530db-inner-blocks">
  218. <p class="has-ast-global-color-4-background-color has-background"><strong>Bottom line:</strong> Over-reliance on AI-generated content without the human verification element of the facts will have a lasting impact on our worldviews due to the non-fact-checked information we consume over extended periods of time.</p>
  219. </div></div></div>
  220. </div></div>
  221.  
  222.  
  223.  
  224. <figure class="wp-block-image size-large"><img decoding="async" src="https://www.opinosis-analytics.com/wp-content/uploads/2023/02/5-ethical-implications-of-AI-1024x1024.png" alt="" class="wp-image-17394"/></figure>
  225.  
  226.  
  227.  
  228. <h2 class="wp-block-heading">Summary</h2>
  229.  
  230.  
  231.  
  232. <p>In this article, we explored some potential ethical issues that can arise from AI systems, particularly machine learning systems. We discussed how:</p>
  233.  
  234.  
  235.  
  236. <ul>
  237. <li> AI systems can propagate racial, gender, age, and socioeconomic biases</li>
  238.  
  239.  
  240.  
  241. <li>AI can infringe on copyright laws</li>
  242.  
  243.  
  244.  
  245. <li>AI can be used in nonethical ways to harm others</li>
  246.  
  247.  
  248.  
  249. <li>AI can be tricked, unleveling the playing field for people and businesses </li>
  250.  
  251.  
  252.  
  253. <li>Trusting answers blindly from AI systems can cause widespread misinformation</li>
  254. </ul>
  255.  
  256.  
  257.  
  258. <p>It&#8217;s critical to note that many of these problems were <em>not intentionally</em> created, but rather they are the side effects of how these systems were developed, disseminated, and used in practice. </p>
  259.  
  260.  
  261.  
  262. <p></p>
  263.  
  264.  
  265.  
  266. <p>Although we can&#8217;t eliminate these ethical problems entirely, we can certainly take steps in the right direction to minimize the issues created by technology in general, and in this case, AI.</p>
  267.  
  268.  
  269.  
  270. <p></p>
  271.  
  272.  
  273.  
  274. <p>With insights into the ethical dilemmas of AI, let&#8217;s focus on devising strategies for more responsible development and dissemination of AI systems. Instead of waiting for government regulation, in an upcoming article, we’ll explore how businesses can lead the way in doing AI responsibly.&nbsp;</p>
  275.  
  276.  
  277.  
  278. <div class="inherit-container-width wp-block-group has-ast-global-color-4-background-color has-background is-layout-constrained wp-block-group-is-layout-constrained" style="border-style:dotted;border-width:1px;padding-top:10px;padding-right:10px;padding-bottom:10px;padding-left:10px"><div class="wp-block-group__inner-container">
  279. <h2 class="wp-block-heading">Keep Learning &amp; Succeed With AI</h2>
  280.  
  281.  
  282.  
  283. <ul>
  284. <li><strong>Join my&nbsp;<a href="https://kavita-ganesan.com/blog">AI Integrated newsletter</a>,&nbsp;</strong>which clears the AI confusion and teaches you how to successfully integrate AI to achieve profitability and growth in your business.</li>
  285.  
  286.  
  287.  
  288. <li><strong>Read  <a href="http://amazon.aibusinesscasebook.com/?utm_source=newsletter&amp;utm_medium=email&amp;utm_campaign=why_starting_without_ai_improves_outcomes_even_if_ai_is_your_goal&amp;utm_term=2022-08-19" target="_blank" rel="noreferrer noopener">The Business Case for AI</a></strong> to learn applications, strategies, and best practices to be successful with AI (select companies using the book: government agencies, automakers like Mercedes Benz, beverage makers, and e-commerce companies such as Flipkart).</li>
  289.  
  290.  
  291.  
  292. <li><a href="https://kavita-ganesan.com/work-with-me/"><strong>Work directly with me</strong></a> to improve AI understanding in your organization, accelerate AI strategy development and get meaningful outcomes from every AI initiative.</li>
  293. </ul>
  294. </div></div>
  295. ]]></content:encoded>
  296. <wfw:commentRss>https://kavita-ganesan.com/ai-ethical-issues-and-examples/feed/</wfw:commentRss>
  297. <slash:comments>0</slash:comments>
  298. <post-id xmlns="com-wordpress:feed-additions:1">8759</post-id> </item>
  299. <item>
  300. <title>What is An AI Strategy and Why Every Business Needs One</title>
  301. <link>https://kavita-ganesan.com/what-is-an-ai-strategy-and-why-every-business-needs-one/</link>
  302. <comments>https://kavita-ganesan.com/what-is-an-ai-strategy-and-why-every-business-needs-one/#respond</comments>
  303. <dc:creator><![CDATA[Kavita Ganesan]]></dc:creator>
  304. <pubDate>Tue, 14 Mar 2023 20:24:05 +0000</pubDate>
  305. <category><![CDATA[AI For Business]]></category>
  306. <category><![CDATA[AI Strategy]]></category>
  307. <category><![CDATA[undefined]]></category>
  308. <guid isPermaLink="false">https://kavita-ganesan.com/?p=8937</guid>
  309.  
  310. <description><![CDATA[This article discusses what an AI strategy means, the different types of AI strategies that you should know about, and how as a leader you can get started with an AI strategy. What Is An AI strategy? An AI strategy may seem like a complicated business-speak, but it’s simply a vision or high-level plan for &#8230;<p class="read-more"> <a class="" href="https://kavita-ganesan.com/what-is-an-ai-strategy-and-why-every-business-needs-one/"> <span class="screen-reader-text">What is An AI Strategy and Why Every Business Needs One</span> Read More »</a></p>]]></description>
  311. <content:encoded><![CDATA[
  312. <p>This article discusses what an AI strategy means, the different types of AI strategies that you should know about, and how as a leader you can get started with an AI strategy.</p>
  313.  
  314.  
  315. <div class="wp-block-uagb-table-of-contents uagb-toc__align-left uagb-toc__columns-1  uagb-block-e321995f     "
  316. data-scroll= "1"
  317. data-offset= "30"
  318. style=""
  319. >
  320. <div class="uagb-toc__wrap">
  321. <div class="uagb-toc__title">
  322. Table Of Contents </div>
  323. <div class="uagb-toc__list-wrap">
  324. <ol class="uagb-toc__list"><li class="uagb-toc__list"><a href="#what-is-an-ai-strategy" class="uagb-toc-link__trigger">What Is An AI strategy?</a><li class="uagb-toc__list"><a href="#why-do-businesses-need-an-ai-strategy" class="uagb-toc-link__trigger">Why Do Businesses Need an AI Strategy?</a><ul class="uagb-toc__list"><li class="uagb-toc__list"><a href="#product-level-ai-strategy" class="uagb-toc-link__trigger">Product Level AI Strategy</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#business-unit-level-ai-strategy" class="uagb-toc-link__trigger">Business Unit Level AI Strategy</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#organizational-level-ai-level-strategy" class="uagb-toc-link__trigger">Organizational Level AI Level Strategy</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#ai-startup-strategy" class="uagb-toc-link__trigger">AI Startup Strategy</a></li></ul></li><li class="uagb-toc__list"><a href="#getting-started-with-your-ai-strategy" class="uagb-toc-link__trigger">Getting Started With Your AI Strategy</a><li class="uagb-toc__list"><a href="#keep-learning-succeed-with-ai" class="uagb-toc-link__trigger">Keep Learning &amp; Succeed With AI</a></ul></ol> </div>
  325. </div>
  326. </div>
  327.  
  328.  
  329. <p></p>
  330.  
  331.  
  332.  
  333. <p></p>
  334.  
  335.  
  336.  
  337. <h2 class="wp-block-heading" id="what-is-an-ai-strategy">What Is An AI strategy?</h2>
  338.  
  339.  
  340.  
  341. <p>An AI strategy may seem like a complicated business-speak, but it’s simply a vision or high-level plan for integrating AI into the organization, such that it aligns with your broader business and automation goals. This high-level plan can be a:</p>
  342.  
  343.  
  344.  
  345. <ul>
  346. <li>Product-level AI strategy&nbsp;(I often call this AI product strategy)</li>
  347.  
  348.  
  349.  
  350. <li>Business-unit-level AI strategy</li>
  351.  
  352.  
  353.  
  354. <li>Organizational-level AI strategy</li>
  355.  
  356.  
  357.  
  358. <li>AI startup strategy</li>
  359. </ul>
  360.  
  361.  
  362.  
  363. <p>The granularity of the plan is often inversely proportional to the magnitude of the vision. So, the bigger the vision, the broader the objectives until each objective is broken down into a roadmap for implementation.&nbsp;</p>
  364.  
  365.  
  366.  
  367. <h2 class="wp-block-heading" id="why-do-businesses-need-an-ai-strategy">Why Do Businesses Need an AI Strategy?</h2>
  368.  
  369.  
  370.  
  371. <p>So now the question becomes, why does an organization need an AI strategy? Why can’t you just dive into implementation or make an off-the-shelf purchase with little planning?&nbsp;</p>
  372.  
  373.  
  374.  
  375. <p>As Dale Carnegie says, “An hour of planning can save you 10 hours of doing” and with AI it can save you much more than that. It can save you months in setbacks and unnecessary spending. Let’s look at how an AI strategy can be helpful.&nbsp;</p>
  376.  
  377.  
  378.  
  379. <h3 class="wp-block-heading" id="ai-product-strategy">Product Level AI Strategy</h3>
  380.  
  381.  
  382.  
  383. <p>At the product level, an AI strategy is needed so that you have the foundational building blocks to ensure that an AI project can progress from an idea to a useful tool to creating meaningful results for the business.&nbsp;</p>
  384.  
  385.  
  386.  
  387. <p>The building blocks at this level, could be the data that’s needed to support the initiative, the personnel who will build your data pipelines and develop the relevant models, the metrics to track success, or the competing off-the-shelf solutions that you should consider for integration. Without this level of detailed planning, you’re bound to run into roadblocks that will keep setting you back months at a time.&nbsp;</p>
  388.  
  389.  
  390.  
  391. <figure class="wp-block-image aligncenter"><img decoding="async" src="https://www.opinosis-analytics.com/wp-content/uploads/2023/03/ai-product-strategy-1024x559.png" alt="" class="wp-image-17536"/><figcaption class="wp-element-caption">Elements of an AI Strategy at the Product Level</figcaption></figure>
  392.  
  393.  
  394.  
  395. <p>For example, in early 2020, one of our healthcare customers wanted to develop an AI tool to automatically extract specific information from clinical records, primarily containing free-form text. They had been doing this&nbsp;<a href="https://www.opinosis-analytics.com/blog/nlp-applications/#7-information-extraction">information extraction</a>&nbsp;work manually for years to obtain reimbursement from insurance companies.&nbsp;</p>
  396.  
  397.  
  398.  
  399. <p>But as we were digging deeper into the project, shockingly, we discovered that none of that data was available. What happened?</p>
  400.  
  401.  
  402.  
  403. <p>As part of the company’s manual process, they copied data directly from the clinical records and pasted them into third-party forms for reimbursement. Unfortunately, once the forms were submitted, the company kept no records of the information that they copied over. This meant—no historical data for AI. As a result, the company had to first augment its manual processes with&nbsp;<a href="https://www.opinosis-analytics.com/blog/machine-learning-training-data/">data collection</a>&nbsp;in mind. This set them back six whole months.</p>
  404.  
  405.  
  406.  
  407. <p>This is a common problem for many companies, where the data to build the AI product is often nonexistent, is in the wrong format, or is yet to be collected. This is not just data for<a href="https://www.opinosis-analytics.com/ai-glossary/machine-learning-model-training">&nbsp;model training</a>&nbsp;but also data for evaluation and learning more about the problem that you’re solving.</p>
  408.  
  409.  
  410.  
  411. <p>The building blocks for every AI product can look slightly different depending on whether you’re customizing an existing solution, building from scratch, or&nbsp;<a href="https://www.opinosis-analytics.com/blog/buying-ai-solutions/">buying an off-the-shelf&nbsp;</a>solution.&nbsp;</p>
  412.  
  413.  
  414.  
  415. <h3 class="wp-block-heading" id="business-unit-ai-strategy">Business Unit Level AI Strategy</h3>
  416.  
  417.  
  418.  
  419. <p>At the business unit level, an AI strategy is needed to ensure that you’re pursuing AI opportunities that will give you the biggest improvement in your bottom line, productivity, or decision-making.&nbsp;</p>
  420.  
  421.  
  422.  
  423. <p>Some of the drivers of those decisions include the severity of the problems that you’re addressing, data availability, infrastructure readiness, availability of shared resources, and in many cases, you’d have to ensure that the selected initiatives align with the business’s broader objectives.&nbsp;</p>
  424.  
  425.  
  426.  
  427. <p>To prevent you from tackling the&nbsp;<em>wrong&nbsp;</em>initiatives first (i.e., low-impact problems, no data problems, no buy-in problems), requires planning, which can help you be very strategic in implementing AI in your business unit.&nbsp;</p>
  428.  
  429.  
  430.  
  431. <p>For example, if a new problem has no available data for development and evaluation, you may want to start the process manually first. And by doing this, you’re helping your future AI initiative in the following ways:</p>
  432.  
  433.  
  434.  
  435. <ol>
  436. <li>Establish a baseline performance, which you can later use for A/B testing</li>
  437.  
  438.  
  439.  
  440. <li>Generate high-quality data</li>
  441.  
  442.  
  443.  
  444. <li>Get a better handle on the problem</li>
  445.  
  446.  
  447.  
  448. <li>Leverage domain expertise in developing your AI solution in the future&nbsp;&nbsp;</li>
  449. </ol>
  450.  
  451.  
  452.  
  453. <p>To sum up, a business unit level AI strategy is primarily to create a logical AI implementation roadmap to maximize impact.</p>
  454.  
  455.  
  456.  
  457. <h3 class="wp-block-heading" id="organizational-ai-strategy">Organizational Level AI Level Strategy</h3>
  458.  
  459.  
  460.  
  461. <p>An organizational-level AI strategy is all about getting your organization as a whole&nbsp;<em>ready&nbsp;</em>and&nbsp;<em>prepared&nbsp;</em>for AI. This ensures that you’re not just running one-off pilots in an isolated business unit, but teams across the organization have AI on their radar, know how to tap into the necessary resources to get AI projects going, know how to spot AI opportunities, and have a base level of AI understanding.&nbsp;&nbsp;</p>
  462.  
  463.  
  464.  
  465. <p>Getting an organizational-level AI strategy up is more than just finding AI opportunities to go after in your organization. It’s also about identifying all the readiness gaps from the perspective of:</p>
  466.  
  467.  
  468.  
  469. <ul>
  470. <li>Budget (B)</li>
  471.  
  472.  
  473.  
  474. <li>Culture (C)</li>
  475.  
  476.  
  477.  
  478. <li>Infrastructure (I)</li>
  479.  
  480.  
  481.  
  482. <li>Data (D)</li>
  483.  
  484.  
  485.  
  486. <li>Skills (S)</li>
  487. </ul>
  488.  
  489.  
  490.  
  491. <p>All of this is so that a company can take an AI idea from conception to implementation to reaping measurable benefits—all with minimal friction, repeatedly.</p>
  492.  
  493.  
  494.  
  495. <p>In&nbsp;<a href="https://www.opinosis-analytics.com/aibusinesscasebook">The Business Case For AI</a>, I talk about the five preparation pillars for AI, referred to as B-CIDS (pronounced, “be kids”), which encapsulates the elements we discussed above.</p>
  496.  
  497.  
  498.  
  499. <figure class="wp-block-image aligncenter size-large"><img fetchpriority="high" decoding="async" width="1024" height="611" src="https://kavita-ganesan.com/wp-content/uploads/bcids_5_ai_preparation_elements-1-1024x611.png" alt="" class="wp-image-8961" srcset="https://kavita-ganesan.com/wp-content/uploads/bcids_5_ai_preparation_elements-1-1024x611.png 1024w, https://kavita-ganesan.com/wp-content/uploads/bcids_5_ai_preparation_elements-1-300x179.png 300w, https://kavita-ganesan.com/wp-content/uploads/bcids_5_ai_preparation_elements-1-150x89.png 150w, https://kavita-ganesan.com/wp-content/uploads/bcids_5_ai_preparation_elements-1-768x458.png 768w, https://kavita-ganesan.com/wp-content/uploads/bcids_5_ai_preparation_elements-1-1536x916.png 1536w, https://kavita-ganesan.com/wp-content/uploads/bcids_5_ai_preparation_elements-1-2048x1222.png 2048w" sizes="(max-width: 1024px) 100vw, 1024px" /><figcaption class="wp-element-caption">The 5 AI Preparation Pillars From&nbsp;<a href="http://amazon.aibusinesscasebook.com/">The Business Case For AI</a>&nbsp;for an Organizational-Level AI Strategy Development. Data readiness is the biggest preparation pillar, followed by cultural readiness.</figcaption></figure>
  500.  
  501.  
  502.  
  503. <p>Each pillar is critical, with its own set of requirements for building an AI-ready company.</p>
  504.  
  505.  
  506.  
  507. <p>For example, under cultural readiness, there are&nbsp;<strong>six elements</strong>&nbsp;to consider to prepare a company culturally for AI. This is due to fears around the technology, the ethical dilemmas, the uncertainties that AI brings, and the need to be highly data-driven.&nbsp;</p>
  508.  
  509.  
  510.  
  511. <p>If you’re not culturally ready for AI, you may experience resistance internally to the adoption of the technology, your employees may not know how to collaborate effectively on AI projects, and the risks that come with AI, including mitigation strategies, may not be well understood.</p>
  512.  
  513.  
  514.  
  515. <p>Another critical pillar, data readiness, is all about ensuring your data warehousing is strong and that you’re collecting data from the daily running of your business and are digitally ready to leverage your data stores. Essentially, this is all about getting your<a href="https://www.opinosis-analytics.com/blog/big-data-strategy/">&nbsp;data strategy</a>&nbsp;up and running.</p>
  516.  
  517.  
  518.  
  519. <p>Building up each readiness pillar takes time and a whole lot of planning. And a plan alone is not enough, you need an ACTIONABLE plan—something you can implement.</p>
  520.  
  521.  
  522.  
  523. <p>To facilitate the planning process, I’ve outlined<strong>&nbsp;The Jumpstart AI Approach</strong>&nbsp;in The Business Case For AI for getting started with your AI strategy using actionable, short-term strides. In a future article, we’ll explore the approach.</p>
  524.  
  525.  
  526.  
  527. <h3 class="wp-block-heading" id="ai-startup-strategy">AI Startup Strategy</h3>
  528.  
  529.  
  530.  
  531. <p>An AI startup is either selling an AI tool or technique that you can use within your applications (e.g., Perspective API), or AI is a big part of the startup’s products and services (e.g., Jasper.ai, the content writing assistant).&nbsp;</p>
  532.  
  533.  
  534.  
  535. <p>If you’re looking to build a startup with AI as the primary driver of your business, then an AI strategy for your product is a must.</p>
  536.  
  537.  
  538.  
  539. <p>Depending on whether you’re developing the AI solution from scratch or using an off-the-shelf model to power your applications, the priorities can look slightly different. However, having worked with multiple AI startups, I can say that these are some common concerns:</p>
  540.  
  541.  
  542.  
  543. <ul>
  544. <li><strong>Model/Technology</strong>
  545. <ul>
  546. <li>Are you leveraging an open-source solution, buying, or building from scratch?</li>
  547.  
  548.  
  549.  
  550. <li>Who will perform the model development or customization, testing and integration?</li>
  551.  
  552.  
  553.  
  554. <li>How will the solution integrate into your software or, how will users access the solution?</li>
  555. </ul>
  556. </li>
  557.  
  558.  
  559.  
  560. <li><strong>Performance</strong>
  561. <ul>
  562. <li>How will you assess the quality of your tool in solving a broad spectrum of unseen problems?</li>
  563.  
  564.  
  565.  
  566. <li>How do you ensure the quality of your tools stays consistent with time?</li>
  567. </ul>
  568. </li>
  569.  
  570.  
  571.  
  572. <li><strong>Monetization</strong>
  573. <ul>
  574. <li>How will you monetize your tool?</li>
  575. </ul>
  576. </li>
  577.  
  578.  
  579.  
  580. <li><strong>Safety</strong>
  581. <ul>
  582. <li>How do you ensure that your tool produces the expected output?</li>
  583.  
  584.  
  585.  
  586. <li>How will your tool fail gracefully instead of annoying users?</li>
  587. </ul>
  588. </li>
  589.  
  590.  
  591.  
  592. <li><strong>Messaging</strong>
  593. <ul>
  594. <li>What exactly are you selling? The technology and quality behind the technology or the product’s benefits to the end user?</li>
  595. </ul>
  596. </li>
  597.  
  598.  
  599.  
  600. <li><strong>Data</strong>
  601. <ul>
  602. <li>How will you start collecting data from day one to improve models, develop new models, etc?</li>
  603. </ul>
  604. </li>
  605.  
  606.  
  607.  
  608. <li><strong>Adoption</strong>
  609. <ul>
  610. <li>How will you ensure that you’re addressing fears around AI and helping new users become open to using your solution?</li>
  611. </ul>
  612. </li>
  613.  
  614.  
  615.  
  616. <li><strong>Feedback Loop&nbsp;</strong>
  617. <ul>
  618. <li>How would you collect feedback from users to improve your offerings continuously?</li>
  619. </ul>
  620. </li>
  621. </ul>
  622.  
  623.  
  624.  
  625. <p>As you’ll notice, this has elements of an AI product strategy and some organizational-level AI strategy, with some monetization and marketing strategy. AI startups must prioritize their messaging, monetization strategy, quality consistency, and feedback loop, as AI is at the front and center of their business.</p>
  626.  
  627.  
  628.  
  629. <p>This is not to say that these elements are not critical to non startup AI products that augment existing workflows. It’s just that the priorities in those scenarios could look very different.&nbsp;</p>
  630.  
  631.  
  632.  
  633. <p>For example, for a large company seeking to enhance a workflow, a 50% boost in productivity through AI may suffice regardless of the model’s accuracy as long as it meets the task requirements. But for an AI startup selling an AI tool, poor or even just “acceptable” accuracy can destroy a buyer’s trust.&nbsp;</p>
  634.  
  635.  
  636.  
  637. <figure class="wp-block-image aligncenter"><img decoding="async" src="https://www.opinosis-analytics.com/wp-content/uploads/2023/03/ai-strategy-for-ai-startups.png" alt="" class="wp-image-17594"/><figcaption class="wp-element-caption">AI startup strategy has elements of an AI product strategy and organizational-level AI strategy.</figcaption></figure>
  638.  
  639.  
  640.  
  641. <h2 class="wp-block-heading" id="getting-started-with-your-ai-strategy">Getting Started With Your AI Strategy</h2>
  642.  
  643.  
  644.  
  645. <p>The first step in getting started with your AI strategy is to understand what it is, why it’s important, and if you’re considering an organizational, business unit, or product-level strategy.&nbsp;The scope of your AI strategy will determine what preparation elements to focus on.</p>
  646.  
  647.  
  648.  
  649. <p>At the product level, we saw that we’re primarily focused on the building blocks related to the specific AI project, such as data and personnel.&nbsp;</p>
  650.  
  651.  
  652.  
  653. <p>But at the organizational level, we’re focused on getting the entire organization to have AI on their radar and be able to repeatedly take an AI idea into production and deliver value for the business with minimal friction. This takes much deeper and lengthy preparation along different preparation pillars.&nbsp;</p>
  654.  
  655.  
  656.  
  657. <p>For an organizational or business unit level AI strategy, you can use The Business Case For AI, for concrete steps and frameworks to develop your AI strategy. For a product level AI strategy, you’ll have to think about all the elements outlined in the first image.</p>
  658.  
  659.  
  660.  
  661. <p>For more hands-on help, you can, of course, <a href="/contact-me">contact me</a> to get help developing your AI strategy.</p>
  662.  
  663.  
  664.  
  665. <p></p>
  666.  
  667.  
  668.  
  669. <div class="inherit-container-width wp-block-group has-ast-global-color-4-background-color has-background is-layout-constrained wp-block-group-is-layout-constrained" style="border-style:dotted;border-width:1px;padding-top:10px;padding-right:10px;padding-bottom:10px;padding-left:10px"><div class="wp-block-group__inner-container">
  670. <h2 class="wp-block-heading">Keep Learning &amp; Succeed With AI</h2>
  671.  
  672.  
  673.  
  674. <ul>
  675. <li><strong>Join my&nbsp;<a href="https://kavita-ganesan.com/blog">AI Integrated newsletter</a>,&nbsp;</strong>which clears the AI confusion and teaches you how to successfully integrate AI to achieve profitability and growth in your business.</li>
  676.  
  677.  
  678.  
  679. <li><strong>Read  <a href="http://amazon.aibusinesscasebook.com/?utm_source=newsletter&amp;utm_medium=email&amp;utm_campaign=why_starting_without_ai_improves_outcomes_even_if_ai_is_your_goal&amp;utm_term=2022-08-19" target="_blank" rel="noreferrer noopener">The Business Case for AI</a></strong> to learn applications, strategies, and best practices to be successful with AI (select companies using the book: government agencies, automakers like Mercedes Benz, beverage makers, and e-commerce companies such as Flipkart).</li>
  680.  
  681.  
  682.  
  683. <li><a href="https://kavita-ganesan.com/work-with-me/"><strong>Work directly with me</strong></a> to improve AI understanding in your organization, accelerate AI strategy development and get meaningful outcomes from every AI initiative.</li>
  684. </ul>
  685. </div></div>
  686.  
  687.  
  688.  
  689. <p><em>The post <a href="https://www.opinosis-analytics.com/blog/what-is-ai-strategy/" rel="nofollow">What is An AI Strategy and Why Every Business Needs One</a> appeared first on <a href="https://www.opinosis-analytics.com" rel="nofollow">Opinosis Analytics</a>.</em></p>
  690. ]]></content:encoded>
  691. <wfw:commentRss>https://kavita-ganesan.com/what-is-an-ai-strategy-and-why-every-business-needs-one/feed/</wfw:commentRss>
  692. <slash:comments>0</slash:comments>
  693. <post-id xmlns="com-wordpress:feed-additions:1">8937</post-id> </item>
  694. <item>
  695. <title>What is AI Ethics?</title>
  696. <link>https://kavita-ganesan.com/what-is-ai-ethics/</link>
  697. <comments>https://kavita-ganesan.com/what-is-ai-ethics/#respond</comments>
  698. <dc:creator><![CDATA[Kavita Ganesan]]></dc:creator>
  699. <pubDate>Tue, 28 Feb 2023 17:48:33 +0000</pubDate>
  700. <category><![CDATA[AI ETHICS]]></category>
  701. <category><![CDATA[AI For Business]]></category>
  702. <category><![CDATA[undefined]]></category>
  703. <guid isPermaLink="false">https://kavita-ganesan.com/?p=8600</guid>
  704.  
  705. <description><![CDATA[This article is part of a series that will explore what AI ethics means, its implications to society, and how businesses can start leading the way by doing AI responsibly while also reaping its benefits. This article focuses on what ethics means in the context of AI.]]></description>
  706. <content:encoded><![CDATA[
  707. <p>As AI continues to become more prevalent in our lives, it is crucial to consider the ethical implications of its use. Although AI can augment and revolutionize how we live, work, and interact with each other, it can also cause harm if not used or developed correctly.</p>
  708.  
  709.  
  710.  
  711. <p>People can be wrongly imprisoned when facial recognition systems fail in law enforcement and the judicial system. People can be killed if self-driving cars fail to correctly see them as pedestrians on the road. Things can go awfully wrong if we fail to think about the implications of how we use and develop these AI-powered tools.&nbsp;</p>
  712.  
  713.  
  714.  
  715. <p>This article is part of a series that will explore what AI ethics means, its implications to society, and how businesses can start leading the way by doing AI responsibly while also reaping its benefits.&nbsp;</p>
  716.  
  717.  
  718.  
  719. <p>In this article, we’ll focus on what ethics means in the context of AI.</p>
  720.  
  721.  
  722.  
  723. <h2 class="wp-block-heading">What is AI Ethics?</h2>
  724.  
  725.  
  726.  
  727. <p>Ethics in the context of AI is all about doing AI responsibly, keeping questions as outlined below in consideration:</p>
  728.  
  729.  
  730.  
  731. <h3 class="wp-block-heading"><strong>DATA ETIQUETTE</strong></h3>
  732.  
  733.  
  734.  
  735. <p>AI systems today are data-dependent; that’s how machine-learning-driven AI systems learn. The underlying data that you use can significantly impact how the model behaves.&nbsp;The question is are we using this data ethically? When thinking about ethics and data, we have to think about these questions:</p>
  736.  
  737.  
  738.  
  739. <ul>
  740. <li><strong>Where is the data you’re looking to use coming from? </strong>Is it data from your company database, the Web, or a public data bank?</li>
  741.  
  742.  
  743.  
  744. <li><strong>Has the data been sourced in the most transparent way considering user privacy? </strong>Did users opt-in to having their data used for model development?</li>
  745.  
  746.  
  747.  
  748. <li><strong>Is the data representative of the subgroups of interest?&nbsp;&nbsp;&nbsp;</strong></li>
  749. </ul>
  750.  
  751.  
  752.  
  753. <p>How you source your data, combine, and use that data to train models will impact how your models behave downstream. We’ve seen how the <a href="https://www.opinosis-analytics.com/blog/tay-twitter-bot/">underlying data</a> used by algorithms can impact model behaviors.</p>
  754.  
  755.  
  756.  
  757. <p>Not to forget, if you’re using third-party models…the same applies. How the third-party vendor sources data, combines and uses that data to train their models impacts YOUR downstream applications.&nbsp;</p>
  758.  
  759.  
  760.  
  761. <p> </p>
  762.  
  763.  
  764.  
  765. <p>Bottom line: data etiquette applies to both custom-developed and third-party models you’re building on.</p>
  766.  
  767.  
  768.  
  769. <h3 class="wp-block-heading"><strong>EXPLAINABILITY&nbsp;</strong></h3>
  770.  
  771.  
  772.  
  773. <p>AI explainability is the ability for AI systems to provide reasoning as to why they arrived at a particular decision, prediction, or suggestion. The explainability of AI systems may not be critical for many AI applications, such as email spam filtering, grammar correction, and product recommendation systems.&nbsp;</p>
  774.  
  775.  
  776.  
  777. <p>However, in domains such as healthcare, law enforcement, and any domain where a person’s life, livelihood, and safety are at stake, evidence and explainability are crucial for building trust with AI systems.</p>
  778.  
  779.  
  780.  
  781. <p>For example, if an AI system predicts that a patient has a high risk of lung cancer, <em>why did it arrive at that prediction</em>? The insights into the AI’s decision-making will help the physician decide if the recommendations are trustworthy.&nbsp;&nbsp;&nbsp;</p>
  782.  
  783.  
  784.  
  785. <p>When it comes to AI explainability, you need to ask if your system must be explainable, and if it does, are you able to gain a glimpse into its reasoning?&nbsp;</p>
  786.  
  787.  
  788.  
  789. <h3 class="wp-block-heading"><strong>USAGE ETIQUETTE</strong></h3>
  790.  
  791.  
  792.  
  793. <p>AI usage etiquette relates to how you’re integrating AI into a workflow. Is it a sole-decision maker, a human assistant, or a second opinion? How you employ AI can make a massive difference in the risks to users and society when AI&nbsp; gets it wrong.</p>
  794.  
  795.  
  796.  
  797. <p>For example, when you use AI to sift through emails to filter out spammy ones automatically, it’s the sole decision maker. Allowing AI to be the sole decision maker in this scenario can be considered low-risk if it makes a wrong decision. Spam may end up in your inbox, or valid emails may get filtered out as spam. Nevertheless, you can still label specific emails in your inbox as spam or browse through your spam emails.</p>
  798.  
  799.  
  800.  
  801. <p>However, when you take an application area such as medical diagnosis and treatment planning, asking the AI system to <em>solely </em>make decisions about a cancer treatment plan for a patient is a HUGE risk. Who is to blame if the treatment plan is <em>ineffective </em>by solely trusting the AI tool? The physician? The AI tool or the hospital that decided to employ AI in the first place?&nbsp;</p>
  802.  
  803.  
  804.  
  805. <p>Further, usage etiquette is also a function of model accuracy. Using a low-accuracy model in a high-risk situation poses a higher risk than a high-accuracy model in a low-risk situation.&nbsp;</p>
  806.  
  807.  
  808.  
  809. <p>Considering all of this, the question to ask here is: what are the risks of employing your AI tool in the way you envision, given its current performance? Ideally, you want it to have as few negative implications as possible on people when it comes to their safety (physical and cyber) and livelihood. If the risks are high, ask if the risk is worth taking.&nbsp;</p>
  810.  
  811.  
  812.  
  813. <h3 class="wp-block-heading">DEVELOPMENT RISKS&nbsp;</h3>
  814.  
  815.  
  816.  
  817. <p>In some cases, the development of an AI tool itself can cause unwanted trouble, even if not intended. For example, by developing an AI tool that can guess<em> login passwords</em> as an interesting R&amp;D problem can cause undesirable consequences when it lands in the hands of a bad actor.&nbsp;</p>
  818.  
  819.  
  820.  
  821. <p>It’s one thing if law enforcement is developing such a “dangerous” tool in a constrained environment to catch predators. It’s another thing altogether if the development team intends to open-source the tool, essentially distributing it to the public. The latter can have many unintended consequences, and developers should be responsible for not just how they will use the tool but also how they<strong> share the tool.</strong></p>
  822.  
  823.  
  824.  
  825. <p>The question you want to ask when it comes to development risks is: Have you considered the risks of developing your AI tool using the intended distribution methods?</p>
  826.  
  827.  
  828.  
  829. <figure class="wp-block-image"><img decoding="async" src="https://www.opinosis-analytics.com/wp-content/uploads/2023/02/AI-ETHICS-CONSIDERATIONS-1-1024x768.png" alt="" class="wp-image-17371"/></figure>
  830.  
  831.  
  832.  
  833. <h2 class="wp-block-heading">Last Word</h2>
  834.  
  835.  
  836.  
  837. <p>As AI becomes increasingly integrated into our lives, we must consider its ethical ramifications. In this article, we specifically explored what AI ethics means in creating and using AI-powered tools and the questions to consider for each ethical element.&nbsp;&nbsp;&nbsp;&nbsp;</p>
  838.  
  839.  
  840.  
  841. <p>In summary, there are four broad considerations when it comes to AI ethics, and they are:</p>
  842.  
  843.  
  844.  
  845. <ul>
  846. <li><strong>Data Etiquette:</strong> Is the quality of data used to train models known?</li>
  847.  
  848.  
  849.  
  850. <li><strong>Explainability:</strong> Can you intuitively explain the AI’s decisions?</li>
  851.  
  852.  
  853.  
  854. <li><strong>Usage Etiquette: </strong>Have you considered how AI will fit into your workflow and what the risks are in that scenario?</li>
  855.  
  856.  
  857.  
  858. <li><strong>Development Risks</strong>: Have you considered the broader consequences of developing and distributing your AI tool?</li>
  859. </ul>
  860.  
  861.  
  862.  
  863. <p>Each of these considerations focuses on a different angle of how AI can potentially cause harm. In a future article, we’ll explore some of the common ethical challenges of AI systems.</p>
  864.  
  865.  
  866.  
  867. <p></p>
  868.  
  869.  
  870.  
  871. <hr class="wp-block-separator has-alpha-channel-opacity"/>
  872.  
  873.  
  874.  
  875. <p></p>
  876.  
  877.  
  878.  
  879. <div class="inherit-container-width wp-block-group has-ast-global-color-4-background-color has-background is-layout-constrained wp-block-group-is-layout-constrained" style="border-style:dotted;border-width:1px;padding-top:10px;padding-right:10px;padding-bottom:10px;padding-left:10px"><div class="wp-block-group__inner-container">
  880. <h2 class="wp-block-heading">Keep Learning &amp; Succeed With AI</h2>
  881.  
  882.  
  883.  
  884. <ul>
  885. <li><strong>Join my&nbsp;<a href="https://kavita-ganesan.com/blog">AI Integrated newsletter</a>,&nbsp;</strong>which clears the AI confusion and teaches you how to successfully integrate AI to achieve profitability and growth in your business.</li>
  886.  
  887.  
  888.  
  889. <li><strong>Read  <a href="http://amazon.aibusinesscasebook.com/?utm_source=newsletter&amp;utm_medium=email&amp;utm_campaign=why_starting_without_ai_improves_outcomes_even_if_ai_is_your_goal&amp;utm_term=2022-08-19" target="_blank" rel="noreferrer noopener">The Business Case for AI</a></strong> to learn applications, strategies, and best practices to be successful with AI (select companies using the book: government agencies, automakers like Mercedes Benz, beverage makers, and e-commerce companies such as Flipkart).</li>
  890.  
  891.  
  892.  
  893. <li><a href="https://kavita-ganesan.com/work-with-me/"><strong>Work directly with me</strong></a> to improve AI understanding in your organization, accelerate AI strategy development and get meaningful outcomes from every AI initiative.</li>
  894. </ul>
  895. </div></div>
  896.  
  897.  
  898.  
  899. <p>The post <a href="https://www.opinosis-analytics.com/blog/what-is-ai-ethics/" rel="nofollow">AI Ethics Series: What is AI Ethics</a> appeared first on <a href="https://www.opinosis-analytics.com" rel="nofollow">Opinosis Analytics</a>.</p>
  900.  
  901.  
  902.  
  903. <p><a href="https://www.opinosis-analytics.com/blog/what-is-ai-ethics/" target="_blank" rel="noopener">AI Ethics Series: What is AI Ethics</a></p>
  904. ]]></content:encoded>
  905. <wfw:commentRss>https://kavita-ganesan.com/what-is-ai-ethics/feed/</wfw:commentRss>
  906. <slash:comments>0</slash:comments>
  907. <post-id xmlns="com-wordpress:feed-additions:1">8600</post-id> </item>
  908. <item>
  909. <title>GPT-3: What is GPT-3 and what can it do for your business?</title>
  910. <link>https://kavita-ganesan.com/what-is-gpt-3/</link>
  911. <comments>https://kavita-ganesan.com/what-is-gpt-3/#respond</comments>
  912. <dc:creator><![CDATA[Kavita Ganesan]]></dc:creator>
  913. <pubDate>Tue, 08 Nov 2022 22:51:39 +0000</pubDate>
  914. <category><![CDATA[AI For Business]]></category>
  915. <category><![CDATA[AI Foundation]]></category>
  916. <category><![CDATA[GPT-3]]></category>
  917. <category><![CDATA[nlp]]></category>
  918. <guid isPermaLink="false">https://kavita-ganesan.com/?p=8377</guid>
  919.  
  920. <description><![CDATA[GPT-3 is a popular AI tool that everyone is raving about. What exactly is GPT-3 and what does it mean for your AI problems? ]]></description>
  921. <content:encoded><![CDATA[
  922. <p>There&#8217;s been a lot of talk about GPT-3 and generative AI in the news, social media, and probably from every AI practitioner or vendor whom you&#8217;ve been speaking with lately. </p>
  923.  
  924.  
  925.  
  926. <p>Everyone is super excited about the future that such AI tools hold.</p>
  927.  
  928.  
  929.  
  930. <p>But what exactly is this AI technology specifically and what does it mean for your business and your AI problems?&nbsp;Let&#8217;s explore!</p>
  931.  
  932.  
  933.  
  934. <nav class="wp-block-stackable-table-of-contents stk-block-table-of-contents stk-block stk-9b999f4 stk-block-background" data-block-id="9b999f4"><style>.stk-9b999f4 li,.stk-9b999f4 ul li a,.stk-9b999f4 ol li a{font-style:normal !important;font-family:"Poppins",Sans-serif !important}.stk-9b999f4{background-color:var(--ast-global-color-4) !important}.stk-9b999f4:before{background-color:var(--ast-global-color-4) !important}.stk-9b999f4 ol{list-style-type:decimal !important}.stk-9b999f4 .stk-table-of-contents__table{column-count:1 !important}</style><ol class="stk-table-of-contents__table"><li><a href="#what-is-gpt-3">What is GPT-3?</a></li><li><a href="#what-can-gpt-3-do">What Can GPT-3 Do?</a></li><li><a href="#the-business-benefits-of-gpt-3">The Business Benefits of GPT-3 </a></li><li><a href="#is-traditional-ml-going-away-because-of-gpt-3">Is traditional ML going away because of GPT-3?</a></li><li><a href="#what-are-the-risks-of-gpt-3">What are the risks of GPT-3?&nbsp;</a></li><li><a href="#gpt-3-examples">GPT-3 Examples</a></li><li><a href="#gpt-3-key-takeaways">GPT-3 Key Takeaways</a></li><li><a href="#undefined">Keep Learning &amp; Succeed With AI</a></li><li><a href="#further-reading">Resources</a></li></ol></nav>
  935.  
  936.  
  937.  
  938. <p></p>
  939.  
  940.  
  941.  
  942. <h2 class="wp-block-heading" id="what-is-gpt-3">What is GPT-3?</h2>
  943.  
  944.  
  945.  
  946. <p>GPT-3 is a large <strong>language model </strong>developed by Open AI. It&#8217;s the successor of Open AI&#8217;s older language model, GPT-2 which was much smaller in comparison. </p>
  947.  
  948.  
  949.  
  950. <p>So, what&#8217;s a language model? A language model is a probability distribution over sequences of words learned from data. This probability distribution can then be used to <em>complete sentences</em>, <em>validate sentence correctness</em>, <em>validate speech recognition predictions</em>, t<em>ranslate one language to another</em>, and much more. </p>
  951.  
  952.  
  953.  
  954. <p></p>
  955.  
  956.  
  957.  
  958. <p>As you can see, language models are pretty powerful, and in concept, this is not new. Language models have been around for decades.</p>
  959.  
  960.  
  961.  
  962. <p></p>
  963.  
  964.  
  965.  
  966. <p>Here&#8217;s an example of how a language model completes a sentence:</p>
  967.  
  968.  
  969.  
  970. <blockquote class="wp-block-quote is-style-plain is-layout-flow wp-block-quote-is-layout-flow">
  971. <pre class="wp-block-code"><code class="">The car is about to ______
  972.  
  973. crash =&gt; probability 0.08&nbsp;
  974.  
  975. stop =&gt; probability 0.92&nbsp;
  976.  
  977. Predicted answer: stop</code></pre>
  978. </blockquote>
  979.  
  980.  
  981.  
  982. <p>Leveraging this general language model concept, GPT-3 is a gigantic language model capable of generating <em>sequences of words</em>, <em>code</em>, <em>translations</em>, <em>summaries</em>, or other types of data, starting from a source input, called the prompt.</p>
  983.  
  984.  
  985.  
  986. <p></p>
  987.  
  988.  
  989.  
  990. <p>Traditionally, language models have been trained on small datasets as it&#8217;s computationally expensive to train large language models. However, GPT-3, is trained on much of the Web, books, and Wikipedia data, which boils down to it being trained on billions of words. Further, GPT-3 is trained using a very deep and sophisticated <a href="https://www.ibm.com/cloud/learn/neural-networks">neural network</a>, helping it learn complex relationships between words.</p>
  991.  
  992.  
  993.  
  994. <p></p>
  995.  
  996.  
  997.  
  998. <p>This sort of training is not something we can easily replicate as it can cost millions of dollars for every training iteration. &nbsp;In fact, it cost approximately <strong>4.6 million dollars</strong>&nbsp;to train GPT-3 using a Tesla V100 cloud instance over 9 days.&nbsp;But what this level of sophistication means is that GPT-3 can answer all sorts of questions and complete sophisticated tasks with little hand-holding. You can think of GPT-3 as a <strong>super-intelligent Q&amp;A machine.</strong></p>
  999.  
  1000.  
  1001.  
  1002. <p></p>
  1003.  
  1004.  
  1005.  
  1006. <h2 class="wp-block-heading" id="what-can-gpt-3-do">What Can GPT-3 Do?</h2>
  1007.  
  1008.  
  1009.  
  1010. <p>Some of the capabilities of GPT-3 include:</p>
  1011.  
  1012.  
  1013.  
  1014. <ul>
  1015. <li>Predicting categories on text data</li>
  1016.  
  1017.  
  1018.  
  1019. <li>Generating relevant source code based on description alone</li>
  1020.  
  1021.  
  1022.  
  1023. <li>Extracting pertinent information from unstructured data to make it more structured</li>
  1024.  
  1025.  
  1026.  
  1027. <li>Becoming your therapy chatbot</li>
  1028.  
  1029.  
  1030.  
  1031. <li>Translating text in one language into several others that it understands&nbsp;</li>
  1032.  
  1033.  
  1034.  
  1035. <li>Writing paragraphs of content with a prompt&nbsp;</li>
  1036.  
  1037.  
  1038.  
  1039. <li>Rewriting article headlines</li>
  1040.  
  1041.  
  1042.  
  1043. <li>Spelling correction </li>
  1044.  
  1045.  
  1046.  
  1047. <li>And much much more</li>
  1048. </ul>
  1049.  
  1050.  
  1051.  
  1052. <p></p>
  1053.  
  1054.  
  1055.  
  1056. <h2 class="wp-block-heading" id="the-business-benefits-of-gpt-3">The Business Benefits of GPT-3 </h2>
  1057.  
  1058.  
  1059.  
  1060. <p>So, what is the benefit of GPT-3 for business applications? </p>
  1061.  
  1062.  
  1063.  
  1064. <p>In short: one model that can complete <strong>multiple tasks</strong>. Years ago, we had to develop a single specialized model for every task that we were looking to solve with AI. We needed the training data, the appropriate ML algorithm, and a data scientist.</p>
  1065.  
  1066.  
  1067.  
  1068. <p>But with large language models like GPT-3, for many tasks, you can leverage this single model by briefly <em>teaching</em> the model with examples of what types of output to produce. For certain tasks, you don&#8217;t even need that. You can just describe the task and provide the input and GPT-3 will generate relevant output. So, almost anyone can perform the AI &#8220;development&#8221;.&nbsp;</p>
  1069.  
  1070.  
  1071.  
  1072. <p>For example, if you’re performing a classification task, you can prime the model on the types of expected categories. If you’re wanting generated content, you can tell what type of content you’re expecting. So it essentially democratizes AI development and makes it less time-consuming.&nbsp;</p>
  1073.  
  1074.  
  1075.  
  1076. <p>Imagine developing a sentiment classifier with just 5 prompts. Is this too good to be true? The only way to know if it holds water on your data is to evaluate, evaluate, and evaluate. You will never run away from evaluation no matter how sophisticated the model as I repeatedly talk about in my <a href="https://kavita-ganesan.com/the-business-case-for-ai/">book</a>.</p>
  1077.  
  1078.  
  1079.  
  1080. <h2 class="wp-block-heading" id="is-traditional-ml-going-away-because-of-gpt-3">Is traditional ML going away because of GPT-3?</h2>
  1081.  
  1082.  
  1083.  
  1084. <p>No. Task-specific models, smaller language models and classical ML is not going anywhere anytime soon. GPT-3 only works on tasks that it understands well or tasks that you can make it understand (see examples below). If you have highly domain-specific tasks, you&#8217;ll still have to build specialized models that are fine-tuned solely for those tasks.&nbsp;&nbsp;</p>
  1085.  
  1086.  
  1087.  
  1088. <p>This only means that it&#8217;s going to get much easier to develop ML solutions for certain well-understood tasks. Or these models can be used to generate supplementary input for your specialized ML tasks.</p>
  1089.  
  1090.  
  1091.  
  1092. <h2 class="wp-block-heading" id="what-are-the-risks-of-gpt-3">What are the risks of GPT-3?&nbsp;</h2>
  1093.  
  1094.  
  1095.  
  1096. <p>Now let’s talk about the hard stuff. While GPT-3 has great potential, we still need to consider its broader implications for your AI applications and business.&nbsp; Some of the risks of GPT-3 include:</p>
  1097.  
  1098.  
  1099.  
  1100. <ul>
  1101. <li><strong>Bias propagation</strong>—As GPT-3 was predominantly trained on Web data, it has learned both the good and the bad of the Web. This means any embedded bias, errors in data, and non-factual content can easily seep into your applications.&nbsp;</li>
  1102.  
  1103.  
  1104.  
  1105. <li><strong>Potential plagiarism</strong>—Having knowledge of the entire Web (almost) also means that GPT-3 can spit out content from various sources word-for-word without attribution. So, if you see familiar content within a third-party application, don’t be surprised—it could be YOUR content. Unfortunately, you may not be able to claim plagiarism and there&#8217;s not much we can do about it as the model is already open for public usage.</li>
  1106.  
  1107.  
  1108.  
  1109. <li><strong>Unpredictable performance</strong>—GPT-3 is essentially a language generator that can multitask. And because it’s not fine-tuned for your application-specific task, its performance on a single “narrow” task may be unpredictable. One small glitch can result in erroneous output.&nbsp;</li>
  1110.  
  1111.  
  1112.  
  1113. <li><strong>Hallucinations</strong>—As GPT-3 computes the probability of generating meaningful output, it could very well stitch together unrelated concepts that IT thinks make sense. This could end up being nonfactual and inaccurate information. If you&#8217;re using GPT-3 to generate content, you should validate the facts produced especially on uncommon or time-dependent topics, and topics that are subject to interpretation. </li>
  1114. </ul>
  1115.  
  1116.  
  1117.  
  1118. <p>These risks are real and people are already raising these issues in various <a href="https://www.reddit.com/r/OpenAI/comments/hypo3o/how_do_i_tell_if_gpt3_is_plagiarizing/">formats</a>.</p>
  1119.  
  1120.  
  1121.  
  1122. <h2 class="wp-block-heading" id="gpt-3-examples">GPT-3 Examples</h2>
  1123.  
  1124.  
  1125.  
  1126. <p>Here are two examples of GPT-3 in action.&nbsp;</p>
  1127.  
  1128.  
  1129.  
  1130. <p></p>
  1131.  
  1132.  
  1133.  
  1134. <h3 class="wp-block-heading" id="sentence-correction">Sentence Correction</h3>
  1135.  
  1136.  
  1137.  
  1138. <p>In this example, GPT-3 is asked to edit English sentences.</p>
  1139.  
  1140.  
  1141.  
  1142. <figure class="wp-block-image size-full"><img decoding="async" width="808" height="554" src="https://kavita-ganesan.com/wp-content/uploads/gpt3-sentence-correction.png" alt="" class="wp-image-8388" srcset="https://kavita-ganesan.com/wp-content/uploads/gpt3-sentence-correction.png 808w, https://kavita-ganesan.com/wp-content/uploads/gpt3-sentence-correction-300x206.png 300w, https://kavita-ganesan.com/wp-content/uploads/gpt3-sentence-correction-150x103.png 150w, https://kavita-ganesan.com/wp-content/uploads/gpt3-sentence-correction-768x527.png 768w" sizes="(max-width: 808px) 100vw, 808px" /></figure>
  1143.  
  1144.  
  1145.  
  1146. <p class="has-text-align-center">GPT-3: Sentence correction</p>
  1147.  
  1148.  
  1149.  
  1150. <p></p>
  1151.  
  1152.  
  1153.  
  1154. <h3 class="wp-block-heading" id="sentiment-classification">Sentiment Classification</h3>
  1155.  
  1156.  
  1157.  
  1158. <p>In this example, GPT-3 is given examples of how to classify sentences, and then it does it on the last task.&nbsp;</p>
  1159.  
  1160.  
  1161.  
  1162. <figure class="wp-block-image alignleft size-full"><img decoding="async" width="886" height="290" src="https://kavita-ganesan.com/wp-content/uploads/gpt-3-sentiment.png" alt="" class="wp-image-8391" srcset="https://kavita-ganesan.com/wp-content/uploads/gpt-3-sentiment.png 886w, https://kavita-ganesan.com/wp-content/uploads/gpt-3-sentiment-300x98.png 300w, https://kavita-ganesan.com/wp-content/uploads/gpt-3-sentiment-150x49.png 150w, https://kavita-ganesan.com/wp-content/uploads/gpt-3-sentiment-768x251.png 768w" sizes="(max-width: 886px) 100vw, 886px" /></figure>
  1163.  
  1164.  
  1165.  
  1166. <figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="668" height="148" src="https://kavita-ganesan.com/wp-content/uploads/gpt3-sentiment-analysis.png" alt="" class="wp-image-8390" srcset="https://kavita-ganesan.com/wp-content/uploads/gpt3-sentiment-analysis.png 668w, https://kavita-ganesan.com/wp-content/uploads/gpt3-sentiment-analysis-300x66.png 300w, https://kavita-ganesan.com/wp-content/uploads/gpt3-sentiment-analysis-150x33.png 150w" sizes="(max-width: 668px) 100vw, 668px" /></figure>
  1167.  
  1168.  
  1169.  
  1170. <p class="has-text-align-center">GPT-3: Sentiment orientation prediction</p>
  1171.  
  1172.  
  1173.  
  1174. <p></p>
  1175.  
  1176.  
  1177.  
  1178. <p></p>
  1179.  
  1180.  
  1181.  
  1182. <h2 class="wp-block-heading" id="gpt-3-key-takeaways">GPT-3 Key Takeaways</h2>
  1183.  
  1184.  
  1185.  
  1186. <ul>
  1187. <li>GPT-3 is a large language model that can help you complete multiple tasks with little to no supervision.  </li>
  1188.  
  1189.  
  1190.  
  1191. <li>GPT-3 cannot solve every AI problem. It&#8217;s only as good as the prompts that you feed it and tasks that it understands and may not work well for specialized tasks such as predicting market movements.</li>
  1192.  
  1193.  
  1194.  
  1195. <li>While GPT3 has great potential, it has its fair share of problems just like any ML model. Some of the potential problems include bias propagation, hallucinations, and unpredictable performance.&nbsp;</li>
  1196.  
  1197.  
  1198.  
  1199. <li>Just as with any AI solution, evaluation is critical to the success of every&nbsp;initiative and there&#8217;s no exception to GPT-3.</li>
  1200. </ul>
  1201.  
  1202.  
  1203.  
  1204. <p>That’s all for this article!</p>
  1205.  
  1206.  
  1207.  
  1208. <p></p>
  1209.  
  1210.  
  1211.  
  1212. <div class="inherit-container-width wp-block-group has-ast-global-color-4-background-color has-background is-layout-constrained wp-block-group-is-layout-constrained" style="border-style:dotted;border-width:1px;padding-top:10px;padding-right:10px;padding-bottom:10px;padding-left:10px"><div class="wp-block-group__inner-container">
  1213. <h2 class="wp-block-heading">Keep Learning &amp; Succeed With AI</h2>
  1214.  
  1215.  
  1216.  
  1217. <ul>
  1218. <li><strong>Join my&nbsp;<a href="https://kavita-ganesan.com/blog">AI Integrated newsletter</a>,&nbsp;</strong>which clears the AI confusion and teaches you how to successfully integrate AI to achieve profitability and growth in your business.</li>
  1219.  
  1220.  
  1221.  
  1222. <li><strong>Read  <a href="http://amazon.aibusinesscasebook.com/?utm_source=newsletter&amp;utm_medium=email&amp;utm_campaign=why_starting_without_ai_improves_outcomes_even_if_ai_is_your_goal&amp;utm_term=2022-08-19" target="_blank" rel="noreferrer noopener">The Business Case for AI</a></strong> to learn applications, strategies, and best practices to be successful with AI (select companies using the book: government agencies, automakers like Mercedes Benz, beverage makers, and e-commerce companies such as Flipkart).</li>
  1223.  
  1224.  
  1225.  
  1226. <li><a href="https://kavita-ganesan.com/work-with-me/"><strong>Work directly with me</strong></a> to improve AI understanding in your organization, accelerate AI strategy development and get meaningful outcomes from every AI initiative.</li>
  1227. </ul>
  1228. </div></div>
  1229.  
  1230.  
  1231.  
  1232. <p></p>
  1233.  
  1234.  
  1235.  
  1236. <h2 class="wp-block-heading" id="further-reading">Resources</h2>
  1237.  
  1238.  
  1239.  
  1240. <ul>
  1241. <li><a href="GPT-3: Its Nature, Scope, Limits, and Consequences">GPT-3: Its Nature, Scope, Limits, and Consequences</a></li>
  1242.  
  1243.  
  1244.  
  1245. <li><a href="https://www.toptal.com/gpt-3">Looking for GPT-3 developers, checkout Toptal</a></li>
  1246. </ul>
  1247. ]]></content:encoded>
  1248. <wfw:commentRss>https://kavita-ganesan.com/what-is-gpt-3/feed/</wfw:commentRss>
  1249. <slash:comments>0</slash:comments>
  1250. <post-id xmlns="com-wordpress:feed-additions:1">8377</post-id> </item>
  1251. <item>
  1252. <title>What are Precision &#038; Recall in Machine Learning?</title>
  1253. <link>https://kavita-ganesan.com/precision-and-recall-machine-learning/</link>
  1254. <comments>https://kavita-ganesan.com/precision-and-recall-machine-learning/#respond</comments>
  1255. <dc:creator><![CDATA[Kavita Ganesan]]></dc:creator>
  1256. <pubDate>Thu, 27 Oct 2022 01:42:48 +0000</pubDate>
  1257. <category><![CDATA[AI Foundation]]></category>
  1258. <category><![CDATA[precision]]></category>
  1259. <category><![CDATA[recall]]></category>
  1260. <guid isPermaLink="false">https://kavita-ganesan.com/?p=8367</guid>
  1261.  
  1262. <description><![CDATA[Precision and recall are commonly used terms to assess machine learning  model performance. Learn what precision and recall are from a business perspective.]]></description>
  1263. <content:encoded><![CDATA[
  1264. <p>Precision and recall are commonly used metrics to measure the performance of machine learning models or AI solutions in general. It helps understand how well models are making predictions.</p>
  1265.  
  1266.  
  1267.  
  1268. <p>Let&#8217;s use an email SPAM prediction example. Say you have a model that looks at an email and decides whether it&#8217;s SPAM or NOT SPAM.  To see how well it&#8217;s doing, you want to compare it with human-generated labels, which we will call the <em>actual labels</em>. </p>
  1269.  
  1270.  
  1271.  
  1272. <p>To demonstrate this, the table below shows you some actual labels and the machine (model) predicted labels.  Now we&#8217;ll assume that the <strong><em>spam</em></strong> prediction is positive, and the not spam prediction is negative.</p>
  1273.  
  1274.  
  1275.  
  1276. <figure class="wp-block-table aligncenter is-style-regular"><table class="has-background has-fixed-layout" style="background:linear-gradient(135deg,rgb(238,238,238) 26%,rgb(158,197,226) 100%)"><thead><tr><th><strong>Email ID</strong></th><th><strong>Actual Label</strong></th><th><strong>Machine Predicted Label</strong></th></tr></thead><tbody><tr><td><strong>Email 1</strong></td><td>Spam (positive)</td><td>Spam (positive &amp; correct)</td></tr><tr><td><strong>Email 2</strong></td><td>Spam (positive)</td><td>Not Spam (negative &amp; incorrect)</td></tr><tr><td><strong>Email 3</strong></td><td>Not Spam (negative)</td><td>Spam   (positive &amp; incorrect) </td></tr><tr><td><strong>Email 4</strong></td><td>Spam (positive)</td><td>Not Spam (negative &amp; incorrect) </td></tr></tbody></table><figcaption class="wp-element-caption"><em>Email spam predictions with corresponding true predictions.</em></figcaption></figure>
  1277.  
  1278.  
  1279.  
  1280. <h2 class="wp-block-heading">What is Precision in ML?</h2>
  1281.  
  1282.  
  1283.  
  1284. <p>Given this, intuitively, <strong>precision </strong>measures the proportion of correct positive predictions. </p>
  1285.  
  1286.  
  1287.  
  1288. <figure class="wp-block-image aligncenter size-large"><img decoding="async" src="http://www.opinosis-analytics.com/wp-content/uploads/2021/08/precision-and-recall-machine-learning-1024x309.png" alt="" class="wp-image-13868"/><figcaption class="wp-element-caption">How precision is computed</figcaption></figure>
  1289.  
  1290.  
  1291.  
  1292. <p>As you can see from the table above, out of the 2 <strong>spam</strong> (positive) machine predictions, only 1 is correct. So the precision is 0.5 or 50%.</p>
  1293.  
  1294.  
  1295.  
  1296. <h2 class="wp-block-heading">What is Recall in ML?</h2>
  1297.  
  1298.  
  1299.  
  1300. <p><strong>Recall </strong>measures the proportion of actual positive labels correctly identified by the model. </p>
  1301.  
  1302.  
  1303.  
  1304. <figure class="wp-block-image aligncenter size-large"><img decoding="async" src="http://www.opinosis-analytics.com/wp-content/uploads/2021/08/recall-computing-in-machine-learning-1024x316.png" alt="recall computing in machine learning" class="wp-image-13870"/><figcaption class="wp-element-caption">How recall is computed
  1305. </figcaption></figure>
  1306.  
  1307.  
  1308.  
  1309. <p>From the table above, notice that we have 3 actual labels that are positive, and out of that only one is correctly captured by the model. So the recall is 0.33 or 33%. </p>
  1310.  
  1311.  
  1312.  
  1313. <p>All in all, in the SPAM prediction example, precision is 50% and recall is 33%. </p>
  1314.  
  1315.  
  1316.  
  1317. <h2 class="wp-block-heading">What Message Do Precision and Recall Convey?</h2>
  1318.  
  1319.  
  1320.  
  1321. <p>What precision measures at a high level is <em>correctness</em>. What recall measures at a high level is <em>coverage</em>. For example, if precision is 98% it means that when the model says the prediction is positive, the prediction is likely accurate. A model can be overly conservative and only make limited positive predictions, resulting in high precision. In other words, it fails to make sufficient positive predictions. This is why you also need to consider recall—to ensure you&#8217;re capturing sufficient actual positives.  </p>
  1322.  
  1323.  
  1324.  
  1325. <p>When it comes to recall, a high recall means that the model can capture most of the positive predictions. But if a model says everything is positive regardless of underlying reasoning, the recall will be artificially high and close to perfect. That&#8217;s why you need to balance between precision and recall. You want accurate predictions, but at the same time not at the cost of missing out on too many positive predictions (false negative predictions). Ideally, you want sufficiently high precision and recall. </p>
  1326.  
  1327.  
  1328.  
  1329. <h2 class="wp-block-heading">Summary</h2>
  1330.  
  1331.  
  1332.  
  1333. <p>In summary,  <strong>precision </strong>measures the proportion of correct positive predictions, and <strong>recall</strong> measures the coverage of actual positive labels.  For a model to be considered &#8220;good&#8221; both precision and recall must be at acceptable levels. In the end, what&#8217;s acceptable depends on the application. </p>
  1334.  
  1335.  
  1336.  
  1337. <p></p>
  1338.  
  1339.  
  1340.  
  1341. <div class="inherit-container-width wp-block-group has-ast-global-color-4-background-color has-background is-layout-constrained wp-block-group-is-layout-constrained" style="border-style:dotted;border-width:1px;padding-top:10px;padding-right:10px;padding-bottom:10px;padding-left:10px"><div class="wp-block-group__inner-container">
  1342. <h2 class="wp-block-heading">Keep Learning &amp; Succeed With AI</h2>
  1343.  
  1344.  
  1345.  
  1346. <ul>
  1347. <li><strong>Join my&nbsp;<a href="https://kavita-ganesan.com/blog">AI Integrated newsletter</a>,&nbsp;</strong>which clears the AI confusion and teaches you how to successfully integrate AI to achieve profitability and growth in your business.</li>
  1348.  
  1349.  
  1350.  
  1351. <li><strong>Read  <a href="http://amazon.aibusinesscasebook.com/?utm_source=newsletter&amp;utm_medium=email&amp;utm_campaign=why_starting_without_ai_improves_outcomes_even_if_ai_is_your_goal&amp;utm_term=2022-08-19" target="_blank" rel="noreferrer noopener">The Business Case for AI</a></strong> to learn applications, strategies, and best practices to be successful with AI (select companies using the book: government agencies, automakers like Mercedes Benz, beverage makers, and e-commerce companies such as Flipkart).</li>
  1352.  
  1353.  
  1354.  
  1355. <li><a href="https://kavita-ganesan.com/work-with-me/"><strong>Work directly with me</strong></a> to improve AI understanding in your organization, accelerate AI strategy development and get meaningful outcomes from every AI initiative.</li>
  1356. </ul>
  1357. </div></div>
  1358.  
  1359.  
  1360.  
  1361. <p></p>
  1362.  
  1363.  
  1364.  
  1365. <h2 class="wp-block-heading">Recommended Reading:</h2>
  1366.  
  1367.  
  1368.  
  1369. <ul>
  1370. <li><a href="https://kavita-ganesan.com/how-to-compute-precision-and-recall-for-a-multi-class-classification-problem/">How to compute precision and recall</a> </li>
  1371. </ul>
  1372.  
  1373.  
  1374.  
  1375. <div class="inherit-container-width wp-block-group is-layout-constrained wp-block-group-is-layout-constrained"><div class="wp-block-group__inner-container">
  1376. <div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-1 wp-block-columns-is-layout-flex">
  1377. <div class="wp-block-column is-vertically-aligned-center is-layout-flow wp-block-column-is-layout-flow" style="flex-basis:100%"></div>
  1378. </div>
  1379. </div></div>
  1380. ]]></content:encoded>
  1381. <wfw:commentRss>https://kavita-ganesan.com/precision-and-recall-machine-learning/feed/</wfw:commentRss>
  1382. <slash:comments>0</slash:comments>
  1383. <post-id xmlns="com-wordpress:feed-additions:1">8367</post-id> </item>
  1384. <item>
  1385. <title>The Business Case For AI: A Review by Customer Contact Week Conference &#038; Magazine</title>
  1386. <link>https://kavita-ganesan.com/the-business-case-for-ai-review-customer-contact-week/</link>
  1387. <comments>https://kavita-ganesan.com/the-business-case-for-ai-review-customer-contact-week/#respond</comments>
  1388. <dc:creator><![CDATA[Kavita Ganesan]]></dc:creator>
  1389. <pubDate>Wed, 26 Oct 2022 17:21:15 +0000</pubDate>
  1390. <category><![CDATA[The Business Case For AI]]></category>
  1391. <guid isPermaLink="false">https://kavita-ganesan.com/?p=8319</guid>
  1392.  
  1393. <description><![CDATA[The Business Case for AI is perfect for AI-fanatics and AI-skeptics alike. From defining AI and its various forms, to explaining exactly how companies should approach AI to see the results they want, Kavita Ganesan’s no-fluff book helps make the AI conversation a whole lot easier.]]></description>
  1394. <content:encoded><![CDATA[
  1395. <p>“Stop using AI.”</p>
  1396.  
  1397.  
  1398.  
  1399. <p>This is how Dr. Kavita Ganesan, an AI expert since 2005, begins her book The Business Case for AI. In a refreshingly direct tone, Ganesan goes on to deliver the news that, yes, you probably need to rethink your use of AI and, no, it does not need to be this difficult or this expensive. </p>
  1400.  
  1401.  
  1402.  
  1403. <p>While AI is a necessary tool for businesses to remain competitive, many find themselves worried about the investment, and the consequences– what if I’m using AI to solve the wrong problems? Could it really take away my job or my employees’ jobs?</p>
  1404.  
  1405.  
  1406.  
  1407. <p>Ganesan is a sharp but assuring voice in a field full of questions like these. “These worries are real,” she states before going on to describe exactly what you need to do to assuage them.  Throughout the book, Ganesan tells you where you can apply AI, how you can prepare your organization for it, how to invest in the right AI opportunities, and how to measure the success of your AI initiatives, almost making it sound easy. </p>
  1408.  
  1409.  
  1410.  
  1411. <p>The book does not go into technical language or AI-specific jargon that a CS professional might not be familiar with. Ganesan makes AI, a topic that many feel is unapproachable and a bit overwhelming, something that even<em><strong> the least tech-savvy person can grasp</strong></em>.</p>
  1412.  
  1413.  
  1414.  
  1415. <p>Ganesan makes <strong>AI sound not only less intimidating but ultimately worthwhile for CS teams in any sector.</strong> She explains that there is an irresistible pull for customers when an experience is personalized, and the most successful companies in the world have utilized the hyper-personalization that only AI can provide. </p>
  1416.  
  1417.  
  1418.  
  1419. <p>The Business Case for AI is<strong> perfect for AI-fanatics and AI-skeptics alike.</strong> From defining AI and its various forms, to explaining exactly how companies should approach AI to see the results they want, Kavita Ganesan’s no-fluff book helps make the AI conversation a whole lot easier.</p>
  1420.  
  1421.  
  1422.  
  1423. <blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow"><p>The Business Case for AI is<strong> perfect for AI-fanatics and AI-skeptics alike.</strong> From defining AI and its various forms, to explaining exactly how companies should approach AI to see the results they want, Kavita Ganesan’s no-fluff book helps make the AI conversation a whole lot easier.</p><cite>CCW Conference &amp; Magazine</cite></blockquote>
  1424.  
  1425.  
  1426.  
  1427. <p></p>
  1428.  
  1429.  
  1430.  
  1431. <p><strong>Original source: </strong><a href="https://www.customercontactweekdigital.com/ccwomen/whitepapers/four-books-authored-by-women-in-customer-experience">CCW Digital</a></p>
  1432.  
  1433.  
  1434.  
  1435. <p></p>
  1436.  
  1437.  
  1438.  
  1439. <p></p>
  1440.  
  1441.  
  1442.  
  1443. <h2 class="has-text-align-center wp-block-heading"></h2>
  1444.  
  1445.  
  1446.  
  1447. <div class="wp-block-columns is-layout-flex wp-container-core-columns-is-layout-2 wp-block-columns-is-layout-flex">
  1448. <div class="wp-block-column is-layout-constrained wp-block-column-is-layout-constrained" style="padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px">
  1449. <div class="wp-block-stackable-image stk-block-image has-text-align-center stk-block stk-34201b4" data-block-id="34201b4"><style>.stk-34201b4 .stk-img-wrapper img{object-fit:fill !important}.stk-34201b4 .stk-img-wrapper img{border-radius:14px !important}</style><figure class="stk-img-wrapper stk-image--shape-stretch"><img loading="lazy" decoding="async" class="stk-img wp-image-7315" src="https://kavita-ganesan.com/wp-content/uploads/040-tx-e1648764756565.png" width="3260" height="2480" alt="AI strategy book" srcset="https://kavita-ganesan.com/wp-content/uploads/040-tx-e1648764756565.png 3260w, https://kavita-ganesan.com/wp-content/uploads/040-tx-e1648764756565-300x228.png 300w, https://kavita-ganesan.com/wp-content/uploads/040-tx-e1648764756565-1024x779.png 1024w, https://kavita-ganesan.com/wp-content/uploads/040-tx-e1648764756565-150x114.png 150w, https://kavita-ganesan.com/wp-content/uploads/040-tx-e1648764756565-768x584.png 768w, https://kavita-ganesan.com/wp-content/uploads/040-tx-e1648764756565-1536x1168.png 1536w, https://kavita-ganesan.com/wp-content/uploads/040-tx-e1648764756565-2048x1558.png 2048w" sizes="(max-width: 3260px) 100vw, 3260px" /></figure></div>
  1450. </div>
  1451.  
  1452.  
  1453.  
  1454. <div class="wp-block-column is-layout-constrained wp-block-column-is-layout-constrained" style="flex-basis:60%">
  1455. <div class="wp-block-stackable-heading stk-block-heading stk-block stk-dbf0db7" id="strong-get-your-copy-today-strong" data-block-id="dbf0db7"><h2 class="stk-block-heading__text"><strong>Get Your Copy Today</strong>!</h2></div>
  1456.  
  1457.  
  1458.  
  1459. <div class="wp-block-stackable-text stk-block-text stk-block stk-f1e3335" data-block-id="f1e3335"><p class="stk-block-text__text"><em>Whether you want to jumpstart your AI strategy, manage your AI initiatives for better outcomes, or simply find inspiration for your own AI and machine learning applications,&nbsp;The Business Case for AI&nbsp;is your blueprint for AI success.</em></p></div>
  1460. </div>
  1461. </div>
  1462.  
  1463.  
  1464.  
  1465. <div class="wp-block-buttons is-content-justification-center is-layout-flex wp-container-core-buttons-is-layout-1 wp-block-buttons-is-layout-flex">
  1466. <div class="wp-block-button"><a class="wp-block-button__link" href="http://amazon.aibusinesscasebook.com">BUY ON AMAZON</a></div>
  1467. </div>
  1468.  
  1469.  
  1470.  
  1471. <div class="wp-block-stackable-feature alignfull stk-block-feature stk-block stk-27ec623 is-style-horizontal" data-block-id="27ec623"><style>.stk-27ec623-container{display:flex !important}.stk-27ec623-container{align-items:flex-start !important}</style><div class="stk-content-align stk-27ec623-column alignwide stk-container stk-27ec623-container stk--no-background stk--no-padding"><div class="stk-inner-blocks stk-block-content stk-row">
  1472. <div class="wp-block-stackable-column stk-block-column stk-block-column--v2 stk-column stk-block stk-accbde2" data-block-id="accbde2"><style>.stk-accbde2{align-self:center !important}.stk-accbde2-container{display:flex !important}.stk-accbde2-inner-blocks{justify-content:flex-start !important}.stk-accbde2-container{flex-direction:column !important}</style><div class="stk-column-wrapper stk-block-column__content stk-container stk-accbde2-container stk--no-background stk--no-padding"><div class="stk-block-content stk-inner-blocks stk-accbde2-inner-blocks"></div></div></div>
  1473. </div></div></div>
  1474.  
  1475.  
  1476.  
  1477. <p></p>
  1478.  
  1479.  
  1480.  
  1481. <div class="wp-block-stackable-image-box stk-block-image-box stk-hover-parent stk-block stk-a3551ad is-style-default" data-block-id="a3551ad"><div class="stk-block-content stk-inner-blocks has-text-align-center stk-row stk-block-image-box__content">
  1482. <div class="wp-block-stackable-column stk-block-column stk-block-column--v2 stk-column stk-block stk-6cafb71" data-block-id="6cafb71"><style>.stk-6cafb71{display:flex !important}.stk-6cafb71{align-items:center !important}</style><div class="stk-column-wrapper stk-block-column__content stk-container stk-6cafb71-container stk--no-background stk--no-padding"><div class="stk-block-content stk-inner-blocks stk-6cafb71-inner-blocks">
  1483. <div class="wp-block-stackable-subtitle stk-block-subtitle stk-block stk-8888f21" data-block-id="8888f21"><style>.stk-8888f21{margin-bottom:8px !important}.stk-8888f21{opacity:0 !important}:where(.stk-hover-parent:hover,.stk-hover-parent.stk--is-hovered) .stk-8888f21{opacity:1 !important}.stk-8888f21 .stk-block-subtitle__text{color:#FFFFFF !important}</style><p class="stk-block-subtitle__text stk-subtitle has-text-color has-white-color">Subtitle for This Block</p></div>
  1484. </div></div></div>
  1485. </div></div>
  1486. ]]></content:encoded>
  1487. <wfw:commentRss>https://kavita-ganesan.com/the-business-case-for-ai-review-customer-contact-week/feed/</wfw:commentRss>
  1488. <slash:comments>0</slash:comments>
  1489. <post-id xmlns="com-wordpress:feed-additions:1">8319</post-id> </item>
  1490. <item>
  1491. <title>What went wrong with Tay, the Twitter bot that turned racist?</title>
  1492. <link>https://kavita-ganesan.com/tay-twitter-bot/</link>
  1493. <comments>https://kavita-ganesan.com/tay-twitter-bot/#respond</comments>
  1494. <dc:creator><![CDATA[Kavita Ganesan]]></dc:creator>
  1495. <pubDate>Fri, 21 Oct 2022 16:09:00 +0000</pubDate>
  1496. <category><![CDATA[AI Fails]]></category>
  1497. <category><![CDATA[AI For Business]]></category>
  1498. <guid isPermaLink="false">https://kavita-ganesan.com/?p=8285</guid>
  1499.  
  1500. <description><![CDATA[Why Tay the Twitter bot from 2016 failed and what we can learn from it. How can we generalize this to ML development best practices?]]></description>
  1501. <content:encoded><![CDATA[
  1502. <p>Of late, we’ve been hearing about <strong>Twitter bots</strong> in the news due to the whole saga of <a href="https://techcrunch.com/2022/10/04/elon-intends-buy-twitter/">Elon Musk buying Twitter</a>. One of the reasons the deal took so long to pan out was Musk’s concerns about the number of <strong><em>spam</em></strong> bots running rampant on the platform. While Musk <a href="https://www.wsj.com/podcasts/the-journal/elon-musk-doesnt-want-to-buy-twitter-anymore/72ac2322-bb3e-4d41-8237-16e8e115d3d5">believes that bots make up more than 20%</a> of accounts on Twitter, Twitter states that the number of bots on its platform is marginal.</p>
  1503.  
  1504.  
  1505.  
  1506. <p>So, what’s this <em>Twitter bot </em>thing?</p>
  1507.  
  1508.  
  1509.  
  1510. <p>A Twitter bot is essentially a Twitter account controlled by software automation rather than an actual human. It is programmed to behave like regular Twitter accounts, liking Tweets, retweeting, and engaging with other accounts.&nbsp;</p>
  1511.  
  1512.  
  1513.  
  1514. <p>Twitter bots can be helpful for specific use cases, such as sending out critical alerts and announcements. On the flip side, they can also be used for nefarious purposes, such as starting a disinformation campaign. These bots can also turn nefarious when “programmed” incorrectly.&nbsp;&nbsp;</p>
  1515.  
  1516.  
  1517.  
  1518. <p>This is what happened with Tay, an AI Twitter bot from 2016.&nbsp;&nbsp;&nbsp;</p>
  1519.  
  1520.  
  1521.  
  1522. <p>Tay was an experiment at the intersection of ML, NLP, and social networks. She had the capacity to Tweet her “thoughts” and engage with her growing number of followers. While other chatbots in the past, such as <a href="https://web.njit.edu/~ronkowit/eliza.html">Eliza</a>, conducted conversations using narrow scripts, Tay was designed to learn more about language over time from its environment, allowing her to have conversations about any topic.&nbsp;</p>
  1523.  
  1524.  
  1525.  
  1526. <p>In the beginning, Tay engaged harmlessly with her followers with benign Tweets. However, after a few hours, Tay started tweeting highly <em>offensive</em> things, and as a result, she was shut down just sixteen hours after her launch.</p>
  1527.  
  1528.  
  1529.  
  1530. <p>You may wonder how can such an “error” happen so publicly. Wasn’t this bot tested? Weren’t the researchers aware that this bot was an evil, racist bot before releasing it?&nbsp;</p>
  1531.  
  1532.  
  1533.  
  1534. <p>These are valid questions. To get into the crux of what went wrong, let’s study some of the problems in detail and try to learn from them. This will help us all see how to handle similar challenges when deploying AI in our organizations.&nbsp;</p>
  1535.  
  1536.  
  1537.  
  1538. <h2 class="wp-block-heading">Data</h2>
  1539.  
  1540.  
  1541.  
  1542. <p>Data is often a big reason why AI models fail. In the case of Tay, shortly after her release,&nbsp; Twitter trolls started engaging the bot with racist, misogynistic, and anti-Semitic language. And because Tay had the capacity to learn as she went, it meant that she internalized some of the language taught by the trolls. Tay just repeated some of this language. Tay uttered bad language because she was fed bad data.</p>
  1543.  
  1544.  
  1545.  
  1546. <p><strong>Take note: </strong>Poor-quality, prejudiced, or downright bad training data can significantly impact how machine learning models behave. You train ML models with nonrepresentative data, and they will churn out biased predictions. If you starve models of data or feed models incomplete data, they will make random predictions instead of meaningful ones. Questionable learning/training data = questionable output.&nbsp;</p>
  1547.  
  1548.  
  1549.  
  1550. <blockquote class="wp-block-quote has-text-align-left is-style-plain is-layout-flow wp-block-quote-is-layout-flow" style="font-style:normal;font-weight:500">
  1551. <p></p>
  1552.  
  1553.  
  1554.  
  1555. <p>Questionable training data = questionable ML model output&nbsp;</p>
  1556.  
  1557.  
  1558.  
  1559. <p></p>
  1560. </blockquote>
  1561.  
  1562.  
  1563.  
  1564. <figure class="wp-block-image aligncenter size-full"><a href="https://arstechnica.com/"><img loading="lazy" decoding="async" width="628" height="308" src="https://kavita-ganesan.com/wp-content/uploads/image-13.png" alt="" class="wp-image-8304" srcset="https://kavita-ganesan.com/wp-content/uploads/image-13.png 628w, https://kavita-ganesan.com/wp-content/uploads/image-13-300x147.png 300w, https://kavita-ganesan.com/wp-content/uploads/image-13-150x74.png 150w" sizes="(max-width: 628px) 100vw, 628px" /></a><figcaption class="wp-element-caption">Example of Tay&#8217;s Tweet (source: <a href="https://arstechnica.com/">https://arstechnica.com/</a>)</figcaption></figure>
  1565.  
  1566.  
  1567.  
  1568. <p></p>
  1569.  
  1570.  
  1571.  
  1572. <figure class="wp-block-image aligncenter size-full is-resized"><img loading="lazy" decoding="async" src="https://kavita-ganesan.com/wp-content/uploads/image-14.png" alt="Tay twitter bot" class="wp-image-8306" width="576" height="271" srcset="https://kavita-ganesan.com/wp-content/uploads/image-14.png 748w, https://kavita-ganesan.com/wp-content/uploads/image-14-300x141.png 300w, https://kavita-ganesan.com/wp-content/uploads/image-14-150x71.png 150w" sizes="(max-width: 576px) 100vw, 576px" /><figcaption class="wp-element-caption">Example of Tay&#8217;s Tweet (source: <a href="https://twitter.com/geraldmellor/status/712880710328139776?ref_src=twsrc%5Etfw%7Ctwcamp%5Etweetembed%7Ctwterm%5E712880710328139776%7Ctwgr%5E19f193e907faca963bca95676c139db39fd3cce6%7Ctwcon%5Es1_&amp;ref_url=https%3A%2F%2Farstechnica.com%2Finformation-technology%2F2016%2F03%2Fmicrosoft-terminates-its-tay-ai-chatbot-after-she-turns-into-a-nazi%2F">Twitter.com</a>)</figcaption></figure>
  1573.  
  1574.  
  1575.  
  1576. <h2 class="wp-block-heading">Design&nbsp;</h2>
  1577.  
  1578.  
  1579.  
  1580. <p>While we don’t often relate model or solution design to erratic model behaviors, it’s often more common than you think. By design, Tay continuously learned from external input (i.e., the environment). Among all the benign Tweets that Tay consumed from her environment were also <em>abrasive</em> Tweets. The more abrasive Tweets Tay saw, the more she learned that those were typical types of responses to Tweet.&nbsp;</p>
  1581.  
  1582.  
  1583.  
  1584. <p>This is true of any ML model. The dominant patterns influence the predictions of the ML models. Fortunately,&nbsp; it’s not necessary for ML models to learn continuously from their environment. ML models can learn from controlled data. So, Tay’s design itself was risky.&nbsp;</p>
  1585.  
  1586.  
  1587.  
  1588. <p><strong>Take note:</strong> The design of your ML models impacts how it behaves in reality. So, when designing ML systems, developers and business stakeholders should consider the different ways in which the system can fail, operate suboptimally, be breached, and adjust the design accordingly. In the end, you need a fail-safe plan.&nbsp;</p>
  1589.  
  1590.  
  1591.  
  1592. <p>In the case of Tay,&nbsp; such thinking early on would’ve made clear that not all Tweet engagements would be benign. There could be bad actors tweeting and engaging in a highly offensive manner, not far-fetched at all from reality. The realization that the bot could be consuming bad data may have stopped the team from using data from other Twitter accounts. They may also have considered consuming data from approved Twitter accounts.&nbsp;</p>
  1593.  
  1594.  
  1595.  
  1596. <blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
  1597. <p>The design of your ML models impacts how it behaves in reality. </p>
  1598. </blockquote>
  1599.  
  1600.  
  1601.  
  1602. <h2 class="wp-block-heading">Testing</h2>
  1603.  
  1604.  
  1605.  
  1606. <p>One of the key steps in the machine learning development lifecycle is <em>testing</em>—not just during development, but testing right before full deployment. I call this <em>post-development testing</em> (PDT).&nbsp;</p>
  1607.  
  1608.  
  1609.  
  1610. <figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="606" src="https://kavita-ganesan.com/wp-content/uploads/post-development-testing-1024x606.png" alt="post-development-testing" class="wp-image-5831" srcset="https://kavita-ganesan.com/wp-content/uploads/post-development-testing-1024x606.png 1024w, https://kavita-ganesan.com/wp-content/uploads/post-development-testing-300x178.png 300w, https://kavita-ganesan.com/wp-content/uploads/post-development-testing-150x89.png 150w, https://kavita-ganesan.com/wp-content/uploads/post-development-testing-768x455.png 768w, https://kavita-ganesan.com/wp-content/uploads/post-development-testing-1536x910.png 1536w, https://kavita-ganesan.com/wp-content/uploads/post-development-testing.png 1756w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>
  1611.  
  1612.  
  1613.  
  1614. <p class="has-text-align-center"><strong>The ML Development Life Cycle</strong></p>
  1615.  
  1616.  
  1617.  
  1618. <p></p>
  1619.  
  1620.  
  1621.  
  1622. <p>In the case of Tay, It’s unclear how much PDT went on before releasing the bot, but obviously, it wasn’t enough! Had Tay been subjected to different types of tweet engagements during PDT, the dangers of releasing Tay would’ve become obvious.</p>
  1623.  
  1624.  
  1625.  
  1626. <p><strong>Take note: </strong>In practice, PDT is often overlooked due to a rush to release a new feature or product. It’s often assumed that if a model works well during development, it will naturally perform well in practice. Sadly, that’s not always the case.&nbsp;So, take note that PDT is critical when it comes to AI deployment.</p>
  1627.  
  1628.  
  1629.  
  1630. <p></p>
  1631.  
  1632.  
  1633.  
  1634. <p>During PDT, you can stress test your AI solution to find points of failure. In the case of Tay, subjecting it to different types of Twitter users (e.g., trolls, benign users, and passive aggressives) could’ve surfaced risky behaviors of the bot.&nbsp; PDT can also help evaluate your solution’s impact on relevant business metrics. For example, suppose your business metric measures speed improvement in completing a particular task. PDT can give you early insights into such metrics.&nbsp;</p>
  1635.  
  1636.  
  1637.  
  1638. <blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
  1639. <p>During PDT, you can stress test your AI solution to find points of failure. PDT can also help evaluate your solution’s impact on relevant business metrics. </p>
  1640. </blockquote>
  1641.  
  1642.  
  1643.  
  1644. <h2 class="wp-block-heading">Monitoring</h2>
  1645.  
  1646.  
  1647.  
  1648. <p>Another critical component in the ML development lifecycle is monitoring after deployment. With Tay, monitoring the bot&#8217;s behavior eventually led to it being shut down within 24 hours of its release (side note: negative press also had a hand in it). If the bot hadn’t been monitored long after its release, this could’ve led to a whole lot more negative press and many more groups being offended.&nbsp;</p>
  1649.  
  1650.  
  1651.  
  1652. <p><strong>Take note: </strong>While model monitoring is often done as an afterthought, it should be prioritized before its release to end users. The initial weeks after a model’s release is the most crucial, as unpredictable behaviors not seen during testing could emerge.&nbsp;</p>
  1653.  
  1654.  
  1655.  
  1656. <blockquote class="wp-block-quote is-layout-flow wp-block-quote-is-layout-flow">
  1657. <p>The initial weeks after a model’s release is the most crucial, as unpredictable behaviors not seen during testing could emerge.&nbsp;</p>
  1658. </blockquote>
  1659.  
  1660.  
  1661.  
  1662. <p></p>
  1663.  
  1664.  
  1665.  
  1666. <h2 class="wp-block-heading">Summary</h2>
  1667.  
  1668.  
  1669.  
  1670. <p>While what went wrong with Tay may be surprising and intriguing to many, from a machine learning best practices perspective, Tay’s behavior could’ve been predicted. Tay’s environment wasn’t always positive, and she was designed to learn from that environment which led to a perfect recipe for a dangerous experiment.&nbsp;</p>
  1671.  
  1672.  
  1673.  
  1674. <p>So decisions around data, model design, testing, and monitoring are critical to every AI initiative. And this is not just the responsibility of the developers but also the business stakeholders. The more thought we put into each element, the fewer the surprises and the higher the chances of a successful initiative.&nbsp;</p>
  1675.  
  1676.  
  1677.  
  1678. <p></p>
  1679.  
  1680.  
  1681.  
  1682. <p>That’s all for now!</p>
  1683.  
  1684.  
  1685.  
  1686. <p></p>
  1687.  
  1688.  
  1689.  
  1690. <div class="inherit-container-width wp-block-group has-ast-global-color-4-background-color has-background is-layout-constrained wp-block-group-is-layout-constrained" style="border-style:dotted;border-width:1px;padding-top:10px;padding-right:10px;padding-bottom:10px;padding-left:10px"><div class="wp-block-group__inner-container">
  1691. <h2 class="wp-block-heading">Keep Learning &amp; Succeed With AI</h2>
  1692.  
  1693.  
  1694.  
  1695. <ul>
  1696. <li><strong>Join my&nbsp;<a href="https://kavita-ganesan.com/blog">AI Integrated newsletter</a>,&nbsp;</strong>which clears the AI confusion and teaches you how to successfully integrate AI to achieve profitability and growth in your business.</li>
  1697.  
  1698.  
  1699.  
  1700. <li><strong>Read  <a href="http://amazon.aibusinesscasebook.com/?utm_source=newsletter&amp;utm_medium=email&amp;utm_campaign=why_starting_without_ai_improves_outcomes_even_if_ai_is_your_goal&amp;utm_term=2022-08-19" target="_blank" rel="noreferrer noopener">The Business Case for AI</a></strong> to learn applications, strategies, and best practices to be successful with AI (select companies using the book: government agencies, automakers like Mercedes Benz, beverage makers, and e-commerce companies such as Flipkart).</li>
  1701.  
  1702.  
  1703.  
  1704. <li><a href="https://kavita-ganesan.com/work-with-me/"><strong>Work directly with me</strong></a> to improve AI understanding in your organization, accelerate AI strategy development and get meaningful outcomes from every AI initiative.</li>
  1705. </ul>
  1706. </div></div>
  1707.  
  1708.  
  1709.  
  1710. <p></p>
  1711. ]]></content:encoded>
  1712. <wfw:commentRss>https://kavita-ganesan.com/tay-twitter-bot/feed/</wfw:commentRss>
  1713. <slash:comments>0</slash:comments>
  1714. <post-id xmlns="com-wordpress:feed-additions:1">8285</post-id> </item>
  1715. <item>
  1716. <title>3 Strategic Mistakes Leaders Can Easily Avoid When Thinking About AI Integration</title>
  1717. <link>https://kavita-ganesan.com/ai-leadership-mistakes/</link>
  1718. <comments>https://kavita-ganesan.com/ai-leadership-mistakes/#respond</comments>
  1719. <dc:creator><![CDATA[Kavita Ganesan]]></dc:creator>
  1720. <pubDate>Fri, 09 Sep 2022 17:17:45 +0000</pubDate>
  1721. <category><![CDATA[AI For Business]]></category>
  1722. <category><![CDATA[AI Strategy]]></category>
  1723. <category><![CDATA[ai for leaders]]></category>
  1724. <category><![CDATA[ai in business]]></category>
  1725. <category><![CDATA[ai mistakes]]></category>
  1726. <category><![CDATA[ai strategy]]></category>
  1727. <guid isPermaLink="false">https://kavita-ganesan.com/?p=8204</guid>
  1728.  
  1729. <description><![CDATA[Rushing through AI integration can result in unintended failures. Learn 3 AI integration mistakes leaders can easily avoid to limit confusion, reduce waste, and truly reap the benefits from AI.   ]]></description>
  1730. <content:encoded><![CDATA[
  1731. <p>Several years ago, a product manager at a tech company had a <strong>data collection problem</strong>: to scrape software security vulnerability data from multiple web sources, consolidate the vulnerabilities and store them in a database.<br><br>As this was an automation problem relating to data, the product manager (PM) immediately concluded that this was a <strong><em><a href="https://kavita-ganesan.com/common-ai-problem-types-cheat-sheet/">machine learning problem</a></em></strong>. The PM then “hired” the company’s data science team to build ML models to solve the problem.&nbsp;</p>
  1732.  
  1733.  
  1734.  
  1735. <p>The data science team agreed to the <a href="https://kavita-ganesan.com/machine-learning-training-data-generation/">data collection task</a> without making any promises on “models.” They realized that their attempts to educate the PM that this <strong><em>was a simple script</em></strong> (not a sophisticated ML model) would be a losing battle as there was a big internal push to use AI, and the PM was sold on the idea.</p>
  1736.  
  1737.  
  1738.  
  1739. <p>Several weeks passed, and when the time came to “deploy” the models, there wasn’t a model to be deployed. Just a software script that would continually read specific webpages, heuristically scrape security vulnerability entries and populate them into a database.&nbsp;</p>
  1740.  
  1741.  
  1742.  
  1743. <p>Although the PM was eventually informed that no ML models were used or necessary, the scraping software was sold to the entire company as a machine learning powered security solution.&nbsp;</p>
  1744.  
  1745.  
  1746.  
  1747. <p>This is not uncommon.&nbsp;</p>
  1748.  
  1749.  
  1750.  
  1751. <p>Such <strong>confusion </strong>around AI and where it’s best employed happens more often than we think. In the case of this tech firm, the confusion didn’t do much damage as it was a small project, and the only thing wasted was the data science team’s precious time for that few weeks.&nbsp;&nbsp;</p>
  1752.  
  1753.  
  1754.  
  1755. <p>In many other situations, the damage from such miscategorization, poor understanding of AI, and the use of wrong resources can be <strong>extremely costly</strong>.</p>
  1756.  
  1757.  
  1758.  
  1759. <p>Imagine if the data collection problem above was <strong>forced to use machine learning</strong>, although unnecessary. Maintaining an ML solution costs much more than a simple software script. Plus, if the project had gone on for an entire year, the data scientists would have been paid to solve a problem that a single contracted software engineer could&#8217;ve solved. More importantly, these data scientists could’ve been working on high-impact AI initiatives.&nbsp;</p>
  1760.  
  1761.  
  1762.  
  1763. <p><br>Based on this story, let’s narrow down three strategic mistakes leaders can easily avoid to prevent confusion, reduce waste, and ensure that you’re genuinely reaping the<em> benefits from AI.</em></p>
  1764.  
  1765.  
  1766.  
  1767. <p></p>
  1768.  
  1769.  
  1770.  
  1771. <h2 class="wp-block-heading">3 Mistakes Leaders Can Avoid When Thinking About AI Integration</h2>
  1772.  
  1773.  
  1774.  
  1775. <figure class="wp-block-image aligncenter size-large"><img loading="lazy" decoding="async" width="1024" height="753" src="https://kavita-ganesan.com/wp-content/uploads/ai-leadership-mistakes-to-avoid-1024x753.png" alt="ai leadership mistakes to avoid" class="wp-image-8240" srcset="https://kavita-ganesan.com/wp-content/uploads/ai-leadership-mistakes-to-avoid-1024x753.png 1024w, https://kavita-ganesan.com/wp-content/uploads/ai-leadership-mistakes-to-avoid-300x221.png 300w, https://kavita-ganesan.com/wp-content/uploads/ai-leadership-mistakes-to-avoid-150x110.png 150w, https://kavita-ganesan.com/wp-content/uploads/ai-leadership-mistakes-to-avoid-768x565.png 768w, https://kavita-ganesan.com/wp-content/uploads/ai-leadership-mistakes-to-avoid-1536x1130.png 1536w, https://kavita-ganesan.com/wp-content/uploads/ai-leadership-mistakes-to-avoid.png 1794w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>
  1776.  
  1777.  
  1778.  
  1779. <p class="has-text-align-center">Summary of AI leadership mistakes to avoid</p>
  1780.  
  1781.  
  1782.  
  1783. <h3 class="wp-block-heading"><strong>#1: Expecting “Others” to Understand AI</strong></h3>
  1784.  
  1785.  
  1786.  
  1787. <p>In 2018, industry research firm Gartner made a bold prediction—that 85% of AI projects will “not deliver.” This is a shocking prediction, given how important AI has become in recent years.&nbsp;</p>
  1788.  
  1789.  
  1790.  
  1791. <p>One reason for this prediction is confusion among leaders on what AI is and what it can do.</p>
  1792.  
  1793.  
  1794.  
  1795. <p>It&#8217;s a given that your technical teams need to understand AI. However, executives, technology leaders, and product managers looking to make AI an integral part of their business should also be well-versed with the technology.&nbsp;</p>
  1796.  
  1797.  
  1798.  
  1799. <p>We’re not talking about getting into AI model development. Still, you need to know AI at the <em>right level </em>to be comfortable exploring the possibility of using AI to solve business problems.&nbsp;</p>
  1800.  
  1801.  
  1802.  
  1803. <p>Further, this AI knowledge can be handy in several ways.</p>
  1804.  
  1805.  
  1806.  
  1807. <ul><li><strong>Closing AI adoption gaps: </strong>Once you understand AI, you’ll start seeing the building blocks for preparing your organization for its adoption. You’ll start noticing gaps in your company infrastructure, cultural readiness, and talent pool, allowing you to develop strategies to lay the necessary foundation.</li><li><strong>Vendor selection and hiring: </strong>The AI knowledge will also help you when talking to AI vendors and job candidates, where you’ll be able to ask the right questions, separate the good from the bad, and make sound purchase and hiring decisions.</li><li><strong>Maximize investments:</strong> A breadth of AI understanding will also help you use the proper thought process and frameworks in evaluating which problems would benefit the most from AI, helping you solve the rest of the problems with alternative approaches. With this, you’re increasing the odds of seeing meaningful results from AI.</li></ul>
  1808.  
  1809.  
  1810.  
  1811. <p></p>
  1812.  
  1813.  
  1814.  
  1815. <h5 class="has-ast-global-color-4-background-color has-background wp-block-heading"><strong><span style="color: #ad2033;" class="stk-highlight">Take Action:</span></strong> If you’re a leader new to AI, <strong>start by building a foundation</strong> around understanding AI use cases, what it is, and what makes AI initiatives different from traditional software engineering. Understanding the <strong>misconceptions of the field</strong> and how to <strong>spot opportunities</strong> will also significantly help identify high-impact use cases. <br><br>You can get some of this information by reading <a href="https://www.google.com/search?q=ai+business+books">relevant books</a> as well as industry reports from big consulting firms. Attending AI leadership seminars and presentations can also be helpful. Podcasts? I wouldn’t recommend podcasts to build your foundation. The scattered nature of podcasts can be confusing and should be supplemental knowledge once you have a general foundation.</h5>
  1816.  
  1817.  
  1818.  
  1819. <h2 class="wp-block-heading">&nbsp;</h2>
  1820.  
  1821.  
  1822.  
  1823. <h3 class="wp-block-heading"><strong>#2: Expecting a Quick Financial Return from AI&nbsp;</strong></h3>
  1824.  
  1825.  
  1826.  
  1827. <p>Yes, AI has the promise of cost savings and boosting revenues. Although you may observe an immediate financial impact for some problems, in most cases, you may never see a noticeable financial impact from AI, just from a single initiative.&nbsp;</p>
  1828.  
  1829.  
  1830.  
  1831. <p>It may take multiple related initiatives coming together to change your financial trajectory, or it&#8217;s something you’ll observe over the long haul.&nbsp;</p>
  1832.  
  1833.  
  1834.  
  1835. <p>So, when it comes to the ROI of AI, you need to focus on the benefits of employing AI (in the short term and long term). Ask these questions:</p>
  1836.  
  1837.  
  1838.  
  1839. <ul><li>What <strong>immediate pain point</strong> would the AI solution ease for your organization?</li><li>What <strong>benefits </strong>would you see by addressing the pain point?</li><li>What’s the<strong> added advantage</strong> of an AI solution over a simpler one, such as a manual approach?</li></ul>
  1840.  
  1841.  
  1842.  
  1843. <p>Answering such questions will clarify why AI is necessary and guide you in tracking the right business metrics</p>
  1844.  
  1845.  
  1846.  
  1847. <p></p>
  1848.  
  1849.  
  1850.  
  1851. <h5 class="has-ast-global-color-4-background-color has-background wp-block-heading"><span style="color: #ad2033;" class="stk-highlight"><strong>Take Action:</strong> </span>When you’re looking to track the success of AI, <strong>always start with metrics that tie into its direct impact </strong>first. Once this is well underway and delivering results, track metrics that relate to the longer-term implications, which can take months or even years to observe.&nbsp;</h5>
  1852.  
  1853.  
  1854.  
  1855. <p></p>
  1856.  
  1857.  
  1858.  
  1859. <h3 class="wp-block-heading"><strong>#3: Leaving AI Completely in the Hands of Data Scientists</strong></h3>
  1860.  
  1861.  
  1862.  
  1863. <p>In the rush to adopt AI, companies often start by hiring a team of data scientists. This happens long before leaders understand AI or have an AI strategy.</p>
  1864.  
  1865.  
  1866.  
  1867. <p>These data scientists are then let loose on the data to discover potential AI opportunities. While several identified projects may be meaningful, many are better suited for publishing a research paper—not so much for creating value for the business.<br></p>
  1868.  
  1869.  
  1870.  
  1871. <p>This is not entirely the fault of the data scientists. Data scientists newly brought in to solve AI problems for the company will have a limited view of the company’s business challenges.&nbsp;</p>
  1872.  
  1873.  
  1874.  
  1875. <p>Exploring the data tells them nothing about the process and workflow inefficiencies in the company. Further, your company may not be collecting data for problems that would most benefit from AI. Instead of twiddling thumbs, these data scientists are left with no choice but to tackle “made-up” problems with relevant data.<br></p>
  1876.  
  1877.  
  1878.  
  1879. <p>On the contrary, business unit leaders, executives, and domain experts deal with the organization&#8217;s daily challenges—whether it’s customer complaints, a media coverage issue, or friction in your business processes.&nbsp;</p>
  1880.  
  1881.  
  1882.  
  1883. <p>These employees should be equally capable of spotting opportunities for automation and workflow augmentation with AI. They should feel empowered to bring relevant business problems for data scientists to solve.&nbsp;</p>
  1884.  
  1885.  
  1886.  
  1887. <p>For companies to succeed with AI, there must be a deep collaboration between business leaders, domain experts, and their technical counterparts.</p>
  1888.  
  1889.  
  1890.  
  1891. <p></p>
  1892.  
  1893.  
  1894.  
  1895. <h5 class="has-ast-global-color-4-background-color has-background wp-block-heading"><strong><span style="color: #ad2033;" class="stk-highlight">Take Action:</span></strong> When you witness <strong>process inefficiencies, repetitive manual tasks, and lagging accuracy</strong> of existing software systems, start taking note. Have your team track current baseline performance numbers and determine if the problem relates to solving a complex decision-making task. Such problems are often great candidates for AI. Involve your technical experts to help study the problem further and determine if AI is a good fit and, if not, recommend alternate approaches.&nbsp;&nbsp;</h5>
  1896.  
  1897.  
  1898.  
  1899. <p></p>
  1900.  
  1901.  
  1902.  
  1903. <h2 class="wp-block-heading">How Will You Accelerate Your AI Adoption?</h2>
  1904.  
  1905.  
  1906.  
  1907. <p>While many leaders believe that the success of AI adoption is in the excellence of their technical teams, in reality, it starts at the top.&nbsp;</p>
  1908.  
  1909.  
  1910.  
  1911. <p>Executives and functional leaders deal with the everyday challenges that the organization faces. With a good AI understanding, they’re better positioned to <strong>recognize problems </strong>that AI will solve and consequently <strong>fund impactful initiatives.</strong> This, coupled with the <strong>right expectations and success metrics</strong>, will translate to better outcomes for the organization.</p>
  1912.  
  1913.  
  1914.  
  1915. <p></p>
  1916.  
  1917.  
  1918.  
  1919. <p></p>
  1920.  
  1921.  
  1922.  
  1923. <p></p>
  1924.  
  1925.  
  1926.  
  1927. <div class="inherit-container-width wp-block-group has-ast-global-color-4-background-color has-background is-layout-constrained wp-block-group-is-layout-constrained" style="border-style:dotted;border-width:1px;padding-top:10px;padding-right:10px;padding-bottom:10px;padding-left:10px"><div class="wp-block-group__inner-container">
  1928. <h2 class="wp-block-heading">Keep Learning &amp; Succeed With AI</h2>
  1929.  
  1930.  
  1931.  
  1932. <ul>
  1933. <li><strong>Join my&nbsp;<a href="https://kavita-ganesan.com/blog">AI Integrated newsletter</a>,&nbsp;</strong>which clears the AI confusion and teaches you how to successfully integrate AI to achieve profitability and growth in your business.</li>
  1934.  
  1935.  
  1936.  
  1937. <li><strong>Read  <a href="http://amazon.aibusinesscasebook.com/?utm_source=newsletter&amp;utm_medium=email&amp;utm_campaign=why_starting_without_ai_improves_outcomes_even_if_ai_is_your_goal&amp;utm_term=2022-08-19" target="_blank" rel="noreferrer noopener">The Business Case for AI</a></strong> to learn applications, strategies, and best practices to be successful with AI (select companies using the book: government agencies, automakers like Mercedes Benz, beverage makers, and e-commerce companies such as Flipkart).</li>
  1938.  
  1939.  
  1940.  
  1941. <li><a href="https://kavita-ganesan.com/work-with-me/"><strong>Work directly with me</strong></a> to improve AI understanding in your organization, accelerate AI strategy development and get meaningful outcomes from every AI initiative.</li>
  1942. </ul>
  1943. </div></div>
  1944.  
  1945.  
  1946.  
  1947. <p></p>
  1948.  
  1949.  
  1950.  
  1951. <div class="inherit-container-width wp-block-group has-ast-global-color-2-color has-ast-global-color-4-background-color has-text-color has-background has-medium-font-size is-layout-constrained wp-block-group-is-layout-constrained" style="border-style:solid"><div class="wp-block-group__inner-container">
  1952. <div class="inherit-container-width wp-block-group has-ast-global-color-5-background-color has-background is-layout-constrained wp-block-group-is-layout-constrained"><div class="wp-block-group__inner-container">
  1953. <h2 class="wp-block-heading" style="font-style:normal;font-weight:500">Recommended Reading</h2>
  1954.  
  1955.  
  1956.  
  1957. <ul class="has-medium-font-size"><li><a href="https://kavita-ganesan.com/how-to-improve-ai-outcomes-in-business/">Even if AI is your goal, why start without it to improve AI success</a></li><li><a href="https://kavita-ganesan.com/common-ai-problem-types-cheat-sheet/">15 Common AI Problem Types</a></li></ul>
  1958. </div></div>
  1959. </div></div>
  1960. ]]></content:encoded>
  1961. <wfw:commentRss>https://kavita-ganesan.com/ai-leadership-mistakes/feed/</wfw:commentRss>
  1962. <slash:comments>0</slash:comments>
  1963. <post-id xmlns="com-wordpress:feed-additions:1">8204</post-id> </item>
  1964. <item>
  1965. <title>How Sentiment Analysis Keeps Your Brand in Check (and How to Get Started)</title>
  1966. <link>https://kavita-ganesan.com/sentiment-analysis-business-applications/</link>
  1967. <comments>https://kavita-ganesan.com/sentiment-analysis-business-applications/#respond</comments>
  1968. <dc:creator><![CDATA[Kavita Ganesan]]></dc:creator>
  1969. <pubDate>Thu, 25 Aug 2022 16:16:47 +0000</pubDate>
  1970. <category><![CDATA[AI For Business]]></category>
  1971. <category><![CDATA[AI Use Cases]]></category>
  1972. <category><![CDATA[NLP Applications]]></category>
  1973. <category><![CDATA[nlp]]></category>
  1974. <category><![CDATA[sentiment analysis]]></category>
  1975. <guid isPermaLink="false">https://kavita-ganesan.com/?p=8104</guid>
  1976.  
  1977. <description><![CDATA[We’ve all heard of sentiment analysis, but what exactly is it and what can it do for your brand, your business, and how can you get started with it?]]></description>
  1978. <content:encoded><![CDATA[
  1979. <p><em>We’ve all heard of sentiment analysis, but what exactly is it and what can it do for your brand, your business, and how can you get started with it?</em></p>
  1980.  
  1981.  
  1982.  
  1983. <p></p>
  1984.  
  1985.  
  1986. <div class="wp-block-uagb-table-of-contents uagb-toc__align-left uagb-toc__columns-1  uagb-block-df53d82c     "
  1987. data-scroll= "1"
  1988. data-offset= "30"
  1989. style=""
  1990. >
  1991. <div class="uagb-toc__wrap">
  1992. <div class="uagb-toc__title">
  1993. Table Of Contents </div>
  1994. <div class="uagb-toc__list-wrap">
  1995. <ol class="uagb-toc__list"><li class="uagb-toc__list"><a href="#what-is-sentiment-analysis" class="uagb-toc-link__trigger">What is Sentiment Analysis?</a><li class="uagb-toc__list"><a href="#why-is-sentiment-analysis-important-in-business" class="uagb-toc-link__trigger">Why is Sentiment Analysis Important in Business?</a><li class="uagb-toc__list"><a href="#how-are-businesses-using-sentiment-analysis-real-world-examples" class="uagb-toc-link__trigger">How are Businesses Using Sentiment Analysis? (Real-World Examples)</a><li class="uagb-toc__list"><a href="#how-to-get-started-with-sentiment-analysis" class="uagb-toc-link__trigger">How to Get Started with Sentiment Analysis</a><li class="uagb-toc__list"><a href="#keep-learning-from-me" class="uagb-toc-link__trigger">Keep Learning From Me:</a><li class="uagb-toc__list"><a href="#recommeded-reading" class="uagb-toc-link__trigger">Recommeded Reading</a></ol> </div>
  1996. </div>
  1997. </div>
  1998.  
  1999.  
  2000. <p></p>
  2001.  
  2002.  
  2003.  
  2004. <h2 class="wp-block-heading">What is Sentiment Analysis?</h2>
  2005.  
  2006.  
  2007.  
  2008. <p>Sentiment analysis relates to analyzing content such as social media comments, customer feedback, employee feedback, and even facial expressions in images to render sentiment orientation.&nbsp;These sentiments can be as <em>broad </em>as just saying that the specific content is from a <strong>“detractor”</strong> or <strong>“promoter,”</strong> or it can be as detailed as listing out all the <strong>emotions</strong> within the content.</p>
  2009.  
  2010.  
  2011.  
  2012. <p></p>
  2013.  
  2014.  
  2015.  
  2016. <p class="has-text-align-center"><img loading="lazy" decoding="async" src="https://lh3.googleusercontent.com/ZJTsL89jkMZcNcqFzqlFEzTAVS4xymQVo-Fca_N6X5NZERsMJW3MRcwKeFtQAuyxvQFyL33Wd_Fh_1jqPsa7bcw5d2dXeu1HYBH64NzpkeU21BGZp6NahgjbryDcSKUXt4yxJZH0ntTtX_k8yqerOcs" width="624" height="371"></p>
  2017.  
  2018.  
  2019.  
  2020. <p class="has-text-align-center">Predicting fine-grained sentiment in images</p>
  2021.  
  2022.  
  2023.  
  2024. <figure class="wp-block-image aligncenter"><img decoding="async" src="https://lh4.googleusercontent.com/y1MhZlKK3AwBAHNeP5MX6w07aETHFoYaz-eoagqm6AX8pOaKuHFpe3GFFi8lQyJpfcHeTj2L1_X1AHmVsjImCGtzUQ8Ysyh460eqzAMDleT-wnaf0-dnPdT4JEiQ_UQzSgKGBgwkjYC4MeNs8Q3SR5E" alt="sentiment analysis business application examples"/><figcaption>Predicting sentiment in text data</figcaption></figure>
  2025.  
  2026.  
  2027.  
  2028. <p class="has-text-align-center"></p>
  2029.  
  2030.  
  2031.  
  2032. <h2 class="wp-block-heading">Why is Sentiment Analysis Important in Business?</h2>
  2033.  
  2034.  
  2035.  
  2036. <p>While, on the surface, sentiment analysis can seem like a fancy class project, in actuality, it has many uses in business. Let’s look at some sentiment analysis examples applied to business problems.</p>
  2037.  
  2038.  
  2039.  
  2040. <ol><li>You can <strong>aggregate customer sentiments from free-form feedback data </strong>and determine if your customers are primarily promoters or detractors. You can then take corrective measures to gradually <em>rebuild trust with the detractors</em> and turn them into promoters.</li><li>You can <strong>keep your online platform clean and free from bullies </strong>by detecting hateful and inappropriate comments.</li><li>You can determine <strong>which employees are demotivated </strong>or about to quit based on their outlook from recent feedback, peer reviews, and manager feedback and provide a constructive path ahead for employees to succeed at the company.</li></ol>
  2041.  
  2042.  
  2043.  
  2044. <p>Overall, as you can see from these sentiment analysis examples, sentiment analysis is a versatile tool that can help you better understand employees and customers, keep platforms safe, provide customers with a better shopping and product selection experience, and learn from competitor brands. </p>
  2045.  
  2046.  
  2047.  
  2048. <p>More importantly, when you combine <em>sentiment analysis</em> with other AI-driven technologies such as <em>text summarization,</em> you can get deeper, more powerful insights.&nbsp;</p>
  2049.  
  2050.  
  2051.  
  2052. <h2 class="wp-block-heading">How are Businesses Using Sentiment Analysis? (Real-World Examples)</h2>
  2053.  
  2054.  
  2055.  
  2056. <p>Now that we know what sentiment analysis can help accomplish, let’s see how three companies are using sentiment analysis for a specific business purpose.&nbsp;</p>
  2057.  
  2058.  
  2059.  
  2060. <h3 class="wp-block-heading">GAIL</h3>
  2061.  
  2062.  
  2063.  
  2064. <p>Great Wolf Lodge (GWL), a chain of resorts and indoor water parks, has expanded its broad digital strategy by using <a href="https://www.cio.com/article/3435118/introducing-gail-great-wolf-lodges-ai-for-pinpointing-guest-sentiment.html">AI to classify customer comments based on sentiment</a>. They developed what they call the <em>Great Wolf Lodge’s Artificial Intelligence Lexicographer (GAIL)</em>.</p>
  2065.  
  2066.  
  2067.  
  2068. <p>GWL capitalizes on the concept of net promoter score (NPS) to gauge the experience of individual customers. </p>
  2069.  
  2070.  
  2071.  
  2072. <p></p>
  2073.  
  2074.  
  2075.  
  2076. <p>Instead of using an NPS score to determine customer satisfaction, GAIL determines if customers are <em>net promoter</em>s, <em>detractor</em>s, or <em>neutral parties </em>based on the free-text responses posted in monthly customer surveys. This is analogous to predicting if the customer sentiment is <em>positive</em>, <em>negative</em>, or <em>neutral</em>. GAIL essentially “reads” the comments and generates an opinion.</p>
  2077.  
  2078.  
  2079.  
  2080. <figure class="wp-block-image aligncenter size-full"><img loading="lazy" decoding="async" width="850" height="447" src="https://kavita-ganesan.com/wp-content/uploads/image-12.png" alt="sentiment analysis business application examples" class="wp-image-8110" srcset="https://kavita-ganesan.com/wp-content/uploads/image-12.png 850w, https://kavita-ganesan.com/wp-content/uploads/image-12-300x158.png 300w, https://kavita-ganesan.com/wp-content/uploads/image-12-150x79.png 150w, https://kavita-ganesan.com/wp-content/uploads/image-12-768x404.png 768w" sizes="(max-width: 850px) 100vw, 850px" /><figcaption>Detractors, promoters, and how the NPS score is computed</figcaption></figure>
  2081.  
  2082.  
  2083.  
  2084. <p>Through this effort, the company hopes to understand its guests better and improve the customer experience. For example, by analyzing comments by detractors, Great Wolf Lodge would know areas in their service that need improvement.&nbsp;</p>
  2085.  
  2086.  
  2087.  
  2088. <p>Analyzing this unstructured data manually would take far too long for humans. However, GAIL can <em>parse this data in seconds </em>and determine whether the author is a net promoter, detractor, or neutral party.</p>
  2089.  
  2090.  
  2091.  
  2092. <h3 class="wp-block-heading">Meta</h3>
  2093.  
  2094.  
  2095.  
  2096. <p>Meta—with nearly 1.7 billion daily active users—naturally has content posted on the platform that violates its rules. Among this negative content is <a href="https://www.wired.com/story/facebook-ai-hate-speech-improves-unclear/"><strong>hate speech</strong></a><strong>. </strong>Defining and detecting hate speech is one of the biggest political and technical challenges for Meta and similar platforms. Detecting hate speech is a type of sentiment analysis problem focused on content with overall negative implications.&nbsp;</p>
  2097.  
  2098.  
  2099.  
  2100. <p>Humans review the AI-flagged posts in the same way as posts reported by users. In fact, the platform removed 9.6 million pieces of content flagged as hate speech in the first quarter of 2020 alone. While the sentiment models alone may not be sufficient to control hate speech on the platform, the tool does capture a massive number of spam posts, significantly reducing the amount of manual work by humans.</p>
  2101.  
  2102.  
  2103.  
  2104. <p class="has-text-align-center"><img loading="lazy" decoding="async" width="624" height="475" src="https://lh6.googleusercontent.com/IOgGQI_H1HU69ZQOM6cIUxe0w4HGkla3hremcoHR-gt9xwog8TmcE0LdpCZwlGRyidpmJcnPWQ4B9FsY8CAm9TTvIb7ic0wqOtzVDob_VOEE-nLrPKIAKZGxZ13ZQBYd9US4J5eJzpzYZbPrDyk0CEo" alt="text categorization example"></p>
  2105.  
  2106.  
  2107.  
  2108. <p class="has-text-align-center">The volume of AI-based hate speech removal on Facebook. Source: <a href="https://www.wired.com/story/facebook-ai-hate-speech-improves-unclear/">Wired</a></p>
  2109.  
  2110.  
  2111.  
  2112. <p>Detecting which content contains hate speech is a complicated problem. AI algorithms must understand the subtle meanings in text and nuances in expressions, analyze the cultural context, and then determine whether it’s offensive without incorrectly penalizing harmless content.</p>
  2113.  
  2114.  
  2115.  
  2116. <p class="has-text-align-center"><img loading="lazy" decoding="async" alt="text classification example" src="https://lh3.googleusercontent.com/zcnfSCER59kFxzJVZUGRiTaEJW2R8cHOzuTNvYnJFqKQ7vXiWAt1gRSIuwy94i_xX54C3ZFHb0iKWRKczGcebMlsyqqf6c_CEQYbFVdC5zdthtCYAO2U4tZnGY6wzgIqw65lbN-4iN7a7giCTqhK-Ds" width="411" height="193"><br>Example hate speech. Source: <a href="https://arxiv.org/pdf/1804.04257.pdf">arxiv.org</a></p>
  2117.  
  2118.  
  2119.  
  2120. <h3 class="wp-block-heading">Ocean Spray</h3>
  2121.  
  2122.  
  2123.  
  2124. <p>When the morning juice market weakened, Ocean Spray, an agricultural cooperative of cranberry and grapefruit growers, sought a new strategy to improve sales. Ocean Spray first needed to understand consumer sentiment and behaviors around cranberry juice better so that they could innovate.</p>
  2125.  
  2126.  
  2127.  
  2128. <p>Typically such innovation is done with the help of small focus groups of 10-15 people. However, Ocean Spray decided to leverage AI-driven analysis of thousands of online conversations, such as user reviews and tweets around cranberry juice, to really<em> listen at scale.&nbsp;</em></p>
  2129.  
  2130.  
  2131.  
  2132. <p>Plus, instead of just classifying content like what Meta does, Ocean Spray leveraged <em>themes</em> and <em>opinion summaries</em> to understand consumer sentiment around specific topics. Through this analysis, Ocean Spray understood how consumers were using cranberry juice in real life, giving them ideas on how best to innovate and fill gaps in the marketplace.&nbsp;</p>
  2133.  
  2134.  
  2135.  
  2136. <p>The research surfaced unexpected customer behaviors. For example, they found that women enjoyed cranberry juice as a substitute drink without the alcohol in place of cocktails. Such insights helped them launch<a href="https://news.oceanspray.com/2017-03-2017-Sip-Back-and-Unwind-With-a-Mocktail-Moment"> two new beverage lines</a>, boosting revenues and helping them get out of an over-saturated segment of the market.</p>
  2137.  
  2138.  
  2139.  
  2140. <figure class="wp-block-image aligncenter size-large is-resized"><img loading="lazy" decoding="async" src="https://kavita-ganesan.com/wp-content/uploads/sentiment-analysis-1024x1017.png" alt="" class="wp-image-8112" width="773" height="768" srcset="https://kavita-ganesan.com/wp-content/uploads/sentiment-analysis-1024x1017.png 1024w, https://kavita-ganesan.com/wp-content/uploads/sentiment-analysis-300x298.png 300w, https://kavita-ganesan.com/wp-content/uploads/sentiment-analysis-150x150.png 150w, https://kavita-ganesan.com/wp-content/uploads/sentiment-analysis-768x763.png 768w, https://kavita-ganesan.com/wp-content/uploads/sentiment-analysis.png 1224w" sizes="(max-width: 773px) 100vw, 773px" /><figcaption>A new beverage line by Ocean Spray in direct response to understanding consumer behaviors around cranberry juice. Source: <a href="https://news.oceanspray.com/2017-03-2017-Sip-Back-and-Unwind-With-a-Mocktail-Moment">oceanspray.com</a></figcaption></figure>
  2141.  
  2142.  
  2143.  
  2144. <p></p>
  2145.  
  2146.  
  2147.  
  2148. <h2 class="wp-block-heading">How to Get Started with Sentiment Analysis</h2>
  2149.  
  2150.  
  2151.  
  2152. <p>As you’ve seen in this article, sentiment analysis has many nuances—you can detect sentiments in a sentence, paragraphs of text, and even from facial expressions in images. Further, you have various ways to leverage sentiment information—from using it for new product innovation to improving the customer experience.&nbsp;</p>
  2153.  
  2154.  
  2155.  
  2156. <p></p>
  2157.  
  2158.  
  2159.  
  2160. <p>To get started with sentiment analysis, you first need to understand your business <strong>application</strong>. Consider these questions:</p>
  2161.  
  2162.  
  2163.  
  2164. <ul><li>What would you like to know about your brand, customers, or employees? </li><li>How granular should the information be? </li><li>Do you just need sentiment information, or textual themes and summaries?</li><li><span style="background-color: var(--ast-global-color-5); font-size: 1rem;">Are you planning to integrate the solution into your dashboards or perform an independent analysis?</span></li></ul>
  2165.  
  2166.  
  2167.  
  2168. <p></p>
  2169.  
  2170.  
  2171.  
  2172. <p>Let&#8217;s take an example. Say you need to understand the general sentiment in your company’s <em>support conversations</em>. You want to learn the ongoing “tone” and “mood” of your customers. Further, you want to visualize this within your dashboards. In such a case, you&#8217;d need to employ an <em><strong>emotion classifier</strong></em> to generate predictions on <em>relevant conversations</em>. You can then leverage those sentiments in your dashboards for downstream analysis.  </p>
  2173.  
  2174.  
  2175.  
  2176. <figure class="wp-block-image aligncenter size-full"><a href="https://arxiv.org/pdf/1812.01207v1.pdf"><img loading="lazy" decoding="async" width="698" height="612" src="https://kavita-ganesan.com/wp-content/uploads/sentiment-analysis-emotion-classification.png" alt="" class="wp-image-8121" srcset="https://kavita-ganesan.com/wp-content/uploads/sentiment-analysis-emotion-classification.png 698w, https://kavita-ganesan.com/wp-content/uploads/sentiment-analysis-emotion-classification-300x263.png 300w, https://kavita-ganesan.com/wp-content/uploads/sentiment-analysis-emotion-classification-150x132.png 150w" sizes="(max-width: 698px) 100vw, 698px" /></a><figcaption>Plutchik’s Wheel of Emotions. The boxed emotions are commonly used for developing emotion classifiers. Source: arxiv.org</figcaption></figure>
  2177.  
  2178.  
  2179.  
  2180. <p></p>
  2181.  
  2182.  
  2183.  
  2184. <p>Depending on your sentiment analysis problem, in some cases, you’d have to custom build the classifiers. But for others, you can leverage off-the-shelf tools such as <a href="https://medium.com/google-cloud/sentiment-analysis-using-google-cloud-machine-learning-552be9b9c39b">Google’s Natural Language API</a> or the <a href="https://perspectiveapi.com/">Perspective API</a>.</p>
  2185.  
  2186.  
  2187.  
  2188. <p></p>
  2189.  
  2190.  
  2191.  
  2192. <p>Often, for a multi-faceted analysis, you’d have to combine <strong>off-the-shelf tools with custom pipelines and analysis </strong>to help you answer all questions for optimal decision-making. This is what one of my clients did. They combined insights from an independent off-the-shelf text analytics tool such as <strong>Netbase</strong> (extremely pricey, by the way) with custom-built pipelines for a complete market research analysis.</p>
  2193.  
  2194.  
  2195.  
  2196. <p></p>
  2197.  
  2198.  
  2199.  
  2200. <p>There are endless possibilities in how you can employ these sentiment analysis tools. But remember to let the application guide the solutions that you’ll employ.</p>
  2201.  
  2202.  
  2203.  
  2204. <p></p>
  2205.  
  2206.  
  2207.  
  2208. <p>Now, over to you. What sentiment analysis applications come to mind after reading this article? What tools will you use for your analysis? </p>
  2209.  
  2210.  
  2211.  
  2212. <p></p>
  2213.  
  2214.  
  2215.  
  2216. <h2 class="wp-block-heading">Keep Learning From Me:</h2>
  2217.  
  2218.  
  2219.  
  2220. <ul><li><strong>Join my <a href="/blog">AI Integrated newsletter</a>,&nbsp;</strong>which clears the AI confusion and teaches you how to successfully integrate AI to achieve profitability and growth in your business.</li><li><strong>Read&nbsp;&nbsp;<a href="http://amazon.aibusinesscasebook.com/?utm_source=newsletter&amp;utm_medium=email&amp;utm_campaign=why_starting_without_ai_improves_outcomes_even_if_ai_is_your_goal&amp;utm_term=2022-08-19" target="_blank" rel="noreferrer noopener">The Business Case for AI</a></strong>&nbsp;to learn applications, strategies, and best practices to be successful with AI (select companies using the book:  government agencies, automakers like Mercedes Benz, beverage makers, and e-commerce companies such as Flipkart).</li></ul>
  2221.  
  2222.  
  2223.  
  2224. <p></p>
  2225.  
  2226.  
  2227.  
  2228. <h2 class="wp-block-heading">Recommeded Reading</h2>
  2229.  
  2230.  
  2231.  
  2232. <ul><li><a href="https://kavita-ganesan.com/natural-language-processing-applications/">7 NLP Applications in Business</a></li><li><a href="https://kavita-ganesan.com/common-ai-problem-types-cheat-sheet/">List of Common AI Problem Types  in Business</a></li></ul>
  2233.  
  2234.  
  2235.  
  2236. <p></p>
  2237.  
  2238.  
  2239.  
  2240. <p></p>
  2241.  
  2242.  
  2243.  
  2244. <p>&nbsp;</p>
  2245. ]]></content:encoded>
  2246. <wfw:commentRss>https://kavita-ganesan.com/sentiment-analysis-business-applications/feed/</wfw:commentRss>
  2247. <slash:comments>0</slash:comments>
  2248. <post-id xmlns="com-wordpress:feed-additions:1">8104</post-id> </item>
  2249. <item>
  2250. <title>Even if AI is Your Goal, Why Starting Without AI Improves Outcomes</title>
  2251. <link>https://kavita-ganesan.com/how-to-improve-ai-outcomes-in-business/</link>
  2252. <comments>https://kavita-ganesan.com/how-to-improve-ai-outcomes-in-business/#respond</comments>
  2253. <dc:creator><![CDATA[Kavita Ganesan]]></dc:creator>
  2254. <pubDate>Fri, 12 Aug 2022 01:24:00 +0000</pubDate>
  2255. <category><![CDATA[AI For Business]]></category>
  2256. <category><![CDATA[AI Strategy]]></category>
  2257. <guid isPermaLink="false">https://kavita-ganesan.com/?p=8000</guid>
  2258.  
  2259. <description><![CDATA[In this article, you’ll learn why it’s sometimes wiser to start without AI, even if your goal is to integrate AI into products, services, and workflows. You'll also learn tips for handlings AI non-readiness issues. ]]></description>
  2260. <content:encoded><![CDATA[
  2261. <p>When it comes to software automation, many teams turn to&nbsp;AI&nbsp;as their potential answer.</p>
  2262.  
  2263.  
  2264.  
  2265. <p>AI&nbsp;in the form of machine learning or NLP may be an excellent solution to a problem. But did you know that the best way to&nbsp;start&nbsp;AI&nbsp;initiatives is to&nbsp;start&nbsp;with&nbsp;no&nbsp;AI&nbsp;at all?</p>
  2266.  
  2267.  
  2268.  
  2269. <p>This may seem counterintuitive, but there’s a simple reason for it.</p>
  2270.  
  2271.  
  2272.  
  2273. <p>It’s because<em>&nbsp;you may&nbsp;not&nbsp;be ready for&nbsp;AI&nbsp;as a solution</em>. There could be several missing elements that’ll prevent you from seeing success with&nbsp;AI&nbsp;if pursued prematurely.</p>
  2274.  
  2275.  
  2276.  
  2277. <p>When it comes to&nbsp;AI, it’s&nbsp;not&nbsp;far-fetched to say that several critical stars need to align to get results from initiatives from a usability perspective.</p>
  2278.  
  2279.  
  2280.  
  2281. <p>Let’s look at the reasons why it may be wiser to hold off on&nbsp;AI&nbsp;than to&nbsp;start&nbsp;with it and hit roadblocks and, later, tips for how you can eliminate those roadblocks.</p>
  2282.  
  2283.  
  2284.  
  2285. <h2 class="wp-block-heading">Why it’s Wiser to Hold Off on AI</h2>
  2286.  
  2287.  
  2288.  
  2289. <h3 class="wp-block-heading">1: You don’t yet understand the problem you’re solving</h3>
  2290.  
  2291.  
  2292.  
  2293. <p>Typically, when you’re trying to solve an existing problem with&nbsp;AI, the input, and the desired output are often well understood. You may be looking to&nbsp;AI&nbsp;to improve the accuracy of the existing solution or the speed of completing tasks.</p>
  2294.  
  2295.  
  2296.  
  2297. <p>But from my experience, a large number of problems that engineering teams and entrepreneurs are solving today are&nbsp;<em>new problems.</em>&nbsp;The problems are weakly defined, and you may&nbsp;not&nbsp;fully understand what your expected output is, let alone what you’re input into the system would be.</p>
  2298.  
  2299.  
  2300.  
  2301. <p>Take the problem of sentiment prediction. Do you know if you’re looking to predict broad overall sentiments (e.g., positive or negative) or more granular ones like 10% anger and 90% sadness on some given text? Are you looking to feed in paragraphs of text or just a single sentence or short snippets?</p>
  2302.  
  2303.  
  2304.  
  2305. <p>Yes, this is a design problem. And the right design comes from a good understanding of the problem.&nbsp;Without&nbsp;it, you’ll be battling many design dilemmas. Such design issues, along with the complexity of developing the&nbsp;AI&nbsp;systems, may require you to constantly revamp models to address design changes, introducing confusion and reducing your chances of success with&nbsp;AI.</p>
  2306.  
  2307.  
  2308.  
  2309. <h3 class="wp-block-heading">2: You may&nbsp;not&nbsp;have the necessary data</h3>
  2310.  
  2311.  
  2312.  
  2313. <p>As I repeatedly talk about in my&nbsp;<a href="https://kavita-ganesan.com/the-business-case-for-ai/#.YuQTgnbMJPY" target="_blank" rel="noreferrer noopener">book</a>,&nbsp;AI&nbsp;systems demand data. It’s&nbsp;not&nbsp;just data for training models but also data to better understand the problem you’re solving and the expected output from the system.</p>
  2314.  
  2315.  
  2316.  
  2317. <p>Often, when you have a brand new problem, this data is non-existent. Even for old problems that are being manually solved, the data may&nbsp;not&nbsp;exist or may be available in a non-accessible format. This is exactly what happened with a healthcare client. They were performing a billing annotation task for over eight years, but when came time to automate the process, the data just wasn’t there.</p>
  2318.  
  2319.  
  2320.  
  2321. <p>Without&nbsp;the right type of data, you won’t really know what problem you’re solving, let alone train a model.</p>
  2322.  
  2323.  
  2324.  
  2325. <h3 class="wp-block-heading">3: Your users may be skeptical of automation</h3>
  2326.  
  2327.  
  2328.  
  2329. <p>Let’s face it. People are suspicious of&nbsp;AI, especially those who don’t know what it is and the current state of its capabilities. The moment you talk about automation within employee workflows, some will get uncomfortable and anxious and&nbsp;start&nbsp;to worry about being replaced by the “AI&nbsp;race.”</p>
  2330.  
  2331.  
  2332.  
  2333. <p>People are also used to their preferred way of doing things. They worry about how their current “efficient” workflow will be affected by the integration of&nbsp;AI. Some think this new&nbsp;AI&nbsp;thing is just a gimmick. This is the exact problem I faced with the healthcare client I mentioned earlier. While the CEO was very enthusiastic about integrating&nbsp;AI&nbsp;in one specific workflow in their business, the employees were&nbsp;not&nbsp;enthusiastic and made that clear.</p>
  2334.  
  2335.  
  2336.  
  2337. <p>The problem with resistance to using&nbsp;AI&nbsp;is that people may&nbsp;not&nbsp;perceive the solution to be a long-term one. Further, subject matter experts who are suspicious of the automation idea may&nbsp;not&nbsp;be willing to help co-develop a working&nbsp;AI&nbsp;solution, as was the case with my healthcare client. Additional education, training, and buy-in were required to get them to see why automation would make their lives easier.&nbsp;Without&nbsp;customer buy-in,&nbsp;no&nbsp;matter how impressive the&nbsp;AI&nbsp;solution, its existence will be short-lived.</p>
  2338.  
  2339.  
  2340.  
  2341. <h4 class="wp-block-heading">So, what to give?</h4>
  2342.  
  2343.  
  2344.  
  2345. <p>Forcing an&nbsp;AI&nbsp;solution on people will&nbsp;not&nbsp;work…in the long term.</p>
  2346.  
  2347.  
  2348.  
  2349. <p>Starting&nbsp;an&nbsp;AI&nbsp;initiative&nbsp;without&nbsp;data will ensure you hit a dead end.</p>
  2350.  
  2351.  
  2352.  
  2353. <p>An ill-defined problem will require that you redesign your&nbsp;AI&nbsp;tool over and over again, and this can be expensive.</p>
  2354.  
  2355.  
  2356.  
  2357. <p>What can you do?</p>
  2358.  
  2359.  
  2360.  
  2361. <h2 class="wp-block-heading">3 Tips for Handling&nbsp;AI&nbsp;Non-Readiness</h2>
  2362.  
  2363.  
  2364.  
  2365. <p>Even if you’re&nbsp;not&nbsp;ready for&nbsp;AI&nbsp;today, here are three things you can do to eventually see significant benefits from&nbsp;AI&nbsp;for the problems you’ve been struggling with.</p>
  2366.  
  2367.  
  2368.  
  2369. <h3 class="wp-block-heading">1:&nbsp;Start&nbsp;with a manual or semi-automatic approach</h3>
  2370.  
  2371.  
  2372.  
  2373. <p>If your users are receptive to&nbsp;AI, but you don’t have the data to support the initiative, or you don’t quite understand what problem you’re solving, consider&nbsp;starting&nbsp;with a manual approach.</p>
  2374.  
  2375.  
  2376.  
  2377. <p>This means you put together a small team (e.g., virtual assistants for non-domain-specific problems) and have them manually execute the tasks while also storing the data from the manual execution.</p>
  2378.  
  2379.  
  2380.  
  2381. <p>Alternatively, if the workload is extremely high, you can consider automating the task with a less-than-ideal software automation to bring in some level of control to the task.</p>
  2382.  
  2383.  
  2384.  
  2385. <p>For example, if your virtual assistant is expected to analyze thousands of images to spot a stop sign. But you know that images with specific color distribution will&nbsp;not&nbsp;have a stop sign with 99% certainty. You can develop a simple software script to weed out such images from review, reducing the workload of your virtual assistants. There are many such possibilities to integrate simple software automation before introducing&nbsp;AI.</p>
  2386.  
  2387.  
  2388.  
  2389. <h4 class="wp-block-heading">Why does this work?</h4>
  2390.  
  2391.  
  2392.  
  2393. <ul><li>You can easily change the design of your solution until you’re comfortable.</li><li>You can keep changing the type of data you’re collecting</li><li>You can generate high-quality data for machine learning down the road</li><li>You can establish baseline metrics, which you can later compare with an&nbsp;AI-powered solution</li></ul>
  2394.  
  2395.  
  2396.  
  2397. <h3 class="wp-block-heading">2: Collect data efficiently</h3>
  2398.  
  2399.  
  2400.  
  2401. <p>If your only problem is the lack of data to develop your&nbsp;AI&nbsp;solution, there are ways to do this efficiently&nbsp;without&nbsp;completely spawning out a full data strategy.</p>
  2402.  
  2403.  
  2404.  
  2405. <p>I will&nbsp;not&nbsp;get into this in-depth in this article, as you can read my article where I talk about strategies for&nbsp;<a href="https://www.opinosis-analytics.com/blog/machine-learning-training-data/" target="_blank" rel="noreferrer noopener">generating data for your machine learning projects</a>.</p>
  2406.  
  2407.  
  2408.  
  2409. <h3 class="wp-block-heading">3: Remove adoption fears</h3>
  2410.  
  2411.  
  2412.  
  2413. <p>If your problem is well understood and you have the necessary data, but users want nothing to do with an automated solution, there’s much work to do on the cultural side of things.</p>
  2414.  
  2415.  
  2416.  
  2417. <p>You’d need to think about how to get buy-in from users, who may be your employees, customers, or even vendors.</p>
  2418.  
  2419.  
  2420.  
  2421. <p>The way to approach this is first to ask them what they think about automating specific tasks. If you sense resistance, you’d want to understand their worries and fear. This will give you a sense of what your emphasis would be when you’re trying to “sell” them a solution.</p>
  2422.  
  2423.  
  2424.  
  2425. <p>If the worry is&nbsp;<a href="https://kavita-ganesan.com/will-ai-kill-your-job/" target="_blank" rel="noreferrer noopener"><em>fear of job loss</em></a>, you can show employees how the nature of their work will change or be simplified with the integration of&nbsp;AI.</p>
  2426.  
  2427.  
  2428.  
  2429. <p>If the fear is potential rigidity in workflows, you can educate users about how you’re&nbsp;not&nbsp;just developing a solution in the dark but rather co-developing one with them (the users) to ensure that they’re happy with it and it’s truly solving a pain point.</p>
  2430.  
  2431.  
  2432.  
  2433. <h4 class="wp-block-heading">Why does this work?</h4>
  2434.  
  2435.  
  2436.  
  2437. <ul><li>By actively removing fears and seeking feedback, you’re fostering collaboration.</li><li>The more collaboration between potential consumers of&nbsp;AI, business stakeholders, designers, and developers, the better the solution and the higher the chances of&nbsp;AI&nbsp;adoption.</li></ul>
  2438.  
  2439.  
  2440.  
  2441. <h2 class="wp-block-heading">Last Word</h2>
  2442.  
  2443.  
  2444.  
  2445. <p>As you’ve seen in this article, although your business problem may be a good candidate for&nbsp;AI, you may&nbsp;not&nbsp;be ready to&nbsp;start&nbsp;with&nbsp;AI.</p>
  2446.  
  2447.  
  2448.  
  2449. <p>There’s a high likelihood that you lack the data for the initiative, may&nbsp;not&nbsp;understand the problem well, and your users may&nbsp;not&nbsp;be ready for an automated solution. The workaround to this is&nbsp;not&nbsp;to&nbsp;start&nbsp;with&nbsp;AI—but to&nbsp;start&nbsp;without&nbsp;it. Solve the foundational issues using simple but effective approaches.</p>
  2450.  
  2451.  
  2452.  
  2453. <p>That’s all for now.</p>
  2454.  
  2455.  
  2456.  
  2457. <p></p>
  2458.  
  2459.  
  2460.  
  2461. <h2 class="wp-block-heading">To Keep Learning From Me:</h2>
  2462.  
  2463.  
  2464.  
  2465. <ul><li><strong>Join my&nbsp;<a href="https://kavita-ganesan.com/blog">AI Integrated newsletter</a>,&nbsp;</strong>which clears the AI confusion and teaches you how to successfully integrate AI to achieve profitability and growth in your business.</li><li><strong>Read&nbsp;&nbsp;<a href="http://amazon.aibusinesscasebook.com/?utm_source=newsletter&amp;utm_medium=email&amp;utm_campaign=why_starting_without_ai_improves_outcomes_even_if_ai_is_your_goal&amp;utm_term=2022-08-19" target="_blank" rel="noreferrer noopener">The Business Case for AI</a></strong>&nbsp;to learn applications, strategies, and best practices to be successful with AI (get 3 free chapters <a href="https://kavita-ganesan.com/the-business-case-for-ai/">here</a>).</li><li><strong><a href="/contact-me">Send me a message</a> </strong>for a more customized roadmap and AI strategy for your business</li></ul>
  2466.  
  2467.  
  2468.  
  2469. <h2 class="wp-block-heading">Recommened Articles</h2>
  2470.  
  2471.  
  2472.  
  2473. <ul><li><a href="https://kavita-ganesan.com/will-ai-kill-your-job/">Will AI Really Kill Your Job?</a></li><li><a href="https://kavita-ganesan.com/machine-learning-training-data-generation/">5 Strategies for Generating Data for AI</a></li></ul>
  2474.  
  2475.  
  2476.  
  2477. <p></p>
  2478. ]]></content:encoded>
  2479. <wfw:commentRss>https://kavita-ganesan.com/how-to-improve-ai-outcomes-in-business/feed/</wfw:commentRss>
  2480. <slash:comments>0</slash:comments>
  2481. <post-id xmlns="com-wordpress:feed-additions:1">8000</post-id> </item>
  2482. <item>
  2483. <title>15 Common AI Problem Types</title>
  2484. <link>https://kavita-ganesan.com/common-ai-problem-types-cheat-sheet/</link>
  2485. <comments>https://kavita-ganesan.com/common-ai-problem-types-cheat-sheet/#respond</comments>
  2486. <dc:creator><![CDATA[Kavita Ganesan]]></dc:creator>
  2487. <pubDate>Fri, 29 Jul 2022 01:48:00 +0000</pubDate>
  2488. <category><![CDATA[AI For Business]]></category>
  2489. <guid isPermaLink="false">https://kavita-ganesan.com/?p=6982</guid>
  2490.  
  2491. <description><![CDATA[One of the problems business leaders face in communicating with their technical counterparts is trying to describe their AI problem. To simplify some of the communication, here are some common AI problem types.]]></description>
  2492. <content:encoded><![CDATA[
  2493. <p>One of the problems business leaders face in communicating with their technical counterparts is trying to describe their AI problem. To simplify some of the communication, here are some common AI problem types.</p>
  2494.  
  2495.  
  2496.  
  2497. <p>Try to map AI opportunities at hand to these common problem types. Note that the problem types often overlap—but that’s ok. The key is to identify problem types that most closely match the task at hand when communicating with your AI and data science experts.</p>
  2498.  
  2499.  
  2500. <div class="wp-block-uagb-table-of-contents uagb-toc__align-left uagb-toc__columns-2  uagb-block-24899452     "
  2501. data-scroll= "1"
  2502. data-offset= "30"
  2503. style=""
  2504. >
  2505. <div class="uagb-toc__wrap">
  2506. <div class="uagb-toc__title">
  2507. Table Of Contents </div>
  2508. <div class="uagb-toc__list-wrap">
  2509. <ol class="uagb-toc__list"><li class="uagb-toc__list"><a href="#common-ai-problem-types" class="uagb-toc-link__trigger">Common AI Problem Types</a><ul class="uagb-toc__list"><li class="uagb-toc__list"><a href="#1-classification" class="uagb-toc-link__trigger">1. Classification</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#2-regression" class="uagb-toc-link__trigger">2. Regression</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#3-recommendation" class="uagb-toc-link__trigger">3. Recommendation</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#4-search-relevance" class="uagb-toc-link__trigger">4. Search Relevance</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#5-information-extraction-ie" class="uagb-toc-link__trigger">5. Information Extraction (IE)</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#6-text-summarization" class="uagb-toc-link__trigger">6. Text Summarization</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#7-clustering" class="uagb-toc-link__trigger">7. Clustering</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#9-virtual-ai-assistant" class="uagb-toc-link__trigger">9. Virtual AI Assistant</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#10-sentiment-analysis" class="uagb-toc-link__trigger">10. Sentiment Analysis</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#11-object-detection" class="uagb-toc-link__trigger">11. Object Detection</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#12-document-segmentation-problem" class="uagb-toc-link__trigger">12. Document Segmentation Problem</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#13-keyword-extraction" class="uagb-toc-link__trigger">13. Keyword Extraction</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#14-speech-recognition" class="uagb-toc-link__trigger">14. Speech Recognition</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#15-machine-translation" class="uagb-toc-link__trigger">15. Machine Translation</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#summary-of-ai-problem-types" class="uagb-toc-link__trigger">Summary of AI Problem Types</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#other-articles-you-may-be-interested-in" class="uagb-toc-link__trigger">Other Articles You May Be Interested In:</a></li></ul></li><li class="uagb-toc__list"><a href="#keep-learning-succeed-with-ai" class="uagb-toc-link__trigger">Keep Learning &amp; Succeed With AI</a></ul></ol> </div>
  2510. </div>
  2511. </div>
  2512.  
  2513.  
  2514. <p></p>
  2515.  
  2516.  
  2517.  
  2518. <h2 class="wp-block-heading" id="0-common-ai-problem-types">Common AI Problem Types</h2>
  2519.  
  2520.  
  2521.  
  2522. <h3 class="wp-block-heading" id="1-1-classification-"><strong>1. Classification </strong></h3>
  2523.  
  2524.  
  2525.  
  2526. <p>A <strong>classification</strong> problem is about assigning one or more categories to a document, product, person, or image—essentially anything. Examples include:</p>
  2527.  
  2528.  
  2529.  
  2530. <ul>
  2531. <li>Categorizing incoming support tickets by relevant topics</li>
  2532.  
  2533.  
  2534.  
  2535. <li><a href="https://www.opinosis-analytics.com/blog/ai-in-manufacturing-examples" data-type="post" data-id="14192">Classifying images of silicon wafers </a>as containing defects or no defects</li>
  2536. </ul>
  2537.  
  2538.  
  2539.  
  2540. <div class="wp-block-image">
  2541. <figure class="aligncenter size-large is-resized"><img loading="lazy" decoding="async" class="wp-image-10572" src="https://www.opinosis-analytics.com/wp-content/uploads/2020/07/big_data_strategy_ticket_routing-1024x717.png" alt="Big data strategy" width="536" height="375">
  2542. <figcaption>Example of support ticket classification</figcaption>
  2543. </figure>
  2544. </div>
  2545.  
  2546.  
  2547.  
  2548. <h3 class="wp-block-heading" id="2-2-regression-"><strong>2. Regression</strong></h3>
  2549.  
  2550.  
  2551.  
  2552. <p>A <strong>regression problem</strong> is about estimating <em>numerical</em> values given some input. For example, trying to predict the number of months before a machine needs service given the conditions of the current machine, or predicting how specific drug dosage affects blood pressure.&nbsp;</p>
  2553.  
  2554.  
  2555.  
  2556. <div class="wp-block-image">
  2557. <figure class="aligncenter size-full"><img loading="lazy" decoding="async" class="wp-image-14923" src="https://www.opinosis-analytics.com/wp-content/uploads/2021/12/machine-learning-regression.png" alt="" width="500" height="337">
  2558. <p>&nbsp;</p>
  2559. <figcaption>Predicting a person’s weight given their height—a regression problem. Source: <a href="https://online.stat.psu.edu/stat500/book/export/html/478" target="_blank" rel="noreferrer noopener">stat.psu.edu</a></figcaption>
  2560. </figure>
  2561. </div>
  2562.  
  2563.  
  2564.  
  2565. <h3 class="wp-block-heading" id="3-3-recommendation-"><strong>3. Recommendation</strong></h3>
  2566.  
  2567.  
  2568.  
  2569. <p>A <strong>r</strong><strong style="font-size: 1rem;">ecommendation problem </strong><span style="font-size: 1rem;">is about providing personalized content or products to a group of people.&nbsp;</span>Examples include:</p>
  2570.  
  2571.  
  2572.  
  2573. <ul>
  2574. <li>Product recommendation</li>
  2575.  
  2576.  
  2577.  
  2578. <li>Recommendations on who to follow</li>
  2579.  
  2580.  
  2581.  
  2582. <li>Recommendations on jobs to apply for</li>
  2583.  
  2584.  
  2585.  
  2586. <li>Recommendations on articles to read</li>
  2587. </ul>
  2588.  
  2589.  
  2590.  
  2591. <div class="wp-block-image">
  2592. <figure class="aligncenter size-large is-resized"><img loading="lazy" decoding="async" class="wp-image-14926" src="https://www.opinosis-analytics.com/wp-content/uploads/2021/12/topics-to-follow-—-recommendations-1024x655.png" alt="" width="700" height="448">
  2593. <p>&nbsp;</p>
  2594. <figcaption>Recommendations of topics to follow on Twitter. Source: twitter.com</figcaption>
  2595. </figure>
  2596. </div>
  2597.  
  2598.  
  2599.  
  2600. <h3 class="wp-block-heading" id="4-4-search-relevance-"><strong>4. Search Relevance</strong></h3>
  2601.  
  2602.  
  2603.  
  2604. <p>A <strong>search relevance</strong> problem is about <span style="font-size: 1rem;">improving the rankings of search results shown to users.</span> Often search relevance improvement starts with the analysis of search logs to diagnose problems using hard data. Search improvement may or may not require heavy use of machine learning.</p>
  2605.  
  2606.  
  2607.  
  2608. <h3 class="wp-block-heading" id="5-5-information-extraction-ie"><strong>5. Information Extraction</strong> (IE)</h3>
  2609.  
  2610.  
  2611.  
  2612. <p>An<strong> information extraction</strong> problem is about extracting specific information from large volumes of text data. One of the goals of information extraction is to fill templates using data extracted from raw text. Examples include:</p>
  2613.  
  2614.  
  2615.  
  2616. <ul>
  2617. <li>Extracting patient symptoms from large volumes of clinical notes</li>
  2618.  
  2619.  
  2620.  
  2621. <li>Extracting pertinent information from large volumes of legal case files</li>
  2622.  
  2623.  
  2624.  
  2625. <li>Pre-populating a candidate application form / database by extracting pertinent information from resumes</li>
  2626. </ul>
  2627.  
  2628.  
  2629.  
  2630. <h3 class="wp-block-heading" id="6-6-text-summarization-"><strong>6. Text Summarization</strong></h3>
  2631.  
  2632.  
  2633.  
  2634. <p><strong>Text summarization </strong>is about creating an accurate synopsis of a longer document or a set of documents.&nbsp;</p>
  2635.  
  2636.  
  2637.  
  2638. <div class="wp-block-image">
  2639. <figure class="aligncenter size-large is-resized"><img loading="lazy" decoding="async" class="wp-image-14941" src="https://www.opinosis-analytics.com/wp-content/uploads/2021/12/review-summarization-1024x609.png" alt="" width="599" height="356">
  2640. <p>&nbsp;</p>
  2641. <figcaption>An example of review summarization</figcaption>
  2642. </figure>
  2643. </div>
  2644.  
  2645.  
  2646.  
  2647. <h3 class="wp-block-heading" id="7-7-clustering-"><strong>7. Clustering</strong></h3>
  2648.  
  2649.  
  2650.  
  2651. <p><strong>Clustering</strong>&nbsp;is about grouping people, content, documents, topics and etc&nbsp;based on some logical structure—for example, grouping customers by their purchase behavior.&nbsp;</p>
  2652.  
  2653.  
  2654.  
  2655. <p>More generally,&nbsp;clustering divides data points into a number of fixed (or dynamic)&nbsp;groups such that the data points in one group are more similar to each other&nbsp;than data points in other groups.&nbsp;</p>
  2656.  
  2657.  
  2658.  
  2659. <h3 class="wp-block-heading" id="8-9-virtual-ai-assistant-"><strong>9. Virtual AI Assistant</strong></h3>
  2660.  
  2661.  
  2662.  
  2663. <p><strong>Virtual AI Assistant </strong>is used for having short conversations with humans to complete simple tasks. Examples include:</p>
  2664.  
  2665.  
  2666.  
  2667. <ul>
  2668. <li>Providing answers to common customer questions without human involvement</li>
  2669.  
  2670.  
  2671.  
  2672. <li>Using text messages to check bank balances or to get a refund</li>
  2673. </ul>
  2674.  
  2675.  
  2676.  
  2677. <p>Alexa and Siri are examples of virtual AI assistants.</p>
  2678.  
  2679.  
  2680.  
  2681. <h3 class="wp-block-heading" id="9-10-sentiment-analysis-"><strong>10. Sentiment Analysis</strong></h3>
  2682.  
  2683.  
  2684.  
  2685. <p><strong style="font-size: 1rem;"><a href="https://kavita-ganesan.com/sentiment-analysis-business-applications/#.Y0C-Z-zMJhE">Sentiment Analysis</a> </strong><span style="font-size: 1rem;">is about discovering emotions in text data such as user reviews, social media comments, and surveys. For example, automatically detecting customer sentiment in social media channels after a new product release.</span> Sentiment analysis can even be applied to images for understanding emotions from&nbsp;facial expressions.</p>
  2686.  
  2687.  
  2688.  
  2689. <h3 class="wp-block-heading" id="10-11-object-detection-"><strong>11. Object Detection</strong></h3>
  2690.  
  2691.  
  2692.  
  2693. <p><strong style="font-size: 1rem;">Object detection problem </strong><span style="font-size: 1rem;">is about discovering specific objects such as humans, buildings, or cars in digital images and videos.</span></p>
  2694.  
  2695.  
  2696.  
  2697. <div class="wp-block-image">
  2698. <figure class="aligncenter size-large"><img loading="lazy" decoding="async" class="wp-image-14917" src="https://www.opinosis-analytics.com/wp-content/uploads/2021/12/object-detection-1024x538.jpeg" alt="" width="1024" height="538">
  2699. <p>&nbsp;</p>
  2700. <figcaption>Example of object detection—automatically detecting people, traffic lights, personal accessories, and vehicles given an image. Source: <a href="https://infotech.report/guest-articles/real-time-object-detection-in-video-with-intro-to-yolo-v3" target="_blank" rel="noreferrer noopener">infotech.report</a></figcaption>
  2701. </figure>
  2702. </div>
  2703.  
  2704.  
  2705.  
  2706. <h3 class="wp-block-heading" id="11-12-document-segmentation-problem-"><strong>12. Document Segmentation Problem</strong></h3>
  2707.  
  2708.  
  2709.  
  2710. <p><strong>Document segmentation</strong> is about trying to subdivide documents into meaningful parts. For example, segmenting unstructured clinical texts to extract their past medical history and family history.&nbsp;</p>
  2711.  
  2712.  
  2713.  
  2714. <div class="wp-block-image">
  2715. <figure class="aligncenter size-large"><img loading="lazy" decoding="async" class="wp-image-14915" src="https://www.opinosis-analytics.com/wp-content/uploads/2021/12/document-segmentation-1024x677.png" alt="" width="1024" height="677">
  2716. <p>&nbsp;</p>
  2717. <figcaption>Example segmentation of a clinical record</figcaption>
  2718. </figure>
  2719. </div>
  2720.  
  2721.  
  2722.  
  2723. <h3 class="wp-block-heading" id="12-13-keyword-extraction-"><strong>13. Keyword Extraction</strong></h3>
  2724.  
  2725.  
  2726.  
  2727. <p><strong>Keyword extraction</strong> <span style="font-size: 1rem;">is about identifying terms that best describe the subject of a document—for example, extracting keywords from large volumes of legal documents to understand the themes of discussion.</span></p>
  2728.  
  2729.  
  2730.  
  2731. <p>While there are many keyword extraction tools readily available (including open-source tools), you’d need to ensure that these work on your data. Often, keyword extraction tools are best customized or custom-developed.</p>
  2732.  
  2733.  
  2734.  
  2735. <h3 class="wp-block-heading" id="13-14-speech-recognition-"><strong>14. Speech Recognition</strong></h3>
  2736.  
  2737.  
  2738.  
  2739. <p>Speech recognition, also known as speech-to-text (STT) or automatic speech recognition (ASR), is about having a computer program understand and transform spoken language into a written format (or text).</p>
  2740.  
  2741.  
  2742.  
  2743. <p>Speech recognition is often used to complete downstream tasks. For example, speech recognition is used behind the scenes to surface relevant search results when you use Google voice search. Specifically, your speech is translated into a human-readable format, and that generated text is used to surface relevant search results.</p>
  2744.  
  2745.  
  2746.  
  2747. <p>Many vendors offer speech recognition solutions, and therefore, speech recognition systems rarely need to be developed from scratch. Of course, these systems will benefit from customization for the target data.</p>
  2748.  
  2749.  
  2750.  
  2751. <h3 class="wp-block-heading" id="14-15-machine-translation-"><strong>15. Machine Translation</strong></h3>
  2752.  
  2753.  
  2754.  
  2755. <p><a href="https://www.opinosis-analytics.com/blog/nlp-applications/#3-machine-translation">Machine translation</a> is the automatic software translation of text from one language to another. For example, translating English sentences into German with reasonable accuracy.&nbsp;Machine translation programs rarely need to be developed from scratch but may benefit from customization.</p>
  2756.  
  2757.  
  2758.  
  2759. <p>Machine translation is used for many purposes, including:</p>
  2760.  
  2761.  
  2762.  
  2763. <ul>
  2764. <li>Localizing website text for a particular country</li>
  2765.  
  2766.  
  2767.  
  2768. <li>Customer support conversations across countries</li>
  2769.  
  2770.  
  2771.  
  2772. <li>Understanding documents written in a different language</li>
  2773.  
  2774.  
  2775.  
  2776. <li>&nbsp;</li>
  2777. </ul>
  2778.  
  2779.  
  2780.  
  2781. <h3 class="wp-block-heading" id="15-summary-of-ai-problem-types">Summary of AI Problem Types</h3>
  2782.  
  2783.  
  2784.  
  2785. <p>In this short guide, we discussed 15 common AI problems types—that often overlap. For example, you can apply a classification approach for sentiment analysis. However, the key is to identify the problem type that best fits the task at hand. It doesn’t have to be 100% accurate—it’s just semantics. You can continually refine these definitions with the help of your AI experts.</p>
  2786.  
  2787.  
  2788.  
  2789. <p></p>
  2790.  
  2791.  
  2792.  
  2793. <p></p>
  2794.  
  2795.  
  2796.  
  2797. <div class="inherit-container-width wp-block-group has-ast-global-color-4-background-color has-background is-layout-constrained wp-block-group-is-layout-constrained" style="border-style:dotted;border-width:1px;padding-top:10px;padding-right:10px;padding-bottom:10px;padding-left:10px"><div class="wp-block-group__inner-container">
  2798. <h2 class="wp-block-heading">Keep Learning &amp; Succeed With AI</h2>
  2799.  
  2800.  
  2801.  
  2802. <ul>
  2803. <li><strong>Join my&nbsp;<a href="https://kavita-ganesan.com/blog">AI Integrated newsletter</a>,&nbsp;</strong>which clears the AI confusion and teaches you how to successfully integrate AI to achieve profitability and growth in your business.</li>
  2804.  
  2805.  
  2806.  
  2807. <li><strong>Read  <a href="http://amazon.aibusinesscasebook.com/?utm_source=newsletter&amp;utm_medium=email&amp;utm_campaign=why_starting_without_ai_improves_outcomes_even_if_ai_is_your_goal&amp;utm_term=2022-08-19" target="_blank" rel="noreferrer noopener">The Business Case for AI</a></strong> to learn applications, strategies, and best practices to be successful with AI (select companies using the book: government agencies, automakers like Mercedes Benz, beverage makers, and e-commerce companies such as Flipkart).</li>
  2808.  
  2809.  
  2810.  
  2811. <li><a href="https://kavita-ganesan.com/work-with-me/"><strong>Work directly with me</strong></a> to improve AI understanding in your organization, accelerate AI strategy development and get meaningful outcomes from every AI initiative.</li>
  2812. </ul>
  2813. </div></div>
  2814.  
  2815.  
  2816.  
  2817. <p></p>
  2818.  
  2819.  
  2820.  
  2821. <h3 class="wp-block-heading">Other Articles You May Be Interested In:</h3>
  2822.  
  2823.  
  2824.  
  2825. <ul>
  2826. <li><a href="https://kavita-ganesan.com/tay-twitter-bot/#.Y1nTYOzMJhE">What Happened to Tay the Twitter Bot that Turned Racist?</a></li>
  2827.  
  2828.  
  2829.  
  2830. <li><a href="https://kavita-ganesan.com/ai-leadership-mistakes/">3 Mistakes Leaders Should Avoid When Integrating AI</a></li>
  2831. </ul>
  2832. ]]></content:encoded>
  2833. <wfw:commentRss>https://kavita-ganesan.com/common-ai-problem-types-cheat-sheet/feed/</wfw:commentRss>
  2834. <slash:comments>0</slash:comments>
  2835. <post-id xmlns="com-wordpress:feed-additions:1">6982</post-id> </item>
  2836. <item>
  2837. <title>4 Business AI Predictions for 2022-2023</title>
  2838. <link>https://kavita-ganesan.com/ai-predictions/</link>
  2839. <comments>https://kavita-ganesan.com/ai-predictions/#respond</comments>
  2840. <dc:creator><![CDATA[Kavita Ganesan]]></dc:creator>
  2841. <pubDate>Tue, 28 Jun 2022 23:59:21 +0000</pubDate>
  2842. <category><![CDATA[AI For Business]]></category>
  2843. <category><![CDATA[AI Strategy]]></category>
  2844. <guid isPermaLink="false">https://kavita-ganesan.com/?p=7159</guid>
  2845.  
  2846. <description><![CDATA[Having worked with numerous clients, big and small in the integration of AI, here are 4 Business AI predictions in 2022 and beyond.]]></description>
  2847. <content:encoded><![CDATA[
  2848. <p>AI as a field, especially in the context of real-world applications, has been progressing at a rapid pace. This has been further accelerated by the onset of the COVID-19 pandemic. In fact, AI was found to be the<a href="https://www.tvtechnology.com/news/artificial-intelligence-was-the-most-discussed-technology-of-2021"> most discussed technology</a> in 2021. Having worked with numerous clients, big and small, in the integration of AI, here are 4 Business AI predictions in 2022 and beyond.</p>
  2849.  
  2850.  
  2851.  
  2852. <h2 class="wp-block-heading"><strong>#1 Many more “deployed” models</strong></h2>
  2853.  
  2854.  
  2855.  
  2856. <p>In the recent past, businesses have had trouble operationalizing models and have not seen the value in many of their AI initiatives. In fact, <a href="https://www.gartner.com/en/newsroom/press-releases/2020-10-19-gartner-identifies-the-top-strategic-technology-trends-for-2021">Gartner’s research </a>shows that <em>only</em> 53% of AI initiatives make it from prototype to production.</p>
  2857.  
  2858.  
  2859.  
  2860. <p>However, with the recent growth in the number of ML deployment platforms, low-code and no-code AI development services, and AI vendors providing out-of-the-box AI solutions, such as speech recognition, sentiment analysis, and ticket routing, we will start witnessing many more real-world applications of AI.</p>
  2861.  
  2862.  
  2863.  
  2864. <h2 class="wp-block-heading"><strong>#2 The rise of problem-focused practitioners</strong></h2>
  2865.  
  2866.  
  2867.  
  2868. <p>While the focus of AI as a field has been strongly techniques-focused, business practitioners are slowly beginning to realize that the latest and greatest techniques <em>may not necessarily work</em> from a practical standpoint for many use cases. There is a fundamental difference between techniques that are still in “research mode” versus those that have been tried and tested.</p>
  2869.  
  2870.  
  2871.  
  2872. <p>Even though in the past, data scientists have taken pride in using the most sophisticated techniques to demonstrate expertise, data scientists are becoming more <em>problem-focused.</em> They’re adopting simpler techniques that will have a higher chance of success for real-world use cases. This change in thinking will improve the outcomes of many AI initiatives.</p>
  2873.  
  2874.  
  2875.  
  2876. <h2 class="wp-block-heading"><strong>#3 </strong><strong><em>Accountable AI</em></strong><strong> will gain steam</strong></h2>
  2877.  
  2878.  
  2879.  
  2880. <p>With all the Facebook drama and regulations around AI still being limited and “in the talks”, more and more businesses are becoming aware of the problems with algorithms. Unless algorithms are used responsibly with downstream and long-term impact in mind, it’s clear that they can do significant damage. To that end, I’m seeing many data scientists and leaders talk about the ethics and implications of algorithms.</p>
  2881.  
  2882.  
  2883.  
  2884. <p>I believe that informal conversations around AI ethics are just the beginning. Some of these discussions will turn into action where businesses will start having their <em>own committees</em> to vet AI systems rigorously. Some will even study potential societal impact before the release of specific technologies—regardless of regulations. Regulations will only add another layer of oversight, especially for companies that have yet to take AI ethics and accountability seriously.</p>
  2885.  
  2886.  
  2887.  
  2888. <h2 class="wp-block-heading"><strong>#4 </strong><strong><em>Underserved </em></strong><strong>industries will start adopting AI</strong></h2>
  2889.  
  2890.  
  2891.  
  2892. <p>AI has largely been a winning tool for large tech companies. But the stress caused by the COVID-19 pandemic, such as the shrinking labor force participation, workers not wanting to work on the front lines, social distancing requirements and others have forced many companies that used to rely heavily on the availability of workers to <em>rethink </em>their business models.</p>
  2893.  
  2894.  
  2895.  
  2896. <p>From allowing employees to work remotely, to automating away jobs that no human worker wants to do, are all options on the table for serious consideration. As part of this, AI will be a critical player in changing businesses forever.&nbsp; Hospitals, manufacturers, and restaurant chains will all be at the crossroads of technology transformations.</p>
  2897.  
  2898.  
  2899.  
  2900. <h1 class="wp-block-heading"><strong>Summary</strong></h1>
  2901.  
  2902.  
  2903.  
  2904. <p>While AI within business applications was a new concept several years ago, as you can see from these predictions that it’s becoming more mainstream and achievable. The growth of AI deployment and development platforms, mindset changes, and stress caused by the COVID-19 pandemic will all be true catalysts in making AI a reality for businesses.</p>
  2905.  
  2906.  
  2907.  
  2908. <p>The post <a href="https://www.opinosis-analytics.com/blog/2022-2023-business-ai-predictions" rel="nofollow">4 Business AI Predictions for 2022-2023</a> appeared first on <a href="https://www.opinosis-analytics.com" rel="nofollow">Opinosis Analytics</a>.</p>
  2909.  
  2910.  
  2911.  
  2912. <p><a href="https://www.opinosis-analytics.com/blog/2022-2023-business-ai-predictions" target="_blank" rel="noopener">4 Business AI Predictions for 2022-2023</a></p>
  2913. ]]></content:encoded>
  2914. <wfw:commentRss>https://kavita-ganesan.com/ai-predictions/feed/</wfw:commentRss>
  2915. <slash:comments>0</slash:comments>
  2916. <post-id xmlns="com-wordpress:feed-additions:1">7159</post-id> </item>
  2917. <item>
  2918. <title>What is AI? And what does it mean for me and the world?</title>
  2919. <link>https://kavita-ganesan.com/what-is-ai-and-what-does-it-mean-for-me-and-the-world/</link>
  2920. <comments>https://kavita-ganesan.com/what-is-ai-and-what-does-it-mean-for-me-and-the-world/#respond</comments>
  2921. <dc:creator><![CDATA[Kavita Ganesan]]></dc:creator>
  2922. <pubDate>Tue, 24 May 2022 14:20:43 +0000</pubDate>
  2923. <category><![CDATA[Podcast Interview]]></category>
  2924. <guid isPermaLink="false">https://kavita-ganesan.com/?p=7453</guid>
  2925.  
  2926. <description><![CDATA[What is AI? And what does it mean for me and the world? A Podcast Interview: Kavita Ganesan &#038; David Gee. ]]></description>
  2927. <content:encoded><![CDATA[
  2928. <p><em>Listen to my interview with the  <strong><a href="https://www.audible.com/pd/Insatiably-Curious-Podcast-Podcast/B08JJN4W7Z">Insatiably Curious Podcast</a> </strong>host, David Gee.</em> <em>Transcript of the podcast is as below.</em></p>
  2929.  
  2930.  
  2931.  
  2932. <p>00:07</p>
  2933.  
  2934.  
  2935.  
  2936. <p>Welcome to the <strong>Insatiably Curious Podcast</strong>, where we invite lifelong learners to join us on a personal and professional journey. Now here to inform, entertain and enlighten, while always keeping it interesting from our nation&#8217;s capital. It&#8217;s your host, David Gee.</p>
  2937.  
  2938.  
  2939.  
  2940. <p><strong>David Gee&nbsp; </strong>00:26</p>
  2941.  
  2942.  
  2943.  
  2944. <p>Joining us today so glad to have her, Kavita Ganesan&#8230; She is the author of <strong><em>&#8220;The Business Case for AI: A Leader&#8217;s Guide to AI Strategies, Best Practices &amp; Real-World Applications.&#8221;</em></strong> Welcome to the show, Kavita.</p>
  2945.  
  2946.  
  2947.  
  2948. <p><strong>Kavita Ganesan&nbsp; </strong>00:40</p>
  2949.  
  2950.  
  2951.  
  2952. <p>Yes, thank you for having me, David.</p>
  2953.  
  2954.  
  2955.  
  2956. <p><strong>David Gee&nbsp; </strong>00:41</p>
  2957.  
  2958.  
  2959.  
  2960. <p>So one of the things when we have broad complicated topics, and I certainly think this qualifies&#8230; I like to kind of set the landscape or the ground rules a little bit to make sure we&#8217;re talking about the same thing or that we even know, in some cases, what we are talking about it.</p>
  2961.  
  2962.  
  2963.  
  2964. <p>So we&#8217;re talking about Artificial Intelligence, AI, how it informs the kinds of decisions we can make it work. But why don&#8217;t you give us the layman&#8217;s definition of what it is we&#8217;re talking about, and maybe second to that the difference between how you might use it in your computer science lab in an academic or research setting and how I might use it at my office or IBM or something like that.</p>
  2965.  
  2966.  
  2967.  
  2968. <p><strong>Kavita Ganesan&nbsp; </strong>01:33</p>
  2969.  
  2970.  
  2971.  
  2972. <p>Yes, so AI is all about trying to mimic human decision making, within a computer. And using software programs. And the way AI systems today work is by learning from data. So let&#8217;s take a credit card. Let&#8217;s say you&#8217;re trying to detect fraudulent transactions, credit card transactions. So the way that AI systems today learn is by looking at 1000s of different examples of what makes a transaction fraudulent, or non-fraudulent. And then it mines the patterns [phonetic 02:09] from that. And then the next time it sees a new transaction, it then decides, hey, this seems suspicious. So it might be fraudulent. So that&#8217;s how systems today learn. But historically, they have been very rules based. And in the future, it may not even be data dependent anymore.</p>
  2973.  
  2974.  
  2975.  
  2976. <p>So right now it&#8217;s highly data dependent. And from a business perspective, AI systems are very good in improving efficiency of workflows. So let&#8217;s say, right now, your customer service agent is manually routing tickets to the appropriate teams to get things resolved. So if you put an AI system there, it can do that very efficiently, 24 hours a day, and maybe even more accurately than your human agent.</p>
  2977.  
  2978.  
  2979.  
  2980. <p>But from a research perspective, in a research lab, that&#8217;s not how we look at things, we are not looking at what benefits that can be to a business. So we are thinking about how can we get better? How can technique-2 become better than technique-1. So we are always looking at incremental improvements, either through better data or better techniques. So we&#8217;re always trying to beat the state of the art. So it&#8217;s kind of different, what happens in the research world versus what&#8217;s happening in the business world. And the business we have to be completely focused on the applications of it, how it&#8217;s going to help us.</p>
  2981.  
  2982.  
  2983.  
  2984. <p><strong>David Gee&nbsp; </strong>03:40</p>
  2985.  
  2986.  
  2987.  
  2988. <p>There&#8217;s probably not a day that goes by that I don&#8217;t come across AI and in Washington Post, New York Times, Wall Street Journal, you know, whatever your source of news is. It&#8217;s certainly on the minds of business leaders today, is it currently in the state that we use it today as it is a kind of the purview of large corporations, IBM&#8217;s and Googles and in Tesla&#8217;s, or are you seeing the use of AI filtered down to more medium sized businesses or even in some cases, small businesses?</p>
  2989.  
  2990.  
  2991.  
  2992. <p><strong>Kavita Ganesan&nbsp; </strong>04:24</p>
  2993.  
  2994.  
  2995.  
  2996. <p>So there are two groups that I see, that have really embraced AI, and that&#8217;s the large corporations. And that&#8217;s specifically on the tech sector, not in other industries, and startups&#8230;. This AI startup are very good using AI and they&#8217;re very efficient because they&#8217;re small, they&#8217;re nimble, they know how to adopt new technologies and just run with it. And then the large corporations on the tech side, they are already very AI driven. Their infrastructure is set up for AI. So these two groups are running fast with AI but I think that&#8217;s the group in between the midsize businesses, they are thinking about AI, but they just don&#8217;t know how to get started. Because there&#8217;s so much of confusion in the media, like what&#8217;s happening in research gets overstated as the current capabilities.</p>
  2997.  
  2998.  
  2999.  
  3000. <p><strong>David Gee&nbsp; </strong>05:16</p>
  3001.  
  3002.  
  3003.  
  3004. <p>In your book, you talk about some of the myths, conceptions and the myths around AI that we should all be aware of&#8230; Why don&#8217;t you specifically outline a couple of them or predominant ones?</p>
  3005.  
  3006.  
  3007.  
  3008. <p><strong>Kavita Ganesan&nbsp; </strong>05:30</p>
  3009.  
  3010.  
  3011.  
  3012. <p>Yes, sure. So the first myth that people think is that they need to use the latest and greatest technique that the media is talking about. But really, the latest and greatest techniques are very still in the r&amp;d phase. And they may not fit in within your infrastructure, you may have an old infrastructure that can maybe take in basic computer algorithms, not something sophisticated that needs GPUs, and TPUs. And you have to keep in mind that AI has been there since the 1940s. So the techniques are already very old, it&#8217;s only become popular now because of the computation power that we have. So using any one of those techniques that can benefit your business, is a good technique. So not to worry about what&#8217;s being discussed in the media.</p>
  3013.  
  3014.  
  3015.  
  3016. <p><strong>David Gee&nbsp; </strong>06:20</p>
  3017.  
  3018.  
  3019.  
  3020. <p>I don&#8217;t necessarily want to make this a history lesson, but you just told me something I absolutely was not aware of. And that is 7 decades give or take of AI. So without supercomputers and the computational power that we have today, how was AI used in the 1940s, the 1950s, I&#8217;m fascinated by that.</p>
  3021.  
  3022.  
  3023.  
  3024. <p><strong>Kavita Ganesan&nbsp; </strong>06:44</p>
  3025.  
  3026.  
  3027.  
  3028. <p>Yes, so back in the days, it was like heavily rules base, you have to encode human knowledge in the form of specific rules. And they also had started neural networks research long ago, but that research stopped because insufficient computation power. And then he picked up again, I think, around 2011, when big data became a thing, then we had lots of faster computation power, and then it just accelerated from that. And neural networks now has become deep learning. And that&#8217;s a big field of study now.</p>
  3029.  
  3030.  
  3031.  
  3032. <p><strong>David Gee&nbsp; </strong>07:19</p>
  3033.  
  3034.  
  3035.  
  3036. <p>You talk again, in your book about the 5 basic pillars of AI preparation and AI landscape, why don&#8217;t you go into a little bit of those, if you would, please.</p>
  3037.  
  3038.  
  3039.  
  3040. <p><strong>Kavita Ganesan&nbsp; </strong>07:32</p>
  3041.  
  3042.  
  3043.  
  3044. <p>Yes, so given how AI systems today learn, like they heavily dependent on data. So if you&#8217;re not already collecting data, or if your processes are still paper based, then data infrastructure is a big pillar in your AI preparation. And you don&#8217;t have to start off fancy, you just have to make sure that you&#8217;re doing the basics to start with, like, if you&#8217;re using paper processes, why not shift to Excel. If you&#8217;re not collecting data, think about where, which are the areas that AI could benefit, and start collecting data in those areas. So that&#8217;s one huge pillar, the data infrastructure pillar, then there is the cultural pillar. That&#8217;s like addressing some of the fears around AI, because a good percentage of Americans are fearful of AI, and&nbsp; a research has actually shown that [unintelligible 08:36] that in my book. So you want to put this fears to rest so that companies can actually start looking into the benefits of AI, as opposed to fearing AI. Then there&#8217;s also understanding what&#8217;s development around AI? Like, that&#8217;s also a cultural element. It&#8217;s very experimental. It&#8217;s very iterative. So you need to establish those cultural elements. So those are the two big pillars:</p>
  3045.  
  3046.  
  3047.  
  3048. <ol type="1">
  3049. <li>Data</li>
  3050. </ol>
  3051.  
  3052.  
  3053.  
  3054. <p>and</p>
  3055.  
  3056.  
  3057.  
  3058. <ul>
  3059. <li>Culture.</li>
  3060. </ul>
  3061.  
  3062.  
  3063.  
  3064. <p><strong>David Gee&nbsp; </strong>09:09</p>
  3065.  
  3066.  
  3067.  
  3068. <p>Follow up on that fear angle, oftentimes just kind of the way that humans are wired, we fear the unknown, whatever that is. Is this what&#8217;s it at play here? Is it simply that most people don&#8217;t know enough about AI to feel comfortable with it? Or is it something kind of spookier where they envision giant super computers and robots and everybody or things like that, you know, kind of taking over the world with information and you know, brains mimicking my brain and so on. And so, you know, what, what is it that that, you know, I know you&#8217;re not a psychologist, but in your take, what is it that people fear about the subject of AI?</p>
  3069.  
  3070.  
  3071.  
  3072. <p><strong>Kavita Ganesan&nbsp; </strong>10:00</p>
  3073.  
  3074.  
  3075.  
  3076. <p>So, there are some celebrities out there that are spreading this type of information that it will take of our jobs and later humanity, it can be used for bad things. And some of it is true, like AI can be used unethically. But taking over humans, that&#8217;s untrue. Because AI systems today don&#8217;t have the common sense reasoning as humans do, they can&#8217;t read body language, they don&#8217;t natively understand emotions, they can&#8217;t read between the lines, and just connect the dots like humans can. But on very specific tasks, AI systems can be very effective, and can even surpass human accuracy.</p>
  3077.  
  3078.  
  3079.  
  3080. <p>So the misunderstanding is that these AI systems can become conscious like humans, and then start making decisions that can overpower humans, I&#8217;ve seen that is a real fear, really. And that actually even came up and I was trying to hire one of my narrators for my book. And she said, Hey, I was afraid to audition for this book, because there&#8217;s so much fear about AI in our community. So, it&#8217;s widespread.</p>
  3081.  
  3082.  
  3083.  
  3084. <p><strong>David Gee&nbsp; </strong>11:14</p>
  3085.  
  3086.  
  3087.  
  3088. <p>Interesting. Yeah, I can think of a couple of Hollywood movies where the machines are plotting&#8230; Ex Machina is actually one of the [unintelligible 11:23] a machine plots to take over the mind and world of the founder or the inventor of the machine. So yeah, Hollywood has definitely taken that theme. And I&#8217;m sure some media outlets as well. You talk about back to the book, you talk about what you call vanity AI, you know, anything that&#8217;s kind of in the zeitgeist or that becomes a kind of a thing will be social media or anything else. There are companies that will just kind of glom on to that not in a real authentic sense, but just to say, hey, yes, guess what, yes, we do AI too&#8230; You talk about vanity AI?</p>
  3089.  
  3090.  
  3091.  
  3092. <p><strong>Kavita Ganesan&nbsp; </strong>12:11</p>
  3093.  
  3094.  
  3095.  
  3096. <p>Yes, Vanity AI happens a lot. And a lot within large corporations, especially, because there&#8217;s a rush to adopt AI. And as that trickles down the ladder, people think that they just need to use AI, and the way companies start using AI today is just by looking at data, seeing what data is available, and then coming up with problems based on data. But the problem with that approach is that it tells you nothing about the inefficiencies within the company, like what problem really, is it solving? What pain point is it addressing? So because of that the AI projects don&#8217;t necessarily solve real business challenges. And then executives don&#8217;t see the value from it. And then they start distrusting AI as a whole, that it&#8217;s useless. It&#8217;s just hype. But really, there&#8217;s not enough planning around it for what problems are we applying AI.</p>
  3097.  
  3098.  
  3099.  
  3100. <p><strong>David Gee&nbsp; </strong>13:12</p>
  3101.  
  3102.  
  3103.  
  3104. <p>So, I&#8217;m in the content creation, marketing messaging business, and I use data all the time to inform my content, whether it be page views, or how long people engage with content, you know, downloads, you know, all those kinds of things. We have lots of ways to measure the way that people interact with our marketing with our messaging, is there do you draw a distinct line between what I would call data driven decision making and AI? Am I using AI a little bit when I make those content decisions? Or is it just something completely different?</p>
  3105.  
  3106.  
  3107.  
  3108. <p><strong>Kavita Ganesan&nbsp; </strong>13:57</p>
  3109.  
  3110.  
  3111.  
  3112. <p>Yes, that&#8217;s a great question. So AI can serve two grand purposes.</p>
  3113.  
  3114.  
  3115.  
  3116. <ol type="1">
  3117. <li>One is to improve efficiency within businesses.</li>
  3118. </ol>
  3119.  
  3120.  
  3121.  
  3122. <ul>
  3123. <li>And one is to help make better decisions.</li>
  3124. </ul>
  3125.  
  3126.  
  3127.  
  3128. <p>And if you look at our data, we have a lot of structured data, things that fit neatly in an Excel spreadsheet. And then we have lots of unstructured data, like all the Twitter comments, all the documents within your company, your customer support conversations, all of that is completely unstructured. So when you&#8217;re trying to extract data-driven insights, you can&#8217;t just use your structured data, which I refer to as simple data analytics, but to make deeper decisions, like what are your customers complaining about? What&#8217;s your top wish list? You need that unstructured data and you can&#8217;t really aggregate unstructured data like you do structured data, you need some form of AI on that, and specifically, a branch of AI called natural language processing that tries to make sense of all that text data, and then extract key elements that you can later make sense of and inform decisions like, what are my customers&#8217; top points, wishlist and so on. So there&#8217;s a lot of opportunity there.</p>
  3129.  
  3130.  
  3131.  
  3132. <p><strong>David Gee&nbsp; </strong>15:16</p>
  3133.  
  3134.  
  3135.  
  3136. <p>Well, certainly that&#8230; I mean, regardless of how you achieve, it was certainly from a customer service perspective, a marketing perspective, the more we know about our audience, our prospects, our consumers, the better we&#8217;re going to be and the bigger competitive advantage we have, right? And it&#8217;s not just,</p>
  3137.  
  3138.  
  3139.  
  3140. <p><strong>Kavita Ganesan&nbsp; </strong>15:38</p>
  3141.  
  3142.  
  3143.  
  3144. <p>Yes, that&#8217;s right.</p>
  3145.  
  3146.  
  3147.  
  3148. <p><strong>David Gee&nbsp; </strong>15:38</p>
  3149.  
  3150.  
  3151.  
  3152. <p>Yes. So when you first came to University of Southern California to get a master&#8217;s in computer science, were you hearing about AI from your first day in school was AI, a big thing in the halls of computer science classes a long&#8230; a while ago.</p>
  3153.  
  3154.  
  3155.  
  3156. <p><strong>Kavita Ganesan&nbsp; </strong>16:00</p>
  3157.  
  3158.  
  3159.  
  3160. <p>So USC is a special breed, they were so much into AI, even when I joined. So, that&#8217;s how I got exposed to this whole field. I took one natural language processing class and the professor. And I was hooked. I liked it. So then I went on to doing my PhD in the field, and then became a data scientist. But within USC, AI was a big thing. Within academic institutions, AI has been a big thing since I guess long ago.</p>
  3161.  
  3162.  
  3163.  
  3164. <p><strong>David Gee&nbsp; </strong>16:32</p>
  3165.  
  3166.  
  3167.  
  3168. <p>And you&#8217;ve been at the consulting game for 15 years, give or take and working with Fortune 500 companies, as well as some smaller organizations, when you first you know&#8230; When you got your freshly minted degrees and kind of went out in the business world, were people conversing about AI? Did you have to do a lot of educating. Tell me about the landscape when you first started.</p>
  3169.  
  3170.  
  3171.  
  3172. <p><strong>Kavita Ganesan&nbsp; </strong>17:00</p>
  3173.  
  3174.  
  3175.  
  3176. <p>So when I first started, AI was not known in the industry. So I had to become a software engineer, because there was no prospect for AI right after I graduated with my master&#8217;s. So I did my PhD thinking that I&#8217;ll go into a research lab to maybe use some AI. But around 2013 is where data science started to really become a thing. So then I jumped on to the whole data science field where I could apply AI. So it&#8217;s only around 2013, 2011, where AI became a thing in the industry.</p>
  3177.  
  3178.  
  3179.  
  3180. <p><strong>David Gee&nbsp; </strong>17:46</p>
  3181.  
  3182.  
  3183.  
  3184. <p>We spent a little bit of time today talking about both the past and the future, as you look into to the future and to your crystal ball. What do you think is and conversely, is not appropriate to expect from Ai?</p>
  3185.  
  3186.  
  3187.  
  3188. <p><strong>Kavita Ganesan&nbsp; </strong>18:04</p>
  3189.  
  3190.  
  3191.  
  3192. <p>I think what we can expect is as the understanding around AI improves, I think all the midsize businesses are going to start using AI the right way. And also the non tech companies are going to start embracing AI and start seeing value from it. But in the next few years, don&#8217;t expect a conscious bot to be walking around. That&#8217;s not going to happen in the next few years. And maybe not even this whole decade. So these are the two things that are going to happen. Business are going to pick up on AI a lot more. And research is going to improve around trying to mimic like human reasoning within an AI system, but not to the point of it becoming conscious, really.</p>
  3193.  
  3194.  
  3195.  
  3196. <p><strong>David Gee&nbsp; </strong>18:51</p>
  3197.  
  3198.  
  3199.  
  3200. <p>So you do see it filtering down into the mainstream and into smaller companies, though, is that correct?</p>
  3201.  
  3202.  
  3203.  
  3204. <p><strong>Kavita Ganesan&nbsp; </strong>18:57</p>
  3205.  
  3206.  
  3207.  
  3208. <p>Definitely. Yes.</p>
  3209.  
  3210.  
  3211.  
  3212. <p><strong>David Gee&nbsp; </strong>18:59</p>
  3213.  
  3214.  
  3215.  
  3216. <p>Anything that you&#8217;re concerned about as a data scientist, as a software engineer, as someone who&#8217;s spent so much time around AI? Is there a potential? I mean, we don&#8217;t know, you know, the capacity for human beings sometimes. But is there something that you&#8217;re even as knowledgeable as you are that you&#8217;re a little fearful of?</p>
  3217.  
  3218.  
  3219.  
  3220. <p><strong>Kavita Ganesan&nbsp; </strong>19:22</p>
  3221.  
  3222.  
  3223.  
  3224. <p>So my biggest fear is one bias in data. So that can propagate through AI systems because AI systems, learn from data and bias has been shown to be very prevalent, like in facial recognition systems. So in fact, some of the big tech companies stop using facial recognition systems for law enforcement, I think?</p>
  3225.  
  3226.  
  3227.  
  3228. <p><strong>David Gee&nbsp; </strong>19:47</p>
  3229.  
  3230.  
  3231.  
  3232. <p>Right.</p>
  3233.  
  3234.  
  3235.  
  3236. <p><strong>Kavita Ganesan&nbsp; </strong>19:48</p>
  3237.  
  3238.  
  3239.  
  3240. <p>Yes. So that&#8217;s one big problem, the bias in data and the second problem is how people are using AI like we saw with Deep fakes. The recent news about Deep fakes on how people can make you say things that you didn&#8217;t really say. And then make that to be reality. So the applications of AI really needs to be regulated. Otherwise, it&#8217;s going to be used in unethical ways.</p>
  3241.  
  3242.  
  3243.  
  3244. <p><strong>David Gee&nbsp; </strong>20:15</p>
  3245.  
  3246.  
  3247.  
  3248. <p>Wow. Yes. I mean, talking about big tech and regulation. I live in Washington, DC. And that&#8217;s obviously, you know&#8211; the pages of The Washington Post all the time about how we regulate these companies and social media and that could be a whole another conversation. So thank you so much for joining us. I&#8217;ve really enjoyed it.</p>
  3249.  
  3250.  
  3251.  
  3252. <p><strong>Kavita Ganesan&nbsp; </strong>20:36</p>
  3253.  
  3254.  
  3255.  
  3256. <p>Yeah, thank you for having me, David.</p>
  3257.  
  3258.  
  3259.  
  3260. <p><strong>David Gee&nbsp; </strong>20:38</p>
  3261.  
  3262.  
  3263.  
  3264. <p>Kavita Ganesan, author of <strong><em>&#8220;<a href="https://www.amazon.com/Business-Case-Strategies-Real-World-Applications-ebook/dp/B09TRS55K8?crid=1UX93S9MHCFXF&amp;keywords=the+business+case+for+ai&amp;qid=1649883890&amp;sprefix=the+business+case+for+ai,aps,136&amp;sr=8-1&amp;linkCode=sl1&amp;tag=kavganbook-20&amp;linkId=ce9c7b637e704bd00a06f421c7a17016&amp;language=en_US&amp;ref_=as_li_ss_tl">The Business Case for AI: A Leader&#8217;s Guide to AI Strategies, Best Practices &amp; Real-World Applications.</a>&#8221; </em></strong>Thanks again to her and thanks to you for joining us as well. I&#8217;m David Gee. We&#8217;ll see you next time. So long, everyone.</p>
  3265. ]]></content:encoded>
  3266. <wfw:commentRss>https://kavita-ganesan.com/what-is-ai-and-what-does-it-mean-for-me-and-the-world/feed/</wfw:commentRss>
  3267. <slash:comments>0</slash:comments>
  3268. <post-id xmlns="com-wordpress:feed-additions:1">7453</post-id> </item>
  3269. <item>
  3270. <title>Will AI Kill Your Job?</title>
  3271. <link>https://kavita-ganesan.com/will-ai-kill-your-job/</link>
  3272. <comments>https://kavita-ganesan.com/will-ai-kill-your-job/#respond</comments>
  3273. <dc:creator><![CDATA[Kavita Ganesan]]></dc:creator>
  3274. <pubDate>Fri, 04 Feb 2022 18:27:08 +0000</pubDate>
  3275. <category><![CDATA[AI For Business]]></category>
  3276. <category><![CDATA[AI Mindset]]></category>
  3277. <guid isPermaLink="false">https://kavita-ganesan.com/?p=6806</guid>
  3278.  
  3279. <description><![CDATA[Will AI *really* steal our jobs? This article performs some reality checks on this topic. You may find some of the thought process counterintuitive to what the media makes you believe.]]></description>
  3280. <content:encoded><![CDATA[
  3281. <p><em><strong>Oh, what will happen to our jobs when my company starts using AI?</strong></em></p>
  3282.  
  3283.  
  3284.  
  3285. <p>This is such a popular question that comes up when I give talks—even to a pseudo technical audience.</p>
  3286.  
  3287.  
  3288.  
  3289. <p>Not surprisingly, this question will land sarcastic smiles on the faces of some data scientists and AI experts; you may even catch some eyes rolling.&nbsp;</p>
  3290.  
  3291.  
  3292.  
  3293. <p><em>But it’s a valid question.&nbsp;</em></p>
  3294.  
  3295.  
  3296.  
  3297. <p>Don’t forget, we had a US political candidate run for the presidency on the theme that <a href="https://www.nytimes.com/2019/11/14/opinion/andrew-yang-jobs.html" target="_blank" rel="noopener">automation is robbing people of good jobs</a> and we should thus be compensated for the crisis. Popular figures take it to extreme levels and even state that <a href="https://www.independent.co.uk/life-style/gadgets-and-tech/news/elon-musk-artificial-intelligence-ai-singularity-a9640196.html" target="_blank" rel="noopener">AI will take over the human race</a> very soon.</p>
  3298.  
  3299.  
  3300.  
  3301. <p>With all this noise around automation and AI, of course, this will send shivers down people’s spines; A technology they don’t quite understand is trying to <em>pull the rug from under their feet</em>. Worse still, this technology has the potential of destroying them, according to some.</p>
  3302.  
  3303.  
  3304.  
  3305. <p>The fear is real.</p>
  3306.  
  3307.  
  3308.  
  3309. <p>According to a<a href="https://governanceai.github.io/US-Public-Opinion-Report-Jan-2019/public-opinion-on-ai-governance.html." target="_blank" rel="noopener"> survey</a> conducted by Oxford University’s Center for the Governance of AI, Americans fear a future where AI becomes too intelligent. &nbsp;When people were asked what kind of impact machine intelligence would have on humanity, 34 percent thought it would be negative, with 12 percent leaning towards <em>human extinction</em>!&nbsp;</p>
  3310.  
  3311.  
  3312.  
  3313. <p>This begs the question of, <em>Will, AI *really* replace our jobs and later us?</em>&nbsp;</p>
  3314.  
  3315.  
  3316.  
  3317. <p>The answer is complicated. There are several parts to this story.</p>
  3318.  
  3319.  
  3320.  
  3321. <h1 class="wp-block-heading" id="why-ai-will-steal-some-of-our-jobs">Why AI <em>will</em> steal some of our jobs</h1>
  3322.  
  3323.  
  3324.  
  3325. <p>To recap, the goal of AI is to mimic human intelligence and decision-making within a computer, leveraging computer algorithms.&nbsp;Given the computing power, learning algorithms, and data we have today, there are many repetitive tasks done by humans that can be offloaded to AI.&nbsp;At least, AI can assist humans in completing those tasks.</p>
  3326.  
  3327.  
  3328.  
  3329. <p>For example, AI systems can be taught to handle simple customer support requests, detect defects on manufactured products, and even investigate the possibility of a fraud event.&nbsp;Once these AI systems are trained, they can perform these tasks more efficiently, quicker, and sometimes even with higher accuracy.&nbsp;So, of course, specific jobs, especially those decision-making jobs that are also labor-intensive, can be “replaced”.&nbsp;But not in the way you think.</p>
  3330.  
  3331.  
  3332.  
  3333. <p>Remember that when AI systems fail or make mistakes, you still need humans to rectify the issues.&nbsp;You also need humans in the loop to provide quality assurance–essentially, become the supervisor of these AI systems.&nbsp;Further, as AI systems today rely heavily on data to learn how to perform tasks, you still need humans in the loop to generate high-quality data.&nbsp;More importantly, there’ll be functions around the “stolen” job that no AI is capable of doing single-handedly, such as reporting progress, finding areas of improvement,&nbsp;managing team members, etc.</p>
  3334.  
  3335.  
  3336.  
  3337. <p>So eventually, while tasks that used to take a whole team may now be augmented with AI, the roles within your team can change.&nbsp;The humans may become acting supervisors, AI trainers, and quality assurance managers.</p>
  3338.  
  3339.  
  3340.  
  3341. <p>In the end, teams could shrink.&nbsp;But teams may also stay the same for years, while their roles change.&nbsp;In some cases, teams may grow bigger due to the demand for other related roles.&nbsp;Nevertheless, humans play a critical part in AI-augmented workflows.</p>
  3342.  
  3343.  
  3344.  
  3345. <h1 class="wp-block-heading" id="why-ai-will-not-replace-us-humans">Why AI <em>will not</em> replace us humans</h1>
  3346.  
  3347.  
  3348.  
  3349. <p>AI systems are task-oriented machines. If you train these machines to perform a series of tasks, they very well will. For example, if you teach a machine learning algorithm to detect breast cancer by asking it to read thousands of mammogram images, it could very well do it like a radiologist. At the same time, the same AI system will not be able to detect any other types of cancer, unlike a radiologist who could detect other related cancers.</p>
  3350.  
  3351.  
  3352.  
  3353. <p>We must come to terms that AI systems today lack commonsense reasoning, the ability to effectively build upon knowledge, read between the lines, and use logic as humans do. While humans are born with such innate abilities, AI systems today rely heavily on <em>patterns</em> in data.</p>
  3354.  
  3355.  
  3356.  
  3357. <p>Even the famed ​​<a href="https://kavita-ganesan.com/what-is-gpt-3/"> GPT-3</a>, the massive language prediction model that seems to do everything, including completing computer source code, answering questions, predicting sentiment, writing articles, etc, gets stumped when you play with its “commonsense abilities”. When you trick it with illogical questions, it produces illogical answers. That’s because it’s trained to learn <em>obvious</em> patterns from huge volumes of data, not conceptualized knowledge, which is more abstract.</p>
  3358.  
  3359.  
  3360.  
  3361. <p>For example, if you ask <a href="https://kavita-ganesan.com/what-is-gpt-3/">GPT-3</a>, “How many eyes does your foot have?”, it will answer, “Your <strong>foot</strong> has <strong>two</strong> <strong>eyes</strong>” (<a href="https://lacker.io/ai/2020/07/06/giving-gpt-3-a-turing-test.html" target="_blank" rel="noopener">see examples here</a>). On the contrary, a two-year-old will quickly tell you that feet don’t have eyes!</p>
  3362.  
  3363.  
  3364.  
  3365. <div class="wp-block-image">
  3366. <figure class="aligncenter size-large"><a href="https://lacker.io/ai/2020/07/06/giving-gpt-3-a-turing-test.html" target="_blank" rel="noopener"><img loading="lazy" decoding="async" class="wp-image-15597" src="https://www.opinosis-analytics.com/wp-content/uploads/2022/01/question-and-answer-with-GPT-3-1024x437.png" alt="" width="1024" height="437"></a>
  3367. <figcaption><strong>Question and answers with GPT-3</strong> (Source: <a href="https://lacker.io/ai/2020/07/06/giving-gpt-3-a-turing-test.html" target="_blank" rel="noopener">lacker.io</a>)</figcaption>
  3368. </figure>
  3369. </div>
  3370.  
  3371.  
  3372.  
  3373. <p>My point here is that while AI systems can perform complex tasks, at present, they’re very much task-oriented machines. AI is a long way from performing humanlike reasoning in a general sense. If one of the more sophisticated AI systems can’t tell you that feet don’t have eyes, do you really think AI robots can plan a complete takeover of the human race? General humanlike reasoning technology just isn’t there yet due to its complexity and it may be so for several decades to come.&nbsp;Nonetheless, this does not diminish the fact that task-oriented AI systems can already enhance human lives in so many ways.</p>
  3374.  
  3375.  
  3376.  
  3377. <h1 class="wp-block-heading" id="we-need-ai-and-automation-more-than-ever">We <em>need</em> AI and automation more than ever</h1>
  3378.  
  3379.  
  3380.  
  3381. <p>As we’ve all seen with the COVID-19 pandemic, a 100% human workforce is risky and may no longer be suitable for the world we live in today. Workers resigned in great numbers to either care for their homeschooling kids, fear of the virus itself, or at the realization that many of the jobs were not worth the risk. This has resulted in a <em>shrinking</em> labor force participation which has already been happening over the last several decades due to the aging population and other factors.</p>
  3382.  
  3383.  
  3384.  
  3385. <div width="100%" align="center"><iframe loading="lazy" align="center" src="https://d3fy651gv2fhd3.cloudfront.net/embed/?s=unitedstalabforparra&amp;v=202201071504V20200908&amp;d1=19970202&amp;type=type=column&amp;h=300&amp;w=600" height="300" width="600" frameborder="0" scrolling="no"></iframe><br>source: <a href="https://tradingeconomics.com/united-states/labor-force-participation-rate">tradingeconomics.com</a></div>
  3386.  
  3387.  
  3388.  
  3389. <p class="has-text-align-center"><strong>US Labor force participation over the years</strong></p>
  3390.  
  3391.  
  3392.  
  3393. <p>This means that there will be many unfilled jobs. It could also mean that many businesses won’t survive without alternatives. If enough people aren’t willing to work in roles that were fully filled just a decade ago, companies need to compensate.</p>
  3394.  
  3395.  
  3396.  
  3397. <p>Automation will become necessary.</p>
  3398.  
  3399.  
  3400.  
  3401. <p>We’re already&nbsp;seeing&nbsp;much of this play out in pharmacies and grocery stores throughout the United States, where self-checkout machines, heavily software powered,&nbsp;have become more of a norm after the COVID-19 pandemic.&nbsp;It’s just the beginning. As more and more businesses embrace the digital world and with fewer people wanting to work in roles that earlier generations were comfortable working in,&nbsp;there’ll be a lot more need for software-powered automation.&nbsp;Whether companies use AI, RPA, or simple software automation, all of that is&nbsp;context-dependent.</p>
  3402.  
  3403.  
  3404.  
  3405. <h2 class="wp-block-heading" id="final-word">Final Word</h2>
  3406.  
  3407.  
  3408.  
  3409. <p>So, in summary, to answer the question of whether jobs will be lost because of AI, the answer is—maybe. But what’s more certain is that the nature of certain jobs will <em>gradually</em> change. Instead of doing everything manually, we’ll slowly be assisted by AI-powered tools. We may also become the quality assurance managers and data generators for AI-powered systems. And as for the question of AI takeover? Well, that’s probably not even a question for this decade—not until we get a hopeful glimpse into the study of AI as it relates to <a href="https://www.quantamagazine.org/common-sense-comes-to-computers-20200430/" target="_blank" rel="noopener">commonsense reasoning</a>.</p>
  3410.  
  3411.  
  3412.  
  3413. <h1 class="wp-block-heading" id="references">References:</h1>
  3414.  
  3415.  
  3416.  
  3417. <ul>
  3418. <li><em>US Bureau of Labor Statistics Latest Numbers. Accessed January 28, 2022. <a href="https://www.bls.gov/" target="_blank" rel="noopener">https://www.bls.gov/</a>.</em></li>
  3419.  
  3420.  
  3421.  
  3422. <li><em>Pavlus, John. 2020. “Common Sense Comes Closer to Computers.” Quanta Magazine. <a href="https://www.quantamagazine.org/common-sense-comes-to-computers-20200430/." target="_blank" rel="noopener">https://www.quantamagazine.org/common-sense-comes-to-computers-20200430/.</a></em></li>
  3423.  
  3424.  
  3425.  
  3426. <li><em>“Elon Musk claims AI will overtake humans ‘in less than five years.’” 2020. The Independent. <a href="https://www.independent.co.uk/life-style/gadgets-and-tech/news/elon-musk-artificial-intelligence-ai-singularity-a9640196.html" target="_blank" rel="noopener">https://www.independent.co.uk/life-style/gadgets-and-tech/news/elon-musk-artificial-intelligence-ai-singularity-a9640196.html</a>.</em></li>
  3427.  
  3428.  
  3429.  
  3430. <li><em>3 Public opinion on AI governance | Artificial Intelligence: American Attitudes and Trends. Accessed January 28, 2022. <a href="https://governanceai.github.io/US-Public-Opinion-Report-Jan-2019/public-opinion-on-ai-governance.html" target="_blank" rel="noopener">https://governanceai.github.io/US-Public-Opinion-Report-Jan-2019/public-opinion-on-ai-governance.html</a>.</em></li>
  3431.  
  3432.  
  3433.  
  3434. <li><em>Lacker, Kevin. 2020. “Giving GPT-3 a Turing Test.” Kevin Lacker’s blog. <a href="https://lacker.io/ai/2020/07/06/giving-gpt-3-a-turing-test.html" target="_blank" rel="noopener">https://lacker.io/ai/2020/07/06/giving-gpt-3-a-turing-test.html</a>.</em></li>
  3435. </ul>
  3436.  
  3437.  
  3438.  
  3439. <p><em>The original post can be found here: <a href="https://www.opinosis-analytics.com/blog/ai-job-loss/" target="_blank" rel="noopener">Will AI Kill Your Job?</a></em></p>
  3440. ]]></content:encoded>
  3441. <wfw:commentRss>https://kavita-ganesan.com/will-ai-kill-your-job/feed/</wfw:commentRss>
  3442. <slash:comments>0</slash:comments>
  3443. <post-id xmlns="com-wordpress:feed-additions:1">6806</post-id> </item>
  3444. <item>
  3445. <title>A Gentle Introduction to Deep Neural Networks with Python</title>
  3446. <link>https://kavita-ganesan.com/neural-network-intro/</link>
  3447. <comments>https://kavita-ganesan.com/neural-network-intro/#respond</comments>
  3448. <dc:creator><![CDATA[Kavita Ganesan]]></dc:creator>
  3449. <pubDate>Thu, 27 Jan 2022 21:44:08 +0000</pubDate>
  3450. <category><![CDATA[AI Implementation]]></category>
  3451. <guid isPermaLink="false">https://kavita-ganesan.com/?p=6748</guid>
  3452.  
  3453. <description><![CDATA[This article examines the parts that make up neural networks and deep neural networks, as well as the fundamental different types of models (e.g. regression), their constituent parts (and how they contribute to model accuracy), and which tasks they are designed to learn.]]></description>
  3454. <content:encoded><![CDATA[
  3455. <p><em>This is a guest post from Andrew Ferlitsch, author of <a href="https://www.manning.com/books/deep-learning-patterns-and-practices">Deep Learning Patterns and Practices</a>. &nbsp;It provides an introduction to deep neural networks in Python. Andrew is an expert on computer vision, deep learning, and operationalizing ML in production at Google Cloud AI Developer Relations.</em></p>
  3456.  
  3457.  
  3458.  
  3459. <div class="wp-block-image"><figure class="aligncenter size-large is-resized"><img loading="lazy" decoding="async" src="https://kavita-ganesan.com/wp-content/uploads/Ferlitsch-DL-HI-817x1024.png" alt="" class="wp-image-6795" width="174" height="218" srcset="https://kavita-ganesan.com/wp-content/uploads/Ferlitsch-DL-HI-817x1024.png 817w, https://kavita-ganesan.com/wp-content/uploads/Ferlitsch-DL-HI-239x300.png 239w, https://kavita-ganesan.com/wp-content/uploads/Ferlitsch-DL-HI-120x150.png 120w, https://kavita-ganesan.com/wp-content/uploads/Ferlitsch-DL-HI-768x963.png 768w, https://kavita-ganesan.com/wp-content/uploads/Ferlitsch-DL-HI-1225x1536.png 1225w, https://kavita-ganesan.com/wp-content/uploads/Ferlitsch-DL-HI-1633x2048.png 1633w" sizes="(max-width: 174px) 100vw, 174px" /></figure></div>
  3460.  
  3461.  
  3462.  
  3463. <p class="has-black-color has-text-color has-background" style="background-color:#eeeeee">This article examines the parts that make up neural networks and deep neural networks, as well as the fundamental different types of models (e.g. regression), their constituent parts (and how they contribute to model accuracy), and which tasks they are designed to learn. This article is meant for machine learning engineers who are familiar with Python and deep learning and want to get a thorough intro to the parts and functions of deep neural networks and related models.</p>
  3464.  
  3465.  
  3466. <div class="wp-block-uagb-table-of-contents uagb-toc__align-left uagb-toc__columns-1  uagb-block-fc090491     "
  3467. data-scroll= "1"
  3468. data-offset= "30"
  3469. style=""
  3470. >
  3471. <div class="uagb-toc__wrap">
  3472. <div class="uagb-toc__title">
  3473. Table Of Contents </div>
  3474. <div class="uagb-toc__list-wrap">
  3475. <ol class="uagb-toc__list"><li class="uagb-toc__list"><a href="#introduction-to-neural-networks-in-python" class="uagb-toc-link__trigger">Introduction to Neural Networks in Python</a><li class="uagb-toc__list"><a href="#neural-network-basics" class="uagb-toc-link__trigger">Neural Network Basics</a><ul class="uagb-toc__list"><li class="uagb-toc__list"><a href="#input-layer" class="uagb-toc-link__trigger">Input Layer</a></li></ul></li><li class="uagb-toc__list"><a href="#deep-neural-networks-dnn" class="uagb-toc-link__trigger">Deep Neural Networks (DNN)</a><ul class="uagb-toc__list"><li class="uagb-toc__list"><a href="#feed-forward-networks" class="uagb-toc-link__trigger">Feed Forward networks</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#sequential-api-method" class="uagb-toc-link__trigger">Sequential API Method</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#functional-api-method" class="uagb-toc-link__trigger">Functional API Method</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#input-shape-vs-input-layer" class="uagb-toc-link__trigger">Input Shape vs Input Layer</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#dense-layer" class="uagb-toc-link__trigger">Dense Layer</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#activation-functions" class="uagb-toc-link__trigger">Activation Functions</a><li class="uagb-toc__list"><li class="uagb-toc__list"><a href="#shorthand-syntax" class="uagb-toc-link__trigger">Shorthand Syntax</a></ul></ul></ol> </div>
  3476. </div>
  3477. </div>
  3478.  
  3479.  
  3480. <p></p>
  3481.  
  3482.  
  3483.  
  3484. <h2 class="wp-block-heading"><strong>Introduction to Neural Networks in Python</strong></h2>
  3485.  
  3486.  
  3487.  
  3488. <p>We will start this article with some basics on neural networks. First, we will cover the input layer to a neural network, then how this is connected to an output layer, and then how hidden layers are added in-between to become what is called a deep neural network. From there, we cover how the layers are made of nodes, how these nodes learn, and how layers are connected to each other to form fully connected neural networks.</p>
  3489.  
  3490.  
  3491.  
  3492. <p>We will also cover the fundamental different types of models. That is, there are different model types, such as regression and classification, which learn different types of tasks. Depending on the task you want to learn, determines the model type you will design a model for.</p>
  3493.  
  3494.  
  3495.  
  3496. <p>We will also cover the fundamentals of weights, biases, activations and optimizers, and how they contribute to the accuracy of the model.</p>
  3497.  
  3498.  
  3499.  
  3500. <h2 class="wp-block-heading"><strong>Neural Network Basics</strong></h2>
  3501.  
  3502.  
  3503.  
  3504. <p>We will start with some basics on neural networks. First, we will cover the input layer to a neural network, then how this is connected to an output layer, and then how hidden layers are added in-between to become what is called a deep neural network. From there, we cover how the layers are made of nodes, what nodes do, and how layers are connected to each other to form fully connected neural networks.</p>
  3505.  
  3506.  
  3507.  
  3508. <h3 class="wp-block-heading"><strong>Input Layer</strong></h3>
  3509.  
  3510.  
  3511.  
  3512. <p>The input layer to a neural network takes numbers! All the input data is converted to numbers. Everything is a number. The text becomes numbers, speech becomes numbers, pictures become numbers, and things that are already numbers are just numbers.</p>
  3513.  
  3514.  
  3515.  
  3516. <p>Neural networks take numbers either as vectors, matrices, or tensors. These are simply names for the number of dimensions in an array. A&nbsp;vector&nbsp;is a one-dimensional array, such as a list of numbers. A&nbsp;matrix&nbsp;is a two- dimensional array, like the pixels in a black and white image. And a&nbsp;tensor&nbsp;is any array of three or more dimensions. For example, a three dimensional array is a stack of matrices where each matrix is the same dimension. That&#8217;s it.</p>
  3517.  
  3518.  
  3519.  
  3520. <div class="wp-block-image"><figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" src="https://kavita-ganesan.com/wp-content/uploads/CH02_F01_Ferlitsch.png" alt="A Gentle Introduction to Deep Neural Networks with Python" class="wp-image-6794" width="437" height="472" srcset="https://kavita-ganesan.com/wp-content/uploads/CH02_F01_Ferlitsch.png 1746w, https://kavita-ganesan.com/wp-content/uploads/CH02_F01_Ferlitsch-278x300.png 278w, https://kavita-ganesan.com/wp-content/uploads/CH02_F01_Ferlitsch-947x1024.png 947w, https://kavita-ganesan.com/wp-content/uploads/CH02_F01_Ferlitsch-139x150.png 139w, https://kavita-ganesan.com/wp-content/uploads/CH02_F01_Ferlitsch-768x830.png 768w, https://kavita-ganesan.com/wp-content/uploads/CH02_F01_Ferlitsch-1421x1536.png 1421w" sizes="(max-width: 437px) 100vw, 437px" /></figure></div>
  3521.  
  3522.  
  3523.  
  3524. <p class="has-text-align-center"><strong>Fig. 1 Comparison of array shapes and corresponding names in deep learning.</strong></p>
  3525.  
  3526.  
  3527.  
  3528. <p>Speaking of numbers, you might have heard terms like normalization or standardization. In standardization the numbers are converted to be centered around a mean of zero, with one standard deviation on each side of the mean. If you’re saying, &#8216;I don&#8217;t do statistics&#8217; right about now, I know how you feel. But don&#8217;t worry. Packages like&nbsp;scikit-learn&nbsp;and&nbsp;numpy&nbsp;have library calls that do this for you. Standardization is basically a button to push, and it doesn’t even need a lever, so there are no parameters to set.</p>
  3529.  
  3530.  
  3531.  
  3532. <p>Speaking of packages, you&#8217;re going to be using a lot of&nbsp;numpy. What is numpy and why is it so popular? Given the interpretive nature of Python, the language handles large arrays poorly. Like really big, super big arrays of numbers &#8211; thousands, tens of thousands, millions of numbers. Think of Carl Sagan&#8217;s infamous quote on the size of the Universe – “billions and billions of stars.” That&#8217;s a tensor!</p>
  3533.  
  3534.  
  3535.  
  3536. <p>One day a C programmer got the idea to write, in low-level C, a high performance implementation for handling super big arrays, and then added an external Python wrapper. Numpy was born. Today&nbsp;numpy&nbsp;is a class with lots of useful methods and properties, like the property shape which tells you the shape (or dimensions) of the array, and the where() method which allows you to do SQL-like queries on your super big array.</p>
  3537.  
  3538.  
  3539.  
  3540. <p>All Python machine learning frameworks, including TensorFlow and PyTorch, will take as input on the input layer a&nbsp;numpy&nbsp;multidimensional array. And speaking of C, or Java, or C+, &#8230;, the input layer in a neural network is just like the parameters passed to a function in a programming language. That&#8217;s it.</p>
  3541.  
  3542.  
  3543.  
  3544. <p>Let&#8217;s get started by installing Python packages you will need. I assume you have&nbsp;<a href="https://www.python.org/downloads/">Python installed</a>&nbsp;(version 3.X). Whether you directly installed it, or it got installed as part of a larger package, like&nbsp;<a href="https://www.anaconda.com/what-is-anaconda/">Anaconda</a>, you got with it a nifty command-like tool called pip. This tool is used to install any Python package you will ever need again, from a single command invocation. You use pip install and then the name of the package. It goes to the global repository PyPi of Python packages and downloads and installs the package for you. It&#8217;s quite easy.</p>
  3545.  
  3546.  
  3547.  
  3548. <p>We want to start off by downloading and installing the&nbsp;Tensorflow&nbsp;framework, and the&nbsp;numpy&nbsp;package. Guess what their names are in the registry, tensorflow and numpy &#8211; thankfully very obvious. Let&#8217;s do it together. Go to the command line and issue the following:</p>
  3549.  
  3550.  
  3551.  
  3552. <pre class="wp-block-code"><code lang="python" class="language-python">cmd&gt; pip install tensorflow
  3553. cmd&gt; pip install numpy</code></pre>
  3554.  
  3555.  
  3556.  
  3557. <p>With Tensorflow 2.0, Keras is built-in and the recommended model API, referred to now as&nbsp;TF.Keras.</p>
  3558.  
  3559.  
  3560.  
  3561. <p>TF.Keras&nbsp;is based on object oriented programming with a collection of classes and associated methods and properties. Let&#8217;s start simply. Say we have a dataset of housing data. Each row has fourteen columns of data. One column has the sale price of a home. We are going to call that the &#8220;label&#8221;. The other thirteen columns have information about the house, such as the square footage and property tax. It&#8217;s all numbers. We are going to call those the &#8220;features&#8221;. What we want to do is &#8220;learn&#8221; to predict (or estimate) the &#8220;label&#8221; from the &#8220;features&#8221;. Now before we had all this compute power and these awesome machine learning frameworks, data analysts did this stuff by hand or by using formulas in an Excel spreadsheet with some amount of data and lots and lots of linear algebra.We, however, will use Keras and TensorFlow.</p>
  3562.  
  3563.  
  3564.  
  3565. <p>We will start by first importing the&nbsp;Keras&nbsp;module from&nbsp;TensorFlow, and then instantiate an Input class object. For this class object, we define the shape or dimensions of the input. In our example, the input is a one-dimensional array (a vector) of 13 elements, one for each feature.</p>
  3566.  
  3567.  
  3568.  
  3569. <pre class="wp-block-code"><code lang="python" class="language-python">from tensorflow.keras import Input
  3570. Input(shape=(13,))</code></pre>
  3571.  
  3572.  
  3573.  
  3574. <p>When you run the above two lines in a notebook, you will see the output:</p>
  3575.  
  3576.  
  3577.  
  3578. <pre class="wp-block-preformatted">&lt;<strong>tf.Tensor</strong> 'input_1:0' shape=(?, 13) dtype=float32&gt;</pre>
  3579.  
  3580.  
  3581.  
  3582. <p>This is showing you what Input(shape=(13,)) evaluates to. It produces a tensor object by the name &#8216;input_1:0&#8217;. This name will be useful later in assisting you in debugging your models. The &#8216;?&#8217; in shape shows that the input object takes an unbounded number of entries (your examples or rows) of 13 elements each. That is, at run-time it will bind the number of one-dimensional vectors of 13 elements to the actual number of examples (rows) you pass in, referred to as the (mini) batch size. The &#8216;dtype&#8217; shows the default data type of the elements, which in this case is a 32-bit float (single precision).</p>
  3583.  
  3584.  
  3585.  
  3586. <p class="has-background" style="background-color:#eeeeee">Take 40% off <a href="https://www.manning.com/books/deep-learning-patterns-and-practices"><em>Deep Learning Patterns and Practices</em></a> by entering <strong>fccferlitsch</strong> into the discount code box at checkout at <a href="https://www.manning.com/">manning.com</a>.</p>
  3587.  
  3588.  
  3589.  
  3590. <h2 class="wp-block-heading"><strong>Deep Neural Networks (DNN)</strong></h2>
  3591.  
  3592.  
  3593.  
  3594. <p>DeepMind, Deep Learning, Deep, Deep, Deep. Oh my, what&#8217;s all this? Deep in this context just means that the neural network has one or more layers between the input layer and the output layer. Visualize a directed graph in layers of depth. The root nodes are the input layer and the terminal nodes are the output layer. The layers in between are known as the hidden or deep layers. So a four-layer DNN architecture would look like this:</p>
  3595.  
  3596.  
  3597.  
  3598. <pre class="wp-block-preformatted">input layer
  3599. hidden layer
  3600. hidden layer
  3601. output layer</pre>
  3602.  
  3603.  
  3604.  
  3605. <p>To get started, we’ll assume every neural network node in every layer, except the output layer, is the same type of neural network node. And that every node on each layer is connected to every other node on the next layer. This is known as a fully connected neural network (FCNN), as depicted in figure 2. For example, if the input layer has three nodes and the next (hidden) layer has four nodes, then each node on the first layer is connected to all four nodes on the next layer for a total of 12 (3&#215;4) connections.</p>
  3606.  
  3607.  
  3608.  
  3609. <div class="wp-block-image"><figure class="aligncenter size-large is-resized"><img loading="lazy" decoding="async" src="https://kavita-ganesan.com/wp-content/uploads/CH02_F02_Ferlitsch-1024x706.png" alt="A Gentle Introduction to Deep Neural Networks with Python" class="wp-image-6793" width="512" height="353" srcset="https://kavita-ganesan.com/wp-content/uploads/CH02_F02_Ferlitsch-1024x706.png 1024w, https://kavita-ganesan.com/wp-content/uploads/CH02_F02_Ferlitsch-300x207.png 300w, https://kavita-ganesan.com/wp-content/uploads/CH02_F02_Ferlitsch-150x103.png 150w, https://kavita-ganesan.com/wp-content/uploads/CH02_F02_Ferlitsch-768x529.png 768w, https://kavita-ganesan.com/wp-content/uploads/CH02_F02_Ferlitsch.png 1336w" sizes="(max-width: 512px) 100vw, 512px" /></figure></div>
  3610.  
  3611.  
  3612.  
  3613. <p class="has-text-align-center"><strong>Fig. 2 Deep neural networks have one or more hidden layers between the input and output layers. This is a fully-connected network, so the nodes at each level are all connected to each other.</strong></p>
  3614.  
  3615.  
  3616.  
  3617. <h3 class="wp-block-heading"><strong>Feed Forward networks</strong></h3>
  3618.  
  3619.  
  3620.  
  3621. <p>The DNN and Convolutional Neural Network (CNN), are known as feed forward neural networks. Feed forward means that data moves through the network sequentially, in one direction, from input to output layer). This is analogous to a function in procedural programming. The inputs are passed as parameters in the input layer, the function performs a sequenced set of actions based on the inputs (in the hidden layers) and outputs a result (the output layer).</p>
  3622.  
  3623.  
  3624.  
  3625. <p>When coding a forward feed network in&nbsp;TF.Keras,&nbsp;you will see two distinctive styles in blogs and other tutorials. I will briefly touch on both so when you see a code snippet in one style you can translate it to the other.</p>
  3626.  
  3627.  
  3628.  
  3629. <h3 class="wp-block-heading"><strong>Sequential API Method</strong></h3>
  3630.  
  3631.  
  3632.  
  3633. <p>The&nbsp;Sequential API&nbsp;method is easier to read and follow for beginners, but the trade-off is that it is less flexible. Essentially, you create an empty forward feed neural network with the&nbsp;Sequential&nbsp;class object, and then &#8220;add&#8221; one layer at a time, until the output layer. In the examples below, the ellipses represent pseudo code.</p>
  3634.  
  3635.  
  3636.  
  3637. <pre class="wp-block-code"><code lang="python" class="language-python">from tensorflow.keras import Sequential
  3638. model = Sequential()
  3639. model.add( ...the first layer... )
  3640. model.add( ...the next layer... )
  3641. model.add( ...the output layer... )
  3642. </code></pre>
  3643.  
  3644.  
  3645.  
  3646. <p class="has-background" style="background-color:#eeeeee"><strong>A Create an empty model.</strong><br><strong>B Placeholders for adding layers in sequential order.</strong></p>
  3647.  
  3648.  
  3649.  
  3650. <p>Alternatively, the layers can be specified in sequential order as a list passed as a parameter when instantiating the&nbsp;Sequential&nbsp;class object.</p>
  3651.  
  3652.  
  3653.  
  3654. <pre class="wp-block-code"><code lang="python" class="language-python">model = Sequential([ ...the first layer...,
  3655.                     ...the next layer...,
  3656.                     ...the output layer...
  3657.                   ])</code></pre>
  3658.  
  3659.  
  3660.  
  3661. <p>So, you might ask, when would one use the add() method versus specifying as a list in the instantiation of the Sequential object. Well, both methods generate the same model and behavior, so it’s a matter of personal preference. For myself, I tend to use the more verbose add() method in instructional and demonstration material for clarity. But, if I am writing code for production, I will use the sparser list method, where I can visualize and edit the code more easily.</p>
  3662.  
  3663.  
  3664.  
  3665. <h3 class="wp-block-heading"><strong>Functional API Method</strong></h3>
  3666.  
  3667.  
  3668.  
  3669. <p>The&nbsp;Functional API&nbsp;method is more advanced, allowing you to construct models that are non-sequential in flow &#8211;such as branches, skip links, and multiple inputs and outputs. You build the layers separately and then &#8220;tie&#8221; them together. This latter step gives you the freedom to connect layers in creative ways. Essentially, for a forward feed neural network, you create the layers, bind them to another layer(s), and then pull all the layers together in a final instantiation of a&nbsp;Model&nbsp;class object.</p>
  3670.  
  3671.  
  3672.  
  3673. <pre class="wp-block-code"><code lang="python" class="language-python">input = layers.(...the first layer...)
  3674. hidden = layers.(...the next layer...)( ...the layer to bind to... )
  3675. output = layers.(...the output layer...)( /the layer to bind to... )
  3676. model = Model(input, output)</code></pre>
  3677.  
  3678.  
  3679.  
  3680. <p></p>
  3681.  
  3682.  
  3683.  
  3684. <h3 class="wp-block-heading"><strong>Input Shape vs Input Layer</strong></h3>
  3685.  
  3686.  
  3687.  
  3688. <p>The input shape and input layer can be confusing at first. They are not the same thing. More specifically, the number of nodes in the input layer does not need to match the shape of the input vector. That&#8217;s because every element in the input vector will be passed to every node in the input layer, as depicted in figure 2a.</p>
  3689.  
  3690.  
  3691.  
  3692. <div class="wp-block-image"><figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" src="https://kavita-ganesan.com/wp-content/uploads/CH02_F03_Ferlitsch.png" alt="A Gentle Introduction to Deep Neural Networks with Python" class="wp-image-6792" width="390" height="372" srcset="https://kavita-ganesan.com/wp-content/uploads/CH02_F03_Ferlitsch.png 780w, https://kavita-ganesan.com/wp-content/uploads/CH02_F03_Ferlitsch-300x286.png 300w, https://kavita-ganesan.com/wp-content/uploads/CH02_F03_Ferlitsch-150x143.png 150w, https://kavita-ganesan.com/wp-content/uploads/CH02_F03_Ferlitsch-768x732.png 768w" sizes="(max-width: 390px) 100vw, 390px" /></figure></div>
  3693.  
  3694.  
  3695.  
  3696. <p class="has-text-align-center"><strong>Fig. 2a Shows the difference between the input (shape) and input layer and how every element in the input is connected to every node in the input layer.</strong></p>
  3697.  
  3698.  
  3699.  
  3700. <p>For example, if our input layer is ten nodes, and we use our earlier example of a thirteen-element input vector, we will have 130 connections (10 x 13) between the input vector and the input layer.</p>
  3701.  
  3702.  
  3703.  
  3704. <p>Each one of these connections between an element in the input vector and a node in the input layer will have a weight and each node in the input layer has a bias. Think of each connection between the input vector and input layer, as well as connections between layers, as sending a signal forward in how strongly it believes the input value will contribute to what the model predictions. We need to have a measurement of the strength of this signal, and that is what the weight does. It is a coefficient that is multiplied against the input value for the input layer, and previous value for subsequent layers. Now each one of these connections is like a vector on an x-y plane. Ideally, we would want each of these vectors to cross the y-axis at the same central point, e.g., 0 origin. But they don’t. To make the vectors relative to each other, the bias is the offset of each vector from the central point on the y-axis.</p>
  3705.  
  3706.  
  3707.  
  3708. <p>The weights and biases are what the neural network will &#8220;learn&#8221; during training. The weights and biases are also referred to as parameters. That is, these values stay with the model after it is trained. This operation will otherwise be invisible to you.</p>
  3709.  
  3710.  
  3711.  
  3712. <h3 class="wp-block-heading"><strong>Dense Layer</strong></h3>
  3713.  
  3714.  
  3715.  
  3716. <p>In&nbsp;TF.Keras, layers in a fully connected neural network (FCNN) are called&nbsp;Dense&nbsp;layers. A&nbsp;Dense&nbsp;layer is defined as having an &#8220;n&#8221; number of nodes, and is fully connected to the previous layer. Let&#8217;s continue and define in&nbsp;TF.Keras&nbsp;a three layer neural network, using the&nbsp;Sequential API&nbsp;method, for our example. Our input layer will be ten nodes, and take as input a thirteen element vector (i.e., the thirteen features), which will be connected to a second (hidden) layer of ten nodes, which will then be connected to a third (output) layer of one node. Our output layer only needs to be one node, since it will be outputting a single real value (e.g. &#8211; the predicted price of the house). This is an example where we are going to use a neural network as a regressor. That means, the neural network will output a single real number.</p>
  3717.  
  3718.  
  3719.  
  3720. <pre class="wp-block-preformatted">input layer&nbsp; = 10 nodes
  3721. hidden layer = 10 nodes
  3722. output layer = 1 node</pre>
  3723.  
  3724.  
  3725.  
  3726. <p>For input and hidden layers, we can pick any number of nodes. The more nodes we have, the better the neural network can learn, but more nodes means more complexity and more time in training and predicting.</p>
  3727.  
  3728.  
  3729.  
  3730. <p>In the following code example, we have three&nbsp;add()&nbsp;calls to the class object&nbsp;Dense(). The&nbsp;add()&nbsp;method &#8220;adds&#8221; the layers in the same sequential order we specified them in. The first (positional) parameter is the number of nodes, ten in the first and second layer and one in the third layer. Notice how in the first&nbsp;Dense()&nbsp;layer we added the (keyword) parameter&nbsp;input_shape. This is where we will define the input vector and connect it to the first (input) layer in a single instantiation of&nbsp;Dense().</p>
  3731.  
  3732.  
  3733.  
  3734. <pre class="wp-block-code"><code lang="python" class="language-python">from tensorflow.keras import Sequential
  3735. from tensorflow.keras.layers import Dense
  3736. model = Sequential()
  3737. # Add the first (input) layer (10 nodes) with input shape 13 element vector (1D).
  3738. model.add(Dense(10, input_shape=(13,)))
  3739. # Add the second (hidden) layer of 10 nodes.
  3740. model.add(Dense(10))
  3741. # Add the third (output) layer of 1 node.
  3742. model.add(Dense(1))</code></pre>
  3743.  
  3744.  
  3745.  
  3746. <p>Alternatively, we can define the sequential sequence of the layers as a list parameter when instantiating the&nbsp;Sequential&nbsp;class object.</p>
  3747.  
  3748.  
  3749.  
  3750. <pre class="wp-block-code"><code lang="python" class="language-python">from tensorflow.keras import Sequential
  3751. from tensorflow.keras.layers import Dense
  3752. model = Sequential([
  3753.                   # Add the first (input) layer (10 nodes)
  3754.                   Dense(10, input_shape=(13,)),
  3755.                   # Add the second (hidden) layer of 10 nodes.
  3756.                   Dense(10),
  3757.                   # Add the third (output) layer of 1 node.
  3758.                   Dense(1)
  3759.                   ])
  3760. </code></pre>
  3761.  
  3762.  
  3763.  
  3764. <p>Let&#8217;s now do the same but use the&nbsp;Functional API&nbsp;method. We start by creating an input vector by instantiating an&nbsp;Input&nbsp;class object. The (positional) parameter to the&nbsp;Input()&nbsp;object is the shape of the input, which can be a vector, matrix or tensor. In our example, we have a vector that is thirteen elements long. So our shape is (13,). I am sure you noticed the trailing comma. That&#8217;s to overcome a quirk in Python. Without the comma, a (13) is evaluated as an expression. That is, the integer value 13 is surrounded by a parenthesis. Adding a comma will tell the interpreter this is a tuple (an ordered set of values).</p>
  3765.  
  3766.  
  3767.  
  3768. <p>Next, we create the input layer by instantiating a&nbsp;Dense&nbsp;class object. The positional parameter to the&nbsp;Dense()&nbsp;object is the number of nodes; which in our example is ten. Note the peculiar syntax that follows with a&nbsp;(inputs). The&nbsp;Dense()&nbsp;object is a callable. That is, the object returned by instantiating the&nbsp;Dense()&nbsp;object can be callable as a function. So we call it as a function, and in this case, the function takes as a (positional) parameter the input vector (or layer output) to connect it to; hence we pass it&nbsp;inputs&nbsp;so the input vector is bound to the ten node input layer.</p>
  3769.  
  3770.  
  3771.  
  3772. <p>Next, we create the hidden layer by instantiating another&nbsp;Dense()&nbsp;object with ten nodes, and using it as a callable, we (fully) connect it to the input layer.</p>
  3773.  
  3774.  
  3775.  
  3776. <p>Then we create the output layer by instantiating another&nbsp;Dense()&nbsp;object with one node, and using it as a callable, we (fully) connect it to the hidden layer.</p>
  3777.  
  3778.  
  3779.  
  3780. <p>Finally, we put it altogether by instantiating a&nbsp;Model&nbsp;class object, passing it the (positional) parameters for the input vector and output layer. Remember, all the other layers in-between are already connected so we don&#8217;t need to specify them when instantiating the&nbsp;Model()&nbsp;object.</p>
  3781.  
  3782.  
  3783.  
  3784. <pre class="wp-block-code"><code lang="python" class="language-python">from tensorflow.keras import Input, Model
  3785. from tensorflow.keras.layers import Dense
  3786. inputs = Input((13,))
  3787. input = Dense(10)(inputs)
  3788. hidden = Dense(10)(input)
  3789. output = Dense(1)(hidden)
  3790. model = Model(inputs, output)
  3791. </code></pre>
  3792.  
  3793.  
  3794.  
  3795. <h3 class="wp-block-heading"><strong>Activation Functions</strong></h3>
  3796.  
  3797.  
  3798.  
  3799. <p>When training or predicting (inference), each node in a layer will output a value to the nodes in the next layer. We don&#8217;t always want to pass the value &#8216;as-is&#8217;, but instead sometimes we want to change the value in some manner. This process is called an activation function. Think of a function that returns some result, like&nbsp;return result. In the case of an activation function, instead of returning&nbsp;result, we would return the result of passing the result value to another (activation) function, like&nbsp;return A(result), where A() is the activation function. Conceptually, you can think of this as:</p>
  3800.  
  3801.  
  3802.  
  3803. <pre class="wp-block-code"><code lang="python" class="language-python">def layer(params):
  3804.    """ inside are the nodes """
  3805.    result = some_calculations
  3806.    return A(result)
  3807. def A(result):
  3808.    """ modifies the result """
  3809.    return some_modified_value_of_result
  3810. </code></pre>
  3811.  
  3812.  
  3813.  
  3814. <p>Activation functions assist neural networks in learning faster and better. By default, when no activation function is specified, the values from one layer are passed as-is (unchanged) to the next layer. The most basic activation function is a step function. If the value is greater than 0, then a 1 is outputted; otherwise a zero. The step function hasn&#8217;t been used in a long, long time.</p>
  3815.  
  3816.  
  3817.  
  3818. <p>Let’s pause for a moment and discuss the purpose of an activation function. You likely have heard the phrase non-linearity. What is this? To me, more importantly, is what it is not?</p>
  3819.  
  3820.  
  3821.  
  3822. <p>In traditional statistics, we worked in low dimensional space where there was a strong linear correlation between the input space and output space. This correlation could be computed as a polynomial transformation of the input that, when transformed, had a linear correlation to the output. The most fundamental example is the slope of a line, which is represented as y = mx + b. In this case, x and y are coordinates of the line, and we want to fit the value of m, the slope, and b, where the line intercepts the y access.</p>
  3823.  
  3824.  
  3825.  
  3826. <p>In deep learning, we work in high dimensional space where there is substantial non-linearity between the input space and output space. What is non-linearity? It means that an input is not (near) uniformly related to an output based on a polynomial transformation of the input. For example, let’s say one’s property tax is a fixed percentage rate (r) of the house value. In this case, the property tax can be represented by a function that multiplies the rate by the house value &#8212; thus having a linear (i.e., straight line) relationship between value (input) and property tax (output).</p>
  3827.  
  3828.  
  3829.  
  3830. <pre class="wp-block-preformatted">tax = F(<strong>value</strong>) = r * <strong>value</strong></pre>
  3831.  
  3832.  
  3833.  
  3834. <p>Let’s look at the logarithmic scale for measuring earthquakes, where an increase of one, means the power released is ten times greater. For example, an earthquake of 4 is 10 times stronger than a 3. By applying a logarithmic transform to the input power we have a linear relationship between power and scale.</p>
  3835.  
  3836.  
  3837.  
  3838. <pre class="wp-block-preformatted">scale&nbsp; = F(power) = log(power)</pre>
  3839.  
  3840.  
  3841.  
  3842. <p>In a non-linear relationship, sequences within the input have different linear relationships to the output, and in deep learning we want to learn both the separation points as well as the linear functions for each input sequence. For example, consider age vs. income to demonstrate a non-linear relationship. In general, toddlers have no income, grade-school children have an allowance, early-teens earn an allowance + money for chores, later teens earn money from jobs, and then when they go to college their income drops to zero! After college, their income gradually increases until retirement, when it becomes fixed. We could model this nonlinearity as sequences across age and learn a linear function for each sequence, such as depicted below.</p>
  3843.  
  3844.  
  3845.  
  3846. <pre class="wp-block-preformatted">income = F1(age) = 0    for age [0..5]
  3847. income = F2(age) = c1    for age[6..9]
  3848. income = F3(age) = c1 + (w1 * age)  for age[10..15]
  3849. income = F4(age) = (w2 * age) for age[16..18]
  3850. income = F5(age) = 0 for age[19..22]
  3851. income = F6(age) = (w3 * age) for age[23..64]
  3852. income = F7(age) = c2 for age [65+]
  3853. </pre>
  3854.  
  3855.  
  3856.  
  3857. <p>Activation functions assist in finding the non-linear separations and corresponding clustering of nodes within input sequences which then learn the (near) linear relationship to the output.</p>
  3858.  
  3859.  
  3860.  
  3861. <p>There are three activation functions you will use most of the time: the rectified linear unit (ReLU); sigmoid; softmax. We will start with the ReLU, since it is the one that is most used in all but the output layer of a model. The sigmoid and softmax activation we will then cover when we look at how different model types affect the design of the output layer.</p>
  3862.  
  3863.  
  3864.  
  3865. <p>The rectified linear unit, as depicted in figure 3, passes values greater than zero as-is (unchanged); otherwise zero (no signal).</p>
  3866.  
  3867.  
  3868.  
  3869. <div class="wp-block-image"><figure class="aligncenter size-large is-resized"><img loading="lazy" decoding="async" src="https://kavita-ganesan.com/wp-content/uploads/CH02_F04_Ferlitsch-1024x847.png" alt="A Gentle Introduction to Deep Neural Networks with Python" class="wp-image-6791" width="512" height="424" srcset="https://kavita-ganesan.com/wp-content/uploads/CH02_F04_Ferlitsch-1024x847.png 1024w, https://kavita-ganesan.com/wp-content/uploads/CH02_F04_Ferlitsch-300x248.png 300w, https://kavita-ganesan.com/wp-content/uploads/CH02_F04_Ferlitsch-150x124.png 150w, https://kavita-ganesan.com/wp-content/uploads/CH02_F04_Ferlitsch-768x635.png 768w, https://kavita-ganesan.com/wp-content/uploads/CH02_F04_Ferlitsch-1536x1271.png 1536w, https://kavita-ganesan.com/wp-content/uploads/CH02_F04_Ferlitsch-2048x1694.png 2048w" sizes="(max-width: 512px) 100vw, 512px" /><figcaption><strong>Fig. 3 The function for a rectified linear unit clips all negative values to zero. In essence, any negative value is the same as no signal ~ zero.</strong></figcaption></figure></div>
  3870.  
  3871.  
  3872.  
  3873. <p class="has-text-align-center"></p>
  3874.  
  3875.  
  3876.  
  3877. <p>The rectified linear unit is generally used between layers. While early researchers used different activation functions, such as a hyperbolic tangent, between layers, researchers found that the ReLU produced the best result in training a model. In our example, we will add a rectified linear unit between each layer.</p>
  3878.  
  3879.  
  3880.  
  3881. <pre class="wp-block-code"><code lang="python" class="language-python">
  3882. model = Sequential()
  3883. # Add the first (input) layer (10 nodes) with input shape 13 element vector (1D).
  3884. model.add(Dense(10, input_shape=(13,)))
  3885. # Pass the output from the input layer through a rectified linear unit activation  # function.
  3886. model.add(ReLU())
  3887. # Add the second (hidden) layer (10 nodes).
  3888. model.add(Dense(10))
  3889. # Pass the output from the input layer through a rectified linear unit activation  # function.
  3890. model.add(ReLU())
  3891. # Add the third (output) layer of 1 node.
  3892. model.add(Dense(1))</code></pre>
  3893.  
  3894.  
  3895.  
  3896. <p>Let&#8217;s take a look inside our model object and see if we constructed what we think we did. You can do this using the summary() method. It will show in sequential order a summary of each layer.</p>
  3897.  
  3898.  
  3899.  
  3900. <pre class="wp-block-code"><code lang="python" class="language-python">model.summary()</code></pre>
  3901.  
  3902.  
  3903.  
  3904. <pre class="wp-block-preformatted">Layer (type)                 Output Shape              Param #  
  3905. =================================================================
  3906. dense_56 (Dense)             (None, 10)                140      
  3907. _________________________________________________________________
  3908. re_lu_18 (ReLU)              (None, 10)                0        
  3909. _________________________________________________________________
  3910. dense_57 (Dense)             (None, 10)                110      
  3911. _________________________________________________________________
  3912. re_lu_19 (ReLU)              (None, 10)                0        
  3913. _________________________________________________________________
  3914. dense_58 (Dense)             (None, 1)                 11        
  3915. =================================================================
  3916. Total params: 261
  3917. Trainable params: 261
  3918. Non-trainable params: 0
  3919. _________________________________________________________________
  3920. </pre>
  3921.  
  3922.  
  3923.  
  3924. <p>For this code example, you see the summary starts with a&nbsp;Dense&nbsp;layer of ten nodes (input layer), followed by a&nbsp;ReLU&nbsp;activation function, followed by a second&nbsp;Dense&nbsp;layer (hidden) of ten nodes, followed by a&nbsp;ReLU&nbsp;activation function, and finally followed by a&nbsp;Dense&nbsp;layer (output) of one node. So, yes, we got what we expected.</p>
  3925.  
  3926.  
  3927.  
  3928. <p>Next, let&#8217;s look at the parameter field in the summary. See how, for the input layer, it shows 140 parameters. How is that calculated? We have 13 inputs and 10 nodes, so 13 x 10 is 130. Where does 140 come from? Each connection between the inputs and each node has a weight, which adds up to 130. But each node has an additional bias. That&#8217;s ten nodes, so 130 + 10 = 140. As I’ve said, it&#8217;s the weights and biases that the neural network will &#8220;learn&#8221; during training. A bias is a learned offset, conceptually equivalent to the y-intercept (b) in the slope of a line, which is where the line intercepts the y-axis:</p>
  3929.  
  3930.  
  3931.  
  3932. <pre class="wp-block-preformatted">y = b + mx</pre>
  3933.  
  3934.  
  3935.  
  3936. <p>At the next (hidden) layer you see 110 params. That&#8217;s ten outputs from the input layer connected to each of the ten nodes from the hidden layer (10&#215;10) plus the ten biases for the nodes in the hidden layers, for a total of 110 parameters to &#8220;learn&#8221;.</p>
  3937.  
  3938.  
  3939.  
  3940. <h3 class="wp-block-heading"><strong>Shorthand Syntax</strong></h3>
  3941.  
  3942.  
  3943.  
  3944. <p>TF.Keras provides a shorthand syntax when specifying layers. You don&#8217;t actually need to separately specify activation functions between layers, as we did above. Instead, you can specify the activation function as a (keyword) parameter when instantiating a Dense() layer.</p>
  3945.  
  3946.  
  3947.  
  3948. <p>You might ask, why not then simply always use the shorthand syntax? As you will see later in the book, where in today’s model architecture the activation function is preceded by another intermediate layer &#8212; batch normalization, or precedes the layer altogether &#8212; pre-activation batch normalization.</p>
  3949.  
  3950.  
  3951.  
  3952. <p>The code example below does exactly the same as the code above.</p>
  3953.  
  3954.  
  3955.  
  3956. <pre class="wp-block-code"><code lang="python" class="language-python">from tensorflow.keras import Sequential
  3957. from tensorflow.keras.layers import Dense
  3958. model = Sequential()
  3959. # Add the first (input) layer (10 nodes) with input shape 13 element vector (1D).
  3960. model.add(Dense(10, input_shape=(13,), activation='relu'))
  3961. # Add the second (hidden) layer (10 nodes).
  3962. model.add(Dense(10, activation='relu'))
  3963. # Add the third (output) layer of 1 node.
  3964. model.add(Dense(1))#A The activation function is specified as a keyword parameter in the layer.</code></pre>
  3965.  
  3966.  
  3967.  
  3968. <p>Let&#8217;s call the&nbsp;summary()&nbsp;method on this model.</p>
  3969.  
  3970.  
  3971.  
  3972. <pre class="wp-block-code"><code class="">model.summary()</code></pre>
  3973.  
  3974.  
  3975.  
  3976. <pre class="wp-block-preformatted">Layer (type)                 Output Shape              Param #  
  3977. =================================================================
  3978. dense_56 (Dense)             (None, 10)                140      
  3979. _________________________________________________________________
  3980. re_lu_18 (ReLU)              (None, 10)                0        
  3981. _________________________________________________________________
  3982. dense_57 (Dense)             (None, 10)                110      
  3983. _________________________________________________________________
  3984. re_lu_19 (ReLU)              (None, 10)                0        
  3985. _________________________________________________________________
  3986. dense_58 (Dense)             (None, 1)                 11        
  3987. =================================================================
  3988.  
  3989. Total params: 261
  3990. Trainable params: 261
  3991. Non-trainable params: 0
  3992. </pre>
  3993.  
  3994.  
  3995.  
  3996. <p>Hum, you don&#8217;t see the activations between the layers as you did in the earlier example. Why not? It&#8217;s a quirk in how the summary() method displays output. They are still there.</p>
  3997.  
  3998.  
  3999.  
  4000. <p><strong>Improving accuracy with optimizer</strong></p>
  4001.  
  4002.  
  4003.  
  4004. <p>Once you&#8217;ve completed building the forward feed portion of your neural network, as we have for our simple example, we now need to add a few things for training the model. This is done with the&nbsp;compile()&nbsp;method. This step adds the backward propagation during training. Let’s define and explore this concept.</p>
  4005.  
  4006.  
  4007.  
  4008. <p>Each time we send data (or a batch of data) forward through the neural network, the neural network calculates the errors in the predicted results (known as the loss) from the actual values (called labels) and uses that information to incrementally adjust the weights and biases of the nodes. This, for a model, is the process of learning.</p>
  4009.  
  4010.  
  4011.  
  4012. <p>The calculation of the error, as I’ve said, is called a loss. It can be calculated in many different ways. Since we designed our example neural network to be a regresser (meaning that the output, house price, is a real value), we want to use a loss function that is best suited for a regresser. Generally, for this type of neural network, we use the Mean Square Error method of calculating a loss. In Keras, the&nbsp;compile()&nbsp;method takes a (keyword) parameter&nbsp;loss&nbsp;where we can specify how we want to calculate the loss. We are going to pass it the value&nbsp;‘mse’&nbsp;for Mean Square Error.</p>
  4013.  
  4014.  
  4015.  
  4016. <p>The next step in the process is the optimizer that occurs during backward propagation. The optimizer is based on gradient descent; where different variations of the gradient descent algorithm can be selected. These terms can be hard to understand at first. Essentially, each time we pass data through the neural network we use the calculated loss to decide how much to change the weights and biases in the layers by. The goal is to gradually get closer and closer to the correct values for the weights and biases to accurately predict or estimate the &#8220;label&#8221; for each example. This process of progressively getting closer and closer to the accurate values is called convergence. The job of the optimizer is to calculate the updates to the weights to progressively get closer to the accurate values to reach convergence.</p>
  4017.  
  4018.  
  4019.  
  4020. <p>As the loss gradually decreases we are converging and once the loss plateaus out, we have convergence, and the result is the accuracy of the neural network. Before using gradient descent, the methods used by early AI researchers could take years on a supercomputer to find convergence on a non-trivial problem. After the discovery of using the gradient descent algorithm, this time reduced to days, hours and even just minutes on ordinary compute power. Let&#8217;s skip the math and just say that gradient descent is the data scientist&#8217;s pixie dust that makes convergence possible.</p>
  4021.  
  4022.  
  4023.  
  4024. <p>For our regressor neural network, we will use the&nbsp;<code>rmsprop</code>&nbsp;method (root mean square property).</p>
  4025.  
  4026.  
  4027.  
  4028. <pre class="wp-block-code"><code class="">model.compile(loss='mse', optimizer='rmsprop')</code></pre>
  4029.  
  4030.  
  4031.  
  4032. <p>Now we have completed building your first &#8216;trainable&#8217; neural network.</p>
  4033.  
  4034.  
  4035.  
  4036. <p>That’s all for now. If you want to learn more about the book, check it out on Manning’s liveBook platform <a href="https://livebook.manning.com/book/deep-learning-patterns-and-practices?origin=product-look-inside">here</a>.</p>
  4037. ]]></content:encoded>
  4038. <wfw:commentRss>https://kavita-ganesan.com/neural-network-intro/feed/</wfw:commentRss>
  4039. <slash:comments>0</slash:comments>
  4040. <post-id xmlns="com-wordpress:feed-additions:1">6748</post-id> </item>
  4041. </channel>
  4042. </rss>
  4043.  
Copyright © 2002-9 Sam Ruby, Mark Pilgrim, Joseph Walton, and Phil Ringnalda