Computer Program Learns Language Rules and Composes Sentences Without Outside Help

A computer program developed by TAU and Cornell University brings a new meaning to "computer literate"

Cornell University and Tel Aviv University researchers have developed a method for enabling a computer program to scan text in any of a number of languages, including English and Chinese, and autonomously and without previous information infer the underlying rules of grammar. These rules can then be used to generate new and meaningful sentences. The method also works for such data as sheet music or protein sequences.

The development -- which has a patent pending -- has implications for speech recognition and for other applications in natural language engineering, as well as for genomics and proteomics. It also offers new insights into language acquisition and psycholinguistics.

"The algorithm -- the computational method -- for language learning and processing that we have developed can take a body of text, abstract from it a collection of recurring patterns or rules and then generate new material," explained Shimon Edelman, a computer scientist who is a professor of psychology at Cornell and co-author of a new paper, "Unsupervised Learning of Natural Languages," published in the Proceedings of the National Academy of Sciences (PNAS, Vol. 102, No. 33).

"This is the first time an unsupervised algorithm is shown capable of learning complex syntax, generating grammatical new sentences and proving useful in other fields that call for structure discovery from raw data, such as bioinformatics," he said.

Unlike previous attempts at developing computer algorithms for language learning, the new method, called Automatic Distillation of Structure (ADIOS), successfully identifies complex patterns in raw texts. The algorithm discovers the patterns by repeatedly aligning sentences and looking for overlapping parts.

For example, the sentences "I would like to book a first-class flight to Chicago," "I want to book a first-class flight to Boston" and "Book a first-class flight for me," please may give rise to the pattern "book a first-class flight" -- if this candidate pattern passes the novel statistical significance test that is the core of the algorithm.

If the system also encounters the sentences "I need to book a direct flight from New York to Tel Aviv" and "I would like to book an economy flight," it may infer that the phrases "first-class," "direct" and "economy" are equivalent in the context of the new pattern. "Because such equivalence sets can contain other patterns -- in turn containing further patterns, and so on -- the resulting body of knowledge grows recursively, as a sort of forest of branching trees of possibilities," said Edelman.

He added, "ADIOS relies on a statistical method for pattern extraction and on structured generalization -- two processes that have been implicated in language acquisition. Our experiments show that it can acquire intricate structures from raw data, including transcripts of parents' speech directed at 2- or 3-year-olds. This may eventually help researchers understand how children, who learn language in a similar item-by-item fashion and with very little supervision, eventually master the full complexities of their native tongue."

In addition to child-directed language, the algorithm has been tested on the full text of the Bible in several languages, on artificial context-free languages with thousands of rules and on musical notation. It also has been applied to biological data, such as nucleotide base pairs and amino acid sequences. In analyzing proteins, for example, the algorithm was able to extract from amino acid sequences patterns that were highly correlated with the functional properties of the proteins.

The new method was developed jointly with David Horn and Eytan Ruppin, professors of physics and computer science, respectively, at Tel Aviv University, and with Zach Solan, a doctoral student there and the lead author on the paper. Their collaboration with Edelman was supported in part by the U.S.-Israel Binational Science Foundation.

The rules can then be used to generate new and meaningful sentences. The method also works for such data as sheet music or protein sequences.

The development -- which has a patent pending -- has implications for speech recognition and for other applications in natural language engineering, as well as for genomics and proteomics. It also offers new insights into language acquisition and psycholinguistics.

"The algorithm -- the computational method -- for language learning and processing that we have developed can take a body of text, abstract from it a collection of recurring patterns or rules and then generate new material," explained Shimon Edelman, a computer scientist who is a professor of psychology at Cornell and co-author of a new paper, "Unsupervised Learning of Natural Languages," published in the Proceedings of the National Academy of Sciences (PNAS, Vol. 102, No. 33).

"This is the first time an unsupervised algorithm is shown capable of learning complex syntax, generating grammatical new sentences and proving useful in other fields that call for structure discovery from raw data, such as bioinformatics," he said.

Unlike previous attempts at developing computer algorithms for language learning, the new method, called Automatic Distillation of Structure (ADIOS), successfully identifies complex patterns in raw texts. The algorithm discovers the patterns by repeatedly aligning sentences and looking for overlapping parts.

For example, the sentences I would like to book a first-class flight to Chicago, I want to book a first-class flight to Boston and Book a first-class flight for me, please may give rise to the pattern book a first-class flight -- if this candidate pattern passes the novel statistical significance test that is the core of the algorithm.

If the system also encounters the sentences I need to book a direct flight from New York to Tel Aviv andI would like to book an economy flight , it may infer that the phrases first-class, direct and economy are equivalent in the context of the new pattern. "Because such equivalence sets can contain other patterns -- in turn containing further patterns, and so on -- the resulting body of knowledge grows recursively, as a sort of forest of branching trees of possibilities," said Edelman.

He added, "ADIOS relies on a statistical method for pattern extraction and on structured generalization -- two processes that have been implicated in language acquisition. Our experiments show that it can acquire intricate structures from raw data, including transcripts of parents' speech directed at 2- or 3-year-olds. This may eventually help researchers understand how children, who learn language in a similar item-by-item fashion and with very little supervision, eventually master the full complexities of their native tongue."

In addition to child-directed language, the algorithm has been tested on the full text of the Bible in several languages, on artificial context-free languages with thousands of rules and on musical notation. It also has been applied to biological data, such as nucleotide base pairs and amino acid sequences. In analyzing proteins, for example, the algorithm was able to extract from amino acid sequences patterns that were highly correlated with the functional properties of the proteins.

The new method was developed jointly with David Horn and Eytan Ruppin, professors of physics and computer science, respectively, at Tel Aviv University, and with Zach Solan, a doctoral student there and the lead author on the paper. Their collaboration with Edelman was supported in part by the U.S.-Israel Binational Science Foundation.

 

 

All active news articles
 

Quick links

Other recent news

  • Reversing Paralysis with a Restorative Gel
  • Positive Social Support at Work Shown to Reduce Risk of Diabetes
  • Business Education: The Path to Peace and Prosperity?
  • New York University to Establish Research Institute at TAU
  • Israel Prefers to Remain on Sidelines in Syrian Conflict, Former Israeli Ambassador to US Says
  • Will the Start Up Nation Become the Blast Off Nation?
  • From Tel Aviv to Ohio for a World-Class Education in Pediatrics
  • Sniffing Out Schizophrenia
  • TAU Researcher Honored for Innovative Work on Gauge and Gravity Theories
  • Looking for Life by the Light of Dying Stars
  • Henry Kissinger Is Featured Speaker at TAU's Hartog School Reception in New York
  • Using Black Holes to Measure the Universe's Rate of Expansion
  • Bursts of Brain Activity May Protect Against Alzheimer's Disease
  • "Legitimized Neo-Nazism" on the Rise Across Europe
  • Multidisciplinary Research on Physics of "Living Systems" Earns Prestigious Prize
  • Leading Theatre Director and TAU Professor Emeritus Awarded Israel Prize
  • Sustained Stress Heightens Risk of Miscarriage
  • President Obama Puts Much-Needed Money Where the Brain Is
  • New Relief for Gynecological Disorders
  • It's True! Feeling Powerful Leads to Happiness
  •