Integrating Tree Path in Transformer for Code Representation

Neural Information Processing Systems 

Learning distributed representation of source code requires modelling its syntax and semantics. Recent state-of-the-art models leverage highly structured source code representations, such as the syntax trees and paths therein. In this paper, we investigate two representative path encoding methods shown in previous research work and integrate them into the attention module of Transformer. We draw inspiration from the ideas of positional encoding and modify them to incorporate these path encoding.

Similar Docs  Excel Report  more

TitleSimilaritySource
None found