© 2022 Kansas City Public Radio
NPR in Kansas City
Play Live Radio
Next Up:
Available On Air Stations

Candy Heart Messages Getting Stale? Computer-Generated Options Are No Help

If "I Love You" candy hearts aren't imaginative enough, you can always consider "Stank Love" or "Sweat Poo."
Melissa Deakin Photography
Getty Images
If "I Love You" candy hearts aren't imaginative enough, you can always consider "Stank Love" or "Sweat Poo."

Wednesday is Valentine's Day, and if you struggled to find just the right words to tell a special someone how you feel, you have options.

There are the classic options: Store-bought superhero valentines or sappy Hallmark cards. Or if you're into something sweet — boxes of pastel-colored candy hearts, emblazoned with messages like "BE MINE," "XOXO" and "HOT STUFF."

But if those candy greetings feel tired, or just aren't striking the right note, Colorado researcher Janelle Shane has some ideas.

Shane is a research scientist who works with neural networks. These are computer programs that learn by example — like facial recognition software or language translators. She gives a program a set of words, and it learns to generate more like it.

So Shane fed her program a data set containing all 360 candy heart messages she could find online.

The program spit out a list of a whole bunch more words, all short enough to fit on a candy heart.

"The neural network tried its best to imitate these candy heart messages, but the vocabulary was tough to learn," she says.

The results weren't exactly heartwarming.

The program suggested phrases like "LOVE BUN," "CUTE KISS" and "YOU ARE BABE." Some of those have potential, but others are downright strange, like "BEAR WIG," "STANK LOVE," "YOU ARE BAG," "SWEAT POO" and simply "FANG."

Shane has run algorithms on a bunch of other lists too, like guinea pigs' names and paint swatch colors.

The program was "not good at that either," Shane says.

So why do it?

"Part of my experiment is to poke at the edges of what they're good at and what they're not good at. How much do they really know about the problems they're trying to solve?"

As for those wacky candy heart messages, it's too late this year (unless you're really into DIY), but she's thinking about printing up some next year.

I want to "see what happens when I give someone a candy heart that says, 'LOVE 2,000 HOGS,' " she says.

Melissa Gray contributed to this report; April Fulton adapted it for the Web.

Copyright 2020 NPR. To see more, visit https://www.npr.org.

Sam Gringlas is a producer for NPR's All Things Considered and is helping cover the 2020 election for the Washington Desk. He's produced and reported with NPR from all over the country, as well as China and the U.S.-Mexico border. He started as an intern at All Things Considered after graduating with a public policy degree from the University of Michigan, where he was news editor at T he Michigan Daily. He's a native Michigander.
KCUR serves the Kansas City region with breaking news and powerful storytelling.
Your donation helps make non-profit journalism available for everyone.