• Latest
  • Trending
  • All
  • News
  • Lifestyle
Google is testing a new robot that can program itself thumbnail

Google is testing a new robot that can program itself

November 6, 2022
NFL Transactions for July 25th, 2026 | Rest in Peace Chuck Talbot thumbnail

NFL Transactions for July 25th, 2026 | Rest in Peace Chuck Talbot

July 26, 2026
Provincetown: How Dominic Sessa Becomes Anthony Bourdain in A24's New Coming-of-Age Biopic thumbnail

Provincetown: How Dominic Sessa Becomes Anthony Bourdain in A24’s New Coming-of-Age Biopic

July 26, 2026
Former NFL offensive lineman Jordan Devey dies at 38 thumbnail

Former NFL offensive lineman Jordan Devey dies at 38

July 26, 2026
NFL Transactions for July 23rd, 2026 | Presented by Free Agent Portal thumbnail

NFL Transactions for July 23rd, 2026 | Presented by Free Agent Portal

July 26, 2026
Trump’s Personnel Agency Says It Will Remove Some Identifying Info as It Sweeps Up Medical Records thumbnail

Trump’s Personnel Agency Says It Will Remove Some Identifying Info as It Sweeps Up Medical Records

July 26, 2026
Conditions from Tropical Storm Bertha to continue spreading across northern Gulf Coast thumbnail

Conditions from Tropical Storm Bertha to continue spreading across northern Gulf Coast

July 22, 2026
‘What Does Michael Rubin Have on This Guy?’ — Podcasters Take Dig at Tom Brady’s ‘Lame’ Feud With Logan Paul thumbnail

‘What Does Michael Rubin Have on This Guy?’ — Podcasters Take Dig at Tom Brady’s ‘Lame’ Feud With Logan Paul

July 22, 2026
Former Patriots Player Exposes Ben Roethlisberger’s ‘Tell’ thumbnail

Former Patriots Player Exposes Ben Roethlisberger’s ‘Tell’

July 22, 2026
Massachusetts Becomes the Latest State to Propose Strict Ticket Resale Price Caps Under Noah Kahan-Inspired ‘Great Divide Act’ thumbnail

Massachusetts Becomes the Latest State to Propose Strict Ticket Resale Price Caps Under Noah Kahan-Inspired ‘Great Divide Act’

July 20, 2026
Nantucket Leads the Nation in Luxury Vacation Homes, at Eye-Watering Prices thumbnail

Nantucket Leads the Nation in Luxury Vacation Homes, at Eye-Watering Prices

July 20, 2026
Ideal landings spots for five NFL big-name free agents thumbnail

Ideal landings spots for five NFL big-name free agents

July 19, 2026
Man Who Bought Cape Cod Home on Edge of Cliff Seeks Release from Mortgage thumbnail

Man Who Bought Cape Cod Home on Edge of Cliff Seeks Release from Mortgage

July 19, 2026
  • About
  • Advertise
  • Privacy & Policy
  • Contact
  • Donate
Sunday, July 26, 2026
66 °f
Wellfleet
58 ° Tue
63 ° Wed
68 ° Thu
61 ° Fri
  • Login
  • Register
FREE Cape Cod News
DONATE
  • FREE Cape Cod News
  • Cape Cod News
  • News
    • News
    • Massachusetts
    • Breaking News
    • Cape Cod Weather
    • Storm Watch
    • Environment
  • Politics
    • democrats
    • republicans
  • Business
    • business
    • cryptocurrency
    • economy
    • money
    • Real Estate
    • Tech
  • World
  • Entertainment
  • Lifestyle
  • Photos
    • Orleans
    • Eastham
    • Wellfleet
    • Truro
    • Provincetown
    • Brewster
    • Chatham
  • Videos
No Result
View All Result
Free Cape Cod News
No Result
View All Result
  • FREE Cape Cod News
  • Cape Cod News
  • News
  • Politics
  • Business
  • World
  • Entertainment
  • Lifestyle
  • Photos
  • Videos
Home News

Google is testing a new robot that can program itself

FREE Cape Cod News by FREE Cape Cod News
November 6, 2022
in News, Tech
Reading Time: 3 mins read
Donate
0
Google is testing a new robot that can program itself thumbnail
636
SHARES
1.4k
VIEWS
Share on TwitterShare on Facebook

Writing working code can be a challenge. Even relatively easy languages like HTML require the coder to understand the specific syntax and available tools. Writing code to control robots is even more involved and often has multiple steps: There’s code to detect objects, code to trigger the actuators that move the robot’s limbs, code to specify when the task is complete, and so on. Something as simple as programming a robot to pick up a yellow block instead of a red one is impossible if you don’t know the coding language the robot runs on.

But Google’s robotics researchers are exploring a way to fix that. They’ve developed a robot that can write its own programming code based on natural language instructions. Instead of having to dive into a robot’s configuration files to change block_target_color from #FF0000 to #FFFF00, you could just type “pick up the yellow block” and the robot would do the rest.

Code as Policies (or CaP for short) is a coding-specific language model developed from Google’s Pathways Language Model (PaLM) to interpret the natural language instructions and turn them into code it can run. Google’s researchers trained the model by giving it examples of instructions (formatted as code comments written by the developers to explain what the code does for anyone reviewing it) and the corresponding code. From that, it was able to take new instructions and “autonomously generate new code that re-composes API calls, synthesizes new functions, and expresses feedback loops to assemble new behaviors at runtime,” Google engineers explained in a blog post published this week, In other words, given a comment-like prompt, it could come up with some probable robot code. Read the preprint of their work here.

Google is testing a new robot that can program itself
Google AI

To get CaP to write new code for specific tasks, the team provided it with “hints,” like what APIs or tools were available to it, and a few instructions-to-code paired examples. From that, it was able to write new code for new instructions. It does this using “hierarchical code generation” which prompts it to “recursively define new functions, accumulate their own libraries over time, and self-architect a dynamic codebase.” This means that given one set of instructions once, it can develop some code that it can then repurpose for similar instructions later on.

CaP can also use the arithmetic operations and logic of specific languages. For example, a model trained on Python can use the appropriate if/else and for/while loops when needed, and use third-party libraries for additional functionality. It can also turn ambiguous descriptions like “faster” and “to the left” into the precise numerical values necessary to perform the task. And because CaP is built on top of a regular language model, it has a few features unrelated to code—like understanding emojis and non-English languages.

For now, CaP is still very much limited in what it can do. It relies on the language model it is based on to provide context to its instructions. If they don’t make sense or use parameters it doesn’t support, it can’t write code. Similarly, it apparently can only manage a handful of parameters in a single prompt; more complex sequences of actions that require dozens of parameters just aren’t possible. There are also safety concerns: Programming a robot to write its own code is a bit like Skynet. If it thinks the best way to achieve a task is to spin around really fast with its arm extended and there is a human nearby, somebody could get hurt.

Still, it’s incredibly exciting research. With robots, one of the hardest tasks is generalizing their trained behaviors. Programming a robot to play ping-pong, doesn’t make it capable of playing other games like baseball or tennis. Although CaP is still miles away from such broad real world applications, it does allow a robot to perform a wide range of complex robot tasks without task-specific training. That’s a big step in the direction of one day being able to teach a robot that can play one game how to play another—without having to break everything down to new human-written code.

Read More

Tags: AIgooglerobotssciencetechnology

FREE Digital Newspaper Subscription!
Sign up for your free digital subscription. The FREE Cape Cod News

Unsubscribe
FREE Cape Cod News

FREE Cape Cod News

Free Cape Cod News is what's happening in the Cape Cod, U.S and World & what people are talking about right now. Local newspaper. Stay in the know. Subscribe to get notified about our latest news.

Related Posts

Provincetown: How Dominic Sessa Becomes Anthony Bourdain in A24's New Coming-of-Age Biopic thumbnail
Cape Cod News

Provincetown: How Dominic Sessa Becomes Anthony Bourdain in A24’s New Coming-of-Age Biopic

by FREE Cape Cod News
July 26, 2026
NFL Transactions for July 25th, 2026 | Rest in Peace Chuck Talbot thumbnail
News

NFL Transactions for July 25th, 2026 | Rest in Peace Chuck Talbot

by FREE Cape Cod News
July 26, 2026
Former NFL offensive lineman Jordan Devey dies at 38 thumbnail
News

Former NFL offensive lineman Jordan Devey dies at 38

by FREE Cape Cod News
July 26, 2026
NFL Transactions for July 23rd, 2026 | Presented by Free Agent Portal thumbnail
News

NFL Transactions for July 23rd, 2026 | Presented by Free Agent Portal

by FREE Cape Cod News
July 26, 2026
Load More
Please login to join discussion

Follow Us on Twitter

FREE Cape Cod News - Your source for local Cape Cod news, latest breaking U.S. and World news. Every day, all day. Subscribe for your favorite categories.

  • Trending
  • Comments
  • Latest
Provincetown: How Dominic Sessa Becomes Anthony Bourdain in A24's New Coming-of-Age Biopic thumbnail

Provincetown: How Dominic Sessa Becomes Anthony Bourdain in A24’s New Coming-of-Age Biopic

July 26, 2026
Former NFL offensive lineman Jordan Devey dies at 38 thumbnail

Former NFL offensive lineman Jordan Devey dies at 38

July 26, 2026
Top 5 lifestyle changes to improve your cholesterol thumbnail

Top 5 lifestyle changes to improve your cholesterol

August 2, 2020
NFL Transactions for July 23rd, 2026 | Presented by Free Agent Portal thumbnail

NFL Transactions for July 23rd, 2026 | Presented by Free Agent Portal

0
Former NFL offensive lineman Jordan Devey dies at 38 thumbnail

Former NFL offensive lineman Jordan Devey dies at 38

0
NFL Transactions for July 25th, 2026 | Rest in Peace Chuck Talbot thumbnail

NFL Transactions for July 25th, 2026 | Rest in Peace Chuck Talbot

0
NFL Transactions for July 25th, 2026 | Rest in Peace Chuck Talbot thumbnail

NFL Transactions for July 25th, 2026 | Rest in Peace Chuck Talbot

July 26, 2026
Provincetown: How Dominic Sessa Becomes Anthony Bourdain in A24's New Coming-of-Age Biopic thumbnail

Provincetown: How Dominic Sessa Becomes Anthony Bourdain in A24’s New Coming-of-Age Biopic

July 26, 2026
Former NFL offensive lineman Jordan Devey dies at 38 thumbnail

Former NFL offensive lineman Jordan Devey dies at 38

July 26, 2026

FREE Cape Cod News On Twitter

Today’s News

  • NFL Transactions for July 25th, 2026 | Rest in Peace Chuck Talbot July 26, 2026
  • Provincetown: How Dominic Sessa Becomes Anthony Bourdain in A24’s New Coming-of-Age Biopic July 26, 2026
  • Former NFL offensive lineman Jordan Devey dies at 38 July 26, 2026
  • NFL Transactions for July 23rd, 2026 | Presented by Free Agent Portal July 26, 2026
  • Trump’s Personnel Agency Says It Will Remove Some Identifying Info as It Sweeps Up Medical Records July 26, 2026
Bring Cape Cod Home. Stunning beach prints, perfectly framed gifts. Bring Cape Cod Home. Stunning beach prints, perfectly framed gifts. Bring Cape Cod Home. Stunning beach prints, perfectly framed gifts.
ADVERTISEMENT
FREE Cape Cod News

Copyright © 2026 Free Cape Cod News

Navigate Site

  • About
  • Advertise
  • Privacy & Policy
  • Contact
  • Donate

Follow Us

Welcome Back!

Login to your account below

Forgotten Password? Sign Up

Create New Account!

Fill the forms below to register

All fields are required. Log In

Retrieve your password

Please enter your username or email address to reset your password.

Log In

Add New Playlist

No Result
View All Result
  • FREE Cape Cod News
  • Cape Cod News
  • News
    • News
    • Massachusetts
    • Breaking News
    • Cape Cod Weather
    • Storm Watch
    • Environment
  • Politics
    • democrats
    • republicans
  • Business
    • business
    • cryptocurrency
    • economy
    • money
    • Real Estate
    • Tech
  • World
  • Entertainment
  • Lifestyle
  • Photos
    • Orleans
    • Eastham
    • Wellfleet
    • Truro
    • Provincetown
    • Brewster
    • Chatham
  • Videos
  • Login
  • Sign Up

Copyright © 2026 Free Cape Cod News