{"id":{"repo_id":"sask","oai_identifier":"oai:harvest.usask.ca:10388/14961"},"canonical_url":"https://search.ndltd.org/etd/sask/oai:harvest.usask.ca:10388/14961","repository":{"repo_id":"sask","name":"University of Saskatchewan","base_url":"https://harvest.usask.ca/server/oai/request"},"display":{"title":"An Efficient Adversarial Self-Supervised Representation Learning Model for Classification of Anomalies in Wireless Capsule Endoscopy Images","abstract":"Wireless capsule endoscopy (WCE) contains a tiny camera, a wireless transmitter, and a light. When a patient swallows a capsule, it travels down the human digestive system passing through the stomach, intestines, colon, and rectum, and the camera wirelessly captures images that are transmitted to an external recording device. Self-supervised learning (SSL) consists of a pretext task, where the network learns data representations from a large-scale unlabeled dataset while doing a task, followed by a downstream task, where the network uses the knowledge learned in the pretext task to do a downstream task with a small-scale dataset. SSL has transformed artificial intelligence (AI) by enhancing generalizability and reducing the reliance on vast amounts of labeled data. However, the application of SSL models in the field of WCE has received insufficient attention. The existing SSL models demand extensive data and computational resources during the pre-training phase. However, in the WCE field, only limited number of small-sized datasets are accessible which are from different domains and collected using different instruments. Prior research in SSL models for WCE relies on custom datasets exclusively available to specific studies. This research introduces an efficient SSL model that overcomes data scarcity and computational limitations and shows a high-level domain-free quality on a dataset captured by a different instrumentation. Our model is able to achieve 92% accuracy in a 4-category classification task and 74% on an 8-category classification task by employing a small-scale GAN to pre-train on a significantly smaller dataset (for example, about 170 times smaller than the ImageNet dataset used for pre-training the well-known SimCLR model proposed by Google), called the Kvasir dataset (The biggest public WCE dataset containing 8000 images from 8 different categories), compared to current pioneering SSL models. Subsequently, a small multi-layer perceptron (MLP) classifier is trained on the learned representations from the GAN's discriminator network for the classification task, employing a small-scale, labeled dataset from a different set of the Kvasir dataset. To ensure computational efficiency, we employ a compact GAN architecture with only two convolutional hidden layers in both the generator and discriminator networks. To overcome challenges with generating high quality synthetic data using a tiny GAN network and a small-scale dataset, we propose a reverse-order architecture for the GAN, where the discriminator and generator share the same architecture but in reverse order. Based on experiments, the GAN network based on a reverse-order architecture acquires better results in generating high quality samples using a small-scale dataset and small-size networks. By developing this novel adversarial SSL model for low data and computational resource scenarios, we address the limitations of existing models in terms of data supply and computational resources in the WCE field, as our model has acquired the same level of performance as its supervised counterpart trained on a much bigger labeled dataset. Also, we have pre-trained a SimCLR model using the same data and computational resources as that of the proposed adversarial model, and the proposed adversarial SSL model has outperformed the SimCLR in every classification task. The proposed adversarial model has shown a robust performance against domain change as we trained the MLP classifier on the KID dataset, which is captured by a different instrumentation than that of the Kvasir dataset, on top of the representations learned from the Kvasir dataset. The proposed model obtained a high level of accuracy on the KID dataset illustrating that the model is robust against domain change.","abstract_html":"Wireless capsule endoscopy (WCE) contains a tiny camera, a wireless transmitter, and a light. When a patient swallows a capsule, it travels down the human digestive system passing through the stomach, intestines, colon, and rectum, and the camera wirelessly captures images that are transmitted to an external recording device. Self-supervised learning (SSL) consists of a pretext task, where the network learns data representations from a large-scale unlabeled dataset while doing a task, followed by a downstream task, where the network uses the knowledge learned in the pretext task to do a downstream task with a small-scale dataset. SSL has transformed artificial intelligence (AI) by enhancing generalizability and reducing the reliance on vast amounts of labeled data. However, the application of SSL models in the field of WCE has received insufficient attention. The existing SSL models demand extensive data and computational resources during the pre-training phase. However, in the WCE field, only limited number of small-sized datasets are accessible which are from different domains and collected using different instruments. Prior research in SSL models for WCE relies on custom datasets exclusively available to specific studies. This research introduces an efficient SSL model that overcomes data scarcity and computational limitations and shows a high-level domain-free quality on a dataset captured by a different instrumentation. Our model is able to achieve 92% accuracy in a 4-category classification task and 74% on an 8-category classification task by employing a small-scale GAN to pre-train on a significantly smaller dataset (for example, about 170 times smaller than the ImageNet dataset used for pre-training the well-known SimCLR model proposed by Google), called the Kvasir dataset (The biggest public WCE dataset containing 8000 images from 8 different categories), compared to current pioneering SSL models. Subsequently, a small multi-layer perceptron (MLP) classifier is trained on the learned representations from the GAN&#x27;s discriminator network for the classification task, employing a small-scale, labeled dataset from a different set of the Kvasir dataset. To ensure computational efficiency, we employ a compact GAN architecture with only two convolutional hidden layers in both the generator and discriminator networks. To overcome challenges with generating high quality synthetic data using a tiny GAN network and a small-scale dataset, we propose a reverse-order architecture for the GAN, where the discriminator and generator share the same architecture but in reverse order. Based on experiments, the GAN network based on a reverse-order architecture acquires better results in generating high quality samples using a small-scale dataset and small-size networks. By developing this novel adversarial SSL model for low data and computational resource scenarios, we address the limitations of existing models in terms of data supply and computational resources in the WCE field, as our model has acquired the same level of performance as its supervised counterpart trained on a much bigger labeled dataset. Also, we have pre-trained a SimCLR model using the same data and computational resources as that of the proposed adversarial model, and the proposed adversarial SSL model has outperformed the SimCLR in every classification task. The proposed adversarial model has shown a robust performance against domain change as we trained the MLP classifier on the KID dataset, which is captured by a different instrumentation than that of the Kvasir dataset, on top of the representations learned from the Kvasir dataset. The proposed model obtained a high level of accuracy on the KID dataset illustrating that the model is robust against domain change.","abstract_has_math":false,"creators":["Jamali, Ali"],"institution":"University of Saskatchewan","degree_name":"Master of Science (M.Sc.)","degree_level":"Masters","degree_discipline":"Electrical Engineering","degree_department":"Electrical and Computer Engineering","school":null,"contributors":[],"advisors":[],"committee_chairs":[],"committee_members":["Bui, Francis","Wahid, Khan","Liang, Xiaodong","Jin, Lingling"],"year":2023,"date_issued":"2023-09-08","date_published":"2023-09-08","updated_at":"2026-11-19T09:59:29Z","subjects":["Artificial Intelligence, Self-Supervised Learning, Wireless Capsule Endoscopy, Generative Adversarial Network"],"languages":["en"],"rights":[],"rights_urls":[],"identifier_entries":[],"person_identifier_entries":[{"key":"person:identifier.orcid","label":"ORCID","values":["0009-0005-8051-665X"],"render_values":[{"text":"0009-0005-8051-665X","href":"https://orcid.org/0009-0005-8051-665X","code":true}]}]},"links":{"outbound_url":"https://hdl.handle.net/10388/14961","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/10388/14961","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier.uri","access_status":"embargoed","embargo_until":"2024-09-08","access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Asask%3Aoai%3Aharvest.usask.ca%3A10388%2F14961","prefix":"oai_dc"},"source_record":{"url":"https://harvest.usask.ca/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Aharvest.usask.ca%3A10388%2F14961","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.committeemember","label":"Committee Member","values":["Bui, Francis","Wahid, Khan","Liang, Xiaodong","Jin, Lingling"]},{"key":"dc:creator","label":"Author","values":["Jamali, Ali"]},{"key":"person:identifier.orcid","label":"ORCID","values":["0009-0005-8051-665X"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2023-09-08T18:26:55Z"]},{"key":"dc:date.copyright","label":"Dc Date Copyright","values":["2023"]},{"key":"dc:date.created","label":"Dc Date Created","values":["2023-08"]},{"key":"dc:date.embargo","label":"Dc Date Embargo","values":["2024-09-08"]},{"key":"dc:date.issued","label":"Date","values":["2023-09-08"]},{"key":"dc:date.liftdate","label":"Dc Date Liftdate","values":["2024-09-08"]},{"key":"dc:date.submitted","label":"Dc Date Submitted","values":["August 2023"]},{"key":"dc:date.updated","label":"Dc Date Updated","values":["2023-09-08T18:26:56Z"]},{"key":"dc:type","label":"Dc Type","values":["Thesis","text"]},{"key":"thesis:degree_department","label":"Department","values":["Electrical and Computer Engineering"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Electrical Engineering"]},{"key":"thesis:degree_level","label":"Degree Level","values":["Masters"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Master of Science (M.Sc.)"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["University of Saskatchewan"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Artificial Intelligence, Self-Supervised Learning, Wireless Capsule Endoscopy, Generative Adversarial Network"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["en"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/10388/14961"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["Wireless capsule endoscopy (WCE) contains a tiny camera, a wireless transmitter, and a light. When a patient swallows a capsule, it travels down the human digestive system passing through the stomach, intestines, colon, and rectum, and the camera wirelessly captures images that are transmitted to an external recording device. Self-supervised learning (SSL) consists of a pretext task, where the network learns data representations from a large-scale unlabeled dataset while doing a task, followed by a downstream task, where the network uses the knowledge learned in the pretext task to do a downstream task with a small-scale dataset. SSL has transformed artificial intelligence (AI) by enhancing generalizability and reducing the reliance on vast amounts of labeled data. However, the application of SSL models in the field of WCE has received insufficient attention. The existing SSL models demand extensive data and computational resources during the pre-training phase. However, in the WCE field, only limited number of small-sized datasets are accessible which are from different domains and collected using different instruments. Prior research in SSL models for WCE relies on custom datasets exclusively available to specific studies. This research introduces an efficient SSL model that overcomes data scarcity and computational limitations and shows a high-level domain-free quality on a dataset captured by a different instrumentation. Our model is able to achieve 92% accuracy in a 4-category classification task and 74% on an 8-category classification task by employing a small-scale GAN to pre-train on a significantly smaller dataset (for example, about 170 times smaller than the ImageNet dataset used for pre-training the well-known SimCLR model proposed by Google), called the Kvasir dataset (The biggest public WCE dataset containing 8000 images from 8 different categories), compared to current pioneering SSL models. Subsequently, a small multi-layer perceptron (MLP) classifier is trained on the learned representations from the GAN's discriminator network for the classification task, employing a small-scale, labeled dataset from a different set of the Kvasir dataset. To ensure computational efficiency, we employ a compact GAN architecture with only two convolutional hidden layers in both the generator and discriminator networks. To overcome challenges with generating high quality synthetic data using a tiny GAN network and a small-scale dataset, we propose a reverse-order architecture for the GAN, where the discriminator and generator share the same architecture but in reverse order. Based on experiments, the GAN network based on a reverse-order architecture acquires better results in generating high quality samples using a small-scale dataset and small-size networks. By developing this novel adversarial SSL model for low data and computational resource scenarios, we address the limitations of existing models in terms of data supply and computational resources in the WCE field, as our model has acquired the same level of performance as its supervised counterpart trained on a much bigger labeled dataset. Also, we have pre-trained a SimCLR model using the same data and computational resources as that of the proposed adversarial model, and the proposed adversarial SSL model has outperformed the SimCLR in every classification task. The proposed adversarial model has shown a robust performance against domain change as we trained the MLP classifier on the KID dataset, which is captured by a different instrumentation than that of the Kvasir dataset, on top of the representations learned from the Kvasir dataset. The proposed model obtained a high level of accuracy on the KID dataset illustrating that the model is robust against domain change."]},{"key":"dc:format.mimetype","label":"Dc Format Mimetype","values":["application/pdf"]},{"key":"dc:title","label":"Title","values":["An Efficient Adversarial Self-Supervised Representation Learning Model for Classification of Anomalies in Wireless Capsule Endoscopy Images"]},{"key":"others:access_status","label":"Others Access Status","values":["open.access"]}]}],"canonical_facts":{"dc:contributor.committeemember":["Bui, Francis","Wahid, Khan","Liang, Xiaodong","Jin, Lingling"],"dc:creator":["Jamali, Ali"],"dc:date.accessioned":["2023-09-08T18:26:55Z"],"dc:date.copyright":["2023"],"dc:date.created":["2023-08"],"dc:date.embargo":["2024-09-08"],"dc:date.issued":["2023-09-08"],"dc:date.liftdate":["2024-09-08"],"dc:date.submitted":["August 2023"],"dc:date.updated":["2023-09-08T18:26:56Z"],"dc:description.abstract":["Wireless capsule endoscopy (WCE) contains a tiny camera, a wireless transmitter, and a light. When a patient swallows a capsule, it travels down the human digestive system passing through the stomach, intestines, colon, and rectum, and the camera wirelessly captures images that are transmitted to an external recording device. Self-supervised learning (SSL) consists of a pretext task, where the network learns data representations from a large-scale unlabeled dataset while doing a task, followed by a downstream task, where the network uses the knowledge learned in the pretext task to do a downstream task with a small-scale dataset. SSL has transformed artificial intelligence (AI) by enhancing generalizability and reducing the reliance on vast amounts of labeled data. However, the application of SSL models in the field of WCE has received insufficient attention. The existing SSL models demand extensive data and computational resources during the pre-training phase. However, in the WCE field, only limited number of small-sized datasets are accessible which are from different domains and collected using different instruments. Prior research in SSL models for WCE relies on custom datasets exclusively available to specific studies. This research introduces an efficient SSL model that overcomes data scarcity and computational limitations and shows a high-level domain-free quality on a dataset captured by a different instrumentation. Our model is able to achieve 92% accuracy in a 4-category classification task and 74% on an 8-category classification task by employing a small-scale GAN to pre-train on a significantly smaller dataset (for example, about 170 times smaller than the ImageNet dataset used for pre-training the well-known SimCLR model proposed by Google), called the Kvasir dataset (The biggest public WCE dataset containing 8000 images from 8 different categories), compared to current pioneering SSL models. Subsequently, a small multi-layer perceptron (MLP) classifier is trained on the learned representations from the GAN's discriminator network for the classification task, employing a small-scale, labeled dataset from a different set of the Kvasir dataset. To ensure computational efficiency, we employ a compact GAN architecture with only two convolutional hidden layers in both the generator and discriminator networks. To overcome challenges with generating high quality synthetic data using a tiny GAN network and a small-scale dataset, we propose a reverse-order architecture for the GAN, where the discriminator and generator share the same architecture but in reverse order. Based on experiments, the GAN network based on a reverse-order architecture acquires better results in generating high quality samples using a small-scale dataset and small-size networks. By developing this novel adversarial SSL model for low data and computational resource scenarios, we address the limitations of existing models in terms of data supply and computational resources in the WCE field, as our model has acquired the same level of performance as its supervised counterpart trained on a much bigger labeled dataset. Also, we have pre-trained a SimCLR model using the same data and computational resources as that of the proposed adversarial model, and the proposed adversarial SSL model has outperformed the SimCLR in every classification task. The proposed adversarial model has shown a robust performance against domain change as we trained the MLP classifier on the KID dataset, which is captured by a different instrumentation than that of the Kvasir dataset, on top of the representations learned from the Kvasir dataset. The proposed model obtained a high level of accuracy on the KID dataset illustrating that the model is robust against domain change."],"dc:format.mimetype":["application/pdf"],"dc:identifier.uri":["https://hdl.handle.net/10388/14961"],"dc:language.iso":["en"],"dc:subject":["Artificial Intelligence, Self-Supervised Learning, Wireless Capsule Endoscopy, Generative Adversarial Network"],"dc:title":["An Efficient Adversarial Self-Supervised Representation Learning Model for Classification of Anomalies in Wireless Capsule Endoscopy Images"],"dc:type":["Thesis","text"],"others:access_status":["open.access"],"person:identifier.orcid":["0009-0005-8051-665X"],"thesis:degree_department":["Electrical and Computer Engineering"],"thesis:degree_discipline":["Electrical Engineering"],"thesis:degree_level":["Masters"],"thesis:degree_name":["Master of Science (M.Sc.)"],"thesis:institution_name":["University of Saskatchewan"]},"updated_at":"2026-11-19T09:59:29Z"}