paper-with-me

Papers

Context-Aware Parse Trees

2020-03-24 · Fangke Ye, Shengtian Zhou, Anand Venkat, Ryan Marcus, Paul Petersen, Jesmin Jahan Tithi, Tim Mattson, Tim Kraska, Pradeep Dubey, Vivek Sarkar, Justin Gottschlich

The simplified parse tree (SPT) presented in Aroma, a state-of-the-art code recommendation system, is a tree-structured representation used to infer code semantics by capturing program \emph{structure} rather than program \emph{syntax}. This is a departure from the classical abstract syntax tree, which is principally driven by programming language syntax. While we believe a semantics-driven representation is desirable, the specifics of an SPT's construction can impact its performance. We analyze these nuances and present a new tree structure, heavily influenced by Aroma's SPT, called a \emph{context-aware parse tree} (CAPT). CAPT enhances SPT by providing a richer level of semantic representation. Specifically, CAPT provides additional binding support for language-specific techniques for adding semantically-salient features, and language-agnostic techniques for removing syntactically-present but semantically-irrelevant features. Our research quantitatively demonstrates the value of our proposed semantically-salient features, enabling a specific CAPT configuration to be 39\% more accurate than SPT across the 48,610 programs we analyzed.

📄 PDF Abstract BibTeX arXiv:2003.11118

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

TabNSA: Native Sparse Attention for Efficient Tabular Data Learning

2025-03-12 · Ali Eslamian, Qiang Cheng

Tabular data poses unique challenges for deep learning due to its heterogeneous features and lack of inherent spatial structure. This paper introduces TabNSA, a novel deep learning architecture leveraging Native Sparse A…

Deep Learningfeature selectiontabular-classification

Do latent tree learning models identify meaningful structure in sentences?

2017-09-04 · TACL 2018 1 · Adina Williams, Andrew Drozdov, Samuel R. Bowman

Recent work on the problem of latent tree learning has made it possible to train neural networks that learn to both parse a sentence and use the resulting parse to interpret the sentence, all without exposure to ground-t…

SentenceSentence Classification

Learning Context-Aware Representations of Subtrees

2021-11-08 · Cedric Cook

This thesis tackles the problem of learning efficient representations of complex, structured data with a natural application to web page and element classification. We hypothesise that the context around the element insi…

Classification

Enhancing Structure-aware Encoder with Extremely Limited Data for Graph-based Dependency Parsing

2022-10-01 · COLING 2022 10 · Yuanhe Tian, Yan Song, Fei Xia

Dependency parsing is an important fundamental natural language processing task which analyzes the syntactic structure of an input sentence by illustrating the syntactic relations between words. To improve dependency par…

2kDependency ParsingSentence

Probing for Labeled Dependency Trees

2022-03-24 · ACL 2022 5 · Max Müller-Eberstein, Rob van der Goot, Barbara Plank

Probing has become an important tool for analyzing representations in Natural Language Processing (NLP). For graphical NLP tasks such as dependency parsing, linear probes are currently limited to extracting undirected or…

Dependency ParsingInformativeness