{"id":{"repo_id":"manitoba","oai_identifier":"oai:mspace.lib.umanitoba.ca:1993/36990"},"canonical_url":"https://search.ndltd.org/etd/manitoba/oai:mspace.lib.umanitoba.ca:1993/36990","repository":{"repo_id":"manitoba","name":"University of Manitoba","base_url":"https://mspace.lib.umanitoba.ca/oai/request"},"display":{"title":"Distilling knowledge through student-teacher model and BERT for sentiment analysis","abstract":"Bi-directional Encoder Representations from Transformers (BERT) is the state-of-the-art deep learning model for pre-training natural language processing (NLP) tasks such as sentiment analysis. The BERT model dynamically generates word representations according to the context and semantics using its bi-directional and attention mechanism features. The model, although, improves precision on NLP tasks, is compute-intensive and time-consuming to deploy on mobile or smaller platforms. In this thesis, to address this issue, we use knowledge distillation (KD), a \"teacher-student\" training technique, to compress the model. We use the BERT model as the \"teacher\" model to transfer knowledge to student models, ``first-generation'' convolution neural networks, and long-short term memory with attention mechanism (LSTM-atten). We conduct various experiments on sentiment analysis benchmark data sets and show that the “student models” through knowledge distillation have better performance with 70% improvement in accuracy, precision, recall, and F1-score compared to models without KD. We also investigate the convergence rate of student models and compare the results to the existing models in the literature. Finally, we show that compared to the full-size BERT model, our RNN series models are 50 times smaller in size and retain approximately 96% performance on benchmark data sets.","abstract_html":"Bi-directional Encoder Representations from Transformers (BERT) is the state-of-the-art deep learning model for pre-training natural language processing (NLP) tasks such as sentiment analysis. The BERT model dynamically generates word representations according to the context and semantics using its bi-directional and attention mechanism features. The model, although, improves precision on NLP tasks, is compute-intensive and time-consuming to deploy on mobile or smaller platforms. In this thesis, to address this issue, we use knowledge distillation (KD), a &quot;teacher-student&quot; training technique, to compress the model. We use the BERT model as the &quot;teacher&quot; model to transfer knowledge to student models, ``first-generation&#x27;&#x27; convolution neural networks, and long-short term memory with attention mechanism (LSTM-atten). We conduct various experiments on sentiment analysis benchmark data sets and show that the “student models” through knowledge distillation have better performance with 70% improvement in accuracy, precision, recall, and F1-score compared to models without KD. We also investigate the convergence rate of student models and compare the results to the existing models in the literature. Finally, we show that compared to the full-size BERT model, our RNN series models are 50 times smaller in size and retain approximately 96% performance on benchmark data sets.","abstract_has_math":false,"creators":["Dong, Ximing"],"institution":null,"degree_name":null,"degree_level":"Master of Science (M.Sc.)","degree_discipline":"Computer Science","degree_department":null,"school":null,"contributors":[],"advisors":["THULASIRAMAN, PARIMALA"],"committee_chairs":[],"committee_members":["Shaowei Wang","Saumen Mandal"],"year":2022,"date_issued":"2022-12-04","date_published":"2022-12-04","updated_at":"2026-11-19T09:09:00Z","subjects":["Natural language processing"],"languages":["eng"],"rights":[],"rights_urls":[],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/1993/36990","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/1993/36990","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier.uri","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Amanitoba%3Aoai%3Amspace.lib.umanitoba.ca%3A1993%2F36990","prefix":"oai_dc"},"source_record":{"url":"https://mspace.lib.umanitoba.ca/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Amspace.lib.umanitoba.ca%3A1993%2F36990","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.committeemember","label":"Committee Member","values":["Shaowei Wang","Saumen Mandal"]},{"key":"dc:contributor.supervisor","label":"Supervisor","values":["THULASIRAMAN, PARIMALA"]},{"key":"dc:creator","label":"Author","values":["Dong, Ximing"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2022-12-05T14:52:14Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2022-12-05T14:52:14Z"]},{"key":"dc:date.copyright","label":"Dc Date Copyright","values":["2022-12-04"]},{"key":"dc:date.issued","label":"Date","values":["2022-12-04"]},{"key":"dc:date.submitted","label":"Dc Date Submitted","values":["2022-12-05T01:42:20Z"]},{"key":"dc:type","label":"Dc Type","values":["master thesis"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Computer Science"]},{"key":"thesis:degree_level","label":"Degree Level","values":["Master of Science (M.Sc.)"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Natural language processing"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["eng"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["http://hdl.handle.net/1993/36990"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["Bi-directional Encoder Representations from Transformers (BERT) is the state-of-the-art deep learning model for pre-training natural language processing (NLP) tasks such as sentiment analysis. The BERT model dynamically generates word representations according to the context and semantics using its bi-directional and attention mechanism features. The model, although, improves precision on NLP tasks, is compute-intensive and time-consuming to deploy on mobile or smaller platforms. In this thesis, to address this issue, we use knowledge distillation (KD), a \"teacher-student\" training technique, to compress the model. We use the BERT model as the \"teacher\" model to transfer knowledge to student models, ``first-generation'' convolution neural networks, and long-short term memory with attention mechanism (LSTM-atten). We conduct various experiments on sentiment analysis benchmark data sets and show that the “student models” through knowledge distillation have better performance with 70% improvement in accuracy, precision, recall, and F1-score compared to models without KD. We also investigate the convergence rate of student models and compare the results to the existing models in the literature. Finally, we show that compared to the full-size BERT model, our RNN series models are 50 times smaller in size and retain approximately 96% performance on benchmark data sets."]},{"key":"dc:description.note","label":"Dc Description Note","values":["February 2023"]},{"key":"dc:title","label":"Title","values":["Distilling knowledge through student-teacher model and BERT for sentiment analysis"]},{"key":"local:admin","label":"Local Admin","values":["no"]},{"key":"others:access_status","label":"Others Access Status","values":["open.access"]}]}],"canonical_facts":{"dc:contributor.committeemember":["Shaowei Wang","Saumen Mandal"],"dc:contributor.supervisor":["THULASIRAMAN, PARIMALA"],"dc:creator":["Dong, Ximing"],"dc:date.accessioned":["2022-12-05T14:52:14Z"],"dc:date.available":["2022-12-05T14:52:14Z"],"dc:date.copyright":["2022-12-04"],"dc:date.issued":["2022-12-04"],"dc:date.submitted":["2022-12-05T01:42:20Z"],"dc:description.abstract":["Bi-directional Encoder Representations from Transformers (BERT) is the state-of-the-art deep learning model for pre-training natural language processing (NLP) tasks such as sentiment analysis. The BERT model dynamically generates word representations according to the context and semantics using its bi-directional and attention mechanism features. The model, although, improves precision on NLP tasks, is compute-intensive and time-consuming to deploy on mobile or smaller platforms. In this thesis, to address this issue, we use knowledge distillation (KD), a \"teacher-student\" training technique, to compress the model. We use the BERT model as the \"teacher\" model to transfer knowledge to student models, ``first-generation'' convolution neural networks, and long-short term memory with attention mechanism (LSTM-atten). We conduct various experiments on sentiment analysis benchmark data sets and show that the “student models” through knowledge distillation have better performance with 70% improvement in accuracy, precision, recall, and F1-score compared to models without KD. We also investigate the convergence rate of student models and compare the results to the existing models in the literature. Finally, we show that compared to the full-size BERT model, our RNN series models are 50 times smaller in size and retain approximately 96% performance on benchmark data sets."],"dc:description.note":["February 2023"],"dc:identifier.uri":["http://hdl.handle.net/1993/36990"],"dc:language.iso":["eng"],"dc:subject":["Natural language processing"],"dc:title":["Distilling knowledge through student-teacher model and BERT for sentiment analysis"],"dc:type":["master thesis"],"local:admin":["no"],"others:access_status":["open.access"],"thesis:degree_discipline":["Computer Science"],"thesis:degree_level":["Master of Science (M.Sc.)"]},"updated_at":"2026-11-19T09:09:00Z"}