{"id":2026,"date":"2024-04-26T14:28:00","date_gmt":"2024-04-26T19:28:00","guid":{"rendered":"https:\/\/sites.imsa.edu\/hadron\/?p=2026"},"modified":"2024-04-26T14:28:00","modified_gmt":"2024-04-26T19:28:00","slug":"artificial-intelligence-a-mathematical-marvel","status":"publish","type":"post","link":"https:\/\/sites.imsa.edu\/hadron\/2024\/04\/26\/artificial-intelligence-a-mathematical-marvel\/","title":{"rendered":"Artificial Intelligence: A Mathematical Marvel"},"content":{"rendered":"<p style=\"text-align: center\">\n<p style=\"text-align: center\"><span style=\"font-weight: 400\">Written by: Aarav Shah<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-2045 aligncenter\" src=\"http:\/\/sites.imsa.edu\/hadron\/files\/2024\/04\/Screenshot-2024-04-26-140822-300x167.png\" alt=\"\" width=\"950\" height=\"529\" srcset=\"https:\/\/sites.imsa.edu\/hadron\/files\/2024\/04\/Screenshot-2024-04-26-140822-300x167.png 300w, https:\/\/sites.imsa.edu\/hadron\/files\/2024\/04\/Screenshot-2024-04-26-140822-600x333.png 600w, https:\/\/sites.imsa.edu\/hadron\/files\/2024\/04\/Screenshot-2024-04-26-140822.png 616w\" sizes=\"auto, (max-width: 950px) 100vw, 950px\" \/><\/p>\n<p style=\"text-align: center\"><span style=\"font-weight: 400\">Source: <\/span><a href=\"https:\/\/www.technologynetworks.com\/neuroscience\/news\/deepmind-ai-used-to-develop-new-math-techniques-356418\"><span style=\"font-weight: 400\">https:\/\/www.technologynetworks.com\/neuroscience\/news\/deepmind-ai-used-to-develop-new-math-techniques-356418<\/span><\/a><span style=\"font-weight: 400\">\u00a0<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400\">Artificial intelligence (AI) is rapidly transforming the world around us. From facial recognition on our smartphones to the algorithms driving autonomous vehicles, AI&#8217;s capabilities appear magical. But beneath the seemingly mystical surface lies a powerful and logical engine: mathematics. Math is more than just a collection of equations; it is the language that enables AI models to function.<\/span><\/p>\n<p><b>Mathematics in AI\u00a0<\/b><\/p>\n<p><span style=\"font-weight: 400\">According to Oxford, artificial intelligence \u201crefers 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.\u201d Essentially, artificial intelligence is about finding hidden correlations in large sets of data and relaying these patterns in a format that humans can understand. The majority of this functionality comes from key mathematical fields. Linear algebra and calculus provide the tools for representing data, optimizing algorithms, and making decisions under uncertainty (Jamal 2024). Probability and statistics play a crucial role in analyzing data, understanding AI&#8217;s limitations, and ensuring robust performance. These concepts help build the foundation of all the technology we see being applied in various sectors and have a massive yet unseen impact on the world.<\/span><\/p>\n<p><b>Change with Calculus<\/b><\/p>\n<p><span style=\"font-weight: 400\">Calculus is the mathematical framework for understanding how things change. It plays a key role in optimizing datasets and training machine learning models, as it can calculate gradient descent, which is a fundamental optimization algorithm widely used in training various AI models, especially those involving machine learning. By iteratively adjusting the internal parameters of a model to minimize a cost function, it allows the model to make accurate predictions. It is a versatile tool and can be used with complex models in numerous applications, such as deep learning, neural networks, linear regression, and more (Stahl 2023). Calculus is essential to this algorithm, as concepts such as derivatives allow the cost function to find the optimal solution. Without calculus, AI would be unable to \u201clearn\u201d and improve on its outputs.<\/span><\/p>\n<p><b>Data with Linear Algebra<\/b><\/p>\n<p><span style=\"font-weight: 400\">Linear algebra plays a different role in AI training: representing and manipulating complex data structures, especially in neural networks. AI models often deal with vast amounts of data, from images to sensor readings. Linear algebra provides a way to represent this data in scalars, vectors, matrices, and tensors (Figure 1). A scalar is a quantity that only has magnitude and no direction, and can be used to represent data that is not inherently structured as a vector or matrix, such as size. Vectors can represent individual data points such as pixel values in an image or words in natural language processing. Meanwhile, matrices can be used to represent the intensity of a pixel in image processing and data structures in neural networks. Tensors are able to take the concepts of vectors and matrices to represent multidimensional data, including images that go beyond typical RGB. All of these linear algebra concepts serve as important tools to simplify AI training, allowing these models to sort through massive quantities of data.<\/span><\/p>\n<p style=\"text-align: center\"><b>Figure 1<\/b><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-2054 aligncenter\" src=\"http:\/\/sites.imsa.edu\/hadron\/files\/2024\/04\/Screenshot-2024-04-26-141138-1-300x92.png\" alt=\"\" width=\"857\" height=\"263\" srcset=\"https:\/\/sites.imsa.edu\/hadron\/files\/2024\/04\/Screenshot-2024-04-26-141138-1-300x92.png 300w, https:\/\/sites.imsa.edu\/hadron\/files\/2024\/04\/Screenshot-2024-04-26-141138-1-600x185.png 600w, https:\/\/sites.imsa.edu\/hadron\/files\/2024\/04\/Screenshot-2024-04-26-141138-1.png 724w\" sizes=\"auto, (max-width: 857px) 100vw, 857px\" \/><\/p>\n<p style=\"text-align: center\"><span style=\"font-weight: 400\">A visual representation of different methods of storing data<\/span><\/p>\n<p style=\"text-align: center\"><span style=\"font-weight: 400\">Source: <\/span><a href=\"https:\/\/dev.to\/mmithrakumar\/scalars-vectors-matrices-and-tensors-with-tensorflow-2-0-1f66\"><span style=\"font-weight: 400\">https:\/\/dev.to\/mmithrakumar\/scalars-vectors-matrices-and-tensors-with-tensorflow-2-0-1f66<\/span><\/a><span style=\"font-weight: 400\">\u00a0<\/span><\/p>\n<p><b>Solving Uncertainty with Statistics<\/b><\/p>\n<p><span style=\"font-weight: 400\">While both calculus and linear algebra are incredibly important, the field of statistics arguably contains the most important tools to train AI models. Machine learning is inherently about using data to make predictions, and statistics provides the methodologies for analyzing any given dataset. For example, hypothesis testing, a statistical method for evaluating claims based on data samples, can help assess the usefulness of AI algorithms (Dsouza 2021). Classification, another statistical concept, can allow AI to make decisions based on classifying data to a category. However, the most important application of statistics lies in models \u201cunderstanding\u201d the uncertainty of the real world and random chance. Probability theory especially plays an important role in providing AI with the tools to deal with missing values, noise, and randomness in training data, even allowing it to make decisions when faced with incomplete information. Statistical insights are the foundation of AI data-driven decision-making.<\/span><\/p>\n<p style=\"text-align: center\"><b>Figure 2<\/b><\/p>\n<p style=\"text-align: center\"><span style=\"font-weight: 400\">A quick breakdown of the different math fields needed for AI<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-2060 aligncenter\" src=\"http:\/\/sites.imsa.edu\/hadron\/files\/2024\/04\/Screenshot-2024-04-26-141533-300x223.png\" alt=\"\" width=\"751\" height=\"558\" srcset=\"https:\/\/sites.imsa.edu\/hadron\/files\/2024\/04\/Screenshot-2024-04-26-141533-300x223.png 300w, https:\/\/sites.imsa.edu\/hadron\/files\/2024\/04\/Screenshot-2024-04-26-141533.png 522w\" sizes=\"auto, (max-width: 751px) 100vw, 751px\" \/><\/p>\n<p style=\"text-align: center\"><span style=\"font-weight: 400\">Source: <\/span><a href=\"https:\/\/www.linkedin.com\/pulse\/learning-math-machine-mahammad-valiyev\"><span style=\"font-weight: 400\">https:\/\/www.linkedin.com\/pulse\/learning-math-machine-mahammad-valiyev<\/span><\/a><span style=\"font-weight: 400\">\u00a0<\/span><\/p>\n<p><b>Mathematical Limitations<\/b><\/p>\n<p><span style=\"font-weight: 400\">Current mathematical approaches are incredibly powerful, but they aren&#8217;t without their limitations. One key challenge lies in interpreting the inner workings of complex models, particularly those utilizing deep learning. These models often function as intricate &#8220;black boxes,&#8221; excelling at tasks but leaving us with little understanding of how they arrive at their conclusions (Figure 1). This lack of transparency can raise concerns about reliability and bias, as it can be difficult to pinpoint where errors or unfair prejudices might be creeping into the AI&#8217;s decision-making process. Researchers are actively exploring methods to make these models more interpretable, and advancements in this area will be crucial for ensuring the responsible and trustworthy development of AI.<\/span><\/p>\n<p style=\"text-align: center\">\n<p style=\"text-align: center\"><b>Figure 3<\/b><\/p>\n<p style=\"text-align: center\"><span style=\"font-weight: 400\">A diagram depicting the different layers of a neural network, including the \u201chidden layer\u201d<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-2065 aligncenter\" src=\"http:\/\/sites.imsa.edu\/hadron\/files\/2024\/04\/Screenshot-2024-04-26-141802-300x181.png\" alt=\"\" width=\"873\" height=\"527\" srcset=\"https:\/\/sites.imsa.edu\/hadron\/files\/2024\/04\/Screenshot-2024-04-26-141802-300x181.png 300w, https:\/\/sites.imsa.edu\/hadron\/files\/2024\/04\/Screenshot-2024-04-26-141802.png 536w\" sizes=\"auto, (max-width: 873px) 100vw, 873px\" \/><\/p>\n<p style=\"text-align: center\"><span style=\"font-weight: 400\">Source: <\/span><a href=\"https:\/\/www.ibm.com\/topics\/neural-networks\"><span style=\"font-weight: 400\">https:\/\/www.ibm.com\/topics\/neural-networks<\/span><\/a><span style=\"font-weight: 400\">\u00a0<\/span><\/p>\n<p><b>The Impact of AI<\/b><\/p>\n<p><span style=\"font-weight: 400\">Although the mathematical concepts that power AI are fascinating, a question arises: what are the impacts of this math on our daily lives? Consider natural language processing (NLP) algorithms like ChatGPT. These AI marvels use vector representations, probabilistic models, and other mathematical tools to generate human-like text. Similarly, computer vision models harness these techniques to &#8220;see&#8221; the world like us, allowing for object identification. These same technologies and concepts will allow for fully autonomous vehicles, better healthcare diagnoses and treatments, smart appliances, better social media recommendations, and much much more. Thus, fundamental knowledge of mathematics will be invaluable for future AI engineers. As AI continues to evolve, the power of mathematics will remain the invisible engine driving this transformation, shaping the world for centuries to come.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: center\"><span style=\"font-weight: 400\">References and Sources<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400\">Dsouza, J. (2021, November 24). All the math you need to know in Artificial Intelligence. freeCodeCamp.org. <\/span><a href=\"https:\/\/www.freecodecamp.org\/news\/all-the-math-you-need-in-artificial-intelligence\/\"><span style=\"font-weight: 400\">https:\/\/www.freecodecamp.org\/news\/all-the-math-you-need-in-artificial-intelligence\/<\/span><\/a><span style=\"font-weight: 400\">\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400\">\u00a0Google. (n.d.). AI vs. Machine Learning: How do they differ?\u00a0 |\u00a0 google cloud. Google. <\/span><a href=\"https:\/\/cloud.google.com\/learn\/artificial-intelligence-vs-machine-learning#:~:text=While%20artificial%20intelligence%20encompasses%20the,accurate%20results%20by%20identifying%20patterns\"><span style=\"font-weight: 400\">https:\/\/cloud.google.com\/learn\/artificial-intelligence-vs-machine-learning<\/span><\/a><\/p>\n<p><span style=\"font-weight: 400\">Jamal, M. (2024, January 19). Why math is vital to thrive in your AI career. Built In. <\/span><a href=\"https:\/\/builtin.com\/articles\/math-for-ai\"><span style=\"font-weight: 400\">https:\/\/builtin.com\/articles\/math-for-ai<\/span><\/a><span style=\"font-weight: 400\">\u00a0\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400\">KCP. (2023, November 7). The crucial role of mathematics in AI development. Medium. <\/span><a href=\"https:\/\/medium.com\/@Noodle_LLC\/the-crucial-role-of-mathematics-in-ai-development-dd31d4d6e55c#:~:text=2.2%20Representing%20Data%20and%20Decision%2DMaking%20with%20Mathematics&amp;text=Here%E2%80%99s%20how%20AI%20models%20use,organize%20and%20process%20data%20efficiently\"><span style=\"font-weight: 400\">https:\/\/medium.com\/@Noodle_LLC\/the-crucial-role-of-mathematics-in-ai-development-dd31d4d6e55c<\/span><\/a><\/p>\n<p><span style=\"font-weight: 400\">Nelson, H. (2023). Essential math for AI next-level mathematics for developing efficient and successful AI systems. O\u2019REILLY MEDIA.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400\">Stahl, A. (2023, May 31). The math behind predictions in AI: Unraveling the magic. Medium. <\/span><a href=\"https:\/\/medium.com\/@stahl950\/the-math-behind-predictions-in-ai-unraveling-the-magic-44b4fcb8af6\"><span style=\"font-weight: 400\">https:\/\/medium.com\/@stahl950\/the-math-behind-predictions-in-ai-unraveling-the-magic-44b4fcb8af6<\/span><\/a><span style=\"font-weight: 400\">\u00a0\u00a0\u00a0<\/span><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Written by: Aarav Shah Source: https:\/\/www.technologynetworks.com\/neuroscience\/news\/deepmind-ai-used-to-develop-new-math-techniques-356418\u00a0 &nbsp; Artificial intelligence (AI) is rapidly transforming the world around us. From facial recognition on our smartphones to the algorithms driving autonomous vehicles, AI&#8217;s capabilities appear magical. But beneath the seemingly mystical surface lies a powerful and logical engine:<\/p>\n","protected":false},"author":1021,"featured_media":2078,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[11,13],"tags":[33,86,87],"class_list":["post-2026","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-math","category-technology","tag-ai","tag-artificial-intelligence","tag-math"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/sites.imsa.edu\/hadron\/wp-json\/wp\/v2\/posts\/2026","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sites.imsa.edu\/hadron\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sites.imsa.edu\/hadron\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sites.imsa.edu\/hadron\/wp-json\/wp\/v2\/users\/1021"}],"replies":[{"embeddable":true,"href":"https:\/\/sites.imsa.edu\/hadron\/wp-json\/wp\/v2\/comments?post=2026"}],"version-history":[{"count":1,"href":"https:\/\/sites.imsa.edu\/hadron\/wp-json\/wp\/v2\/posts\/2026\/revisions"}],"predecessor-version":[{"id":2079,"href":"https:\/\/sites.imsa.edu\/hadron\/wp-json\/wp\/v2\/posts\/2026\/revisions\/2079"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sites.imsa.edu\/hadron\/wp-json\/wp\/v2\/media\/2078"}],"wp:attachment":[{"href":"https:\/\/sites.imsa.edu\/hadron\/wp-json\/wp\/v2\/media?parent=2026"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sites.imsa.edu\/hadron\/wp-json\/wp\/v2\/categories?post=2026"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sites.imsa.edu\/hadron\/wp-json\/wp\/v2\/tags?post=2026"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}