~/talk

Generation of Verified Assembly Code Using Dafny and Reinforcement Learning

Talkat Dafny 2024 · on Sunday, 2024-01-14· [machine-learning]
links:none on file
slides:none on file

Reinforcement learning generates assembly programs while a Dafny model of machine state automatically verifies input-output properties, turning testing into full proof. The pipeline maps a 32-instruction subset to read/write state transitions in Dafny, searches about 2 million programs for a 4-element reverse task, and finds a correct implementation after roughly 250k programs (~20 minutes) when verification is offloaded to the cloud. Combining fast unit tests with Dafny verification and cached counterexamples speeds learning and reduces proof overhead.

AI-written summary · about

  1. 0:00Verified assembly generation
  2. 1:26Reinforcement learning basics
  3. 3:54AlphaDev and its reinforcement learning approach
  4. 6:00Testing generated programs
  5. 7:05Dafny for verified code
  6. 10:37Problem and RL results
  7. 12:03Optimizing RL performance
  8. 13:45Testing and verification
  9. 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.