{"id":{"repo_id":"calgary","oai_identifier":"oai:ucalgary.scholaris.ca:1880/125146"},"canonical_url":"https://search.ndltd.org/etd/calgary/oai:ucalgary.scholaris.ca:1880/125146","repository":{"repo_id":"calgary","name":"University of Calgary","base_url":"https://ucalgary.scholaris.ca/server/oai/request"},"display":{"title":"Automated Theme Extraction from Homeless Shelter Case Notes: A Comparative Evaluation of Machine Learning and Large Language Model Methods","abstract":"Automated analysis of homeless shelter case notes represents a largely unexplored opportunity for deriving population-level insights from data that are rich in contextual information but challenging to interpret at scale. Frontline staff often document client interactions and behaviours in these notes in an unstructured, narrative format. The considerable variability of case notes renders manual interpretation highly time-intensive, and systematic population-level analysis challenging. This work investigated the feasibility of automated methods to accurately identify instances of abstract themes in case notes, with a focus on practical methods suited to resource-constrained settings. These methods include rule-based and traditional machine learning baselines, as well as transformer-based zero-shot classification, and prompt engineering and fine-tuning of smaller open-source language models. A manually annotated subset of case notes from the Calgary Drop-In Centre served as the basis for method development and evaluation. Based on existing literature and input from shelter staff, 34 themes spanning key topics of interest, such as behaviour, substance use, and housing, were developed. The data labelling process produced a structured annotation guideline that informed subsequent method development, and inter-coder agreement analysis revealed that abstract, context-dependent themes present significant challenges for consistent annotation. Labelling disagreement was found to be a meaningful predictor of automated theme extraction difficulty. Our results indicate that no single method consistently outperformed others across all themes, with performance largely determined by theme complexity and subjectivity. Concrete themes that were explicitly expressed in the notes could be reliably extracted using simpler approaches, while more abstract and subjective themes benefited from the use of machine learning and LLM-based methods. Prompt structure and format were found to be important considerations affecting both classification performance and inference time. We also found that themes with high variation or requiring domain-specific contextual interpretation posed challenges for both human labelling and automated extraction, resulting in limited classification accuracy across all methods. Overall, these findings highlight both the potential and the inherent challenges of automated theme extraction in this domain, and provide a foundation for future population-level analysis of shelter client needs.","abstract_html":"Automated analysis of homeless shelter case notes represents a largely unexplored opportunity for deriving population-level insights from data that are rich in contextual information but challenging to interpret at scale. Frontline staff often document client interactions and behaviours in these notes in an unstructured, narrative format. The considerable variability of case notes renders manual interpretation highly time-intensive, and systematic population-level analysis challenging. This work investigated the feasibility of automated methods to accurately identify instances of abstract themes in case notes, with a focus on practical methods suited to resource-constrained settings. These methods include rule-based and traditional machine learning baselines, as well as transformer-based zero-shot classification, and prompt engineering and fine-tuning of smaller open-source language models. A manually annotated subset of case notes from the Calgary Drop-In Centre served as the basis for method development and evaluation. Based on existing literature and input from shelter staff, 34 themes spanning key topics of interest, such as behaviour, substance use, and housing, were developed. The data labelling process produced a structured annotation guideline that informed subsequent method development, and inter-coder agreement analysis revealed that abstract, context-dependent themes present significant challenges for consistent annotation. Labelling disagreement was found to be a meaningful predictor of automated theme extraction difficulty. Our results indicate that no single method consistently outperformed others across all themes, with performance largely determined by theme complexity and subjectivity. Concrete themes that were explicitly expressed in the notes could be reliably extracted using simpler approaches, while more abstract and subjective themes benefited from the use of machine learning and LLM-based methods. Prompt structure and format were found to be important considerations affecting both classification performance and inference time. We also found that themes with high variation or requiring domain-specific contextual interpretation posed challenges for both human labelling and automated extraction, resulting in limited classification accuracy across all methods. Overall, these findings highlight both the potential and the inherent challenges of automated theme extraction in this domain, and provide a foundation for future population-level analysis of shelter client needs.","abstract_has_math":false,"creators":["Selvaraj, Madhumitha"],"institution":"Schulich School of Engineering","degree_name":"Master of Science (MSc)","degree_level":null,"degree_discipline":"Engineering – Electrical & Computer","degree_department":null,"school":null,"contributors":[],"advisors":["Messier, Geoffrey","Ioannou, Yani"],"committee_chairs":[],"committee_members":["Yanushkevich, Svetlana","Bento, Mariana"],"year":2026,"date_issued":"2026-06-05","date_published":"2026-06-05","updated_at":"2026-11-19T07:28:50Z","subjects":["Homeless Shelter Case Notes","Automatic Theme Extraction","Natural Language Processing","Large Language Models","Prompt Engineering","Machine Learning","Social Determinants of Health","Fine Tuning"],"languages":["en"],"rights":["Unless otherwise indicated, this material is protected by copyright and has been made available with authorization from the copyright owner. You may use this material in any way that is permitted by the Copyright Act or through licensing that has been assigned to the document. For uses that are not allowable under copyright legislation or licensing, you are required to seek permission."],"rights_urls":[],"identifier_entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/1880/125146"],"render_values":[{"text":"https://hdl.handle.net/1880/125146","href":"https://hdl.handle.net/1880/125146","code":true}]},{"key":"dc:identifier.citation","label":"Dc Identifier Citation","values":["Selvaraj, M. (2026). Automated theme extraction from homeless shelter case notes: a comparative evaluation of machine learning and large language model methods (Master's thesis, University of Calgary, Calgary, Canada). Retrieved from https://ucalgary.scholaris.ca."],"render_values":[{"text":"Selvaraj, M. (2026). Automated theme extraction from homeless shelter case notes: a comparative evaluation of machine learning and large language model methods (Master's thesis, University of Calgary, Calgary, Canada). Retrieved from https://ucalgary.scholaris.ca.","href":null,"code":true}]}],"person_identifier_entries":[]},"links":{"outbound_url":"https://doi.org/10.11575/PRISM/51566","outbound_label":"DOI","outbound_source":"dc:identifier.doi","record_url":"https://doi.org/10.11575/PRISM/51566","record_label":"Repository record","record_kind":"doi","record_source":"dc:identifier.doi","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%3Acalgary%3Aoai%3Aucalgary.scholaris.ca%3A1880%2F125146","prefix":"oai_dc"},"source_record":{"url":"https://ucalgary.scholaris.ca/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Aucalgary.scholaris.ca%3A1880%2F125146","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Messier, Geoffrey","Ioannou, Yani"]},{"key":"dc:contributor.committeemember","label":"Committee Member","values":["Yanushkevich, Svetlana","Bento, Mariana"]},{"key":"dc:creator","label":"Author","values":["Selvaraj, Madhumitha"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date","label":"Dc Date","values":["2026-11"]},{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2026-06-18T21:47:30Z"]},{"key":"dc:date.issued","label":"Date","values":["2026-06-05"]},{"key":"dc:publisher.faculty","label":"Dc Publisher Faculty","values":["Schulich School of Engineering"]},{"key":"dc:type","label":"Dc Type","values":["master thesis"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Engineering – Electrical & Computer"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Master of Science (MSc)"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["University of Calgary"]},{"key":"thesis:release_request","label":"Thesis Release Request","values":["I do not require a thesis withhold – my thesis will have open access and can be viewed and downloaded publicly as soon as possible."]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Homeless Shelter Case Notes","Automatic Theme Extraction","Natural Language Processing","Large Language Models","Prompt Engineering","Machine Learning","Social Determinants of Health","Fine Tuning"]},{"key":"dc:subject.classification","label":"Dc Subject Classification","values":["Artificial Intelligence","Computer Science"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["en"]},{"key":"dc:rights","label":"Dc Rights","values":["Unless otherwise indicated, this material is protected by copyright and has been made available with authorization from the copyright owner. You may use this material in any way that is permitted by the Copyright Act or through licensing that has been assigned to the document. For uses that are not allowable under copyright legislation or licensing, you are required to seek permission."]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.citation","label":"Dc Identifier Citation","values":["Selvaraj, M. (2026). Automated theme extraction from homeless shelter case notes: a comparative evaluation of machine learning and large language model methods (Master's thesis, University of Calgary, Calgary, Canada). Retrieved from https://ucalgary.scholaris.ca."]},{"key":"dc:identifier.doi","label":"DOI","values":["https://dx.doi.org/10.11575/PRISM/51566"]},{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/1880/125146"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["Automated analysis of homeless shelter case notes represents a largely unexplored opportunity for deriving population-level insights from data that are rich in contextual information but challenging to interpret at scale. Frontline staff often document client interactions and behaviours in these notes in an unstructured, narrative format. The considerable variability of case notes renders manual interpretation highly time-intensive, and systematic population-level analysis challenging. This work investigated the feasibility of automated methods to accurately identify instances of abstract themes in case notes, with a focus on practical methods suited to resource-constrained settings. These methods include rule-based and traditional machine learning baselines, as well as transformer-based zero-shot classification, and prompt engineering and fine-tuning of smaller open-source language models. A manually annotated subset of case notes from the Calgary Drop-In Centre served as the basis for method development and evaluation. Based on existing literature and input from shelter staff, 34 themes spanning key topics of interest, such as behaviour, substance use, and housing, were developed. The data labelling process produced a structured annotation guideline that informed subsequent method development, and inter-coder agreement analysis revealed that abstract, context-dependent themes present significant challenges for consistent annotation. Labelling disagreement was found to be a meaningful predictor of automated theme extraction difficulty. Our results indicate that no single method consistently outperformed others across all themes, with performance largely determined by theme complexity and subjectivity. Concrete themes that were explicitly expressed in the notes could be reliably extracted using simpler approaches, while more abstract and subjective themes benefited from the use of machine learning and LLM-based methods. Prompt structure and format were found to be important considerations affecting both classification performance and inference time. We also found that themes with high variation or requiring domain-specific contextual interpretation posed challenges for both human labelling and automated extraction, resulting in limited classification accuracy across all methods. Overall, these findings highlight both the potential and the inherent challenges of automated theme extraction in this domain, and provide a foundation for future population-level analysis of shelter client needs."]},{"key":"dc:title","label":"Title","values":["Automated Theme Extraction from Homeless Shelter Case Notes: A Comparative Evaluation of Machine Learning and Large Language Model Methods"]},{"key":"dspace:entity.type","label":"Dspace Entity Type","values":["Publication"]},{"key":"others:access_status","label":"Others Access Status","values":["open.access"]}]}],"canonical_facts":{"dc:contributor.advisor":["Messier, Geoffrey","Ioannou, Yani"],"dc:contributor.committeemember":["Yanushkevich, Svetlana","Bento, Mariana"],"dc:creator":["Selvaraj, Madhumitha"],"dc:date":["2026-11"],"dc:date.accessioned":["2026-06-18T21:47:30Z"],"dc:date.issued":["2026-06-05"],"dc:description.abstract":["Automated analysis of homeless shelter case notes represents a largely unexplored opportunity for deriving population-level insights from data that are rich in contextual information but challenging to interpret at scale. Frontline staff often document client interactions and behaviours in these notes in an unstructured, narrative format. The considerable variability of case notes renders manual interpretation highly time-intensive, and systematic population-level analysis challenging. This work investigated the feasibility of automated methods to accurately identify instances of abstract themes in case notes, with a focus on practical methods suited to resource-constrained settings. These methods include rule-based and traditional machine learning baselines, as well as transformer-based zero-shot classification, and prompt engineering and fine-tuning of smaller open-source language models. A manually annotated subset of case notes from the Calgary Drop-In Centre served as the basis for method development and evaluation. Based on existing literature and input from shelter staff, 34 themes spanning key topics of interest, such as behaviour, substance use, and housing, were developed. The data labelling process produced a structured annotation guideline that informed subsequent method development, and inter-coder agreement analysis revealed that abstract, context-dependent themes present significant challenges for consistent annotation. Labelling disagreement was found to be a meaningful predictor of automated theme extraction difficulty. Our results indicate that no single method consistently outperformed others across all themes, with performance largely determined by theme complexity and subjectivity. Concrete themes that were explicitly expressed in the notes could be reliably extracted using simpler approaches, while more abstract and subjective themes benefited from the use of machine learning and LLM-based methods. Prompt structure and format were found to be important considerations affecting both classification performance and inference time. We also found that themes with high variation or requiring domain-specific contextual interpretation posed challenges for both human labelling and automated extraction, resulting in limited classification accuracy across all methods. Overall, these findings highlight both the potential and the inherent challenges of automated theme extraction in this domain, and provide a foundation for future population-level analysis of shelter client needs."],"dc:identifier.citation":["Selvaraj, M. (2026). Automated theme extraction from homeless shelter case notes: a comparative evaluation of machine learning and large language model methods (Master's thesis, University of Calgary, Calgary, Canada). Retrieved from https://ucalgary.scholaris.ca."],"dc:identifier.doi":["https://dx.doi.org/10.11575/PRISM/51566"],"dc:identifier.uri":["https://hdl.handle.net/1880/125146"],"dc:language.iso":["en"],"dc:publisher.faculty":["Schulich School of Engineering"],"dc:rights":["Unless otherwise indicated, this material is protected by copyright and has been made available with authorization from the copyright owner. You may use this material in any way that is permitted by the Copyright Act or through licensing that has been assigned to the document. For uses that are not allowable under copyright legislation or licensing, you are required to seek permission."],"dc:subject":["Homeless Shelter Case Notes","Automatic Theme Extraction","Natural Language Processing","Large Language Models","Prompt Engineering","Machine Learning","Social Determinants of Health","Fine Tuning"],"dc:subject.classification":["Artificial Intelligence","Computer Science"],"dc:title":["Automated Theme Extraction from Homeless Shelter Case Notes: A Comparative Evaluation of Machine Learning and Large Language Model Methods"],"dc:type":["master thesis"],"dspace:entity.type":["Publication"],"others:access_status":["open.access"],"thesis:degree_discipline":["Engineering – Electrical & Computer"],"thesis:degree_name":["Master of Science (MSc)"],"thesis:institution_name":["University of Calgary"],"thesis:release_request":["I do not require a thesis withhold – my thesis will have open access and can be viewed and downloaded publicly as soon as possible."]},"updated_at":"2026-11-19T07:28:50Z"}