{"id":{"repo_id":"alberta","oai_identifier":"oai:ualberta.scholaris.ca:123456789/105856"},"canonical_url":"https://search.ndltd.org/etd/alberta/oai:ualberta.scholaris.ca:123456789/105856","repository":{"repo_id":"alberta","name":"University of Alberta","base_url":"https://era.library.ualberta.ca/oai"},"display":{"title":"Counterfactual Example Generation Driven by Rule-Based Explanations","abstract":"Explainable AI is becoming increasingly important, and much research now exists which either extends existing explanation methods or proposes new ones. These methods are becoming increasingly complex in order to address the complexity of the black-box models that they explain. Medicine, finance, and law are only a few of the critical areas which require explanations when an AI model is used. In these areas, the explanation needs to be clear and straightforward, if there is an issue then blame needs to be accurately attributed to the black-box model. Complex explainers run counter to this goal, the explainer itself is becoming increasingly unexplainable. In this work, we improve an existing method, BARBE, with limited increases to its complexity. We do so by using multivariate normal distributions -- in place of a simple normal distribution -- when producing the perturbed training samples. The classes in perturbed data are also balanced for further improvements. We use these to both improve a measure of model alignment, fidelity, and a trustworthiness related measure, stability. Both values are improved, making our proposed changes, BARBE+PB, a significant improvement over the methods we compared with: LIME, S-LIME, VAE-LIME, and LORE. With stability and fidelity improved, we went on to use the explanation -- in the form of association rules -- to generate counterfactual examples. Counterfactuals are an important ``what-if\" tool for users, but the current methods for finding them tend to assume that the black-box outputs a numeric probability for each label. This is not realistic for all applications. BARBE only expects labels from the black-box so we can use the rules from BARBE as a replacement for probabilities. By selecting significant rules and applying them to the sample we can guide the counterfactual generation process while minimizing changes to the sample, improving counterfactual feasibility and lowering cost. This approach remains in-line with our goal, the use of rules is simple and straightforward. Using our approach, we were able to improve the distance and realism of counterfactuals as opposed to the DiCE, LORE, and EECE methods.","abstract_html":"Explainable AI is becoming increasingly important, and much research now exists which either extends existing explanation methods or proposes new ones. These methods are becoming increasingly complex in order to address the complexity of the black-box models that they explain. Medicine, finance, and law are only a few of the critical areas which require explanations when an AI model is used. In these areas, the explanation needs to be clear and straightforward, if there is an issue then blame needs to be accurately attributed to the black-box model. Complex explainers run counter to this goal, the explainer itself is becoming increasingly unexplainable. In this work, we improve an existing method, BARBE, with limited increases to its complexity. We do so by using multivariate normal distributions -- in place of a simple normal distribution -- when producing the perturbed training samples. The classes in perturbed data are also balanced for further improvements. We use these to both improve a measure of model alignment, fidelity, and a trustworthiness related measure, stability. Both values are improved, making our proposed changes, BARBE+PB, a significant improvement over the methods we compared with: LIME, S-LIME, VAE-LIME, and LORE. With stability and fidelity improved, we went on to use the explanation -- in the form of association rules -- to generate counterfactual examples. Counterfactuals are an important ``what-if&quot; tool for users, but the current methods for finding them tend to assume that the black-box outputs a numeric probability for each label. This is not realistic for all applications. BARBE only expects labels from the black-box so we can use the rules from BARBE as a replacement for probabilities. By selecting significant rules and applying them to the sample we can guide the counterfactual generation process while minimizing changes to the sample, improving counterfactual feasibility and lowering cost. This approach remains in-line with our goal, the use of rules is simple and straightforward. Using our approach, we were able to improve the distance and realism of counterfactuals as opposed to the DiCE, LORE, and EECE methods.","abstract_has_math":false,"creators":["Smith, Iain N"],"institution":"University of Alberta","degree_name":"Master of Science","degree_level":"Master's","degree_discipline":null,"degree_department":null,"school":null,"contributors":[],"advisors":["Zaiane, Osmar (Computing Science)"],"committee_chairs":[],"committee_members":[],"year":2026,"date_issued":"2026-06","date_published":"2026-06","updated_at":"2026-11-26T20:51:43Z","subjects":["Explainable AI","Counterfactuals","Post-Hoc Explanations"],"languages":["en"],"rights":["This thesis is made available by the University of Alberta Library with permission of the copyright owner solely for non-commercial purposes. This thesis, or any portion thereof, may not otherwise be copied or reproduced without the written consent of the copyright owner, except to the extent permitted by Canadian copyright law."],"rights_urls":["https://creativecommons.org/licenses/by/4.0/"],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"https://doi.org/10.7939/84450","outbound_label":"DOI","outbound_source":"dc:identifier.doi","record_url":"https://doi.org/10.7939/84450","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%3Aalberta%3Aoai%3Aualberta.scholaris.ca%3A123456789%2F105856","prefix":"oai_dc"},"source_record":{"url":"https://era.library.ualberta.ca/oai?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Aualberta.scholaris.ca%3A123456789%2F105856","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Zaiane, Osmar (Computing Science)"]},{"key":"dc:creator","label":"Author","values":["Smith, Iain N"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2026-06-15T13:00:51Z"]},{"key":"dc:date.issued","label":"Date","values":["2026-06"]},{"key":"dc:type","label":"Dc Type","values":["Thesis"]},{"key":"thesis:degree_level","label":"Degree Level","values":["Master's"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Master of Science"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["University of Alberta"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Explainable AI","Counterfactuals","Post-Hoc Explanations"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["en"]},{"key":"dc:rights","label":"Dc Rights","values":["This thesis is made available by the University of Alberta Library with permission of the copyright owner solely for non-commercial purposes. This thesis, or any portion thereof, may not otherwise be copied or reproduced without the written consent of the copyright owner, except to the extent permitted by Canadian copyright law."]},{"key":"dc:rights.uri","label":"Rights URI","values":["https://creativecommons.org/licenses/by/4.0/"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.doi","label":"DOI","values":["https://doi.org/10.7939/84450"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["Explainable AI is becoming increasingly important, and much research now exists which either extends existing explanation methods or proposes new ones. These methods are becoming increasingly complex in order to address the complexity of the black-box models that they explain. Medicine, finance, and law are only a few of the critical areas which require explanations when an AI model is used. In these areas, the explanation needs to be clear and straightforward, if there is an issue then blame needs to be accurately attributed to the black-box model. Complex explainers run counter to this goal, the explainer itself is becoming increasingly unexplainable. In this work, we improve an existing method, BARBE, with limited increases to its complexity. We do so by using multivariate normal distributions -- in place of a simple normal distribution -- when producing the perturbed training samples. The classes in perturbed data are also balanced for further improvements. We use these to both improve a measure of model alignment, fidelity, and a trustworthiness related measure, stability. Both values are improved, making our proposed changes, BARBE+PB, a significant improvement over the methods we compared with: LIME, S-LIME, VAE-LIME, and LORE. With stability and fidelity improved, we went on to use the explanation -- in the form of association rules -- to generate counterfactual examples. Counterfactuals are an important ``what-if\" tool for users, but the current methods for finding them tend to assume that the black-box outputs a numeric probability for each label. This is not realistic for all applications. BARBE only expects labels from the black-box so we can use the rules from BARBE as a replacement for probabilities. By selecting significant rules and applying them to the sample we can guide the counterfactual generation process while minimizing changes to the sample, improving counterfactual feasibility and lowering cost. This approach remains in-line with our goal, the use of rules is simple and straightforward. Using our approach, we were able to improve the distance and realism of counterfactuals as opposed to the DiCE, LORE, and EECE methods."]},{"key":"dc:title","label":"Title","values":["Counterfactual Example Generation Driven by Rule-Based Explanations"]},{"key":"others:access_status","label":"Others Access Status","values":["open.access"]}]}],"canonical_facts":{"dc:contributor.advisor":["Zaiane, Osmar (Computing Science)"],"dc:creator":["Smith, Iain N"],"dc:date.accessioned":["2026-06-15T13:00:51Z"],"dc:date.issued":["2026-06"],"dc:description.abstract":["Explainable AI is becoming increasingly important, and much research now exists which either extends existing explanation methods or proposes new ones. These methods are becoming increasingly complex in order to address the complexity of the black-box models that they explain. Medicine, finance, and law are only a few of the critical areas which require explanations when an AI model is used. In these areas, the explanation needs to be clear and straightforward, if there is an issue then blame needs to be accurately attributed to the black-box model. Complex explainers run counter to this goal, the explainer itself is becoming increasingly unexplainable. In this work, we improve an existing method, BARBE, with limited increases to its complexity. We do so by using multivariate normal distributions -- in place of a simple normal distribution -- when producing the perturbed training samples. The classes in perturbed data are also balanced for further improvements. We use these to both improve a measure of model alignment, fidelity, and a trustworthiness related measure, stability. Both values are improved, making our proposed changes, BARBE+PB, a significant improvement over the methods we compared with: LIME, S-LIME, VAE-LIME, and LORE. With stability and fidelity improved, we went on to use the explanation -- in the form of association rules -- to generate counterfactual examples. Counterfactuals are an important ``what-if\" tool for users, but the current methods for finding them tend to assume that the black-box outputs a numeric probability for each label. This is not realistic for all applications. BARBE only expects labels from the black-box so we can use the rules from BARBE as a replacement for probabilities. By selecting significant rules and applying them to the sample we can guide the counterfactual generation process while minimizing changes to the sample, improving counterfactual feasibility and lowering cost. This approach remains in-line with our goal, the use of rules is simple and straightforward. Using our approach, we were able to improve the distance and realism of counterfactuals as opposed to the DiCE, LORE, and EECE methods."],"dc:identifier.doi":["https://doi.org/10.7939/84450"],"dc:language.iso":["en"],"dc:rights":["This thesis is made available by the University of Alberta Library with permission of the copyright owner solely for non-commercial purposes. This thesis, or any portion thereof, may not otherwise be copied or reproduced without the written consent of the copyright owner, except to the extent permitted by Canadian copyright law."],"dc:rights.uri":["https://creativecommons.org/licenses/by/4.0/"],"dc:subject":["Explainable AI","Counterfactuals","Post-Hoc Explanations"],"dc:title":["Counterfactual Example Generation Driven by Rule-Based Explanations"],"dc:type":["Thesis"],"others:access_status":["open.access"],"thesis:degree_level":["Master's"],"thesis:degree_name":["Master of Science"],"thesis:institution_name":["University of Alberta"]},"updated_at":"2026-11-26T20:51:43Z"}