Cavs: A Vertex-centric Programming Interface for Dynamic Neural Networks
Hao Zhang, Shizhen Xu, Graham Neubig, Wei Dai, Qirong Ho, Guangwen, Yang, Eric P. Xing

TL;DR
Cavs introduces a vertex-centric programming interface for dynamic neural networks, enabling efficient execution by avoiding repeated graph construction and leveraging static optimizations, resulting in significant speedups over existing frameworks.
Contribution
The paper presents Cavs, a novel system that efficiently supports dynamic neural network models through a vertex-centric interface and optimized execution strategies.
Findings
Cavs achieves nearly ten times faster training speeds than TensorFlow Fold and DyNet.
The system effectively handles dynamic network structures like sequences, trees, and graphs.
Batching and memory management strategies significantly improve performance.
Abstract
Recent deep learning (DL) models have moved beyond static network architectures to dynamic ones, handling data where the network structure changes every example, such as sequences of variable lengths, trees, and graphs. Existing dataflow-based programming models for DL---both static and dynamic declaration---either cannot readily express these dynamic models, or are inefficient due to repeated dataflow graph construction and processing, and difficulties in batched execution. We present Cavs, a vertex-centric programming interface and optimized system implementation for dynamic DL models. Cavs represents dynamic network structure as a static vertex function and a dynamic instance-specific graph , and performs backpropagation by scheduling the execution of following the dependencies in . Cavs bypasses expensive graph construction and…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsReinforcement Learning in Robotics · Neural Networks and Applications · Machine Learning and Algorithms
