<?xml version="1.0" encoding="UTF-8"?>
<OAI-PMH xmlns="http://www.openarchives.org/OAI/2.0/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/ http://www.openarchives.org/OAI/2.0/OAI-PMH.xsd">
  <responseDate>2026-10-16T14:46:08Z</responseDate>
  <request verb="GetRecord" identifier="oai:lifeofresearch.com:5" metadataPrefix="oai_dc">https://lifeofresearch.com/oai2</request>
  <GetRecord>
    <record>
      <header>
        <identifier>oai:lifeofresearch.com:5</identifier>
        <datestamp>2026-09-22T17:33:35Z</datestamp>
        <setSpec>type:article</setSpec>
        <setSpec>openaire</setSpec>
      </header>
      <metadata>
        <oai_dc:dc xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/ http://www.openarchives.org/OAI/2.0/oai_dc.xsd">
        <dc:title>Sheaf-Theoretic Semantics and Quantum Contextuality in Large Language Models: A Unified Categorical Framework for Understanding Semantic Coherence and Hallucination Phenomena</dc:title>
        <dc:creator>Pranay Mahendrakar</dc:creator>
        <dc:description>Abstract
This paper introduces a novel theoretical framework for understanding semantic processing in Large Language
Models through the lens of sheaf theory and quantum contextuality. We propose that the semantic structure of
LLM-generated text can be rigorously modeled as a sheaf over the topological space of prompt contexts, where
local semantic sections may fail to glue into globally consistent interpretations. This mathematical formalization
reveals a deep structural parallel between LLM behavior and quantum mechanical systems exhibiting
contextuality, as characterized by the Kochen-Specker theorem. Our central thesis posits that hallucination
phenomena in LLMs arise fundamentally from cohomological obstructions to the existence of global semantic
sections, analogous to how quantum systems exhibit measurement outcomes that cannot be explained by preexisting hidden variables. We develop a complete categorical framework using topos-theoretic methods, introduce
formal definitions of semantic presheaves and their associated Grothendieck topologies, and demonstrate how
Cech cohomology groups can quantify the degree of semantic inconsistency in model outputs. This work bridges
abstract mathematics with practical AI interpretability, offering new diagnostic tools for understanding when and
why language models produce incoherent or factually inconsistent outputs.</dc:description>
        <dc:publisher>Life of Research</dc:publisher>
        <dc:date>2025-12-28</dc:date>
        <dc:type>info:eu-repo/semantics/article</dc:type>
        <dc:identifier>https://lifeofresearch.com/articles/5</dc:identifier>
        <dc:identifier>https://doi.org/10.5281/zenodo.18074071</dc:identifier>
        <dc:language>eng</dc:language>
        <dc:relation>https://lifeofresearch.com/articles/5/files/5/Sheaf-Theoretic%20Semantics%20and%20Quantum%20Contextuality%20in%20Large%20Language.pdf</dc:relation>
        <dc:format>application/pdf</dc:format>
        <dc:rights>https://creativecommons.org/licenses/by/4.0/</dc:rights>
        <dc:rights>info:eu-repo/semantics/openAccess</dc:rights>
        </oai_dc:dc>
      </metadata>
    </record>
  </GetRecord>
</OAI-PMH>