Skip to main content
CenXiv.org
This website is in trial operation, support us!
We gratefully acknowledge support from all contributors.
Contribute
Donate
cenxiv logo > cs > arXiv:2501.00042

Help | Advanced Search

Computer Science > Machine Learning

arXiv:2501.00042 (cs)
[Submitted on 25 Dec 2024 ]

Title: Resource-Efficient Transformer Architecture: Optimizing Memory and Execution Time for Real-Time Applications

Title: 资源高效Transformer架构:为实时应用优化内存和执行时间

Authors:Krisvarish V, Priyadarshini T, K P Abhishek Sri Saai, Vaidehi Vijayakumar
Abstract: This paper describes a memory-efficient transformer model designed to drive a reduction in memory usage and execution time by substantial orders of magnitude without impairing the model's performance near that of the original model. Recently, new architectures of transformers were presented, focused on parameter efficiency and computational optimization; however, such models usually require considerable resources in terms of hardware when deployed in real-world applications on edge devices. This approach addresses this concern by halving embedding size and applying targeted techniques such as parameter pruning and quantization to optimize the memory footprint with minimum sacrifices in terms of accuracy. Experimental results include a 52% reduction in memory usage and a 33% decrease in execution time, resulting in better efficiency than state-of-the-art models. This work compared our model with existing compelling architectures, such as MobileBERT and DistilBERT, and proved its feasibility in the domain of resource-friendly deep learning architectures, mainly for applications in real-time and in resource-constrained applications.
Abstract: 本文介绍了一种内存高效的变压器模型,旨在通过大幅减少内存使用和执行时间,同时不会损害模型性能接近原始模型的水平。 最近,提出了新的变压器架构,专注于参数效率和计算优化;然而,当这些模型部署到边缘设备上的现实应用时,通常需要相当大的硬件资源。 这种方法通过将嵌入大小减半并应用有针对性的技术(如参数剪枝和量化)来优化内存占用,在最小牺牲准确率的情况下解决了这一问题。 实验结果显示,内存使用减少了52%,执行时间减少了33%,比最先进的模型更高效。 这项工作将我们的模型与现有的令人信服的架构(如MobileBERT和DistilBERT)进行了比较,并证明了其在资源友好型深度学习架构领域的可行性,主要适用于实时和资源受限的应用场景。
Comments: 5 pages, 1 figure
Subjects: Machine Learning (cs.LG) ; Artificial Intelligence (cs.AI)
Cite as: arXiv:2501.00042 [cs.LG]
  (or arXiv:2501.00042v1 [cs.LG] for this version)
  https://doi.org/10.48550/arXiv.2501.00042
arXiv-issued DOI via DataCite

Submission history

From: Krisvarish Venkatesan [view email]
[v1] Wed, 25 Dec 2024 14:41:23 UTC (211 KB)
Full-text links:

Access Paper:

    View a PDF of the paper titled
  • View Chinese PDF
  • View PDF
  • Other Formats
license icon view license
Current browse context:
cs.LG
< prev   |   next >
new | recent | 2025-01
Change to browse by:
cs
cs.AI

References & Citations

  • NASA ADS
  • Google Scholar
  • Semantic Scholar
a export BibTeX citation Loading...

BibTeX formatted citation

×
Data provided by:

Bookmark

BibSonomy logo Reddit logo

Bibliographic and Citation Tools

Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)

Code, Data and Media Associated with this Article

alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
Papers with Code (What is Papers with Code?)
ScienceCast (What is ScienceCast?)

Demos

Replicate (What is Replicate?)
Hugging Face Spaces (What is Spaces?)
TXYZ.AI (What is TXYZ.AI?)

Recommenders and Search Tools

Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
IArxiv Recommender (What is IArxiv?)
  • Author
  • Venue
  • Institution
  • Topic

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)
  • About
  • Help
  • contact arXivClick here to contact arXiv Contact
  • subscribe to arXiv mailingsClick here to subscribe Subscribe
  • Copyright
  • Privacy Policy
  • Web Accessibility Assistance
  • arXiv Operational Status
    Get status notifications via email or slack

京ICP备2025123034号