{"id":{"repo_id":"calpoly","oai_identifier":"oai:digitalcommons.calpoly.edu:theses-5106"},"canonical_url":"https://search.ndltd.org/etd/calpoly/oai:digitalcommons.calpoly.edu:theses-5106","repository":{"repo_id":"calpoly","name":"Cal Poly","base_url":"https://digitalcommons.calpoly.edu/do/oai/"},"display":{"title":"Reducing F1 Score Disparity Across Imbalanced Categorical Feature Values via LLM-Generated Synthetic Data","abstract":"Classifiers trained on tabular data often predict worse for subgroups categorized by underrepresented values of a categorical input feature. This thesis presents a method for reducing this subgroup prediction quality disparity using synthetic data generated by prompting a large language model (LLM) with its pretrained domain knowledge alone. This is done without fine-tuning or real training samples. The only empirical statistic supplied in the prompt is the sample count of the subgroup for which synthetic samples are generated. For each dataset, categorical feature values that are both underrepresented and yield suboptimal F1 score are identified as candidates. Synthetic samples are generated for each candidate in varying amounts, and the amount yielding the highest F1 score on a validation set is selected. When that amount is non-zero, a final classifier retrained with the selected amount of synthetic samples is compared against a baseline on a held-out test set. Our approach was evaluated across twelve candidates identified across six publicly available tabular datasets spanning multiple domains. Ten candidates were assigned a non-zero synthetic sample amount and evaluated on the test set. Nine of these ten candidates saw an improvement in subgroup F1 score, with a statistically significant mean improvement at the candidate level (t = 3.971, p = 0.0032, Cohen's d = 1.256). A duplicate leakage check found no evidence that this improvement was inflated by synthetic data overlapping with the test set. These results suggest that LLM-generated synthetic data, produced without access to the real training data, can measurably increase subgroup F1 score in tabular classification, while also highlighting open questions about when and why this improvement does not occur.","abstract_html":"Classifiers trained on tabular data often predict worse for subgroups categorized by underrepresented values of a categorical input feature. This thesis presents a method for reducing this subgroup prediction quality disparity using synthetic data generated by prompting a large language model (LLM) with its pretrained domain knowledge alone. This is done without fine-tuning or real training samples. The only empirical statistic supplied in the prompt is the sample count of the subgroup for which synthetic samples are generated. For each dataset, categorical feature values that are both underrepresented and yield suboptimal F1 score are identified as candidates. Synthetic samples are generated for each candidate in varying amounts, and the amount yielding the highest F1 score on a validation set is selected. When that amount is non-zero, a final classifier retrained with the selected amount of synthetic samples is compared against a baseline on a held-out test set. Our approach was evaluated across twelve candidates identified across six publicly available tabular datasets spanning multiple domains. Ten candidates were assigned a non-zero synthetic sample amount and evaluated on the test set. Nine of these ten candidates saw an improvement in subgroup F1 score, with a statistically significant mean improvement at the candidate level (t = 3.971, p = 0.0032, Cohen&#x27;s d = 1.256). A duplicate leakage check found no evidence that this improvement was inflated by synthetic data overlapping with the test set. These results suggest that LLM-generated synthetic data, produced without access to the real training data, can measurably increase subgroup F1 score in tabular classification, while also highlighting open questions about when and why this improvement does not occur.","abstract_has_math":false,"creators":["Perlich, Nicholas S"],"institution":null,"degree_name":"MS in Computer Science","degree_level":null,"degree_discipline":"Computer Science","degree_department":null,"school":null,"contributors":["Lubomir Stanchev","Computer Science","College of Engineering"],"advisors":[],"committee_chairs":[],"committee_members":[],"year":null,"date_issued":"","date_published":null,"updated_at":"2026-11-24T07:15:59Z","subjects":["Machine learning","LLM-augmented synthetic data","improving F1 score","Computer and Systems Architecture"],"languages":[],"rights":[],"rights_urls":[],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"https://digitalcommons.calpoly.edu/theses/3443","outbound_label":"Repository record","outbound_source":"dc:identifier","record_url":"https://digitalcommons.calpoly.edu/theses/3443","record_label":"Repository record","record_kind":"record","record_source":"dc:identifier","download_url":null,"download_label":null,"download_source":null,"access_status":null,"embargo_until":null,"access_note":null},"source_record":{"url":"https://digitalcommons.calpoly.edu/do/oai/?verb=GetRecord&metadataPrefix=oai_etdms&identifier=oai%3Adigitalcommons.calpoly.edu%3Atheses-5106","prefix":"oai_etdms"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor","label":"Contributor","values":["Lubomir Stanchev","Computer Science","College of Engineering"]},{"key":"dc:creator","label":"Author","values":["Perlich, Nicholas S"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.available","label":"Dc Date Available","values":["2026-11-12T08:00:00Z"]},{"key":"dc:date.created","label":"Dc Date Created","values":["2026-12-01T08:00:00Z"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Computer Science"]},{"key":"thesis:degree_name","label":"Degree Name","values":["MS in Computer Science"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Machine learning","LLM-augmented synthetic data","improving F1 score","Computer and Systems Architecture"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier","label":"Identifier","values":["https://digitalcommons.calpoly.edu/theses/3443"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["Classifiers trained on tabular data often predict worse for subgroups categorized by underrepresented values of a categorical input feature. This thesis presents a method for reducing this subgroup prediction quality disparity using synthetic data generated by prompting a large language model (LLM) with its pretrained domain knowledge alone. This is done without fine-tuning or real training samples. The only empirical statistic supplied in the prompt is the sample count of the subgroup for which synthetic samples are generated. For each dataset, categorical feature values that are both underrepresented and yield suboptimal F1 score are identified as candidates. Synthetic samples are generated for each candidate in varying amounts, and the amount yielding the highest F1 score on a validation set is selected. When that amount is non-zero, a final classifier retrained with the selected amount of synthetic samples is compared against a baseline on a held-out test set. Our approach was evaluated across twelve candidates identified across six publicly available tabular datasets spanning multiple domains. Ten candidates were assigned a non-zero synthetic sample amount and evaluated on the test set. Nine of these ten candidates saw an improvement in subgroup F1 score, with a statistically significant mean improvement at the candidate level (t = 3.971, p = 0.0032, Cohen's d = 1.256). A duplicate leakage check found no evidence that this improvement was inflated by synthetic data overlapping with the test set. These results suggest that LLM-generated synthetic data, produced without access to the real training data, can measurably increase subgroup F1 score in tabular classification, while also highlighting open questions about when and why this improvement does not occur."]},{"key":"dc:title","label":"Title","values":["Reducing F1 Score Disparity Across Imbalanced Categorical Feature Values via LLM-Generated Synthetic Data"]}]}],"canonical_facts":{"dc:contributor":["Lubomir Stanchev","Computer Science","College of Engineering"],"dc:creator":["Perlich, Nicholas S"],"dc:date.available":["2026-11-12T08:00:00Z"],"dc:date.created":["2026-12-01T08:00:00Z"],"dc:description.abstract":["Classifiers trained on tabular data often predict worse for subgroups categorized by underrepresented values of a categorical input feature. This thesis presents a method for reducing this subgroup prediction quality disparity using synthetic data generated by prompting a large language model (LLM) with its pretrained domain knowledge alone. This is done without fine-tuning or real training samples. The only empirical statistic supplied in the prompt is the sample count of the subgroup for which synthetic samples are generated. For each dataset, categorical feature values that are both underrepresented and yield suboptimal F1 score are identified as candidates. Synthetic samples are generated for each candidate in varying amounts, and the amount yielding the highest F1 score on a validation set is selected. When that amount is non-zero, a final classifier retrained with the selected amount of synthetic samples is compared against a baseline on a held-out test set. Our approach was evaluated across twelve candidates identified across six publicly available tabular datasets spanning multiple domains. Ten candidates were assigned a non-zero synthetic sample amount and evaluated on the test set. Nine of these ten candidates saw an improvement in subgroup F1 score, with a statistically significant mean improvement at the candidate level (t = 3.971, p = 0.0032, Cohen's d = 1.256). A duplicate leakage check found no evidence that this improvement was inflated by synthetic data overlapping with the test set. These results suggest that LLM-generated synthetic data, produced without access to the real training data, can measurably increase subgroup F1 score in tabular classification, while also highlighting open questions about when and why this improvement does not occur."],"dc:identifier":["https://digitalcommons.calpoly.edu/theses/3443"],"dc:subject":["Machine learning","LLM-augmented synthetic data","improving F1 score","Computer and Systems Architecture"],"dc:title":["Reducing F1 Score Disparity Across Imbalanced Categorical Feature Values via LLM-Generated Synthetic Data"],"thesis:degree_discipline":["Computer Science"],"thesis:degree_name":["MS in Computer Science"]},"updated_at":"2026-11-24T07:15:59Z"}