Google wants to let robots write their own code


Google has released an new open source benchmark that it says will allow robots to perform tasks by writing their own code in response to human-written instructions.
The company has launched a new website (opens in new tab) to reveal “Code as Policies” (CAP), whereby prompts written in plain English can be interpreted into language-model generated programs (LMPs) written in Python code.
CAP is the successor to PaLM-SayCan (opens in new tab), a project that similarly allowed a physical helper robot to be directed through commands in plain English. CAP promises to allow for more complex tasks to be completed with increased accuracy, in part due to allowing machines to write their own code.
Self-coding robots
In a blog post (opens in new tab) discussing CAP’s release, Google Research Intern Jacky Liang and Research Scientist Andy Zeng describe the motivation for the technology, and what it might mean for the future.
“What if when given instructions from people, robots could autonomously write their own code to interact with the world? […] Given natural language instructions, current language models are highly proficient at writing not only generic code but, as we’ve discovered, code that can control robot actions as well.”
But it might not be the time to throw away your laptop for programming just yet. In testing, Google’s researchers demonstrated simple commands with a similar structure. Test robots were able to “draw a 5 cm hexagon around the middle” [of a whiteboard], and “put the blocks in a horizontal line near the top” [of a square boundary].
In the accompanying paper (opens in new tab), titled “Code as Policies: Language Model Programs for Embodied Control”, the project team concede that CAP currently doesn’t have the ability to deal with especially abstract or complex commands or perceive descriptions of trajectory. The team’s approach also didn’t account for impossible commands being fed though CAP.
In theory, the open source nature of Google’s “robot-centric” implementation of LMPs in Python could result in much quicker implementation of solutions to these issues. The CAP website also contains releases (opens in new tab) via Github, and an interactive demo (opens in new tab) via Google Colab to describe how robots “write” code in response to commands.
Audio player loading… Google has released an new open source benchmark that it says will allow robots to perform tasks by writing their own code in response to human-written instructions. The company has launched a new website (opens in new tab) to reveal “Code as Policies” (CAP), whereby prompts written…
Recent Posts
- Reddit is experiencing outages again
- OpenAI confirms 400 million weekly ChatGPT users – here’s 5 great ways to use the world’s most popular AI chatbot
- Elon Musk’s AI said he and Trump deserve the death penalty
- Grok resets the AI race
- The GSA is shutting down its EV chargers, calling them ‘not mission critical’
Archives
- February 2025
- January 2025
- December 2024
- November 2024
- October 2024
- September 2024
- August 2024
- July 2024
- June 2024
- May 2024
- April 2024
- March 2024
- February 2024
- January 2024
- December 2023
- November 2023
- October 2023
- September 2023
- August 2023
- July 2023
- June 2023
- May 2023
- April 2023
- March 2023
- February 2023
- January 2023
- December 2022
- November 2022
- October 2022
- September 2022
- August 2022
- July 2022
- June 2022
- May 2022
- April 2022
- March 2022
- February 2022
- January 2022
- December 2021
- November 2021
- October 2021
- September 2021
- August 2021
- July 2021
- June 2021
- May 2021
- April 2021
- March 2021
- February 2021
- January 2021
- December 2020
- November 2020
- October 2020
- September 2020
- August 2020
- July 2020
- June 2020
- May 2020
- April 2020
- March 2020
- February 2020
- January 2020
- December 2019
- November 2019
- September 2018
- October 2017
- December 2011
- August 2010