Algorithm Tells Robots Where Nearby Humans Are Headed
June 13, 2019 | MITEstimated reading time: 5 minutes

In 2018, researchers at MIT and the auto manufacturer BMW were testing ways in which humans and robots might work in close proximity to assemble car parts. In a replica of a factory floor setting, the team rigged up a robot on rails, designed to deliver parts between work stations. Meanwhile, human workers crossed its path every so often to work at nearby stations.
The robot was programmed to stop momentarily if a person passed by. But the researchers noticed that the robot would often freeze in place, overly cautious, long before a person had crossed its path. If this took place in a real manufacturing setting, such unnecessary pauses could accumulate into significant inefficiencies.
The team traced the problem to a limitation in the robot’s trajectory alignment algorithms used by the robot’s motion predicting software. While they could reasonably predict where a person was headed, due to the poor time alignment the algorithms couldn’t anticipate how long that person spent at any point along their predicted path — and in this case, how long it would take for a person to stop, then double back and cross the robot’s path again.
Now, members of that same MIT team have come up with a solution: an algorithm that accurately aligns partial trajectories in real-time, allowing motion predictors to accurately anticipate the timing of a person’s motion. When they applied the new algorithm to the BMW factory floor experiments, they found that, instead of freezing in place, the robot simply rolled on and was safely out of the way by the time the person walked by again.
“This algorithm builds in components that help a robot understand and monitor stops and overlaps in movement, which are a core part of human motion,” says Julie Shah, associate professor of aeronautics and astronautics at MIT. “This technique is one of the many way we’re working on robots better understanding people.”
Shah and her colleagues, including project lead and graduate student Przemyslaw “Pem” Lasota, will present their results this month at the Robotics: Science and Systems conference in Germany.
Clustered up
To enable robots to predict human movements, researchers typically borrow algorithms from music and speech processing. These algorithms are designed to align two complete time series, or sets of related data, such as an audio track of a musical performance and a scrolling video of that piece’s musical notation.
Researchers have used similar alignment algorithms to sync up real-time and previously recorded measurements of human motion, to predict where a person will be, say, five seconds from now. But unlike music or speech, human motion can be messy and highly variable. Even for repetitive movements, such as reaching across a table to screw in a bolt, one person may move slightly differently each time.
Existing algorithms typically take in streaming motion data, in the form of dots representing the position of a person over time, and compare the trajectory of those dots to a library of common trajectories for the given scenario. An algorithm maps a trajectory in terms of the relative distance between dots.
But Lasota says algorithms that predict trajectories based on distance alone can get easily confused in certain common situations, such as temporary stops, in which a person pauses before continuing on their path. While paused, dots representing the person’s position can bunch up in the same spot.
“When you look at the data, you have a whole bunch of points clustered together when a person is stopped,” Lasota says. “If you’re only looking at the distance between points as your alignment metric, that can be confusing, because they’re all close together, and you don’t have a good idea of which point you have to align to.”
The same goes with overlapping trajectories — instances when a person moves back and forth along a similar path. Lasota says that while a person’s current position may line up with a dot on a reference trajectory, existing algorithms can’t differentiate between whether that position is part of a trajectory heading away, or coming back along the same path.
“You may have points close together in terms of distance, but in terms of time, a person’s position may actually be far from a reference point,” Lasota says.
Page 1 of 2
Suggested Items
ZenaTech’s ZenaDrone Tests Proprietary Camera Enabling IQ Nano Drone Swarms for US Defense Applications, Blue UAS Submission
05/09/2025 | Globe NewswireZenaTech, Inc., a technology company specializing in AI (Artificial Intelligence) drones, Drone as a Service (DaaS), enterprise SaaS, and Quantum Computing solutions, announces that its subsidiary ZenaDrone is testing a new proprietary specialized camera that enables more efficient indoor applications such as inventory and security management, when utilizing IQ Nano drone swarms for commercial and US defense applications.
Ultrahuman Expands its American Factory’s Manufacturing Capacity
05/09/2025 | GlobeNewswireUltrahuman, a pioneer in health optimization technology, has announced that it’s ramping up its capacity of the Ring AIR. Ultrahuman’s manufacturing facility (UltraFactory) in partnership with SVtronics, a US-based electronics manufacturing business, has been operational in Plano, Texas, since November 2024.
Kimball Electronics Shared Services Scores for the Dubois County Humane Society with Souper Bowl Fundraiser
04/11/2025 | Kimball ElectronicsEmployees at Kimball Electronics Shared Services (KESS) recently came together to make a meaningful impact for local animals in need through their annual Souper Bowl fundraiser.
SMT Perspectives and Prospects: Artificial Intelligence, Part 5: Brain, Mind, Intelligence
04/09/2025 | Dr. Jennie Hwang -- Column: SMT Perspectives and ProspectsCurrently, there is no single established test that can authoritatively measure artificial or human intelligence. Humans generate data, acquire information, and translate it into knowledge. Cumulative knowledge builds intelligence. As such, it is plausible to define human intelligence as the capacity to acquire knowledge and the ability to apply it to achieve desired outcomes.
TT Electronics Juárez Recognised for Commitment to Human Rights
04/02/2025 | TT ElectronicsTT Electronics is proud to announce that its Juárez facility has been awarded the esteemed Recognition as a Company Committed to Human Rights by the Chihuahua State Human Rights Commission (CEDH).