~/talk

A Learning Story: Love, Scala & Artificial Intelligence

Talkat Scala World 2019 · 2019-09-11..09-13· [machine-learning, career-development]
name:Zoë Weil
links:none on file
slides:none on file

Implements a denoising autoencoder that encodes Scala Meta ASTs into a latent vector using Tree LSTMs and decodes with stacked LSTMs, trained in a PyTorch pipeline. Pipeline: Scala source → Scala Meta AST → JSON token lists → token embeddings → tree-to-vector encoding → sequence decoding; data is sharded into many JSON files for scale. Test-case reconstructions show low cross-entropy loss and some generated code compiles; production-scale training and Scala-native bindings remain future work.

AI-written summary · about

  1. 0:00Learning journey intro
  2. 1:17Disclaimers & context
  3. 2:21Legacy code struggles
  4. 4:40Scala macros & contribution
  5. 5:49Neural networks understand code
  6. 7:35Autoencoders for code
  7. 13:03Scala source code analysis
  8. 15:58Vanilla RNNs limitations
  9. 18:13LSTMs solve vanishing gradients
  10. 22:13Tree LSTMs for code
  11. 24:47Data prep for neural nets
  12. 29:23Encoding source code
  13. 32:40Decoding sparse code
  14. 33:23Autoencoder architecture
  15. 34:54Results & future work
  16. 36:41Acknowledgments
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.