Short probabilistic programming machine-learning code replaces complex programs for computer-vision tasks

From KurzweilAI:

Probabilistic programming does in 50 lines of code what used to take thousands

Probabilistic-progOn some standard computer-vision tasks, short programs — less than 50 lines long — written in a probabilistic programming language are competitive with conventional systems with thousands of lines of code, MIT researchers have found. Most recent advances in artificial intelligence — such as mobile apps that convert speech to text — are the result of machine learning, in which computers are turned loose on huge data sets to look for patterns. To make machine-learning applications easier to build, computer scientists have begun developing so-called probabilistic programming languages, which let researchers mix and match machine-learning techniques that have worked well in other contexts. In 2013, the U.S. Defense Advanced Research Projects Agency launched a four-year program to fund probabilistic-programming research. “This is the first time that we’re introducing probabilistic programming in the vision area,” says Tejas Kulkarni, an MIT graduate student in brain and cognitive sciences and first author on the new paper. “The whole hope is to write very flexible models, both generative and discriminative models, as short probabilistic code, and then not do anything else. General-purpose inference schemes solve the problems.”

By the standards of conventional computer programs, those “models” can seem absurdly vague. One of the tasks that the researchers investigate, for instance, is constructing a 3-D model of a human face from 2-D images. Their program describes the principal features of the face as being two symmetrically distributed objects (eyes) with two more centrally positioned objects beneath them (the nose and mouth). It requires a little work to translate that description into the syntax of the probabilistic programming language, but at that point, the model is complete. Feed the program enough examples of 2D images and their corresponding 3D models, and it will figure out the rest for itself. “When you think about probabilistic programs, you think very intuitively when you’re modeling,” Kulkarni says. “You don’t think mathematically. It’s a very different style of modeling.”

More here.