{"id":{"repo_id":"guelph","oai_identifier":"oai:atrium.lib.uoguelph.ca:10214/29424"},"canonical_url":"https://search.ndltd.org/etd/guelph/oai:atrium.lib.uoguelph.ca:10214/29424","repository":{"repo_id":"guelph","name":"University of Guelph","base_url":"https://atrium.lib.uoguelph.ca/server/oai/request"},"display":{"title":"Evaluating Source Code Embeddings from LLMs for Educational Downstream Tasks","abstract":"Recent advances in Deep Learning (DL) have transformed natural language processing by enabling models to capture complex linguistic patterns. These techniques extend naturally to source code, which shares similarities with natural language but also exhibits strict syntactic and semantic constraints. This thesis investigates the effectiveness of different source code embedding strategies for three educational tasks: code correctness, code summarization, and code similarity. We introduce a set of systematic evaluation frameworks and propose a fine-tuning approach for a pre-trained, code-centric large language model to generate context-aware C++ embeddings. Experimental results demonstrate that while modern embeddings capture meaningful semantic and functional information and perform well on summarization and similarity tasks, they struggle to encode fine-grained structural details required for reliable correctness assessment. These findings highlight key limitations of current embedding approaches and identify important challenges for automated grading and other educational applications that depend on precise structural understanding of source code.","abstract_html":"Recent advances in Deep Learning (DL) have transformed natural language processing by enabling models to capture complex linguistic patterns. These techniques extend naturally to source code, which shares similarities with natural language but also exhibits strict syntactic and semantic constraints. This thesis investigates the effectiveness of different source code embedding strategies for three educational tasks: code correctness, code summarization, and code similarity. We introduce a set of systematic evaluation frameworks and propose a fine-tuning approach for a pre-trained, code-centric large language model to generate context-aware C++ embeddings. Experimental results demonstrate that while modern embeddings capture meaningful semantic and functional information and perform well on summarization and similarity tasks, they struggle to encode fine-grained structural details required for reliable correctness assessment. These findings highlight key limitations of current embedding approaches and identify important challenges for automated grading and other educational applications that depend on precise structural understanding of source code.","abstract_has_math":false,"creators":["Pais, Neil Allister"],"institution":"University of Guelph","degree_name":"Master of Science","degree_level":null,"degree_discipline":null,"degree_department":"School of Computer Science","school":null,"contributors":[],"advisors":["Chaturvedi, Ritu"],"committee_chairs":[],"committee_members":[],"year":null,"date_issued":"","date_published":null,"updated_at":"2026-11-19T08:22:46Z","subjects":["eucational data mining","machine learning","source code embeddings"],"languages":["en"],"rights":[],"rights_urls":[],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/10214/29424","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/10214/29424","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%3Aguelph%3Aoai%3Aatrium.lib.uoguelph.ca%3A10214%2F29424","prefix":"oai_dc"},"source_record":{"url":"https://atrium.lib.uoguelph.ca/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Aatrium.lib.uoguelph.ca%3A10214%2F29424","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Chaturvedi, Ritu"]},{"key":"dc:creator","label":"Author","values":["Pais, Neil Allister"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2026-01-06T00:26:09Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2026-01-06T00:26:09Z"]},{"key":"dc:date.copyright","label":"Dc Date Copyright","values":["2026-01"]},{"key":"dc:publisher","label":"Institution","values":["University of Guelph"]},{"key":"dc:type","label":"Dc Type","values":["Thesis"]},{"key":"thesis:degree_department","label":"Department","values":["School of Computer Science"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Master of Science"]},{"key":"thesis:degree_program","label":"Thesis Degree Program","values":["Computer Science"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["University of Guelph"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["eucational data mining","machine learning","source code embeddings"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["en"]},{"key":"dc:rights.license","label":"Dc Rights License","values":["All items in the Atrium are protected by copyright with all rights reserved unless otherwise indicated."]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/10214/29424"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["Recent advances in Deep Learning (DL) have transformed natural language processing by enabling models to capture complex linguistic patterns. These techniques extend naturally to source code, which shares similarities with natural language but also exhibits strict syntactic and semantic constraints. This thesis investigates the effectiveness of different source code embedding strategies for three educational tasks: code correctness, code summarization, and code similarity. We introduce a set of systematic evaluation frameworks and propose a fine-tuning approach for a pre-trained, code-centric large language model to generate context-aware C++ embeddings. Experimental results demonstrate that while modern embeddings capture meaningful semantic and functional information and perform well on summarization and similarity tasks, they struggle to encode fine-grained structural details required for reliable correctness assessment. These findings highlight key limitations of current embedding approaches and identify important challenges for automated grading and other educational applications that depend on precise structural understanding of source code."]},{"key":"dc:title","label":"Title","values":["Evaluating Source Code Embeddings from LLMs for Educational Downstream Tasks"]},{"key":"others:access_status","label":"Others Access Status","values":["open.access"]}]}],"canonical_facts":{"dc:contributor.advisor":["Chaturvedi, Ritu"],"dc:creator":["Pais, Neil Allister"],"dc:date.accessioned":["2026-01-06T00:26:09Z"],"dc:date.available":["2026-01-06T00:26:09Z"],"dc:date.copyright":["2026-01"],"dc:description.abstract":["Recent advances in Deep Learning (DL) have transformed natural language processing by enabling models to capture complex linguistic patterns. These techniques extend naturally to source code, which shares similarities with natural language but also exhibits strict syntactic and semantic constraints. This thesis investigates the effectiveness of different source code embedding strategies for three educational tasks: code correctness, code summarization, and code similarity. We introduce a set of systematic evaluation frameworks and propose a fine-tuning approach for a pre-trained, code-centric large language model to generate context-aware C++ embeddings. Experimental results demonstrate that while modern embeddings capture meaningful semantic and functional information and perform well on summarization and similarity tasks, they struggle to encode fine-grained structural details required for reliable correctness assessment. These findings highlight key limitations of current embedding approaches and identify important challenges for automated grading and other educational applications that depend on precise structural understanding of source code."],"dc:identifier.uri":["https://hdl.handle.net/10214/29424"],"dc:language.iso":["en"],"dc:publisher":["University of Guelph"],"dc:rights.license":["All items in the Atrium are protected by copyright with all rights reserved unless otherwise indicated."],"dc:subject":["eucational data mining","machine learning","source code embeddings"],"dc:title":["Evaluating Source Code Embeddings from LLMs for Educational Downstream Tasks"],"dc:type":["Thesis"],"others:access_status":["open.access"],"thesis:degree_department":["School of Computer Science"],"thesis:degree_name":["Master of Science"],"thesis:degree_program":["Computer Science"],"thesis:institution_name":["University of Guelph"]},"updated_at":"2026-11-19T08:22:46Z"}