Deze presentatie was gegeven door Thomas Winters op 27/05/2023 op het Nerdland Festival.
Meer info op https://thomaswinters.be/talk/2023nerdlandfestival
Humor Workshop: Hoe schrijf je satire? (KU Leugen)Thomas Winters
Hoe schrijf je een mop? Hoe verbeter je een mop? En hoe schrijf je efficiënt satire?
Deze presentatie van Thomas Winters (improvisator en computationele humor onderzoeker) opent de motorkap van humor, om aan te tonen dat humor schrijven wel degelijk een leerbare vaardigheid is. Het leert aan van waar je inspiratie kan halen om een humoristische connectie te verzinnen, enkele basisprincipes om van die connectie een mop te schrijven en hoe je dan die mop kan verbeteren tot een geweldige mop.
De presentatie bevat ook talrijke oefeningen om zelf uit te proberen, om zo je eigen humorvaardigheden aan te scherpen.
Meer informatie over deze presentatie op https://thomaswinters.be/talk/2022veto
Om Thomas Winters uit te nodigen om deze workshop live te geven, kan je contact opzoeken via https://thomaswinters.be/contact
Twittercops speech @ Politie Korps RotterdamRik de Fluiter
"Twittercops brengt mensen bij elkaar"
De afgelopen 8 maanden hebben 3 wijkagenten in Rotterdam contact gelegd met buurtbewoners via Twitter. Hoewel sommigen dachten dat communicatie via dit medium, de afstand zou vergroten tussen de agenten en de wijk, lijkt het tegendeel waar.
"Doordat ik de agenten volg op Twitter, leer ik ze juist kennen. De drempel om ze aan te spreken op zaken die mij zijn opgevallen is nu veel lager." Uitspraken als deze werden veel gehoord bij de evaluatie van het project Twittercops dinsdag 11 januari 2011.
Hoe dat komt en waarom Twitter het veiligheidsgevoel kan bevorderen, dat weet marketing strateeeg Rik de Fluiter. Bij de evaluatie van het Twittercop project op deed hij zijn verhaal. "Mens wees weer sociaal en Twitter!"
Bijgaand vindt u de hele presentatie van Rik de Fluiter.
Humor Workshop: Hoe schrijf je satire? (KU Leugen)Thomas Winters
Hoe schrijf je een mop? Hoe verbeter je een mop? En hoe schrijf je efficiënt satire?
Deze presentatie van Thomas Winters (improvisator en computationele humor onderzoeker) opent de motorkap van humor, om aan te tonen dat humor schrijven wel degelijk een leerbare vaardigheid is. Het leert aan van waar je inspiratie kan halen om een humoristische connectie te verzinnen, enkele basisprincipes om van die connectie een mop te schrijven en hoe je dan die mop kan verbeteren tot een geweldige mop.
De presentatie bevat ook talrijke oefeningen om zelf uit te proberen, om zo je eigen humorvaardigheden aan te scherpen.
Meer informatie over deze presentatie op https://thomaswinters.be/talk/2022veto
Om Thomas Winters uit te nodigen om deze workshop live te geven, kan je contact opzoeken via https://thomaswinters.be/contact
Twittercops speech @ Politie Korps RotterdamRik de Fluiter
"Twittercops brengt mensen bij elkaar"
De afgelopen 8 maanden hebben 3 wijkagenten in Rotterdam contact gelegd met buurtbewoners via Twitter. Hoewel sommigen dachten dat communicatie via dit medium, de afstand zou vergroten tussen de agenten en de wijk, lijkt het tegendeel waar.
"Doordat ik de agenten volg op Twitter, leer ik ze juist kennen. De drempel om ze aan te spreken op zaken die mij zijn opgevallen is nu veel lager." Uitspraken als deze werden veel gehoord bij de evaluatie van het project Twittercops dinsdag 11 januari 2011.
Hoe dat komt en waarom Twitter het veiligheidsgevoel kan bevorderen, dat weet marketing strateeeg Rik de Fluiter. Bij de evaluatie van het Twittercop project op deed hij zijn verhaal. "Mens wees weer sociaal en Twitter!"
Bijgaand vindt u de hele presentatie van Rik de Fluiter.
TorfsBot or Not? Evaluating User Perception on Imitative Text Generation (CLI...Thomas Winters
This talk was presented by Thomas Winters at the 33rd Computational Linguistics in the Netherlands conference.
Abstract:
Mimicking an individual's writing style using automated text generation approaches presents a challenge in determining the optimal level of imitation versus exaggeration. This study investigates the believability and user interaction of a text generator employing Markov models and dynamic templates in comparison to source data. Using the TorfsBot Twitterbot, which emulates the writing style of the Belgian professor Rik Torfs, we developed a secondary Twitterbot, \"TorfsBot or Not?”, that conducted daily polls asking users to identify whether a tweet originated from Rik Torfs or TorfsBot. The study collected 43K votes from approximately 500 polls. The findings reveal that participants correctly identified the source of the tweets 71% of the time, with majority votes inaccurately attributing the source in 14% of the polls. Furthermore, we observed a positive correlation between the number of interactions on the source tweet and the perceived believability that the tweet originated from Rik Torfs. Our results suggest that even relatively simple text generation models can approximately replicate a target's writing style, and that a closer approximation to the source material may positively influence user engagement.
Prompt engineering: de kunst van het leren communiceren met AI (Juni 2023)Thomas Winters
Deze talk werd gebracht aan de VRT op 23 juni 2023 door Thomas Winters.
De presentatie leert een basis aan prompt engineering technieken voor ChatGPT en GPT-4, alsook voor afbeeldinggenerators zoals DALL-E, StableDiffusion & Midjourney
Hoe werken tekstgenerators? (Special Guest in Lieven Scheire's AI voorstelling)Thomas Winters
Deze presentatie werd gegeven door Thomas Winters op 26 mei 2023 in Lieven Scheire's voorstelling over Artificiële Intelligentie.
Meer informatie: https://thomaswinters.be/talk/2023nerdlandfestival-2
Deze presentatie werd gegeven op 27 mei 2023 op het Nerdland Festival door Thomas Winters als onderdeel van de kindershow van Jeroen Baert en Els Aerts.
We visualiseren kinderverhalen nadat ze eerst zin per zin zelf verhalen verzonnen, en tonen hoe AI tegenwoordig zulke tekeningen zelf kan maken. Dan laten we ze verhalen met AI schrijven, en leggen we uit hoe zulke taalmodellen leerden door volgende woorden te voorspellen.
Meer informatie: https://thomaswinters.be/talk/2023nerdlandfestival-3
How do you teach computers humor + Text Generators as Creative Partners (May ...Thomas Winters
This guest lecture was given on the 10th of May 2023 at the "Computational Creativity" class of prof. Tim Van de Cruys & on the 16th of May 2023 for the "Humor and Creativity in Language" class by prof. Kurt Feyaerts.
The first part provides an overview on computational humor with a focus on the research work of Thomas Winters.
The second part shows how to generate humor using prompt engineering on GPT models like GPT-4 and ChatGPT.
Hoe schrijven computers zelf tekst? (Kinderlezing)Thomas Winters
Deze kinderlezing over taaltechnologie werd gegeven door Thomas Winters op 26 maart 2023 op ScienceVille te Leuven.
Het had de volgende beschrijving:
Schrijf jij graag verhalen? Improviseer je wel eens hele scènes? Wist je dat computers dat tegenwoordig óók kunnen? Ontdek hoe ze dat kunnen in deze interactieve lezing vol improvisatie en creatief schrijven met artificiële intelligentie!
This talk is about using AI as your creative partner, both for text as well as images.
It was presented by Thomas Winters on the 14th of February 2023 to the VRT Creative Lab
This talk was presented at "Night of the Prompts" by Thomas Winters on the 21th of December 2022.
The talk contains a brief history of image generators and prompt engineering tricks and applications.
How to Attract & Survive Media Attention as PhDThomas Winters
This talk was given on the 24th of November for the Leuven.AI institute with some tips & tricks for attracting & surviving media attention as a PhD student, based on experiences from Thomas Winters.
How can AI be a creative partner for PR & marketing?Thomas Winters
This talk was given on 15 november 2022 by Thomas Winters at Ketchum to teach them about the capabilities of current creative AI techniques for marketing & PR purposes.
Beter leren praten met Artificiële IntelligentieThomas Winters
Deze presentatie werd gegeven op 12 november 2022 op de Nacht van de Vrijdenker in de Vooruit in Gent.
Het gaat over de recentste generatie artificiele intelligentie zoals GPT-3 en DALL-E, en hoe je hiertegen best praat (prompt engineering). Daarna worden enkele hulpmiddelen aangereikt om AI te ontmaskeren.
Computational Humor: Can a machine have a sense of humor (2022)Thomas Winters
Can computers have a sense of humor? In this talk, we discuss humor theory, some symbolic humor generation methods and then showcase how prompt engineering can help generate humor automatically.
This talk has been given multiple times by Thomas Winters. This particular version has been personalized for the keynote talk of the postgraduate AI students graduation on the 13th of September 2022.
More information of this talk on https://thomaswinters.be/talk/2022kulak
Thomas Winters en Jeroen Baert speelden "TorfsBot Or Not?" op de Nerdland Openingsnight 2022 voor 1500+ nerds! https://www.nerdlandfestival.be/programma-item/nerdland-opening-night-met-alle-nerdlanders
This slideshow was originally presented by Thomas Winters on the 21th of May 2022 at the ALAN hackaton, where they built an AI actor. More info: https://www.facebook.com/events/1386001341878142
The slideshow shows some techniques that might inspire to create AI-powered theatre robots & generators.
Computational Humor: Can a machine have a sense of humor? (2020)Thomas Winters
Can computers have a sense of humor? In this talk, we discuss some dimensions of computational humor, where the research field stands and showcase some of Thomas Winters' work in this field.
This talk has been given multiple times by Thomas Winters, in particular on the 11th of December 2020 as a DTAI seminar (KU Leuven's Declarative Languages and Artificial Intelligence Research lab)
More information of this talk on https://thomaswinters.be/talk/2020dtai
Abstract: Can a machine have a sense of humor? At first glance, this question may seem paradoxical, given that humor is an intrinsically human trait. By limiting the scope to specific types of jokes and by hand-coding rules for them, researchers generally have been able to create several methods for detecting and generating humor. Recently, large scale pre-trained language models like BERT, GPT-2/GPT-3 and our own Dutch RobBERT model opened the way for learning even better insights into humor. In this talk, we provide an overview of the history of computational humor, discuss several types of humor tasks that have been automated using artificial intelligence, illustrate several useful applications of computational humor and position several of our own research projects in this field.
Survival of the Wittiest: Evolving Satire with Language ModelsThomas Winters
This talk was originally presented by Thomas Winters on the 18th of September 2021 at the 12th International Conference on Computational Creativity.
More information can be found on thomaswinters.be/talk/2021iccc
Abstract: Large pre-trained transformer-based language models have revolutionized the field of natural language processing in recent years. While BERT-like models perform exceptionally well for analytical tasks such as classification and regression, their text generation capabilities are usually limited to predicting tokens within a given context. In this paper, we introduce GALMET, a model that generates text by using genetic algorithms with BERT-like language models for evolving text. We use GALMET with the RoBERTa language model to automatically evolve real headlines into more satirical headlines. This is achieved by adapting the masked language head to the headlines domain for the mutation operator and finetuning a regression head to distinguish headlines from satire for the fitness function. We evaluated our system by comparing generated satirical headlines against human-edited headlines and just the fine-tuned masked language head. We found that while humans generally outperform the model, generations by GALMET are also often preferred over human-edited headlines. However, we also found that only using the fine-tuned masked language model gives slightly preferred satire due to generating more readable sentences. GALMET is thus a first step towards a new way of creating text generators using masked language models by transforming text guided by scores from another language model.
Discovering Textual Structures: Generative Grammar Induction using Template T...Thomas Winters
This talk was originally presented by Thomas Winters on the 10th of September 2020 at the 11th International Conference on Computational Creativity (ICCC20).
More information can be found on https://thomaswinters.be/talk/2020iccc
Abstract: Natural language generation provides designers with methods for automatically generating text, e.g. for creating summaries, chatbots and game content. In practise, text generators are often either learned and hard to interpret, or created by hand using techniques such as grammars and templates. In this paper, we introduce a novel grammar induction algorithm for learning interpretable grammars for generative purposes, called Gitta. We also introduce the novel notion of template trees to discover latent templates in corpora to derive these generative grammars. By using existing human-created grammars, we found that the algorithm can reasonably approximate these grammars using only a few examples. These results indicate that Gitta could be used to automatically learn interpretable and easily modifiable grammars, and thus provide a stepping stone for human-machine co-creation of generative models.
Dutch Humor Detection by Generating Negative ExamplesThomas Winters
This talk was originally presented by Thomas Winters on the 20th of November 2020 at the 29th Belgian Dutch Conference on Machine Learning (Benelearn 2020). The conference awarded this presentation the "Best Video Award".
A video of this talk is also available on https://www.youtube.com/watch?v=U1cShms67ec
More information, see https://thomaswinters.be/talk/2020benelearn
Abstract:
TorfsBot or Not? Evaluating User Perception on Imitative Text Generation (CLI...Thomas Winters
This talk was presented by Thomas Winters at the 33rd Computational Linguistics in the Netherlands conference.
Abstract:
Mimicking an individual's writing style using automated text generation approaches presents a challenge in determining the optimal level of imitation versus exaggeration. This study investigates the believability and user interaction of a text generator employing Markov models and dynamic templates in comparison to source data. Using the TorfsBot Twitterbot, which emulates the writing style of the Belgian professor Rik Torfs, we developed a secondary Twitterbot, \"TorfsBot or Not?”, that conducted daily polls asking users to identify whether a tweet originated from Rik Torfs or TorfsBot. The study collected 43K votes from approximately 500 polls. The findings reveal that participants correctly identified the source of the tweets 71% of the time, with majority votes inaccurately attributing the source in 14% of the polls. Furthermore, we observed a positive correlation between the number of interactions on the source tweet and the perceived believability that the tweet originated from Rik Torfs. Our results suggest that even relatively simple text generation models can approximately replicate a target's writing style, and that a closer approximation to the source material may positively influence user engagement.
Prompt engineering: de kunst van het leren communiceren met AI (Juni 2023)Thomas Winters
Deze talk werd gebracht aan de VRT op 23 juni 2023 door Thomas Winters.
De presentatie leert een basis aan prompt engineering technieken voor ChatGPT en GPT-4, alsook voor afbeeldinggenerators zoals DALL-E, StableDiffusion & Midjourney
Hoe werken tekstgenerators? (Special Guest in Lieven Scheire's AI voorstelling)Thomas Winters
Deze presentatie werd gegeven door Thomas Winters op 26 mei 2023 in Lieven Scheire's voorstelling over Artificiële Intelligentie.
Meer informatie: https://thomaswinters.be/talk/2023nerdlandfestival-2
Deze presentatie werd gegeven op 27 mei 2023 op het Nerdland Festival door Thomas Winters als onderdeel van de kindershow van Jeroen Baert en Els Aerts.
We visualiseren kinderverhalen nadat ze eerst zin per zin zelf verhalen verzonnen, en tonen hoe AI tegenwoordig zulke tekeningen zelf kan maken. Dan laten we ze verhalen met AI schrijven, en leggen we uit hoe zulke taalmodellen leerden door volgende woorden te voorspellen.
Meer informatie: https://thomaswinters.be/talk/2023nerdlandfestival-3
How do you teach computers humor + Text Generators as Creative Partners (May ...Thomas Winters
This guest lecture was given on the 10th of May 2023 at the "Computational Creativity" class of prof. Tim Van de Cruys & on the 16th of May 2023 for the "Humor and Creativity in Language" class by prof. Kurt Feyaerts.
The first part provides an overview on computational humor with a focus on the research work of Thomas Winters.
The second part shows how to generate humor using prompt engineering on GPT models like GPT-4 and ChatGPT.
Hoe schrijven computers zelf tekst? (Kinderlezing)Thomas Winters
Deze kinderlezing over taaltechnologie werd gegeven door Thomas Winters op 26 maart 2023 op ScienceVille te Leuven.
Het had de volgende beschrijving:
Schrijf jij graag verhalen? Improviseer je wel eens hele scènes? Wist je dat computers dat tegenwoordig óók kunnen? Ontdek hoe ze dat kunnen in deze interactieve lezing vol improvisatie en creatief schrijven met artificiële intelligentie!
This talk is about using AI as your creative partner, both for text as well as images.
It was presented by Thomas Winters on the 14th of February 2023 to the VRT Creative Lab
This talk was presented at "Night of the Prompts" by Thomas Winters on the 21th of December 2022.
The talk contains a brief history of image generators and prompt engineering tricks and applications.
How to Attract & Survive Media Attention as PhDThomas Winters
This talk was given on the 24th of November for the Leuven.AI institute with some tips & tricks for attracting & surviving media attention as a PhD student, based on experiences from Thomas Winters.
How can AI be a creative partner for PR & marketing?Thomas Winters
This talk was given on 15 november 2022 by Thomas Winters at Ketchum to teach them about the capabilities of current creative AI techniques for marketing & PR purposes.
Beter leren praten met Artificiële IntelligentieThomas Winters
Deze presentatie werd gegeven op 12 november 2022 op de Nacht van de Vrijdenker in de Vooruit in Gent.
Het gaat over de recentste generatie artificiele intelligentie zoals GPT-3 en DALL-E, en hoe je hiertegen best praat (prompt engineering). Daarna worden enkele hulpmiddelen aangereikt om AI te ontmaskeren.
Computational Humor: Can a machine have a sense of humor (2022)Thomas Winters
Can computers have a sense of humor? In this talk, we discuss humor theory, some symbolic humor generation methods and then showcase how prompt engineering can help generate humor automatically.
This talk has been given multiple times by Thomas Winters. This particular version has been personalized for the keynote talk of the postgraduate AI students graduation on the 13th of September 2022.
More information of this talk on https://thomaswinters.be/talk/2022kulak
Thomas Winters en Jeroen Baert speelden "TorfsBot Or Not?" op de Nerdland Openingsnight 2022 voor 1500+ nerds! https://www.nerdlandfestival.be/programma-item/nerdland-opening-night-met-alle-nerdlanders
This slideshow was originally presented by Thomas Winters on the 21th of May 2022 at the ALAN hackaton, where they built an AI actor. More info: https://www.facebook.com/events/1386001341878142
The slideshow shows some techniques that might inspire to create AI-powered theatre robots & generators.
Computational Humor: Can a machine have a sense of humor? (2020)Thomas Winters
Can computers have a sense of humor? In this talk, we discuss some dimensions of computational humor, where the research field stands and showcase some of Thomas Winters' work in this field.
This talk has been given multiple times by Thomas Winters, in particular on the 11th of December 2020 as a DTAI seminar (KU Leuven's Declarative Languages and Artificial Intelligence Research lab)
More information of this talk on https://thomaswinters.be/talk/2020dtai
Abstract: Can a machine have a sense of humor? At first glance, this question may seem paradoxical, given that humor is an intrinsically human trait. By limiting the scope to specific types of jokes and by hand-coding rules for them, researchers generally have been able to create several methods for detecting and generating humor. Recently, large scale pre-trained language models like BERT, GPT-2/GPT-3 and our own Dutch RobBERT model opened the way for learning even better insights into humor. In this talk, we provide an overview of the history of computational humor, discuss several types of humor tasks that have been automated using artificial intelligence, illustrate several useful applications of computational humor and position several of our own research projects in this field.
Survival of the Wittiest: Evolving Satire with Language ModelsThomas Winters
This talk was originally presented by Thomas Winters on the 18th of September 2021 at the 12th International Conference on Computational Creativity.
More information can be found on thomaswinters.be/talk/2021iccc
Abstract: Large pre-trained transformer-based language models have revolutionized the field of natural language processing in recent years. While BERT-like models perform exceptionally well for analytical tasks such as classification and regression, their text generation capabilities are usually limited to predicting tokens within a given context. In this paper, we introduce GALMET, a model that generates text by using genetic algorithms with BERT-like language models for evolving text. We use GALMET with the RoBERTa language model to automatically evolve real headlines into more satirical headlines. This is achieved by adapting the masked language head to the headlines domain for the mutation operator and finetuning a regression head to distinguish headlines from satire for the fitness function. We evaluated our system by comparing generated satirical headlines against human-edited headlines and just the fine-tuned masked language head. We found that while humans generally outperform the model, generations by GALMET are also often preferred over human-edited headlines. However, we also found that only using the fine-tuned masked language model gives slightly preferred satire due to generating more readable sentences. GALMET is thus a first step towards a new way of creating text generators using masked language models by transforming text guided by scores from another language model.
Discovering Textual Structures: Generative Grammar Induction using Template T...Thomas Winters
This talk was originally presented by Thomas Winters on the 10th of September 2020 at the 11th International Conference on Computational Creativity (ICCC20).
More information can be found on https://thomaswinters.be/talk/2020iccc
Abstract: Natural language generation provides designers with methods for automatically generating text, e.g. for creating summaries, chatbots and game content. In practise, text generators are often either learned and hard to interpret, or created by hand using techniques such as grammars and templates. In this paper, we introduce a novel grammar induction algorithm for learning interpretable grammars for generative purposes, called Gitta. We also introduce the novel notion of template trees to discover latent templates in corpora to derive these generative grammars. By using existing human-created grammars, we found that the algorithm can reasonably approximate these grammars using only a few examples. These results indicate that Gitta could be used to automatically learn interpretable and easily modifiable grammars, and thus provide a stepping stone for human-machine co-creation of generative models.
Dutch Humor Detection by Generating Negative ExamplesThomas Winters
This talk was originally presented by Thomas Winters on the 20th of November 2020 at the 29th Belgian Dutch Conference on Machine Learning (Benelearn 2020). The conference awarded this presentation the "Best Video Award".
A video of this talk is also available on https://www.youtube.com/watch?v=U1cShms67ec
More information, see https://thomaswinters.be/talk/2020benelearn
Abstract:
Dutch Humor Detection by Generating Negative Examples
Hoe leer je computers humor?
1. 1
Hoe leer je
computers humor?
Thomas Winters
PhD Student at KU Leuven & FWO Fellow
@thomas_wint
thomaswinters.be
2. 2
One you brush and rake,
What is the difference between
leaves and a car?
the other you rush and brake.
3. 3
Wat is het verschil is tussen een
gewoon festival en het Nerdland
Festival?
Als je op het Nerdland Festival alcohol
wil krijgen, moet je je bestelling
afwegen in mol!
9. 9
Mijn ex mist me nog steeds, maar ze mikt steeds beter
En toen hebben ze een duif gebruikt om een bom op een schip te laten vallen
Humor co-creatie
Specifieker zijn kan helpen bij grappigheid, bv.
“ingezet om een explosief op een
nietsvermoedend schip te laten ploffen”
Grammarly / Clippy voor mopjes
Grappige bedenking
“ironisch om het teken van vrede te
gebruiken als oorlogswapen”
10. 10
Reden 2: AI assistenten moeten
herkennen wanneer je grapt
Mensen behandelen
assistenten al menselijk
(“alsjeblieft”, “dankjewel”) [1]
[1] https://www.thinkwithgoogle.com/consumer-insights/voice-assistance-consumer-experience/
[2] Laughter’s Influence on the Intimacy of Self-Disclosure, Gray, A.W., Parkinson, B. & Dunbar, R.I. Hum Nat (2015) 26: 28.
Humor is belangrijk in
vriendschap [2]
11. 11
Reden 3: Bestuderen van humor theorie
We weten nog altijd niet
helemaal hoe humor werkt
Artificiële Intelligentie kan helpen
meten & begrijpen!
Humour
14. 14
Waarom hebben mensen humor?
huh?
aha!
that’s
funny
Brein beloont opmerken &
oplossen van incongruenties
+ teken van intellectuele &
linguistische vaardigheden
+ moeilijk vervalsbaar vertoon
van persoonlijke waarden
= Evolutionair voordeel!
h
15. 15
Incongruëntie-Resolutie Theorie
Based on: Ritchie, G. (1999). Developing the incongruity-resolution theory.
Obvious
Interpretatie
Verborgen
Interpretatie
Ik wil sterven zoals mijn
opa: rustig in zijn slaap.
Niet zoals zijn
schreeuwende
passagiers
Setup
Punchline
16. 16
Mens-gefocuste definitie
Computer moet niet alleen de twee
mentale beelden opmerken
Obvious
Interpretatie
Verborgen
Interpretatie
Maar ook dat ze voor mensen niet
te moeilijk of te makkelijk zijn!
20. 20
Eerste humor generator: Sjablonen & Schema’s
What’s <CharacteristicNP>
and <Characteristic1> ?
A <Word1> <Word2>.
Noun Phrase
Word1 Word2
Homophone1
Characteristic1 CharacteristicNP
What’s green and
bounces?
A spring cabbage.
spring (season)
to bounce
spring (elastic body)
cabbage
green
spring cabbage
Binsted, K., & Ritchie, G. (1994). An implemented model of punning riddles
22. 22
MopjesBot
Het is een <Beschrijving1>
en <Beschrijving2> ?
<EersteDeel> <Rijmwoord>.
Naam
EersteDeel LaatsteDeel
Beschrijving2
Beschrijving1 Rijmwoord
Het is een Belgische politica
en komt tot net boven de
enkel?
Maggie De Sok.
Maggie De
Belgische politica
Block
Komt tot net
boven de enkel
Maggie De Block
Sok
24. 24
Tel hoe vaak woorden na andere komen
1. Tel in alle Rik Torfs teksten hoe vaak een woord
volgt op de vorige paar woorden
2. Begin met beginwoorden van Rik & neem steeds
willekeurig mogelijk volgend woord
“gevolgd door”
4: een
2: zijn
1: iemand
1: acht
Beste,
25. 25
OF: neem patroon over door kernwoorden te vervangen
Neem tweet & column
Vervang kernwoorden van tweet door zelfde type woorden
Rik Torfs Column: (...) Het feit dat het voormalige Opperwezen dit nieuw
verworven inzicht niet probeert te ontkennen, zien zij als een bewijs van hun
gelijk. Ook met de Kerk zit het niet snor. Norse pausen.
27. 27
Eerste humor detectors (2005)
Gebruikte simpel AI model + simpele humorkenmerken
(alliteratie, volwassen jargon...)
Taak: onderscheid one-line mopjes van
nieuws, neutrale tekst en gezegden
Mihalcea, R., & Strapparava, C. (2005). Making computers laugh: Investigations in automatic humor recognition.
28. 28
Maar is dit wel écht humordetectie?
Nieuws & gezegden hebben compleet verschillende soorten
woorden & lengte dan mopjes!
AI kan valsspelen met woordfrequenties in datasets
29. 29
Mopjes zijn fragiel!
“Ober, kunt u die vlieg uit mijn soep halen?
Want ik eet liever alleen.”
schrik politie
man
Maak kapotte mopjes door
kernwoorden te veranderen (~ TorfsBot)
Woordfrequentie trucjes als onderscheid werken nu niet meer!
Winters T., Delobelle P. (2020). Dutch humor detection by generating negative examples. BNAIC/Benelearn2020
30. 30
Voorbeelden van kapotte mopjes
Het is groen en het is een mummie?
Kermit de Waterkant
Wat is het toppunt van principe?
1) Wachten totdat een Nederlander gaat
twijfelen
2) Een Zuster met een autoladder
3) Een brandwacht brandmeester met een
brandmeester van 9 maanden
“Ober, kunt u die schrik uit mijn politieman
halen? Want ik eet liever alleen.”
"Mijn hond is heel vreselijk: Hij schreeuwt mij
iedere zus de broer.“
"Maar dat is toch niet zo heel vreselijk?“
"Jawel, want ik heb geen rapport!"
Wat staat er midden in het bos?
De kapper.
Er loopt een super vriendelijk blondje langs
een armband. Last er een toonbank: “zo,
waargaan die mooie mannen heen?” Blondje:
“naar de barkeeper als er niets tussen komt…”
Hoe heet de vrouw van Sinterklaas?
Keukentafel.
"Twee tanden zwemmen in de zee en ze zien
een stamgast op een stamgast. De ene raad
zegt tegen de andere raad: 'Hé kijk! Ons eten
op een bord!'"
31. 31
94% 94%
47%
99% 96%
89%
Jokes vs News Jokes vs Proverbs Jokes vs Generated Jokes
Classificering van mopjes versus niet-mopjes
LSTM RobBERT
Veel moeilijkere dataset
Échtere humordetectie?
Winters T., Delobelle P. (2020). Dutch humor detection by generating negative examples. BNAIC/Benelearn2020
38. 38
Je kan zelf stappen specifiëren
Je bent een wereld-expert in comedy met een bewezen track record in het schrijven van
hilarische one-liners in het Nederlands. Ik zoek naar goede mopjes voor gegeven topics. Je
taak is om stap voor stap een grappige mop te schrijven door brainstorms van associaties
en redeneerprocessen neer te schrijven, om dan enkele punchlines te bedenken voor een
topic.
Altijd als je een mop schrijft over een onderwerp, volg je de volgende stappen:
1. Onderwerpen: lijst de sleutelwoorden op als kommalijst
2. Associaties: Brainstorm een lijst aan associaties aan de onderwerpen uit stap 1 als
komma lijst.
3. Link: Schrijf een grappige link tussen twee associaties uit stap 2.
4. Punchlines: Schrijf drie punchlines op basis van de link gevonden in stap 3.
5. Beste punchline: selecteer de beste punchline uit stap 4.
6. Schrijf drie setups die passen bij de punchline uit stap 5
7. Volledige mop: selecteer de beste setup uit stap 6, en maak een vloeiende overgang
naar de beste punchline uit stap 5.
40. 40
Kunnen computers een gevoel voor humor hebben?
Computers kunnen
specifieke humor
instructies volgen
Humor is intrinsiek
menselijke
Grote taalmodellen
leiden de revolutie
42. 42
Hoe schrijven
computers humor?
Thomas Winters
PhD Student at KU Leuven & FWO Fellow
@thomas_wint
thomaswinters.be
Slides: thomaswinters.be/talk/2023nerdlandfestival
Editor's Notes
Tijd voor een raadseltje!
At Nerdland Festival, the only mosh pit you’ll find is a group of scientists arguing over quantum mechanics, the most popular attraction is the 'Awkward Small Talk' booth, and the only drugs available are caffeine and Adderall.
humor is iets inherent menselijk
alle samenlevingen doen aan humor, en mensen zijn de enige diersoort grappen maken voor elkaar
Maar desalniettemin is er een lange lijn aan research aan hoe we computers kunnen leren grappen schrijven en detecteren
Haha and Aha are very similar
Markov modellen: kijk naar vorige paar woorden en neem willekeurig een statistisch mogelijk woord
Op het einde hebben we dus gezien waarom humor iets intrinsiek menselijk is,
hoe computers met humorinstructies toch humor kunnen schrijven
en hoe taalmodellen een weg naar de revolutie leiden.
Dus hoewel humor moeilijk blijft voor computers, laten grote taalmodellen hen eindelijk toe samen met ons mee te lachen
Dankjewel
So for the foreseeable future, it seems like humans might have the last laugh. Thank you very much