Dataset Viewer
Auto-converted to Parquet
pun
string
prefix
string
definition
string
answer
list
phonetic
int64
realistic
int64
typology
list
__index_level_0__
int64
What do you call a rat that thinks logically? rational
rat
thinks logically
[ "rational" ]
0
1
[ "A" ]
0
What do you call a pot that is strong? potent
pot
is strong
[ "potent" ]
0
1
[ "A" ]
1
What do you call a ham that drives nails? hammer
ham
drives nails
[ "hammer" ]
1
0
[ "N" ]
2
What do you call a star that is newly established business? startup
star
is newly established business
[ "startup", "starter" ]
1
0
[ "N", "N" ]
3
What do you call a sit that is a set of circumstances? situation
sit
is a set of circumstances
[ "situation" ]
0
0
[ "N" ]
4
What do you call a chip that is always cheerful? chipper
chip
is always cheerful
[ "chipper" ]
1
0
[ "A" ]
5
What do you call a hat that is very disliked? hated
hat
is very disliked
[ "hated" ]
0
0
[ "A" ]
7
What do you call a bed that causes chaos? bedlam
bed
causes chaos
[ "bedlam" ]
1
0
[ "N" ]
8
What do you call a star that is surprising? startling
star
is surprising
[ "startling" ]
1
0
[ "A" ]
9
What do you call a car that is bright red? carmine
car
is bright red
[ "carmine" ]
1
1
[ "A" ]
10
What do you call a bar that rules over others? baron
bar
rules over others
[ "baron" ]
1
0
[ "N" ]
11
What do you call a pig that adds color? pigment
pig
adds color
[ "pigment" ]
1
0
[ "N" ]
12
What do you call a car that causes destruction? carnage
car
causes destruction
[ "carnage" ]
1
0
[ "N" ]
13
What do you call a car that fixes things? carpenter
car
fixes things
[ "carpenter" ]
1
0
[ "N" ]
14
What do you call a ram that goes on a destructive spree? rampage
ram
goes on a destructive spree
[ "rampage", "ramstorm" ]
1
0
[ "N", "N" ]
15
What do you call a sand that is worn on the foot? sandal
sand
is worn on the foot
[ "sandal" ]
1
0
[ "N" ]
16
What do you call a card that is a religious official? cardinal
card
is a religious official
[ "cardinal" ]
1
0
[ "A" ]
17
What do you call a cat that blocks vision? cataract
cat
blocks vision
[ "cataract" ]
1
0
[ "N" ]
18
What do you call a pin that is the highest point or peak? pinnacle
pin
is the highest point or peak
[ "pinnacle" ]
1
0
[ "N" ]
19
What do you call a cub that practices a modern art style? cubist
cub
practices a modern art style
[ "cubist" ]
0
0
[ "N" ]
21
What do you call a car that relates to physical desires? carnal
car
relates to physical desires
[ "carnal" ]
1
0
[ "A" ]
22
What do you call a gas that is related to the stomach? gastric
gas
is related to the stomach
[ "gastric" ]
1
0
[ "A" ]
24
What do you call a fan that is stylish? fancy
fan
is stylish
[ "fancy" ]
1
1
[ "A" ]
25
What do you call a car that draws maps? cartographer
car
draws maps
[ "cartographer" ]
1
0
[ "A" ]
26
What do you call a band that steals? bandits
band
steals
[ "bandits" ]
1
1
[ "N" ]
27
What do you call a bar that lifts weights? barbell
bar
lifts weights
[ "barbell" ]
1
0
[ "N" ]
28
What do you call a bar that is used to move things? barrow
bar
is used to move things
[ "barrow" ]
1
0
[ "N" ]
29
What do you call a mat that has fully developed traits or qualities? mature
mat
has fully developed traits or qualities
[ "mature" ]
1
0
[ "A" ]
30
What do you call a pan that is very nervous? panicked
pan
is very nervous
[ "panicked" ]
1
0
[ "A" ]
31
What do you call a cab that holds things? cabinet
cab
holds things
[ "cabinet" ]
1
0
[ "A" ]
32
What do you call a star that is surprised? startled
star
that is shocked
[ "startled" ]
1
0
[ "N" ]
33
What do you call a car that moves cautiously? careful
car
moves cautiously
[ "careful" ]
0
1
[ "A" ]
34
What do you call a rat that confirms or approves formally? ratification
rat
gives formal consent to something
[ "ratification" ]
1
0
[ "A" ]
35
What do you call a twin that glistens? twinkly
twin
glistens
[ "twinkly" ]
1
0
[ "N" ]
36
What do you call a box that fights in a ring? boxer
box
fights in a ring
[ "boxer" ]
1
0
[ "A" ]
37
What do you call a fig that has a clear shape or outline? figure
fig
has a clear shape or outline
[ "figure" ]
1
0
[ "N" ]
38
What do you call a cat that is a classification? category
cat
is a classification
[ "category" ]
1
0
[ "N" ]
39
What do you call a ant that is humorous and playful? antic
ant
is humorous and playful
[ "antic" ]
1
1
[ "N" ]
40
What do you call a jam that is a large celebration? jamboree
jam
is a large celebration
[ "jamboree" ]
1
0
[ "A" ]
41
What do you call a man that comes with instructions? manual
man
comes with instructions
[ "manual" ]
1
0
[ "N" ]
42
What do you call a arm that stores weapons? armory
arm
stores weapons
[ "armory" ]
1
0
[ "N" ]
43
What do you call a arm that leads to peace? armistice
arm
leads to peace
[ "armistice" ]
1
0
[ "N" ]
44
What do you call a pen that has a strong liking? penchant
pen
has a strong liking
[ "penchant" ]
1
0
[ "N" ]
45
What do you call a jet that is by the shore? jetty
jet
is by the shore
[ "jetty" ]
1
0
[ "N" ]
46
What do you call a port that leads to another place? portal
port
leads to another place
[ "portal" ]
1
0
[ "N" ]
47
What do you call a car that is a festival? carnival
car
is a festival
[ "carnival" ]
1
0
[ "N" ]
48
What do you call a car that relates to an artery? carotid
car
relates to an artery
[ "carotid", "cardiovascular" ]
1
0
[ "N", "A" ]
49
What do you call a bar that is a good deal? bargain
bar
is a good deal
[ "bargain" ]
1
1
[ "N" ]
50
What do you call a van that disappears? vanishing
van
disappears
[ "vanishing" ]
1
1
[ "A" ]
51
What do you call a pen that incurs a fine or punishment? penalty
pen
incurs a fine or punishment
[ "penalty" ]
1
0
[ "N" ]
52
What do you call a arm that provides protection? armor
arm
that provides protection
[ "armor" ]
1
0
[ "N" ]
53
What do you call a fin that marks the end? finale
fin
marks the end
[ "finale" ]
1
0
[ "N" ]
55
What do you call a row that is loud and disorderly? rowdy
row
is loud and disorderly
[ "rowdy" ]
0
0
[ "A" ]
56
What do you call a bud that helps manage expenses? budget
bud
helps manage expenses
[ "budget" ]
1
0
[ "N" ]
57
What do you call a bat that is worn out or beaten? battered
bat
is worn out or beaten
[ "battered" ]
1
1
[ "A" ]
58
What do you call a cat that speeds up a reaction? catalyst
cat
speeds up a reaction
[ "catalyst" ]
1
0
[ "N" ]
59
What do you call a cat that crawls on multiple legs? caterpillar
cat
crawls on multiple legs
[ "caterpillar" ]
1
0
[ "N" ]
61
What do you call a gram that deals with language rules? grammar
gram
deals with language rules
[ "grammar" ]
1
0
[ "N" ]
62
What do you call a trap that has a polygonal shape? trapezoid
trap
has a polygonal shape
[ "trapezoid" ]
1
0
[ "N" ]
63
What do you call a pit that deserves sympathy? pitiable
pit
that is miserable
[ "pitiable" ]
1
0
[ "A" ]
64
What do you call a mat that is involved in a union or marriage? matrimony
mat
is involved in a union or marriage
[ "matrimony" ]
1
0
[ "N" ]
65
What do you call a bat that hits a ball? batter
bat
hits a ball
[ "batter" ]
1
0
[ "N" ]
66
What do you call a lip that is a type of biomolecule? lipid
lip
is a type of biomolecule
[ "lipid" ]
1
0
[ "N" ]
67
What do you call a bar that is under attack? barrage
bar
is under attack
[ "barrage" ]
1
1
[ "N" ]
68
What do you call a fin that is hard to please? finicky
fin
is hard to please
[ "finicky" ]
1
0
[ "A" ]
69
What do you call a pot that creates a magical brew? potion
pot
creates a magical brew
[ "potion" ]
0
0
[ "N" ]
70
What do you call a jar that is filled with complicated terms? jargon
jar
is filled with complicated terms
[ "jargon" ]
1
0
[ "N" ]
71
What do you call a bat that stores and supplies energy? battery
bat
stores and supplies energy
[ "battery" ]
1
0
[ "N" ]
72
What do you call a mat that arranges things in rows and columns? matrix
mat
arranges things in rows and columns
[ "matrix" ]
0
0
[ "N" ]
73
What do you call a cat that provides listings or records? catalog
cat
provides listings or records
[ "catalog" ]
1
0
[ "N" ]
74
What do you call a ant that opposes others? antagonist
ant
opposes others
[ "antagonist" ]
1
1
[ "N" ]
75
What do you call a cab that is a variety show? cabaret
cab
is a variety show
[ "cabaret" ]
1
0
[ "N" ]
78
What do you call a car that is sweet? caramel
car
is sweet
[ "caramel" ]
1
0
[ "N" ]
79
What do you call a bat that engages in a fight? battle
bat
engages in a fight
[ "battle" ]
1
1
[ "N" ]
80
What do you call a hand that is attractive? handsome
hand
is attractive
[ "handsome" ]
0
0
[ "A" ]
81
What do you call a bat that fights in groups? battalion
bat
fights in groups
[ "battalion" ]
1
0
[ "N" ]
82
What do you call a bot that studies plants? botanist
bot
studies plants
[ "botanist" ]
1
0
[ "N" ]
83
What do you call a card that is made of wool? cardigan
card
is made of wool
[ "cardigan" ]
1
0
[ "N" ]
84
What do you call a bar that involves trading goods or services? barter
bar
involves trading goods or services
[ "barter" ]
1
0
[ "N" ]
85
What do you call a scar that is in short supply? scarce
scar
is in short supply
[ "scarce" ]
1
0
[ "A" ]
86
What do you call a cap that adds words to images? caption
cap
adds words to images
[ "caption" ]
1
0
[ "N" ]
87
What do you call a leg that is mythical? legend
leg
is mythical
[ "legend" ]
0
0
[ "N" ]
88
What do you call a ban that treats wounds? bandage
ban
treats wounds
[ "bandage", "bandaid" ]
1
0
[ "N", "N" ]
89
What do you call a man that plays an instrument? mandolin
man
plays an instrument
[ "mandolin" ]
1
0
[ "N" ]
90
What do you call a dog that is persistent? dogged
dog
is persistent
[ "dogged" ]
1
1
[ "A" ]
91
What do you call a ham that carries things? hamper
ham
carries things
[ "hamper" ]
1
0
[ "N" ]
93
What do you call a fin that has an end? finite
fin
has an end
[ "finite" ]
0
0
[ "A" ]
94
What do you call a cup that causes you to fall in love? cupid
cup
causes you to fall in love
[ "cupid" ]
0
0
[ "N" ]
96
What do you call a tan that touches a curve at a point? tangent
tan
touches a curve at a point
[ "tangent" ]
1
0
[ "N" ]
97
What do you call a pan that offers a wide view? panorama
pan
offers a wide view
[ "panorama" ]
1
0
[ "N" ]
98
What do you call a war that authorizes actions? warrant
war
authorizes actions
[ "warrant" ]
1
0
[ "N" ]
99
What do you call a ban that is a formal meal? banquet
ban
is a formal meal
[ "banquet" ]
1
0
[ "N" ]
100
What do you call a cap that commands a ship? captain
cap
commands a ship
[ "captain" ]
1
0
[ "N" ]
101
What do you call a kit that is a room used for cooking? kitchen
kit
is a room used for cooking
[ "kitchen" ]
1
0
[ "N" ]
102
What do you call a bat that measures depth? bathymetry
bat
measures the depth of water
[ "bathymetry", "bathometer" ]
0
0
[ "N", "N" ]
103
What do you call a ear that is very serious? earnest
ear
is very serious
[ "earnest" ]
0
0
[ "A" ]
104
What do you call a son that is part of a poetry? sonnet
son
is part of a poetry
[ "sonnet" ]
0
0
[ "N" ]
105
What do you call a fur that heats the home? furnace
fur
heats the home
[ "furnace" ]
1
0
[ "N" ]
106
What do you call a pen that is a flag or banner? pennant
pen
is a flag or banner
[ "pennant" ]
1
0
[ "N" ]
107
What do you call a bat that directs music? baton
bat
directs an orchestra
[ "baton" ]
1
0
[ "N" ]
108
End of preview. Expand in Data Studio

Phunny: A Humor-Based QA Benchmark for Evaluating LLM Generalization

Welcome to Phunny, a humor-based question answering (QA) benchmark designed to evaluate the reasoning and generalization abilities of large language models (LLMs) through structured puns.

This repository accompanies our ACL 2025 main track paper:
"What do you call a dog that is incontrovertibly true? Dogma: Testing LLM Generalization through Humor"

To reproduce our experiments: Code available on GitHub

Overview

Phunny consists of 350 novel, manually curated structured puns, created through a two-stage process: creative human design followed by automated contamination checks to ensure novelty.

All puns follow the same strcuture:

What do you call a X that Y? XZ
  • X is a prefix (subword of XZ)
  • Y is a natural language definition of the answer XZ
  • XZ is the pun answer (that starts with the prefix X), meant to be humorous

For example:

What do you call a dog that is incontrovertibly true? Dogma
→ “Dog” (X) + “dogma” (XZ), where “dogma” means a set of incontrovertible truths.

We define three tasks to evaluate different aspects of LLM capabilities:

  • Pun Comprehension
    Can an LLM distinguish between coherent and nonsensical puns?

  • Pun Resolution
    Can an LLM infer the correct punchline based on the question?

  • Pun Generation
    Can an LLM produce novel Phunny-style puns? We test this in two modes:

    • Free: unconstrained generation
    • Constrained: generation based on a provided prefix X

Data Fields

  • pun: the complete pun (question/answer)
  • prefix: the subject of the question/pun
  • definition: the meaning of the question/pun
  • answer: the punchline
  • phonetic: whether the punchline is phonetically correlated (starts with same pronunciation) w.r.t. the prefix
  • realistic: whether the pun itself is real
  • typology: whether the prefix itself is a noun, adjective, or verb

Data Splits

This dataset has 3 splits: Main, Contaminated, and Few-shot.

Dataset Split Number of Instances Content
Main 350 set of puns used in our experiments to evaluate LLMs
Contaminated 20 list of Phunny-like puns already present on the web (excluded from our evaluation)
Few-shot 10 puns used as in-context exemples for the Resolution and Generation tasks

Cite article

@inproceedings{cocchieri-etal-2025-call,
    title = "``What do you call a dog that is incontrovertibly true? Dogma'': Testing {LLM} Generalization through Humor",
    author = "Cocchieri, Alessio  and
      Ragazzi, Luca  and
      Italiani, Paolo  and
      Tagliavini, Giuseppe  and
      Moro, Gianluca",
    editor = "Che, Wanxiang  and
      Nabende, Joyce  and
      Shutova, Ekaterina  and
      Pilehvar, Mohammad Taher",
    booktitle = "Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)",
    month = jul,
    year = "2025",
    address = "Vienna, Austria",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2025.acl-long.1117/",
    doi = "10.18653/v1/2025.acl-long.1117",
    pages = "22922--22937",
    ISBN = "979-8-89176-251-0",
    abstract = "Humor, requiring creativity and contextual understanding, is a hallmark of human intelligence, showcasing adaptability across linguistic scenarios. While recent advances in large language models (LLMs) demonstrate strong reasoning on various benchmarks, it remains unclear whether they truly adapt to new tasks like humans (i.e., generalize) or merely replicate memorized content. To explore this, we introduce Phunny, a new humor-based question-answering benchmark designed to assess LLMs' reasoning through carefully crafted puns. Our dataset is manually curated to ensure novelty and minimize data contamination, providing a robust evaluation of LLMs' linguistic comprehension. Experiments on pun comprehension, resolution, and generation reveal that most LLMs struggle with generalization, even on simple tasks, consistently underperforming the human baseline. Additionally, our detailed error analysis provides valuable insights to guide future research."
}
Downloads last month
47