← Search

Mohammad Taher Pilehvar

28 accepted papers

2025

Blind Men and the Elephant: Diverse Perspectives on Gender Stereotypes in Benchmark Datasets

EMNLP 2025

Accurately measuring gender stereotypical bias in language models is a complex task with many hidden aspects. Current benchmarks have underestimated this multifaceted challenge and failed to capture the full extent of the problem. This paper examines the inconsistencies between intrinsic stereotype

2025

Evaluating Cultural Knowledge and Reasoning in LLMs Through Persian Allusions

EMNLP 2025

Allusion recognition—a task demanding contextual activation of cultural knowledge—serves as a critical test of LLMs’ ability to deploy stored information in open-ended, figurative settings. We introduce a framework for evaluating Persian literary allusions through (1) classical poetry annotations an

2025

FarExStance: Explainable Stance Detection for Farsi

COLING 2025main

We introduce FarExStance, a new dataset for explainable stance detection in Farsi. Each instance in this dataset contains a claim, the stance of an article or social media post towards that claim, and an extractive explanation which provides evidence for the stance label. We compare the performance…

2025

LibraGrad: Balancing Gradient Flow for Universally Better Vision Transformer Attributions

CVPR 2025poster

Why do gradient-based explanations struggle with Transformers, and how can we improve them? We identify gradient flow imbalances in Transformers that violate FullGrad-completeness, a critical property for attribution faithfulness that CNNs naturally possess. To address this issue, we introduce Libra…

2025

Morables: A Benchmark for Assessing Abstract Moral Reasoning in LLMs with Fables

EMNLP 2025

As LLMs excel on standard reading comprehension benchmarks, attention is shifting toward evaluating their capacity for complex abstract reasoning and inference. Literature-based benchmarks, with their rich narrative and moral depth, provide a compelling framework for evaluating such deeper comprehen

2025

PerCul: A Story-Driven Cultural Evaluation of LLMs in Persian

NAACL 2025long

Large language models predominantly reflect Western cultures, largely due to the dominance of English-centric training data. This imbalance presents a significant challenge, as LLMs are increasingly used across diverse contexts without adequate evaluation of their cultural competence in non-English…

Cited by 0SourcePDFScholar
2025

Pun Unintended: LLMs and the Illusion of Humor Understanding

EMNLP 2025

Puns are a form of humorous wordplay that exploits polysemy and phonetic similarity. While LLMs have shown promise in detecting puns, we show in this paper that their understanding often remains shallow, lacking the nuanced grasp typical of human interpretation. By systematically analyzing and refor

2024

BLEnD: A Benchmark for LLMs on Everyday Knowledge in Diverse Cultures and Languages

NeurIPS 2024poster

Large language models (LLMs) often lack culture-specific everyday knowledge, especially across diverse regions and non-English languages. Existing benchmarks for evaluating LLMs' cultural sensitivities are usually limited to a single language or online sources like Wikipedia, which may not reflect t…

2024

RepMatch: Quantifying Cross-Instance Similarities in Representation Space

EMNLP 2024main

Advances in dataset analysis techniques have enabled more sophisticated approaches to analyzing and characterizing training data instances, often categorizing data based on attributes such as “difficulty”. In this work, we introduce RepMatch, a novel method that characterizes data through the lens o…

Cited by 0SourcePDFScholar
2024

Spanning the Spectrum of Hatred Detection: A Persian Multi-Label Hate Speech Dataset with Annotator Rationales

AAAI 2024technical

With the alarming rise of hate speech in online communities, the demand for effective NLP models to identify instances of offensive language has reached a critical point. However, the development of such models heavily relies on the availability of annotated datasets, which are scarce, particularly…

2024

Stochastic Fine-Tuning of Language Models Using Masked Gradients

EMNLP 2024finding

Large Language Models (LLMs) have emerged as the dominant paradigm in Natural Language Processing owing to their remarkable performance across various target tasks. However, naively fine-tuning them for specific downstream tasks often requires updating a vast number of parameters, resulting in high…

2024

TweetTER: A Benchmark for Target Entity Retrieval on Twitter without Knowledge Bases

COLING 2024main

Entity linking is a well-established task in NLP consisting of associating entity mentions with entries in a knowledge base. Current models have demonstrated competitive performance in standard text settings. However, when it comes to noisy domains such as social media, certain challenges still pers…

2023

DecompX: Explaining Transformers Decisions by Propagating Token Decomposition

ACL 2023long

An emerging solution for explaining Transformer-based models is to use vector-based analysis on how the representations are formed. However, providing a faithful vector-based explanation for a multi-layer model could be challenging in three aspects: (1) Incorporating all components into the analysis…

2023

DiFair: A Benchmark for Disentangled Assessment of Gender Knowledge and Bias

EMNLP 2023long findings

Numerous debiasing techniques have been proposed to mitigate the gender bias that is prevalent in pretrained language models. These are often evaluated on datasets that check the extent to which the model is gender-neutral in its predictions. Importantly, this evaluation protocol overlooks the poss…

Cited by 0SourcecodeScholar
2022

AdapLeR: Speeding up Inference by Adaptive Length Reduction

ACL 2022long

Pre-trained language models have shown stellar performance in various downstream tasks. But, this usually comes at the cost of high latency and computation, hindering their usage in resource-limited settings. In this work, we propose a novel approach for reducing the computational cost of BERT with…

2022

An Empirical Study on the Transferability of Transformer Modules in Parameter-efficient Fine-tuning

EMNLP 2022main

Parameter-efficient fine-tuning has garnered lots of attention in recent studies.On this subject, we investigate the capability of different transformer modules in transferring knowledge from a pre-trained model to a downstream task. Our empirical results suggest that every transformer module is a w…

Cited by 2SourcePDFScholar
2022

DadmaTools: Natural Language Processing Toolkit for Persian Language

NAACL 2022system demonstrations

We introduce DadmaTools, an open-source Python Natural Language Processing toolkit for the Persian language. The toolkit is a neural pipeline based on spaCy for several text processing tasks, including normalization, tokenization, lemmatization, part-of-speech, dependency parsing, constituency parsi…

2022

Exploiting Language Model Prompts Using Similarity Measures: A Case Study on the Word-in-Context Task

ACL 2022short

As a recent development in few-shot learning, prompt-based techniques have demonstrated promising potential in a variety of natural language processing tasks. However, despite proving competitive on most tasks in the GLUE and SuperGLUE benchmarks, existing prompt-based techniques fail on the semanti…

Cited by 5SourcePDFScholar
2022

GlobEnc: Quantifying Global Token Attribution by Incorporating the Whole Encoder Layer in Transformers

NAACL 2022long

There has been a growing interest in interpreting the underlying dynamics of Transformers. While self-attention patterns were initially deemed as the primary option, recent studies have shown that integrating other components can yield more accurate explanations. This paper introduces a novel token…

2022

Incorporating Stock Market Signals for Twitter Stance Detection

ACL 2022long

Research in stance detection has so far focused on models which leverage purely textual input. In this paper, we investigate the integration of textual and financial signals for stance detection in the financial domain. Specifically, we propose a robust multi-task neural architecture that combines t…

2022

Looking at the Overlooked: An Analysis on the Word-Overlap Bias in Natural Language Inference

EMNLP 2022main

It has been shown that NLI models are usually biased with respect to the word-overlap between the premise and the hypothesis, as they take this feature as a primary cue for predicting the entailment label. In this paper, we focus on an overlooked aspect of the overlap bias in the NLI models: the rev…

2022

On the Importance of Data Size in Probing Fine-tuned Models

ACL 2022findings

Several studies have investigated the reasons behind the effectiveness of fine-tuning, usually through the lens of probing. However, these studies often neglect the role of the size of the dataset on which the model is fine-tuned. In this paper, we highlight the importance of this factor and its und…

2021

A Cluster-based Approach for Improving Isotropy in Contextual Embedding Space

ACL 2021short

The representation degeneration problem in Contextual Word Representations (CWRs) hurts the expressiveness of the embedding space by forming an anisotropic cone where even unrelated words have excessively positive correlations. Existing techniques for tackling this issue require a learning process t…

2021

Don’t Discard All the Biased Instances: Investigating a Core Assumption in Dataset Bias Mitigation Techniques

EMNLP 2021finding

Existing techniques for mitigating dataset bias often leverage a biased model to identify biased instances. The role of these biased instances is then reduced during the training of the main model to enhance its robustness to out-of-distribution data. A common core assumption of these techniques is…

2021

Exploring the Role of BERT Token Representations to Explain Sentence Probing Results

EMNLP 2021main

Several studies have been carried out on revealing linguistic features captured by BERT. This is usually achieved by training a diagnostic classifier on the representations obtained from different layers of BERT. The subsequent classification accuracy is then interpreted as the ability of the model…

2021

How Does Fine-tuning Affect the Geometry of Embedding Space: A Case Study on Isotropy

EMNLP 2021finding

It is widely accepted that fine-tuning pre-trained language models usually brings about performance improvements in downstream tasks. However, there are limited studies on the reasons behind this effectiveness, particularly from the viewpoint of structural changes in the embedding space. Trying to f…

Cited by 21SourcePDFScholar