paper-with-me

Papers

PockEngine: Sparse and Efficient Fine-tuning in a Pocket

2023-10-26 · Ligeng Zhu, Lanxiang Hu, Ji Lin, Wei-Chen Wang, Wei-Ming Chen, Chuang Gan, Song Han

On-device learning and efficient fine-tuning enable continuous and privacy-preserving customization (e.g., locally fine-tuning large language models on personalized data). However, existing training frameworks are designed for cloud servers with powerful accelerators (e.g., GPUs, TPUs) and lack the optimizations for learning on the edge, which faces challenges of resource limitations and edge hardware diversity. We introduce PockEngine: a tiny, sparse and efficient engine to enable fine-tuning on various edge devices. PockEngine supports sparse backpropagation: it prunes the backward graph and sparsely updates the model with measured memory saving and latency reduction while maintaining the model quality. Secondly, PockEngine is compilation first: the entire training graph (including forward, backward and optimization steps) is derived at compile-time, which reduces the runtime overhead and brings opportunities for graph transformations. PockEngine also integrates a rich set of training graph optimizations, thus can further accelerate the training cost, including operator reordering and backend switching. PockEngine supports diverse applications, frontends and hardware backends: it flexibly compiles and tunes models defined in PyTorch/TensorFlow/Jax and deploys binaries to mobile CPU/GPU/DSPs. We evaluated PockEngine on both vision models and large language models. PockEngine achieves up to 15 $\times$ speedup over off-the-shelf TensorFlow (Raspberry Pi), 5.6 $\times$ memory saving back-propagation (Jetson AGX Orin). Remarkably, PockEngine enables fine-tuning LLaMav2-7B on NVIDIA Jetson AGX Orin at 550 tokens/s, 7.9$\times$ faster than the PyTorch.

📄 PDF Abstract BibTeX arXiv:2310.17752

Code (0)

등록된 구현이 없습니다.

Tasks

CPUGPUPrivacy Preserving

Methods 이 논문이 사용한 방법론

SET Dynamic Sparse Training method where weight mask is updated randomly periodically

Similar Papers 제목 키워드 기반

Fine-tuning Pocket-Aware Diffusion Models via Denoising Policy Optimization

2026-05-17 · Yuan Xue, Daniel Kudenko, Megha Khosla arxiv

Structure-based drug design has been accelerated by pocket-aware 3D generative models, yet most methods primarily fit the training distribution and may fall short of satisfying multiple properties required in real-world …

Reinforcement LearningDrug Discovery

TacoGFN: Target-conditioned GFlowNet for Structure-based Drug Design

2023-10-05 · Tony Shen, Seonghwan Seo, Grayson Lee, Mohit Pandey 외

Searching the vast chemical space for drug-like molecules that bind with a protein pocket is a challenging task in drug discovery. Recently, structure-based generative models have been introduced which promise to be more…

Active LearningDrug DesignDrug Discovery

3D Molecular Generation via Virtual Dynamics

2023-02-12 · Shuqi Lu, Lin Yao, Xi Chen, Hang Zheng 외

Structure-based drug design, i.e., finding molecules with high affinities to the target protein pocket, is one of the most critical tasks in drug discovery. Traditional solutions, like virtual screening, require exhausti…

Drug DesignDrug Discovery

Full-Atom Protein Pocket Design via Iterative Refinement

2023-10-04 · NeurIPS 2023 11 · Zaixi Zhang, Zepu Lu, Zhongkai Hao, Marinka Zitnik 외

The design of \emph{de novo} functional proteins that bind specific ligand molecules is paramount in therapeutics and bio-engineering. A critical yet formidable task in this endeavor is the design of the protein pocket, …

RoboPocket: Improve Robot Policies Instantly with Your Phone

2026-03-05 · Junjie Fang, Wendi Chen, Han Xue, Fangyuan Zhou 외 arxiv

Scaling imitation learning is fundamentally constrained by the efficiency of data collection. While handheld interfaces have emerged as a scalable solution for in-the-wild data acquisition, they predominantly operate in …