{"id":109120,"date":"2023-06-29T09:22:54","date_gmt":"2023-06-29T16:22:54","guid":{"rendered":"https:\/\/www.backblaze.com\/blog\/?p=109120"},"modified":"2024-07-29T10:57:54","modified_gmt":"2024-07-29T17:57:54","slug":"ai-101-how-cognitive-science-and-computer-processors-create-artificial-intelligence","status":"publish","type":"post","link":"https:\/\/www.backblaze.com\/blog\/ai-101-how-cognitive-science-and-computer-processors-create-artificial-intelligence\/","title":{"rendered":"AI 101: How Cognitive Science and Computer Processors Create Artificial Intelligence"},"content":{"rendered":"\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1440\" height=\"820\" src=\"https:\/\/www.backblaze.com\/blog\/wp-content\/uploads\/2023\/06\/bb-bh-Whats-the-Diff_AI-vs-ML-vs-Deep-Learning-e1687892101866.png\" alt=\"A decorative image with three concentric circles. The smallest says &quot;deep learning;&quot; the medium says &quot;machine learning;&quot; the largest says &quot;artificial intelligence.&quot;\" class=\"wp-image-109127\" srcset=\"https:\/\/backblazeprod.wpenginepowered.com\/wp-content\/uploads\/2023\/06\/bb-bh-Whats-the-Diff_AI-vs-ML-vs-Deep-Learning-e1687892101866.png 1440w, https:\/\/backblazeprod.wpenginepowered.com\/wp-content\/uploads\/2023\/06\/bb-bh-Whats-the-Diff_AI-vs-ML-vs-Deep-Learning-e1687892101866-300x171.png 300w, https:\/\/backblazeprod.wpenginepowered.com\/wp-content\/uploads\/2023\/06\/bb-bh-Whats-the-Diff_AI-vs-ML-vs-Deep-Learning-e1687892101866-1024x583.png 1024w, https:\/\/backblazeprod.wpenginepowered.com\/wp-content\/uploads\/2023\/06\/bb-bh-Whats-the-Diff_AI-vs-ML-vs-Deep-Learning-e1687892101866-768x437.png 768w, https:\/\/backblazeprod.wpenginepowered.com\/wp-content\/uploads\/2023\/06\/bb-bh-Whats-the-Diff_AI-vs-ML-vs-Deep-Learning-e1687892101866-560x319.png 560w\" sizes=\"auto, (max-width: 1440px) 100vw, 1440px\" \/><\/figure>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"has-drop-cap\">Recently, artificial intelligence has been having a moment: It\u2019s gone from an abstract idea in a sci-fi movie, to an experiment in a lab, to a tool that is impacting our everyday lives. With headlines from Bing\u2019s AI <a href=\"https:\/\/www.nytimes.com\/2023\/02\/16\/technology\/bing-chatbot-microsoft-chatgpt.html\" target=\"_blank\" rel=\"noreferrer noopener\">confessing its love to a reporter<\/a> to the struggles over who\u2019s liable in an <a href=\"https:\/\/thedaily.case.edu\/whos-liable-in-a-self-driving-car-crash\/\" target=\"_blank\" rel=\"noreferrer noopener\">accident with a self-driving car<\/a>, the existential reality of what it means to live in an era of rapid technological change is playing out in the news.&nbsp;<\/p>\n\n\n\n<p>The headlines may seem fun, but it\u2019s important to consider what this kind of tech means. In some ways, you can draw a parallel to the birth of the internet, with all the innovation, ethical dilemmas, legal challenges, excitement, and chaos that brought with it. (We\u2019re totally happy to discuss in the comments section.)<\/p>\n\n\n\n<p>So, let\u2019s keep ourselves grounded in fact and do a quick rundown of some of the technical terms in the greater AI landscape. In this article, we\u2019ll talk about three basic terms to help you define the playing field: artificial intelligence (AI), machine learning (ML), and deep learning (DL).<\/p>\n\n\n\n<div class=\"abstract\" style=\"line-height: 1.8; margin: 24px 12px; padding: 24px 12px 10px 12px;\">\n<h4>Want to Know More About AI?<\/h4>\nThis article is part of an ongoing content arc about artificial intelligence (AI). The second article in the series is <a href=\"\/blog\/ai-101-gpu-vs-tpu-vs-npu\/\" target=\"_blank\" rel=\"noopener\">AI 101: GPU vs. TPU vs. NPU<\/a>. Stay tuned for the rest of the series, and feel free to suggest other articles you\u2019d like to see on this content in the comments.<\/div>\n\n\n\n<h2 class=\"wp-block-heading\">What Is Artificial Intelligence (AI)?<\/h2>\n\n\n\n<p>If you were to search \u201cartificial intelligence,\u201d you\u2019d see varying definitions. Here are a few from good sources.&nbsp;<\/p>\n\n\n\n<p>From <a href=\"https:\/\/cloud.google.com\/learn\/artificial-intelligence-vs-machine-learning#:~:text=While%20artificial%20intelligence%20encompasses%20the,accurate%20results%20by%20identifying%20patterns.\" target=\"_blank\" rel=\"noreferrer noopener\">Google<\/a>, and not Google as in the search engine, but Google in their thought leadership library:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>Artificial intelligence is a broad field, which refers to the use of technologies to build machines and computers that have the ability to mimic cognitive functions associated with human intelligence, such as being able to see, understand, and respond to spoken or written language, analyze data, make recommendations, and more.&nbsp;<\/p>\n\n\n\n<p>Although artificial intelligence is often thought of as a system in itself, it is a set of technologies implemented in a system to enable it to reason, learn, and act to solve a complex problem.<\/p>\n<\/blockquote>\n\n\n\n<p>From <a href=\"https:\/\/www.ibm.com\/topics\/artificial-intelligence\" target=\"_blank\" rel=\"noreferrer noopener\">IBM<\/a>, a company that has been pivotal in computer development since the early days:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>At its simplest form, artificial intelligence is a field, which combines computer science and robust datasets, to enable problem-solving. It also encompasses sub-fields of machine learning and deep learning, which are frequently mentioned in conjunction with artificial intelligence. These disciplines are comprised of AI algorithms which seek to create expert systems which make predictions or classifications based on input data.<\/p>\n<\/blockquote>\n\n\n\n<p>From <a href=\"https:\/\/en.wikipedia.org\/wiki\/Artificial_intelligence#:~:text=Artificial%20intelligence%20(AI)%20is%20intelligence,generalize%2C%20and%20to%20infer%20meaning.\" target=\"_blank\" rel=\"noreferrer noopener\">Wikipedia<\/a>, the crowdsourced and scholarly-sourced oversoul of us all:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>Artificial intelligence is intelligence demonstrated by machines, as opposed to intelligence displayed by humans or by other animals. &#8220;Intelligence&#8221; encompasses the ability to learn and to reason, to generalize, and to infer meaning. Example tasks\u2026 include speech recognition, computer vision, translation between (natural) languages, as well as other mappings of inputs.<\/p>\n<\/blockquote>\n\n\n\n<p>Allow us to give you the Backblaze summary: Each of these sources are saying that artificial intelligence is what happens when computers start thinking (or appearing to think) for themselves. It&#8217;s the <em>what<\/em>. You call a bot you\u2019re training \u201can AI;\u201d you also call the characteristic of a computer making decisions AI; you call the entire field of this type of problem solving and programming AI.&nbsp;<\/p>\n\n\n\n<p>However, using the term \u201cartificial intelligence\u201d does not define <em>how <\/em>bots are solving problems. Terms like \u201cmachine learning\u201d and \u201cdeep learning\u201d are <em>how<\/em> that appearance of intelligence is created\u2014the complexity of the algorithms and tasks to perform, whether the algorithm learns, what kind of theoretical math is used to make a decision, and so on. For the purposes of this article, you can think of artificial intelligence as the umbrella term for the processes of machine learning and deep learning.&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What Is Machine Learning (ML)?<\/h2>\n\n\n\n<p>Machine learning (ML) is the study and implementation of computer algorithms that improve automatically through experience. In contrast with AI and in keeping with our earlier terms, AI is when a computer appears intelligent, and ML is when a computer can solve a complex, but defined, task. An algorithm is a set of instructions (the requirements) of a task.&nbsp;<\/p>\n\n\n\n<p>We engage with algorithms all the time without realizing it\u2014for instance, when you visit a site using a URL starting with \u201chttps:\u201d your browser is using SSL (or, more accurately in 2023, <a href=\"https:\/\/www.internetsociety.org\/deploy360\/tls\/basics\/\" target=\"_blank\" rel=\"noreferrer noopener\">TLS<\/a>), a symmetric encryption algorithm that secures communication between your web browser and the site. Basically, when you click \u201cplay\u201d on a cat video, your web browser and the site engage in a series of steps to ensure that the site is what it purports to be, and that a third-party can neither eavesdrop on nor modify any of the cuteness exchanged.<\/p>\n\n\n\n<p>Machine learning does not specify how much knowledge the bot you\u2019re training starts with\u2014any task can have more or fewer instructions. You could ask your friend to order dinner, or you could ask your friend to order you pasta from your favorite Italian place to be delivered at 7:30 p.m.&nbsp;<\/p>\n\n\n\n<p>Both of those tasks you just asked your friend to complete are algorithms. The first algorithm requires your friend to make more decisions to execute the task at hand to your satisfaction, and they\u2019ll do that by relying on their past experience of ordering dinner with you\u2014remembering your preferences about restaurants, dishes, cost, and so on.&nbsp;<\/p>\n\n\n\n<p>By setting up more parameters in the second question, you\u2019ve made your friend\u2019s chances of a satisfactory outcome more probable, but there are a ton of things they would still have to determine or decide in order to succeed\u2014finding the phone number of the restaurant, estimating how long food delivery takes, assuming your location for delivery, etc.&nbsp;<\/p>\n\n\n\n<p>I\u2019m framing this example as a discrete event, but you\u2019ll probably eat dinner with your friend again. Maybe your friend doesn\u2019t choose the best place this time, and you let them know you don\u2019t want to eat there in the future. Or, your friend realizes that the restaurant is closed on Mondays, so you can\u2019t eat there. Machine learning is analogous to the process through which your friend can incorporate feedback\u2014yours or the environment\u2019s\u2014and arrive at a satisfactory dinner plan.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Machines Learning to Teach Machines<\/h3>\n\n\n\n<p>A real-world example that will help us tie this down is teaching robots to walk (and there are a ton of fun videos on the subject, if you want to lose yourself in YouTube). Many robotics AI experiments teach their robots to walk in simulated, virtual environments before the robot takes on the physical world.<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"Reinforcement Learning for Robust Parameterized Locomotion Control of Bipedal Robots\" width=\"750\" height=\"422\" src=\"https:\/\/www.youtube.com\/embed\/goxCjGPQH7U?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<div style=\"height:15px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>The key is, though, that the robot updates its algorithm based on new information and predicts outcomes <em>without<\/em> being programmed to do so. With our walking robot friend, that would look like the robot avoiding an obstacle on its own instead of an operator moving a joystick to avoid the obstacle.&nbsp;<\/p>\n\n\n\n<p>There\u2019s an in-between step here, and that\u2019s how much human oversight there is when training an AI. In our dinner example, it\u2019s whether your friend is improving dinner plans from your feedback (\u201cI didn\u2019t like the food.\u201d) or from the environment\u2019s feedback (the restaurant is closed). With our robot friend, it\u2019s whether their operator tells them there is an obstacle, or they sense it on their own. These options are defined as <strong>supervised learning <\/strong>and <strong>unsupervised learning<\/strong>.&nbsp;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Supervised Learning<\/h3>\n\n\n\n<p>An algorithm is trained with labeled input data and is attempting to get to a certain outcome. A good example is predictive maintenance. Here at Backblaze, we closely monitor our fleet of over 230,000 hard drives; every day, we record the SMART attributes for each drive, as well as which drives failed that day. We could feed a subset of that data into a machine learning algorithm, building a model that captures the relationships between those SMART attributes (the input data) and a drive failure (the label). After this training phase, we could test the algorithm and model on a separate subset of data to verify its accuracy at predicting failure, with the ultimate goal of <em>preventing<\/em> failure by flagging problematic drives based on unlabeled, real-time data.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Unsupervised Learning<\/h3>\n\n\n\n<p>An AI is given unlabeled data and asked to identify patterns and probable outcomes. In this case, you\u2019re not asking the bot for an outcome (\u201cFind me an article on AI.\u201d), you\u2019re asking what exists in the dataset (\u201cWhat types of articles are in this library? What\u2019s the best way to organize this library?\u201d). For example, Google News uses unsupervised learning to categorize articles on the same story from various online news outlets. It recognizes clusters of contemporaneous articles that share key words, and groups them under a suitable heading.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Generative AI: ChatGPT and Bing, DALL-E and Lensa<\/h2>\n\n\n\n<p>Most folks\u2019 exposure to AI has been in the form of generative AI. What generative AIs have done that\u2019s revolutionary is to allow us to make a human-speak query to generate \u201cnew\u201d material. You can almost think of a generative AI as a DJ with a huge song library\u2014it\u2019s rapidly pulling information from a huge dataset, remixing that information, and presenting you the result.&nbsp;<\/p>\n\n\n\n<p>So, when you ask ChatGPT to write you a story about a spy, they\u2019re going to go back to all the spy text they\u2019ve seen and give you a story based on those patterns. If you ask it to write a story about James Bond, it\u2019s got a more limited dataset with more predictable patterns. If you ask it to write a six sentence paragraph giving you a good spy plot based on James Bond with the main character Oogly Boogly, you might confuse it (or come up with something totally awesome) because \u201cOogly Boogly\u201d doesn\u2019t really sound like a name you\u2019d see in spy novels.&nbsp;<\/p>\n\n\n\n<div class=\"abstract\" style=\"line-height: 1.8; margin: 24px 12px; padding: 24px 12px 10px 12px;\"><h4>Obviously We Had ChatGPT Write the Story<\/h4>\r\n<p>And here it is, for your amusement: <\/p>\r\n\r\n<blockquote>In the realm of espionage, Oogly Boogly, a suave and cunning agent, embarks on a high-stakes mission akin to James Bond&#8217;s daring escapades. Sent to retrieve a stolen prototype weapon, he finds himself entangled in a web of international intrigue. Posing as a debonair art collector, Oogly infiltrates an extravagant gala hosted by a nefarious arms dealer known only as &#8220;The Viper.&#8221; With his wit and charm, Oogly seduces the Viper&#8217;s right-hand woman, gaining access to the secret underground lair where the weapon is hidden. In a thrilling climax, Oogly engages in a heart-stopping duel with The Viper, narrowly escaping the clutches of death. With the weapon recovered, Oogly delivers a clever one-liner before vanishing into the night, leaving the world in awe of his daring exploits and longing for his next thrilling adventure.<\/blockquote>\r\n\r\n<p>I couldn\u2019t live without knowing the clever one-liner, so I asked ChatGPT: \u201cBased on the previous response, what was Oogly\u2019s clever one-liner?\u201d<\/p> \r\n\r\n<blockquote>As Oogly outwitted The Viper and secured the weapon, he flashed a sly smile and uttered his clever one-liner, &#8220;Looks like this snake&#8217;s venom has run dry.&#8221;<\/blockquote>\r\n\r\n<p>We can only assume that Oogly then put on sunglasses while the CSI: Miami theme started in the background.<\/p><\/div>\n\n\n\n<p>As a tool, generative AI certainly has both possibilities and limitations. In order to train an AI, you need huge amounts of data, which can come from various sources\u2014one example is when consumers share data in exchange for free or improved apps or services, as evidenced by <a href=\"https:\/\/www.technologyreview.com\/2022\/12\/19\/1065306\/roomba-irobot-robot-vacuums-artificial-intelligence-training-data-privacy\/\" target=\"_blank\" rel=\"noreferrer noopener\">some (ahem) surprising photos surfacing from a Roomba.<\/a>&nbsp;<\/p>\n\n\n\n<p>Also, just to confuse things before we\u2019ve even <em>gotten to <\/em>defining deep learning: Some people are calling generative AI\u2019s processes \u201cdeep machine learning\u201d based on its use of <a href=\"\/blog\/metadata-your-files-hidden-dna-and-you\/\" target=\"_blank\" rel=\"noreferrer noopener\">metadata<\/a> as well as tools like image recognition, and because the algorithms are designed to learn from themselves in order to give you better results in the future.&nbsp;<\/p>\n\n\n\n<p>An important note for generative AI: It\u2019s certainly not out of the question to make your own library of content\u2014folks call that \u201ctraining\u201d an AI, though it\u2019s usually done on a larger scale. Check out Backblaze Director of Solution Engineers Troy Liljedahl\u2019s <a href=\"\/blog\/stable-diffusion-and-backblaze-create-a-masterpiece-from-a-bucket-of-your-own-images\/\" target=\"_blank\" rel=\"noreferrer noopener\">article on Stable Diffusion<\/a> to see why and how you might want to do that.&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What Is Deep Learning (DL)?<\/h2>\n\n\n\n<p>Deep learning is the process of training an AI for complex decision making. \u201cWait,\u201d you say. \u201cI thought ML was <em>already<\/em> solving complex tasks.\u201d And you\u2019re right, but the difference is in orders of magnitude, branching possibilities, assumptions, task parameters, and so on.&nbsp;<\/p>\n\n\n\n<p>To understand the difference between machine learning and deep learning, we\u2019re going to take a brief time-out to talk about programmable logic. And, we\u2019ll start by using our robot friend to help us see how decision making works in a seemingly simple task, and what that means when we\u2019re defining \u201ccomplex tasks.\u201d&nbsp;<\/p>\n\n\n\n<p>The direction from the operator is something like, \u201cRobot friend, get yourself from the lab to the front door of the building.\u201d Here are some of the possible decisions the robot then has to make and inputs the robot might have to adjust for:&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Now? <\/strong>\n<ul class=\"wp-block-list\">\n<li>If yes, then take a step. <\/li>\n\n\n\n<li>If no, then wait. \n<ul class=\"wp-block-list\">\n<li>What are valid reasons to wait? <\/li>\n\n\n\n<li>If you wait, when should you resume the command? <\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Take a step. <\/strong>\n<ul class=\"wp-block-list\">\n<li>That step could land on solid ground.<\/li>\n\n\n\n<li>Or, there could be a pencil on the floor. \n<ul class=\"wp-block-list\">\n<li>If you step on the pencil, was it inconsequential or do you slip?\n<ul class=\"wp-block-list\">\n<li>If you slip, do you fall?\n<ul class=\"wp-block-list\">\n<li>If you fall, did you sustain damage?<\/li>\n\n\n\n<li>If yes, do you need to call for help?&nbsp;<\/li>\n\n\n\n<li>If not or if it\u2019s minor, get back up.\n<ul class=\"wp-block-list\">\n<li>If you sustained damage but you could get back up, do you proceed or take the time to repair?&nbsp;<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>If there\u2019s no damage, then take the next step.\n<ul class=\"wp-block-list\">\n<li>First, you\u2019ll have to determine your new position in the room.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><strong>Take the next step. <\/strong>All of the first-step possibilities exist, and some new ones, too.\n<ul class=\"wp-block-list\">\n<li>With the same foot or the other foot?&nbsp;<\/li>\n\n\n\n<li>In a straight line or make a turn?&nbsp;<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<p>And so on and so forth. Now, take that direction that has parameters\u2014where and how\u2014and get rid of some of them. Your direction for a deep learning AI might be, \u201cRobot, come to my house.\u201d Or, it might be telling the robot to go about a normal day, which means it would have to decide when and how to walk for itself without a specific \u201cwalk\u201d command from an operator.&nbsp;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Neural Networks: Logic, Math, and Processing Power<\/h3>\n\n\n\n<p>Thus far in the article, we\u2019ve talked about intelligence as a function of decision making. Algorithms outline the decision we want made or the dataset we want the AI to engage with. But, when you think about the process of decision making, you\u2019re actually talking about <em>many <\/em>decisions getting made in a series. With machine learning, you\u2019re giving more parameters for how to make decisions. With deep learning, you\u2019re asking open-ended questions.&nbsp;<\/p>\n\n\n\n<p>You can certainly view these definitions as having a big ol\u2019 swath of gray area and overlap in their definitions. But at a certain point, all those decisions a computer has to make starts to slow a computer down and require more processing power. There are processors for different kinds of AI by the way, all designed to increase processing power. Whatever that point is, you\u2019ve reached a deep learning threshold.&nbsp;<\/p>\n\n\n\n<p>If we\u2019re looking at things as yes\/nos, we assume there\u2019s only one outcome to each choice. Ultimately, yes, our robot is either going to take a step or not. But all of those internal choices, as you can see from the above messy and incomplete list, create nested dependencies. When you\u2019re solving a complex task, you need a structure that is <em>not <\/em>a strict binary, and that\u2019s when you create a <a href=\"https:\/\/news.mit.edu\/2017\/explained-neural-networks-deep-learning-0414\" target=\"_blank\" rel=\"noreferrer noopener\">neural network<\/a>.&nbsp;<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1546\" height=\"828\" src=\"https:\/\/www.backblaze.com\/blog\/wp-content\/uploads\/2023\/06\/DL_Neural-Network-Diagram.png\" alt=\"An image showing how a neural network is mapped.\" class=\"wp-image-109124\" srcset=\"https:\/\/backblazeprod.wpenginepowered.com\/wp-content\/uploads\/2023\/06\/DL_Neural-Network-Diagram.png 1546w, https:\/\/backblazeprod.wpenginepowered.com\/wp-content\/uploads\/2023\/06\/DL_Neural-Network-Diagram-300x161.png 300w, https:\/\/backblazeprod.wpenginepowered.com\/wp-content\/uploads\/2023\/06\/DL_Neural-Network-Diagram-1024x548.png 1024w, https:\/\/backblazeprod.wpenginepowered.com\/wp-content\/uploads\/2023\/06\/DL_Neural-Network-Diagram-768x411.png 768w, https:\/\/backblazeprod.wpenginepowered.com\/wp-content\/uploads\/2023\/06\/DL_Neural-Network-Diagram-1536x823.png 1536w, https:\/\/backblazeprod.wpenginepowered.com\/wp-content\/uploads\/2023\/06\/DL_Neural-Network-Diagram-560x300.png 560w\" sizes=\"auto, (max-width: 1546px) 100vw, 1546px\" \/><figcaption class=\"wp-element-caption\">Image <a href=\"https:\/\/www.tibco.com\/reference-center\/what-is-a-neural-network\" target=\"_blank\" rel=\"noreferrer noopener\">source<\/a>.<\/figcaption><\/figure>\n<\/div>\n\n\n<p>Neural networks learn, just like other ML mechanisms. As its name suggests, a neural network is an interlinked network of artificial neurons based on the structure of biological brains. Each neuron processes data from its incoming connections, passing on results to its outgoing connections. As we train the network by feeding it data, the training algorithm adjusts those processes to optimize the output of the network as a whole. Our robot friend may slip the first few times it steps on a pencil, but, each time, it\u2019s fine-tuning its processing with the goal of staying upright.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">You\u2019re Giving Me a Complex!<\/h2>\n\n\n\n<p>As you can probably tell, training is important, and the more complex the problem, the more time and data you need to train to consider all possibilities. All possibilities necessarily means providing as much data as possible so that an AI can learn what\u2019s relevant to solving a problem and give you a good solution to your question. Frankly, if or when you\u2019ve succeeded, <a href=\"https:\/\/news.mit.edu\/2016\/making-computers-explain-themselves-machine-learning-1028\" target=\"_blank\" rel=\"noreferrer noopener\">often scientists have difficulty tracking how neural networks make decisions.<\/a><\/p>\n\n\n\n<p>That\u2019s not surprising, in some ways. Deep learning has to solve for shades of gray\u2014for the moment when one user would choose one solution and another would use another solution and it\u2019s hard to tell which was the \u201cbetter\u201d solution between the two. Take natural language models: You\u2019re translating \u201cI want to drive a car\u201d from English to Spanish. Do you include the implied subject\u2014\u201dyo quiero\u201d instead of \u201cquiero\u201d\u2014when both are correct? Do you use \u201cel coche\u201d or \u201cel carro\u201d or \u201cel auto\u201d as your preferred translation of \u201ccar\u201d? Great, now do all that for poetry, with its layers of implied meanings even down to using a single word, cultural and historical references, the importance of rhythm, pagination, lineation, etc.&nbsp;<\/p>\n\n\n\n<p>And that\u2019s before we even get to ethics. Just like in the <a href=\"https:\/\/en.wikipedia.org\/wiki\/Trolley_problem\" target=\"_blank\" rel=\"noreferrer noopener\">trolley problem<\/a>, you have to define how you define what\u2019s \u201cbetter,\u201d and \u201cbetter\u201d might just change with context. The trolley problem presents you with a scenario: a train is on course to hit and kill people on the tracks. You can change the direction of the train, but you can\u2019t stop the train. You have two choices:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>You can do nothing, and the train will hit five people.&nbsp;<\/li>\n\n\n\n<li>You can pull a lever and the train will move to a side track where it will kill one person.&nbsp;<\/li>\n<\/ul>\n\n\n\n<p>The second scenario is better from a net-harm perspective, but it makes you directly responsible for killing someone. And, things become complicated when you start to add details. What if there are children on the track? Does it matter if the people are illegally on the track? What if pulling the lever also kills you\u2014how much do you\/should you value your own survival against other peoples\u2019? These are just the sorts of scenarios that self-driving cars have to solve for.&nbsp;<\/p>\n\n\n\n<p>Deep learning also leaves room for assumptions. In our walking example above, we start with challenging a simple assumption\u2014Do I take the first step now or later? If I wait, how do I know when to resume? If my operator is clearly telling me to do something, under what circumstances can I reject the instruction?&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Yeah, But Is AI (or ML or DL) Going to Take Over the World?<\/h2>\n\n\n\n<p>Okay, deep breaths. Here\u2019s the summary:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Artificial intelligence is what we call it when a computer appears intelligent. It\u2019s the umbrella term.&nbsp;<\/li>\n\n\n\n<li>Machine learning and deep learning both describe processes through which the computer appears intelligent\u2014what it does. As you move from machine learning to deep learning, the tasks get more complex, which means they take more processing power and have different logical underpinnings.&nbsp;<\/li>\n<\/ul>\n\n\n\n<p>Our brains organically make decisions, adapt to change, process stimuli\u2014and <a href=\"https:\/\/www.technologyreview.com\/2021\/03\/03\/1020247\/artificial-intelligence-brain-neuroscience-jeff-hawkins\/\" target=\"_blank\" rel=\"noreferrer noopener\">we don\u2019t really know how<\/a>\u2014but the bottom line is: it\u2019s incredibly difficult to replicate that process with inorganic materials, especially when you start to fall down the rabbit hole of the overlap between hardware and software when it comes to producing <a href=\"https:\/\/www.boldbusiness.com\/digital\/semiconductor-industry-shifting-paradigms-material-science-engineering\/\" target=\"_blank\" rel=\"noreferrer noopener\">chipsets<\/a>, and how that material can affect <a href=\"https:\/\/phys.org\/news\/2022-10-material-chips.html\" target=\"_blank\" rel=\"noreferrer noopener\">how much energy it takes to compute<\/a>. And don\u2019t get us started on <a href=\"https:\/\/en.wikipedia.org\/wiki\/Quantum_computing\" target=\"_blank\" rel=\"noreferrer noopener\">quantum math.<\/a><\/p>\n\n\n\n<p>AI is one of those areas where it\u2019s easy to get lost in the sauce, so to speak. Not only does it play on our collective anxieties, but it also represents some seriously complicated engineering that brings together knowledge from various disciplines, some of which are unexpected to non-experts. (When you started this piece, did you think we\u2019d touch on neuroscience?) Our discussions about AI\u2014what it is, what it can do, and how we can use it\u2014become infinitely more productive once we start defining things clearly. Jump into the comments to tell us what you think, and look out for more stories about AI, cloud storage, and beyond.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Living in a period of rapid technological change means a host of new and changing terms. Let&#8217;s talk about the differences between AI, ML, and DL to gain some clarity. <\/p>\n","protected":false},"author":182,"featured_media":109127,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"content-type":"","footnotes":""},"categories":[7],"tags":[489,468],"class_list":["post-109120","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cloud-storage","tag-ai-ml","tag-b2cloud","entry"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>AI 101: How Cognitive Science and Computer Processors Create Artificial Intelligence<\/title>\n<meta name=\"description\" content=\"Living in a period of rapid technological change means a host of new and changing terms. Let&#039;s talk about the differences between AI, ML, and DL to gain some clarity.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.backblaze.com\/blog\/ai-101-how-cognitive-science-and-computer-processors-create-artificial-intelligence\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"AI 101: How Cognitive Science and Computer Processors Create Artificial Intelligence\" \/>\n<meta property=\"og:description\" content=\"Living in a period of rapid technological change means a host of new and changing terms. Let&#039;s talk about the differences between AI, ML, and DL to gain some clarity.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.backblaze.com\/blog\/ai-101-how-cognitive-science-and-computer-processors-create-artificial-intelligence\/\" \/>\n<meta property=\"og:site_name\" content=\"Backblaze Blog | Cloud Storage &amp; Cloud Backup\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/backblaze\" \/>\n<meta property=\"article:published_time\" content=\"2023-06-29T16:22:54+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-07-29T17:57:54+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.backblaze.com\/blog\/wp-content\/uploads\/2023\/06\/bb-bh-Whats-the-Diff_AI-vs-ML-vs-Deep-Learning-e1687892101866.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1440\" \/>\n\t<meta property=\"og:image:height\" content=\"820\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Stephanie Doyle\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@backblaze\" \/>\n<meta name=\"twitter:site\" content=\"@backblaze\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Stephanie Doyle\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"18 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"AI 101: How Cognitive Science and Computer Processors Create Artificial Intelligence","description":"Living in a period of rapid technological change means a host of new and changing terms. Let's talk about the differences between AI, ML, and DL to gain some clarity.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.backblaze.com\/blog\/ai-101-how-cognitive-science-and-computer-processors-create-artificial-intelligence\/","og_locale":"en_US","og_type":"article","og_title":"AI 101: How Cognitive Science and Computer Processors Create Artificial Intelligence","og_description":"Living in a period of rapid technological change means a host of new and changing terms. Let's talk about the differences between AI, ML, and DL to gain some clarity.","og_url":"https:\/\/www.backblaze.com\/blog\/ai-101-how-cognitive-science-and-computer-processors-create-artificial-intelligence\/","og_site_name":"Backblaze Blog | Cloud Storage &amp; Cloud Backup","article_publisher":"https:\/\/www.facebook.com\/backblaze","article_published_time":"2023-06-29T16:22:54+00:00","article_modified_time":"2024-07-29T17:57:54+00:00","og_image":[{"width":1440,"height":820,"url":"https:\/\/www.backblaze.com\/blog\/wp-content\/uploads\/2023\/06\/bb-bh-Whats-the-Diff_AI-vs-ML-vs-Deep-Learning-e1687892101866.png","type":"image\/png"}],"author":"Stephanie Doyle","twitter_card":"summary_large_image","twitter_creator":"@backblaze","twitter_site":"@backblaze","twitter_misc":{"Written by":"Stephanie Doyle","Est. reading time":"18 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.backblaze.com\/blog\/ai-101-how-cognitive-science-and-computer-processors-create-artificial-intelligence\/#article","isPartOf":{"@id":"https:\/\/www.backblaze.com\/blog\/ai-101-how-cognitive-science-and-computer-processors-create-artificial-intelligence\/"},"author":{"name":"Stephanie Doyle","@id":"https:\/\/backblazeprod.wpenginepowered.com\/blog\/#\/schema\/person\/688f3962fd24d8155ef726bc94d75058"},"headline":"AI 101: How Cognitive Science and Computer Processors Create Artificial Intelligence","datePublished":"2023-06-29T16:22:54+00:00","dateModified":"2024-07-29T17:57:54+00:00","mainEntityOfPage":{"@id":"https:\/\/www.backblaze.com\/blog\/ai-101-how-cognitive-science-and-computer-processors-create-artificial-intelligence\/"},"wordCount":3556,"commentCount":2,"publisher":{"@id":"https:\/\/backblazeprod.wpenginepowered.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.backblaze.com\/blog\/ai-101-how-cognitive-science-and-computer-processors-create-artificial-intelligence\/#primaryimage"},"thumbnailUrl":"https:\/\/backblazeprod.wpenginepowered.com\/wp-content\/uploads\/2023\/06\/bb-bh-Whats-the-Diff_AI-vs-ML-vs-Deep-Learning-e1687892101866.png","keywords":["AI\/ML","B2Cloud"],"articleSection":["Cloud Storage"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.backblaze.com\/blog\/ai-101-how-cognitive-science-and-computer-processors-create-artificial-intelligence\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.backblaze.com\/blog\/ai-101-how-cognitive-science-and-computer-processors-create-artificial-intelligence\/","url":"https:\/\/www.backblaze.com\/blog\/ai-101-how-cognitive-science-and-computer-processors-create-artificial-intelligence\/","name":"AI 101: How Cognitive Science and Computer Processors Create Artificial Intelligence","isPartOf":{"@id":"https:\/\/backblazeprod.wpenginepowered.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.backblaze.com\/blog\/ai-101-how-cognitive-science-and-computer-processors-create-artificial-intelligence\/#primaryimage"},"image":{"@id":"https:\/\/www.backblaze.com\/blog\/ai-101-how-cognitive-science-and-computer-processors-create-artificial-intelligence\/#primaryimage"},"thumbnailUrl":"https:\/\/backblazeprod.wpenginepowered.com\/wp-content\/uploads\/2023\/06\/bb-bh-Whats-the-Diff_AI-vs-ML-vs-Deep-Learning-e1687892101866.png","datePublished":"2023-06-29T16:22:54+00:00","dateModified":"2024-07-29T17:57:54+00:00","description":"Living in a period of rapid technological change means a host of new and changing terms. Let's talk about the differences between AI, ML, and DL to gain some clarity.","breadcrumb":{"@id":"https:\/\/www.backblaze.com\/blog\/ai-101-how-cognitive-science-and-computer-processors-create-artificial-intelligence\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.backblaze.com\/blog\/ai-101-how-cognitive-science-and-computer-processors-create-artificial-intelligence\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.backblaze.com\/blog\/ai-101-how-cognitive-science-and-computer-processors-create-artificial-intelligence\/#primaryimage","url":"https:\/\/backblazeprod.wpenginepowered.com\/wp-content\/uploads\/2023\/06\/bb-bh-Whats-the-Diff_AI-vs-ML-vs-Deep-Learning-e1687892101866.png","contentUrl":"https:\/\/backblazeprod.wpenginepowered.com\/wp-content\/uploads\/2023\/06\/bb-bh-Whats-the-Diff_AI-vs-ML-vs-Deep-Learning-e1687892101866.png","width":1440,"height":820,"caption":"A decorative image with three concentric circles. The smallest says \"deep learning;\" the medium says \"machine learning;\" the largest says \"artificial intelligence.\""},{"@type":"BreadcrumbList","@id":"https:\/\/www.backblaze.com\/blog\/ai-101-how-cognitive-science-and-computer-processors-create-artificial-intelligence\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/backblazeprod.wpenginepowered.com\/blog\/"},{"@type":"ListItem","position":2,"name":"AI 101: How Cognitive Science and Computer Processors Create Artificial Intelligence"}]},{"@type":"WebSite","@id":"https:\/\/backblazeprod.wpenginepowered.com\/blog\/#website","url":"https:\/\/backblazeprod.wpenginepowered.com\/blog\/","name":"Backblaze Cloud Solutions Blog","description":"Cloud Storage &amp; Cloud Backup","publisher":{"@id":"https:\/\/backblazeprod.wpenginepowered.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/backblazeprod.wpenginepowered.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/backblazeprod.wpenginepowered.com\/blog\/#organization","name":"Backblaze","url":"https:\/\/backblazeprod.wpenginepowered.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/backblazeprod.wpenginepowered.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/i0.wp.com\/www.backblaze.com\/blog\/wp-content\/uploads\/2017\/12\/backblaze_icon_transparent.png?fit=512%2C512&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.backblaze.com\/blog\/wp-content\/uploads\/2017\/12\/backblaze_icon_transparent.png?fit=512%2C512&ssl=1","width":512,"height":512,"caption":"Backblaze"},"image":{"@id":"https:\/\/backblazeprod.wpenginepowered.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/backblaze","https:\/\/x.com\/backblaze","https:\/\/www.youtube.com\/user\/Backblaze","https:\/\/en.wikipedia.org\/wiki\/Backblaze"]},{"@type":"Person","@id":"https:\/\/backblazeprod.wpenginepowered.com\/blog\/#\/schema\/person\/688f3962fd24d8155ef726bc94d75058","name":"Stephanie Doyle","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/backblazeprod.wpenginepowered.com\/wp-content\/uploads\/2022\/12\/headshot-4-1-e1670452405672-150x150.jpg","url":"https:\/\/backblazeprod.wpenginepowered.com\/wp-content\/uploads\/2022\/12\/headshot-4-1-e1670452405672-150x150.jpg","contentUrl":"https:\/\/backblazeprod.wpenginepowered.com\/wp-content\/uploads\/2022\/12\/headshot-4-1-e1670452405672-150x150.jpg","caption":"Stephanie Doyle"},"description":"Stephanie is the Associate Editor &amp; Writer at Backblaze. She specializes in taking complex topics and writing relatable, engaging, and user-friendly content. You can most often find her reading in public places, and can connect with her on LinkedIn.","url":"https:\/\/backblazeprod.wpenginepowered.com\/blog\/author\/stephanie\/"}]}},"jetpack_featured_media_url":"https:\/\/backblazeprod.wpenginepowered.com\/wp-content\/uploads\/2023\/06\/bb-bh-Whats-the-Diff_AI-vs-ML-vs-Deep-Learning-e1687892101866.png","_links":{"self":[{"href":"https:\/\/backblazeprod.wpenginepowered.com\/blog\/wp-json\/wp\/v2\/posts\/109120","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/backblazeprod.wpenginepowered.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/backblazeprod.wpenginepowered.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/backblazeprod.wpenginepowered.com\/blog\/wp-json\/wp\/v2\/users\/182"}],"replies":[{"embeddable":true,"href":"https:\/\/backblazeprod.wpenginepowered.com\/blog\/wp-json\/wp\/v2\/comments?post=109120"}],"version-history":[{"count":0,"href":"https:\/\/backblazeprod.wpenginepowered.com\/blog\/wp-json\/wp\/v2\/posts\/109120\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/backblazeprod.wpenginepowered.com\/blog\/wp-json\/wp\/v2\/media\/109127"}],"wp:attachment":[{"href":"https:\/\/backblazeprod.wpenginepowered.com\/blog\/wp-json\/wp\/v2\/media?parent=109120"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/backblazeprod.wpenginepowered.com\/blog\/wp-json\/wp\/v2\/categories?post=109120"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/backblazeprod.wpenginepowered.com\/blog\/wp-json\/wp\/v2\/tags?post=109120"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}