ReadPrintedHistoryCompareGraphs

v4.4 → v4.5

What changed from v4.4 to v4.5

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.

Stands alone: companion systems described as generic layers

The 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.

  • References shrink as the self-citations go.
  • The memory sections describe a generic append-only event store.
v4.4 · 2 June 2026v4.5 · 2 June 2026

··· 1 unchanged paragraph folded ···

v4.4 · AbstractWe 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.
v4.5 · AbstractWe 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.

··· 9 unchanged paragraphs folded ···

v4.4 · 1.2 The Memory-Humor CorrespondenceThis 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.
v4.5 · 1.2 The Memory-Humor CorrespondenceThis 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.

··· 14 unchanged paragraphs folded ···

v4.4 · 1.3 Contributions5. **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.
v4.5 · 1.3 Contributions5. **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.

··· 5 unchanged paragraphs folded ···

v4.4 · 1.6 Architecture ContextThis 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.
v4.5 · 1.6 Architecture ContextThis 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.
v4.4 · 1.6 Architecture Context![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%}
removed in v4.5
v4.4 · 1.6 Architecture Context_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._
removed in v4.5
not in v4.4
v4.5 · 1.6 Architecture Context```{=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} ```

··· 50 unchanged paragraphs folded ···

v4.4 · 3.4 Extended Formulation with Audience and Timing**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.
v4.5 · 3.4 Extended Formulation with Audience and Timing**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.

··· 17 unchanged paragraphs folded ···

v4.4 · 3.7 The Humor Zone![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%}
removed in v4.5
v4.4 · 3.7 The Humor Zone_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.\_
removed in v4.5
not in v4.4
v4.5 · 3.7 The Humor Zone```{=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};
not in v4.4
v4.5 · 3.7 The Humor Zone% --- 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} ```

··· 1 unchanged paragraph folded ···

v4.4 · 3.7 The Humor Zone![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%}
removed in v4.5
v4.4 · 3.7 The Humor Zone_Figure 3: Two-dimensional UMAP projection illustrating the distance sweet spot. Far-but-connected pairs generate humor; near-and-obvious pairs do not._
removed in v4.5
not in v4.4
v4.5 · 3.7 The Humor Zone```{=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);
not in v4.4
v4.5 · 3.7 The Humor Zone% 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} ```

··· 81 unchanged paragraphs folded ···

v4.4 · 6.7 Hybrid Pipeline![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%}
removed in v4.5
v4.4 · 6.7 Hybrid Pipeline_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._
removed in v4.5
not in v4.4
v4.5 · 6.7 Hybrid Pipeline```{=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)};
not in v4.4
v4.5 · 6.7 Hybrid Pipeline\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$};
not in v4.4
v4.5 · 6.7 Hybrid Pipeline\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);
not in v4.4
v4.5 · 6.7 Hybrid Pipeline% 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} ```

··· 65 unchanged paragraphs folded ···

v4.4 · 8.1 MotivationWe 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}}$.
v4.5 · 8.1 MotivationWe 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}}$.

··· 2 unchanged paragraphs folded ···

v4.4 · 8.2 Relationship Types in Agent MemoryIn 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.
v4.5 · 8.2 Relationship Types in Agent MemoryConcretely, 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.

··· 15 unchanged paragraphs folded ···

v4.4 · 8.5 Personalized Humor CalibrationOver 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).
v4.5 · 8.5 Personalized Humor CalibrationOver 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.

··· 8 unchanged paragraphs folded ···

v4.4 · 8.7 Emergent Phenomena- **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.
v4.5 · 8.7 Emergent Phenomena- **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.

··· 30 unchanged paragraphs folded ···

v4.4 · References- 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_.
v4.5 · References- 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_.
v4.4 · References- 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_.
removed in v4.5

Changed paragraphs in the same form, for scripts: JSON · Markdown