Skip to Content
77 Mass Ave

Word Problems? No Problem.

Computer system finds—and solves—algebraic equations in text.

MIT researchers and colleagues at the University of Washington have developed a computer system that can automatically solve the type of word problems common in introductory algebra classes.

According to Nate Kushman, a graduate student and lead author on the new paper, the work is in the field of “semantic parsing,” or translating natural language into a formal language. “In these algebra problems, you have to build these things up from many different sentences,” he says. “The fact that you’re looking across multiple sentences to generate this semantic representation is really something new.”

The researchers’ system exploits two existing computational tools. One is the computer algebra system Macsyma, developed at MIT in the 1960s, which can distill algebraic equations into a few common templates. The other is a sentence parser, which represents the relationships between words in a sentence as a treelike diagram.

To train their system to map elements in the parsing diagram onto Macsyma’s equation templates, the researchers used hundreds of examples from an online discussion site. The system analyzed hundreds of thousands of “features” of those examples, such as the syntactical relationships between words or words’ locations in different sentences. Kushman also included a few “sanity checks,” such as whether the solution yielded by a particular equation template was a positive integer.

The work could lead to educational tools that identify errors in students’ reasoning and to systems that can solve more complicated problems in geometry, physics, and finance.

Keep Reading

Most Popular

Large language models can do jaw-dropping things. But nobody knows exactly why.

And that's a problem. Figuring it out is one of the biggest scientific puzzles of our time and a crucial step towards controlling more powerful future models.

The problem with plug-in hybrids? Their drivers.

Plug-in hybrids are often sold as a transition to EVs, but new data from Europe shows we’re still underestimating the emissions they produce.

How scientists traced a mysterious covid case back to six toilets

When wastewater surveillance turns into a hunt for a single infected individual, the ethics get tricky.

Google DeepMind’s new generative model makes Super Mario–like games from scratch

Genie learns how to control games by watching hours and hours of video. It could help train next-gen robots too.

Stay connected

Illustration by Rose Wong

Get the latest updates from
MIT Technology Review

Discover special offers, top stories, upcoming events, and more.

Thank you for submitting your email!

Explore more newsletters

It looks like something went wrong.

We’re having trouble saving your preferences. Try refreshing this page and updating them one more time. If you continue to get this message, reach out to us at customer-service@technologyreview.com with a list of newsletters you’d like to receive.