subscribe Support our award-winning journalism. The Premium package (digital only) is R30 for the first month and thereafter you pay R129 p/m now ad-free for all subscribers.
Subscribe now
People are shown in the courtyard of Jama Masjid, in Delhi, India. Picture: 123RF
People are shown in the courtyard of Jama Masjid, in Delhi, India. Picture: 123RF

Bengaluru — For a few weeks in 2023, villagers in the southwestern Indian state of Karnataka read out dozens of sentences in their native Kannada language into an app as part of a project to build the country’s first AI-based chatbot for tuberculosis.

There are more than 40-million native Kannada speakers in India, and it is one of the country’s 22 official languages and one of more than 121 languages spoken by 10,000 people or more in the world’s most populous nation.

But few of these languages are covered by natural language processing (NLP), the branch of artificial intelligence that enables computers to understand text and spoken words.

Hundreds of millions of Indians are thus excluded from useful information and many economic opportunities.

“For AI tools to work for everyone, they need to also cater to people who don't speak English or French or Spanish,” said Kalika Bali, principal researcher at Microsoft Research India.

“But if we had to collect as much data in Indian languages as went into a large language model like GPT, we’d be waiting another 10 years. So what we can do is create layers on top of generative AI models such as ChatGPT or Llama,” Bali told the Thomson Reuters Foundation.

The villagers in Karnataka are among thousands of speakers of different Indian languages generating speech data for tech firm Karya, which is building data sets for firms such as Microsoft and Google to use in AI models for education, healthcare and other services.

The Indian government, which aims to deliver more services digitally, is also building language data sets through Bhashini, an AI-led language translation system that is creating open source data sets in local languages for creating AI tools.

The platform includes a crowdsourcing initiative for people to contribute sentences in various languages, validate audio or text transcribed by others, translate texts and label images.

Tens of thousands of Indians have contributed to Bhashini.

“The government is pushing very strongly to create data sets to train large language models in Indian languages, and these are already in use in translation tools for education, tourism and in the courts,” said Pushpak Bhattacharyya, head of the Computation for Indian Language Technology Lab in Mumbai.

“But there are many challenges: Indian languages mainly have an oral tradition, electronic records are not plentiful, and there is a lot of code mixing. Also, to collect data in less common languages is hard, and requires a special effort.”

Economic value

Of the more than 7,000 living languages in the world, fewer than 100 are captured in major NLPs, with English the most advanced.

ChatGPT — whose launch in 2022 triggered a wave of interest in generative AI — is trained primarily on English. Google's Bard is limited to English, and of the nine languages that Amazon's Alexa can respond to, only three are non-European; Arabic, Hindi and Japanese.

Governments and start-ups are trying to bridge this gap.

Grassroots organisation Masakhane aims to strengthen NLP research in African languages, while in the United Arab Emirates, a new large language model called Jais can power generative AI applications in Arabic.

For a country like India, crowdsourcing is an effective way to collect speech and language data, said Bali, who was named among the 100 most influential people in AI by Time magazine in September.

“Crowdsourcing also helps to capture linguistic, cultural and socioeconomic nuances,” said Bali.

“But there has to be awareness of gender, ethnic and socioeconomic bias, and it has to be done ethically, by educating the workers, paying them, and making a specific effort to collect smaller languages,” she said. “Otherwise it doesn't scale.”

With the rapid growth of AI, there is demand for languages “we haven’t even heard of”, including from academics looking to preserve them, said Karya co-founder Safiya Husain.

Karya works with nonprofit organisations to identify workers who are below the poverty line, or with an annual income of less than $325, and pays them about $5 an hour to generate data — well above the minimum wage in India.

Workers own a part of the data they generate so they can earn royalties, and there is potential to build AI products for the community with that data, in areas such as healthcare and farming, Husain said.

“We see huge potential for adding economic value with speech data — an hour of Odia speech data used to cost about $3-$4, now it's $40,” she said, referring to the language of eastern Odisha state.

Village voice

Fewer than 11% of India's 1.4-billion people speak English. Much of the population is not comfortable reading and writing, so several AI models focus on speech and speech recognition.

Google-funded Project Vaani, or voice, is collecting speech data of about 1 million Indians and open-sourcing it for use in automatic speech recognition and speech-to-speech translation.

Bengaluru-based EkStep Foundation's AI-based translation tools are used at the Supreme Court in India and Bangladesh, while the government-backed AI4Bharat centre has launched Jugalbandi, an AI-based chatbot that can answer questions on welfare schemes in several Indian languages.

The bot, named after a duet where two musicians riff off each other, uses language models from AI4Bharat and reasoning models from Microsoft, and can be accessed on WhatsApp, which is used by about 500-million people in India.

Gram Vaani, or voice of the village, a social enterprise that works with farmers, also uses AI-based chatbots to respond to questions on welfare benefits.

“Automatic speech recognition technologies are helping to mitigate language barriers and provide outreach at the grassroots level,” said Shubhmoy Kumar Garg, a product lead at Gram Vaani.

“They will help empower communities which need them the most.”

For Swarnalata Nayak in Raghurajpur district in Odisha, the growing demand for speech data in her native Odia has also meant a much-needed additional income from her work for Karya.

“I do the work at night, when I am free. I can provide for my family through talking on the phone,” she said.

Reuters

subscribe Support our award-winning journalism. The Premium package (digital only) is R30 for the first month and thereafter you pay R129 p/m now ad-free for all subscribers.
Subscribe now

Would you like to comment on this article?
Sign up (it's quick and free) or sign in now.

Speech Bubbles

Please read our Comment Policy before commenting.