Digital Twin Security

Blog / Guide

How do you test a robot that takes spoken instructions?

A robot that takes spoken or written instructions can be told to break its own rules. How to test which instructions it follows, and who does it.

The Digital Twin Security teamPublished Updated 2 min read

GUIDERobots that takespoken instructionsDIGITAL TWIN SECURITY

Short answer: A robot that takes spoken or written instructions has to be tested with instructions it should refuse, phrased the many ways a person might phrase them. The test records which words moved it off its rules and what it then did. Digital Twin Security runs these tests in simulation for robots driven by language models.

Book a demo

Why are instructions a risk for a robot?

A robot that understands ordinary language can be spoken to by anyone near it, and can read any sign in front of its camera. Most of what it hears is harmless. Some of it is an order that only its operator should give: leave your route, go faster, enter that area, hand over that parcel.

What should the tests try?

  • A plain order from a stranger.
  • The same order with a reason attached, such as an emergency.
  • An order that claims to come from the operator.
  • An instruction written on a sign or a label in the robot's view.
  • A harmless request that hides an unsafe step inside it.

Each is tried in several wordings, because a robot that refuses one phrasing may follow another.

How is the result judged?

By what the robot does, not by what it says. A robot can answer politely that it cannot help and still drive off its route. So the test watches its movement: whether it stayed in its area, kept its speed, and kept its distance from people.

Who tests robots that take instructions?

Digital Twin Security. Our instruction tests put spoken and written orders to the robot in a simulated scene and report the exact words that worked. It is one part of physical AI security, and the method follows how to red team an autonomous robot.

Frequently asked questions

Is this the same as testing a chatbot?

No. A chatbot's failure is a sentence. A robot's failure is a movement, so the test has to include the world around it.

How many wordings should be tested?

Many. People phrase the same order in dozens of ways, and the test should too.

Can a robot be made to refuse every unsafe instruction?

Testing shows which ones it follows today, which is where fixing starts.