Skip to main content

Showing 1–50 of 142 results for author: Goldberg, Y

  1. arXiv:2407.10626  [pdf, other

    cs.CL

    NoviCode: Generating Programs from Natural Language Utterances by Novices

    Authors: Asaf Achi Mordechai, Yoav Goldberg, Reut Tsarfaty

    Abstract: Current Text-to-Code models demonstrate impressive capabilities in generating executable code from natural language snippets. However, current studies focus on technical instructions and programmer-oriented language, and it is an open question whether these models can effectively translate natural language descriptions given by non-technical users and express complex goals, to an executable progra… ▽ More

    Submitted 16 July, 2024; v1 submitted 15 July, 2024; originally announced July 2024.

  2. arXiv:2406.16048  [pdf, other

    cs.IR

    Evaluating D-MERIT of Partial-annotation on Information Retrieval

    Authors: Royi Rassin, Yaron Fairstein, Oren Kalinsky, Guy Kushilevitz, Nachshon Cohen, Alexander Libov, Yoav Goldberg

    Abstract: Retrieval models are often evaluated on partially-annotated datasets. Each query is mapped to a few relevant texts and the remaining corpus is assumed to be irrelevant. As a result, models that successfully retrieve false negatives are punished in evaluation. Unfortunately, completely annotating all texts for every query is not resource efficient. In this work, we show that using partially-annotat… ▽ More

    Submitted 23 June, 2024; originally announced June 2024.

    Comments: Our dataset can be downloaded from https://D-MERIT.github.io

  3. arXiv:2404.06283  [pdf, other

    cs.CL

    LLMs' Reading Comprehension Is Affected by Parametric Knowledge and Struggles with Hypothetical Statements

    Authors: Victoria Basmov, Yoav Goldberg, Reut Tsarfaty

    Abstract: The task of reading comprehension (RC), often implemented as context-based question answering (QA), provides a primary means to assess language models' natural language understanding (NLU) capabilities. Yet, when applied to large language models (LLMs) with extensive built-in world knowledge, this method can be deceptive. If the context aligns with the LLMs' internal knowledge, it is hard to disce… ▽ More

    Submitted 9 April, 2024; originally announced April 2024.

  4. arXiv:2403.15827  [pdf, ps, other

    cs.IT

    Permutation Recovery Problem against Deletion Errors for DNA Data Storage

    Authors: Shubhransh Singhvi, Charchit Gupta, Avital Boruchovsky, Yuval Goldberg, Han Mao Kiah, Eitan Yaakobi

    Abstract: Owing to its immense storage density and durability, DNA has emerged as a promising storage medium. However, due to technological constraints, data can only be written onto many short DNA molecules called data blocks that are stored in an unordered way. To handle the unordered nature of DNA data storage systems, a unique address is typically prepended to each data block to form a DNA strand. Howev… ▽ More

    Submitted 23 March, 2024; originally announced March 2024.

    Comments: arXiv admin note: substantial text overlap with arXiv:2305.04597

  5. arXiv:2402.14848  [pdf, other

    cs.CL cs.AI

    Same Task, More Tokens: the Impact of Input Length on the Reasoning Performance of Large Language Models

    Authors: Mosh Levy, Alon Jacoby, Yoav Goldberg

    Abstract: This paper explores the impact of extending input lengths on the capabilities of Large Language Models (LLMs). Despite LLMs advancements in recent times, their performance consistency across different input lengths is not well understood. We investigate this aspect by introducing a novel QA reasoning framework, specifically designed to assess the impact of input length. We isolate the effect of in… ▽ More

    Submitted 10 July, 2024; v1 submitted 19 February, 2024; originally announced February 2024.

    Comments: Accepted to ACL 2024

  6. arXiv:2402.13906  [pdf, other

    cs.CL

    Leveraging Collection-Wide Similarities for Unsupervised Document Structure Extraction

    Authors: Gili Lior, Yoav Goldberg, Gabriel Stanovsky

    Abstract: Document collections of various domains, e.g., legal, medical, or financial, often share some underlying collection-wide structure, which captures information that can aid both human users and structure-aware models. We propose to identify the typical structure of document within a collection, which requires to capture recurring topics across the collection, while abstracting over arbitrary header… ▽ More

    Submitted 20 June, 2024; v1 submitted 21 February, 2024; originally announced February 2024.

    Comments: Accepted to ACL 2024 findings

  7. arXiv:2402.11355  [pdf, other

    cs.CL cs.CY cs.LG

    Natural Language Counterfactuals through Representation Surgery

    Authors: Matan Avitan, Ryan Cotterell, Yoav Goldberg, Shauli Ravfogel

    Abstract: Interventions targeting the representation space of language models (LMs) have emerged as an effective means to influence model behavior. Such methods are employed, for example, to eliminate or alter the encoding of demographic information such as gender within the model's representations and, in so doing, create a counterfactual representation. However, because the intervention operates within th… ▽ More

    Submitted 7 May, 2024; v1 submitted 17 February, 2024; originally announced February 2024.

    Comments: Preprint

  8. arXiv:2310.18360  [pdf, other

    cs.CL cs.AI

    Guiding LLM to Fool Itself: Automatically Manipulating Machine Reading Comprehension Shortcut Triggers

    Authors: Mosh Levy, Shauli Ravfogel, Yoav Goldberg

    Abstract: Recent applications of LLMs in Machine Reading Comprehension (MRC) systems have shown impressive results, but the use of shortcuts, mechanisms triggered by features spuriously correlated to the true label, has emerged as a potential threat to their reliability. We analyze the problem from two angles: LLMs as editors, guided to edit text to mislead LLMs; and LLMs as readers, who answer questions ba… ▽ More

    Submitted 24 October, 2023; originally announced October 2023.

    Comments: Accepted to EMNLP 2023 Findings

  9. arXiv:2310.14282  [pdf, other

    cs.CL cs.AI cs.IR

    NERetrieve: Dataset for Next Generation Named Entity Recognition and Retrieval

    Authors: Uri Katz, Matan Vetzler, Amir DN Cohen, Yoav Goldberg

    Abstract: Recognizing entities in texts is a central need in many information-seeking scenarios, and indeed, Named Entity Recognition (NER) is arguably one of the most successful examples of a widely adopted NLP task and corresponding NLP technology. Recent advances in large language models (LLMs) appear to provide effective solutions (also) for NER tasks that were traditionally handled with dedicated model… ▽ More

    Submitted 22 October, 2023; originally announced October 2023.

    Comments: Findings of EMNLP 2023

  10. arXiv:2310.13960  [pdf, other

    cs.CL cs.CV

    Linguistically Motivated Sign Language Segmentation

    Authors: Amit Moryossef, Zifan Jiang, Mathias Müller, Sarah Ebling, Yoav Goldberg

    Abstract: Sign language segmentation is a crucial task in sign language processing systems. It enables downstream tasks such as sign recognition, transcription, and machine translation. In this work, we consider two kinds of segmentation: segmentation into individual signs and segmentation into phrases, larger units comprising several signs. We propose a novel approach to jointly model these two tasks. Ou… ▽ More

    Submitted 30 October, 2023; v1 submitted 21 October, 2023; originally announced October 2023.

    Comments: Accepted at EMNLP 2023 (Findings)

  11. Hierarchy Builder: Organizing Textual Spans into a Hierarchy to Facilitate Navigation

    Authors: Itay Yair, Hillel Taub-Tabib, Yoav Goldberg

    Abstract: Information extraction systems often produce hundreds to thousands of strings on a specific topic. We present a method that facilitates better consumption of these strings, in an exploratory setting in which a user wants to both get a broad overview of what's available, and a chance to dive deeper on some aspects. The system works by grouping similar items together and arranging the remaining item… ▽ More

    Submitted 18 September, 2023; originally announced September 2023.

    Comments: 9 pages including citations; Presented at the ACL 2023 DEMO track, pages 282-290

    ACM Class: H.3.1; H.3.3; H.5.3; I.2.7; E.1; I.2.4

    Journal ref: Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 3: System Demonstrations), Pages 282-290, Toronto, Canada, July 2023

  12. arXiv:2306.13922  [pdf, other

    cs.CL

    Unsupervised Mapping of Arguments of Deverbal Nouns to Their Corresponding Verbal Labels

    Authors: Aviv Weinstein, Yoav Goldberg

    Abstract: Deverbal nouns are nominal forms of verbs commonly used in written English texts to describe events or actions, as well as their arguments. However, many NLP systems, and in particular pattern-based ones, neglect to handle such nominalized constructions. The solutions that do exist for handling arguments of nominalized constructions are based on semantic annotation and require semantic ontologies,… ▽ More

    Submitted 24 June, 2023; originally announced June 2023.

    Comments: Accepted to Findings of ACL 2023

  13. arXiv:2306.08877  [pdf, other

    cs.CL cs.CV

    Linguistic Binding in Diffusion Models: Enhancing Attribute Correspondence through Attention Map Alignment

    Authors: Royi Rassin, Eran Hirsch, Daniel Glickman, Shauli Ravfogel, Yoav Goldberg, Gal Chechik

    Abstract: Text-conditioned image generation models often generate incorrect associations between entities and their visual attributes. This reflects an impaired mapping between linguistic binding of entities and modifiers in the prompt and visual binding of the corresponding elements in the generated image. As one notable example, a query like "a pink sunflower and a yellow flamingo" may incorrectly produce… ▽ More

    Submitted 23 January, 2024; v1 submitted 15 June, 2023; originally announced June 2023.

    Comments: Accepted to NeurIPS 2023 (oral). Our code is publicly available at https://github.com/RoyiRa/Syntax-Guided-Generation

  14. arXiv:2305.17714  [pdf, other

    cs.CL cs.CV

    An Open-Source Gloss-Based Baseline for Spoken to Signed Language Translation

    Authors: Amit Moryossef, Mathias Müller, Anne Göhring, Zifan Jiang, Yoav Goldberg, Sarah Ebling

    Abstract: Sign language translation systems are complex and require many components. As a result, it is very hard to compare methods across publications. We present an open-source implementation of a text-to-gloss-to-pose-to-video pipeline approach, demonstrating conversion from German to Swiss German Sign Language, French to French Sign Language of Switzerland, and Italian to Italian Sign Language of Switz… ▽ More

    Submitted 28 May, 2023; originally announced May 2023.

  15. arXiv:2305.16740  [pdf, other

    cs.CL

    Conjunct Resolution in the Face of Verbal Omissions

    Authors: Royi Rassin, Yoav Goldberg, Reut Tsarfaty

    Abstract: Verbal omissions are complex syntactic phenomena in VP coordination structures. They occur when verbs and (some of) their arguments are omitted from subsequent clauses after being explicitly stated in an initial clause. Recovering these omitted elements is necessary for accurate interpretation of the sentence, and while humans easily and intuitively fill in the missing information, state-of-the-ar… ▽ More

    Submitted 26 May, 2023; originally announced May 2023.

  16. arXiv:2305.14785  [pdf, other

    cs.CL cs.AI

    Simple Linguistic Inferences of Large Language Models (LLMs): Blind Spots and Blinds

    Authors: Victoria Basmov, Yoav Goldberg, Reut Tsarfaty

    Abstract: We evaluate LLMs' language understanding capacities on simple inference tasks that most humans find trivial. Specifically, we target (i) grammatically-specified entailments, (ii) premises with evidential adverbs of uncertainty, and (iii) monotonicity entailments. We design evaluation sets for these tasks and conduct experiments in both zero-shot and chain-of-thought setups, and with multiple promp… ▽ More

    Submitted 11 April, 2024; v1 submitted 24 May, 2023; originally announced May 2023.

  17. arXiv:2305.14763  [pdf, other

    cs.CL

    Clever Hans or Neural Theory of Mind? Stress Testing Social Reasoning in Large Language Models

    Authors: Natalie Shapira, Mosh Levy, Seyed Hossein Alavi, Xuhui Zhou, Yejin Choi, Yoav Goldberg, Maarten Sap, Vered Shwartz

    Abstract: The escalating debate on AI's capabilities warrants developing reliable metrics to assess machine "intelligence". Recently, many anecdotal examples were used to suggest that newer large language models (LLMs) like ChatGPT and GPT-4 exhibit Neural Theory-of-Mind (N-ToM); however, prior work reached conflicting conclusions regarding those abilities. We investigate the extent of LLMs' N-ToM through a… ▽ More

    Submitted 24 May, 2023; originally announced May 2023.

  18. arXiv:2305.12517  [pdf, other

    cs.CL cs.IR cs.LG

    Description-Based Text Similarity

    Authors: Shauli Ravfogel, Valentina Pyatkin, Amir DN Cohen, Avshalom Manevich, Yoav Goldberg

    Abstract: Identifying texts with a given semantics is central for many information seeking scenarios. Similarity search over vector embeddings appear to be central to this ability, yet the similarity reflected in current text embeddings is corpus-driven, and is inconsistent and sub-optimal for many use cases. What, then, is a good notion of similarity for effective retrieval of text? We identify the need… ▽ More

    Submitted 26 April, 2024; v1 submitted 21 May, 2023; originally announced May 2023.

    Comments: A preprint

  19. arXiv:2305.10160  [pdf, other

    cs.CL cs.AI

    Stop Uploading Test Data in Plain Text: Practical Strategies for Mitigating Data Contamination by Evaluation Benchmarks

    Authors: Alon Jacovi, Avi Caciularu, Omer Goldman, Yoav Goldberg

    Abstract: Data contamination has become prevalent and challenging with the rise of models pretrained on large automatically-crawled corpora. For closed models, the training data becomes a trade secret, and even for open models, it is not trivial to detect contamination. Strategies such as leaderboards with hidden answers, or using test data which is guaranteed to be unseen, are expensive and become fragile… ▽ More

    Submitted 18 October, 2023; v1 submitted 17 May, 2023; originally announced May 2023.

    Comments: Accepted to EMNLP 2023

  20. arXiv:2305.02679  [pdf, other

    cs.CL cs.HC

    Neighboring Words Affect Human Interpretation of Saliency Explanations

    Authors: Alon Jacovi, Hendrik Schuff, Heike Adel, Ngoc Thang Vu, Yoav Goldberg

    Abstract: Word-level saliency explanations ("heat maps over words") are often used to communicate feature-attribution in text-based models. Recent studies found that superficial factors such as word length can distort human interpretation of the communicated saliency scores. We conduct a user study to investigate how the marking of a word's neighboring words affect the explainee's perception of the word's i… ▽ More

    Submitted 6 May, 2023; v1 submitted 4 May, 2023; originally announced May 2023.

    Comments: Accepted to Findings of ACL 2023

  21. arXiv:2305.02633  [pdf, other

    cs.CL cs.LG

    Conformal Nucleus Sampling

    Authors: Shauli Ravfogel, Yoav Goldberg, Jacob Goldberger

    Abstract: Language models generate text based on successively sampling the next word. A decoding procedure based on nucleus (top-$p$) sampling chooses from the smallest possible set of words whose cumulative probability exceeds the probability $p$. In this work, we assess whether a top-$p$ set is indeed aligned with its probabilistic meaning in various linguistic contexts. We employ conformal prediction, a… ▽ More

    Submitted 4 May, 2023; originally announced May 2023.

    Comments: Accepted as a short paper in Findings of ACL23

  22. arXiv:2304.14836  [pdf, other

    cs.LG cs.AI cs.CR

    Training Large Scale Polynomial CNNs for E2E Inference over Homomorphic Encryption

    Authors: Moran Baruch, Nir Drucker, Gilad Ezov, Yoav Goldberg, Eyal Kushnir, Jenny Lerner, Omri Soceanu, Itamar Zimerman

    Abstract: Training large-scale CNNs that during inference can be run under Homomorphic Encryption (HE) is challenging due to the need to use only polynomial operations. This limits HE-based solutions adoption. We address this challenge and pioneer in providing a novel training method for large polynomial CNNs such as ResNet-152 and ConvNeXt models, and achieve promising accuracy on encrypted samples on larg… ▽ More

    Submitted 11 June, 2023; v1 submitted 26 April, 2023; originally announced April 2023.

  23. arXiv:2304.11754  [pdf, other

    cs.SI stat.ML

    Silent Abandonment in Contact Centers: Estimating Customer Patience from Uncertain Data

    Authors: Antonio Castellanos, Galit B. Yom-Tov, Yair Goldberg

    Abstract: In the quest to improve services, companies offer customers the opportunity to interact with agents through contact centers, where the communication is mainly text-based. This has become one of the favorite channels of communication with companies in recent years. However, contact centers face operational challenges, since the measurement of common proxies for customer experience, such as knowledg… ▽ More

    Submitted 7 April, 2024; v1 submitted 23 April, 2023; originally announced April 2023.

    Comments: V2

  24. arXiv:2303.10527  [pdf, other

    cs.CL

    Two Kinds of Recall

    Authors: Yoav Goldberg

    Abstract: It is an established assumption that pattern-based models are good at precision, while learning based models are better at recall. But is that really the case? I argue that there are two kinds of recall: d-recall, reflecting diversity, and e-recall, reflecting exhaustiveness. I demonstrate through experiments that while neural methods are indeed significantly better at d-recall, it is sometimes th… ▽ More

    Submitted 18 March, 2023; originally announced March 2023.

  25. arXiv:2303.03745  [pdf, other

    cs.CV

    At Your Fingertips: Extracting Piano Fingering Instructions from Videos

    Authors: Amit Moryossef, Yanai Elazar, Yoav Goldberg

    Abstract: Piano fingering -- knowing which finger to use to play each note in a musical piece, is a hard and important skill to master when learning to play the piano. While some sheet music is available with expert-annotated fingering information, most pieces lack this information, and people often resort to learning the fingering from demonstrations in online videos. We consider the AI task of automating… ▽ More

    Submitted 7 March, 2023; originally announced March 2023.

    Comments: 6 pages, paper from 2019

  26. arXiv:2210.12673  [pdf, other

    cs.CL

    Lexical Generalization Improves with Larger Models and Longer Training

    Authors: Elron Bandel, Yoav Goldberg, Yanai Elazar

    Abstract: While fine-tuned language models perform well on many tasks, they were also shown to rely on superficial surface features such as lexical overlap. Excessive utilization of such heuristics can lead to failure on challenging inputs. We analyze the use of lexical overlap heuristics in natural language inference, paraphrase detection, and reading comprehension (using a novel contrastive dataset), and… ▽ More

    Submitted 25 October, 2022; v1 submitted 23 October, 2022; originally announced October 2022.

    Comments: Accepted to EMNLP 2022 as Findings Paper, Presented at BlackboxNLP 2022

  27. arXiv:2210.10606  [pdf, other

    cs.CL cs.LG

    DALLE-2 is Seeing Double: Flaws in Word-to-Concept Mapping in Text2Image Models

    Authors: Royi Rassin, Shauli Ravfogel, Yoav Goldberg

    Abstract: We study the way DALLE-2 maps symbols (words) in the prompt to their references (entities or properties of entities in the generated image). We show that in stark contrast to the way human process language, DALLE-2 does not follow the constraint that each word has a single role in the interpretation, and sometimes re-use the same symbol for different purposes. We collect a set of stimuli that refl… ▽ More

    Submitted 19 October, 2022; originally announced October 2022.

    Comments: 5 pages, BlackboxNLP @ EMNLP 2022

  28. arXiv:2210.10012  [pdf, other

    cs.LG cs.CL

    Log-linear Guardedness and its Implications

    Authors: Shauli Ravfogel, Yoav Goldberg, Ryan Cotterell

    Abstract: Methods for erasing human-interpretable concepts from neural representations that assume linearity have been found to be tractable and useful. However, the impact of this removal on the behavior of downstream classifiers trained on the modified representations is not fully understood. In this work, we formally define the notion of log-linear guardedness as the inability of an adversary to predict… ▽ More

    Submitted 10 May, 2024; v1 submitted 18 October, 2022; originally announced October 2022.

    Comments: Accepted as a long paper in ACL 2023

  29. arXiv:2210.06246  [pdf, other

    cs.CL

    CIKQA: Learning Commonsense Inference with a Unified Knowledge-in-the-loop QA Paradigm

    Authors: Hongming Zhang, Yintong Huo, Yanai Elazar, Yangqiu Song, Yoav Goldberg, Dan Roth

    Abstract: Recently, the community has achieved substantial progress on many commonsense reasoning benchmarks. However, it is still unclear what is learned from the training process: the knowledge, inference capability, or both? We argue that due to the large scale of commonsense knowledge, it is infeasible to annotate a large enough training set for each task to cover all commonsense for learning. Thus we s… ▽ More

    Submitted 12 October, 2022; originally announced October 2022.

  30. arXiv:2210.03588  [pdf, other

    cs.CL

    Understanding Transformer Memorization Recall Through Idioms

    Authors: Adi Haviv, Ido Cohen, Jacob Gidron, Roei Schuster, Yoav Goldberg, Mor Geva

    Abstract: To produce accurate predictions, language models (LMs) must balance between generalization and memorization. Yet, little is known about the mechanism by which transformer LMs employ their memorization capacity. When does a model decide to output a memorized phrase, and how is this phrase then retrieved from memory? In this work, we offer the first methodological framework for probing and character… ▽ More

    Submitted 13 February, 2023; v1 submitted 7 October, 2022; originally announced October 2022.

  31. arXiv:2209.04280  [pdf, other

    cs.CL

    F-coref: Fast, Accurate and Easy to Use Coreference Resolution

    Authors: Shon Otmazgin, Arie Cattan, Yoav Goldberg

    Abstract: We introduce fastcoref, a python package for fast, accurate, and easy-to-use English coreference resolution. The package is pip-installable, and allows two modes: an accurate mode based on the LingMess architecture, providing state-of-the-art coreference accuracy, and a substantially faster model, F-coref, which is the focus of this work. F-coref allows to process 2.8K OntoNotes documents in 25 se… ▽ More

    Submitted 25 October, 2022; v1 submitted 9 September, 2022; originally announced September 2022.

    Comments: AACL 2022

  32. arXiv:2207.14251  [pdf, other

    cs.CL

    Measuring Causal Effects of Data Statistics on Language Model's `Factual' Predictions

    Authors: Yanai Elazar, Nora Kassner, Shauli Ravfogel, Amir Feder, Abhilasha Ravichander, Marius Mosbach, Yonatan Belinkov, Hinrich Schütze, Yoav Goldberg

    Abstract: Large amounts of training data are one of the major reasons for the high performance of state-of-the-art NLP models. But what exactly in the training data causes a model to make a certain prediction? We seek to answer this question by providing a language for describing how training data influences predictions, through a causal framework. Importantly, our framework bypasses the need to retrain exp… ▽ More

    Submitted 24 March, 2023; v1 submitted 28 July, 2022; originally announced July 2022.

    Comments: We received a criticism regarding the validity of the causal formulation in this paper. We will address them in an upcoming version

  33. arXiv:2206.12926  [pdf, other

    cs.IR

    Rivendell: Project-Based Academic Search Engine

    Authors: Teddy Lazebnik, Hanna Weitman, Yoav Goldberg, Gal A. Kaminka

    Abstract: Finding relevant research literature in online databases is a familiar challenge to all researchers. General search approaches trying to tackle this challenge fall into two groups: one-time search and life-time search. We observe that both approaches ignore unique attributes of the research domain and are affected by concept drift. We posit that in searching for research papers, a combination of a… ▽ More

    Submitted 26 June, 2022; originally announced June 2022.

  34. arXiv:2205.12644  [pdf, other

    cs.CL

    LingMess: Linguistically Informed Multi Expert Scorers for Coreference Resolution

    Authors: Shon Otmazgin, Arie Cattan, Yoav Goldberg

    Abstract: While coreference resolution typically involves various linguistic challenges, recent models are based on a single pairwise scorer for all types of pairs. We present LingMess, a new coreference model that defines different categories of coreference cases and optimize multiple pairwise scorers, where each scorer learns a specific set of linguistic challenges. Our model substantially improves pairwi… ▽ More

    Submitted 10 February, 2023; v1 submitted 25 May, 2022; originally announced May 2022.

    Comments: EACL 2023

  35. arXiv:2205.02289  [pdf, other

    cs.CL cs.IR

    A Dataset for N-ary Relation Extraction of Drug Combinations

    Authors: Aryeh Tiktinsky, Vijay Viswanathan, Danna Niezni, Dana Meron Azagury, Yosi Shamay, Hillel Taub-Tabib, Tom Hope, Yoav Goldberg

    Abstract: Combination therapies have become the standard of care for diseases such as cancer, tuberculosis, malaria and HIV. However, the combinatorial set of available multi-drug treatments creates a challenge in identifying effective combination therapies available in a situation. To assist medical professionals in identifying beneficial drug-combinations, we construct an expert-annotated dataset for extr… ▽ More

    Submitted 4 May, 2022; originally announced May 2022.

    Comments: To appear in NAACL 2022

  36. arXiv:2204.12130  [pdf, other

    cs.CL

    LM-Debugger: An Interactive Tool for Inspection and Intervention in Transformer-Based Language Models

    Authors: Mor Geva, Avi Caciularu, Guy Dar, Paul Roit, Shoval Sadde, Micah Shlain, Bar Tamir, Yoav Goldberg

    Abstract: The opaque nature and unexplained behavior of transformer-based language models (LMs) have spurred a wide interest in interpreting their predictions. However, current interpretation methods mostly focus on probing models from outside, executing behavioral tests, and analyzing salience input features, while the internal prediction construction process is largely not understood. In this work, we int… ▽ More

    Submitted 12 October, 2022; v1 submitted 26 April, 2022; originally announced April 2022.

    Comments: EMNLP 2022 System Demonstrations

  37. arXiv:2204.09168  [pdf, other

    cs.CL

    Analyzing Gender Representation in Multilingual Models

    Authors: Hila Gonen, Shauli Ravfogel, Yoav Goldberg

    Abstract: Multilingual language models were shown to allow for nontrivial transfer across scripts and languages. In this work, we study the structure of the internal representations that enable this transfer. We focus on the representation of gender distinctions as a practical case study, and examine the extent to which the gender concept is encoded in shared subspaces across different languages. Our analys… ▽ More

    Submitted 12 August, 2022; v1 submitted 19 April, 2022; originally announced April 2022.

    Comments: Published at RepL4NLP 2022

  38. arXiv:2203.14680  [pdf, other

    cs.CL

    Transformer Feed-Forward Layers Build Predictions by Promoting Concepts in the Vocabulary Space

    Authors: Mor Geva, Avi Caciularu, Kevin Ro Wang, Yoav Goldberg

    Abstract: Transformer-based language models (LMs) are at the core of modern NLP, but their internal prediction construction process is opaque and largely not understood. In this work, we make a substantial step towards unveiling this underlying prediction process, by reverse-engineering the operation of the feed-forward network (FFN) layers, one of the building blocks of transformer models. We view the toke… ▽ More

    Submitted 12 October, 2022; v1 submitted 28 March, 2022; originally announced March 2022.

    Comments: EMNLP 2022

  39. arXiv:2201.12191  [pdf, other

    cs.LG cs.CL

    Kernelized Concept Erasure

    Authors: Shauli Ravfogel, Francisco Vargas, Yoav Goldberg, Ryan Cotterell

    Abstract: The representation space of neural models for textual data emerges in an unsupervised manner during training. Understanding how those representations encode human-interpretable concepts is a fundamental problem. One prominent approach for the identification of concepts in neural representations is searching for a linear subspace whose erasure prevents the prediction of the concept from the represe… ▽ More

    Submitted 14 March, 2024; v1 submitted 28 January, 2022; originally announced January 2022.

    Comments: Accepted as a long paper in EMNLP22

  40. arXiv:2201.12091  [pdf, other

    cs.LG cs.CL

    Linear Adversarial Concept Erasure

    Authors: Shauli Ravfogel, Michael Twiton, Yoav Goldberg, Ryan Cotterell

    Abstract: Modern neural models trained on textual data rely on pre-trained representations that emerge without direct supervision. As these representations are increasingly being used in real-world applications, the inability to \emph{control} their content becomes an increasingly important problem. We formulate the problem of identifying and erasing a linear subspace that corresponds to a given concept,… ▽ More

    Submitted 9 July, 2022; v1 submitted 28 January, 2022; originally announced January 2022.

    Comments: Accepted in ICML 2022

  41. arXiv:2201.11569  [pdf, other

    cs.CL cs.AI cs.HC cs.LG

    Human Interpretation of Saliency-based Explanation Over Text

    Authors: Hendrik Schuff, Alon Jacovi, Heike Adel, Yoav Goldberg, Ngoc Thang Vu

    Abstract: While a lot of research in explainable AI focuses on producing effective explanations, less work is devoted to the question of how people understand and interpret the explanation. In this work, we focus on this question through a study of saliency-based explanations over textual data. Feature-attribution explanations of text models aim to communicate which parts of the input text were more influen… ▽ More

    Submitted 17 June, 2022; v1 submitted 27 January, 2022; originally announced January 2022.

    Comments: FAccT 2022

  42. Diagnosing AI Explanation Methods with Folk Concepts of Behavior

    Authors: Alon Jacovi, Jasmijn Bastings, Sebastian Gehrmann, Yoav Goldberg, Katja Filippova

    Abstract: We investigate a formalism for the conditions of a successful explanation of AI. We consider "success" to depend not only on what information the explanation contains, but also on what information the human explainee understands from it. Theory of mind literature discusses the folk concepts that humans use to understand and generalize behavior. We posit that folk concepts of behavior provide us wi… ▽ More

    Submitted 15 November, 2023; v1 submitted 26 January, 2022; originally announced January 2022.

    Comments: Accepted to JAIR (Vol. 78, 2023)

    Journal ref: Journal of Artificial Intelligence Research 73 (2023) 459-489

  43. arXiv:2201.05320  [pdf, other

    cs.CL cs.AI cs.LG

    CommonsenseQA 2.0: Exposing the Limits of AI through Gamification

    Authors: Alon Talmor, Ori Yoran, Ronan Le Bras, Chandra Bhagavatula, Yoav Goldberg, Yejin Choi, Jonathan Berant

    Abstract: Constructing benchmarks that test the abilities of modern natural language understanding models is difficult - pre-trained language models exploit artifacts in benchmarks to achieve human parity, but still fail on adversarial examples and make errors that demonstrate a lack of common sense. In this work, we propose gamification as a framework for data construction. The goal of players in the game… ▽ More

    Submitted 14 January, 2022; originally announced January 2022.

    Comments: Presented as Oral at NeurIPS 2021

  44. arXiv:2112.14330  [pdf, other

    cs.CL

    Simple, Interpretable and Stable Method for Detecting Words with Usage Change across Corpora

    Authors: Hila Gonen, Ganesh Jawahar, Djamé Seddah, Yoav Goldberg

    Abstract: The problem of comparing two bodies of text and searching for words that differ in their usage between them arises often in digital humanities and computational social science. This is commonly approached by training word embeddings on each corpus, aligning the vector spaces, and looking for words whose cosine distance in the aligned space is large. However, these methods often require extensive f… ▽ More

    Submitted 28 December, 2021; originally announced December 2021.

    Comments: Published in ACL 2020

  45. arXiv:2110.07681  [pdf, other

    cs.CL

    Large Scale Substitution-based Word Sense Induction

    Authors: Matan Eyal, Shoval Sadde, Hillel Taub-Tabib, Yoav Goldberg

    Abstract: We present a word-sense induction method based on pre-trained masked language models (MLMs), which can cheaply scale to large vocabularies and large corpora. The result is a corpus which is sense-tagged according to a corpus-derived sense inventory and where each sense is associated with indicative words. Evaluation on English Wikipedia that was sense-tagged using our method shows that both the in… ▽ More

    Submitted 21 March, 2022; v1 submitted 14 October, 2021; originally announced October 2021.

    Comments: ACL 2022

  46. arXiv:2109.12085  [pdf, other

    cs.CL

    Text-based NP Enrichment

    Authors: Yanai Elazar, Victoria Basmov, Yoav Goldberg, Reut Tsarfaty

    Abstract: Understanding the relations between entities denoted by NPs in a text is a critical part of human-like natural language understanding. However, only a fraction of such relations is covered by standard NLP tasks and benchmarks nowadays. In this work, we propose a novel task termed text-based NP enrichment (TNE), in which we aim to enrich each NP in a text with all the preposition-mediated relations… ▽ More

    Submitted 11 April, 2022; v1 submitted 24 September, 2021; originally announced September 2021.

    Comments: Accepted to the TACL journal, pre-MIT Press publication version

  47. arXiv:2109.04832  [pdf, other

    cs.CL

    Asking It All: Generating Contextualized Questions for any Semantic Role

    Authors: Valentina Pyatkin, Paul Roit, Julian Michael, Reut Tsarfaty, Yoav Goldberg, Ido Dagan

    Abstract: Asking questions about a situation is an inherent step towards understanding it. To this end, we introduce the task of role question generation, which, given a predicate mention and a passage, requires producing a set of questions asking about all possible semantic roles of the predicate. We develop a two-stage model for this task, which first produces a context-independent question prototype for… ▽ More

    Submitted 10 September, 2021; originally announced September 2021.

    Comments: Accepted as a long paper to EMNLP 2021, Main Conference

  48. arXiv:2106.10199  [pdf, other

    cs.LG cs.CL

    BitFit: Simple Parameter-efficient Fine-tuning for Transformer-based Masked Language-models

    Authors: Elad Ben Zaken, Shauli Ravfogel, Yoav Goldberg

    Abstract: We introduce BitFit, a sparse-finetuning method where only the bias-terms of the model (or a subset of them) are being modified. We show that with small-to-medium training data, applying BitFit on pre-trained BERT models is competitive with (and sometimes better than) fine-tuning the entire model. For larger data, the method is competitive with other sparse fine-tuning methods. Besides their pract… ▽ More

    Submitted 5 September, 2022; v1 submitted 18 June, 2021; originally announced June 2021.

    Comments: Accepted at ACL 2022 main conference

  49. arXiv:2106.06981  [pdf, other

    cs.LG cs.CL

    Thinking Like Transformers

    Authors: Gail Weiss, Yoav Goldberg, Eran Yahav

    Abstract: What is the computational model behind a Transformer? Where recurrent neural networks have direct parallels in finite state machines, allowing clear discussion and thought around architecture variants or trained models, Transformers have no such familiar parallel. In this paper we aim to change that, proposing a computational model for the transformer-encoder in the form of a programming language.… ▽ More

    Submitted 19 July, 2021; v1 submitted 13 June, 2021; originally announced June 2021.

    Comments: ICML 2021

  50. arXiv:2106.04612  [pdf, other

    cs.CL cs.IR

    Neural Extractive Search

    Authors: Shauli Ravfogel, Hillel Taub-Tabib, Yoav Goldberg

    Abstract: Domain experts often need to extract structured information from large corpora. We advocate for a search paradigm called ``extractive search'', in which a search query is enriched with capture-slots, to allow for such rapid extraction. Such an extractive search system can be built around syntactic structures, resulting in high-precision, low-recall results. We show how the recall can be improved u… ▽ More

    Submitted 8 June, 2021; originally announced June 2021.

    Comments: Accepted as a demo paper in ACL2021