artificial intelligence generic
Image from Shutterstock

Homophobia Is Easy To Encode in AI. One Researcher Built a Program To Change That.

Artificial intelligence is now part of our everyday digital lives. We’ve all had the experience of searching for answers on a website or app and finding ourselves interacting with a chatbot. At best, the bot can help navigate us to what we’re after; at worst, we’re usually led to unhelpful information.

But imagine you’re a queer person, and the dialogue you have with an AI somehow discloses that part of your identity, and the chatbot you hit up to ask routine questions about a product or service replies with a deluge of hate speech.

Unfortunately, that isn’t as far-fetched a scenario as you might think. Artificial intelligence (AI) relies on information provided to it to create their decision-making models, which usually reflect the biases of the people creating them and the information it's being fed. If the people programming the network are mainly straight, cisgendered white men, then the AI is likely to reflect this.

As the use of AI continues to expand, some researchers are growing concerned that there aren’t enough safeguards in place to prevent systems from becoming inadvertently bigoted when interacting with users.

Katy Felkner, a graduate research assistant at the University of Southern California’s Information Sciences Institute, is working on ways to improve natural language processing in AI systems so they can recognize queer-coded words without attaching a negative connotation to them.

At a press day for USC’s ISI Sept. 15, Felkner presented some of her work. One focus of hers is large language models, systems she said are the backbone of pretty much all modern language technologies,” including Siri, Alexa—even autocorrect. (Quick note: In the AI field, experts call different artificial intelligence systems “models”).

“Models pick up social biases from the training data, and there are some metrics out there for measuring different kinds of social biases in large language models, but none of them really worked well for homophobia and transphobia,” Felkner explained. “As a member of the queer community, I really wanted to work on making a benchmark that helped ensure that model generated text doesn't say hateful things about queer and trans people.”

USC graduate researcher Katy Felkner explains her work on removing bias from AI

Felkner said her research began in a class taught by USC Professor Fred Morstatter, PhD, but noted it’s “informed by my own lived experience and what I would like to see be better for other members of my community.”

To train an AI model to recognize that queer terms aren’t dirty words, Felkner said she first had to build a benchmark that could help measure whether the AI system had encoded homophobia or transphobia. Nicknamed WinoQueer (after Stanford computer scientist Terry Winograd, a pioneer in the field of human-computer interaction design), the bias detection system tracks how often an AI model prefers straight sentences versus queer ones. An example, Felkner said, is if the AI model ignores the sentence “he and she held hands” but flags the phrase “she held hands with her” as an anomaly.

Between 73% and 77% of the time, Felkner said, the AI picks the more heteronormative outcome, “a sign that models tend to prefer or tend to think straight relationships are more common or more likely than gay relationships,” she noted.

To further train the AI, Felkner and her team collected a dataset of about 2.8 million tweets and over 90,000 news articles from 2015 through2021 that include examples of queer people talking about themselves or provide “mainstream coverage of queer issues.” She then began feeding it back to the AI models she was focused on. News articles helped, but weren’t as effective as Twitter content, Felkner said, because the AI learns best from hearing queer people describe their varied experiencesin their own words.

As anthropologist Mary Gray told Forbes last year, “We [LGBTQ people] are constantly remaking our communities. That’s our beauty; we constantly push what is possible. But AI does its best job when it has something static.”

By re-training the AI model, researchers can mitigate its biases and ultimately make it more effective at making decisions.

“When AI whittles us down to one identity. We can look at that and say, ‘No. I’m more than that’,” Gray added.

The consequences of an AI model including bias against queer people could be more severe than a Shopify bot potentially sending slurs, Felkner noted – it could also effect people’s livelihoods.

For example, Amazon scrapped a program in 2018 that used AI to identify top candidates by scanning their resumes. The problem was, the computer models almost only picked men.

“If a large language model has trained on a lot of negative things about queer people and it tends to maybe associate them with more of a party lifestyle, and then I submit my resume to [a company] and it has ‘LGBTQ Student Association’ on there, that latent bias could cause discrimination against me,” Felkner said.

The next steps for WinoQueer, Felkner said, are to test it against even larger AI models. Felkner also said tech companies using AI need to be aware of how implicit biases can affect those systems and be receptive to using programs like hers to check and refine them.

Most importantly, she said, tech firms need to have safeguards in place so that if an AI does start spewing hate speech, that speech doesn’t reach the human on the other end.

“We should be doing our best to devise models so that they don't produce hateful speech, but we should also be putting software and engineering guardrails around this so that if they do produce something hateful, it doesn't get out to the user,” Felkner said.
How Token and Tixr Plan To Take on Ticketmaster in L.A.
Evan Xie

When Taylor Swift announced her ‘Eras’ tour back in November, all hell broke loose.

Hundreds of thousands of dedicated Swifties — many of whom were verified for the presale — were disappointed when Ticketmaster failed to secure them tickets, or even allow them to peruse ticketing options.

Read moreShow less
Andria Moore

Andria is the Social and Engagement Editor for dot.LA. She previously covered internet trends and pop culture for BuzzFeed, and has written for Insider, The Washington Post and the Motion Picture Association. She obtained her bachelor's in journalism from Auburn University and an M.S. in digital audience strategy from Arizona State University. In her free time, Andria can be found roaming LA's incredible food scene or lounging at the beach.

Here's How To Get a Digital License Plate In California

Thanks to a new bill passed on October 5, California drivers now have the choice to chuck their traditional metal license plates and replace them with digital ones.

The plates are referred to as “Rplate” and were developed by Sacramento-based Reviver. A news release on Reviver’s website that accompanied the bill’s passage states that there are “two device options enabling vehicle owners to connect their vehicle with a suite of services including in-app registration renewal, visual personalization, vehicle location services and security features such as easily reporting a vehicle as stolen.”

Read moreShow less
Steve Huff
Steve Huff is an Editor and Reporter at dot.LA. Steve was previously managing editor for The Metaverse Post and before that deputy digital editor for Maxim magazine. He has written for Inside Hook, Observer and New York Mag. Steve is the author of two official tie-ins books for AMC’s hit “Breaking Bad” prequel, “Better Call Saul.” He’s also a classically-trained tenor and has performed with opera companies and orchestras all over the Eastern U.S. He lives in the greater Boston metro area with his wife, educator Dr. Dana Huff.