← All posts

Topic

ai

aiNov 17, 20261 min read

Overfitting: When AI Memorises Instead of Learning

Imagine a student who memorises every answer in last year’s exam paper. They score 100% on that paper. Then the real exam arrives with slightly different questions, and they fail. Machine learning has the same trap, and it is called overfitting. Animation: generated entirely by code to illustrate the idea; the data are synthetic. In the animation, two models learn…

Read the post →

aiNov 16, 20261 min read

Which Word Does It Mean? How AI Uses Attention

Read this sentence: “The animal didn’t cross the street because it was too tired.” You know instantly that “it” is the animal. Now change one word: “…because it was too wide.” Suddenly “it” is the street. A language model has to solve this puzzle millions of times a day, and the tool it uses is called attention. Animation: generated entirely…

Read the post →

aiNov 15, 20261 min read

What an LLM Really Does: It Guesses the Next Word

ChatGPT, Claude and other large language models look like they think. Underneath, they do one simple thing again and again: given the text so far, they score every possible next word, pick one, add it, and repeat. “The doctor checked the patient’s blood…” → pressure gets 81%, sugar 6%, orange almost zero. That loop is called next-word prediction. Animation: generated…

Read the post →

aiJul 30, 20254 min read

Radiant Vision: Unveiling True Colors with Retinex Image Enhancement

Retinex is an image enhancement technique inspired by human vision. It separates an image into illumination and reflectance components to correct uneven lighting. It is based on the Retinex theory of color vision, which posits that the perceived color of an object is determined by its reflectance properties, rather than solely by the illumination it receives.  Theory of Retinex: Core…

Read the post →