Robot Middle Layer After General-Purpose LLMs: Interfaces, Motion Planning, and Real-Time Control

    This article examines why general-purpose LLMs do not eliminate the robot middle layer. It reviews action-representation experiments, proposes a layered interface between intent and torque, outlines real-time and safety constraints, and explains how edge compute and supply-chain investment shape the middle layer’s performance ceiling.

    1. The Real Disagreement Behind Shifting Robot Strategies

    A leading general-purpose LLM vendor adjusted its robotics team twice over six years. The first adjustment was justified by insufficient training data; the second was justified by the claim that general models are now good enough. That judgment is supported by zero-shot performance on robot tasks: on a simulated benchmark with 120 tabletop pick-and-place tasks, a general model without any robot-specific training output actions directly and achieved about 66% success. In a persistent session environment that retained interaction history, could call tools, and supported external note-taking, success rose to about 75%, significantly above the previous best result on public leaderboards.

    In the same period, the Chinese supply chain moved in the opposite direction. Component suppliers delivered high-compute units to humanoid robot companies. An edge-chip joint venture closed a large angel round. A local authority published a three-year action plan for embodied intelligence. Suppliers of electric grippers and dexterous hands for robot OEMs completed pre-IPO filing.

    On the surface, this looks like contraction versus expansion. In practice, it is betting on two sides of the same ecological niche: the middle layer between general-purpose LLMs and low-level motors. The disagreement is not about whether to use LLMs. It is about who owns that middle layer and through what interface.

    2. What Action Representation Experiments Reveal About Capability Boundaries

    The more instructive part of the same technical report is the comparison data. When the same general model directly controlled a robot, success was about 66% if action commands were expressed as end-effector coordinates. It dropped to about 50% with joint-position representations and to about 39% with lower-level spline trajectories. The authors also noted that prompt structure and action representation significantly affect final performance.

    The engineering implications are clear:

    • General models are good at making decisions at the semantic and target-pose level, outputting where the hand should go and with what pose to grasp.
    • They are not good at, and should not be responsible for, per-joint angle allocation, smooth trajectory transitions, or dynamics-constraint solving.
    • Those tasks should be handled by mature inverse-kinematics solvers, trajectory planners, and low-level controllers.

    Therefore, a general model can score well only on top of a clear division-of-labor interface: the upper layer outputs intent and target poses, and the lower layer translates poses into torques. The middle layer is not a transitional artifact. It is the load-bearing structure that determines whether the system runs reliably.

    3. Reference Design for a Layered Interface

    A practical layered structure usually has four layers: semantic task layer, skill orchestration layer, motion middle layer, and real-time control layer. The core contract of the middle layer should be narrow and stable, as shown below:

    1. # The upper-layer policy handles only semantics and poses, not joints or torques
    2. @dataclass
    3. class PoseTarget:
    4. frame: str # Reference frame, e.g. base_link / camera_optical
    5. position: tuple # Target position (x, y, z), in meters
    6. orientation: tuple # Target orientation, quaternion (qx, qy, qz, qw)
    7. gripper: float # Gripper opening target, 0=closed 1=open
    8. timeout_ms: int
    9. class MotionMiddleLayer:
    10. def solve(self, target: PoseTarget, state: RobotState) -> MotionPlan:
    11. # 1. Coordinate transform and reachability check
    12. # 2. Inverse kinematics, selecting among solutions by joint limits and energy
    13. # 3. Trajectory interpolation with continuous velocity/acceleration/jerk
    14. # 4. Collision and self-collision detection, with fallback poses if needed
    15. ...
    16. def execute(self, plan: MotionPlan) -> ExecResult:
    17. # Send joint targets at a fixed period; the real-time layer handles closed-loop feedback
    18. ...

    There are three design points. First, the interface should be semantic rather than numeric. Poses and gripper states are more stable than joint arrays and are easier for upper-layer models to generate correctly. Second, the middle layer must provide reachability and safety fallbacks. If a model outputs an unreachable target pose, the system should degrade gracefully rather than execute it blindly. Third, there must be clear cycle isolation between the real-time control layer and the upper layer. Upper-layer inference latency is typically on the order of hundreds of milliseconds, while low-level control must close the loop at millisecond or sub-millisecond periods. The two cannot be coupled in the same scheduling domain.

    4. Engineering Constraints the Middle Layer Must Solve

    Real-time behavior. Control-period jitter directly appears as arm vibration and end-effector positioning error. The middle layer needs deterministic scheduling, priority isolation, and watchdog mechanisms.

    Multimodal consistency. Vision, force/torque, and joint-encoder timestamps must be aligned. Otherwise, upper-layer decisions based on historical observations will drift systematically. A common approach is to maintain a unified time base and sliding-window buffer in the middle layer.

    Failure recovery. Grasp failure, slip, and occlusion are normal. The middle layer should expose structured failure reason codes so the upper layer can replan, rather than returning only a Boolean value.

    Safety boundaries. Torque limits, velocity limits, workspace soft limits, and emergency-stop paths should be implemented in the middle layer and real-time layer, not left to the upper-layer model’s self-discipline.

    Data loop. Real-robot data upload, failure-case labeling, and sim-to-real domain-gap correction all require the middle layer to provide a unified recording and replay format. In engineering practice, teams often use object storage for raw-data archiving, message queues to decouple data pipelines, container platforms for simulation and training jobs, and logging plus monitoring and alerting for end-to-end observability.

    5. Edge Compute and Supply Chain Evolution

    The division of labor—LLMs in the cloud and control at the edge—concentrates edge compute demand in three areas: perception preprocessing, local policy inference, and safety monitoring. This explains why the supply chain is investing heavily at the same time in edge chips, high-compute units, dexterous hands, and electric grippers. The performance ceiling of the middle layer is largely determined by edge compute, sensor bandwidth, and actuator response, not by the parameter count of the cloud model.

    For robot OEMs and solution providers, the pragmatic path is to standardize interfaces and data formats first, then gradually replace upper-layer policy models. Once the interface is stable, upper-layer model iteration will not trigger lower-layer rewrites. That is the precondition for truly absorbing the rapid progress of general models.

    6. Conclusion

    General-purpose LLMs compress the task-planning and semantic-generalization layer; they do not eliminate the middle layer. The action-representation experiments provide quantitative evidence: the closer the representation is to the low level, the lower the success rate. What determines whether a robot system is usable is a middle layer between intent and torque that has clear boundaries, real-time controllability, and failure recovery. For engineering teams, the investment focus should shift from waiting for a stronger model to making interfaces, data loops, and real-time control solid.