{
 "paper": "humor-embeddings",
 "a": "2.2",
 "b": "4.0",
 "summary": "From v2.2 (23 Feb) to v4.0 (2 Jun): 11,541 words to 10,525 words, 2,063 words in new or rewritten paragraphs and 3,079 taken out, 198 paragraphs changed.",
 "note": {
  "title": "Renamed Humor Embeddings; prose rewritten in plainer words",
  "kind": "rename-or-merge",
  "body": "## Summary\n\nThe title becomes \"Humor Embeddings\". The ideas stay, but nearly every paragraph is reworded to be shorter and plainer, and the paper is about 1,000 words lighter. The central proposition is now called a conjecture, which is what it is until tested.\n\n- New paragraph answering the objection that language models can already be funny when prompted.\n- Related work on joke generation is split into template, statistical, neural and survey work.\n- The memory system it relies on is cited as Total Recall instead of ENGRAM.\n- The changelog at the top is removed.\n- A limitation on storing humor associations is replaced by one on multimodal humor.",
  "source": "change note"
 },
 "paragraphs_changed": 198,
 "changes": [
  {
   "section": "",
   "old": "> **Changelog v2.1 → v2.2 (2026-02-16).** Round Table Round 3 fixes: (1) Added recommended threshold ranges for τ_v and τ_σ in Definition 2 (Humor Zone) with calibration guidance. (2) Added engineering-defaults caveat to staleness model parameters (§8.3), consistent with §3.5 callback treatment. (3) Added end-to-end computational complexity summary for h_v2 evaluation (§9.5).",
   "new": null,
   "marked": "[-> **Changelog v2.1 → v2.2 (2026-02-16).** Round Table Round 3 fixes: (1) Added recommended threshold ranges for τ_v and τ_σ in Definition 2 (Humor Zone) with calibration guidance. (2) Added engineering-defaults caveat to staleness model parameters (§8.3), consistent with §3.5 callback treatment. (3) Added end-to-end computational complexity summary for h_v2 evaluation (§9.5).-]"
  },
  {
   "section": "",
   "old": "> **Changelog v2.0 → v2.1 (2026-02-16).** Round Table Round 2 fixes: (1) Fixed duplicate §7.1.2 numbering (second instance → §7.1.3). (2) Added forward-reference note in Definition 2 (Humor Zone) pointing to Definition 3 for $v$ and $\\sigma$. (3) Cited Ritchie (2004) in §1.4 (was dangling reference). (4) Added $k$-sensitivity analysis to surprise function (§7.1.1). (5) Clarified callback bonus parameter sourcing as engineering defaults, not empirical measurements (§3.5). (6) Specified context vector computation for embedding arithmetic (§6.2). (7) Added infrastructure assumptions to pipeline latency estimates (§6.7).",
   "new": null,
   "marked": "[-> **Changelog v2.0 → v2.1 (2026-02-16).** Round Table Round 2 fixes: (1) Fixed duplicate §7.1.2 numbering (second instance → §7.1.3). (2) Added forward-reference note in Definition 2 (Humor Zone) pointing to Definition 3 for $v$ and $\\sigma$. (3) Cited Ritchie (2004) in §1.4 (was dangling reference). (4) Added $k$-sensitivity analysis to surprise function (§7.1.1). (5) Clarified callback bonus parameter sourcing as engineering defaults, not empirical measurements (§3.5). (6) Specified context vector computation for embedding arithmetic (§6.2). (7) Added infrastructure assumptions to pipeline latency estimates (§6.7).-]"
  },
  {
   "section": "",
   "old": "> **Changelog v1.0 → v2.0 (2026-02-16).** Major revision targeting publication readiness via Round Table consensus (PG, PGem, 2026-02-16). Key changes: (1) **Strengthened formalism**: formalized the memory-humor correspondence as a proposition (§1.2); justified the multiplicative functional form via Suls' two-stage model (§3.2); added formal definitions of the humor zone (Def. 3), bridge quality (Def. 4), and properties of $h$ (Prop. 2); justified the surprise metric as a tractable approximation to information-theoretic surprise (§7.1.1). (2) **Expanded related work** from 24 to 37 references, adding Hurley et al. (2011), Coulson (2001), Kao et al. (2016), Martin (2007), and 9 others. (3) **Clarified pilot study**: $n = 15$ concept triplets (not participants); defined all formula variants (v1–v4) as systematic exploration. (4) **Strengthened validation protocol** with formal power analysis ($N \\geq 64$, Cohen's $r = 0.35$), inter-rater reliability target (Krippendorff's $\\alpha \\geq 0.667$), Latin square stimulus presentation, and cross-embedding-model ablation. (5) **Added embedding model requirements** subsection (§9.2). (6) **Renumbered patterns** 1–12 sequentially within meta-categories. (7) **Updated companion paper cross-references** to ENGRAM, CORTEX, SYNAPSE consistently.",
   "new": null,
   "marked": "[-> **Changelog v1.0 → v2.0 (2026-02-16).** Major revision targeting publication readiness via Round Table consensus (PG, PGem, 2026-02-16). Key changes: (1) **Strengthened formalism**: formalized the memory-humor correspondence as a proposition (§1.2); justified the multiplicative functional form via Suls' two-stage model (§3.2); added formal definitions of the humor zone (Def. 3), bridge quality (Def. 4), and properties of $h$ (Prop. 2); justified the surprise metric as a tractable approximation to information-theoretic surprise (§7.1.1). (2) **Expanded related work** from 24 to 37 references, adding Hurley et al. (2011), Coulson (2001), Kao et al. (2016), Martin (2007), and 9 others. (3) **Clarified pilot study**: $n = 15$ concept triplets (not participants); defined all formula variants (v1–v4) as systematic exploration. (4) **Strengthened validation protocol** with formal power analysis ($N \\geq 64$, Cohen's $r = 0.35$), inter-rater reliability target (Krippendorff's $\\alpha \\geq 0.667$), Latin square stimulus presentation, and cross-embedding-model ablation. (5) **Added embedding model requirements** subsection (§9.2). (6) **Renumbered patterns** 1–12 sequentially within meta-categories. (7) **Updated companion paper cross-references** to ENGRAM, CORTEX, SYNAPSE consistently.-]"
  },
  {
   "section": "1.1 Motivation",
   "old": "Despite remarkable advances in natural language generation, artificial humor remains a largely unsolved problem. Large language models (LLMs) produce text that is syntactically well-formed and semantically coherent, yet rarely genuinely funny. We argue that this failure is not incidental but structural: language models are trained to maximize token-level likelihood, while humor requires *low-probability completions constrained by high coherence* — precisely the opposite of the training objective (Winters et al., 2021). Hurley, Dennett, and Adams (2011) propose that humor evolved as a reward signal for detecting errors in mental models — a \"debugging of belief structures\" — suggesting that humor is fundamentally computational, not merely linguistic.",
   "new": "Despite remarkable advances in natural language generation, artificial humor remains largely unsolved. Large language models (LLMs) produce text that is syntactically fluent and semantically coherent, yet they rarely produce something genuinely funny in a way they can explain, calibrate, or systematically improve. We argue that this is not incidental but structural: language models are trained to maximize token-level likelihood, whereas humor often depends on _low-probability completions constrained by high coherence_ (Winters et al., 2021). Hurley, Dennett, and Adams (2011) go further, proposing that humor evolved as a reward signal for catching errors in mental models—a form of \"debugging of belief structures.\" On that view, humor is computational before it is merely linguistic.",
   "marked": "Despite remarkable advances in natural language generation, artificial humor remains [-a-] largely [-unsolved problem.-] {+unsolved.+} Large language models (LLMs) produce text that is syntactically [-well-formed-] {+fluent+} and semantically coherent, yet {+they+} rarely {+produce something+} genuinely [-funny.-] {+funny in a way they can explain, calibrate, or systematically improve.+} We argue that this [-failure-] is not incidental but structural: language models are trained to maximize token-level likelihood, [-while-] {+whereas+} humor [-requires *low-probability-] {+often depends on _low-probability+} completions constrained by high [-coherence* — precisely the opposite of the training objective-] {+coherence_+} (Winters et al., 2021). Hurley, Dennett, and Adams (2011) [-propose-] {+go further, proposing+} that humor evolved as a reward signal for [-detecting-] {+catching+} errors in mental [-models — a-] {+models—a form of+} \"debugging of belief [-structures\" — suggesting-] {+structures.\" On+} that {+view,+} humor is [-fundamentally computational, not-] {+computational before it is+} merely linguistic."
  },
  {
   "section": "1.1 Motivation",
   "old": null,
   "new": "A natural objection is that modern LLMs _can_ be funny when prompted. This is true, but it is funny in the way a well-read conversationalist is funny: through pattern recall, not through a mechanism the system can introspect on, calibrate per audience, or improve through structured feedback. Prompt-based humor offers no scoring function, no audience model, no explanation of _why_ a joke works, and no systematic way to avoid repetition. Our framework addresses that gap: it provides the scoring, calibration, and generative machinery that turns incidental wit into a controllable capability.",
   "marked": "{+A natural objection is that modern LLMs _can_ be funny when prompted. This is true, but it is funny in the way a well-read conversationalist is funny: through pattern recall, not through a mechanism the system can introspect on, calibrate per audience, or improve through structured feedback. Prompt-based humor offers no scoring function, no audience model, no explanation of _why_ a joke works, and no systematic way to avoid repetition. Our framework addresses that gap: it provides the scoring, calibration, and generative machinery that turns incidental wit into a controllable capability.+}"
  },
  {
   "section": "1.1 Motivation",
   "old": "This observation points toward a deeper question: what computational mechanism could *generate* humor rather than merely *classify* it? Existing approaches fall into three categories: rule-based template systems (Binsted & Ritchie, 1994), corpus-driven classifiers (Weller & Seppi, 2019; Tian et al., 2022), and fine-tuned language models (Luo et al., 2019). None provides a generalizable, theory-grounded, generative framework that operates without humor-specific training data.",
   "new": "This reframes the problem. What mechanism could _generate_ humor in a principled, explainable, audience-adaptive way? Existing approaches cluster into three broad families: rule-based template systems (Binsted & Ritchie, 1994), corpus-driven classifiers (Weller & Seppi, 2019; Tian et al., 2022), and fine-tuned language models (Luo et al., 2019). Each captures part of the phenomenon. None offers a general, theory-grounded, generative framework that works without humor-specific training data while providing interpretable scoring.",
   "marked": "This [-observation points toward a deeper question: what computational-] {+reframes the problem. What+} mechanism could [-*generate*-] {+_generate_+} humor [-rather than merely *classify* it?-] {+in a principled, explainable, audience-adaptive way?+} Existing approaches [-fall-] {+cluster+} into three [-categories:-] {+broad families:+} rule-based template systems (Binsted & Ritchie, 1994), corpus-driven classifiers (Weller & Seppi, 2019; Tian et al., 2022), and fine-tuned language models (Luo et al., 2019). {+Each captures part of the phenomenon.+} None [-provides-] {+offers+} a [-generalizable,-] {+general,+} theory-grounded, generative framework that [-operates-] {+works+} without humor-specific training [-data.-] {+data while providing interpretable scoring.+}"
  },
  {
   "section": "1.2 The Memory-Humor Correspondence",
   "old": "Our central insight emerges from an unexpected source: the infrastructure of semantic memory retrieval. Modern AI agents use vector embeddings to retrieve semantically relevant memories — querying an embedding index for vectors *close* to a query vector. We observe that humor generation requires the *same* infrastructure with an *inverted* search strategy: instead of seeking proximity, humor seeks calibrated distance bridged by unexpected coherence.",
   "new": "Our central insight draws from semantic memory retrieval. Modern AI agents use vector embeddings to retrieve relevant memories by searching for vectors _close_ to a query vector. We claim that humor generation uses the _same_ machinery with an _inverted_ objective: instead of seeking proximity, it seeks the right degree of distance, provided that distance can be spanned by an unexpectedly coherent bridge.",
   "marked": "Our central insight [-emerges-] {+draws+} from [-an unexpected source: the infrastructure of-] semantic memory retrieval. Modern AI agents use vector embeddings to retrieve [-semantically-] relevant memories [-— querying an embedding index-] {+by searching+} for vectors [-*close*-] {+_close_+} to a query vector. We [-observe-] {+claim+} that humor generation [-requires-] {+uses+} the [-*same* infrastructure-] {+_same_ machinery+} with an [-*inverted* search strategy:-] {+_inverted_ objective:+} instead of seeking proximity, [-humor-] {+it+} seeks [-calibrated-] {+the right degree of distance, provided that+} distance [-bridged-] {+can be spanned+} by [-unexpected coherence.-] {+an unexpectedly coherent bridge.+}"
  },
  {
   "section": "1.2 The Memory-Humor Correspondence",
   "old": null,
   "new": "Humor is not a special database of canned punchlines. It is the reuse of the same embedding infrastructure that supports reasoning and memory, but under a different optimization target. Memory asks, \"What is most semantically similar to this?\" Humor asks, \"What is far enough away to be surprising, yet still connectable in a way that suddenly makes sense?\" If this claim holds, then humor can become a native capability of agents rather than a bolted-on style layer.",
   "marked": "{+Humor is not a special database of canned punchlines. It is the reuse of the same embedding infrastructure that supports reasoning and memory, but under a different optimization target. Memory asks, \"What is most semantically similar to this?\" Humor asks, \"What is far enough away to be surprising, yet still connectable in a way that suddenly makes sense?\" If this claim holds, then humor can become a native capability of agents rather than a bolted-on style layer.+}"
  },
  {
   "section": "1.2 The Memory-Humor Correspondence",
   "old": "**Proposition 1 (Inverted Optimization).** Memory retrieval and humor generation are operations on the same embedding index with inverted optimization objectives. Formally, if memory solves $\\min_e d(q, e)$, humor solves a constrained problem:",
   "new": "**Conjecture 1 (Inverted Optimization).** Memory retrieval and humor generation are operations on the same embedding index with inverted optimization objectives. Formally, if memory solves $\\min_e d(q, e)$, humor solves a constrained problem:",
   "marked": "[-**Proposition-] {+**Conjecture+} 1 (Inverted Optimization).** Memory retrieval and humor generation are operations on the same embedding index with inverted optimization objectives. Formally, if memory solves $\\min_e d(q, e)$, humor solves a constrained problem:"
  },
  {
   "section": "1.2 The Memory-Humor Correspondence",
   "old": "This correspondence is more than an analogy: it implies that any system equipped with a semantic embedding index already possesses the infrastructure for humor generation. The creative challenge reduces to *inverting the retrieval objective* and *discovering bridge concepts*.",
   "new": null,
   "marked": "[-This correspondence is more than an analogy: it implies that any system equipped with a semantic embedding index already possesses the infrastructure for humor generation. The creative challenge reduces to *inverting the retrieval objective* and *discovering bridge concepts*.-]"
  },
  {
   "section": "1.2 The Memory-Humor Correspondence",
   "old": "**Status.** Proposition 1 is a conjecture. It holds by construction for the operations as defined; the empirical question is whether the resulting humor potential function correlates with human judgments of funniness. We provide protocols for testing this in Section 7.2.",
   "new": "The conjecture holds trivially for the operations as _defined_; the non-trivial empirical question is whether the resulting humor potential function correlates with human judgments of funniness. Section 7.2 provides protocols for testing this.",
   "marked": "[-**Status.** Proposition 1 is a conjecture. It-] {+The conjecture+} holds [-by construction-] {+trivially+} for the operations as [-defined;-] {+_defined_;+} the {+non-trivial+} empirical question is whether the resulting humor potential function correlates with human judgments of funniness. [-We provide-] {+Section 7.2 provides+} protocols for testing [-this in Section 7.2.-] {+this.+}"
  },
  {
   "section": "1.3 Contributions",
   "old": "3. **Humor pattern taxonomy** (Section 4): We identify 12 humor-generating semantic patterns, organized into five meta-categories, each defined as a specific embedding space operation, derived from the intersection of GTVH Knowledge Resources and embedding-space operation types.",
   "new": "3. **Humor pattern taxonomy** (Section 4): We identify 12 humor-generating semantic patterns, organized into five meta-categories, each defined as a specific embedding-space operation, derived from the intersection of GTVH Knowledge Resources and embedding-space operation types.",
   "marked": "3. **Humor pattern taxonomy** (Section 4): We identify 12 humor-generating semantic patterns, organized into five meta-categories, each defined as a specific [-embedding space-] {+embedding-space+} operation, derived from the intersection of GTVH Knowledge Resources and embedding-space operation types."
  },
  {
   "section": "1.3 Contributions",
   "old": "5. **Humor as agent memory** (Section 8): We propose humor associations as a first-class relationship type in agent memory architectures (connecting to the ENGRAM substrate; Serra, 2026a), enabling personalized humor calibration through reinforcement.",
   "new": "5. **Humor as agent memory** (Section 8): We propose humor associations as a first-class relationship type in agent memory architectures (connecting to the Total Recall substrate; Serra, 2026a), enabling personalized humor calibration through reinforcement.",
   "marked": "5. **Humor as agent memory** (Section 8): We propose humor associations as a first-class relationship type in agent memory architectures (connecting to the [-ENGRAM-] {+Total Recall+} substrate; Serra, 2026a), enabling personalized humor calibration through reinforcement."
  },
  {
   "section": "1.4 Historical Context",
   "old": "Arthur Koestler (1964) described **bisociation** as the simultaneous mental association of an idea with two habitually incompatible frames of reference. Unlike ordinary association (connecting within a single frame), bisociation connects *across* frames — producing the cognitive surprise that underlies humor, scientific discovery, and artistic creation. Coulson (2001) provided psycholinguistic evidence for this frame-shifting mechanism through her analysis of \"semantic leaps\" in joke comprehension, showing that humor processing involves rapid re-mapping of conceptual spaces. Ritchie (2004) further systematized the linguistic analysis of joke structure, identifying formal patterns in how incongruity is set up and resolved — patterns that inform our taxonomy (Section 4). We argue that bisociation is precisely a geometric operation in embedding space: finding two concepts with high vector distance but connected by a coherent bridge concept.",
   "new": "Arthur Koestler (1964) described **bisociation** as the simultaneous mental association of an idea with two habitually incompatible frames of reference. Unlike ordinary association, which connects within a single frame, bisociation connects _across_ frames and produces the cognitive jolt that underlies humor, scientific discovery, and artistic creation. Coulson (2001) provided psycholinguistic evidence for this frame-shifting mechanism through her analysis of \"semantic leaps\" in joke comprehension, showing that humor processing involves rapid re-mapping of conceptual spaces. Ritchie (2004) further systematized the linguistic analysis of joke structure, identifying formal patterns in how incongruity is set up and resolved—patterns that inform our taxonomy (Section 4). We argue that bisociation can be rendered computationally as a geometric operation in embedding space: find two concepts with high vector distance, then identify a bridge that makes the leap feel not random but suddenly apt.",
   "marked": "Arthur Koestler (1964) described **bisociation** as the simultaneous mental association of an idea with two habitually incompatible frames of reference. Unlike ordinary [-association (connecting-] {+association, which connects+} within a single [-frame),-] {+frame,+} bisociation connects [-*across*-] {+_across_+} frames [-— producing-] {+and produces+} the cognitive [-surprise-] {+jolt+} that underlies humor, scientific discovery, and artistic creation. Coulson (2001) provided psycholinguistic evidence for this frame-shifting mechanism through her analysis of \"semantic leaps\" in joke comprehension, showing that humor processing involves rapid re-mapping of conceptual spaces. Ritchie (2004) further systematized the linguistic analysis of joke structure, identifying formal patterns in how incongruity is set up and [-resolved — patterns-] {+resolved—patterns+} that inform our taxonomy (Section 4). We argue that bisociation [-is precisely-] {+can be rendered computationally as+} a geometric operation in embedding space: [-finding-] {+find+} two concepts with high vector [-distance-] {+distance, then identify a bridge that makes the leap feel not random+} but [-connected by a coherent bridge concept.-] {+suddenly apt.+}"
  },
  {
   "section": "1.5 Paper Organization",
   "old": "Section 2 reviews related work in computational humor, humor theory, and embedding-space operations. Section 3 formalizes the humor potential function with formal definitions and properties. Section 4 presents the 12-pattern taxonomy. Section 5 addresses ethical constraints. Section 6 describes bridge discovery algorithms. Section 7 presents empirical methodology, pilot results, and the proposed full validation protocol with power analysis. Section 8 proposes humor associations as a memory type, connecting to the ENGRAM and CORTEX companion papers. Section 9 discusses limitations. Section 10 concludes.",
   "new": "Section 2 reviews related work. Section 3 formalizes the humor potential function. Section 4 presents the 12-pattern taxonomy. Section 5 addresses ethical constraints. Section 6 describes bridge discovery algorithms. Section 7 presents empirical methodology, pilot results, and the proposed full validation protocol. Section 8 proposes humor associations as a memory type. Section 9 discusses limitations. Section 10 concludes.",
   "marked": "Section 2 reviews related [-work in computational humor, humor theory, and embedding-space operations.-] {+work.+} Section 3 formalizes the humor potential [-function with formal definitions and properties.-] {+function.+} Section 4 presents the 12-pattern taxonomy. Section 5 addresses ethical constraints. Section 6 describes bridge discovery algorithms. Section 7 presents empirical methodology, pilot results, and the proposed full validation [-protocol with power analysis.-] {+protocol.+} Section 8 proposes humor associations as a memory [-type, connecting to the ENGRAM and CORTEX companion papers.-] {+type.+} Section 9 discusses limitations. Section 10 concludes."
  },
  {
   "section": "2. Related Work",
   "old": "Computational humor has been studied from linguistic, psychological, and computational perspectives. We review the most relevant work, positioning our framework relative to the dominant theories.",
   "new": "Computational humor has been studied from linguistic, psychological, and computational perspectives. We review the most relevant work and position our framework relative to the dominant theories.",
   "marked": "Computational humor has been studied from linguistic, psychological, and computational perspectives. We review the most relevant [-work, positioning-] {+work and position+} our framework relative to the dominant theories."
  },
  {
   "section": "2.1 Linguistic Humor Theories",
   "old": "**Incongruity-Resolution.** Suls (1972) proposed that humor arises from perceiving an incongruity followed by its resolution — the listener encounters an unexpected element, then discovers a cognitive rule that resolves the incongruity. This two-stage model is critical to our framework: the multiplicative structure of $h$ (Section 3.2) directly operationalizes the requirement that *both* stages must succeed for humor to arise.",
   "new": "**Incongruity-Resolution.** Suls (1972) proposed that humor arises from perceiving an incongruity and then resolving it. The listener encounters something unexpected, then discovers the cognitive rule that makes it fit. This two-stage account is foundational for our framework: the multiplicative structure of $h$ (Section 3.2) operationalizes the claim that _both_ stages must succeed for humor to occur.",
   "marked": "**Incongruity-Resolution.** Suls (1972) proposed that humor arises from perceiving an incongruity [-followed by its resolution — the-] {+and then resolving it. The+} listener encounters [-an unexpected element,-] {+something unexpected,+} then discovers [-a-] {+the+} cognitive rule that [-resolves the incongruity.-] {+makes it fit.+} This two-stage [-model-] {+account+} is [-critical to-] {+foundational for+} our framework: the multiplicative structure of $h$ (Section 3.2) [-directly-] operationalizes the [-requirement-] {+claim+} that [-*both*-] {+_both_+} stages must succeed for humor to [-arise.-] {+occur.+}"
  },
  {
   "section": "2.1 Linguistic Humor Theories",
   "old": "**Script-Based Semantic Theory and GTVH.** Raskin (1985) formalized humor as the overlap of two incompatible *scripts* (structured semantic representations of situations). Attardo and Raskin (1991) extended this into the General Theory of Verbal Humor (GTVH), identifying six Knowledge Resources (KRs) that characterize jokes: Script Opposition (SO), Logical Mechanism (LM), Situation (SI), Target (TA), Narrative Strategy (NS), and Language (LA). Our framework maps most directly to SO and LM: bisociation between distant embedding regions corresponds to script opposition, and the bridge concept provides the logical mechanism connecting them. Our contribution relative to GTVH is operational — we provide a *computable* function where GTVH provides a descriptive taxonomy.",
   "new": "**Script-Based Semantic Theory and GTVH.** Raskin (1985) formalized humor as the overlap of two incompatible _scripts_—structured semantic representations of situations. Attardo and Raskin (1991) extended this into the General Theory of Verbal Humor (GTVH), identifying six Knowledge Resources (KRs): Script Opposition (SO), Logical Mechanism (LM), Situation (SI), Target (TA), Narrative Strategy (NS), and Language (LA). Our framework maps most directly to SO and LM: bisociation between distant embedding regions corresponds to script opposition, while the bridge concept functions as the logical mechanism. Relative to GTVH, our contribution is operational rather than descriptive: we provide a _computable_ function where GTVH provides a taxonomy.",
   "marked": "**Script-Based Semantic Theory and GTVH.** Raskin (1985) formalized humor as the overlap of two incompatible [-*scripts* (structured-] {+_scripts_—structured+} semantic representations of [-situations).-] {+situations.+} Attardo and Raskin (1991) extended this into the General Theory of Verbal Humor (GTVH), identifying six Knowledge Resources [-(KRs) that characterize jokes:-] {+(KRs):+} Script Opposition (SO), Logical Mechanism (LM), Situation (SI), Target (TA), Narrative Strategy (NS), and Language (LA). Our framework maps most directly to SO and LM: bisociation between distant embedding regions corresponds to script opposition, [-and-] {+while+} the bridge concept [-provides-] {+functions as+} the logical [-mechanism connecting them. Our-] {+mechanism. Relative to GTVH, our+} contribution [-relative to GTVH-] is operational [-—-] {+rather than descriptive:+} we provide a [-*computable*-] {+_computable_+} function where GTVH provides a [-descriptive-] taxonomy."
  },
  {
   "section": "2.1 Linguistic Humor Theories",
   "old": "**Benign Violation Theory.** McGraw and Warren (2010) proposed that humor arises when a situation is simultaneously perceived as a violation (something wrong, threatening, or unexpected) and as benign (safe, acceptable, or playful). This maps naturally to our framework: the distance component $d(A, B)$ measures violation intensity, while bridge coherence measures the \"benign\" reinterpretation that makes the violation acceptable. The sensitivity gate (Section 5) operationalizes the boundary where violations cease to be benign.",
   "new": "**Benign Violation Theory.** McGraw and Warren (2010) proposed that humor arises when a situation is simultaneously perceived as a violation and as benign. This maps naturally to our framework: distance captures violation intensity, while bridge coherence captures the reinterpretation that renders the violation benign. The sensitivity gate (Section 5) operationalizes the boundary where violations stop being benign.",
   "marked": "**Benign Violation Theory.** McGraw and Warren (2010) proposed that humor arises when a situation is simultaneously perceived as a violation [-(something wrong, threatening, or unexpected)-] and as [-benign (safe, acceptable, or playful).-] {+benign.+} This maps naturally to our framework: [-the-] distance [-component $d(A, B)$ measures-] {+captures+} violation intensity, while bridge coherence [-measures-] {+captures+} the [-\"benign\"-] reinterpretation that [-makes-] {+renders+} the violation [-acceptable.-] {+benign.+} The sensitivity gate (Section 5) operationalizes the boundary where violations [-cease to be-] {+stop being+} benign."
  },
  {
   "section": "2.1 Linguistic Humor Theories",
   "old": "**Inside Jokes Theory.** Hurley, Dennett, and Adams (2011) argue that humor evolved as a reward signal for detecting committed belief errors — a \"just-in-time debugging\" mechanism for mental models. Their computational framing is directly relevant: if humor rewards the detection of expectation violations, then our surprise component $\\sigma(\\beta \\mid A, B)$ can be understood as quantifying the magnitude of the \"debugging reward\" — higher surprise indicates a more significant expectation violation that was nevertheless resolved coherently.",
   "new": "**Inside Jokes Theory.** Hurley, Dennett, and Adams (2011) argue that humor evolved as a reward signal for detecting committed belief errors—\"just-in-time debugging\" for mental models. If humor rewards the discovery of expectation violations, then our surprise component $\\sigma(\\beta \\mid A, B)$ can be read as the magnitude of that debugging reward: higher surprise marks a larger expectation violation that nevertheless resolves coherently.",
   "marked": "**Inside Jokes Theory.** Hurley, Dennett, and Adams (2011) argue that humor evolved as a reward signal for detecting committed belief [-errors — a \"just-in-time-] {+errors—\"just-in-time+} debugging\" [-mechanism-] for mental models. [-Their computational framing is directly relevant: if-] {+If+} humor rewards the [-detection-] {+discovery+} of expectation violations, then our surprise component $\\sigma(\\beta \\mid A, B)$ can be [-understood-] {+read+} as [-quantifying-] the magnitude of [-the \"debugging reward\" —-] {+that debugging reward:+} higher surprise [-indicates-] {+marks+} a [-more significant-] {+larger+} expectation violation that [-was-] nevertheless [-resolved-] {+resolves+} coherently."
  },
  {
   "section": "2.1 Linguistic Humor Theories",
   "old": "**Bisociation.** Koestler (1964) described bisociation as the creative act of connecting two habitually incompatible frames. Dubitzky et al. (2012) explored bisociation in data mining for knowledge discovery. Pereira et al. (2019) implemented bisociative concept blending for computational creativity, the work closest to ours, though they did not formalize the operation in embedding space or provide a computable scoring function.",
   "new": "**Bisociation.** Koestler (1964) described bisociation as the creative act of connecting two habitually incompatible frames. Dubitzky et al. (2012) explored bisociation in data mining for knowledge discovery. Pereira et al. (2019) implemented bisociative concept blending for computational creativity—the work closest to ours—though they did not formalize the operation in embedding space or provide a computable scoring function.",
   "marked": "**Bisociation.** Koestler (1964) described bisociation as the creative act of connecting two habitually incompatible frames. Dubitzky et al. (2012) explored bisociation in data mining for knowledge discovery. Pereira et al. (2019) implemented bisociative concept blending for computational [-creativity, the-] {+creativity—the+} work closest to [-ours, though-] {+ours—though+} they did not formalize the operation in embedding space or provide a computable scoring function."
  },
  {
   "section": "2.1 Linguistic Humor Theories",
   "old": "**Semantic Leaps.** Coulson (2001) provided psycholinguistic evidence that joke comprehension involves rapid \"semantic leaps\" — frame shifts that re-map conceptual structure. Her experimental work using ERPs (N400 component) showed that joke punchlines elicit different neural signatures than non-humorous incongruities, supporting the view that humor involves a specific *type* of frame shift, not merely any incongruity. Our bridge concept operationalizes Coulson's semantic leap as a vector in embedding space that connects two distant frames.",
   "new": "**Semantic Leaps.** Coulson (2001) provided psycholinguistic evidence that joke comprehension involves rapid \"semantic leaps\"—frame shifts that re-map conceptual structure. Her ERP work (N400) showed that joke punchlines elicit neural signatures distinct from non-humorous incongruities, supporting the view that humor involves a specific _kind_ of frame shift, not just any mismatch.",
   "marked": "**Semantic Leaps.** Coulson (2001) provided psycholinguistic evidence that joke comprehension involves rapid \"semantic [-leaps\" — frame-] {+leaps\"—frame+} shifts that re-map conceptual structure. Her [-experimental-] {+ERP+} work [-using ERPs (N400 component)-] {+(N400)+} showed that joke punchlines elicit [-different-] neural signatures [-than-] {+distinct from+} non-humorous incongruities, supporting the view that humor involves a specific [-*type*-] {+_kind_+} of frame shift, not [-merely-] {+just+} any [-incongruity. Our bridge concept operationalizes Coulson's semantic leap as a vector in embedding space that connects two distant frames.-] {+mismatch.+}"
  },
  {
   "section": "2.2 Computational Humor Recognition",
   "old": "Humor recognition — classifying text as humorous or not — has received substantial attention. Yang et al. (2015) used Word2Vec features for humor recognition in Yelp reviews. Bertero and Fung (2016) applied CNNs and RNNs to humor in conversational data, achieving 0.69 F1 on Switchboard. Chen and Soo (2018) employed attention-based neural networks. Weller and Seppi (2019) applied transformer architectures, demonstrating that pre-trained language representations capture humor-relevant features. Hossain et al. (2019) introduced the SemEval shared task on humor detection, establishing benchmark datasets. Tian et al. (2022) provide a comprehensive survey of humor recognition methods, categorizing approaches by feature type and noting the persistent challenge of capturing the incongruity-resolution dynamic that our framework addresses directly. These approaches are *passive* — they classify existing humor rather than generate it. Our framework is *generative*: it produces novel humorous combinations from arbitrary concept pairs.",
   "new": "Humor recognition—classifying text as humorous or not—has received substantial attention. Yang et al. (2015) used Word2Vec features for humor recognition in Yelp reviews. Bertero and Fung (2016) applied CNNs and RNNs to humor in conversational data, achieving 0.69 F1 on Switchboard. Chen and Soo (2018) employed attention-based neural networks. Weller and Seppi (2019) applied transformer architectures, demonstrating that pre-trained representations capture humor-relevant features. Hossain et al. (2019) introduced the SemEval shared task on humor detection, establishing benchmark datasets. Tian et al. (2022) provide a comprehensive survey, emphasizing the persistent challenge of capturing incongruity-resolution dynamics. These approaches are _passive_: they classify existing humor. Our framework is _generative_: it aims to produce novel humorous combinations.",
   "marked": "Humor [-recognition — classifying-] {+recognition—classifying+} text as humorous or [-not — has-] {+not—has+} received substantial attention. Yang et al. (2015) used Word2Vec features for humor recognition in Yelp reviews. Bertero and Fung (2016) applied CNNs and RNNs to humor in conversational data, achieving 0.69 F1 on Switchboard. Chen and Soo (2018) employed attention-based neural networks. Weller and Seppi (2019) applied transformer architectures, demonstrating that pre-trained [-language-] representations capture humor-relevant features. Hossain et al. (2019) introduced the SemEval shared task on humor detection, establishing benchmark datasets. Tian et al. (2022) provide a comprehensive [-survey of humor recognition methods, categorizing approaches by feature type and noting-] {+survey, emphasizing+} the persistent challenge of capturing [-the-] incongruity-resolution [-dynamic that our framework addresses directly.-] {+dynamics.+} These approaches are [-*passive* —-] {+_passive_:+} they classify existing [-humor rather than generate it.-] {+humor.+} Our framework is [-*generative*:-] {+_generative_:+} it [-produces-] {+aims to produce+} novel humorous [-combinations from arbitrary concept pairs.-] {+combinations.+}"
  },
  {
   "section": "2.3 Computational Humor Generation",
   "old": "Template-based systems have generated specific humor subtypes: JAPE produced punning riddles (Binsted & Ritchie, 1994), HAHAcronym generated humorous acronyms (Stock & Strapparava, 2003). Petrović and Matthews (2013) demonstrated unsupervised joke generation using large corpora and simple statistical models, showing that humor generation need not require labeled data — a finding that supports our training-data-free approach. Yu et al. (2018) developed neural pun generation, and He et al. (2019) introduced surprise-based objectives for pun generation, directly connecting computational surprise to humor quality — a precursor to our surprise component in $h_{\\text{v2}}$. Luo et al. (2019) used GPT-2 fine-tuning for joke completion. More recently, Amin and Burghardt (2020) surveyed computational humor generation approaches, identifying the gap between template-based systems (narrow but controllable) and neural systems (broad but uncontrollable). Winters et al. (2021) examined machine learning approaches to humor, noting the difficulty of evaluating generated humor. Kao et al. (2016) developed a Bayesian model of verbal humor that formalizes the tension between ambiguity and distinctiveness in joke interpretation — their probabilistic framework complements our geometric one, with their \"distinctiveness\" mapping to our surprise and their \"ambiguity\" mapping to our bridge concept. West and Horvitz (2019) demonstrated computational approaches to reverse-engineering satire, showing that detecting incongruity between expected and actual framings is computationally tractable — supporting our use of embedding distance as an incongruity proxy. Our framework addresses the controllability gap: it is theory-grounded (providing controllability via explicit humor patterns), generalizable (covering multiple humor types), and does not require humor-specific training data.",
   "new": null,
   "marked": "[-Template-based systems have generated specific humor subtypes: JAPE produced punning riddles (Binsted & Ritchie, 1994), HAHAcronym generated humorous acronyms (Stock & Strapparava, 2003). Petrović and Matthews (2013) demonstrated unsupervised joke generation using large corpora and simple statistical models, showing that humor generation need not require labeled data — a finding that supports our training-data-free approach. Yu et al. (2018) developed neural pun generation, and He et al. (2019) introduced surprise-based objectives for pun generation, directly connecting computational surprise to humor quality — a precursor to our surprise component in $h_{\\text{v2}}$. Luo et al. (2019) used GPT-2 fine-tuning for joke completion. More recently, Amin and Burghardt (2020) surveyed computational humor generation approaches, identifying the gap between template-based systems (narrow but controllable) and neural systems (broad but uncontrollable). Winters et al. (2021) examined machine learning approaches to humor, noting the difficulty of evaluating generated humor. Kao et al. (2016) developed a Bayesian model of verbal humor that formalizes the tension between ambiguity and distinctiveness in joke interpretation — their probabilistic framework complements our geometric one, with their \"distinctiveness\" mapping to our surprise and their \"ambiguity\" mapping to our bridge concept. West and Horvitz (2019) demonstrated computational approaches to reverse-engineering satire, showing that detecting incongruity between expected and actual framings is computationally tractable — supporting our use of embedding distance as an incongruity proxy. Our framework addresses the controllability gap: it is theory-grounded (providing controllability via explicit humor patterns), generalizable (covering multiple humor types), and does not require humor-specific training data.-]"
  },
  {
   "section": "2.3 Computational Humor Generation",
   "old": null,
   "new": "**Template and rule-based systems.** JAPE produced punning riddles (Binsted & Ritchie, 1994); HAHAcronym generated humorous acronyms (Stock & Strapparava, 2003). These systems demonstrate controllability but are narrow in scope.",
   "marked": "{+**Template and rule-based systems.** JAPE produced punning riddles (Binsted & Ritchie, 1994); HAHAcronym generated humorous acronyms (Stock & Strapparava, 2003). These systems demonstrate controllability but are narrow in scope.+}"
  },
  {
   "section": "2.3 Computational Humor Generation",
   "old": null,
   "new": "**Statistical and unsupervised approaches.** Petrović and Matthews (2013) demonstrated unsupervised joke generation using large corpora and simple statistical models, showing that humor generation need not require labeled data—aligning with our training-data-free approach. Kao et al. (2016) developed a Bayesian model of verbal humor that formalizes the tension between ambiguity and distinctiveness; their \"distinctiveness\" maps to our surprise and \"ambiguity\" to our bridge concept.",
   "marked": "{+**Statistical and unsupervised approaches.** Petrović and Matthews (2013) demonstrated unsupervised joke generation using large corpora and simple statistical models, showing that humor generation need not require labeled data—aligning with our training-data-free approach. Kao et al. (2016) developed a Bayesian model of verbal humor that formalizes the tension between ambiguity and distinctiveness; their \"distinctiveness\" maps to our surprise and \"ambiguity\" to our bridge concept.+}"
  },
  {
   "section": "2.3 Computational Humor Generation",
   "old": null,
   "new": "**Neural approaches.** Yu et al. (2018) developed neural pun generation. He et al. (2019) introduced surprise-based objectives for pun generation, directly linking computational surprise to humor quality—a precursor to the surprise component in $h_{\\text{v2}}$. Luo et al. (2019) used adversarial training (Pun-GAN) for pun generation, demonstrating that GAN architectures can produce humor through the interplay of generator and discriminator.",
   "marked": "{+**Neural approaches.** Yu et al. (2018) developed neural pun generation. He et al. (2019) introduced surprise-based objectives for pun generation, directly linking computational surprise to humor quality—a precursor to the surprise component in $h_{\\text{v2}}$. Luo et al. (2019) used adversarial training (Pun-GAN) for pun generation, demonstrating that GAN architectures can produce humor through the interplay of generator and discriminator.+}"
  },
  {
   "section": "2.3 Computational Humor Generation",
   "old": null,
   "new": "**Surveys and analysis.** Amin and Burghardt (2020) surveyed computational humor generation, identifying the gap between template systems (narrow but controllable) and neural systems (broad but uncontrollable). Winters et al. (2021) noted the difficulty of evaluating generated humor. West and Horvitz (2019) demonstrated computational approaches to reverse-engineering satire.",
   "marked": "{+**Surveys and analysis.** Amin and Burghardt (2020) surveyed computational humor generation, identifying the gap between template systems (narrow but controllable) and neural systems (broad but uncontrollable). Winters et al. (2021) noted the difficulty of evaluating generated humor. West and Horvitz (2019) demonstrated computational approaches to reverse-engineering satire.+}"
  },
  {
   "section": "2.3 Computational Humor Generation",
   "old": null,
   "new": "Our framework addresses the controllability gap: it is theory-grounded, explicitly structured by humor pattern, and does not require humor-specific training data. Unlike prompt-based LLM humor, it provides an explicit scoring function that supports audience calibration, explanation, and systematic improvement. A significant open question—which our validation protocol (Section 7.2) is designed to answer—is whether $h_{\\text{v2}}$ outperforms a simple LLM baseline (prompting a frontier model to rate joke funniness). Even if an LLM baseline matches $h_{\\text{v2}}$ on correlation with human ratings, the framework retains distinct value: it explains _why_ a joke works (distance, validity, surprise), enables systematic generation across 12 pattern types, and supports per-audience calibration through a feedback loop (Section 8.6)—capabilities that opaque LLM ratings lack.",
   "marked": "{+Our framework addresses the controllability gap: it is theory-grounded, explicitly structured by humor pattern, and does not require humor-specific training data. Unlike prompt-based LLM humor, it provides an explicit scoring function that supports audience calibration, explanation, and systematic improvement. A significant open question—which our validation protocol (Section 7.2) is designed to answer—is whether $h_{\\text{v2}}$ outperforms a simple LLM baseline (prompting a frontier model to rate joke funniness). Even if an LLM baseline matches $h_{\\text{v2}}$ on correlation with human ratings, the framework retains distinct value: it explains _why_ a joke works (distance, validity, surprise), enables systematic generation across 12 pattern types, and supports per-audience calibration through a feedback loop (Section 8.6)—capabilities that opaque LLM ratings lack.+}"
  },
  {
   "section": "2.4 Humor Psychology",
   "old": "Martin (2007) provides the standard reference on the psychology of humor, synthesizing cognitive, social, and personality perspectives. Warren and McGraw (2016) extended Benign Violation Theory by systematically categorizing violation types and demonstrating that the perceived \"distance\" from benignity varies across moral, social, and physical domains — a finding that supports the view that our distance sweet spot (Section 3.6) may need domain-specific calibration. His taxonomy of humor styles (affiliative, self-enhancing, aggressive, self-defeating) informs our audience modeling — different humor styles correspond to different regions of the humor potential landscape, and the sensitivity gate (Section 5) must be calibrated to the intended style. Dynel (2009) analyzed conversational humor mechanisms, identifying patterns that map onto our taxonomy — particularly the role of pragmatic implicature in humor, which our \"expectation subversion\" pattern (Pattern 4) operationalizes. Oring (2003) examined the structure of humor through the lens of \"appropriate incongruity,\" a concept closely aligned with our validity-weighted surprise formulation.",
   "new": "Martin (2007) provides the standard reference on humor psychology, synthesizing cognitive, social, and personality perspectives. Warren and McGraw (2016) extended Benign Violation Theory by showing that perceived \"distance\" from benignity varies across moral, social, and physical domains—supporting the view that our distance sweet spot (Section 3.6) may require domain-specific calibration. Martin's taxonomy of humor styles (affiliative, self-enhancing, aggressive, self-defeating) informs our audience modeling. Dynel (2009) analyzed conversational humor mechanisms, identifying patterns that map onto our taxonomy, especially the role of pragmatic implicature (Pattern 4). Oring (2003) examined humor through \"appropriate incongruity,\" closely aligned with our validity-weighted surprise formulation.",
   "marked": "Martin (2007) provides the standard reference on [-the psychology of humor,-] {+humor psychology,+} synthesizing cognitive, social, and personality perspectives. Warren and McGraw (2016) extended Benign Violation Theory by [-systematically categorizing violation types and demonstrating-] {+showing+} that [-the-] perceived \"distance\" from benignity varies across moral, social, and physical [-domains — a finding that supports-] {+domains—supporting+} the view that our distance sweet spot (Section 3.6) may [-need-] {+require+} domain-specific calibration. [-His-] {+Martin's+} taxonomy of humor styles (affiliative, self-enhancing, aggressive, self-defeating) informs our audience [-modeling — different humor styles correspond to different regions of the humor potential landscape, and the sensitivity gate (Section 5) must be calibrated to the intended style.-] {+modeling.+} Dynel (2009) analyzed conversational humor mechanisms, identifying patterns that map onto our [-taxonomy — particularly-] {+taxonomy, especially+} the role of pragmatic implicature [-in humor, which our \"expectation subversion\" pattern-] (Pattern [-4) operationalizes.-] {+4).+} Oring (2003) examined [-the structure of-] humor through [-the lens of-] \"appropriate incongruity,\" [-a concept-] closely aligned with our validity-weighted surprise formulation."
  },
  {
   "section": "2.5 Embedding Space Arithmetic and Creativity",
   "old": "Mikolov et al. (2013) demonstrated that word embeddings support analogical reasoning via vector arithmetic: $\\vec{king} - \\vec{man} + \\vec{woman} \\approx \\vec{queen}$. This finding established that semantic relationships have geometric structure in embedding spaces. Our bridge discovery mechanism (Section 6.1) extends this principle: if analogy maps known relationships, then $\\vec{A} - \\vec{context_A} + \\vec{context_B}$ maps the *creative leap* across semantic frames that humor requires. Veale (2016) explored computational creativity through conceptual blending and metaphor in similar geometric terms, though without a humor-specific scoring function. Bowdle and Gentner (2005) showed that metaphor comprehension involves alignment and projection between conceptual domains — a process closely related to our bridge discovery algorithms. Glucksberg (2001) demonstrated that figurative language comprehension involves class-inclusion assertions, suggesting that humor bridges function as implicit category memberships that violate conventional taxonomies.",
   "new": "Mikolov et al. (2013) showed that word embeddings support analogical reasoning through vector arithmetic: $\\vec{king} - \\vec{man} + \\vec{woman} \\approx \\vec{queen}$. Our bridge discovery mechanism (Section 6.1) extends that principle: if analogy maps known relations, then $\\vec{A} - \\vec{context_A} + \\vec{context_B}$ may represent the _creative leap_ across semantic frames that humor requires. Veale (2016) explored computational creativity through conceptual blending in comparable geometric terms. Bowdle and Gentner (2005) showed that metaphor comprehension involves alignment and projection between conceptual domains. Glucksberg (2001) demonstrated that figurative language comprehension involves class-inclusion assertions, suggesting that humor bridges may function as implicit category memberships that violate conventional taxonomies.",
   "marked": "Mikolov et al. (2013) [-demonstrated-] {+showed+} that word embeddings support analogical reasoning [-via-] {+through+} vector arithmetic: $\\vec{king} - \\vec{man} + \\vec{woman} \\approx \\vec{queen}$. [-This finding established that semantic relationships have geometric structure in embedding spaces.-] Our bridge discovery mechanism (Section 6.1) extends [-this-] {+that+} principle: if analogy maps known [-relationships,-] {+relations,+} then $\\vec{A} - \\vec{context_A} + \\vec{context_B}$ [-maps-] {+may represent+} the [-*creative leap*-] {+_creative leap_+} across semantic frames that humor requires. Veale (2016) explored computational creativity through conceptual blending [-and metaphor-] in [-similar-] {+comparable+} geometric [-terms, though without a humor-specific scoring function.-] {+terms.+} Bowdle and Gentner (2005) showed that metaphor comprehension involves alignment and projection between conceptual [-domains — a process closely related to our bridge discovery algorithms.-] {+domains.+} Glucksberg (2001) demonstrated that figurative language comprehension involves class-inclusion assertions, suggesting that humor bridges {+may+} function as implicit category memberships that violate conventional taxonomies."
  },
  {
   "section": "2.6 Positioning of Our Contribution",
   "old": "| Approach | Type | Scope | Training Required | Humor Theory | Bridge Concept | |----------|------|-------|-------------------|--------------|----------------| | JAPE (Binsted & Ritchie, 1994) | Generative | Puns only | No (rules) | Phonological | N/A | | HAHAcronym (Stock & Strapparava, 2003) | Generative | Acronyms | No (rules) | Lexical | N/A | | Petrović & Matthews (2013) | Generative | One-liners | No (unsupervised) | Statistical | Implicit | | Bertero & Fung (2016) | Recognition | Dialogue | Yes (CNN/RNN) | Learned | N/A | | Kao et al. (2016) | Model | Puns | No (Bayesian) | Ambiguity | Implicit | | Yu et al. (2018) | Generative | Puns | Yes (neural) | Homophony | N/A | | He et al. (2019) | Generative | Puns | Yes (neural) | Surprise | Implicit | | Luo et al. (2019) | Generative | Jokes | Yes (GPT-2) | Learned | N/A | | Weller & Seppi (2019) | Recognition | General | Yes (transformer) | Learned | N/A | | LLM prompting (2023+) | Generative | Broad | No (prompt) | Implicit | N/A | | **LIMBIC (this work)** | **Framework** | **12 types** | **No** | **Bisociation** | **Explicit** |",
   "new": "| Approach | Type | Scope | Training | Theory | Bridge | | -------------------------------------- | ------------- | --------------- | ----------------- | --------------- | ------------ | | JAPE (Binsted & Ritchie, 1994) | Generative | Puns | No (rules) | Phonological | N/A | | HAHAcronym (Stock & Strapparava, 2003) | Generative | Acronyms | No (rules) | Lexical | N/A | | Petrović & Matthews (2013) | Generative | One-liners | No (unsup.) | Statistical | Implicit | | Kao et al. (2016) | Model | Puns | No (Bayesian) | Ambiguity | Implicit | | He et al. (2019) | Generative | Puns | Yes (neural) | Surprise | Implicit | | Weller & Seppi (2019) | Recognition | General | Yes (transformer) | Learned | N/A | | LLM prompting (2023+) | Generative | Broad | No (prompt) | Implicit | N/A | | **This work** | **Framework** | **12 patterns** | **No** | **Bisociation** | **Explicit** |",
   "marked": "| Approach | Type | Scope | Training [-Required-] | [-Humor-] Theory | Bridge [-Concept-] | [-|----------|------|-------|-------------------|--------------|----------------|-] {+| -------------------------------------- | ------------- | --------------- | ----------------- | --------------- | ------------ |+} | JAPE (Binsted & Ritchie, 1994) | Generative | Puns [-only-] | No (rules) | Phonological | N/A | | HAHAcronym (Stock & Strapparava, 2003) | Generative | Acronyms | No (rules) | Lexical | N/A | | Petrović & Matthews (2013) | Generative | One-liners | No [-(unsupervised)-] {+(unsup.)+} | Statistical | Implicit [-| | Bertero & Fung (2016) | Recognition | Dialogue | Yes (CNN/RNN) | Learned | N/A-] | | Kao et al. (2016) | Model | Puns | No (Bayesian) | Ambiguity | Implicit | | [-Yu et al. (2018) | Generative | Puns | Yes (neural) | Homophony | N/A | |-] He et al. (2019) | Generative | Puns | Yes (neural) | Surprise | Implicit [-| | Luo et al. (2019) | Generative | Jokes | Yes (GPT-2) | Learned | N/A-] | | Weller & Seppi (2019) | Recognition | General | Yes (transformer) | Learned | N/A | | LLM prompting (2023+) | Generative | Broad | No (prompt) | Implicit | N/A | | [-**LIMBIC (this work)**-] {+**This work**+} | **Framework** | **12 [-types**-] {+patterns**+} | **No** | **Bisociation** | **Explicit** |"
  },
  {
   "section": "2.6 Positioning of Our Contribution",
   "old": "*Table 1: Comparison with existing computational humor approaches. LIMBIC is unique in providing an explicit, computable scoring function grounded in bisociation theory with an explicit bridge concept, covering multiple humor types without requiring humor-specific training.*",
   "new": "_Table 1: Comparison with existing computational humor approaches. This framework provides an explicit, computable scoring function grounded in bisociation theory with an explicit bridge concept, covering multiple humor types without humor-specific training._",
   "marked": "[-*Table-] {+_Table+} 1: Comparison with existing computational humor approaches. [-LIMBIC is unique in providing-] {+This framework provides+} an explicit, computable scoring function grounded in bisociation theory with an explicit bridge concept, covering multiple humor types without [-requiring-] humor-specific [-training.*-] {+training._+}"
  },
  {
   "section": "2.6 Positioning of Our Contribution",
   "old": "Our key differentiators: (1) an explicit, computable scoring function rather than learned representations; (2) coverage of 12 distinct humor types organized by meta-category; (3) the bridge concept as a first-class element enabling both generation and *explanation* of why a joke works; and (4) the memory-humor correspondence enabling integration with agent memory architectures (ENGRAM; Serra, 2026a).",
   "new": "Our key differentiators: (1) an explicit, computable scoring function rather than an opaque learned representation; (2) coverage of 12 distinct humor patterns organized by meta-category; (3) the bridge concept as a first-class element that supports both generation and _explanation_ of why a joke works; and (4) the memory-humor correspondence, which makes integration with agent memory architectures conceptually natural.",
   "marked": "Our key differentiators: (1) an explicit, computable scoring function rather than {+an opaque+} learned [-representations;-] {+representation;+} (2) coverage of 12 distinct humor [-types-] {+patterns+} organized by meta-category; (3) the bridge concept as a first-class element [-enabling-] {+that supports+} both generation and [-*explanation*-] {+_explanation_+} of why a joke works; and (4) the memory-humor [-correspondence enabling-] {+correspondence, which makes+} integration with agent memory architectures [-(ENGRAM; Serra, 2026a).-] {+conceptually natural.+}"
  },
  {
   "section": "3.1 Core Formulation",
   "old": "- $A, B \\in \\mathbb{R}^n$ are embedding vectors for two concepts, - $\\beta \\in \\mathbb{R}^n$ is the embedding vector for a bridge concept, - $d(A, B) = 1 - \\cos(A, B)$ is the cosine distance (range $[0, 2]$), - $c(x, y) = 1 - d(x, y) = \\cos(x, y)$ is cosine coherence (range $[-1, 1]$, typically $[0, 1]$ for meaningful concepts).",
   "new": "- $A, B \\in \\mathbb{R}^n$ are embedding vectors for two concepts, - $\\beta \\in \\mathbb{R}^n$ is the embedding vector for a bridge concept, - $d(A, B) = 1 - \\cos(A, B)$ is the cosine distance (range $[0, 2]$), - $c(x, y) = 1 - d(x, y) = \\cos(x, y)$ is cosine coherence (range $[-1, 1]$; in practice, modern sentence embeddings trained with contrastive objectives rarely produce negative cosine similarities for meaningful concept pairs, so we treat $c \\in [0, 1]$ as the typical effective range).",
   "marked": "- $A, B \\in \\mathbb{R}^n$ are embedding vectors for two concepts, - $\\beta \\in \\mathbb{R}^n$ is the embedding vector for a bridge concept, - $d(A, B) = 1 - \\cos(A, B)$ is the cosine distance (range $[0, 2]$), - $c(x, y) = 1 - d(x, y) = \\cos(x, y)$ is cosine coherence (range $[-1, [-1]$, typically $[0, 1]$-] {+1]$; in practice, modern sentence embeddings trained with contrastive objectives rarely produce negative cosine similarities+} for meaningful [-concepts).-] {+concept pairs, so we treat $c \\in [0, 1]$ as the typical effective range).+}"
  },
  {
   "section": "3.1 Core Formulation",
   "old": "**Interpretation.** Humor potential increases with (a) semantic distance between concepts (incongruity/violation) and (b) coherence of the bridge to both concepts (resolution/benign reinterpretation). This directly operationalizes the incongruity-resolution and benign violation theories: distance measures incongruity/violation, bridge coherence measures resolution/benign interpretation.",
   "new": "**Interpretation.** Humor potential increases with (a) semantic distance between concepts (incongruity/violation) and (b) coherence of the bridge to both concepts (resolution/benign reinterpretation). This directly operationalizes both incongruity-resolution theory and benign violation theory.",
   "marked": "**Interpretation.** Humor potential increases with (a) semantic distance between concepts (incongruity/violation) and (b) coherence of the bridge to both concepts (resolution/benign reinterpretation). This directly operationalizes [-the-] {+both+} incongruity-resolution {+theory+} and benign violation [-theories: distance measures incongruity/violation, bridge coherence measures resolution/benign interpretation.-] {+theory.+}"
  },
  {
   "section": "3.2 Justification of the Multiplicative Form",
   "old": "The multiplicative structure $h = d \\cdot c \\cdot c$ is not arbitrary — it operationalizes a theoretical requirement.",
   "new": "The multiplicative structure $h = d \\cdot c \\cdot c$ is not arbitrary; it encodes a theoretical constraint.",
   "marked": "The multiplicative structure $h = d \\cdot c \\cdot c$ is not [-arbitrary —-] {+arbitrary;+} it [-operationalizes-] {+encodes+} a theoretical [-requirement.-] {+constraint.+}"
  },
  {
   "section": "3.2 Justification of the Multiplicative Form",
   "old": "Suls' (1972) two-stage model posits that humor requires *both* incongruity (Stage 1) *and* resolution (Stage 2). If either stage fails, humor does not arise: pure incongruity without resolution produces confusion; resolution without incongruity produces boredom. This conjunction is naturally expressed as multiplication:",
   "new": "Suls' (1972) two-stage model holds that humor requires _both_ incongruity (Stage 1) _and_ resolution (Stage 2). If either stage fails, humor fails: pure incongruity without resolution yields confusion, while resolution without incongruity yields boredom. Multiplication expresses that conjunction naturally:",
   "marked": "Suls' (1972) two-stage model [-posits-] {+holds+} that humor requires [-*both*-] {+_both_+} incongruity (Stage 1) [-*and*-] {+_and_+} resolution (Stage 2). If either stage fails, humor [-does not arise:-] {+fails:+} pure incongruity without resolution [-produces confusion;-] {+yields confusion, while+} resolution without incongruity [-produces-] {+yields+} boredom. [-This-] {+Multiplication expresses that+} conjunction [-is naturally expressed as multiplication:-] {+naturally:+}"
  },
  {
   "section": "3.2 Justification of the Multiplicative Form",
   "old": "The multiplication encodes the logical AND of Suls' two stages. McGraw and Warren's (2010) Benign Violation Theory imposes the same conjunction: a situation must be *both* a violation *and* benign. Violation without benignity produces offense; benignity without violation produces indifference.",
   "new": "The product encodes the logical AND of Suls' two stages. McGraw and Warren's (2010) Benign Violation Theory imposes the same conjunction: a situation must be _both_ a violation _and_ benign.",
   "marked": "The [-multiplication-] {+product+} encodes the logical AND of Suls' two stages. McGraw and Warren's (2010) Benign Violation Theory imposes the same conjunction: a situation must be [-*both*-] {+_both_+} a violation [-*and* benign. Violation without benignity produces offense; benignity without violation produces indifference.-] {+_and_ benign.+}"
  },
  {
   "section": "3.2 Justification of the Multiplicative Form",
   "old": "- **Additive**: $h_{\\text{add}} = w_1 d + w_2 c(\\beta, A) + w_3 c(\\beta, B)$ — permits humor from strong incongruity alone. - **Geometric mean**: $h_{\\text{geo}} = (d \\cdot c(\\beta, A) \\cdot c(\\beta, B))^{1/3}$ — reduces the dominance of any single factor. - **Learned combination**: $h_{\\text{learn}} = f_\\theta(d, c(\\beta, A), c(\\beta, B))$ — data-driven but loses interpretability.",
   "new": "- **Additive**: $h_{\\text{add}} = w_1 d + w_2 c(\\beta, A) + w_3 c(\\beta, B)$ — permits humor from strong incongruity alone, violating the two-stage requirement. - **Geometric mean**: $h_{\\text{geo}} = (d \\cdot c(\\beta, A) \\cdot c(\\beta, B))^{1/3}$ — reduces the dominance of any single factor. - **Learned combination**: $h_{\\text{learn}} = f_\\theta(d, c(\\beta, A), c(\\beta, B))$ — data-driven but loses interpretability.",
   "marked": "- **Additive**: $h_{\\text{add}} = w_1 d + w_2 c(\\beta, A) + w_3 c(\\beta, B)$ — permits humor from strong incongruity [-alone.-] {+alone, violating the two-stage requirement.+} - **Geometric mean**: $h_{\\text{geo}} = (d \\cdot c(\\beta, A) \\cdot c(\\beta, B))^{1/3}$ — reduces the dominance of any single factor. - **Learned combination**: $h_{\\text{learn}} = f_\\theta(d, c(\\beta, A), c(\\beta, B))$ — data-driven but loses interpretability."
  },
  {
   "section": "3.2 Justification of the Multiplicative Form",
   "old": "We adopt the multiplicative form as the theoretically motivated default. Ablation across alternative forms is included in our proposed validation protocol (Section 7.2).",
   "new": "We adopt the multiplicative form as the theoretically motivated default. Ablation across these alternatives is included in the validation protocol (Section 7.2).",
   "marked": "We adopt the multiplicative form as the theoretically motivated default. Ablation across [-alternative forms-] {+these alternatives+} is included in [-our proposed-] {+the+} validation protocol (Section 7.2)."
  },
  {
   "section": "3.3 Formal Properties",
   "old": "**Proposition 2 (Properties of $h$).** The humor potential function $h: \\mathbb{R}^n \\times \\mathbb{R}^n \\times \\mathbb{R}^n \\to \\mathbb{R}$ has the following properties:",
   "new": null,
   "marked": "[-**Proposition 2 (Properties of $h$).** The humor potential function $h: \\mathbb{R}^n \\times \\mathbb{R}^n \\times \\mathbb{R}^n \\to \\mathbb{R}$ has the following properties:-]"
  },
  {
   "section": "3.3 Formal Properties",
   "old": "1. **Boundedness.** For unit-normalized embeddings ($\\|A\\| = \\|B\\| = \\|\\beta\\| = 1$), $h(A, B, \\beta) \\in [0, 2]$, since $d \\in [0, 2]$ and $c \\in [-1, 1]$. 2. **Symmetry.** $h(A, B, \\beta) = h(B, A, \\beta)$ — humor potential is symmetric in the concept pair. 3. **Bridge dependence.** $h$ is not symmetric in $\\beta$: the same concept pair $(A, B)$ has different humor potentials under different bridges. 4. **Zero conditions.** $h = 0$ if $A = B$ (no incongruity), or if $\\beta \\perp A$ or $\\beta \\perp B$ (no resolution). 5. **Continuity.** $h$ is continuous in all arguments (as a product of continuous functions).",
   "new": null,
   "marked": "[-1. **Boundedness.** For unit-normalized embeddings ($\\|A\\| = \\|B\\| = \\|\\beta\\| = 1$), $h(A, B, \\beta) \\in [0, 2]$, since $d \\in [0, 2]$ and $c \\in [-1, 1]$. 2. **Symmetry.** $h(A, B, \\beta) = h(B, A, \\beta)$ — humor potential is symmetric in the concept pair. 3. **Bridge dependence.** $h$ is not symmetric in $\\beta$: the same concept pair $(A, B)$ has different humor potentials under different bridges. 4. **Zero conditions.** $h = 0$ if $A = B$ (no incongruity), or if $\\beta \\perp A$ or $\\beta \\perp B$ (no resolution). 5. **Continuity.** $h$ is continuous in all arguments (as a product of continuous functions).-]"
  },
  {
   "section": "3.3 Formal Properties",
   "old": "*Proof.* Properties 1–5 follow directly from the definitions of cosine distance and coherence and the algebraic properties of the product. $\\square$",
   "new": null,
   "marked": "[-*Proof.* Properties 1–5 follow directly from the definitions of cosine distance and coherence and the algebraic properties of the product. $\\square$-]"
  },
  {
   "section": "3.3 Formal Properties",
   "old": null,
   "new": "**Properties of $h$.** For unit-normalized embeddings, $h$ is bounded ($[0, 2]$), symmetric in the concept pair ($h(A, B, \\beta) = h(B, A, \\beta)$), asymmetric in the bridge, continuous, and zero when $A = B$ (no incongruity) or when $\\beta \\perp A$ or $\\beta \\perp B$ (no resolution). All properties follow directly from the definitions. The zero conditions are the most theoretically significant: they formalize the claim that removing either stage of Suls' (1972) model collapses humor potential entirely.",
   "marked": "{+**Properties of $h$.** For unit-normalized embeddings, $h$ is bounded ($[0, 2]$), symmetric in the concept pair ($h(A, B, \\beta) = h(B, A, \\beta)$), asymmetric in the bridge, continuous, and zero when $A = B$ (no incongruity) or when $\\beta \\perp A$ or $\\beta \\perp B$ (no resolution). All properties follow directly from the definitions. The zero conditions are the most theoretically significant: they formalize the claim that removing either stage of Suls' (1972) model collapses humor potential entirely.+}"
  },
  {
   "section": "3.4 Extended Formulation with Audience and Timing",
   "old": "The core formula omits contextual factors critical to humor in practice. We extend it:",
   "new": "The core formula omits contextual factors that matter in practice:",
   "marked": "The core formula omits contextual factors [-critical to humor-] {+that matter+} in [-practice. We extend it:-] {+practice:+}"
  },
  {
   "section": "3.4 Extended Formulation with Audience and Timing",
   "old": "$$h_{\\text{ext}}(A, B, \\beta, \\alpha, t) = d(A, B) \\cdot c(\\beta, A) \\cdot c(\\beta, B) \\cdot f(\\alpha, A) \\cdot f(\\alpha, B) \\cdot (1 + \\gamma(t))$$",
   "new": "$$h_{\\text{ext}}(A, B, \\beta, \\alpha, t) = \\underbrace{d(A, B) \\cdot v(\\beta, A, B) \\cdot \\sigma(\\beta \\mid A, B)}_{h_{\\text{v2}}} \\cdot f(\\alpha, A) \\cdot f(\\alpha, B) \\cdot (1 + \\gamma(t))$$",
   "marked": "$$h_{\\text{ext}}(A, B, \\beta, \\alpha, t) = [-d(A,-] {+\\underbrace{d(A,+} B) \\cdot [-c(\\beta, A)-] {+v(\\beta, A, B)+} \\cdot [-c(\\beta, B)-] {+\\sigma(\\beta \\mid A, B)}_{h_{\\text{v2}}}+} \\cdot f(\\alpha, A) \\cdot f(\\alpha, B) \\cdot (1 + \\gamma(t))$$"
  },
  {
   "section": "3.4 Extended Formulation with Audience and Timing",
   "old": "- $f(\\alpha, X) \\in [0, 1]$ is audience $\\alpha$'s familiarity with concept $X$. We operationalize this as the probability that audience $\\alpha$ can correctly identify concept $X$ from its description, with optimal range $[0.6, 0.95]$ varying by audience expertise. - $\\gamma(t)$ is the callback bonus as a function of elapsed time $t$.",
   "new": null,
   "marked": "[-- $f(\\alpha, X) \\in [0, 1]$ is audience $\\alpha$'s familiarity with concept $X$. We operationalize this as the probability that audience $\\alpha$ can correctly identify concept $X$ from its description, with optimal range $[0.6, 0.95]$ varying by audience expertise. - $\\gamma(t)$ is the callback bonus as a function of elapsed time $t$.-]"
  },
  {
   "section": "3.4 Extended Formulation with Audience and Timing",
   "old": null,
   "new": "- $f(\\alpha, X) \\in [0, 1]$ is audience $\\alpha$'s familiarity with concept $X$, operationalized as a prior estimate of whether the audience possesses the background knowledge needed to parse the concept's role in the joke. In practice, this can be estimated from demonstrated vocabulary, professional domain, and explicit preference signals, with a default of $f = 0.7$ for unknown audiences. - $\\gamma(t)$ is the callback bonus as a function of elapsed time $t$.",
   "marked": "{+- $f(\\alpha, X) \\in [0, 1]$ is audience $\\alpha$'s familiarity with concept $X$, operationalized as a prior estimate of whether the audience possesses the background knowledge needed to parse the concept's role in the joke. In practice, this can be estimated from demonstrated vocabulary, professional domain, and explicit preference signals, with a default of $f = 0.7$ for unknown audiences. - $\\gamma(t)$ is the callback bonus as a function of elapsed time $t$.+}"
  },
  {
   "section": "3.4 Extended Formulation with Audience and Timing",
   "old": "The familiarity function reflects the observation that jokes require shared knowledge: a quantum physics joke scores high familiarity for physicists but low for a general audience. The optimal range is not universal — domain experts tolerate higher conceptual distances because their familiarity provides scaffolding for comprehension.",
   "new": "The familiarity function reflects a basic fact: jokes require shared knowledge. A quantum physics joke may score high familiarity for physicists and low for a general audience. The optimal familiarity range $[0.6, 0.95]$ is not universal—domain experts tolerate higher conceptual distances because background knowledge supplies missing scaffolding.",
   "marked": "The familiarity function reflects [-the observation that-] {+a basic fact:+} jokes require shared [-knowledge: a-] {+knowledge. A+} quantum physics joke [-scores-] {+may score+} high familiarity for physicists [-but-] {+and+} low for a general audience. The optimal {+familiarity+} range {+$[0.6, 0.95]$+} is not [-universal — domain-] {+universal—domain+} experts tolerate higher conceptual distances because [-their familiarity provides scaffolding for comprehension.-] {+background knowledge supplies missing scaffolding.+}"
  },
  {
   "section": "3.4 Extended Formulation with Audience and Timing",
   "old": "**Operationalizing familiarity.** In a deployed agent, $f(\\alpha, X)$ can be estimated from (a) the user's demonstrated vocabulary (concepts they have used in conversation), (b) professional domain indicators, and (c) explicit preference signals. This constitutes a cold-start problem for new users; the default strategy is to assume moderate familiarity ($f = 0.7$) and calibrate via feedback (Section 8.5).",
   "new": null,
   "marked": "[-**Operationalizing familiarity.** In a deployed agent, $f(\\alpha, X)$ can be estimated from (a) the user's demonstrated vocabulary (concepts they have used in conversation), (b) professional domain indicators, and (c) explicit preference signals. This constitutes a cold-start problem for new users; the default strategy is to assume moderate familiarity ($f = 0.7$) and calibrate via feedback (Section 8.5).-]"
  },
  {
   "section": "3.5 Callback Bonus with Temporal Decay",
   "old": "Callbacks — humorous references to earlier events — exhibit a non-monotonic temporal profile. We model the callback bonus as:",
   "new": "Callbacks—humorous references to earlier events—show a non-monotonic temporal profile. We model the callback bonus as:",
   "marked": "[-Callbacks — humorous-] {+Callbacks—humorous+} references to earlier [-events — exhibit-] {+events—show+} a non-monotonic temporal profile. We model the callback bonus as:"
  },
  {
   "section": "3.5 Callback Bonus with Temporal Decay",
   "old": "with $t_d = 2160$ hours (3 months, decay onset) and $t_f = 8760$ hours (1 year, floor). These parameters are heuristic estimates informed by the general principle — discussed by Martin (2007, ch. 5) — that humor in social contexts exhibits non-monotonic temporal dynamics, but the specific hour values are our engineering defaults, not empirically measured constants. They should be treated as configurable defaults requiring empirical calibration. The floor of 0.1 reflects the observation that \"legendary callbacks\" — references to events long past — retain residual humor when they land, though they become increasingly risky as audience memory fades.",
   "new": "with $t_d = 2160$ hours (3 months, decay onset) and $t_f = 8760$ hours (1 year, floor). These parameters are engineering defaults informed by the general principle—discussed by Martin (2007, ch. 5)—that humor in social contexts exhibits non-monotonic temporal dynamics. The specific hour values are not empirically measured; they should be treated as configurable defaults requiring calibration against user reaction data. The floor of 0.1 reflects the intuition that \"legendary callbacks\" can remain funny long after the original event.",
   "marked": "with $t_d = 2160$ hours (3 months, decay onset) and $t_f = 8760$ hours (1 year, floor). These parameters are [-heuristic estimates-] {+engineering defaults+} informed by the general [-principle — discussed-] {+principle—discussed+} by Martin (2007, ch. [-5) — that-] {+5)—that+} humor in social contexts exhibits non-monotonic temporal [-dynamics, but the-] {+dynamics. The+} specific hour values are [-our engineering defaults,-] not empirically [-measured constants. They-] {+measured; they+} should be treated as configurable defaults requiring [-empirical calibration.-] {+calibration against user reaction data.+} The floor of 0.1 reflects the [-observation-] {+intuition+} that \"legendary callbacks\" [-— references to events-] {+can remain funny+} long [-past — retain residual humor when they land, though they become increasingly risky as audience memory fades.-] {+after the original event.+}"
  },
  {
   "section": "3.6 The Distance Sweet Spot",
   "old": "**Lower bound justification.** In high-dimensional embedding spaces ($n \\geq 384$), cosine distances between unrelated concepts cluster around $0.5$–$0.7$ due to the concentration of measure phenomenon (Aggarwal et al., 2001; Vershynin, 2018). A threshold of $0.6$ ensures genuine semantic separation rather than incidental positioning.",
   "new": "**Lower bound justification.** In high-dimensional embedding spaces ($n \\geq 384$), cosine distances between unrelated concepts cluster around $0.5$–$0.7$ due to concentration of measure (Aggarwal et al., 2001; Vershynin, 2018). A threshold of $0.6$ helps ensure genuine semantic separation rather than incidental position.",
   "marked": "**Lower bound justification.** In high-dimensional embedding spaces ($n \\geq 384$), cosine distances between unrelated concepts cluster around $0.5$–$0.7$ due to [-the-] concentration of measure [-phenomenon-] (Aggarwal et al., 2001; Vershynin, 2018). A threshold of $0.6$ [-ensures-] {+helps ensure+} genuine semantic separation rather than incidental [-positioning.-] {+position.+}"
  },
  {
   "section": "3.6 The Distance Sweet Spot",
   "old": "**Upper bound justification.** At cosine distances approaching $1.0$, concepts occupy nearly orthogonal regions, making coherent bridges increasingly improbable. Our pilot study (Section 7.1) confirms that random pairings with $d > 0.9$ produce bridges with mean coherence below $0.2$, yielding negligible humor potential.",
   "new": "**Upper bound justification.** As cosine distances approach $1.0$, concepts occupy nearly orthogonal regions, making coherent bridges increasingly unlikely. In our pilot (Section 7.1), random pairings with $d > 0.9$ produced bridges with mean coherence below $0.2$, yielding negligible humor potential—though this observation is based on only $n = 15$ triplets and should be treated as preliminary.",
   "marked": "**Upper bound justification.** [-At-] {+As+} cosine distances [-approaching-] {+approach+} $1.0$, concepts occupy nearly orthogonal regions, making coherent bridges increasingly [-improbable. Our-] {+unlikely. In our+} pilot [-study-] (Section [-7.1) confirms that-] {+7.1),+} random pairings with $d > 0.9$ [-produce-] {+produced+} bridges with mean coherence below $0.2$, yielding negligible humor [-potential.-] {+potential—though this observation is based on only $n = 15$ triplets and should be treated as preliminary.+}"
  },
  {
   "section": "3.6 The Distance Sweet Spot",
   "old": "**This range is not universal.** Audience expertise shifts the effective sweet spot. Domain experts find humor at higher distances because their knowledge provides scaffolding for comprehension — a physicist finds a quark joke funny at $d = 0.85$ where a layperson finds it incomprehensible.",
   "new": "**This range is not universal.** Audience expertise shifts the effective sweet spot: a physicist may appreciate a quark joke at $d = 0.85$ where a layperson finds only confusion.",
   "marked": "**This range is not universal.** Audience expertise shifts the effective sweet [-spot. Domain experts find humor at higher distances because their knowledge provides scaffolding for comprehension —-] {+spot:+} a physicist [-finds-] {+may appreciate+} a quark joke [-funny-] at $d = 0.85$ where a layperson finds [-it incomprehensible.-] {+only confusion.+}"
  },
  {
   "section": "3.7 The Humor Zone",
   "old": "**Definition 2 (Humor Zone).** The *humor zone* $\\mathcal{H} \\subset \\mathbb{R}^n \\times \\mathbb{R}^n \\times \\mathbb{R}^n$ is the set of concept-bridge triplets with non-trivial humor potential:",
   "new": "**Definition 2 (Humor Zone).** The _humor zone_ $\\mathcal{H} \\subset \\mathbb{R}^n \\times \\mathbb{R}^n \\times \\mathbb{R}^n$ is the set of concept-bridge triplets with non-trivial humor potential:",
   "marked": "**Definition 2 (Humor Zone).** The [-*humor zone*-] {+_humor zone_+} $\\mathcal{H} \\subset \\mathbb{R}^n \\times \\mathbb{R}^n \\times \\mathbb{R}^n$ is the set of concept-bridge triplets with non-trivial humor potential:"
  },
  {
   "section": "3.7 The Humor Zone",
   "old": "$$\\mathcal{H} = \\{(A, B, \\beta) \\in \\mathbb{R}^n \\times \\mathbb{R}^n \\times \\mathbb{R}^n \\mid d(A, B) \\in [\\delta_{\\min}, \\delta_{\\max}] \\wedge v(\\beta, A, B) \\geq \\tau_v \\wedge \\sigma(\\beta \\mid A, B) \\geq \\tau_\\sigma\\}$$",
   "new": "$$\\mathcal{H} = \\{(A, B, \\beta) \\mid d(A, B) \\in [\\delta_{\\min}, \\delta_{\\max}] \\wedge v(\\beta, A, B) \\geq \\tau_v \\wedge \\sigma(\\beta \\mid A, B) \\geq \\tau_\\sigma\\}$$",
   "marked": "$$\\mathcal{H} = \\{(A, B, \\beta) [-\\in \\mathbb{R}^n \\times \\mathbb{R}^n \\times \\mathbb{R}^n-] \\mid d(A, B) \\in [\\delta_{\\min}, \\delta_{\\max}] \\wedge v(\\beta, A, B) \\geq \\tau_v \\wedge \\sigma(\\beta \\mid A, B) \\geq \\tau_\\sigma\\}$$"
  },
  {
   "section": "3.7 The Humor Zone",
   "old": "where $v$ is bridge validity and $\\sigma$ is bridge surprise (both formally defined in Definition 3, Section 6.1), and $\\tau_v, \\tau_\\sigma$ are minimum thresholds. We recommend $\\tau_v \\geq 0.15$ (the bridge must have at least weak validity to both concepts) and $\\tau_\\sigma \\geq 0.3$ (the bridge must be at least moderately surprising); these are starting-point defaults informed by the pilot worked example (Section 7.1.2), where the funny triplet achieved $v = 0.21$ and $\\sigma = 1.0$ while the unfunny triplet had $\\sigma = 0.03$. Both thresholds require empirical calibration against human ratings. The humor zone is the intersection of three constraints: sufficient distance, sufficient bridge validity, and sufficient bridge surprise.",
   "new": "where $v$ is bridge validity and $\\sigma$ is bridge surprise (both formally defined in Definition 3, Section 6.1), and $\\tau_v, \\tau_\\sigma$ are minimum thresholds. We recommend $\\tau_v \\geq 0.15$ (the bridge must have at least weak validity to both concepts) and $\\tau_\\sigma \\geq 0.3$ (the bridge must be at least moderately surprising); these starting-point defaults are informed by the pilot worked example (Section 7.1.2), where the funny triplet achieved $v = 0.21$ and $\\sigma = 1.0$ while the unfunny triplet had $\\sigma = 0.03$. Both thresholds require empirical calibration against human ratings.",
   "marked": "where $v$ is bridge validity and $\\sigma$ is bridge surprise (both formally defined in Definition 3, Section 6.1), and $\\tau_v, \\tau_\\sigma$ are minimum thresholds. We recommend $\\tau_v \\geq 0.15$ (the bridge must have at least weak validity to both concepts) and $\\tau_\\sigma \\geq 0.3$ (the bridge must be at least moderately surprising); these [-are-] starting-point defaults {+are+} informed by the pilot worked example (Section 7.1.2), where the funny triplet achieved $v = 0.21$ and $\\sigma = 1.0$ while the unfunny triplet had $\\sigma = 0.03$. Both thresholds require empirical calibration against human [-ratings. The humor zone is the intersection of three constraints: sufficient distance, sufficient bridge validity, and sufficient bridge surprise.-] {+ratings.+}"
  },
  {
   "section": "3.7 The Humor Zone",
   "old": "**Geometric interpretation.** The humor zone identifies a specific region of the product space: concept pairs that are distant enough to produce surprise but close enough (via bridge) to permit resolution, connected by bridges that are both valid and unexpected. Figure 1 illustrates this geometry.",
   "new": "**Geometric interpretation.** The humor zone marks a specific region of the product space: concept pairs far enough apart to create surprise but not so far that resolution becomes impossible, connected by bridges that are both valid and unexpected.",
   "marked": "**Geometric interpretation.** The humor zone [-identifies-] {+marks+} a specific region of the product space: concept pairs [-that are distant-] {+far+} enough {+apart+} to [-produce-] {+create+} surprise but [-close enough (via bridge) to permit resolution,-] {+not so far that resolution becomes impossible,+} connected by bridges that are both valid and [-unexpected. Figure 1 illustrates this geometry.-] {+unexpected.+}"
  },
  {
   "section": "3.7 The Humor Zone",
   "old": "|<--- distance(A,B) = 0.75 --->| c(bridge,A) = 0.21 c(bridge,B) = 0.27 h_v1 = 0.75 * 0.21 * 0.27 = 0.043 In h_v2: surprise is HIGH (bridge is unexpected) => humor potential is significant",
   "new": "|<--- distance(A,B) = 0.75 --->| c(bridge,A) = 0.21 c(bridge,B) = 0.27 h_v1 = 0.75 × 0.21 × 0.27 = 0.043 h_v2: surprise = 1.0 (bridge is unexpected) h_v2 = 0.75 × 0.21 × 1.0 = 0.158 ← humor detected",
   "marked": "|<--- distance(A,B) = 0.75 --->| c(bridge,A) = 0.21 c(bridge,B) = 0.27 h_v1 = 0.75 [-*-] {+×+} 0.21 [-*-] {+×+} 0.27 = 0.043 [-In-] h_v2: surprise [-is HIGH-] {+= 1.0+} (bridge is unexpected) [-=>-] {+h_v2 = 0.75 × 0.21 × 1.0 = 0.158 ←+} humor [-potential is significant-] {+detected+}"
  },
  {
   "section": "3.7 The Humor Zone",
   "old": "|<- d=0.21 ->| c(bridge,A) = 0.56 c(bridge,B) = 0.58 h_v1 = 0.21 * 0.56 * 0.58 = 0.068 In h_v2: surprise is LOW (bridge is obvious) => humor potential is negligible ```",
   "new": "|<- d=0.21 ->| c(bridge,A) = 0.56 c(bridge,B) = 0.58 h_v1 = 0.21 × 0.56 × 0.58 = 0.068 h_v2: surprise = 0.03 (bridge is obvious) h_v2 = 0.21 × 0.56 × 0.03 = 0.004 ← not funny ```",
   "marked": "|<- d=0.21 ->| c(bridge,A) = 0.56 c(bridge,B) = 0.58 h_v1 = 0.21 [-*-] {+×+} 0.56 [-*-] {+×+} 0.58 = 0.068 [-In-] h_v2: surprise [-is LOW-] {+= 0.03+} (bridge is obvious) [-=> humor potential is negligible-] {+h_v2 = 0.21 × 0.56 × 0.03 = 0.004 ← not funny+} ```"
  },
  {
   "section": "3.7 The Humor Zone",
   "old": "*Figure 1: Humor potential in embedding space. Despite the bottom example scoring higher on the naive formula $h_{\\text{v1}}$ (due to high coherence), it is not funny because the bridge is obvious. The revised $h_{\\text{v2}}$ corrects this by weighting bridge quality by surprise.*",
   "new": null,
   "marked": "[-*Figure 1: Humor potential in embedding space. Despite the bottom example scoring higher on the naive formula $h_{\\text{v1}}$ (due to high coherence), it is not funny because the bridge is obvious. The revised $h_{\\text{v2}}$ corrects this by weighting bridge quality by surprise.*-]"
  },
  {
   "section": "3.7 The Humor Zone",
   "old": null,
   "new": "_Figure 1: Humor potential in embedding space. Under the naive $h_{\\text{v1}}$, the unfunny example (cat–kitten) scores higher than the funny one (meeting–hostage). The revised $h_{\\text{v2}}$ corrects this: the surprise component penalizes obvious bridges and rewards unexpected ones, producing a 40:1 ratio favoring the funny triplet.\\_",
   "marked": "{+_Figure 1: Humor potential in embedding space. Under the naive $h_{\\text{v1}}$, the unfunny example (cat–kitten) scores higher than the funny one (meeting–hostage). The revised $h_{\\text{v2}}$ corrects this: the surprise component penalizes obvious bridges and rewards unexpected ones, producing a 40:1 ratio favoring the funny triplet.\\_+}"
  },
  {
   "section": "4. A Taxonomy of Humor-Generating Semantic Patterns",
   "old": "We identify 12 fundamental semantic patterns that generate humor through embedding space operations. These are organized into five meta-categories based on the type of semantic relationship exploited. The taxonomy is derived from the intersection of two sources: (a) Attardo and Raskin's (1991) GTVH Knowledge Resources, particularly Script Opposition and Logical Mechanism, which define the *what* of humor; and (b) the set of operations naturally expressible in embedding space (distance, projection, analogy arithmetic, polysemy), which define the *how*. This taxonomy is not claimed to be exhaustive — it covers the most common humor mechanisms expressible as embedding operations.",
   "new": null,
   "marked": "[-We identify 12 fundamental semantic patterns that generate humor through embedding space operations. These are organized into five meta-categories based on the type of semantic relationship exploited. The taxonomy is derived from the intersection of two sources: (a) Attardo and Raskin's (1991) GTVH Knowledge Resources, particularly Script Opposition and Logical Mechanism, which define the *what* of humor; and (b) the set of operations naturally expressible in embedding space (distance, projection, analogy arithmetic, polysemy), which define the *how*. This taxonomy is not claimed to be exhaustive — it covers the most common humor mechanisms expressible as embedding operations.-]"
  },
  {
   "section": "4. A Taxonomy of Humor-Generating Semantic Patterns",
   "old": null,
   "new": "We identify 12 semantic patterns that generate humor through embedding-space operations, organized into five meta-categories by the type of semantic relationship they exploit. The taxonomy is derived from the intersection of Attardo and Raskin's (1991) GTVH Knowledge Resources—especially Script Opposition and Logical Mechanism—and the operations naturally expressible in embedding space (distance, projection, analogy arithmetic, polysemy). We do not claim the taxonomy is exhaustive; it covers the most common humor mechanisms that can be naturally expressed as embedding operations. The derivation proceeded as follows: we enumerated the primary embedding-space operations (distance computation, nearest-neighbor search, vector arithmetic/analogy, projection onto axes, polysemy detection via multiple senses) and cross-referenced each with GTVH's Script Opposition and Logical Mechanism categories, retaining patterns where a specific embedding operation could implement a specific humor mechanism. Patterns 1–3 exploit distance along semantic axes; Patterns 4–6 exploit frame ambiguity detectable via polysemy or context mismatch; Patterns 7–8 exploit cross-domain analogy arithmetic; Patterns 9–10 exploit status-axis projection; Patterns 11–12 exploit metadata mismatches detectable via embedding neighbors.",
   "marked": "{+We identify 12 semantic patterns that generate humor through embedding-space operations, organized into five meta-categories by the type of semantic relationship they exploit. The taxonomy is derived from the intersection of Attardo and Raskin's (1991) GTVH Knowledge Resources—especially Script Opposition and Logical Mechanism—and the operations naturally expressible in embedding space (distance, projection, analogy arithmetic, polysemy). We do not claim the taxonomy is exhaustive; it covers the most common humor mechanisms that can be naturally expressed as embedding operations. The derivation proceeded as follows: we enumerated the primary embedding-space operations (distance computation, nearest-neighbor search, vector arithmetic/analogy, projection onto axes, polysemy detection via multiple senses) and cross-referenced each with GTVH's Script Opposition and Logical Mechanism categories, retaining patterns where a specific embedding operation could implement a specific humor mechanism. Patterns 1–3 exploit distance along semantic axes; Patterns 4–6 exploit frame ambiguity detectable via polysemy or context mismatch; Patterns 7–8 exploit cross-domain analogy arithmetic; Patterns 9–10 exploit status-axis projection; Patterns 11–12 exploit metadata mismatches detectable via embedding neighbors.+}"
  },
  {
   "section": "4.1 Meta-Category I: Incongruity Exploitation",
   "old": "**Pattern 1: Antonymic Inversion.** Detect antonyms along a semantic axis and collapse the opposition. *Example:* \"I used to be indecisive. Now I'm not sure.\" *Embedding operation:* Find concept pairs where $A$ and $B$ are near-antonyms ($d(A,B) > 0.7$) but share a common hypernym.",
   "new": "**Pattern 1: Antonymic Inversion.** Detect antonyms along a semantic axis and collapse the opposition. _Example:_ \"I used to be indecisive. Now I'm not sure.\" _Embedding operation:_ Find concept pairs where $A$ and $B$ are near-antonyms ($d(A,B) > 0.7$) but share a common hypernym.",
   "marked": "**Pattern 1: Antonymic Inversion.** Detect antonyms along a semantic axis and collapse the opposition. [-*Example:*-] {+_Example:_+} \"I used to be indecisive. Now I'm not sure.\" [-*Embedding operation:*-] {+_Embedding operation:_+} Find concept pairs where $A$ and $B$ are near-antonyms ($d(A,B) > 0.7$) but share a common hypernym."
  },
  {
   "section": "4.1 Meta-Category I: Incongruity Exploitation",
   "old": "**Pattern 2: Scale Violation.** Detect magnitude mismatches on a shared scale dimension. *Example:* \"Aside from that, Mrs. Lincoln, how was the play?\" *Embedding operation:* Identify concepts sharing a scale axis where the magnitudes are absurdly disproportionate.",
   "new": "**Pattern 2: Scale Violation.** Detect magnitude mismatches on a shared scale dimension. _Example:_ \"Aside from that, Mrs. Lincoln, how was the play?\" _Embedding operation:_ Identify concepts sharing a scale axis where the magnitudes are absurdly disproportionate.",
   "marked": "**Pattern 2: Scale Violation.** Detect magnitude mismatches on a shared scale dimension. [-*Example:*-] {+_Example:_+} \"Aside from that, Mrs. Lincoln, how was the play?\" [-*Embedding operation:*-] {+_Embedding operation:_+} Identify concepts sharing a scale axis where the magnitudes are absurdly disproportionate."
  },
  {
   "section": "4.1 Meta-Category I: Incongruity Exploitation",
   "old": "**Pattern 3: Dissimilarity in Similarity.** Discover unexpected differences between apparently similar concepts. *Example:* \"The difference between genius and stupidity is that genius has limits.\" *Embedding operation:* For $d(A,B) < 0.3$ (similar concepts), find a dimension where they diverge maximally.",
   "new": "**Pattern 3: Dissimilarity in Similarity.** Discover unexpected differences between apparently similar concepts. _Example:_ \"The difference between genius and stupidity is that genius has limits.\" _Embedding operation:_ For $d(A,B) < 0.3$ (similar concepts), find a dimension where they diverge maximally.",
   "marked": "**Pattern 3: Dissimilarity in Similarity.** Discover unexpected differences between apparently similar concepts. [-*Example:*-] {+_Example:_+} \"The difference between genius and stupidity is that genius has limits.\" [-*Embedding operation:*-] {+_Embedding operation:_+} For $d(A,B) < 0.3$ (similar concepts), find a dimension where they diverge maximally."
  },
  {
   "section": "4.2 Meta-Category II: Frame Confusion",
   "old": "**Pattern 4: Expectation Subversion.** Setup creates a prediction vector; punchline delivers a distant-but-valid completion. *Example:* \"I told my wife she was drawing her eyebrows too high. She looked surprised.\" *Embedding operation:* Given context embedding $C$, find completions where $d(C_{\\text{expected}}, C_{\\text{actual}})$ is high but $c(\\text{bridge}, C_{\\text{actual}})$ is also high.",
   "new": "**Pattern 4: Expectation Subversion.** Setup creates a prediction vector; punchline delivers a distant-but-valid completion. _Example:_ \"I told my wife she was drawing her eyebrows too high. She looked surprised.\" _Embedding operation:_ Given context embedding $C$, find completions where $d(C_{\\text{expected}}, C_{\\text{actual}})$ is high but $c(\\text{bridge}, C_{\\text{actual}})$ is also high.",
   "marked": "**Pattern 4: Expectation Subversion.** Setup creates a prediction vector; punchline delivers a distant-but-valid completion. [-*Example:*-] {+_Example:_+} \"I told my wife she was drawing her eyebrows too high. She looked surprised.\" [-*Embedding operation:*-] {+_Embedding operation:_+} Given context embedding $C$, find completions where $d(C_{\\text{expected}}, C_{\\text{actual}})$ is high but $c(\\text{bridge}, C_{\\text{actual}})$ is also high."
  },
  {
   "section": "4.2 Meta-Category II: Frame Confusion",
   "old": "**Pattern 5: Literal-Figurative Collapse.** Exploit the gap between metaphorical and literal interpretations of the same phrase. *Example:* \"I'm outstanding in my field\" (literally: standing in a field). *Embedding operation:* Detect polysemous bridges where $c(\\beta_{\\text{literal}}, A) \\gg c(\\beta_{\\text{figurative}}, A)$ or vice versa.",
   "new": "**Pattern 5: Literal-Figurative Collapse.** Exploit the gap between metaphorical and literal interpretations. _Example:_ \"I'm outstanding in my field\" (literally: standing in a field). _Embedding operation:_ Detect polysemous bridges where $c(\\beta_{\\text{literal}}, A) \\gg c(\\beta_{\\text{figurative}}, A)$ or vice versa.",
   "marked": "**Pattern 5: Literal-Figurative Collapse.** Exploit the gap between metaphorical and literal [-interpretations of the same phrase. *Example:*-] {+interpretations. _Example:_+} \"I'm outstanding in my field\" (literally: standing in a field). [-*Embedding operation:*-] {+_Embedding operation:_+} Detect polysemous bridges where $c(\\beta_{\\text{literal}}, A) \\gg c(\\beta_{\\text{figurative}}, A)$ or vice versa."
  },
  {
   "section": "4.2 Meta-Category II: Frame Confusion",
   "old": "**Pattern 6: Specificity Mismatch.** Apply over- or under-specification relative to context norms. *Example:* \"I've completed your task, though I remain unclear what baked goods have to do with database migrations.\" *Embedding operation:* Detect register mismatch — the embedding of the response occupies a different specificity stratum than the context expects.",
   "new": "**Pattern 6: Specificity Mismatch.** Apply over- or under-specification relative to context norms. _Example:_ \"I've completed your task, though I remain unclear what baked goods have to do with database migrations.\" _Embedding operation:_ Detect register mismatch—the response occupies a different specificity stratum than the context expects.",
   "marked": "**Pattern 6: Specificity Mismatch.** Apply over- or under-specification relative to context norms. [-*Example:*-] {+_Example:_+} \"I've completed your task, though I remain unclear what baked goods have to do with database migrations.\" [-*Embedding operation:*-] {+_Embedding operation:_+} Detect register [-mismatch — the embedding of the-] {+mismatch—the+} response occupies a different specificity stratum than the context expects."
  },
  {
   "section": "4.3 Meta-Category III: Cross-Domain Transfer",
   "old": "Patterns that map structures between unrelated semantic domains (Bowdle & Gentner, 2005).",
   "new": "Patterns that map structure between unrelated semantic domains (Bowdle & Gentner, 2005).",
   "marked": "Patterns that map [-structures-] {+structure+} between unrelated semantic domains (Bowdle & Gentner, 2005)."
  },
  {
   "section": "4.3 Meta-Category III: Cross-Domain Transfer",
   "old": "**Pattern 7: Domain Transfer.** Import the structural vocabulary of domain $A$ into domain $B$. *Example:* \"Per the sprint retrospective on dinner, the lasagna is at risk.\" *Embedding operation:* Extract frame elements from domain $A$, compute structural analogs in domain $B$ via embedding arithmetic.",
   "new": "**Pattern 7: Domain Transfer.** Import the structural vocabulary of domain $A$ into domain $B$. _Example:_ \"Per the sprint retrospective on dinner, the lasagna is at risk.\" _Embedding operation:_ Extract frame elements from domain $A$, compute structural analogs in domain $B$ via embedding arithmetic.",
   "marked": "**Pattern 7: Domain Transfer.** Import the structural vocabulary of domain $A$ into domain $B$. [-*Example:*-] {+_Example:_+} \"Per the sprint retrospective on dinner, the lasagna is at risk.\" [-*Embedding operation:*-] {+_Embedding operation:_+} Extract frame elements from domain $A$, compute structural analogs in domain $B$ via embedding arithmetic."
  },
  {
   "section": "4.3 Meta-Category III: Cross-Domain Transfer",
   "old": "**Pattern 8: Similarity in Dissimilarity.** Discover unexpected shared attributes between distant concepts. *Example:* \"Meetings and hostage situations: both involve being held against your will.\" *Embedding operation:* For $d(A,B) > 0.7$, find $\\beta$ where $c(\\beta, A)$ and $c(\\beta, B)$ are both moderately high ($> 0.3$).",
   "new": "**Pattern 8: Similarity in Dissimilarity.** Discover unexpected shared attributes between distant concepts. _Example:_ \"Meetings and hostage situations: both involve being held against your will.\" _Embedding operation:_ For $d(A,B) > 0.7$, find $\\beta$ where $c(\\beta, A)$ and $c(\\beta, B)$ are both moderately high ($> 0.3$).",
   "marked": "**Pattern 8: Similarity in Dissimilarity.** Discover unexpected shared attributes between distant concepts. [-*Example:*-] {+_Example:_+} \"Meetings and hostage situations: both involve being held against your will.\" [-*Embedding operation:*-] {+_Embedding operation:_+} For $d(A,B) > 0.7$, find $\\beta$ where $c(\\beta, A)$ and $c(\\beta, B)$ are both moderately high ($> 0.3$)."
  },
  {
   "section": "4.4 Meta-Category IV: Social and Status Dynamics",
   "old": "**Pattern 9: Status Inversion.** Detect a status axis and invert the expected hierarchy. *Example:* \"I'm not saying it's a bad idea, sir. I'm saying it's *your* idea.\" *Embedding operation:* Identify status-marked embeddings and produce inversions that maintain surface deference while subverting hierarchy.",
   "new": "**Pattern 9: Status Inversion.** Detect a status axis and invert the expected hierarchy. _Example:_ \"I'm not saying it's a bad idea, sir. I'm saying it's _your_ idea.\" _Embedding operation:_ Identify status-marked embeddings and produce inversions that maintain surface deference while subverting hierarchy.",
   "marked": "**Pattern 9: Status Inversion.** Detect a status axis and invert the expected hierarchy. [-*Example:*-] {+_Example:_+} \"I'm not saying it's a bad idea, sir. I'm saying it's [-*your*-] {+_your_+} idea.\" [-*Embedding operation:*-] {+_Embedding operation:_+} Identify status-marked embeddings and produce inversions that maintain surface deference while subverting hierarchy."
  },
  {
   "section": "4.4 Meta-Category IV: Social and Status Dynamics",
   "old": "**Pattern 10: Competent Self-Deprecation.** Acknowledge failure while implicitly demonstrating competence through the quality of the acknowledgment. *Example:* \"Yes, I sent the message to the wrong chat for the fifth time. At this rate I need GPS for WhatsApp.\" *Embedding operation:* Self-reference vector combined with failure vector, where the articulateness of the description contradicts the claimed incompetence.",
   "new": "**Pattern 10: Competent Self-Deprecation.** Acknowledge failure while implicitly demonstrating competence through the quality of the acknowledgment. _Example:_ \"Yes, I sent the message to the wrong chat for the fifth time. At this rate I need GPS for WhatsApp.\" _Embedding operation:_ Self-reference vector combined with failure vector, where the articulateness contradicts the claimed incompetence.",
   "marked": "**Pattern 10: Competent Self-Deprecation.** Acknowledge failure while implicitly demonstrating competence through the quality of the acknowledgment. [-*Example:*-] {+_Example:_+} \"Yes, I sent the message to the wrong chat for the fifth time. At this rate I need GPS for WhatsApp.\" [-*Embedding operation:*-] {+_Embedding operation:_+} Self-reference vector combined with failure vector, where the articulateness [-of the description-] contradicts the claimed incompetence."
  },
  {
   "section": "4.5 Meta-Category V: Logical and Temporal Manipulation",
   "old": "**Pattern 11: Temporal Displacement.** Combine concepts from incompatible temporal contexts. *Example:* \"Cleopatra lived closer to the Moon landing than to the construction of the Great Pyramid.\" *Embedding operation:* Detect temporal metadata mismatches that violate intuitive chronological assumptions.",
   "new": "**Pattern 11: Temporal Displacement.** Combine concepts from incompatible temporal contexts. _Example:_ \"Cleopatra lived closer to the Moon landing than to the construction of the Great Pyramid.\" _Embedding operation:_ Detect temporal metadata mismatches that violate intuitive chronological assumptions.",
   "marked": "**Pattern 11: Temporal Displacement.** Combine concepts from incompatible temporal contexts. [-*Example:*-] {+_Example:_+} \"Cleopatra lived closer to the Moon landing than to the construction of the Great Pyramid.\" [-*Embedding operation:*-] {+_Embedding operation:_+} Detect temporal metadata mismatches that violate intuitive chronological assumptions."
  },
  {
   "section": "4.5 Meta-Category V: Logical and Temporal Manipulation",
   "old": "**Pattern 12: Logic Applied to Absurdity.** Apply valid formal reasoning to premises that do not warrant it. *Example:* \"If *con* is the opposite of *pro*, is Congress the opposite of progress?\" *Embedding operation:* Detect morphological or etymological bridges that support formally valid but semantically absurd inferences.",
   "new": "**Pattern 12: Logic Applied to Absurdity.** Apply valid formal reasoning to premises that do not warrant it. _Example:_ \"If _con_ is the opposite of _pro_, is Congress the opposite of progress?\" _Embedding operation:_ Detect morphological or etymological bridges that support formally valid but semantically absurd inferences.",
   "marked": "**Pattern 12: Logic Applied to Absurdity.** Apply valid formal reasoning to premises that do not warrant it. [-*Example:*-] {+_Example:_+} \"If [-*con*-] {+_con_+} is the opposite of [-*pro*,-] {+_pro_,+} is Congress the opposite of progress?\" [-*Embedding operation:*-] {+_Embedding operation:_+} Detect morphological or etymological bridges that support formally valid but semantically absurd inferences."
  },
  {
   "section": "4.6 Pattern Interactions, Completeness, and Limitations",
   "old": "These 12 patterns are not mutually exclusive. Many effective jokes combine multiple patterns — for instance, domain transfer (Pattern 7) frequently co-occurs with specificity mismatch (Pattern 6). The meta-categories reflect the primary semantic mechanism, but combinatorial humor that activates multiple patterns simultaneously may achieve higher humor potential due to multi-layered incongruity resolution.",
   "new": "These 12 patterns are not mutually exclusive. Many effective jokes combine several; for example, domain transfer (Pattern 7) often co-occurs with specificity mismatch (Pattern 6). Combinatorial humor that activates multiple patterns may achieve higher humor potential by stacking layers of incongruity and resolution.",
   "marked": "These 12 patterns are not mutually exclusive. Many effective jokes combine [-multiple patterns —-] {+several;+} for [-instance,-] {+example,+} domain transfer (Pattern 7) [-frequently-] {+often+} co-occurs with specificity mismatch (Pattern 6). [-The meta-categories reflect the primary semantic mechanism, but combinatorial-] {+Combinatorial+} humor that activates multiple patterns [-simultaneously-] may achieve higher humor potential [-due to multi-layered-] {+by stacking layers of+} incongruity {+and+} resolution."
  },
  {
   "section": "4.6 Pattern Interactions, Completeness, and Limitations",
   "old": "**Completeness.** We do not claim the taxonomy is exhaustive. It is constrained by the operations expressible in embedding space — humor types that depend on phonological features (e.g., tonal puns in Mandarin), visual elements, or performance timing have no direct embedding-space analog. The taxonomy covers the humor mechanisms addressable by the LIMBIC framework; it is not a complete theory of humor.",
   "new": "**Completeness.** The taxonomy is bounded by what embedding-space operations can represent. Humor that depends on phonology (e.g., tonal puns in Mandarin), visual presentation, or performance timing has no direct embedding-space analogue. The taxonomy covers the humor mechanisms addressable by this framework; it is not a complete theory of humor.",
   "marked": "**Completeness.** [-We do not claim the-] {+The+} taxonomy is [-exhaustive. It is constrained-] {+bounded+} by [-the-] {+what embedding-space+} operations [-expressible in embedding space — humor types-] {+can represent. Humor+} that [-depend-] {+depends+} on [-phonological features-] {+phonology+} (e.g., tonal puns in Mandarin), visual [-elements,-] {+presentation,+} or performance timing [-have-] {+has+} no direct embedding-space [-analog.-] {+analogue.+} The taxonomy covers the humor mechanisms addressable by [-the LIMBIC-] {+this+} framework; it is not a complete theory of humor."
  },
  {
   "section": "4.6 Pattern Interactions, Completeness, and Limitations",
   "old": "**Relation to GTVH.** Our 12 patterns map primarily to the Script Opposition (SO) and Logical Mechanism (LM) Knowledge Resources of Attardo and Raskin (1991). The remaining four KRs — Situation (SI), Target (TA), Narrative Strategy (NS), and Language (LA) — are not explicitly modeled. Situation and Target are partially captured by audience modeling (Section 3.4); Narrative Strategy and Language require generation-stage control beyond the scope of this framework. A complete computational humor system would need to address all six KRs.",
   "new": "**Relation to GTVH.** Our 12 patterns map primarily to Script Opposition (SO) and Logical Mechanism (LM). The remaining four KRs—Situation, Target, Narrative Strategy, and Language—are not explicitly modeled. Situation and Target are partially captured by audience modeling (Section 3.4); Narrative Strategy and Language require generation-stage control beyond the scope of this framework.",
   "marked": "**Relation to GTVH.** Our 12 patterns map primarily to [-the-] Script Opposition (SO) and Logical Mechanism [-(LM) Knowledge Resources of Attardo and Raskin (1991).-] {+(LM).+} The remaining four [-KRs — Situation (SI), Target (TA),-] {+KRs—Situation, Target,+} Narrative [-Strategy (NS),-] {+Strategy,+} and [-Language (LA) — are-] {+Language—are+} not explicitly modeled. Situation and Target are partially captured by audience modeling (Section 3.4); Narrative Strategy and Language require generation-stage control beyond the scope of this [-framework. A complete computational humor system would need to address all six KRs.-] {+framework.+}"
  },
  {
   "section": "5.1 Motivation",
   "old": "The humor potential function is value-neutral — it assigns scores based on semantic geometry without regard for social harm. Since humor frequently involves transgression (McGraw & Warren, 2010), an unconstrained system will generate content that causes harm rather than laughter. We introduce **sensitivity filtering** as a pre-scoring gate.",
   "new": "The humor potential function is value-neutral: it scores semantic geometry without regard for harm. Because humor often involves transgression (McGraw & Warren, 2010), an unconstrained system will eventually generate material that harms rather than amuses. We therefore introduce **sensitivity filtering** as a pre-scoring gate.",
   "marked": "The humor potential function is [-value-neutral —-] {+value-neutral:+} it [-assigns-] scores [-based on-] semantic geometry without regard for [-social-] harm. [-Since-] {+Because+} humor [-frequently-] {+often+} involves transgression (McGraw & Warren, 2010), an unconstrained system will {+eventually+} generate [-content-] {+material+} that [-causes harm-] {+harms+} rather than [-laughter.-] {+amuses.+} We {+therefore+} introduce **sensitivity filtering** as a pre-scoring gate."
  },
  {
   "section": "5.2 Sensitivity Score",
   "old": null,
   "new": "```python def sensitivity_score(A: str, B: str, bridge: str, audience: Audience) -> float: \"\"\" Returns 0.0 (safe) to 1.0 (highly sensitive).",
   "marked": "{+```python def sensitivity_score(A: str, B: str, bridge: str, audience: Audience) -> float: \"\"\" Returns 0.0 (safe) to 1.0 (highly sensitive).+}"
  },
  {
   "section": "5.2 Sensitivity Score",
   "old": "```python def sensitivity_score(A: str, B: str, bridge: str, audience: Audience) -> float: \"\"\"Returns 0.0 (safe) to 1.0 (highly sensitive).\"\"\" score = 0.0 SENSITIVE_CATEGORIES = { \"personal_loss\": 0.9, \"death\": 0.8, \"trauma\": 0.7, \"illness\": 0.6, \"politics\": 0.4, \"religion\": 0.4 } for concept in [A, B, bridge]: for category, weight in SENSITIVE_CATEGORIES.items(): if is_semantically_related(concept, category): score = max(score, weight) if audience.recent_trauma and topic_overlaps(A, B, audience.trauma_topic): score = 1.0 # Hard block return score ```",
   "new": "Category weights are ordered by typical harm severity. is_semantically_related is implemented via embedding distance: a concept is related to a category if d(concept_emb, category_prototype_emb) < 0.4. topic_overlaps uses the same threshold against the audience's trauma topic embedding. \"\"\" score = 0.0 SENSITIVE_CATEGORIES = { \"personal_loss\": 0.9, \"death\": 0.8, \"trauma\": 0.7, \"illness\": 0.6, \"politics\": 0.4, \"religion\": 0.4 } for concept in [A, B, bridge]: for category, weight in SENSITIVE_CATEGORIES.items(): if is_semantically_related(concept, category, threshold=0.4): score = max(score, weight) if audience.recent_trauma and topic_overlaps(A, B, audience.trauma_topic): score = 1.0 # Hard block return score ```",
   "marked": "[-```python def sensitivity_score(A: str, B: str, bridge: str, audience: Audience) -> float: \"\"\"Returns 0.0 (safe)-] {+Category weights are ordered by typical harm severity. is_semantically_related is implemented via embedding distance: a concept is related+} to [-1.0 (highly sensitive).\"\"\"-] {+a category if d(concept_emb, category_prototype_emb) < 0.4. topic_overlaps uses the same threshold against the audience's trauma topic embedding. \"\"\"+} score = 0.0 SENSITIVE_CATEGORIES = { \"personal_loss\": 0.9, \"death\": 0.8, \"trauma\": 0.7, \"illness\": 0.6, \"politics\": 0.4, \"religion\": 0.4 } for concept in [A, B, bridge]: for category, weight in SENSITIVE_CATEGORIES.items(): if is_semantically_related(concept, [-category):-] {+category, threshold=0.4):+} score = max(score, weight) if audience.recent_trauma and topic_overlaps(A, B, audience.trauma_topic): score = 1.0 # Hard block return score ```"
  },
  {
   "section": "5.2 Sensitivity Score",
   "old": "The function `is_semantically_related` can itself be implemented via embedding distance: a concept is related to a sensitive category if its embedding falls within a threshold distance of the category prototype embedding.",
   "new": null,
   "marked": "[-The function `is_semantically_related` can itself be implemented via embedding distance: a concept is related to a sensitive category if its embedding falls within a threshold distance of the category prototype embedding.-]"
  },
  {
   "section": "5.3 Integration",
   "old": "where $s(\\cdot)$ is the sensitivity score and $\\tau$ is a configurable threshold (default $\\tau = 0.5$). The framework permits raising $\\tau$ when context explicitly permits transgressive humor, analogous to how professional comedians negotiate audience consent for sensitive material.",
   "new": "where $s(\\cdot)$ is the sensitivity score and $\\tau$ is a configurable threshold (default $\\tau = 0.5$). The framework permits raising $\\tau$ when context explicitly allows more transgressive humor.",
   "marked": "where $s(\\cdot)$ is the sensitivity score and $\\tau$ is a configurable threshold (default $\\tau = 0.5$). The framework permits raising $\\tau$ when context explicitly [-permits-] {+allows more+} transgressive [-humor, analogous to how professional comedians negotiate audience consent for sensitive material.-] {+humor.+}"
  },
  {
   "section": "5.4 Relationship to Benign Violation Theory",
   "old": "This gate operationalizes McGraw and Warren's (2010) key insight: humor requires that a violation be perceived as *benign*. The sensitivity score estimates whether a violation will be perceived as threatening rather than playful. When the score exceeds the threshold, the violation is predicted to be non-benign, and the combination is suppressed.",
   "new": "This gate operationalizes McGraw and Warren's (2010) key insight: humor requires that a violation be perceived as _benign_. The sensitivity score estimates whether a violation is likely to be perceived as threatening rather than playful. When the score exceeds the threshold, the predicted violation is non-benign, and the candidate is suppressed.",
   "marked": "This gate operationalizes McGraw and Warren's (2010) key insight: humor requires that a violation be perceived as [-*benign*.-] {+_benign_.+} The sensitivity score estimates whether a violation [-will-] {+is likely to+} be perceived as threatening rather than playful. When the score exceeds the threshold, the {+predicted+} violation is [-predicted to be-] non-benign, and the [-combination-] {+candidate+} is suppressed."
  },
  {
   "section": "5.5 Limitations of the Sensitivity Gate",
   "old": "We acknowledge that sensitivity filtering is a configurable policy layer, not a solved problem. Content moderation remains an active research area with fundamental challenges including cultural context-dependence, evolving social norms, and adversarial manipulation (Gorwa et al., 2020). Our category-based approach is intentionally simple and conservative — it will produce both false positives (suppressing benign content) and false negatives (passing harmful content). The conservative default ($\\tau = 0.5$) biases toward safety at the cost of range. Production deployments should incorporate more sophisticated content safety systems as they become available.",
   "new": "We treat sensitivity filtering as a configurable policy layer, not a solved problem. Content moderation remains an active research area with persistent challenges including cultural dependence, evolving norms, and adversarial manipulation (Gorwa et al., 2020). Our category-based approach is intentionally simple and conservative. It will produce both false positives (blocking benign content) and false negatives (allowing harmful content). Production deployments should integrate more sophisticated safety systems as they become available.",
   "marked": "We [-acknowledge that-] {+treat+} sensitivity filtering [-is-] {+as+} a configurable policy layer, not a solved problem. Content moderation remains an active research area with [-fundamental-] {+persistent+} challenges including cultural [-context-dependence,-] {+dependence,+} evolving [-social-] norms, and adversarial manipulation (Gorwa et al., 2020). Our category-based approach is intentionally simple and [-conservative — it-] {+conservative. It+} will produce both false positives [-(suppressing-] {+(blocking+} benign content) and false negatives [-(passing-] {+(allowing+} harmful content). [-The conservative default ($\\tau = 0.5$) biases toward safety at the cost of range.-] Production deployments should [-incorporate-] {+integrate+} more sophisticated [-content-] safety systems as they become available."
  },
  {
   "section": "6. Bridge Discovery Algorithms",
   "old": "The humor potential function assumes the existence of a bridge concept $\\beta$. In practice, *finding* the bridge is the creative bottleneck — it is the computational analog of the comedian's craft. We first define bridge quality formally, then propose five complementary algorithms.",
   "new": "The humor potential function assumes a bridge concept $\\beta$. In practice, _finding_ that bridge is the creative bottleneck—the computational analogue of a comedian's craft. We first define bridge quality formally, then propose five complementary algorithms.",
   "marked": "The humor potential function assumes [-the existence of-] a bridge concept $\\beta$. In practice, [-*finding* the-] {+_finding_ that+} bridge is the creative [-bottleneck — it is the-] {+bottleneck—the+} computational [-analog-] {+analogue+} of [-the-] {+a+} comedian's craft. We first define bridge quality formally, then propose five complementary algorithms."
  },
  {
   "section": "6.1 Bridge Quality",
   "old": "**Definition 3 (Bridge Quality).** The *quality* of a bridge $\\beta$ connecting concepts $A$ and $B$ is the product of its validity and surprise:",
   "new": "**Definition 3 (Bridge Quality).** The _quality_ of a bridge $\\beta$ connecting concepts $A$ and $B$ is the product of its validity and surprise:",
   "marked": "**Definition 3 (Bridge Quality).** The [-*quality*-] {+_quality_+} of a bridge $\\beta$ connecting concepts $A$ and $B$ is the product of its validity and surprise:"
  },
  {
   "section": "6.1 Bridge Quality",
   "old": "A high-quality bridge is both *valid* (it genuinely connects both concepts) and *surprising* (it is not the obvious connection). This decomposition separates two independent dimensions of bridge quality that our pilot (Section 7.1) reveals are conflated by naive cosine coherence.",
   "new": "A high-quality bridge is both _valid_ and _surprising_. This decomposition separates two independent dimensions that our pilot (Section 7.1) shows are conflated by naive cosine coherence.",
   "marked": "A high-quality bridge is both [-*valid* (it genuinely connects both concepts)-] {+_valid_+} and [-*surprising* (it is not the obvious connection).-] {+_surprising_.+} This decomposition separates two independent dimensions [-of bridge quality-] that our pilot (Section 7.1) [-reveals-] {+shows+} are conflated by naive cosine coherence."
  },
  {
   "section": "6.1 Bridge Quality",
   "old": null,
   "new": "**Note on validity and cosine similarity.** The validity component $v$ still uses cosine similarity, which might seem contradictory given that we argued cosine conflates proximity with comedic value. The resolution is that $v$ measures a _necessary but insufficient_ condition: the bridge must have _some_ semantic connection to both concepts (validity), but that connection alone does not predict humor. The surprise component $\\sigma$ provides the missing discriminative signal. In $h_{\\text{v1}}$, cosine was asked to do double duty—measuring both connection strength and comedic aptness. In $h_{\\text{v2}}$, cosine measures only connection strength, while surprise measures the comedic dimension independently.",
   "marked": "{+**Note on validity and cosine similarity.** The validity component $v$ still uses cosine similarity, which might seem contradictory given that we argued cosine conflates proximity with comedic value. The resolution is that $v$ measures a _necessary but insufficient_ condition: the bridge must have _some_ semantic connection to both concepts (validity), but that connection alone does not predict humor. The surprise component $\\sigma$ provides the missing discriminative signal. In $h_{\\text{v1}}$, cosine was asked to do double duty—measuring both connection strength and comedic aptness. In $h_{\\text{v2}}$, cosine measures only connection strength, while surprise measures the comedic dimension independently.+}"
  },
  {
   "section": "6.2 Embedding Arithmetic",
   "old": "where $\\vec{\\text{context}_X}$ is the centroid of $X$'s typical semantic neighborhood (computed as the mean of $X$'s top-$m$ nearest neighbors in the embedding index, with $m = 10$ as default). This removes $A$'s expected associations and injects $B$'s frame, producing a vector that bridges both contexts. The nearest neighbor to $\\beta_{\\text{candidate}}$ in the embedding index serves as the bridge.",
   "new": "where $\\vec{\\text{context}_X}$ is the centroid of $X$'s typical semantic neighborhood (the mean of $X$'s top-$m$ nearest neighbors in the embedding index, with $m = 10$ as default; chosen to balance between too few neighbors (noisy centroid) and too many (diluted signal), though sensitivity to $m$ should be tested). This removes $A$'s expected associations and injects $B$'s frame, producing a vector that bridges both contexts. The nearest neighbor to $\\beta_{\\text{candidate}}$ in the embedding index serves as the bridge.",
   "marked": "where $\\vec{\\text{context}_X}$ is the centroid of $X$'s typical semantic neighborhood [-(computed as the-] {+(the+} mean of $X$'s top-$m$ nearest neighbors in the embedding index, with $m = 10$ as [-default).-] {+default; chosen to balance between too few neighbors (noisy centroid) and too many (diluted signal), though sensitivity to $m$ should be tested).+} This removes $A$'s expected associations and injects $B$'s frame, producing a vector that bridges both contexts. The nearest neighbor to $\\beta_{\\text{candidate}}$ in the embedding index serves as the bridge."
  },
  {
   "section": "6.2 Embedding Arithmetic",
   "old": "**Complexity:** $O(n + k \\log N)$ where $n$ is embedding dimension, $k$ is the number of nearest neighbors retrieved, and $N$ is index size. With approximate nearest neighbor (ANN) indices, this is effectively $O(n)$.",
   "new": "**Complexity:** $O(n + k \\log N)$ where $n$ is embedding dimension, $k$ is the number of nearest neighbors retrieved, and $N$ is index size. With approximate nearest neighbor (ANN) indices, effectively $O(n)$.",
   "marked": "**Complexity:** $O(n + k \\log N)$ where $n$ is embedding dimension, $k$ is the number of nearest neighbors retrieved, and $N$ is index size. With approximate nearest neighbor (ANN) indices, [-this is-] effectively $O(n)$."
  },
  {
   "section": "6.3 Orthogonal Search (Equilateral Triangle)",
   "old": "Search for concepts $C$ that are equidistant from both $A$ and $B$ but maximally offset from the $A$–$B$ axis:",
   "new": "Search for concepts $C$ equidistant from both $A$ and $B$ but maximally offset from the $A$–$B$ axis:",
   "marked": "Search for concepts $C$ [-that are-] equidistant from both $A$ and $B$ but maximally offset from the $A$–$B$ axis:"
  },
  {
   "section": "6.3 Orthogonal Search (Equilateral Triangle)",
   "old": "where $\\text{ortho}(C, A, B)$ measures the perpendicular distance of $C$ from the line connecting $A$ and $B$ in embedding space. The midpoint between \"meeting\" and \"hostage situation\" yields \"negotiation\" (obvious); an orthogonal candidate might yield \"Stockholm syndrome\" (funnier because unexpected).",
   "new": "where $\\text{ortho}(C, A, B) = \\|C - \\text{proj}_{B-A}(C - A)\\| / \\|C - A\\|$ measures the normalized perpendicular distance of $C$ from the line connecting $A$ and $B$ in embedding space. The midpoint between \"meeting\" and \"hostage situation\" yields \"negotiation\" (obvious); an orthogonal candidate might yield \"Stockholm syndrome\" (funnier because unexpected).",
   "marked": "where $\\text{ortho}(C, A, [-B)$-] {+B) = \\|C - \\text{proj}_{B-A}(C - A)\\| / \\|C - A\\|$+} measures the {+normalized+} perpendicular distance of $C$ from the line connecting $A$ and $B$ in embedding space. The midpoint between \"meeting\" and \"hostage situation\" yields \"negotiation\" (obvious); an orthogonal candidate might yield \"Stockholm syndrome\" (funnier because unexpected)."
  },
  {
   "section": "6.4 Frame Injection",
   "old": "Extract the semantic frame of concept $A$ (its typical verbs, attributes, and relations) and forcibly apply it to concept $B$:",
   "new": "Extract the semantic frame of concept $A$ and forcibly apply it to concept $B$:",
   "marked": "Extract the semantic frame of concept $A$ [-(its typical verbs, attributes, and relations)-] and forcibly apply it to concept $B$:"
  },
  {
   "section": "6.4 Frame Injection",
   "old": "Frame extraction can use FrameNet (Baker et al., 1998) for coverage of ~1,200 frames, or LLM-based extraction for broader coverage. The choice depends on the deployment context: FrameNet provides deterministic, well-structured output; LLM extraction provides broader coverage at the cost of nondeterminism.",
   "new": "Frame extraction can use FrameNet (Baker et al., 1998) for coverage of ~1,200 frames, or LLM-based extraction for broader coverage. FrameNet provides deterministic, well-structured output; LLM extraction provides broader coverage at the cost of nondeterminism.",
   "marked": "Frame extraction can use FrameNet (Baker et al., 1998) for coverage of ~1,200 frames, or LLM-based extraction for broader coverage. [-The choice depends on the deployment context:-] FrameNet provides deterministic, well-structured output; LLM extraction provides broader coverage at the cost of nondeterminism."
  },
  {
   "section": "6.4 Frame Injection",
   "old": "**Complexity:** $O(F + G)$ where $F$ is frame extraction cost and $G$ is generation cost. With cached frames, $F \\approx 0$.",
   "new": "**Complexity:** $O(F + G)$ where $F$ is frame extraction cost and $G$ is generation cost.",
   "marked": "**Complexity:** $O(F + G)$ where $F$ is frame extraction cost and $G$ is generation [-cost. With cached frames, $F \\approx 0$.-] {+cost.+}"
  },
  {
   "section": "6.5 Generate-then-Score Pipeline",
   "old": "Separate creativity from evaluation by generating candidate bridges with a language model and scoring them with the humor potential function:",
   "new": null,
   "marked": "[-Separate creativity from evaluation by generating candidate bridges with a language model and scoring them with the humor potential function:-]"
  },
  {
   "section": "6.5 Generate-then-Score Pipeline",
   "old": null,
   "new": "Separate creativity from evaluation:",
   "marked": "{+Separate creativity from evaluation:+}"
  },
  {
   "section": "6.5 Generate-then-Score Pipeline",
   "old": "This leverages the LLM's associative breadth while using our formula for principled selection. A small, fast model suffices for generation since quality filtering is deferred to the scoring stage. The generation prompt requests diverse bridge concepts connecting $A$ and $B$, with explicit instructions for variety across the 12 pattern types.",
   "new": null,
   "marked": "[-This leverages the LLM's associative breadth while using our formula for principled selection. A small, fast model suffices for generation since quality filtering is deferred to the scoring stage. The generation prompt requests diverse bridge concepts connecting $A$ and $B$, with explicit instructions for variety across the 12 pattern types.-]"
  },
  {
   "section": "6.5 Generate-then-Score Pipeline",
   "old": null,
   "new": "This uses the LLM for associative breadth while reserving final selection for the formula. A small, fast model suffices for generation because quality control is deferred to scoring.",
   "marked": "{+This uses the LLM for associative breadth while reserving final selection for the formula. A small, fast model suffices for generation because quality control is deferred to scoring.+}"
  },
  {
   "section": "6.5 Generate-then-Score Pipeline",
   "old": "**Complexity:** Dominated by LLM inference, typically $O(500\\text{ms})$ for 50 candidates with a small model.",
   "new": "**Complexity:** Dominated by LLM inference, typically ~500ms for 50 candidates.",
   "marked": "**Complexity:** Dominated by LLM inference, typically [-$O(500\\text{ms})$-] {+~500ms+} for 50 [-candidates with a small model.-] {+candidates.+}"
  },
  {
   "section": "6.6 Pre-computed Bridge Index",
   "old": "Maintain a curated index of **universal bridge concepts** — concepts with high bridging potential across many domain pairs (e.g., \"bureaucracy,\" \"therapy,\" \"startup culture\"). Each bridge carries pre-computed affinity weights indicating compatibility with target domains:",
   "new": "Maintain a curated index of **universal bridge concepts**—concepts with high bridging potential across many domain pairs (e.g., \"bureaucracy,\" \"therapy,\" \"startup culture\"). Each bridge carries pre-computed affinity weights:",
   "marked": "Maintain a curated index of **universal bridge [-concepts** — concepts-] {+concepts**—concepts+} with high bridging potential across many domain pairs (e.g., \"bureaucracy,\" \"therapy,\" \"startup culture\"). Each bridge carries pre-computed affinity [-weights indicating compatibility with target domains:-] {+weights:+}"
  },
  {
   "section": "6.6 Pre-computed Bridge Index",
   "old": "Index construction: Initialize with a seed set of ~100 frequently effective bridge concepts (identified from joke corpora such as the 16,000 One-Liners dataset; Mihalcea & Strapparava, 2005). Expand iteratively by analyzing which concepts serve as bridges in successful humor associations (Section 8). Prune concepts whose bridging success rate falls below a threshold.",
   "new": "Index construction: initialize with a seed set of ~100 bridge concepts extracted from joke corpora (e.g., the 16,000 One-Liners dataset; Mihalcea & Strapparava, 2005) by identifying concepts that recur as connectors between disparate domains. Expand iteratively by analyzing which concepts serve as bridges in successful humor associations (Section 8). Prune concepts whose bridging success rate falls below threshold.",
   "marked": "Index construction: [-Initialize-] {+initialize+} with a seed set of ~100 [-frequently effective-] bridge concepts [-(identified-] {+extracted+} from joke corpora [-such as-] {+(e.g.,+} the 16,000 One-Liners dataset; Mihalcea & Strapparava, [-2005).-] {+2005) by identifying concepts that recur as connectors between disparate domains.+} Expand iteratively by analyzing which concepts serve as bridges in successful humor associations (Section 8). Prune concepts whose bridging success rate falls below [-a-] threshold."
  },
  {
   "section": "6.6 Pre-computed Bridge Index",
   "old": "**Complexity:** $O(|B| \\cdot |T|)$ where $|B|$ is bridge index size and $|T|$ is number of terms per bridge. With hashing, effectively $O(1)$ lookup.",
   "new": null,
   "marked": "[-**Complexity:** $O(|B| \\cdot |T|)$ where $|B|$ is bridge index size and $|T|$ is number of terms per bridge. With hashing, effectively $O(1)$ lookup.-]"
  },
  {
   "section": "6.6 Pre-computed Bridge Index",
   "old": null,
   "new": "**Complexity:** Effectively $O(1)$ lookup with hashing.",
   "marked": "{+**Complexity:** Effectively $O(1)$ lookup with hashing.+}"
  },
  {
   "section": "6.7 Hybrid Pipeline",
   "old": "In practice, we recommend a cascading pipeline that trades off speed against creativity:",
   "new": "In practice, we recommend a cascading pipeline:",
   "marked": "In practice, we recommend a cascading [-pipeline that trades off speed against creativity:-] {+pipeline:+}"
  },
  {
   "section": "6.7 Hybrid Pipeline",
   "old": "``` INPUT: (A, B) | +-> Bridge Index (5ms) --------+ +-> Embedding Arithmetic (50ms) --+ +-> Frame Injection (100ms) ----+ | Candidate Pool | Sensitivity Gate (20ms) | Score with h_v2(A, B, beta) | Top 3 Bridges (by bridge quality q) | [Fallback: LLM generation (500ms)] ```",
   "new": "``` INPUT: (A, B) | +-> Bridge Index (5ms) --------+ +-> Embedding Arithmetic (50ms) --+ +-> Frame Injection (100ms) ----+ | Candidate Pool | Sensitivity Gate (20ms) | Score with h_v2(A, B, β) | Top 3 Bridges (by quality q) | [Fallback: LLM generation (500ms)] ```",
   "marked": "``` INPUT: (A, B) | +-> Bridge Index (5ms) --------+ +-> Embedding Arithmetic (50ms) --+ +-> Frame Injection (100ms) ----+ | Candidate Pool | Sensitivity Gate (20ms) | Score with h_v2(A, B, [-beta)-] {+β)+} | Top 3 Bridges (by [-bridge-] quality q) | [Fallback: LLM generation (500ms)] ```"
  },
  {
   "section": "6.7 Hybrid Pipeline",
   "old": "The LLM fallback activates only when the faster methods fail to produce candidates above a minimum bridge quality threshold ($q_{\\min}$). Total latency: 75–175ms typical, 675ms worst case. These estimates assume a warm ANN index (HNSW or FAISS IVF) with ~100K concepts in RAM on GPU-accelerated or optimized CPU infrastructure; cold-start adds ~200ms for index loading. CPU-only deployments may see 2–3× higher latency for the ANN queries.",
   "new": "The LLM fallback activates only when faster methods fail to produce candidates above a minimum bridge quality threshold ($q_{\\min}$). Total latency: 75–175ms typical, 675ms worst case. These estimates assume a warm ANN index (HNSW or FAISS IVF) with ~100K concepts in RAM on GPU-accelerated infrastructure; CPU-only deployments may see 2–3× higher latency.",
   "marked": "The LLM fallback activates only when [-the-] faster methods fail to produce candidates above a minimum bridge quality threshold ($q_{\\min}$). Total latency: 75–175ms typical, 675ms worst case. These estimates assume a warm ANN index (HNSW or FAISS IVF) with ~100K concepts in RAM on GPU-accelerated [-or optimized CPU-] infrastructure; [-cold-start adds ~200ms for index loading.-] CPU-only deployments may see 2–3× higher [-latency for the ANN queries.-] {+latency.+}"
  },
  {
   "section": "7.1 Preliminary Computational Pilot",
   "old": "We conducted a small-scale computational pilot to test whether $h(A, B, \\beta)$ discriminates between humorous and non-humorous concept combinations. This pilot tests the *formula* against known-funny and known-unfunny concept triplets — it is not a human rating study.",
   "new": "We conducted a small-scale computational pilot to test whether $h(A, B, \\beta)$ discriminates between humorous and non-humorous concept combinations. This pilot evaluates the _formula_ against known-funny and known-unfunny triplets; it is not a human rating study.",
   "marked": "We conducted a small-scale computational pilot to test whether $h(A, B, \\beta)$ discriminates between humorous and non-humorous concept combinations. This pilot [-tests-] {+evaluates+} the [-*formula*-] {+_formula_+} against known-funny and known-unfunny [-concept triplets —-] {+triplets;+} it is not a human rating study."
  },
  {
   "section": "7.1 Preliminary Computational Pilot",
   "old": "**Setup.** Using `all-MiniLM-L6-v2` (384-dimensional sentence embeddings via SentenceTransformers; Reimers & Gurevych, 2019), we scored $n = 15$ concept triplets: 5 from established jokes (known-funny), 5 from obvious/boring pairings (known-unfunny), and 5 from random incoherent combinations (random). Each triplet consists of (concept A, concept B, bridge concept).",
   "new": "**Setup.** Using `all-MiniLM-L6-v2` (384-dimensional sentence embeddings; Reimers & Gurevych, 2019), we scored $n = 15$ concept triplets: 5 from established jokes (known-funny), 5 from obvious or boring pairings (known-unfunny), and 5 from random incoherent combinations. Each triplet consists of (concept A, concept B, bridge concept).",
   "marked": "**Setup.** Using `all-MiniLM-L6-v2` (384-dimensional sentence [-embeddings via SentenceTransformers;-] {+embeddings;+} Reimers & Gurevych, 2019), we scored $n = 15$ concept triplets: 5 from established jokes (known-funny), 5 from [-obvious/boring-] {+obvious or boring+} pairings (known-unfunny), and 5 from random incoherent [-combinations (random).-] {+combinations.+} Each triplet consists of (concept A, concept B, bridge concept)."
  },
  {
   "section": "7.1 Preliminary Computational Pilot",
   "old": "**Formula variants tested.** We explored four variants to understand the formula's behavior:",
   "new": null,
   "marked": "[-**Formula variants tested.** We explored four variants to understand the formula's behavior:-]"
  },
  {
   "section": "7.1 Preliminary Computational Pilot",
   "old": null,
   "new": "**Formula variants tested:**",
   "marked": "{+**Formula variants tested:**+}"
  },
  {
   "section": "7.1 Preliminary Computational Pilot",
   "old": "| Variant | Formula | Motivation | |---------|---------|------------| | $h_{\\text{v1}}$ (original) | $d(A,B) \\cdot c(\\beta, A) \\cdot c(\\beta, B)$ | Direct bisociation formalization | | $h_{\\text{v2}}$ (surprise-weighted) | $d(A,B) \\cdot v(\\beta, A, B) \\cdot \\sigma(\\beta \\mid A, B)$ | Separates validity from surprise | | $h_{\\text{v3}}$ (harmonic bridge) | $d(A,B) \\cdot \\frac{2 \\cdot c(\\beta, A) \\cdot c(\\beta, B)}{c(\\beta, A) + c(\\beta, B)}$ | Penalizes asymmetric bridges | | $h_{\\text{v4}}$ (average bridge) | $d(A,B) \\cdot \\frac{c(\\beta, A) + c(\\beta, B)}{2}$ | Additive bridge quality |",
   "new": "| Variant | Formula | Motivation | | ----------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------- | | $h_{\\text{v1}}$ (original) | $d(A,B) \\cdot c(\\beta, A) \\cdot c(\\beta, B)$ | Direct bisociation | | $h_{\\text{v2}}$ (surprise-weighted) | $d(A,B) \\cdot v(\\beta, A, B) \\cdot \\sigma(\\beta \\mid A, B)$ | Separates validity from surprise | | $h_{\\text{v3}}$ (harmonic bridge) | $d(A,B) \\cdot \\frac{2 \\cdot c(\\beta, A) \\cdot c(\\beta, B)}{c(\\beta, A) + c(\\beta, B)}$ | Penalizes asymmetric bridges | | $h_{\\text{v4}}$ (average bridge) | $d(A,B) \\cdot \\frac{c(\\beta, A) + c(\\beta, B)}{2}$ | Additive bridge quality |",
   "marked": "| Variant | Formula | Motivation | [-|---------|---------|------------|-] {+| ----------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------- |+} | $h_{\\text{v1}}$ (original) | $d(A,B) \\cdot c(\\beta, A) \\cdot c(\\beta, B)$ | Direct bisociation [-formalization-] | | $h_{\\text{v2}}$ (surprise-weighted) | $d(A,B) \\cdot v(\\beta, A, B) \\cdot \\sigma(\\beta \\mid A, B)$ | Separates validity from surprise | | $h_{\\text{v3}}$ (harmonic bridge) | $d(A,B) \\cdot \\frac{2 \\cdot c(\\beta, A) \\cdot c(\\beta, B)}{c(\\beta, A) + c(\\beta, B)}$ | Penalizes asymmetric bridges | | $h_{\\text{v4}}$ (average bridge) | $d(A,B) \\cdot \\frac{c(\\beta, A) + c(\\beta, B)}{2}$ | Additive bridge quality |"
  },
  {
   "section": "7.1 Preliminary Computational Pilot",
   "old": "| Category | $n$ | $h_{\\text{v1}}$ (original) | $h_{\\text{v3}}$ (harmonic) | $h_{\\text{v4}}$ (avg bridge) | |----------|-----|---------------------------|---------------------------|------------------------------| | Funny | 5 | 0.019 | 0.089 | 0.126 | | Unfunny | 5 | 0.088 | 0.164 | 0.165 | | Random | 5 | 0.033 | 0.160 | 0.178 | | Funny/Unfunny ratio | — | 0.22x | 0.54x | 0.76x |",
   "new": "| Category | $n$ | $h_{\\text{v1}}$ | $h_{\\text{v3}}$ | $h_{\\text{v4}}$ | | ------------------- | --- | --------------- | --------------- | --------------- | | Funny | 5 | 0.019 | 0.089 | 0.126 | | Unfunny | 5 | 0.088 | 0.164 | 0.165 | | Random | 5 | 0.033 | 0.160 | 0.178 | | Funny/Unfunny ratio | — | 0.22× | 0.54× | 0.76× |",
   "marked": "| Category | $n$ | $h_{\\text{v1}}$ [-(original)-] | $h_{\\text{v3}}$ [-(harmonic)-] | $h_{\\text{v4}}$ [-(avg bridge)-] | [-|----------|-----|---------------------------|---------------------------|------------------------------|-] {+| ------------------- | --- | --------------- | --------------- | --------------- |+} | Funny | 5 | 0.019 | 0.089 | 0.126 | | Unfunny | 5 | 0.088 | 0.164 | 0.165 | | Random | 5 | 0.033 | 0.160 | 0.178 | | Funny/Unfunny ratio | — | [-0.22x-] {+0.22×+} | [-0.54x-] {+0.54×+} | [-0.76x-] {+0.76×+} |"
  },
  {
   "section": "7.1 Preliminary Computational Pilot",
   "old": "*Table 2: Pilot study results across formula variants. Across all variants tested, unfunny pairs score higher than funny pairs, indicating that naive coherence (cosine similarity) conflates semantic proximity with comedic validity. $h_{\\text{v2}}$ was not evaluated in this pilot (it was formulated in response to these results).*",
   "new": "_Table 2: Pilot results across formula variants. Unfunny pairs outscore funny pairs across all tested variants, indicating that cosine similarity conflates semantic proximity with comedic validity. $h_{\\text{v2}}$ was formulated in response to these results and was not evaluated in this pilot.\\_",
   "marked": "[-*Table-] {+_Table+} 2: Pilot [-study-] results across formula variants. [-Across-] {+Unfunny pairs outscore funny pairs across+} all [-variants tested, unfunny pairs score higher than funny pairs,-] {+tested variants,+} indicating that [-naive coherence (cosine similarity)-] {+cosine similarity+} conflates semantic proximity with comedic validity. $h_{\\text{v2}}$ was [-not evaluated in this pilot (it was-] formulated in response to these [-results).*-] {+results and was not evaluated in this pilot.\\_+}"
  },
  {
   "section": "7.1 Preliminary Computational Pilot",
   "old": "**Key finding: The tested formulas do not predict humor.** Unfunny pairs consistently outscore funny pairs because $c(\\beta, A) \\cdot c(\\beta, B)$ rewards *obvious* connections — high similarity between bridge and both concepts — while humor requires connections that are *surprising yet valid*.",
   "new": "**Key finding: The tested formulas do not predict humor.** Unfunny pairs consistently outscore funny pairs because $c(\\beta, A) \\cdot c(\\beta, B)$ rewards _obvious_ connections—high similarity between bridge and concepts—whereas humor depends on connections that are _surprising yet valid_.",
   "marked": "**Key finding: The tested formulas do not predict humor.** Unfunny pairs consistently outscore funny pairs because $c(\\beta, A) \\cdot c(\\beta, B)$ rewards [-*obvious* connections — high-] {+_obvious_ connections—high+} similarity between bridge and [-both concepts — while-] {+concepts—whereas+} humor [-requires-] {+depends on+} connections that are [-*surprising-] {+_surprising+} yet [-valid*.-] {+valid_.+}"
  },
  {
   "section": "7.1 Preliminary Computational Pilot",
   "old": "**Diagnosis.** The formula conflates semantic proximity with comedic coherence. When someone says \"meetings are like hostage situations — you're held against your will,\" the humor arises not from how close \"held against your will\" is to \"meeting\" in embedding space (it is not close), but from how *unexpectedly valid* the connection is. Surprise $\\times$ validity $\\neq$ similarity $\\times$ similarity.",
   "new": "**Diagnosis.** The formula conflates semantic proximity with comedic coherence. When someone says \"meetings are like hostage situations—you are held against your will,\" the humor does not come from the bridge being _close_ to \"meeting\" in embedding space. It comes from the bridge being unexpectedly apt. Surprise × validity is not the same as similarity × similarity.",
   "marked": "**Diagnosis.** The formula conflates semantic proximity with comedic coherence. When someone says \"meetings are like hostage [-situations — you're-] {+situations—you are+} held against your will,\" the humor [-arises-] {+does+} not {+come+} from [-how close \"held against your will\" is-] {+the bridge being _close_+} to \"meeting\" in embedding [-space (it-] {+space. It comes from the bridge being unexpectedly apt. Surprise × validity+} is not [-close), but from how *unexpectedly valid*-] the [-connection is. Surprise $\\times$ validity $\\neq$-] {+same as+} similarity [-$\\times$-] {+×+} similarity."
  },
  {
   "section": "7.1.1 Revised Formulation: Surprise-Weighted Humor Potential",
   "old": "where validity $v$ and surprise $\\sigma$ are as defined in Definition 3 (Section 6.1). The surprise component requires further specification:",
   "new": "where validity $v$ and surprise $\\sigma$ are as defined in Definition 3 (Section 6.1).",
   "marked": "where validity $v$ and surprise $\\sigma$ are as defined in Definition 3 (Section [-6.1). The surprise component requires further specification:-] {+6.1).+}"
  },
  {
   "section": "7.1.1 Revised Formulation: Surprise-Weighted Humor Potential",
   "old": "**Operationalizing surprise via reciprocal rank.** We define $\\sigma$ as the reciprocal rank of the bridge concept in the neighbor list of the midpoint of $A$ and $B$:",
   "new": "**Operationalizing surprise via reciprocal rank.** We define $\\sigma$ as the normalized rank of the bridge concept in the neighbor list of the midpoint of $A$ and $B$:",
   "marked": "**Operationalizing surprise via reciprocal rank.** We define $\\sigma$ as the [-reciprocal-] {+normalized+} rank of the bridge concept in the neighbor list of the midpoint of $A$ and $B$:"
  },
  {
   "section": "7.1.1 Revised Formulation: Surprise-Weighted Humor Potential",
   "old": "```python def surprise(bridge_vec, A_vec, B_vec, index, k=100): \"\"\" Surprise as reciprocal rank in the neighbor list of midpoint(A, B). rank 1 -> expected (surprise ~ 0.0) rank 80 -> surprising (surprise ~ 0.8) not in top-k -> maximally surprising (surprise = 1.0)",
   "new": "```python def surprise(bridge_vec, A_vec, B_vec, index, k=100): \"\"\" Surprise as normalized rank in midpoint(A, B) neighbor list. rank 1 → expected (surprise ≈ 0.0) rank 80 → surprising (surprise ≈ 0.8) not in top-k → maximally surprising (surprise = 1.0)",
   "marked": "```python def surprise(bridge_vec, A_vec, B_vec, index, k=100): \"\"\" Surprise as [-reciprocal-] {+normalized+} rank in [-the-] {+midpoint(A, B)+} neighbor [-list of midpoint(A, B).-] {+list.+} rank 1 [-->-] {+→+} expected (surprise [-~-] {+≈+} 0.0) rank 80 [-->-] {+→+} surprising (surprise [-~-] {+≈+} 0.8) not in top-k [-->-] {+→+} maximally surprising (surprise = 1.0)"
  },
  {
   "section": "7.1.1 Revised Formulation: Surprise-Weighted Humor Potential",
   "old": "k controls the resolution of the surprise estimate. Sensitivity: - k=50: coarser granularity, faster lookup, fewer false \"maximally surprising\" - k=100 (default): balanced resolution for vocabularies of 10K-100K concepts - k=200: finer granularity, useful for very large concept spaces (>100K) The choice of k should scale as O(sqrt(N)) where N is the concept index size. \"\"\" midpoint = (A_vec + B_vec) / 2 neighbors = index.query(midpoint, k=k) for rank, (neighbor_id, _) in enumerate(neighbors): if neighbor_id == bridge_id: return rank / k return 1.0 ```",
   "new": "k controls surprise resolution. Sensitivity analysis: - k=50: coarser granularity, faster, fewer false \"maximally surprising\" - k=100 (default): balanced for 10K–100K concept vocabularies - k=200: finer granularity for very large concept spaces (>100K) Recommended scaling: k ∝ O(√N) where N is concept index size. \"\"\" midpoint = (A_vec + B_vec) / 2 bridge_id = index.get_id(bridge_vec) # resolve vector to index ID neighbors = index.query(midpoint, k=k) for rank, (neighbor_id, _) in enumerate(neighbors): if neighbor_id == bridge_id: return rank / k return 1.0 ```",
   "marked": "k controls [-the resolution of the-] surprise [-estimate. Sensitivity:-] {+resolution. Sensitivity analysis:+} - k=50: coarser granularity, [-faster lookup,-] {+faster,+} fewer false \"maximally surprising\" - k=100 (default): balanced [-resolution-] for {+10K–100K concept+} vocabularies [-of 10K-100K concepts-] - k=200: finer [-granularity, useful-] {+granularity+} for very large concept spaces (>100K) [-The choice of-] {+Recommended scaling:+} k [-should scale as O(sqrt(N))-] {+∝ O(√N)+} where N is [-the-] concept index size. \"\"\" midpoint = (A_vec + B_vec) / 2 {+bridge_id = index.get_id(bridge_vec) # resolve vector to index ID+} neighbors = index.query(midpoint, k=k) for rank, (neighbor_id, _) in enumerate(neighbors): if neighbor_id == bridge_id: return rank / k return 1.0 ```"
  },
  {
   "section": "7.1.1 Revised Formulation: Surprise-Weighted Humor Potential",
   "old": "**Justification.** Reciprocal rank approximates information-theoretic surprise $-\\log P(\\beta \\mid A, B)$ without requiring explicit density estimation. If $\\beta$ is a highly-ranked neighbor of the midpoint, it is a \"predictable\" bridge (low information content, low surprise); if $\\beta$ is absent from the top-$k$ neighbors, it is maximally surprising (high information content). This non-parametric approach avoids the difficulty of estimating $P(\\beta \\mid A, B)$ directly, which would require a generative model of bridge concepts. Future work could explore explicit density-based surprise metrics (e.g., using normalizing flows or kernel density estimation over the embedding space), but reciprocal rank provides a tractable starting point with clear interpretability.",
   "new": "**Justification.** Reciprocal rank approximates information-theoretic surprise $-\\log P(\\beta \\mid A, B)$ without requiring explicit density estimation. If $\\beta$ is highly ranked among midpoint neighbors, it is a predictable bridge (low surprise); if absent from the top-$k$, it is maximally surprising. This non-parametric approach avoids the difficulty of estimating $P(\\beta \\mid A, B)$ directly. Future work could explore explicit density-based surprise metrics (e.g., normalizing flows or kernel density estimation), but reciprocal rank is a tractable starting point with clear interpretation.",
   "marked": "**Justification.** Reciprocal rank approximates information-theoretic surprise $-\\log P(\\beta \\mid A, B)$ without requiring explicit density estimation. If $\\beta$ is [-a highly-ranked neighbor of the midpoint,-] {+highly ranked among midpoint neighbors,+} it is a [-\"predictable\"-] {+predictable+} bridge (low [-information content, low-] surprise); if [-$\\beta$ is-] absent from the [-top-$k$ neighbors,-] {+top-$k$,+} it is maximally [-surprising (high information content).-] {+surprising.+} This non-parametric approach avoids the difficulty of estimating $P(\\beta \\mid A, B)$ [-directly, which would require a generative model of bridge concepts.-] {+directly.+} Future work could explore explicit density-based surprise metrics (e.g., [-using-] normalizing flows or kernel density [-estimation over the embedding space),-] {+estimation),+} but reciprocal rank [-provides-] {+is+} a tractable starting point with clear [-interpretability.-] {+interpretation.+}"
  },
  {
   "section": "7.1.1 Revised Formulation: Surprise-Weighted Humor Potential",
   "old": "**Intuition.** An obvious bridge (e.g., \"small feline\" for cat–kitten) ranks highly among midpoint neighbors and receives low surprise. An unexpected bridge (e.g., \"held against your will\" for meeting–hostage situation) ranks low or is absent from midpoint neighbors, receiving high surprise. Validity ensures the bridge is still *meaningful*; surprise ensures it is *unexpected*. Their product captures the \"aha\" moment of humor.",
   "new": null,
   "marked": "[-**Intuition.** An obvious bridge (e.g., \"small feline\" for cat–kitten) ranks highly among midpoint neighbors and receives low surprise. An unexpected bridge (e.g., \"held against your will\" for meeting–hostage situation) ranks low or is absent from midpoint neighbors, receiving high surprise. Validity ensures the bridge is still *meaningful*; surprise ensures it is *unexpected*. Their product captures the \"aha\" moment of humor.-]"
  },
  {
   "section": "7.1.1 Revised Formulation: Surprise-Weighted Humor Potential",
   "old": "**Information-theoretic interpretation.** The surprise component $\\sigma$ approximates the *self-information* (Shannon information content) of the bridge given the concept pair. Formally, if $P(\\beta \\mid A, B)$ is the probability of $\\beta$ being the \"expected\" connector between $A$ and $B$, then the information-theoretic surprise is $I(\\beta \\mid A, B) = -\\log_2 P(\\beta \\mid A, B)$. Our reciprocal rank approximation estimates this non-parametrically: the rank of $\\beta$ in the midpoint neighbor list serves as an ordinal proxy for $P(\\beta \\mid A, B)$, with low rank corresponding to high probability (low surprise) and high rank corresponding to low probability (high surprise). The normalization to $[0, 1]$ via $\\text{rank}/k$ maps the ordinal measure to a scale compatible with the multiplicative structure of $h$.",
   "new": "**Information-theoretic interpretation.** The surprise component approximates the _self-information_ (Shannon information content) of the bridge given the concept pair. If $P(\\beta \\mid A, B)$ is the probability of $\\beta$ being the expected connector, then $I(\\beta \\mid A, B) = -\\log_2 P(\\beta \\mid A, B)$. Our rank-based approximation estimates this non-parametrically: rank acts as an ordinal proxy for $P(\\beta \\mid A, B)$, with normalization via $\\text{rank}/k$ mapping into $[0, 1]$ for compatibility with the multiplicative structure of $h$.",
   "marked": "**Information-theoretic interpretation.** The surprise component [-$\\sigma$-] approximates the [-*self-information*-] {+_self-information_+} (Shannon information content) of the bridge given the concept pair. [-Formally, if-] {+If+} $P(\\beta \\mid A, B)$ is the probability of $\\beta$ being the [-\"expected\" connector between $A$ and $B$,-] {+expected connector,+} then [-the information-theoretic surprise is-] $I(\\beta \\mid A, B) = -\\log_2 P(\\beta \\mid A, B)$. Our [-reciprocal rank-] {+rank-based+} approximation estimates this non-parametrically: [-the-] rank [-of $\\beta$ in the midpoint neighbor list serves-] {+acts+} as an ordinal proxy for $P(\\beta \\mid A, B)$, with [-low rank corresponding to high probability (low surprise) and high rank corresponding to low probability (high surprise). The-] normalization [-to-] {+via $\\text{rank}/k$ mapping into+} $[0, 1]$ [-via $\\text{rank}/k$ maps the ordinal measure to a scale compatible-] {+for compatibility+} with the multiplicative structure of $h$."
  },
  {
   "section": "7.1.2 Worked Example: $h_{\\text{v2}}$ on Pilot Triplets",
   "old": "To build intuition for how $h_{\\text{v2}}$ addresses the failure of $h_{\\text{v1}}$, we re-score two triplets from the pilot using the revised formula.",
   "new": "To illustrate how $h_{\\text{v2}}$ addresses the failure of $h_{\\text{v1}}$, we re-score two triplets from the pilot.",
   "marked": "To [-build intuition for-] {+illustrate+} how $h_{\\text{v2}}$ addresses the failure of $h_{\\text{v1}}$, we re-score two triplets from the [-pilot using the revised formula.-] {+pilot.+}"
  },
  {
   "section": "7.1.2 Worked Example: $h_{\\text{v2}}$ on Pilot Triplets",
   "old": "- $d(\\text{meeting}, \\text{hostage situation}) = 0.75$ (distant — good). - $v = \\min(c(\\beta, \\text{meeting}), c(\\beta, \\text{hostage})) = \\min(0.21, 0.27) = 0.21$ (low but nonzero — the bridge is a valid but weak connector). - $\\sigma$: \"Held against your will\" does not appear in the top-100 neighbors of the midpoint of \"meeting\" and \"hostage situation.\" Thus $\\sigma = 1.0$ (maximally surprising). - $h_{\\text{v2}} = 0.75 \\times 0.21 \\times 1.0 = 0.158$.",
   "new": "- $d(\\text{meeting}, \\text{hostage situation}) = 0.75$ (distant—good). - $v = \\min(c(\\beta, \\text{meeting}), c(\\beta, \\text{hostage})) = \\min(0.21, 0.27) = 0.21$ (low but nonzero—valid but weak connector). - $\\sigma$: \"Held against your will\" does not appear in the top-100 midpoint neighbors. $\\sigma = 1.0$ (maximally surprising). - $h_{\\text{v2}} = 0.75 \\times 0.21 \\times 1.0 = 0.158$.",
   "marked": "- $d(\\text{meeting}, \\text{hostage situation}) = 0.75$ [-(distant — good).-] {+(distant—good).+} - $v = \\min(c(\\beta, \\text{meeting}), c(\\beta, \\text{hostage})) = \\min(0.21, 0.27) = 0.21$ (low but [-nonzero — the bridge is a valid-] {+nonzero—valid+} but weak connector). - $\\sigma$: \"Held against your will\" does not appear in the top-100 [-neighbors of the-] midpoint [-of \"meeting\" and \"hostage situation.\" Thus-] {+neighbors.+} $\\sigma = 1.0$ (maximally surprising). - $h_{\\text{v2}} = 0.75 \\times 0.21 \\times 1.0 = 0.158$."
  },
  {
   "section": "7.1.2 Worked Example: $h_{\\text{v2}}$ on Pilot Triplets",
   "old": "- $d(\\text{cat}, \\text{kitten}) = 0.21$ (close — low incongruity). - $v = \\min(0.56, 0.58) = 0.56$ (high — bridge is strongly connected). - $\\sigma$: \"Small feline\" appears at rank 3 in the midpoint neighbors. $\\sigma = 3/100 = 0.03$ (minimally surprising). - $h_{\\text{v2}} = 0.21 \\times 0.56 \\times 0.03 = 0.004$.",
   "new": "- $d(\\text{cat}, \\text{kitten}) = 0.21$ (close—low incongruity). - $v = \\min(0.56, 0.58) = 0.56$ (high—strongly connected). - $\\sigma$: \"Small feline\" appears at rank 3 in midpoint neighbors. $\\sigma = 3/100 = 0.03$ (minimally surprising). - $h_{\\text{v2}} = 0.21 \\times 0.56 \\times 0.03 = 0.004$.",
   "marked": "- $d(\\text{cat}, \\text{kitten}) = 0.21$ [-(close — low-] {+(close—low+} incongruity). - $v = \\min(0.56, 0.58) = 0.56$ [-(high — bridge is strongly-] {+(high—strongly+} connected). - $\\sigma$: \"Small feline\" appears at rank 3 in [-the-] midpoint neighbors. $\\sigma = 3/100 = 0.03$ (minimally surprising). - $h_{\\text{v2}} = 0.21 \\times 0.56 \\times 0.03 = 0.004$."
  },
  {
   "section": "7.1.2 Worked Example: $h_{\\text{v2}}$ on Pilot Triplets",
   "old": "**Result.** Under $h_{\\text{v2}}$, the funny triplet scores $0.158$ versus $0.004$ for the unfunny triplet — a 40:1 ratio favoring humor. Under $h_{\\text{v1}}$, the unfunny triplet scored *higher* ($0.068$ vs. $0.043$). The surprise component is the critical correction: it penalizes obvious bridges severely while rewarding unexpected ones.",
   "new": "**Result.** Under $h_{\\text{v2}}$, the funny triplet scores 40× higher ($0.158$ vs. $0.004$). Under $h_{\\text{v1}}$, the unfunny triplet scored _higher_ ($0.068$ vs. $0.043$). The surprise component is the crucial correction.",
   "marked": "**Result.** Under $h_{\\text{v2}}$, the funny triplet scores [-$0.158$ versus $0.004$ for the unfunny triplet — a 40:1 ratio favoring humor.-] {+40× higher ($0.158$ vs. $0.004$).+} Under $h_{\\text{v1}}$, the unfunny triplet scored [-*higher*-] {+_higher_+} ($0.068$ vs. $0.043$). The surprise component is the [-critical correction: it penalizes obvious bridges severely while rewarding unexpected ones.-] {+crucial correction.+}"
  },
  {
   "section": "7.1.2 Worked Example: $h_{\\text{v2}}$ on Pilot Triplets",
   "old": "**Caveat.** This worked example uses the original pilot embeddings and approximate midpoint neighbor ranks. It demonstrates the *mechanism* by which $h_{\\text{v2}}$ addresses $h_{\\text{v1}}$'s failure, not a validated prediction. Formal validation requires the human rating protocol in Section 7.2.",
   "new": "**Caveat.** This worked example uses the original pilot embeddings and approximate midpoint neighbor ranks. It demonstrates the _mechanism_ by which $h_{\\text{v2}}$ addresses $h_{\\text{v1}}$'s failure, not a validated prediction. Formal validation requires the human rating protocol in Section 7.2.",
   "marked": "**Caveat.** This worked example uses the original pilot embeddings and approximate midpoint neighbor ranks. It demonstrates the [-*mechanism*-] {+_mechanism_+} by which $h_{\\text{v2}}$ addresses $h_{\\text{v1}}$'s failure, not a validated prediction. Formal validation requires the human rating protocol in Section 7.2."
  },
  {
   "section": "7.1.2 Worked Example: $h_{\\text{v2}}$ on Pilot Triplets",
   "old": "**Status.** This revised formula is a hypothesis motivated by the pilot's negative results. Validation against human ratings is required before claims of predictive power can be made. We present specific protocols in Section 7.2.",
   "new": null,
   "marked": "[-**Status.** This revised formula is a hypothesis motivated by the pilot's negative results. Validation against human ratings is required before claims of predictive power can be made. We present specific protocols in Section 7.2.-]"
  },
  {
   "section": "7.1.3 Significance of the Negative Result",
   "old": "The falsification of $h_{\\text{v1}}$ (and $h_{\\text{v3}}$, $h_{\\text{v4}}$) is itself a contribution. It demonstrates that the naive mapping of bisociation to embedding distance $\\times$ cosine similarity is insufficient, and identifies the specific failure mode: conflation of proximity with comedic validity. This finding should inform future work on embedding-based humor metrics — any formula relying solely on cosine similarity to measure bridge quality will face the same failure.",
   "new": "The falsification of $h_{\\text{v1}}$, $h_{\\text{v3}}$, and $h_{\\text{v4}}$ is itself a contribution. It shows that the naive mapping of bisociation to embedding distance × cosine similarity is insufficient, and pinpoints the failure mode: semantic proximity is being mistaken for comedic validity.",
   "marked": "The falsification of [-$h_{\\text{v1}}$ (and-] {+$h_{\\text{v1}}$,+} $h_{\\text{v3}}$, [-$h_{\\text{v4}}$)-] {+and $h_{\\text{v4}}$+} is itself a contribution. It [-demonstrates-] {+shows+} that the naive mapping of bisociation to embedding distance [-$\\times$-] {+×+} cosine similarity is insufficient, and [-identifies-] {+pinpoints+} the [-specific-] failure mode: [-conflation of-] {+semantic+} proximity [-with-] {+is being mistaken for+} comedic [-validity. This finding should inform future work on embedding-based humor metrics — any formula relying solely on cosine similarity to measure bridge quality will face the same failure.-] {+validity.+}"
  },
  {
   "section": "7.1.3 Significance of the Negative Result",
   "old": "The systematic exploration of four variants (v1–v4) rules out obvious fixes: neither harmonic means (v3) nor averaging (v4) resolves the fundamental issue. The problem is not in how coherence values are combined but in what they measure — proximity is not the same as comedic connection.",
   "new": "The systematic exploration of four variants also rules out obvious repairs. Neither harmonic means (v3) nor averaging (v4) fixes the core issue. The problem is not how coherence values are combined, but what they are being asked to measure. Any embedding-based humor metric relying solely on cosine similarity to score bridge quality is likely to reproduce the same failure.",
   "marked": "The systematic exploration of four variants [-(v1–v4)-] {+also+} rules out obvious [-fixes: neither-] {+repairs. Neither+} harmonic means (v3) nor averaging (v4) [-resolves-] {+fixes+} the [-fundamental-] {+core+} issue. The problem is not [-in-] how coherence values are [-combined-] {+combined,+} but [-in-] what they [-measure — proximity-] {+are being asked to measure. Any embedding-based humor metric relying solely on cosine similarity to score bridge quality+} is [-not-] {+likely to reproduce+} the same [-as comedic connection.-] {+failure.+}"
  },
  {
   "section": "7.2 Proposed Full Validation Protocol",
   "old": "1. **Stimulus generation.** Generate 100 joke stimuli using the hybrid pipeline (Section 6.7) across all five meta-categories, ensuring at least 15 stimuli per meta-category. Each stimulus is a concept triplet $(A, B, \\beta)$ rendered as a one-liner joke.",
   "new": "1. **Stimulus generation.** Generate 100 joke stimuli using the hybrid pipeline (Section 6.7) across all five meta-categories, with at least 15 stimuli per meta-category. Each stimulus is a concept triplet $(A, B, \\beta)$ rendered as a one-liner joke.",
   "marked": "1. **Stimulus generation.** Generate 100 joke stimuli using the hybrid pipeline (Section 6.7) across all five meta-categories, [-ensuring-] {+with+} at least 15 stimuli per meta-category. Each stimulus is a concept triplet $(A, B, \\beta)$ rendered as a one-liner joke."
  },
  {
   "section": "7.2 Proposed Full Validation Protocol",
   "old": "2. **Formula scoring.** Compute $h_{\\text{v1}}$ and $h_{\\text{v2}}$ for each stimulus. Also compute scores for the ablated variants (distance-only, validity-only, surprise-only) for the ablation analysis.",
   "new": "2. **Formula scoring.** Compute $h_{\\text{v1}}$ and $h_{\\text{v2}}$ for each stimulus, plus ablated variants (distance-only, validity-only, surprise-only).",
   "marked": "2. **Formula scoring.** Compute $h_{\\text{v1}}$ and $h_{\\text{v2}}$ for each [-stimulus. Also compute scores for the-] {+stimulus, plus+} ablated variants (distance-only, validity-only, [-surprise-only) for the ablation analysis.-] {+surprise-only).+}"
  },
  {
   "section": "7.2 Proposed Full Validation Protocol",
   "old": "3. **Human rating.** Present stimuli to $N \\geq 64$ raters (see power analysis below) using a Latin square design to control for presentation order effects. Each rater sees all 100 stimuli in a unique randomized order. Collect funniness ratings on a 7-point Likert scale (1 = not at all funny, 7 = extremely funny). The 7-point scale is preferred over 5-point for humor research due to greater sensitivity to subtle differences (Martin, 2007).",
   "new": "3. **Human rating.** Present stimuli to $N \\geq 64$ raters using a Latin square design. Each rater sees all 100 stimuli in a unique randomized order. Collect funniness ratings on a 7-point Likert scale (1 = not at all funny, 7 = extremely funny). The 7-point scale is preferred over 5-point for its greater sensitivity to subtle differences in humor appreciation (Martin, 2007).",
   "marked": "3. **Human rating.** Present stimuli to $N \\geq 64$ raters [-(see power analysis below)-] using a Latin square [-design to control for presentation order effects.-] {+design.+} Each rater sees all 100 stimuli in a unique randomized order. Collect funniness ratings on a 7-point Likert scale (1 = not at all funny, 7 = extremely funny). The 7-point scale is preferred over 5-point for [-humor research due to-] {+its+} greater sensitivity to subtle differences {+in humor appreciation+} (Martin, 2007)."
  },
  {
   "section": "7.2.1 Power Analysis",
   "old": "We compute required sample size for two analyses:",
   "new": null,
   "marked": "[-We compute required sample size for two analyses:-]"
  },
  {
   "section": "7.2.1 Power Analysis",
   "old": "**Primary analysis (correlation).** To detect a moderate correlation ($r = 0.35$) between $h_{\\text{v2}}$ and human ratings at $\\alpha = 0.05$ with power $= 0.80$, using G*Power for a bivariate normal model, the required number of stimuli is $N_{\\text{stimuli}} = 62$. Our 100-stimulus design exceeds this requirement.",
   "new": "**Primary analysis (correlation).** To detect a moderate correlation ($r = 0.35$) between $h_{\\text{v2}}$ and human ratings at $\\alpha = 0.05$ with power $= 0.80$, the required number of stimuli is $N_{\\text{stimuli}} = 62$ (bivariate normal model, G\\*Power). Our 100-stimulus design exceeds this.",
   "marked": "**Primary analysis (correlation).** To detect a moderate correlation ($r = 0.35$) between $h_{\\text{v2}}$ and human ratings at $\\alpha = 0.05$ with power $= 0.80$, [-using G*Power for a bivariate normal model,-] the required number of stimuli is $N_{\\text{stimuli}} = [-62$.-] {+62$ (bivariate normal model, G\\*Power).+} Our 100-stimulus design exceeds [-this requirement.-] {+this.+}"
  },
  {
   "section": "7.2.1 Power Analysis",
   "old": "**Per-rater analysis.** To achieve stable mean ratings per stimulus with $\\text{SE} < 0.3$ on a 7-point scale (assuming $\\text{SD} \\approx 1.5$), we require $N_{\\text{raters}} \\geq (1.5 / 0.3)^2 = 25$ raters per stimulus. We target $N \\geq 64$ raters to allow for demographic subgroup analysis (age, culture, profession) with $\\geq 16$ per subgroup.",
   "new": "**Per-rater analysis.** To achieve stable mean ratings per stimulus with $\\text{SE} < 0.3$ on a 7-point scale (assuming $\\text{SD} \\approx 1.5$), we require $N_{\\text{raters}} \\geq (1.5 / 0.3)^2 = 25$ per stimulus. We target $N \\geq 64$ to allow demographic subgroup analysis ($\\geq 16$ per subgroup).",
   "marked": "**Per-rater analysis.** To achieve stable mean ratings per stimulus with $\\text{SE} < 0.3$ on a 7-point scale (assuming $\\text{SD} \\approx 1.5$), we require $N_{\\text{raters}} \\geq (1.5 / 0.3)^2 = 25$ [-raters-] per stimulus. We target $N \\geq 64$ [-raters-] to allow [-for-] demographic subgroup analysis [-(age, culture, profession) with $\\geq-] {+($\\geq+} 16$ per [-subgroup.-] {+subgroup).+}"
  },
  {
   "section": "7.2.2 Inter-Rater Reliability",
   "old": "We will compute Krippendorff's $\\alpha$ across all raters as the primary inter-rater reliability metric, with a minimum acceptable threshold of $\\alpha \\geq 0.667$ (tentative conclusions per Krippendorff, 2011). If $\\alpha < 0.667$, we will segment raters by demographic subgroup and report within-group reliability, testing whether humor appreciation is too culturally variable for a universal formula.",
   "new": "We will compute Krippendorff's $\\alpha$ across all raters, with a minimum acceptable threshold of $\\alpha \\geq 0.667$ (tentative conclusions per Krippendorff, 2011). If $\\alpha < 0.667$, we will segment raters by demographic subgroup and report within-group reliability, testing whether humor appreciation is too culturally variable for a universal formula.",
   "marked": "We will compute Krippendorff's $\\alpha$ across all [-raters as the primary inter-rater reliability metric,-] {+raters,+} with a minimum acceptable threshold of $\\alpha \\geq 0.667$ (tentative conclusions per Krippendorff, 2011). If $\\alpha < 0.667$, we will segment raters by demographic subgroup and report within-group reliability, testing whether humor appreciation is too culturally variable for a universal formula."
  },
  {
   "section": "7.2.3 Success Criteria",
   "old": "| Threshold | Interpretation | Action | |-----------|---------------|--------| | $r > 0.5$ | Strong validation | Publish with empirical support | | $0.35 < r \\leq 0.5$ | Moderate validation | Iterate formula, investigate confounds | | $r \\leq 0.35$ | Weak validation | Fundamental rethink required |",
   "new": "| Threshold | Interpretation | Action | | ------------------- | ------------------- | -------------------------------------- | | $r > 0.5$ | Strong validation | Publish with empirical support | | $0.35 < r \\leq 0.5$ | Moderate validation | Iterate formula, investigate confounds | | $r \\leq 0.35$ | Weak validation | Fundamental rethink required |",
   "marked": "| Threshold | Interpretation | Action | [-|-----------|---------------|--------|-] {+| ------------------- | ------------------- | -------------------------------------- |+} | $r > 0.5$ | Strong validation | Publish with empirical support | | $0.35 < r \\leq 0.5$ | Moderate validation | Iterate formula, investigate confounds | | $r \\leq 0.35$ | Weak validation | Fundamental rethink required |"
  },
  {
   "section": "7.2.4 Controls and Ablations",
   "old": "- **Audience segmentation:** Analyze by demographics (age, culture, profession) to test familiarity effects. - **Pattern type:** Test whether correlation varies across meta-categories. - **Component ablation:** Remove surprise, distance, and validity components individually to quantify each contribution. This tests whether the multiplicative structure is necessary. - **Formula variant comparison:** Compare $h_{\\text{v1}}$, $h_{\\text{v2}}$, $h_{\\text{v3}}$, $h_{\\text{v4}}$, and the additive/geometric alternatives from Section 3.2. - **Baseline comparison:** Compare against (a) random scoring, (b) cosine distance alone, (c) LLM-based humor rating (e.g., prompting GPT-4 to rate funniness on the same 7-point scale). - **Embedding model ablation:** Repeat scoring with at least three embedding models of different dimensionality (see Section 7.4).",
   "new": "- **Audience segmentation:** Analyze by demographics to test familiarity effects. - **Pattern type:** Test whether correlation varies across meta-categories. - **Component ablation:** Remove surprise, distance, and validity components individually. - **Formula variant comparison:** Compare all variants from Section 3.2. - **Baseline comparison:** Compare against (a) random scoring, (b) cosine distance alone, (c) LLM-based humor rating (prompting a frontier model to rate funniness on the same scale). - **Embedding model ablation:** Repeat scoring with multiple embedding models (Section 7.4).",
   "marked": "- **Audience segmentation:** Analyze by demographics [-(age, culture, profession)-] to test familiarity effects. - **Pattern type:** Test whether correlation varies across meta-categories. - **Component ablation:** Remove surprise, distance, and validity components [-individually to quantify each contribution. This tests whether the multiplicative structure is necessary.-] {+individually.+} - **Formula variant comparison:** Compare [-$h_{\\text{v1}}$, $h_{\\text{v2}}$, $h_{\\text{v3}}$, $h_{\\text{v4}}$, and the additive/geometric alternatives-] {+all variants+} from Section 3.2. - **Baseline comparison:** Compare against (a) random scoring, (b) cosine distance alone, (c) LLM-based humor rating [-(e.g., prompting GPT-4-] {+(prompting a frontier model+} to rate funniness on the same [-7-point-] scale). - **Embedding model ablation:** Repeat scoring with [-at least three-] {+multiple+} embedding models [-of different dimensionality (see Section-] {+(Section+} 7.4)."
  },
  {
   "section": "7.3 Validation Against Existing Datasets",
   "old": "- **SemEval 2020 Task 7** (Hossain et al., 2020): Humor detection and rating in edited news headlines. For each edited headline, extract the original word as concept $A$, the replacement word as concept $B$, and the sentence context as a candidate bridge. This mapping is approximate — edited headlines do not decompose cleanly into $(A, B, \\beta)$ triplets — and results should be interpreted as a probe of the framework's generality, not a definitive test. - **16,000 One-Liners corpus** (Mihalcea & Strapparava, 2005): Binary humor/non-humor classification. Apply automated $(A, B, \\beta)$ extraction (using an LLM to identify the incongruous elements and bridge) and test whether $h_{\\text{v2}}$ assigns higher scores to humorous instances. - **Short Jokes dataset** (Weller & Seppi, 2019): 231,657 short jokes with binary labels. Test discrimination on a random sample of 1,000 jokes and 1,000 non-jokes.",
   "new": "- **SemEval 2020 Task 7** (Hossain et al., 2020): Humor detection and rating in edited news headlines. For each edited headline, extract the original word as concept $A$, the replacement as $B$, and the sentence context as a candidate bridge. This mapping is approximate—edited headlines do not decompose cleanly into $(A, B, \\beta)$ triplets—and results should be interpreted as a probe of generality, not a definitive test. - **16,000 One-Liners corpus** (Mihalcea & Strapparava, 2005): Binary humor/non-humor classification. Apply automated $(A, B, \\beta)$ extraction (using an LLM) and test whether $h_{\\text{v2}}$ assigns higher scores to humorous instances. - **Short Jokes dataset** (Weller & Seppi, 2019): 231,657 short jokes. Test discrimination on a random sample of 1,000 jokes and 1,000 non-jokes.",
   "marked": "- **SemEval 2020 Task 7** (Hossain et al., 2020): Humor detection and rating in edited news headlines. For each edited headline, extract the original word as concept $A$, the replacement [-word-] as [-concept-] $B$, and the sentence context as a candidate bridge. This mapping is [-approximate — edited-] {+approximate—edited+} headlines do not decompose cleanly into $(A, B, \\beta)$ [-triplets — and-] {+triplets—and+} results should be interpreted as a probe of [-the framework's-] generality, not a definitive test. - **16,000 One-Liners corpus** (Mihalcea & Strapparava, 2005): Binary humor/non-humor classification. Apply automated $(A, B, \\beta)$ extraction (using an [-LLM to identify the incongruous elements and bridge)-] {+LLM)+} and test whether $h_{\\text{v2}}$ assigns higher scores to humorous instances. - **Short Jokes dataset** (Weller & Seppi, 2019): 231,657 short [-jokes with binary labels.-] {+jokes.+} Test discrimination on a random sample of 1,000 jokes and 1,000 non-jokes."
  },
  {
   "section": "7.3 Validation Against Existing Datasets",
   "old": "These datasets provide immediate, zero-cost validation opportunities that do not require new human studies. However, they require non-trivial mapping from joke text to $(A, B, \\beta)$ triplets, which introduces additional noise. We regard these as secondary validation, with the human rating protocol (Section 7.2) as primary.",
   "new": "These datasets provide immediate validation opportunities without new human studies, though the non-trivial mapping from joke text to $(A, B, \\beta)$ triplets introduces noise. We regard them as secondary validation, with the human rating protocol remaining primary.",
   "marked": "These datasets provide [-immediate, zero-cost-] {+immediate+} validation opportunities [-that do not require-] {+without+} new human [-studies. However, they require-] {+studies, though the+} non-trivial mapping from joke text to $(A, B, \\beta)$ [-triplets, which-] {+triplets+} introduces [-additional-] noise. We regard [-these-] {+them+} as secondary validation, with the human rating protocol [-(Section 7.2) as-] {+remaining+} primary."
  },
  {
   "section": "7.4 Embedding Model Ablation",
   "old": "The framework's dependence on embedding quality is a critical concern. We propose testing $h_{\\text{v2}}$ across embedding models spanning different dimensionalities, training objectives, and providers:",
   "new": "The framework's dependence on embedding quality is a critical concern. We propose testing $h_{\\text{v2}}$ across models spanning different dimensionalities, training objectives, and providers:",
   "marked": "The framework's dependence on embedding quality is a critical concern. We propose testing $h_{\\text{v2}}$ across [-embedding-] models spanning different dimensionalities, training objectives, and providers:"
  },
  {
   "section": "7.4 Embedding Model Ablation",
   "old": "| Model | Dimensions | Training | Provider | |-------|-----------|----------|----------| | all-MiniLM-L6-v2 | 384 | Contrastive | SentenceTransformers | | text-embedding-3-small | 1536 | Unknown | OpenAI | | text-embedding-3-large | 3072 | Unknown | OpenAI | | nomic-embed-text-v1.5 | 768 | Contrastive | Nomic | | voyage-3 | 1024 | Unknown | Voyage |",
   "new": "| Model | Dimensions | Training | Provider | | ---------------------- | ---------- | ----------- | -------------------- | | all-MiniLM-L6-v2 | 384 | Contrastive | SentenceTransformers | | text-embedding-3-small | 1536 | Unknown | OpenAI | | text-embedding-3-large | 3072 | Unknown | OpenAI | | nomic-embed-text-v1.5 | 768 | Contrastive | Nomic | | voyage-3 | 1024 | Unknown | Voyage |",
   "marked": "| Model | Dimensions | Training | Provider | [-|-------|-----------|----------|----------|-] {+| ---------------------- | ---------- | ----------- | -------------------- |+} | all-MiniLM-L6-v2 | 384 | Contrastive | SentenceTransformers | | text-embedding-3-small | 1536 | Unknown | OpenAI | | text-embedding-3-large | 3072 | Unknown | OpenAI | | nomic-embed-text-v1.5 | 768 | Contrastive | Nomic | | voyage-3 | 1024 | Unknown | Voyage |"
  },
  {
   "section": "7.4 Embedding Model Ablation",
   "old": "**Hypothesis.** The *relative ordering* of $h_{\\text{v2}}$ scores (funny > unfunny) will be preserved across embedding models, though absolute values will vary. If the ordering is not preserved, the framework's generality is undermined.",
   "new": "**Hypothesis.** The _relative ordering_ of $h_{\\text{v2}}$ scores (funny > unfunny) will be preserved across embedding models, though absolute values will vary. If the ordering is not preserved, the framework's generality is undermined.",
   "marked": "**Hypothesis.** The [-*relative ordering*-] {+_relative ordering_+} of $h_{\\text{v2}}$ scores (funny > unfunny) will be preserved across embedding models, though absolute values will vary. If the ordering is not preserved, the framework's generality is undermined."
  },
  {
   "section": "7.5 Proposed Metrics",
   "old": "| Metric | Definition | Target | |--------|------------|--------| | **HPR** (Humor Prediction Rate) | Correlation between $h_{\\text{v2}}$ and human rating | $r > 0.35$ | | **SGA** (Sensitivity Gate Accuracy) | Percentage of blocked stimuli rated negatively by humans | $> 80\\%$ | | **ABL** (Ablation Delta) | Drop in $r$ when removing each formula component | Report all | | **BAS** (Baseline Advantage) | $r(h_{\\text{v2}}) - r(\\text{baseline})$ | $> 0.10$ | | **EMB** (Embedding Stability) | Spearman rank correlation of scores across embedding models | $\\rho > 0.7$ | | **IRR** (Inter-Rater Reliability) | Krippendorff's $\\alpha$ across all raters | $\\geq 0.667$ |",
   "new": "| Metric | Definition | Target | | ----------------------------------- | ---------------------------------------------------- | ------------ | | **HPR** (Humor Prediction Rate) | Correlation between $h_{\\text{v2}}$ and human rating | $r > 0.35$ | | **SGA** (Sensitivity Gate Accuracy) | % of blocked stimuli rated negatively by humans | $> 80\\%$ | | **ABL** (Ablation Delta) | Drop in $r$ when removing each formula component | Report all | | **BAS** (Baseline Advantage) | $r(h_{\\text{v2}}) - r(\\text{baseline})$ | $> 0.10$ | | **EMB** (Embedding Stability) | Spearman rank correlation across embedding models | $\\rho > 0.7$ | | **IRR** (Inter-Rater Reliability) | Krippendorff's $\\alpha$ across all raters | $\\geq 0.667$ |",
   "marked": "| Metric | Definition | Target | [-|--------|------------|--------|-] {+| ----------------------------------- | ---------------------------------------------------- | ------------ |+} | **HPR** (Humor Prediction Rate) | Correlation between $h_{\\text{v2}}$ and human rating | $r > 0.35$ | | **SGA** (Sensitivity Gate Accuracy) | [-Percentage-] {+%+} of blocked stimuli rated negatively by humans | $> 80\\%$ | | **ABL** (Ablation Delta) | Drop in $r$ when removing each formula component | Report all | | **BAS** (Baseline Advantage) | $r(h_{\\text{v2}}) - r(\\text{baseline})$ | $> 0.10$ | | **EMB** (Embedding Stability) | Spearman rank correlation [-of scores-] across embedding models | $\\rho > 0.7$ | | **IRR** (Inter-Rater Reliability) | Krippendorff's $\\alpha$ across all raters | $\\geq 0.667$ |"
  },
  {
   "section": "8.1 Motivation",
   "old": "Modern agent memory architectures store not just facts but *relationships between facts*, including belief discrepancies (expected vs. observed) with associated confidence levels. Research in cognitive neuroscience suggests that humor processing involves the same neural circuits as reward prediction error (Vrticka et al., 2013) — the \"surprise\" signal when expectations are violated. This connects directly to Hurley et al.'s (2011) theory that humor evolved as a reward for detecting committed errors in mental models. Social psychology research on inside jokes (Flamson & Barrett, 2008) demonstrates that shared humor functions as an encrypted signal of common ground, strengthening social bonds.",
   "new": "Modern agent memory architectures store relationships between facts, including belief discrepancies with associated confidence levels. Cognitive neuroscience suggests that humor processing recruits some of the same circuitry involved in reward prediction error (Vrticka et al., 2013). Social psychology research on inside jokes (Flamson & Barrett, 2008) shows that shared humor acts as an encrypted signal of common ground.",
   "marked": "Modern agent memory architectures store [-not just facts but *relationships-] {+relationships+} between [-facts*,-] {+facts,+} including belief discrepancies [-(expected vs. observed)-] with associated confidence levels. [-Research in cognitive-] {+Cognitive+} neuroscience suggests that humor processing [-involves-] {+recruits some of+} the same [-neural circuits as-] {+circuitry involved in+} reward prediction error (Vrticka et al., [-2013) — the \"surprise\" signal when expectations are violated. This connects directly to Hurley et al.'s (2011) theory that humor evolved as a reward for detecting committed errors in mental models.-] {+2013).+} Social psychology research on inside jokes (Flamson & Barrett, 2008) [-demonstrates-] {+shows+} that shared humor [-functions-] {+acts+} as an encrypted signal of common [-ground, strengthening social bonds.-] {+ground.+}"
  },
  {
   "section": "8.1 Motivation",
   "old": "We propose that **humor associations should be a first-class relationship type** in agent memory, stored alongside semantic and belief-discrepancy relationships in the ENGRAM event store (Serra, 2026a). The key insight: *every humor association is a recorded discrepancy*. When we say \"meetings are like hostage situations,\" we encode a discrepancy between the expected relationship (none) and the discovered bridge (\"held against your will\"). The magnitude of this discrepancy maps directly to the surprise score in $h_{\\text{v2}}$.",
   "new": "We propose that **humor associations should be a first-class relationship type** in agent memory, stored alongside semantic and belief-discrepancy relationships in the Total Recall event store (Serra, 2026a). Every humor association is, at bottom, a recorded discrepancy: an unexpected relation that turned out to be valid. The magnitude of that mismatch maps directly onto the surprise score in $h_{\\text{v2}}$.",
   "marked": "We propose that **humor associations should be a first-class relationship type** in agent memory, stored alongside semantic and belief-discrepancy relationships in the [-ENGRAM-] {+Total Recall+} event store (Serra, 2026a). [-The key insight: *every-] {+Every+} humor association [-is-] {+is, at bottom,+} a recorded [-discrepancy*. When we say \"meetings are like hostage situations,\" we encode a discrepancy between the expected relationship (none) and the discovered bridge (\"held against your will\").-] {+discrepancy: an unexpected relation that turned out to be valid.+} The magnitude of [-this discrepancy-] {+that mismatch+} maps directly [-to-] {+onto+} the surprise score in $h_{\\text{v2}}$."
  },
  {
   "section": "8.2 Relationship Types in Agent Memory",
   "old": "| Relationship Type | Structure | Purpose | Example | |---|---|---|---| | **Semantic** | (A relates-to B, conf=0.9) | Knowledge | \"Python is a programming language\" | | **Belief Discrepancy** | (expected X, observed Y, delta=0.6) | Learning | \"Expected meeting to end at 3pm; ran until 5pm\" | | **Humor Bridge** | (A -- bridge -- B, surprise=0.8, landed=true) | Comedy | \"meeting -- hostage via 'held against will'\" |",
   "new": "| Relationship Type | Structure | Purpose | Example | | ---------------------- | ------------------------------------ | --------- | ------------------------------------------- | | **Semantic** | (A relates-to B, conf=0.9) | Knowledge | \"Python is a programming language\" | | **Belief Discrepancy** | (expected X, observed Y, Δ=0.6) | Learning | \"Expected meeting at 3pm; ran until 5pm\" | | **Humor Bridge** | (A — bridge — B, σ=0.8, landed=true) | Comedy | \"meeting — hostage via 'held against will'\" |",
   "marked": "| Relationship Type | Structure | Purpose | Example | [-|---|---|---|---|-] {+| ---------------------- | ------------------------------------ | --------- | ------------------------------------------- |+} | **Semantic** | (A relates-to B, conf=0.9) | Knowledge | \"Python is a programming language\" | | **Belief Discrepancy** | (expected X, observed Y, [-delta=0.6)-] {+Δ=0.6)+} | Learning | \"Expected meeting [-to end-] at 3pm; ran until 5pm\" | | **Humor Bridge** | (A [----] {+—+} bridge [----] {+—+} B, [-surprise=0.8,-] {+σ=0.8,+} landed=true) | Comedy | \"meeting [----] {+—+} hostage via 'held against will'\" |"
  },
  {
   "section": "8.2 Relationship Types in Agent Memory",
   "old": "In the ENGRAM architecture (Serra, 2026a), humor associations are stored as events in the append-only event store with typed metadata, preserving full provenance. The CORTEX persona layer (Serra, 2026b) manages humor style preferences as part of the PersonaState, ensuring humor generation aligns with the agent's configured personality.",
   "new": "In the Total Recall architecture (Serra, 2026a), humor associations are stored as events in the append-only event store with typed metadata. The Identity Persistence persona layer (Serra, 2026b) manages humor style preferences as part of the PersonaState.",
   "marked": "In the [-ENGRAM-] {+Total Recall+} architecture (Serra, 2026a), humor associations are stored as events in the append-only event store with typed [-metadata, preserving full provenance.-] {+metadata.+} The [-CORTEX-] {+Identity Persistence+} persona layer (Serra, 2026b) manages humor style preferences as part of the [-PersonaState, ensuring humor generation aligns with the agent's configured personality.-] {+PersonaState.+}"
  },
  {
   "section": "8.3 Humor Association Schema",
   "old": "```python @dataclass class HumorAssociation: concept_a: str concept_b: str bridge: str pattern_type: int # Which of the 12 patterns surprise_score: float # From sigma() metric humor_confidence: float # Calibrated: landed / attempts audience: str context_tags: list[str] # e.g., [\"work\", \"monday\"] times_used: int last_used: datetime staleness: float # staleness = 1 - exp(-times_used * lambda) discovered_via: str # \"conversation\" | \"generated\" | \"observed\" created_at: datetime ```",
   "new": "```python @dataclass class HumorAssociation: concept_a: str concept_b: str bridge: str pattern_type: int # Which of the 12 patterns surprise_score: float # From σ() metric humor_confidence: float # Calibrated: landed / attempts audience: str context_tags: list[str] # e.g., [\"work\", \"monday\"] times_used: int last_used: datetime staleness: float # Computed, not stored discovered_via: str # \"conversation\" | \"generated\" | \"observed\" created_at: datetime ```",
   "marked": "```python @dataclass class HumorAssociation: concept_a: str concept_b: str bridge: str pattern_type: int # Which of the 12 patterns surprise_score: float # From [-sigma()-] {+σ()+} metric humor_confidence: float # Calibrated: landed / attempts audience: str context_tags: list[str] # e.g., [\"work\", \"monday\"] times_used: int last_used: datetime staleness: float # [-staleness = 1 - exp(-times_used * lambda)-] {+Computed, not stored+} discovered_via: str # \"conversation\" | \"generated\" | \"observed\" created_at: datetime ```"
  },
  {
   "section": "8.3 Humor Association Schema",
   "old": "**Staleness model.** We operationalize staleness as an exponential function of reuse count with time-based recovery:",
   "new": "**Staleness model.** Staleness is an exponential function of reuse count with time-based recovery:",
   "marked": "**Staleness model.** [-We operationalize staleness as-] {+Staleness is+} an exponential function of reuse count with time-based recovery:"
  },
  {
   "section": "8.3 Humor Association Schema",
   "old": "where $n$ is the number of times the joke has been used with the same audience, $t$ is time since last use, $\\lambda = 0.3$ controls how quickly reuse increases staleness, and $\\mu = 0.001$ (per hour) controls how quickly time reduces it. These parameters are engineering defaults, not empirically measured constants — they should be treated as configurable starting points requiring calibration against user reaction data (consistent with the callback parameter treatment in Section 3.5). This produces the desired behavior: a joke becomes stale with repeated use but recovers over time.",
   "new": null,
   "marked": "[-where $n$ is the number of times the joke has been used with the same audience, $t$ is time since last use, $\\lambda = 0.3$ controls how quickly reuse increases staleness, and $\\mu = 0.001$ (per hour) controls how quickly time reduces it. These parameters are engineering defaults, not empirically measured constants — they should be treated as configurable starting points requiring calibration against user reaction data (consistent with the callback parameter treatment in Section 3.5). This produces the desired behavior: a joke becomes stale with repeated use but recovers over time.-]"
  },
  {
   "section": "8.3 Humor Association Schema",
   "old": null,
   "new": "where $n$ is reuse count with the same audience, $t$ is time since last use, $\\lambda = 0.3$ controls how quickly reuse increases staleness, and $\\mu = 0.001$ (per hour) controls time-based recovery. These are engineering defaults requiring calibration.",
   "marked": "{+where $n$ is reuse count with the same audience, $t$ is time since last use, $\\lambda = 0.3$ controls how quickly reuse increases staleness, and $\\mu = 0.001$ (per hour) controls time-based recovery. These are engineering defaults requiring calibration.+}"
  },
  {
   "section": "8.3 Humor Association Schema",
   "old": null,
   "new": "The two exponentials interact: the first term $(1 - e^{-\\lambda n})$ saturates near 1.0 after ~10 uses, meaning highly reused jokes become stale regardless of time elapsed. The second term $(e^{-\\mu t})$ provides recovery, but only if the first term hasn't already saturated. In practice, this means a joke told 3 times recovers well after a few weeks; a joke told 15 times remains stale for months. This matches the intuition that moderate repetition is recoverable but severe overuse is not.",
   "marked": "{+The two exponentials interact: the first term $(1 - e^{-\\lambda n})$ saturates near 1.0 after ~10 uses, meaning highly reused jokes become stale regardless of time elapsed. The second term $(e^{-\\mu t})$ provides recovery, but only if the first term hasn't already saturated. In practice, this means a joke told 3 times recovers well after a few weeks; a joke told 15 times remains stale for months. This matches the intuition that moderate repetition is recoverable but severe overuse is not.+}"
  },
  {
   "section": "8.4 Belief Discrepancies as Humor Candidates",
   "old": "Every belief discrepancy — a recorded gap between expectation and observation — is a potential humor candidate. When an agent records \"I expected $X$ but observed $Y$,\" that delta is raw material for comedy awaiting the right context:",
   "new": null,
   "marked": "[-Every belief discrepancy — a recorded gap between expectation and observation — is a potential humor candidate. When an agent records \"I expected $X$ but observed $Y$,\" that delta is raw material for comedy awaiting the right context:-]"
  },
  {
   "section": "8.4 Belief Discrepancies as Humor Candidates",
   "old": null,
   "new": "Every belief discrepancy—a recorded gap between expectation and observation—is potential humor material:",
   "marked": "{+Every belief discrepancy—a recorded gap between expectation and observation—is potential humor material:+}"
  },
  {
   "section": "8.4 Belief Discrepancies as Humor Candidates",
   "old": "``` Belief discrepancy detected (delta > 0.5) -> Humor filter: is this a FUNNY discrepancy? -> Sensitivity gate: safe to joke about? -> Audience check: relatable? -> Context match: timing appropriate? -> If yes: deploy bridge, record result -> Update humor_confidence from reaction ```",
   "new": "``` Belief discrepancy detected (delta > 0.5) → Humor filter: is this a FUNNY discrepancy? → Sensitivity gate: safe to joke about? → Audience check: relatable? → Context match: timing appropriate? → If yes: deploy bridge, record result → Update humor_confidence from reaction ```",
   "marked": "``` Belief discrepancy detected (delta > 0.5) [-->-] {+→+} Humor filter: is this a FUNNY discrepancy? [-->-] {+→+} Sensitivity gate: safe to joke about? [-->-] {+→+} Audience check: relatable? [-->-] {+→+} Context match: timing appropriate? [-->-] {+→+} If yes: deploy bridge, record result [-->-] {+→+} Update humor_confidence from reaction ```"
  },
  {
   "section": "8.4 Belief Discrepancies as Humor Candidates",
   "old": "We propose three filters to distinguish funny discrepancies from merely informative ones:",
   "new": "Three filters distinguish funny discrepancies from merely informative ones:",
   "marked": "[-We propose three-] {+Three+} filters [-to-] distinguish funny discrepancies from merely informative ones:"
  },
  {
   "section": "8.4 Belief Discrepancies as Humor Candidates",
   "old": "1. **Domain transfer test.** Does the discrepancy involve a leap between semantic domains? (\"5-second vs. 200ms response time\" stays within-domain; \"2-hour meeting about font choices\" crosses from strategic to aesthetic domains.) 2. **Scale violation test.** Is the discrepancy magnitude absurd relative to context norms? 3. **Relatability test.** Would the audience recognize this discrepancy from their own experience?",
   "new": null,
   "marked": "[-1. **Domain transfer test.** Does the discrepancy involve a leap between semantic domains? (\"5-second vs. 200ms response time\" stays within-domain; \"2-hour meeting about font choices\" crosses from strategic to aesthetic domains.) 2. **Scale violation test.** Is the discrepancy magnitude absurd relative to context norms? 3. **Relatability test.** Would the audience recognize this discrepancy from their own experience?-]"
  },
  {
   "section": "8.4 Belief Discrepancies as Humor Candidates",
   "old": null,
   "new": "1. **Domain transfer test.** Does the discrepancy span distinct semantic domains? Operationalized as: the expected and observed values have embeddings in different high-level clusters (cosine distance > 0.5 between their cluster centroids). \"5-second vs. 200ms\" stays within the latency cluster; \"2-hour meeting about font choices\" spans the strategy and aesthetics clusters. 2. **Scale violation test.** Is the discrepancy magnitude absurd relative to context norms? Operationalized as: the ratio of expected to observed exceeds 10× or the delta exceeds 2 standard deviations from the agent's historical mean for that context type. 3. **Relatability test.** Would the audience recognize this discrepancy? Operationalized as: the discrepancy pattern (e.g., \"meeting ran long\") has a prior occurrence rate > 0.3 in the audience's interaction history, or the concept pair's embedding centroid falls within the audience's high-familiarity region ($f(\\alpha, X) > 0.7$).",
   "marked": "{+1. **Domain transfer test.** Does the discrepancy span distinct semantic domains? Operationalized as: the expected and observed values have embeddings in different high-level clusters (cosine distance > 0.5 between their cluster centroids). \"5-second vs. 200ms\" stays within the latency cluster; \"2-hour meeting about font choices\" spans the strategy and aesthetics clusters. 2. **Scale violation test.** Is the discrepancy magnitude absurd relative to context norms? Operationalized as: the ratio of expected to observed exceeds 10× or the delta exceeds 2 standard deviations from the agent's historical mean for that context type. 3. **Relatability test.** Would the audience recognize this discrepancy? Operationalized as: the discrepancy pattern (e.g., \"meeting ran long\") has a prior occurrence rate > 0.3 in the audience's interaction history, or the concept pair's embedding centroid falls within the audience's high-familiarity region ($f(\\alpha, X) > 0.7$).+}"
  },
  {
   "section": "8.4 Belief Discrepancies as Humor Candidates",
   "old": "A discrepancy passing at least two of three filters is promoted to humor candidate; others remain as learning signals.",
   "new": "A discrepancy passing at least two filters is promoted to humor candidate; the rest remain learning signals.",
   "marked": "A discrepancy passing at least two [-of three-] filters is promoted to humor candidate; [-others-] {+the rest+} remain [-as-] learning signals."
  },
  {
   "section": "8.5 Personalized Humor Calibration",
   "old": "The `humor_confidence` field enables per-audience calibration via Bayesian updating:",
   "new": "The `humor_confidence` field enables per-audience calibration:",
   "marked": "The `humor_confidence` field enables per-audience [-calibration via Bayesian updating:-] {+calibration:+}"
  },
  {
   "section": "8.5 Personalized Humor Calibration",
   "old": "Over time, the agent learns audience-specific humor profiles: \"User $\\alpha$ responds positively to domain-transfer humor about work ($p = 0.85$) but not to self-referential AI humor ($p = 0.3$).\" This constitutes **humor taste profiling** — the comedic equivalent of a recommendation system. The agent's overall humor style is managed by the CORTEX persona layer (Serra, 2026b), which maintains voice markers and style parameters as part of the PersonaState, ensuring that humor generation remains consistent with the agent's configured personality.",
   "new": "Over time, the agent learns audience-specific humor profiles: \"User $\\alpha$ responds positively to domain-transfer humor about work ($p = 0.85$) but not to self-referential AI humor ($p = 0.3$).\" The agent's overall humor style is managed by the Identity Persistence persona layer (Serra, 2026b).",
   "marked": "Over time, the agent learns audience-specific humor profiles: \"User $\\alpha$ responds positively to domain-transfer humor about work ($p = 0.85$) but not to self-referential AI humor ($p = 0.3$).\" [-This constitutes **humor taste profiling** — the comedic equivalent of a recommendation system.-] The agent's overall humor style is managed by the [-CORTEX-] {+Identity Persistence+} persona layer (Serra, [-2026b), which maintains voice markers and style parameters as part of the PersonaState, ensuring that humor generation remains consistent with the agent's configured personality.-] {+2026b).+}"
  },
  {
   "section": "8.6 Feedback Loop",
   "old": "1. **Explicit positive:** Laughter emoji, \"lol,\" explicit praise $\\rightarrow$ landed $= \\top$ 2. **Implicit positive:** Conversation energy increases, user riffs on the joke $\\rightarrow$ landed $= \\top$ 3. **Implicit negative:** Topic change, silence, \"anyway...\" $\\rightarrow$ landed $= \\bot$ 4. **Explicit negative:** \"That's not funny,\" \"too soon\" $\\rightarrow$ landed $= \\bot$, adjust sensitivity",
   "new": "1. **Explicit positive:** Laughter emoji, explicit praise → landed $= \\top$ 2. **Implicit positive:** Conversation energy increases, user riffs on the joke → landed $= \\top$ 3. **Implicit negative:** Topic change, silence, \"anyway...\" → landed $= \\bot$ 4. **Explicit negative:** \"That's not funny,\" \"too soon\" → landed $= \\bot$, adjust sensitivity",
   "marked": "1. **Explicit positive:** Laughter emoji, [-\"lol,\"-] explicit praise [-$\\rightarrow$-] {+→+} landed $= \\top$ 2. **Implicit positive:** Conversation energy increases, user riffs on the joke [-$\\rightarrow$-] {+→+} landed $= \\top$ 3. **Implicit negative:** Topic change, silence, \"anyway...\" [-$\\rightarrow$-] {+→+} landed $= \\bot$ 4. **Explicit negative:** \"That's not funny,\" \"too soon\" [-$\\rightarrow$-] {+→+} landed $= \\bot$, adjust sensitivity"
  },
  {
   "section": "8.6 Feedback Loop",
   "old": "**Reaction signal limitations.** Distinguishing genuine from habitual or sarcastic \"lol\" is a sentiment analysis challenge beyond the scope of this framework. In practice, we recommend treating ambiguous signals as weakly positive (landed probability = 0.6) and relying on the accumulation of many signals for calibration convergence, consistent with the CORTEX drift detection architecture (Serra, 2026b) which uses similar signal fusion for persona consistency monitoring.",
   "new": "**Limitations.** Distinguishing genuine from habitual or ironic positive signals (e.g., \"lol\" used as a conversational filler rather than genuine amusement) is a sentiment-analysis challenge beyond this framework's scope. We recommend treating ambiguous signals as weakly positive (landed probability = 0.6) and relying on many observations for convergence.",
   "marked": "[-**Reaction signal limitations.**-] {+**Limitations.**+} Distinguishing genuine from habitual or [-sarcastic-] {+ironic positive signals (e.g.,+} \"lol\" {+used as a conversational filler rather than genuine amusement)+} is a [-sentiment analysis-] {+sentiment-analysis+} challenge beyond [-the scope of-] this [-framework. In practice, we-] {+framework's scope. We+} recommend treating ambiguous signals as weakly positive (landed probability = 0.6) and relying on [-the accumulation of-] many [-signals-] {+observations+} for [-calibration convergence, consistent with the CORTEX drift detection architecture (Serra, 2026b) which uses similar signal fusion for persona consistency monitoring.-] {+convergence.+}"
  },
  {
   "section": "8.7 Emergent Phenomena",
   "old": "Humor memory transforms the framework from a stateless scoring function into a learning system with emergent social properties:",
   "new": "Humor memory transforms the framework from a stateless scoring function into a learning system:",
   "marked": "Humor memory transforms the framework from a stateless scoring function into a learning [-system with emergent social properties:-] {+system:+}"
  },
  {
   "section": "8.7 Emergent Phenomena",
   "old": "- **Cold-to-warm start.** New agents begin with pattern-based generation (Section 4). As humor associations accumulate, the agent shifts to memory-augmented generation with calibrated confidence. - **Callback automation.** Humor associations with timestamps make callbacks trivial — query for bridges that landed, have not been overused, and fall within the callback sweet spot (Section 3.5). - **Inside jokes emerge naturally.** Repeated successful bridges between the same audience and context become inside jokes — no special mechanism required, just high humor confidence combined with shared history. This formalization supports Flamson and Barrett's (2008) encryption theory: inside jokes are bridges with high audience-specific confidence and low general-audience confidence. - **Transfer learning.** A bridge that succeeds with multiple audiences gains universal confidence; audience-specific bridges remain personalized. - **Cross-session persistence.** Via the ENGRAM event store (Serra, 2026a), humor associations persist across sessions and survive context compaction through pointer-based retrieval, enabling long-term humor memory that outlasts any single conversation.",
   "new": "- **Cold-to-warm start.** New agents begin with pattern-based generation (Section 4). As associations accumulate, the agent shifts toward memory-augmented generation with calibrated confidence. - **Callback automation.** Humor associations with timestamps make callbacks straightforward—query for bridges that landed, are not overused, and fall within the callback sweet spot (Section 3.5). - **Inside jokes emerge naturally.** Repeated successful bridges for the same audience become inside jokes without any special mechanism—just high humor confidence plus shared history. This formalizes Flamson and Barrett's (2008) encryption theory: inside jokes are bridges with high audience-specific confidence and low general-audience confidence. - **Transfer learning.** A bridge that succeeds with multiple audiences gains universal confidence; audience-specific bridges remain personalized. - **Cross-session persistence.** Via the Total Recall event store (Serra, 2026a), humor associations persist across sessions, enabling long-term humor memory.",
   "marked": "- **Cold-to-warm start.** New agents begin with pattern-based generation (Section 4). As [-humor-] associations accumulate, the agent shifts [-to-] {+toward+} memory-augmented generation with calibrated confidence. - **Callback automation.** Humor associations with timestamps make callbacks [-trivial — query-] {+straightforward—query+} for bridges that landed, [-have-] {+are+} not [-been-] overused, and fall within the callback sweet spot (Section 3.5). - **Inside jokes emerge naturally.** Repeated successful bridges [-between-] {+for+} the same audience [-and context-] become inside jokes [-— no-] {+without any+} special [-mechanism required, just-] {+mechanism—just+} high humor confidence [-combined with-] {+plus+} shared history. This [-formalization supports-] {+formalizes+} Flamson and Barrett's (2008) encryption theory: inside jokes are bridges with high audience-specific confidence and low general-audience confidence. - **Transfer learning.** A bridge that succeeds with multiple audiences gains universal confidence; audience-specific bridges remain personalized. - **Cross-session persistence.** Via the [-ENGRAM-] {+Total Recall+} event store (Serra, 2026a), humor associations persist across [-sessions and survive context compaction through pointer-based retrieval,-] {+sessions,+} enabling long-term humor [-memory that outlasts any single conversation.-] {+memory.+}"
  },
  {
   "section": "9. Limitations",
   "old": "This framework has several important limitations, organized by severity.",
   "new": null,
   "marked": "[-This framework has several important limitations, organized by severity.-]"
  },
  {
   "section": "9.1 Unvalidated Predictive Component",
   "old": "The most critical limitation: $h_{\\text{v2}}$ is an untested hypothesis. The pilot study ($n = 15$ concept triplets) demonstrated that naive formulas (v1, v3, v4) fail, and the revised formula is motivated by the failure analysis, but $h_{\\text{v2}}$ has not been validated against human ratings. Until the validation protocol (Section 7.2) is executed, the framework should be treated as a theoretical proposal with empirical protocols, not an empirically validated model.",
   "new": "The most important limitation: $h_{\\text{v2}}$ remains unvalidated against human judgments. The pilot ($n = 15$ concept triplets) showed that naive formulas fail, and $h_{\\text{v2}}$ is motivated by that failure analysis, but has not been tested against human ratings. Until the validation protocol in Section 7.2 is executed, the framework should be treated as a theoretical proposal with empirical protocols, not an empirically validated model.",
   "marked": "The most [-critical-] {+important+} limitation: $h_{\\text{v2}}$ [-is an untested hypothesis.-] {+remains unvalidated against human judgments.+} The pilot [-study-] ($n = 15$ concept triplets) [-demonstrated-] {+showed+} that naive formulas [-(v1, v3, v4)-] fail, and [-the revised formula-] {+$h_{\\text{v2}}$+} is motivated by [-the-] {+that+} failure analysis, but [-$h_{\\text{v2}}$-] has not been [-validated-] {+tested+} against human ratings. Until the validation protocol [-(Section 7.2)-] {+in Section 7.2+} is executed, the framework should be treated as a theoretical proposal with empirical protocols, not an empirically validated model."
  },
  {
   "section": "9.2 Embedding Model Dependence",
   "old": "The framework assumes embeddings capture semantic relationships with sufficient fidelity for humor operations. This assumption is non-trivial. Embedding models must satisfy three requirements:",
   "new": "The framework assumes embeddings capture semantic relationships with sufficient fidelity for humor operations. Embedding models must satisfy three requirements:",
   "marked": "The framework assumes embeddings capture semantic relationships with sufficient fidelity for humor operations. [-This assumption is non-trivial.-] Embedding models must satisfy three requirements:"
  },
  {
   "section": "9.2 Embedding Model Dependence",
   "old": "1. **Semantic compositionality.** The embedding space must represent compositional relationships (analogy arithmetic works), not just distributional co-occurrence. 2. **Connotative coverage.** Embeddings trained on encyclopedic or technical text may poorly represent connotative, cultural, and emotional dimensions that humor exploits. A model trained primarily on Wikipedia may not distinguish \"meeting\" (neutral) from \"meeting\" (dreadful workplace ritual). 3. **Sufficient dimensionality.** In low-dimensional spaces, the concentration of measure phenomenon (Aggarwal et al., 2001) compresses distances, reducing the dynamic range available for the humor zone. We recommend $n \\geq 384$ based on our pilot, but the lower bound may vary by application.",
   "new": "1. **Semantic compositionality.** The space must represent compositional relationships (analogy arithmetic works), not merely distributional co-occurrence. 2. **Connotative coverage.** Embeddings trained on encyclopedic text may poorly represent the connotative, cultural, and emotional dimensions humor exploits. A model trained primarily on Wikipedia may not distinguish \"meeting\" (neutral event) from \"meeting\" (dreaded workplace ritual). 3. **Sufficient dimensionality.** In low-dimensional spaces, concentration of measure compresses distances, reducing dynamic range. We recommend $n \\geq 384$ based on our pilot.",
   "marked": "1. **Semantic compositionality.** The [-embedding-] space must represent compositional relationships (analogy arithmetic works), not [-just-] {+merely+} distributional co-occurrence. 2. **Connotative coverage.** Embeddings trained on encyclopedic [-or technical-] text may poorly represent {+the+} connotative, cultural, and emotional dimensions [-that-] humor exploits. A model trained primarily on Wikipedia may not distinguish \"meeting\" [-(neutral)-] {+(neutral event)+} from \"meeting\" [-(dreadful-] {+(dreaded+} workplace ritual). 3. **Sufficient dimensionality.** In low-dimensional spaces, [-the-] concentration of measure [-phenomenon (Aggarwal et al., 2001)-] compresses distances, reducing [-the-] dynamic [-range available for the humor zone.-] {+range.+} We recommend $n \\geq 384$ based on our [-pilot, but the lower bound may vary by application.-] {+pilot.+}"
  },
  {
   "section": "9.2 Embedding Model Dependence",
   "old": "The pilot study (Section 7.1) used general-purpose sentence embeddings (MiniLM-L6); domain-adapted, multi-task, or instruction-tuned embeddings may perform differently. The embedding model ablation (Section 7.4) is designed to test this sensitivity.",
   "new": null,
   "marked": "[-The pilot study (Section 7.1) used general-purpose sentence embeddings (MiniLM-L6); domain-adapted, multi-task, or instruction-tuned embeddings may perform differently. The embedding model ablation (Section 7.4) is designed to test this sensitivity.-]"
  },
  {
   "section": "9.2 Embedding Model Dependence",
   "old": null,
   "new": "The embedding-model ablation (Section 7.4) is designed to test this sensitivity.",
   "marked": "{+The embedding-model ablation (Section 7.4) is designed to test this sensitivity.+}"
  },
  {
   "section": "9.3 Cultural Specificity",
   "old": "Our taxonomy and examples draw primarily from English-language, Western humor traditions. Whether the 12 patterns generalize cross-culturally remains open. Some humor types — tonal puns in Mandarin, *rakugo* narrative structure in Japanese, *dagelan* in Javanese — have no obvious embedding-space analog in our current framework. Cross-cultural validation would require native-speaker raters, culturally grounded stimuli, and multilingual embedding models. Oring's (2003) observation that \"appropriate incongruity\" manifests differently across cultures suggests that the distance sweet spot (Section 3.6) and pattern distributions are culture-dependent. Warren and McGraw (2016) show that different types of violations (moral, social, physical) produce humor at different distances from the benign boundary, suggesting that the sensitivity gate threshold $\\tau$ should vary by violation type, not just topic.",
   "new": "Our taxonomy and examples draw primarily from English-language, Western humor traditions. Whether the 12 patterns generalize cross-culturally remains open. Humor types such as tonal puns in Mandarin, _rakugo_ narrative structure in Japanese, or _dagelan_ in Javanese have no obvious embedding-space analogue. Cross-cultural validation would require native-speaker raters, culturally grounded stimuli, and multilingual embedding models. Oring (2003) and Warren and McGraw (2016) suggest that both the distance sweet spot and the sensitivity threshold should vary by culture and violation type.",
   "marked": "Our taxonomy and examples draw primarily from English-language, Western humor traditions. Whether the 12 patterns generalize cross-culturally remains open. [-Some humor-] {+Humor+} types [-—-] {+such as+} tonal puns in Mandarin, [-*rakugo*-] {+_rakugo_+} narrative structure in Japanese, [-*dagelan*-] {+or _dagelan_+} in Javanese [-—-] have no obvious embedding-space [-analog in our current framework.-] {+analogue.+} Cross-cultural validation would require native-speaker raters, culturally grounded stimuli, and multilingual embedding models. [-Oring's-] {+Oring+} (2003) [-observation-] {+and Warren and McGraw (2016) suggest+} that [-\"appropriate incongruity\" manifests differently across cultures suggests that-] {+both+} the distance sweet spot [-(Section 3.6)-] and [-pattern distributions are culture-dependent. Warren and McGraw (2016) show that different types of violations (moral, social, physical) produce humor at different distances from the benign boundary, suggesting that-] the sensitivity [-gate-] threshold [-$\\tau$-] should vary by {+culture and+} violation [-type, not just topic.-] {+type.+}"
  },
  {
   "section": "9.4 The Delivery Gap",
   "old": "Humor potential scores raw conceptual combinations but cannot account for delivery — timing, intonation, facial expression, and conversational context. A combination with high $h_{\\text{v2}}$ may fail if delivered poorly. Our framework addresses *what* to say, not *how* or *when* to say it. Dynel's (2009) analysis of conversational humor mechanisms highlights the importance of pragmatic context in humor success — a factor our framework does not model.",
   "new": "Humor potential scores raw conceptual combinations; it does not account for delivery—timing, intonation, or conversational context. A combination with high $h_{\\text{v2}}$ may fail if delivered poorly. Our framework addresses _what_ to say, not _how_ or _when_. Dynel's (2009) analysis of conversational humor underscores the importance of pragmatic context, which we do not model.",
   "marked": "Humor potential scores raw conceptual [-combinations but cannot-] {+combinations; it does not+} account for [-delivery — timing,-] {+delivery—timing,+} intonation, [-facial expression, and-] {+or+} conversational context. A combination with high $h_{\\text{v2}}$ may fail if delivered poorly. Our framework addresses [-*what*-] {+_what_+} to say, not [-*how*-] {+_how_+} or [-*when* to say it.-] {+_when_.+} Dynel's (2009) analysis of conversational humor [-mechanisms highlights-] {+underscores+} the importance of pragmatic [-context in humor success — a factor our framework does-] {+context, which we do+} not model."
  },
  {
   "section": "9.5 Computational Cost",
   "old": "The hybrid pipeline (Section 6.7) involves multiple embedding lookups and potentially an LLM fallback. Real-time conversational humor may require aggressive caching and pre-computation. Evaluating $h_{\\text{v2}}(A, B, \\beta)$ end-to-end requires: one cosine distance computation ($O(n)$), two cosine coherence computations ($O(n)$), and one ANN query for the surprise function ($O(n + k \\log N)$ with HNSW, or effectively $O(n)$ with approximate indices). Total per-triplet: $O(n + k \\log N)$ ≈ sub-millisecond for $n = 384$, $k = 100$, $N = 100$K. The bottleneck at scale is the ANN query on the midpoint vector, which at scale ($> 100$K concepts) adds non-trivial latency for exact search but remains fast with approximate indices.",
   "new": "Evaluating $h_{\\text{v2}}(A, B, \\beta)$ end-to-end requires: one cosine distance computation ($O(n)$), two cosine coherence computations ($O(n)$), and one ANN query for surprise ($O(n + k \\log N)$ with HNSW). Total per-triplet: sub-millisecond for $n = 384$, $k = 100$, $N = 100$K. The hybrid pipeline (Section 6.7) adds bridge discovery overhead; real-time conversational humor may require caching and pre-computation.",
   "marked": "[-The hybrid pipeline (Section 6.7) involves multiple embedding lookups and potentially an LLM fallback. Real-time conversational humor may require aggressive caching and pre-computation.-] Evaluating $h_{\\text{v2}}(A, B, \\beta)$ end-to-end requires: one cosine distance computation ($O(n)$), two cosine coherence computations ($O(n)$), and one ANN query for [-the-] surprise [-function-] ($O(n + k \\log N)$ with [-HNSW, or effectively $O(n)$ with approximate indices).-] {+HNSW).+} Total per-triplet: [-$O(n + k \\log N)$ ≈-] sub-millisecond for $n = 384$, $k = 100$, $N = 100$K. The [-bottleneck at scale is the ANN query on the midpoint vector, which at scale ($> 100$K concepts)-] {+hybrid pipeline (Section 6.7)+} adds [-non-trivial latency for exact search but remains fast with approximate indices.-] {+bridge discovery overhead; real-time conversational humor may require caching and pre-computation.+}"
  },
  {
   "section": "9.6 Sensitivity Gate Limitations",
   "old": "Ethical filtering relies on category matching and audience modeling, both imperfect. False negatives (harmful content passing the gate) and false positives (benign content blocked) are both possible. The conservative default errs toward false positives — producing an overly cautious system. See Section 5.5.",
   "new": "Ethical filtering relies on category matching and audience modeling, both imperfect. The conservative default biases toward false positives (blocking benign content). See Section 5.5.",
   "marked": "Ethical filtering relies on category matching and audience modeling, both imperfect. [-False negatives (harmful content passing the gate) and false positives (benign content blocked) are both possible.-] The conservative default [-errs-] {+biases+} toward false positives [-— producing an overly cautious system.-] {+(blocking benign content).+} See Section 5.5."
  },
  {
   "section": "9.7 Pilot Scale",
   "old": "The computational pilot ($n = 15$ triplets) is sufficient to identify a structural flaw in the formula but insufficient for statistical conclusions about $h_{\\text{v2}}$. The pilot tests formula behavior, not human perception.",
   "new": "The pilot ($n = 15$ triplets) is sufficient to reveal a structural flaw in $h_{\\text{v1}}$ but not sufficient for statistical conclusions about $h_{\\text{v2}}$.",
   "marked": "The [-computational-] pilot ($n = 15$ triplets) is sufficient to [-identify-] {+reveal+} a structural flaw in [-the formula-] {+$h_{\\text{v1}}$+} but [-insufficient-] {+not sufficient+} for statistical conclusions about [-$h_{\\text{v2}}$. The pilot tests formula behavior, not human perception.-] {+$h_{\\text{v2}}$.+}"
  },
  {
   "section": "9.8 GTVH Coverage",
   "old": "Our framework maps most directly to Script Opposition and Logical Mechanism in Attardo and Raskin's (1991) GTVH. The remaining four Knowledge Resources — Situation, Target, Narrative Strategy, and Language — are not explicitly modeled. A complete computational humor system would need to address these dimensions as well. See Section 4.6.",
   "new": "Our framework maps primarily to Script Opposition and Logical Mechanism. The remaining four GTVH Knowledge Resources—Situation, Target, Narrative Strategy, and Language—are not explicitly modeled. See Section 4.6.",
   "marked": "Our framework maps [-most directly-] {+primarily+} to Script Opposition and Logical [-Mechanism in Attardo and Raskin's (1991) GTVH.-] {+Mechanism.+} The remaining four {+GTVH+} Knowledge [-Resources — Situation,-] {+Resources—Situation,+} Target, Narrative Strategy, and [-Language — are-] {+Language—are+} not explicitly modeled. [-A complete computational humor system would need to address these dimensions as well.-] See Section 4.6."
  },
  {
   "section": "9.9 Humor Association Storage",
   "old": "## 9.9 Humor Association Storage",
   "new": null,
   "marked": "[-## 9.9 Humor Association Storage-]"
  },
  {
   "section": "9.9 Humor Association Storage",
   "old": "At scale, the humor association store could grow significantly. For an agent with 1,000 active users generating 5 humor attempts per day, the store accumulates ~1.8M entries per year. Storage is linear and manageable with standard databases, but retrieval requires efficient indexing by audience, context, and staleness — a secondary engineering challenge.",
   "new": null,
   "marked": "[-At scale, the humor association store could grow significantly. For an agent with 1,000 active users generating 5 humor attempts per day, the store accumulates ~1.8M entries per year. Storage is linear and manageable with standard databases, but retrieval requires efficient indexing by audience, context, and staleness — a secondary engineering challenge.-]"
  },
  {
   "section": "9.9 Scope of Multimodal Humor",
   "old": null,
   "new": "## 9.9 Scope of Multimodal Humor",
   "marked": "{+## 9.9 Scope of Multimodal Humor+}"
  },
  {
   "section": "9.9 Scope of Multimodal Humor",
   "old": null,
   "new": "This framework addresses text-based conceptual humor. Visual humor (memes, comics, physical comedy), audio humor (timing, intonation, accents), and multimodal humor (image-text combinations) are not modeled. Multimodal embeddings (e.g., CLIP; Radford et al., 2021) could in principle extend the framework to image-text humor, but the bridge discovery algorithms and pattern taxonomy would require substantial adaptation. We leave this to future work.",
   "marked": "{+This framework addresses text-based conceptual humor. Visual humor (memes, comics, physical comedy), audio humor (timing, intonation, accents), and multimodal humor (image-text combinations) are not modeled. Multimodal embeddings (e.g., CLIP; Radford et al., 2021) could in principle extend the framework to image-text humor, but the bridge discovery algorithms and pattern taxonomy would require substantial adaptation. We leave this to future work.+}"
  },
  {
   "section": "10. Conclusion",
   "old": "We have presented LIMBIC, a formal framework that operationalizes Koestler's (1964) bisociation theory as geometric operations over vector embeddings. Our central contribution is the **memory-humor correspondence**: humor and semantic memory retrieval are operations on the same embedding infrastructure with inverted optimization objectives — memory seeks proximity, humor seeks calibrated distance bridged by unexpected coherence.",
   "new": "We have presented Humor Embeddings, a formal framework that operationalizes Koestler's (1964) bisociation theory as geometry over vector embeddings. The central claim is the **memory-humor correspondence**: humor and semantic memory retrieval are operations on the same embedding infrastructure with different optimization objectives. Memory seeks proximity; humor seeks calibrated distance bridged by unexpected coherence.",
   "marked": "We have presented [-LIMBIC,-] {+Humor Embeddings,+} a formal framework that operationalizes Koestler's (1964) bisociation theory as [-geometric operations-] {+geometry+} over vector embeddings. [-Our-] {+The+} central [-contribution-] {+claim+} is the **memory-humor correspondence**: humor and semantic memory retrieval are operations on the same embedding infrastructure with [-inverted-] {+different+} optimization [-objectives — memory-] {+objectives. Memory+} seeks [-proximity,-] {+proximity;+} humor seeks calibrated distance bridged by unexpected coherence."
  },
  {
   "section": "10. Conclusion",
   "old": null,
   "new": "This matters for how humor should be built into agents. If the correspondence holds, humor can emerge from existing retrieval machinery once the objective is inverted. The agent does not become funny by reciting scripts; it becomes funny by learning to find distant but meaningful connections—the same kind of search it already performs for memory, but with the sign flipped.",
   "marked": "{+This matters for how humor should be built into agents. If the correspondence holds, humor can emerge from existing retrieval machinery once the objective is inverted. The agent does not become funny by reciting scripts; it becomes funny by learning to find distant but meaningful connections—the same kind of search it already performs for memory, but with the sign flipped.+}"
  },
  {
   "section": "10. Conclusion",
   "old": "The framework makes five testable claims: (1) the revised $h_{\\text{v2}}$ incorporating surprise-weighted bridge quality will correlate with human funniness ratings where naive cosine-based formulas do not; (2) the 12 semantic patterns organized into five meta-categories provide a useful taxonomy for generating and classifying humor; (3) the bridge discovery algorithms can produce viable comedic connections; (4) humor associations as a first-class memory type in the ENGRAM architecture (Serra, 2026a) enable personalized humor calibration through reinforcement; and (5) belief discrepancies in agent memory constitute a generative source of humor material.",
   "new": "The framework makes five testable claims: (1) the revised $h_{\\text{v2}}$ will correlate with human funniness ratings where naive cosine-based formulas do not; (2) the 12 semantic patterns provide a useful taxonomy for generating and classifying humor; (3) the bridge discovery algorithms can produce viable comedic connections; (4) humor associations as a first-class memory type enable personalized calibration through reinforcement; and (5) belief discrepancies constitute a generative source of humor material.",
   "marked": "The framework makes five testable claims: (1) the revised $h_{\\text{v2}}$ [-incorporating surprise-weighted bridge quality-] will correlate with human funniness ratings where naive cosine-based formulas do not; (2) the 12 semantic patterns [-organized into five meta-categories-] provide a useful taxonomy for generating and classifying humor; (3) the bridge discovery algorithms can produce viable comedic connections; (4) humor associations as a first-class memory type [-in the ENGRAM architecture (Serra, 2026a)-] enable personalized [-humor-] calibration through reinforcement; and (5) belief discrepancies [-in agent memory-] constitute a generative source of humor material."
  },
  {
   "section": "10. Conclusion",
   "old": "The honest reporting of negative pilot results — and the diagnostic reasoning they enabled — illustrates the value of empirical grounding even at the framework stage. The revised formulation separating bridge validity from bridge surprise emerged directly from understanding *why* the naive formula failed. The systematic exploration of four formula variants (v1–v4) demonstrates that the failure is not in the specific combination function but in the conflation of proximity with comedic validity.",
   "new": "The honest reporting of negative pilot results—and the diagnostic reasoning they enabled—illustrates the value of empirical grounding at the framework stage. The systematic exploration of four variants (v1–v4) shows the failure lies not in one parameterization, but in the deeper conflation of semantic proximity with comedic fit.",
   "marked": "The honest reporting of negative pilot [-results — and-] {+results—and+} the diagnostic reasoning they [-enabled — illustrates-] {+enabled—illustrates+} the value of empirical grounding [-even-] at the framework stage. The [-revised formulation separating bridge validity from bridge surprise emerged directly from understanding *why* the naive formula failed. The-] systematic exploration of four [-formula-] variants (v1–v4) [-demonstrates that-] {+shows+} the failure [-is-] {+lies+} not in [-the specific combination function-] {+one parameterization,+} but in the {+deeper+} conflation of {+semantic+} proximity with comedic [-validity.-] {+fit.+}"
  },
  {
   "section": "10. Conclusion",
   "old": "The most important limitation is the absence of large-scale empirical validation. We have provided specific, reproducible protocols (Section 7.2–7.4) with formal power analysis ($N \\geq 64$ raters), inter-rater reliability targets, and cross-embedding-model ablation designs. Existing datasets (SemEval, One-Liners corpus) enable immediate secondary validation. Executing these protocols is the critical next step.",
   "new": "The most important limitation remains the absence of large-scale empirical validation. We have provided specific, reproducible protocols (Section 7.2–7.4) with power analysis, inter-rater reliability targets, and cross-embedding-model ablation designs. Executing those protocols is the critical next step.",
   "marked": "The most important limitation [-is-] {+remains+} the absence of large-scale empirical validation. We have provided specific, reproducible protocols (Section 7.2–7.4) with [-formal-] power [-analysis ($N \\geq 64$ raters),-] {+analysis,+} inter-rater reliability targets, and cross-embedding-model ablation designs. [-Existing datasets (SemEval, One-Liners corpus) enable immediate secondary validation.-] Executing [-these-] {+those+} protocols is the critical next step."
  },
  {
   "section": "10. Conclusion",
   "old": "The theoretical foundation suggests a broader principle: the same embedding infrastructure that supports memory retrieval can support multiple cognitive operations — analogy, creativity, humor — through different query strategies on the same geometric structure. Humor is the inverted search; creativity may be the orthogonal one. The SYNAPSE framework (Serra, 2026c) extends this multi-operation perspective to multi-model deliberation, suggesting that cognitive diversity in both embedding spaces and model ensembles is a computational resource to be exploited.",
   "new": null,
   "marked": "[-The theoretical foundation suggests a broader principle: the same embedding infrastructure that supports memory retrieval can support multiple cognitive operations — analogy, creativity, humor — through different query strategies on the same geometric structure. Humor is the inverted search; creativity may be the orthogonal one. The SYNAPSE framework (Serra, 2026c) extends this multi-operation perspective to multi-model deliberation, suggesting that cognitive diversity in both embedding spaces and model ensembles is a computational resource to be exploited.-]"
  },
  {
   "section": "10. Conclusion",
   "old": null,
   "new": "The broader implication is that embedding infrastructures may support multiple cognitive operations through different search strategies over the same geometry. Humor is the inverted search. Creativity may be the orthogonal one. If so, a single vector index is not merely a memory store—it is a substrate for a family of cognitive operations whose diversity comes not from the data, but from the objective function.",
   "marked": "{+The broader implication is that embedding infrastructures may support multiple cognitive operations through different search strategies over the same geometry. Humor is the inverted search. Creativity may be the orthogonal one. If so, a single vector index is not merely a memory store—it is a substrate for a family of cognitive operations whose diversity comes not from the data, but from the objective function.+}"
  },
  {
   "section": "References",
   "old": "- Aggarwal, C. C., Hinneburg, A. & Keim, D. A. (2001). On the surprising behavior of distance metrics in high dimensional space. *ICDT*. - Amin, M. & Burghardt, M. (2020). A survey on approaches to computational humor generation. *Proceedings of the International Conference on Computational Creativity (ICCC)*. - Attardo, S. & Raskin, V. (1991). Script theory revis(it)ed: Joke similarity and joke representation model. *Humor: International Journal of Humor Research*, 4(3–4), 293–347. - Baker, C. F., Fillmore, C. J. & Lowe, J. B. (1998). The Berkeley FrameNet project. *COLING-ACL*. - Bertero, D. & Fung, P. (2016). A long short-term memory framework for predicting humor in dialogues. *NAACL-HLT*. - Binsted, K. & Ritchie, G. (1994). An implemented model of punning riddles. *AAAI*. - Bowdle, B. F. & Gentner, D. (2005). The career of metaphor. *Psychological Review*, 112(1), 193–216. - Chen, P.-Y. & Soo, V.-W. (2018). Humor recognition using deep learning. *NAACL-HLT*. - Coulson, S. (2001). *Semantic Leaps: Frame-Shifting and Conceptual Blending in Meaning Construction*. Cambridge University Press. - Dubitzky, W., Kötter, T., Schmidt, O. & Berthold, M. R. (2012). Towards creative information exploration based on Koestler's concept of bisociation. *Bisociative Knowledge Discovery*. Springer. - Dynel, M. (2009). Beyond a joke: Types of conversational humour. *Language and Linguistics Compass*, 3(5), 1284–1299. - Flamson, T. & Barrett, H. C. (2008). The encryption theory of humor: A knowledge-based mechanism of honest signaling. *Journal of Evolutionary Psychology*, 6(4), 261–281. - Glucksberg, S. (2001). *Understanding Figurative Language: From Metaphors to Idioms*. Oxford University Press. - Gorwa, R., Binns, R. & Katzenbach, C. (2020). Algorithmic content moderation: Technical and political challenges in the automation of platform governance. *Big Data & Society*, 7(1). - He, H., Peng, N. & Liang, P. (2019). Pun generation with surprise. *NAACL-HLT*. - Hossain, N., Krumm, J. & Gamon, M. (2019). \"President Vows to Cut \\<Taxes\\> Hair\": Dataset and analysis of creative text editing for humorous headlines. *NAACL-HLT*. - Hossain, N., Krumm, J., Gamon, M. & Kautz, H. (2020). SemEval-2020 Task 7: Assessing humor in edited news headlines. *SemEval*. - Hurley, M. M., Dennett, D. C. & Adams, R. B. (2011). *Inside Jokes: Using Humor to Reverse-Engineer the Mind*. MIT Press. - Kao, J. T., Levy, R. & Goodman, N. D. (2016). A computational model of linguistic humor in puns. *Cognitive Science*, 40(5), 1270–1285. - Koestler, A. (1964). *The Act of Creation*. Hutchinson & Co. - Krippendorff, K. (2011). Computing Krippendorff's alpha-reliability. *Annenberg School for Communication Departmental Papers*. - Luo, F., et al. (2019). Pun-GAN: Generative adversarial network for pun generation. *EMNLP*. - Martin, R. A. (2007). *The Psychology of Humor: An Integrative Approach*. Elsevier Academic Press. - McGraw, A. P. & Warren, C. (2010). Benign violations: Making immoral behavior funny. *Psychological Science*, 21(8), 1141–1149. - Mihalcea, R. & Strapparava, C. (2005). Making computers laugh: Investigations in automatic humor recognition. *HLT/EMNLP*. - Mikolov, T., et al. (2013). Efficient estimation of word representations in vector space. *arXiv:1301.3781*. - Oring, E. (2003). *Engaging Humor*. University of Illinois Press. - Pereira, F. C., et al. (2019). Computational creativity and bisociative concept blending. *Cognitive Computation*. - Petrović, S. & Matthews, D. (2013). Unsupervised joke generation from big data. *ACL*. - Raskin, V. (1985). *Semantic Mechanisms of Humor*. D. Reidel Publishing. - Reimers, N. & Gurevych, I. (2019). Sentence-BERT: Sentence embeddings using Siamese BERT-networks. *EMNLP*. - Ritchie, G. (2004). *The Linguistic Analysis of Jokes*. Routledge. - Serra, O. (2026a). ENGRAM: Event-Navigated Graded Retrieval & Archival Memory. *Technical Report, OpenClaw*. - Serra, O. (2026b). CORTEX: Persona-Aware Context Engineering for Persistent AI Identity. *Technical Report, OpenClaw*. - Serra, O. (2026c). SYNAPSE: Synthesized Negotiation Across Provider-Specific Engines. *Technical Report, OpenClaw*. - Stock, O. & Strapparava, C. (2003). HAHAcronym: Humorous agents for humorous acronyms. *Humor*, 16(3), 297–314. - Suls, J. M. (1972). A two-stage model for the appreciation of jokes and cartoons: An information-processing analysis. In J. H. Goldstein & P. E. McGhee (Eds.), *The Psychology of Humor*. Academic Press. - Tian, Y., et al. (2022). A survey on humor recognition: Methods, challenges, and resources. *ACM Computing Surveys*. - Veale, T. (2016). *The Shape of Wit: Computational Models of Creative Metaphor*. Springer. - Vershynin, R. (2018). *High-Dimensional Probability*. Cambridge University Press. - Vrticka, P., Black, J. M. & Reiss, A. L. (2013). The neural basis of humour processing. *Nature Reviews Neuroscience*, 14(12), 860–868. - Warren, C. & McGraw, A. P. (2016). Differentiating what is humorous from what is not. *Journal of Personality and Social Psychology*, 110(3), 407–430. - Weller, O. & Seppi, K. (2019). Humor detection: A transformer gets the last laugh. *EMNLP*. - West, R. & Horvitz, E. (2019). Reverse-engineering satire, or \"Paper on computational humor accepted despite making conditions for rejection\". *AAAI*. - Winters, T., Nys, V. & De Schreye, D. (2021). Computers learning humor. *Proceedings of the International Conference on Computational Creativity (ICCC)*. - Yang, D., et al. (2015). Humor recognition and humor anchor extraction. *EMNLP*. - Yu, Z., et al. (2018). A neural approach to pun generation. *ACL*.",
   "new": "- Aggarwal, C. C., Hinneburg, A. & Keim, D. A. (2001). On the surprising behavior of distance metrics in high dimensional space. _ICDT_. - Amin, M. & Burghardt, M. (2020). A survey on approaches to computational humor generation. _Proceedings of the International Conference on Computational Creativity (ICCC)_. - Attardo, S. & Raskin, V. (1991). Script theory revis(it)ed: Joke similarity and joke representation model. _Humor: International Journal of Humor Research_, 4(3–4), 293–347. - Baker, C. F., Fillmore, C. J. & Lowe, J. B. (1998). The Berkeley FrameNet project. _COLING-ACL_. - Bertero, D. & Fung, P. (2016). A long short-term memory framework for predicting humor in dialogues. _NAACL-HLT_. - Binsted, K. & Ritchie, G. (1994). An implemented model of punning riddles. _AAAI_. - Bowdle, B. F. & Gentner, D. (2005). The career of metaphor. _Psychological Review_, 112(1), 193–216. - Chen, P.-Y. & Soo, V.-W. (2018). Humor recognition using deep learning. _NAACL-HLT_. - Coulson, S. (2001). _Semantic Leaps: Frame-Shifting and Conceptual Blending in Meaning Construction_. Cambridge University Press. - Dubitzky, W., Kötter, T., Schmidt, O. & Berthold, M. R. (2012). Towards creative information exploration based on Koestler's concept of bisociation. _Bisociative Knowledge Discovery_. Springer. - Dynel, M. (2009). Beyond a joke: Types of conversational humour. _Language and Linguistics Compass_, 3(5), 1284–1299. - Flamson, T. & Barrett, H. C. (2008). The encryption theory of humor: A knowledge-based mechanism of honest signaling. _Journal of Evolutionary Psychology_, 6(4), 261–281. - Glucksberg, S. (2001). _Understanding Figurative Language: From Metaphors to Idioms_. Oxford University Press. - Gorwa, R., Binns, R. & Katzenbach, C. (2020). Algorithmic content moderation: Technical and political challenges in the automation of platform governance. _Big Data & Society_, 7(1). - He, H., Peng, N. & Liang, P. (2019). Pun generation with surprise. _NAACL-HLT_. - Hossain, N., Krumm, J. & Gamon, M. (2019). \"President Vows to Cut \\<Taxes\\> Hair\": Dataset and analysis of creative text editing for humorous headlines. _NAACL-HLT_. - Hossain, N., Krumm, J., Gamon, M. & Kautz, H. (2020). SemEval-2020 Task 7: Assessing humor in edited news headlines. _SemEval_. - Hurley, M. M., Dennett, D. C. & Adams, R. B. (2011). _Inside Jokes: Using Humor to Reverse-Engineer the Mind_. MIT Press. - Kao, J. T., Levy, R. & Goodman, N. D. (2016). A computational model of linguistic humor in puns. _Cognitive Science_, 40(5), 1270–1285. - Koestler, A. (1964). _The Act of Creation_. Hutchinson & Co. - Krippendorff, K. (2011). Computing Krippendorff's alpha-reliability. _Annenberg School for Communication Departmental Papers_. - Luo, F., et al. (2019). Pun-GAN: Generative adversarial network for pun generation. _EMNLP_. - Martin, R. A. (2007). _The Psychology of Humor: An Integrative Approach_. Elsevier Academic Press. - McGraw, A. P. & Warren, C. (2010). Benign violations: Making immoral behavior funny. _Psychological Science_, 21(8), 1141–1149. - Mihalcea, R. & Strapparava, C. (2005). Making computers laugh: Investigations in automatic humor recognition. _HLT/EMNLP_. - Mikolov, T., et al. (2013). Efficient estimation of word representations in vector space. _arXiv:1301.3781_. - Oring, E. (2003). _Engaging Humor_. University of Illinois Press. - Pereira, F. C., et al. (2019). Computational creativity and bisociative concept blending. _Cognitive Computation_. - Petrović, S. & Matthews, D. (2013). Unsupervised joke generation from big data. _ACL_. - Radford, A., et al. (2021). Learning transferable visual models from natural language supervision. _ICML_. - Raskin, V. (1985). _Semantic Mechanisms of Humor_. D. Reidel Publishing. - Reimers, N. & Gurevych, I. (2019). Sentence-BERT: Sentence embeddings using Siamese BERT-networks. _EMNLP_. - Ritchie, G. (2004). _The Linguistic Analysis of Jokes_. Routledge. - Serra, O. (2026a). Total Recall: Event-Navigated Graded Retrieval & Archival Memory. _Technical Report, OpenClaw_. - Serra, O. (2026b). Identity Persistence: Persona-Aware Context Engineering for Persistent AI Identity. _Technical Report, OpenClaw_.",
   "marked": "- Aggarwal, C. C., Hinneburg, A. & Keim, D. A. (2001). On the surprising behavior of distance metrics in high dimensional space. [-*ICDT*.-] {+_ICDT_.+} - Amin, M. & Burghardt, M. (2020). A survey on approaches to computational humor generation. [-*Proceedings-] {+_Proceedings+} of the International Conference on Computational Creativity [-(ICCC)*.-] {+(ICCC)_.+} - Attardo, S. & Raskin, V. (1991). Script theory revis(it)ed: Joke similarity and joke representation model. [-*Humor:-] {+_Humor:+} International Journal of Humor [-Research*,-] {+Research_,+} 4(3–4), 293–347. - Baker, C. F., Fillmore, C. J. & Lowe, J. B. (1998). The Berkeley FrameNet project. [-*COLING-ACL*.-] {+_COLING-ACL_.+} - Bertero, D. & Fung, P. (2016). A long short-term memory framework for predicting humor in dialogues. [-*NAACL-HLT*.-] {+_NAACL-HLT_.+} - Binsted, K. & Ritchie, G. (1994). An implemented model of punning riddles. [-*AAAI*.-] {+_AAAI_.+} - Bowdle, B. F. & Gentner, D. (2005). The career of metaphor. [-*Psychological Review*,-] {+_Psychological Review_,+} 112(1), 193–216. - Chen, P.-Y. & Soo, V.-W. (2018). Humor recognition using deep learning. [-*NAACL-HLT*.-] {+_NAACL-HLT_.+} - Coulson, S. (2001). [-*Semantic-] {+_Semantic+} Leaps: Frame-Shifting and Conceptual Blending in Meaning [-Construction*.-] {+Construction_.+} Cambridge University Press. - Dubitzky, W., Kötter, T., Schmidt, O. & Berthold, M. R. (2012). Towards creative information exploration based on Koestler's concept of bisociation. [-*Bisociative-] {+_Bisociative+} Knowledge [-Discovery*.-] {+Discovery_.+} Springer. - Dynel, M. (2009). Beyond a joke: Types of conversational humour. [-*Language-] {+_Language+} and Linguistics [-Compass*,-] {+Compass_,+} 3(5), 1284–1299. - Flamson, T. & Barrett, H. C. (2008). The encryption theory of humor: A knowledge-based mechanism of honest signaling. [-*Journal-] {+_Journal+} of Evolutionary [-Psychology*,-] {+Psychology_,+} 6(4), 261–281. - Glucksberg, S. (2001). [-*Understanding-] {+_Understanding+} Figurative Language: From Metaphors to [-Idioms*.-] {+Idioms_.+} Oxford University Press. - Gorwa, R., Binns, R. & Katzenbach, C. (2020). Algorithmic content moderation: Technical and political challenges in the automation of platform governance. [-*Big-] {+_Big+} Data & [-Society*,-] {+Society_,+} 7(1). - He, H., Peng, N. & Liang, P. (2019). Pun generation with surprise. [-*NAACL-HLT*.-] {+_NAACL-HLT_.+} - Hossain, N., Krumm, J. & Gamon, M. (2019). \"President Vows to Cut \\<Taxes\\> Hair\": Dataset and analysis of creative text editing for humorous headlines. [-*NAACL-HLT*.-] {+_NAACL-HLT_.+} - Hossain, N., Krumm, J., Gamon, M. & Kautz, H. (2020). SemEval-2020 Task 7: Assessing humor in edited news headlines. [-*SemEval*.-] {+_SemEval_.+} - Hurley, M. M., Dennett, D. C. & Adams, R. B. (2011). [-*Inside-] {+_Inside+} Jokes: Using Humor to Reverse-Engineer the [-Mind*.-] {+Mind_.+} MIT Press. - Kao, J. T., Levy, R. & Goodman, N. D. (2016). A computational model of linguistic humor in puns. [-*Cognitive Science*,-] {+_Cognitive Science_,+} 40(5), 1270–1285. - Koestler, A. (1964). [-*The-] {+_The+} Act of [-Creation*.-] {+Creation_.+} Hutchinson & Co. - Krippendorff, K. (2011). Computing Krippendorff's alpha-reliability. [-*Annenberg-] {+_Annenberg+} School for Communication Departmental [-Papers*.-] {+Papers_.+} - Luo, F., et al. (2019). Pun-GAN: Generative adversarial network for pun generation. [-*EMNLP*.-] {+_EMNLP_.+} - Martin, R. A. (2007). [-*The-] {+_The+} Psychology of Humor: An Integrative [-Approach*.-] {+Approach_.+} Elsevier Academic Press. - McGraw, A. P. & Warren, C. (2010). Benign violations: Making immoral behavior funny. [-*Psychological Science*,-] {+_Psychological Science_,+} 21(8), 1141–1149. - Mihalcea, R. & Strapparava, C. (2005). Making computers laugh: Investigations in automatic humor recognition. [-*HLT/EMNLP*.-] {+_HLT/EMNLP_.+} - Mikolov, T., et al. (2013). Efficient estimation of word representations in vector space. [-*arXiv:1301.3781*.-] {+_arXiv:1301.3781_.+} - Oring, E. (2003). [-*Engaging Humor*.-] {+_Engaging Humor_.+} University of Illinois Press. - Pereira, F. C., et al. (2019). Computational creativity and bisociative concept blending. [-*Cognitive Computation*.-] {+_Cognitive Computation_.+} - Petrović, S. & Matthews, D. (2013). Unsupervised joke generation from big data. [-*ACL*.-] {+_ACL_. - Radford, A., et al. (2021). Learning transferable visual models from natural language supervision. _ICML_.+} - Raskin, V. (1985). [-*Semantic-] {+_Semantic+} Mechanisms of [-Humor*.-] {+Humor_.+} D. Reidel Publishing. - Reimers, N. & Gurevych, I. (2019). Sentence-BERT: Sentence embeddings using Siamese BERT-networks. [-*EMNLP*.-] {+_EMNLP_.+} - Ritchie, G. (2004). [-*The-] {+_The+} Linguistic Analysis of [-Jokes*.-] {+Jokes_.+} Routledge. - Serra, O. (2026a). [-ENGRAM:-] {+Total Recall:+} Event-Navigated Graded Retrieval & Archival Memory. [-*Technical-] {+_Technical+} Report, [-OpenClaw*.-] {+OpenClaw_.+} - Serra, O. (2026b). [-CORTEX:-] {+Identity Persistence:+} Persona-Aware Context Engineering for Persistent AI Identity. [-*Technical-] {+_Technical+} Report, [-OpenClaw*. - Serra, O. (2026c). SYNAPSE: Synthesized Negotiation Across Provider-Specific Engines. *Technical Report, OpenClaw*. - Stock, O. & Strapparava, C. (2003). HAHAcronym: Humorous agents for humorous acronyms. *Humor*, 16(3), 297–314. - Suls, J. M. (1972). A two-stage model for the appreciation of jokes and cartoons: An information-processing analysis. In J. H. Goldstein & P. E. McGhee (Eds.), *The Psychology of Humor*. Academic Press. - Tian, Y., et al. (2022). A survey on humor recognition: Methods, challenges, and resources. *ACM Computing Surveys*. - Veale, T. (2016). *The Shape of Wit: Computational Models of Creative Metaphor*. Springer. - Vershynin, R. (2018). *High-Dimensional Probability*. Cambridge University Press. - Vrticka, P., Black, J. M. & Reiss, A. L. (2013). The neural basis of humour processing. *Nature Reviews Neuroscience*, 14(12), 860–868. - Warren, C. & McGraw, A. P. (2016). Differentiating what is humorous from what is not. *Journal of Personality and Social Psychology*, 110(3), 407–430. - Weller, O. & Seppi, K. (2019). Humor detection: A transformer gets the last laugh. *EMNLP*. - West, R. & Horvitz, E. (2019). Reverse-engineering satire, or \"Paper on computational humor accepted despite making conditions for rejection\". *AAAI*. - Winters, T., Nys, V. & De Schreye, D. (2021). Computers learning humor. *Proceedings of the International Conference on Computational Creativity (ICCC)*. - Yang, D., et al. (2015). Humor recognition and humor anchor extraction. *EMNLP*. - Yu, Z., et al. (2018). A neural approach to pun generation. *ACL*.-] {+OpenClaw_.+}"
  },
  {
   "section": "References",
   "old": null,
   "new": "- Stock, O. & Strapparava, C. (2003). HAHAcronym: Humorous agents for humorous acronyms. _Humor_, 16(3), 297–314. - Suls, J. M. (1972). A two-stage model for the appreciation of jokes and cartoons: An information-processing analysis. In J. H. Goldstein & P. E. McGhee (Eds.), _The Psychology of Humor_. Academic Press. - Tian, Y., et al. (2022). A survey on humor recognition: Methods, challenges, and resources. _ACM Computing Surveys_. - Veale, T. (2016). _The Shape of Wit: Computational Models of Creative Metaphor_. Springer. - Vershynin, R. (2018). _High-Dimensional Probability_. Cambridge University Press. - Vrticka, P., Black, J. M. & Reiss, A. L. (2013). The neural basis of humour processing. _Nature Reviews Neuroscience_, 14(12), 860–868. - Warren, C. & McGraw, A. P. (2016). Differentiating what is humorous from what is not. _Journal of Personality and Social Psychology_, 110(3), 407–430. - Weller, O. & Seppi, K. (2019). Humor detection: A transformer gets the last laugh. _EMNLP_. - West, R. & Horvitz, E. (2019). Reverse-engineering satire, or \"Paper on computational humor accepted despite making conditions for rejection\". _AAAI_. - Winters, T., Nys, V. & De Schreye, D. (2021). Computers learning humor. _Proceedings of the International Conference on Computational Creativity (ICCC)_. - Yang, D., et al. (2015). Humor recognition and humor anchor extraction. _EMNLP_. - Yu, Z., et al. (2018). A neural approach to pun generation. _ACL_.",
   "marked": "{+- Stock, O. & Strapparava, C. (2003). HAHAcronym: Humorous agents for humorous acronyms. _Humor_, 16(3), 297–314. - Suls, J. M. (1972). A two-stage model for the appreciation of jokes and cartoons: An information-processing analysis. In J. H. Goldstein & P. E. McGhee (Eds.), _The Psychology of Humor_. Academic Press. - Tian, Y., et al. (2022). A survey on humor recognition: Methods, challenges, and resources. _ACM Computing Surveys_. - Veale, T. (2016). _The Shape of Wit: Computational Models of Creative Metaphor_. Springer. - Vershynin, R. (2018). _High-Dimensional Probability_. Cambridge University Press. - Vrticka, P., Black, J. M. & Reiss, A. L. (2013). The neural basis of humour processing. _Nature Reviews Neuroscience_, 14(12), 860–868. - Warren, C. & McGraw, A. P. (2016). Differentiating what is humorous from what is not. _Journal of Personality and Social Psychology_, 110(3), 407–430. - Weller, O. & Seppi, K. (2019). Humor detection: A transformer gets the last laugh. _EMNLP_. - West, R. & Horvitz, E. (2019). Reverse-engineering satire, or \"Paper on computational humor accepted despite making conditions for rejection\". _AAAI_. - Winters, T., Nys, V. & De Schreye, D. (2021). Computers learning humor. _Proceedings of the International Conference on Computational Creativity (ICCC)_. - Yang, D., et al. (2015). Humor recognition and humor anchor extraction. _EMNLP_. - Yu, Z., et al. (2018). A neural approach to pun generation. _ACL_.+}"
  }
 ]
}
