by YeGoblynQueenne · 3y ago · 0 comments
https://www.science.org/doi/10.1126/science.abq1158
For those wondering, yes, these are the same results reported in the February 2022 pre-print here:
https://arxiv.org/abs/2203.07814
As in the preprint the authors report their system's average ranking as top 54.3% in past competitions but the meat and potatoes of their results are in the reporting of test accuracy, which they don't advertise in the abstract- because it's not that good. From the body of the Nature article:
>> With up to 100,000 samples per problem (10@100K), the AlphaCode 41B model solved 29.6% of problems in the CodeContests test set.
So the best test set performance they got was 29.6% with the 10@100k metric. See also Figure 3 in the Nature paper (graphically presenting results listed in Appendix Table A2 in the preprint).
"10@100k" means that their LLM generated millions of programs for each exercise, of which 100,000 (100k) were selected by filtering and clustering and various other heuristics, and of those 100k, 10 were selected to submit as the system's solution.
So 10@100k means to take a few million guesses, then take another 100k guesses, and finally andother 10. And still only get it right 30% ish percent of the time.
This may be enough to rank in the 54% of CodeForces participants, for a system fine-tuned on CodeForces-like data (the CodeContests dataset developed by DeepMind specifically for this task). But it's not enough to claim that AlphaCode "conquers coding, performing as well as humans", per the title of TFA.
Coding contest problems may be a common hiring filter, but they are very much not representative of software development work (OTOH, AI coding assistance, which this, Copilot, ChatGPT, etc., illustrate) are going to render them less valid as hiring filters, both because they will make them harder to use as skill tests, and because they will further reduce the role of the micro-focus skills they center in real-world software development.
https://en.wikipedia.org/wiki/OODA_loop
The US Army calls it observe–orient–decide–act.
"The approach explains how agility can overcome raw power in dealing with human opponents. It is especially applicable to cyber security and cyberwarfare.
According to Boyd, decision-making occurs in a recurring cycle of observe–orient–decide–act. An entity (whether an individual or an organization) that can process this cycle quickly, observing and reacting to unfolding events more rapidly than an opponent, can thereby "get inside" the opponent's decision cycle and gain the advantage."
Humans using AI will be well "inside the loop" of non-AI humans.
I don't think AI alone will eliminate jobs, but jobs that use AI to get inside the loop of other companies will quickly eliminate the competition. Why would you pay and wait days when you can pay and wait minutes or hours for a quicker Ask-Show-Ask-Show loop that quickly narrows down on what the intent of your Ask was (even if Ask #1 was poorly thought out or worded)
That is to say, a perfectly accurate map would just be a replica of the the terrain it is mapping - anything less would technically be inaccurate. Only by leaving things out and "summarizing" an area does a map become a useful representation of the terrain.
Some problems have short, clear definitions yet remain challenging. An algorithm for solving them may have been discovered decades (or even centuries) ago. But trying to produce more efficient solutions can be a life's work and more. One of the most obvious examples is integer factorization, which had a basic algorithm published 800 years ago yet is still a research problem today:
https://en.wikipedia.org/wiki/Trial_division
https://en.wikipedia.org/wiki/Integer_factorization#Factorin...
Very often this means getting into long cycles of iteration. If time zones are distant, those cycles can be very long and painful.
Perhaps outsourcing to AI will work much better, as those iterative cycles can be done in near real-time. Maybe there needs to be many different models, each with some industry/domain specific training to increase the odds it’ll make the right guess when it needs to.
This is usually how we end up with weird situations like currency coded as text so it can't be sorted by amount by end user and so on.
I agree that specs make or break the project, but at what point is it ok to assume "x should do y".
This kind of code that I'd believe makes up 99% of all code out there that is worked on, is not available to the public for training. What to do about that? Rewrite all?
We used to code in ASM. Then we coded in high level languages. Soon we'll code by giving prompts to auto code generators.
Here's another article which imo is the best evaluation of the technology I've seen so far: https://news.ycombinator.com/item?id=33997603
Yet, it has virtually no upvotes and no discussion.
Well, evangelism sells better than criticism.
For example, debugging a subtle bug in a large codebase. Maybe one day AI can do that too, but that doesn't seem to be the focus here.
So I don't doubt that we'll see better performance on Codecontests/ Codeforces in the future, perhaps some time next year (just to leave some time after the Nature publication). But not anything of substance. Or they'll just come up with a new dataset that their system performs well on.
To be honest, I'm scandalised that such a poorly thought-out approach got a publication in Nature. If I had tried to publish something like that in my field ("we made a firehose that spams code willy-nilly and by heuristic this and that got it to hit the right target 30% of the time! And we beat some humans at it!") I would have been shot down in flames, probably also ruined my reputation for good. But, I guess, it's DeepMind publishing in Nature so it's effectively a racket. One just shrugs and moves on.