Meter.net News Why can't ChatGPT calculate? The secret of mathematical errors revealed

Why can't ChatGPT calculate? The secret of mathematical errors revealed

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.

Why can't ChatGPT calculate? The secret of mathematical errors revealed

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?

Tokenization: When numbers break into pieces

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.

A statistical machine that falters with numbers

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.

The challenge of multiplication

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.

ChatGPT has changed the world of artificial intelligence, but it's not the only player in the AI assistant field. Discover five intriguing alternatives with different focuses – from analytical Claude to the versatile Gemini and the European Mistral. Each excels in different areas and offers you distinct functionalities.

We will guide you through the basic concepts of AI, from machine learning to neural networks and natural language processing. You'll learn how to start practicing AI, which tools to use, and how to keep up with this fast-evolving field.

Ping and FPS are two key elements that determine the quality of your gaming experience. While ping reflects the speed of communication between your device and the game server, FPS determines the smoothness of the game's graphics. In our guide, you'll learn how to identify errors and how to easily fix them.

Elon Musk and xAI introduced Grok 3, a new powerful AI model that surpasses competition like GPT-4o. Grok 3 brings enhanced capabilities such as DeepSearch and a beta voice mode. The model also uses ten times more computational power compared to its predecessor and is available for X network users.

Apple presents the new iPhone 16e, which offers advanced artificial intelligence (AI) features at a lower price than its flagship models. It is equipped with the same A18 processor as the more expensive iPhones and provides performance capable of handling demanding applications and games. The main attraction is the integration of Apple Intelligence, including photo editing tools, quick search, and ChatGPT.

With the increasing number of smart devices in households, security risks are also growing. Smart bulbs, doorbells, and fridges know more about us than our best friend. We'll show you how to enjoy the comfort of a smart home while maintaining your privacy.