• A
  • A
  • A
  • ABC
  • ABC
  • ABC
  • А
  • А
  • А
  • А
  • А
Regular version of the site

Evaluation of Model Compression Techniques in NLP Tasks

Student: Liliya Kurchenko

Supervisor: Margarita Burova

Faculty: Faculty of Computer Science

Educational Programme: Applied Mathematics and Information Science (Bachelor)

Year of Graduation: 2024

This study investigates the impact of model compression techniques, particularly quantization, on various Natural Language Processing (Natural language processing, NLP) tasks using state-of-the-art models such as BERT, RoBERTa, LLaMA 3, Mistral, and Mixtral. Different quantization methods including bitsansbytes, QDQBERT, HQQ, GPTQ, and AQLM are explored to compress these models while maintaining performance across tasks. Additionally, the research evaluates the efficacy of knowledge distillation for model compression. The experiments are conducted on three different NLP tasks: Named Entity Recognition (Named Entity Recognition, NER) using the CoNLL-2003 dataset, classification using the Emotions dataset, and Extractive Question Answering (Question answering, QA) using the SQuAD2.0 dataset. Specifically, the study quantifies the performance of compressed models compared to their full-size counterparts across these tasks. The compression technique QDQBERT is applied to BERT and RoBERTa, while Mixtral and LLaMA 3 70B are compressed using AQLM. Furthermore, the study compares the performance of bitsansbytes, HQQ, and AutoGPTQ for compressing Mistral 7B and LLaMA 3 8B models. The results highlight the effectiveness of quantization methods in reducing model size and computational complexity while preserving task-specific performance metrics. This research contributes valuable insights into optimizing model efficiency for NLP tasks, addressing the growing demand for resource-efficient models in real-world applications.

Student Theses at HSE must be completed in accordance with the University Rules and regulations specified by each educational programme.

Summaries of all theses must be published and made freely available on the HSE website.

The full text of a thesis can be published in open access on the HSE website only if the authoring student (copyright holder) agrees, or, if the thesis was written by a team of students, if all the co-authors (copyright holders) agree. After a thesis is published on the HSE website, it obtains the status of an online publication.

Student theses are objects of copyright and their use is subject to limitations in accordance with the Russian Federation’s law on intellectual property.

In the event that a thesis is quoted or otherwise used, reference to the author’s name and the source of quotation is required.

Search all student theses