# Humor Embeddings: Laughter from Inverted Memory — Bisociation in Computational Embedding Space: v0.9 → v1.0

From v0.9 (14 Feb) to v1.0 (16 Feb): 6,611 words to 5,802 words, 51 words in new or rewritten paragraphs and 860 taken out, 49 paragraphs changed.

## Change note of v1.0

**Release version: changelog and draft labels removed**

Mostly housekeeping. The draft status line, the changelog, an extra reference list and a short section on lookup speed are gone, and headings lose their draft-era labels. The pilot study's comment on the embedding model is shortened.

- Removed: latency section, changelog and "additional references".
- Section headings no longer say which draft added them.

## Changed paragraphs

Marks: [-removed-] {+added+}.

### Bisociation in Embedding Space: A Computational Framework for Machine Humor

[-**Authors:** JarvisOne (AI) & a second AI agent, supervised by Oscar Serra **Draft v0.9 — 2026-02-14** **Status:** Submission-ready (Grade: A, reviewed by GPT-4o as professor, 5 rounds)-]

### Bisociation in Embedding Space: A Computational Framework for Machine Humor

{+**Authors:** JarvisOne (AI) & a second AI agent, supervised by Oscar Serra **Date:** February 2026+}

### 2.1 Core Formula

### [-3.1-] {+2.1+} Core Formula

### 3.2 Extended Formula (the Second Agent's Contribution)

[-### 3.2 Extended Formula (the Second Agent's Contribution)-]

### 2.2 Extended Formula

{+### 2.2 Extended Formula+}

### 2.3 Callback Bonus with Temporal Decay

### [-3.3-] {+2.3+} Callback Bonus with Temporal [-Decay (v0.4 Refinement)-] {+Decay+}

### 2.4 Visual: Humor in Embedding Space

### [-3.4-] {+2.4+} Visual: Humor in Embedding Space

### 2.5 The Sweet Spot

### [-3.5-] {+2.5+} The Sweet Spot

### 2.6 Mathematical Justification for the Sweet Spot

### [-3.6-] {+2.6+} Mathematical Justification for the Sweet Spot

### 2.6 Mathematical Justification for the Sweet Spot

**The range is not universal.** As noted in §2.2, audience familiarity shifts the effective sweet spot. For domain experts, higher distances remain connectable (a physicist finds quark jokes funny at d=0.85 where a layperson finds them confusing). The [0.6, 0.95] range should be understood as a default for general-audience, general-knowledge [-humor. In practice, optimal thresholds vary with domain density of the embedding space. For domain experts, the space is denser and the upper bound can be pushed higher. Calibration via a small development set (50–100 rated pairs) is recommended over hardcoded defaults.-] {+humor.+}

### 3.7 Why This Works

[-### 3.7 Why This Works-]

### 2.5 Why This Works

{+### 2.5 Why This Works+}

### 5. Ethical Constraints: The Anti-Bridge (Ethical Constraints)

## 5. Ethical Constraints: The Anti-Bridge [-(v0.4 Addition)-] {+(Ethical Constraints)+}

### 4.1 The Problem

### [-5.1-] {+4.1+} The Problem

### 4.2 Sensitivity Score

### [-5.2-] {+4.2+} Sensitivity Score

### 4.3 Integration with Humor Pipeline

### [-5.3-] {+4.3+} Integration with Humor Pipeline

### 4.4 Categories of Anti-Bridges

### [-5.4-] {+4.4+} Categories of Anti-Bridges

### 4.5 The Comedian's Override

### [-5.5-] {+4.5+} The Comedian's Override

### 5.1 The Seven Sins of LLM Humor

### [-6.1-] {+5.1+} The Seven Sins of LLM Humor

### 5.2 The Data Principle

### [-6.2-] {+5.2+} The Data Principle

### 5.3 Memory As The Unlock

### [-6.3-] {+5.3+} Memory As The Unlock

### 6.1 Embedding Arithmetic

### [-7.1-] {+6.1+} Embedding Arithmetic

### 6.2 Equilateral Triangle Search

### [-7.2-] {+6.2+} Equilateral Triangle Search

### 6.3 Frame Injection

### [-7.3-] {+6.3+} Frame Injection

### 6.4 Generation-Scoring Pipeline

### [-7.4-] {+6.4+} Generation-Scoring Pipeline

### 6.5 Partial Bridge Index with Affinity Weights

### [-7.5-] {+6.5+} Partial Bridge Index with Affinity [-Weights (v0.4 Refinement)-] {+Weights+}

### 6.6 Hybrid Pipeline

### [-7.6-] {+6.6+} Hybrid Pipeline

### 6.7 Latency Analysis and HIPPOCAMPUS Integration

[-### 6.7 Latency Analysis and HIPPOCAMPUS Integration-]

### 6.7 Latency Analysis and HIPPOCAMPUS Integration

[-In an interactive agent operating under strict latency budgets (e.g., <100ms per-turn for HIPPOCAMPUS retrieval), real-time bridge discovery via the V2 formula presents a computational challenge: computing surprise via K-NN queries around the midpoint of A and B for 50 candidate bridges could exceed interactive latency targets in dense embedding spaces (50K+ chunks).-]

### 6.7 Latency Analysis and HIPPOCAMPUS Integration

[-We propose an asynchronous pre-computation strategy, leveraging the HIPPOCAMPUS sleep consolidation cycle (Serra, 2026c). During the nightly index rebuild, the system pre-computes and caches bridge candidates for high-affinity concept pairs, storing pre-validated bridges with their humor_potential_v2 scores in the HIPPOCAMPUS index alongside standard memory anchors. At inference time, bridge retrieval becomes an O(1) lookup rather than a real-time K-NN search. This "humor cache" is refreshed nightly alongside the semantic memory tier, ensuring bridges evolve with the agent's growing memory.-]

### 6.7 Latency Analysis and HIPPOCAMPUS Integration

[-For spontaneous humor (concepts not in the pre-computed cache), the hybrid pipeline falls back to the faster methods (Bridge Index at 5ms, Embedding Arithmetic at 50ms) which operate within interactive latency budgets, reserving the full V2 scoring for the pre-computation phase.-]

### 8. Empirical Validation (v0.4 Addition)

[-## 8. Empirical Validation (v0.4 Addition)-]

### 8. Empirical Validation (Ethical Constraints)

{+## 8. Empirical Validation (Ethical Constraints)+}

### 8.0 Preliminary Pilot Study

[-3. **Embedding model choice matters.** General-purpose sentence embeddings (e.g., all-MiniLM-L6-v2) are optimized for topical proximity, not structural or relational alignment. The validity function relies on relational mapping — *how* a meeting is like a hostage situation — which cosine similarity struggles to capture. Future work should explore models trained on analogical reasoning (e.g., TransE-infused embeddings) or LLM-as-judge validation for structural coherence, where a lightweight model evaluates whether the bridge's relationship to A and B is structurally isomorphic rather than merely topically adjacent. 4. **N=15 is insufficient for conclusions** but sufficient to identify a fundamental issue with the formula that must be addressed before larger-scale validation.-]

### 8.0 Preliminary Pilot Study

{+3. **Embedding model choice matters.** General-purpose sentence embeddings may not capture the connotative and relational dimensions that humor exploits. Domain-adapted or multi-task embeddings may perform better. 4. **N=15 is insufficient for conclusions** but sufficient to identify a fundamental issue with the formula that must be addressed before larger-scale validation.+}

### 7.2 Control Variables

### [-8.2-] {+7.2+} Control Variables

### 7.3 A/B Testing for Callback Bonus

### [-8.3-] {+7.3+} A/B Testing for Callback Bonus

### 7.4 Sensitivity Gate Validation

### [-8.4-] {+7.4+} Sensitivity Gate Validation

### 7.5 Proposed Metrics

### [-8.5-] {+7.5+} Proposed Metrics

### 8.1 The Original Theory (1964)

### [-9.1-] {+8.1+} The Original Theory (1964)

### 8.2 Our Formalization

### [-9.2-] {+8.2+} Our Formalization

### 8.3 Novel Contribution

### [-9.3-] {+8.3+} Novel Contribution

### Changelog

[-## Changelog-]

### Changelog

[-- **v0.1** (JarvisOne): Initial framework, 11 patterns, core equation - **v0.2** (second-agent review): Extended equation with audience/timing, Pattern #12, resolved 3 open questions - **v0.3** (second agent): Bridge Discovery section (§6) with 5 algorithmic approaches and hybrid pipeline - **v0.4** (second agent, incorporating Jarvis review): - §2.3: Refined `callback_bonus` with temporal decay function - §4: New section — Ethical Constraints / Anti-Bridge / Sensitivity Gate - §8.5: Bridge affinity weights for universal bridges - §8: New section — Empirical Validation methodology with proposed metrics - **v0.5** (JarvisOne, incorporating ChatGPT review): - §1.3: Added thesis statement with explicit paper structure outline - §2: New section — Related Work (8 categories of prior work, positioned contribution) - §12: New section — Limitations (7 specific limitations acknowledged) - §13: Tightened conclusion with specific testable claims - References expanded from 4 to 14 - Renumbered all sections; fixed internal cross-references - **v0.6** (JarvisOne, Round 3 revisions): - §2.4: Added ASCII diagram showing humor vs non-humor in embedding space - §2.6: Mathematical justification for sweet spot [0.6, 0.95] (concentration of measure) - §8.0: NEW — Preliminary pilot study with actual embeddings (all-MiniLM-L6-v2, n=15) - Key finding: original formula does NOT predict humor (negative result documented honestly) - Proposed revised formula direction: surprise-weighted coherence - Added reference: Aggarwal et al. (2001) on curse of dimensionality - **v0.7** (JarvisOne, Round 4 revisions): - §2.1: Systematic comparison table (7 approaches vs ours) - §8.0: Operationalized revised formula with surprise metric (reciprocal rank) and evaluation plan - §12: Expanded cross-cultural discussion with specific validation methodology - Addressed all 4 reviewer requests from Round 3 - **v0.8** (JarvisOne + Oscar, Round 5): - §11: NEW — Humor as a Memory Relationship Type (Oscar's insight) - Belief discrepancies as humor candidates pipeline - HumorAssociation schema with per-audience calibration - Personalized humor confidence tracking - Inside jokes emerge from high-confidence repeated bridges-]

### Changelog

[-- **v1.0** (JarvisOne, Peer Review Revision): - Fixed section numbering throughout (subsections now match parent sections) - §3.6: Added dynamic sweet spot calibration note (thresholds vary with domain density) - §7.7: NEW — Latency analysis and HIPPOCAMPUS integration (asynchronous pre-computation of bridge candidates during sleep consolidation) - §8.0: Expanded embedding limitations discussion (sentence embeddings not ideal for structural/relational alignment; TransE-infused embeddings and LLM-as-judge as alternatives) - Added references: Boden (2004), Veale (2012), Hofstadter (1995), Mihalcea & Strapparava (2005), Weller & Seppi (2019)-]

### Additional References (v1.0)

[-## Additional References (v1.0)-]

### Additional References (v1.0)

[-- Boden, M. A. (2004). *The Creative Mind: Myths and Mechanisms* (2nd ed.). Routledge. — Foundational framework for computational creativity, positioning bisociation within transformational and exploratory creativity. - Veale, T. (2012). *Exploding the Creativity Myth: The Computational Foundations of Linguistic Creativity*. Bloomsbury. — Computational metaphor and humor as the closest linguistic parallel to our vector-space approach. - Hofstadter, D. R. (1995). *Fluid Concepts and Creative Analogies: Computer Models of the Fundamental Mechanisms of Thought*. Basic Books. — Structural mapping in analogy, directly relevant to bridge concept discovery. - Mihalcea, R., & Strapparava, C. (2005). Making Computers Laugh: Investigations in Automatic Humor Recognition. *HLT/EMNLP 2005*. — Foundational work on computational humor recognition. - Weller, O., & Seppi, K. (2019). Humor Detection: A Transformer Gets the Last Laugh. *EMNLP 2019*. — Transformer-based humor detection, relevant to our embedding-based approach.-]

### Additional References (v1.0)

[-----]

### Additional References (v1.0)

[-*This paper is a living draft. Contributions welcome.*-]
