{"id":{"repo_id":"byu","oai_identifier":"oai:scholarsarchive.byu.edu:etd-12067"},"canonical_url":"https://search.ndltd.org/etd/byu/oai:scholarsarchive.byu.edu:etd-12067","repository":{"repo_id":"byu","name":"Brigham Young University","base_url":"https://scholarsarchive.byu.edu/do/oai/"},"display":{"title":"An Analysis of Large Language Model Hallucination and Creativity: Linear Representations and Causal Roles","abstract":"Large language models (LLMs) show remarkable abilities in both factual and creative tasks, yet the problem of hallucination persists despite advances in training and post-training methods. Recent progress in model interpretability suggests that model behavior can be predicted and influenced by analyzing and manipulating internal activations. In this thesis, we address three questions: (1) Can we identify linear representations of hallucination and creativity in the model’s latent space? (2) Do these representations play a causal role in model behavior when manipulated? (3) Are creativity and hallucination causally intertwined? To answer these, we construct a novel dataset of factual, hallucinated, and creative responses to Python package queries. We analyze the data using PCA and train logistic regression probes to test whether creative and hallucinatory activations are linearly separable. We further use mass-mean probes to extract semantic directions and apply additive and ablative interventions on activations to test causal effects. Our findings show that representations for creativity and hallucination are weakly correlated and largely independent. We also find that post-hoc analysis of generated tokens is more effective than predictive analysis for identifying hallucination representations. Finally, we show that synthetically constructed hallucination activations can serve as suitable proxies for genuine hallucinations when training classifier probes. These results advance our understanding of how LLMs encode and generate hallucinations, and they suggest new directions for interpretability methods that aim to detect and steer model behavior.","abstract_html":"Large language models (LLMs) show remarkable abilities in both factual and creative tasks, yet the problem of hallucination persists despite advances in training and post-training methods. Recent progress in model interpretability suggests that model behavior can be predicted and influenced by analyzing and manipulating internal activations. In this thesis, we address three questions: (1) Can we identify linear representations of hallucination and creativity in the model’s latent space? (2) Do these representations play a causal role in model behavior when manipulated? (3) Are creativity and hallucination causally intertwined? To answer these, we construct a novel dataset of factual, hallucinated, and creative responses to Python package queries. We analyze the data using PCA and train logistic regression probes to test whether creative and hallucinatory activations are linearly separable. We further use mass-mean probes to extract semantic directions and apply additive and ablative interventions on activations to test causal effects. Our findings show that representations for creativity and hallucination are weakly correlated and largely independent. We also find that post-hoc analysis of generated tokens is more effective than predictive analysis for identifying hallucination representations. Finally, we show that synthetically constructed hallucination activations can serve as suitable proxies for genuine hallucinations when training classifier probes. These results advance our understanding of how LLMs encode and generate hallucinations, and they suggest new directions for interpretability methods that aim to detect and steer model behavior.","abstract_has_math":false,"creators":["Bowcut, McKay"],"institution":null,"degree_name":"MS","degree_level":null,"degree_discipline":null,"degree_department":null,"school":null,"contributors":[],"advisors":[],"committee_chairs":[],"committee_members":[],"year":2025,"date_issued":"2025-11-07T08:00:00Z","date_published":"2025-11-07T08:00:00Z","updated_at":"2026-11-27T02:27:09Z","subjects":["computer","science","deep","learning","large","language","model","hallucination","Physical Sciences and Mathematics"],"languages":["english"],"rights":[],"rights_urls":["https://lib.byu.edu/about/copyright/"],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"https://scholarsarchive.byu.edu/etd/11056","outbound_label":"Repository record","outbound_source":"dc:identifier","record_url":"https://scholarsarchive.byu.edu/etd/11056","record_label":"Repository record","record_kind":"record","record_source":"dc:identifier","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%3Abyu%3Aoai%3Ascholarsarchive.byu.edu%3Aetd-12067","prefix":"oai_dc"},"source_record":{"url":"https://scholarsarchive.byu.edu/do/oai/?verb=GetRecord&metadataPrefix=oai_etdms&identifier=oai%3Ascholarsarchive.byu.edu%3Aetd-12067","prefix":"oai_etdms"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:creator","label":"Author","values":["Bowcut, McKay"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date","label":"Dc Date","values":["2025-11-07T08:00:00Z"]},{"key":"dc:type","label":"Dc Type","values":["Thesis"]},{"key":"thesis:degree_name","label":"Degree Name","values":["MS"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["computer","science","deep","learning","large","language","model","hallucination","Physical Sciences and Mathematics"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language","label":"Dc Language","values":["english"]},{"key":"dc:rights.license","label":"Dc Rights License","values":["https://lib.byu.edu/about/copyright/"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier","label":"Identifier","values":["https://scholarsarchive.byu.edu/etd/11056"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description","label":"Description","values":["Computational, Mathematical, and Physical Sciences","Computer Science"]},{"key":"dc:description.abstract","label":"Abstract","values":["Large language models (LLMs) show remarkable abilities in both factual and creative tasks, yet the problem of hallucination persists despite advances in training and post-training methods. Recent progress in model interpretability suggests that model behavior can be predicted and influenced by analyzing and manipulating internal activations. In this thesis, we address three questions: (1) Can we identify linear representations of hallucination and creativity in the model’s latent space? (2) Do these representations play a causal role in model behavior when manipulated? (3) Are creativity and hallucination causally intertwined? To answer these, we construct a novel dataset of factual, hallucinated, and creative responses to Python package queries. We analyze the data using PCA and train logistic regression probes to test whether creative and hallucinatory activations are linearly separable. We further use mass-mean probes to extract semantic directions and apply additive and ablative interventions on activations to test causal effects. Our findings show that representations for creativity and hallucination are weakly correlated and largely independent. We also find that post-hoc analysis of generated tokens is more effective than predictive analysis for identifying hallucination representations. Finally, we show that synthetically constructed hallucination activations can serve as suitable proxies for genuine hallucinations when training classifier probes. These results advance our understanding of how LLMs encode and generate hallucinations, and they suggest new directions for interpretability methods that aim to detect and steer model behavior."]},{"key":"dc:format","label":"Dc Format","values":["application:pdf"]},{"key":"dc:source","label":"Dc Source","values":["Brigham Young University"]},{"key":"dc:title","label":"Title","values":["An Analysis of Large Language Model Hallucination and Creativity: Linear Representations and Causal Roles"]}]}],"canonical_facts":{"dc:creator":["Bowcut, McKay"],"dc:date":["2025-11-07T08:00:00Z"],"dc:description":["Computational, Mathematical, and Physical Sciences","Computer Science"],"dc:description.abstract":["Large language models (LLMs) show remarkable abilities in both factual and creative tasks, yet the problem of hallucination persists despite advances in training and post-training methods. Recent progress in model interpretability suggests that model behavior can be predicted and influenced by analyzing and manipulating internal activations. In this thesis, we address three questions: (1) Can we identify linear representations of hallucination and creativity in the model’s latent space? (2) Do these representations play a causal role in model behavior when manipulated? (3) Are creativity and hallucination causally intertwined? To answer these, we construct a novel dataset of factual, hallucinated, and creative responses to Python package queries. We analyze the data using PCA and train logistic regression probes to test whether creative and hallucinatory activations are linearly separable. We further use mass-mean probes to extract semantic directions and apply additive and ablative interventions on activations to test causal effects. Our findings show that representations for creativity and hallucination are weakly correlated and largely independent. We also find that post-hoc analysis of generated tokens is more effective than predictive analysis for identifying hallucination representations. Finally, we show that synthetically constructed hallucination activations can serve as suitable proxies for genuine hallucinations when training classifier probes. These results advance our understanding of how LLMs encode and generate hallucinations, and they suggest new directions for interpretability methods that aim to detect and steer model behavior."],"dc:format":["application:pdf"],"dc:identifier":["https://scholarsarchive.byu.edu/etd/11056"],"dc:language":["english"],"dc:rights.license":["https://lib.byu.edu/about/copyright/"],"dc:source":["Brigham Young University"],"dc:subject":["computer","science","deep","learning","large","language","model","hallucination","Physical Sciences and Mathematics"],"dc:title":["An Analysis of Large Language Model Hallucination and Creativity: Linear Representations and Causal Roles"],"dc:type":["Thesis"],"thesis:degree_name":["MS"]},"updated_at":"2026-11-27T02:27:09Z"}