teaching_robots_navigation

Executive Summary

1. Firestone’s Performance vs. Competence Distinction

Firestone (2020) draws on cognitive science (Chomsky’s linguistics) to highlight that an agent’s competence (its internal, idealized knowledge) can exceed its performance (observable behavior) if “performance constraints” interfere. Competence is what the system truly knows or can do in principle; performance is how it actually behaves under test conditions. For example, native speakers “know” grammar but may sometimes stumble on long sentences due to memory limits. Likewise, a neural net might correctly classify ImageNet images (high performance) yet do so via shortcut features (e.g. textures or backgrounds) rather than genuine shape understanding – revealing limited competence. Firestone argues that many AI “failures” are superficial: machines misbehave not because they lack core knowledge, but because of narrow training or interface issues. A species-fair comparison would constrain conditions so humans and machines face comparable “performance” challenges.

Key definitions (Firestone): Competence = the internal rules or knowledge underlying a capacity. Performance = the use or expression of that competence in behavior. For example, a robot’s competence for walking includes a robust understanding of balance dynamics, while its performance might appear successful on smooth ground but fail on rough terrain due to limitations (sensors, actuators). Firestone’s three guidelines (burden machines with human-like constraints, vice versa, and align tasks) stem from this idea – but here we focus on implications for engineering robots.

2. The Robotics Perception–Action Pipeline

Robotics pipelines typically follow Sensing → Perception → Representation → Planning → Control → Actuation, all within a physical embodiment. In ROS, each stage often maps to nodes (processes) communicating over topics/services (a computation graph). For example: a camera node publishes images → a vision node publishes detected objects → a planner node publishes velocity commands → a controller node sends motor signals (see Fig. 1). A mermaid flowchart of the idealized pipeline is:

flowchart LR
    Sensors --> Perception --> Representation --> Planning --> Control --> Actuation

Each stage has performance (e.g. accuracy on trained scenarios) and competence (generalizability, robustness). Fig. 1 illustrates a typical ROS computation graph: nodes (blue) perform computations and communicate via topics or services. This peer-to-peer graph lets developers swap components, but also hides how brittle some components may be.

Figure 1: Illustration of the ROS computation graph. Nodes (processes) perform sensing, perception, planning, etc., communicating via topics (arrows). This modular architecture (ROS 1/2) enables clear dataflow but can conceal “hidden” failures when nodes are overfit.

3. Performance-without-Competence in ROS Pipelines

In ROS systems, high performance often hides underlying fragility (low competence). Below are concrete examples where a node or sub-pipeline seems to “work” but fails in new conditions:

These phenomena can be summarized in a failure-mode table:

Failure Mode Root Cause Symptom Mitigations
Overfit Vision Model Training on narrow data; exploiting “shortcuts”. High test accuracy on known scenes; fails on distorted or adversarial inputs (misclassifies objects under new lighting or angles). Use diverse data (augmentation, domain randomization), adversarial training; sensor fusion; uncertainty estimation in perception.
Dataset Bias (“Right-Turn”) Imbalanced/biased training data Controller always behaves one way (e.g. always turn right), fails on rare cases (left curves). Balance dataset; synthetic examples (flip images+controls); include recovery trajectories; test on held-out scenarios.
Brittle Planning Limited world model; overspecialized algorithm. Planner works in simple maps but loops or stalls in new maps; fails when obstacles move. Add robustness: global vs local planners; replanning; incorporate unpredictability (dynamic obstacle simulation); safety monitors.
Sim2Real Gap Simulator simplifications (dynamics, noise). Perfect sim performance but real robot jerks, slips, or misperceives. Domain randomization; real-world fine-tuning; high-fidelity sim; physics-aware models.
Reactive-only Control No state memory/model; naive heuristic. Works in rehearsed environment; falls apart if environment layout changes. Incorporate SLAM/map, use planning; hybrid reactive-planning; learning with memory (RNN, attention).
Sensor Overconfidence No uncertainty measure. Robot trusts noisy sensor blindly, causing errors (e.g. slam drift unnoticed). Bayesian filtering, sensor fusion; introspection to gauge sensor quality; switch-off on uncertainty.
Adversarial Vulnerability Model brittleness to perturbations. Unexpected inputs (e.g. adversarial patch or environmental noise) cause egregious misbehavior. Adversarial training; anomaly detectors; multi-sensor cross-checks.

4. Case Studies: Performance ≠ Competence

Image Classification Attacks in Robotics – In Wu et al. (2023), real-time adversarial overlays (“patches”) were generated and injected into a ROS camera stream. A running robot vision pipeline could be fooled into “seeing” nonexistent objects with ~90% success. This shows a ROS perception chain scoring well normally can be completely misled by small perturbations (performance drop to zero), revealing no deeper robustness.

Generalist Policy Shortcuts – Xing et al. (2025) studied large-scale vision-language-action (VLA) robot policies. In one lab experiment, they commanded pretrained robots (on the OXE dataset) to perform tasks requiring generalization. All policies, when asked “put the spoon on the towel,” instead “picked up a Coke” bottle every time – the Coke action had been correlated with similar contexts in training. After fine-tuning, another policy ignored new instructions: when given a novel viewpoint with instruction D, it performed action C from the other viewpoint. In both cases, high in-sim performance masked a failure to learn true task semantics.

DARPA Robotics Challenge (2015) – Although before Firestone’s paper, DRC vividly illustrates this point. Humanoid robots could walk and run, but most “performed” tasks poorly. For example, the DRC-winning robot collapsed when asked to manipulate a simple lever or door knob (tasks trivial for humans). Reporters noted “hard lessons” – success on the challenge tasks did not imply true competence in dexterity or adaptability. (It was performance-limited by hardware and brittle control software.)

Autonomous Vehicles – Many self-driving car incidents reflect this gap: e.g. a vision system trained mostly on daylight scenarios may correctly detect pedestrians in sun, but fail at dusk or in glare (yielding accidents). In one analysis, an autonomous car system misdetected a white truck against bright sky because its model had learned bright sky as negative background (analogous to the biased driving example above). These failures occur even though the car “performs” well on logged datasets.

These cases underscore Firestone’s point: apparent success does not guarantee competence. For robots, we need tests beyond i.i.d. benchmarks – stress testing, adversarial scenarios, and tasks outside training conditions to reveal such gaps.

5. Implications for Evaluation, Safety, and Teaching

Evaluation & Metrics: Traditional metrics (accuracy, task-completion rate) can hide competence gaps. We should include tests for robustness and generalization. Examples:

These suggestions align with robotics standards: NIST and others are developing tests for perception and safety components (e.g. NIST’s Robot Performance Tests).

Safety & Monitoring: Systems should be instrumented to detect “overconfidence.” For instance, if a lidar suddenly stops receiving data, a competent robot should not simply continue at full speed. Instead, it should stop or enter a safe mode. Tools:

Teaching Curricula:

For example, a lab exercise could have students implement a simple ROS navigation stack and then systematically introduce failures: cover the camera, add noise to odometry, or feed warped images, and observe the system’s response. Students can then implement a fallback behavior or require user confirmation on high-uncertainty situations.

6. Design Recommendations (Detecting/Mitigating Gaps)

To build ROS systems that sense their own competence, we recommend:

Together, these measures aim to ensure that when performance suggests success, we’re not fooled by superficial cues. A “competent” robot should know when it doesn’t know.

7. Open Questions & Classroom Experiments

Key open research questions include: How to quantify competence? Possible experiments: measure how performance degrades as input conditions deviate. Another is curriculum learning: can robots be trained progressively on harder scenarios to truly build competence? Or active perception: letting robots choose informative actions to reduce uncertainty (e.g. move viewpoint).

For teaching labs, we suggest simple exercises in ROS 2 with Gazebo:

Expected outcomes: Students should experience performance drops (e.g. their nav algorithm fails in a new map) and then learn to fix it by injecting diversity or checks. They’ll understand how metrics should stress variability, not just standard benchmarks.

References

Firestone’s PNAS perspective provides the performance/competence framework. Recent AI-robustness literature (Geirhos et al., 2019; Zhou et al., 2025) documents visual shortcut learning. Robotics-specific examples (the Xing et al. 2025 arXiv on Shortcut Learning in Robot Policies) show direct analogues of Firestone’s points. ROS-specific best practices are drawn from ROS documentation and industry blogs. Wherever possible, we cite primary sources. These include Firestone (PNAS 2020) itself, and modern robotics/AI papers, as well as examples from ROS-based experiments.