4 ms·
Are there any efforts to feed an AST into a neural net and see what comes out of it? Like a coding assistant that "understands" what your code does or something
by safek 9y ago
Are there any efforts to feed an AST into a neural net and see what comes out of it? Like a coding assistant that "understands" what your code does or something?
- addcn 9y agoI work in this space. We have some pretty sophisticated pilots in process right now for such an assistant. We can talk privately if you want to learn more. Expect to see a lot of this coming out over the next few years.
- safek 9y agoThat's super interesting, would you mind emailing me at [redacted]?
- addcn 9y agoEmailed! Thanks
- nicklovescode 9y agoused to work in related area, would love to talk: cammarata.nick@gmail.com
- addcn 9y agoReached out. Thanks for your interest
- JD557 9y agoCan you talk a bit on how you convert the AST to your NN input? Do you traverse the AST and send it to a recurrent net? Do you compress the AST into a different representation first?
- addcn 9y agoWell there are always trade offs. NNs aren't very good with trees, too symbolic so usually compressing it into a different format is better. We have a few we use depending on the goal, but always looking for trying new ones since this really is the crux of the problem.
- jonsharratt 9y agoThat would be superb to try, for now I can't wait for demos of what is possible with neural but it is way out of my depth. @addcn sounds mega interesting what you are up to :D
- addcn 9y agoWell I hope it can be made easier to digest. We've all but confirmed at this point that the knowledge needed to build an effective programming AI is not available in any corpus of source code. There's a lot of information brought out in runtime and understood by humans that's critical to the learning. Without strong collaboration between both humans and bots nothing practical will come of any of these efforts.