paper-with-me

Papers

TimeRL: Efficient Deep Reinforcement Learning with Polyhedral Dependence Graphs

2025-01-09 · Pedro F. Silvestre, Peter Pietzuch

Modern deep learning (DL) workloads increasingly use complex deep reinforcement learning (DRL) algorithms that generate training data within the learning loop. This results in programs with several nested loops and dynamic data dependencies between tensors. While DL systems with eager execution support such dynamism, they lack the optimizations and smart scheduling of graph-based execution. Graph-based execution, however, cannot express dynamic tensor shapes, instead requiring the use of multiple static subgraphs. Either execution model for DRL thus leads to redundant computation, reduced parallelism, and less efficient memory management. We describe TimeRL, a system for executing dynamic DRL programs that combines the dynamism of eager execution with the whole-program optimizations and scheduling of graph-based execution. TimeRL achieves this by introducing the declarative programming model of recurrent tensors, which allows users to define dynamic dependencies as intuitive recurrence equations. TimeRL translates recurrent tensors into a polyhedral dependence graph (PDG) with dynamic dependencies as symbolic expressions. Through simple PDG transformations, TimeRL applies whole-program optimizations, such as automatic vectorization, incrementalization, and operator fusion. The PDG also allows for the computation of an efficient program-wide execution schedule, which decides on buffer deallocations, buffer donations, and GPU/CPU memory swapping. We show that TimeRL executes current DRL algorithms up to 47$\times$ faster than existing DRL systems, while using 16$\times$ less GPU peak memory.

📄 PDF Abstract BibTeX arXiv:2501.05408

Code (0)

등록된 구현이 없습니다.

Tasks

CPUDeep Reinforcement LearningGPUreinforcement-learningReinforcement LearningScheduling

Similar Papers 제목 키워드 기반

TimeRLM: Recursive Language Models Enable Precise Anomaly Localization in Long-Context Time-Series

2026-08-04 · Nicolas Zumarraga, Lorenzo Steno, Ning Wang, Max Rosenblattl 외 arxiv

Precise anomaly localization over long-context time series is a crucial task in monitoring applications across clinical care, industrial operations, financial services, and logistics, where brief evidence may hide inside…

Reinforcement Learning

Polyhedral Object Recognition by Indexing

2023-11-21 · Radu Horaud, Humberto Sossa

In computer vision, the indexing problem is the problem of recognizing a few objects in a large database of objects while avoiding the help of the classical image-feature-to-object-feature matching paradigm. In this pape…

ObjectObject Recognition

A Reinforcement Learning Environment for Polyhedral Optimizations

2021-04-28 · Alexander Brauckmann, Andrés Goens, Jeronimo Castrillon

The polyhedral model allows a structured way of defining semantics-preserving transformations to improve the performance of a large class of loops. Finding profitable points in this space is a hard problem which is usual…

BIG-bench Machine Learningreinforcement-learningReinforcement LearningReinforcement Learning (RL)

Resilient Constrained Consensus over Complete Graphs via Feasibility Redundancy

2022-03-26 · Jingxuan Zhu, Yixuan Lin, Alvaro Velasquez, Ji Liu

This paper considers a resilient high-dimensional constrained consensus problem and studies a resilient distributed algorithm for complete graphs. For convex constrained sets with a singleton intersection, a sufficient c…

LOOPer: A Learned Automatic Code Optimizer For Polyhedral Compilers

2024-03-18 · Massinissa Merouani, Khaled Afif Boudaoud, Iheb Nassim Aouadj, Nassim Tchoulak 외

While polyhedral compilers have shown success in implementing advanced code transformations, they still face challenges in selecting the ones that lead to the most profitable speedups. This has motivated the use of machi…