~/talk

Flow2Vec: Value-Flow-Based Precise Code Embedding

Talkat OOPSLA 2020 · 2020-11-15..11-20· [machine-learning]
name:Yulei Sui
links:none on file
links:none on file
links:none on file
links:none on file
slides:none on file

Builds an interprocedural value-flow graph from LLVM IR (IVFG) and uses CFL-reachability to filter only realizable call/return paths, formulates reachability with matrix powers and Katz Index to get a high-order proximity matrix, then factorizes into K-dimensional embeddings with separate source/target vectors to preserve asymmetric transitivity and context sensitivity. Evaluated on 32 open-source projects with ~17,000 methods (80/20 split), it improves method-name and summarization F1 by ~16–20% over code2seq/code2vec and ablations show each property adds 3.7–7.8% F1.

AI-written summary · about

  1. 0:00Introduction
  2. 1:05Code embedding importance
  3. 3:19Limitations of structured embeddings
  4. 5:14Flow2Vec goal and workflow
  5. 6:21Flow2Vec phases example
  6. 9:26CFL-reachability and Katz Index
  7. 12:36Embedding vector construction
  8. 12:59Evaluation setup and datasets
  9. 13:20Performance vs code2vec and code2seq
  10. 14:06Ablation analysis contributions
  11. 14:52Q&A
~/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.