Live data from Hacker News

AI learns to write its own code by stealing from other programs

newscientist.com

141–150 of 160 posts

Re: AI learns to write its own code by stealing from other programs

#141

Earlier quoted context omitted.

There is zero reason to believe it will not. look i too can make baseless assertions.

I don't need to prove a negative. It seems inevitable that on some time scale AGI will be achieved if we don't commit species suicide or bomb ourselves back to the stone age. It doesn't follow that AI less capable than AGI can produce non trivial software guided by non programmers. This requires proof because it has never been done in human history and thus without any examples it requires if not proof a coherent arg…

can you quote me saying non-programmers would be making software?

have you read my comments here?

Im talking about tools that enable a single developer to do the work of a great many developers, thus lowering the demand for developers in the marketplace over time.

you are talking about non programmers writing software(no clue where you got that from at all?) and you even admit that this looks like a great tool to enable developers to get more work done?

Go back and read my comments before you respond please, otherwise im not interesting in having a discussion with someone who isnt even reading my responses.

Re: AI learns to write its own code by stealing from other programs

#142

Earlier quoted context omitted.

I don't need to prove a negative. It seems inevitable that on some time scale AGI will be achieved if we don't commit species suicide or bomb ourselves back to the stone age. It doesn't follow that AI less capable than AGI can produce non trivial software guided by non programmers. This requires proof because it has never been done in human history and thus without any examples it requires if not proof a coherent arg…

can you quote me saying non-programmers would be making software? have you read my comments here? Im talking about tools that enable a single developer to do the work of a great many developers, thus lowering the demand for developers in the marketplace over time. you are talking about non programmers writing software(no clue where you got that from at all?) and you even admit that this looks like a great tool to ena…

Sorry I conflated 2 related but distinct discussions. On your front I disagree that programmer productivity will have a substantial negative impact on employment for the earlier stated reasons.

Demand for software will continue to increase quickly as the rest of the planet catches up to the developed world and increased productivity just increases demand.

I also disagree with the notion that this will substantially increase productivity in and of itself.

Re: AI learns to write its own code by stealing from other programs

#143

Earlier quoted context omitted.

I don't need to prove a negative. It seems inevitable that on some time scale AGI will be achieved if we don't commit species suicide or bomb ourselves back to the stone age. It doesn't follow that AI less capable than AGI can produce non trivial software guided by non programmers. This requires proof because it has never been done in human history and thus without any examples it requires if not proof a coherent arg…

can you quote me saying non-programmers would be making software? have you read my comments here? Im talking about tools that enable a single developer to do the work of a great many developers, thus lowering the demand for developers in the marketplace over time. you are talking about non programmers writing software(no clue where you got that from at all?) and you even admit that this looks like a great tool to ena…

Basically this seems like it could help you find similar example code on github or in your company's codebase I'm dubious about it being used to generate nontrivial code of any variety.

Re: AI learns to write its own code by stealing from other programs

#144
Original paper here: https://openreview.net/pdf?id=ByldLrqlx

This is more likely to vanish in the flood of AI-based applications, before reappearing as a tool for coders akin to code snippets plus, or boilerplate generation 2.0.

> and third, the neural network’s predictions are used to guide existing program synthesis systems.

Re: AI learns to write its own code by stealing from other programs

#145
post #33

A nuance that is underappreciated by a lot of people / the media is the degree to which any of the AI generates X models (faces, drawings, fills in photos, increases sharpness, etc.) simply copy and paste and interpolate from the training set. Unlike general supervised learning problems, for many of the deep learning "generative" models that get posted to HN regularly, there is no objective "test set" to measure gene…

Actually, there is a formal method to evaluate generative models. All you need is a validation set. Then you need to find what the odds are that the model would have generated your validation set. That probability is the one you want to maximize [0]. In order to be able to calculate or estimate this probability, you need to make some amendments to your model architecture. But for instance PixelCNN's know the probabil…

Yes, I'm mainly talking about generative adversarial models, which have proliferated greatly.

Re: AI learns to write its own code by stealing from other programs

#146

Earlier quoted context omitted.

> It is like vacation, forever. I guess that's one way to look at death from malnutrition, exposure or untreated illness. We can wax optimistic about what post-automation life could be like, but let's be honest: right now, unless you are an investor in companies that have automated or provide automation solutions, you are in absolutely no position to see 'vacation, forever' on the horizon for yourself or your childre…

If society can change from taxes on tea being too high, it can change when unemployment is 91%.

The revolution started from tea taxes being too high also had the backing of the richest people at the time in what would become the US.

The automation revolution also has the backing of the richest people in the world.

I don't think a populist movement was behind the revolution nor here.

Re: AI learns to write its own code by stealing from other programs

#147
post #45

“It could allow non-coders to simply describe an idea for a program and let the system build it” This is not a new thought. The problem with it, however, is that such a description would have to be very precise or else leave room for different interpretations which in turn could lead to very different programs being generated. In particular, as programmers know, it's often the edge cases that pose the main difficulty…

Something from a non-coder's perspective:

If I can create using English, there is a lot of possibilities for me. I can work on expanding language and build on skills I already have. I figure something like this will spill over into other areas. For example, I could theoretically make animation by describing the scene with words. Detail varies depending on how detailed I get.

It would still be a vast amount of work, but suddenly it is doable just by honing skills I already have. This is where the hope lies with folks like me.

Re: AI learns to write its own code by stealing from other programs

#148
post #45

“It could allow non-coders to simply describe an idea for a program and let the system build it” This is not a new thought. The problem with it, however, is that such a description would have to be very precise or else leave room for different interpretations which in turn could lead to very different programs being generated. In particular, as programmers know, it's often the edge cases that pose the main difficulty…

If you can describe something then you can just code it. I can see AI being used in an advanced IDE as an assistant. Just write your specs and let the AI build the app.

This has been tried before with outsourced developers which are much more intelligent than the best AI will come close to.

The end result is still that it takes more time to fix the errors than it would have to write it in the first place.

Re: AI learns to write its own code by stealing from other programs

#149
post #19

I thought this would take longer. "Developer" will stick around as a job for people who need new and unique things, or for apps that need speed, but if your job is making forms to take in data, putting it in a database, performing some sort of analysis on it, and then printing a report to the screen then you should really starting learning something else, because those jobs will not exist in 10 years.

Remember when cobol was going to make us obsolete because managers can just write their own reports?

The absolute worse case is that we'll be employed to goad the AI.

Re: AI learns to write its own code by stealing from other programs

#150
This just goes to show that nobody's job is safe. The crux is that AI won't get tired and won't balk at changing requirements. Many people will think it's still very far, until it suddenly arrives. The horse buggy drivers never saw the automobiles coming.

On the other hand, until that day arrives, we could take the technology into a direction that actually helps users/customers and software engineers communicate better. The software engineer could have the user feed requirements to a bot, and systematically identify and explain issues in the requirements, based on the bot's output.

Post reply on HN