You successfully scan QR code

You can view scan result in 5

Anna Karamazina

26.11.2022 15:00

AI develops 'stunning' computer coding skills

The world is run by software. It manages automobile engines, iPhones, and nuclear weapons. However, there is a lack of programmers everywhere. Don't you think it would be convenient if anyone could describe what they want a program to perform, and a computer could convert it into lines of code?

According to recent research, the AlphaCode artificial intelligence (AI) technology is moving humans one step closer to that objective. The technology, developed by DeepMind, a division of Alphabet (Google's parent company), may someday help experienced programmers, but it can't likely take their job.

The performance they're able to get on some really difficult issues is "quite astounding," says Armando Solar-Lezama, director of the Massachusetts Institute of Technology's computer assisted programming group.

AlphaCode improves upon Codex, a method introduced in 2021 by nonprofit research center OpenAI, which had previously set the bar for authoring AI code. The lab has already created GPT-3, a "big language model" that has been trained on billions of words from digital books, Wikipedia articles, and other text webpages. GPT-3 is good at mimicking and reading human text. OpenAI developed Codex by fine-tuning GPT-3 using more than 100 terabytes of code from the Internet software repository Github. When given a commonplace description of what it must accomplish, such as counting the vowels in a string of text, the program may generate code. But when faced with challenging tasks, it performs poorly.

The developers of AlphaCode concentrated on resolving such challenging issues. They began by feeding a big language model several terabytes of code from GitHub, similar to the Codex researchers, only to get it acquainted with coding syntax and norms. Then, using tens of thousands of issues gathered from programming contests, they taught it to convert problem descriptions into code. A problem may, for instance, ask the software to count the number of binary strings (sequences of ones and zeros) of length n that don't include any consecutive zeros.

AlphaCode produces potential code solutions (in Python or C++) in response to a brand-new challenge and eliminates the subpar ones. DeepMind utilized AlphaCode to create up to more than 1 million candidates, whereas academics have previously used models like Codex to only generate tens or hundreds of candidates.

AlphaCode first saves just the 1% of programs that successfully complete test cases that go along with problems. It groups the keepers according to how closely their outputs resemble fabricated inputs in order to further reduce the field. Then, starting with the largest cluster, it uploads programs from each cluster one at a time until it decides on a successful one or reaches ten submissions (about the maximum that humans submit in the competitions). It may evaluate a variety of programming strategies because submissions come from various clusters. According to Kevin Ellis, a computer scientist at Cornell University who specializes in AI coding, that is the stage in AlphaCode's method that is the most innovative.

According to DeepMind's paper published in Science, AlphaCode completed 34% of the tasks given to it after training. On comparable benchmarks, Codex recorded a single-digit success rate.

DeepMind engaged AlphaCode in online coding contests to better evaluate its abilities. The system excelled in competitions with at least 5000 participants, outperforming 45.7% of programmers. The researchers observed no significant code or logic duplication when they compared the programs to those in the training database. Ellis was surprised by the inventiveness it generated.

He claims that the performance of machine learning techniques when scaled up "continues to be outstanding." Wojciech Zaremba, a co-founder of OpenAI and co-author of their Codex article, agrees that the results are striking.

According to Yujia Li, a computer scientist at DeepMind and co-author of the article, AI coding may have uses beyond winning tournaments. It could do routine software tasks, freeing developers to work at a higher or more abstract level, or it might assist non-programmers in developing straightforward applications.

David Choi, a co-author of the paper from DeepMind, envisions using the model to translate code into descriptions of what it is doing. This might be useful for programmers who are attempting to interpret the code of others. Models that comprehend code in general might be used for a lot more things, he claims.

DeepMind's current goal is to lower the system's mistakes. Li claims that even while AlphaCode creates functioning programs, it occasionally commits errors like establishing a variable but not utilizing it.

There are further issues. Tens of billions of operations are needed for each problem in AlphaCode, which is computational capacity that only the top technology corporations possess. Additionally, the issues from the online programming contests it resolved were specific and contained. However, handling huge code packages across several locations is a common need of real-world programming, according to Solar-Lezama, which necessitates a more comprehensive grasp of the software.

The study also highlights the potential danger of software that iteratively improves itself over time. Such self-improvement, according to some researchers, might result in a superintelligent AI that dominates the world. Even though it may seem unlikely, academics still want guardrails and built-in checks and balances to be implemented in the field of AI code.

Even if this type of technology is extremely effective, Solar-Lezama argues that it should be handled similarly to a programmer within a company. You should never work for a company where one programmer may bring the entire company to its knees.

meticket
Tickets for All Events in One Place
Platform for buying and selling tickets for events
me-ticket-img
me-ticket-img
logo

A lot of useful info about QR and IT

Subscribe to our social networks

girl