Lite / Intelligent Robotic Systems / Week 34
Measure what you actually want
A lift controller cuts average trip time by 2 seconds. Passengers hate it. Which number did the engineers forget to measure?
Why should I care?
Whatever you measure is what gets optimised. A metric that misses the real goal produces a system that scores well and works badly, so choosing metrics is a design decision, not paperwork.
- Choose metrics that match the real goal of a robotic system.
- Recognise a misleading proxy metric and what it hides.
- Combine a primary metric with constraints that must also hold.
Predict
A sorter is judged only on parts per minute. What will tuning for that metric alone tend to do?
- Improve accuracy too
- Run the belt faster until accuracy collapses
- Nothing
Guess first, then reveal
Speed up until sorting errors pile up, because errors aren't counted. Add accuracy as a constraint (for example ≥ 98 %) or as a second metric.
Discover
Make one controller pass every check with empty, half-full and full cabins. Before you start, list the metrics the Build checks and say which real need each one stands for (safety, comfort, accuracy, time).
What the interactive shows (text version)
The elevator Build's Level 4 checks one controller with empty, half-full and full cabins against levelling, comfort and safety limits all at once.
Understand
Start from the goal
Write the real goal in words ('passengers arrive quickly, comfortably and level with the floor'), then pick a metric for each part: trip time, peak jerk or acceleration, levelling error. A single number rarely captures a whole goal.
Proxies and their traps
A proxy is an easy-to-measure stand-in, like 'average speed' for 'trip time'. Proxies drift from the goal when optimised hard: average error can look fine while rare large errors cause crashes. Ask what a system could do to score well while failing the user.
Primary metric plus constraints
A practical pattern: one primary metric to compare methods, plus constraints that every method must satisfy (overshoot ≤ 10 %, accuracy ≥ 98 %, worst case within limits). Report worst cases or high percentiles, not only averages, wherever safety is involved.
Explain it another way
Intuitive
Grading a cake only on height rewards a tall, raw cake. You need taste and 'cooked through' too.
Technical
Metrics should be valid (measure the intended property), reliable (repeatable), and sensitive to the differences that matter. Constrained optimisation formalises 'best primary metric among options that meet the constraints'.
Applied
The elevator Build checks levelling, comfort and safety at several loads at once, so a controller cannot win on one by sacrificing another.
Worked example 1
Pick metrics for a warehouse robot fleet.
Primary: orders completed per hour. Constraints: zero collisions with people; 95th-percentile order time under 10 minutes; energy per order within budget. Report the worst robot as well as the average.
Common mix-ups
One overall score is the clearest way to compare robots.
✓ A single score hides trade-offs. Use a primary metric with explicit constraints, and show the parts.
Practice
Practice, not a test. Answers are checked on our server; a wrong answer gets a hint and another try. Nothing is saved.
Apply it
For your term project, write the goal in one sentence, then one primary metric and two constraints. For each, describe how a controller could game it if it stood alone.
Reflect
Think of a score in school or games that can be gamed. What would a better metric look like?
Write your answer on paper or in your own notes. Lite never stores what you write.