Representative Image 
Lifestyle

Cultural algorithm: AI learns to draw ‘pulli’ kolams beyond human limits

Shyamala, who teaches Computing Information Systems at Saint Mary’s University in Canada, said she could never master it despite trying her best

DTNEXT Bureau

CHENNAI: Shyamala Sivakumar recalled how, when she was young, her mother was always pushing her to learn to draw ‘pulli’ kolams. The tradition of looping a line over dots to create intricate patterns, particularly the kind called ‘sikku’ or one-stroke kolams drawn without lifting hands, was something most young girls were expected to learn in the southern part of India.

Shyamala, who teaches Computing Information Systems at Saint Mary’s University in Canada, said she could never master it despite trying her best. Decades later, Shyamala did get around to drawing that kolam. But she didn’t reach for a bag of rice flour, traditionally used for kolams. Instead, she did what she does best, create formulas so that AI could “draw” far more complicated ones than human minds can comprehend.

The research, developed alongside her husband Seshadri Sivakumar, founder and chief consultant at Florida-based Pasumai EnergyTech, transforms a traditional morning ritual into a high-stakes computational challenge.

Their research on an algorithm for one-stroke kolam generation has been recently published in Nature’s Heritage Science, an international journal that publishes peer-reviewed research.

The couple, who emigrated to Canada in the 1980s, said they “stumbled” upon the algorithm while looking at the intersection of 2D art and generative learning using recurrent neural networks.

Sivakumar, originally from Vellore, pursued Electrical Technology and Electronics at the IISc in Bengaluru and worked for four years in BHEL before moving to Canada. He said they realised that the ancient practice of drawing lines around a grid of dots was essentially a sophisticated topological puzzle.

Kolam patterns also possess a complex mathematical structure that has attracted significant research interest, spanning fields from computational geometry and graph theory to sociology and human-computer interaction
Seshadri Sivakumar, founder of Pasumai EnergyTech

While for a layman, the sikku kolam is a gruelling “test of memory and flow” to navigate the dots, a machine requires an appropriate network and sufficient computing power to learn the pattern without simply memorising it. If given these optimum conditions, the machine can easily outperform humans even for tasks with increased complexity.

“In general, humans are more adept in creativity and improvisation when tasks are limited in complexity,” the researchers noted.

The initial breakthrough came when they were working on a customised RNN called upper-lower triangular, which is an extension of Shyamala’s PhD work.

Shyamala explained that because kolams are a ‘2D sequential artform’, this specialised structure was necessary for “memory retention capacity”. Their customised network, together with an innovative training, facilitates “controlled remembering and forgetting”, which allows the digital line to keep moving in a stable, regulated manner.

“This ability results in a stable generative kolam pattern with no external inputs — the line keeps moving in a controlled manner, tracking the desired pattern based on the network’s own output in the previous instant,” Shyamala said.

This is significant, Sivakumar added. “We are not aware of other networks that use stable training as a machine learning methodology,” he said.

Humans have “to memorise by looking at the pattern”, therefore, limited to a “certain dimension” - typically up to 19 ‘pulli’ or dots, but can be 31 dots in exceptional cases, depending on the skills of the human. The researchers’ algorithm, however, has “no limit” given enough computing power. In one instance, a kolam with ‘501 points’ took two and a half days to generate on a normal desktop.

The couple is quick to point out that the mathematical “one-stroke” logic has massive global implications. “While there is no direct correspondence between the kolam and technical fields, the mathematical underpinning of the one-stroke kolam lends itself to potential applications in secure wireless communications, image encryption and representation of complex protein structures,” Shyamala said.

Ultimately though, the algorithmic kolam project remains a tribute to the “subjective beauty” of the form.

“It acts as a digital record too, documenting the implicit and often unstated rules that traditional artists have passed down through generations. It not only generates viable patterns but also provides insight into problem-solving and decision-making inherent to traditional practice,” said Shyamala. It is also a way to protect kolam patterns from being lost due to fading memories and societal changes, pointed out Sivakumar.

The couple is now fine-tuning the algorithm and improving network performance, with the help of an “enthusiastic” Indian student who got in touch with them due to the Smart India Hackathon 2025. “We are also trying to see whether a machine can look at these patterns and learn to draw similar patterns without memorising them,” said Shyamala.

Chennai: No basic amenities for MTC staff at Royapuram, Island Grounds termini

Where is the policy for LGBTQIA+?

DT Next Constituency Watch | Edappadi: In well-watered agri seat, AIADMK aims at bigger win margin for EPS

BJP leaders upset over losing city seats to 'big brother' AIADMK

2026 TN elections | AIADMK steals a march with full seat allocation for allies