ProgSG: Cross-Modality Representation Learning for Programs in Electronic Design Automation
Not on the map. Why?
Abstract (arXiv)
Recent years have witnessed the growing popularity of domain-specific accelerators (DSAs), such as Google's TPUs, for accelerating various applications such as deep learning, search, autonomous driving, etc. To facilitate DSA designs, high-level synthesis (HLS) is used, which allows a developer to compile a high-level description in the form of software code in C and C++ into a design in low-level hardware description languages (such as VHDL or Verilog) and eventually synthesized into a DSA on an ASIC (application-specific integrated circuit) or FPGA (field-programmable gate arrays). However, existing HLS tools still require microarchitecture decisions, expressed in terms of pragmas (such as directives for parallelization and pipelining). To enable more people to design DSAs, it is desirable to automate such decisions with the help of deep learning for predicting the quality of HLS designs. This requires us a deeper understanding of the program, which is a combination of original code and pragmas. Naturally, these programs can be considered as sequence data, for which large language models (LLM) can help. In addition, these programs can be compiled and converted into a control data flow graph (CDFG), and the compiler also provides fine-grained alignment between the code tokens and the CDFG nodes. However, existing works either fail to leverage both modalities or combine the two in shallow or coarse ways. We propose ProgSG allowing the source code sequence modality and the graph modalities to interact with each other in a deep and fine-grained way. To alleviate the scarcity of labeled designs, a pre-training method is proposed based on a suite of compiler's data flow analysis tasks. Experimental results on two benchmark datasets show the superiority of ProgSG over baseline methods that either only consider one modality or combine the two without utilizing the alignment information.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 43 of its 67 references that are in the map. First posted on arXiv 18 May 2023.
Builds on
43 of 67 references.
References · 43
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,361
- 2017Graph Attention Networkscited by 8,923
- 2017Inductive Representation Learning on Large Graphscited by 6,320
- 2021Align before Fuse: Vision and Language Representation Learning with Momentum Distillationcited by 1,619
- 2016Variational Graph Auto-Encoderscited by 1,382
- 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,310
- 2021ViLT: Vision-and-Language Transformer Without Convolution or Region Supervisioncited by 1,230
- 2020Graph Contrastive Learning with Augmentationscited by 1,208
- 2018Deep Graph Infomaxcited by 1,106
31 more
- 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 906
- 2018Representation Learning on Graphs with Jumping Knowledge Networkscited by 877
- 2021FLAVA: A Foundational Language And Vision Alignment Modelcited by 649
- 2017In-Datacenter Performance Analysis of a Tensor Processing Unitcited by 618
- 2020GraphCodeBERT: Pre-training Code Representations with Data Flowcited by 609
- 2019ERNIE: Enhanced Language Representation with Informative Entitiescited by 528
- 2020Masked Label Prediction: Unified Message Passing Model for Semi-Supervised Classificationcited by 506
- 2020GCC: Graph Contrastive Coding for Graph Neural Network Pre-Trainingcited by 463
- 2017Look, Listen and Learncited by 458
- 2019InfoGraph: Unsupervised and Semi-supervised Graph-Level Representation Learning via Mutual Information Maximizationcited by 441
- 2022Pix2Struct: Screenshot Parsing as Pretraining for Visual Language Understandingcited by 366
- 2020GPT-GNN: Generative Pre-Training of Graph Neural Networkscited by 303
- 2018code2vec: Learning Distributed Representations of Codecited by 250
- 2020IntelliCode Compose: Code Generation Using Transformercited by 227
- 2022CrossPoint: Self-Supervised Cross-Modal Contrastive Learning for 3D Point Cloud Understandingcited by 198
- 2021Self-Supervised Learning of Graph Neural Networks: A Unified Reviewcited by 184
- 2022GreaseLM: Graph REASoning Enhanced Language Models for Question Answeringcited by 171
- 2022Deep Bidirectional Language-Knowledge Graph Pretrainingcited by 156
- 2020Music Gesture for Visual Sound Separationcited by 112
- 2019Multi-Stage Self-Supervised Learning for Graph Convolutional Networks on Graphs with Few Labelscited by 111
- 2020GCN-RL Circuit Designer: Transferable Transistor Sizing with Graph Neural Networks and Reinforcement Learningcited by 89
- 2023On the Opportunities and Challenges of Foundation Models for Geospatial Artificial Intelligencecited by 88
- 2021Machine Learning for Electronic Design Automation: A Surveycited by 72
- 2022Vision-and-Language Pretrained Models: A Surveycited by 50
- 2020Self-Supervised Graph Representation Learning via Global Context Predictioncited by 38
- 2022Unsupervised Learning for Combinatorial Optimization with Principled Objective Relaxationcited by 32
- 2021HANet: Hierarchical Alignment Networks for Video-Text Retrievalcited by 31
- 2022One Model, Multiple Modalities: A Sparsely Activated Approach for Text, Sound, Image, Video and Codecited by 26
- 2020AutoDSE: Enabling Software Programmers to Design Efficient FPGA Acceleratorscited by 25
- 2023Retrieval-based Knowledge Augmented Vision Language Pre-trainingcited by 17
- 2022Democratizing Domain-Specific Computingcited by 6
Built on by
Not cited yet.