SPA: Towards A Computational Friendly Cloud-Base and On-Devices Collaboration Seq2seq Personalized Generation with Casual Inference

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Liu, Yanming, Peng, Xinyue, Sang, Ningjing, Yan, Yafeng, Ke, Xiaolan, Zheng, Zhiting, Liu, Shaobo, Deng, Songhang, Cao, Jiannan, Dai, Le, Liu, Xingzu, Nong, Ruilin, Liu, Weihao
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866916900320051200
author Liu, Yanming
Peng, Xinyue
Sang, Ningjing
Yan, Yafeng
Ke, Xiaolan
Zheng, Zhiting
Liu, Shaobo
Deng, Songhang
Cao, Jiannan
Dai, Le
Liu, Xingzu
Nong, Ruilin
Liu, Weihao
author_facet Liu, Yanming
Peng, Xinyue
Sang, Ningjing
Yan, Yafeng
Ke, Xiaolan
Zheng, Zhiting
Liu, Shaobo
Deng, Songhang
Cao, Jiannan
Dai, Le
Liu, Xingzu
Nong, Ruilin
Liu, Weihao
contents Large language models(LLMs) have shown its outperforming ability on various tasks and question answering. However, LLMs require substantial memory storage on low-resource devices. More critically, the computational speed on these devices is also severely limited. In this paper, we propose SPA(Side Plugin Adaption), a lightweight architecture for fast on-devices inference on the constraints of strict on-devices computation and memory constraints. Compared with other on-devices seq2seq generation, SPA could make a fast and stable inference on low-resource constraints, allowing it to obtain cost effiency. Our method establish an interaction between a pretrained LLMs on-cloud and additive parameters on-devices, which could provide the knowledge on both pretrained LLMs and featured personal feature. Further more, SPA provides a framework to keep feature-base parameters on low computational devices while leave the parameters containing general information on the high computational devices.
format Preprint
id arxiv_https___arxiv_org_abs_2403_07088
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle SPA: Towards A Computational Friendly Cloud-Base and On-Devices Collaboration Seq2seq Personalized Generation with Casual Inference
Liu, Yanming
Peng, Xinyue
Sang, Ningjing
Yan, Yafeng
Ke, Xiaolan
Zheng, Zhiting
Liu, Shaobo
Deng, Songhang
Cao, Jiannan
Dai, Le
Liu, Xingzu
Nong, Ruilin
Liu, Weihao
Computation and Language
Large language models(LLMs) have shown its outperforming ability on various tasks and question answering. However, LLMs require substantial memory storage on low-resource devices. More critically, the computational speed on these devices is also severely limited. In this paper, we propose SPA(Side Plugin Adaption), a lightweight architecture for fast on-devices inference on the constraints of strict on-devices computation and memory constraints. Compared with other on-devices seq2seq generation, SPA could make a fast and stable inference on low-resource constraints, allowing it to obtain cost effiency. Our method establish an interaction between a pretrained LLMs on-cloud and additive parameters on-devices, which could provide the knowledge on both pretrained LLMs and featured personal feature. Further more, SPA provides a framework to keep feature-base parameters on low computational devices while leave the parameters containing general information on the high computational devices.
title SPA: Towards A Computational Friendly Cloud-Base and On-Devices Collaboration Seq2seq Personalized Generation with Casual Inference
topic Computation and Language
url https://arxiv.org/abs/2403.07088