paper-with-me

Papers

Global Relational Models of Source Code

2020-05-01 · ICLR 2020 1 · Vincent J. Hellendoorn, Charles Sutton, Rishabh Singh, Petros Maniatis, David Bieber

Models of code can learn distributed representations of a program's syntax and semantics to predict many non-trivial properties of a program. Recent state-of-the-art models leverage highly structured representations of programs, such as trees, graphs and paths therein (e.g. data-flow relations), which are precise and abundantly available for code. This provides a strong inductive bias towards semantically meaningful relations, yielding more generalizable representations than classical sequence-based models. Unfortunately, these models primarily rely on graph-based message passing to represent relations in code, which makes them de facto local due to the high cost of message-passing steps, quite in contrast to modern, global sequence-based models, such as the Transformer. In this work, we bridge this divide between global and structured models by introducing two new hybrid model families that are both global and incorporate structural bias: Graph Sandwiches, which wrap traditional (gated) graph message-passing layers in sequential message-passing layers; and Graph Relational Embedding Attention Transformers (GREAT for short), which bias traditional Transformers with relational information from graph edge types. By studying a popular, non-trivial program repair task, variable-misuse identification, we explore the relative merits of traditional and hybrid model families for code representation. Starting with a graph-based model that already improves upon the prior state-of-the-art for this task by 20%, we show that our proposed hybrid models improve an additional 10-15%, while training both faster and using fewer parameters.

📄 PDF Abstract BibTeX

Code (1)

VHellendoorn/ICLR20-Great 공식 구현 tf

Tasks

Inductive BiasProgram RepairVariable misuse

Methods 이 논문이 사용한 방법론

Repair 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Absolute Position Encodings Absolute Position Encodings are a type of position embeddings for [Transformer-based models] where positional encodings are…
Position-Wise Feed-Forward Layer 설명 없음
Attention 설명 없음
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…
Label Smoothing Label Smoothing is a regularization technique that introduces noise for the labels. This accounts for the fact that datasets may have mistakes in them, so maximizing the…
Multi-Head Attention 설명 없음

Similar Papers 제목 키워드 기반

A Novel Global Feature-Oriented Relational Triple Extraction Model based on Table Filling

2021-09-14 · EMNLP 2021 11 · Feiliang Ren, Longhui Zhang, Shujuan Yin, Xiaofeng Zhao 외

Table filling based relational triple extraction methods are attracting growing research interests due to their promising performance and their abilities on extracting triples from complex sentences. However, this kind o…

Relation

LoginMEA: Local-to-Global Interaction Network for Multi-modal Entity Alignment

2024-07-29 · Taoyu Su, Xinghua Zhang, Jiawei Sheng, Zhenyu Zhang 외

Multi-modal entity alignment (MMEA) aims to identify equivalent entities between two multi-modal knowledge graphs (MMKGs), whose entities can be associated with relational triples and related images. Most previous studie…

Entity AlignmentGraph AttentionKnowledge GraphsMulti-modal Entity Alignment

The Representational Status of Deep Learning Models

2023-03-21 · Eamon Duede

This paper aims to clarify the representational status of Deep Learning Models (DLMs). While commonly referred to as 'representations', what this entails is ambiguous due to a conflation of functional and relational conc…

Deep LearningExplainable Artificial Intelligence (XAI)

Relational Self-Supervised Learning on Graphs

2022-08-21 · Namkyeong Lee, Dongmin Hyun, Junseok Lee, Chanyoung Park

Over the past few years, graph representation learning (GRL) has been a powerful strategy for analyzing graph-structured data. Recently, GRL methods have shown promising results by adopting self-supervised learning metho…

Graph Representation LearningRepresentation LearningSelf-Supervised Learning

Global Textual Relation Embedding for Relational Understanding

2019-06-03 · ACL 2019 7 · Zhiyu Chen, Hanwen Zha, Honglei Liu, Wenhu Chen 외

Pre-trained embeddings such as word embeddings and sentence embeddings are fundamental tools facilitating a wide range of downstream NLP tasks. In this work, we investigate how to learn a general-purpose embedding of tex…

Action ClassificationRelationSentenceSentence Embeddings+1