ImpScore: A Learnable Metric For Quantifying The Implicitness Level of Language

Yuxin Wang, Xiaomeng Zhu, Weimin Lyu, Saeed Hassanpour, Soroush Vosoughi · OpenReview

TL;DR

This paper introduces IMPSCORE, a novel, reference-free learnable metric designed to quantify the implicitness level of English sentences on a continuous scale. By measuring the divergence between a sentence's literal semantic meaning and its intended pragmatic interpretation, IMPSCORE successfully correlates with human judgment and exposes a major bottleneck: the performance of state-of-the-art large language models (LLMs) degrades sharply as language becomes highly implicit.

What Problem Does This Paper Address?

While large language models have excelled at standard natural language processing (NLP) tasks, understanding implicit language—where the intended meaning deviates from the literal words spoken—remains a major hurdle. Tasks like content moderation, sarcasm detection, and AI safety heavily rely on parsing these nuances.

Historically, NLP benchmarks have treated implicitness as a simple binary classification problem (implicit vs. explicit). However, human language exists on a continuum. Furthermore, existing datasets often rely on highly subjective collection criteria, making robust evaluation difficult. To bridge this gap, the authors address a fundamental question: How can we automatically and accurately measure the degree of language implicitness without relying on a gold-standard reference sentence?

Methods

The authors turn to traditional linguistic theory, defining "implicitness" as the divergence between semantic meaning (the literal, syntactic meaning of the words) and pragmatic interpretation (the contextual, intended meaning).

To operationalize this concept, they developed IMPSCORE, an interpretable regression model trained via pairwise contrastive learning:

  1. Text Encoding: Input sentences are passed through a frozen text encoder (Sentence-BERT) to generate dense text embeddings.
  2. Feature Projection: These embeddings are mapped into two independent, low-dimensional spaces using separate projection matrices: a semantic space and a pragmatic space.
  3. Space Transformation: A transformation matrix aligns the pragmatic features into the semantic space.
  4. Divergence Measurement: The final implicitness score ($I$) is calculated using the Cosine distance between the original semantic features and the transformed pragmatic features, bounding the score between $[0, 2]$.
Overview of the IMPSCORE training framework, mapping text embeddings into distinct semantic and pragmatic spaces to compute implicitness and pragmatic distance.

Because comparing the implicitness of two completely unrelated sentences is inherently difficult for both humans and models, IMPSCORE also includes a secondary indicator to measure pragmatic distance (using Euclidean distance). The model is optimized using a joint loss function that simultaneously maximizes the implicitness gap between implicit/explicit pairs and minimizes the pragmatic distance for sentences with similar intended meanings.

Datasets

Since no off-the-shelf dataset of implicit-explicit sentence pairs existed, the authors curated a comprehensive dataset of 112,580 pairs derived from 13 distinct public data sources spanning various NLP domains:

  • Implicit Hate Speech Detection: ToxiGen, Latent Hatred, DGHSD, Adversarial-Implicit-Hate-Speech, and SBIC.
  • Natural Language Inference (NLI): Implicatures, ImpPres, and LUDWIG.
  • Sentiment Analysis: ABSA.
  • Irony & Sarcasm Detection: SemEval-2018, Snarks, and $R^3$.
  • Discourse Relations: PDTB.

For datasets lacking explicit counterparts, the authors leveraged GPT-3.5/GPT-4 with tailored prompts to generate explicit equivalents. They constructed "positive pairs" (pragmatically aligned implicit and explicit sentences) and "negative pairs" (where the explicit sentence is replaced by a randomly sampled explicit sentence from the same dataset).

Key Insights and Ideas

  • Linguistic Theory as Architecture: Instead of treating implicitness as a black-box text classification task, the model's architecture directly mirrors the linguistic definition of semantics vs. pragmatics.
  • The Necessity of Pragmatic Context: As illustrated in the paper's user studies, humans struggle to rank the implicitness of sentences that mean entirely different things. By learning pragmatic distance alongside implicitness, IMPSCORE provides a more stable, context-aware metric.
  • Exposing the LLM Blindspot: Standard hate speech benchmarks often hide model deficiencies because their average performance scores look high. Applying IMPSCORE to these benchmarks reveals that LLM safety guards fail consistently when toxic text shifts from explicit to highly implicit.

Key Results

  • High Training Accuracy: IMPSCORE achieved over 95% accuracy on the test set in correctly ranking implicitness levels and identifying pragmatically close sentence pairs.
  • Strong Human Correlation: In an out-of-distribution (OOD) user study, IMPSCORE's rankings closely aligned with human evaluations, achieving a Kendall’s Tau ($\tau$) of up to 0.80 and a Spearman’s Rho ($\rho$) of up to 0.88.
Detailed performance metrics and violin plots showing the distribution of implicitness scores and pragmatic distances on the test set.
  • Benchmarking LLM Vulnerabilities: When evaluating advanced models (GPT-4-Turbo, Llama-3.1-8B-Instruct, and OpenAI Moderation) against hate speech datasets stratified by IMPSCORE, the authors observed a severe drop-off in detection accuracy as the implicitness score increased.

Limitations and Future Work

Despite its strong performance, the authors note several areas for improvement:

  • Domain Specificity: Error analysis revealed that IMPSCORE occasionally struggles with domain-specific or technical terminology (e.g., words like "computers," "laptops," or "RAM"), leading to incorrect predictions.
  • English-Centric: The current metric is limited to English text. While preliminary cross-lingual experiments using machine translation showed a moderate positive correlation for French, German, and Chinese, subtle nuances are lost in translation.
  • Data & Encoder Scaling: Future iterations could benefit from expanding the training set with synthetic data and utilizing more advanced text encoders like SimCSE to further refine feature separation.

Summary updated

Abstract

Handling implicit language is essential for natural language processing systems to achieve precise text understanding and facilitate natural interactions with users. Despite its importance, the absence of a metric for accurately measuring the implicitness of language significantly constrains the depth of analysis possible in evaluating models' comprehension capabilities. This paper addresses this gap by developing a scalar metric that quantifies the implicitness level of language without relying on external references. Drawing on principles from traditional linguistics, we define "implicitness" as the divergence between semantic meaning and pragmatic interpretation. To operationalize this definition, we introduce ImpScore, a reference-free metric formulated through an interpretable regression model. This model is trained using pairwise contrastive learning on a specially curated dataset consisting of (implicit sentence, explicit sentence) pairs. We validate ImpScore through a user study that compares its assessments with human evaluations on out-of-distribution data, demonstrating its accuracy and strong correlation with human judgments. Additionally, we apply ImpScore to hate speech detection datasets, illustrating its utility and highlighting significant limitations in current large language models' ability to understand highly implicit content. Our metric is publicly available at https://github.com/audreycs/ImpScore.
BibTeX
@inproceedings{wang2025impscore,
  author = {Yuxin Wang and Xiaomeng Zhu and Weimin Lyu and Saeed Hassanpour and Soroush Vosoughi},
  title = {{ImpScore: A Learnable Metric For Quantifying The Implicitness Level of Language}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=gYWqxXE5RJ},
}
Figure