Embodied AI and the Middle Layer: Why Foundation Models Cannot Control Joints Directly

    This article examines the emerging battle over the middle layer in embodied AI—the engineering stack between general-purpose foundation models and low-level motors. It explains why foundation models score well on robot benchmarks only when a clear division of labor exists, how action representation affects success rates, and why a layered architecture that separates reasoning from motion control is essential. Readers will find a practical four-layer system design, a sample interface contract, a simulation-plus-real-robot data loop, and engineering guidance on real-time constraints, safety, and observability. The conclusion argues that the middle layer is long-term infrastructure rather than a temporary workaround.

    1. The Signal: One Lab Retreats While Others Bet on the Middle Layer

    Over the past two years, the narrative around embodied AI has shifted noticeably. A leading frontier model research organization has disbanded its standalone robotics team twice in six years. The first time, the stated reason was a lack of usable training data. The second time, the reason changed to “general-purpose models are already good enough.” The organization’s view is that early efforts required world models to gradually accumulate physical interaction capabilities, but once general frontier models can handle some robotic tasks directly, maintaining a separate robotics team becomes less necessary. At the same time, its public demo timeline for humanoid robots has been pushed back by two years.

    In roughly the same window, activity on the other side of the supply chain has been dense. An electronic components company delivered a high-compute unit to a robot manufacturer. A joint venture between a full-robot maker and a chip company, focused on edge chips, closed a large angel round. A local authority released a three-year action plan for embodied AI. A core components supplier of electric grippers and dexterous hands for robot makers completed its pre-IPO filing.

    Put these two sets of signals together and they are competing for the same ecosystem position: the middle layer between general-purpose foundation models and low-level motors. A foundation model knows where the hand should go, but translating a target pose into joint torques and turning discrete intent into a continuous executable trajectory still requires a full set of engineered modules. Whoever controls this layer controls the bottleneck that decides whether embodied AI moves from demos to mass production.

    2. Capability Boundaries: High Scores Depend on a Clear Division of Labor

    A technical report from a robotics lab offers a useful controlled comparison. On a simulation benchmark of 120 tabletop pick-and-place tasks, a general frontier model with no robot-specific training, outputting actions directly, achieved a success rate of about 66%. Placed in a persistent session environment that retains interaction history, can call tools, and supports external note-taking, the success rate rose to about 75%—more than twenty percentage points above the best previously published leaderboard result.

    What deserves developers’ attention is not the high score but the gap across action representations for the same model:

    • End-effector coordinates (target pose): about 66% success.
    • Joint position representation: the rate drops to about 50%.
    • Lower-level B-spline trajectory representation: only about 39% remains.

    The implication is direct: general foundation models are good at answering “where should the hand go” and poor at answering “how many degrees each joint rotates and how the trajectory transitions smoothly.” The latter depends on inverse kinematics, dynamics constraints, collision detection, and real-time control loops—deterministic numerical optimization problems rather than semantic reasoning problems. The report’s authors also acknowledge that prompt structure and action representation significantly affect final results, which shows that model capability depends heavily on external interface design.

    This yields an engineering principle: a general model’s high score in robotics rests on a clear division-of-labor interface. The model outputs intent and target poses; the lower layer translates poses into torques. The middle layer is not a transitional artifact but long-term infrastructure.

    3. Layered Architecture: Fully Decoupling “Thinking” from “Moving”

    A deployable embodied AI system can usually be split into four layers:

    1. Perception and scene understanding: aligns multimodal input, performs object detection, pose estimation, and scene graph construction, and outputs a structured world state.
    2. Intent and task planning: handled by the general foundation model, which decomposes natural-language instructions into a sequence of sub-tasks and provides a target pose and success criteria for each step.
    3. Motion control middle layer: handles inverse kinematics, trajectory generation, force and impedance control, collision avoidance, and real-time guarantees.
    4. Execution and feedback: motor drivers, grippers and dexterous hands, and sensor readback that returns execution results to close the loop.

    A schematic interface contract can be written as follows, with the emphasis on being semantically clear, explicit about constraints, and verifiable:

    1. {
    2. "task_id": "pick_cup_001",
    3. "subgoal": "grasp",
    4. "target_pose": {
    5. "position": [0.42, -0.11, 0.28],
    6. "orientation_quat": [0.0, 0.707, 0.0, 0.707]
    7. },
    8. "constraints": {
    9. "max_velocity": 0.35,
    10. "approach_direction": [0, 0, -1],
    11. "force_limit_n": 12,
    12. "collision_avoid": true
    13. },
    14. "success_criteria": {
    15. "grasp_confidence_min": 0.8,
    16. "timeout_ms": 5000
    17. }
    18. }

    The value of this contract is that the foundation model only needs to be responsible for the target pose, constraints, and success criteria, without understanding joint limits or dynamics details; the middle layer only consumes structured fields, without interpreting natural-language ambiguity. The two sides collaborate through an interface rather than semantic guessing, which significantly improves debuggability.

    4. The Data Loop: Simulation at Scale, Real Robots for Calibration

    A reliable middle layer must solve the data problem. The industry commonly uses a dual-track strategy of large-scale simulation plus precise real-robot calibration:

    • Simulation: use large-scale parallel environments to generate atomic skill data for pick-and-place, insertion, and opening/closing, covering pose perturbations, lighting changes, and material differences; use domain randomization to narrow the sim-to-real gap.
    • Real robots: collect a small amount of high-quality teleoperation data to calibrate contact forces, friction coefficients, and soft-object deformation that simulation struggles to model.
    • Feedback: automatically label and cluster failure cases into a hard-case set, then add targeted training and rule fixes.

    It is worth stressing that a high simulation success rate does not mean real-robot usability. Uncertainty at the moment of contact, sensor noise, and mechanical backlash all amplify errors, so the middle layer must retain fallback strategies: when pose solving fails or force control exceeds limits, fall back to a more conservative grasp mode or request replanning from the upper layer.

    5. Engineering Deployment: Real-Time Constraints, Safety, and Observability

    The hard part of embodied AI systems is often not the model but engineering constraints:

    • Real-time: control loops typically need millisecond-level response, so model inference should sit in a planning layer operating at the second or hundred-millisecond level, using caching and prefetching to reduce jitter; never put a foundation model in a hard real-time path.
    • Safety: set joint limits, velocity caps, torque caps, and an emergency-stop chain; every model output must pass through a safety validator.
    • Observability: collect logs, metrics, and distributed traces in a unified way, stringing “instruction—sub-task—target pose—joint command—execution result” into a replayable timeline to locate which layer a failure occurred in.
    • Elasticity and cost: training and simulation suit elastic container platforms and object storage, scaling with task peaks; online inference can use message queues to smooth spikes, with monitoring and alerts guarding the two red lines of success rate and latency.

    6. Conclusion: The Middle Layer Is a Long-Term Track, Not a Stopgap

    Rapid improvements in general foundation models will not eliminate the middle layer; they will concentrate its value. The stronger the model, the more it needs a stable, verifiable, real-time interface to turn “intent” into “torque.” The action-representation experiment already shows that representations closer to semantics suit foundation models, while representations closer to physics suit deterministic algorithms.

    Practical advice for developers can be condensed into three sentences: put the foundation model in the task-planning seat, put inverse kinematics and trajectory control in the middle layer, and make safety and observability default capabilities. Sustained investment in the data loop and interface standardization around this layering is the realistic path for embodied AI to move from demos to large-scale deployment.