Abstract We present the first machine learning approach to termination analysis of probabilistic programs. Ranking supermartingales (RSMs) prove that programs halt, in expectation, within a finite number steps. While previously RSMs were directly synthesised from source code, our method learns them sampled execution traces. introduce neural ranking supermartingale : we let network fit an RSM ov...