Search papers, labs, and topics across Lattice.
This paper introduces Spatial Language Modeling, a unified framework for learning robotic manipulation policies and predicting future scene states by representing geometric and semantic information as discrete tokens. By training a single autoregressive Transformer on a shared next-token objective for both action generation and state prediction, the model learns to infer executable actions and their geometric consequences. The approach achieves competitive performance in simulation and surpasses baseline policies on a real robot, demonstrating the benefits of joint learning and random-play pretraining.
A single Transformer can learn both robotic control and geometric state prediction by treating scene dynamics as a language modeling problem.
Learning how actions change scene geometry can provide complementary supervision for goal-directed manipulation. We introduce Spatial Language Modeling, which represents scene contours, goals, action targets, and future states with a shared vocabulary of discrete coordinates and semantic tokens. A task-specific grammar organizes these elements into spatial sequences, allowing one autoregressive Transformer to learn action generation and action-conditioned state prediction through a common next-token objective. We train the model from scratch using random-play transition pretraining followed by joint action and state training on expert demonstrations. During pretraining, recorded action coordinates condition subsequent state predictions and are excluded from the prediction loss. During control, the model decodes only executable action targets and updates its history with newly observed states. We evaluate the approach on Push-T in simulation and on a real robot. The model achieves competitive simulation performance and higher task success and target coverage than the evaluated real-robot policy baselines. Training ablations show improved control with joint action and state sequences, with further gains from random-play pretraining. Given supplied action trajectories, the same model also predicts successive scene states, capturing the geometric effects of pushing.