Date of Award
2026
Degree Name
Computer Science
College
College of Engineering and Computer Sciences
Type of Degree
M.S.
Document Type
Thesis
First Advisor
Dr. Ananya Jana
Second Advisor
Dr. Aniruddha Maiti
Third Advisor
Dr. David A. Dampier
Fourth Advisor
Dr. Ammar Alzarrad
Abstract
Large Language Models (LLMs) trained on different corpora have different latent knowledge about and assumptions toward any given region. User queries containing specific regional contexts that happen to correlate with more popular, and higher frequency knowledge can cause a model to default to information its more confident in, even for models that are pretrained on large representative corpora. To analyze this behavior, we outline a comprehensive analysis framework to investigate these model priors. Selecting West Virginia as an underrepresented locality, we distill the English Wikipedia into a preference pair dataset using a mix of string matching and LLM-as-a-judge approaches. Using these pairs for a Direct Preference Optimization (DPO) phase, we finetune four 7 billion parameter base model variants from architectures pretrained exclusively on open datasets. Organizing these pairs into five differing groups: Elicitation, Injection, Teacher Known, Ambiguity, and Counter, we are able to investigate each model’s capabilities for regional knowledge adaptation, acquisition, and ambiguity handling. Using the entities derived from our filtered corpus as a coverage proxy, we query the publicly available infini-gram API to find the exposure of these West Virginia entities in each model’s pretraining corpus. We construct custom evaluation sets containing regionally ambiguous and regionally grounded queries, linking each model’s pretraining corpus to its latent knowledge of and predisposition towards West Virginia.
Subject(s)
Computer science.
Natural language processing (Computer science)
Artificial intelligence.
Machine learning.
Neural networks (Computer science)
Data mining.
West Virginia.
Recommended Citation
Duckworth, Jace, "An analysis of pretraining priors and regional context adaptation in open-data language models" (2026). Theses, Dissertations and Capstones. 2174.
https://mds.marshall.edu/etd/2174
