Papers › Testing the Ability of Language Models to Interpret Figurative Language

Testing the Ability of Language Models to Interpret Figurative Language

26 Apr 2022NAACL 2022 7arXiv:2204.12632archive 2025-07-28

Emmy Liu, Chen Cui, Kenneth Zheng, Graham Neubig

Figurative and metaphorical language are commonplace in discourse, and figurative expressions play an important role in communication and cognition. However, figurative language has been a relatively under-studied area in NLP, and it remains an open question to what extent modern language models can interpret nonliteral phrases. To address this question, we introduce Fig-QA, a Winograd-style nonliteral language understanding task consisting of correctly interpreting paired figurative phrases with divergent meanings. We evaluate the performance of several state-of-the-art language models on this task, and find that although language models achieve performance significantly over chance, they still fall short of human performance, particularly in zero- or few-shot settings. This suggests that further work is needed to improve the nonliteral reasoning capabilities of language models.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology View this paper on Syntology: its repositories, every harvested function with whether it ran, its licence and the call to fetch it.

Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2204.12632")

Code

Syntology Ran 5 of 14 code samples harvested from 2 repositories linked to this paper; 9 have no recorded run. Of those that ran: 1 ran · our draft was wrong; 4 ran with no contract checked.

By repository: official repository: 2 samples from 1 repository, 1 ran; community (archive-listed): 12 samples from 1 repository, 4 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

nightingal3/fig-qa officialmentioned in papermentioned on GitHubpytorch report
simran-khanuja/multilingual-fig-qa mentioned on GitHubpytorchMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

14 samples harvested; 5 ran; 0 honoured the contract we drafted; 9 have no recorded run. Read from Syntology's graph 2026-09-25; that is when this build read the record, not when the samples ran.

1ran · our draft was wrong
4ran
9unverified

Licence: 0 of the 14 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

evaluate_model nightingal3/fig-qa/src/models/gpt_score.py official repository ran · our draft was wrong MIT (permissive) · 2a5615f598f3af2b · report
sent_scoring nightingal3/fig-qa/src/models/gpt_score.py official repository unverified MIT (permissive) · 39cf438241a8d1dd · report
eval_model simran-khanuja/multilingual-fig-qa/run_baselines.py community (archive-listed) ran MIT (permissive) · 31e5d4061c0165ee · report
is_subarray simran-khanuja/multilingual-fig-qa/get_syntax_chunks.py community (archive-listed) ran fingerprinted MIT (permissive) · 21007e567ee7726b · report
main_train_loop simran-khanuja/multilingual-fig-qa/run_baselines.py community (archive-listed) ran MIT (permissive) · 454507be28be36dd · report
substring_between simran-khanuja/multilingual-fig-qa/get_syntax_chunks.py community (archive-listed) ran fingerprinted MIT (permissive) · 62a67c92331edd10 · report
convert_examples_to_features simran-khanuja/multilingual-fig-qa/utils.py community (archive-listed) unverified MIT (permissive) · 4f74b4458496f1dc · report
convert_multiple_choice_examples_to_features simran-khanuja/multilingual-fig-qa/utils.py community (archive-listed) unverified MIT (permissive) · a7ffc645f7b1c747 · report
get_hypernyms simran-khanuja/multilingual-fig-qa/plot_parsed_data.py community (archive-listed) unverified MIT (permissive) · 10b84b6e2e00afe1 · report
get_pos_tags simran-khanuja/multilingual-fig-qa/plot_parsed_data.py community (archive-listed) unverified MIT (permissive) · 16090c8ed2178c61 · report
lemmatize_words simran-khanuja/multilingual-fig-qa/plot_parsed_data.py community (archive-listed) unverified MIT (permissive) · 792128008f28fb12 · report
remove_substrings simran-khanuja/multilingual-fig-qa/get_syntax_chunks.py community (archive-listed) unverified MIT (permissive) · 581a4523d21cb660 · report
simple_accuracy simran-khanuja/multilingual-fig-qa/utils.py community (archive-listed) unverified MIT (permissive) · 3c241ecfe3749a6d · report
train_model simran-khanuja/multilingual-fig-qa/run_baselines.py community (archive-listed) unverified MIT (permissive) · e7b3e41b3b961fb4 · report

Tasks

Open-Ended Question Answering

Datasets

Introduced by this paper, per the archive.

Fig-QA

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections