I've wondered if their robot cars would choose to crash into another car instead of running over a 5 year old child who ran into the street, or if they just count on lawyers claiming that it was all the parents fault and Google is bigger than life.
Google's Code-as-Policies Lets Robots Write Their Own Code Researchers from Google's Robotics team have open-sourced Code-as-Policies (CaP), a robot control method that uses a large language model (LLM) to generate robot-control code that achieves a user-specified goal. CaP uses a hierarchical prompting technique for code generation that outperforms previous methods on the HumanEval code-generation benchmark.