What branches of mathematics do I need to know to make AI algorithms?

Click For Summary

Discussion Overview

The discussion revolves around the mathematical foundations necessary for developing artificial intelligence algorithms, particularly in the context of object recognition and learning from data. Participants explore various branches of mathematics relevant to different aspects of AI, including theoretical and practical considerations.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant expresses a lack of mathematical knowledge and seeks guidance on the necessary math for AI algorithms, specifically for tasks like object recognition.
  • Another participant suggests that computer science and mathematics are interconnected, noting that while mathematics does not fully address computational mechanics, combinatorics could be useful.
  • A different viewpoint introduces neural networks as a key method for pattern recognition in AI, citing a link to support this claim.
  • One participant emphasizes the diversity within the AI field, stating that different areas require different mathematical tools, such as partial differential equations and Fourier analysis for computer vision.
  • Several participants propose a foundational list of mathematical topics, including discrete math, linear algebra, probability and statistics, and possibly graph theory, depending on the specific AI application.
  • There is a discussion about the disconnect between theoretical mathematics and practical programming, with one participant arguing that sorting algorithms like quicksort involve mathematical principles, despite a lack of formalization.
  • Another participant counters that many AI problems focus on optimization, referencing various mathematical techniques and algorithms relevant to this area.
  • A suggestion is made to include multi-variable calculus in the list of necessary mathematics for understanding concepts like gradient descent.

Areas of Agreement / Disagreement

Participants express a range of views on the necessary mathematics for AI, with some agreement on foundational topics like linear algebra and probability/statistics, but no consensus on the specific requirements for different AI applications or the relationship between theoretical and practical aspects of mathematics in computer science.

Contextual Notes

Participants highlight the complexity of AI as a field, indicating that the required mathematics may vary significantly based on the specific area of focus within AI. There are also mentions of unresolved issues regarding the formalization of algorithms and the relationship between theoretical concepts and practical applications.

petormojer
Messages
15
Reaction score
0
I am in high school and I don't know much math.
By AI I mean Artificial Intelligence.

And by AI algorithms, I mean like algorithms that can allow a program to distinguish object from object in a picture, what key word to use based on data from the past, "learns" you and other objects, and etc.
 
Mathematics news on Phys.org
I also responded to your other thread. In principle, computer science and mathematics are the same; if you can find a solution to a problem in one, you can do so for the other. But there is a big disconnect, in that mathematics does not (yet) deal with the mechanics of computational requirements, and the most efficient way to calculate functions.

From what I know, there is no formalized "mathy" way of expressing the algorithms used in artificial intelligence (and in computer science in general, really). I haven't seen a mathematical formalization of quicksort yet, anyway.

Combinatorics would come in handy, though. Really, you need to look at current vectors of attack to AI.

Take me with a grain of salt, though. I don't know about the high, arcane wizard math yet; I'm only up to differential equations, and my major is CS.
 
petormojer said:
algorithms that can allow a program to distinguish object from object in a picture, what key word to use based on data from the past, "learns" you and other objects, and etc.
My first thought was neural networks (NN). You "train" a NN to recognize objects. This link seems to verify that NN is central to pattern recognition. http://www.dontveter.com/basisofai/basisofai.html
 
The problem is that AI is a massive field. So, you're going to need vastly different kinds of math for different things within AI. From what I've heard, stuff like computer vision is very math-heavy. You can use partial differential equations and Fourier analysis and lots of stuff.

My general gut reaction is to say that you need to learn discrete math, linear algebra, and prob/stat. Maybe some basic graph theory. But that might depend on what you are trying to do. If you are trying to do game programming, I'm guessing you would need stuff that's covered in a more standard algorithms course, like shortest path algorithms and that sort of thing. For that, you just need some discrete math/graph theory. Part of the "math" is going to be in the subject itself, too.

But there is a big disconnect, in that mathematics does not (yet) deal with the mechanics of computational requirements, and the most efficient way to calculate functions.

That IS math. P = NP is one of the millennium problems, a set of 7 problems (6 left) that you can win a million dollars for solving. The only disconnect is the same disconnect that exists between theoretical computer science and practical programming. In practice, it might not only be about big O. You might have to time different algorithms to see which is that fastest on the type of input data that you have and so on, and you might care about constant factors and so on.
I haven't seen a mathematical formalization of quicksort yet, anyway.

The way I see it, quicksort IS just math. Sorting is closely related to permutations of finite, totally ordered sets. And I'm sure someone has written it out in full rigor somewhere. The fact that people don't normally bother to do that just means it's non-rigorous, rather than that it's not math. There is actual algebra and math involved in analyzing the running time (best case, worst case, average case), too, even in CS classes.
 
... said:
But there is a big disconnect, in that mathematics does not (yet) deal with the mechanics of computational requirements, and the most efficient way to calculate functions.
I disagree. Many AI problems of pattern recognition boil down to optimizing the match of the observed image with the trained objects. There has been a lot of work on the mathematics of optimization algorithms. To see some of that, check out the Davidon-Fletcher-Powell algorithm, integer programming, neural networks, Kalman filters, fast Fourier transforms, and a variety of Operations Research techniques. See also optimal control theory.
 
I think I should add multi-variable calculus to the list, since you need that to understand gradient descent and some of it for prob/stat.
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 57 ·
2
Replies
57
Views
5K
Replies
86
Views
3K
Replies
10
Views
5K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 1 ·
Replies
1
Views
598
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 71 ·
3
Replies
71
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K