What is "quantization" used in the world of AI? Quantization is a technique that reduces the precision with which computers handle data, thereby decreasing the memory and processing time required for calculations. Despite its name containing "quantum," it is not directly related to quantum computers; rather, it is a method to optimize AI models for efficiency.
For example, saving a photograph with a very high number of colors (tens of millions) produces beautiful results but results in a large file size. Even if you reduce the number of colors (for instance, to 256 colors), the visual appearance changes little, yet the file size becomes significantly smaller. Quantization works similarly by converting the numerical values within an AI model from fine precision like "32-bit" to coarse precision like "8-bit," making the model lighter and faster.
Recently, there has been growing demand to run large AI models (local LLMs) on smartphones and personal computers, and quantization is frequently highlighted in the news as an indispensable technology for this purpose.