https://huggingface.co/NexaAIDev/Dolphin\n","updatedAt":"2024-08-29T01:56:10.976Z","author":{"_id":"60f1abe7544c2adfd699860c","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/1674929746905-60f1abe7544c2adfd699860c.jpeg","fullname":"AK","name":"akhaliq","type":"user","isPro":false,"isHf":true,"isHfAdmin":false,"isMod":false,"followerCount":8259}},"numEdits":0,"identifiedLanguage":{"language":"en","probability":0.3712664246559143},"editors":["akhaliq"],"editorAvatarUrls":["https://cdn-avatars.huggingface.co/v1/production/uploads/1674929746905-60f1abe7544c2adfd699860c.jpeg"],"reactions":[],"isReport":false}},{"id":"66d02b793c5faabc37bb6d7e","author":{"_id":"62d1ddfac58f969c1528f1b5","avatarUrl":"/avatars/75c372a831cde3c7c6dce3bc875488a7.svg","fullname":"Kalle Hilsenbek","name":"Bachstelze","type":"user","isPro":false,"isHf":false,"isHfAdmin":false,"isMod":false,"followerCount":8},"createdAt":"2024-08-29T08:04:09.000Z","type":"comment","data":{"edited":false,"hidden":false,"latest":{"raw":"What are the results of common benchmarks on the leaderboard?","html":"
What are the results of common benchmarks on the leaderboard?
\n","updatedAt":"2024-08-29T08:04:09.385Z","author":{"_id":"62d1ddfac58f969c1528f1b5","avatarUrl":"/avatars/75c372a831cde3c7c6dce3bc875488a7.svg","fullname":"Kalle Hilsenbek","name":"Bachstelze","type":"user","isPro":false,"isHf":false,"isHfAdmin":false,"isMod":false,"followerCount":8}},"numEdits":0,"identifiedLanguage":{"language":"en","probability":0.9582390785217285},"editors":["Bachstelze"],"editorAvatarUrls":["/avatars/75c372a831cde3c7c6dce3bc875488a7.svg"],"reactions":[{"reaction":"👀","users":["heliark"],"count":1}],"isReport":false}},{"id":"66d12184092cc13d0f379622","author":{"_id":"63d3e0e8ff1384ce6c5dd17d","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/1674830754237-63d3e0e8ff1384ce6c5dd17d.jpeg","fullname":"Librarian Bot (Bot)","name":"librarian-bot","type":"user","isPro":false,"isHf":false,"isHfAdmin":false,"isMod":false,"followerCount":264},"createdAt":"2024-08-30T01:33:56.000Z","type":"comment","data":{"edited":false,"hidden":false,"latest":{"raw":"This is an automated message from the [Librarian Bot](https://huggingface.co/librarian-bots). I found the following papers similar to this paper. \n\nThe following papers were recommended by the Semantic Scholar API \n\n* [MobileQuant: Mobile-friendly Quantization for On-device Language Models](https://huggingface.co/papers/2408.13933) (2024)\n* [Enhancing Model Performance: Another Approach to Vision-Language Instruction Tuning](https://huggingface.co/papers/2407.17813) (2024)\n* [FocusLLM: Scaling LLM's Context by Parallel Decoding](https://huggingface.co/papers/2408.11745) (2024)\n* [CROME: Cross-Modal Adapters for Efficient Multimodal LLM](https://huggingface.co/papers/2408.06610) (2024)\n* [LowCLIP: Adapting the CLIP Model Architecture for Low-Resource Languages in Multimodal Image Retrieval Task](https://huggingface.co/papers/2408.13909) (2024)\n\n\n Please give a thumbs up to this comment if you found it helpful!\n\n If you want recommendations for any Paper on Hugging Face checkout [this](https://huggingface.co/spaces/librarian-bots/recommend_similar_papers) Space\n\n You can directly ask Librarian Bot for paper recommendations by tagging it in a comment: `@librarian-bot recommend`","html":"
This is an automated message from the Librarian Bot. I found the following papers similar to this paper.
\n
The following papers were recommended by the Semantic Scholar API
Please give a thumbs up to this comment if you found it helpful!
\n
If you want recommendations for any Paper on Hugging Face checkout this Space
\n
You can directly ask Librarian Bot for paper recommendations by tagging it in a comment: \n\n@librarian-bot\n\t recommend
\n","updatedAt":"2024-08-30T01:33:56.603Z","author":{"_id":"63d3e0e8ff1384ce6c5dd17d","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/1674830754237-63d3e0e8ff1384ce6c5dd17d.jpeg","fullname":"Librarian Bot (Bot)","name":"librarian-bot","type":"user","isPro":false,"isHf":false,"isHfAdmin":false,"isMod":false,"followerCount":264}},"numEdits":0,"identifiedLanguage":{"language":"en","probability":0.74741131067276},"editors":["librarian-bot"],"editorAvatarUrls":["https://cdn-avatars.huggingface.co/v1/production/uploads/1674830754237-63d3e0e8ff1384ce6c5dd17d.jpeg"],"reactions":[],"isReport":false}},{"id":"66d1220dd3d012e6584fbe5b","author":{"_id":"644de55076c0ab1880b9cb4d","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/644de55076c0ab1880b9cb4d/zKm7baOIzt_a4py8mYkck.jpeg","fullname":"Zack Li","name":"zackli4ai","type":"user","isPro":true,"isHf":false,"isHfAdmin":false,"isMod":false,"followerCount":21},"createdAt":"2024-08-30T01:36:13.000Z","type":"comment","data":{"edited":false,"hidden":false,"latest":{"raw":"Please see our HF space at :\nhttps://huggingface.co/spaces/NexaAIDev/dolphin\n","html":"
\n","updatedAt":"2024-08-30T01:36:13.734Z","author":{"_id":"644de55076c0ab1880b9cb4d","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/644de55076c0ab1880b9cb4d/zKm7baOIzt_a4py8mYkck.jpeg","fullname":"Zack Li","name":"zackli4ai","type":"user","isPro":true,"isHf":false,"isHfAdmin":false,"isMod":false,"followerCount":21}},"numEdits":0,"identifiedLanguage":{"language":"en","probability":0.6856189370155334},"editors":["zackli4ai"],"editorAvatarUrls":["https://cdn-avatars.huggingface.co/v1/production/uploads/644de55076c0ab1880b9cb4d/zKm7baOIzt_a4py8mYkck.jpeg"],"reactions":[],"isReport":false}}],"primaryEmailConfirmed":false,"paper":{"id":"2408.15518","authors":[{"_id":"66cfc67e9e405f72dd76797f","user":{"_id":"65c082c626c639b0009a3c82","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/65c082c626c639b0009a3c82/w_Q_5iLOM-nh_drd9Tu4X.jpeg","isPro":true,"fullname":"Alex Chen","user":"alexchen4ai","type":"user"},"name":"Wei Chen","status":"claimed_verified","statusLastChangedAt":"2024-08-29T07:23:18.559Z","hidden":false},{"_id":"66cfc67e9e405f72dd767980","user":{"_id":"644de55076c0ab1880b9cb4d","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/644de55076c0ab1880b9cb4d/zKm7baOIzt_a4py8mYkck.jpeg","isPro":true,"fullname":"Zack Li","user":"zackli4ai","type":"user"},"name":"Zhiyuan Li","status":"claimed_verified","statusLastChangedAt":"2024-08-29T07:23:20.611Z","hidden":false},{"_id":"66cfc67e9e405f72dd767981","user":{"_id":"63fc3f240aa18292d5c830f3","avatarUrl":"/avatars/66a10e1a40448cf923df7434244144f8.svg","isPro":false,"fullname":"Shuo Xin","user":"xinshuo","type":"user"},"name":"Shuo Xin","status":"admin_assigned","statusLastChangedAt":"2024-08-29T07:33:25.418Z","hidden":false},{"_id":"66cfc67e9e405f72dd767982","user":{"_id":"63db7b7c9fb38bae84aa1706","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/63db7b7c9fb38bae84aa1706/PMuIT_EzPLbQIUCTkr2pd.png","isPro":false,"fullname":"Yihao Wang","user":"AgainstEntropy","type":"user"},"name":"Yihao Wang","status":"admin_assigned","statusLastChangedAt":"2024-08-29T07:33:15.390Z","hidden":false}],"publishedAt":"2024-08-28T04:06:14.000Z","submittedOnDailyAt":"2024-08-29T00:26:10.971Z","title":"Dolphin: Long Context as a New Modality for Energy-Efficient On-Device\n Language Models","submittedOnDailyBy":{"_id":"60f1abe7544c2adfd699860c","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/1674929746905-60f1abe7544c2adfd699860c.jpeg","isPro":false,"fullname":"AK","user":"akhaliq","type":"user"},"summary":"This paper presents Dolphin, a novel decoder-decoder architecture for\nenergy-efficient processing of long contexts in language models. Our approach\naddresses the significant energy consumption and latency challenges inherent in\non-device models. Dolphin employs a compact 0.5B parameter decoder to distill\nextensive contextual information into a memory embedding, substantially\nreducing the input length for the primary 7B parameter decoder model. Inspired\nby vision-language models, we repurpose the image embedding projector to encode\nlong textual contexts, effectively treating extended context as a distinct\nmodality. This innovative method enables processing of substantially longer\ncontexts without the typical computational overhead associated with extended\ninput sequences. Empirical evaluations demonstrate a 10-fold improvement in\nenergy efficiency and a 5-fold reduction in latency compared to conventional\nfull-length context processing methods without losing quality of the response.\nOur work contributes to the development of more sustainable and scalable\nlanguage models for on-device applications, addressing the critical need for\nenergy-efficient and responsive AI technologies in resource-constrained\nenvironments while maintaining the accuracy to understand long contexts. This\nresearch has implications for the broader field of natural language processing,\nparticularly in the domain of efficient model design for resource-limited\nsettings. By enabling more sophisticated AI capabilities on edge devices,\nDolphin paves the way for advanced language processing in a wide range of\napplications where computational resources are at a premium. The Dolphin model\nis publicly available at https://huggingface.co/NexaAIDev/Dolphin.","upvotes":42,"discussionId":"66cfc67e9e405f72dd7679bb","ai_summary":"Dolphin, a novel decoder-decoder architecture, enables efficient processing of long contexts in language models by distilling contextual information into memory embeddings, thereby improving energy efficiency and latency without sacrificing accuracy.","ai_keywords":["decoder-decoder architecture","energy-efficient processing","long contexts","language models","memory embedding","image embedding projector","computational overhead","empirical evaluations","energy efficiency","latency","natural language processing","efficient model design","resource-limited settings","edge devices"]},"canReadDatabase":false,"canManagePapers":false,"canSubmit":false,"hasHfLevelAccess":false,"upvoted":false,"upvoters":[{"_id":"65c082c626c639b0009a3c82","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/65c082c626c639b0009a3c82/w_Q_5iLOM-nh_drd9Tu4X.jpeg","isPro":true,"fullname":"Alex Chen","user":"alexchen4ai","type":"user"},{"_id":"6618d691a7c93dc43f7344ed","avatarUrl":"/avatars/f24fb65d2f659f39d920e918a318b975.svg","isPro":false,"fullname":"Ling","user":"Ritatatata","type":"user"},{"_id":"660f2b525c0044a079f4b977","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/660f2b525c0044a079f4b977/E7iPcykcFl61duegChFpL.jpeg","isPro":false,"fullname":"Yicheng Qian","user":"Davidqian123","type":"user"},{"_id":"653e96edde20728b27f5b054","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/653e96edde20728b27f5b054/xih1zlhbdiHW_zmbptOX5.jpeg","isPro":false,"fullname":"Perry Cheng","user":"PerryCheng614","type":"user"},{"_id":"655ced0c4502ac1745d8b3c8","avatarUrl":"/avatars/032f54451a804f97693f3466bedc88a0.svg","isPro":false,"fullname":"Simon Zhai","user":"Simonzhai","type":"user"},{"_id":"644de55076c0ab1880b9cb4d","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/644de55076c0ab1880b9cb4d/zKm7baOIzt_a4py8mYkck.jpeg","isPro":true,"fullname":"Zack Li","user":"zackli4ai","type":"user"},{"_id":"665d2251a8d64f82ea5ab426","avatarUrl":"/avatars/747a1131ab3a169242d14309fcf33f2f.svg","isPro":false,"fullname":"Cherry Lu","user":"BartholomewBear","type":"user"},{"_id":"669b3f468b279f0a272198a9","avatarUrl":"/avatars/28031cf8193e5ca2c4ba69b9e00668f7.svg","isPro":false,"fullname":"Zee Huang","user":"ZeeJJ","type":"user"},{"_id":"642924f916d4d8293c93af08","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/642924f916d4d8293c93af08/Olp4zFPgGu2E6mFFPXfQO.jpeg","isPro":false,"fullname":"Yixin Song","user":"yixinsong","type":"user"},{"_id":"6093a02dc4a92d63a91c5236","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/6093a02dc4a92d63a91c5236/yUte6V0FU0BvVFAbON-9n.jpeg","isPro":true,"fullname":"Diwank Tomer","user":"diwank","type":"user"},{"_id":"668854a6bcbb6192a4d48600","avatarUrl":"/avatars/35754c67d791d7490c626c777ac26927.svg","isPro":false,"fullname":"Ayla Wang","user":"AylaW","type":"user"},{"_id":"6618e0424dbef6bd3c72f89a","avatarUrl":"https://cdn-avatars.huggingface.co/v1/production/uploads/6618e0424dbef6bd3c72f89a/V71mW-bZ9slNqXkkG_tGU.jpeg","isPro":false,"fullname":"Alan Zhu","user":"alanzhuly","type":"user"}],"acceptLanguages":["*"],"dailyPaperRank":3}">
Dolphin, a novel decoder-decoder architecture, enables efficient processing of long contexts in language models by distilling contextual information into memory embeddings, thereby improving energy efficiency and latency without sacrificing accuracy.
AI-generated summary
This paper presents Dolphin, a novel decoder-decoder architecture for
energy-efficient processing of long contexts in language models. Our approach
addresses the significant energy consumption and latency challenges inherent in
on-device models. Dolphin employs a compact 0.5B parameter decoder to distill
extensive contextual information into a memory embedding, substantially
reducing the input length for the primary 7B parameter decoder model. Inspired
by vision-language models, we repurpose the image embedding projector to encode
long textual contexts, effectively treating extended context as a distinct
modality. This innovative method enables processing of substantially longer
contexts without the typical computational overhead associated with extended
input sequences. Empirical evaluations demonstrate a 10-fold improvement in
energy efficiency and a 5-fold reduction in latency compared to conventional
full-length context processing methods without losing quality of the response.
Our work contributes to the development of more sustainable and scalable
language models for on-device applications, addressing the critical need for
energy-efficient and responsive AI technologies in resource-constrained
environments while maintaining the accuracy to understand long contexts. This
research has implications for the broader field of natural language processing,
particularly in the domain of efficient model design for resource-limited
settings. By enabling more sophisticated AI capabilities on edge devices,
Dolphin paves the way for advanced language processing in a wide range of
applications where computational resources are at a premium. The Dolphin model
is publicly available at https://huggingface.co/NexaAIDev/Dolphin.