{
 "paper": "humor-embeddings",
 "a": "4.4",
 "b": "4.5",
 "summary": "From v4.4 (2 Jun) to v4.5 (2 Jun): 12,343 words to 13,359 words, 1,279 words in new or rewritten paragraphs and 263 taken out, 28 paragraphs changed.",
 "note": {
  "title": "Stands alone: companion systems described as generic layers",
  "kind": "revision",
  "body": "## Summary\n\nThe paper no longer depends on the author's other papers. Named companion systems and their self-citations are replaced by generic memory and persona layers that the framework assumes exist. The architecture and humor-zone figures are redrawn as diagrams inside the paper, and the bridge-search section grows.\n\n- References shrink as the self-citations go.\n- The memory sections describe a generic append-only event store.",
  "source": "change note"
 },
 "paragraphs_changed": 28,
 "changes": [
  {
   "section": "Abstract",
   "old": "We present a formal computational framework for humor generation that operationalizes Koestler's (1964) bisociation theory as geometry in vector embedding spaces. The central claim is that humor and memory retrieval are dual operations on the same semantic machinery: memory retrieves what lies nearest to a query; humor searches for what lies at the right distance and can still be joined by an unexpectedly valid bridge. We formalize this *memory-humor correspondence* and define a computable humor potential function $h(A, B, \\beta)$ grounded in Suls' (1972) two-stage incongruity-resolution model. We identify 12 humor-generating semantic patterns organized into five meta-categories, each defined as a specific embedding-space operation, and propose humor associations as a first-class relationship type in agent memory architectures. A preliminary computational pilot ($n = 15$ concept triplets) falsifies the initial formulation, revealing that naive coherence conflates semantic proximity with comedic validity. This negative result motivates a revised surprise-weighted formulation ($h_{\\text{v2}}$) that decomposes bridge quality into independent validity and surprise components. We situate the framework within Attardo and Raskin's (1991) General Theory of Verbal Humor, McGraw and Warren's (2010) Benign Violation Theory, and Hurley, Dennett, and Adams' (2011) computational account of humor. We provide reproducible experimental protocols with power analysis ($N \\geq 64$ raters, $\\alpha = 0.05$, power $= 0.80$) for validation against human ratings. The framework is the affective layer of a larger agent architecture: it draws its concept neighborhoods from an episodic-retrieval system (HIPPOCAMPUS) and is gated by a persona layer (CORTEX) that decides when humor is appropriate—the computational counterpart of the limbic reward circuit that makes humor feel good in humans.",
   "new": "We present a formal computational framework for humor generation that operationalizes Koestler's (1964) bisociation theory as geometry in vector embedding spaces. The central claim is that humor and memory retrieval are dual operations on the same semantic machinery: memory retrieves what lies nearest to a query; humor searches for what lies at the right distance and can still be joined by an unexpectedly valid bridge. We formalize this *memory-humor correspondence* and define a computable humor potential function $h(A, B, \\beta)$ grounded in Suls' (1972) two-stage incongruity-resolution model. We identify 12 humor-generating semantic patterns organized into five meta-categories, each defined as a specific embedding-space operation, and propose humor associations as a first-class relationship type in agent memory architectures. A preliminary computational pilot ($n = 15$ concept triplets) falsifies the initial formulation, revealing that naive coherence conflates semantic proximity with comedic validity. This negative result motivates a revised surprise-weighted formulation ($h_{\\text{v2}}$) that decomposes bridge quality into independent validity and surprise components. We situate the framework within Attardo and Raskin's (1991) General Theory of Verbal Humor, McGraw and Warren's (2010) Benign Violation Theory, and Hurley, Dennett, and Adams' (2011) computational account of humor. We provide reproducible experimental protocols with power analysis ($N \\geq 64$ raters, $\\alpha = 0.05$, power $= 0.80$) for validation against human ratings. The framework is designed as the affective layer of a larger agent architecture: it draws its concept neighborhoods from a semantic-memory index and is gated by a persona layer that decides when humor is appropriate—the computational counterpart of the limbic reward circuit that makes humor feel good in humans.",
   "marked": "We present a formal computational framework for humor generation that operationalizes Koestler's (1964) bisociation theory as geometry in vector embedding spaces. The central claim is that humor and memory retrieval are dual operations on the same semantic machinery: memory retrieves what lies nearest to a query; humor searches for what lies at the right distance and can still be joined by an unexpectedly valid bridge. We formalize this *memory-humor correspondence* and define a computable humor potential function $h(A, B, \\beta)$ grounded in Suls' (1972) two-stage incongruity-resolution model. We identify 12 humor-generating semantic patterns organized into five meta-categories, each defined as a specific embedding-space operation, and propose humor associations as a first-class relationship type in agent memory architectures. A preliminary computational pilot ($n = 15$ concept triplets) falsifies the initial formulation, revealing that naive coherence conflates semantic proximity with comedic validity. This negative result motivates a revised surprise-weighted formulation ($h_{\\text{v2}}$) that decomposes bridge quality into independent validity and surprise components. We situate the framework within Attardo and Raskin's (1991) General Theory of Verbal Humor, McGraw and Warren's (2010) Benign Violation Theory, and Hurley, Dennett, and Adams' (2011) computational account of humor. We provide reproducible experimental protocols with power analysis ($N \\geq 64$ raters, $\\alpha = 0.05$, power $= 0.80$) for validation against human ratings. The framework is {+designed as+} the affective layer of a larger agent architecture: it draws its concept neighborhoods from [-an episodic-retrieval system (HIPPOCAMPUS)-] {+a semantic-memory index+} and is gated by a persona layer [-(CORTEX)-] that decides when humor is appropriate—the computational counterpart of the limbic reward circuit that makes humor feel good in humans."
  },
  {
   "section": "1.2 The Memory-Humor Correspondence",
   "old": "This reuse is not only conceptual. A companion retrieval system clusters memories by topic using anchor keywords (HIPPOCAMPUS, Serra 2026c). During humor generation, those clusters serve as the *concept neighborhoods* in which the search runs: the bridge-discovery algorithms (Section 6) look for connections between distant clusters, and the retrieval index supplies the raw material—candidate concepts and their embeddings—for those connections. Humor, on this view, is a second read pattern over a memory index that already exists.",
   "new": "This reuse is not only conceptual. We assume the agent already maintains a semantic-memory index that clusters stored concepts by topic—a structure any embedding-based retrieval system provides, in which related memories sit in a shared neighborhood and the index answers nearest-neighbor queries. During humor generation, those clusters serve as the *concept neighborhoods* in which the search runs: the bridge-discovery algorithms (Section 6) look for connections between distant clusters, and the retrieval index supplies the raw material—candidate concepts and their embeddings—for those connections. Humor, on this view, is a second read pattern over a memory index that already exists.",
   "marked": "This reuse is not only conceptual. [-A companion-] {+We assume the agent already maintains a semantic-memory index that clusters stored concepts by topic—a structure any embedding-based+} retrieval system [-clusters-] {+provides, in which related+} memories [-by topic using anchor keywords (HIPPOCAMPUS, Serra 2026c).-] {+sit in a shared neighborhood and the index answers nearest-neighbor queries.+} During humor generation, those clusters serve as the *concept neighborhoods* in which the search runs: the bridge-discovery algorithms (Section 6) look for connections between distant clusters, and the retrieval index supplies the raw material—candidate concepts and their embeddings—for those connections. Humor, on this view, is a second read pattern over a memory index that already exists."
  },
  {
   "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 Total Recall 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—stored alongside semantic and belief-discrepancy relations in an append-only event store—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 Total Recall substrate; Serra, 2026a), enabling-] {+architectures—stored alongside semantic and belief-discrepancy relations in an append-only event store—enabling+} personalized humor calibration through reinforcement."
  },
  {
   "section": "1.6 Architecture Context",
   "old": "This framework does not stand alone; it is the affective layer of a larger agent architecture, and its inputs and gating both come from other subsystems. Two connections matter throughout the paper. First, the concept neighborhoods that humor searches over are supplied by an episodic-retrieval system that clusters memories by topic using anchor keywords (HIPPOCAMPUS, Serra 2026c): those clusters are the raw material from which bridges between distant ideas are drawn. Second, whether a joke is attempted at all is decided not here but by a persona layer (CORTEX, Serra 2026b), which sets a context flag for whether humor is welcome before this framework is ever consulted. The humor potential function assumes humor is already permitted; the decision to permit it lives elsewhere. Together the three layers map onto a familiar division of labor in the human brain: a memory system that supplies associations, a control system that judges social appropriateness, and a reward circuit—the role this framework plays—that registers a surprising-but-coherent connection as funny.",
   "new": "This framework is designed not to stand alone but as the affective layer of a larger agent architecture, with its inputs and gating supplied by two surrounding subsystems we assume exist. Two connections matter throughout the paper. First, the concept neighborhoods that humor searches over are supplied by a semantic-memory layer that clusters stored concepts by topic: those clusters are the raw material from which bridges between distant ideas are drawn. Second, whether a joke is attempted at all is decided not here but by a persona layer—a context model that sets a flag for whether humor is welcome before this framework is ever consulted. The humor potential function assumes humor is already permitted; the decision to permit it lives elsewhere. Together the three layers map onto a familiar division of labor in the human brain: a memory system that supplies associations, a control system that judges social appropriateness, and a reward circuit—the role this framework plays—that registers a surprising-but-coherent connection as funny.",
   "marked": "This framework [-does-] {+is designed+} not {+to+} stand [-alone; it is-] {+alone but as+} the affective layer of a larger agent architecture, [-and-] {+with+} its inputs and gating [-both come from other subsystems.-] {+supplied by two surrounding subsystems we assume exist.+} Two connections matter throughout the paper. First, the concept neighborhoods that humor searches over are supplied by [-an episodic-retrieval system-] {+a semantic-memory layer+} that clusters [-memories-] {+stored concepts+} by [-topic using anchor keywords (HIPPOCAMPUS, Serra 2026c):-] {+topic:+} those clusters are the raw material from which bridges between distant ideas are drawn. Second, whether a joke is attempted at all is decided not here but by a persona [-layer (CORTEX, Serra 2026b), which-] {+layer—a context model that+} sets a [-context-] flag for whether humor is welcome before this framework is ever consulted. The humor potential function assumes humor is already permitted; the decision to permit it lives elsewhere. Together the three layers map onto a familiar division of labor in the human brain: a memory system that supplies associations, a control system that judges social appropriateness, and a reward circuit—the role this framework plays—that registers a surprising-but-coherent connection as funny."
  },
  {
   "section": "1.6 Architecture Context",
   "old": "![The three-layer architecture. HIPPOCAMPUS supplies clustered concept neighborhoods; LIMBIC (this work) searches them for far-but-connected bridges and scores humor potential; CORTEX gates whether humor is attempted at all.](images/fig3-architecture.png){width=90%}",
   "new": null,
   "marked": "[-![The three-layer architecture. HIPPOCAMPUS supplies clustered concept neighborhoods; LIMBIC (this work) searches them for far-but-connected bridges and scores humor potential; CORTEX gates whether humor is attempted at all.](images/fig3-architecture.png){width=90%}-]"
  },
  {
   "section": "1.6 Architecture Context",
   "old": "_Figure 1: The agent architecture in which this framework operates. Retrieval (HIPPOCAMPUS) feeds candidate concepts to the humor layer (LIMBIC); persona gating (CORTEX) decides whether humor is attempted._",
   "new": null,
   "marked": "[-_Figure 1: The agent architecture in which this framework operates. Retrieval (HIPPOCAMPUS) feeds candidate concepts to the humor layer (LIMBIC); persona gating (CORTEX) decides whether humor is attempted._-]"
  },
  {
   "section": "1.6 Architecture Context",
   "old": null,
   "new": "```{=latex} \\begin{figure}[H] \\centering \\resizebox{\\linewidth}{!}{% \\begin{tikzpicture}[ font=\\sffamily\\small, layer/.style={rectangle, rounded corners=4pt, draw=jsBorder, line width=0.8pt, fill=jsSurface, minimum width=4.0cm, minimum height=2.0cm, align=center, inner sep=6pt}, flow/.style={-{Latex[length=2.5mm]}, line width=1pt, draw=jsAccent}, lbl/.style={font=\\sffamily\\scriptsize\\itshape, text=jsSection} ] \\node[layer, draw=jsSection] (mem) at (0,0) {\\textbf{\\textcolor{jsSection}{Memory layer}}\\\\[2pt]semantic-memory index\\\\clusters concepts by topic\\\\\\textcolor{jsSection}{\\scriptsize supplies concept neighborhoods}}; \\node[layer, draw=jsTitle] (hum) at (5.6,0) {\\textbf{\\textcolor{jsTitle}{Humor layer}} (this work)\\\\[2pt]searches for far-but-\\\\connected bridges;\\\\scores humor potential}; \\node[layer, draw=jsAccent] (per) at (11.2,0) {\\textbf{\\textcolor{jsAccent}{Persona layer}}\\\\[2pt]context model gates\\\\whether humor is\\\\attempted at all}; \\draw[flow] (mem.east) -- node[lbl, above]{candidate concepts} (hum.west); \\draw[flow, draw=jsAccent] (per.south) .. controls +(0,-1.4) and +(0,-1.4) .. node[lbl, below]{\\,humor-enabled flag\\,} (hum.south); \\node[align=center, font=\\sffamily\\scriptsize, text=gray] at (5.6,-2.9) {brain analogue: association store $\\;\\to\\;$ reward circuit $\\;\\gets\\;$ control / appropriateness}; \\end{tikzpicture}% } \\caption{The agent architecture in which this framework operates. The memory layer feeds candidate concepts to the humor layer; the persona layer sets a flag deciding whether humor is attempted.} \\end{figure} ```",
   "marked": "{+```{=latex} \\begin{figure}[H] \\centering \\resizebox{\\linewidth}{!}{% \\begin{tikzpicture}[ font=\\sffamily\\small, layer/.style={rectangle, rounded corners=4pt, draw=jsBorder, line width=0.8pt, fill=jsSurface, minimum width=4.0cm, minimum height=2.0cm, align=center, inner sep=6pt}, flow/.style={-{Latex[length=2.5mm]}, line width=1pt, draw=jsAccent}, lbl/.style={font=\\sffamily\\scriptsize\\itshape, text=jsSection} ] \\node[layer, draw=jsSection] (mem) at (0,0) {\\textbf{\\textcolor{jsSection}{Memory layer}}\\\\[2pt]semantic-memory index\\\\clusters concepts by topic\\\\\\textcolor{jsSection}{\\scriptsize supplies concept neighborhoods}}; \\node[layer, draw=jsTitle] (hum) at (5.6,0) {\\textbf{\\textcolor{jsTitle}{Humor layer}} (this work)\\\\[2pt]searches for far-but-\\\\connected bridges;\\\\scores humor potential}; \\node[layer, draw=jsAccent] (per) at (11.2,0) {\\textbf{\\textcolor{jsAccent}{Persona layer}}\\\\[2pt]context model gates\\\\whether humor is\\\\attempted at all}; \\draw[flow] (mem.east) -- node[lbl, above]{candidate concepts} (hum.west); \\draw[flow, draw=jsAccent] (per.south) .. controls +(0,-1.4) and +(0,-1.4) .. node[lbl, below]{\\,humor-enabled flag\\,} (hum.south); \\node[align=center, font=\\sffamily\\scriptsize, text=gray] at (5.6,-2.9) {brain analogue: association store $\\;\\to\\;$ reward circuit $\\;\\gets\\;$ control / appropriateness}; \\end{tikzpicture}% } \\caption{The agent architecture in which this framework operates. The memory layer feeds candidate concepts to the humor layer; the persona layer sets a flag deciding whether humor is attempted.} \\end{figure} ```+}"
  },
  {
   "section": "3.4 Extended Formulation with Audience and Timing",
   "old": "**Context gating.** Familiarity governs whether the audience *can* parse a joke; a separate decision governs whether a joke is *appropriate at all*. A good comedian reads the room—the same joke that kills at a comedy club bombs at a funeral. The humor potential function does not make that judgment; it presumes humor is already welcome. In an agent, the judgment is delegated to the persona layer (CORTEX, Serra 2026b): the agent's persona state determines whether humor is contextually appropriate. A persona configured for empathetic support suppresses humor during serious conversations, while one configured for casual banter enables it. CORTEX sets `humor_enabled` for the context; LIMBIC supplies the humor only when it is true. This gating prevents tone-deaf jokes, and it is distinct from the sensitivity gate of Section 5, which screens the *content* of a joke once humor is permitted rather than deciding *whether* to be funny.",
   "new": "**Context gating.** Familiarity governs whether the audience *can* parse a joke; a separate decision governs whether a joke is *appropriate at all*. A good comedian reads the room—the same joke that kills at a comedy club bombs at a funeral. The humor potential function does not make that judgment; it presumes humor is already welcome. In an agent, the judgment is delegated to a persona layer: the agent's persona state determines whether humor is contextually appropriate. A persona configured for empathetic support suppresses humor during serious conversations, while one configured for casual banter enables it. The persona layer sets a `humor_enabled` flag for the context; the framework supplies humor only when that flag is true. This gating prevents tone-deaf jokes, and it is distinct from the sensitivity gate of Section 5, which screens the *content* of a joke once humor is permitted rather than deciding *whether* to be funny.",
   "marked": "**Context gating.** Familiarity governs whether the audience *can* parse a joke; a separate decision governs whether a joke is *appropriate at all*. A good comedian reads the room—the same joke that kills at a comedy club bombs at a funeral. The humor potential function does not make that judgment; it presumes humor is already welcome. In an agent, the judgment is delegated to [-the-] {+a+} persona [-layer (CORTEX, Serra 2026b):-] {+layer:+} the agent's persona state determines whether humor is contextually appropriate. A persona configured for empathetic support suppresses humor during serious conversations, while one configured for casual banter enables it. [-CORTEX-] {+The persona layer+} sets {+a+} `humor_enabled` {+flag+} for the context; [-LIMBIC-] {+the framework+} supplies [-the-] humor only when [-it-] {+that flag+} is true. This gating prevents tone-deaf jokes, and it is distinct from the sensitivity gate of Section 5, which screens the *content* of a joke once humor is permitted rather than deciding *whether* to be funny."
  },
  {
   "section": "3.7 The Humor Zone",
   "old": "![Humor potential in embedding space: a far-but-connected funny triplet (top) versus a close, obvious unfunny triplet (bottom).](images/fig1-humor-zone.png){width=85%}",
   "new": null,
   "marked": "[-![Humor potential in embedding space: a far-but-connected funny triplet (top) versus a close, obvious unfunny triplet (bottom).](images/fig1-humor-zone.png){width=85%}-]"
  },
  {
   "section": "3.7 The Humor Zone",
   "old": "_Figure 2: 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.\\_",
   "new": null,
   "marked": "[-_Figure 2: 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": "3.7 The Humor Zone",
   "old": null,
   "new": "```{=latex} \\begin{figure}[H] \\centering \\resizebox{0.92\\linewidth}{!}{% \\begin{tikzpicture}[ font=\\sffamily\\small, cpt/.style={circle, draw=jsBorder, line width=0.8pt, fill=jsSurface, minimum size=1.5cm, align=center, inner sep=1pt}, br/.style={rectangle, rounded corners=3pt, draw=jsAccent, line width=0.8pt, fill=jsSurface, align=center, inner sep=4pt, font=\\sffamily\\scriptsize}, link/.style={dash pattern=on 2pt off 1.5pt, draw=jsBorder, line width=0.7pt}, vlink/.style={draw=jsAccent, line width=0.9pt} ] % --- FUNNY (top) --- \\node[font=\\sffamily\\bfseries, text=jsSection] at (-3.6,1.4) {Funny: far + surprising bridge}; \\node[cpt, draw=jsTitle] (A1) at (0,1) {concept\\\\$A$}; \\node[cpt, draw=jsTitle] (B1) at (6,1) {concept\\\\$B$}; \\node[br] (br1) at (3,2.5) {bridge\\\\valid {\\&} surprising}; \\draw[link] (A1) -- node[font=\\sffamily\\scriptsize, text=jsTitle, below]{high distance} (B1); \\draw[vlink] (A1) -- (br1); \\draw[vlink] (B1) -- (br1); \\node[font=\\sffamily\\scriptsize, text=jsSection] at (8.8,1.7) {high humor};",
   "marked": "{+```{=latex} \\begin{figure}[H] \\centering \\resizebox{0.92\\linewidth}{!}{% \\begin{tikzpicture}[ font=\\sffamily\\small, cpt/.style={circle, draw=jsBorder, line width=0.8pt, fill=jsSurface, minimum size=1.5cm, align=center, inner sep=1pt}, br/.style={rectangle, rounded corners=3pt, draw=jsAccent, line width=0.8pt, fill=jsSurface, align=center, inner sep=4pt, font=\\sffamily\\scriptsize}, link/.style={dash pattern=on 2pt off 1.5pt, draw=jsBorder, line width=0.7pt}, vlink/.style={draw=jsAccent, line width=0.9pt} ] % --- FUNNY (top) --- \\node[font=\\sffamily\\bfseries, text=jsSection] at (-3.6,1.4) {Funny: far + surprising bridge}; \\node[cpt, draw=jsTitle] (A1) at (0,1) {concept\\\\$A$}; \\node[cpt, draw=jsTitle] (B1) at (6,1) {concept\\\\$B$}; \\node[br] (br1) at (3,2.5) {bridge\\\\valid {\\&} surprising}; \\draw[link] (A1) -- node[font=\\sffamily\\scriptsize, text=jsTitle, below]{high distance} (B1); \\draw[vlink] (A1) -- (br1); \\draw[vlink] (B1) -- (br1); \\node[font=\\sffamily\\scriptsize, text=jsSection] at (8.8,1.7) {high humor};+}"
  },
  {
   "section": "3.7 The Humor Zone",
   "old": null,
   "new": "% --- UNFUNNY (bottom) --- \\node[font=\\sffamily\\bfseries, text=jsSection] at (-3.6,-2.0) {Unfunny: close + obvious bridge}; \\node[cpt, draw=gray] (A2) at (2.2,-2.4) {concept\\\\$A$}; \\node[cpt, draw=gray] (B2) at (3.8,-2.4) {concept\\\\$B$}; \\node[br, draw=gray] (br2) at (3,-1.2) {bridge\\\\obvious}; \\draw[link] (A2) -- node[font=\\sffamily\\scriptsize, text=gray, below]{low distance} (B2); \\draw[vlink, draw=gray] (A2) -- (br2); \\draw[vlink, draw=gray] (B2) -- (br2); \\node[font=\\sffamily\\scriptsize, text=gray] at (8.8,-1.6) {low humor}; \\end{tikzpicture}% } \\caption{Humor potential in embedding space. A naive score that multiplies distance by raw bridge coherence ranks the close, obvious pair higher. A revised score separates bridge validity from bridge surprise: the surprise term penalizes obvious bridges and rewards unexpected ones, producing a large ratio in favor of the far-but-connected funny triplet.} \\end{figure} ```",
   "marked": "{+% --- UNFUNNY (bottom) --- \\node[font=\\sffamily\\bfseries, text=jsSection] at (-3.6,-2.0) {Unfunny: close + obvious bridge}; \\node[cpt, draw=gray] (A2) at (2.2,-2.4) {concept\\\\$A$}; \\node[cpt, draw=gray] (B2) at (3.8,-2.4) {concept\\\\$B$}; \\node[br, draw=gray] (br2) at (3,-1.2) {bridge\\\\obvious}; \\draw[link] (A2) -- node[font=\\sffamily\\scriptsize, text=gray, below]{low distance} (B2); \\draw[vlink, draw=gray] (A2) -- (br2); \\draw[vlink, draw=gray] (B2) -- (br2); \\node[font=\\sffamily\\scriptsize, text=gray] at (8.8,-1.6) {low humor}; \\end{tikzpicture}% } \\caption{Humor potential in embedding space. A naive score that multiplies distance by raw bridge coherence ranks the close, obvious pair higher. A revised score separates bridge validity from bridge surprise: the surprise term penalizes obvious bridges and rewards unexpected ones, producing a large ratio in favor of the far-but-connected funny triplet.} \\end{figure} ```+}"
  },
  {
   "section": "3.7 The Humor Zone",
   "old": "![A UMAP projection of concept embeddings. The funny pair (meeting, hostage) occupies two distant clusters joined by an off-axis bridge; the unfunny pair (cat, kitten) sits inside a single cluster with an on-axis bridge.](images/fig2-embedding-geometry.pdf){width=85%}",
   "new": null,
   "marked": "[-![A UMAP projection of concept embeddings. The funny pair (meeting, hostage) occupies two distant clusters joined by an off-axis bridge; the unfunny pair (cat, kitten) sits inside a single cluster with an on-axis bridge.](images/fig2-embedding-geometry.pdf){width=85%}-]"
  },
  {
   "section": "3.7 The Humor Zone",
   "old": "_Figure 3: Two-dimensional UMAP projection illustrating the distance sweet spot. Far-but-connected pairs generate humor; near-and-obvious pairs do not._",
   "new": null,
   "marked": "[-_Figure 3: Two-dimensional UMAP projection illustrating the distance sweet spot. Far-but-connected pairs generate humor; near-and-obvious pairs do not._-]"
  },
  {
   "section": "3.7 The Humor Zone",
   "old": null,
   "new": "```{=latex} \\begin{figure}[H] \\centering \\resizebox{0.9\\linewidth}{!}{% \\begin{tikzpicture}[ font=\\sffamily\\small, clus/.style={ellipse, draw=jsBorder, line width=0.7pt, fill=jsSurface, minimum width=2.6cm, minimum height=1.8cm}, pt/.style={circle, fill=jsTitle, inner sep=1.7pt}, ptg/.style={circle, fill=gray, inner sep=1.7pt}, axis/.style={dash pattern=on 2pt off 2pt, draw=jsBorder, line width=0.7pt}, brl/.style={draw=jsAccent, line width=1pt} ] % distant clusters (funny) \\node[clus] (c1) at (0,0) {}; \\node[clus] (c2) at (8,0.6) {}; \\node[pt, label={[font=\\sffamily\\scriptsize, text=jsTitle]below:$A$}] (A) at (0.4,-0.2) {}; \\node[pt, label={[font=\\sffamily\\scriptsize, text=jsTitle]below:$B$}] (B) at (7.7,0.4) {}; \\fill[jsTitle] (-0.5,0.3) circle (1.7pt); \\fill[jsTitle] (0.1,0.5) circle (1.7pt); \\fill[jsTitle] (8.4,1.1) circle (1.7pt); \\fill[jsTitle] (8.5,0.1) circle (1.7pt); % off-axis bridge for funny pair \\node[circle, draw=jsAccent, fill=jsSurface, line width=0.9pt, inner sep=1.5pt, label={[font=\\sffamily\\scriptsize, text=jsAccent]above:off-axis bridge}] (br) at (4,2.4) {}; \\draw[axis] (A) -- node[font=\\sffamily\\scriptsize, text=jsTitle, below=1pt]{high distance (the leap)} (B); \\draw[brl] (A) .. controls +(1.5,1.6) and +(-1.5,0.4) .. (br); \\draw[brl] (B) .. controls +(-1.5,1.6) and +(1.5,0.4) .. (br);",
   "marked": "{+```{=latex} \\begin{figure}[H] \\centering \\resizebox{0.9\\linewidth}{!}{% \\begin{tikzpicture}[ font=\\sffamily\\small, clus/.style={ellipse, draw=jsBorder, line width=0.7pt, fill=jsSurface, minimum width=2.6cm, minimum height=1.8cm}, pt/.style={circle, fill=jsTitle, inner sep=1.7pt}, ptg/.style={circle, fill=gray, inner sep=1.7pt}, axis/.style={dash pattern=on 2pt off 2pt, draw=jsBorder, line width=0.7pt}, brl/.style={draw=jsAccent, line width=1pt} ] % distant clusters (funny) \\node[clus] (c1) at (0,0) {}; \\node[clus] (c2) at (8,0.6) {}; \\node[pt, label={[font=\\sffamily\\scriptsize, text=jsTitle]below:$A$}] (A) at (0.4,-0.2) {}; \\node[pt, label={[font=\\sffamily\\scriptsize, text=jsTitle]below:$B$}] (B) at (7.7,0.4) {}; \\fill[jsTitle] (-0.5,0.3) circle (1.7pt); \\fill[jsTitle] (0.1,0.5) circle (1.7pt); \\fill[jsTitle] (8.4,1.1) circle (1.7pt); \\fill[jsTitle] (8.5,0.1) circle (1.7pt); % off-axis bridge for funny pair \\node[circle, draw=jsAccent, fill=jsSurface, line width=0.9pt, inner sep=1.5pt, label={[font=\\sffamily\\scriptsize, text=jsAccent]above:off-axis bridge}] (br) at (4,2.4) {}; \\draw[axis] (A) -- node[font=\\sffamily\\scriptsize, text=jsTitle, below=1pt]{high distance (the leap)} (B); \\draw[brl] (A) .. controls +(1.5,1.6) and +(-1.5,0.4) .. (br); \\draw[brl] (B) .. controls +(-1.5,1.6) and +(1.5,0.4) .. (br);+}"
  },
  {
   "section": "3.7 The Humor Zone",
   "old": null,
   "new": "% single tight cluster (unfunny) \\node[clus, minimum width=2.0cm, minimum height=1.5cm] (c3) at (4,-2.6) {}; \\node[ptg, label={[font=\\sffamily\\scriptsize, text=gray]left:$A'$}] (A2) at (3.6,-2.6) {}; \\node[ptg, label={[font=\\sffamily\\scriptsize, text=gray]right:$B'$}] (B2) at (4.4,-2.6) {}; \\node[circle, draw=gray, fill=jsSurface, line width=0.8pt, inner sep=1.4pt, label={[font=\\sffamily\\scriptsize, text=gray]below:on-axis bridge}] (br2) at (4,-3.4) {}; \\draw[draw=gray, line width=0.8pt] (A2) -- (br2); \\draw[draw=gray, line width=0.8pt] (B2) -- (br2); \\node[font=\\sffamily\\scriptsize, text=gray] at (7,-2.6) {close + obvious}; \\end{tikzpicture}% } \\caption{A two-dimensional projection of concept embeddings illustrating the distance sweet spot. The funny pair sits in two distant clusters joined by a bridge that lies off the direct line between them; the unfunny pair sits inside one tight cluster with an on-axis bridge. Far-but-connected pairs generate humor; near-and-obvious pairs do not.} \\end{figure} ```",
   "marked": "{+% single tight cluster (unfunny) \\node[clus, minimum width=2.0cm, minimum height=1.5cm] (c3) at (4,-2.6) {}; \\node[ptg, label={[font=\\sffamily\\scriptsize, text=gray]left:$A'$}] (A2) at (3.6,-2.6) {}; \\node[ptg, label={[font=\\sffamily\\scriptsize, text=gray]right:$B'$}] (B2) at (4.4,-2.6) {}; \\node[circle, draw=gray, fill=jsSurface, line width=0.8pt, inner sep=1.4pt, label={[font=\\sffamily\\scriptsize, text=gray]below:on-axis bridge}] (br2) at (4,-3.4) {}; \\draw[draw=gray, line width=0.8pt] (A2) -- (br2); \\draw[draw=gray, line width=0.8pt] (B2) -- (br2); \\node[font=\\sffamily\\scriptsize, text=gray] at (7,-2.6) {close + obvious}; \\end{tikzpicture}% } \\caption{A two-dimensional projection of concept embeddings illustrating the distance sweet spot. The funny pair sits in two distant clusters joined by a bridge that lies off the direct line between them; the unfunny pair sits inside one tight cluster with an on-axis bridge. Far-but-connected pairs generate humor; near-and-obvious pairs do not.} \\end{figure} ```+}"
  },
  {
   "section": "6.7 Hybrid Pipeline",
   "old": "![Cascading bridge-discovery pipeline: three fast parallel discovery methods feed a candidate pool, gated for sensitivity, scored by $h_{\\text{v2}}$, with an LLM fallback when faster methods underperform.](images/fig2-hybrid-pipeline.pdf){width=85%}",
   "new": null,
   "marked": "[-![Cascading bridge-discovery pipeline: three fast parallel discovery methods feed a candidate pool, gated for sensitivity, scored by $h_{\\text{v2}}$, with an LLM fallback when faster methods underperform.](images/fig2-hybrid-pipeline.pdf){width=85%}-]"
  },
  {
   "section": "6.7 Hybrid Pipeline",
   "old": "_Figure 4: The hybrid bridge-discovery pipeline. Fast methods run in parallel; the LLM fallback activates only when no candidate clears the minimum bridge-quality threshold._",
   "new": null,
   "marked": "[-_Figure 4: The hybrid bridge-discovery pipeline. Fast methods run in parallel; the LLM fallback activates only when no candidate clears the minimum bridge-quality threshold._-]"
  },
  {
   "section": "6.7 Hybrid Pipeline",
   "old": null,
   "new": "```{=latex} \\begin{figure}[H] \\centering \\resizebox{\\linewidth}{!}{% \\begin{tikzpicture}[ font=\\sffamily\\small, box/.style={rectangle, rounded corners=3pt, draw=jsBorder, line width=0.8pt, fill=jsSurface, align=center, inner sep=5pt, minimum height=1.0cm, text width=2.4cm}, stage/.style={rectangle, rounded corners=3pt, draw=jsSection, line width=1pt, fill=jsSurface, align=center, inner sep=5pt, minimum height=1.0cm}, fb/.style={rectangle, rounded corners=3pt, draw=jsAccent, line width=0.9pt, fill=jsSurface, align=center, inner sep=5pt, text width=2.4cm}, flow/.style={-{Latex[length=2.2mm]}, line width=1pt, draw=jsAccent} ] \\node[box] (m1) at (0,1.7) {embedding\\\\arithmetic}; \\node[box] (m2) at (0,0) {orthogonal\\\\search}; \\node[box] (m3) at (0,-1.7) {pre-computed\\\\bridge index}; \\node[font=\\sffamily\\scriptsize\\itshape, text=jsSection] at (0,2.9) {fast methods (parallel)};",
   "marked": "{+```{=latex} \\begin{figure}[H] \\centering \\resizebox{\\linewidth}{!}{% \\begin{tikzpicture}[ font=\\sffamily\\small, box/.style={rectangle, rounded corners=3pt, draw=jsBorder, line width=0.8pt, fill=jsSurface, align=center, inner sep=5pt, minimum height=1.0cm, text width=2.4cm}, stage/.style={rectangle, rounded corners=3pt, draw=jsSection, line width=1pt, fill=jsSurface, align=center, inner sep=5pt, minimum height=1.0cm}, fb/.style={rectangle, rounded corners=3pt, draw=jsAccent, line width=0.9pt, fill=jsSurface, align=center, inner sep=5pt, text width=2.4cm}, flow/.style={-{Latex[length=2.2mm]}, line width=1pt, draw=jsAccent} ] \\node[box] (m1) at (0,1.7) {embedding\\\\arithmetic}; \\node[box] (m2) at (0,0) {orthogonal\\\\search}; \\node[box] (m3) at (0,-1.7) {pre-computed\\\\bridge index}; \\node[font=\\sffamily\\scriptsize\\itshape, text=jsSection] at (0,2.9) {fast methods (parallel)};+}"
  },
  {
   "section": "6.7 Hybrid Pipeline",
   "old": null,
   "new": "\\node[stage, text width=2.0cm] (pool) at (4.0,0) {candidate\\\\pool}; \\node[stage, text width=2.2cm] (gate) at (7.6,0) {sensitivity\\\\gate}; \\node[stage, text width=2.2cm] (score) at (11.0,0) {score by\\\\$h_{\\text{v2}}$}; \\node[stage, text width=2.0cm, draw=jsTitle] (rank) at (14.2,0) {rank\\\\top-$k$};",
   "marked": "{+\\node[stage, text width=2.0cm] (pool) at (4.0,0) {candidate\\\\pool}; \\node[stage, text width=2.2cm] (gate) at (7.6,0) {sensitivity\\\\gate}; \\node[stage, text width=2.2cm] (score) at (11.0,0) {score by\\\\$h_{\\text{v2}}$}; \\node[stage, text width=2.0cm, draw=jsTitle] (rank) at (14.2,0) {rank\\\\top-$k$};+}"
  },
  {
   "section": "6.7 Hybrid Pipeline",
   "old": null,
   "new": "\\foreach \\m in {m1,m2,m3} \\draw[flow] (\\m.east) -- (pool.west); \\draw[flow] (pool) -- (gate); \\draw[flow] (gate) -- node[font=\\sffamily\\scriptsize, above]{safe} (score); \\draw[flow] (score) -- (rank);",
   "marked": "{+\\foreach \\m in {m1,m2,m3} \\draw[flow] (\\m.east) -- (pool.west); \\draw[flow] (pool) -- (gate); \\draw[flow] (gate) -- node[font=\\sffamily\\scriptsize, above]{safe} (score); \\draw[flow] (score) -- (rank);+}"
  },
  {
   "section": "6.7 Hybrid Pipeline",
   "old": null,
   "new": "% fallback \\node[fb] (llm) at (7.6,-2.6) {LLM fallback\\\\(slow path)}; \\draw[flow, draw=jsAccent, dash pattern=on 3pt off 2pt] (score.south) .. controls +(0,-1.2) and +(2.2,0) .. node[font=\\sffamily\\scriptsize, text=jsAccent, below=2pt, pos=0.55]{no candidate clears $q_{\\min}$} (llm.east); \\draw[flow, draw=jsAccent, dash pattern=on 3pt off 2pt] (llm.west) .. controls +(-2.2,0) and +(0,-1.2) .. (pool.south); \\end{tikzpicture}% } \\caption{The hybrid bridge-discovery pipeline. Three fast methods run in parallel and feed a candidate pool; candidates pass a sensitivity gate, are scored, and ranked. The slower language-model fallback activates only when no candidate clears the minimum bridge-quality threshold.} \\end{figure} ```",
   "marked": "{+% fallback \\node[fb] (llm) at (7.6,-2.6) {LLM fallback\\\\(slow path)}; \\draw[flow, draw=jsAccent, dash pattern=on 3pt off 2pt] (score.south) .. controls +(0,-1.2) and +(2.2,0) .. node[font=\\sffamily\\scriptsize, text=jsAccent, below=2pt, pos=0.55]{no candidate clears $q_{\\min}$} (llm.east); \\draw[flow, draw=jsAccent, dash pattern=on 3pt off 2pt] (llm.west) .. controls +(-2.2,0) and +(0,-1.2) .. (pool.south); \\end{tikzpicture}% } \\caption{The hybrid bridge-discovery pipeline. Three fast methods run in parallel and feed a candidate pool; candidates pass a sensitivity gate, are scored, and ranked. The slower language-model fallback activates only when no candidate clears the minimum bridge-quality threshold.} \\end{figure} ```+}"
  },
  {
   "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 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}}$.",
   "new": "We propose that **humor associations should be a first-class relationship type** in agent memory, stored alongside semantic and belief-discrepancy relationships in an append-only event store—the kind of immutable, timestamped log that agent memory systems use to record observations and their later corrections. 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 Total Recall-] {+an append-only+} event [-store (Serra, 2026a).-] {+store—the kind of immutable, timestamped log that agent memory systems use to record observations and their later corrections.+} 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}}$."
  },
  {
   "section": "8.2 Relationship Types in Agent Memory",
   "old": "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.",
   "new": "Concretely, humor associations are stored as events in the append-only event store with typed metadata, and the persona layer manages humor style preferences as part of its persisted persona state.",
   "marked": "[-In the Total Recall architecture (Serra, 2026a),-] {+Concretely,+} humor associations are stored as events in the append-only event store with typed [-metadata. The Identity Persistence-] {+metadata, and the+} persona layer [-(Serra, 2026b)-] manages humor style preferences as part of [-the PersonaState.-] {+its persisted persona state.+}"
  },
  {
   "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$).\" The agent's overall humor style is managed by the Identity Persistence persona layer (Serra, 2026b).",
   "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 persona layer as part of its persisted persona state.",
   "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$).\" The agent's overall humor style is managed by the [-Identity Persistence-] persona layer [-(Serra, 2026b).-] {+as part of its persisted persona state.+}"
  },
  {
   "section": "8.7 Emergent Phenomena",
   "old": "- **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.",
   "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.** Because humor associations live in the persistent event store rather than in transient conversation state, they survive across sessions, enabling long-term humor memory.",
   "marked": "- **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-] {+Because humor associations live in+} the [-Total Recall-] {+persistent+} event store [-(Serra, 2026a), humor associations persist-] {+rather than in transient conversation state, they survive+} across sessions, enabling long-term humor memory."
  },
  {
   "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_. - 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_. - Serra, O. (2026c). HIPPOCAMPUS: Anchor-Clustered Episodic Retrieval for Agent Memory. _Technical Report, OpenClaw_.",
   "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. - 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": "- 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,-] {+Stock,+} O. [-(2026a). Total Recall: Event-Navigated Graded Retrieval-] & [-Archival Memory. _Technical Report, OpenClaw_.-] {+Strapparava, C. (2003). HAHAcronym: Humorous agents for humorous acronyms. _Humor_, 16(3), 297–314.+} - [-Serra,-] {+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. [-(2026b). Identity Persistence: Persona-Aware Context Engineering-] {+& 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 [-Persistent AI Identity. _Technical Report, OpenClaw_.-] {+rejection\". _AAAI_.+} - [-Serra, O. (2026c). HIPPOCAMPUS: Anchor-Clustered Episodic Retrieval for Agent Memory. _Technical Report, OpenClaw_.-] {+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_.+}"
  },
  {
   "section": "References",
   "old": "- 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": null,
   "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_.-]"
  }
 ]
}
