SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2404.19509 · 2024

Do Large Language Models Understand Conversational Implicature -- A case study with a chinese sitcom

arXiv · PDF · Open in the Atlas

Code that ran

2 of 6 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 1 failure of our instrument; 4 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2404.19509.json · badge: /api/ran/2404.19509.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
sjtu-compling/llm-pragmatics canonical (classifier label)
classifier basis: census
2 ran · 4 no recorded run
FunctionStatusWhere it lives
generate_prompt Ran
ran; our contract draft was wrong, not the code
sjtu-compling/llm-pragmatics/eval_logit/query.py
pointer only (licence: NONE) · get_code("e5a280210073469b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, sjtu-compling/llm-pragmatics when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

softmax Ran
ran, violated the contract we drafted
sjtu-compling/llm-pragmatics/eval_logit/query.py
pointer only (licence: NONE); the stored copy get_code serves, from jennhu/lm-pragmatics, is pointer only (licence: NONE) · get_code("9c4be464cbe63fba")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, sjtu-compling/llm-pragmatics when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_Chat_responses Not yet run
unverified (harvested, no recorded run)
sjtu-compling/llm-pragmatics/eval_chat/collect_api.py
pointer only (licence: NONE) · get_code("26701774e6c63a63")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, sjtu-compling/llm-pragmatics when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

get_collection_responses Not yet run
unverified (harvested, no recorded run)
sjtu-compling/llm-pragmatics/eval_chat/collect_api.py
pointer only (licence: NONE) · get_code("945f77d4a52abcde")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, sjtu-compling/llm-pragmatics when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

get_gemini Not yet run
unverified (harvested, no recorded run)
sjtu-compling/llm-pragmatics/eval_chat/collect_api.py
pointer only (licence: NONE) · get_code("b48bcda30402796b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, sjtu-compling/llm-pragmatics when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

load Not yet run
unverified (harvested, no recorded run)
sjtu-compling/llm-pragmatics/eval_logit/query.py
pointer only (licence: NONE) · get_code("71a8dd89d6cbe41b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, sjtu-compling/llm-pragmatics when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 6 samples lifted from this paper's linked repositories, 6 carry a function identity and 0 do not. Of the 6 distinct functions with an identity, 1 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 0 the same month, 0 later) and 5 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
softmax 2 other papers
2 dated earlier
1806.06498 (2018-06)
Conditional Affordance Learning for Driving in Urban Environments
2212.06801 (2022-12)
A fine-grained comparison of pragmatic language understanding in humans and language models

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Understanding the non-literal meaning of an utterance is critical for large language models (LLMs) to become human-like social communicators. In this work, we introduce SwordsmanImp, the first Chinese multi-turn-dialogue-based dataset aimed at conversational implicature, sourced from dialogues in the Chinese sitcom $\textit{My Own Swordsman}$. It includes 200 carefully handcrafted questions, all annotated on which Gricean maxims have been violated. We test eight close-source and open-source LLMs under two tasks: a multiple-choice question task and an implicature explanation task. Our results show that GPT-4 attains human-level accuracy (94%) on multiple-choice questions. CausalLM demonstrates a 78.5% accuracy following GPT-4. Other models, including GPT-3.5 and several open-source models, demonstrate a lower accuracy ranging from 20% to 60% on multiple-choice questions. Human raters were asked to rate the explanation of the implicatures generated by LLMs on their reasonability, logic and fluency. While all models generate largely fluent and self-consistent text, their explanations score low on reasonability except for GPT-4, suggesting that most LLMs cannot produce satisfactory explanations of the implicatures in the conversation. Moreover, we find LLMs' performance does not vary significantly by Gricean maxims, suggesting that LLMs do not seem to process implicatures derived from different maxims differently. Our data and code are available at https://github.com/sjtu-compling/llm-pragmatics.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2404.19509")
get_code_for_paper("2404.19509")
have("2404.19509")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2404.19509.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2404.19509.svg)](https://syntology.ai/paper/2404.19509)

Connect an agent — have() is free.