# Algorithm lets confused robots ask questions

A new algorithm lets robots ask for clarification when they’re not sure what a person wants.

“Fetching objects is an important task that we want collaborative robots to be able to do,” says Stefanie Tellex, professor of computer science at Brown University. “But it’s easy for the robot to make errors, either by misunderstanding what we want, or by being in situations where commands are ambiguous. So what we wanted to do here was come up with a way for the robot to ask a question when it’s not sure.”

Tellex’s lab had previously developed an algorithm that lets robots receive speech commands as well as information from human gestures. It’s a form of interaction that people use all the time. When we ask someone for an object, we’ll often point to it at the same time. The new research shows that when robots received both speech commands and gestures, they got better at correctly interpreting user commands.

### ‘I’m confused’

Still, the system isn’t perfect. It runs into problems when there are lots of very similar objects in close proximity to each other. Take the workshop table, for example. Simply asking for “a wrench” isn’t specific enough, and it might not be clear which one a person is pointing to if a number of wrenches are clustered close together.

“What we want in these situations is for the robot to be able to signal that it’s confused and ask a question rather than just fetching the wrong object,” Tellex says.

The new algorithm does that. It allows the robot to quantify how certain it is that it knows what a user wants. When its certainty is high, it will simply hand over the object as requested. When it’s not so certain, the robot makes its best guess about what the person wants, then asks for confirmation by hovering its gripper over the object and asking, “this one?”

##### Why we prefer to be buddies with serious robots

One of the important features of the system is that the robot doesn’t ask questions with every interaction. It asks intelligently.

“When the robot is certain, we don’t want it to ask a question because it just takes up time,” says Eric Rosen, an undergraduate working in Tellex’s lab and co-lead author of the research paper with graduate student David Whitney. “But when it is ambiguous, we want it to ask questions because mistakes can be more costly in terms of time.”

And even though the system asks only a very simple question, “it’s able to make important inferences based on the answer,” Whitney says. For example, say a user asks for a wrench and there are two wrenches on a table. If the user tells the robot that its first guess was wrong, the algorithm deduces that the other wrench must be the one that the user wants. It will then hand that one over without asking another question. Those kinds of inferences, known as implicatures, make the algorithm more efficient.

### Beyond smart

To test the system, the researchers asked untrained participants to come into the lab and interact with Baxter, a popular industrial and research robot. Participants asked Baxter for objects under different conditions. The team could set the robot to never ask questions, ask a question every time, or to ask questions only when uncertain.

The trials showed that asking questions intelligently using the new algorithm was significantly better in terms of accuracy and speed compared to the other two conditions.

##### Watch robots avoid crashes—but not too carefully

The system worked so well, in fact, that participants thought the robot had capabilities it actually didn’t have. For the purposes of the study, the researchers used a very simple language model—one that only understood the names of objects. However, participants told the researchers they thought the robot could understand prepositional phrases like, “on the left” or “closest to me,” which it could not. They also thought the robot might be tracking their eye-gaze, which it wasn’t. All the system was doing was making smart inferences after asking a very simple question.

In future work, Tellex and her team would like to combine the algorithm with more robust speech recognition systems, which might further increase the system’s accuracy and speed.

Ultimately, Tellex says, she hopes systems like this will help robots become useful collaborators at work and around the house.

The research, which will be presented this spring at the International Conference on Robotics and Automation in Singapore, received funding from the Defense Advanced Research Projects Agency and NASA.

Source: Brown University