ShhorAI, created by Aindriya Barua, provides marginalized communities with AI-driven safety, offering hope in the wake of the terrible death of a LGBTQIA community's makeup artist and the epidemic of online abuse. (101 reporter) 
MedBound Blog

ShhorAI: Merging Social Activism, Art, and Tech by Aindriya Barua

Aindriya Barua's ShhorAI offers hope with AI-driven protection for marginalized communities after the tragic suicide of a queer makeup artist highlights the online bullying crisis.

MBT Desk

Aditi Subramanian- Pranshu, a queer makeup artist, had nearly 22,000 followers on Instagram, but that did not help when the 16-year-old posted a reel wearing a saree on Deepavali day. The reel elicited over 4,000 hate comments, which is believed to have driven the self-taught artist to commit suicide in Ujjain, Madhya Pradesh.

Online bullying is nothing new for the LGBTQIA community, but how can this negativity be checked? The answer lies with Aindriya Barua (26), an Adivasi, queer, neurodivergent AI engineer and artist from rural Tripura, who by own description is “a machine learning engineer with a paintbrush.”

Most offense reporting systems are trained in major Western languages, so when someone uses Hinglish, for example, the reporting system cannot identify and remove that specific content. That is where Barua’s AI-powered high-end bot ShhorAI can come into play. ShhorAI especially focuses on vernacular languages and safety of marginalized communities.

Code-mixing and low-resource language were the two main problems that Barua had tackled before developing the AI-bot. And there were some real reasons that made this brilliant activist burn the midnight oil to crack it.

Aindriya Barua's (AI-bot) ShhorAI's motive was to tackle Hinglish and vernacular hate speech to protect marginalized communities.

In December 2021, a group of coal mine workers from a village in Nagaland were returning home when they were allegedly shot at by the security forces. The Armed Forces Special Powers Act (AFSPA) was talked about yet again, and various groups protested, demanding that it be repealed.

When Barua’s post explaining the history of AFSPA and why it must be repealed went viral, the profile was spammed with hate messages by users who continuously tagged others who commented hateful messages. “I got five to seven notifications every minute. I was unable to take any action… Initially, I thought of taking screenshots of these messages in case it would come to use in future, but I gave up on this due to the sheer number of messages.”

During this period, comments with Hinglish slurs came from anonymous social media users who threatened to dox Barua and family. While Barua deleted these comments and blocked some of them, keeping up with the mass hate campaign was simply impossible.

Barua understood the vulnerabilities of online space on realizing that it was not possible to report these comments, direct messages, and social media stories as Instagram did not identify Hinglish slurs or consider them to be against their rules and guidelines. While the hate campaign lasted for several days, it ended when anonymous users harassed Barua into posting a written apology. 

The incident traumatized Barua and others who witnessed the hate campaign unfold. While they had seen and heard of such instances, experiencing it first-hand and Instagram’s inability to identify, take down, or censor hate speech made them try to think of solutions to combat the problem.

“Instagram, like many social media platforms, identifies and censors hate speech in English. The situation in India, however, is that hate speech is seldom in English; users use the English keyboard to type in their native languages with different spellings and pronunciations, known as code-mixing,”
Aindriya Barua, creator of ShhorAI


Code-mixing makes it impossible for the existing tools to detect hate speech, given its complexity. Barua decided to solve this problem by inventing a bot capable of detecting hate speech of such nature. Hinglish hate speech was chosen to start the work with, as Barua had seen it being used against many.

However, the available tagged data for Indian languages was scarce if not insufficient for the project. This realization made Barua start the project from scratch by manually building a vast repository of Hinglish comments to train the AI. To create the dataset, Barua mobilized volunteers online and contacted other marginalized artists and activists who had been victims of mass hate campaigns.

A scraper was built to automatically collect hate comments, while users who spammed hateful messages continued to do so — indirectly helping the project!

Having accumulated India’s most extensive Hinglish dataset with over 40,000 comments, the high-end AI model was trained on the same. Given the vast repository of data they had accumulated over time, Barua researched it to understand the ‘logic’ of hate speech despite its apparent irrationality and mapped a pyramid of marginalization that is hierarchical in nature. The conclusions noted the intersectionality of marginalization, which was explained through an example.

“The character's hate speech spammed by anonymous users, in my opinion, is never discussed prior. They tend to look at the identity of the person towards whom the hate campaign is directed and type hate comments accordingly. The type of hate comments a dominant caste cishet woman receives, for instance, is different from the type of hate comments a Dalit, queer, and neurodivergent person receives. The more the intersectionality of marginalization, the worse the hate comments,” Barua says. The research is one-of-its-kind since it analyses online hate and threats of violence in India in detail.

Barua developed the AI bot and implemented it on Reddit to test its ability to detect hate speech in comments, pictures, videos, and hate comments that contain emoticons. The bot responds to hate speech in real time by giving a user three warnings. However, the moderator of subreddits can configure the number of alerts, after which the user is banned.

Barua is currently in talks with other social media platforms, but the process has been complex. “It is important to note that several such platforms selectively detect hate speech and shadow-ban selective content. This becomes more pronounced in times of conflict and war, wherein extremist and conservative groups are often given space to spread hate with no consequences. In contrast, it becomes impossible for others to report it as hate speech. Meanwhile, the content shared by the latter, who often belong to marginalized communities, is shadow-banned, and are often given several warnings by these platforms.”

Barua hopes to create a more inclusive and safe space online for all through ShhorAI, which directly addresses the elephant in the room. While documenting the process of the development of the bot on website (https://www.shhorai.com/), Barua also wishes to expand research to other native languages.  

Aindriya Barua won the UN Hackathon Prize for the LGBTQIA Online Safety Initiative, discussed social activism, political art, and AI development with US Consul General Judith Ravin and Political and Economic Chief Virsa Perkins.

The efforts to make online platforms a safe space for the LGBTQIA community has won Barua the second runners-up position at an International Hackathon organized by the United Nations Population Fund on preventing and addressing gender-based violence. Barua was invited for a detailed discussion on the intersection of social activism, political art, and AI as a means of development, with the then US Consul General in Chennai, Judith Ravin, and Political/Economic Chief Virsa Perkins. In fact, right from the beginning, Barua had devised ways to combine knowledge from different fields. Interested in technology — especially Natural Language Processing (NLP) — art, and politics, Barua produced innovative pieces using art and technology to advocate for social justice, be it feminist issues or discourses on contemporary news. “I always fondly remember the way I realised my interest in coding. It all started in middle school when my Computer Science teacher introduced me to C… I spent countless afternoons in my youth fully absorbed in painting and learning to code,” The first computer project that Barua took up was an attempt to help own parents, who were encountering daily challenges in irrigating their farms.

Barua engineered an IoT device featuring soil moisture sensors, which relayed data for the code to automate water taps. On the project’s successful completion, Barua discovered the joy of creating a real impact and made it a mission to create more such software capable of bringing about a positive change. After realizing software development as the life’s passion, Barua made it to the Bachelor of Technology in Computer Science and Engineering (BTech CSE) course and enrolled in an engineering college in Kerala. In line with the staunch belief that innovation should be accessible to all, Barua developed an interest in FOSS (Free and Open Source Software) and shared projects on GitHub. However, the college failed to fulfil expectations, as the institution was highly restrictive for people of marginalized genders and castes.

Barua used Instagram for art addressing oppression like casteism, sexism, and homophobia. Art voiced opinions on current events, coding skills made tech accessible, leading to Project ShhorAI. (Representational Image: Pixabay)

The classrooms were dominated by cishet men from dominant castes, dictating the dynamics of the space wherein those from marginalized genders were neither given due recognition for the work they did nor given a space to voice their thoughts and opinions. Unable to express grievances, and feeling alienated from peers, Barua channeled all frustration into art and the newfound passion for NLP.

Barua identified a research gap in the field of NLP specific to Indian languages. Despite observing a broader trend of progress in AI and NLP, this dearth of research on NLP applied to Indian languages. This prompted Barua to write a peer-reviewed paper analyzing contextual and non-contextual models for Hindi Named Entity Recognition (NER).

Around the same time, Barua started an Instagram page to share self-made artworks, primarily focusing on personal struggles caused by systemic means of oppression, including casteism, sexism and homophobia. Art became Barua’s tool to convey opinions on contemporary events, while technology became more accessible due to the ability to code. Both these engagements finally led Barua to Project ShhorAI.  

(101reporter/AP)

Dr. Mehmet Oz Nominated to Oversee Medicare, Medicaid

White Button Mushrooms Show Cancer-Fighting Potential: New Study Highlights Key Findings

Clearer, Simpler, Safer: New FDA Rules Transform TV Drug Ads

Chewing Xylitol Gum Linked to Decrease in Preterm Birth

FAU Researchers Confront New U.S. And Global Challenges In Vaccinations of Adults