
Contradictheory: The false flags of AI
How hard is it to draw the Malaysian flag? Easy enough to ask a computer to do it for you, but hard enough that it'll probably get the stripes, the star, and the moon on the design wrong.
I'm referring, of course, to not one but two recent débâcles: First, a national newspaper ran a front-page image of the Malaysian flag that was missing the crescent moon. Then the Education Ministry distributed an SPM examination analysis report with a flag that had too many stars and too few stripes.
Now before I get into it much further, let's admit that all of this could have been avoided if the humans in charge had paid a little more attention. But perhaps we are beginning to trust artificial intelligence (AI) just a little too much. It is computing, but not as we know it.
Renowned Australian-American mathematician Terence Tao said in a lecture about the future role of AI in science and mathematics that AI is fundamentally a 'guessing machine'. We're used to computers giving the right answer, every single time. But AI doesn't do precision. It doesn't always get it right. It doesn't even always give you the same answer, just something that vaguely resembles what it's seen before.
For the AI machine, the Malaysian flag isn't a precise star and crescent adorned with 14 red and white stripes. It's a yellow blob-ish star thing on a blue background, with some colourful lines thrown in somewhere.
This 'best guess' strategy makes AI wonderfully flexible for tasks we used to think computers couldn't handle, like generate a photo of something vaguely described, but also dumb at some things humans find easy.
But here's my suggestion: Instead of getting more humans to double-check AI's clever outputs, maybe we should just use more computers – specifically, old-school computers that just do what we ask them to and don't guess at anything.
I know what some of you are thinking: Using computers got us into this mess, why would using more get us out of it? To try to explain this, let me step away from art into mathematics.
Back in 1976, two mathematicians proved something called the Four Colour Theorem. It basically says that any map can be coloured with just four colours such that no two neighbouring countries share the same one. While it's easy to understand and demonstrate with a box of crayons, it's actually very hard to prove.
(This, by the way, is the difference between solving maths problems and proving theorems. Solving problems means getting answers to sums. Proving theorems means constructing airtight arguments that work for any map, anywhere, ever. It's also why a maths degree often involves very few numbers and a lot more phrases like, 'But it's obvious, isn't it?')
What made the 1976 proof of the Four Colour Theorem so contentious was that it relied heavily on thousands of hours of computer work that no human could realistically verify. Was a proof valid if no human in the world could check it?
Conceivably, they could have asked thousands of other mathematicians to go over various parts of the work done by the computer. But maths traditionally resists large groups of people, if only for the reason that mathematicians don't trust others to do the work properly (or as they say, 'They're not mathematically rigorous enough').
Then, in 2005, another pair of mathematicians used a program called Coq to verify that the original 1976 work was correct. Coq is a proof assistant, which is a computer program that checks the logic of a proof step by step.
This may seem counterintuitive. They used a computer to confirm that a computer-assisted proof from 30 years ago was valid?
But mathematicians have slowly embraced computer proof assistants over the years. They are built around a small, trustworthy 'kernel', a tiny piece of code that performs the actual logic-checking. If the kernel is verified, then we can trust the results it produces. It's like having an employee who is so reliable that if they say the blueprint is flawless, you believe them.
Most of these kernels are just a few hundred to a few thousand lines of code, which is small enough for human experts to inspect thoroughly in a variety of ways. In contrast, modern AI systems use machine learning, which is akin to a mysterious black box that even their creators don't fully understand. Who knows why an AI thinks what a flag is supposed to look like?
Now, the hardest part of using a proof assistant is in 'formalising' the original proof. This is the laborious process of translating a human-readable proof into a precise format the computer can understand. Mathematicians love to say 'It's obvious that...', which computers hate. Computers need everything spelled out in excruciating detail, and formalising a proof can take anything from a few weeks to several years, because if you input it wrong, it just doesn't work. The maths don't maths.
So Tao suggests that we may soon be able to employ 'beginner' mathematicians who aren't particularly strong at maths – because the proof assistant will vet their input and reject it if it's not correct.
And his point is that we can combine this with AI. Let the AI guess how to formalise a proof, and let the proof assistant tell it if it got it wrong. You get the power of creativity with the safety net of rigour.
That kind of rigour is exactly what's missing as we clumsily stumble to embrace the use of AI tools in the workplace. We already accept spell-checkers, and those weren't built with AI. So let's build systems to flag potential problems in AI-generated output.
For instance, imagine an editor sees a giant blinking red box around a photo marked 'AI-generated', warning that it might not be accurate. Or a block of text that's flagged because it closely matches something else online, highlighting the risk of plagiarism.
As usual, it's not the tools that are dangerous or bad, it's how you use them. It's OK to wave the flag and rally users to the wonderful new future that AI brings. But just remember that computers sometimes work better with humans, rather than instead of them. In his fortnightly column, Contradictheory , mathematician-turned-scriptwriter Dzof Azmi explores the theory that logic is the antithesis of emotion but people need both to make sense of life's vagaries and contradictions. Write to Dzof at lifestyle@thestar.com.my. The views expressed here are entirely the writer's own.

Try Our AI Features
Explore what Daily8 AI can do for you:
Comments
No comments yet...
Related Articles


The Sun
4 hours ago
- The Sun
Pilot AI initiative launched for selected S'gor schools
PETALING JAYA: Selangor is set to roll out a pilot programme to help students and teachers adapt to artificial intelligence (AI), starting with selected schools in four districts. Selangor Menteri Besar Datuk Seri Amirudin Shari said the initiative is part of the state's long-term plan to cultivate a generation equipped with critical thinking skills and a strong foundation in AI literacy. 'This is not just about being users or consumers of AI. We want to shape students to become creators and thinkers. 'We are starting with three schools per district, covering B40, urban and rural areas,' he said at a media conference at the launch of Advancing Future Skills for All (FS4A) Selangor Scale-Up yesterday. He said the programme is in line with the Selangor Structure Plan 2035, particularly its focus on accelerating digital-led economic growth and ensuring inclusive, high-quality education opportunities for all. Amirudin said the initiative, supported by Google and implemented by Arus Academy in collaboration with the Education Ministry, Unicef, Malaysia Digital Economy Corporation and CelcomDigi, is not just timely but also strategic. 'This programme is a brilliant example of what a public-private partnership can achieve. We have Google and CelcomDigi deeply committed to our communities and ensuring every Malaysian child gets vital digital skills,' he said at the launch. 'We have nearly one million students enrolled in public schools up to Form 6. This initiative aims to explore how AI-related skills can be integrated at scale across Selangor. 'A state-level white paper on AI is also being developed to support long-term policy planning.' Arus Academy co-founder David Chak said the programme currently focuses on four districts – Gombak, Petaling Perdana, Petaling Utama and Klang. Schools were selected based on demographic distribution, poverty levels and overall readiness, in close coordination with district education offices. 'There's no one-size-fits-all approach. We work with each school to understand its specific context and tailor support accordingly.' At present, 88 schools are participating in the training. Each school sends one teacher and two students, and small grants of RM500 are provided to support school-based AI projects. Chak said the FS4A platform, launched during the pandemic, now has over 270,000 users and more than two million page views. Data analytics are employed to measure impact, track participation trends and enhance delivery across various school types. To date, the programme has reached over 13,000 students, with 3,350 successfully completing the modules. In its current phase, the programme aims to train at least 120 teachers across 40 schools by August, with classroom implementation expected to begin immediately thereafter. CelcomDigi Sustainability head Philip Ling said Selangor was chosen for the programme due to its dense school population, making it an ideal testing ground following the initial rollout in rural Sarawak. 'These tactical choices allow us to refine our approach based on different school environments.' Unicef education specialist Azlina Kamal said the programme was co-developed with the ministry and is integrated into national subjects such as Science and Design & Technology. 'Offline kits were also developed for students in rural and underserved areas, including indigenous and disabled communities, to ensure access without relying on internet connectivity.'


The Sun
5 hours ago
- The Sun
Selangor Launches AI Pilot in Schools with Google Collaboration
PETALING JAYA: Selangor is set to roll out a pilot programme to help students and teachers adapt to artificial intelligence (AI), starting with selected schools in four districts. Selangor Menteri Besar Datuk Seri Amirudin Shari said the initiative is part of the state's long-term plan to cultivate a generation equipped with critical thinking skills and a strong foundation in AI literacy. 'This is not just about being users or consumers of AI. We want to shape students to become creators and thinkers. 'We are starting with three schools per district, covering B40, urban and rural areas,' he said at a media conference at the launch of Advancing Future Skills for All (FS4A) Selangor Scale-Up yesterday. He said the programme is in line with the Selangor Structure Plan 2035, particularly its focus on accelerating digital-led economic growth and ensuring inclusive, high-quality education opportunities for all. Amirudin said the initiative, supported by Google and implemented by Arus Academy in collaboration with the Education Ministry, Unicef, Malaysia Digital Economy Corporation and CelcomDigi, is not just timely but also strategic. 'This programme is a brilliant example of what a public-private partnership can achieve. We have Google and CelcomDigi deeply committed to our communities and ensuring every Malaysian child gets vital digital skills,' he said at the launch. 'We have nearly one million students enrolled in public schools up to Form 6. This initiative aims to explore how AI-related skills can be integrated at scale across Selangor. 'A state-level white paper on AI is also being developed to support long-term policy planning.' Arus Academy co-founder David Chak said the programme currently focuses on four districts – Gombak, Petaling Perdana, Petaling Utama and Klang. Schools were selected based on demographic distribution, poverty levels and overall readiness, in close coordination with district education offices. 'There's no one-size-fits-all approach. We work with each school to understand its specific context and tailor support accordingly.' At present, 88 schools are participating in the training. Each school sends one teacher and two students, and small grants of RM500 are provided to support school-based AI projects. Chak said the FS4A platform, launched during the pandemic, now has over 270,000 users and more than two million page views. Data analytics are employed to measure impact, track participation trends and enhance delivery across various school types. To date, the programme has reached over 13,000 students, with 3,350 successfully completing the modules. In its current phase, the programme aims to train at least 120 teachers across 40 schools by August, with classroom implementation expected to begin immediately thereafter. CelcomDigi Sustainability head Philip Ling said Selangor was chosen for the programme due to its dense school population, making it an ideal testing ground following the initial rollout in rural Sarawak. 'These tactical choices allow us to refine our approach based on different school environments.' Unicef education specialist Azlina Kamal said the programme was co-developed with the ministry and is integrated into national subjects such as Science and Design & Technology. 'Offline kits were also developed for students in rural and underserved areas, including indigenous and disabled communities, to ensure access without relying on internet connectivity.'


The Star
5 hours ago
- The Star
QuickCheck: Can you find glow-in-the-dark mushrooms in Malaysia's rainforests?
The allure of nature's wonders often leads to tales that sound almost magical. One such tale speaks of bioluminescent mushrooms that light up the night in Malaysia's rainforests. Is it true that these glow-in-the-dark fungi can be found in Malaysia? Verdict: TRUE Glow-in-the-dark mushrooms, scientifically known as bioluminescent fungi, indeed exist in Malaysia's rainforests. Among these, the genus Mycena, particularly Mycena chlorophos, is notable for its enchanting glow. These mushrooms emit a natural light due to a chemical reaction involving luciferin, an organic compound, and the enzyme luciferase. When luciferin interacts with oxygen in the presence of luciferase, it produces light, creating the captivating glow. In Malaysia, these luminescent mushrooms are typically found in the dense rainforests of Borneo, which includes parts of Sabah and Sarawak. These regions provide the ideal humid and moist conditions that these fungi thrive in. Additionally, areas in Peninsular Malaysia such as the Taman Negara National Park offer suitable environments for these mushrooms to grow. Indeed, a 2014 study found these mushrooms growing – and glowing – in at least four places; Ulu Gombak and Sungai Congkak in Selangor, Kuala Koh in Kelantan and in Hutan Simpan Kenaboi in Negri Sembilan. As for the glow itself, it is usually a soft greenish hue, visible along the forest floor or on decaying wood, creating an ethereal experience for nighttime explorers. The presence of bioluminescent mushrooms in Malaysia is not just a visual spectacle but also serves ecological purposes, and this glow attracts insects, which help in spore dispersal, aiding in the mushrooms' reproduction process. This natural phenomenon underscores the intricate relationships within the rainforest ecosystem. For those interested in experiencing this natural wonder, guided night walks in certain Malaysian national parks and forest reserves might offer the opportunity to see these glowing fungi in their natural habitat. However, their presence can be unpredictable, as it depends on environmental conditions like humidity and temperature. In conclusion, Malaysia's rainforests are indeed home to glow-in-the-dark mushrooms like Mycena chlorophos, adding another layer of mystery and beauty to the country's rich biodiversity. So, whether you're a nature enthusiast or simply curious, the chance to see these bioluminescent mushrooms is a testament to the wonders of the natural world. SOURCES: