paper-with-me

홈 › Papers

AutoGraph: Imperative-style Coding with Graph-based Performance

2018-10-16 · Dan Moldovan, James M Decker, Fei Wang, Andrew A Johnson, Brian K. Lee, Zachary Nado, D. Sculley, Tiark Rompf, Alexander B. Wiltschko

There is a perceived trade-off between machine learning code that is easy to write, and machine learning code that is scalable or fast to execute. In machine learning, imperative style libraries like Autograd and PyTorch are easy to write, but suffer from high interpretive overhead and are not easily deployable in production or mobile settings. Graph-based libraries like TensorFlow and Theano benefit from whole-program optimization and can be deployed broadly, but make expressing complex models more cumbersome. We describe how the use of staged programming in Python, via source code transformation, offers a midpoint between these two library design patterns, capturing the benefits of both. A key insight is to delay all type-dependent decisions until runtime, via dynamic dispatch. We instantiate these principles in AutoGraph, a software system that improves the programming experience of the TensorFlow library, and demonstrate usability improvements with no loss in performance compared to native TensorFlow graphs. We also show that our system is backend agnostic, and demonstrate targeting an alternate IR with characteristics not found in TensorFlow graphs.

📄 PDF Abstract BibTeX arXiv:1810.08061

Code (0)

등록된 구현이 없습니다.

Tasks

BIG-bench Machine Learning

Similar Papers 제목 키워드 기반

Terra: Imperative-Symbolic Co-Execution of Imperative Deep Learning Programs

2022-01-23 · NeurIPS 2021 12 · Taebum Kim, Eunji Jeong, Geon-Woo Kim, Yunmo Koo 외

Imperative programming allows users to implement their deep neural networks (DNNs) easily and has become an essential part of recent deep learning (DL) frameworks. Recently, several systems have been proposed to combine …

Deep Learning

AutoGraph-R1: End-to-End Reinforcement Learning for Knowledge Graph Construction

2025-10-17 · Hong Ting Tsang, Jiaxin Bai, Haoyu Huang, Qiao Xiao 외 arxiv

Building effective knowledge graphs (KGs) for Retrieval-Augmented Generation (RAG) is pivotal for advancing question answering (QA) systems. However, its effectiveness is hindered by a fundamental disconnect: the knowled…

Reinforcement LearningQuestion AnsweringGraph GenerationKnowledge Graphs

Flatten Graphs as Sequences: Transformers are Scalable Graph Generators

2025-02-04 · Dexiong Chen, Markus Krimmel, Karsten Borgwardt

We introduce AutoGraph, a novel autoregressive framework for generating large attributed graphs using decoder-only transformers. At the core of our approach is a reversible "flattening" process that transforms graphs int…

DecoderGraph GenerationLanguage ModelingLanguage Modelling+1

AutoGraphAD: Unsupervised network anomaly detection using Variational Graph Autoencoders

2025-11-21 · Georgios Anyfantis, Pere Barlet-Ros arxiv

Network Intrusion Detection Systems (NIDS) are essential tools for detecting network attacks and intrusions. While extensive research has explored the use of supervised Machine Learning for attack detection and character…

Unsupervised Anomaly DetectionNetwork Intrusion DetectionContrastive Learning

AutoGraph: Predicting Lane Graphs from Traffic Observations

2023-06-27 · Jannik Zürn, Ingmar Posner, Wolfram Burgard

Lane graph estimation is a long-standing problem in the context of autonomous driving. Previous works aimed at solving this problem by relying on large-scale, hand-annotated lane graphs, introducing a data bottleneck for…

Autonomous Driving