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-11-21T08:20:39Z | http://arxiv.org/pdf/2311.12420v3 | http://arxiv.org/abs/2311.12420v3 | Zeyu Gao, Hao Wang, Yuchen Zhou, Wenyu Zhu, Chao Zhang | 2023-12-22T14:07:16Z | cs.AI, cs.CL, cs.CR | As software becomes increasingly complex and prone to vulnerabilities,
automated vulnerability detection is critically important, yet challenging.
Given the significant successes of large language models (LLMs) in various
tasks, there is growing anticipation of their efficacy in vulnerability
detection. However, a quantitative understanding of their potential in
vulnerability detection is still missing. To bridge this gap, we introduce a
comprehensive vulnerability benchmark VulBench. This benchmark aggregates
high-quality data from a wide range of CTF (Capture-the-Flag) challenges and
real-world applications, with annotations for each vulnerable function
detailing the vulnerability type and its root cause. Through our experiments
encompassing 16 LLMs and 6 state-of-the-art (SOTA) deep learning-based models
and static analyzers, we find that several LLMs outperform traditional deep
learning approaches in vulnerability detection, revealing an untapped potential
in LLMs. This work contributes to the understanding and utilization of LLMs for
enhanced software security. | cs.AI | How Far Have We Gone in Vulnerability Detection Using Large Language Models |
2023-11-21T08:15:01Z | http://arxiv.org/pdf/2311.12418v1 | http://arxiv.org/abs/2311.12418v1 | Raymond Li, Ruixin Yang, Wen Xiao, Ahmed AbuRaed, Gabriel Murray, Giuseppe Carenini | 2023-11-21T08:15:01Z | cs.CL, cs.HC | While transformer-based models have achieved state-of-the-art results in a
variety of classification and generation tasks, their black-box nature makes
them challenging for interpretability. In this work, we present a novel visual
analytical framework to support the analysis of transformer-based generative
networks. In contrast to previous work, which has mainly focused on
encoder-based models, our framework is one of the first dedicated to supporting
the analysis of transformer-based encoder-decoder models and decoder-only
models for generative and classification tasks. Hence, we offer an intuitive
overview that allows the user to explore different facets of the model through
interactive visualization. To demonstrate the feasibility and usefulness of our
framework, we present three detailed case studies based on real-world NLP
research problems. | cs.CL | Visual Analytics for Generative Transformer Models |
2023-11-21T07:56:30Z | http://arxiv.org/pdf/2311.12410v3 | http://arxiv.org/abs/2311.12410v3 | Micha Livne, Zulfat Miftahutdinov, Elena Tutubalina, Maksim Kuznetsov, Daniil Polykovskiy, Annika Brundyn, Aastha Jhunjhunwala, Anthony Costa, Alex Aliper, Alán Aspuru-Guzik, Alex Zhavoronkov | 2024-05-02T09:12:12Z | cs.CL, cs.AI, cs.LG, q-bio.QM | Large Language Models (LLMs) have substantially driven scientific progress in
various domains, and many papers have demonstrated their ability to tackle
complex problems with creative solutions. Our paper introduces a new foundation
model, nach0, capable of solving various chemical and biological tasks:
biomedical question answering, named entity recognition, molecular generation,
molecular synthesis, attributes prediction, and others. nach0 is a multi-domain
and multi-task encoder-decoder LLM pre-trained on unlabeled text from
scientific literature, patents, and molecule strings to incorporate a range of
chemical and linguistic knowledge. We employed instruction tuning, where
specific task-related instructions are utilized to fine-tune nach0 for the
final set of tasks. To train nach0 effectively, we leverage the NeMo framework,
enabling efficient parallel optimization of both base and large model versions.
Extensive experiments demonstrate that our model outperforms state-of-the-art
baselines on single-domain and cross-domain tasks. Furthermore, it can generate
high-quality outputs in molecular and textual formats, showcasing its
effectiveness in multi-domain setups. | cs.CL | nach0: Multimodal Natural and Chemical Languages Foundation Model |
2023-11-21T07:50:53Z | http://arxiv.org/pdf/2311.12405v1 | http://arxiv.org/abs/2311.12405v1 | Muhammad Farid Adilazuarda, Samuel Cahyawijaya, Genta Indra Winata, Pascale Fung, Ayu Purwarianti | 2023-11-21T07:50:53Z | cs.CL | Significant progress has been made on Indonesian NLP. Nevertheless,
exploration of the code-mixing phenomenon in Indonesian is limited, despite
many languages being frequently mixed with Indonesian in daily conversation. In
this work, we explore code-mixing in Indonesian with four embedded languages,
i.e., English, Sundanese, Javanese, and Malay; and introduce IndoRobusta, a
framework to evaluate and improve the code-mixing robustness. Our analysis
shows that the pre-training corpus bias affects the model's ability to better
handle Indonesian-English code-mixing when compared to other local languages,
despite having higher language diversity. | cs.CL | IndoRobusta: Towards Robustness Against Diverse Code-Mixed Indonesian Local Languages |
2023-11-21T07:43:50Z | http://arxiv.org/pdf/2311.12404v1 | http://arxiv.org/abs/2311.12404v1 | MSVPJ Sathvik, Surjodeep Sarkar, Chandni Saxena, Sunghwan Sohn, Muskan Garg | 2023-11-21T07:43:50Z | cs.CL, cs.IR | Mental health professionals and clinicians have observed the upsurge of
mental disorders due to Interpersonal Risk Factors (IRFs). To simulate the
human-in-the-loop triaging scenario for early detection of mental health
disorders, we recognized textual indications to ascertain these IRFs : Thwarted
Belongingness (TBe) and Perceived Burdensomeness (PBu) within personal
narratives. In light of this, we use N-shot learning with GPT-3 model on the
IRF dataset, and underscored the importance of fine-tuning GPT-3 model to
incorporate the context-specific sensitivity and the interconnectedness of
textual cues that represent both IRFs.
In this paper, we introduce an Interpretable Prompting (InterPrompt)} method
to boost the attention mechanism by fine-tuning the GPT-3 model. This allows a
more sophisticated level of language modification by adjusting the pre-trained
weights. Our model learns to detect usual patterns and underlying connections
across both the IRFs, which leads to better system-level explainability and
trustworthiness. The results of our research demonstrate that all four variants
of GPT-3 model, when fine-tuned with InterPrompt, perform considerably better
as compared to the baseline methods, both in terms of classification and
explanation generation. | cs.CL | InterPrompt: Interpretable Prompting for Interrelated Interpersonal Risk Factors in Reddit Posts |
2023-11-21T07:22:48Z | http://arxiv.org/pdf/2311.12399v4 | http://arxiv.org/abs/2311.12399v4 | Yuhan Li, Zhixun Li, Peisong Wang, Jia Li, Xiangguo Sun, Hong Cheng, Jeffrey Xu Yu | 2024-04-24T08:48:13Z | cs.LG, cs.CL, cs.SI | Graph plays a significant role in representing and analyzing complex
relationships in real-world applications such as citation networks, social
networks, and biological data. Recently, Large Language Models (LLMs), which
have achieved tremendous success in various domains, have also been leveraged
in graph-related tasks to surpass traditional Graph Neural Networks (GNNs)
based methods and yield state-of-the-art performance. In this survey, we first
present a comprehensive review and analysis of existing methods that integrate
LLMs with graphs. First of all, we propose a new taxonomy, which organizes
existing methods into three categories based on the role (i.e., enhancer,
predictor, and alignment component) played by LLMs in graph-related tasks. Then
we systematically survey the representative methods along the three categories
of the taxonomy. Finally, we discuss the remaining limitations of existing
studies and highlight promising avenues for future research. The relevant
papers are summarized and will be consistently updated at:
https://github.com/yhLeeee/Awesome-LLMs-in-Graph-tasks. | cs.LG | A Survey of Graph Meets Large Language Model: Progress and Future Directions |
2023-11-21T07:11:39Z | http://arxiv.org/pdf/2311.12395v1 | http://arxiv.org/abs/2311.12395v1 | Mohammad Ibrahim Qani | 2023-11-21T07:11:39Z | cs.CL | Translating words which do not have equivalent in target language is not easy
and finding proper equivalent of those words are very important to render
correctly and understandably, the article defines some thoughts and ideas of
scientists on the common problems of non-equivalent words from English to
Russian language and includes English and Russian examples and ideas of certain
scientist. The English language is worldwide spoken and there are 1.35 billion
English speakers and over 258 million Russian speakers according to the 2021s
statistics. Inevitably, these billions of speakers around the world have
connection and they may have deal in different criteria. In order to understand
one another they need to have a pure and fully-understood language. These pure
languages understanding directly relates to translation knowledge where
linguists and translators need to work and research to eradicate
misunderstanding. Misunderstandings mostly appear in non-equivalent words
because there are different local and internal words like food, garment,
cultural and traditional words and others in every notion. Truly, most of these
words do not have equivalent in the target language and these words need to be
worked and find their equivalent in the target language to fully understand the
both languages. However, some of these non-equivalent words are already
professionally rendered to the target language but still there many other words
to be rendered. Hence, this research paper includes different ways and rules of
rendering non-equivalent words from source language to the target language. | cs.CL | Problems of Non-equivalent Words in Technical Translation |
2023-11-21T06:27:25Z | http://arxiv.org/pdf/2311.12375v1 | http://arxiv.org/abs/2311.12375v1 | Muhammad Farid Adilazuarda, Samuel Cahyawijaya, Ayu Purwarianti | 2023-11-21T06:27:25Z | cs.CL | We expose the limitation of modular multilingual language models (MLMs) in
multilingual inference scenarios with unknown languages. Existing evaluations
of modular MLMs exclude the involvement of language identification (LID)
modules, which obscures the performance of real-case multilingual scenarios of
modular MLMs. In this work, we showcase the effect of adding LID on the
multilingual evaluation of modular MLMs and provide discussions for closing the
performance gap of caused by the pipelined approach of LID and modular MLMs. | cs.CL | The Obscure Limitation of Modular Multilingual Language Models |
2023-11-21T06:23:38Z | http://arxiv.org/pdf/2311.12373v3 | http://arxiv.org/abs/2311.12373v3 | Muhammad Farid Adilazuarda | 2024-05-15T07:43:11Z | cs.CL | Significant progress has been made on text generation by pre-trained language
models (PLMs), yet distinguishing between human and machine-generated text
poses an escalating challenge. This paper offers an in-depth evaluation of
three distinct methods used to address this task: traditional shallow learning,
Language Model (LM) fine-tuning, and Multilingual Model fine-tuning. These
approaches are rigorously tested on a wide range of machine-generated texts,
providing a benchmark of their competence in distinguishing between
human-authored and machine-authored linguistic constructs. The results reveal
considerable differences in performance across methods, thus emphasizing the
continued need for advancement in this crucial area of NLP. This study offers
valuable insights and paves the way for future research aimed at creating
robust and highly discriminative models. | cs.CL | Beyond Turing: A Comparative Analysis of Approaches for Detecting Machine-Generated Text |
2023-11-21T05:15:56Z | http://arxiv.org/pdf/2311.12355v1 | http://arxiv.org/abs/2311.12355v1 | Ngai Lam Ho, Kwan Hui Lim | 2023-11-21T05:15:56Z | cs.IR, cs.CL, cs.LG | Tour itinerary recommendation involves planning a sequence of relevant
Point-of-Interest (POIs), which combines challenges from the fields of both
Operations Research (OR) and Recommendation Systems (RS). As an OR problem,
there is the need to maximize a certain utility (e.g., popularity of POIs in
the tour) while adhering to some constraints (e.g., maximum time for the tour).
As a RS problem, it is heavily related to problem or filtering or ranking a
subset of POIs that are relevant to a user and recommending it as part of an
itinerary. In this paper, we explore the use of language models for the task of
tour itinerary recommendation and planning. This task has the unique
requirement of recommending personalized POIs relevant to users and planning
these POIs as an itinerary that satisfies various constraints. We discuss some
approaches in this area, such as using word embedding techniques like Word2Vec
and GloVe for learning POI embeddings and transformer-based techniques like
BERT for generating
itineraries. | cs.IR | Utilizing Language Models for Tour Itinerary Recommendation |
2023-11-21T04:59:17Z | http://arxiv.org/pdf/2311.12351v2 | http://arxiv.org/abs/2311.12351v2 | Yunpeng Huang, Jingwei Xu, Junyu Lai, Zixu Jiang, Taolue Chen, Zenan Li, Yuan Yao, Xiaoxing Ma, Lijuan Yang, Hao Chen, Shupeng Li, Penghao Zhao | 2024-02-23T19:22:58Z | cs.CL, cs.LG, I.2.7; I.2.6; I.2.11 | Transformer-based Large Language Models (LLMs) have been applied in diverse
areas such as knowledge bases, human interfaces, and dynamic agents, and
marking a stride towards achieving Artificial General Intelligence (AGI).
However, current LLMs are predominantly pretrained on short text snippets,
which compromises their effectiveness in processing the long-context prompts
that are frequently encountered in practical scenarios. This article offers a
comprehensive survey of the recent advancement in Transformer-based LLM
architectures aimed at enhancing the long-context capabilities of LLMs
throughout the entire model lifecycle, from pre-training through to inference.
We first delineate and analyze the problems of handling long-context input and
output with the current Transformer-based models. We then provide a taxonomy
and the landscape of upgrades on Transformer architecture to solve these
problems. Afterwards, we provide an investigation on wildly used evaluation
necessities tailored for long-context LLMs, including datasets, metrics, and
baseline models, as well as optimization toolkits such as libraries,
frameworks, and compilers to boost the efficacy of LLMs across different stages
in runtime. Finally, we discuss the challenges and potential avenues for future
research. A curated repository of relevant literature, continuously updated, is
available at https://github.com/Strivin0311/long-llms-learning. | cs.CL | Advancing Transformer Architecture in Long-Context Large Language Models: A Comprehensive Survey |
2023-11-21T04:39:47Z | http://arxiv.org/pdf/2312.03715v1 | http://arxiv.org/abs/2312.03715v1 | Ujwal Sasikumar, Ank Zaman, Abdul-Rahman Mawlood-Yunis, Prosenjit Chatterjee | 2023-11-21T04:39:47Z | cs.CL, cs.LG, cs.SI | Sentiment analysis of social media data is an emerging field with vast
applications in various domains. In this study, we developed a sentiment
analysis model to analyze social media sentiment, especially tweets, during
global conflicting scenarios. To establish our research experiment, we
identified a recent global dispute incident on Twitter and collected around
31,000 filtered Tweets for several months to analyze human sentiment worldwide. | cs.CL | Sentiment Analysis of Twitter Posts on Global Conflicts |
2023-11-21T04:06:08Z | http://arxiv.org/pdf/2311.12337v1 | http://arxiv.org/abs/2311.12337v1 | Tim Hartill, Joshua Bensemann, Michael Witbrock, Patricia J. Riddle | 2023-11-21T04:06:08Z | cs.CL, cs.AI | A distinction is often drawn between a model's ability to predict a label for
an evaluation sample that is directly memorised from highly similar training
samples versus an ability to predict the label via some method of
generalisation. In the context of using Language Models for question-answering,
discussion continues to occur as to the extent to which questions are answered
through memorisation. We consider this issue for questions that would ideally
be answered through reasoning over an associated context. We propose a method
of identifying evaluation samples for which it is very unlikely our model would
have memorised the answers. Our method is based on semantic similarity of input
tokens and label tokens between training and evaluation samples. We show that
our method offers advantages upon some prior approaches in that it is able to
surface evaluation-train pairs that have overlap in either contiguous or
discontiguous sequences of tokens. We use this method to identify unmemorisable
subsets of our evaluation datasets. We train two Language Models in a multitask
fashion whereby the second model differs from the first only in that it has two
additional datasets added to the training regime that are designed to impart
simple numerical reasoning strategies of a sort known to improve performance on
some of our evaluation datasets but not on others. We then show that there is
performance improvement between the two models on the unmemorisable subsets of
the evaluation datasets that were expected to benefit from the additional
training datasets. Specifically, performance on unmemorisable subsets of two of
our evaluation datasets, DROP and ROPES significantly improves by 9.0%, and
25.7% respectively while other evaluation datasets have no significant change
in performance. | cs.CL | Do Smaller Language Models Answer Contextualised Questions Through Memorisation Or Generalisation? |
2023-11-21T03:34:20Z | http://arxiv.org/pdf/2311.12323v1 | http://arxiv.org/abs/2311.12323v1 | Sadia Kamal, Brenner Little, Jade Gullic, Trevor Harms, Kristin Olofsson, Arunkumar Bagavathi | 2023-11-21T03:34:20Z | cs.SI, cs.CL, cs.LG | Developing machine learning models to characterize political polarization on
online social media presents significant challenges. These challenges mainly
stem from various factors such as the lack of annotated data, presence of noise
in social media datasets, and the sheer volume of data. The common research
practice typically examines the biased structure of online user communities for
a given topic or qualitatively measuring the impacts of polarized topics on
social media. However, there is limited work focusing on analyzing polarization
at the ground-level, specifically in the social media posts themselves. Such
existing analysis heavily relies on annotated data, which often requires
laborious human labeling, offers labels only to specific problems, and lacks
the ability to determine the near-future bias state of a social media
conversations. Understanding the degree of political orientation conveyed in
social media posts is crucial for quantifying the bias of online user
communities and investigating the spread of polarized content. In this work, we
first introduce two heuristic methods that leverage on news media bias and post
content to label social media posts. Next, we compare the efficacy and quality
of heuristically labeled dataset with a randomly sampled human-annotated
dataset. Additionally, we demonstrate that current machine learning models can
exhibit improved performance in predicting political orientation of social
media posts, employing both traditional supervised learning and few-shot
learning setups. We conduct experiments using the proposed heuristic methods
and machine learning approaches to predict the political orientation of posts
collected from two social media forums with diverse political ideologies: Gab
and Twitter. | cs.SI | Modeling Political Orientation of Social Media Posts: An Extended Analysis |
2023-11-21T03:17:14Z | http://arxiv.org/pdf/2311.12315v1 | http://arxiv.org/abs/2311.12315v1 | Shufa Wei, Xiaolong Xu, Xianbiao Qi, Xi Yin, Jun Xia, Jingyi Ren, Peijun Tang, Yuxiang Zhong, Yihao Chen, Xiaoqin Ren, Yuxin Liang, Liankai Huang, Kai Xie, Weikang Gui, Wei Tan, Shuanglong Sun, Yongquan Hu, Qinxian Liu, Nanjin Li, Chihao Dai, Lihua Wang, Xiaohui Liu, Lei Zhang, Yutao Xie | 2023-11-21T03:17:14Z | cs.CL | Large Language Models (LLMs) have demonstrated exceptional capabilities
across various natural language processing tasks. Yet, many of these advanced
LLMs are tailored for broad, general-purpose applications. In this technical
report, we introduce AcademicGPT, designed specifically to empower academic
research. AcademicGPT is a continual training model derived from LLaMA2-70B.
Our training corpus mainly consists of academic papers, thesis, content from
some academic domain, high-quality Chinese data and others. While it may not be
extensive in data scale, AcademicGPT marks our initial venture into a
domain-specific GPT tailored for research area. We evaluate AcademicGPT on
several established public benchmarks such as MMLU and CEval, as well as on
some specialized academic benchmarks like PubMedQA, SCIEval, and our
newly-created ComputerScienceQA, to demonstrate its ability from general
knowledge ability, to Chinese ability, and to academic ability. Building upon
AcademicGPT's foundation model, we also developed several applications catered
to the academic area, including General Academic Question Answering,
AI-assisted Paper Reading, Paper Review, and AI-assisted Title and Abstract
Generation. | cs.CL | AcademicGPT: Empowering Academic Research |
2023-11-21T02:35:09Z | http://arxiv.org/pdf/2311.12298v1 | http://arxiv.org/abs/2311.12298v1 | Akshay Parekh, Ashish Anand, Amit Awekar | 2023-11-21T02:35:09Z | cs.CL, cs.AI | The overarching objective of this paper is two-fold. First, to explore
model-based approaches to characterize the primary cause of the noise. in the
RE dataset TACRED Second, to identify the potentially noisy instances. Towards
the first objective, we analyze predictions and performance of state-of-the-art
(SOTA) models to identify the root cause of noise in the dataset. Our analysis
of TACRED shows that the majority of the noise in the dataset originates from
the instances labeled as no-relation which are negative examples. For the
second objective, we explore two nearest-neighbor-based strategies to
automatically identify potentially noisy examples for elimination and
reannotation. Our first strategy, referred to as Intrinsic Strategy (IS), is
based on the assumption that positive examples are clean. Thus, we have used
false-negative predictions to identify noisy negative examples. Whereas, our
second approach, referred to as Extrinsic Strategy, is based on using a clean
subset of the dataset to identify potentially noisy negative examples. Finally,
we retrained the SOTA models on the eliminated and reannotated dataset. Our
empirical results based on two SOTA models trained on TACRED-E following the IS
show an average 4% F1-score improvement, whereas reannotation (TACRED-R) does
not improve the original results. However, following ES, SOTA models show the
average F1-score improvement of 3.8% and 4.4% when trained on respective
eliminated (TACRED-EN) and reannotated (TACRED-RN) datasets respectively. We
further extended the ES for cleaning positive examples as well, which resulted
in an average performance improvement of 5.8% and 5.6% for the eliminated
(TACRED-ENP) and reannotated (TACRED-RNP) datasets respectively. | cs.CL | Noise in Relation Classification Dataset TACRED: Characterization and Reduction |
2023-11-21T02:02:46Z | http://arxiv.org/pdf/2311.12289v1 | http://arxiv.org/abs/2311.12289v1 | Sai Munikoti, Anurag Acharya, Sridevi Wagle, Sameera Horawalavithana | 2023-11-21T02:02:46Z | cs.CL, cs.AI, I.2.7 | Large language models record impressive performance on many natural language
processing tasks. However, their knowledge capacity is limited to the
pretraining corpus. Retrieval augmentation offers an effective solution by
retrieving context from external knowledge sources to complement the language
model. However, existing retrieval augmentation techniques ignore the
structural relationships between these documents. Furthermore, retrieval models
are not explored much in scientific tasks, especially in regard to the
faithfulness of retrieved documents. In this paper, we propose a novel
structure-aware retrieval augmented language model that accommodates document
structure during retrieval augmentation. We create a heterogeneous document
graph capturing multiple types of relationships (e.g., citation, co-authorship,
etc.) that connect documents from more than 15 scientific disciplines (e.g.,
Physics, Medicine, Chemistry, etc.). We train a graph neural network on the
curated document graph to act as a structural encoder for the corresponding
passages retrieved during the model pretraining. Particularly, along with text
embeddings of the retrieved passages, we obtain structural embeddings of the
documents (passages) and fuse them together before feeding them to the language
model. We evaluate our model extensively on various scientific benchmarks that
include science question-answering and scientific document classification
tasks. Experimental results demonstrate that structure-aware retrieval improves
retrieving more coherent, faithful and contextually relevant passages, while
showing a comparable performance in the overall accuracy. | cs.CL | ATLANTIC: Structure-Aware Retrieval-Augmented Language Model for Interdisciplinary Science |
2023-11-21T01:34:02Z | http://arxiv.org/pdf/2311.12275v4 | http://arxiv.org/abs/2311.12275v4 | Ruiyang Qin, Jun Xia, Zhenge Jia, Meng Jiang, Ahmed Abbasi, Peipei Zhou, Jingtong Hu, Yiyu Shi | 2024-04-16T21:34:29Z | cs.CL | After a large language model (LLM) is deployed on edge devices, it is
desirable for these devices to learn from user-generated conversation data to
generate user-specific and personalized responses in real-time. However,
user-generated data usually contains sensitive and private information, and
uploading such data to the cloud for annotation is not preferred if not
prohibited. While it is possible to obtain annotation locally by directly
asking users to provide preferred responses, such annotations have to be sparse
to not affect user experience. In addition, the storage of edge devices is
usually too limited to enable large-scale fine-tuning with full user-generated
data. It remains an open question how to enable on-device LLM personalization,
considering sparse annotation and limited on-device storage. In this paper, we
propose a novel framework to select and store the most representative data
online in a self-supervised way. Such data has a small memory footprint and
allows infrequent requests of user annotations for further fine-tuning. To
enhance fine-tuning quality, multiple semantically similar pairs of question
texts and expected responses are generated using the LLM. Our experiments show
that the proposed framework achieves the best user-specific content-generating
capability (accuracy) and fine-tuning speed (performance) compared with vanilla
baselines. To the best of our knowledge, this is the very first on-device LLM
personalization framework. | cs.CL | Enabling On-Device Large Language Model Personalization with Self-Supervised Data Selection and Synthesis |
2023-11-20T23:17:20Z | http://arxiv.org/pdf/2311.12233v1 | http://arxiv.org/abs/2311.12233v1 | Theodora Worledge, Judy Hanwen Shen, Nicole Meister, Caleb Winston, Carlos Guestrin | 2023-11-20T23:17:20Z | cs.CL | As businesses, products, and services spring up around large language models,
the trustworthiness of these models hinges on the verifiability of their
outputs. However, methods for explaining language model outputs largely fall
across two distinct fields of study which both use the term "attribution" to
refer to entirely separate techniques: citation generation and training data
attribution. In many modern applications, such as legal document generation and
medical question answering, both types of attributions are important. In this
work, we argue for and present a unified framework of large language model
attributions. We show how existing methods of different types of attribution
fall under the unified framework. We also use the framework to discuss
real-world use cases where one or both types of attributions are required. We
believe that this unified framework will guide the use case driven development
of systems that leverage both types of attribution, as well as the
standardization of their evaluation. | cs.CL | Unifying Corroborative and Contributive Attributions in Large Language Models |
2023-11-20T20:48:25Z | http://arxiv.org/pdf/2311.12179v1 | http://arxiv.org/abs/2311.12179v1 | Idris Abdulmumin, Auwal Abubakar Khalid, Shamsuddeen Hassan Muhammad, Ibrahim Said Ahmad, Lukman Jibril Aliyu, Babangida Sani, Bala Mairiga Abduljalil, Sani Ahmad Hassan | 2023-11-20T20:48:25Z | cs.CL | The importance of qualitative parallel data in machine translation has long
been determined but it has always been very difficult to obtain such in
sufficient quantity for the majority of world languages, mainly because of the
associated cost and also the lack of accessibility to these languages. Despite
the potential for obtaining parallel datasets from online articles using
automatic approaches, forensic investigations have found a lot of
quality-related issues such as misalignment, and wrong language codes. In this
work, we present a simple but qualitative parallel sentence aligner that
carefully leveraged the closed-access Cohere multilingual embedding, a solution
that ranked second in the just concluded #CoHereAIHack 2023 Challenge (see
https://ai6lagos.devpost.com). The proposed approach achieved $94.96$ and
$54.83$ f1 scores on FLORES and MAFAND-MT, compared to $3.64$ and $0.64$ of
LASER respectively. Our method also achieved an improvement of more than 5 BLEU
scores over LASER, when the resulting datasets were used with MAFAND-MT dataset
to train translation models. Our code and data are available for research
purposes here (https://github.com/abumafrim/Cohere-Align). | cs.CL | Leveraging Closed-Access Multilingual Embedding for Automatic Sentence Alignment in Low Resource Languages |
2023-11-20T19:41:50Z | http://arxiv.org/pdf/2311.14730v1 | http://arxiv.org/abs/2311.14730v1 | Lifei Zheng, Yeonie Heo, Yi Fang | 2023-11-20T19:41:50Z | cs.CL, cs.AI, cs.HC, cs.LG | With the rise of Large Language Models (LLMs), notably characterized by GPT
frameworks, there emerges a catalyst for novel healthcare applications. Earlier
iterations of chatbot caregivers, though existent, have yet to achieve a
dimension of human-like authenticity. This paper unveils `MemoryCompanion' a
pioneering digital health solution explicitly tailored for Alzheimer's disease
(AD) patients and their caregivers. Drawing upon the nuances of GPT technology
and prompt engineering, MemoryCompanion manifests a personalized caregiving
paradigm, fostering interactions via voice-cloning and talking-face mechanisms
that resonate with the familiarity of known companions. Using advanced
prompt-engineering, the system intricately adapts to each patient's distinct
profile, curating its content and communication style accordingly. This
approach strives to counteract prevalent issues of social isolation and
loneliness frequently observed in AD demographics. Our methodology, grounded in
its innovative design, addresses both the caregiving and technological
challenges intrinsic to this domain. | cs.CL | MemoryCompanion: A Smart Healthcare Solution to Empower Efficient Alzheimer's Care Via Unleashing Generative AI |
2023-11-20T19:28:52Z | http://arxiv.org/pdf/2311.12131v1 | http://arxiv.org/abs/2311.12131v1 | Shachar Don-Yehiya, Leshem Choshen, Omri Abend | 2023-11-20T19:28:52Z | cs.CL | Generating images with a Text-to-Image model often requires multiple trials,
where human users iteratively update their prompt based on feedback, namely the
output image. Taking inspiration from cognitive work on reference games and
dialogue alignment, this paper analyzes the dynamics of the user prompts along
such iterations. We compile a dataset of iterative interactions of human users
with Midjourney. Our analysis then reveals that prompts predictably converge
toward specific traits along these iterations. We further study whether this
convergence is due to human users, realizing they missed important details, or
due to adaptation to the model's ``preferences'', producing better images for a
specific language style. We show initial evidence that both possibilities are
at play. The possibility that users adapt to the model's preference raises
concerns about reusing user data for further training. The prompts may be
biased towards the preferences of a specific model, rather than align with
human intentions and natural manner of expression. | cs.CL | Human Learning by Model Feedback: The Dynamics of Iterative Prompting with Midjourney |
2023-11-20T18:57:41Z | http://arxiv.org/pdf/2311.12023v3 | http://arxiv.org/abs/2311.12023v3 | Han Guo, Philip Greengard, Eric P. Xing, Yoon Kim | 2024-06-30T22:43:35Z | cs.CL, cs.LG | We propose a simple approach for memory-efficient adaptation of pretrained
language models. Our approach uses an iterative algorithm to decompose each
pretrained matrix into a high-precision low-rank component and a
memory-efficient quantized component. During finetuning, the quantized
component remains fixed and only the low-rank component is updated. We present
an integer linear programming formulation of the quantization component which
enables dynamic configuration of quantization parameters (e.g., bit-width,
block size) for each matrix given an overall target memory budget. We further
explore a data-aware version of the algorithm which uses an approximation of
the Fisher information matrix to weight the reconstruction objective during
matrix decomposition. Experiments on finetuning RoBERTa and LLaMA-2 (7B and
70B) demonstrate that our low-rank plus quantized matrix decomposition approach
(LQ-LoRA) outperforms strong QLoRA and GPTQ-LoRA baselines and enables
aggressive quantization to sub-3 bits with only minor performance degradations.
When finetuned on a language modeling calibration dataset, LQ-LoRA can also be
used for model compression; in this setting our 2.75-bit LLaMA-2-70B model
(which has 2.85 bits on average when including the low-rank components and
requires 27GB of GPU memory) performs respectably compared to the 16-bit
baseline. | cs.CL | LQ-LoRA: Low-rank Plus Quantized Matrix Decomposition for Efficient Language Model Finetuning |
2023-11-20T18:57:34Z | http://arxiv.org/pdf/2311.12022v1 | http://arxiv.org/abs/2311.12022v1 | David Rein, Betty Li Hou, Asa Cooper Stickland, Jackson Petty, Richard Yuanzhe Pang, Julien Dirani, Julian Michael, Samuel R. Bowman | 2023-11-20T18:57:34Z | cs.AI, cs.CL | We present GPQA, a challenging dataset of 448 multiple-choice questions
written by domain experts in biology, physics, and chemistry. We ensure that
the questions are high-quality and extremely difficult: experts who have or are
pursuing PhDs in the corresponding domains reach 65% accuracy (74% when
discounting clear mistakes the experts identified in retrospect), while highly
skilled non-expert validators only reach 34% accuracy, despite spending on
average over 30 minutes with unrestricted access to the web (i.e., the
questions are "Google-proof"). The questions are also difficult for
state-of-the-art AI systems, with our strongest GPT-4 based baseline achieving
39% accuracy. If we are to use future AI systems to help us answer very hard
questions, for example, when developing new scientific knowledge, we need to
develop scalable oversight methods that enable humans to supervise their
outputs, which may be difficult even if the supervisors are themselves skilled
and knowledgeable. The difficulty of GPQA both for skilled non-experts and
frontier AI systems should enable realistic scalable oversight experiments,
which we hope can help devise ways for human experts to reliably get truthful
information from AI systems that surpass human capabilities. | cs.AI | GPQA: A Graduate-Level Google-Proof Q&A Benchmark |
2023-11-20T18:54:39Z | http://arxiv.org/pdf/2311.12015v2 | http://arxiv.org/abs/2311.12015v2 | Naoki Wake, Atsushi Kanehira, Kazuhiro Sasabuchi, Jun Takamatsu, Katsushi Ikeuchi | 2024-05-06T10:18:21Z | cs.RO, cs.CL, cs.CV | We introduce a pipeline that enhances a general-purpose Vision Language
Model, GPT-4V(ision), to facilitate one-shot visual teaching for robotic
manipulation. This system analyzes videos of humans performing tasks and
outputs executable robot programs that incorporate insights into affordances.
The process begins with GPT-4V analyzing the videos to obtain textual
explanations of environmental and action details. A GPT-4-based task planner
then encodes these details into a symbolic task plan. Subsequently, vision
systems spatially and temporally ground the task plan in the videos. Object are
identified using an open-vocabulary object detector, and hand-object
interactions are analyzed to pinpoint moments of grasping and releasing. This
spatiotemporal grounding allows for the gathering of affordance information
(e.g., grasp types, waypoints, and body postures) critical for robot execution.
Experiments across various scenarios demonstrate the method's efficacy in
achieving real robots' operations from human demonstrations in a one-shot
manner. Meanwhile, quantitative tests have revealed instances of hallucination
in GPT-4V, highlighting the importance of incorporating human supervision
within the pipeline. The prompts of GPT-4V/GPT-4 are available at this project
page: | cs.RO | GPT-4V(ision) for Robotics: Multimodal Task Planning from Human Demonstration |
2023-11-20T18:16:27Z | http://arxiv.org/pdf/2311.11981v1 | http://arxiv.org/abs/2311.11981v1 | Xiaojing Duan, John P. Lalor | 2023-11-20T18:16:27Z | cs.CL | With the rapid advancement of machine learning models for NLP tasks,
collecting high-fidelity labels from AI models is a realistic possibility.
Firms now make AI available to customers via predictions as a service (PaaS).
This includes PaaS products for healthcare. It is unclear whether these labels
can be used for training a local model without expensive annotation checking by
in-house experts. In this work, we propose a new framework for Human Correction
of AI-Generated Labels (H-COAL). By ranking AI-generated outputs, one can
selectively correct labels and approach gold standard performance (100% human
labeling) with significantly less human effort. We show that correcting 5% of
labels can close the AI-human performance gap by up to 64% relative
improvement, and correcting 20% of labels can close the performance gap by up
to 86% relative improvement. | cs.CL | H-COAL: Human Correction of AI-Generated Labels for Biomedical Named Entity Recognition |
2023-11-20T18:12:28Z | http://arxiv.org/pdf/2311.11979v1 | http://arxiv.org/abs/2311.11979v1 | Dananjay Srinivas, Rohan Das, Saeid Tizpaz-Niari, Ashutosh Trivedi, Maria Leonor Pacheco | 2023-11-20T18:12:28Z | cs.SE, cs.CL | Due to the ever-increasing complexity of income tax laws in the United
States, the number of US taxpayers filing their taxes using tax preparation
software (henceforth, tax software) continues to increase. According to the
U.S. Internal Revenue Service (IRS), in FY22, nearly 50% of taxpayers filed
their individual income taxes using tax software. Given the legal consequences
of incorrectly filing taxes for the taxpayer, ensuring the correctness of tax
software is of paramount importance. Metamorphic testing has emerged as a
leading solution to test and debug legal-critical tax software due to the
absence of correctness requirements and trustworthy datasets. The key idea
behind metamorphic testing is to express the properties of a system in terms of
the relationship between one input and its slightly metamorphosed twinned
input. Extracting metamorphic properties from IRS tax publications is a tedious
and time-consuming process. As a response, this paper formulates the task of
generating metamorphic specifications as a translation task between properties
extracted from tax documents - expressed in natural language - to a contrastive
first-order logic form. We perform a systematic analysis on the potential and
limitations of in-context learning with Large Language Models(LLMs) for this
task, and outline a research agenda towards automating the generation of
metamorphic specifications for tax preparation software. | cs.SE | On the Potential and Limitations of Few-Shot In-Context Learning to Generate Metamorphic Specifications for Tax Preparation Software |
2023-11-20T18:06:03Z | http://arxiv.org/pdf/2311.11976v1 | http://arxiv.org/abs/2311.11976v1 | Sumire Honda, Patrick Fernandes, Chrysoula Zerva | 2023-11-20T18:06:03Z | cs.CL | Despite the remarkable advancements in machine translation, the current
sentence-level paradigm faces challenges when dealing with highly-contextual
languages like Japanese. In this paper, we explore how context-awareness can
improve the performance of the current Neural Machine Translation (NMT) models
for English-Japanese business dialogues translation, and what kind of context
provides meaningful information to improve translation. As business dialogue
involves complex discourse phenomena but offers scarce training resources, we
adapted a pretrained mBART model, finetuning on multi-sentence dialogue data,
which allows us to experiment with different contexts. We investigate the
impact of larger context sizes and propose novel context tokens encoding
extra-sentential information, such as speaker turn and scene type. We make use
of Conditional Cross-Mutual Information (CXMI) to explore how much of the
context the model uses and generalise CXMI to study the impact of the
extra-sentential context. Overall, we find that models leverage both preceding
sentences and extra-sentential context (with CXMI increasing with context size)
and we provide a more focused analysis on honorifics translation. Regarding
translation quality, increased source-side context paired with scene and
speaker information improves the model performance compared to previous work
and our context-agnostic baselines, measured in BLEU and COMET metrics. | cs.CL | Context-aware Neural Machine Translation for English-Japanese Business Scene Dialogues |
2023-11-20T18:03:08Z | http://arxiv.org/pdf/2311.14729v1 | http://arxiv.org/abs/2311.14729v1 | Tanmay Kulkarni, Yuvraj Pardeshi, Yash Shah, Vaishnvi Sakat, Sapana Bhirud | 2023-11-20T18:03:08Z | cs.CL, cs.IR, cs.LG, I.7.0; I.2.7 | Through the advancement in natural language processing (NLP), specifically in
speech recognition, fully automated complex systems functioning on voice input
have started proliferating in areas such as home automation. These systems have
been termed Automatic Speech Recognition Systems (ASR). In this review paper,
we explore the feasibility of an end-to-end system providing speech and text
based natural language processing for job interview preparation as well as
recommendation of relevant job postings. We also explore existing
recommender-based systems and note their limitations. This literature review
would help us identify the approaches and limitations of the various similar
use-cases of NLP technology for our upcoming project. | cs.CL | App for Resume-Based Job Matching with Speech Interviews and Grammar Analysis: A Review |
2023-11-20T18:01:29Z | http://arxiv.org/pdf/2311.11973v1 | http://arxiv.org/abs/2311.11973v1 | David Grangier, Pierre Ablin, Awni Hannun | 2023-11-20T18:01:29Z | cs.LG, cs.CL | Large neural networks pretrained on web-scale corpora are central to modern
machine learning. In this paradigm, the distribution of the large,
heterogeneous pretraining data rarely matches that of the application domain.
This work considers modifying the pretraining distribution in the case where
one has a small sample of data reflecting the targeted test conditions. We
propose an algorithm motivated by a recent formulation of this setting as an
online, bilevel optimization problem. With scalability in mind, our algorithm
prioritizes computing gradients at training points which are likely to most
improve the loss on the targeted distribution. Empirically, we show that in
some cases this approach is beneficial over existing strategies from the domain
adaptation literature but may not succeed in other cases. We propose a simple
test to evaluate when our approach can be expected to work well and point
towards further research to address current limitations. | cs.LG | Adaptive Training Distributions with Scalable Online Bilevel Optimization |
2023-11-20T17:47:37Z | http://arxiv.org/pdf/2311.11967v1 | http://arxiv.org/abs/2311.11967v1 | Yanzhu Guo, Guokan Shang, Virgile Rennard, Michalis Vazirgiannis, Chloé Clavel | 2023-11-20T17:47:37Z | cs.CL | With the increasing amount of problematic peer reviews in top AI conferences,
the community is urgently in need of automatic quality control measures. In
this paper, we restrict our attention to substantiation -- one popular quality
aspect indicating whether the claims in a review are sufficiently supported by
evidence -- and provide a solution automatizing this evaluation process. To
achieve this goal, we first formulate the problem as claim-evidence pair
extraction in scientific peer reviews, and collect SubstanReview, the first
annotated dataset for this task. SubstanReview consists of 550 reviews from NLP
conferences annotated by domain experts. On the basis of this dataset, we train
an argument mining system to automatically analyze the level of substantiation
in peer reviews. We also perform data analysis on the SubstanReview dataset to
obtain meaningful insights on peer reviewing quality in NLP conferences over
recent years. | cs.CL | Automatic Analysis of Substantiation in Scientific Peer Reviews |
2023-11-20T17:28:02Z | http://arxiv.org/pdf/2311.11944v1 | http://arxiv.org/abs/2311.11944v1 | Pranab Islam, Anand Kannappan, Douwe Kiela, Rebecca Qian, Nino Scherrer, Bertie Vidgen | 2023-11-20T17:28:02Z | cs.CL, cs.AI, cs.CE, stat.ML | FinanceBench is a first-of-its-kind test suite for evaluating the performance
of LLMs on open book financial question answering (QA). It comprises 10,231
questions about publicly traded companies, with corresponding answers and
evidence strings. The questions in FinanceBench are ecologically valid and
cover a diverse set of scenarios. They are intended to be clear-cut and
straightforward to answer to serve as a minimum performance standard. We test
16 state of the art model configurations (including GPT-4-Turbo, Llama2 and
Claude2, with vector stores and long context prompts) on a sample of 150 cases
from FinanceBench, and manually review their answers (n=2,400). The cases are
available open-source. We show that existing LLMs have clear limitations for
financial QA. Notably, GPT-4-Turbo used with a retrieval system incorrectly
answered or refused to answer 81% of questions. While augmentation techniques
such as using longer context window to feed in relevant evidence improve
performance, they are unrealistic for enterprise settings due to increased
latency and cannot support larger financial documents. We find that all models
examined exhibit weaknesses, such as hallucinations, that limit their
suitability for use by enterprises. | cs.CL | FinanceBench: A New Benchmark for Financial Question Answering |
2023-11-20T16:37:45Z | http://arxiv.org/pdf/2311.11904v2 | http://arxiv.org/abs/2311.11904v2 | Songhao Han, Le Zhuo, Yue Liao, Si Liu | 2024-02-19T09:24:44Z | cs.CV, cs.CL, cs.LG | Vision-language models (VLMs) offer a promising paradigm for image
classification by comparing the similarity between images and class embeddings.
A critical challenge lies in crafting precise textual representations for class
names. While previous studies have leveraged recent advancements in large
language models (LLMs) to enhance these descriptors, their outputs often suffer
from ambiguity and inaccuracy. We attribute this to two primary factors: 1) the
reliance on single-turn textual interactions with LLMs, leading to a mismatch
between generated text and visual concepts for VLMs; 2) the oversight of the
inter-class relationships, resulting in descriptors that fail to differentiate
similar classes effectively. In this paper, we propose a novel framework that
integrates LLMs and VLMs to find the optimal class descriptors. Our
training-free approach develops an LLM-based agent with an evolutionary
optimization strategy to iteratively refine class descriptors. We demonstrate
our optimized descriptors are of high quality which effectively improves
classification accuracy on a wide range of benchmarks. Additionally, these
descriptors offer explainable and robust features, boosting performance across
various backbone models and complementing fine-tuning-based methods. | cs.CV | LLMs as Visual Explainers: Advancing Image Classification with Evolving Visual Descriptions |
2023-11-20T15:57:04Z | http://arxiv.org/pdf/2311.11861v1 | http://arxiv.org/abs/2311.11861v1 | Zimu Wang, Wei Wang, Qi Chen, Qiufeng Wang, Anh Nguyen | 2023-11-20T15:57:04Z | cs.CL, cs.AI | Deep learning-based natural language processing (NLP) models, particularly
pre-trained language models (PLMs), have been revealed to be vulnerable to
adversarial attacks. However, the adversarial examples generated by many
mainstream word-level adversarial attack models are neither valid nor natural,
leading to the loss of semantic maintenance, grammaticality, and human
imperceptibility. Based on the exceptional capacity of language understanding
and generation of large language models (LLMs), we propose LLM-Attack, which
aims at generating both valid and natural adversarial examples with LLMs. The
method consists of two stages: word importance ranking (which searches for the
most vulnerable words) and word synonym replacement (which substitutes them
with their synonyms obtained from LLMs). Experimental results on the Movie
Review (MR), IMDB, and Yelp Review Polarity datasets against the baseline
adversarial attack models illustrate the effectiveness of LLM-Attack, and it
outperforms the baselines in human and GPT-4 evaluation by a significant
margin. The model can generate adversarial examples that are typically valid
and natural, with the preservation of semantic meaning, grammaticality, and
human imperceptibility. | cs.CL | Generating Valid and Natural Adversarial Examples with Large Language Models |
2023-11-20T15:50:09Z | http://arxiv.org/pdf/2311.11855v2 | http://arxiv.org/abs/2311.11855v2 | Yu Tian, Xiao Yang, Jingyuan Zhang, Yinpeng Dong, Hang Su | 2024-02-02T08:28:01Z | cs.CL | Rapid advancements in large language models (LLMs) have revitalized in
LLM-based agents, exhibiting impressive human-like behaviors and cooperative
capabilities in various scenarios. However, these agents also bring some
exclusive risks, stemming from the complexity of interaction environments and
the usability of tools. This paper delves into the safety of LLM-based agents
from three perspectives: agent quantity, role definition, and attack level.
Specifically, we initially propose to employ a template-based attack strategy
on LLM-based agents to find the influence of agent quantity. In addition, to
address interaction environment and role specificity issues, we introduce Evil
Geniuses (EG), an effective attack method that autonomously generates prompts
related to the original role to examine the impact across various role
definitions and attack levels. EG leverages Red-Blue exercises, significantly
improving the generated prompt aggressiveness and similarity to original roles.
Our evaluations on CAMEL, Metagpt and ChatDev based on GPT-3.5 and GPT-4,
demonstrate high success rates. Extensive evaluation and discussion reveal that
these agents are less robust, prone to more harmful behaviors, and capable of
generating stealthier content than LLMs, highlighting significant safety
challenges and guiding future research. Our code is available at
https://github.com/T1aNS1R/Evil-Geniuses. | cs.CL | Evil Geniuses: Delving into the Safety of LLM-based Agents |
2023-11-20T15:37:33Z | http://arxiv.org/pdf/2311.11846v1 | http://arxiv.org/abs/2311.11846v1 | David Beauchemin, Marouane Yassine | 2023-11-20T15:37:33Z | cs.CL | Segmenting an address into meaningful components, also known as address
parsing, is an essential step in many applications from record linkage to
geocoding and package delivery. Consequently, a lot of work has been dedicated
to develop accurate address parsing techniques, with machine learning and
neural network methods leading the state-of-the-art scoreboard. However, most
of the work on address parsing has been confined to academic endeavours with
little availability of free and easy-to-use open-source solutions.
This paper presents Deepparse, a Python open-source, extendable, fine-tunable
address parsing solution under LGPL-3.0 licence to parse multinational
addresses using state-of-the-art deep learning algorithms and evaluated on over
60 countries. It can parse addresses written in any language and use any
address standard. The pre-trained model achieves average $99~\%$ parsing
accuracies on the countries used for training with no pre-processing nor
post-processing needed. Moreover, the library supports fine-tuning with new
data to generate a custom address parser. | cs.CL | Deepparse : An Extendable, and Fine-Tunable State-Of-The-Art Library for Parsing Multinational Street Addresses |
2023-11-20T15:34:45Z | http://arxiv.org/pdf/2311.11844v2 | http://arxiv.org/abs/2311.11844v2 | Lorenzo Lupo, Oscar Magnusson, Dirk Hovy, Elin Naurin, Lena Wängnerud | 2023-12-15T17:18:48Z | cs.CL, cs.CY, J.4; I.2 | Recent advances in large language models (LLMs) like GPT-3 and GPT-4 have
opened up new opportunities for text analysis in political science. They
promise automation with better results and less programming. In this study, we
evaluate LLMs on three original coding tasks of non-English political science
texts, and we provide a detailed description of a general workflow for using
LLMs for text coding in political science research. Our use case offers a
practical guide for researchers looking to incorporate LLMs into their research
on text analysis. We find that, when provided with detailed label definitions
and coding examples, an LLM can be as good as or even better than a human
annotator while being much faster (up to hundreds of times), considerably
cheaper (costing up to 60% less than human coding), and much easier to scale to
large amounts of text. Overall, LLMs present a viable option for most text
coding projects. | cs.CL | How to Use Large Language Models for Text Coding: The Case of Fatherhood Roles in Public Policy Documents |
2023-11-20T15:04:50Z | http://arxiv.org/pdf/2311.11829v1 | http://arxiv.org/abs/2311.11829v1 | Jason Weston, Sainbayar Sukhbaatar | 2023-11-20T15:04:50Z | cs.CL, cs.AI, cs.LG | Soft attention in Transformer-based Large Language Models (LLMs) is
susceptible to incorporating irrelevant information from the context into its
latent representations, which adversely affects next token generations. To help
rectify these issues, we introduce System 2 Attention (S2A), which leverages
the ability of LLMs to reason in natural language and follow instructions in
order to decide what to attend to. S2A regenerates the input context to only
include the relevant portions, before attending to the regenerated context to
elicit the final response. In experiments, S2A outperforms standard
attention-based LLMs on three tasks containing opinion or irrelevant
information, QA, math word problems and longform generation, where S2A
increases factuality and objectivity, and decreases sycophancy. | cs.CL | System 2 Attention (is something you might need too) |
2023-11-20T14:50:12Z | http://arxiv.org/pdf/2311.11813v1 | http://arxiv.org/abs/2311.11813v1 | Andrey Bout, Alexander Podolskiy, Sergey Nikolenko, Irina Piontkovskaya | 2023-11-20T14:50:12Z | cs.CL | Progress in neural grammatical error correction (GEC) is hindered by the lack
of annotated training data. Sufficient amounts of high-quality manually
annotated data are not available, so recent research has relied on generating
synthetic data, pretraining on it, and then fine-tuning on real datasets;
performance gains have been achieved either by ensembling or by using huge
pretrained models such as XXL-T5 as the backbone. In this work, we explore an
orthogonal direction: how to use available data more efficiently. First, we
propose auxiliary tasks that exploit the alignment between the original and
corrected sentences, such as predicting a sequence of corrections. We formulate
each task as a sequence-to-sequence problem and perform multi-task training.
Second, we discover that the order of datasets used for training and even
individual instances within a dataset may have important effects on the final
performance, so we set out to find the best training schedule. Together, these
two ideas lead to significant improvements, producing results that improve
state of the art with much smaller models; in particular, we outperform the
best models based on T5-XXL (11B parameters) with a BART-based model (400M
parameters). | cs.CL | Efficient Grammatical Error Correction Via Multi-Task Training and Optimized Training Schedule |
2023-11-20T14:30:55Z | http://arxiv.org/pdf/2311.11797v1 | http://arxiv.org/abs/2311.11797v1 | Zhuosheng Zhang, Yao Yao, Aston Zhang, Xiangru Tang, Xinbei Ma, Zhiwei He, Yiming Wang, Mark Gerstein, Rui Wang, Gongshen Liu, Hai Zhao | 2023-11-20T14:30:55Z | cs.CL, cs.AI, cs.CV, cs.HC, cs.MA | Large language models (LLMs) have dramatically enhanced the field of language
intelligence, as demonstrably evidenced by their formidable empirical
performance across a spectrum of complex reasoning tasks. Additionally,
theoretical proofs have illuminated their emergent reasoning capabilities,
providing a compelling showcase of their advanced cognitive abilities in
linguistic contexts. Critical to their remarkable efficacy in handling complex
reasoning tasks, LLMs leverage the intriguing chain-of-thought (CoT) reasoning
techniques, obliging them to formulate intermediate steps en route to deriving
an answer. The CoT reasoning approach has not only exhibited proficiency in
amplifying reasoning performance but also in enhancing interpretability,
controllability, and flexibility. In light of these merits, recent research
endeavors have extended CoT reasoning methodologies to nurture the development
of autonomous language agents, which adeptly adhere to language instructions
and execute actions within varied environments. This survey paper orchestrates
a thorough discourse, penetrating vital research dimensions, encompassing: (i)
the foundational mechanics of CoT techniques, with a focus on elucidating the
circumstances and justification behind its efficacy; (ii) the paradigm shift in
CoT; and (iii) the burgeoning of language agents fortified by CoT approaches.
Prospective research avenues envelop explorations into generalization,
efficiency, customization, scaling, and safety. This paper caters to a wide
audience, including beginners seeking comprehensive knowledge of CoT reasoning
and language agents, as well as experienced researchers interested in
foundational mechanics and engaging in cutting-edge discussions on these
topics. A repository for the related papers is available at
https://github.com/Zoeyyao27/CoT-Igniting-Agent. | cs.CL | Igniting Language Intelligence: The Hitchhiker's Guide From Chain-of-Thought Reasoning to Language Agents |
2023-11-20T14:29:45Z | http://arxiv.org/pdf/2311.11796v1 | http://arxiv.org/abs/2311.11796v1 | Guangjing Wang, Ce Zhou, Yuanda Wang, Bocheng Chen, Hanqing Guo, Qiben Yan | 2023-11-20T14:29:45Z | cs.CR, cs.AI, cs.CL, cs.CV | Artificial Intelligence (AI) systems such as autonomous vehicles, facial
recognition, and speech recognition systems are increasingly integrated into
our daily lives. However, despite their utility, these AI systems are
vulnerable to a wide range of attacks such as adversarial, backdoor, data
poisoning, membership inference, model inversion, and model stealing attacks.
In particular, numerous attacks are designed to target a particular model or
system, yet their effects can spread to additional targets, referred to as
transferable attacks. Although considerable efforts have been directed toward
developing transferable attacks, a holistic understanding of the advancements
in transferable attacks remains elusive. In this paper, we comprehensively
explore learning-based attacks from the perspective of transferability,
particularly within the context of cyber-physical security. We delve into
different domains -- the image, text, graph, audio, and video domains -- to
highlight the ubiquitous and pervasive nature of transferable attacks. This
paper categorizes and reviews the architecture of existing attacks from various
viewpoints: data, process, model, and system. We further examine the
implications of transferable attacks in practical scenarios such as autonomous
driving, speech recognition, and large language models (LLMs). Additionally, we
outline the potential research directions to encourage efforts in exploring the
landscape of transferable attacks. This survey offers a holistic understanding
of the prevailing transferable attacks and their impacts across different
domains. | cs.CR | Beyond Boundaries: A Comprehensive Survey of Transferable Attacks on AI Systems |
2023-11-20T13:13:24Z | http://arxiv.org/pdf/2311.11745v2 | http://arxiv.org/abs/2311.11745v2 | Jungil Kong, Junmo Lee, Jeongmin Kim, Beomjeong Kim, Jihoon Park, Dohee Kong, Changheon Lee, Sangjin Kim | 2024-05-31T07:57:13Z | cs.SD, cs.CL, eess.AS | In this work, we propose a novel method for modeling numerous speakers, which
enables expressing the overall characteristics of speakers in detail like a
trained multi-speaker model without additional training on the target speaker's
dataset. Although various works with similar purposes have been actively
studied, their performance has not yet reached that of trained multi-speaker
models due to their fundamental limitations. To overcome previous limitations,
we propose effective methods for feature learning and representing target
speakers' speech characteristics by discretizing the features and conditioning
them to a speech synthesis model. Our method obtained a significantly higher
similarity mean opinion score (SMOS) in subjective similarity evaluation than
seen speakers of a high-performance multi-speaker model, even with unseen
speakers. The proposed method also outperforms a zero-shot method by
significant margins. Furthermore, our method shows remarkable performance in
generating new artificial speakers. In addition, we demonstrate that the
encoded latent features are sufficiently informative to reconstruct an original
speaker's speech completely. It implies that our method can be used as a
general methodology to encode and reconstruct speakers' characteristics in
various tasks. | cs.SD | ELF: Encoding Speaker-Specific Latent Speech Feature for Speech Synthesis |
2023-11-20T13:08:21Z | http://arxiv.org/pdf/2311.14727v1 | http://arxiv.org/abs/2311.14727v1 | Maxime Masson, Rodrigo Agerri, Christian Sallaberry, Marie-Noelle Bessagnet, Annig Le Parc Lacayrelle, Philippe Roose | 2023-11-20T13:08:21Z | cs.CL, cs.LG | The rising influence of social media platforms in various domains, including
tourism, has highlighted the growing need for efficient and automated natural
language processing (NLP) approaches to take advantage of this valuable
resource. However, the transformation of multilingual, unstructured, and
informal texts into structured knowledge often poses significant challenges.
In this work, we evaluate and compare few-shot, pattern-exploiting and
fine-tuning machine learning techniques on large multilingual language models
(LLMs) to establish the best strategy to address the lack of annotated data for
3 common NLP tasks in the tourism domain: (1) Sentiment Analysis, (2) Named
Entity Recognition, and (3) Fine-grained Thematic Concept Extraction (linked to
a semantic resource). Furthermore, we aim to ascertain the quantity of
annotated examples required to achieve good performance in those 3 tasks,
addressing a common challenge encountered by NLP researchers in the
construction of domain-specific datasets.
Extensive experimentation on a newly collected and annotated multilingual
(French, English, and Spanish) dataset composed of tourism-related tweets shows
that current few-shot learning techniques allow us to obtain competitive
results for all three tasks with very little annotation data: 5 tweets per
label (15 in total) for Sentiment Analysis, 10% of the tweets for location
detection (around 160) and 13% (200 approx.) of the tweets annotated with
thematic concepts, a highly fine-grained sequence labeling task based on an
inventory of 315 classes.
This comparative analysis, grounded in a novel dataset, paves the way for
applying NLP to new domain-specific applications, reducing the need for manual
annotations and circumventing the complexities of rule-based, ad hoc solutions. | cs.CL | Optimal Strategies to Perform Multilingual Analysis of Social Content for a Novel Dataset in the Tourism Domain |
2023-11-20T12:08:32Z | http://arxiv.org/pdf/2311.11701v1 | http://arxiv.org/abs/2311.11701v1 | Thomas Rüdel, Jochen L. Leidner | 2023-11-20T12:08:32Z | cs.IR, cs.AI, cs.CL, cs.HC, 68T50, 68T07, I.2.7; H.3.3 | Customer data typically is held in database systems, which can be seen as
rule-based knowledge base, whereas businesses increasingly want to benefit from
the capabilities of large, pre-trained language models.
In this technical report, we describe a case study of how a commercial rule
engine and an integrated neural chatbot may be integrated, and what level of
control that particular integration mode leads to. We also discuss alternative
ways (including past ways realized in other systems) how researchers strive to
maintain control and avoid what has recently been called model "hallucination". | cs.IR | Control in Hybrid Chatbots |
2023-11-20T11:56:25Z | http://arxiv.org/pdf/2311.11696v1 | http://arxiv.org/abs/2311.11696v1 | Ning Ding, Xingtai Lv, Qiaosen Wang, Yulin Chen, Bowen Zhou, Zhiyuan Liu, Maosong Sun | 2023-11-20T11:56:25Z | cs.CL, cs.AI, cs.LG | Fine-tuning pre-trained large language models in a parameter-efficient manner
is widely studied for its effectiveness and efficiency. The popular method of
low-rank adaptation (LoRA) offers a notable approach, hypothesizing that the
adaptation process is intrinsically low-dimensional. Although LoRA has
demonstrated commendable performance, it is implemented with a fixed and
unalterable intrinsic rank that might not always be the ideal choice.
Recognizing the need for more flexible adaptation, we extend the methodology of
LoRA to an innovative approach we call sparse low-rank adaptation (SoRA) that
enables dynamic adjustments to the intrinsic rank during the adaptation
process. We achieve this through the incorporation of a gate unit optimized
with proximal gradient method in the training stage, controlling the
cardinality of rank under the sparsity of the gate. In the subsequent inference
stage, we eliminate the parameter blocks corresponding to the zeroed-out ranks,
to reduce each SoRA module back to a concise yet rank-optimal LoRA. Our
approach strengthens the representation power of LoRA by initializing it with a
higher rank, while efficiently taming a temporarily increased number of
parameters via updating in a sparse way. We further introduce a sparsifying
scheduler for SoRA, aiming to examine the impact of the number of non-zero
parameters on the model's memorization and generalization. Our experimental
results demonstrate that SoRA can outperform other baselines even with 70%
retained parameters and 70% training time. | cs.CL | Sparse Low-rank Adaptation of Pre-trained Language Models |
2023-11-20T11:43:45Z | http://arxiv.org/pdf/2311.11690v1 | http://arxiv.org/abs/2311.11690v1 | Atsushi Shirafuji, Yusuke Oda, Jun Suzuki, Makoto Morishita, Yutaka Watanobe | 2023-11-20T11:43:45Z | cs.PL, cs.AI, cs.CL, cs.SE | A less complex and more straightforward program is a crucial factor that
enhances its maintainability and makes writing secure and bug-free programs
easier. However, due to its heavy workload and the risks of breaking the
working programs, programmers are reluctant to do code refactoring, and thus,
it also causes the loss of potential learning experiences. To mitigate this, we
demonstrate the application of using a large language model (LLM), GPT-3.5, to
suggest less complex versions of the user-written Python program, aiming to
encourage users to learn how to write better programs. We propose a method to
leverage the prompting with few-shot examples of the LLM by selecting the
best-suited code refactoring examples for each target programming problem based
on the prior evaluation of prompting with the one-shot example. The
quantitative evaluation shows that 95.68% of programs can be refactored by
generating 10 candidates each, resulting in a 17.35% reduction in the average
cyclomatic complexity and a 25.84% decrease in the average number of lines
after filtering only generated programs that are semantically correct.
Furthermore, the qualitative evaluation shows outstanding capability in code
formatting, while unnecessary behaviors such as deleting or translating
comments are also observed. | cs.PL | Refactoring Programs Using Large Language Models with Few-Shot Examples |
2023-11-20T08:51:30Z | http://arxiv.org/pdf/2311.11608v2 | http://arxiv.org/abs/2311.11608v2 | Ling Luo, Jinzhong Ning, Yingwen Zhao, Zhijun Wang, Zeyuan Ding, Peng Chen, Weiru Fu, Qinyu Han, Guangtao Xu, Yunzhi Qiu, Dinghao Pan, Jiru Li, Hao Li, Wenduo Feng, Senbo Tu, Yuqi Liu, Zhihao Yang, Jian Wang, Yuanyuan Sun, Hongfei Lin | 2023-12-19T07:18:24Z | cs.CL, cs.AI | Objective: Most existing fine-tuned biomedical large language models (LLMs)
focus on enhancing performance in monolingual biomedical question answering and
conversation tasks. To investigate the effectiveness of the fine-tuned LLMs on
diverse biomedical NLP tasks in different languages, We present Taiyi, a
bilingual fine-tuned LLM for diverse biomedical tasks. Materials and Methods:
We first curated a comprehensive collection of 140 existing biomedical text
mining datasets (102 English and 38 Chinese datasets) across over 10 task
types. Subsequently, a two-stage strategy is proposed for supervised
fine-tuning to optimize the model performance across varied tasks. Results:
Experimental results on 13 test sets covering named entity recognition,
relation extraction, text classification, question answering tasks demonstrate
that Taiyi achieves superior performance compared to general LLMs. The case
study involving additional biomedical NLP tasks further shows Taiyi's
considerable potential for bilingual biomedical multi-tasking. Conclusion:
Leveraging rich high-quality biomedical corpora and developing effective
fine-tuning strategies can significantly improve the performance of LLMs within
the biomedical domain. Taiyi shows the bilingual multi-tasking capability
through supervised fine-tuning. However, those tasks such as information
extraction that are not generation tasks in nature remain challenging for
LLM-based generative approaches, and they still underperform the conventional
discriminative approaches of smaller language models. | cs.CL | Taiyi: A Bilingual Fine-Tuned Large Language Model for Diverse Biomedical Tasks |
2023-11-20T08:29:52Z | http://arxiv.org/pdf/2311.11601v1 | http://arxiv.org/abs/2311.11601v1 | Zhuocheng Zhang, Shuhao Gu, Min Zhang, Yang Feng | 2023-11-20T08:29:52Z | cs.CL | Document-level neural machine translation (DNMT) has shown promising results
by incorporating more context information. However, this approach also
introduces a length bias problem, whereby DNMT suffers from significant
translation quality degradation when decoding documents that are much shorter
or longer than the maximum sequence length during training. %i.e., the length
bias problem. To solve the length bias problem, we propose to improve the DNMT
model in training method, attention mechanism, and decoding strategy. Firstly,
we propose to sample the training data dynamically to ensure a more uniform
distribution across different sequence lengths. Then, we introduce a
length-normalized attention mechanism to aid the model in focusing on target
information, mitigating the issue of attention divergence when processing
longer sequences. Lastly, we propose a sliding window strategy during decoding
that integrates as much context information as possible without exceeding the
maximum sequence length. The experimental results indicate that our method can
bring significant improvements on several open datasets, and further analysis
shows that our method can significantly alleviate the length bias problem. | cs.CL | Addressing the Length Bias Problem in Document-Level Neural Machine Translation |
2023-11-20T08:23:39Z | http://arxiv.org/pdf/2311.11598v1 | http://arxiv.org/abs/2311.11598v1 | Ziyue Wang, Chi Chen, Peng Li, Yang Liu | 2023-11-20T08:23:39Z | cs.CL | Large Language Models (LLMs) demonstrate impressive reasoning ability and the
maintenance of world knowledge not only in natural language tasks, but also in
some vision-language tasks such as open-domain knowledge-based visual question
answering (OK-VQA). As images are invisible to LLMs, researchers convert images
to text to engage LLMs into the visual question reasoning procedure. This leads
to discrepancies between images and their textual representations presented to
LLMs, which consequently impedes final reasoning performance. To fill the
information gap and better leverage the reasoning capability, we design a
framework that enables LLMs to proactively ask relevant questions to unveil
more details in the image, along with filters for refining the generated
information. We validate our idea on OK-VQA and A-OKVQA. Our method
continuously boosts the performance of baselines methods by an average gain of
2.15% on OK-VQA, and achieves consistent improvements across different LLMs. | cs.CL | Filling the Image Information Gap for VQA: Prompting Large Language Models to Proactively Ask Questions |
2023-11-20T07:41:30Z | http://arxiv.org/pdf/2311.11583v2 | http://arxiv.org/abs/2311.11583v2 | Mohan Raj Chanthran, Lay-Ki Soon, Huey Fang Ong, Bhawani Selvaretnam | 2024-06-28T15:01:07Z | cs.CL | Recently, ChatGPT has attracted a lot of interest from both researchers and
the general public. While the performance of ChatGPT in named entity
recognition and relation extraction from Standard English texts is
satisfactory, it remains to be seen if it can perform similarly for Malaysian
English. Malaysian English is unique as it exhibits morphosyntactic and
semantical adaptation from local contexts. In this study, we assess ChatGPT's
capability in extracting entities and relations from the Malaysian English News
(MEN) dataset. We propose a three-step methodology referred to as
\textbf{\textit{educate-predict-evaluate}}. The performance of ChatGPT is
assessed using F1-Score across 18 unique prompt settings, which were carefully
engineered for a comprehensive review. From our evaluation, we found that
ChatGPT does not perform well in extracting entities from Malaysian English
news articles, with the highest F1-Score of 0.497. Further analysis shows that
the morphosyntactic adaptation in Malaysian English caused the limitation.
However, interestingly, this morphosyntactic adaptation does not impact the
performance of ChatGPT for relation extraction. | cs.CL | How well ChatGPT understand Malaysian English? An Evaluation on Named Entity Recognition and Relation Extraction |
2023-11-20T07:02:35Z | http://arxiv.org/pdf/2311.11564v1 | http://arxiv.org/abs/2311.11564v1 | Lei Geng, Xu Yan, Ziqiang Cao, Juntao Li, Wenjie Li, Sujian Li, Xinjie Zhou, Yang Yang, Jun Zhang | 2023-11-20T07:02:35Z | cs.CL | Most biomedical pretrained language models are monolingual and cannot handle
the growing cross-lingual requirements. The scarcity of non-English domain
corpora, not to mention parallel data, poses a significant hurdle in training
multilingual biomedical models. Since knowledge forms the core of
domain-specific corpora and can be translated into various languages
accurately, we propose a model called KBioXLM, which transforms the
multilingual pretrained model XLM-R into the biomedical domain using a
knowledge-anchored approach. We achieve a biomedical multilingual corpus by
incorporating three granularity knowledge alignments (entity, fact, and passage
levels) into monolingual corpora. Then we design three corresponding training
tasks (entity masking, relation masking, and passage relation prediction) and
continue training on top of the XLM-R model to enhance its domain cross-lingual
ability. To validate the effectiveness of our model, we translate the English
benchmarks of multiple tasks into Chinese. Experimental results demonstrate
that our model significantly outperforms monolingual and multilingual
pretrained models in cross-lingual zero-shot and few-shot scenarios, achieving
improvements of up to 10+ points. Our code is publicly available at
https://github.com/ngwlh-gl/KBioXLM. | cs.CL | KBioXLM: A Knowledge-anchored Biomedical Multilingual Pretrained Language Model |
2023-11-20T06:06:22Z | http://arxiv.org/pdf/2311.11552v1 | http://arxiv.org/abs/2311.11552v1 | Ghazaleh Mahmoudi | 2023-11-20T06:06:22Z | cs.CL, cs.AI, cs.LG | This paper describes the IUST NLP Lab submission to the Prompting Large
Language Models as Explainable Metrics Shared Task at the Eval4NLP 2023
Workshop on Evaluation & Comparison of NLP Systems. We have proposed a
zero-shot prompt-based strategy for explainable evaluation of the summarization
task using Large Language Models (LLMs). The conducted experiments demonstrate
the promising potential of LLMs as evaluation metrics in Natural Language
Processing (NLP), particularly in the field of summarization. Both few-shot and
zero-shot approaches are employed in these experiments. The performance of our
best provided prompts achieved a Kendall correlation of 0.477 with human
evaluations in the text summarization task on the test data. Code and results
are publicly available on GitHub. | cs.CL | Exploring Prompting Large Language Models as Explainable Metrics |
2023-11-20T06:06:20Z | http://arxiv.org/pdf/2311.11551v1 | http://arxiv.org/abs/2311.11551v1 | Quanyu Long, Wenya Wang, Sinno Jialin Pan | 2023-11-20T06:06:20Z | cs.CL | Large language models (LLMs) have showcased their capability with few-shot
inference known as in-context learning. However, in-domain demonstrations are
not always readily available in real scenarios, leading to cross-domain
in-context learning. Besides, LLMs are still facing challenges in long-tail
knowledge in unseen and unfamiliar domains. The above limitations demonstrate
the necessity of Unsupervised Domain Adaptation (UDA). In this paper, we study
the UDA problem under an in-context learning setting to adapt language models
from the source domain to the target domain without any target labels. The core
idea is to retrieve a subset of cross-domain elements that are the most similar
to the query, and elicit language model to adapt in an in-context manner by
learning both target domain distribution and the discriminative task signal
simultaneously with the augmented cross-domain in-context examples. We devise
different prompting and training strategies, accounting for different LM
architectures to learn the target distribution via language modeling. With
extensive experiments on Sentiment Analysis (SA) and Named Entity Recognition
(NER) tasks, we thoroughly study the effectiveness of ICL for domain transfer
and demonstrate significant improvements over baseline models. | cs.CL | Adapt in Contexts: Retrieval-Augmented Domain Adaptation via In-Context Learning |
2023-11-20T03:44:32Z | http://arxiv.org/pdf/2311.11518v1 | http://arxiv.org/abs/2311.11518v1 | Jingfen Zhang, Xuan Guo, Sravan Bodapati, Christopher Potts | 2023-11-20T03:44:32Z | cs.CL, cs.LG | Accurate spelling correction is a critical step in modern search interfaces,
especially in an era of mobile devices and speech-to-text interfaces. For
services that are deployed around the world, this poses a significant challenge
for multilingual NLP: spelling errors need to be caught and corrected in all
languages, and even in queries that use multiple languages. In this paper, we
tackle this challenge using multi-teacher distillation. On our approach, a
monolingual teacher model is trained for each language/locale, and these
individual models are distilled into a single multilingual student model
intended to serve all languages/locales. In experiments using open-source data
as well as user data from a worldwide search service, we show that this leads
to highly effective spelling correction models that can meet the tight latency
requirements of deployed services. | cs.CL | Multi-teacher Distillation for Multilingual Spelling Correction |
2023-11-20T03:42:24Z | http://arxiv.org/pdf/2311.11516v1 | http://arxiv.org/abs/2311.11516v1 | Nathalia Nascimento, Cristina Tavares, Paulo Alencar, Donald Cowan | 2023-11-20T03:42:24Z | cs.AI, cs.CL, cs.DB | There is an increasing interest in leveraging Large Language Models (LLMs)
for managing structured data and enhancing data science processes. Despite the
potential benefits, this integration poses significant questions regarding
their reliability and decision-making methodologies. It highlights the
importance of various factors in the model selection process, including the
nature of the data, problem type, performance metrics, computational resources,
interpretability vs accuracy, assumptions about data, and ethical
considerations. Our objective is to elucidate and express the factors and
assumptions guiding GPT-4's model selection recommendations. We employ a
variability model to depict these factors and use toy datasets to evaluate both
the model and the implementation of the identified heuristics. By contrasting
these outcomes with heuristics from other platforms, our aim is to determine
the effectiveness and distinctiveness of GPT-4's methodology. This research is
committed to advancing our comprehension of AI decision-making processes,
especially in the realm of model selection within data science. Our efforts are
directed towards creating AI systems that are more transparent and
comprehensible, contributing to a more responsible and efficient practice in
data science. | cs.AI | GPT in Data Science: A Practical Exploration of Model Selection |
2023-11-20T03:17:21Z | http://arxiv.org/pdf/2311.11509v3 | http://arxiv.org/abs/2311.11509v3 | Zhengmian Hu, Gang Wu, Saayan Mitra, Ruiyi Zhang, Tong Sun, Heng Huang, Viswanathan Swaminathan | 2024-02-18T06:04:27Z | cs.CL, cs.LG | In recent years, Large Language Models (LLM) have emerged as pivotal tools in
various applications. However, these models are susceptible to adversarial
prompt attacks, where attackers can carefully curate input strings that mislead
LLMs into generating incorrect or undesired outputs. Previous work has revealed
that with relatively simple yet effective attacks based on discrete
optimization, it is possible to generate adversarial prompts that bypass
moderation and alignment of the models. This vulnerability to adversarial
prompts underscores a significant concern regarding the robustness and
reliability of LLMs. Our work aims to address this concern by introducing a
novel approach to detecting adversarial prompts at a token level, leveraging
the LLM's capability to predict the next token's probability. We measure the
degree of the model's perplexity, where tokens predicted with high probability
are considered normal, and those exhibiting high perplexity are flagged as
adversarial. Additionaly, our method also integrates context understanding by
incorporating neighboring token information to encourage the detection of
contiguous adversarial prompt sequences. To this end, we design two algorithms
for adversarial prompt detection: one based on optimization techniques and
another on Probabilistic Graphical Models (PGM). Both methods are equipped with
efficient solving methods, ensuring efficient adversarial prompt detection. Our
token-level detection result can be visualized as heatmap overlays on the text
sequence, allowing for a clearer and more intuitive representation of which
part of the text may contain adversarial prompts. | cs.CL | Token-Level Adversarial Prompt Detection Based on Perplexity Measures and Contextual Information |
2023-11-20T01:51:13Z | http://arxiv.org/pdf/2311.11482v6 | http://arxiv.org/abs/2311.11482v6 | Yifan Zhang, Yang Yuan, Andrew Chi-Chih Yao | 2024-06-15T08:19:24Z | cs.AI, cs.CL | In this work, we present a comprehensive study of Meta Prompting (MP), an
innovative technique reshaping the utilization of language models (LMs) and AI
systems in problem-solving and data interaction. Grounded in type theory and
category theory, Meta Prompting emphasizes the structure and syntax of
information over traditional content-centric methods. The paper explores the
formal definitions of Meta Prompting, sets it apart from few-shot prompting,
and underlines its effectiveness in various AI applications. A key focus is
applying Meta Prompting for complex reasoning tasks, showing how it effectively
deconstructs intricate problems into simpler sub-problems, enhancing token
efficiency, and enabling more equitable problem-solving comparisons, especially
against few-shot prompting methods. Additionally, the paper introduces Meta
Prompting for prompting tasks, allowing LLMs to self-generate new prompts in a
recursive, metaprogramming-like manner. Empirical experiments, including using
a Qwen-72B base language model equipped with meta prompt without
instruction-tuning to solve MATH problems with accuracy at 46.3%, which surpass
the supervised fine-tuned counterpart trained with extensive mathematical QA
instruction pairs and even the initial version of GPT-4, solving GSM8K problems
with 83.5% accuracy with zero-shot meta-prompted Qwen-72B base language model,
and solving the Game of 24 tasks with a 100% success rate using GPT-4,
demonstrate the meta prompting's efficacy in achieving high accuracy and
efficiency, showcasing Meta Prompting's transformative impact on AI
problem-solving The code is available at
https://github.com/meta-prompting/meta-prompting. | cs.AI | Meta Prompting for AI Systems |
2023-11-20T01:07:30Z | http://arxiv.org/pdf/2311.11477v1 | http://arxiv.org/abs/2311.11477v1 | Nils Hoehing, Ellen Rushe, Anthony Ventresque | 2023-11-20T01:07:30Z | cs.CV, cs.CL | Contrastive vision-language models like CLIP have been found to lack spatial
understanding capabilities. In this paper we discuss the possible causes of
this phenomenon by analysing both datasets and embedding space. By focusing on
simple left-right positional relations, we show that this behaviour is entirely
predictable, even with large-scale datasets, demonstrate that these relations
can be taught using synthetic data and show that this approach can generalise
well to natural images - improving the performance on left-right relations on
Visual Genome Relations. | cs.CV | What's left can't be right -- The remaining positional incompetence of contrastive vision-language models |
2023-11-19T23:59:22Z | http://arxiv.org/pdf/2311.11462v2 | http://arxiv.org/abs/2311.11462v2 | Nishant Mishra, Gaurav Sahu, Iacer Calixto, Ameen Abu-Hanna, Issam H. Laradji | 2023-11-23T12:52:05Z | cs.CL, cs.AI | Generating high-quality summaries for chat dialogs often requires large
labeled datasets. We propose a method to efficiently use unlabeled data for
extractive summarization of customer-agent dialogs. In our method, we frame
summarization as a question-answering problem and use state-of-the-art large
language models (LLMs) to generate pseudo-labels for a dialog. We then use
these pseudo-labels to fine-tune a chat summarization model, effectively
transferring knowledge from the large LLM into a smaller specialized model. We
demonstrate our method on the \tweetsumm dataset, and show that using 10% of
the original labelled data set we can achieve 65.9/57.0/61.0 ROUGE-1/-2/-L,
whereas the current state-of-the-art trained on the entire training data set
obtains 65.16/55.81/64.37 ROUGE-1/-2/-L. In other words, in the worst case
(i.e., ROUGE-L) we still effectively retain 94.7% of the performance while
using only 10% of the data. | cs.CL | LLM aided semi-supervision for Extractive Dialog Summarization |
2023-11-19T22:29:15Z | http://arxiv.org/pdf/2311.11441v1 | http://arxiv.org/abs/2311.11441v1 | Vasilii Gromov, Quynh Nhu Dang | 2023-11-19T22:29:15Z | cs.CL | With the development of generative models like GPT-3, it is increasingly more
challenging to differentiate generated texts from human-written ones. There is
a large number of studies that have demonstrated good results in bot
identification. However, the majority of such works depend on supervised
learning methods that require labelled data and/or prior knowledge about the
bot-model architecture. In this work, we propose a bot identification algorithm
that is based on unsupervised learning techniques and does not depend on a
large amount of labelled data. By combining findings in semantic analysis by
clustering (crisp and fuzzy) and information techniques, we construct a robust
model that detects a generated text for different types of bot. We find that
the generated texts tend to be more chaotic while literary works are more
complex. We also demonstrate that the clustering of human texts results in
fuzzier clusters in comparison to the more compact and well-separated clusters
of bot-generated texts. | cs.CL | Spot the Bot: Distinguishing Human-Written and Bot-Generated Texts Using Clustering and Information Theory Techniques |
2023-11-19T22:14:48Z | http://arxiv.org/pdf/2311.11435v2 | http://arxiv.org/abs/2311.11435v2 | Milind Gupta, Abhishek Kaushik | 2023-11-26T15:05:58Z | cs.CL, cs.AI | In March 2020, the World Health Organisation declared COVID-19 a global
pandemic as it spread to nearly every country. By mid-2021, India had
introduced three vaccines: Covishield, Covaxin, and Sputnik. To ensure
successful vaccination in a densely populated country like India, understanding
public sentiment was crucial. Social media, particularly Reddit with over 430
million users, played a vital role in disseminating information. This study
employs data mining techniques to analyze Reddit data and gauge Indian
sentiments towards COVID-19 vaccines. Using Python's Text Blob library,
comments are annotated to assess general sentiments. Results show that most
Reddit users in India expressed neutrality about vaccination, posing a
challenge for the Indian government's efforts to vaccinate a significant
portion of the population. | cs.CL | Unveiling Public Perceptions: Machine Learning-Based Sentiment Analysis of COVID-19 Vaccines in India |
2023-11-19T20:22:05Z | http://arxiv.org/pdf/2311.11415v1 | http://arxiv.org/abs/2311.11415v1 | Erik Derner, Kristina Batistič, Jan Zahálka, Robert Babuška | 2023-11-19T20:22:05Z | cs.CR, cs.AI, cs.CL, cs.HC, cs.LG | As large language models (LLMs) permeate more and more applications, an
assessment of their associated security risks becomes increasingly necessary.
The potential for exploitation by malicious actors, ranging from disinformation
to data breaches and reputation damage, is substantial. This paper addresses a
gap in current research by focusing on the security risks posed by LLMs, which
extends beyond the widely covered ethical and societal implications. Our work
proposes a taxonomy of security risks along the user-model communication
pipeline, explicitly focusing on prompt-based attacks on LLMs. We categorize
the attacks by target and attack type within a prompt-based interaction scheme.
The taxonomy is reinforced with specific attack examples to showcase the
real-world impact of these risks. Through this taxonomy, we aim to inform the
development of robust and secure LLM applications, enhancing their safety and
trustworthiness. | cs.CR | A Security Risk Taxonomy for Large Language Models |
2023-11-19T16:53:35Z | http://arxiv.org/pdf/2311.11375v1 | http://arxiv.org/abs/2311.11375v1 | Xuxin Cheng, Bowen Cao, Qichen Ye, Zhihong Zhu, Hongxiang Li, Yuexian Zou | 2023-11-19T16:53:35Z | cs.CL | Spoken language understanding (SLU) is a fundamental task in the
task-oriented dialogue systems. However, the inevitable errors from automatic
speech recognition (ASR) usually impair the understanding performance and lead
to error propagation. Although there are some attempts to address this problem
through contrastive learning, they (1) treat clean manual transcripts and ASR
transcripts equally without discrimination in fine-tuning; (2) neglect the fact
that the semantically similar pairs are still pushed away when applying
contrastive learning; (3) suffer from the problem of Kullback-Leibler (KL)
vanishing. In this paper, we propose Mutual Learning and Large-Margin
Contrastive Learning (ML-LMCL), a novel framework for improving ASR robustness
in SLU. Specifically, in fine-tuning, we apply mutual learning and train two
SLU models on the manual transcripts and the ASR transcripts, respectively,
aiming to iteratively share knowledge between these two models. We also
introduce a distance polarization regularizer to avoid pushing away the
intra-cluster pairs as much as possible. Moreover, we use a cyclical annealing
schedule to mitigate KL vanishing issue. Experiments on three datasets show
that ML-LMCL outperforms existing models and achieves new state-of-the-art
performance. | cs.CL | ML-LMCL: Mutual Learning and Large-Margin Contrastive Learning for Improving ASR Robustness in Spoken Language Understanding |
2023-11-19T16:23:34Z | http://arxiv.org/pdf/2311.14722v1 | http://arxiv.org/abs/2311.14722v1 | Karmvir Singh Phogat, Chetan Harsha, Sridhar Dasaratha, Shashishekar Ramakrishna, Sai Akhil Puranam | 2023-11-19T16:23:34Z | cs.CL, cs.AI, cs.LG | We introduce a large language model (LLM) based approach to answer complex
questions requiring multi-hop numerical reasoning over financial reports. While
LLMs have exhibited remarkable performance on various natural language and
reasoning tasks, complex reasoning problems often rely on few-shot prompts that
require carefully crafted examples. In contrast, our approach uses novel
zero-shot prompts that guide the LLM to encode the required reasoning into a
Python program or a domain specific language. The generated program is then
executed by a program interpreter, thus mitigating the limitations of LLM in
performing accurate arithmetic calculations.
We evaluate the proposed approach on three financial datasets using some of
the recently developed generative pretrained transformer (GPT) models and
perform comparisons with various zero-shot baselines. The experimental results
demonstrate that our approach significantly improves the accuracy for all the
LLMs over their respective baselines. We provide a detailed analysis of the
results, generating insights to support our findings. The success of our
approach demonstrates the enormous potential to extract complex domain specific
numerical reasoning by designing zero-shot prompts to effectively exploit the
knowledge embedded in LLMs. | cs.CL | Zero-Shot Question Answering over Financial Documents using Large Language Models |
2023-11-19T14:07:57Z | http://arxiv.org/pdf/2311.11331v1 | http://arxiv.org/abs/2311.11331v1 | Paulo Finardi, Wanderley M. Melo, Edgard D. Medeiros Neto, Alex F. Mansano, Pablo B. Costa, Vinicius F. Caridá | 2023-11-19T14:07:57Z | cs.CL, cs.AI, cs.LG | Scarcity of domain-specific data in the Portuguese financial domain has
disfavored the development of Natural Language Processing (NLP) applications.
To address this limitation, the present study advocates for the utilization of
synthetic data generated through data augmentation techniques. The
investigation focuses on the augmentation of a dataset sourced from the Central
Bank of Brazil FAQ, employing techniques that vary in semantic similarity.
Supervised and unsupervised tasks are conducted to evaluate the impact of
augmented data on both low and high semantic similarity scenarios.
Additionally, the resultant dataset will be publicly disseminated on the
Hugging Face Datasets platform, thereby enhancing accessibility and fostering
broader engagement within the NLP research community. | cs.CL | Portuguese FAQ for Financial Services |
2023-11-19T11:22:00Z | http://arxiv.org/pdf/2311.11301v1 | http://arxiv.org/abs/2311.11301v1 | Arie Cattan, Tom Hope, Doug Downey, Roy Bar-Haim, Lilach Eden, Yoav Kantor, Ido Dagan | 2023-11-19T11:22:00Z | cs.CL | Various NLP tasks require a complex hierarchical structure over nodes, where
each node is a cluster of items. Examples include generating entailment graphs,
hierarchical cross-document coreference resolution, annotating event and
subevent relations, etc. To enable efficient annotation of such hierarchical
structures, we release CHAMP, an open source tool allowing to incrementally
construct both clusters and hierarchy simultaneously over any type of texts.
This incremental approach significantly reduces annotation time compared to the
common pairwise annotation approach and also guarantees maintaining
transitivity at the cluster and hierarchy levels. Furthermore, CHAMP includes a
consolidation mode, where an adjudicator can easily compare multiple cluster
hierarchy annotations and resolve disagreements. | cs.CL | CHAMP: Efficient Annotation and Consolidation of Cluster Hierarchies |
2023-11-19T08:54:47Z | http://arxiv.org/pdf/2311.11271v1 | http://arxiv.org/abs/2311.11271v1 | Chen Tang, Tyler Loakman, Chenghua Lin | 2023-11-19T08:54:47Z | cs.CL | Despite recent advancements, existing story generation systems continue to
encounter difficulties in effectively incorporating contextual and event
features, which greatly influence the quality of generated narratives. To
tackle these challenges, we introduce a novel neural generation model, EtriCA,
that enhances the relevance and coherence of generated stories by employing a
cross-attention mechanism to map context features onto event sequences through
residual mapping. This feature capturing mechanism enables our model to exploit
logical relationships between events more effectively during the story
generation process. To further enhance our proposed model, we employ a
post-training framework for knowledge enhancement (KeEtriCA) on a large-scale
book corpus. This allows EtriCA to adapt to a wider range of data samples. This
results in approximately 5\% improvement in automatic metrics and over 10\%
improvement in human evaluation. We conduct extensive experiments, including
comparisons with state-of-the-art (SOTA) baseline models, to evaluate the
performance of our framework on story generation. The experimental results,
encompassing both automated metrics and human assessments, demonstrate the
superiority of our model over existing state-of-the-art baselines. These
results underscore the effectiveness of our model in leveraging context and
event features to improve the quality of generated narratives. | cs.CL | A Cross-Attention Augmented Model for Event-Triggered Context-Aware Story Generation |
2023-11-19T08:41:43Z | http://arxiv.org/pdf/2311.11268v1 | http://arxiv.org/abs/2311.11268v1 | Yinghui Li, Zishan Xu, Shaoshen Chen, Haojing Huang, Yangning Li, Yong Jiang, Zhongli Li, Qingyu Zhou, Hai-Tao Zheng, Ying Shen | 2023-11-19T08:41:43Z | cs.CL, cs.CV, cs.MM | Writing assistance is an application closely related to human life and is
also a fundamental Natural Language Processing (NLP) research field. Its aim is
to improve the correctness and quality of input texts, with character checking
being crucial in detecting and correcting wrong characters. From the
perspective of the real world where handwriting occupies the vast majority,
characters that humans get wrong include faked characters (i.e., untrue
characters created due to writing errors) and misspelled characters (i.e., true
characters used incorrectly due to spelling errors). However, existing datasets
and related studies only focus on misspelled characters mainly caused by
phonological or visual confusion, thereby ignoring faked characters which are
more common and difficult. To break through this dilemma, we present
Visual-C$^3$, a human-annotated Visual Chinese Character Checking dataset with
faked and misspelled Chinese characters. To the best of our knowledge,
Visual-C$^3$ is the first real-world visual and the largest human-crafted
dataset for the Chinese character checking scenario. Additionally, we also
propose and evaluate novel baseline methods on Visual-C$^3$. Extensive
empirical results and analyses show that Visual-C$^3$ is high-quality yet
challenging. The Visual-C$^3$ dataset and the baseline methods will be publicly
available to facilitate further research in the community. | cs.CL | Towards Real-World Writing Assistance: A Chinese Character Checking Benchmark with Faked and Misspelled Characters |
2023-11-19T08:40:01Z | http://arxiv.org/pdf/2311.11267v2 | http://arxiv.org/abs/2311.11267v2 | Shaoxiong Ji, Tianlin Zhang, Kailai Yang, Sophia Ananiadou, Erik Cambria | 2023-12-17T11:06:09Z | cs.CL | Large Language Models (LLMs) have become valuable assets in mental health,
showing promise in both classification tasks and counseling applications. This
paper offers a perspective on using LLMs in mental health applications. It
discusses the instability of generative models for prediction and the potential
for generating hallucinatory outputs, underscoring the need for ongoing audits
and evaluations to maintain their reliability and dependability. The paper also
distinguishes between the often interchangeable terms ``explainability'' and
``interpretability'', advocating for developing inherently interpretable
methods instead of relying on potentially hallucinated self-explanations
generated by LLMs. Despite the advancements in LLMs, human counselors'
empathetic understanding, nuanced interpretation, and contextual awareness
remain irreplaceable in the sensitive and complex realm of mental health
counseling. The use of LLMs should be approached with a judicious and
considerate mindset, viewing them as tools that complement human expertise
rather than seeking to replace it. | cs.CL | Rethinking Large Language Models in Mental Health Applications |
2023-11-19T05:00:39Z | http://arxiv.org/pdf/2311.11229v2 | http://arxiv.org/abs/2311.11229v2 | Rahul Madhavan, Kahini Wadhawan | 2024-02-16T13:49:34Z | cs.CL | We study attribute control in language models through the method of Causal
Average Treatment Effect (Causal ATE). Existing methods for the attribute
control task in Language Models (LMs) check for the co-occurrence of words in a
sentence with the attribute of interest, and control for them. However,
spurious correlation of the words with the attribute in the training dataset,
can cause models to hallucinate the presence of the attribute when presented
with the spurious correlate during inference. We show that the simple
perturbation-based method of Causal ATE removes this unintended effect.
Specifically, we ground it in the problem of toxicity mitigation, where a
significant challenge lies in the inadvertent bias that often emerges towards
protected groups post detoxification. We show that this unintended bias can be
solved by the use of the Causal ATE metric and rigorously prove our claim. We
provide experimental validations for our claims and release our code
(anonymously) here:
https://github.com/causalate-mitigates-bias/causal-ate-mitigates-bias. | cs.CL | Causal ATE Mitigates Unintended Bias in Controlled Text Generation |
2023-11-19T03:43:42Z | http://arxiv.org/pdf/2311.11215v1 | http://arxiv.org/abs/2311.11215v1 | Vera A. Kazakova, Jena D. Hwang, Bonnie J. Dorr, Yorick Wilks, J. Blake Gage, Alex Memory, Mark A. Clark | 2023-11-19T03:43:42Z | cs.CL, cs.AI, I.2 | Effective cyber threat recognition and prevention demand comprehensible
forecasting systems, as prior approaches commonly offer limited and,
ultimately, unconvincing information. We introduce Simplified Plaintext
Language (SPLAIN), a natural language generator that converts warning data into
user-friendly cyber threat explanations. SPLAIN is designed to generate clear,
actionable outputs, incorporating hierarchically organized explanatory details
about input data and system functionality. Given the inputs of individual
sensor-induced forecasting signals and an overall warning from a fusion module,
SPLAIN queries each signal for information on contributing sensors and data
signals. This collected data is processed into a coherent English explanation,
encompassing forecasting, sensing, and data elements for user review. SPLAIN's
template-based approach ensures consistent warning structure and vocabulary.
SPLAIN's hierarchical output structure allows each threat and its components to
be expanded to reveal underlying explanations on demand. Our conclusions
emphasize the need for designers to specify the "how" and "why" behind cyber
warnings, advocate for simple structured templates in generating consistent
explanations, and recognize that direct causal links in Machine Learning
approaches may not always be identifiable, requiring some explanations to focus
on general methodologies, such as model and training data. | cs.CL | SPLAIN: Augmenting Cybersecurity Warnings with Reasons and Data |
2023-11-19T02:34:12Z | http://arxiv.org/pdf/2311.11202v2 | http://arxiv.org/abs/2311.11202v2 | Zhaowei Zhu, Jialu Wang, Hao Cheng, Yang Liu | 2024-03-24T22:02:47Z | cs.LG, cs.AI, cs.CL, cs.CY | Language models have shown promise in various tasks but can be affected by
undesired data during training, fine-tuning, or alignment. For example, if some
unsafe conversations are wrongly annotated as safe ones, the model fine-tuned
on these samples may be harmful. Therefore, the correctness of annotations,
i.e., the credibility of the dataset, is important. This study focuses on the
credibility of real-world datasets, including the popular benchmarks Jigsaw
Civil Comments, Anthropic Harmless & Red Team, PKU BeaverTails & SafeRLHF, that
can be used for training a harmless language model. Given the cost and
difficulty of cleaning these datasets by humans, we introduce a systematic
framework for evaluating the credibility of datasets, identifying label errors,
and evaluating the influence of noisy labels in the curated language data,
specifically focusing on unsafe comments and conversation classification. With
the framework, we find and fix an average of 6.16% label errors in 11 datasets
constructed from the above benchmarks. The data credibility and downstream
learning performance can be remarkably improved by directly fixing label
errors, indicating the significance of cleaning existing real-world datasets.
We provide an open-source tool, Docta, for data cleaning at
https://github.com/Docta-ai/docta. | cs.LG | Unmasking and Improving Data Credibility: A Study with Datasets for Training Harmless Language Models |
2023-11-18T22:01:33Z | http://arxiv.org/pdf/2312.12383v1 | http://arxiv.org/abs/2312.12383v1 | David Noever, Samantha Elizabeth Miller Noever | 2023-11-18T22:01:33Z | cs.AI, cs.CL, cs.CV | This study explores the capabilities of multimodal large language models
(LLMs) in handling challenging multistep tasks that integrate language and
vision, focusing on model steerability, composability, and the application of
long-term memory and context understanding. The problem addressed is the LLM's
ability (Nov 2023 GPT-4 Vision Preview) to manage tasks that require
synthesizing visual and textual information, especially where stepwise
instructions and sequential logic are paramount. The research presents a series
of 14 creatively and constructively diverse tasks, ranging from AI Lego
Designing to AI Satellite Image Analysis, designed to test the limits of
current LLMs in contexts that previously proved difficult without extensive
memory and contextual understanding. Key findings from evaluating 800 guided
dialogs include notable disparities in task completion difficulty. For
instance, 'Image to Ingredient AI Bartender' (Low difficulty) contrasted
sharply with 'AI Game Self-Player' (High difficulty), highlighting the LLM's
varying proficiency in processing complex visual data and generating coherent
instructions. Tasks such as 'AI Genetic Programmer' and 'AI Negotiator' showed
high completion difficulty, emphasizing challenges in maintaining context over
multiple steps. The results underscore the importance of developing LLMs that
combine long-term memory and contextual awareness to mimic human-like thought
processes in complex problem-solving scenarios. | cs.AI | Visual AI and Linguistic Intelligence Through Steerability and Composability |
2023-11-18T20:32:59Z | http://arxiv.org/pdf/2311.11161v1 | http://arxiv.org/abs/2311.11161v1 | Zahra Kolagar, Anna Katharina Leschanowsky, Birgit Popp | 2023-11-18T20:32:59Z | cs.CL | Privacy policies play a vital role in safeguarding user privacy as legal
jurisdictions worldwide emphasize the need for transparent data processing.
While the suitability of privacy policies to enhance transparency has been
critically discussed, employing conversational AI systems presents unique
challenges in informing users effectively. In this position paper, we propose a
dynamic workflow for transforming privacy policies into privacy
question-and-answer (Q&A) pairs to make privacy policies easily accessible
through conversational AI. Thereby, we facilitate interdisciplinary
collaboration among legal experts and conversation designers, while also
considering the utilization of large language models' generative capabilities
and addressing associated challenges. Our proposed workflow underscores
continuous improvement and monitoring throughout the construction of privacy
Q&As, advocating for comprehensive review and refinement through an
experts-in-the-loop approach. | cs.CL | Experts-in-the-Loop: Establishing an Effective Workflow in Crafting Privacy Q&A |
2023-11-18T20:22:44Z | http://arxiv.org/pdf/2311.11159v1 | http://arxiv.org/abs/2311.11159v1 | Vasileios Alevizos, Ilias Georgousis, Akebu Simasiku, Sotiria Karypidou, Antonis Messinis | 2023-11-18T20:22:44Z | cs.SE, cs.CL | The rise of advanced technology in project management (PM) highlights a
crucial need for inclusiveness. This work examines the enhancement of both
inclusivity and efficiency in PM through technological integration, focusing on
defining and measuring inclusiveness. This approach illuminates how
inclusivity-centered technology can significantly elevate project outcomes. The
research navigates through the challenges of achieving inclusivity, mainly
biases in learning databases and the design process of these technologies,
assessment of transformative potential of these technologies, particularly in
automating tasks like data collection and analysis, thus enabling managers to
prioritize human-centric aspects of projects. However, the integration of such
technology transcends efficiency, indicating a paradigm shift in understanding
their societal roles. This shift necessitates a new approach in the development
of these systems to prevent perpetuating social inequalities. We proposed a
methodology involving criteria development for evaluating the inclusiveness and
effectiveness of these technologies. This methodical approach is vital to
comprehensively address the challenges and limitations inherent in these
systems. Emphasizing the importance of inclusivity, the study advocates for a
balance between technological advancement and ethical considerations, calling
for a holistic understanding and regulation. In conclusion, the paper
underscores that while these technologies can significantly improve outcomes,
their mindful integration, ensuring inclusivity, is paramount. This exploration
into the ethical and practical aspects of technology in PM contributes to a
more informed and balanced approach within the field. | cs.SE | Evaluating the Inclusiveness of Artificial Intelligence Software in Enhancing Project Management Efficiency -- A Review |
2023-11-18T18:36:16Z | http://arxiv.org/pdf/2311.11142v1 | http://arxiv.org/abs/2311.11142v1 | Fatema Tuj Johora Faria, Mukaffi Bin Moin, Ahmed Al Wase, Mehidi Ahmmed, Md. Rabius Sani, Tashreef Muhammad | 2023-11-18T18:36:16Z | cs.CL | The Bangla linguistic variety is a fascinating mix of regional dialects that
adds to the cultural diversity of the Bangla-speaking community. Despite
extensive study into translating Bangla to English, English to Bangla, and
Banglish to Bangla in the past, there has been a noticeable gap in translating
Bangla regional dialects into standard Bangla. In this study, we set out to
fill this gap by creating a collection of 32,500 sentences, encompassing
Bangla, Banglish, and English, representing five regional Bangla dialects. Our
aim is to translate these regional dialects into standard Bangla and detect
regions accurately. To achieve this, we proposed models known as mT5 and
BanglaT5 for translating regional dialects into standard Bangla. Additionally,
we employed mBERT and Bangla-bert-base to determine the specific regions from
where these dialects originated. Our experimental results showed the highest
BLEU score of 69.06 for Mymensingh regional dialects and the lowest BLEU score
of 36.75 for Chittagong regional dialects. We also observed the lowest average
word error rate of 0.1548 for Mymensingh regional dialects and the highest of
0.3385 for Chittagong regional dialects. For region detection, we achieved an
accuracy of 85.86% for Bangla-bert-base and 84.36% for mBERT. This is the first
large-scale investigation of Bangla regional dialects to Bangla machine
translation. We believe our findings will not only pave the way for future work
on Bangla regional dialects to Bangla machine translation, but will also be
useful in solving similar language-related challenges in low-resource language
conditions. | cs.CL | Vashantor: A Large-scale Multilingual Benchmark Dataset for Automated Translation of Bangla Regional Dialects to Bangla Language |
2023-11-18T18:10:02Z | http://arxiv.org/pdf/2311.11135v1 | http://arxiv.org/abs/2311.11135v1 | Saizhuo Wang, Zhihan Liu, Zhaoran Wang, Jian Guo | 2023-11-18T18:10:02Z | cs.CL, cs.AI | Large Language Models (LLMs) are versatile, yet they often falter in tasks
requiring deep and reliable reasoning due to issues like hallucinations,
limiting their applicability in critical scenarios. This paper introduces a
rigorously designed framework for creating LLMs that effectively anchor
knowledge and employ a closed-loop reasoning process, enhancing their
capability for in-depth analysis. We dissect the framework to illustrate the
contribution of each component to the LLMs' performance, offering a theoretical
assurance of improved reasoning under well-defined assumptions. | cs.CL | A Principled Framework for Knowledge-enhanced Large Language Model |
2023-11-18T17:11:12Z | http://arxiv.org/pdf/2311.11123v2 | http://arxiv.org/abs/2311.11123v2 | Wanqin Ma, Chenyang Yang, Christian Kästner | 2024-02-06T20:32:41Z | cs.SE, cs.CL | Large Language Models (LLMs) are increasingly integrated into software
applications. Downstream application developers often access LLMs through APIs
provided as a service. However, LLM APIs are often updated silently and
scheduled to be deprecated, forcing users to continuously adapt to evolving
models. This can cause performance regression and affect prompt design choices,
as evidenced by our case study on toxicity detection. Based on our case study,
we emphasize the need for and re-examine the concept of regression testing for
evolving LLM APIs. We argue that regression testing LLMs requires fundamental
changes to traditional testing approaches, due to different correctness
notions, prompting brittleness, and non-determinism in LLM APIs. | cs.SE | (Why) Is My Prompt Getting Worse? Rethinking Regression Testing for Evolving LLM APIs |
2023-11-18T16:35:55Z | http://arxiv.org/pdf/2311.11116v1 | http://arxiv.org/abs/2311.11116v1 | Farideh Majidi, Marzieh Bahrami | 2023-11-18T16:35:55Z | cs.CL, cs.AI | Emotional well-being significantly influences mental health and overall
quality of life. As therapy chatbots become increasingly prevalent, their
ability to comprehend and respond empathetically to users' emotions remains
limited. This paper addresses this limitation by proposing an approach to
enhance therapy chatbots with auditory perception, enabling them to understand
users' feelings and provide human-like empathy. The proposed method
incorporates speech emotion recognition (SER) techniques using Convolutional
Neural Network (CNN) models and the ShEMO dataset to accurately detect and
classify negative emotions, including anger, fear, and sadness. The SER model
achieves a validation accuracy of 88%, demonstrating its effectiveness in
recognizing emotional states from speech signals. Furthermore, a recommender
system is developed, leveraging the SER model's output to generate personalized
recommendations for managing negative emotions, for which a new bilingual
dataset was generated as well since there is no such dataset available for this
task. The recommender model achieves an accuracy of 98% by employing a
combination of global vectors for word representation (GloVe) and LSTM models.
To provide a more immersive and empathetic user experience, a text-to-speech
model called GlowTTS is integrated, enabling the therapy chatbot to audibly
communicate the generated recommendations to users in both English and Persian.
The proposed approach offers promising potential to enhance therapy chatbots by
providing them with the ability to recognize and respond to users' emotions,
ultimately improving the delivery of mental health support for both English and
Persian-speaking users. | cs.CL | Utilizing Speech Emotion Recognition and Recommender Systems for Negative Emotion Handling in Therapy Chatbots |
2023-11-18T15:35:36Z | http://arxiv.org/pdf/2311.11103v1 | http://arxiv.org/abs/2311.11103v1 | Yu Lu Liu, Meng Cao, Su Lin Blodgett, Jackie Chi Kit Cheung, Alexandra Olteanu, Adam Trischler | 2023-11-18T15:35:36Z | cs.CL | AI and NLP publication venues have increasingly encouraged researchers to
reflect on possible ethical considerations, adverse impacts, and other
responsible AI issues their work might engender. However, for specific NLP
tasks our understanding of how prevalent such issues are, or when and why these
issues are likely to arise, remains limited. Focusing on text summarization --
a common NLP task largely overlooked by the responsible AI community -- we
examine research and reporting practices in the current literature. We conduct
a multi-round qualitative analysis of 333 summarization papers from the ACL
Anthology published between 2020-2022. We focus on how, which, and when
responsible AI issues are covered, which relevant stakeholders are considered,
and mismatches between stated and realized research goals. We also discuss
current evaluation practices and consider how authors discuss the limitations
of both prior work and their own work. Overall, we find that relatively few
papers engage with possible stakeholders or contexts of use, which limits their
consideration of potential downstream adverse impacts or other responsible AI
issues. Based on our findings, we make recommendations on concrete practices
and research directions. | cs.CL | Responsible AI Considerations in Text Summarization Research: A Review of Current Practices |
2023-11-18T14:52:26Z | http://arxiv.org/pdf/2311.11097v1 | http://arxiv.org/abs/2311.11097v1 | Nurbanu Aksoy, Nishant Ravikumar, Alejandro F Frangi | 2023-11-18T14:52:26Z | cs.CV, cs.AI, cs.CL, cs.LG | Medical image interpretation is central to most clinical applications such as
disease diagnosis, treatment planning, and prognostication. In clinical
practice, radiologists examine medical images and manually compile their
findings into reports, which can be a time-consuming process. Automated
approaches to radiology report generation, therefore, can reduce radiologist
workload and improve efficiency in the clinical pathway. While recent
deep-learning approaches for automated report generation from medical images
have seen some success, most studies have relied on image-derived features
alone, ignoring non-imaging patient data. Although a few studies have included
the word-level contexts along with the image, the use of patient demographics
is still unexplored. This paper proposes a novel multi-modal transformer
network that integrates chest x-ray (CXR) images and associated patient
demographic information, to synthesise patient-specific radiology reports. The
proposed network uses a convolutional neural network to extract visual features
from CXRs and a transformer-based encoder-decoder network that combines the
visual features with semantic text embeddings of patient demographic
information, to synthesise full-text radiology reports. Data from two public
databases were used to train and evaluate the proposed approach. CXRs and
reports were extracted from the MIMIC-CXR database and combined with
corresponding patients' data MIMIC-IV. Based on the evaluation metrics used
including patient demographic information was found to improve the quality of
reports generated using the proposed approach, relative to a baseline network
trained using CXRs alone. The proposed approach shows potential for enhancing
radiology report generation by leveraging rich patient metadata and combining
semantic text embeddings derived thereof, with medical image-derived visual
features. | cs.CV | Radiology Report Generation Using Transformers Conditioned with Non-imaging Data |
2023-11-18T14:37:53Z | http://arxiv.org/pdf/2311.11090v1 | http://arxiv.org/abs/2311.11090v1 | Nurbanu Aksoy, Serge Sharoff, Selcuk Baser, Nishant Ravikumar, Alejandro F Frangi | 2023-11-18T14:37:53Z | cs.CV, cs.AI, cs.CL, cs.LG | Image-to-text radiology report generation aims to automatically produce
radiology reports that describe the findings in medical images. Most existing
methods focus solely on the image data, disregarding the other patient
information accessible to radiologists. In this paper, we present a novel
multi-modal deep neural network framework for generating chest X-rays reports
by integrating structured patient data, such as vital signs and symptoms,
alongside unstructured clinical notes.We introduce a conditioned
cross-multi-head attention module to fuse these heterogeneous data modalities,
bridging the semantic gap between visual and textual data. Experiments
demonstrate substantial improvements from using additional modalities compared
to relying on images alone. Notably, our model achieves the highest reported
performance on the ROUGE-L metric compared to relevant state-of-the-art models
in the literature. Furthermore, we employed both human evaluation and clinical
semantic similarity measurement alongside word-overlap metrics to improve the
depth of quantitative analysis. A human evaluation, conducted by a
board-certified radiologist, confirms the model's accuracy in identifying
high-level findings, however, it also highlights that more improvement is
needed to capture nuanced details and clinical context. | cs.CV | Beyond Images: An Integrative Multi-modal Approach to Chest X-Ray Report Generation |
2023-11-18T14:35:26Z | http://arxiv.org/pdf/2311.11088v1 | http://arxiv.org/abs/2311.11088v1 | Phantharach Natnithikarat, Theerawit Wilaiprasitporn, Supavit Kongwudhikunakorn | 2023-11-18T14:35:26Z | cs.CL, cs.AI | Electroencephalography (EEG) and Natural Language Processing (NLP) can be
applied for education to measure students' comprehension in classroom lectures;
currently, the two measures have been used separately. In this work, we propose
a classification framework for predicting students' lecture comprehension in
two tasks: (i) students' confusion after listening to the simulated lecture and
(ii) the correctness of students' responses to the post-lecture assessment. The
proposed framework includes EEG and NLP feature extraction, processing, and
classification. EEG and NLP features are extracted to construct integrated
features obtained from recorded EEG signals and sentence-level syntactic
analysis, which provide information about specific biomarkers and sentence
structures. An ensemble stacking classification method -- a combination of
multiple individual models that produces an enhanced predictive model -- is
studied to learn from the features to make predictions accurately. Furthermore,
we also utilized subjective confusion ratings as another integrated feature to
enhance classification performance. By doing so, experiment results show that
this framework performs better than the baselines, which achieved F1 up to 0.65
for predicting confusion and 0.78 for predicting correctness, highlighting that
utilizing this has helped improve the classification performance. | cs.CL | Combining EEG and NLP Features for Predicting Students' Lecture Comprehension using Ensemble Classification |
2023-11-18T13:53:26Z | http://arxiv.org/pdf/2311.11077v1 | http://arxiv.org/abs/2311.11077v1 | Clifton Poth, Hannah Sterz, Indraneil Paul, Sukannya Purkayastha, Leon Engländer, Timo Imhof, Ivan Vulić, Sebastian Ruder, Iryna Gurevych, Jonas Pfeiffer | 2023-11-18T13:53:26Z | cs.CL, cs.AI, cs.LG | We introduce Adapters, an open-source library that unifies
parameter-efficient and modular transfer learning in large language models. By
integrating 10 diverse adapter methods into a unified interface, Adapters
offers ease of use and flexible configuration. Our library allows researchers
and practitioners to leverage adapter modularity through composition blocks,
enabling the design of complex adapter setups. We demonstrate the library's
efficacy by evaluating its performance against full fine-tuning on various NLP
tasks. Adapters provides a powerful tool for addressing the challenges of
conventional fine-tuning paradigms and promoting more efficient and modular
transfer learning. The library is available via https://adapterhub.ml/adapters. | cs.CL | Adapters: A Unified Library for Parameter-Efficient and Modular Transfer Learning |
2023-11-18T08:47:35Z | http://arxiv.org/pdf/2311.11012v1 | http://arxiv.org/abs/2311.11012v1 | Haoran Zhao, Jake Ryland Williams | 2023-11-18T08:47:35Z | cs.CL | While Large Language Models (LLMs) become ever more dominant, classic
pre-trained word embeddings sustain their relevance through computational
efficiency and nuanced linguistic interpretation. Drawing from recent studies
demonstrating that the convergence of GloVe and word2vec optimizations all tend
towards log-co-occurrence matrix variants, we construct a novel word
representation system called Bit-cipher that eliminates the need of
backpropagation while leveraging contextual information and hyper-efficient
dimensionality reduction techniques based on unigram frequency, providing
strong interpretability, alongside efficiency. We use the bit-cipher algorithm
to train word vectors via a two-step process that critically relies on a
hyperparameter -- bits -- that controls the vector dimension. While the first
step trains the bit-cipher, the second utilizes it under two different
aggregation modes -- summation or concatenation -- to produce contextually rich
representations from word co-occurrences. We extend our investigation into
bit-cipher's efficacy, performing probing experiments on part-of-speech (POS)
tagging and named entity recognition (NER) to assess its competitiveness with
classic embeddings like word2vec and GloVe. Additionally, we explore its
applicability in LM training and fine-tuning. By replacing embedding layers
with cipher embeddings, our experiments illustrate the notable efficiency of
cipher in accelerating the training process and attaining better optima
compared to conventional training paradigms. Experiments on the integration of
bit-cipher embedding layers with Roberta, T5, and OPT, prior to or as a
substitute for fine-tuning, showcase a promising enhancement to transfer
learning, allowing rapid model convergence while preserving competitive
performance. | cs.CL | Bit Cipher -- A Simple yet Powerful Word Representation System that Integrates Efficiently with Language Models |
2023-11-18T08:21:42Z | http://arxiv.org/pdf/2311.11009v1 | http://arxiv.org/abs/2311.11009v1 | Dongyuan Li, Yusong Wang, Kotaro Funakoshi, Manabu Okumura | 2023-11-18T08:21:42Z | cs.CL | Multimodal emotion recognition aims to recognize emotions for each utterance
of multiple modalities, which has received increasing attention for its
application in human-machine interaction. Current graph-based methods fail to
simultaneously depict global contextual features and local diverse uni-modal
features in a dialogue. Furthermore, with the number of graph layers
increasing, they easily fall into over-smoothing. In this paper, we propose a
method for joint modality fusion and graph contrastive learning for multimodal
emotion recognition (Joyful), where multimodality fusion, contrastive learning,
and emotion recognition are jointly optimized. Specifically, we first design a
new multimodal fusion mechanism that can provide deep interaction and fusion
between the global contextual and uni-modal specific features. Then, we
introduce a graph contrastive learning framework with inter-view and intra-view
contrastive losses to learn more distinguishable representations for samples
with different sentiments. Extensive experiments on three benchmark datasets
indicate that Joyful achieved state-of-the-art (SOTA) performance compared to
all baselines. | cs.CL | Joyful: Joint Modality Fusion and Graph Contrastive Learning for Multimodal Emotion Recognition |
2023-11-18T07:46:59Z | http://arxiv.org/pdf/2311.11001v1 | http://arxiv.org/abs/2311.11001v1 | Duong Tien Pham, Luan Thanh Nguyen | 2023-11-18T07:46:59Z | cs.CL | Every human has their own name, a fundamental aspect of their identity and
cultural heritage. The name often conveys a wealth of information, including
details about an individual's background, ethnicity, and, especially, their
gender. By detecting gender through the analysis of names, researchers can
unlock valuable insights into linguistic patterns and cultural norms, which can
be applied to practical applications. Hence, this work presents a novel dataset
for Japanese name gender detection comprising 64,139 full names in romaji,
hiragana, and kanji forms, along with their biological genders. Moreover, we
propose Gendec, a framework for gender detection from Japanese names that
leverages diverse approaches, including traditional machine learning techniques
or cutting-edge transfer learning models, to predict the gender associated with
Japanese names accurately. Through a thorough investigation, the proposed
framework is expected to be effective and serve potential applications in
various domains. | cs.CL | Gendec: A Machine Learning-based Framework for Gender Detection from Japanese Names |
2023-11-18T07:07:38Z | http://arxiv.org/pdf/2311.10995v1 | http://arxiv.org/abs/2311.10995v1 | Varun Khurana, Yaman K Singla, Jayakumar Subramanian, Rajiv Ratn Shah, Changyou Chen, Zhiqiang Xu, Balaji Krishnamurthy | 2023-11-18T07:07:38Z | cs.CV, cs.CL | The last few years have witnessed great success on image generation, which
has crossed the acceptance thresholds of aesthetics, making it directly
applicable to personal and commercial applications. However, images, especially
in marketing and advertising applications, are often created as a means to an
end as opposed to just aesthetic concerns. The goal can be increasing sales,
getting more clicks, likes, or image sales (in the case of stock businesses).
Therefore, the generated images need to perform well on these key performance
indicators (KPIs), in addition to being aesthetically good. In this paper, we
make the first endeavor to answer the question of "How can one infuse the
knowledge of the end-goal within the image generation process itself to create
not just better-looking images but also "better-performing'' images?''. We
propose BoigLLM, an LLM that understands both image content and user behavior.
BoigLLM knows how an image should look to get a certain required KPI. We show
that BoigLLM outperforms 13x larger models such as GPT-3.5 and GPT-4 in this
task, demonstrating that while these state-of-the-art models can understand
images, they lack information on how these images perform in the real world. To
generate actual pixels of behavior-conditioned images, we train a
diffusion-based model (BoigSD) to align with a proposed BoigLLM-defined reward.
We show the performance of the overall pipeline on two datasets covering two
different behaviors: a stock dataset with the number of forward actions as the
KPI and a dataset containing tweets with the total likes as the KPI, denoted as
BoigBench. To advance research in the direction of utility-driven image
generation and understanding, we release BoigBench, a benchmark dataset
containing 168 million enterprise tweets with their media, brand account names,
time of post, and total likes. | cs.CV | Behavior Optimized Image Generation |
2023-11-18T03:55:59Z | http://arxiv.org/pdf/2311.10961v1 | http://arxiv.org/abs/2311.10961v1 | Sohini Roychowdhury | 2023-11-18T03:55:59Z | cs.CL | Generative AI has significantly reduced the entry barrier to the domain of AI
owing to the ease of use and core capabilities of automation, translation, and
intelligent actions in our day to day lives. Currently, Large language models
(LLMs) that power such chatbots are being utilized primarily for their
automation capabilities for software monitoring, report generation etc. and for
specific personalized question answering capabilities, on a limited scope and
scale. One major limitation of the currently evolving family of LLMs is
'hallucinations', wherein inaccurate responses are reported as factual.
Hallucinations are primarily caused by biased training data, ambiguous prompts
and inaccurate LLM parameters, and they majorly occur while combining
mathematical facts with language-based context. Thus, monitoring and
controlling for hallucinations becomes necessary when designing solutions that
are meant for decision makers. In this work we present the three major stages
in the journey of designing hallucination-minimized LLM-based solutions that
are specialized for the decision makers of the financial domain, namely:
prototyping, scaling and LLM evolution using human feedback. These three stages
and the novel data to answer generation modules presented in this work are
necessary to ensure that the Generative AI chatbots, autonomous reports and
alerts are reliable and high-quality to aid key decision-making processes. | cs.CL | Journey of Hallucination-minimized Generative AI Solutions for Financial Decision Makers |
2023-11-18T02:48:41Z | http://arxiv.org/pdf/2311.10945v1 | http://arxiv.org/abs/2311.10945v1 | Jing Yang Lee, Kong Aik Lee, Woon-Seng Gan | 2023-11-18T02:48:41Z | cs.CL, cs.AI | To engage human users in meaningful conversation, open-domain dialogue agents
are required to generate diverse and contextually coherent dialogue. Despite
recent advancements, which can be attributed to the usage of pretrained
language models, the generation of diverse and coherent dialogue remains an
open research problem. A popular approach to address this issue involves the
adaptation of variational frameworks. However, while these approaches
successfully improve diversity, they tend to compromise on contextual
coherence. Hence, we propose the Bayesian Open-domain Dialogue with Empirical
Bayes (BODEB) framework, an empirical bayes framework for constructing an
Bayesian open-domain dialogue agent by leveraging pretrained parameters to
inform the prior and posterior parameter distributions. Empirical results show
that BODEB achieves better results in terms of both diversity and coherence
compared to variational frameworks. | cs.CL | An Empirical Bayes Framework for Open-Domain Dialogue Generation |
2023-11-18T02:44:33Z | http://arxiv.org/pdf/2311.10944v4 | http://arxiv.org/abs/2311.10944v4 | Panfeng Li, Mohamed Abouelenien, Rada Mihalcea, Zhicheng Ding, Qikai Yang, Yiming Zhou | 2024-06-26T22:45:32Z | cs.CL | Deception detection is gaining increasing interest due to ethical and
security concerns. This paper explores the application of convolutional neural
networks for the purpose of multimodal deception detection. We use a dataset
built by interviewing 104 subjects about two topics, with one truthful and one
falsified response from each subject about each topic. In particular, we make
three main contributions. First, we extract linguistic and physiological
features from this data to train and construct the neural network models.
Second, we propose a fused convolutional neural network model using both
modalities in order to achieve an improved overall performance. Third, we
compare our new approach with earlier methods designed for multimodal deception
detection. We find that our system outperforms regular classification methods;
our results indicate the feasibility of using neural networks for deception
detection even in the presence of limited amounts of data. | cs.CL | Deception Detection from Linguistic and Physiological Data Streams Using Bimodal Convolutional Neural Networks |
2023-11-18T02:40:11Z | http://arxiv.org/pdf/2311.10943v1 | http://arxiv.org/abs/2311.10943v1 | Jing Yang Lee, Kong Aik Lee, Woon-Seng Gan | 2023-11-18T02:40:11Z | cs.CL | Despite recent progress in generative open-domain dialogue, the issue of low
response diversity persists. Prior works have addressed this issue via either
novel objective functions, alternative learning approaches such as variational
frameworks, or architectural extensions such as the Randomized Link (RL)
Transformer. However, these approaches typically entail either additional
difficulties during training/inference, or a significant increase in model size
and complexity. Hence, we propose the \underline{Pa}rtially
\underline{Ra}ndomized trans\underline{Former} (PaRaFormer), a simple extension
of the transformer which involves freezing the weights of selected layers after
random initialization. Experimental results reveal that the performance of the
PaRaformer is comparable to that of the aforementioned approaches, despite not
entailing any additional training difficulty or increase in model complexity. | cs.CL | Partially Randomizing Transformer Weights for Dialogue Response Diversity |
2023-11-18T02:00:20Z | http://arxiv.org/pdf/2311.10933v1 | http://arxiv.org/abs/2311.10933v1 | Shobhit Agarwal, Yevgeniy R. Semenov, William Lotter | 2023-11-18T02:00:20Z | cs.AI, cs.CL, cs.CV, cs.HC | Explainability is a longstanding challenge in deep learning, especially in
high-stakes domains like healthcare. Common explainability methods highlight
image regions that drive an AI model's decision. Humans, however, heavily rely
on language to convey explanations of not only "where" but "what".
Additionally, most explainability approaches focus on explaining individual AI
predictions, rather than describing the features used by an AI model in
general. The latter would be especially useful for model and dataset auditing,
and potentially even knowledge generation as AI is increasingly being used in
novel tasks. Here, we present an explainability strategy that uses a
vision-language model to identify language-based descriptors of a visual
classification task. By leveraging a pre-trained joint embedding space between
images and text, our approach estimates a new classification task as a linear
combination of words, resulting in a weight for each word that indicates its
alignment with the vision-based classifier. We assess our approach using two
medical imaging classification tasks, where we find that the resulting
descriptors largely align with clinical knowledge despite a lack of
domain-specific language training. However, our approach also identifies the
potential for 'shortcut connections' in the public datasets used. Towards a
functional measure of explainability, we perform a pilot reader study where we
find that the AI-identified words can enable non-expert humans to perform a
specialized medical task at a non-trivial level. Altogether, our results
emphasize the potential of using multimodal foundational models to deliver
intuitive, language-based explanations of visual tasks. | cs.AI | Representing visual classification as a linear combination of words |
2023-11-18T01:26:04Z | http://arxiv.org/pdf/2311.10928v2 | http://arxiv.org/abs/2311.10928v2 | Jon Z. Cai, Shafiuddin Rehan Ahmed, Julia Bonn, Kristin Wright-Bettner, Martha Palmer, James H. Martin | 2024-02-20T20:09:33Z | cs.CL, cs.AI | In this paper, we introduce CAMRA (Copilot for AMR Annotatations), a
cutting-edge web-based tool designed for constructing Abstract Meaning
Representation (AMR) from natural language text. CAMRA offers a novel approach
to deep lexical semantics annotation such as AMR, treating AMR annotation akin
to coding in programming languages. Leveraging the familiarity of programming
paradigms, CAMRA encompasses all essential features of existing AMR editors,
including example lookup, while going a step further by integrating Propbank
roleset lookup as an autocomplete feature within the tool. Notably, CAMRA
incorporates AMR parser models as coding co-pilots, greatly enhancing the
efficiency and accuracy of AMR annotators. To demonstrate the tool's
capabilities, we provide a live demo accessible at: https://camra.colorado.edu | cs.CL | CAMRA: Copilot for AMR Annotation |
2023-11-18T01:21:38Z | http://arxiv.org/pdf/2311.12871v3 | http://arxiv.org/abs/2311.12871v3 | Jiangyong Huang, Silong Yong, Xiaojian Ma, Xiongkun Linghu, Puhao Li, Yan Wang, Qing Li, Song-Chun Zhu, Baoxiong Jia, Siyuan Huang | 2024-05-09T17:35:44Z | cs.CV, cs.AI, cs.CL, cs.LG | Leveraging massive knowledge from large language models (LLMs), recent
machine learning models show notable successes in general-purpose task solving
in diverse domains such as computer vision and robotics. However, several
significant challenges remain: (i) most of these models rely on 2D images yet
exhibit a limited capacity for 3D input; (ii) these models rarely explore the
tasks inherently defined in 3D world, e.g., 3D grounding, embodied reasoning
and acting. We argue these limitations significantly hinder current models from
performing real-world tasks and approaching general intelligence. To this end,
we introduce LEO, an embodied multi-modal generalist agent that excels in
perceiving, grounding, reasoning, planning, and acting in the 3D world. LEO is
trained with a unified task interface, model architecture, and objective in two
stages: (i) 3D vision-language (VL) alignment and (ii) 3D
vision-language-action (VLA) instruction tuning. We collect large-scale
datasets comprising diverse object-level and scene-level tasks, which require
considerable understanding of and interaction with the 3D world. Moreover, we
meticulously design an LLM-assisted pipeline to produce high-quality 3D VL
data. Through extensive experiments, we demonstrate LEO's remarkable
proficiency across a wide spectrum of tasks, including 3D captioning, question
answering, embodied reasoning, navigation and manipulation. Our ablative
studies and scaling analyses further provide valuable insights for developing
future embodied generalist agents. Code and data are available on project page. | cs.CV | An Embodied Generalist Agent in 3D World |
2023-11-18T00:33:48Z | http://arxiv.org/pdf/2311.10922v1 | http://arxiv.org/abs/2311.10922v1 | Eunji Lee, Sihyeon Kim, Sundong Kim, Soyeon Jung, Heeja Kim, Meeyoung Cha | 2023-11-18T00:33:48Z | cs.AI, cs.CL, cs.DB, cs.IR | The task of assigning internationally accepted commodity codes (aka HS codes)
to traded goods is a critical function of customs offices. Like court decisions
made by judges, this task follows the doctrine of precedent and can be
nontrivial even for experienced officers. Together with the Korea Customs
Service (KCS), we propose a first-ever explainable decision supporting model
that suggests the most likely subheadings (i.e., the first six digits) of the
HS code. The model also provides reasoning for its suggestion in the form of a
document that is interpretable by customs officers. We evaluated the model
using 5,000 cases that recently received a classification request. The results
showed that the top-3 suggestions made by our model had an accuracy of 93.9\%
when classifying 925 challenging subheadings. A user study with 32 customs
experts further confirmed that our algorithmic suggestions accompanied by
explainable reasonings, can substantially reduce the time and effort taken by
customs officers for classification reviews. | cs.AI | Explainable Product Classification for Customs |
2023-11-18T00:24:26Z | http://arxiv.org/pdf/2311.10920v1 | http://arxiv.org/abs/2311.10920v1 | Michael A. Hedderich, Jonas Fischer, Dietrich Klakow, Jilles Vreeken | 2023-11-18T00:24:26Z | cs.CL, cs.AI | State-of-the-art NLP methods achieve human-like performance on many tasks,
but make errors nevertheless. Characterizing these errors in easily
interpretable terms gives insight into whether a classifier is prone to making
systematic errors, but also gives a way to act and improve the classifier. We
propose to discover those patterns of tokens that distinguish correct and
erroneous predictions as to obtain global and interpretable descriptions for
arbitrary NLP classifiers. We formulate the problem of finding a succinct and
non-redundant set of such patterns in terms of the Minimum Description Length
principle. Through an extensive set of experiments, we show that our method,
Premise, performs well in practice. Unlike existing solutions, it recovers
ground truth, even on highly imbalanced data over large vocabularies. In VQA
and NER case studies, we confirm that it gives clear and actionable insight
into the systematic errors made by NLP classifiers. | cs.CL | Understanding and Mitigating Classification Errors Through Interpretable Token Patterns |
2023-11-17T23:02:42Z | http://arxiv.org/pdf/2311.10905v1 | http://arxiv.org/abs/2311.10905v1 | Karel D'Oosterlinck, Thomas Demeester, Chris Develder, Christopher Potts | 2023-11-17T23:02:42Z | cs.CL, cs.AI | Model interpretability and model editing are crucial goals in the age of
large language models. Interestingly, there exists a link between these two
goals: if a method is able to systematically edit model behavior with regard to
a human concept of interest, this editor method can help make internal
representations more interpretable by pointing towards relevant representations
and systematically manipulating them. | cs.CL | Flexible Model Interpretability through Natural Language Model Editing |
2023-11-17T22:44:05Z | http://arxiv.org/pdf/2311.10899v2 | http://arxiv.org/abs/2311.10899v2 | Shaunak Joshi, Raghav Gaggar | 2023-11-21T02:16:27Z | cs.CV, cs.CL, cs.LG, I.2.10 | With the increase in video-sharing platforms across the internet, it is
difficult for humans to moderate the data for explicit content. Hence, an
automated pipeline to scan through video data for explicit content has become
the need of the hour. We propose a novel pipeline that uses multi-modal deep
learning to first extract the explicit segments of input videos and then
summarize their content using text to determine its age appropriateness and age
rating. We also evaluate our pipeline's effectiveness in the end using standard
metrics. | cs.CV | Extraction and Summarization of Explicit Video Content using Multi-Modal Deep Learning |
2023-11-17T21:58:26Z | http://arxiv.org/pdf/2311.10883v1 | http://arxiv.org/abs/2311.10883v1 | Yimeng Li, Navid Rajabi, Sulabh Shrestha, Md Alimoor Reza, Jana Kosecka | 2023-11-17T21:58:26Z | cs.CV, cs.CL, cs.RO | The image annotation stage is a critical and often the most time-consuming
part required for training and evaluating object detection and semantic
segmentation models. Deployment of the existing models in novel environments
often requires detecting novel semantic classes not present in the training
data. Furthermore, indoor scenes contain significant viewpoint variations,
which need to be handled properly by trained perception models. We propose to
leverage the recent advancements in state-of-the-art models for bottom-up
segmentation (SAM), object detection (Detic), and semantic segmentation
(MaskFormer), all trained on large-scale datasets. We aim to develop a
cost-effective labeling approach to obtain pseudo-labels for semantic
segmentation and object instance detection in indoor environments, with the
ultimate goal of facilitating the training of lightweight models for various
downstream tasks. We also propose a multi-view labeling fusion stage, which
considers the setting where multiple views of the scenes are available and can
be used to identify and rectify single-view inconsistencies. We demonstrate the
effectiveness of the proposed approach on the Active Vision dataset and the
ADE20K dataset. We evaluate the quality of our labeling process by comparing it
with human annotations. Also, we demonstrate the effectiveness of the obtained
labels in downstream tasks such as object goal navigation and part discovery.
In the context of object goal navigation, we depict enhanced performance using
this fusion approach compared to a zero-shot baseline that utilizes large
monolithic vision-language pre-trained models. | cs.CV | Labeling Indoor Scenes with Fusion of Out-of-the-Box Perception Models |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.