paper-with-me

홈 › Papers

Memory Planning for Deep Neural Networks

2022-02-23 · Maksim Levental

We study memory allocation patterns in DNNs during inference, in the context of large-scale systems. We observe that such memory allocation patterns, in the context of multi-threading, are subject to high latencies, due to \texttt{mutex} contention in the system memory allocator. Latencies incurred due to such \texttt{mutex} contention produce undesirable bottlenecks in user-facing services. Thus, we propose a "memorization" based technique, \texttt{MemoMalloc}, for optimizing overall latency, with only moderate increases in peak memory usage. Specifically, our technique consists of a runtime component, which captures all allocations and uniquely associates them with their high-level source operation, and a static analysis component, which constructs an efficient allocation "plan". We present an implementation of \texttt{MemoMalloc} in the PyTorch deep learning framework and evaluate memory consumption and execution performance on a wide range of DNN architectures. We find that \texttt{MemoMalloc} outperforms state-of-the-art general purpose memory allocators, with respect to DNN inference latency, by as much as 40\%.

📄 PDF Abstract BibTeX arXiv:2203.00448

Code (0)

등록된 구현이 없습니다.

Tasks

Memorization

Similar Papers 제목 키워드 기반

MomADv2: Reliable Temporal Memory for End-to-End Autonomous Driving

2026-08-24 · Ziying Song, Shengkai Zhang, Lin Liu, Peiliang Wu 외 arxiv

Long-horizon planning is critical for safe autonomous driving in complex scenarios. Existing methods improve planning continuity with temporal memory, but such memory may become invalid and mislead decisions when the dri…

Autonomous Driving

EvoMem: Improving Multi-Agent Planning with Dual-Evolving Memory

2025-11-01 · Wenzhe Fan, Ning Yan, Masood Mortazavi arxiv

Planning has been a cornerstone of artificial intelligence for solving complex problems, and recent progress in LLM-based multi-agent frameworks have begun to extend this capability. However, the role of human-like memor…

EPD: Long-term Memory Extraction, Context-awared Planning and Multi-iteration Decision @ EgoPlan Challenge ICML 2024

2024-07-28 · Letian Shi, Qi Lv, Xiang Deng, Liqiang Nie

In this technical report, we present our solution for the EgoPlan Challenge in ICML 2024. To address the real-world egocentric task planning problem, we introduce a novel planning framework which comprises three stages: …

Decision MakingTask Planning

Adaptive Thompson Sampling Stacks for Memory Bounded Open-Loop Planning

2019-07-11 · Thomy Phan, Thomas Gabor, Robert Müller, Christoph Roch 외

We propose Stable Yet Memory Bounded Open-Loop (SYMBOL) planning, a general memory bounded approach to partially observable open-loop planning. SYMBOL maintains an adaptive stack of Thompson Sampling bandits, whose size …

Thompson Sampling

Memory Bounded Open-Loop Planning in Large POMDPs using Thompson Sampling

2019-05-10 · Thomy Phan, Lenz Belzner, Marie Kiermeier, Markus Friedrich 외

State-of-the-art approaches to partially observable planning like POMCP are based on stochastic tree search. While these approaches are computationally efficient, they may still construct search trees of considerable siz…

Thompson Sampling