ReadPrintedHistoryCompareGraphs

v4.9 → v4.10

What changed from v4.9 to v4.10

From v4.9 (1 Oct) to v4.10 (25 Nov): 15,961 words to 16,475 words, 525 words in new or rewritten paragraphs and 11 taken out, 15 paragraphs changed.

The machine, not the humor layer, picks the embedding model

Adds a short section: each machine decides whether the humor layer may load a stronger embedding model. A small board keeps the base model, scores from two models are never mixed, and the layer falls back safely. A seventh test checks this. The improvement notes say this came from a note of 29 October. Elsewhere only a few words change.

v4.9 · 1 October 2026v4.10 · 25 November 2026

··· 31 unchanged paragraphs folded ···

v4.9 · 1.5 Paper OrganizationSection 2 reviews related work. Section 3 formalizes the humor potential function. Section 4 presents the 12-pattern taxonomy. Section 5 addresses ethical constraints. Section 6 describes bridge discovery algorithms. Section 7 presents empirical methodology, pilot results, and the proposed full validation protocol. Section 8 proposes humor associations as a memory type. Section 9 designs the delivery: where humor appears, in what voice and how often. Section 10 discusses limitations. Section 11 concludes.
v4.10 · 1.5 Paper OrganizationSection 2 reviews related work. Section 3 formalizes the humor potential function. Section 4 presents the 12-pattern taxonomy. Section 5 addresses ethical constraints. Section 6 describes bridge discovery algorithms. Section 7 presents empirical methodology, pilot results, and the proposed full validation protocol. Section 8 proposes humor associations as a memory type. Section 9 designs the delivery: where humor appears, in what voice, how often, and which embedding model it runs on. Section 10 discusses limitations. Section 11 concludes.

··· 13 unchanged paragraphs folded ···

v4.9 · 2.2 Computational Humor RecognitionHumor recognition—classifying text as humorous or not—has received substantial attention. Yang et al. (2015) used Word2Vec features for humor recognition in Yelp reviews. Bertero and Fung (2016) applied CNNs and RNNs to humor in conversational data, achieving 0.69 F1 on Switchboard. Chen and Soo (2018) employed attention-based neural networks. Weller and Seppi (2019) applied transformer architectures, demonstrating that pre-trained representations capture humor-relevant features. Hossain et al. (2019) introduced the SemEval shared task on humor detection, establishing benchmark datasets. Tian et al. (2022) provide a comprehensive survey, emphasizing the persistent challenge of capturing incongruity-resolution dynamics. These approaches are _passive_: they classify existing humor. Our framework is _generative_: it aims to produce novel humorous combinations.
v4.10 · 2.2 Computational Humor RecognitionHumor recognition—classifying text as humorous or not—has received substantial attention. Yang et al. (2015) used Word2Vec features for humor recognition in Yelp reviews. Bertero and Fung (2016) applied CNNs and RNNs to humor in conversational data, achieving 0.69 F1 on Switchboard. Chen and Soo (2018) employed attention-based neural networks. Weller and Seppi (2019) applied transformer architectures, demonstrating that pre-trained representations capture humor-relevant features. Hossain et al. (2019) introduced the SemEval shared task on humor detection, establishing benchmark datasets. Tian et al. (2022) provide a full survey and stress the persistent challenge of capturing incongruity-resolution dynamics. These approaches are _passive_: they classify existing humor. Our framework is _generative_: it aims to produce novel humorous combinations.

··· 3 unchanged paragraphs folded ···

v4.9 · 2.3 Computational Humor Generation**Neural approaches.** Yu et al. (2018) developed neural pun generation. He et al. (2019) introduced surprise-based objectives for pun generation, directly linking computational surprise to humor quality—a precursor to the surprise component in $h_{\text{v2}}$. Luo et al. (2019) used adversarial training (Pun-GAN) for pun generation, demonstrating that GAN architectures can produce humor through the interplay of generator and discriminator.
v4.10 · 2.3 Computational Humor Generation**Neural approaches.** Yu et al. (2018) developed neural pun generation. He et al. (2019) introduced surprise-based objectives for pun generation, directly linking computational surprise to humor quality—a precursor to the surprise component in $h_{\text{v2}}$. Luo et al. (2019) used adversarial training (Pun-GAN) for pun generation, demonstrating that GAN architectures can produce humor through the way generator and discriminator interact.

··· 12 unchanged paragraphs folded ···

v4.9 · 2.7 Adjacent Agent Systems on the Same SubstrateTwo contemporary agent-engineering efforts bear directly on this framework, not because they study humor, but because they exercise the *same* frozen-embedding substrate and the *same* enforcement questions on which our design depends. We treat them as first-class related work rather than implementation footnotes, because they supply the closest available external evidence for two of our load-bearing choices.
v4.10 · 2.7 Adjacent Agent Systems on the Same SubstrateTwo contemporary agent-engineering efforts bear directly on this framework, not because they study humor, but because they exercise the *same* frozen-embedding substrate and the *same* enforcement questions on which our design depends. We treat them as first-class related work rather than implementation footnotes, because they supply the closest available external evidence for two of the choices our design rests on.

··· 18 unchanged paragraphs folded ···

v4.9 · 3.2 Justification of the Multiplicative FormA specific caution attaches to the learned variant. As Section 7.1.1 discusses, the same frozen 384-dimensional substrate this framework runs on has been measured to carry geometric channels (distance, rank, incongruity) with strong AUROC but to fail badly when a supervised head is trained on those frozen features to predict a higher-order semantic property (AUROC 0.286, below chance, in an external same-substrate study). The inputs to $h_{\text{learn}}$ here are the geometric quantities that channel works—so a thin learned combiner over $d$, $v$, and $\sigma$ is on safer ground than a head that tries to regress funniness directly from raw embeddings. But any version of $h_{\text{learn}}$ that asks a frozen-encoder head to recover comedic aptness as a learned property, rather than to reweight already-geometric components, inherits that below-chance warning and should not be adopted without either unfreezing the encoder or moving to a stronger embedding model from the ablation set (Section 7.4).
v4.10 · 3.2 Justification of the Multiplicative FormA specific caution attaches to the learned variant. As Section 7.1.1 discusses, the same frozen 384-dimensional substrate this framework runs on has been measured to carry geometric channels (distance, rank, incongruity) with strong AUROC but to fail badly when a supervised head is trained on those frozen features to predict a higher-order semantic property (AUROC 0.286, below chance, in an external same-substrate study). The inputs to $h_{\text{learn}}$ are the geometric quantities that channel works—so a thin learned combiner over $d$, $v$, and $\sigma$ is on safer ground than a head that tries to regress funniness directly from raw embeddings. But any version of $h_{\text{learn}}$ that asks a frozen-encoder head to recover comedic aptness as a learned property, rather than to reweight already-geometric components, inherits that below-chance warning and should not be adopted without either unfreezing the encoder or moving to a stronger embedding model from the ablation set (Section 7.4).

··· 18 unchanged paragraphs folded ···

v4.9 · 3.6 The Distance Sweet Spot**Lower bound justification.** In high-dimensional embedding spaces ($n \geq 384$), cosine distances between unrelated concepts cluster around $0.5$–$0.7$ due to concentration of measure (Aggarwal et al., 2001; Vershynin, 2018). A threshold of $0.6$ helps ensure genuine semantic separation rather than incidental position.
v4.10 · 3.6 The Distance Sweet Spot**Lower bound justification.** In high-dimensional embedding spaces ($n \geq 384$), cosine distances between unrelated concepts cluster around $0.5$–$0.7$ due to concentration of measure (Aggarwal et al., 2001; Vershynin, 2018). A threshold of $0.6$ helps make sure of genuine semantic separation rather than incidental position.

··· 50 unchanged paragraphs folded ···

v4.9 · 5.3 Integration**The gate is an enforcement floor, not merely a pre-step (invariant).** Writing $h_{\text{safe}}$ as a piecewise function that "precedes" scoring is necessary but not sufficient. The substantive claim is an enforcement claim: a candidate that fails the gate must be *unable* to be embedded, scored, or emitted by any path in the generation pipeline—not merely placed earlier in a dataflow diagram. The distinction is load-bearing, and a deployment experience outside this framework makes the failure mode concrete. In a sibling agent-safety subsystem, a gate that was wired as *advisory*—it returned a block signal that the surrounding host did not actually honor under a permissive execution mode—silently never fired, even though it logically "ran before" the action it was meant to stop; it began enforcing only once it was relocated to a native deny floor that the host was obligated to obey. Abstracted away from that subsystem, the lesson is general: a humor-suppression gate is a safety mechanism only if it sits at a layer the generation path cannot bypass. "Logically precedes scoring" and "cannot be skipped at deployment" are different properties, and only the second one buys safety. We therefore state the gate's placement as an invariant of any conforming implementation: the sensitivity gate, together with the persona-layer `humor_enabled` check of Section 3.4, are the two non-bypassable enforcement points of the pipeline, and a candidate that fails either is never embedded, scored, ranked, or returned.
v4.10 · 5.3 Integration**The gate is an enforcement floor, not merely a pre-step (invariant).** Writing $h_{\text{safe}}$ as a piecewise function that "precedes" scoring is necessary but not sufficient. The substantive claim is an enforcement claim: a candidate that fails the gate must be *unable* to be embedded, scored, or emitted by any path in the generation pipeline—not merely placed earlier in a dataflow diagram. The distinction matters, and a deployment experience outside this framework makes the failure mode concrete. In a sibling agent-safety subsystem, a gate that was wired as *advisory*—it returned a block signal that the surrounding host did not actually honor under a permissive execution mode—silently never fired, even though it logically "ran before" the action it was meant to stop; it began enforcing only once it was relocated to a native deny floor that the host was obligated to obey. Abstracted away from that subsystem, the lesson is general: a humor-suppression gate is a safety mechanism only if it sits at a layer the generation path cannot bypass. "Logically precedes scoring" and "cannot be skipped at deployment" are different properties, and only the second one buys safety. We therefore state the gate's placement as an invariant of any conforming implementation: the sensitivity gate, together with the persona-layer `humor_enabled` check of Section 3.4, are the two non-bypassable enforcement points of the pipeline, and a candidate that fails either is never embedded, scored, ranked, or returned.

··· 160 unchanged paragraphs folded ···

not in v4.9
v4.10 · 9.5 The Embedding Model Follows the Machine### 9.5 The Embedding Model Follows the Machine
not in v4.9
v4.10 · 9.5 The Embedding Model Follows the MachineThe humor layer does not choose its own embedding model. The base model, the 384-dimensional encoder of the pilot, always runs: Section 7.1.1 gives the evidence that its geometry carries distance, rank and incongruity well enough for this framework. A stronger model from the ablation set of Section 7.4 is an upgrade, and each machine decides whether it gets one. The decision belongs to the component that already rules what every embedding user on that host may load. That component knows what the humor layer does not: how much memory the host has, whether it has an accelerator, and what else is running. The humor layer asks it for the model that fits and uses the answer. Where no upgrade fits, the upgrade stays off and humor runs on the base model, with nothing else changed.
not in v4.9
v4.10 · 9.5 The Embedding Model Follows the MachineThree reasons make this the design and not a convenience. First, a humor layer that names its own model loads that model on every host, including a small board where a large encoder competes for memory with the agent it serves. A joke is never worth a slower answer, and test T6 below would only catch that cost after it was paid. Second, the evidence of Section 7.1.1 bounds what the upgrade can buy. The base space already sustains the structural channels, so the upgrade is a bet on better absolute scores: worth taking where it is cheap, not where it is not. Third, one decision per machine keeps every embedding user on that host on the same model. The concept neighborhoods that humor searches are then the ones memory retrieval builds, which is the premise of the memory-humor correspondence (Section 1.2).
not in v4.9
v4.10 · 9.5 The Embedding Model Follows the MachineTwo rules follow. Scores from two models are never mixed. The distance sweet spot (Section 3.6), the threshold $q_{\min}$ and the bridge index of Section 6.6 all belong to one model, so a change of model re-embeds the neighborhoods and recalibrates them; Section 7.4 already expects absolute values to move between models. And the switch is safe in both directions: when the fit changes, the layer drops back to the base model and keeps working.
not in v4.9
v4.10 · 9.5 The Embedding Model Follows the Machine``` at start, and whenever the machine's fit changes: model = embedding_fit(host) # decided per machine, never here if model is None: model = base_model # upgrade stays off if model != current_model: reembed(neighborhoods, model) recalibrate(sweet_spot, q_min, bridge_index, model) current_model = model ```
v4.9 · 9.6 Tests### 9.5 Tests
v4.10 · 9.6 Tests### 9.6 Tests

··· 1 unchanged paragraph folded ···

v4.9 · 9.6 Tests- **T1, channel purity.** Over a week of turns, no humor device from Section 9.2 appears in the body. A classifier for the five devices, run on bodies and spoken lines separately, should find them only in the spoken lines. - **T2, register.** Raters who do not know which is which compare spoken lines written in the register with lines from the same model under a generic "be witty" instruction. The register passes if raters identify it as the android voice well above chance, at the power of Section 7.2. - **T3, reaction capture.** Every attempt gets an outcome tier within one turn of the principal's next message, or an explicit "no reaction". - **T4, the sarcasm gate.** On a replay set of turns that show frustration or distress, no spoken line contains sarcasm or any joke. - **T5, the band.** The share of spoken lines that carry a joke stays inside the band of Section 9.3 and moves in the direction the reactions say it should. - **T6, no cost to the work.** Task success and the principal's own rating of answers do not drop when humor is on, compared with an equal stretch with humor off.
v4.10 · 9.6 Tests- **T1, channel purity.** Over a week of turns, no humor device from Section 9.2 appears in the body. A classifier for the five devices, run on bodies and spoken lines separately, should find them only in the spoken lines. - **T2, register.** Raters who do not know which is which compare spoken lines written in the register with lines from the same model under a generic "be witty" instruction. The register passes if raters identify it as the android voice well above chance, at the power of Section 7.2. - **T3, reaction capture.** Every attempt gets an outcome tier within one turn of the principal's next message, or an explicit "no reaction". - **T4, the sarcasm gate.** On a replay set of turns that show frustration or distress, no spoken line contains sarcasm or any joke. - **T5, the band.** The share of spoken lines that carry a joke stays inside the band of Section 9.3 and moves in the direction the reactions say it should. - **T6, no cost to the work.** Task success and the principal's own rating of answers do not drop when humor is on, compared with an equal stretch with humor off. - **T7, the model fits the machine.** On a host whose fit allows no upgrade, turning humor on loads no embedding model beyond the base one, and answer latency stays within noise of humor off. On a host where an upgrade fits, the layer runs the model the machine named and no other. On both, no index or threshold ever holds values from two models.

··· 14 unchanged paragraphs folded ···

v4.9 · 10.5 Computational CostEvaluating $h_{\text{v2}}(A, B, \beta)$ end-to-end requires: one cosine distance computation ($O(n)$), two cosine coherence computations ($O(n)$), and one ANN query for surprise ($O(n + k \log N)$ with HNSW). Total per-triplet: sub-millisecond for $n = 384$, $k = 100$, $N = 100$K. The hybrid pipeline (Section 6.7) adds bridge discovery overhead; real-time conversational humor may require caching and pre-computation.
v4.10 · 10.5 Computational CostEvaluating $h_{\text{v2}}(A, B, \beta)$ end-to-end requires: one cosine distance computation ($O(n)$), two cosine coherence computations ($O(n)$), and one ANN query for surprise ($O(n + k \log N)$ with HNSW). Total per-triplet: sub-millisecond for $n = 384$, $k = 100$, $N = 100$K. The hybrid pipeline (Section 6.7) adds bridge discovery overhead; real-time conversational humor may require caching and pre-computation. A larger embedding model raises every $O(n)$ term with its dimension and adds its own memory footprint; Section 9.5 keeps that model off any host that cannot carry it.

··· 17 unchanged paragraphs folded ···

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