Digitala Vetenskapliga Arkivet

Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
Comparative Analysis of Quantization Frameworks: A Deep Learning Perspective: What are Quantization Frameworks in Deep Learning, their Techniques, Benchmarked Applications, and Differences?
KTH, School of Electrical Engineering and Computer Science (EECS).
KTH, School of Electrical Engineering and Computer Science (EECS).
2024 (English)Independent thesis Basic level (degree of Bachelor), 10 credits / 15 HE creditsStudent thesisAlternative title
Översikt över automatiska kvantiseringramverk : Vad är automatiska kvantiseringramverk inom djupinlärning, deras tekniker, benchmarkade applikationer och skillnader? (Swedish)
Abstract [en]

Quantization has become a prevalent topic of discussion nowadays. It is a technique used in machine learning to reduce computational and memory costs, thereby enhancing the performance and efficiency of trained models. The analysis covers frameworks such as TAFFO, which enhances performance by converting floating to fixed-point data types. The thesis specifically examines models like LeNet-5 (a type of DNN used for image recognition) and BERT (used for natural language processing), detailing the differences in quantization frameworks and techniques with models handling different data types when using these models. The results from the experiment are formed through extensive tests evaluating key metrics, such as accuracy, inference time, quantization time, and model size. The metrics are compared between quantization frameworks and used to evaluate a decision tree, which reveals how these techniques and frameworks are logically connected. The decision tree can be used as a basis for future work by analyzing more frameworks and contributing to developing a decision-making framework that automatically selects the most suitable quantization technique for specified models.

Abstract [sv]

Kvantisering är en metod som används för att förbättra prestandan och effektiviteten hos maskininlärningsmodeller, vilket har blivit ett alltmer relevant nuförtiden. Detta examensarbete ger en omfattande analys av olika kvantiseringssystem och teknik, med fokus på djupa neuronnätverk (DNNs) och BERT-modellen, ett ramverk för bearbetning av naturligt språk. Examensarbetet diskuterar ramverk såsom TAFFO, som förbättrar prestandan genom att konvertera flyttal till fastpunktsdatatyp, och fördjupar sig ytterligare i DNNs med fokus på modeller som LeNet-5 och BERT, och beskriver skillnader i kvantiseringssystem och teknik med modeller som hanterar olika typer av data. Resultaten från dessa jämförelser analyseras och används för att utvärdera ett beslutsträd som avslöjar hur dessa teknik och ramverk är logiskt sammanlänkade. Resultaten från denna avhandling kan användas som grund för framtida arbeten genom att analysera flera ramverk och bidra till att utveckla ett beslutsramverk som automatiskt väljer den mest lämpliga kvantiseringstekniken för specifika modeller.

Place, publisher, year, edition, pages
2024. , p. 52
Series
TRITA-EECS-EX ; 2024:457
Keywords [en]
Quantization, Frameworks, Neural Networks, DNNs, CNNs, Optimisation
Keywords [sv]
Kvantisering, Ramverk, Neurala Nätverk, DNNs, CNNs, Optimering
National Category
Computer and Information Sciences
Identifiers
URN: urn:nbn:se:kth:diva-351541OAI: oai:DiVA.org:kth-351541DiVA, id: diva2:1887665
Supervisors
Examiners
Available from: 2024-09-20 Created: 2024-08-08 Last updated: 2024-09-20Bibliographically approved

Open Access in DiVA

fulltext(525 kB)807 downloads
File information
File name FULLTEXT01.pdfFile size 525 kBChecksum SHA-512
a6af8140d281b79d3fb9edee76907f9be6012c437b57f34fb0aaa073ee7e73b3048ef7b6150e083897a9032fed06e0892e2b7b981cf29ecee1aa7d3954a099dd
Type fulltextMimetype application/pdf

By organisation
School of Electrical Engineering and Computer Science (EECS)
Computer and Information Sciences

Search outside of DiVA

GoogleGoogle Scholar
Total: 812 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 649 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf