{"id":6424,"date":"2023-06-08T22:00:00","date_gmt":"2023-06-08T22:00:00","guid":{"rendered":"https:\/\/modernsciences.org\/staging\/4414\/?p=6424"},"modified":"2023-05-28T16:22:53","modified_gmt":"2023-05-28T16:22:53","slug":"what-is-a-black-box-a-computer-scientist-explains-what-it-means-when-the-inner-workings-of-ais-are-hidden","status":"publish","type":"post","link":"https:\/\/modernsciences.org\/staging\/4414\/what-is-a-black-box-a-computer-scientist-explains-what-it-means-when-the-inner-workings-of-ais-are-hidden\/","title":{"rendered":"What is a black box? A computer scientist explains what it means when the inner workings of AIs are hidden"},"content":{"rendered":"\n  <figure>\n    <img  decoding=\"async\"  src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABAQMAAAAl21bKAAAAA1BMVEUAAP+KeNJXAAAAAXRSTlMAQObYZgAAAAlwSFlzAAAOxAAADsQBlSsOGwAAAApJREFUCNdjYAAAAAIAAeIhvDMAAAAASUVORK5CYII=\"  class=\" pk-lazyload\"  data-pk-sizes=\"auto\"  data-pk-src=\"https:\/\/images.theconversation.com\/files\/527116\/original\/file-20230518-29-egvjik.jpg?ixlib=rb-1.1.0&#038;rect=0%2C20%2C4500%2C2970&#038;q=45&#038;auto=format&#038;w=754&#038;fit=clip\" >\n      <figcaption>\n        You can\u2019t see inside any opaque box, but the color black adds an air of mystery.\n        <span class=\"attribution\"><a class=\"source\" href=\"https:\/\/www.gettyimages.com\/detail\/photo\/black-box-levitation-on-black-background-3d-royalty-free-image\/610655646\" target=\"_blank\" rel=\"noopener\">chingraph\/iStock via Getty Images<\/a><\/span>\n      <\/figcaption>\n  <\/figure>\n\n<span><a href=\"https:\/\/theconversation.com\/profiles\/saurabh-bagchi-1431873\" target=\"_blank\" rel=\"noopener\">Saurabh Bagchi<\/a>, <em><a href=\"https:\/\/theconversation.com\/institutions\/purdue-university-1827\" target=\"_blank\" rel=\"noopener\">Purdue University<\/a><\/em><\/span>\n\n<p>For some people, the term \u201cblack box\u201d brings to mind the recording devices in airplanes that are valuable for postmortem analyses if the unthinkable happens. For others it evokes small, minimally outfitted theaters. But black box is also an important term in the world of artificial intelligence. <\/p>\n\n<p>AI <a href=\"https:\/\/www.techtarget.com\/whatis\/definition\/black-box-AI\" target=\"_blank\" rel=\"noopener\">black boxes<\/a> refer to AI systems with internal workings that are invisible to the user. You can feed them input and get output, but you cannot examine the system\u2019s code or the logic that produced the output. <\/p>\n\n<p>Machine learning is the dominant subset of artificial intelligence. It underlies generative AI systems like <a href=\"https:\/\/openai.com\/blog\/chatgpt\" target=\"_blank\" rel=\"noopener\">ChatGPT<\/a> and <a href=\"https:\/\/openai.com\/product\/dall-e-2\" target=\"_blank\" rel=\"noopener\">DALL-E 2<\/a>. There are three components to machine learning: an algorithm or a set of algorithms, training data and a model. An algorithm is a set of procedures. In machine learning, an algorithm learns to identify patterns after being trained on a large set of examples \u2013 the training data. Once a machine-learning algorithm has been trained, the result is a machine-learning model. The model is what people use. <\/p>\n\n<p>For example, a machine-learning algorithm could be designed to identify patterns in images, and training data could be images of dogs. The resulting machine-learning model would be a dog spotter. You would feed it an image as input and get as output whether and where in the image a set of pixels represents a dog.<\/p>\n\n<p>Any of the three components of a machine-learning system can be hidden, or in a black box. As is often the case, the algorithm is publicly known, which makes putting it in a black box less effective. So to protect their intellectual property, AI developers often put the model in a black box. Another approach software developers take is to obscure the data used to train the model \u2013 in other words, put the training data in a black box.<\/p>\n\n<figure>\n            <iframe loading=\"lazy\" width=\"440\" height=\"260\" src=\"https:\/\/www.youtube.com\/embed\/Q6JbmGQstDM?wmode=transparent&amp;start=0\" frameborder=\"0\" allowfullscreen=\"\"><\/iframe>\n            <figcaption><span class=\"caption\">Black box algorithms make it very difficult to understand how AIs work, but the situation isn\u2019t quite black and white.<\/span><\/figcaption>\n          <\/figure>\n\n<p>The opposite of a black box is sometimes referred to as a <a href=\"https:\/\/www.tutorialspoint.com\/software_testing_dictionary\/glass_box_testing.htm\" target=\"_blank\" rel=\"noopener\">glass box<\/a>. An AI glass box is a system whose algorithms, training data and model are all available for anyone to see. But researchers sometimes characterize aspects of even these as black box. <\/p>\n\n<p>That\u2019s because researchers <a href=\"https:\/\/www.vice.com\/en\/article\/y3pezm\/scientists-increasingly-cant-explain-how-ai-works\" target=\"_blank\" rel=\"noopener\">don\u2019t fully understand<\/a> how machine-learning algorithms, particularly <a href=\"https:\/\/www.pcmag.com\/news\/what-is-deep-learning\" target=\"_blank\" rel=\"noopener\">deep-learning<\/a> algorithms, operate. The field of <a href=\"https:\/\/theconversation.com\/how-explainable-artificial-intelligence-can-help-humans-innovate-151737\" target=\"_blank\" rel=\"noopener\">explainable AI<\/a> is working to develop algorithms that, while not necessarily glass box, can be better understood by humans.<\/p>\n\n<h2 id=\"why-ai-black-boxes-matter\">Why AI black boxes matter<\/h2>\n\n<p>In many cases, there is good reason to be wary of black box machine-learning algorithms and models. Suppose a machine-learning model has made a diagnosis about your health. Would you want the model to be black box or glass box? What about the physician prescribing your course of treatment? Perhaps she would like to know how the model arrived at its decision. <\/p>\n\n<p>What if a machine-learning model that determines whether you qualify for a business loan from a bank turns you down? Wouldn\u2019t you like to know why? If you did, you could more effectively appeal the decision, or change your situation to increase your chances of getting a loan the next time.<\/p>\n\n<p>Black boxes also have important implications for software system security. For years, many people in the computing field thought that keeping software in a black box would prevent hackers from examining it and therefore it would be secure. This assumption has largely been proved wrong because hackers can <a href=\"https:\/\/www.merriam-webster.com\/dictionary\/reverse%20engineer\" target=\"_blank\" rel=\"noopener\">reverse-engineer<\/a> software \u2013 that is, build a facsimile by closely observing how a piece of software works \u2013 and discover vulnerabilities to exploit. <\/p>\n\n<p>If software is in a glass box, then software testers and well-intentioned hackers can examine it and inform the creators of weaknesses, thereby minimizing cyberattacks.<!-- Below is The Conversation's page counter tag. Please DO NOT REMOVE. --><img  loading=\"lazy\"  decoding=\"async\"  src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABAQMAAAAl21bKAAAAA1BMVEUAAP+KeNJXAAAAAXRSTlMAQObYZgAAAAlwSFlzAAAOxAAADsQBlSsOGwAAAApJREFUCNdjYAAAAAIAAeIhvDMAAAAASUVORK5CYII=\"  alt=\"The Conversation\"  width=\"1\"  height=\"1\"  style=\"border: none !important; box-shadow: none !important; margin: 0 !important; max-height: 1px !important; max-width: 1px !important; min-height: 1px !important; min-width: 1px !important; opacity: 0 !important; outline: none !important; padding: 0 !important\"  referrerpolicy=\"no-referrer-when-downgrade\"  class=\" pk-lazyload\"  data-pk-sizes=\"auto\"  data-pk-src=\"https:\/\/counter.theconversation.com\/content\/203888\/count.gif?distributor=republish-lightbox-basic\" ><!-- End of code. If you don't see any code above, please get new code from the Advanced tab after you click the republish button. The page counter does not collect any personal data. More info: https:\/\/theconversation.com\/republishing-guidelines --><\/p>\n\n<p><span><a href=\"https:\/\/theconversation.com\/profiles\/saurabh-bagchi-1431873\" target=\"_blank\" rel=\"noopener\">Saurabh Bagchi<\/a>, Professor of Electrical and Computer Engineering, <em><a href=\"https:\/\/theconversation.com\/institutions\/purdue-university-1827\" target=\"_blank\" rel=\"noopener\">Purdue University<\/a><\/em><\/span><\/p>\n\n<p>This article is republished from <a href=\"https:\/\/theconversation.com\" target=\"_blank\" rel=\"noopener\">The Conversation<\/a> under a Creative Commons license. Read the <a href=\"https:\/\/theconversation.com\/what-is-a-black-box-a-computer-scientist-explains-what-it-means-when-the-inner-workings-of-ais-are-hidden-203888\" target=\"_blank\" rel=\"noopener\">original article<\/a>.<\/p>\n\n","protected":false},"excerpt":{"rendered":"You can\u2019t see inside any opaque box, but the color black adds an air of mystery. chingraph\/iStock via&hellip;\n","protected":false},"author":486,"featured_media":6403,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"nf_dc_page":"","fifu_image_url":"","fifu_image_alt":"","footnotes":""},"categories":[16],"tags":[334,333,497,474],"class_list":{"0":"post-6424","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-tech","8":"tag-artificial-intelligence","9":"tag-machine-learning","10":"tag-neural-network","11":"tag-the-conversation","12":"cs-entry","13":"cs-video-wrap"},"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/modernsciences.org\/staging\/4414\/wp-json\/wp\/v2\/posts\/6424","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/modernsciences.org\/staging\/4414\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/modernsciences.org\/staging\/4414\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/modernsciences.org\/staging\/4414\/wp-json\/wp\/v2\/users\/486"}],"replies":[{"embeddable":true,"href":"https:\/\/modernsciences.org\/staging\/4414\/wp-json\/wp\/v2\/comments?post=6424"}],"version-history":[{"count":1,"href":"https:\/\/modernsciences.org\/staging\/4414\/wp-json\/wp\/v2\/posts\/6424\/revisions"}],"predecessor-version":[{"id":6425,"href":"https:\/\/modernsciences.org\/staging\/4414\/wp-json\/wp\/v2\/posts\/6424\/revisions\/6425"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/modernsciences.org\/staging\/4414\/wp-json\/wp\/v2\/media\/6403"}],"wp:attachment":[{"href":"https:\/\/modernsciences.org\/staging\/4414\/wp-json\/wp\/v2\/media?parent=6424"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/modernsciences.org\/staging\/4414\/wp-json\/wp\/v2\/categories?post=6424"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/modernsciences.org\/staging\/4414\/wp-json\/wp\/v2\/tags?post=6424"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}