EDBT 2026 Demo / reviewers in the wild / expert
Hassan Sajjad 0001
dblp:73/5938
· DBLP profile ↗
54ranked-venue papers
12as first author
24since 2021 · last 2026
0000-0002-8584-6595ORCID · verified
Domains — the database's venue-derived domains; a paper can count in several
Artificial intelligence and machine learning · 50 · 12 first-author · 22 since 2021Databases, data management, data science and information retrieval · 4 · 2 since 2021Human-computer interaction and ubiquitous computing · 4 · 2 since 2021Applied, interdisciplinary, general and emerging computing · 4 · 2 since 2021Graphics, computer vision, multimedia, augmented reality and games · 3 · 1 since 2021
| Year | Publication | Venue | Position |
|---|---|---|---|
| 2026 | SAGE: A Search-AuGmented Evaluation of Large Language Models on Free-Form QAabstractAs Large Language Models (LLMs) become increasingly used for question-answering (QA), relying on static, pre-annotated references for evaluation poses significant challenges in cost, scalability, and completeness.Meanwhile, using LLMs themselves as evaluators without external grounding remains unreliable for objective tasks, as they systematically over-accept incorrect answers, fabricate supporting rationales, and degrade sharply on questions that fall outside their training data.We propose Search-AuGmented Evaluation (SAGE), a framework to assess LLM outputs without fixed groundtruth answers.Unlike conventional metrics that compare to static references or depend solely on LLM-as-a-judge knowledge, SAGE acts as an agent that actively retrieves and synthesizes external evidence.It iteratively generates web queries, collects information, summarizes findings, and refines subsequent searches through reflection.By reducing dependence on static reference-driven evaluation protocols, SAGE offers a scalable and adaptive alternative for evaluating the factuality of LLMs.Experimental results on multiple free-form QA benchmarks show that SAGE achieves substantial to perfect agreement with human evaluations. Sher Badshah, Ali Emami, Hassan Sajjad 0001 |
ACL (1) | 3 |
| 2025 | Data-centric Prediction Explanation via Kernelized Stein DiscrepancyabstractExisting example-based prediction explanation methods often bridge test and training data points through the model’s parameters or latent representations. While these methods offer clues to the causes of model predictions, they often exhibit innate shortcomings, such as incurring significant computational overhead or producing coarse-grained explanations. This paper presents a Highly-precise and Data-centric Explanation (HD-Explain) prediction explanation method that exploits properties of Kernelized Stein Discrepancy (KSD). Specifically, the KSD uniquely defines a parameterized kernel function for a trained model that encodes model-dependent data correlation. By leveraging the kernel function, one can identify training samples that provide the best predictive support to a test point efficiently. We conducted thorough analyses and experiments across multiple classification domains, where we show that HD-Explain outperforms existing methods from various aspects, including 1) preciseness (fine-grained explanation), 2) consistency, and 3) computation efficiency, leading to a surprisingly simple, effective, and robust prediction explanation solution. Mahtab Sarvmaili, Hassan Sajjad 0001, Ga Wu |
ICLR | 2 |
| 2025 | Explaining the role of Intrinsic Dimensionality in Adversarial TrainingabstractAdversarial Training (AT) impacts different architectures in distinct ways: vision models gain robustness but face reduced generalization, encoder-based models exhibit limited robustness improvements with minimal generalization loss, and recent work in latent-space adversarial training demonstrates that decoder-based models achieve improved robustness by applying AT across multiple layers.
We provide the first explanation for these trends by leveraging the manifold conjecture: off-manifold adversarial examples (AEs) enhance robustness, while on-manifold AEs improve generalization.
We show that vision and decoder-based models exhibit low intrinsic dimensionality in earlier layers (favoring off-manifold AEs), whereas encoder-based models do so in later layers (favoring on-manifold AEs).
Exploiting this property, we introduce SMAAT, which improves the scalability of AT for encoder-based models by perturbing the layer with the lowest intrinsic dimensionality. This reduces the projected gradient descent (PGD) chain length required for AE generation, cutting GPU time by 25–33% while significantly boosting robustness. We validate SMAAT across multiple tasks, including text generation, sentiment classification, safety filtering, and retrieval augmented generation setups, demonstrating superior robustness with comparable generalization to standard training. Enes Altinisik, Safa Messaoud, Husrev T. Sencar, Hassan Sajjad 0001, Sanjay Chawla |
ICML | 4 |
| 2025 | Resolving Lexical Bias in Model EditingabstractModel editing aims to modify the outputs of large language models after they are trained. Previous approaches have often involved direct alterations to model weights, which can result in model degradation. Recent techniques avoid making modifications to the model’s weights by using an adapter that applies edits to the model when triggered by semantic similarity in the representation space. We demonstrate that current adapter methods are critically vulnerable to strong lexical biases, leading to issues such as applying edits to irrelevant prompts with overlapping words. This paper presents a principled approach to learning a disentangled representation space that facilitates precise localization of edits by maintaining distance between irrelevant prompts while preserving proximity among paraphrases. In our empirical study, we show that our method (Projector Editor Networks for Model Editing - PENME) achieves state-of-the-art model editing results while being more computationally efficient during inference than previous methods and adaptable across different architectures. Hammad Rizwan, Domenic Rosati, Ga Wu, Hassan Sajjad 0001 |
ICML | 4 |
| 2025 | Dependency Parsing is More Parameter-Efficient with NormalizationabstractDependency parsing is the task of inferring natural language structure, often approached by modeling word interactions via attention through biaffine scoring.
This mechanism works like self-attention in Transformers, where scores are calculated for every pair of words in a sentence. However, unlike Transformer attention, biaffine scoring does not use normalization prior to taking the softmax of the scores. In this paper, we provide theoretical evidence and empirical results revealing that a lack of normalization necessarily results in overparameterized parser models, where the extra parameters compensate for the sharp softmax outputs produced by high variance inputs to the biaffine scoring function. We argue that biaffine scoring can be made substantially more efficient by performing score normalization.
We conduct experiments on semantic and syntactic dependency parsing in multiple languages, along with latent graph inference on non-linguistic data, using various settings of a $k$-hop parser.
We train $N$-layer stacked BiLSTMs and evaluate the parser's performance with and without normalizing biaffine scores.
Normalizing allows us to achieve state-of-the-art performance with fewer samples and trainable parameters.
Code: https://github.com/paolo-gajo/EfficientSDP Paolo Gajo, Domenic Rosati, Hassan Sajjad 0001, Alberto Barrón-Cedeño |
NeurIPS | 3 |
| 2024 | Latent Concept-based Explanation of NLP ModelsabstractInterpreting and understanding the predictions made by deep learning models poses a formidable challenge due to their inherently opaque nature.Many previous efforts to explain these predictions rely on input features, specifically, the words within NLP models.However, such explanations are often less informative due to the discrete nature of the words and their lack of contextual verbosity.To address this limitation, we introduce Latent Concept Attribution (LACOAT), which generates explanations for predictions based on latent concepts.Our intuition is that a word can exhibit multiple facets depending on the context in which it is used.Therefore, given a word in context, the latent space derived from our training process reflects a specific facet of that word.LACOAT functions by mapping the representations of salient input words into the training latent space, enabling it to provide latent contextbased explanations of the prediction. 1 Xuemin Yu, Fahim Dalvi, Nadir Durrani, Marzia Nouri, Hassan Sajjad 0001 |
EMNLP | 5 |
| 2024 | Multilingual Nonce Dependency Treebanks: Understanding how Language Models Represent and Process Syntactic StructureabstractDavid Arps, Laura Kallmeyer, Younes Samih, Hassan Sajjad. Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers). 2024. David Arps, Laura Kallmeyer, Younes Samih, Hassan Sajjad 0001 |
NAACL-HLT | 4 |
| 2024 | Long-form evaluation of model editingabstractDomenic Rosati, Robie Gonzales, Jinkun Chen, Xuemin Yu, Yahya Kayani, Frank Rudzicz, Hassan Sajjad. Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers). 2024. Domenic Rosati, Robie Gonzales, Jinkun Chen, Xuemin Yu, Melis Erkan, Yahya Kayani, Satya Deepika Chavatapalli, Frank Rudzicz, Hassan Sajjad 0001 |
NAACL-HLT | 9 |
| 2024 | SUGARCREPE++ Dataset: Vision-Language Model Sensitivity to Semantic and Lexical AlterationsabstractDespite their remarkable successes, state-of-the-art large language models (LLMs), including vision-and-language models (VLMs) and unimodal language models (ULMs), fail to understand precise semantics. For example, semantically equivalent sentences expressed using different lexical compositions elicit diverging representations. The degree of this divergence and its impact on encoded semantics is not very well understood. In this paper, we introduce the SUGARCREPE++ dataset to analyze the sensitivity of VLMs and ULMs to lexical and semantic alterations. Each sample in SUGARCREPE++ dataset consists of an image and a corresponding triplet of captions: a pair of semantically equivalent but lexically different positive captions and one hard negative caption. This poses a 3-way semantic (in)equivalence problem to the language models. We comprehensively evaluate VLMs and ULMs that differ in architecture, pre-training objectives and datasets to benchmark the performance of SUGARCREPE++ dataset. Experimental results highlight the difficulties of VLMs in distinguishing between lexical and semantic variations, particularly to object attributes and spatial relations. Although VLMs with larger pre-training datasets, model sizes, and multiple pre-training objectives achieve better performance on SUGARCREPE++, there is a significant opportunity for improvement. We demonstrate that models excelling on compositionality datasets may not perform equally well on SUGARCREPE++. This indicates that compositionality alone might not be sufficient to fully understand semantic and lexical alterations. Given the importance of the property that the SUGARCREPE++ dataset targets, it serves as a new challenge to the vision-and-language community. Data and code is available at https://github.com/Sri-Harsha/scpp. Sri Harsha Dumpala, Aman Jaiswal, Chandramouli Shama Sastry, Evangelos E. Milios, Sageev Oore, Hassan Sajjad 0001 |
NeurIPS | 6 |
| 2024 | Representation Noising: A Defence Mechanism Against Harmful FinetuningabstractReleasing open-source large language models (LLMs) presents a dual-use risk since bad actors can easily fine-tune these models for harmful purposes. Even without the open release of weights, weight stealing and fine-tuning APIs make closed models vulnerable to harmful fine-tuning attacks (HFAs). While safety measures like preventing jailbreaks and improving safety guardrails are important, such measures can easily be reversed through fine-tuning. In this work, we propose Representation Noising (\textsf{\small RepNoise}), a defence mechanism that operates even when attackers have access to the weights. \textsf{\small RepNoise} works by removing information about harmful representations such that it is difficult to recover them during fine-tuning. Importantly, our defence is also able to generalize across different subsets of harm that have not been seen during the defence process as long as they are drawn from the same distribution of the attack set. Our method does not degrade the general capability of LLMs and retains the ability to train the model on harmless tasks. We provide empirical evidence that the efficacy of our defence lies in its ``depth'': the degree to which information about harmful representations is removed across {\em all layers} of the LLM. We also find areas where \textsf{\small RepNoise} still remains ineffective and highlight how those limitations can inform future research. Domenic Rosati, Jan Wehner, Kai Williams, Lukasz Bartoszcze, Robie Gonzales, Carsten Maple, Subhabrata Majumdar, Hassan Sajjad 0001, Frank Rudzicz |
NeurIPS | 8 |
| 2023 | ConceptX: A Framework for Latent Concept AnalysisabstractThe opacity of deep neural networks remains a challenge in deploying solutions where explanation is as important as precision. We present ConceptX, a human-in-the-loop framework for interpreting and annotating latent representational space in pre-trained Language Models (pLMs). We use an unsupervised method to discover concepts learned in these models and enable a graphical interface for humans to generate explanations for the concepts. To facilitate the process, we provide auto-annotations of the concepts (based on traditional linguistic ontologies). Such annotations enable development of a linguistic resource that directly represents latent concepts learned within deep NLP models. These include not just traditional linguistic concepts, but also task-specific or sensitive concepts (words grouped based on gender or religious connotation) that helps the annotators to mark bias in the model. The framework consists of two parts (i) concept discovery and (ii) annotation platform. Firoj Alam, Fahim Dalvi, Nadir Durrani, Hassan Sajjad 0001, Abdul Rafae Khan, Jia Xu 0004 |
AAAI | 4 |
| 2023 | Learning Uncertainty for Unknown Domains with Zero-Target-Assumption
Yu Yu 0004, Hassan Sajjad 0001, Jia Xu 0004 |
ICLR | 2 |
| 2023 | Evaluating Neuron Interpretation Methods of NLP ModelsabstractNeuron interpretation offers valuable insights into how knowledge is structured within a deep neural network model. While a number of neuron interpretation methods have been proposed in the literature, the field lacks a comprehensive comparison among these methods. This gap hampers progress due to the absence of standardized metrics and benchmarks. The commonly used evaluation metric has limitations, and creating ground truth annotations for neurons is impractical. Addressing these challenges, we propose an evaluation framework based on voting theory. Our hypothesis posits that neurons consistently identified by different methods carry more significant information. We rigorously assess our framework across a diverse array of neuron interpretation methods. Notable findings include: i) despite the theoretical differences among the methods, neuron ranking methods share over 60% of their rankings when identifying salient neurons, ii) the neuron interpretation methods are most sensitive to the last layer representations, iii) Probeless neuron ranking emerges as the most consistent method. Yimin Fan, Fahim Dalvi, Nadir Durrani, Hassan Sajjad 0001 |
NeurIPS | 4 |
| 2023 | On the effect of dropping layers of pre-trained transformer models
Hassan Sajjad 0001, Fahim Dalvi, Nadir Durrani, Preslav Nakov |
Comput. Speech Lang. | 1 |
| 2023 | Discovering Salient Neurons in deep NLP modelsabstractWhile a lot of work has been done in understanding representations learned within deep NLP models and what knowledge they capture, work done towards analyzing individual neurons is relatively sparse. We present a technique called Linguistic Correlation Analysis to extract salient neurons in the model, with respect to any extrinsic property, with the goal of understanding how such knowledge is preserved within neurons. We carry out a fine-grained analysis to answer the following questions: (i) can we identify subsets of neurons in the network that learn a specific linguistic property? (ii) is a certain linguistic phenomenon in a given model localized (encoded in few individual neurons) or distributed across many neurons? (iii) how redundantly is the information preserved? (iv) how does fine-tuning pre-trained models towards downstream NLP tasks impact the learned linguistic knowledge? (v) how do models vary in learning different linguistic properties? Our data-driven, quantitative analysis illuminates interesting findings: (i) we found small subsets of neurons that can predict different linguistic tasks; (ii) neurons capturing basic lexical information, such as suffixation, are localized in the lowermost layers; (iii) neurons learning complex concepts, such as syntactic role, are predominantly found in middle and higher layers; (iv) salient linguistic neurons are relocated from higher to lower layers during transfer learning, as the network preserves the higher layers for task-specific information; (v) we found interesting differences across pre-trained models regarding how linguistic information is preserved within them; and (vi) we found that concepts exhibit similar neuron distribution across different languages in the multilingual transformer models. Our code is publicly available as part of the NeuroX toolkit (Dalvi et al., 2023). Nadir Durrani, Fahim Dalvi, Hassan Sajjad 0001 |
J. Mach. Learn. Res. | 3 |
| 2022 | Effect of Post-processing on Contextualized Word RepresentationsabstractPost-processing of static embedding has been shown to improve their performance on both lexical and sequence-level tasks. However, post-processing for contextualized embeddings is an under-studied problem. In this work, we question the usefulness of post-processing for contextualized embeddings obtained from different layers of pre-trained language models. More specifically, we standardize individual neuron activations using z-score, min-max normalization, and by removing top principal components using the all-but-the-top method. Additionally, we apply unit length normalization to word representations. On a diverse set of pre-trained models, we show that post-processing unwraps vital information present in the representations for both lexical tasks (such as word similarity and analogy) and sequence classification tasks. Our findings raise interesting points in relation to the research studies that use contextualized representations, and suggest z-score normalization as an essential step to consider when using them in an application. Hassan Sajjad 0001, Firoj Alam, Fahim Dalvi, Nadir Durrani |
COLING | 1 |
| 2022 | On the Transformation of Latent Space in Fine-Tuned NLP ModelsabstractWe study the evolution of latent space in finetuned NLP models.Different from the commonly used probing-framework, we opt for an unsupervised method to analyze representations.More specifically, we discover latent concepts in the representational space using hierarchical clustering.We then use an alignment function to gauge the similarity between the latent space of a pre-trained model and its finetuned version.We use traditional linguistic concepts to facilitate our understanding and also study how the model space transforms towards task-specific information.We perform a thorough analysis, comparing pre-trained and finetuned models across three models and three downstream tasks.The notable findings of our work are: i) the latent space of the higher layers evolve towards task-specific concepts, ii) whereas the lower layers retain generic concepts acquired in the pre-trained model, iii) we discovered that some concepts in the higher layers acquire polarity towards the output class, and iv) that these concepts can be used for generating adversarial triggers. Nadir Durrani, Hassan Sajjad 0001, Fahim Dalvi, Firoj Alam |
EMNLP | 2 |
| 2022 | Discovering Latent Concepts Learned in BERT
Fahim Dalvi, Abdul Rafae Khan, Firoj Alam, Nadir Durrani, Jia Xu 0004, Hassan Sajjad 0001 |
ICLR | 6 |
| 2022 | Analyzing Encoded Concepts in Transformer Language ModelsabstractHassan Sajjad, Nadir Durrani, Fahim Dalvi, Firoj Alam, Abdul Khan, Jia Xu. Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies. 2022. Hassan Sajjad 0001, Nadir Durrani, Fahim Dalvi, Firoj Alam, Abdul Rafae Khan, Jia Xu 0004 |
NAACL-HLT | 1 |
| 2022 | A clustering framework for lexical normalization of Roman UrduabstractAbstract Roman Urdu is an informal form of the Urdu language written in Roman script, which is widely used in South Asia for online textual content. It lacks standard spelling and hence poses several normalization challenges during automatic language processing. In this article, we present a feature-based clustering framework for the lexical normalization of Roman Urdu corpora, which includes a phonetic algorithm UrduPhone, a string matching component, a feature-based similarity function, and a clustering algorithm Lex-Var. UrduPhone encodes Roman Urdu strings to their pronunciation-based representations. The string matching component handles character-level variations that occur when writing Urdu using Roman script. The similarity function incorporates various phonetic-based, string-based, and contextual features of words. The Lex-Var algorithm is a variant of the k-medoids clustering algorithm that groups lexical variations of words. It contains a similarity threshold to balance the number of clusters and their maximum similarity. The framework allows feature learning and optimization in addition to the use of predefined features and weights. We evaluate our framework extensively on four real-world datasets and show an F-measure gain of up to 15% from baseline methods. We also demonstrate the superiority of UrduPhone and Lex-Var in comparison to respective alternate algorithms in our clustering framework for the lexical normalization of Roman Urdu. Abdul Rafae Khan, Asim Karim, Hassan Sajjad 0001, Faisal Kamiran, Jia Xu 0004 |
Nat. Lang. Eng. | 3 |
| 2022 | Neuron-level Interpretation of Deep NLP Models: A SurveyabstractAbstract The proliferation of Deep Neural Networks in various domains has seen an increased need for interpretability of these models. Preliminary work done along this line, and papers that surveyed such, are focused on high-level representation analysis. However, a recent branch of work has concentrated on interpretability at a more granular level of analyzing neurons within these models. In this paper, we survey the work done on neuron analysis including: i) methods to discover and understand neurons in a network; ii) evaluation methods; iii) major findings including cross architectural comparisons that neuron analysis has unraveled; iv) applications of neuron probing such as: controlling the model, domain adaptation, and so forth; and v) a discussion on open issues and future research directions. Hassan Sajjad 0001, Nadir Durrani, Fahim Dalvi |
Trans. Assoc. Comput. Linguistics | 1 |
| 2021 | Fighting the COVID-19 Infodemic in Social Media: A Holistic Perspective and a Call to Arms
Firoj Alam, Fahim Dalvi, Shaden Shaar, Nadir Durrani, Hamdy Mubarak, Alex Nikolov, Giovanni Da San Martino, Ahmed Abdelali, Hassan Sajjad 0001, Kareem Darwish, Preslav Nakov |
ICWSM | 9 |
| 2021 | CrisisBench: Benchmarking Crisis-related Social Media Datasets for Humanitarian Information Processing
Firoj Alam, Hassan Sajjad 0001, Muhammad Imran 0002, Ferda Ofli |
ICWSM | 2 |
| 2021 | Compressing Large-Scale Transformer-Based Models: A Case Study on BERTabstractAbstract Pre-trained Transformer-based models have achieved state-of-the-art performance for various Natural Language Processing (NLP) tasks. However, these models often have billions of parameters, and thus are too resource- hungry and computation-intensive to suit low- capability devices or applications with strict latency requirements. One potential remedy for this is model compression, which has attracted considerable research attention. Here, we summarize the research in compressing Transformers, focusing on the especially popular BERT model. In particular, we survey the state of the art in compression for BERT, we clarify the current best practices for compressing large-scale Transformer models, and we provide insights into the workings of various methods. Our categorization and analysis also shed light on promising future research directions for achieving lightweight, accurate, and generic NLP models. Prakhar Ganesh, Yao Chen 0008, Xin Lou 0005, Mohammad Ali Khan, Yin Yang 0001, Hassan Sajjad 0001, Preslav Nakov, Deming Chen, Marianne Winslett |
Trans. Assoc. Comput. Linguistics | 6 |
| 2020 | Similarity Analysis of Contextual Word Representation ModelsabstractThis paper investigates contextual word representation models from the lens of similarity analysis.Given a collection of trained models, we measure the similarity of their internal representations and attention.Critically, these models come from vastly different architectures.We use existing and novel similarity measures that aim to gauge the level of localization of information in the deep models, and facilitate the investigation of which design factors affect model similarity, without requiring any external linguistic annotation.The analysis reveals that models within the same family are more similar to one another, as may be expected.Surprisingly, different architectures have rather similar representations, but different individual neurons.We also observed differences in information localization in lower and higher layers and found that higher layers are more affected by fine-tuning on downstream tasks. 1 John M. Wu, Yonatan Belinkov, Hassan Sajjad 0001, Nadir Durrani, Fahim Dalvi, James R. Glass |
ACL | 3 |
| 2020 | AraBench: Benchmarking Dialectal Arabic-English Machine TranslationabstractLow-resource machine translation suffers from the scarcity of training data and the unavailability of standard evaluation sets. While a number of research efforts target the former, the unavailability of evaluation benchmarks remain a major hindrance in tracking the progress in low-resource machine translation. In this paper, we introduce AraBench, an evaluation suite for dialectal Arabic to English machine translation. Compared to Modern Standard Arabic, Arabic dialects are challenging due to their spoken nature, non-standard orthography, and a large variation in dialectness. To this end, we pool together already available Dialectal Arabic-English resources and additionally build novel test sets. AraBench offers 4 coarse, 15 fine-grained and 25 city-level dialect categories, belonging to diverse genres, such as media, chat, religion and travel with varying level of dialectness. We report strong baselines using several training settings: fine-tuning, back-translation and data augmentation. The evaluation suite opens a wide range of research frontiers to push efforts in low-resource machine translation, particularly Arabic dialect translation. The evaluation suite and the dialectal system are publicly available for research purposes. Hassan Sajjad 0001, Ahmed Abdelali, Nadir Durrani, Fahim Dalvi |
COLING | 1 |
| 2020 | Are We Ready for this Disaster? Towards Location Mention Recognition from Crisis TweetsabstractThe widespread usage of Twitter during emergencies has provided a new opportunity and timely resource to crisis responders for various disaster management tasks.Geolocation information of pertinent tweets is crucial for gaining situational awareness and delivering aid.However, the majority of tweets do not come with geoinformation.In this work, we focus on the task of location mention recognition from crisis-related tweets.Specifically, we investigate the influence of different types of labeled training data on the performance of a BERT-based classification model.We explore several training settings such as combing in-and out-domain data from news articles and general-purpose and crisis-related tweets.Furthermore, we investigate the effect of geospatial proximity while training on near or far-away events from the target event.Using five different datasets, our extensive experiments provide answers to several critical research questions that are useful for the research community to foster research in this important direction.For example, results show that, for training a location mention recognition model, Twitter-based data is preferred over general-purpose data; and crisis-related data is preferred over generalpurpose Twitter data.Furthermore, training on data from geographically-nearby disaster events to the target event boosts the performance compared to training on distant events. Reem Suwaileh, Muhammad Imran 0002, Tamer Elsayed, Hassan Sajjad 0001 |
COLING | 4 |
| 2020 | Analyzing Redundancy in Pretrained Transformer ModelsabstractTransformer-based deep NLP models are trained using hundreds of millions of parameters, limiting their applicability in computationally constrained environments.In this paper, we study the cause of these limitations by defining a notion of Redundancy, which we categorize into two classes: General Redundancy and Task-specific Redundancy.We dissect two popular pretrained models, BERT and XLNet, studying how much redundancy they exhibit at a representation-level and at a more fine-grained neuron-level.Our analysis reveals interesting insights, such as: i) 85% of the neurons across the network are redundant and ii) at least 92% of them can be removed when optimizing towards a downstream task.Based on our analysis, we present an efficient feature-based transfer learning procedure, which maintains 97% performance while using at-most 10% of the original neurons. 1 Fahim Dalvi, Hassan Sajjad 0001, Nadir Durrani, Yonatan Belinkov |
EMNLP (1) | 2 |
| 2020 | Analyzing Individual Neurons in Pre-trained Language ModelsabstractWhile a lot of analysis has been carried to demonstrate linguistic knowledge captured by the representations learned within deep NLP models, very little attention has been paid towards individual neurons.We carry out a neuron-level analysis using core linguistic tasks of predicting morphology, syntax and semantics, on pre-trained language models, with questions like: i) do individual neurons in pretrained models capture linguistic information?ii) which parts of the network learn more about certain linguistic phenomena?iii) how distributed or focused is the information?and iv) how do various architectures differ in learning these properties?We found small subsets of neurons to predict linguistic tasks, with lower level tasks (such as morphology) localized in fewer neurons, compared to higher level task of predicting syntax.Our study reveals interesting cross architectural comparisons.For example, we found neurons in XLNet to be more localized and disjoint when predicting properties compared to BERT and others, where they are more distributed and coupled. Nadir Durrani, Hassan Sajjad 0001, Fahim Dalvi, Yonatan Belinkov |
EMNLP (1) | 2 |
| 2020 | On the Linguistic Representational Power of Neural Machine Translation ModelsabstractDespite the recent success of deep neural networks in natural language processing and other spheres of artificial intelligence, their interpretability remains a challenge. We analyze the representations learned by neural machine translation (NMT) models at various levels of granularity and evaluate their quality through relevant extrinsic properties. In particular, we seek answers to the following questions: (i) How accurately is word structure captured within the learned representations, which is an important aspect in translating morphologically rich languages? (ii) Do the representations capture long-range dependencies, and effectively handle syntactically divergent languages? (iii) Do the representations capture lexical semantics? We conduct a thorough investigation along several parameters: (i) Which layers in the architecture capture each of these linguistic phenomena; (ii) How does the choice of translation unit (word, character, or subword unit) impact the linguistic properties captured by the underlying representations? (iii) Do the encoder and decoder learn differently and independently? (iv) Do the representations learned by multilingual NMT models capture the same amount of linguistic information as their bilingual counterparts? Our data-driven, quantitative evaluation illuminates important aspects in NMT models and their ability to capture various linguistic phenomena. We show that deep NMT models trained in an end-to-end fashion, without being provided any direct supervision during the training process, learn a non-trivial amount of linguistic information. Notable findings include the following observations: (i) Word morphology and part-of-speech information are captured at the lower layers of the model; (ii) In contrast, lexical semantics or non-local syntactic and semantic dependencies are better represented at the higher layers of the model; (iii) Representations learned using characters are more informed about word-morphology compared to those learned using subword units; and (iv) Representations learned by multilingual models are richer compared to bilingual models. Yonatan Belinkov, Nadir Durrani, Fahim Dalvi, Hassan Sajjad 0001, James R. Glass |
Comput. Linguistics | 4 |
| 2019 | What Is One Grain of Sand in the Desert? Analyzing Individual Neurons in Deep NLP ModelsabstractDespite the remarkable evolution of deep neural networks in natural language processing (NLP), their interpretability remains a challenge. Previous work largely focused on what these models learn at the representation level. We break this analysis down further and study individual dimensions (neurons) in the vector representation learned by end-to-end neural models in NLP tasks. We propose two methods: Linguistic Correlation Analysis, based on a supervised method to extract the most relevant neurons with respect to an extrinsic task, and Cross-model Correlation Analysis, an unsupervised method to extract salient neurons w.r.t. the model itself. We evaluate the effectiveness of our techniques by ablating the identified neurons and reevaluating the network’s performance for two tasks: neural machine translation (NMT) and neural language modeling (NLM). We further present a comprehensive analysis of neurons with the aim to address the following questions: i) how localized or distributed are different linguistic properties in the models? ii) are certain neurons exclusive to some properties and not others? iii) is the information more or less distributed in NMT vs. NLM? and iv) how important are the neurons identified through the linguistic correlation method to the overall task? Our code is publicly available as part of the NeuroX toolkit (Dalvi et al. 2019a). This paper is a non-archived version of the paper published at AAAI (Dalvi et al. 2019b). Fahim Dalvi, Nadir Durrani, Hassan Sajjad 0001, Yonatan Belinkov, Anthony Bau, James R. Glass |
AAAI | 3 |
| 2019 | NeuroX: A Toolkit for Analyzing Individual Neurons in Neural NetworksabstractWe present a toolkit to facilitate the interpretation and understanding of neural network models. The toolkit provides several methods to identify salient neurons with respect to the model itself or an external task. A user can visualize selected neurons, ablate them to measure their effect on the model accuracy, and manipulate them to control the behavior of the model at the test time. Such an analysis has a potential to serve as a springboard in various research directions, such as understanding the model, better architectural choices, model distillation and controlling data biases. The toolkit is available for download.1 Fahim Dalvi, Avery Nortonsmith, Anthony Bau, Yonatan Belinkov, Hassan Sajjad 0001, Nadir Durrani, James R. Glass |
AAAI | 5 |
| 2019 | Identifying and Controlling Important Neurons in Neural Machine Translation
Anthony Bau, Yonatan Belinkov, Hassan Sajjad 0001, Nadir Durrani, Fahim Dalvi, James R. Glass |
ICLR (Poster) | 3 |
| 2017 | What do Neural Machine Translation Models Learn about Morphology?abstractNeural machine translation (MT) models obtain state-of-the-art performance while maintaining a simple, end-to-end architecture.However, little is known about what these models learn about source and target languages during the training process.In this work, we analyze the representations learned by neural MT models at various levels of granularity and empirically evaluate the quality of the representations for learning morphology through extrinsic part-of-speech and morphological tagging tasks.We conduct a thorough investigation along several parameters: word-based vs. character-based representations, depth of the encoding layer, the identity of the target language, and encoder vs. decoder representations.Our data-driven, quantitative evaluation sheds light on important aspects in the neural MT system and its ability to capture word structure.1 Yonatan Belinkov, Nadir Durrani, Fahim Dalvi, Hassan Sajjad 0001, James R. Glass |
ACL (1) | 4 |
| 2017 | Robust Classification of Crisis-Related Data on Social Networks Using Convolutional Neural Networks
Tien Dat Nguyen, Kamla Al-Mannai, Shafiq R. Joty, Hassan Sajjad 0001, Muhammad Imran 0002, Prasenjit Mitra 0001 |
ICWSM | 4 |
| 2017 | Evaluating Layers of Representation in Neural Machine Translation on Part-of-Speech and Semantic Tagging TasksabstractWhile neural machine translation (NMT) models provide improved translation quality in an elegant framework, it is less clear what they learn about language. Recent work has started evaluating the quality of vector representations learned by NMT models on morphological and syntactic tasks. In this paper, we investigate the representations learned at different layers of NMT encoders. We train NMT systems on parallel data and use the models to extract features for training a classifier on two tasks: part-of-speech and semantic tagging. We then measure the performance of the classifier as a proxy to the quality of the original NMT model for the given task. Our quantitative analysis yields interesting insights regarding representation learning in NMT models. For instance, we find that higher layers are better at learning semantics while lower layers tend to be better for part-of-speech tagging. We also observe little effect of the target language on source-side representations, especially in higher quality models. Yonatan Belinkov, Lluís Màrquez, Hassan Sajjad 0001, Nadir Durrani, Fahim Dalvi, James R. Glass |
IJCNLP(1) | 3 |
| 2017 | Understanding and Improving Morphological Learning in the Neural Machine Translation DecoderabstractEnd-to-end training makes the neural machine translation (NMT) architecture simpler, yet elegant compared to traditional statistical machine translation (SMT). However, little is known about linguistic patterns of morphology, syntax and semantics learned during the training of NMT systems, and more importantly, which parts of the architecture are responsible for learning each of these phenomenon. In this paper we i) analyze how much morphology an NMT decoder learns, and ii) investigate whether injecting target morphology in the decoder helps it to produce better translations. To this end we present three methods: i) simultaneous translation, ii) joint-data learning, and iii) multi-task learning. Our results show that explicit morphological information helps the decoder learn target language morphology and improves the translation quality by 0.2–0.6 BLEU points. Fahim Dalvi, Nadir Durrani, Hassan Sajjad 0001, Yonatan Belinkov, Stephan Vogel |
IJCNLP(1) | 3 |
| 2017 | Statistical Models for Unsupervised, Semi-Supervised, and Supervised Transliteration MiningabstractWe present a generative model that efficiently mines transliteration pairs in a consistent fashion in three different settings: unsupervised, semi-supervised, and supervised transliteration mining. The model interpolates two sub-models, one for the generation of transliteration pairs and one for the generation of non-transliteration pairs (i.e., noise). The model is trained on noisy unlabeled data using the EM algorithm. During training the transliteration sub-model learns to generate transliteration pairs and the fixed non-transliteration model generates the noise pairs. After training, the unlabeled data is disambiguated based on the posterior probabilities of the two sub-models. We evaluate our transliteration mining system on data from a transliteration mining shared task and on parallel corpora. For three out of four language pairs, our system outperforms all semi-supervised and supervised systems that participated in the NEWS 2010 shared task. On word pairs extracted from parallel corpora with fewer than 2% transliteration pairs, our system achieves up to 86.7% F-measure with 77.9% precision and 97.8% recall. Hassan Sajjad 0001, Helmut Schmid, Alexander Fraser 0001, Hinrich Schütze |
Comput. Linguistics | 1 |
| 2017 | Domain adaptation using neural network joint model
Shafiq R. Joty, Nadir Durrani, Hassan Sajjad 0001, Ahmed Abdelali |
Comput. Speech Lang. | 3 |
| 2016 | A Deep Fusion Model for Domain Adaptation in Phrase-based MTabstractWe present a novel fusion model for domain adaptation in Statistical Machine Translation. Our model is based on the joint source-target neural network Devlin et al., 2014, and is learned by fusing in- and out-domain models. The adaptation is performed by backpropagating errors from the output layer to the word embedding layer of each model, subsequently adjusting parameters of the composite model towards the in-domain data. On the standard tasks of translating English-to-German and Arabic-to-English TED talks, we observed average improvements of +0.9 and +0.7 BLEU points, respectively over a competition grade phrase-based system. We also demonstrate improvements over existing adaptation methods. Nadir Durrani, Hassan Sajjad 0001, Shafiq R. Joty, Ahmed Abdelali |
COLING | 2 |
| 2016 | Eyes Don't Lie: Predicting Machine Translation Quality Using Eye MovementabstractHassan Sajjad, Francisco Guzmán, Nadir Durrani, Ahmed Abdelali, Houda Bouamor, Irina Temnikova, Stephan Vogel. Proceedings of the 2016 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies. 2016. Hassan Sajjad 0001, Francisco Guzmán, Nadir Durrani, Ahmed Abdelali, Houda Bouamor, Irina P. Temnikova, Stephan Vogel |
HLT-NAACL | 1 |
| 2015 | How to Avoid Unwanted Pregnancies: Domain Adaptation using Neural Network ModelsabstractWe present novel models for domain adaptation based on the neural network joint model (NNJM).Our models maximize the cross entropy by regularizing the loss function with respect to in-domain model.Domain adaptation is carried out by assigning higher weight to out-domain sequences that are similar to the in-domain data.In our alternative model we take a more restrictive approach by additionally penalizing sequences similar to the outdomain data.Our models achieve better perplexities than the baseline NNJM models and give improvements of up to 0.5 and 0.6 BLEU points in Arabic-to-English and English-to-German language pairs, on a standard task of translating TED talks. Shafiq R. Joty, Hassan Sajjad 0001, Nadir Durrani, Kamla Al-Mannai, Ahmed Abdelali, Stephan Vogel |
EMNLP | 2 |
| 2015 | An Unsupervised Method for Discovering Lexical Variations in Roman Urdu Informal TextabstractWe present an unsupervised method to find lexical variations in Roman Urdu informal text.Our method includes a phonetic algorithm UrduPhone, a featurebased similarity function, and a clustering algorithm Lex-C.UrduPhone encodes roman Urdu strings to their phonetic equivalent representations.This produces an initial grouping of different spelling variations of a word.The similarity function incorporates word features and their context.Lex-C is a variant of k-medoids clustering algorithm that group lexical variations.It incorporates a similarity threshold to balance the number of clusters and their maximum similarity.We test our system on two datasets of SMS and blogs and show an f-measure gain of up to 12% from baseline systems. Abdul Rafae, Muhammad Moeen Uddin, Asim Karim, Hassan Sajjad 0001, Faisal Kamiran |
EMNLP | 5 |
| 2015 | Distant Supervision for Tweet Classification Using YouTube Labels
Walid Magdy, Hassan Sajjad 0001, Tarek El-Ganainy, Fabrizio Sebastiani 0001 |
ICWSM | 2 |
| 2015 | Using joint models or domain adaptation in statistical machine translation
Nadir Durrani, Hassan Sajjad 0001, Shafiq R. Joty, Ahmed Abdelali, Stephan Vogel |
MTSummit | 2 |
| 2014 | Integrating an Unsupervised Transliteration Model into Statistical Machine TranslationabstractWe investigate three methods for integrating an unsupervised transliteration model into an end-to-end SMT system.We induce a transliteration model from parallel data and use it to translate OOV words.Our approach is fully unsupervised and language independent.In the methods to integrate transliterations, we observed improvements from 0.23-0.75(∆ 0.41) BLEU points across 7 language pairs.We also show that our mined transliteration corpora provide better rule coverage and translation quality compared to the gold standard transliteration corpora. Nadir Durrani, Hassan Sajjad 0001, Hieu Hoang, Philipp Koehn |
EACL | 2 |
| 2014 | Verifiably Effective Arabic Dialect IdentificationabstractSeveral recent papers on Arabic dialect identification have hinted that using a word unigram model is sufficient and effective for the task.However, most previous work was done on a standard fairly homogeneous dataset of dialectal user comments.In this paper, we show that training on the standard dataset does not generalize, because a unigram model may be tuned to topics in the comments and does not capture the distinguishing features of dialects.We show that effective dialect identification requires that we account for the distinguishing lexical, morphological, and phonological phenomena of dialects.We show that accounting for such can improve dialect detection accuracy by nearly 10% absolute. Kareem Darwish, Hassan Sajjad 0001, Hamdy Mubarak |
EMNLP | 2 |
| 2014 | The AMARA Corpus: Building Parallel Language Resources for the Educational Domain
Ahmed Abdelali, Francisco Guzmán, Hassan Sajjad 0001, Stephan Vogel |
LREC | 3 |
| 2012 | A Statistical Model for Unsupervised and Semi-supervised Transliteration Mining
Hassan Sajjad 0001, Alexander Fraser 0001, Helmut Schmid |
ACL (1) | 1 |
| 2012 | Underspecified Query Refinement via Natural Language Question Generation
Hassan Sajjad 0001, Patrick Pantel, Michael Gamon |
COLING | 1 |
| 2011 | An Algorithm for Unsupervised Transliteration Mining with an Application to Word Alignment
Hassan Sajjad 0001, Alexander Fraser 0001, Helmut Schmid |
ACL | 1 |
| 2011 | Comparing Two Techniques for Learning Transliteration Models Using a Parallel Corpus
Hassan Sajjad 0001, Nadir Durrani, Helmut Schmid, Alexander Fraser 0001 |
IJCNLP | 1 |
| 2010 | Hindi-to-Urdu Machine Translation through Transliteration
Nadir Durrani, Hassan Sajjad 0001, Alexander Fraser 0001, Helmut Schmid |
ACL | 2 |
| 2009 | Tagging Urdu Text with Parts of Speech: A Tagger Comparison
Hassan Sajjad 0001, Helmut Schmid |
EACL | 1 |