publication_date
stringlengths 20
20
| doc_url
stringlengths 33
34
| id
stringlengths 33
34
| authors
stringlengths 5
20.1k
| update_date
stringlengths 20
20
| category_all
stringlengths 5
138
| abstract
stringlengths 123
3.09k
| category_primary
stringclasses 78
values | title
stringlengths 10
211
|
---|---|---|---|---|---|---|---|---|
2023-05-30T07:36:12Z | http://arxiv.org/pdf/2306.00013v2 | http://arxiv.org/abs/2306.00013v2 | G. Jeyakodi, Arkadeep Pal, Debapratim Gupta, K. Sarukeswari, V. Amouda | 2023-06-24T07:12:20Z | cs.CL, cs.LG | According to the World Health Organization (WHO), cancer is the second
leading cause of death globally. Scientific research on different types of
cancers grows at an ever-increasing rate, publishing large volumes of research
articles every year. The insight information and the knowledge of the drug,
diagnostics, risk, symptoms, treatments, etc., related to genes are significant
factors that help explore and advance the cancer research progression. Manual
screening of such a large volume of articles is very laborious and
time-consuming to formulate any hypothesis. The study uses the two most
non-trivial NLP, Natural Language Processing functions, Entity Recognition, and
text classification to discover knowledge from biomedical literature. Named
Entity Recognition (NER) recognizes and extracts the predefined entities
related to cancer from unstructured text with the support of a user-friendly
interface and built-in dictionaries. Text classification helps to explore the
insights into the text and simplifies data categorization, querying, and
article screening. Machine learning classifiers are also used to build the
classification model and Structured Query Languages (SQL) is used to identify
the hidden relations that may lead to significant predictions. | cs.CL | Machine Learning Approach for Cancer Entities Association and Classification |
2023-05-30T06:47:07Z | http://arxiv.org/pdf/2305.18787v2 | http://arxiv.org/abs/2305.18787v2 | Yihan Wang, Jatin Chauhan, Wei Wang, Cho-Jui Hsieh | 2023-11-16T08:26:59Z | cs.LG, cs.CL | Despite the demonstrated empirical efficacy of prompt tuning to adapt a
pretrained language model for a new task, the theoretical underpinnings of the
difference between "tuning parameters before the input" against "the tuning of
model weights" are limited. We thus take one of the first steps to understand
the role of soft-prompt tuning for transformer-based architectures. By
considering a general purpose architecture, we analyze prompt tuning from the
lens of both: universal approximation and limitations with finite-depth
fixed-weight pretrained transformers for continuous-valued functions. Our
universality result guarantees the existence of a strong transformer with a
prompt to approximate any sequence-to-sequence function in the set of Lipschitz
functions. The limitations of prompt tuning for limited-depth transformers are
first proved by constructing a set of datasets, that cannot be memorized by a
prompt of any length for a given single encoder layer. We also provide a lower
bound on the required number of tunable prompt parameters and compare the
result with the number of parameters required for a low-rank update (based on
LoRA) for a single-layer setting. We finally extend our analysis to multi-layer
settings by providing sufficient conditions under which the transformer can at
best learn datasets from invertible functions only. Our theoretical claims are
also corroborated by empirical results. | cs.LG | Universality and Limitations of Prompt Tuning |
2023-05-30T06:40:08Z | http://arxiv.org/pdf/2305.18786v2 | http://arxiv.org/abs/2305.18786v2 | Santiago Castro, Oana Ignat, Rada Mihalcea | 2023-05-31T17:55:44Z | cs.CV, cs.CL | Joint vision-language models have shown great performance over a diverse set
of tasks. However, little is known about their limitations, as the high
dimensional space learned by these models makes it difficult to identify
semantic errors. Recent work has addressed this problem by designing highly
controlled probing task benchmarks. Our paper introduces a more scalable
solution that relies on already annotated benchmarks. Our method consists of
extracting a large set of diverse features from a vision-language benchmark and
measuring their correlation with the output of the target model. We confirm
previous findings that CLIP behaves like a bag of words model and performs
better with nouns and verbs; we also uncover novel insights such as CLIP
getting confused by concrete words. Our framework is available at
https://github.com/MichiganNLP/Scalable-VLM-Probing and can be used with other
multimodal models and benchmarks. | cs.CV | Scalable Performance Analysis for Vision-Language Models |
2023-05-30T05:48:36Z | http://arxiv.org/pdf/2305.18760v1 | http://arxiv.org/abs/2305.18760v1 | Yuxuan Wang, Jianghui Wang, Dongyan Zhao, Zilong Zheng | 2023-05-30T05:48:36Z | cs.CL | We introduce CDBERT, a new learning paradigm that enhances the semantics
understanding ability of the Chinese PLMs with dictionary knowledge and
structure of Chinese characters. We name the two core modules of CDBERT as
Shuowen and Jiezi, where Shuowen refers to the process of retrieving the most
appropriate meaning from Chinese dictionaries and Jiezi refers to the process
of enhancing characters' glyph representations with structure understanding. To
facilitate dictionary understanding, we propose three pre-training tasks, i.e.,
Masked Entry Modeling, Contrastive Learning for Synonym and Antonym, and
Example Learning. We evaluate our method on both modern Chinese understanding
benchmark CLUE and ancient Chinese benchmark CCLUE. Moreover, we propose a new
polysemy discrimination task PolyMRC based on the collected dictionary of
ancient Chinese. Our paradigm demonstrates consistent improvements on previous
Chinese PLMs across all tasks. Moreover, our approach yields significant
boosting on few-shot setting of ancient Chinese understanding. | cs.CL | Shuo Wen Jie Zi: Rethinking Dictionaries and Glyphs for Chinese Language Pre-training |
2023-05-30T05:40:37Z | http://arxiv.org/pdf/2305.18756v1 | http://arxiv.org/abs/2305.18756v1 | Yuxuan Wang, Zilong Zheng, Xueliang Zhao, Jinpeng Li, Yueqian Wang, Dongyan Zhao | 2023-05-30T05:40:37Z | cs.CV, cs.CL | Video-grounded dialogue understanding is a challenging problem that requires
machine to perceive, parse and reason over situated semantics extracted from
weakly aligned video and dialogues. Most existing benchmarks treat both
modalities the same as a frame-independent visual understanding task, while
neglecting the intrinsic attributes in multimodal dialogues, such as scene and
topic transitions. In this paper, we present Video-grounded Scene&Topic AwaRe
dialogue (VSTAR) dataset, a large scale video-grounded dialogue understanding
dataset based on 395 TV series. Based on VSTAR, we propose two benchmarks for
video-grounded dialogue understanding: scene segmentation and topic
segmentation, and one benchmark for video-grounded dialogue generation.
Comprehensive experiments are performed on these benchmarks to demonstrate the
importance of multimodal information and segments in video-grounded dialogue
understanding and generation. | cs.CV | VSTAR: A Video-grounded Dialogue Dataset for Situated Semantic Understanding with Scene and Topic Transitions |
2023-05-30T05:27:21Z | http://arxiv.org/pdf/2305.18752v1 | http://arxiv.org/abs/2305.18752v1 | Rui Yang, Lin Song, Yanwei Li, Sijie Zhao, Yixiao Ge, Xiu Li, Ying Shan | 2023-05-30T05:27:21Z | cs.CV, cs.CL | This paper aims to efficiently enable Large Language Models (LLMs) to use
multimodal tools. Advanced proprietary LLMs, such as ChatGPT and GPT-4, have
shown great potential for tool usage through sophisticated prompt engineering.
Nevertheless, these models typically rely on prohibitive computational costs
and publicly inaccessible data. To address these challenges, we propose the
GPT4Tools based on self-instruct to enable open-source LLMs, such as LLaMA and
OPT, to use tools. It generates an instruction-following dataset by prompting
an advanced teacher with various multi-modal contexts. By using the Low-Rank
Adaptation (LoRA) optimization, our approach facilitates the open-source LLMs
to solve a range of visual problems, including visual comprehension and image
generation. Moreover, we provide a benchmark to evaluate the ability of LLMs to
use tools, which is performed in both zero-shot and fine-tuning ways. Extensive
experiments demonstrate the effectiveness of our method on various language
models, which not only significantly improves the accuracy of invoking seen
tools, but also enables the zero-shot capacity for unseen tools. The code and
demo are available at https://github.com/StevenGrove/GPT4Tools. | cs.CV | GPT4Tools: Teaching Large Language Model to Use Tools via Self-instruction |
2023-05-30T05:05:52Z | http://arxiv.org/pdf/2305.18747v1 | http://arxiv.org/abs/2305.18747v1 | Chenda Li, Yao Qian, Zhuo Chen, Naoyuki Kanda, Dongmei Wang, Takuya Yoshioka, Yanmin Qian, Michael Zeng | 2023-05-30T05:05:52Z | eess.AS, cs.CL | State-of-the-art large-scale universal speech models (USMs) show a decent
automatic speech recognition (ASR) performance across multiple domains and
languages. However, it remains a challenge for these models to recognize
overlapped speech, which is often seen in meeting conversations. We propose an
approach to adapt USMs for multi-talker ASR. We first develop an enhanced
version of serialized output training to jointly perform multi-talker ASR and
utterance timestamp prediction. That is, we predict the ASR hypotheses for all
speakers, count the speakers, and estimate the utterance timestamps at the same
time. We further introduce a lightweight adapter module to maintain the
multilingual property of the USMs even when we perform the adaptation with only
a single language. Experimental results obtained using the AMI and AliMeeting
corpora show that our proposed approach effectively transfers the USMs to a
strong multilingual multi-talker ASR model with timestamp prediction
capability. | eess.AS | Adapting Multi-Lingual ASR Models for Handling Multiple Talkers |
2023-05-30T04:46:28Z | http://arxiv.org/pdf/2305.18742v1 | http://arxiv.org/abs/2305.18742v1 | Shiyang Li, Yifan Gao, Haoming Jiang, Qingyu Yin, Zheng Li, Xifeng Yan, Chao Zhang, Bing Yin | 2023-05-30T04:46:28Z | cs.CL | Answering complex questions often requires reasoning over knowledge graphs
(KGs). State-of-the-art methods often utilize entities in questions to retrieve
local subgraphs, which are then fed into KG encoder, e.g. graph neural networks
(GNNs), to model their local structures and integrated into language models for
question answering. However, this paradigm constrains retrieved knowledge in
local subgraphs and discards more diverse triplets buried in KGs that are
disconnected but useful for question answering. In this paper, we propose a
simple yet effective method to first retrieve the most relevant triplets from
KGs and then rerank them, which are then concatenated with questions to be fed
into language models. Extensive results on both CommonsenseQA and OpenbookQA
datasets show that our method can outperform state-of-the-art up to 4.6%
absolute accuracy. | cs.CL | Graph Reasoning for Question Answering with Triplet Retrieval |
2023-05-30T04:34:13Z | http://arxiv.org/pdf/2305.18741v1 | http://arxiv.org/abs/2305.18741v1 | Shikhar Murty, Pratyusha Sharma, Jacob Andreas, Christopher D. Manning | 2023-05-30T04:34:13Z | cs.CL | For humans, language production and comprehension is sensitive to the
hierarchical structure of sentences. In natural language processing, past work
has questioned how effectively neural sequence models like transformers capture
this hierarchical structure when generalizing to structurally novel inputs. We
show that transformer language models can learn to generalize hierarchically
after training for extremely long periods -- far beyond the point when
in-domain accuracy has saturated. We call this phenomenon \emph{structural
grokking}. On multiple datasets, structural grokking exhibits inverted U-shaped
scaling in model depth: intermediate-depth models generalize better than both
very deep and very shallow transformers. When analyzing the relationship
between model-internal properties and grokking, we find that optimal depth for
grokking can be identified using the tree-structuredness metric of
\citet{murty2023projections}. Overall, our work provides strong evidence that,
with extended training, vanilla transformers discover and use hierarchical
structure. | cs.CL | Grokking of Hierarchical Structure in Vanilla Transformers |
2023-05-30T04:21:24Z | http://arxiv.org/pdf/2305.18736v1 | http://arxiv.org/abs/2305.18736v1 | Muskan Garg, Chandni Saxena, Debabrata Samanta, Bonnie J. Dorr | 2023-05-30T04:21:24Z | cs.CL, cs.SI | Social media is a potential source of information that infers latent mental
states through Natural Language Processing (NLP). While narrating real-life
experiences, social media users convey their feeling of loneliness or isolated
lifestyle, impacting their mental well-being. Existing literature on
psychological theories points to loneliness as the major consequence of
interpersonal risk factors, propounding the need to investigate loneliness as a
major aspect of mental disturbance. We formulate lonesomeness detection in
social media posts as an explainable binary classification problem, discovering
the users at-risk, suggesting the need of resilience for early control. To the
best of our knowledge, there is no existing explainable dataset, i.e., one with
human-readable, annotated text spans, to facilitate further research and
development in loneliness detection causing mental disturbance. In this work,
three experts: a senior clinical psychologist, a rehabilitation counselor, and
a social NLP researcher define annotation schemes and perplexity guidelines to
mark the presence or absence of lonesomeness, along with the marking of
text-spans in original posts as explanation, in 3,521 Reddit posts. We expect
the public release of our dataset, LonXplain, and traditional classifiers as
baselines via GitHub. | cs.CL | LonXplain: Lonesomeness as a Consequence of Mental Disturbance in Reddit Posts |
2023-05-30T04:08:40Z | http://arxiv.org/pdf/2305.18727v1 | http://arxiv.org/abs/2305.18727v1 | Muskan Garg, Amirmohammad Shahbandegan, Amrit Chadha, Vijay Mago | 2023-05-30T04:08:40Z | cs.CL, cs.IR | With a surge in identifying suicidal risk and its severity in social media
posts, we argue that a more consequential and explainable research is required
for optimal impact on clinical psychology practice and personalized mental
healthcare. The success of computational intelligence techniques for inferring
mental illness from social media resources, points to natural language
processing as a lens for determining Interpersonal Risk Factors (IRF) in human
writings. Motivated with limited availability of datasets for social NLP
research community, we construct and release a new annotated dataset with
human-labelled explanations and classification of IRF affecting mental
disturbance on social media: (i) Thwarted Belongingness (TBe), and (ii)
Perceived Burdensomeness (PBu). We establish baseline models on our dataset
facilitating future research directions to develop real-time personalized AI
models by detecting patterns of TBe and PBu in emotional spectrum of user's
historical social media profile. | cs.CL | An Annotated Dataset for Explainable Interpersonal Risk Factors of Mental Disturbance in Social Media Posts |
2023-05-30T04:03:23Z | http://arxiv.org/pdf/2305.18725v1 | http://arxiv.org/abs/2305.18725v1 | John Bosco Mugeni, Steven Lynden, Toshiyuki Amagasa, Akiyoshi Matono | 2023-05-30T04:03:23Z | cs.CL, cs.DB | Entity Matching (EM) involves identifying different data representations
referring to the same entity from multiple data sources and is typically
formulated as a binary classification problem. It is a challenging problem in
data integration due to the heterogeneity of data representations.
State-of-the-art solutions have adopted NLP techniques based on pre-trained
language models (PrLMs) via the fine-tuning paradigm, however, sequential
fine-tuning of overparameterized PrLMs can lead to catastrophic forgetting,
especially in low-resource scenarios. In this study, we propose a
parameter-efficient paradigm for fine-tuning PrLMs based on adapters, small
neural networks encapsulated between layers of a PrLM, by optimizing only the
adapter and classifier weights while the PrLMs parameters are frozen.
Adapter-based methods have been successfully applied to multilingual speech
problems achieving promising results, however, the effectiveness of these
methods when applied to EM is not yet well understood, particularly for
generalized EM with heterogeneous data. Furthermore, we explore using (i)
pre-trained adapters and (ii) invertible adapters to capture token-level
language representations and demonstrate their benefits for transfer learning
on the generalized EM benchmark. Our results show that our solution achieves
comparable or superior performance to full-scale PrLM fine-tuning and
prompt-tuning baselines while utilizing a significantly smaller computational
footprint $\approx 13\%$ of the PrLM parameters. | cs.CL | AdapterEM: Pre-trained Language Model Adaptation for Generalized Entity Matching using Adapter-tuning |
2023-05-30T03:00:30Z | http://arxiv.org/pdf/2305.18703v7 | http://arxiv.org/abs/2305.18703v7 | Chen Ling, Xujiang Zhao, Jiaying Lu, Chengyuan Deng, Can Zheng, Junxiang Wang, Tanmoy Chowdhury, Yun Li, Hejie Cui, Xuchao Zhang, Tianjiao Zhao, Amit Panalkar, Dhagash Mehta, Stefano Pasquali, Wei Cheng, Haoyu Wang, Yanchi Liu, Zhengzhang Chen, Haifeng Chen, Chris White, Quanquan Gu, Jian Pei, Carl Yang, Liang Zhao | 2024-03-29T14:05:07Z | cs.CL, cs.AI | Large language models (LLMs) have significantly advanced the field of natural
language processing (NLP), providing a highly useful, task-agnostic foundation
for a wide range of applications. However, directly applying LLMs to solve
sophisticated problems in specific domains meets many hurdles, caused by the
heterogeneity of domain data, the sophistication of domain knowledge, the
uniqueness of domain objectives, and the diversity of the constraints (e.g.,
various social norms, cultural conformity, religious beliefs, and ethical
standards in the domain applications). Domain specification techniques are key
to make large language models disruptive in many applications. Specifically, to
solve these hurdles, there has been a notable increase in research and
practices conducted in recent years on the domain specialization of LLMs. This
emerging field of study, with its substantial potential for impact,
necessitates a comprehensive and systematic review to better summarize and
guide ongoing work in this area. In this article, we present a comprehensive
survey on domain specification techniques for large language models, an
emerging direction critical for large language model applications. First, we
propose a systematic taxonomy that categorizes the LLM domain-specialization
techniques based on the accessibility to LLMs and summarizes the framework for
all the subcategories as well as their relations and differences to each other.
Second, we present an extensive taxonomy of critical application domains that
can benefit dramatically from specialized LLMs, discussing their practical
significance and open challenges. Last, we offer our insights into the current
research status and future trends in this area. | cs.CL | Domain Specialization as the Key to Make Large Language Models Disruptive: A Comprehensive Survey |
2023-05-30T01:35:04Z | http://arxiv.org/pdf/2305.18679v2 | http://arxiv.org/abs/2305.18679v2 | Jyothir S V, Zuhaib Akhtar | 2023-06-02T02:35:03Z | cs.CL, cs.LG | Question answering (Q/A) can be formulated as a generative task (Mitra, 2017)
where the task is to generate an answer given the question and the passage
(knowledge, if available). Recent advances in QA task is focused a lot on
language model advancements and less on other areas such as sampling(Krishna et
al., 2021), (Nakano et al., 2021). Keywords play very important role for humans
in language generation. (Humans formulate keywords and use grammar to connect
those keywords and work). In the research community, very little focus is on
how humans generate answers to a question and how this behavior can be
incorporated in a language model. In this paper, we want to explore these two
areas combined, i.e., how sampling can be to used generate answers which are
close to human-like behavior and factually correct. Hence, the type of decoding
algorithm we think should be used for Q/A tasks should also depend on the
keywords. These keywords can be obtained from the question, passage or internet
results. We use knowledge distillation techniques to extract keywords and
sample using these extracted keywords on top of vanilla decoding algorithms
when formulating the answer to generate a human-like answer. In this paper, we
show that our decoding method outperforms most commonly used decoding methods
for Q/A task | cs.CL | KEYword based Sampling (KEYS) for Large Language Models |
2023-05-30T01:21:36Z | http://arxiv.org/pdf/2305.18675v1 | http://arxiv.org/abs/2305.18675v1 | Mehrnoosh Mirtaheri, Mohammad Rostami, Aram Galstyan | 2023-05-30T01:21:36Z | cs.LG, cs.AI, cs.CL, I.2.6; I.2.7 | Temporal knowledge graph (TKG) completion models typically rely on having
access to the entire graph during training. However, in real-world scenarios,
TKG data is often received incrementally as events unfold, leading to a dynamic
non-stationary data distribution over time. While one could incorporate
fine-tuning to existing methods to allow them to adapt to evolving TKG data,
this can lead to forgetting previously learned patterns. Alternatively,
retraining the model with the entire updated TKG can mitigate forgetting but is
computationally burdensome. To address these challenges, we propose a general
continual training framework that is applicable to any TKG completion method,
and leverages two key ideas: (i) a temporal regularization that encourages
repurposing of less important model parameters for learning new knowledge, and
(ii) a clustering-based experience replay that reinforces the past knowledge by
selectively preserving only a small portion of the past data. Our experimental
results on widely used event-centric TKG datasets demonstrate the effectiveness
of our proposed continual training framework in adapting to new events while
reducing catastrophic forgetting. Further, we perform ablation studies to show
the effectiveness of each component of our proposed framework. Finally, we
investigate the relation between the memory dedicated to experience replay and
the benefit gained from our clustering-based sampling strategy. | cs.LG | History Repeats: Overcoming Catastrophic Forgetting For Event-Centric Temporal Knowledge Graph Completion |
2023-05-29T23:44:26Z | http://arxiv.org/pdf/2305.18657v2 | http://arxiv.org/abs/2305.18657v2 | Qing Lyu, Marianna Apidianaki, Chris Callison-Burch | 2023-05-31T22:50:25Z | cs.CL | The representation space of pretrained Language Models (LMs) encodes rich
information about words and their relationships (e.g., similarity, hypernymy,
polysemy) as well as abstract semantic notions (e.g., intensity). In this
paper, we demonstrate that lexical stylistic notions such as complexity,
formality, and figurativeness, can also be identified in this space. We show
that it is possible to derive a vector representation for each of these
stylistic notions from only a small number of seed pairs. Using these vectors,
we can characterize new texts in terms of these dimensions by performing simple
calculations in the corresponding embedding space. We conduct experiments on
five datasets and find that static embeddings encode these features more
accurately at the level of words and phrases, whereas contextualized LMs
perform better on sentences. The lower performance of contextualized
representations at the word level is partially attributable to the anisotropy
of their vector space, which can be corrected to some extent using techniques
like standardization. | cs.CL | Representation Of Lexical Stylistic Features In Language Models' Embedding Space |
2023-05-29T23:24:14Z | http://arxiv.org/pdf/2305.18654v3 | http://arxiv.org/abs/2305.18654v3 | Nouha Dziri, Ximing Lu, Melanie Sclar, Xiang Lorraine Li, Liwei Jiang, Bill Yuchen Lin, Peter West, Chandra Bhagavatula, Ronan Le Bras, Jena D. Hwang, Soumya Sanyal, Sean Welleck, Xiang Ren, Allyson Ettinger, Zaid Harchaoui, Yejin Choi | 2023-10-31T16:35:07Z | cs.CL, cs.AI, cs.LG | Transformer large language models (LLMs) have sparked admiration for their
exceptional performance on tasks that demand intricate multi-step reasoning.
Yet, these models simultaneously show failures on surprisingly trivial
problems. This begs the question: Are these errors incidental, or do they
signal more substantial limitations? In an attempt to demystify transformer
LLMs, we investigate the limits of these models across three representative
compositional tasks -- multi-digit multiplication, logic grid puzzles, and a
classic dynamic programming problem. These tasks require breaking problems down
into sub-steps and synthesizing these steps into a precise answer. We formulate
compositional tasks as computation graphs to systematically quantify the level
of complexity, and break down reasoning steps into intermediate sub-procedures.
Our empirical findings suggest that transformer LLMs solve compositional tasks
by reducing multi-step compositional reasoning into linearized subgraph
matching, without necessarily developing systematic problem-solving skills. To
round off our empirical study, we provide theoretical arguments on abstract
multi-step reasoning problems that highlight how autoregressive generations'
performance can rapidly decay with\,increased\,task\,complexity. | cs.CL | Faith and Fate: Limits of Transformers on Compositionality |
2023-05-29T22:29:03Z | http://arxiv.org/pdf/2305.18641v1 | http://arxiv.org/abs/2305.18641v1 | Mingyang Zhou, Yi R. Fung, Long Chen, Christopher Thomas, Heng Ji, Shih-Fu Chang | 2023-05-29T22:29:03Z | cs.CL, cs.CV | Building cross-model intelligence that can understand charts and communicate
the salient information hidden behind them is an appealing challenge in the
vision and language(V+L) community. The capability to uncover the underlined
table data of chart figures is a critical key to automatic chart understanding.
We introduce ChartT5, a V+L model that learns how to interpret table
information from chart images via cross-modal pre-training on plot table pairs.
Specifically, we propose two novel pre-training objectives: Masked Header
Prediction (MHP) and Masked Value Prediction (MVP) to facilitate the model with
different skills to interpret the table information. We have conducted
extensive experiments on chart question answering and chart summarization to
verify the effectiveness of the proposed pre-training strategies. In
particular, on the ChartQA benchmark, our ChartT5 outperforms the
state-of-the-art non-pretraining methods by over 8% performance gains. | cs.CL | Enhanced Chart Understanding in Vision and Language Task via Cross-modal Pre-training on Plot Table Pairs |
2023-05-29T22:05:29Z | http://arxiv.org/pdf/2305.18638v1 | http://arxiv.org/abs/2305.18638v1 | Su-Youn Yoon | 2023-05-29T22:05:29Z | cs.CL, I.2.7 | In this study, we developed an automated short answer grading (ASAG) model
that provided both analytic scores and final holistic scores. Short answer
items typically consist of multiple sub-questions, and providing an analytic
score and the text span relevant to each sub-question can increase the
interpretability of the automated scores. Furthermore, they can be used to
generate actionable feedback for students. Despite these advantages, most
studies have focused on predicting only holistic scores due to the difficulty
in constructing dataset with manual annotations. To address this difficulty, we
used large language model (LLM)-based one-shot prompting and a text similarity
scoring model with domain adaptation using small manually annotated dataset.
The accuracy and quadratic weighted kappa of our model were 0.67 and 0.71 on a
subset of the publicly available ASAG dataset. The model achieved a substantial
improvement over the majority baseline. | cs.CL | Short Answer Grading Using One-shot Prompting and Text Similarity Scoring Model |
2023-05-29T21:17:52Z | http://arxiv.org/pdf/2305.18624v5 | http://arxiv.org/abs/2305.18624v5 | Mingchen Li, Yang Ye, Jeremy Yeung, Huixue Zhou, Huaiyuan Chu, Rui Zhang | 2023-08-01T00:04:32Z | cs.CL, cs.LG | Contrastive learning has become a popular solution for few-shot Name Entity
Recognization (NER). The conventional configuration strives to reduce the
distance between tokens with the same labels and increase the distance between
tokens with different labels. The effect of this setup may, however, in the
medical domain, there are a lot of entities annotated as OUTSIDE (O), and they
are undesirably pushed apart to other entities that are not labeled as OUTSIDE
(O) by the current contrastive learning method end up with a noisy prototype
for the semantic representation of the label, though there are many OUTSIDE (O)
labeled entities are relevant to the labeled entities. To address this
challenge, we propose a novel method named Weighted Prototypical Contrastive
Learning for Medical Few Shot Named Entity Recognization (W-PROCER). Our
approach primarily revolves around constructing the prototype-based contractive
loss and weighting network. These components play a crucial role in assisting
the model in differentiating the negative samples from OUTSIDE (O) tokens and
enhancing the discrimination ability of contrastive learning. Experimental
results show that our proposed W-PROCER framework significantly outperforms the
strong baselines on the three medical benchmark datasets. | cs.CL | W-procer: Weighted Prototypical Contrastive Learning for Medical Few-Shot Named Entity Recognition |
2023-05-29T21:16:42Z | http://arxiv.org/pdf/2305.18623v1 | http://arxiv.org/abs/2305.18623v1 | Peilin Yu, Stephen H. Bach | 2023-05-29T21:16:42Z | cs.LG, cs.CL | Alfred is the first system for programmatic weak supervision (PWS) that
creates training data for machine learning by prompting. In contrast to typical
PWS systems where weak supervision sources are programs coded by experts,
Alfred enables users to encode their subject matter expertise via natural
language prompts for language and vision-language models. Alfred provides a
simple Python interface for the key steps of this emerging paradigm, with a
high-throughput backend for large-scale data labeling. Users can quickly
create, evaluate, and refine their prompt-based weak supervision sources; map
the results to weak labels; and resolve their disagreements with a label model.
Alfred enables a seamless local development experience backed by models served
from self-managed computing clusters. It automatically optimizes the execution
of prompts with optimized batching mechanisms. We find that this optimization
improves query throughput by 2.9x versus a naive approach. We present two
example use cases demonstrating Alfred on YouTube comment spam detection and
pet breeds classification. Alfred is open source, available at
https://github.com/BatsResearch/alfred. | cs.LG | Alfred: A System for Prompted Weak Supervision |
2023-05-29T20:37:06Z | http://arxiv.org/pdf/2305.18602v1 | http://arxiv.org/abs/2305.18602v1 | Séverine Guillaume, Guillaume Wisniewski, Alexis Michaud | 2023-05-29T20:37:06Z | cs.CL, cs.SD, eess.AS | XLSR-53 a multilingual model of speech, builds a vector representation from
audio, which allows for a range of computational treatments. The experiments
reported here use this neural representation to estimate the degree of
closeness between audio files, ultimately aiming to extract relevant linguistic
properties. We use max-pooling to aggregate the neural representations from a
"snippet-lect" (the speech in a 5-second audio snippet) to a "doculect" (the
speech in a given resource), then to dialects and languages. We use data from
corpora of 11 dialects belonging to 5 less-studied languages. Similarity
measurements between the 11 corpora bring out greatest closeness between those
that are known to be dialects of the same language. The findings suggest that
(i) dialect/language can emerge among the various parameters characterizing
audio files and (ii) estimates of overall phonetic/phonological closeness can
be obtained for a little-resourced or fully unknown language. The findings help
shed light on the type of information captured by neural representations of
speech and how it can be extracted from these representations | cs.CL | From `Snippet-lects' to Doculects and Dialects: Leveraging Neural Representations of Speech for Placing Audio Signals in a Language Landscape |
2023-05-29T20:32:22Z | http://arxiv.org/pdf/2305.18599v1 | http://arxiv.org/abs/2305.18599v1 | Sahar Tahmasebi, Sherzod Hakimov, Ralph Ewerth, Eric Müller-Budack | 2023-05-29T20:32:22Z | cs.CL, cs.IR, cs.LG, cs.MM | The increasing proliferation of misinformation and its alarming impact have
motivated both industry and academia to develop approaches for fake news
detection. However, state-of-the-art approaches are usually trained on datasets
of smaller size or with a limited set of specific topics. As a consequence,
these models lack generalization capabilities and are not applicable to
real-world data. In this paper, we propose three models that adopt and
fine-tune state-of-the-art multimodal transformers for multimodal fake news
detection. We conduct an in-depth analysis by manipulating the input data aimed
to explore models performance in realistic use cases on social media. Our study
across multiple models demonstrates that these systems suffer significant
performance drops against manipulated data. To reduce the bias and improve
model generalization, we suggest training data augmentation to conduct more
meaningful experiments for fake news detection on social media. The proposed
data augmentation techniques enable models to generalize better and yield
improved state-of-the-art results. | cs.CL | Improving Generalization for Multimodal Fake News Detection |
2023-05-29T20:30:38Z | http://arxiv.org/pdf/2305.18598v1 | http://arxiv.org/abs/2305.18598v1 | Gabriella Chronis, Kyle Mahowald, Katrin Erk | 2023-05-29T20:30:38Z | cs.CL | We study semantic construal in grammatical constructions using large language
models. First, we project contextual word embeddings into three interpretable
semantic spaces, each defined by a different set of psycholinguistic feature
norms. We validate these interpretable spaces and then use them to
automatically derive semantic characterizations of lexical items in two
grammatical constructions: nouns in subject or object position within the same
sentence, and the AANN construction (e.g., `a beautiful three days'). We show
that a word in subject position is interpreted as more agentive than the very
same word in object position, and that the nouns in the AANN construction are
interpreted as more measurement-like than when in the canonical alternation.
Our method can probe the distributional meaning of syntactic constructions at a
templatic level, abstracted away from specific lexemes. | cs.CL | A Method for Studying Semantic Construal in Grammatical Constructions with Interpretable Contextual Embedding Spaces |
2023-05-29T20:24:14Z | http://arxiv.org/pdf/2305.18596v1 | http://arxiv.org/abs/2305.18596v1 | Abhinav Goyal, Nikesh Garera | 2023-05-29T20:24:14Z | cs.SD, cs.CL, cs.LG, eess.AS | Automatic Speech Recognition (ASR) plays a crucial role in voice-based
applications. For applications requiring real-time feedback like Voice Search,
streaming capability becomes vital. While LSTM/RNN and CTC based ASR systems
are commonly employed for low-latency streaming applications, they often
exhibit lower accuracy compared to state-of-the-art models due to a lack of
future audio frames. In this work, we focus on developing accurate LSTM,
attention, and CTC based streaming ASR models for large-scale Hinglish (a blend
of Hindi and English) Voice Search. We investigate various modifications in
vanilla LSTM training which enhance the system's accuracy while preserving its
streaming capabilities. We also address the critical requirement of
end-of-speech (EOS) detection in streaming applications. We present a simple
training and inference strategy for end-to-end CTC models that enables joint
ASR and EOS detection. The evaluation of our model on Flipkart's Voice Search,
which handles substantial traffic of approximately 6 million queries per day,
demonstrates significant performance gains over the vanilla LSTM-CTC model. Our
model achieves a word error rate (WER) of 3.69% without EOS and 4.78% with EOS
while also reducing the search latency by approximately ~1300 ms (equivalent to
46.64% reduction) when compared to an independent voice activity detection
(VAD) model. | cs.SD | Building Accurate Low Latency ASR for Streaming Voice Search |
2023-05-29T19:59:40Z | http://arxiv.org/pdf/2305.18585v1 | http://arxiv.org/abs/2305.18585v1 | Pranath Reddy Kumbam, Sohaib Uddin Syed, Prashanth Thamminedi, Suhas Harish, Ian Perera, Bonnie J. Dorr | 2023-05-29T19:59:40Z | cs.CL, cs.AI | The advent of social media has given rise to numerous ethical challenges,
with hate speech among the most significant concerns. Researchers are
attempting to tackle this problem by leveraging hate-speech detection and
employing language models to automatically moderate content and promote civil
discourse. Unfortunately, recent studies have revealed that hate-speech
detection systems can be misled by adversarial attacks, raising concerns about
their resilience. While previous research has separately addressed the
robustness of these models under adversarial attacks and their
interpretability, there has been no comprehensive study exploring their
intersection. The novelty of our work lies in combining these two critical
aspects, leveraging interpretability to identify potential vulnerabilities and
enabling the design of targeted adversarial attacks. We present a comprehensive
and comparative analysis of adversarial robustness exhibited by various
hate-speech detection models. Our study evaluates the resilience of these
models against adversarial attacks using explainability techniques. To gain
insights into the models' decision-making processes, we employ the Local
Interpretable Model-agnostic Explanations (LIME) framework. Based on the
explainability results obtained by LIME, we devise and execute targeted attacks
on the text by leveraging the TextAttack tool. Our findings enhance the
understanding of the vulnerabilities and strengths exhibited by
state-of-the-art hate-speech detection models. This work underscores the
importance of incorporating explainability in the development and evaluation of
such models to enhance their resilience against adversarial attacks.
Ultimately, this work paves the way for creating more robust and reliable
hate-speech detection systems, fostering safer online environments and
promoting ethical discourse on social media platforms. | cs.CL | Exploiting Explainability to Design Adversarial Attacks and Evaluate Attack Resilience in Hate-Speech Detection Models |
2023-05-29T19:48:37Z | http://arxiv.org/pdf/2305.18582v2 | http://arxiv.org/abs/2305.18582v2 | Pengfei Yu, Heng Ji | 2024-02-09T06:37:51Z | cs.CL | Large Language Models~(LLMs) struggle with providing current information due
to the outdated pre-training data. Existing methods for updating LLMs, such as
knowledge editing and continual fine-tuning, have significant drawbacks in
generalizability of new information and the requirements on structured updating
corpus. We identify the core challenge behind these drawbacks: the LM-logical
discrepancy featuring the difference between language modeling probabilities
and logical probabilities. To evaluate and address the core challenge, we
propose a new task formulation of the information updating task that only
requires the provision of an unstructured updating corpus and evaluates the
performance of information updating on the generalizability to question-answer
pairs pertaining to the updating information. We further propose a novel and
effective pipeline approach for the task, highlighting a self-prompting-based
question-answer generation process and a associative distillation methods to
bridge the LM-logical discrepancy. We develop two datasets for evaluation, one
sourced from news articles published in March and April 2023, and the other
from the Natural Questions benchmark. Experimental results demonstrate the
superiority of our approach, significantly increasing the factual consistency
score (on a scale from 0 to 1) by up to 0.16. Furthermore, our method
effectively mitigates forgetting utilizing a compact replay buffer with only
2.3% of the training tokens. | cs.CL | Information Association for Language Model Updating by Mitigating LM-Logical Discrepancy |
2023-05-29T19:37:26Z | http://arxiv.org/pdf/2305.18576v1 | http://arxiv.org/abs/2305.18576v1 | Zichen Liu, Xuyuan Liu, Yanlong Wen, Guoqing Zhao, Fen Xia, Xiaojie Yuan | 2023-05-29T19:37:26Z | cs.CL, I.2.7 | ICD coding is designed to assign the disease codes to electronic health
records (EHRs) upon discharge, which is crucial for billing and clinical
statistics. In an attempt to improve the effectiveness and efficiency of manual
coding, many methods have been proposed to automatically predict ICD codes from
clinical notes. However, most previous works ignore the decisive information
contained in structured medical data in EHRs, which is hard to be captured from
the noisy clinical notes. In this paper, we propose a Tree-enhanced Multimodal
Attention Network (TreeMAN) to fuse tabular features and textual features into
multimodal representations by enhancing the text representations with
tree-based features via the attention mechanism. Tree-based features are
constructed according to decision trees learned from structured multimodal
medical data, which capture the decisive information about ICD coding. We can
apply the same multi-label classifier from previous text models to the
multimodal representations to predict ICD codes. Experiments on two MIMIC
datasets show that our method outperforms prior state-of-the-art ICD coding
approaches. The code is available at https://github.com/liu-zichen/TreeMAN. | cs.CL | TreeMAN: Tree-enhanced Multimodal Attention Network for ICD Coding |
2023-05-29T18:58:38Z | http://arxiv.org/pdf/2305.18565v1 | http://arxiv.org/abs/2305.18565v1 | Xi Chen, Josip Djolonga, Piotr Padlewski, Basil Mustafa, Soravit Changpinyo, Jialin Wu, Carlos Riquelme Ruiz, Sebastian Goodman, Xiao Wang, Yi Tay, Siamak Shakeri, Mostafa Dehghani, Daniel Salz, Mario Lucic, Michael Tschannen, Arsha Nagrani, Hexiang Hu, Mandar Joshi, Bo Pang, Ceslee Montgomery, Paulina Pietrzyk, Marvin Ritter, AJ Piergiovanni, Matthias Minderer, Filip Pavetic, Austin Waters, Gang Li, Ibrahim Alabdulmohsin, Lucas Beyer, Julien Amelot, Kenton Lee, Andreas Peter Steiner, Yang Li, Daniel Keysers, Anurag Arnab, Yuanzhong Xu, Keran Rong, Alexander Kolesnikov, Mojtaba Seyedhosseini, Anelia Angelova, Xiaohua Zhai, Neil Houlsby, Radu Soricut | 2023-05-29T18:58:38Z | cs.CV, cs.CL, cs.LG | We present the training recipe and results of scaling up PaLI-X, a
multilingual vision and language model, both in terms of size of the components
and the breadth of its training task mixture. Our model achieves new levels of
performance on a wide-range of varied and complex tasks, including multiple
image-based captioning and question-answering tasks, image-based document
understanding and few-shot (in-context) learning, as well as object detection,
video question answering, and video captioning. PaLI-X advances the
state-of-the-art on most vision-and-language benchmarks considered (25+ of
them). Finally, we observe emerging capabilities, such as complex counting and
multilingual object detection, tasks that are not explicitly in the training
mix. | cs.CV | PaLI-X: On Scaling up a Multilingual Vision and Language Model |
2023-05-29T18:42:01Z | http://arxiv.org/pdf/2306.00008v2 | http://arxiv.org/abs/2306.00008v2 | Yanqi Zhou, Nan Du, Yanping Huang, Daiyi Peng, Chang Lan, Da Huang, Siamak Shakeri, David So, Andrew Dai, Yifeng Lu, Zhifeng Chen, Quoc Le, Claire Cui, James Laudon, Jeff Dean | 2024-04-25T05:46:01Z | cs.LG, cs.CL | Transformers are central to recent successes in natural language processing
and computer vision. Transformers have a mostly uniform backbone where layers
alternate between feed-forward and self-attention in order to build a deep
network. Here we investigate this design choice and find that more complex
blocks that have different permutations of layer primitives can be more
efficient. Using this insight, we develop a complex block, named Brainformer,
that consists of a diverse sets of layers such as sparsely gated feed-forward
layers, dense feed-forward layers, attention layers, and various forms of layer
normalization and activation functions. Brainformer consistently outperforms
the state-of-the-art dense and sparse Transformers, in terms of both quality
and efficiency. A Brainformer model with 8 billion activated parameters per
token demonstrates 2x faster training convergence and 5x faster step time
compared to its GLaM counterpart. In downstream task evaluation, Brainformer
also demonstrates a 3% higher SuperGLUE score with fine-tuning compared to GLaM
with a similar number of activated parameters. Finally, Brainformer largely
outperforms a Primer dense model derived with NAS with similar computation per
token on fewshot evaluations. | cs.LG | Brainformers: Trading Simplicity for Efficiency |
2023-05-29T18:30:34Z | http://arxiv.org/pdf/2305.18554v2 | http://arxiv.org/abs/2305.18554v2 | Janvijay Singh, Mukund Rungta, Diyi Yang, Saif M. Mohammad | 2023-07-31T17:38:03Z | cs.CL, cs.DL | Citing papers is the primary method through which modern scientific writing
discusses and builds on past work. Collectively, citing a diverse set of papers
(in time and area of study) is an indicator of how widely the community is
reading. Yet, there is little work looking at broad temporal patterns of
citation. This work systematically and empirically examines: How far back in
time do we tend to go to cite papers? How has that changed over time, and what
factors correlate with this citational attention/amnesia? We chose NLP as our
domain of interest and analyzed approximately 71.5K papers to show and quantify
several key trends in citation. Notably, around 62% of cited papers are from
the immediate five years prior to publication, whereas only about 17% are more
than ten years old. Furthermore, we show that the median age and age diversity
of cited papers were steadily increasing from 1990 to 2014, but since then, the
trend has reversed, and current NLP papers have an all-time low temporal
citation diversity. Finally, we show that unlike the 1990s, the highly cited
papers in the last decade were also papers with the least citation diversity,
likely contributing to the intense (and arguably harmful) recency focus. Code,
data, and a demo are available on the project homepage. | cs.CL | Forgotten Knowledge: Examining the Citational Amnesia in NLP |
2023-05-29T18:27:10Z | http://arxiv.org/pdf/2306.00007v1 | http://arxiv.org/abs/2306.00007v1 | Daniel da Silva Junior, Paulo Roberto dos S. Corval, Aline Paes, Daniel de Oliveira | 2023-05-29T18:27:10Z | cs.CL, cs.LG | The Brazilian judiciary has a large workload, resulting in a long time to
finish legal proceedings. Brazilian National Council of Justice has established
in Resolution 469/2022 formal guidance for document and process digitalization
opening up the possibility of using automatic techniques to help with everyday
tasks in the legal field, particularly in a large number of texts yielded on
the routine of law procedures. Notably, Artificial Intelligence (AI) techniques
allow for processing and extracting useful information from textual data,
potentially speeding up the process. However, datasets from the legal domain
required by several AI techniques are scarce and difficult to obtain as they
need labels from experts. To address this challenge, this article contributes
with four datasets from the legal domain, two with documents and metadata but
unlabeled, and another two labeled with a heuristic aiming at its use in
textual semantic similarity tasks. Also, to evaluate the effectiveness of the
proposed heuristic label process, this article presents a small ground truth
dataset generated from domain expert annotations. The analysis of ground truth
labels highlights that semantic analysis of domain text can be challenging even
for domain experts. Also, the comparison between ground truth and heuristic
labels shows that heuristic labels are useful. | cs.CL | Datasets for Portuguese Legal Semantic Textual Similarity: Comparing weak supervision and an annotation process approaches |
2023-05-29T17:59:15Z | http://arxiv.org/pdf/2305.18294v1 | http://arxiv.org/abs/2305.18294v1 | Goro Kobayashi, Tatsuki Kuribayashi, Sho Yokoi, Kentaro Inui | 2023-05-29T17:59:15Z | cs.CL | Prediction head is a crucial component of Transformer language models.
Despite its direct impact on prediction, this component has often been
overlooked in analyzing Transformers. In this study, we investigate the inner
workings of the prediction head, specifically focusing on bias parameters. Our
experiments with BERT and GPT-2 models reveal that the biases in their word
prediction heads play a significant role in the models' ability to reflect word
frequency in a corpus, aligning with the logit adjustment method commonly used
in long-tailed learning. We also quantify the effect of controlling the biases
in practical auto-regressive text generation scenarios; under a particular
setting, more diverse text can be generated without compromising text quality. | cs.CL | Transformer Language Models Handle Word Frequency in Prediction Head |
2023-05-29T17:57:46Z | http://arxiv.org/pdf/2305.18290v2 | http://arxiv.org/abs/2305.18290v2 | Rafael Rafailov, Archit Sharma, Eric Mitchell, Stefano Ermon, Christopher D. Manning, Chelsea Finn | 2023-12-13T18:48:48Z | cs.LG, cs.AI, cs.CL | While large-scale unsupervised language models (LMs) learn broad world
knowledge and some reasoning skills, achieving precise control of their
behavior is difficult due to the completely unsupervised nature of their
training. Existing methods for gaining such steerability collect human labels
of the relative quality of model generations and fine-tune the unsupervised LM
to align with these preferences, often with reinforcement learning from human
feedback (RLHF). However, RLHF is a complex and often unstable procedure, first
fitting a reward model that reflects the human preferences, and then
fine-tuning the large unsupervised LM using reinforcement learning to maximize
this estimated reward without drifting too far from the original model. In this
paper we introduce a new parameterization of the reward model in RLHF that
enables extraction of the corresponding optimal policy in closed form, allowing
us to solve the standard RLHF problem with only a simple classification loss.
The resulting algorithm, which we call Direct Preference Optimization (DPO), is
stable, performant, and computationally lightweight, eliminating the need for
sampling from the LM during fine-tuning or performing significant
hyperparameter tuning. Our experiments show that DPO can fine-tune LMs to align
with human preferences as well as or better than existing methods. Notably,
fine-tuning with DPO exceeds PPO-based RLHF in ability to control sentiment of
generations, and matches or improves response quality in summarization and
single-turn dialogue while being substantially simpler to implement and train. | cs.LG | Direct Preference Optimization: Your Language Model is Secretly a Reward Model |
2023-05-29T17:56:35Z | http://arxiv.org/pdf/2305.18287v2 | http://arxiv.org/abs/2305.18287v2 | M. Jehanzeb Mirza, Leonid Karlinsky, Wei Lin, Mateusz Kozinski, Horst Possegger, Rogerio Feris, Horst Bischof | 2023-10-23T12:32:47Z | cs.CV, cs.CL | Recently, large-scale pre-trained Vision and Language (VL) models have set a
new state-of-the-art (SOTA) in zero-shot visual classification enabling
open-vocabulary recognition of potentially unlimited set of categories defined
as simple language prompts. However, despite these great advances, the
performance of these zeroshot classifiers still falls short of the results of
dedicated (closed category set) classifiers trained with supervised fine
tuning. In this paper we show, for the first time, how to reduce this gap
without any labels and without any paired VL data, using an unlabeled image
collection and a set of texts auto-generated using a Large Language Model (LLM)
describing the categories of interest and effectively substituting labeled
visual instances of those categories. Using our label-free approach, we are
able to attain significant performance improvements over the zero-shot
performance of the base VL model and other contemporary methods and baselines
on a wide variety of datasets, demonstrating absolute improvement of up to
11.7% (3.8% on average) in the label-free setting. Moreover, despite our
approach being label-free, we observe 1.3% average gains over leading few-shot
prompting baselines that do use 5-shot supervision. | cs.CV | LaFTer: Label-Free Tuning of Zero-shot Classifier using Language and Unlabeled Image Collections |
2023-05-29T17:53:35Z | http://arxiv.org/pdf/2305.18283v1 | http://arxiv.org/abs/2305.18283v1 | Juan Zuluaga-Gomez, Sara Ahmed, Danielius Visockas, Cem Subakan | 2023-05-29T17:53:35Z | cs.CL, cs.AI, cs.LG, eess.AS | Despite the recent advancements in Automatic Speech Recognition (ASR), the
recognition of accented speech still remains a dominant problem. In order to
create more inclusive ASR systems, research has shown that the integration of
accent information, as part of a larger ASR framework, can lead to the
mitigation of accented speech errors. We address multilingual accent
classification through the ECAPA-TDNN and Wav2Vec 2.0/XLSR architectures which
have been proven to perform well on a variety of speech-related downstream
tasks. We introduce a simple-to-follow recipe aligned to the SpeechBrain
toolkit for accent classification based on Common Voice 7.0 (English) and
Common Voice 11.0 (Italian, German, and Spanish). Furthermore, we establish new
state-of-the-art for English accent classification with as high as 95%
accuracy. We also study the internal categorization of the Wav2Vev 2.0
embeddings through t-SNE, noting that there is a level of clustering based on
phonological similarity. (Our recipe is open-source in the SpeechBrain toolkit,
see: https://github.com/speechbrain/speechbrain/tree/develop/recipes) | cs.CL | CommonAccent: Exploring Large Acoustic Pretrained Models for Accent Classification Based on Common Voice |
2023-05-29T17:53:04Z | http://arxiv.org/pdf/2305.18281v1 | http://arxiv.org/abs/2305.18281v1 | Florian Mai, Juan Zuluaga-Gomez, Titouan Parcollet, Petr Motlicek | 2023-05-29T17:53:04Z | cs.CL, cs.AI, cs.LG, eess.AS | State-of-the-art ASR systems have achieved promising results by modeling
local and global interactions separately. While the former can be computed
efficiently, global interactions are usually modeled via attention mechanisms,
which are expensive for long input sequences. Here, we address this by
extending HyperMixer, an efficient alternative to attention exhibiting linear
complexity, to the Conformer architecture for speech recognition, leading to
HyperConformer. In particular, multi-head HyperConformer achieves comparable or
higher recognition performance while being more efficient than Conformer in
terms of inference speed, memory, parameter count, and available training data.
HyperConformer achieves a word error rate of 2.9% on Librispeech test-clean
with less than 8M neural parameters and a peak memory during training of 5.7GB,
hence trainable with accessible hardware. Encoder speed is between 38% on
mid-length speech and 56% on long speech faster than an equivalent Conformer.
(The HyperConformer recipe is publicly available in:
https://github.com/speechbrain/speechbrain/tree/develop/recipes/LibriSpeech/ASR/transformer/) | cs.CL | HyperConformer: Multi-head HyperMixer for Efficient Speech Recognition |
2023-05-29T17:50:52Z | http://arxiv.org/pdf/2305.18513v1 | http://arxiv.org/abs/2305.18513v1 | Arash Ardakani, Altan Haan, Shangyin Tan, Doru Thom Popovici, Alvin Cheung, Costin Iancu, Koushik Sen | 2023-05-29T17:50:52Z | cs.CL | Transformer-based models, such as BERT and ViT, have achieved
state-of-the-art results across different natural language processing (NLP) and
computer vision (CV) tasks. However, these models are extremely memory
intensive during their fine-tuning process, making them difficult to deploy on
GPUs with limited memory resources. To address this issue, we introduce a new
tool called SlimFit that reduces the memory requirements of these models by
dynamically analyzing their training dynamics and freezing less-contributory
layers during fine-tuning. The layers to freeze are chosen using a runtime
inter-layer scheduling algorithm. SlimFit adopts quantization and pruning for
particular layers to balance the load of dynamic activations and to minimize
the memory footprint of static activations, where static activations refer to
those that cannot be discarded regardless of freezing. This allows SlimFit to
freeze up to 95% of layers and reduce the overall on-device GPU memory usage of
transformer-based models such as ViT and BERT by an average of 2.2x, across
different NLP and CV benchmarks/datasets such as GLUE, SQuAD 2.0, CIFAR-10,
CIFAR-100 and ImageNet with an average degradation of 0.2% in accuracy. For
such NLP and CV tasks, SlimFit can reduce up to 3.1x the total on-device memory
usage with an accuracy degradation of only up to 0.4%. As a result, while
fine-tuning of ViT on ImageNet and BERT on SQuAD 2.0 with a batch size of 128
requires 3 and 2 32GB GPUs respectively, SlimFit enables their fine-tuning on a
single 32GB GPU without any significant accuracy degradation. | cs.CL | SlimFit: Memory-Efficient Fine-Tuning of Transformer-based Models Using Training Dynamics |
2023-05-29T17:50:32Z | http://arxiv.org/pdf/2305.18278v1 | http://arxiv.org/abs/2305.18278v1 | Matilde Marcolli, Noam Chomsky, Robert Berwick | 2023-05-29T17:50:32Z | cs.CL, math.QA, math.RA, 68Q70, 16T05 | The syntactic Merge operation of the Minimalist Program in linguistics can be
described mathematically in terms of Hopf algebras, with a formalism similar to
the one arising in the physics of renormalization. This mathematical
formulation of Merge has good descriptive power, as phenomena empirically
observed in linguistics can be justified from simple mathematical arguments. It
also provides a possible mathematical model for externalization and for the
role of syntactic parameters. | cs.CL | Mathematical Structure of Syntactic Merge |
2023-05-29T17:39:22Z | http://arxiv.org/pdf/2305.18265v1 | http://arxiv.org/abs/2305.18265v1 | Gengyu Wang, Kate Harwood, Lawrence Chillrud, Amith Ananthram, Melanie Subbiah, Kathleen McKeown | 2023-05-29T17:39:22Z | cs.CL, cs.AI, cs.CY | We present a new fact-checking benchmark, Check-COVID, that requires systems
to verify claims about COVID-19 from news using evidence from scientific
articles. This approach to fact-checking is particularly challenging as it
requires checking internet text written in everyday language against evidence
from journal articles written in formal academic language. Check-COVID contains
1, 504 expert-annotated news claims about the coronavirus paired with
sentence-level evidence from scientific journal articles and veracity labels.
It includes both extracted (journalist-written) and composed
(annotator-written) claims. Experiments using both a fact-checking specific
system and GPT-3.5, which respectively achieve F1 scores of 76.99 and 69.90 on
this task, reveal the difficulty of automatically fact-checking both claim
types and the importance of in-domain data for good performance. Our data and
models are released publicly at https://github.com/posuer/Check-COVID. | cs.CL | Check-COVID: Fact-Checking COVID-19 News Claims with Scientific Evidence |
2023-05-29T17:12:03Z | http://arxiv.org/pdf/2305.18248v3 | http://arxiv.org/abs/2305.18248v3 | Ayush Agrawal, Mirac Suzgun, Lester Mackey, Adam Tauman Kalai | 2024-03-20T13:12:48Z | cs.CL, cs.AI | State-of-the-art language models (LMs) are notoriously susceptible to
generating hallucinated information. Such inaccurate outputs not only undermine
the reliability of these models but also limit their use and raise serious
concerns about misinformation and propaganda. In this work, we focus on
hallucinated book and article references and present them as the "model
organism" of language model hallucination research, due to their frequent and
easy-to-discern nature. We posit that if a language model cites a particular
reference in its output, then it should ideally possess sufficient information
about its authors and content, among other relevant details. Using this basic
insight, we illustrate that one can identify hallucinated references without
ever consulting any external resources, by asking a set of direct or indirect
queries to the language model about the references. These queries can be
considered as "consistency checks." Our findings highlight that while LMs,
including GPT-4, often produce inconsistent author lists for hallucinated
references, they also often accurately recall the authors of real references.
In this sense, the LM can be said to "know" when it is hallucinating
references. Furthermore, these findings show how hallucinated references can be
dissected to shed light on their nature. Replication code and results can be
found at https://github.com/microsoft/hallucinated-references. | cs.CL | Do Language Models Know When They're Hallucinating References? |
2023-05-29T16:54:24Z | http://arxiv.org/pdf/2305.18201v1 | http://arxiv.org/abs/2305.18201v1 | Fangyuan Xu, Yixiao Song, Mohit Iyyer, Eunsol Choi | 2023-05-29T16:54:24Z | cs.CL | Long-form question answering (LFQA) enables answering a wide range of
questions, but its flexibility poses enormous challenges for evaluation. We
perform the first targeted study of the evaluation of long-form answers,
covering both human and automatic evaluation practices. We hire domain experts
in seven areas to provide preference judgments over pairs of answers, along
with free-form justifications for their choices. We present a careful analysis
of experts' evaluation, which focuses on new aspects such as the
comprehensiveness of the answer. Next, we examine automatic text generation
metrics, finding that no existing metrics are predictive of human preference
judgments. However, some metrics correlate with fine-grained aspects of answers
(e.g., coherence). We encourage future work to move away from a single "overall
score" of the answer and adopt a multi-faceted evaluation, targeting aspects
such as factuality and completeness. We publicly release all of our annotations
and code to spur future work into LFQA evaluation. | cs.CL | A Critical Evaluation of Evaluations for Long-form Question Answering |
2023-05-29T16:54:10Z | http://arxiv.org/pdf/2305.18200v1 | http://arxiv.org/abs/2305.18200v1 | Wen Zheng, Natasa Milic-Frayling, Ke Zhou | 2023-05-29T16:54:10Z | cs.CL | Incorporating conversational context and knowledge into dialogue generation
models has been essential for improving the quality of the generated responses.
The context, comprising utterances from previous dialogue exchanges, is used as
a source of content for response generation and as a means of selecting
external knowledge. However, to avoid introducing irrelevant content, it is key
to enable fine-grained scoring of context and knowledge. In this paper, we
present a novel approach to context and knowledge weighting as an integral part
of model training. We guide the model training through a Contextual Knowledge
Learning (CKL) process which involves Latent Vectors for context and knowledge,
respectively. CKL Latent Vectors capture the relationship between context,
knowledge, and responses through weak supervision and enable differential
weighting of context utterances and knowledge sentences during the training
process. Experiments with two standard datasets and human evaluation
demonstrate that CKL leads to a significant improvement compared with the
performance of six strong baseline models and shows robustness with regard to
reduced sizes of training sets. | cs.CL | Contextual Knowledge Learning For Dialogue Generation |
2023-05-29T16:29:22Z | http://arxiv.org/pdf/2305.18189v1 | http://arxiv.org/abs/2305.18189v1 | Myra Cheng, Esin Durmus, Dan Jurafsky | 2023-05-29T16:29:22Z | cs.CL, cs.AI, cs.CY | To recognize and mitigate harms from large language models (LLMs), we need to
understand the prevalence and nuances of stereotypes in LLM outputs. Toward
this end, we present Marked Personas, a prompt-based method to measure
stereotypes in LLMs for intersectional demographic groups without any lexicon
or data labeling. Grounded in the sociolinguistic concept of markedness (which
characterizes explicitly linguistically marked categories versus unmarked
defaults), our proposed method is twofold: 1) prompting an LLM to generate
personas, i.e., natural language descriptions, of the target demographic group
alongside personas of unmarked, default groups; 2) identifying the words that
significantly distinguish personas of the target group from corresponding
unmarked ones. We find that the portrayals generated by GPT-3.5 and GPT-4
contain higher rates of racial stereotypes than human-written portrayals using
the same prompts. The words distinguishing personas of marked (non-white,
non-male) groups reflect patterns of othering and exoticizing these
demographics. An intersectional lens further reveals tropes that dominate
portrayals of marginalized groups, such as tropicalism and the
hypersexualization of minoritized women. These representational harms have
concerning implications for downstream applications like story generation. | cs.CL | Marked Personas: Using Natural Language Prompts to Measure Stereotypes in Language Models |
2023-05-29T16:24:01Z | http://arxiv.org/pdf/2305.18185v2 | http://arxiv.org/abs/2305.18185v2 | Lindia Tjuatja, Emmy Liu, Lori Levin, Graham Neubig | 2023-07-10T13:10:40Z | cs.CL | Recent advances in large language models have prompted researchers to examine
their abilities across a variety of linguistic tasks, but little has been done
to investigate how models handle the interactions in meaning across words and
larger syntactic forms -- i.e. phenomena at the intersection of syntax and
semantics. We present the semantic notion of agentivity as a case study for
probing such interactions. We created a novel evaluation dataset by utilitizing
the unique linguistic properties of a subset of optionally transitive English
verbs. This dataset was used to prompt varying sizes of three model classes to
see if they are sensitive to agentivity at the lexical level, and if they can
appropriately employ these word-level priors given a specific syntactic
context. Overall, GPT-3 text-davinci-003 performs extremely well across all
experiments, outperforming all other models tested by far. In fact, the results
are even better correlated with human judgements than both syntactic and
semantic corpus statistics. This suggests that LMs may potentially serve as
more useful tools for linguistic annotation, theory testing, and discovery than
select corpora for certain tasks. Code is available at
https://github.com/lindiatjuatja/lm_sem | cs.CL | Syntax and Semantics Meet in the "Middle": Probing the Syntax-Semantics Interface of LMs Through Agentivity |
2023-05-29T16:09:58Z | http://arxiv.org/pdf/2305.18176v1 | http://arxiv.org/abs/2305.18176v1 | Beatriz Cabrero-Daniel, Andrea Sanagustín Cabrero | 2023-05-29T16:09:58Z | cs.HC, cs.AI, cs.CL | Natural Language Generation tools, such as chatbots that can generate
human-like conversational text, are becoming more common both for personal and
professional use. However, there are concerns about their trustworthiness and
ethical implications. The paper addresses the problem of understanding how
different users (e.g., linguists, engineers) perceive and adopt these tools and
their perception of machine-generated text quality. It also discusses the
perceived advantages and limitations of Natural Language Generation tools, as
well as users' beliefs on governance strategies. The main findings of this
study include the impact of users' field and level of expertise on the
perceived trust and adoption of Natural Language Generation tools, the users'
assessment of the accuracy, fluency, and potential biases of machine-generated
text in comparison to human-written text, and an analysis of the advantages and
ethical risks associated with these tools as identified by the participants.
Moreover, this paper discusses the potential implications of these findings for
enhancing the AI development process. The paper sheds light on how different
user characteristics shape their beliefs on the quality and overall
trustworthiness of machine-generated text. Furthermore, it examines the
benefits and risks of these tools from the perspectives of different users. | cs.HC | Perceived Trustworthiness of Natural Language Generators |
2023-05-29T16:01:40Z | http://arxiv.org/pdf/2305.18170v2 | http://arxiv.org/abs/2305.18170v2 | Zhanming Jie, Wei Lu | 2023-06-09T05:00:30Z | cs.CL | Chain-of-thought (CoT) prompting with large language models has proven
effective in numerous natural language processing tasks, but designing prompts
that generalize well to diverse problem types can be challenging, especially in
the context of math word problem (MWP) solving. Additionally, it is common to
have a large amount of training data that have a better diversity coverage but
CoT annotations are not available, which limits the use of supervised learning
techniques. To address these issues, we investigate two approaches to leverage
the training data in a few-shot prompting scenario: dynamic program prompting
and program distillation. Our approach is largely inspired by Gao et al.,
(2022), where they proposed to replace the CoT with the programs as the
intermediate reasoning step. Such a prompting strategy allows us to accurately
verify the answer correctness through program execution in MWP solving. Our
dynamic program prompting involves annotating the training data by sampling
correct programs from a large language model, while program distillation
involves adapting a smaller model to the program-annotated training data. Our
experiments on three standard MWP datasets demonstrate the effectiveness of
these approaches, yielding significant improvements over previous baselines for
prompting and fine-tuning. Our results suggest that leveraging a large amount
of training data can improve the generalization ability of prompts and boost
the performance of fine-tuned small models in MWP solving. | cs.CL | Leveraging Training Data in Few-Shot Prompting for Numerical Reasoning |
2023-05-29T15:59:51Z | http://arxiv.org/pdf/2305.18169v3 | http://arxiv.org/abs/2305.18169v3 | Amirhossein Abaskohi, Sascha Rothe, Yadollah Yaghoobzadeh | 2023-07-05T09:15:55Z | cs.CL | In recent years, there has been significant progress in developing
pre-trained language models for NLP. However, these models often struggle when
fine-tuned on small datasets. To address this issue, researchers have proposed
various adaptation approaches. Prompt-based tuning is arguably the most common
way, especially for larger models. Previous research shows that adding
contrastive learning to prompt-based fine-tuning is effective as it helps the
model generate embeddings that are more distinguishable between classes, and it
can also be more sample-efficient as the model learns from positive and
negative examples simultaneously. One of the most important components of
contrastive learning is data augmentation, but unlike computer vision,
effective data augmentation for NLP is still challenging. This paper proposes
LM-CPPF, Contrastive Paraphrasing-guided Prompt-based Fine-tuning of Language
Models, which leverages prompt-based few-shot paraphrasing using generative
language models, especially large language models such as GPT-3 and OPT-175B,
for data augmentation. Our experiments on multiple text classification
benchmarks show that this augmentation method outperforms other methods, such
as easy data augmentation, back translation, and multiple templates. | cs.CL | LM-CPPF: Paraphrasing-Guided Data Augmentation for Contrastive Prompt-Based Few-Shot Fine-Tuning |
2023-05-29T15:31:29Z | http://arxiv.org/pdf/2305.18156v1 | http://arxiv.org/abs/2305.18156v1 | Mengsay Loem, Masahiro Kaneko, Sho Takase, Naoaki Okazaki | 2023-05-29T15:31:29Z | cs.CL, cs.AI | Large-scale pre-trained language models such as GPT-3 have shown remarkable
performance across various natural language processing tasks. However, applying
prompt-based methods with GPT-3 for Grammatical Error Correction (GEC) tasks
and their controllability remains underexplored. Controllability in GEC is
crucial for real-world applications, particularly in educational settings,
where the ability to tailor feedback according to learner levels and specific
error types can significantly enhance the learning process. This paper
investigates the performance and controllability of prompt-based methods with
GPT-3 for GEC tasks using zero-shot and few-shot setting. We explore the impact
of task instructions and examples on GPT-3's output, focusing on controlling
aspects such as minimal edits, fluency edits, and learner levels. Our findings
demonstrate that GPT-3 could effectively perform GEC tasks, outperforming
existing supervised and unsupervised approaches. We also showed that GPT-3
could achieve controllability when appropriate task instructions and examples
are given. | cs.CL | Exploring Effectiveness of GPT-3 in Grammatical Error Correction: A Study on Performance and Controllability in Prompt-Based Methods |
2023-05-29T15:30:13Z | http://arxiv.org/pdf/2305.18153v2 | http://arxiv.org/abs/2305.18153v2 | Zhangyue Yin, Qiushi Sun, Qipeng Guo, Jiawen Wu, Xipeng Qiu, Xuanjing Huang | 2023-05-30T15:14:06Z | cs.CL | Large language models (LLMs) have a wealth of knowledge that allows them to
excel in various Natural Language Processing (NLP) tasks. Current research
focuses on enhancing their performance within their existing knowledge. Despite
their vast knowledge, LLMs are still limited by the amount of information they
can accommodate and comprehend. Therefore, the ability to understand their own
limitations on the unknows, referred to as self-knowledge, is of paramount
importance. This study aims to evaluate LLMs' self-knowledge by assessing their
ability to identify unanswerable or unknowable questions. We introduce an
automated methodology to detect uncertainty in the responses of these models,
providing a novel measure of their self-knowledge. We further introduce a
unique dataset, SelfAware, consisting of unanswerable questions from five
diverse categories and their answerable counterparts. Our extensive analysis,
involving 20 LLMs including GPT-3, InstructGPT, and LLaMA, discovering an
intrinsic capacity for self-knowledge within these models. Moreover, we
demonstrate that in-context learning and instruction tuning can further enhance
this self-knowledge. Despite this promising insight, our findings also
highlight a considerable gap between the capabilities of these models and human
proficiency in recognizing the limits of their knowledge. | cs.CL | Do Large Language Models Know What They Don't Know? |
2023-05-29T15:29:49Z | http://arxiv.org/pdf/2305.18152v1 | http://arxiv.org/abs/2305.18152v1 | Zhiyi Li, Shengjie Zhang, Yujie Song, Jungyeul Park | 2023-05-29T15:29:49Z | cs.CL | Biomedical named entity recognition (NER) is a critial task that aims to
identify structured information in clinical text, which is often replete with
complex, technical terms and a high degree of variability. Accurate and
reliable NER can facilitate the extraction and analysis of important biomedical
information, which can be used to improve downstream applications including the
healthcare system. However, NER in the biomedical domain is challenging due to
limited data availability, as the high expertise, time, and expenses are
required to annotate its data. In this paper, by using the limited data, we
explore various extrinsic factors including the corpus annotation scheme, data
augmentation techniques, semi-supervised learning and Brill transformation, to
improve the performance of a NER model on a clinical text dataset (i2b2 2012,
\citet{sun-rumshisky-uzuner:2013}). Our experiments demonstrate that these
approaches can significantly improve the model's F1 score from original 73.74
to 77.55. Our findings suggest that considering different extrinsic factors and
combining these techniques is a promising approach for improving NER
performance in the biomedical domain where the size of data is limited. | cs.CL | Extrinsic Factors Affecting the Accuracy of Biomedical NER |
2023-05-29T15:25:00Z | http://arxiv.org/pdf/2305.18149v4 | http://arxiv.org/abs/2305.18149v4 | Yuchuan Tian, Hanting Chen, Xutao Wang, Zheyuan Bai, Qinghua Zhang, Ruifeng Li, Chao Xu, Yunhe Wang | 2024-03-05T08:27:12Z | cs.CL, cs.AI | Recent releases of Large Language Models (LLMs), e.g. ChatGPT, are
astonishing at generating human-like texts, but they may impact the
authenticity of texts. Previous works proposed methods to detect these
AI-generated texts, including simple ML classifiers, pretrained-model-based
zero-shot methods, and finetuned language classification models. However,
mainstream detectors always fail on short texts, like SMSes, Tweets, and
reviews. In this paper, a Multiscale Positive-Unlabeled (MPU) training
framework is proposed to address the difficulty of short-text detection without
sacrificing long-texts. Firstly, we acknowledge the human-resemblance property
of short machine texts, and rephrase AI text detection as a partial
Positive-Unlabeled (PU) problem by regarding these short machine texts as
partially ``unlabeled". Then in this PU context, we propose the
length-sensitive Multiscale PU Loss, where a recurrent model in abstraction is
used to estimate positive priors of scale-variant corpora. Additionally, we
introduce a Text Multiscaling module to enrich training corpora. Experiments
show that our MPU method augments detection performance on long AI-generated
texts, and significantly improves short-text detection of language model
detectors. Language Models trained with MPU could outcompete existing detectors
on various short-text and long-text detection benchmarks. The codes are
available at
https://github.com/mindspore-lab/mindone/tree/master/examples/detect_chatgpt
and https://github.com/YuchuanTian/AIGC_text_detector. | cs.CL | Multiscale Positive-Unlabeled Detection of AI-Generated Texts |
2023-05-29T15:15:53Z | http://arxiv.org/pdf/2305.18144v2 | http://arxiv.org/abs/2305.18144v2 | Jiaqi Bai, Hongcheng Guo, Jiaheng Liu, Jian Yang, Xinnian Liang, Zhao Yan, Zhoujun Li | 2023-08-15T17:10:57Z | cs.CL, cs.AI | Retrieval-enhanced text generation has shown remarkable progress on
knowledge-intensive language tasks, such as open-domain question answering and
knowledge-enhanced dialogue generation, by leveraging passages retrieved from a
large passage corpus for delivering a proper answer given the input query.
However, the retrieved passages are not ideal for guiding answer generation
because of the discrepancy between retrieval and generation, i.e., the
candidate passages are all treated equally during the retrieval procedure
without considering their potential to generate a proper answer. This
discrepancy makes a passage retriever deliver a sub-optimal collection of
candidate passages to generate the answer. In this paper, we propose the
GeneRative Knowledge Improved Passage Ranking (GripRank) approach, addressing
the above challenge by distilling knowledge from a generative passage estimator
(GPE) to a passage ranker, where the GPE is a generative language model used to
measure how likely the candidate passages can generate the proper answer. We
realize the distillation procedure by teaching the passage ranker learning to
rank the passages ordered by the GPE. Furthermore, we improve the distillation
quality by devising a curriculum knowledge distillation mechanism, which allows
the knowledge provided by the GPE can be progressively distilled to the ranker
through an easy-to-hard curriculum, enabling the passage ranker to correctly
recognize the provenance of the answer from many plausible candidates. We
conduct extensive experiments on four datasets across three knowledge-intensive
language tasks. Experimental results show advantages over the state-of-the-art
methods for both passage ranking and answer generation on the KILT benchmark. | cs.CL | GripRank: Bridging the Gap between Retrieval and Generation via the Generative Knowledge Improved Passage Ranking |
2023-05-29T15:14:09Z | http://arxiv.org/pdf/2305.18507v2 | http://arxiv.org/abs/2305.18507v2 | Yi Hu, Haotong Yang, Zhouchen Lin, Muhan Zhang | 2023-10-07T08:07:46Z | cs.CL, cs.AI | Large language models (LLMs) have scaled up to unlock a wide range of complex
reasoning tasks with the aid of various prompting methods. However, current
prompting methods generate natural language intermediate steps to help
reasoning, which can cause imperfect task reduction and confusion. To mitigate
such limitations, we explore code prompting, a neural symbolic prompting method
with both zero-shot and few-shot versions which triggers code as intermediate
steps. We conduct experiments on 7 widely-used benchmarks involving symbolic
reasoning and arithmetic reasoning. Code prompting generally outperforms
chain-of-thought (CoT) prompting. To further understand the performance and
limitations of code prompting, we perform extensive ablation studies and error
analyses, and identify several exclusive advantages of using symbolic
promptings compared to natural language. We also consider the ensemble of code
prompting and CoT prompting to combine the strengths of both. Finally, we show
through experiments how code annotations and their locations affect code
prompting. | cs.CL | Code Prompting: a Neural Symbolic Method for Complex Reasoning in Large Language Models |
2023-05-29T14:55:20Z | http://arxiv.org/pdf/2305.18503v1 | http://arxiv.org/abs/2305.18503v1 | Yangyi Chen, Hongcheng Gao, Ganqu Cui, Lifan Yuan, Dehan Kong, Hanlu Wu, Ning Shi, Bo Yuan, Longtao Huang, Hui Xue, Zhiyuan Liu, Maosong Sun, Heng Ji | 2023-05-29T14:55:20Z | cs.CL, cs.CR, cs.LG | Textual adversarial attacks can discover models' weaknesses by adding
semantic-preserved but misleading perturbations to the inputs. The long-lasting
adversarial attack-and-defense arms race in Natural Language Processing (NLP)
is algorithm-centric, providing valuable techniques for automatic robustness
evaluation. However, the existing practice of robustness evaluation may exhibit
issues of incomprehensive evaluation, impractical evaluation protocol, and
invalid adversarial samples. In this paper, we aim to set up a unified
automatic robustness evaluation framework, shifting towards model-centric
evaluation to further exploit the advantages of adversarial attacks. To address
the above challenges, we first determine robustness evaluation dimensions based
on model capabilities and specify the reasonable algorithm to generate
adversarial samples for each dimension. Then we establish the evaluation
protocol, including evaluation settings and metrics, under realistic demands.
Finally, we use the perturbation degree of adversarial samples to control the
sample validity. We implement a toolkit RobTest that realizes our automatic
robustness evaluation framework. In our experiments, we conduct a robustness
evaluation of RoBERTa models to demonstrate the effectiveness of our evaluation
framework, and further show the rationality of each component in the framework.
The code will be made public at \url{https://github.com/thunlp/RobTest}. | cs.CL | From Adversarial Arms Race to Model-centric Evaluation: Motivating a Unified Automatic Robustness Evaluation Framework |
2023-05-29T14:34:50Z | http://arxiv.org/pdf/2305.18500v2 | http://arxiv.org/abs/2305.18500v2 | Sihan Chen, Handong Li, Qunbo Wang, Zijia Zhao, Mingzhen Sun, Xinxin Zhu, Jing Liu | 2023-10-07T12:58:26Z | cs.CV, cs.AI, cs.CL, cs.LG, eess.AS | Vision and text have been fully explored in contemporary video-text
foundational models, while other modalities such as audio and subtitles in
videos have not received sufficient attention. In this paper, we resort to
establish connections between multi-modality video tracks, including Vision,
Audio, and Subtitle, and Text by exploring an automatically generated
large-scale omni-modality video caption dataset called VAST-27M. Specifically,
we first collect 27 million open-domain video clips and separately train a
vision and an audio captioner to generate vision and audio captions. Then, we
employ an off-the-shelf Large Language Model (LLM) to integrate the generated
captions, together with subtitles and instructional prompts into omni-modality
captions. Based on the proposed VAST-27M dataset, we train an omni-modality
video-text foundational model named VAST, which can perceive and process
vision, audio, and subtitle modalities from video, and better support various
tasks including vision-text, audio-text, and multi-modal video-text tasks
(retrieval, captioning and QA). Extensive experiments have been conducted to
demonstrate the effectiveness of our proposed VAST-27M corpus and VAST
foundation model. VAST achieves 22 new state-of-the-art results on various
cross-modality benchmarks. Code, model and dataset will be released at
https://github.com/TXH-mercury/VAST. | cs.CV | VAST: A Vision-Audio-Subtitle-Text Omni-Modality Foundation Model and Dataset |
2023-05-29T14:23:34Z | http://arxiv.org/pdf/2305.18109v1 | http://arxiv.org/abs/2305.18109v1 | Kaishuai Xu, Wenjun Hou, Yi Cheng, Jian Wang, Wenjie Li | 2023-05-29T14:23:34Z | cs.CL, cs.AI | Medical dialogue systems (MDS) aim to provide patients with medical services,
such as diagnosis and prescription. Since most patients cannot precisely
describe their symptoms, dialogue understanding is challenging for MDS.
Previous studies mainly addressed this by extracting the mentioned medical
entities as critical dialogue history information. In this work, we argue that
it is also essential to capture the transitions of the medical entities and the
doctor's dialogue acts in each turn, as they help the understanding of how the
dialogue flows and enhance the prediction of the entities and dialogue acts to
be adopted in the following turn. Correspondingly, we propose a Dual Flow
enhanced Medical (DFMed) dialogue generation framework. It extracts the medical
entities and dialogue acts used in the dialogue history and models their
transitions with an entity-centric graph flow and a sequential act flow,
respectively. We employ two sequential models to encode them and devise an
interweaving component to enhance their interactions. Experiments on two
datasets demonstrate that our method exceeds baselines in both automatic and
manual evaluations. | cs.CL | Medical Dialogue Generation via Dual Flow Modeling |
2023-05-29T14:19:40Z | http://arxiv.org/pdf/2305.18498v2 | http://arxiv.org/abs/2305.18498v2 | Di Huang, Ziyuan Nan, Xing Hu, Pengwei Jin, Shaohui Peng, Yuanbo Wen, Rui Zhang, Zidong Du, Qi Guo, Yewen Pu, Yunji Chen | 2023-11-30T16:08:54Z | cs.PL, cs.AI, cs.CL, cs.LG | Though LLMs are capable of generating plausible programs, it's challenging to
interact with the LLMs further to revise the program, especially if the user's
specific requirements are different from the initial proposal. In this paper,
we introduce ANPL, an interactive programming system that ensures users can
always refine the generated code towards their specific programmatic intents
via structured decompositions. Borrowing the paradigm of sketching from program
synthesis, an ANPL program consists of a set of input-outputs that it must
satisfy, a ``sketch'' -- control/data flow expressed in precise code (e.g.
Python), and ``holes'' -- sub-modules to be implemented by the LLM specified
with natural language. The user revises an ANPL program by either modifying the
sketch, changing the language used to describe the holes, or providing
additional input-outputs to a particular hole, turning it into a sub-ANPL
program that can be solved recursively. This workflow allows the users to
offload programming burdens to the LLM as much as possible while retaining the
ability to pinpoint and resolve bugs locally, without exposing the rest of the
program to the LLM. We deploy ANPL on the Abstraction and Reasoning Corpus
(ARC), a set of unique tasks that are challenging for state-of-the-art AI
systems, showing it outperforms baseline programming systems that (a) without
the ability to decompose tasks interactively and (b) without the guarantee that
the modules can be correctly composed together. Additional evaluations on APPS,
HumanEval, and real-world programming tasks have validated that the ANPL
framework is applicable to multiple programming domains. We release the ANPL
solutions to the ARC tasks as a dataset, providing insights into how humans
decompose novel tasks programmatically. See our code at
https://iprc-dip.github.io/ANPL/. | cs.PL | ANPL: Towards Natural Programming with Interactive Decomposition |
2023-05-29T14:09:14Z | http://arxiv.org/pdf/2305.18099v1 | http://arxiv.org/abs/2305.18099v1 | Stefano De Paoli | 2023-05-29T14:09:14Z | cs.CL, cs.CY | The goal of this paper is establishing if we can satisfactorily perform a
Thematic Analysis (TA) of semi-structured interviews using a Large Language
Model (more precisely GPT3.5-Turbo). Building on previous work by the author,
which established an embryonal process for conducting a TA with the model, this
paper will perform a further analysis and then cover the last phase of a TA
(phase 6), which entails the writing up of the result. This phase was not
covered by the previous work. In particular, the focus will be on using the
results of a TA done with the LLM on a dataset of user interviews, for writing
user personas, with the model building on the TA to produce the personas
narratives. User personas are models of real users, usually built from a data
analysis like interviews with a sample of users. User personas are tools often
used in User Centered Design processes. The paper shows that the model can
build basic user personas with an acceptable quality deriving them from themes,
and that the model can serve for the generation of ideas for user personas. | cs.CL | Writing user personas with Large Language Models: Testing phase 6 of a Thematic Analysis of semi-structured interviews |
2023-05-29T14:07:52Z | http://arxiv.org/pdf/2305.18098v3 | http://arxiv.org/abs/2305.18098v3 | Wen Yang, Chong Li, Jiajun Zhang, Chengqing Zong | 2023-11-21T11:01:24Z | cs.CL | Large language models (LLMs) demonstrate promising translation performance
among various natural languages. However, many LLMs especially the open-sourced
ones, such as BLOOM and LLaMA, are English-dominant and support only dozens of
natural languages, making the potential of LLMs on language translation less
explored. In this work, we present BigTranslate which adapts LLaMA that covers
only 20 languages and enhances it with multilingual translation capability on
more than 100 languages. BigTranslate is built upon LLaMA-13B and it is
optimized in three steps. First, we continue training LLaMA with massive
Chinese monolingual data. Second, we continue training the model with a
large-scale parallel dataset that covers 102 natural languages. Third, we
instruct-tune the foundation model with multilingual translation instructions,
leading to our BigTranslate model. The preliminary experiments on multilingual
translation show that BigTranslate performs comparably with ChatGPT and Google
Translate in many languages and even outperforms ChatGPT in 8 language pairs.
We release the BigTranslate model and hope it can advance the research
progress. | cs.CL | BigTranslate: Augmenting Large Language Models with Multilingual Translation Capability over 100 Languages |
2023-05-29T14:00:24Z | http://arxiv.org/pdf/2305.18096v2 | http://arxiv.org/abs/2305.18096v2 | Guan-Wei Wu, Guan-Ting Lin, Shang-Wen Li, Hung-yi Lee | 2023-07-08T07:25:14Z | cs.CL, eess.AS | Spoken Language Understanding (SLU) is a task that aims to extract semantic
information from spoken utterances. Previous research has made progress in
end-to-end SLU by using paired speech-text data, such as pre-trained Automatic
Speech Recognition (ASR) models or paired text as intermediate targets.
However, acquiring paired transcripts is expensive and impractical for
unwritten languages. On the other hand, Textless SLU extracts semantic
information from speech without utilizing paired transcripts. However, the
absence of intermediate targets and training guidance for textless SLU often
results in suboptimal performance. In this work, inspired by the
content-disentangled discrete units from self-supervised speech models, we
proposed to use discrete units as intermediate guidance to improve textless SLU
performance. Our method surpasses the baseline method on five SLU benchmark
corpora. Additionally, we find that unit guidance facilitates few-shot learning
and enhances the model's ability to handle noise. | cs.CL | Improving Textless Spoken Language Understanding with Discrete Units as Intermediate Target |
2023-05-29T12:37:21Z | http://arxiv.org/pdf/2305.18486v4 | http://arxiv.org/abs/2305.18486v4 | Md Tahmid Rahman Laskar, M Saiful Bari, Mizanur Rahman, Md Amran Hossen Bhuiyan, Shafiq Joty, Jimmy Xiangji Huang | 2023-07-05T16:19:38Z | cs.CL, cs.AI, cs.LG | The development of large language models (LLMs) such as ChatGPT has brought a
lot of attention recently. However, their evaluation in the benchmark academic
datasets remains under-explored due to the difficulty of evaluating the
generative outputs produced by this model against the ground truth. In this
paper, we aim to present a thorough evaluation of ChatGPT's performance on
diverse academic datasets, covering tasks like question-answering, text
summarization, code generation, commonsense reasoning, mathematical
problem-solving, machine translation, bias detection, and ethical
considerations. Specifically, we evaluate ChatGPT across 140 tasks and analyze
255K responses it generates in these datasets. This makes our work the largest
evaluation of ChatGPT in NLP benchmarks. In short, our study aims to validate
the strengths and weaknesses of ChatGPT in various tasks and provide insights
for future research using LLMs. We also report a new emergent ability to follow
multi-query instructions that we mostly found in ChatGPT and other
instruction-tuned models. Our extensive evaluation shows that even though
ChatGPT is capable of performing a wide variety of tasks, and may obtain
impressive performance in several benchmark datasets, it is still far from
achieving the ability to reliably solve many challenging tasks. By providing a
thorough assessment of ChatGPT's performance across diverse NLP tasks, this
paper sets the stage for a targeted deployment of ChatGPT-like LLMs in
real-world applications. | cs.CL | A Systematic Study and Comprehensive Evaluation of ChatGPT on Benchmark Datasets |
2023-05-29T12:36:56Z | http://arxiv.org/pdf/2306.04480v1 | http://arxiv.org/abs/2306.04480v1 | Aiwei Liu, Wei Liu, Xuming Hu, Shuang Li, Fukun Ma, Yawen Yang, Lijie Wen | 2023-05-29T12:36:56Z | cs.CL, 68T50, I.2.7 | In the context-dependent Text-to-SQL task, the generated SQL statements are
refined iteratively based on the user input utterance from each interaction.
The input text from each interaction can be viewed as component modifications
to the previous SQL statements, which could be further extracted as the
modification patterns. Since these modification patterns could also be combined
with other SQL statements, the models are supposed to have the compositional
generalization to these novel combinations. This work is the first exploration
of compositional generalization in context-dependent Text-to-SQL scenarios. To
facilitate related studies, we constructed two challenging benchmarks named
\textsc{CoSQL-CG} and \textsc{SParC-CG} by recombining the modification
patterns and existing SQL statements. The following experiments show that all
current models struggle on our proposed benchmarks. Furthermore, we found that
better aligning the previous SQL statements with the input utterance could give
models better compositional generalization ability. Based on these
observations, we propose a method named \texttt{p-align} to improve the
compositional generalization of Text-to-SQL models. Further experiments
validate the effectiveness of our method. Source code and data are available. | cs.CL | Exploring the Compositional Generalization in Context Dependent Text-to-SQL Parsing |
2023-05-29T11:54:50Z | http://arxiv.org/pdf/2305.18034v3 | http://arxiv.org/abs/2305.18034v3 | Francesco Antici, Andrea Galassi, Federico Ruggeri, Katerina Korre, Arianna Muti, Alessandra Bardi, Alice Fedotova, Alberto Barrón-Cedeño | 2024-05-24T12:17:28Z | cs.CL | We develop novel annotation guidelines for sentence-level subjectivity
detection, which are not limited to language-specific cues. We use our
guidelines to collect NewsSD-ENG, a corpus of 638 objective and 411 subjective
sentences extracted from English news articles on controversial topics. Our
corpus paves the way for subjectivity detection in English and across other
languages without relying on language-specific tools, such as lexicons or
machine translation. We evaluate state-of-the-art multilingual
transformer-based models on the task in mono-, multi-, and cross-language
settings. For this purpose, we re-annotate an existing Italian corpus. We
observe that models trained in the multilingual setting achieve the best
performance on the task. | cs.CL | A Corpus for Sentence-level Subjectivity Detection on English News Articles |
2023-05-29T11:40:37Z | http://arxiv.org/pdf/2305.18029v2 | http://arxiv.org/abs/2305.18029v2 | Pepa Atanasova, Oana-Maria Camburu, Christina Lioma, Thomas Lukasiewicz, Jakob Grue Simonsen, Isabelle Augenstein | 2023-06-30T15:41:47Z | cs.CL, cs.AI, 68T50, I.2.7 | Explanations of neural models aim to reveal a model's decision-making process
for its predictions. However, recent work shows that current methods giving
explanations such as saliency maps or counterfactuals can be misleading, as
they are prone to present reasons that are unfaithful to the model's inner
workings. This work explores the challenging question of evaluating the
faithfulness of natural language explanations (NLEs). To this end, we present
two tests. First, we propose a counterfactual input editor for inserting
reasons that lead to counterfactual predictions but are not reflected by the
NLEs. Second, we reconstruct inputs from the reasons stated in the generated
NLEs and check how often they lead to the same predictions. Our tests can
evaluate emerging NLE models, proving a fundamental tool in the development of
faithful NLEs. | cs.CL | Faithfulness Tests for Natural Language Explanations |
2023-05-29T11:39:01Z | http://arxiv.org/pdf/2305.18028v1 | http://arxiv.org/abs/2305.18028v1 | Ambuj Mehrish, Abhinav Ramesh Kashyap, Li Yingting, Navonil Majumder, Soujanya Poria | 2023-05-29T11:39:01Z | cs.SD, cs.AI, cs.CL, eess.AS | There are significant challenges for speaker adaptation in text-to-speech for
languages that are not widely spoken or for speakers with accents or dialects
that are not well-represented in the training data. To address this issue, we
propose the use of the "mixture of adapters" method. This approach involves
adding multiple adapters within a backbone-model layer to learn the unique
characteristics of different speakers. Our approach outperforms the baseline,
with a noticeable improvement of 5% observed in speaker preference tests when
using only one minute of data for each new speaker. Moreover, following the
adapter paradigm, we fine-tune only the adapter parameters (11% of the total
model parameters). This is a significant achievement in parameter-efficient
speaker adaptation, and one of the first models of its kind. Overall, our
proposed approach offers a promising solution to the speech synthesis
techniques, particularly for adapting to speakers from diverse backgrounds. | cs.SD | ADAPTERMIX: Exploring the Efficacy of Mixture of Adapters for Low-Resource TTS Adaptation |
2023-05-29T11:34:14Z | http://arxiv.org/pdf/2305.18026v2 | http://arxiv.org/abs/2305.18026v2 | Jinan Zou, Maihao Guo, Yu Tian, Yuhao Lin, Haiyao Cao, Lingqiao Liu, Ehsan Abbasnejad, Javen Qinfeng Shi | 2024-03-18T23:53:50Z | cs.CL | Identifying unexpected domain-shifted instances in natural language
processing is crucial in real-world applications. Previous works identify the
out-of-distribution (OOD) instance by leveraging a single global feature
embedding to represent the sentence, which cannot characterize subtle OOD
patterns well. Another major challenge current OOD methods face is learning
effective low-dimensional sentence representations to identify the hard OOD
instances that are semantically similar to the in-distribution (ID) data. In
this paper, we propose a new unsupervised OOD detection method, namely Semantic
Role Labeling Guided Out-of-distribution Detection (SRLOOD), that separates,
extracts, and learns the semantic role labeling (SRL) guided fine-grained local
feature representations from different arguments of a sentence and the global
feature representations of the full sentence using a margin-based contrastive
loss. A novel self-supervised approach is also introduced to enhance such
global-local feature learning by predicting the SRL extracted role. The
resulting model achieves SOTA performance on four OOD benchmarks, indicating
the effectiveness of our approach. The code is publicly accessible via
\url{https://github.com/cytai/SRLOOD}. | cs.CL | Semantic Role Labeling Guided Out-of-distribution Detection |
2023-05-29T11:28:26Z | http://arxiv.org/pdf/2305.18023v1 | http://arxiv.org/abs/2305.18023v1 | Janko Vidaković, Filip Karlo Došilović, Domagoj Pluščec | 2023-05-29T11:28:26Z | cs.CL | Transformer-based models have consistently produced substantial performance
gains across a variety of NLP tasks, compared to shallow models. However, deep
models are orders of magnitude more computationally expensive than shallow
models, especially on tasks with large sequence lengths, such as document-level
event detection. In this work, we attempt to bridge the performance gap between
shallow and deep models on document-level event detection by using abstractive
text summarization as an augmentation method. We augment the DocEE dataset by
generating abstractive summaries of examples from low-resource classes. For
classification, we use linear SVM with TF-IDF representations and RoBERTa-base.
We use BART for zero-shot abstractive summarization, making our augmentation
setup less resource-intensive compared to supervised fine-tuning. We experiment
with four decoding methods for text generation, namely beam search, top-k
sampling, top-p sampling, and contrastive search. Furthermore, we investigate
the impact of using document titles as additional input for classification. Our
results show that using the document title offers 2.04% and 3.19% absolute
improvement in macro F1-score for linear SVM and RoBERTa, respectively.
Augmentation via summarization further improves the performance of linear SVM
by about 0.5%, varying slightly across decoding methods. Overall, our
augmentation setup yields insufficient improvements for linear SVM compared to
RoBERTa. | cs.CL | Abstractive Summarization as Augmentation for Document-Level Event Detection |
2023-05-29T11:04:13Z | http://arxiv.org/pdf/2305.18011v1 | http://arxiv.org/abs/2305.18011v1 | Xiaoliang Wu, Peter Bell, Ajitha Rajan | 2023-05-29T11:04:13Z | cs.CL, cs.SD, eess.AS | Explainable AI (XAI) techniques have been widely used to help explain and
understand the output of deep learning models in fields such as image
classification and Natural Language Processing. Interest in using XAI
techniques to explain deep learning-based automatic speech recognition (ASR) is
emerging. but there is not enough evidence on whether these explanations can be
trusted. To address this, we adapt a state-of-the-art XAI technique from the
image classification domain, Local Interpretable Model-Agnostic Explanations
(LIME), to a model trained for a TIMIT-based phoneme recognition task. This
simple task provides a controlled setting for evaluation while also providing
expert annotated ground truth to assess the quality of explanations. We find a
variant of LIME based on time partitioned audio segments, that we propose in
this paper, produces the most reliable explanations, containing the ground
truth 96% of the time in its top three audio segments. | cs.CL | Can We Trust Explainable AI Methods on ASR? An Evaluation on Phoneme Recognition |
2023-05-29T10:33:08Z | http://arxiv.org/pdf/2305.18004v2 | http://arxiv.org/abs/2305.18004v2 | Miu Nicole Takagi | 2023-08-28T09:34:39Z | cs.CL | In developed nations assassinations are rare and thus the impact of such acts
on the electoral and political landscape is understudied. In this paper, we
focus on Twitter data to examine the effects of Japan's former Primer Minister
Abe's assassination on the Japanese House of Councillors elections in 2022. We
utilize sentiment analysis and emotion detection together with topic modeling
on over 2 million tweets and compare them against tweets during previous
election cycles. Our findings indicate that Twitter sentiments were negatively
impacted by the event in the short term and that social media attention span
has shortened. We also discuss how "necropolitics" affected the outcome of the
elections in favor of the deceased's party meaning that there seems to have
been an effect of Abe's death on the election outcome though the findings
warrant further investigation for conclusive results. | cs.CL | The Effects of Political Martyrdom on Election Results: The Assassination of Abe |
2023-05-29T09:47:36Z | http://arxiv.org/pdf/2305.17984v1 | http://arxiv.org/abs/2305.17984v1 | Animesh Chaturvedi, Rajesh Sharma | 2023-05-29T09:47:36Z | cs.CL, cs.AI, cs.SI, https://www.youtube.com/watch?v=iRGXiJGp3Cc&list=PLtvWi5o3JBnF3yxcjGdT4KCDLxRBIpsyR | Hate speech classification has become an important problem due to the spread
of hate speech on social media platforms. For a given set of Hate Terms lists
(HTs-lists) and Hate Speech data (HS-data), it is challenging to understand
which hate term contributes the most for hate speech classification. This paper
contributes two approaches to quantitatively measure and qualitatively
visualise the relationship between co-occurring Hate Terms (HTs). Firstly, we
propose an approach for the classification of hate-speech by producing a Severe
Hate Terms list (Severe HTs-list) from existing HTs-lists. To achieve our goal,
we proposed three metrics (Hatefulness, Relativeness, and Offensiveness) to
measure the severity of HTs. These metrics assist to create an Inter-agreement
HTs-list, which explains the contribution of an individual hate term toward
hate speech classification. Then, we used the Offensiveness metric values of
HTs above a proposed threshold minimum Offense (minOffense) to generate a new
Severe HTs-list. To evaluate our approach, we used three hate speech datasets
and six hate terms lists. Our approach shown an improvement from 0.845 to 0.923
(best) as compared to the baseline. Secondly, we also proposed Stable Hate Rule
(SHR) mining to provide ordered co-occurrence of various HTs with minimum
Stability (minStab). The SHR mining detects frequently co-occurring HTs to form
Stable Hate Rules and Concepts. These rules and concepts are used to visualise
the graphs of Transitivities and Lattices formed by HTs. | cs.CL | minOffense: Inter-Agreement Hate Terms for Stable Rules, Concepts, Transitivities, and Lattices |
2023-05-29T09:20:34Z | http://arxiv.org/pdf/2305.17968v1 | http://arxiv.org/abs/2305.17968v1 | Krishna Garg, Jishnu Ray Chowdhury, Cornelia Caragea | 2023-05-29T09:20:34Z | cs.CL | Keyphrase generation is the task of summarizing the contents of any given
article into a few salient phrases (or keyphrases). Existing works for the task
mostly rely on large-scale annotated datasets, which are not easy to acquire.
Very few works address the problem of keyphrase generation in low-resource
settings, but they still rely on a lot of additional unlabeled data for
pretraining and on automatic methods for pseudo-annotations. In this paper, we
present data augmentation strategies specifically to address keyphrase
generation in purely resource-constrained domains. We design techniques that
use the full text of the articles to improve both present and absent keyphrase
generation. We test our approach comprehensively on three datasets and show
that the data augmentation strategies consistently improve the state-of-the-art
performance. We release our source code at
https://github.com/kgarg8/kpgen-lowres-data-aug. | cs.CL | Data Augmentation for Low-Resource Keyphrase Generation |
2023-05-29T08:24:42Z | http://arxiv.org/pdf/2305.17951v1 | http://arxiv.org/abs/2305.17951v1 | Amirhossein Layegh, Amir H. Payberah, Ahmet Soylu, Dumitru Roman, Mihhail Matskin | 2023-05-29T08:24:42Z | cs.CL, cs.AI | Prompt-based language models have produced encouraging results in numerous
applications, including Named Entity Recognition (NER) tasks. NER aims to
identify entities in a sentence and provide their types. However, the strong
performance of most available NER approaches is heavily dependent on the design
of discrete prompts and a verbalizer to map the model-predicted outputs to
entity categories, which are complicated undertakings. To address these
challenges, we present ContrastNER, a prompt-based NER framework that employs
both discrete and continuous tokens in prompts and uses a contrastive learning
approach to learn the continuous prompts and forecast entity types. The
experimental results demonstrate that ContrastNER obtains competitive
performance to the state-of-the-art NER methods in high-resource settings and
outperforms the state-of-the-art models in low-resource circumstances without
requiring extensive manual prompt engineering and verbalizer design. | cs.CL | ContrastNER: Contrastive-based Prompt Tuning for Few-shot NER |
2023-05-29T08:03:28Z | http://arxiv.org/pdf/2305.18466v3 | http://arxiv.org/abs/2305.18466v3 | Moritz Hardt, Yu Sun | 2024-02-02T20:28:27Z | cs.CL, cs.LG | Many recent efforts augment language models with retrieval, by adding
retrieved data to the input context. For this approach to succeed, the
retrieved data must be added at both training and test time. Moreover, as input
length grows linearly with the size of retrieved data, cost in computation and
memory grows quadratically for modern Transformers. To avoid these
complications, we simply fine-tune the model on retrieved data at test time,
using its standard training setup. We build a large-scale distributed index
based on text embeddings of the Pile dataset. For each test input, our system
retrieves its neighbors and fine-tunes the model on their text. Surprisingly,
retrieving and training on as few as 20 neighbors, each for only one gradient
iteration, drastically improves performance across more than 20 language
modeling tasks in the Pile. For example, test-time training with nearest
neighbors significantly narrows the performance gap between a small GPT-2 and a
GPT-Neo model more than 10 times larger. Sufficient index quality and size,
however, are necessary. Our work establishes a first baseline of test-time
training for language modeling. | cs.CL | Test-Time Training on Nearest Neighbors for Large Language Models |
2023-05-29T07:41:03Z | http://arxiv.org/pdf/2305.17926v2 | http://arxiv.org/abs/2305.17926v2 | Peiyi Wang, Lei Li, Liang Chen, Zefan Cai, Dawei Zhu, Binghuai Lin, Yunbo Cao, Qi Liu, Tianyu Liu, Zhifang Sui | 2023-08-30T13:22:35Z | cs.CL, cs.AI, cs.IR | In this paper, we uncover a systematic bias in the evaluation paradigm of
adopting large language models~(LLMs), e.g., GPT-4, as a referee to score and
compare the quality of responses generated by candidate models. We find that
the quality ranking of candidate responses can be easily hacked by simply
altering their order of appearance in the context. This manipulation allows us
to skew the evaluation result, making one model appear considerably superior to
the other, e.g., Vicuna-13B could beat ChatGPT on 66 over 80 tested queries
with ChatGPT as an evaluator. To address this issue, we propose a calibration
framework with three simple yet effective strategies: 1) Multiple Evidence
Calibration, which requires the evaluator model to generate multiple evaluation
evidence before assigning ratings; 2) Balanced Position Calibration, which
aggregates results across various orders to determine the final score; 3)
Human-in-the-Loop Calibration, which introduces a balanced position diversity
entropy to measure the difficulty of each example and seeks human assistance
when needed. We also manually annotate the "win/tie/lose" outcomes of responses
from ChatGPT and Vicuna-13B in the Vicuna Benchmark's question prompt, and
extensive experiments demonstrate that our approach successfully mitigates
evaluation bias, resulting in closer alignment with human judgments. We release
our code and human annotation at \url{https://github.com/i-Eval/FairEval} to
facilitate future research. | cs.CL | Large Language Models are not Fair Evaluators |
2023-05-29T07:06:03Z | http://arxiv.org/pdf/2305.18462v2 | http://arxiv.org/abs/2305.18462v2 | Justus Mattern, Fatemehsadat Mireshghallah, Zhijing Jin, Bernhard Schölkopf, Mrinmaya Sachan, Taylor Berg-Kirkpatrick | 2023-08-07T06:32:56Z | cs.CL, cs.CR, cs.LG | Membership Inference attacks (MIAs) aim to predict whether a data sample was
present in the training data of a machine learning model or not, and are widely
used for assessing the privacy risks of language models. Most existing attacks
rely on the observation that models tend to assign higher probabilities to
their training samples than non-training points. However, simple thresholding
of the model score in isolation tends to lead to high false-positive rates as
it does not account for the intrinsic complexity of a sample. Recent work has
demonstrated that reference-based attacks which compare model scores to those
obtained from a reference model trained on similar data can substantially
improve the performance of MIAs. However, in order to train reference models,
attacks of this kind make the strong and arguably unrealistic assumption that
an adversary has access to samples closely resembling the original training
data. Therefore, we investigate their performance in more realistic scenarios
and find that they are highly fragile in relation to the data distribution used
to train reference models. To investigate whether this fragility provides a
layer of safety, we propose and evaluate neighbourhood attacks, which compare
model scores for a given sample to scores of synthetically generated neighbour
texts and therefore eliminate the need for access to the training data
distribution. We show that, in addition to being competitive with
reference-based attacks that have perfect knowledge about the training data
distribution, our attack clearly outperforms existing reference-free attacks as
well as reference-based attacks with imperfect knowledge, which demonstrates
the need for a reevaluation of the threat model of adversarial attacks. | cs.CL | Membership Inference Attacks against Language Models via Neighbourhood Comparison |
2023-05-29T06:43:37Z | http://arxiv.org/pdf/2305.17911v1 | http://arxiv.org/abs/2305.17911v1 | Nirmalendu Prakash, Ming Shan Hee, Roy Ka-Wei Lee | 2023-05-29T06:43:37Z | cs.SI, cs.AI, cs.CL, cs.CV, I.2.7 | Total Defence is a defence policy combining and extending the concept of
military defence and civil defence. While several countries have adopted total
defence as their defence policy, very few studies have investigated its
effectiveness. With the rapid proliferation of social media and digitalisation,
many social studies have been focused on investigating policy effectiveness
through specially curated surveys and questionnaires either through digital
media or traditional forms. However, such references may not truly reflect the
underlying sentiments about the target policies or initiatives of interest.
People are more likely to express their sentiment using communication mediums
such as starting topic thread on forums or sharing memes on social media. Using
Singapore as a case reference, this study aims to address this research gap by
proposing TotalDefMeme, a large-scale multi-modal and multi-attribute meme
dataset that captures public sentiments toward Singapore's Total Defence
policy. Besides supporting social informatics and public policy analysis of the
Total Defence policy, TotalDefMeme can also support many downstream multi-modal
machine learning tasks, such as aspect-based stance classification and
multi-modal meme clustering. We perform baseline machine learning experiments
on TotalDefMeme and evaluate its technical validity, and present possible
future interdisciplinary research directions and application scenarios using
the dataset as a baseline. | cs.SI | TotalDefMeme: A Multi-Attribute Meme dataset on Total Defence in Singapore |
2023-05-29T06:35:40Z | http://arxiv.org/pdf/2305.17906v1 | http://arxiv.org/abs/2305.17906v1 | Svanhvít Lilja Ingólfsdóttir, Pétur Orri Ragnarsson, Haukur Páll Jónsson, Haukur Barri Símonarson, Vilhjálmur Þorsteinsson, Vésteinn Snæbjarnarson | 2023-05-29T06:35:40Z | cs.CL | Grammatical error correction (GEC) is the task of correcting typos, spelling,
punctuation and grammatical issues in text. Approaching the problem as a
sequence-to-sequence task, we compare the use of a common subword unit
vocabulary and byte-level encoding. Initial synthetic training data is created
using an error-generating pipeline, and used for finetuning two subword-level
models and one byte-level model. Models are then finetuned further on
hand-corrected error corpora, including texts written by children, university
students, dyslexic and second-language writers, and evaluated over different
error types and origins. We show that a byte-level model enables higher
correction quality than a subword approach, not only for simple spelling
errors, but also for more complex semantic, stylistic and grammatical issues.
In particular, initial training on synthetic corpora followed by finetuning on
a relatively small parallel corpus of real-world errors helps the byte-level
model correct a wide range of commonly occurring errors. Our experiments are
run for the Icelandic language but should hold for other similar languages,
particularly morphologically rich ones. | cs.CL | Byte-Level Grammatical Error Correction Using Synthetic and Curated Corpora |
2023-05-29T05:22:11Z | http://arxiv.org/pdf/2305.17888v1 | http://arxiv.org/abs/2305.17888v1 | Zechun Liu, Barlas Oguz, Changsheng Zhao, Ernie Chang, Pierre Stock, Yashar Mehdad, Yangyang Shi, Raghuraman Krishnamoorthi, Vikas Chandra | 2023-05-29T05:22:11Z | cs.CL | Several post-training quantization methods have been applied to large
language models (LLMs), and have been shown to perform well down to 8-bits. We
find that these methods break down at lower bit precision, and investigate
quantization aware training for LLMs (LLM-QAT) to push quantization levels even
further. We propose a data-free distillation method that leverages generations
produced by the pre-trained model, which better preserves the original output
distribution and allows quantizing any generative model independent of its
training data, similar to post-training quantization methods. In addition to
quantizing weights and activations, we also quantize the KV cache, which is
critical for increasing throughput and support long sequence dependencies at
current model sizes. We experiment with LLaMA models of sizes 7B, 13B, and 30B,
at quantization levels down to 4-bits. We observe large improvements over
training-free methods, especially in the low-bit settings. | cs.CL | LLM-QAT: Data-Free Quantization Aware Training for Large Language Models |
2023-05-29T04:19:35Z | http://arxiv.org/pdf/2305.17878v1 | http://arxiv.org/abs/2305.17878v1 | Qiang Zhang, Jason Naradowsky, Yusuke Miyao | 2023-05-29T04:19:35Z | cs.CL, cs.AI, cs.HC | Existing dialogue models may encounter scenarios which are not
well-represented in the training data, and as a result generate responses that
are unnatural, inappropriate, or unhelpful. We propose the "Ask an Expert"
framework in which the model is trained with access to an "expert" which it can
consult at each turn. Advice is solicited via a structured dialogue with the
expert, and the model is optimized to selectively utilize (or ignore) it given
the context and dialogue history. In this work the expert takes the form of an
LLM. We evaluate this framework in a mental health support domain, where the
structure of the expert conversation is outlined by pre-specified prompts which
reflect a reasoning strategy taught to practitioners in the field. Blenderbot
models utilizing "Ask an Expert" show quality improvements across all expert
sizes, including those with fewer parameters than the dialogue model itself.
Our best model provides a $\sim 10\%$ improvement over baselines, approaching
human-level scores on "engingingness" and "helpfulness" metrics. | cs.CL | Ask an Expert: Leveraging Language Models to Improve Strategic Reasoning in Goal-Oriented Dialogue Models |
2023-05-29T03:58:33Z | http://arxiv.org/pdf/2305.18449v1 | http://arxiv.org/abs/2305.18449v1 | Stefano Soatto, Paulo Tabuada, Pratik Chaudhari, Tian Yu Liu | 2023-05-29T03:58:33Z | cs.AI, cs.CL, cs.LG, cs.SY, eess.SY | We tackle the question of whether an agent can, by suitable choice of
prompts, control an AI bot to any state. To that end, we first introduce a
formal definition of ``meaning'' that is amenable to analysis. Then, we
characterize ``meaningful data'' on which large language models (LLMs) are
ostensibly trained, and ``well-trained LLMs'' through conditions that are
largely met by today's LLMs. While a well-trained LLM constructs an embedding
space of meanings that is Euclidean, meanings themselves do not form a vector
(linear) subspace, but rather a quotient space within. We then characterize the
subset of meanings that can be reached by the state of the LLMs for some input
prompt, and show that a well-trained bot can reach any meaning albeit with
small probability. We then introduce a stronger notion of controllability as
{\em almost certain reachability}, and show that, when restricted to the space
of meanings, an AI bot is controllable. We do so after introducing a functional
characterization of attentive AI bots, and finally derive necessary and
sufficient conditions for controllability. The fact that AI bots are
controllable means that an adversary could steer them towards any state.
However, the sampling process can be designed to counteract adverse actions and
avoid reaching undesirable regions of state space before their boundary is
crossed. | cs.AI | Taming AI Bots: Controllability of Neural States in Large Language Models |
2023-05-29T02:37:37Z | http://arxiv.org/pdf/2305.17855v1 | http://arxiv.org/abs/2305.17855v1 | Yu-Hsiang Tseng, Mao-Chang Ku, Wei-Ling Chen, Yu-Lin Chang, Shu-Kai Hsieh | 2023-05-29T02:37:37Z | cs.CL | Contextualized embeddings are proven to be powerful tools in multiple NLP
tasks. Nonetheless, challenges regarding their interpretability and capability
to represent lexical semantics still remain. In this paper, we propose that the
task of definition modeling, which aims to generate the human-readable
definition of the word, provides a route to evaluate or understand the high
dimensional semantic vectors. We propose a `Vec2Gloss' model, which produces
the gloss from the target word's contextualized embeddings. The generated
glosses of this study are made possible by the systematic gloss patterns
provided by Chinese Wordnet. We devise two dependency indices to measure the
semantic and contextual dependency, which are used to analyze the generated
texts in gloss and token levels. Our results indicate that the proposed
`Vec2Gloss' model opens a new perspective to the lexical-semantic applications
of contextualized embeddings. | cs.CL | Vec2Gloss: definition modeling leveraging contextualized vectors with Wordnet gloss |
2023-05-29T02:36:16Z | http://arxiv.org/pdf/2305.17854v1 | http://arxiv.org/abs/2305.17854v1 | Zhen Zhang, Mengting Hu, Shiwan Zhao, Minlie Huang, Haotian Wang, Lemao Liu, Zhirui Zhang, Zhe Liu, Bingzhe Wu | 2023-05-29T02:36:16Z | cs.CL | Most named entity recognition (NER) systems focus on improving model
performance, ignoring the need to quantify model uncertainty, which is critical
to the reliability of NER systems in open environments. Evidential deep
learning (EDL) has recently been proposed as a promising solution to explicitly
model predictive uncertainty for classification tasks. However, directly
applying EDL to NER applications faces two challenges, i.e., the problems of
sparse entities and OOV/OOD entities in NER tasks. To address these challenges,
we propose a trustworthy NER framework named E-NER by introducing two
uncertainty-guided loss terms to the conventional EDL, along with a series of
uncertainty-guided training strategies. Experiments show that E-NER can be
applied to multiple NER paradigms to obtain accurate uncertainty estimation.
Furthermore, compared to state-of-the-art baselines, the proposed method
achieves a better OOV/OOD detection performance and better generalization
ability on OOV entities. | cs.CL | E-NER: Evidential Deep Learning for Trustworthy Named Entity Recognition |
2023-05-29T02:10:13Z | http://arxiv.org/pdf/2305.17846v1 | http://arxiv.org/abs/2305.17846v1 | Yui Sudo, Kazuya Hata, Kazuhiro Nakadai | 2023-05-29T02:10:13Z | cs.SD, cs.CL, eess.AS | End-to-end automatic speech recognition (E2E-ASR) has the potential to
improve performance, but a specific issue that needs to be addressed is the
difficulty it has in handling enharmonic words: named entities (NEs) with the
same pronunciation and part of speech that are spelled differently. This often
occurs with Japanese personal names that have the same pronunciation but
different Kanji characters. Since such NE words tend to be important keywords,
ASR easily loses user trust if it misrecognizes them. To solve these problems,
this paper proposes a novel retraining-free customized method for E2E-ASRs
based on a named-entity-aware E2E-ASR model and phoneme similarity estimation.
Experimental results show that the proposed method improves the target NE
character error rate by 35.7% on average relative to the conventional E2E-ASR
model when selecting personal names as a target NE. | cs.SD | Retraining-free Customized ASR for Enharmonic Words Based on a Named-Entity-Aware Model and Phoneme Similarity Estimation |
2023-05-28T23:35:17Z | http://arxiv.org/pdf/2305.17826v1 | http://arxiv.org/abs/2305.17826v1 | Kai Mei, Zheng Li, Zhenting Wang, Yang Zhang, Shiqing Ma | 2023-05-28T23:35:17Z | cs.CL, cs.CR | Prompt-based learning is vulnerable to backdoor attacks. Existing backdoor
attacks against prompt-based models consider injecting backdoors into the
entire embedding layers or word embedding vectors. Such attacks can be easily
affected by retraining on downstream tasks and with different prompting
strategies, limiting the transferability of backdoor attacks. In this work, we
propose transferable backdoor attacks against prompt-based models, called
NOTABLE, which is independent of downstream tasks and prompting strategies.
Specifically, NOTABLE injects backdoors into the encoders of PLMs by utilizing
an adaptive verbalizer to bind triggers to specific words (i.e., anchors). It
activates the backdoor by pasting input with triggers to reach
adversary-desired anchors, achieving independence from downstream tasks and
prompting strategies. We conduct experiments on six NLP tasks, three popular
models, and three prompting strategies. Empirical results show that NOTABLE
achieves superior attack performance (i.e., attack success rate over 90% on all
the datasets), and outperforms two state-of-the-art baselines. Evaluations on
three defenses show the robustness of NOTABLE. Our code can be found at
https://github.com/RU-System-Software-and-Security/Notable. | cs.CL | NOTABLE: Transferable Backdoor Attacks Against Prompt-based NLP Models |
2023-05-28T22:46:21Z | http://arxiv.org/pdf/2305.17819v2 | http://arxiv.org/abs/2305.17819v2 | Magdalena Wysocka, Oskar Wysocki, Maxime Delmas, Vincent Mutel, Andre Freitas | 2023-12-05T09:51:55Z | cs.CL, cs.AI | Inferring over and extracting information from Large Language Models (LLMs)
trained on a large corpus of scientific literature can potentially drive a new
era in biomedical research, reducing the barriers for accessing existing
medical evidence. This work examines the potential of LLMs for dialoguing with
biomedical background knowledge, using the context of antibiotic discovery. The
systematic analysis is applied to ten state-of-the-art models, from models
specialised on biomedical scientific corpora to general models such as ChatGPT,
GPT-4 and Llama 2 in two prompting-based tasks: chemical compound definition
generation and chemical compound-fungus relation determination. The work
provides a systematic assessment on the ability of LLMs to encode and express
these relations, verifying for fluency, prompt-alignment, semantic coherence,
factual knowledge and specificity of generated responses. Results show that
while recent models have improved in fluency, factual accuracy is still low and
models are biased towards over-represented entities. The ability of LLMs to
serve as biomedical knowledge bases is questioned, and the need for additional
systematic evaluation frameworks is highlighted. The best performing GPT-4
produced a factual definition for 70% of chemical compounds and 43.6% factual
relations to fungi, whereas the best open source model BioGPT-large 30% of the
compounds and 30% of the relations for the best-performing prompt. The results
show that while LLMs are currently not fit for purpose to be used as biomedical
factual knowledge bases, there is a promising emerging property in the
direction of factuality as the models become domain specialised, scale-up in
size and level of human feedback. | cs.CL | Large Language Models, scientific knowledge and factuality: A systematic analysis in antibiotic discovery |
2023-05-28T22:36:35Z | http://arxiv.org/pdf/2305.17817v1 | http://arxiv.org/abs/2305.17817v1 | Olukunle Owolabi | 2023-05-28T22:36:35Z | cs.CL, stat.AP | Early detection of power outages is crucial for maintaining a reliable power
distribution system. This research investigates the use of transfer learning
and language models in detecting outages with limited labeled data. By
leveraging pretraining and transfer learning, models can generalize to unseen
classes.
Using a curated balanced dataset of social media tweets related to power
outages, we conducted experiments using zero-shot and few-shot learning. Our
hypothesis is that Language Models pretrained with limited data could achieve
high performance in outage detection tasks over baseline models. Results show
that while classical models outperform zero-shot Language Models, few-shot
fine-tuning significantly improves their performance. For example, with 10%
fine-tuning, BERT achieves 81.3% accuracy (+15.3%), and GPT achieves 74.5%
accuracy (+8.5%). This has practical implications for analyzing and localizing
outages in scenarios with limited data availability.
Our evaluation provides insights into the potential of few-shot fine-tuning
with Language Models for power outage detection, highlighting their strengths
and limitations. This research contributes to the knowledge base of leveraging
advanced natural language processing techniques for managing critical
infrastructure. | cs.CL | Transfer Learning for Power Outage Detection Task with Limited Training Data |
2023-05-28T21:11:59Z | http://arxiv.org/pdf/2306.03763v4 | http://arxiv.org/abs/2306.03763v4 | Zihan Chen, Lei Nico Zheng, Cheng Lu, Jialu Yuan, Di Zhu | 2023-09-18T20:26:04Z | q-fin.ST, cs.AI, cs.CL, cs.LG, q-fin.CP, I.2.7; J.1 | ChatGPT has demonstrated remarkable capabilities across various natural
language processing (NLP) tasks. However, its potential for inferring dynamic
network structures from temporal textual data, specifically financial news,
remains an unexplored frontier. In this research, we introduce a novel
framework that leverages ChatGPT's graph inference capabilities to enhance
Graph Neural Networks (GNN). Our framework adeptly extracts evolving network
structures from textual data, and incorporates these networks into graph neural
networks for subsequent predictive tasks. The experimental results from stock
movement forecasting indicate our model has consistently outperformed the
state-of-the-art Deep Learning-based benchmarks. Furthermore, the portfolios
constructed based on our model's outputs demonstrate higher annualized
cumulative returns, alongside reduced volatility and maximum drawdown. This
superior performance highlights the potential of ChatGPT for text-based network
inferences and underscores its promising implications for the financial sector. | q-fin.ST | ChatGPT Informed Graph Neural Network for Stock Movement Prediction |
2023-05-28T20:49:52Z | http://arxiv.org/pdf/2305.17812v1 | http://arxiv.org/abs/2305.17812v1 | Ziqi Jin, Wei Lu | 2023-05-28T20:49:52Z | cs.CL | The chain-of-though (CoT) prompting methods were successful in various
natural language processing (NLP) tasks thanks to their ability to unveil the
underlying complex reasoning processes. Such reasoning processes typically
exhibit implicitly structured steps. Recent efforts also started investigating
methods to encourage more explicitly structured reasoning procedures to be
captured. In this work, we propose Tab-CoT, a novel tabular-format CoT
prompting method, which allows the complex reasoning process to be explicitly
modelled in a highly structured manner. Despite its simplicity, we show that
our approach is capable of performing reasoning across multiple dimensions
(i.e., both rows and columns). We demonstrate our approach's strong zero-shot
and few-shot capabilities through extensive experiments on a range of reasoning
tasks. | cs.CL | Tab-CoT: Zero-shot Tabular Chain of Thought |
2023-05-28T20:25:20Z | http://arxiv.org/pdf/2306.01768v1 | http://arxiv.org/abs/2306.01768v1 | Meng Jiang, Hy Dang, Lingbo Tong | 2023-05-28T20:25:20Z | cs.LG, cs.CL | Language models (LMs) are being scaled and becoming powerful. Improving their
efficiency is one of the core research topics in neural information processing
systems. Tay et al. (2022) provided a comprehensive overview of efficient
Transformers that have become an indispensable staple in the field of NLP.
However, in the section of "On Evaluation", they left an open question "which
fundamental efficient Transformer one should consider," answered by "still a
mystery" because "many research papers select their own benchmarks."
Unfortunately, there was not quantitative analysis about the performances of
Transformers on any benchmarks. Moreover, state space models (SSMs) have
demonstrated their abilities of modeling long-range sequences with
non-attention mechanisms, which were not discussed in the prior review. This
article makes a meta analysis on the results from a set of papers on efficient
Transformers as well as those on SSMs. It provides a quantitative review on LM
efficiency research and gives suggestions for future research. | cs.LG | A Quantitative Review on Language Model Efficiency Research |
2023-05-28T19:36:50Z | http://arxiv.org/pdf/2305.17804v1 | http://arxiv.org/abs/2305.17804v1 | Zexue He, Marco Tulio Ribeiro, Fereshte Khani | 2023-05-28T19:36:50Z | cs.CL | Even when aggregate accuracy is high, state-of-the-art NLP models often fail
systematically on specific subgroups of data, resulting in unfair outcomes and
eroding user trust. Additional data collection may not help in addressing these
weaknesses, as such challenging subgroups may be unknown to users, and
underrepresented in the existing and new data. We propose Targeted Data
Generation (TDG), a framework that automatically identifies challenging
subgroups, and generates new data for those subgroups using large language
models (LLMs) with a human in the loop. TDG estimates the expected benefit and
potential harm of data augmentation for each subgroup, and selects the ones
most likely to improve within group performance without hurting overall
performance. In our experiments, TDG significantly improves the accuracy on
challenging subgroups for state-of-the-art sentiment analysis and natural
language inference models, while also improving overall test accuracy. | cs.CL | Targeted Data Generation: Finding and Fixing Model Weaknesses |
2023-05-28T19:31:45Z | http://arxiv.org/pdf/2305.18419v1 | http://arxiv.org/abs/2305.18419v1 | W. Ronny Huang, Hao Zhang, Shankar Kumar, Shuo-yiin Chang, Tara N. Sainath | 2023-05-28T19:31:45Z | cs.CL, cs.LG, cs.SD, eess.AS | We propose a method of segmenting long-form speech by separating semantically
complete sentences within the utterance. This prevents the ASR decoder from
needlessly processing faraway context while also preventing it from missing
relevant context within the current sentence. Semantically complete sentence
boundaries are typically demarcated by punctuation in written text; but
unfortunately, spoken real-world utterances rarely contain punctuation. We
address this limitation by distilling punctuation knowledge from a
bidirectional teacher language model (LM) trained on written, punctuated text.
We compare our segmenter, which is distilled from the LM teacher, against a
segmenter distilled from a acoustic-pause-based teacher used in other works, on
a streaming ASR pipeline. The pipeline with our segmenter achieves a 3.2%
relative WER gain along with a 60 ms median end-of-segment latency reduction on
a YouTube captioning task. | cs.CL | Semantic Segmentation with Bidirectional Language Models Improves Long-form ASR |
2023-05-28T18:27:59Z | http://arxiv.org/pdf/2306.13089v3 | http://arxiv.org/abs/2306.13089v3 | Haiteng Zhao, Shengchao Liu, Chang Ma, Hannan Xu, Jie Fu, Zhi-Hong Deng, Lingpeng Kong, Qi Liu | 2023-10-22T18:13:40Z | cs.LG, cs.CL, q-bio.BM | Molecule property prediction has gained significant attention in recent
years. The main bottleneck is the label insufficiency caused by expensive lab
experiments. In order to alleviate this issue and to better leverage textual
knowledge for tasks, this study investigates the feasibility of employing
natural language instructions to accomplish molecule-related tasks in a
zero-shot setting. We discover that existing molecule-text models perform
poorly in this setting due to inadequate treatment of instructions and limited
capacity for graphs. To overcome these issues, we propose GIMLET, which unifies
language models for both graph and text data. By adopting generalized position
embedding, our model is extended to encode both graph structures and
instruction text without additional graph encoding modules. GIMLET also
decouples encoding of the graph from tasks instructions in the attention
mechanism, enhancing the generalization of graph features across novel tasks.
We construct a dataset consisting of more than two thousand molecule tasks with
corresponding instructions derived from task descriptions. We pretrain GIMLET
on the molecule tasks along with instructions, enabling the model to transfer
effectively to a broad range of tasks. Experimental results demonstrate that
GIMLET significantly outperforms molecule-text baselines in instruction-based
zero-shot learning, even achieving closed results to supervised GNN models on
tasks such as toxcast and muv. | cs.LG | GIMLET: A Unified Graph-Text Model for Instruction-Based Molecule Zero-Shot Learning |
2023-05-28T17:48:48Z | http://arxiv.org/pdf/2305.17782v1 | http://arxiv.org/abs/2305.17782v1 | Wei Zhou, Eugen Beck, Simon Berger, Ralf Schlüter, Hermann Ney | 2023-05-28T17:48:48Z | cs.CL, cs.SD, eess.AS | Modern public ASR tools usually provide rich support for training various
sequence-to-sequence (S2S) models, but rather simple support for decoding
open-vocabulary scenarios only. For closed-vocabulary scenarios, public tools
supporting lexical-constrained decoding are usually only for classical ASR, or
do not support all S2S models. To eliminate this restriction on research
possibilities such as modeling unit choice, we present RASR2 in this work, a
research-oriented generic S2S decoder implemented in C++. It offers a strong
flexibility/compatibility for various S2S models, language models, label
units/topologies and neural network architectures. It provides efficient
decoding for both open- and closed-vocabulary scenarios based on a generalized
search framework with rich support for different search modes and settings. We
evaluate RASR2 with a wide range of experiments on both switchboard and
Librispeech corpora. Our source code is public online. | cs.CL | RASR2: The RWTH ASR Toolkit for Generic Sequence-to-sequence Speech Recognition |
2023-05-28T17:22:04Z | http://arxiv.org/pdf/2305.17779v1 | http://arxiv.org/abs/2305.17779v1 | Griffin Adams, Alexander R. Fabbri, Faisal Ladhak, Kathleen McKeown, Noémie Elhadad | 2023-05-28T17:22:04Z | cs.CL | Two-step approaches, in which summary candidates are generated-then-reranked
to return a single summary, can improve ROUGE scores over the standard
single-step approach. Yet, standard decoding methods (i.e., beam search,
nucleus sampling, and diverse beam search) produce candidates with redundant,
and often low quality, content. In this paper, we design a novel method to
generate candidates for re-ranking that addresses these issues. We ground each
candidate abstract on its own unique content plan and generate distinct
plan-guided abstracts using a model's top beam. More concretely, a standard
language model (a BART LM) auto-regressively generates elemental discourse unit
(EDU) content plans with an extractive copy mechanism. The top K beams from the
content plan generator are then used to guide a separate LM, which produces a
single abstractive candidate for each distinct plan. We apply an existing
re-ranker (BRIO) to abstractive candidates generated from our method, as well
as baseline decoding methods. We show large relevance improvements over
previously published methods on widely used single document news article
corpora, with ROUGE-2 F1 gains of 0.88, 2.01, and 0.38 on CNN / Dailymail, NYT,
and Xsum, respectively. A human evaluation on CNN / DM validates these results.
Similarly, on 1k samples from CNN / DM, we show that prompting GPT-3 to follow
EDU plans outperforms sampling-based methods by 1.05 ROUGE-2 F1 points. Code to
generate and realize plans is available at
https://github.com/griff4692/edu-sum. | cs.CL | Generating EDU Extracts for Plan-Guided Summary Re-Ranking |
2023-05-28T17:07:46Z | http://arxiv.org/pdf/2305.18410v1 | http://arxiv.org/abs/2305.18410v1 | Mugariya Farooq, Shahad Hardan, Aigerim Zhumbhayeva, Yujia Zheng, Preslav Nakov, Kun Zhang | 2023-05-28T17:07:46Z | cs.LG, cs.CL, q-bio.GN, stat.ME | The need for more usable and explainable machine learning models in
healthcare increases the importance of developing and utilizing causal
discovery algorithms, which aim to discover causal relations by analyzing
observational data. Explainable approaches aid clinicians and biologists in
predicting the prognosis of diseases and suggesting proper treatments. However,
very little research has been conducted at the crossroads between causal
discovery, genomics, and breast cancer, and we aim to bridge this gap.
Moreover, evaluation of causal discovery methods on real data is in general
notoriously difficult because ground-truth causal relations are usually
unknown, and accordingly, in this paper, we also propose to address the
evaluation problem with large language models. In particular, we exploit
suitable causal discovery algorithms to investigate how various perturbations
in the genome can affect the survival of patients diagnosed with breast cancer.
We used three main causal discovery algorithms: PC, Greedy Equivalence Search
(GES), and a Generalized Precision Matrix-based one. We experiment with a
subset of The Cancer Genome Atlas, which contains information about mutations,
copy number variations, protein levels, and gene expressions for 705 breast
cancer patients. Our findings reveal important factors related to the vital
status of patients using causal discovery algorithms. However, the reliability
of these results remains a concern in the medical domain. Accordingly, as
another contribution of the work, the results are validated through language
models trained on biomedical literature, such as BlueBERT and other large
language models trained on medical corpora. Our results profess proper
utilization of causal discovery algorithms and language models for revealing
reliable causal relations for clinical applications. | cs.LG | Understanding Breast Cancer Survival: Using Causality and Language Models on Multi-omics Data |
2023-05-28T16:04:48Z | http://arxiv.org/pdf/2305.17760v6 | http://arxiv.org/abs/2305.17760v6 | Khanh Nguyen | 2024-01-01T21:06:57Z | cs.CL, cs.LG | How do language models "think"? This paper formulates a probabilistic
cognitive model called the bounded pragmatic speaker, which can characterize
the operation of different variations of language models. Specifically, we
demonstrate that large language models fine-tuned with reinforcement learning
from human feedback (Ouyang et al., 2022) embody a model of thought that
conceptually resembles a fast-and-slow model (Kahneman, 2011), which
psychologists have attributed to humans. We discuss the limitations of
reinforcement learning from human feedback as a fast-and-slow model of thought
and propose avenues for expanding this framework. In essence, our research
highlights the value of adopting a cognitive probabilistic modeling approach to
gain insights into the comprehension, evaluation, and advancement of language
models. | cs.CL | Language Models are Bounded Pragmatic Speakers: Understanding RLHF from a Bayesian Cognitive Modeling Perspective |
2023-05-28T15:37:39Z | http://arxiv.org/pdf/2305.19148v3 | http://arxiv.org/abs/2305.19148v3 | Yu Fei, Yifan Hou, Zeming Chen, Antoine Bosselut | 2023-08-04T15:43:19Z | cs.CL, cs.AI, cs.LG | Various design settings for in-context learning (ICL), such as the choice and
order of the in-context examples, can bias a model toward a particular
prediction without being reflective of an understanding of the task. While many
studies discuss these design choices, there have been few systematic
investigations into categorizing them and mitigating their impact. In this
work, we define a typology for three types of label biases in ICL for text
classification: vanilla-label bias, context-label bias, and domain-label bias
(which we conceptualize and detect for the first time).
Our analysis demonstrates that prior label bias calibration methods fall
short of addressing all three types of biases. Specifically, domain-label bias
restricts LLMs to random-level performance on many tasks regardless of the
choice of in-context examples. To mitigate the effect of these biases, we
propose a simple bias calibration method that estimates a language model's
label bias using random in-domain words from the task corpus. After controlling
for this estimated bias when making predictions, our novel domain-context
calibration significantly improves the ICL performance of GPT-J and GPT-3 on a
wide range of tasks. The gain is substantial on tasks with large domain-label
bias (up to 37% in Macro-F1). Furthermore, our results generalize to models
with different scales, pretraining methods, and manually-designed task
instructions, showing the prevalence of label biases in ICL. | cs.CL | Mitigating Label Biases for In-context Learning |
2023-05-28T15:26:10Z | http://arxiv.org/pdf/2305.18404v3 | http://arxiv.org/abs/2305.18404v3 | Bhawesh Kumar, Charlie Lu, Gauri Gupta, Anil Palepu, David Bellamy, Ramesh Raskar, Andrew Beam | 2023-07-08T02:20:29Z | cs.CL, cs.LG, stat.ML | As large language models continue to be widely developed, robust uncertainty
quantification techniques will become crucial for their safe deployment in
high-stakes scenarios. In this work, we explore how conformal prediction can be
used to provide uncertainty quantification in language models for the specific
task of multiple-choice question-answering. We find that the uncertainty
estimates from conformal prediction are tightly correlated with prediction
accuracy. This observation can be useful for downstream applications such as
selective classification and filtering out low-quality predictions. We also
investigate the exchangeability assumption required by conformal prediction to
out-of-subject questions, which may be a more realistic scenario for many
practical applications. Our work contributes towards more trustworthy and
reliable usage of large language models in safety-critical situations, where
robust guarantees of error rate are required. | cs.CL | Conformal Prediction with Large Language Models for Multi-Choice Question Answering |
2023-05-28T15:14:54Z | http://arxiv.org/pdf/2305.17750v1 | http://arxiv.org/abs/2305.17750v1 | Ella Rabinovich, Matan Vetzler, Samuel Ackerman, Ateret Anaby-Tavor | 2023-05-28T15:14:54Z | cs.CL | Data drift is the change in model input data that is one of the key factors
leading to machine learning models performance degradation over time.
Monitoring drift helps detecting these issues and preventing their harmful
consequences. Meaningful drift interpretation is a fundamental step towards
effective re-training of the model. In this study we propose an end-to-end
framework for reliable model-agnostic change-point detection and interpretation
in large task-oriented dialog systems, proven effective in multiple customer
deployments. We evaluate our approach and demonstrate its benefits with a novel
variant of intent classification training dataset, simulating customer requests
to a dialog system. We make the data publicly available. | cs.CL | Reliable and Interpretable Drift Detection in Streams of Short Texts |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.