POST Online Media Lite Edition



 

New computer system to automatically solve word problems

Staff writer |
Researchers in MIT's Computer Science and Artificial Intelligence Laboratory, working with colleagues at the University of Washington, have developed a new computer system that can solve the type of word problems common in introductory algebra classes.

Article continues below






In the near term, the work could lead to educational tools that identify errors in students' reasoning or evaluate the difficulty of word problems. But it may also point toward systems that can solve more complicated problems in geometry, physics, and finance - problems whose solutions don't appear in the back of the teacher's edition of a textbook.

According to Nate Kushman, an MIT graduate student in electrical engineering and computer science and lead author on the new paper, the new work is in the field of "semantic parsing," or translating natural language into a formal language such as arithmetic or formal logic.

Most previous work on semantic parsing - including his own - has focused on individual sentences, Mr. Kushman says. "In these algebra problems, you have to build these things up from many different sentences. The fact that you're looking across multiple sentences to generate this semantic representation is really something new."

Mr. Kushman is joined on the paper by Regina Barzilay, a professor of computer science and engineering and one of his two thesis advisors, and by the University of Washington's Yoav Artzi and Luke Zettlemoyer. The researchers will present their work at the annual meeting of the Association for Computational Linguistics in June.

The researchers' system exploits two existing computational tools. One is the computer algebra system Macsyma, whose initial development at MIT in the 1960s was a milestone in artificial-intelligence research. For Kushman and his colleagues' purposes, Macsyma provided a way to distill algebraic equations with the same general structure into a common template.

The other tool is the type of sentence parser used in most natural-language-processing research. A parser represents the parts of speech in a given sentence and their syntactic relationships as a tree - a type of graph that, like a family-tree diagram, fans out at successive layers of depth. For the researchers' system, understanding a word problem is a matter of correctly mapping elements in the parsing diagram of its constituent sentences onto one of Macsyma's equation templates.

To teach the system how to perform that mapping, and to produce the equation templates, the researchers used machine learning. Mr. Kushman found a website on which algebra students posted word problems they were having difficulty with, and where their peers could then offer solutions. From an initial group of roughly 2,000 problems, he culled 500 that represented the full range of problem types found in the larger set.

In a series of experiments, the researchers would randomly select 400 of the 500 problems, use those to train their system, and then test it on the remaining 100. For the training, however, they used two different approaches - or, in the parlance of machine learning, two different types of supervision.

In the first approach, they fed the system both word problems and their translations into algebraic equations - 400 examples of each. But in the second, they fed the system only a few examples of the five most common types of word problems and their algebraic translations. The rest of the examples included only the word problems and their numerical solutions. In the first case, the system, after training, was able to solve roughly 70 percent of its test problems; in the second, that figure dropped to 46 percent.

But according to Mr. Kushman, that's still good enough to offer hope that the researchers' approach could generalize to more complex problems. In determining how to map natural language onto equation templates, the system examined hundreds of thousands of "features" of the training examples.

Some of those features related specific words to problem types: For instance, the appearance of the phrase "react with" was a good indication that the problem dealt with chemistry. Other features looked at the location of specific words in parsing diagrams: The appearance of the word "costs" as the main verb indicated a great deal about which sentence elements should be slotted into which equation templates.

Other features simply analyzed the syntactical relationships between words, regardless of the words themselves, while still others examined correlations between words' locations in different sentences.

Finally, Mr. Kushman says, he included a few "sanity check" features, such as whether or not the solution yielded by a particular equation template was a positive integer, as is almost always the case with algebraic word problems.

"The idea of this kind of supervision they have will be useful for lots of things," says Kevin Knight, a professor of computer science of the University of Southern California. "The approach of building a generative story of how people get from text to answers is a great idea. The system's ability to perform fairly well even when trained chiefly on raw numerical answers is "super-encouraging. It needs a little help, but it can benefit from a bunch of extra data that you haven't labeled in detail."


What to read next

Easy lessons won't help students learn better
New invention from Finland revolutionizes heat transport
Girls better than boys at working together to solve problems

U.S.: Areas of severe thunderstorms and heavy rain through the weekend

 
Upper-level ridging weakens from the Ohio Valley to the Southeast on Friday, resulting in a reduced area of Heat Advisories over the east.
 
 

Latest

Baker Hughes: U.S. oil rig count down by 6 to 432
Malaysia introduces new rules prohibiting all plastic waste imports from U.S.
Kazakh-German JV Skyhansa to build $500 mln airport near Chinese border
Ukrainian poultry products gained access to Oman market

NEWS

EPPO targets criminal organisation suspected of VAT fraud involving sales of diesel

U.S.: Severe thunderstorms in the Northern Plains and Upper Midwest
Former U.S. senator Bob Menendez begins serving 11-year bribery sentence
Russian-linked tanker crew accused in Finland-Estonia undersea cable sabotage probe
Croatia: Former minister sentenced to two years of imprisonment for abuse of office and authority
U.S.: Widespread showers across the eastern half, severe thunderstorms in Montana into the Plains
 

BUSINESS

Peru's mining exports jump 23 pct

Vietnam encourages private businesses to invest in railway sector
Baker Hughes: U.S. oil rig count down by 1 to 438
AfDB to provide $184.1 million for Africa’s largest solar energy and battery storage project
EIB supports Bay of Biscay electricity interconnection between Spain and France
U.S., UK, and Congolese officials inaugurate Kiswishi City Special Economic Zone
 

Trending Now

Peru's mining exports jump 23 pct

Fire in Egyptian hospital kills at least seven coronavirus patients

Egyptians start paying taxes on imported mobiles

Micron plans to invest $200 billion in semiconductor manufacturing and R&D


POLITICS

New York Power Authority directed to develop nuclear power plant

Cuban President begins official visit to Belarus
EU adopts new tariffs on Russian and Belarusian agricultural goods and fertilisers
EU proposes banning LNG gas imports from Russia by end of 2027
New York Governor announces Sullivan County broadband project
Zimbabwe to ban lithium concentrate exports
 

Today We Recommend

New York Power Authority directed to develop nuclear power plant


Highlights 

Micron plans to invest $200 billion in semiconductor manufacturing and R&D

750 new jobs coming to Michigan

WFS to open new multi-purpose terminal at Lyon Airport


COMPANIES

Micron plans to invest $200 billion in semiconductor manufacturing and R&D

750 new jobs coming to Michigan
LS Cable and unit join Korea-Japan submarine cable project
WFS to open new multi-purpose terminal at Lyon Airport
CEVA Logistics renews contract to transport aeronautics parts between France, Morocco, Tunisia
Malian government takes over Canadian-owned Barrick Gold mine
 

CAREERS

Bluecrux appoints four new partners

Isomorphic Labs appoints Ben Wolf as chief medical officer
Vodacom names new international markets CEO
David Andreadakis joins Loyalty Juggernaut as chief commercial officer
Tom Montali joins CSL as business development director
Concirrus appoints Steve O'Reilly as product manager
 

ECONOMY

EU-Mercosur trade up substantially in last decade

Russia's trade surplus falls 18.3% to $42.4 bln in January-April
U.S. economy in Q1 revised up to 0.2-pct contraction
Japan loses top creditor position for first time in 34 years
NZ exports to EU jump 28% in first year of trade deal
EU generated €39.2 billion surplus in trade in agricultural products
 

EARNINGS

Ericsson Q2 sales down but North America up

Lockton revenue $3.55 billion
Motorcar Parts of America Q4 sales $189.5 million
Limoneira Q2 revenue $44.6 million
Lululemon athletica Q1 revenue increased 10% to $2.2 billion
PVH Q1 GAAP EBIT $205 million
 

OP-ED

Micromanaging is the worst enemy of efficiency and teamwork

Niger set to monetize massive gas reserves through Saharan natural gas pipeline
Putting the brakes on EV folly that choked the market
Oil discovery in Kavango Basin may mean huge benefits for Namibians
Cape Town and Dubai battle over Africa's energy future
Is America going to lose its superpower status?
 

AGRIFISH

Ireland: Minister Donohoe removes broiler poultry farmers from VAT Flat Rate Addition scheme

FLI tests mobile One Health laboratory for diagnosing highly pathogenic pathogens
First vaccine against swine dysentery disease recommended for approval
USDA expands fruit pest quarantines in New York and California
Peru records 23.6% growth in agricultural export sales compared to 2024
China allows imports of rapeseed meal, soybean meal from Uruguay
 

LEADERSHIP

Study: Missing a deadline has a bigger impact than you might think

Employers prefer younger job candidates for AI roles although experienced workers perform same or better
Study finds workers misjudge wage markets
Some organizations may need to expand their hierarchical structures earlier than others
Study finds there's right way and wrong way to deliver negative feedback in workplace
Allyship is critical and its needs appreciation
 

CRIME

German court convicts four ex-Volkswagen managers of fraud in emissions scandal

EU fines carmakers €458 million for anti-recycling cartel
Commission fines Pierre Cardin and its licensee Ahlers €5.7 million for restricting cross-border sales of clothing
BHP, Vale agree to pay $30B damages for Brazil dam disaster
Commission fines České dráhy and Österreichische Bundesbahnen €48.7 million over collusion to exclude common compe
SEC charges Keurig with making inaccurate statements regarding recyclability of K-Cup beverage pod
 

Magazine

TRAVEL

Radisson Hotel Group debuts in the heart of Tunisia’s capital city, Tunis

Morocco’s first Radisson branded hotel opens in Casablanca
Buna channels, an unreal and beautiful part of Bosnia and Herzegovina
JW Marriott unveils Mindful Haven with opening of JW Marriott Hotel Nairobi
Sotheby's Sports Week returns with fantastic artifacts
Red Roof properties open in Michigan
 

SEA, LAND, AIR

Citroën C3 Aircross, the most affordable compact SUV with 7 seats

2025 Chevrolet Equinox stands apart with fresh looks and capability
Hill Helicopters HX50, luxury in the sky
Opel Movano becomes fully equipped camper van
Porsche Panamera, new hybrid variants
Dodge Charger, 670 horsepower of electric
 

DESIGN

Cold night, hot fire pit, cool entertainment

Embellish your home with PVC panels
You'll have to hurry if you want one of 20 new Louis Vuitton watches
Luxury duvet looks good, fells good and keeps you healthy
Vacheron Constantin, watches for life and more
Schüller kitchens, where functionality marries design
 

GADGETS

MESA/Boogie Celebrates 40-year partnership with John Petrucci

reMarkable 2, monochrome tablet for your thoughts and your eyes
OnePlus Ace 3V, first with Snapdragon 7 Plus Gen 3
ASUS Zenfone 11 Ultra, flagship with a reason
Samsung Galaxy S24 is photography powerhouse
Casette tapes are making a big comeback, and so are portable players
 

HEALTH

Bolivia declares national health emergency due to measles outbreak

Hong Kong researchers develop needle-free flu vaccine with broad protection
World's first vaccines that don't need refrigeration entered trials
First patient enrolled in Phase 1 clinical trial of Akiram’s cancer drug candidate
FDA grants marketing authorization of first home test for chlamydia, gonorrhea and trichomoniasis
Human cases of anthrax reported in western Mongolia
 

MEANTIME

Cost of keeping wind turbines out of sight

Mission to "weigh" all of Earth's forests from space launched
NASA's SPHEREx space telescope begins mapping entire sky
Russian academics, gas industry experts see undersea LNG transportation as feasible
India launches space docking experiment mission
World-first carbon-14 diamond battery made