Artificial intelligence writes poems but struggles with math. Why can't ChatGPT and other chatbots handle even basic arithmetic? We reveal the causes of AI's mathematical mistakes, from tokenization which breaks numbers into unintelligible fragments, to the statistical learning approach that fails in mathematics.
Artificial intelligence, including ChatGPT, can write poems, compose music, and translate texts. Yet, it often stumbles on simple mathematical tasks. Why can't a chatbot, that handles complex language tasks, deal with math at an elementary school level?
One of the key problems is tokenization. This process divides data into smaller parts, called tokens. Imagine it like assembling a puzzle, where words are broken down into syllables. The tokenizer, the AI model responsible for this process, does not understand the meaning of numbers.
It may happen that the number 380 is perceived as one token, while 381 is perceived as two (38 and 1). This disrupts the relationships between digits and complicates the calculation.
Another reason for ChatGPT's mathematical difficulties is its statistical nature. The chatbot learns based on a vast amount of examples and looks for patterns in them. For instance, it learns that the phrase "Dear Sir" is often followed by the phrase "we are reaching out to you".
However, this approach faces challenges in mathematics. ChatGPT can guess that the product of numbers ending in 2 will end in 4, but it cannot handle intermediate results. Simply put, the ChatGPT model tries to guess the result based on learned patterns instead of performing a precise calculation.
A study conducted by Yuntian Deng from the University of Waterloo showed that ChatGPT struggles with multiplying numbers greater than four digits. The reason is that any error in a calculation step shows up in the final result.
Imagine it as a domino effect – one error triggers a chain reaction, and the result is completely off. However, there is hope that ChatGPT will improve in the future. Deng and his colleagues also tested the o1 model from OpenAI, which is characterized by logical reasoning capabilities.
This model achieved significantly better results than the standard GPT-4o and was able to correctly solve multiplications of nine-digit numbers. The o1 model thinks through the problem step by step, allowing for more accurate results.
Artificial intelligence is no longer science fiction, and we have several clever assistants to choose from. Two of them, ChatGPT and newcomer DeepSeek, are now competing for users' favor. How do they differ? And which one is the best?
Code.org Studio is a popular online tool that offers children (and adults) access to fun and interactive programming lessons. With the help of visual block commands, they can easily create animations, games, and applications, develop logical thinking, and enhance creativity.
Kodu Game Lab is an innovative platform for teaching programming, allowing kids to create their own games using visual block coding. They can experiment with game design, and develop creativity and logical thinking.
Project Stargate is an ambitious initiative aimed at creating infrastructure for artificial intelligence in the USA. The goal is to invest $500 billion over the next four years. Supported by giants like OpenAI, SoftBank, and Microsoft, the project promises thousands of jobs and economic dominance for the USA.
RoboMind is an educational tool designed to teach the basics of programming using a virtual robot. It uses the simple Robo programming language, which is an ideal choice for beginners. Students learn algorithmic thinking through practical tasks such as navigating mazes or manipulating objects.
Sam Altman, CEO of OpenAI, announced that the company already knows how to create general artificial intelligence and is aiming for the development of superintelligence. According to his prediction, it could become a reality in just a few years. Although current AI systems still have significant shortcomings, Altman believes in their rapid overcoming.