What is computational humor?

Stephen M. Walker II · Co-Founder / CEO

What is computational humor?

Computational humor is a branch of computational linguistics and artificial intelligence that uses computers in humor research. It involves the utilization of algorithms and AI techniques to comprehend, generate, and appreciate humor. In the context of artificial intelligence, computational humor involves the development of systems capable of understanding, interpreting, and creating humorous content.

The field of computational humor has its roots in early attempts to imbue machines with the ability to comprehend and produce humor. The history of computational humor can be traced back to the early developments in natural language processing (NLP) and AI. As technology advanced, the exploration of computational humor expanded, leading to the emergence of dedicated research areas and applications within AI.

One of the practical applications of computational humor is the development of joke-generation systems. For instance, the STANDUP software is a "language playground", with which a child can explore sounds and meanings by making up jokes, with computer assistance. Another example is the PAUL BOT system, a computational humorous system designed to generate puns.

Despite the progress made in the field, achieving a true and full computational sense of humor is still a challenging undertaking. This is due to the complexity and subjectivity of humor, which makes it difficult for machines to fully grasp and replicate. However, the ongoing research in computational humor underscores the complex abilities underlying humor and illuminates specific abilities, such as joke-making, detecting and generating laughter, and using irony in interactions.

Computational humor is a fascinating and evolving concept that holds both promise and challenges within the realm of AI. It has the potential to humanize interactions between individuals and AI systems, fostering more natural and engaging experiences for users.

How do modern chat assistants handle humor?

Many conversational systems include humor as part of their persona or response style. This is often implemented through prompt design, style control, or fine-tuning on humorous data rather than a dedicated humor engine. Models can generate jokes, puns, or playful responses, but they still struggle with timing, cultural nuance, and audience sensitivity.

Humor in assistants is usually evaluated by user satisfaction rather than formal metrics, and it can be risky in professional settings where clarity and tone matter. As a result, many deployments offer adjustable tone settings so teams can balance friendliness with precision.

Grok from xAI is a modern example that emphasizes a witty persona inspired by The Hitchhiker's Guide to the Galaxy. It shows how humor can be incorporated into an assistant's style, even when the underlying model is general-purpose rather than a dedicated humor system.

More terms

Continue exploring the glossary.

Learn how teams define, measure, and improve LLM systems.

Glossary term

What is Interpretability in AI and Why Does It Matter?

Interpretability in AI refers to the extent to which a human can understand the cause of a decision made by an AI model. It is crucial for trust, compliance with regulations, and diagnosing and improving model performance. Techniques for improving interpretability include feature importance scores, visualization tools, and model-agnostic methods.
Read term

Glossary term

What is commonsense reasoning?

Commonsense reasoning in AI refers to the ability of an artificial intelligence system to understand, interpret, and reason about everyday situations, objects, actions, and events that are typically encountered in human experiences and interactions. This involves applying general knowledge or intuitive understanding of common sense facts, rules, and relationships to make informed judgments, predictions, or decisions based on the given context or scenario.
Read term

It's time to build

Collaborate with your team on reliable Generative AI features.
Want expert guidance? Book a 1:1 onboarding session from your dashboard.

Talk to sales