AI can now write its own computer code: That's good news for humans

As soon as Tom Smith got his hands on Codex - a new artificial intelligence technology that writes its own computer programs - he gave it a job interview

AI, Artificial Intelligence
Cade Metz | NYT
3 min read Last Updated : Sep 10 2021 | 2:44 AM IST
As soon as Tom Smith got his hands on Codex — a new artificial intelligence technology that writes its own computer programs — he gave it a job interview.

He asked if it could tackle the “coding challenges” that programmers often face when interviewing for big-money jobs at Silicon Valley companies like Google and Facebook. Could it write a program that replaces all the spaces in a sentence with dashes? Even better, could it write one that identifies invalid ZIP codes?

It did both instantly, before completing several other tasks. “These are problems that would be tough for a lot of humans to solve, myself included, and it would type out the response in two seconds,” said Smith, a seasoned programmer who oversees an AI start-up called Gado Images. “It was spooky to watch.”

Codex seemed like a technology that would soon replace human workers. As  Smith continued testing the system, he realised that its skills extended well beyond a knack for answering canned interview questions. It could even translate from one programming language to another.

Yet after several weeks working with this new technology, Smith believes it poses no threat to professional coders. In fact, like many other experts, he sees it as a tool that will end up boosting human productivity. It may even help a whole new generation of people learn the art of computers, by showing them how to write simple pieces a code, almost like a personal tutor. “This is a tool that can make a coder’s life a lot easier,” Smith said.

Codex, built by OpenAI, one of the world’s most ambitious research labs, provides insight into the state of artificial intelligence. Though a wide range of AI technologies have improved by leaps and bounds over the past decade, even the most impressive systems have ended up complementing human workers rather than replacing them.

Thanks to the rapid rise of a mathematical system called a neural network, machines can now learn certain skills by analysing vast amounts of data. This is the technology that recognises the commands you speak into your iPhone, translates between languages on services like Skype and identifies pedestrians and street signs as self-driving cars speed down the road.

About four years ago, researchers at labs like OpenAI started designing neural networks that analysed enormous amounts of prose, including thousands of digital books, Wikipedia articles and all sorts of other text posted to the internet. By pinpointing patterns in all that text, the networks learned to predict the next word in a sequence. When someone typed a few words into these “universal language models,” they could complete the thought with entire paragraphs. In this way, one system — an OpenAI creation called GPT-3 — could write its own Twitter posts, speeches, poetry and news articles.

One subscription. Two world-class reads.

Already subscribed? Log in

Subscribe to read the full story →
*Subscribe to Business Standard digital and get complimentary access to The New York Times

Smart Quarterly

₹900

3 Months

₹300/Month

SAVE 25%

Smart Essential

₹2,700

1 Year

₹225/Month

SAVE 46%
*Complimentary New York Times access for the 2nd year will be given after 12 months

Super Saver

₹3,900

2 Years

₹162/Month

Subscribe

Renews automatically, cancel anytime

Here’s what’s included in our digital subscription plans

Exclusive premium stories online

  • Over 30 premium stories daily, handpicked by our editors

Complimentary Access to The New York Times

  • News, Games, Cooking, Audio, Wirecutter & The Athletic

Business Standard Epaper

  • Digital replica of our daily newspaper — with options to read, save, and share

Curated Newsletters

  • Insights on markets, finance, politics, tech, and more delivered to your inbox

Market Analysis & Investment Insights

  • In-depth market analysis & insights with access to The Smart Investor

Archives

  • Repository of articles and publications dating back to 1997

Ad-free Reading

  • Uninterrupted reading experience with no advertisements

Seamless Access Across All Devices

  • Access Business Standard across devices — mobile, tablet, or PC, via web or app

Topics :artifical intelligencecodingTechnology

Next Story