PunGraph: Retrieval-Enhanced Phonetic-Semantic Graph Reasoning for Pun Understanding

Yuchen Su, Zijian Huang, Yaotian Shi, Shaoxin Zhong, Ruofan Wang +4 more
9/15/2026
cs.CL

Official code: ysu132/PunGraph (0 stars, last commit 2026-08-26).

Abstract

Puns are a challenging form of figurative language that exploit phonetic similarity and semantic ambiguity to convey multiple meanings. Although large language models (LLMs) demonstrate strong language understanding capabilities, they still struggle with pun reasoning due to limited phonetic modeling and uncontrolled end-to-end generation.

Show full abstract

We propose \textbf{PunGraph}, a retrieval-enhanced knowledge graph framework for pun understanding. PunGraph constructs a phonetic-semantic lexical graph using the Unisyn phonetic dictionary, IPA and G2P representations, and WordNet definitions, and retrieves candidate words or senses to constrain LLM reasoning within a structured candidate space. We further introduce \textbf{WebPun}, a new large-scale dataset containing 5,730 annotated heterographic and homographic puns. Experiments on SemEval-2017 and WebPun show that PunGraph consistently improves the performance of small-scale LLMs and achieves competitive results against strong proprietary models. Further analysis shows that retrieval-guided phonetic and semantic constraints effectively reduce common reasoning errors in pun interpretation, highlighting the benefits of integrating structured knowledge with LLMs. We release our code and dataset at https://github.com/ysu132/PunGraph.

View on arXivView PDF

Code Implementations(1)

ysu132/PunGraphOfficial100%
00Aug 23, 20263 months ago

Similar Papers

Cite this paper

@article{su2026pungraph,
  title  = {PunGraph: Retrieval-Enhanced Phonetic-Semantic Graph Reasoning for Pun Understanding},
  author = {Yuchen Su and Zijian Huang and Yaotian Shi and Shaoxin Zhong and Ruofan Wang and Mengze Li and Yonghua Zhu and Diana Benavides-Prado and Michael Witbrock},
  year   = {2026},
  eprint = {2609.16557},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2609.16557v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2609.16557.svg)](https://codeofpaper.com/paper/2609.16557)

Discussion