mlsanityData to 13 Oct 2026

Logical Segmentation of Source Code

arXiv 1907.08615 ↗First posted 18 Jul 2019cs.SE cs.LG stat.MLcited by 1

Not on the map. Why?

Abstract (arXiv)

Many software analysis methods have come to rely on machine learning approaches. Code segmentation - the process of decomposing source code into meaningful blocks - can augment these methods by featurizing code, reducing noise, and limiting the problem space. Traditionally, code segmentation has been done using syntactic cues; current approaches do not intentionally capture logical content. We develop a novel deep learning approach to generate logical code segments regardless of the language or syntactic correctness of the code. Due to the lack of logically segmented source code, we introduce a unique data set construction technique to approximate ground truth for logically segmented code. Logical code segmentation can improve tasks such as automatically commenting code, detecting software vulnerabilities, repairing bugs, labeling code functionality, and synthesizing new code.

Key facts. Cited by 1 paper in the map (data through 13 Oct 2026). First posted on arXiv 18 Jul 2019.

Builds on

No reference list yet.

Built on by

Cited by year

Citing papers per year: 2025: 1.

1 paper.