MIT researchers have developed a dual-language model system that helps robots interpret vague human instructions while identifying which environmental details matter for safe task completion.

The "Masked Inverse Reinforcement Learning" approach uses two LLMs working in sequence to bridge the gap between unclear human prompts and precise robotic actions. The first model elaborates on ambiguous instructions — turning "stay close" into "stay close to the surface of the table" — while analyzing demonstration trajectories against optimal paths.

A second LLM then evaluates environmental factors, assigning binary scores to determine relevance. Elements deemed important receive a "1" and get incorporated into the final motion plan, while irrelevant details like a user leaning on a table during training get masked with a "0".

"Our approach could come in handy when a human interacts with a robot but doesn't want to spell out all the details of a task," said MIT PhD student Minyoung Hwang, lead author on the research. "We're minimizing human effort by enabling machines to get to the bottom of what users really want."

The system addresses a core challenge in robot training: humans typically either record extensive physical demonstrations or write detailed instructions, but rarely both. Masked IRL automates this process while using nearly five times less demonstration data than existing methods.

Real-world applications

In testing, both virtual and physical robots successfully navigated complex scenarios like placing coffee on a desk without disrupting video calls, or moving objects around laptops and other obstacles. The masking mechanism gave the system a key advantage over comparable baselines by teaching robots which information to prioritize.

The approach relies on kinesthetic demonstrations, where humans physically guide robot movements to show specific actions. The system's sensors capture environmental data and movement sequences, which the LLMs then analyze to understand why certain motions matter for task completion.

MIT's Computer Science and Artificial Intelligence Laboratory developed the technology for deployment in homes, offices, and factories where robots must safely navigate around people and equipment while completing routine tasks.