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-12-24T23:01:00Z | http://arxiv.org/pdf/2312.15561v3 | http://arxiv.org/abs/2312.15561v3 | Zonghai Yao, Nandyala Siddharth Kantu, Guanghao Wei, Hieu Tran, Zhangqi Duan, Sunjae Kwon, Zhichao Yang, README annotation team, Hong Yu | 2024-06-17T02:12:24Z | cs.CL, cs.AI | The advancement in healthcare has shifted focus toward patient-centric
approaches, particularly in self-care and patient education, facilitated by
access to Electronic Health Records (EHR). However, medical jargon in EHRs
poses significant challenges in patient comprehension. To address this, we
introduce a new task of automatically generating lay definitions, aiming to
simplify complex medical terms into patient-friendly lay language. We first
created the README dataset, an extensive collection of over 50,000 unique
(medical term, lay definition) pairs and 300,000 mentions, each offering
context-aware lay definitions manually annotated by domain experts. We have
also engineered a data-centric Human-AI pipeline that synergizes data
filtering, augmentation, and selection to improve data quality. We then used
README as the training data for models and leveraged a Retrieval-Augmented
Generation method to reduce hallucinations and improve the quality of model
outputs. Our extensive automatic and human evaluations demonstrate that
open-source mobile-friendly models, when fine-tuned with high-quality data, are
capable of matching or even surpassing the performance of state-of-the-art
closed-source large language models like ChatGPT. This research represents a
significant stride in closing the knowledge gap in patient education and
advancing patient-centric healthcare solutions. | cs.CL | README: Bridging Medical Jargon and Lay Understanding for Patient Education through Data-Centric NLP |
2023-12-24T21:45:36Z | http://arxiv.org/pdf/2312.15550v1 | http://arxiv.org/abs/2312.15550v1 | Fahime Shahrokh, Nasser Ghadiri, Rasoul Samani, Milad Moradi | 2023-12-24T21:45:36Z | cs.CL, cs.AI, cs.LG, 68T50, 68T07, J.3; I.2.7; I.2.1 | Biomedical Named Entity Recognition (NER) is a fundamental task of Biomedical
Natural Language Processing for extracting relevant information from biomedical
texts, such as clinical records, scientific publications, and electronic health
records. The conventional approaches for biomedical NER mainly use traditional
machine learning techniques, such as Conditional Random Fields and Support
Vector Machines or deep learning-based models like Recurrent Neural Networks
and Convolutional Neural Networks. Recently, Transformer-based models,
including BERT, have been used in the domain of biomedical NER and have
demonstrated remarkable results. However, these models are often based on
word-level embeddings, limiting their ability to capture character-level
information, which is effective in biomedical NER due to the high variability
and complexity of biomedical texts. To address these limitations, this paper
proposes a hybrid approach that integrates the strengths of multiple models. In
this paper, we proposed an approach that leverages fine-tuned BERT to provide
contextualized word embeddings, a pre-trained multi-channel CNN for
character-level information capture, and following by a BiLSTM + CRF for
sequence labelling and modelling dependencies between the words in the text. In
addition, also we propose an enhanced labelling method as part of
pre-processing to enhance the identification of the entity's beginning word and
thus improve the identification of multi-word entities, a common challenge in
biomedical NER. By integrating these models and the pre-processing method, our
proposed model effectively captures both contextual information and detailed
character-level information. We evaluated our model on the benchmark i2b2/2010
dataset, achieving an F1-score of 90.11. These results illustrate the
proficiency of our proposed model in performing biomedical Named Entity
Recognition. | cs.CL | Multi-level biomedical NER through multi-granularity embeddings and enhanced labeling |
2023-12-24T21:33:03Z | http://arxiv.org/pdf/2312.15548v3 | http://arxiv.org/abs/2312.15548v3 | Xinglin Xiao, Yijie Wang, Nan Xu, Yuqi Wang, Hanxuan Yang, Minzheng Wang, Yin Luo, Lei Wang, Wenji Mao, Daniel Zeng | 2024-04-02T09:36:35Z | cs.CL, cs.AI | The difficulty of the information extraction task lies in dealing with the
task-specific label schemas and heterogeneous data structures. Recent work has
proposed methods based on large language models to uniformly model different
information extraction tasks. However, these existing methods are deficient in
their information extraction capabilities for Chinese languages other than
English. In this paper, we propose an end-to-end chat-enhanced instruction
tuning framework for universal information extraction (YAYI-UIE), which
supports both Chinese and English. Specifically, we utilize dialogue data and
information extraction data to enhance the information extraction performance
jointly. Experimental results show that our proposed framework achieves
state-of-the-art performance on Chinese datasets while also achieving
comparable performance on English datasets under both supervised settings and
zero-shot settings. | cs.CL | YAYI-UIE: A Chat-Enhanced Instruction Tuning Framework for Universal Information Extraction |
2023-12-24T16:21:11Z | http://arxiv.org/pdf/2312.15523v1 | http://arxiv.org/abs/2312.15523v1 | Simon Martin Breum, Daniel Vædele Egdal, Victor Gram Mortensen, Anders Giovanni Møller, Luca Maria Aiello | 2023-12-24T16:21:11Z | cs.CY, cs.CL, cs.HC, physics.soc-ph | The increasing capability of Large Language Models to act as human-like
social agents raises two important questions in the area of opinion dynamics.
First, whether these agents can generate effective arguments that could be
injected into the online discourse to steer the public opinion. Second, whether
artificial agents can interact with each other to reproduce dynamics of
persuasion typical of human social systems, opening up opportunities for
studying synthetic social systems as faithful proxies for opinion dynamics in
human populations. To address these questions, we designed a synthetic
persuasion dialogue scenario on the topic of climate change, where a
'convincer' agent generates a persuasive argument for a 'skeptic' agent, who
subsequently assesses whether the argument changed its internal opinion state.
Different types of arguments were generated to incorporate different linguistic
dimensions underpinning psycho-linguistic theories of opinion change. We then
asked human judges to evaluate the persuasiveness of machine-generated
arguments. Arguments that included factual knowledge, markers of trust,
expressions of support, and conveyed status were deemed most effective
according to both humans and agents, with humans reporting a marked preference
for knowledge-based arguments. Our experimental framework lays the groundwork
for future in-silico studies of opinion dynamics, and our findings suggest that
artificial agents have the potential of playing an important role in collective
processes of opinion formation in online social media. | cs.CY | The Persuasive Power of Large Language Models |
2023-12-24T15:10:35Z | http://arxiv.org/pdf/2312.15503v1 | http://arxiv.org/abs/2312.15503v1 | Chaofan Li, Zheng Liu, Shitao Xiao, Yingxia Shao | 2023-12-24T15:10:35Z | cs.CL | Dense retrieval needs to learn discriminative text embeddings to represent
the semantic relationship between query and document. It may benefit from the
using of large language models (LLMs), given LLMs' strong capability on
semantic understanding. However, the LLMs are pre-trained by text generation
tasks, whose working pattern is completely different from representing texts as
embeddings. As a result, it is imperative to study how to adapt LLMs properly
so that they can be effectively initialized as the backbone encoder for dense
retrieval.
In this paper, we propose a novel approach, called LLaRA (LLM adapted for
dense RetrievAl), which works as a post-hoc adaptation of LLM for the dense
retrieval application. LLaRA consists of two pretext tasks: EBAE
(Embedding-Based Auto-Encoding) and EBAR (Embedding-Based Auto-Regression),
where the text embeddings from LLM are used to reconstruct the tokens for the
input sentence and predict the tokens for the next sentence, respectively.
LLaRA turns out to be simple, lightweight, and highly effective. It is applied
to adapt LLaMA-2-7B (base) on the Wikipedia corpus, where it substantially
improves the model's fine-tuned performances on a variety of dense retrieval
benchmarks, like MSMARCO and BEIR. Our model and code will be made publicly
available at BGE repository. | cs.CL | Making Large Language Models A Better Foundation For Dense Retrieval |
2023-12-24T13:25:15Z | http://arxiv.org/pdf/2312.15478v1 | http://arxiv.org/abs/2312.15478v1 | Guanqun Bi, Lei Shen, Yuqiang Xie, Yanan Cao, Tiangang Zhu, Xiaodong He | 2023-12-24T13:25:15Z | cs.CL | The rapid advancement of large language models has revolutionized various
applications but also raised crucial concerns about their potential to
perpetuate biases and unfairness when deployed in social media contexts.
Evaluating LLMs' potential biases and fairness has become crucial, as existing
methods rely on limited prompts focusing on just a few groups, lacking a
comprehensive categorical perspective. In this paper, we propose evaluating LLM
biases from a group fairness lens using a novel hierarchical schema
characterizing diverse social groups. Specifically, we construct a dataset,
GFair, encapsulating target-attribute combinations across multiple dimensions.
In addition, we introduce statement organization, a new open-ended text
generation task, to uncover complex biases in LLMs. Extensive evaluations of
popular LLMs reveal inherent safety concerns. To mitigate the biases of LLM
from a group fairness perspective, we pioneer a novel chain-of-thought method
GF-Think to mitigate biases of LLMs from a group fairness perspective.
Experimental results demonstrate its efficacy in mitigating bias in LLMs to
achieve fairness. | cs.CL | A Group Fairness Lens for Large Language Models |
2023-12-24T12:53:07Z | http://arxiv.org/pdf/2312.15472v1 | http://arxiv.org/abs/2312.15472v1 | Jasmin Mousavi, Arash Termehchy | 2023-12-24T12:53:07Z | cs.DB, cs.CL | Large language models have shown unprecedented abilities in generating
linguistically coherent and syntactically correct natural language output.
However, they often return incorrect and inconsistent answers to input
questions. Due to the complexity and uninterpretability of the internally
learned representations, it is challenging to modify language models such that
they provide correct and consistent results. The data management community has
developed various methods and tools for providing consistent answers over
inconsistent datasets. In these methods, users specify the desired properties
of data in a domain in the form of high-level declarative constraints. This
approach has provided usable and scalable methods to delivering consistent
information from inconsistent datasets. We aim to build upon this success and
leverage these methods to modify language models such that they deliver
consistent and accurate results. We investigate the challenges of using these
ideas to obtain consistent and relevant answers from language models and report
some preliminary empirical studies. | cs.DB | Towards Consistent Language Models Using Declarative Constraints |
2023-12-24T08:33:30Z | http://arxiv.org/pdf/2312.17262v1 | http://arxiv.org/abs/2312.17262v1 | Oscar Sapena, Eva Onaindia | 2023-12-24T08:33:30Z | cs.CL, cs.LG, 68T05 (Primary), 97P80 (Secondary), I.2.6; I.2.7; I.5.4 | The way of understanding online higher education has greatly changed due to
the worldwide pandemic situation. Teaching is undertaken remotely, and the
faculty incorporate lecture audio recordings as part of the teaching material.
This new online teaching-learning setting has largely impacted university
classes. While online teaching technology that enriches virtual classrooms has
been abundant over the past two years, the same has not occurred in supporting
students during online learning. {To overcome this limitation, our aim is to
work toward enabling students to easily access the piece of the lesson
recording in which the teacher explains a theoretical concept, solves an
exercise, or comments on organizational issues of the course. To that end, we
present a multimodal classification algorithm that identifies the type of
activity that is being carried out at any time of the lesson by using a
transformer-based language model that exploits features from the audio file and
from the automated lecture transcription. The experimental results will show
that some academic activities are more easily identifiable with the audio
signal while resorting to the text transcription is needed to identify others.
All in all, our contribution aims to recognize the academic activities of a
teacher during a lesson. | cs.CL | Multimodal Classification of Teaching Activities from University Lecture Recordings |
2023-12-24T04:50:57Z | http://arxiv.org/pdf/2312.15407v2 | http://arxiv.org/abs/2312.15407v2 | Chen Zhang, Luis Fernando D'Haro, Yiming Chen, Malu Zhang, Haizhou Li | 2024-01-20T06:26:33Z | cs.CL | Automatic evaluation is an integral aspect of dialogue system research. The
traditional reference-based NLG metrics are generally found to be unsuitable
for dialogue assessment. Consequently, recent studies have suggested various
unique, reference-free neural metrics that better align with human evaluations.
Notably among them, large language models (LLMs), particularly the
instruction-tuned variants like ChatGPT, are shown to be promising substitutes
for human judges. Yet, existing works on utilizing LLMs for automatic dialogue
evaluation are limited in their scope in terms of the number of meta-evaluation
datasets, mode of evaluation, coverage of LLMs, etc. Hence, it remains
inconclusive how effective these LLMs are. To this end, we conduct a
comprehensive study on the application of LLMs for automatic dialogue
evaluation. Specifically, we analyze the multi-dimensional evaluation
capability of 30 recently emerged LLMs at both turn and dialogue levels, using
a comprehensive set of 12 meta-evaluation datasets. Additionally, we probe the
robustness of the LLMs in handling various adversarial perturbations at both
turn and dialogue levels. Finally, we explore how model-level and
dimension-level ensembles impact the evaluation performance. All resources are
available at https://github.com/e0397123/comp-analysis. | cs.CL | A Comprehensive Analysis of the Effectiveness of Large Language Models as Automatic Dialogue Evaluators |
2023-12-24T03:57:52Z | http://arxiv.org/pdf/2312.15398v1 | http://arxiv.org/abs/2312.15398v1 | Abdelrahman Zayed, Goncalo Mordido, Samira Shabanian, Ioana Baldini, Sarath Chandar | 2023-12-24T03:57:52Z | cs.CL, cs.CY, cs.LG | The increasing size of large language models (LLMs) has introduced challenges
in their training and inference. Removing model components is perceived as a
solution to tackle the large model sizes, however, existing pruning methods
solely focus on performance, without considering an essential aspect for the
responsible use of LLMs: model fairness. It is crucial to address the fairness
of LLMs towards diverse groups, such as women, Black people, LGBTQ+, Jewish
communities, among others, as they are being deployed and available to a wide
audience. In this work, first, we investigate how attention heads impact
fairness and performance in pre-trained transformer-based language models. We
then propose a novel method to prune the attention heads that negatively impact
fairness while retaining the heads critical for performance, i.e. language
modeling capabilities. Our approach is practical in terms of time and
resources, as it does not require fine-tuning the final pruned, and fairer,
model. Our findings demonstrate a reduction in gender bias by 19%, 19.5%,
39.5%, 34.7%, 23%, and 8% for DistilGPT-2, GPT-2, GPT-Neo of two different
sizes, GPT-J, and Llama 2 models, respectively, in comparison to the biased
model, with only a slight decrease in performance. | cs.CL | Fairness-Aware Structured Pruning in Transformers |
2023-12-24T03:37:11Z | http://arxiv.org/pdf/2312.15395v1 | http://arxiv.org/abs/2312.15395v1 | Hanxi Liu, Xiaokai Mao, Haocheng Xia, Jian Lou, Jinfei Liu | 2023-12-24T03:37:11Z | cs.CL, cs.DB, cs.LG | Large language models (LLMs) excel on new tasks without additional training,
simply by providing natural language prompts that demonstrate how the task
should be performed. Prompt ensemble methods comprehensively harness the
knowledge of LLMs while mitigating individual biases and errors and further
enhancing performance. However, more prompts do not necessarily lead to better
results, and not all prompts are beneficial. A small number of high-quality
prompts often outperform many low-quality prompts. Currently, there is a lack
of a suitable method for evaluating the impact of prompts on the results. In
this paper, we utilize the Shapley value to fairly quantify the contributions
of prompts, helping to identify beneficial or detrimental prompts, and
potentially guiding prompt valuation in data markets. Through extensive
experiments employing various ensemble methods and utility functions on diverse
tasks, we validate the effectiveness of using the Shapley value method for
prompts as it effectively distinguishes and quantifies the contributions of
each prompt. | cs.CL | Prompt Valuation Based on Shapley Values |
2023-12-23T18:43:56Z | http://arxiv.org/pdf/2312.15321v1 | http://arxiv.org/abs/2312.15321v1 | Joseph Potashnik | 2023-12-23T18:43:56Z | cs.CL | This paper offers a fresh look at the pumping lemma constant as an upper
bound for the finite structural information of a Context Free Grammar. An
objective function based on indirect negative evidence considers the
occurrences, and non-occurrences, of a finite number of trees, encountered
after a sufficiently long non-adversial input presentation. This objective
function has optimal substructure in the hypotheses space, giving rise to a
greedy search learner. With this learner, a range of classes of Context Free
Languages is shown to be learnable (identifiable in the limit) on an otherwise
intractable hypotheses space. | cs.CL | Greedy Grammar Induction with Indirect Negative Evidence |
2023-12-23T18:14:56Z | http://arxiv.org/pdf/2312.15316v2 | http://arxiv.org/abs/2312.15316v2 | Guan-Ting Lin, Prashanth Gurunath Shivakumar, Ankur Gandhe, Chao-Han Huck Yang, Yile Gu, Shalini Ghosh, Andreas Stolcke, Hung-yi Lee, Ivan Bulyko | 2024-01-17T17:07:37Z | cs.CL, eess.AS | Large Language Models (LLMs) have demonstrated superior abilities in tasks
such as chatting, reasoning, and question-answering. However, standard LLMs may
ignore crucial paralinguistic information, such as sentiment, emotion, and
speaking style, which are essential for achieving natural, human-like spoken
conversation, especially when such information is conveyed by acoustic cues. We
therefore propose Paralinguistics-enhanced Generative Pretrained Transformer
(ParalinGPT), an LLM that utilizes text and speech modalities to better model
the linguistic content and paralinguistic attributes of spoken dialogue. The
model takes the conversational context of text, speech embeddings, and
paralinguistic attributes as input prompts within a serialized multitasking
multimodal framework. Specifically, our framework serializes tasks in the order
of current paralinguistic attribute prediction, response paralinguistic
attribute prediction, and response text generation with autoregressive
conditioning. We utilize the Switchboard-1 corpus, including its sentiment
labels as the paralinguistic attribute, as our spoken dialogue dataset.
Experimental results indicate the proposed serialized multitasking method
outperforms typical sequence classification techniques on current and response
sentiment classification. Furthermore, leveraging conversational context and
speech embeddings significantly improves both response text generation and
sentiment prediction. Our proposed framework achieves relative improvements of
6.7%, 12.0%, and 3.5% in current sentiment accuracy, response sentiment
accuracy, and response text BLEU score, respectively. | cs.CL | Paralinguistics-Enhanced Large Language Modeling of Spoken Dialogue |
2023-12-23T17:30:28Z | http://arxiv.org/pdf/2312.15304v2 | http://arxiv.org/abs/2312.15304v2 | Shijing Si, Siqing Zhou, Le Tang, Xiaoqing Cheng, Yugui Zhang | 2024-02-23T05:24:26Z | cs.CL, cs.AI | ChatGPT's proficiency in handling modern standard languages suggests
potential for its use in understanding ancient Chinese. This paper explores
ChatGPT's capabilities on ancient Chinese via two tasks: translating ancient
Chinese to modern Chinese and recognizing ancient Chinese names. A comparison
of ChatGPT's output with human translations serves to evaluate its
comprehension of ancient Chinese. The findings indicate that: (1.)the
proficiency of ancient Chinese by ChatGPT is yet to reach a satisfactory level;
(2.) ChatGPT performs the best on ancient-to-modern translation when feeding
with three context sentences. To help reproduce our work, we display the python
code snippets used in this study. | cs.CL | Exploring the Capabilities of ChatGPT in Ancient Chinese Translation and Person Name Recognition |
2023-12-23T16:18:47Z | http://arxiv.org/pdf/2312.15291v2 | http://arxiv.org/abs/2312.15291v2 | Li Zheng, Hao Fei, Fei Li, Bobo Li, Lizi Liao, Donghong Ji, Chong Teng | 2023-12-27T03:30:26Z | cs.CL | With the proliferation of dialogic data across the Internet, the Dialogue
Commonsense Multi-choice Question Answering (DC-MCQ) task has emerged as a
response to the challenge of comprehending user queries and intentions.
Although prevailing methodologies exhibit effectiveness in addressing
single-choice questions, they encounter difficulties in handling multi-choice
queries due to the heightened intricacy and informational density. In this
paper, inspired by the human cognitive process of progressively excluding
options, we propose a three-step Reverse Exclusion Graph-of-Thought (ReX-GoT)
framework, including Option Exclusion, Error Analysis, and Combine Information.
Specifically, our ReX-GoT mimics human reasoning by gradually excluding
irrelevant options and learning the reasons for option errors to choose the
optimal path of the GoT and ultimately infer the correct answer. By
progressively integrating intricate clues, our method effectively reduces the
difficulty of multi-choice reasoning and provides a novel solution for DC-MCQ.
Extensive experiments on the CICERO and CICERO$_{v2}$ datasets validate the
significant improvement of our approach on DC-MCQ task. On zero-shot setting,
our model outperform the best baseline by 17.67% in terms of F1 score for the
multi-choice task. Most strikingly, our GPT3.5-based ReX-GoT framework achieves
a remarkable 39.44% increase in F1 score. | cs.CL | Reverse Multi-Choice Dialogue Commonsense Inference with Graph-of-Thought |
2023-12-23T14:44:17Z | http://arxiv.org/pdf/2312.15272v1 | http://arxiv.org/abs/2312.15272v1 | Prabhat Agarwal, Akshat Jindal, Shreya Singh | 2023-12-23T14:44:17Z | cs.CL, cs.CY, cs.LG, cs.SD, eess.AS | Barriers to accessing mental health assessments including cost and stigma
continues to be an impediment in mental health diagnosis and treatment. Machine
learning approaches based on speech samples could help in this direction. In
this work, we develop machine learning solutions to diagnose anxiety disorders
from audio journals of patients. We work on a novel anxiety dataset (provided
through collaboration with Kintsugi Mindful Wellness Inc.) and experiment with
several models of varying complexity utilizing audio, text and a combination of
multiple modalities. We show that the multi-modal and audio embeddings based
approaches achieve good performance in the task achieving an AUC ROC score of
0.68-0.69. | cs.CL | Detecting anxiety from short clips of free-form speech |
2023-12-23T11:37:09Z | http://arxiv.org/pdf/2312.15228v2 | http://arxiv.org/abs/2312.15228v2 | Federico Siciliano, Luca Maiano, Lorenzo Papa, Federica Baccini, Irene Amerini, Fabrizio Silvestri | 2024-01-04T16:20:42Z | cs.LG, cs.CL, cs.CR | Fake news detection models are critical to countering disinformation but can
be manipulated through adversarial attacks. In this position paper, we analyze
how an attacker can compromise the performance of an online learning detector
on specific news content without being able to manipulate the original target
news. In some contexts, such as social networks, where the attacker cannot
exert complete control over all the information, this scenario can indeed be
quite plausible. Therefore, we show how an attacker could potentially introduce
poisoning data into the training data to manipulate the behavior of an online
learning method. Our initial findings reveal varying susceptibility of logistic
regression models based on complexity and attack type. | cs.LG | Adversarial Data Poisoning for Fake News Detection: How to Make a Model Misclassify a Target News without Modifying It |
2023-12-23T08:45:57Z | http://arxiv.org/pdf/2312.15197v1 | http://arxiv.org/abs/2312.15197v1 | Xize Cheng, Rongjie Huang, Linjun Li, Tao Jin, Zehan Wang, Aoxiong Yin, Minglei Li, Xinyu Duan, changpeng yang, Zhou Zhao | 2023-12-23T08:45:57Z | cs.SD, cs.CL, cs.CV, eess.AS | Direct speech-to-speech translation achieves high-quality results through the
introduction of discrete units obtained from self-supervised learning. This
approach circumvents delays and cascading errors associated with model
cascading. However, talking head translation, converting audio-visual speech
(i.e., talking head video) from one language into another, still confronts
several challenges compared to audio speech: (1) Existing methods invariably
rely on cascading, synthesizing via both audio and text, resulting in delays
and cascading errors. (2) Talking head translation has a limited set of
reference frames. If the generated translation exceeds the length of the
original speech, the video sequence needs to be supplemented by repeating
frames, leading to jarring video transitions. In this work, we propose a model
for talking head translation, \textbf{TransFace}, which can directly translate
audio-visual speech into audio-visual speech in other languages. It consists of
a speech-to-unit translation model to convert audio speech into discrete units
and a unit-based audio-visual speech synthesizer, Unit2Lip, to re-synthesize
synchronized audio-visual speech from discrete units in parallel. Furthermore,
we introduce a Bounded Duration Predictor, ensuring isometric talking head
translation and preventing duplicate reference frames. Experiments demonstrate
that our proposed Unit2Lip model significantly improves synchronization (1.601
and 0.982 on LSE-C for the original and generated audio speech, respectively)
and boosts inference speed by a factor of 4.35 on LRS2. Additionally, TransFace
achieves impressive BLEU scores of 61.93 and 47.55 for Es-En and Fr-En on
LRS3-T and 100% isochronous translations. | cs.SD | TransFace: Unit-Based Audio-Visual Speech Synthesizer for Talking Head Translation |
2023-12-23T08:32:13Z | http://arxiv.org/pdf/2312.15194v2 | http://arxiv.org/abs/2312.15194v2 | Hengrui Gu, Kaixiong Zhou, Xiaotian Han, Ninghao Liu, Ruobing Wang, Xin Wang | 2024-02-15T03:10:29Z | cs.CL | Multi-hop question answering (MQA) is one of the challenging tasks to
evaluate machine's comprehension and reasoning abilities, where large language
models (LLMs) have widely achieved the human-comparable performance. Due to the
dynamics of knowledge facts in real world, knowledge editing has been explored
to update model with the up-to-date facts while avoiding expensive re-training
or fine-tuning. Starting from the edited fact, the updated model needs to
provide cascading changes in the chain of MQA. The previous art simply adopts a
mix-up prompt to instruct LLMs conducting multiple reasoning tasks
sequentially, including question decomposition, answer generation, and conflict
checking via comparing with edited facts. However, the coupling of these
functionally-diverse reasoning tasks inhibits LLMs' advantages in comprehending
and answering questions while disturbing them with the unskilled task of
conflict checking. We thus propose a framework, Programmable knowledge editing
for Multi-hop Question Answering (PokeMQA), to decouple the jobs. Specifically,
we prompt LLMs to decompose knowledge-augmented multi-hop question, while
interacting with a detached trainable scope detector to modulate LLMs behavior
depending on external conflict signal. The experiments on three LLM backbones
and two benchmark datasets validate our superiority in knowledge editing of
MQA, outperforming all competitors by a large margin in almost all settings and
consistently producing reliable reasoning process. | cs.CL | PokeMQA: Programmable knowledge editing for Multi-hop Question Answering |
2023-12-23T07:46:55Z | http://arxiv.org/pdf/2312.15185v1 | http://arxiv.org/abs/2312.15185v1 | Ziyang Ma, Zhisheng Zheng, Jiaxin Ye, Jinchao Li, Zhifu Gao, Shiliang Zhang, Xie Chen | 2023-12-23T07:46:55Z | cs.CL, cs.HC, cs.MM, cs.SD, eess.AS | We propose emotion2vec, a universal speech emotion representation model.
emotion2vec is pre-trained on open-source unlabeled emotion data through
self-supervised online distillation, combining utterance-level loss and
frame-level loss during pre-training. emotion2vec outperforms state-of-the-art
pre-trained universal models and emotion specialist models by only training
linear layers for the speech emotion recognition task on the mainstream IEMOCAP
dataset. In addition, emotion2vec shows consistent improvements among 10
different languages of speech emotion recognition datasets. emotion2vec also
shows excellent results on other emotion tasks, such as song emotion
recognition, emotion prediction in conversation, and sentiment analysis.
Comparison experiments, ablation experiments, and visualization comprehensively
demonstrate the universal capability of the proposed emotion2vec. To the best
of our knowledge, emotion2vec is the first universal representation model in
various emotion-related tasks, filling a gap in the field. | cs.CL | emotion2vec: Self-Supervised Pre-Training for Speech Emotion Representation |
2023-12-23T07:36:20Z | http://arxiv.org/pdf/2312.15181v1 | http://arxiv.org/abs/2312.15181v1 | Ankita Maity, Anubhav Sharma, Rudra Dhar, Tushar Abhishek, Manish Gupta, Vasudeva Varma | 2023-12-23T07:36:20Z | cs.CL | Lack of diverse perspectives causes neutrality bias in Wikipedia content
leading to millions of worldwide readers getting exposed by potentially
inaccurate information. Hence, neutrality bias detection and mitigation is a
critical problem. Although previous studies have proposed effective solutions
for English, no work exists for Indian languages. First, we contribute two
large datasets, mWikiBias and mWNC, covering 8 languages, for the bias
detection and mitigation tasks respectively. Next, we investigate the
effectiveness of popular multilingual Transformer-based models for the two
tasks by modeling detection as a binary classification problem and mitigation
as a style transfer problem. We make the code and data publicly available. | cs.CL | Multilingual Bias Detection and Mitigation for Indian Languages |
2023-12-23T05:11:37Z | http://arxiv.org/pdf/2312.15166v3 | http://arxiv.org/abs/2312.15166v3 | Dahyun Kim, Chanjun Park, Sanghoon Kim, Wonsung Lee, Wonho Song, Yunsu Kim, Hyeonwoo Kim, Yungi Kim, Hyeonju Lee, Jihoo Kim, Changbae Ahn, Seonghoon Yang, Sukyung Lee, Hyunbyung Park, Gyoungjin Gim, Mikyoung Cha, Hwalsuk Lee, Sunghun Kim | 2024-04-04T01:53:38Z | cs.CL, cs.AI, cs.LG | We introduce SOLAR 10.7B, a large language model (LLM) with 10.7 billion
parameters, demonstrating superior performance in various natural language
processing (NLP) tasks. Inspired by recent efforts to efficiently up-scale
LLMs, we present a method for scaling LLMs called depth up-scaling (DUS), which
encompasses depthwise scaling and continued pretraining. In contrast to other
LLM up-scaling methods that use mixture-of-experts, DUS does not require
complex changes to train and inference efficiently. We show experimentally that
DUS is simple yet effective in scaling up high-performance LLMs from small
ones. Building on the DUS model, we additionally present SOLAR 10.7B-Instruct,
a variant fine-tuned for instruction-following capabilities, surpassing
Mixtral-8x7B-Instruct. SOLAR 10.7B is publicly available under the Apache 2.0
license, promoting broad access and application in the LLM field. | cs.CL | SOLAR 10.7B: Scaling Large Language Models with Simple yet Effective Depth Up-Scaling |
2023-12-23T04:27:06Z | http://arxiv.org/pdf/2312.15159v2 | http://arxiv.org/abs/2312.15159v2 | Hongzheng Chen, Jiahao Zhang, Yixiao Du, Shaojie Xiang, Zichao Yue, Niansong Zhang, Yaohui Cai, Zhiru Zhang | 2024-04-07T06:03:02Z | cs.LG, cs.AI, cs.AR, cs.CL | Recent advancements in large language models (LLMs) boasting billions of
parameters have generated a significant demand for efficient deployment in
inference workloads. The majority of existing approaches rely on temporal
architectures that reuse hardware units for different network layers and
operators. However, these methods often encounter challenges in achieving low
latency due to considerable memory access overhead. This paper investigates the
feasibility and potential of model-specific spatial acceleration for LLM
inference on FPGAs. Our approach involves the specialization of distinct
hardware units for specific operators or layers, facilitating direct
communication between them through a dataflow architecture while minimizing
off-chip memory accesses. We introduce a comprehensive analytical model for
estimating the performance of a spatial LLM accelerator, taking into account
the on-chip compute and memory resources available on an FPGA. Through our
analysis, we can determine the scenarios in which FPGA-based spatial
acceleration can outperform its GPU-based counterpart. To enable more
productive implementations of an LLM model on FPGAs, we further provide a
library of high-level synthesis (HLS) kernels that are composable and reusable.
This library will be made available as open-source. To validate the
effectiveness of both our analytical model and HLS library, we have implemented
BERT and GPT2 on an AMD Alveo U280 FPGA device. Experimental results
demonstrate our approach can achieve up to 13.4x speedup when compared to
previous FPGA-based accelerators for the BERT model. For GPT generative
inference, we attain a 2.2x speedup compared to DFX, an FPGA overlay, in the
prefill stage, while achieving a 1.9x speedup and a 5.7x improvement in energy
efficiency compared to the NVIDIA A100 GPU in the decode stage. | cs.LG | Understanding the Potential of FPGA-Based Spatial Acceleration for Large Language Model Inference |
2023-12-23T03:50:49Z | http://arxiv.org/pdf/2312.15156v2 | http://arxiv.org/abs/2312.15156v2 | Mingyang Song, Xuelian Geng, Songfang Yao, Shilong Lu, Yi Feng, Liping Jing | 2024-01-10T10:46:49Z | cs.CL | Zero-shot keyphrase extraction aims to build a keyphrase extractor without
training by human-annotated data, which is challenging due to the limited human
intervention involved. Challenging but worthwhile, zero-shot setting
efficiently reduces the time and effort that data labeling takes. Recent
efforts on pre-trained large language models (e.g., ChatGPT and ChatGLM) show
promising performance on zero-shot settings, thus inspiring us to explore
prompt-based methods. In this paper, we ask whether strong keyphrase extraction
models can be constructed by directly prompting the large language model
ChatGPT. Through experimental results, it is found that ChatGPT still has a lot
of room for improvement in the keyphrase extraction task compared to existing
state-of-the-art unsupervised and supervised models. | cs.CL | Large Language Models as Zero-Shot Keyphrase Extractors: A Preliminary Empirical Study |
2023-12-22T22:34:49Z | http://arxiv.org/pdf/2312.15099v2 | http://arxiv.org/abs/2312.15099v2 | Nishant Vishwamitra, Keyan Guo, Farhan Tajwar Romit, Isabelle Ondracek, Long Cheng, Ziming Zhao, Hongxin Hu | 2024-05-10T17:01:55Z | cs.CL, cs.CY, cs.LG, cs.SI | Online hate is an escalating problem that negatively impacts the lives of
Internet users, and is also subject to rapid changes due to evolving events,
resulting in new waves of online hate that pose a critical threat. Detecting
and mitigating these new waves present two key challenges: it demands
reasoning-based complex decision-making to determine the presence of hateful
content, and the limited availability of training samples hinders updating the
detection model. To address this critical issue, we present a novel framework
called HATEGUARD for effectively moderating new waves of online hate. HATEGUARD
employs a reasoning-based approach that leverages the recently introduced
chain-of-thought (CoT) prompting technique, harnessing the capabilities of
large language models (LLMs). HATEGUARD further achieves prompt-based zero-shot
detection by automatically generating and updating detection prompts with new
derogatory terms and targets in new wave samples to effectively address new
waves of online hate. To demonstrate the effectiveness of our approach, we
compile a new dataset consisting of tweets related to three recently witnessed
new waves: the 2022 Russian invasion of Ukraine, the 2021 insurrection of the
US Capitol, and the COVID-19 pandemic. Our studies reveal crucial longitudinal
patterns in these new waves concerning the evolution of events and the pressing
need for techniques to rapidly update existing moderation tools to counteract
them. Comparative evaluations against state-of-the-art tools illustrate the
superiority of our framework, showcasing a substantial 22.22% to 83.33%
improvement in detecting the three new waves of online hate. Our work
highlights the severe threat posed by the emergence of new waves of online hate
and represents a paradigm shift in addressing this threat practically. | cs.CL | Moderating New Waves of Online Hate with Chain-of-Thought Reasoning in Large Language Models |
2023-12-22T22:33:54Z | http://arxiv.org/pdf/2312.15098v1 | http://arxiv.org/abs/2312.15098v1 | Jay Kejriwal, Stefan Benus, Lina M. Rojas-Barahona | 2023-12-22T22:33:54Z | cs.CL, cs.SD, eess.AS | Speakers tend to engage in adaptive behavior, known as entrainment, when they
become similar to their interlocutor in various aspects of speaking. We present
an unsupervised deep learning framework that derives meaningful representation
from textual features for developing semantic entrainment. We investigate the
model's performance by extracting features using different variations of the
BERT model (DistilBERT and XLM-RoBERTa) and Google's universal sentence encoder
(USE) embeddings on two human-human (HH) corpora (The Fisher Corpus English
Part 1, Columbia games corpus) and one human-machine (HM) corpus (Voice
Assistant Conversation Corpus (VACC)). In addition to semantic features we also
trained DNN-based models utilizing two auditory embeddings (TRIpLet Loss
network (TRILL) vectors, Low-level descriptors (LLD) features) and two units of
analysis (Inter pausal unit and Turn). The results show that semantic
entrainment can be assessed with our model, that models can distinguish between
HH and HM interactions and that the two units of analysis for extracting
acoustic features provide comparable findings. | cs.CL | Unsupervised Auditory and Semantic Entrainment Models with Deep Neural Networks |
2023-12-22T21:14:37Z | http://arxiv.org/pdf/2312.15068v2 | http://arxiv.org/abs/2312.15068v2 | Xingfang Wu, Heng Li, Nobukazu Yoshioka, Hironori Washizaki, Foutse Khomh | 2024-03-04T17:03:42Z | cs.SE, cs.CL, cs.LG | One goal of technical online communities is to help developers find the right
answer in one place. A single question can be asked in different ways with
different wordings, leading to the existence of duplicate posts on technical
forums. The question of how to discover and link duplicate posts has garnered
the attention of both developer communities and researchers. For example, Stack
Overflow adopts a voting-based mechanism to mark and close duplicate posts.
However, addressing these constantly emerging duplicate posts in a timely
manner continues to pose challenges. Therefore, various approaches have been
proposed to detect duplicate posts on technical forum posts automatically. The
existing methods suffer from limitations either due to their reliance on
handcrafted similarity metrics which can not sufficiently capture the semantics
of posts, or their lack of supervision to improve the performance.
Additionally, the efficiency of these methods is hindered by their dependence
on pair-wise feature generation, which can be impractical for large amount of
data. In this work, we attempt to employ and refine the GPT-3 embeddings for
the duplicate detection task. We assume that the GPT-3 embeddings can
accurately represent the semantics of the posts. In addition, by training a
Siamese-based network based on the GPT-3 embeddings, we obtain a latent
embedding that accurately captures the duplicate relation in technical forum
posts. Our experiment on a benchmark dataset confirms the effectiveness of our
approach and demonstrates superior performance compared to baseline methods.
When applied to the dataset we constructed with a recent Stack Overflow dump,
our approach attains a Top-1, Top-5, and Top-30 accuracy of 23.1%, 43.9%, and
68.9%, respectively. With a manual study, we confirm our approach's potential
of finding unlabelled duplicates on technical forums. | cs.SE | Refining GPT-3 Embeddings with a Siamese Structure for Technical Post Duplicate Detection |
2023-12-22T19:55:58Z | http://arxiv.org/pdf/2312.15033v1 | http://arxiv.org/abs/2312.15033v1 | Zhen Tan, Tianlong Chen, Zhenyu Zhang, Huan Liu | 2023-12-22T19:55:58Z | cs.CL, cs.AI | Large Language Models (LLMs) have achieved unprecedented breakthroughs in
various natural language processing domains. However, the enigmatic
``black-box'' nature of LLMs remains a significant challenge for
interpretability, hampering transparent and accountable applications. While
past approaches, such as attention visualization, pivotal subnetwork
extraction, and concept-based analyses, offer some insight, they often focus on
either local or global explanations within a single dimension, occasionally
falling short in providing comprehensive clarity. In response, we propose a
novel methodology anchored in sparsity-guided techniques, aiming to provide a
holistic interpretation of LLMs. Our framework, termed SparseCBM, innovatively
integrates sparsity to elucidate three intertwined layers of interpretation:
input, subnetwork, and concept levels. In addition, the newly introduced
dimension of interpretable inference-time intervention facilitates dynamic
adjustments to the model during deployment. Through rigorous empirical
evaluations on real-world datasets, we demonstrate that SparseCBM delivers a
profound understanding of LLM behaviors, setting it apart in both interpreting
and ameliorating model inaccuracies. Codes are provided in supplements. | cs.CL | Sparsity-Guided Holistic Explanation for LLMs with Interpretable Inference-Time Intervention |
2023-12-22T19:07:00Z | http://arxiv.org/pdf/2312.15021v1 | http://arxiv.org/abs/2312.15021v1 | Abhinav Arun, Dipendra Singh Mal, Mehul Soni, Tomohiro Sawada | 2023-12-22T19:07:00Z | cs.CL | Recent advancements in deep learning have led to the development of powerful
language models (LMs) that excel in various tasks. Despite these achievements,
there is still room for improvement, particularly in enhancing reasoning
abilities and incorporating multimodal data. This report investigates the
potential impact of combining Chain-of-Thought (CoT) reasoning and Visual
Question Answering (VQA) techniques to improve LM's accuracy in solving
multiple-choice questions. By employing TextVQA and ScienceQA datasets, we
assessed the effectiveness of three text embedding methods and three visual
embedding approaches. Our experiments aimed to fill the gap in current research
by investigating the combined impact of CoT and VQA, contributing to the
understanding of how these techniques can improve the reasoning capabilities of
state-of-the-art models like GPT-4. Results from our experiments demonstrated
the potential of these approaches in enhancing LM's reasoning and
question-answering capabilities, providing insights for further research and
development in the field, and paving the way for more accurate and reliable AI
systems that can handle complex reasoning tasks across multiple modalities. | cs.CL | Towards a Unified Multimodal Reasoning Framework |
2023-12-22T18:07:44Z | http://arxiv.org/pdf/2312.14890v4 | http://arxiv.org/abs/2312.14890v4 | Lizhou Fan, Wenyue Hua, Lingyao Li, Haoyang Ling, Yongfeng Zhang | 2024-02-12T17:30:25Z | cs.AI, cs.CC, cs.CL, cs.LG | Complex reasoning ability is one of the most important features of current
LLMs, which has also been leveraged to play an integral role in complex
decision-making tasks. Therefore, the investigation into the reasoning
capabilities of Large Language Models (LLMs) is critical: numerous benchmarks
have been established to assess the reasoning abilities of LLMs. However,
current benchmarks are inadequate in offering a rigorous evaluation of the full
extent of reasoning abilities that LLMs are capable of achieving. They are also
prone to the risk of overfitting, as these benchmarks, being publicly
accessible and static, allow models to potentially tailor their responses to
specific benchmark metrics, thereby inflating their performance. Addressing
these limitations, our research introduces a new benchmark, named NPHardEval.
This benchmark is designed to evaluate the reasoning abilities of LLMs across a
broad spectrum of 900 algorithmic questions, extending up to the NP-Hard
complexity class. These questions are meticulously chosen to represent a wide
range of complexity class below the NP-hard complexity class, offering a
rigorous measure of the reasoning ability of LLMs. Through this study, we shed
light on the current state of reasoning in LLMs, providing an objective and
rigorous perspective through the comparison of LLMs' performance across complex
classes. Moreover, this benchmark is designed with a dynamic update mechanism,
where the datapoints are refreshed on a monthly basis. Such regular updates
play a crucial role in mitigating the risk of LLMs overfitting to the
benchmark, promoting a more accurate and reliable assessment of their reasoning
capabilities. The benchmark dataset and code of NPHardEval are available at
https://github.com/casmlab/NPHardEval. | cs.AI | NPHardEval: Dynamic Benchmark on Reasoning Ability of Large Language Models via Complexity Classes |
2023-12-22T17:57:29Z | http://arxiv.org/pdf/2312.14877v2 | http://arxiv.org/abs/2312.14877v2 | Nico Potyka, Yuqicheng Zhu, Yunjie He, Evgeny Kharlamov, Steffen Staab | 2024-02-08T17:29:54Z | cs.CL, cs.AI | Large-language models (LLMs) can support a wide range of applications like
conversational agents, creative writing or general query answering. However,
they are ill-suited for query answering in high-stake domains like medicine
because they are typically not robust - even the same query can result in
different answers when prompted multiple times. In order to improve the
robustness of LLM queries, we propose using ranking queries repeatedly and to
aggregate the queries using methods from social choice theory. We study ranking
queries in diagnostic settings like medical and fault diagnosis and discuss how
the Partial Borda Choice function from the literature can be applied to merge
multiple query results. We discuss some additional interesting properties in
our setting and evaluate the robustness of our approach empirically. | cs.CL | Robust Knowledge Extraction from Large Language Models using Social Choice Theory |
2023-12-22T17:46:36Z | http://arxiv.org/pdf/2312.14870v1 | http://arxiv.org/abs/2312.14870v1 | Abhinav Arun, Ashish Dhiman, Mehul Soni, Yibei Hu | 2023-12-22T17:46:36Z | cs.CL | Financial reports offer critical insights into a company's operations, yet
their extensive length typically spanning 30 40 pages poses challenges for
swift decision making in dynamic markets. To address this, we leveraged
finetuned Large Language Models (LLMs) to distill key indicators and
operational metrics from these reports basis questions from the user. We
devised a method to locate critical data, and leverage the FinQA dataset to
fine-tune both Llama-2 7B and T5 models for customized question answering. We
achieved results comparable to baseline on the final numerical answer, a
competitive accuracy in numerical reasoning and calculation. | cs.CL | Numerical Reasoning for Financial Reports |
2023-12-22T17:45:19Z | http://arxiv.org/pdf/2312.14867v2 | http://arxiv.org/abs/2312.14867v2 | Max Ku, Dongfu Jiang, Cong Wei, Xiang Yue, Wenhu Chen | 2024-06-03T16:59:20Z | cs.CV, cs.AI, cs.CL, cs.MM | In the rapidly advancing field of conditional image generation research,
challenges such as limited explainability lie in effectively evaluating the
performance and capabilities of various models. This paper introduces VIEScore,
a Visual Instruction-guided Explainable metric for evaluating any conditional
image generation tasks. VIEScore leverages general knowledge from Multimodal
Large Language Models (MLLMs) as the backbone and does not require training or
fine-tuning. We evaluate VIEScore on seven prominent tasks in conditional image
tasks and found: (1) VIEScore (GPT4-o) achieves a high Spearman correlation of
0.4 with human evaluations, while the human-to-human correlation is 0.45. (2)
VIEScore (with open-source MLLM) is significantly weaker than GPT-4o and GPT-4v
in evaluating synthetic images. (3) VIEScore achieves a correlation on par with
human ratings in the generation tasks but struggles in editing tasks. With
these results, we believe VIEScore shows its great potential to replace human
judges in evaluating image synthesis tasks. | cs.CV | VIEScore: Towards Explainable Metrics for Conditional Image Synthesis Evaluation |
2023-12-22T17:39:40Z | http://arxiv.org/pdf/2312.15006v2 | http://arxiv.org/abs/2312.15006v2 | Yuhao Chen, Chloe Wong, Hanwen Yang, Juan Aguenza, Sai Bhujangari, Benthan Vu, Xun Lei, Amisha Prasad, Manny Fluss, Eric Phuong, Minghao Liu, Raja Kumar, Vanshika Vats, James Davis | 2024-02-20T18:44:20Z | cs.AI, cs.CL, cs.LG | This study critically evaluates the efficacy of prompting methods in
enhancing the mathematical reasoning capability of large language models
(LLMs). The investigation uses three prescriptive prompting methods - simple,
persona, and conversational prompting - known for their effectiveness in
enhancing the linguistic tasks of LLMs. We conduct this analysis on OpenAI's
LLM chatbot, ChatGPT-3.5, on extensive problem sets from the MATH, GSM8K, and
MMLU datasets, encompassing a broad spectrum of mathematical challenges. A
grading script adapted to each dataset is used to determine the effectiveness
of these prompting interventions in enhancing the model's mathematical analysis
power. Contrary to expectations, our empirical analysis reveals that none of
the investigated methods consistently improves over ChatGPT-3.5's baseline
performance, with some causing significant degradation. Our findings suggest
that prompting strategies do not necessarily generalize to new domains, in this
study failing to enhance mathematical performance. | cs.AI | Assessing the Impact of Prompting Methods on ChatGPT's Mathematical Capabilities |
2023-12-22T17:34:47Z | http://arxiv.org/pdf/2312.14862v1 | http://arxiv.org/abs/2312.14862v1 | Yin Luo, Qingchao Kong, Nan Xu, Jia Cao, Bao Hao, Baoyu Qu, Bo Chen, Chao Zhu, Chenyang Zhao, Donglei Zhang, Fan Feng, Feifei Zhao, Hailong Sun, Hanxuan Yang, Haojun Pan, Hongyu Liu, Jianbin Guo, Jiangtao Du, Jingyi Wang, Junfeng Li, Lei Sun, Liduo Liu, Lifeng Dong, Lili Liu, Lin Wang, Liwen Zhang, Minzheng Wang, Pin Wang, Ping Yu, Qingxiao Li, Rui Yan, Rui Zou, Ruiqun Li, Taiwen Huang, Xiaodong Wang, Xiaofei Wu, Xin Peng, Xina Zhang, Xing Fang, Xinglin Xiao, Yanni Hao, Yao Dong, Yigang Wang, Ying Liu, Yongyu Jiang, Yungan Wang, Yuqi Wang, Zhangsheng Wang, Zhaoxin Yu, Zhen Luo, Wenji Mao, Lei Wang, Dajun Zeng | 2023-12-22T17:34:47Z | cs.CL, cs.AI | As the latest advancements in natural language processing, large language
models (LLMs) have achieved human-level language understanding and generation
abilities in many real-world tasks, and even have been regarded as a potential
path to the artificial general intelligence. To better facilitate research on
LLMs, many open-source LLMs, such as Llama 2 and Falcon, have recently been
proposed and gained comparable performances to proprietary models. However,
these models are primarily designed for English scenarios and exhibit poor
performances in Chinese contexts. In this technical report, we propose YAYI 2,
including both base and chat models, with 30 billion parameters. YAYI 2 is
pre-trained from scratch on a multilingual corpus which contains 2.65 trillion
tokens filtered by our pre-training data processing pipeline. The base model is
aligned with human values through supervised fine-tuning with millions of
instructions and reinforcement learning from human feedback. Extensive
experiments on multiple benchmarks, such as MMLU and CMMLU, consistently
demonstrate that the proposed YAYI 2 outperforms other similar sized
open-source models. | cs.CL | YAYI 2: Multilingual Open-Source Large Language Models |
2023-12-22T17:34:01Z | http://arxiv.org/pdf/2401.09454v1 | http://arxiv.org/abs/2401.09454v1 | Kun Yan, Lei Ji, Zeyu Wang, Yuntao Wang, Nan Duan, Shuai Ma | 2023-12-22T17:34:01Z | cs.CV, cs.AI, cs.CL, cs.LG | In recent years, the integration of vision and language understanding has led
to significant advancements in artificial intelligence, particularly through
Vision-Language Models (VLMs). However, existing VLMs face challenges in
handling real-world applications with complex scenes and multiple objects, as
well as aligning their focus with the diverse attention patterns of human
users. In this paper, we introduce gaze information, feasibly collected by AR
or VR devices, as a proxy for human attention to guide VLMs and propose a novel
approach, Voila-A, for gaze alignment to enhance the interpretability and
effectiveness of these models in real-world applications. First, we collect
hundreds of minutes of gaze data to demonstrate that we can mimic human gaze
modalities using localized narratives. We then design an automatic data
annotation pipeline utilizing GPT-4 to generate the VOILA-COCO dataset.
Additionally, we innovate the Voila Perceiver modules to integrate gaze
information into VLMs while preserving their pretrained knowledge. We evaluate
Voila-A using a hold-out validation set and a newly collected VOILA-GAZE
Testset, which features real-life scenarios captured with a gaze-tracking
device. Our experimental results demonstrate that Voila-A significantly
outperforms several baseline models. By aligning model attention with human
gaze patterns, Voila-A paves the way for more intuitive, user-centric VLMs and
fosters engaging human-AI interaction across a wide range of applications. | cs.CV | Voila-A: Aligning Vision-Language Models with User's Gaze Attention |
2023-12-22T17:19:33Z | http://arxiv.org/pdf/2312.14845v1 | http://arxiv.org/abs/2312.14845v1 | Lois Wong | 2023-12-22T17:19:33Z | cs.CL | Providing mental healthcare to individuals with limited English proficiency
(LEP) remains a pressing problem within psychiatry. Because the majority of
individuals trained in providing psychiatric care are English speakers, the
quality of mental healthcare given to LEP patients is significantly lower than
that provided for English speakers. The provision of mental healthcare is
contingent on communication and understanding between the patient and
healthcare provider, much more so than in the realm of physical healthcare, and
English speakers are often unable to comprehend figurative language such as
metaphors used by LEPs. Hence, Figurative Language Translation is invaluable to
providing equitable psychiatric care. Now, metaphor has been shown to be
paramount in both identifying individuals struggling with mental problems and
helping those individuals understand and communicate their experiences.
Therefore, this paper aims to survey the potential of Machine Translation for
providing equitable psychiatric healthcare and highlights the need for further
research on the transferability of existing machine and metaphor translation
research in the domain of psychiatry. | cs.CL | On the Use of Metaphor Translation in Psychiatry |
2023-12-22T16:16:15Z | http://arxiv.org/pdf/2312.14798v1 | http://arxiv.org/abs/2312.14798v1 | Ben Eyal, Amir Bachar, Ophir Haroche, Michael Elhadad | 2023-12-22T16:16:15Z | cs.CL | Large Language Models (LLMs) have spurred progress in text-to-SQL, the task
of generating SQL queries from natural language questions based on a given
database schema. Despite the declarative nature of SQL, it continues to be a
complex programming language. In this paper, we investigate the potential of an
alternative query language with simpler syntax and modular specification of
complex queries. The purpose is to create a query language that can be learned
more easily by modern neural semantic parsing architectures while also enabling
non-programmers to better assess the validity of the query plans produced by an
interactive query plan assistant.
The proposed alternative query language is called Query Plan Language (QPL).
It is designed to be modular and can be translated into a restricted form of
SQL Common Table Expressions (CTEs). The aim of QPL is to make complex data
retrieval accessible to non-programmers by allowing users to express their
questions in natural language while also providing an easier-to-verify target
language. The paper demonstrates how neural LLMs can benefit from QPL's
modularity to generate complex query plans in a compositional manner. This
involves a question decomposition strategy and a planning stage.
We conduct experiments on a version of the Spider text-to-SQL dataset that
has been converted to QPL. The hierarchical structure of QPL programs enables
us to measure query complexity naturally. Based on this assessment, we identify
the low accuracy of existing text-to-SQL systems on complex compositional
queries. We present ways to address the challenge of complex queries in an
iterative, user-controlled manner, using fine-tuned LLMs and a variety of
prompting strategies in a compositional manner. | cs.CL | Semantic Parsing for Complex Data Retrieval: Targeting Query Plans vs. SQL for No-Code Access to Relational Databases |
2023-12-22T15:38:13Z | http://arxiv.org/pdf/2312.14769v3 | http://arxiv.org/abs/2312.14769v3 | Abiodun Finbarrs Oketunji, Muhammad Anas, Deepthi Saina | 2023-12-29T11:07:09Z | cs.CL, cs.AI, cs.CY, cs.LG, I.2.7, I.2.7 | The Large Language Model Bias Index (LLMBI) is a pioneering approach designed
to quantify and address biases inherent in large language models (LLMs), such
as GPT-4. We recognise the increasing prevalence and impact of LLMs across
diverse sectors. This research introduces a novel metric, LLMBI, to
systematically measure and mitigate biases potentially skewing model responses.
We formulated LLMBI using a composite scoring system incorporating multiple
dimensions of bias, including but not limited to age, gender, and racial
biases. To operationalise this metric, we engaged in a multi-step process
involving collecting and annotating LLM responses, applying sophisticated
Natural Language Processing (NLP) techniques for bias detection, and computing
the LLMBI score through a specially crafted mathematical formula. The formula
integrates weighted averages of various bias dimensions, a penalty for dataset
diversity deficiencies, and a correction for sentiment biases. Our empirical
analysis, conducted using responses from OpenAI's API, employs advanced
sentiment analysis as a representative method for bias detection. The research
reveals LLMs, whilst demonstrating impressive capabilities in text generation,
exhibit varying degrees of bias across different dimensions. LLMBI provides a
quantifiable measure to compare biases across models and over time, offering a
vital tool for systems engineers, researchers and regulators in enhancing the
fairness and reliability of LLMs. It highlights the potential of LLMs in
mimicking unbiased human-like responses. Additionally, it underscores the
necessity of continuously monitoring and recalibrating such models to align
with evolving societal norms and ethical standards. | cs.CL | Large Language Model (LLM) Bias Index -- LLMBI |
2023-12-22T14:46:02Z | http://arxiv.org/pdf/2312.14737v1 | http://arxiv.org/abs/2312.14737v1 | Hayate Funakura, Koji Mineshima | 2023-12-22T14:46:02Z | cs.CL, cs.AI, cs.LO | We present a compositional semantics for various types of polar questions and
wh-questions within the framework of Combinatory Categorial Grammar (CCG). To
assess the explanatory power of our proposed analysis, we introduce a
question-answering dataset QSEM specifically designed to evaluate the semantics
of interrogative sentences. We implement our analysis using existing CCG
parsers and conduct evaluations using the dataset. Through the evaluation, we
have obtained annotated data with CCG trees and semantic representations for
about half of the samples included in QSEM. Furthermore, we discuss the
discrepancy between the theoretical capacity of CCG and the capabilities of
existing CCG parsers. | cs.CL | Computational Semantics and Evaluation Benchmark for Interrogative Sentences via Combinatory Categorial Grammar |
2023-12-22T14:06:54Z | http://arxiv.org/pdf/2312.14708v1 | http://arxiv.org/abs/2312.14708v1 | Sourabrata Mukherjee, Zdeněk Kasner, Ondřej Dušek | 2023-12-22T14:06:54Z | cs.CL | Text sentiment transfer aims to flip the sentiment polarity of a sentence
(positive to negative or vice versa) while preserving its sentiment-independent
content. Although current models show good results at changing the sentiment,
content preservation in transferred sentences is insufficient. In this paper,
we present a sentiment transfer model based on polarity-aware denoising, which
accurately controls the sentiment attributes in generated text, preserving the
content to a great extent and helping to balance the style-content trade-off.
Our proposed model is structured around two key stages in the sentiment
transfer process: better representation learning using a shared encoder and
sentiment-controlled generation using separate sentiment-specific decoders.
Empirical results show that our methods outperforms state-of-the-art baselines
in terms of content preservation while staying competitive in terms of style
transfer accuracy and fluency. | cs.CL | Balancing the Style-Content Trade-Off in Sentiment Transfer Using Polarity-Aware Denoising |
2023-12-22T12:28:29Z | http://arxiv.org/pdf/2312.14646v1 | http://arxiv.org/abs/2312.14646v1 | Hongda Sun, Hongzhan Lin, Rui Yan | 2023-12-22T12:28:29Z | cs.AI, cs.CL, cs.LG | Electronic health records (EHRs) have become the foundation of machine
learning applications in healthcare, while the utility of real patient records
is often limited by privacy and security concerns. Synthetic EHR generation
provides an additional perspective to compensate for this limitation. Most
existing methods synthesize new records based on real EHR data, without
consideration of different types of events in EHR data, which cannot control
the event combinations in line with medical common sense. In this paper, we
propose MSIC, a Multi-visit health Status Inference model for Collaborative EHR
synthesis to address these limitations. First, we formulate the synthetic EHR
generation process as a probabilistic graphical model and tightly connect
different types of events by modeling the latent health states. Then, we derive
a health state inference method tailored for the multi-visit scenario to
effectively utilize previous records to synthesize current and future records.
Furthermore, we propose to generate medical reports to add textual descriptions
for each medical event, providing broader applications for synthesized EHR
data. For generating different paragraphs in each visit, we incorporate a
multi-generator deliberation framework to collaborate the message passing of
multiple generators and employ a two-phase decoding strategy to generate
high-quality reports. Our extensive experiments on the widely used benchmarks,
MIMIC-III and MIMIC-IV, demonstrate that MSIC advances state-of-the-art results
on the quality of synthetic data while maintaining low privacy risks. | cs.AI | Collaborative Synthesis of Patient Records through Multi-Visit Health State Inference |
2023-12-22T11:12:45Z | http://arxiv.org/pdf/2312.14609v1 | http://arxiv.org/abs/2312.14609v1 | Atsunori Ogawa, Naohiro Tawara, Takatomo Kano, Marc Delcroix | 2023-12-22T11:12:45Z | eess.AS, cs.CL | Confidence estimation, in which we estimate the reliability of each
recognized token (e.g., word, sub-word, and character) in automatic speech
recognition (ASR) hypotheses and detect incorrectly recognized tokens, is an
important function for developing ASR applications. In this study, we perform
confidence estimation for end-to-end (E2E) ASR hypotheses. Recent E2E ASR
systems show high performance (e.g., around 5% token error rates) for various
ASR tasks. In such situations, confidence estimation becomes difficult since we
need to detect infrequent incorrect tokens from mostly correct token sequences.
To tackle this imbalanced dataset problem, we employ a bidirectional long
short-term memory (BLSTM)-based model as a strong binary-class
(correct/incorrect) sequence labeler that is trained with a class balancing
objective. We experimentally confirmed that, by utilizing several types of ASR
decoding scores as its auxiliary features, the model steadily shows high
confidence estimation performance under highly imbalanced settings. We also
confirmed that the BLSTM-based model outperforms Transformer-based confidence
estimation models, which greatly underestimate incorrect tokens. | eess.AS | BLSTM-Based Confidence Estimation for End-to-End Speech Recognition |
2023-12-22T10:29:43Z | http://arxiv.org/pdf/2312.14591v4 | http://arxiv.org/abs/2312.14591v4 | Weiwen Xu, Deng Cai, Zhisong Zhang, Wai Lam, Shuming Shi | 2024-06-06T04:16:54Z | cs.CL | As humans, we consistently interact with our peers and receive feedback in
the form of natural language. This language feedback allows us to maintain
appropriate behavior, and rectify potential errors. The question arises
naturally: can we use language feedback to align large language models (LLMs)?
In contrast to previous research that aligns LLMs with scalar rewards, we
present the first systematic exploration of alignment through the lens of
language feedback (i.e., judgment). We start with an in-depth investigation of
potential methods that can be adapted for aligning LLMs with judgments,
revealing that these methods cannot fully capitalize on judgments. To
facilitate more effective utilization of judgments, we propose a novel
framework, Contrastive Unlikelihood Training (CUT), that allows for
fine-grained inappropriate content detection and correction based on judgments.
Our results show that, with merely 1317 off-the-shelf judgment data, CUT
(LLaMA2-13b) can beat the 175B DaVinci003 and surpass the best baseline by
50.84 points on AlpacaEval. CUT (LLaMA2-chat-13b) can also align LLMs in an
iterative fashion using up-to-date model-specific judgments, improving
performance from 81.09 to 91.68 points on AlpacaEval. Further analysis suggests
that judgments hold greater potential than rewards in LLM alignment. | cs.CL | Reasons to Reject? Aligning Language Models with Judgments |
2023-12-22T10:29:18Z | http://arxiv.org/pdf/2312.14590v2 | http://arxiv.org/abs/2312.14590v2 | Zhenlin Su, Liyan Xu, Jin Xu, Jiangnan Li, Mingdu Huangfu | 2024-02-19T09:25:44Z | cs.CL, cs.LG | Identifying speakers of quotations in narratives is an important task in
literary analysis, with challenging scenarios including the out-of-domain
inference for unseen speakers, and non-explicit cases where there are no
speaker mentions in surrounding context. In this work, we propose a simple and
effective approach SIG, a generation-based method that verbalizes the task and
quotation input based on designed prompt templates, which also enables easy
integration of other auxiliary tasks that further bolster the speaker
identification performance. The prediction can either come from direct
generation by the model, or be determined by the highest generation probability
of each speaker candidate. Based on our approach design, SIG supports
out-of-domain evaluation, and achieves open-world classification paradigm that
is able to accept any forms of candidate input. We perform both cross-domain
evaluation and in-domain evaluation on PDNC, the largest dataset of this task,
where empirical results suggest that SIG outperforms previous baselines of
complicated designs, as well as the zero-shot ChatGPT, especially excelling at
those hard non-explicit scenarios by up to 17% improvement. Additional
experiments on another dataset WP further corroborate the efficacy of SIG. | cs.CL | SIG: Speaker Identification in Literature via Prompt-Based Generation |
2023-12-22T09:30:41Z | http://arxiv.org/pdf/2312.14557v2 | http://arxiv.org/abs/2312.14557v2 | Rongsheng Wang, Haoming Chen, Ruizhe Zhou, Yaofei Duan, Kunyan Cai, Han Ma, Jiaxi Cui, Jian Li, Patrick Cheong-Iao Pang, Yapeng Wang, Tao Tan | 2024-01-01T09:24:47Z | cs.CL | Existing research has demonstrated that refining large language models (LLMs)
through the utilization of machine-generated instruction-following data
empowers these models to exhibit impressive zero-shot capabilities for novel
tasks, without requiring human-authored instructions. In this paper, we
systematically investigate, preprocess, and integrate three Chinese
instruction-following datasets with the aim of enhancing the Chinese
conversational capabilities of Mixtral-8x7B sparse Mixture-of-Experts model.
Through instruction fine-tuning on this carefully processed dataset, we
successfully construct the Mixtral-8x7B sparse Mixture-of-Experts model named
"Aurora." To assess the performance of Aurora, we utilize three widely
recognized benchmark tests: C-Eval, MMLU, and CMMLU. Empirical studies validate
the effectiveness of instruction fine-tuning applied to Mixtral-8x7B sparse
Mixture-of-Experts model. This work is pioneering in the execution of
instruction fine-tuning on a sparse expert-mixed model, marking a significant
breakthrough in enhancing the capabilities of this model architecture. Our
code, data and model are publicly available at
https://github.com/WangRongsheng/Aurora | cs.CL | Aurora:Activating Chinese chat capability for Mixtral-8x7B sparse Mixture-of-Experts through Instruction-Tuning |
2023-12-22T09:13:24Z | http://arxiv.org/pdf/2312.14542v1 | http://arxiv.org/abs/2312.14542v1 | Nikhilesh Bhatnagar, Ashok Urlana, Vandan Mujadia, Pruthwik Mishra, Dipti Misra Sharma | 2023-12-22T09:13:24Z | cs.CL | Cross-lingual summarization involves the summarization of text written in one
language to a different one. There is a body of research addressing
cross-lingual summarization from English to other European languages. In this
work, we aim to perform cross-lingual summarization from English to Hindi. We
propose pairing up the coverage of newsworthy events in textual and video
format can prove to be helpful for data acquisition for cross lingual
summarization. We analyze the data and propose methods to match articles to
video descriptions that serve as document and summary pairs. We also outline
filtering methods over reasonable thresholds to ensure the correctness of the
summaries. Further, we make available 28,583 mono and cross-lingual
article-summary pairs https://github.com/tingc9/Cross-Sum-News-Aligned. We also
build and analyze multiple baselines on the collected data and report error
analysis. | cs.CL | Automatic Data Retrieval for Cross Lingual Summarization |
2023-12-22T08:08:45Z | http://arxiv.org/pdf/2312.14504v2 | http://arxiv.org/abs/2312.14504v2 | Hisaichi Shibata | 2024-01-04T02:49:21Z | cs.CL, cs.LG | This study aims to acquire knowledge for creating very large language models
that are immune to hallucinations. Hallucinations in contemporary large
language models are often attributed to a misunderstanding of real-world social
relationships. Therefore, I hypothesize that very large language models capable
of thoroughly grasping all these relationships will be free from
hallucinations. Additionally, I propose that certain types of equivariant
language models are adept at learning and understanding these relationships.
Building on this, I have developed a specialized cross-entropy error function
to create a hallucination scale for language models, which measures their
extent of equivariance acquisition. Utilizing this scale, I tested language
models for their ability to acquire character-level equivariance. In
particular, I introduce and employ a novel technique based on T5 (Text To Text
Transfer Transformer) that efficiently understands permuted input texts without
the need for explicit dictionaries to convert token IDs (integers) to texts
(strings). This T5 model demonstrated a moderate ability to acquire
character-level equivariance. Additionally, I discovered scale laws that can
aid in developing hallucination-free language models at the character level.
This methodology can be extended to assess equivariance acquisition at the word
level, paving the way for very large language models that can comprehensively
understand relationships and, consequently, avoid hallucinations. | cs.CL | Theory of Hallucinations based on Equivariance |
2023-12-22T07:32:47Z | http://arxiv.org/pdf/2312.14488v1 | http://arxiv.org/abs/2312.14488v1 | Aoxiong Yin, Tianyun Zhong, Haoyuan Li, Siliang Tang, Zhou Zhao | 2023-12-22T07:32:47Z | cs.CL, cs.AI | The primary objective of simultaneous machine translation (SiMT) is to
minimize latency while preserving the quality of the final translation. Drawing
inspiration from CPU branch prediction techniques, we propose incorporating
branch prediction techniques in SiMT tasks to reduce translation latency.
Specifically, we utilize a language model as a branch predictor to predict
potential branch directions, namely, future source words. Subsequently, we
utilize the predicted source words to decode the output in advance. When the
actual source word deviates from the predicted source word, we use the real
source word to decode the output again, replacing the predicted output. To
further reduce computational costs, we share the parameters of the encoder and
the branch predictor, and utilize a pre-trained language model for
initialization. Our proposed method can be seamlessly integrated with any SiMT
model. Extensive experimental results demonstrate that our approach can improve
translation quality and latency at the same time. Our code is available at
https://github.com/YinAoXiong/simt_branch_predictor . | cs.CL | Language Model is a Branch Predictor for Simultaneous Machine Translation |
2023-12-22T07:15:55Z | http://arxiv.org/pdf/2312.14480v1 | http://arxiv.org/abs/2312.14480v1 | Hongyin Zhu | 2023-12-22T07:15:55Z | cs.CR, cs.CL, cs.CY | Large language models (LLMs) are increasingly being used in Metaverse
environments to generate dynamic and realistic content and to control the
behavior of non-player characters (NPCs). However, the cybersecurity concerns
associated with LLMs have become increasingly prominent. Previous research has
primarily focused on patching system vulnerabilities to enhance cybersecurity,
but these approaches are not well-suited to the Metaverse, where the virtual
space is more complex, LLMs are vulnerable, and ethical user interaction is
critical. Moreover, the scope of cybersecurity in the Metaverse is expected to
expand significantly. This paper proposes a method for enhancing cybersecurity
through the simulation of user interaction with LLMs. Our goal is to educate
users and strengthen their defense capabilities through exposure to a
comprehensive simulation system. This system includes extensive Metaverse
cybersecurity Q&A and attack simulation scenarios. By engaging with these,
users will improve their ability to recognize and withstand risks.
Additionally, to address the ethical implications of user input, we propose
using LLMs as evaluators to assess user content across five dimensions. We
further adapt the models through vocabulary expansion training to better
understand personalized inputs and emoticons. We conduct experiments on
multiple LLMs and find that our approach is effective. | cs.CR | MetaAID 2.5: A Secure Framework for Developing Metaverse Applications via Large Language Models |
2023-12-22T05:59:00Z | http://arxiv.org/pdf/2312.17259v2 | http://arxiv.org/abs/2312.17259v2 | Jing Guo, Nan Li, Jianchuan Qi, Hang Yang, Ruiqiao Li, Yuzhen Feng, Si Zhang, Ming Xu | 2024-05-28T05:34:52Z | cs.CL, cs.AI | Large language models (LLMs) have achieved impressive linguistic
capabilities. However, a key limitation persists in their lack of human-like
memory faculties. LLMs exhibit constrained memory retention across sequential
interactions, hindering complex reasoning. This paper explores the potential of
applying cognitive psychology's working memory frameworks, to enhance LLM
architecture. The limitations of traditional LLM memory designs are analyzed,
including their isolation of distinct dialog episodes and lack of persistent
memory links. To address this, an innovative model is proposed incorporating a
centralized Working Memory Hub and Episodic Buffer access to retain memories
across episodes. This architecture aims to provide greater continuity for
nuanced contextual reasoning during intricate tasks and collaborative
scenarios. While promising, further research is required into optimizing
episodic memory encoding, storage, prioritization, retrieval, and security.
Overall, this paper provides a strategic blueprint for developing LLM agents
with more sophisticated, human-like memory capabilities, highlighting memory
mechanisms as a vital frontier in artificial general intelligence. | cs.CL | Empowering Working Memory for Large Language Model Agents |
2023-12-22T04:01:30Z | http://arxiv.org/pdf/2312.14423v1 | http://arxiv.org/abs/2312.14423v1 | Samaksh Gulati, Anshit Verma, Manoj Parmar, Palash Chaudhary | 2023-12-22T04:01:30Z | cs.CL | Large "instruction-tuned" language models (i.e., finetuned to respond to
instructions) have demonstrated a remarkable ability to generalize zero-shot to
new tasks. Nevertheless, they depend heavily on human-written instruction data
that is often limited in quantity, diversity, and creativity, therefore
hindering the generality of the tuned model. We conducted a quantitative study
to figure out the efficacy of machine-generated annotations, where we compare
the results of a fine-tuned BERT model with human v/s machine-generated
annotations. Applying our methods to the vanilla GPT-3 model, we saw that
machine generated annotations were 78.54% correct and the fine-tuned model
achieved a 96.01% model performance compared to the performance with
human-labelled annotations. This result shows that machine-generated
annotations are a resource and cost effective way to fine-tune down-stream
models. | cs.CL | Efficacy of Machine-Generated Instructions |
2023-12-22T02:39:15Z | http://arxiv.org/pdf/2312.17257v1 | http://arxiv.org/abs/2312.17257v1 | Ruifeng Yuan, Shichao Sun, Zili Wang, Ziqiang Cao, Wenjie Li | 2023-12-22T02:39:15Z | cs.CL, cs.AI | With the rapid development of large language models, AI assistants like
ChatGPT have widely entered people's works and lives. In this paper, we present
an evolving large language model assistant that utilizes verbal long-term
memory. It focuses on preserving the knowledge and experience from the history
dialogue between the user and AI assistant, which can be applied to future
dialogue for generating a better response. The model generates a set of records
for each finished dialogue and stores them in the memory. In later usage, given
a new user input, the model uses it to retrieve its related memory to improve
the quality of the response. To find the best form of memory, we explore
different ways of constructing the memory and propose a new memorizing
mechanism called conditional memory to solve the problems in previous methods.
We also investigate the retrieval and usage of memory in the generation
process. The assistant uses GPT-4 as the backbone and we evaluate it on three
constructed test datasets focusing on different abilities required by an AI
assistant with long-term memory. | cs.CL | Evolving Large Language Model Assistant with Long-Term Conditional Memory |
2023-12-22T00:31:46Z | http://arxiv.org/pdf/2312.14346v2 | http://arxiv.org/abs/2312.14346v2 | Priyesh Vakharia, Devavrat Joshi, Meenal Chavan, Dhananjay Sonawane, Bhrigu Garg, Parsa Mazaheri | 2024-04-03T02:49:25Z | cs.CL, cs.AI | Large Language Models (LLMs) are adept at text manipulation -- tasks such as
machine translation and text summarization. However, these models can also be
prone to hallucination, which can be detrimental to the faithfulness of any
answers that the model provides. Recent works in combating hallucinations in
LLMs deal with identifying hallucinated sentences and categorizing the
different ways in which models hallucinate. This paper takes a deep dive into
LLM behavior with respect to hallucinations, defines a token-level approach to
identifying different kinds of hallucinations, and further utilizes this
token-level tagging to improve the interpretability and faithfulness of LLMs in
dialogue summarization tasks. Through this, the paper presents a new, enhanced
dataset and a new training paradigm. | cs.CL | Don't Believe Everything You Read: Enhancing Summarization Interpretability through Automatic Identification of Hallucinations in Large Language Models |
2023-12-22T00:30:10Z | http://arxiv.org/pdf/2312.14345v2 | http://arxiv.org/abs/2312.14345v2 | Behnam Rahdari, Hao Ding, Ziwei Fan, Yifei Ma, Zhuotong Chen, Anoop Deoras, Branislav Kveton | 2024-01-17T22:05:50Z | cs.AI, cs.CL, cs.HC | The unique capabilities of Large Language Models (LLMs), such as the natural
language text generation ability, position them as strong candidates for
providing explanation for recommendations. However, despite the size of the
LLM, most existing models struggle to produce zero-shot explanations reliably.
To address this issue, we propose a framework called Logic-Scaffolding, that
combines the ideas of aspect-based explanation and chain-of-thought prompting
to generate explanations through intermediate reasoning steps. In this paper,
we share our experience in building the framework and present an interactive
demonstration for exploring our results. | cs.AI | Logic-Scaffolding: Personalized Aspect-Instructed Recommendation Explanation Generation using LLMs |
2023-12-21T23:42:13Z | http://arxiv.org/pdf/2312.14335v2 | http://arxiv.org/abs/2312.14335v2 | Zhichao Xu | 2023-12-31T22:31:48Z | cs.CL, cs.IR | Query-focused summarization (QFS) aims to provide a summary of a single
document/multi documents that can satisfy the information needs of a given
query. It is useful for various real-world applications, such as abstractive
snippet generation or more recent retrieval augmented generation (RAG). A
prototypical QFS pipeline consists of a retriever (sparse or dense retrieval)
and a generator (usually a large language model). However, applying large
language models (LLM) potentially leads to hallucinations, especially when the
evidence contradicts the prior belief of LLMs. There has been growing interest
in developing new decoding methods to improve generation quality and reduce
hallucination. In this work, we conduct a large-scale reproducibility study on
one recently proposed decoding method -- Context-aware Decoding (CAD). In
addition to replicating CAD's experiments on news summarization datasets, we
include experiments on QFS datasets, and conduct more rigorous analysis on
computational complexity and hyperparameter sensitivity. Experiments with eight
different language models show that performance-wise, CAD improves QFS quality
by (1) reducing factuality errors/hallucinations while (2) mostly retaining the
match of lexical patterns, measured by ROUGE scores, while also at a cost of
increased inference-time FLOPs and reduced decoding speed. The code
implementation based on Huggingface Library is made available
https://github.com/zhichaoxu-shufe/context-aware-decoding-qfs | cs.CL | Context-aware Decoding Reduces Hallucination in Query-focused Summarization |
2023-12-21T22:52:44Z | http://arxiv.org/pdf/2312.14327v1 | http://arxiv.org/abs/2312.14327v1 | Katrin Tomanek, Shanqing Cai, Subhashini Venugopalan | 2023-12-21T22:52:44Z | cs.CL | Abbreviation expansion is a strategy used to speed up communication by
limiting the amount of typing and using a language model to suggest expansions.
Here we look at personalizing a Large Language Model's (LLM) suggestions based
on prior conversations to enhance the relevance of predictions, particularly
when the user data is small (~1000 samples). Specifically, we compare
fine-tuning, prompt-tuning, and retrieval augmented generation of expanded text
suggestions for abbreviated inputs. Our case study with a deployed 8B parameter
LLM on a real user living with ALS, and experiments on movie character
personalization indicates that (1) customization may be necessary in some
scenarios and prompt-tuning generalizes well to those, (2) fine-tuning on
in-domain data (with as few as 600 samples) still shows some gains, however (3)
retrieval augmented few-shot selection also outperforms fine-tuning. (4)
Parameter efficient tuning allows for efficient and scalable personalization.
For prompt-tuning, we also find that initializing the learned "soft-prompts" to
user relevant concept tokens leads to higher accuracy than random
initialization. | cs.CL | Parameter Efficient Tuning Allows Scalable Personalization of LLMs for Text Entry: A Case Study on Abbreviation Expansion |
2023-12-21T22:50:14Z | http://arxiv.org/pdf/2312.17256v1 | http://arxiv.org/abs/2312.17256v1 | Wolfgang Messner, Tatum Greene, Josephine Matalone | 2023-12-21T22:50:14Z | cs.CL, cs.AI, cs.HC, cs.IR, cs.LG | Large language models (LLMs) are able to engage in natural-sounding
conversations with humans, showcasing unprecedented capabilities for
information retrieval and automated decision support. They have disrupted
human-technology interaction and the way businesses operate. However,
technologies based on generative artificial intelligence (GenAI) are known to
hallucinate, misinform, and display biases introduced by the massive datasets
on which they are trained. Existing research indicates that humans may
unconsciously internalize these biases, which can persist even after they stop
using the programs. This study explores the cultural self-perception of LLMs by
prompting ChatGPT (OpenAI) and Bard (Google) with value questions derived from
the GLOBE project. The findings reveal that their cultural self-perception is
most closely aligned with the values of English-speaking countries and
countries characterized by sustained economic competitiveness. Recognizing the
cultural biases of LLMs and understanding how they work is crucial for all
members of society because one does not want the black box of artificial
intelligence to perpetuate bias in humans, who might, in turn, inadvertently
create and train even more biased algorithms. | cs.CL | From Bytes to Biases: Investigating the Cultural Self-Perception of Large Language Models |
2023-12-21T21:22:41Z | http://arxiv.org/pdf/2312.14302v1 | http://arxiv.org/abs/2312.14302v1 | Kellin Pelrine, Mohammad Taufeeque, Michał Zając, Euan McLean, Adam Gleave | 2023-12-21T21:22:41Z | cs.CR, cs.AI, cs.CL, cs.LG, I.2.7 | Language model attacks typically assume one of two extreme threat models:
full white-box access to model weights, or black-box access limited to a text
generation API. However, real-world APIs are often more flexible than just text
generation: these APIs expose ``gray-box'' access leading to new threat
vectors. To explore this, we red-team three new functionalities exposed in the
GPT-4 APIs: fine-tuning, function calling and knowledge retrieval. We find that
fine-tuning a model on as few as 15 harmful examples or 100 benign examples can
remove core safeguards from GPT-4, enabling a range of harmful outputs.
Furthermore, we find that GPT-4 Assistants readily divulge the function call
schema and can be made to execute arbitrary function calls. Finally, we find
that knowledge retrieval can be hijacked by injecting instructions into
retrieval documents. These vulnerabilities highlight that any additions to the
functionality exposed by an API can create new vulnerabilities. | cs.CR | Exploiting Novel GPT-4 APIs |
2023-12-21T20:17:01Z | http://arxiv.org/pdf/2312.14279v2 | http://arxiv.org/abs/2312.14279v2 | Xingfang Wu, Eric Laufer, Heng Li, Foutse Khomh, Santhosh Srinivasan, Jayden Luo | 2024-04-10T14:25:30Z | cs.SE, cs.CL, cs.LG | With the rapid growth of the developer community, the amount of posts on
online technical forums has been growing rapidly, which poses difficulties for
users to filter useful posts and find important information. Tags provide a
concise feature dimension for users to locate their interested posts and for
search engines to index the most relevant posts according to the queries.
However, most tags are only focused on the technical perspective (e.g., program
language, platform, tool). In most cases, forum posts in online developer
communities reveal the author's intentions to solve a problem, ask for advice,
share information, etc. The modeling of the intentions of posts can provide an
extra dimension to the current tag taxonomy. By referencing previous studies
and learning from industrial perspectives, we create a refined taxonomy for the
intentions of technical forum posts. Through manual labeling and analysis on a
sampled post dataset extracted from online forums, we understand the relevance
between the constitution of posts (code, error messages) and their intentions.
Furthermore, inspired by our manual study, we design a pre-trained
transformer-based model to automatically predict post intentions. The best
variant of our intention prediction framework, which achieves a Micro F1-score
of 0.589, Top 1-3 accuracy of 62.6% to 87.8%, and an average AUC of 0.787,
outperforms the state-of-the-art baseline approach. Our characterization and
automated classification of forum posts regarding their intentions may help
forum maintainers or third-party tool developers improve the organization and
retrieval of posts on technical forums. We have released our annotated dataset
and codes in our supplementary material package. | cs.SE | Characterizing and Classifying Developer Forum Posts with their Intentions |
2023-12-21T17:47:33Z | http://arxiv.org/pdf/2312.14069v1 | http://arxiv.org/abs/2312.14069v1 | Maureen de Seyssel, Antony D'Avirro, Adina Williams, Emmanuel Dupoux | 2023-12-21T17:47:33Z | cs.CL, cs.SD, eess.AS | We introduce EmphAssess, a prosodic benchmark designed to evaluate the
capability of speech-to-speech models to encode and reproduce prosodic
emphasis. We apply this to two tasks: speech resynthesis and speech-to-speech
translation. In both cases, the benchmark evaluates the ability of the model to
encode emphasis in the speech input and accurately reproduce it in the output,
potentially across a change of speaker and language. As part of the evaluation
pipeline, we introduce EmphaClass, a new model that classifies emphasis at the
frame or word level. | cs.CL | EmphAssess : a Prosodic Benchmark on Assessing Emphasis Transfer in Speech-to-Speech Models |
2023-12-21T17:02:06Z | http://arxiv.org/pdf/2312.14033v3 | http://arxiv.org/abs/2312.14033v3 | Zehui Chen, Weihua Du, Wenwei Zhang, Kuikun Liu, Jiangning Liu, Miao Zheng, Jingming Zhuo, Songyang Zhang, Dahua Lin, Kai Chen, Feng Zhao | 2024-01-15T03:18:25Z | cs.CL | Large language models (LLM) have achieved remarkable performance on various
NLP tasks and are augmented by tools for broader applications. Yet, how to
evaluate and analyze the tool-utilization capability of LLMs is still
under-explored. In contrast to previous works that evaluate models
holistically, we comprehensively decompose the tool utilization into multiple
sub-processes, including instruction following, planning, reasoning, retrieval,
understanding, and review. Based on that, we further introduce T-Eval to
evaluate the tool utilization capability step by step. T-Eval disentangles the
tool utilization evaluation into several sub-domains along model capabilities,
facilitating the inner understanding of both holistic and isolated competency
of LLMs. We conduct extensive experiments on T-Eval and in-depth analysis of
various LLMs. T-Eval not only exhibits consistency with the outcome-oriented
evaluation but also provides a more fine-grained analysis of the capabilities
of LLMs, providing a new perspective in LLM evaluation on tool-utilization
ability. The benchmark will be available at
https://github.com/open-compass/T-Eval. | cs.CL | T-Eval: Evaluating the Tool Utilization Capability of Large Language Models Step by Step |
2023-12-21T16:44:39Z | http://arxiv.org/pdf/2312.14226v1 | http://arxiv.org/abs/2312.14226v1 | Liyi Zhang, R. Thomas McCoy, Theodore R. Sumers, Jian-Qiao Zhu, Thomas L. Griffiths | 2023-12-21T16:44:39Z | cs.CL, cs.AI, cs.LG, stat.ML, I.2.6; I.2.7 | Large language models (LLMs) can produce long, coherent passages of text,
suggesting that LLMs, although trained on next-word prediction, must represent
the latent structure that characterizes a document. Prior work has found that
internal representations of LLMs encode one aspect of latent structure, namely
syntax; here we investigate a complementary aspect, namely the document's topic
structure. We motivate the hypothesis that LLMs capture topic structure by
connecting LLM optimization to implicit Bayesian inference. De Finetti's
theorem shows that exchangeable probability distributions can be represented as
a mixture with respect to a latent generating distribution. Although text is
not exchangeable at the level of syntax, exchangeability is a reasonable
starting assumption for topic structure. We thus hypothesize that predicting
the next token in text will lead LLMs to recover latent topic distributions. We
examine this hypothesis using Latent Dirichlet Allocation (LDA), an
exchangeable probabilistic topic model, as a target, and we show that the
representations formed by LLMs encode both the topics used to generate
synthetic data and those used to explain natural corpus data. | cs.CL | Deep de Finetti: Recovering Topic Distributions from Large Language Models |
2023-12-21T15:46:36Z | http://arxiv.org/pdf/2312.13961v1 | http://arxiv.org/abs/2312.13961v1 | Rayden Tseng, Suzan Verberne, Peter van der Putten | 2023-12-21T15:46:36Z | cs.CL, cs.CY | ChatGPT, GPT-3.5, and other large language models (LLMs) have drawn
significant attention since their release, and the abilities of these models
have been investigated for a wide variety of tasks. In this research we
investigate to what extent GPT-3.5 can generate human-like comments on Dutch
news articles. We define human likeness as `not distinguishable from human
comments', approximated by the difficulty of automatic classification between
human and GPT comments. We analyze human likeness across multiple prompting
techniques. In particular, we utilize zero-shot, few-shot and context prompts,
for two generated personas. We found that our fine-tuned BERT models can easily
distinguish human-written comments from GPT-3.5 generated comments, with none
of the used prompting methods performing noticeably better. We further analyzed
that human comments consistently showed higher lexical diversity than
GPT-generated comments. This indicates that although generative LLMs can
generate fluent text, their capability to create human-like opinionated
comments is still limited. | cs.CL | ChatGPT as a commenter to the news: can LLMs generate human-like opinions? |
2023-12-21T15:38:41Z | http://arxiv.org/pdf/2312.13951v1 | http://arxiv.org/abs/2312.13951v1 | Kunat Pipatanakul, Phatrasek Jirabovonvisut, Potsawee Manakul, Sittipong Sripaisarnmongkol, Ruangsak Patomwong, Pathomporn Chokchainant, Kasima Tharnpipitchai | 2023-12-21T15:38:41Z | cs.CL, cs.AI | Typhoon is a series of Thai large language models (LLMs) developed
specifically for the Thai language. This technical report presents challenges
and insights in developing Thai LLMs, including data preparation, pretraining,
instruction-tuning, and evaluation. As one of the challenges of low-resource
languages is the amount of pretraining data, we apply continual training to
transfer existing world knowledge from a strong LLM. To evaluate the Thai
knowledge encapsulated in each model from the pretraining stage, we develop
ThaiExam, a benchmark based on examinations for high-school students and
investment professionals in Thailand. In addition, we fine-tune Typhoon to
follow Thai instructions, and we evaluate instruction-tuned models on Thai
instruction datasets as well as translation, summarization, and
question-answering tasks. Experimental results on a suite of Thai benchmarks
show that Typhoon outperforms all open-source Thai language models, and its
performance is on par with GPT-3.5 in Thai while having only 7 billion
parameters and being 2.62 times more efficient in tokenizing Thai text. | cs.CL | Typhoon: Thai Large Language Models |
2023-12-21T15:28:02Z | http://arxiv.org/pdf/2312.13933v5 | http://arxiv.org/abs/2312.13933v5 | Dou Hu, Lingwei Wei, Yaxin Liu, Wei Zhou, Songlin Hu | 2024-05-02T05:18:45Z | cs.CL, cs.LG | This paper presents a new supervised representation learning framework,
namely structured probabilistic coding (SPC), to learn compact and informative
representations from input related to the target task. SPC is an encoder-only
probabilistic coding technology with a structured regularization from the
target space. It can enhance the generalization ability of pre-trained language
models for better language understanding. Specifically, our probabilistic
coding simultaneously performs information encoding and task prediction in one
module to more fully utilize the effective information from input data. It uses
variational inference in the output space to reduce randomness and uncertainty.
Besides, to better control the learning process of probabilistic
representations, a structured regularization is proposed to promote uniformity
across classes in the latent space. With the regularization term, SPC can
preserve the Gaussian structure of the latent code and achieve better coverage
of the hidden space with class uniformly. Experimental results on 12 natural
language understanding tasks demonstrate that our SPC effectively improves the
performance of pre-trained language models for classification and regression.
Extensive experiments show that SPC can enhance the generalization capability,
robustness to label noise, and clustering quality of output representations. | cs.CL | Structured Probabilistic Coding |
2023-12-21T14:51:04Z | http://arxiv.org/pdf/2312.13905v2 | http://arxiv.org/abs/2312.13905v2 | Benjamin Alt, Urs Keßner, Aleksandar Taranovic, Darko Katic, Andreas Hermann, Rainer Jäkel, Gerhard Neumann | 2024-04-21T09:24:39Z | cs.RO, cs.AI, cs.CL, cs.HC, cs.LG, 68T40, I.2.9; I.2.5; I.2.6; I.2.7 | Industrial robots are applied in a widening range of industries, but robot
programming mostly remains a task limited to programming experts. We propose a
natural language-based assistant for programming of advanced, industrial
robotic applications and investigate strategies for domain-specific fine-tuning
of foundation models with limited data and compute. | cs.RO | Domain-Specific Fine-Tuning of Large Language Models for Interactive Robot Programming |
2023-12-21T14:26:57Z | http://arxiv.org/pdf/2312.13881v1 | http://arxiv.org/abs/2312.13881v1 | Juraj Vladika, Alexander Fichtl, Florian Matthes | 2023-12-21T14:26:57Z | cs.CL | Recent advances in natural language processing (NLP) owe their success to
pre-training language models on large amounts of unstructured data. Still,
there is an increasing effort to combine the unstructured nature of LMs with
structured knowledge and reasoning. Particularly in the rapidly evolving field
of biomedical NLP, knowledge-enhanced language models (KELMs) have emerged as
promising tools to bridge the gap between large language models and
domain-specific knowledge, considering the available biomedical knowledge
graphs (KGs) curated by experts over the decades. In this paper, we develop an
approach that uses lightweight adapter modules to inject structured biomedical
knowledge into pre-trained language models (PLMs). We use two large KGs, the
biomedical knowledge system UMLS and the novel biochemical ontology OntoChem,
with two prominent biomedical PLMs, PubMedBERT and BioLinkBERT. The approach
includes partitioning knowledge graphs into smaller subgraphs, fine-tuning
adapter modules for each subgraph, and combining the knowledge in a fusion
layer. We test the performance on three downstream tasks: document
classification,question answering, and natural language inference. We show that
our methodology leads to performance improvements in several instances while
keeping requirements in computing power low. Finally, we provide a detailed
interpretation of the results and report valuable insights for future work. | cs.CL | Diversifying Knowledge Enhancement of Biomedical Language Models using Adapter Modules and Knowledge Graphs |
2023-12-21T14:20:06Z | http://arxiv.org/pdf/2312.13876v1 | http://arxiv.org/abs/2312.13876v1 | Issam Laradji, Perouz Taslakian, Sai Rajeswar, Valentina Zantedeschi, Alexandre Lacoste, Nicolas Chapados, David Vazquez, Christopher Pal, Alexandre Drouin | 2023-12-21T14:20:06Z | cs.LG, cs.CL, stat.ML | The extraction of a small number of relevant insights from vast amounts of
data is a crucial component of data-driven decision-making. However,
accomplishing this task requires considerable technical skills, domain
expertise, and human labor. This study explores the potential of using Large
Language Models (LLMs) to automate the discovery of insights in data,
leveraging recent advances in reasoning and code generation techniques. We
propose a new evaluation methodology based on a "capture the flag" principle,
measuring the ability of such models to recognize meaningful and pertinent
information (flags) in a dataset. We further propose two proof-of-concept
agents, with different inner workings, and compare their ability to capture
such flags in a real-world sales dataset. While the work reported here is
preliminary, our results are sufficiently interesting to mandate future
exploration by the community. | cs.LG | Capture the Flag: Uncovering Data Insights with Large Language Models |
2023-12-21T14:15:46Z | http://arxiv.org/pdf/2312.13871v2 | http://arxiv.org/abs/2312.13871v2 | Anouck Braggaar, Christine Liebrecht, Emiel van Miltenburg, Emiel Krahmer | 2024-04-08T07:36:48Z | cs.CL, cs.HC | This review gives an extensive overview of evaluation methods for
task-oriented dialogue systems, paying special attention to practical
applications of dialogue systems, for example for customer service. The review
(1) provides an overview of the used constructs and metrics in previous work,
(2) discusses challenges in the context of dialogue system evaluation and (3)
develops a research agenda for the future of dialogue system evaluation. We
conducted a systematic review of four databases (ACL, ACM, IEEE and Web of
Science), which after screening resulted in 122 studies. Those studies were
carefully analysed for the constructs and methods they proposed for evaluation.
We found a wide variety in both constructs and methods. Especially the
operationalisation is not always clearly reported. Newer developments
concerning large language models are discussed in two contexts: to power
dialogue systems and to use in the evaluation process. We hope that future work
will take a more critical approach to the operationalisation and specification
of the used constructs. To work towards this aim, this review ends with
recommendations for evaluation and suggestions for outstanding questions. | cs.CL | Evaluating Task-oriented Dialogue Systems: A Systematic Review of Measures, Constructs and their Operationalisations |
2023-12-21T14:03:30Z | http://arxiv.org/pdf/2312.13866v2 | http://arxiv.org/abs/2312.13866v2 | Jiaxin Bai, Chen Luo, Zheng Li, Qingyu Yin, Yangqiu Song | 2024-06-14T07:47:47Z | cs.AI, cs.CL | Understanding user intentions is essential for improving product
recommendations, navigation suggestions, and query reformulations. However,
user intentions can be intricate, involving multiple sessions and attribute
requirements connected by logical operators such as And, Or, and Not. For
instance, a user may search for Nike or Adidas running shoes across various
sessions, with a preference for purple. In another example, a user may have
purchased a mattress in a previous session and is now looking for a matching
bed frame without intending to buy another mattress. Existing research on
session understanding has not adequately addressed making product or attribute
recommendations for such complex intentions. In this paper, we present the task
of logical session complex query answering (LS-CQA), where sessions are treated
as hyperedges of items, and we frame the problem of complex intention
understanding as an LS-CQA task on an aggregated hypergraph of sessions, items,
and attributes. This is a unique complex query answering task with sessions as
ordered hyperedges. We also introduce a new model, the Logical Session Graph
Transformer (LSGT), which captures interactions among items across different
sessions and their logical connections using a transformer structure. We
analyze the expressiveness of LSGT and prove the permutation invariance of the
inputs for the logical operators. By evaluating LSGT on three datasets, we
demonstrate that it achieves state-of-the-art results. | cs.AI | Understanding Inter-Session Intentions via Complex Logical Reasoning |
2023-12-21T13:08:09Z | http://arxiv.org/pdf/2312.13816v1 | http://arxiv.org/abs/2312.13816v1 | Ryu Hirai, Shinya Iizuka, Haruhisa Iseno, Ao Guo, Jingjing Jiang, Atsumoto Ohashi, Ryuichiro Higashinaka | 2023-12-21T13:08:09Z | cs.CL, cs.AI, cs.RO | At the Dialogue Robot Competition 2023 (DRC2023), which was held to improve
the capability of dialogue robots, our team developed a system that could build
common ground and take more natural turns based on user utterance texts. Our
system generated queries for sightseeing spot searches using the common ground
and engaged in dialogue while waiting for user comprehension. | cs.CL | Team Flow at DRC2023: Building Common Ground and Text-based Turn-taking in a Travel Agent Spoken Dialogue System |
2023-12-21T12:05:19Z | http://arxiv.org/pdf/2312.14215v2 | http://arxiv.org/abs/2312.14215v2 | Sean Memery, Mirella Lapata, Kartic Subr | 2024-02-06T10:15:01Z | cs.CL, cs.AI, I.2.7; I.6 | Several machine learning methods aim to learn or reason about complex
physical systems. A common first-step towards reasoning is to infer system
parameters from observations of its behavior. In this paper, we investigate the
performance of Large Language Models (LLMs) at performing parameter inference
in the context of physical systems. Our experiments suggest that they are not
inherently suited to this task, even for simple systems. We propose a promising
direction of exploration, which involves the use of physical simulators to
augment the context of LLMs. We assess and compare the performance of different
LLMs on a simple example with and without access to physical simulation. | cs.CL | SimLM: Can Language Models Infer Parameters of Physical Systems? |
2023-12-21T11:55:10Z | http://arxiv.org/pdf/2312.13772v2 | http://arxiv.org/abs/2312.13772v2 | Chengzu Li, Han Zhou, Goran Glavaš, Anna Korhonen, Ivan Vulić | 2023-12-22T21:03:03Z | cs.CL, cs.AI, cs.LG | Following the standard supervised fine-tuning (SFT) paradigm, in-context
learning (ICL) has become an efficient approach propelled by the recent
advancements in large language models (LLMs), yielding promising performance
across various tasks in few-shot data setups. However, both paradigms are prone
to suffer from the critical problem of overconfidence (i.e., miscalibration),
especially in such limited data setups. In this work, we deliver an in-depth
analysis of the behavior across different choices of learning methods from the
perspective of both performance and calibration, as well as their interplay.
Through extensive controlled experiments, we find that simultaneous gains for
both task performance and calibration are difficult to achieve, and the problem
of miscalibration exists across all learning methods in low-resource scenarios.
To address this challenging trade-off between performance and calibration, we
then investigate the potential of self-ensembling techniques applied at
different modeling stages (e.g., variations of in-context examples or
variations in prompts or different ensembling strategies). We justify the
feasibility of self-ensembling on SFT in addition to ICL, to make the
predictions more calibrated and have comparable or even better performance. Our
work sheds light on which learning paradigm to choose and how to enhance both
task performance and calibration of LLMs. | cs.CL | On Task Performance and Model Calibration with Supervised and Self-Ensembled In-Context Learning |
2023-12-21T11:45:28Z | http://arxiv.org/pdf/2312.13766v1 | http://arxiv.org/abs/2312.13766v1 | Bowen Xing, Ivor W. Tsang | 2023-12-21T11:45:28Z | cs.CL | Existing PTLM-based models for TSC can be categorized into two groups: 1)
fine-tuning-based models that adopt PTLM as the context encoder; 2)
prompting-based models that transfer the classification task to the text/word
generation task. In this paper, we present a new perspective of leveraging PTLM
for TSC: simultaneously leveraging the merits of both language modeling and
explicit target-context interactions via contextual target attributes.
Specifically, we design the domain- and target-constrained cloze test, which
can leverage the PTLMs' strong language modeling ability to generate the given
target's attributes pertaining to the review context. The attributes contain
the background and property information of the target, which can help to enrich
the semantics of the review context and the target. To exploit the attributes
for tackling TSC, we first construct a heterogeneous information graph by
treating the attributes as nodes and combining them with (1) the syntax graph
automatically produced by the off-the-shelf dependency parser and (2) the
semantics graph of the review context, which is derived from the self-attention
mechanism. Then we propose a heterogeneous information gated graph
convolutional network to model the interactions among the attribute
information, the syntactic information, and the contextual information. The
experimental results on three benchmark datasets demonstrate the superiority of
our model, which achieves new state-of-the-art performance. | cs.CL | Exploiting Contextual Target Attributes for Target Sentiment Classification |
2023-12-21T11:43:41Z | http://arxiv.org/pdf/2312.13764v1 | http://arxiv.org/abs/2312.13764v1 | Junfei Xiao, Ziqi Zhou, Wenxuan Li, Shiyi Lan, Jieru Mei, Zhiding Yu, Alan Yuille, Yuyin Zhou, Cihang Xie | 2023-12-21T11:43:41Z | cs.CV, cs.CL, cs.LG | This paper introduces ProLab, a novel approach using property-level label
space for creating strong interpretable segmentation models. Instead of relying
solely on category-specific annotations, ProLab uses descriptive properties
grounded in common sense knowledge for supervising segmentation models. It is
based on two core designs. First, we employ Large Language Models (LLMs) and
carefully crafted prompts to generate descriptions of all involved categories
that carry meaningful common sense knowledge and follow a structured format.
Second, we introduce a description embedding model preserving semantic
correlation across descriptions and then cluster them into a set of descriptive
properties (e.g., 256) using K-Means. These properties are based on
interpretable common sense knowledge consistent with theories of human
recognition. We empirically show that our approach makes segmentation models
perform stronger on five classic benchmarks (e.g., ADE20K, COCO-Stuff, Pascal
Context, Cityscapes, and BDD). Our method also shows better scalability with
extended training steps than category-level supervision. Our interpretable
segmentation framework also emerges with the generalization ability to segment
out-of-domain or unknown categories using only in-domain descriptive
properties. Code is available at https://github.com/lambert-x/ProLab. | cs.CV | A Semantic Space is Worth 256 Language Descriptions: Make Stronger Segmentation Models with Descriptive Properties |
2023-12-21T10:19:58Z | http://arxiv.org/pdf/2312.14211v1 | http://arxiv.org/abs/2312.14211v1 | Sergi Blanco-Cuaresma, Ioana Ciucă, Alberto Accomazzi, Michael J. Kurtz, Edwin A. Henneken, Kelly E. Lockhart, Felix Grezes, Thomas Allen, Golnaz Shapurian, Carolyn S. Grant, Donna M. Thompson, Timothy W. Hostetler, Matthew R. Templeton, Shinyi Chen, Jennifer Koch, Taylor Jacovich, Daniel Chivvis, Fernanda de Macedo Alves, Jean-Claude Paquin, Jennifer Bartlett, Mugdha Polimera, Stephanie Jarmak | 2023-12-21T10:19:58Z | cs.CL, astro-ph.IM, cs.AI | Open-source Large Language Models enable projects such as NASA SciX (i.e.,
NASA ADS) to think out of the box and try alternative approaches for
information retrieval and data augmentation, while respecting data copyright
and users' privacy. However, when large language models are directly prompted
with questions without any context, they are prone to hallucination. At NASA
SciX we have developed an experiment where we created semantic vectors for our
large collection of abstracts and full-text content, and we designed a prompt
system to ask questions using contextual chunks from our system. Based on a
non-systematic human evaluation, the experiment shows a lower degree of
hallucination and better responses when using Retrieval Augmented Generation.
Further exploration is required to design new features and data augmentation
processes at NASA SciX that leverages this technology while respecting the high
level of trust and quality that the project holds. | cs.CL | Experimenting with Large Language Models and vector embeddings in NASA SciX |
2023-12-21T09:45:13Z | http://arxiv.org/pdf/2312.13694v1 | http://arxiv.org/abs/2312.13694v1 | Zhenwen Li, Jian-Guang Lou, Tao Xie | 2023-12-21T09:45:13Z | cs.CL | In order to reduce the manual cost of designing ER models, recent approaches
have been proposed to address the task of NL2ERM, i.e., automatically
generating entity-relationship (ER) models from natural language (NL)
utterances such as software requirements. These approaches are typically
rule-based ones, which rely on rigid heuristic rules; these approaches cannot
generalize well to various linguistic ways of describing the same requirement.
Despite having better generalization capability than rule-based approaches,
deep-learning-based models are lacking for NL2ERM due to lacking a large-scale
dataset. To address this issue, in this paper, we report our insight that there
exists a high similarity between the task of NL2ERM and the increasingly
popular task of text-to-SQL, and propose a data transformation algorithm that
transforms the existing data of text-to-SQL into the data of NL2ERM. We apply
our data transformation algorithm on Spider, one of the most popular
text-to-SQL datasets, and we also collect some data entries with different NL
types, to obtain a large-scale NL2ERM dataset. Because NL2ERM can be seen as a
special information extraction (IE) task, we train two state-of-the-art IE
models on our dataset. The experimental results show that both the two models
achieve high performance and outperform existing baselines. | cs.CL | Data Transformation to Construct a Dataset for Generating Entity-Relationship Model from Natural Language |
2023-12-21T08:50:41Z | http://arxiv.org/pdf/2312.13671v1 | http://arxiv.org/abs/2312.13671v1 | Xinyi He, Mengyu Zhou, Xinrun Xu, Xiaojun Ma, Rui Ding, Lun Du, Yan Gao, Ran Jia, Xu Chen, Shi Han, Zejian Yuan, Dongmei Zhang | 2023-12-21T08:50:41Z | cs.CL, cs.LG | Tabular data analysis is crucial in various fields, and large language models
show promise in this area. However, current research mostly focuses on
rudimentary tasks like Text2SQL and TableQA, neglecting advanced analysis like
forecasting and chart generation. To address this gap, we developed the
Text2Analysis benchmark, incorporating advanced analysis tasks that go beyond
the SQL-compatible operations and require more in-depth analysis. We also
develop five innovative and effective annotation methods, harnessing the
capabilities of large language models to enhance data quality and quantity.
Additionally, we include unclear queries that resemble real-world user
questions to test how well models can understand and tackle such challenges.
Finally, we collect 2249 query-result pairs with 347 tables. We evaluate five
state-of-the-art models using three different metrics and the results show that
our benchmark presents introduces considerable challenge in the field of
tabular data analysis, paving the way for more advanced research opportunities. | cs.CL | Text2Analysis: A Benchmark of Table Question Answering with Advanced Data Analysis and Unclear Queries |
2023-12-21T08:29:41Z | http://arxiv.org/pdf/2312.13655v1 | http://arxiv.org/abs/2312.13655v1 | Peng Gao, Ahmed Jaafar, Brian Reily, Christopher Reardon, Hao Zhang | 2023-12-21T08:29:41Z | cs.RO, cs.AI, cs.CL, cs.CV | Language-enabled robots have been widely studied over the past years to
enable natural human-robot interaction and teaming in various real-world
applications. Language-enabled robots must be able to comprehend referring
expressions to identify a particular object from visual perception using a set
of referring attributes extracted from natural language. However, visual
observations of an object may not be available when it is referred to, and the
number of objects and attributes may also be unbounded in open worlds. To
address the challenges, we implement an attribute-based compositional zero-shot
learning method that uses a list of attributes to perform referring expression
comprehension in open worlds. We evaluate the approach on two datasets
including the MIT-States and the Clothing 16K. The preliminary experimental
results show that our implemented approach allows a robot to correctly identify
the objects referred to by human commands. | cs.RO | Compositional Zero-Shot Learning for Attribute-Based Object Reference in Human-Robot Interaction |
2023-12-21T07:03:15Z | http://arxiv.org/pdf/2312.13614v1 | http://arxiv.org/abs/2312.13614v1 | Weiting Tan, Chu-cheng Lin, Jason Eisner | 2023-12-21T07:03:15Z | cs.LG, cs.CL | Neural finite-state transducers (NFSTs) form an expressive family of
neurosymbolic sequence transduction models. An NFST models each string pair as
having been generated by a latent path in a finite-state transducer. As they
are deep generative models, both training and inference of NFSTs require
inference networks that approximate posterior distributions over such latent
variables. In this paper, we focus on the resulting challenge of imputing the
latent alignment path that explains a given pair of input and output strings
(e.g., during training). We train three autoregressive approximate models for
amortized inference of the path, which can then be used as proposal
distributions for importance sampling. All three models perform lookahead. Our
most sophisticated (and novel) model leverages the FST structure to consider
the graph of future paths; unfortunately, we find that it loses out to the
simpler approaches -- except on an artificial task that we concocted to confuse
the simpler approaches. | cs.LG | Structure-Aware Path Inference for Neural Finite State Transducers |
2023-12-21T06:51:34Z | http://arxiv.org/pdf/2312.13608v1 | http://arxiv.org/abs/2312.13608v1 | Jiayu Lin, Rong Ye, Meng Han, Qi Zhang, Ruofei Lai, Xinyu Zhang, Zhao Cao, Xuanjing Huang, Zhongyu Wei | 2023-12-21T06:51:34Z | cs.CL | Counter-argument generation -- a captivating area in computational
linguistics -- seeks to craft statements that offer opposing views. While most
research has ventured into paragraph-level generation, sentence-level
counter-argument generation beckons with its unique constraints and
brevity-focused challenges. Furthermore, the diverse nature of
counter-arguments poses challenges for evaluating model performance solely
based on n-gram-based metrics. In this paper, we present the ArgTersely
benchmark for sentence-level counter-argument generation, drawing from a
manually annotated dataset from the ChangeMyView debate forum. We also propose
Arg-LlaMA for generating high-quality counter-argument. For better evaluation,
we trained a BERT-based evaluator Arg-Judge with human preference data. We
conducted comparative experiments involving various baselines such as LlaMA,
Alpaca, GPT-3, and others. The results show the competitiveness of our proposed
framework and evaluator in counter-argument generation tasks. Code and data are
available at https://github.com/amazingljy1206/ArgTersely. | cs.CL | Argue with Me Tersely: Towards Sentence-Level Counter-Argument Generation |
2023-12-21T05:51:55Z | http://arxiv.org/pdf/2312.13594v1 | http://arxiv.org/abs/2312.13594v1 | Chengen Lai, Shengli Song, Shiqi Meng, Jingyang Li, Sitong Yan, Guangneng Hu | 2023-12-21T05:51:55Z | cs.CL, cs.AI, cs.CV | Natural language explanation in visual question answer (VQA-NLE) aims to
explain the decision-making process of models by generating natural language
sentences to increase users' trust in the black-box systems. Existing post-hoc
methods have achieved significant progress in obtaining a plausible
explanation. However, such post-hoc explanations are not always aligned with
human logical inference, suffering from the issues on: 1) Deductive
unsatisfiability, the generated explanations do not logically lead to the
answer; 2) Factual inconsistency, the model falsifies its counterfactual
explanation for answers without considering the facts in images; and 3)
Semantic perturbation insensitivity, the model can not recognize the semantic
changes caused by small perturbations. These problems reduce the faithfulness
of explanations generated by models. To address the above issues, we propose a
novel self-supervised \textbf{M}ulti-level \textbf{C}ontrastive
\textbf{L}earning based natural language \textbf{E}xplanation model (MCLE) for
VQA with semantic-level, image-level, and instance-level factual and
counterfactual samples. MCLE extracts discriminative features and aligns the
feature spaces from explanations with visual question and answer to generate
more consistent explanations. We conduct extensive experiments, ablation
analysis, and case study to demonstrate the effectiveness of our method on two
VQA-NLE benchmarks. | cs.CL | Towards More Faithful Natural Language Explanation Using Multi-Level Contrastive Learning in VQA |
2023-12-21T05:32:49Z | http://arxiv.org/pdf/2312.13585v1 | http://arxiv.org/abs/2312.13585v1 | Zhichao Huang, Rong Ye, Tom Ko, Qianqian Dong, Shanbo Cheng, Mingxuan Wang, Hang Li | 2023-12-21T05:32:49Z | cs.CL, cs.SD, eess.AS | Given the great success of large language models (LLMs) across various tasks,
in this paper, we introduce LLM-ST, a novel and effective speech translation
model constructed upon a pre-trained LLM. By integrating the large language
model (LLM) with a speech encoder and employing multi-task instruction tuning,
LLM-ST can produce accurate timestamped transcriptions and translations, even
from long audio inputs. Furthermore, our findings indicate that the
implementation of Chain-of-Thought (CoT) prompting can yield advantages in the
context of LLM-ST. Through rigorous experimentation on English and Chinese
datasets, we showcase the exceptional performance of LLM-ST, establishing a new
benchmark in the field of speech translation. Demo:
https://speechtranslation.github.io/llm-st/. | cs.CL | Speech Translation with Large Language Models: An Industrial Practice |
2023-12-21T05:08:57Z | http://arxiv.org/pdf/2312.14203v1 | http://arxiv.org/abs/2312.14203v1 | Zhongyang Guo, Guanran Jiang, Zhongdan Zhang, Peng Li, Zhefeng Wang, Yinchun Wang | 2023-12-21T05:08:57Z | q-fin.PM, cs.CL, cs.LG | This paper introduces "Shai" a 10B level large language model specifically
designed for the asset management industry, built upon an open-source
foundational model. With continuous pre-training and fine-tuning using a
targeted corpus, Shai demonstrates enhanced performance in tasks relevant to
its domain, outperforming baseline models. Our research includes the
development of an innovative evaluation framework, which integrates
professional qualification exams, tailored tasks, open-ended question
answering, and safety assessments, to comprehensively assess Shai's
capabilities. Furthermore, we discuss the challenges and implications of
utilizing large language models like GPT-4 for performance assessment in asset
management, suggesting a combination of automated evaluation and human
judgment. Shai's development, showcasing the potential and versatility of
10B-level large language models in the financial sector with significant
performance and modest computational requirements, hopes to provide practical
insights and methodologies to assist industry peers in their similar endeavors. | q-fin.PM | Shai: A large language model for asset management |
2023-12-21T04:57:21Z | http://arxiv.org/pdf/2312.14202v1 | http://arxiv.org/abs/2312.14202v1 | Yang Lu, Jordan Yu, Shou-Hsuan Stephen Huang | 2023-12-21T04:57:21Z | cs.CL, cs.AI | This study explores the idea of AI Personality or AInality suggesting that
Large Language Models (LLMs) exhibit patterns similar to human personalities.
Assuming that LLMs share these patterns with humans, we investigate using
human-centered psychometric tests such as the Myers-Briggs Type Indicator
(MBTI), Big Five Inventory (BFI), and Short Dark Triad (SD3) to identify and
confirm LLM personality types. By introducing role-play prompts, we demonstrate
the adaptability of LLMs, showing their ability to switch dynamically between
different personality types. Using projective tests, such as the Washington
University Sentence Completion Test (WUSCT), we uncover hidden aspects of LLM
personalities that are not easily accessible through direct questioning.
Projective tests allowed for a deep exploration of LLMs cognitive processes and
thought patterns and gave us a multidimensional view of AInality. Our machine
learning analysis revealed that LLMs exhibit distinct AInality traits and
manifest diverse personality types, demonstrating dynamic shifts in response to
external instructions. This study pioneers the application of projective tests
on LLMs, shedding light on their diverse and adaptable AInality traits. | cs.CL | Illuminating the Black Box: A Psychometric Investigation into the Multifaceted Nature of Large Language Models |
2023-12-21T03:51:08Z | http://arxiv.org/pdf/2312.13558v1 | http://arxiv.org/abs/2312.13558v1 | Pratyusha Sharma, Jordan T. Ash, Dipendra Misra | 2023-12-21T03:51:08Z | cs.LG, cs.AI, cs.CL, cs.CV | Transformer-based Large Language Models (LLMs) have become a fixture in
modern machine learning. Correspondingly, significant resources are allocated
towards research that aims to further advance this technology, typically
resulting in models of increasing size that are trained on increasing amounts
of data. This work, however, demonstrates the surprising result that it is
often possible to significantly improve the performance of LLMs by selectively
removing higher-order components of their weight matrices. This simple
intervention, which we call LAyer-SElective Rank reduction (LASER), can be done
on a model after training has completed, and requires no additional parameters
or data. We show extensive experiments demonstrating the generality of this
finding across language models and datasets, and provide in-depth analyses
offering insights into both when LASER is effective and the mechanism by which
it operates. | cs.LG | The Truth is in There: Improving Reasoning in Language Models with Layer-Selective Rank Reduction |
2023-12-21T03:11:30Z | http://arxiv.org/pdf/2312.13547v1 | http://arxiv.org/abs/2312.13547v1 | Eldar Kurtic, Torsten Hoefler, Dan Alistarh | 2023-12-21T03:11:30Z | cs.CL | Pruning large language models (LLMs) from the BERT family has emerged as a
standard compression benchmark, and several pruning methods have been proposed
for this task. The recent ``Sparsity May Cry'' (SMC) benchmark put into
question the validity of all existing methods, exhibiting a more complex setup
where many known pruning methods appear to fail. We revisit the question of
accurate BERT-pruning during fine-tuning on downstream datasets, and propose a
set of general guidelines for successful pruning, even on the challenging SMC
benchmark. First, we perform a cost-vs-benefits analysis of pruning model
components, such as the embeddings and the classification head; second, we
provide a simple-yet-general way of scaling training, sparsification and
learning rate schedules relative to the desired target sparsity; finally, we
investigate the importance of proper parametrization for Knowledge Distillation
in the context of LLMs. Our simple insights lead to state-of-the-art results,
both on classic BERT-pruning benchmarks, as well as on the SMC benchmark,
showing that even classic gradual magnitude pruning (GMP) can yield competitive
results, with the right approach. | cs.CL | How to Prune Your Language Model: Recovering Accuracy on the "Sparsity May Cry'' Benchmark |
2023-12-21T03:09:38Z | http://arxiv.org/pdf/2312.13545v2 | http://arxiv.org/abs/2312.13545v2 | Katsumasa Yoshikawa, Takato Yamazaki, Masaya Ohagi, Tomoya Mizumoto, Keiya Sato | 2023-12-22T04:13:51Z | cs.CL | In recent years, large language models (LLMs) have rapidly proliferated and
have been utilized in various tasks, including research in dialogue systems. We
aimed to construct a system that not only leverages the flexible conversational
abilities of LLMs but also their advanced planning capabilities to reduce the
speaking load on human interlocutors and efficiently plan trips. Furthermore,
we propose a method that divides the complex task of a travel agency into
multiple subtasks, managing each as a separate phase to effectively accomplish
the task. Our proposed system confirmed a certain level of success by achieving
fourth place in the Dialogue Robot Competition 2023 preliminaries rounds. We
report on the challenges identified through the competition. | cs.CL | Developing Interactive Tourism Planning: A Dialogue Robot System Powered by a Large Language Model |
2023-12-21T02:28:29Z | http://arxiv.org/pdf/2312.13533v2 | http://arxiv.org/abs/2312.13533v2 | Viktor Schlegel, Abhinav Ramesh Kashyap, Thanh-Tung Nguyen, Tsung-Han Yang, Vijay Prakash Dwivedi, Wei-Hsian Yin, Jeng Wei, Stefan Winkler | 2023-12-24T08:16:46Z | cs.CL | Computerised clinical coding approaches aim to automate the process of
assigning a set of codes to medical records. While there is active research
pushing the state of the art on clinical coding for hospitalized patients, the
outpatient setting -- where doctors tend to non-hospitalised patients -- is
overlooked. Although both settings can be formalised as a multi-label
classification task, they present unique and distinct challenges, which raises
the question of whether the success of inpatient clinical coding approaches
translates to the outpatient setting. This paper is the first to investigate
how well state-of-the-art deep learning-based clinical coding approaches work
in the outpatient setting at hospital scale. To this end, we collect a large
outpatient dataset comprising over 7 million notes documenting over half a
million patients. We adapt four state-of-the-art clinical coding approaches to
this setting and evaluate their potential to assist coders. We find evidence
that clinical coding in outpatient settings can benefit from more innovations
in popular inpatient coding benchmarks. A deeper analysis of the factors
contributing to the success -- amount and form of data and choice of document
representation -- reveals the presence of easy-to-solve examples, the coding of
which can be completely automated with a low error rate. | cs.CL | Automated Clinical Coding for Outpatient Departments |
2023-12-21T01:47:49Z | http://arxiv.org/pdf/2402.01643v2 | http://arxiv.org/abs/2402.01643v2 | Md. Kowsher, Md. Shohanur Islam Sobuj, Asif Mahmud, Nusrat Jahan Prottasha, Prakash Bhat | 2024-04-13T00:14:21Z | cs.CL, cs.AI, cs.LG | Efficiently fine-tuning Large Language Models (LLMs) for specific tasks
presents a considerable challenge in natural language processing. Traditional
methods, like prompt or prefix tuning, typically rely on arbitrary tokens for
training, leading to prolonged training times and generalized token use across
various class labels. To address these issues, this paper introduces L-Tuning,
an efficient fine-tuning approach designed for classification tasks within the
Natural Language Inference (NLI) framework. Diverging from conventional
methods, L-Tuning focuses on the fine-tuning of label tokens processed through
a pre-trained LLM, thereby harnessing its pre-existing semantic knowledge. This
technique not only improves the fine-tuning accuracy and efficiency but also
facilitates the generation of distinct label embeddings for each class,
enhancing the model's training nuance. Our experimental results indicate a
significant improvement in training efficiency and classification accuracy with
L-Tuning compared to traditional approaches, marking a promising advancement in
fine-tuning LLMs for complex language tasks. | cs.CL | L-TUNING: Synchronized Label Tuning for Prompt and Prefix in LLMs |
2023-12-21T01:08:39Z | http://arxiv.org/pdf/2312.14197v3 | http://arxiv.org/abs/2312.14197v3 | Jingwei Yi, Yueqi Xie, Bin Zhu, Emre Kiciman, Guangzhong Sun, Xing Xie, Fangzhao Wu | 2024-03-08T07:58:48Z | cs.CL, cs.AI | The integration of large language models (LLMs) with external content has
enabled more up-to-date and wide-ranging applications of LLMs, such as
Microsoft Copilot. However, this integration has also exposed LLMs to the risk
of indirect prompt injection attacks, where an attacker can embed malicious
instructions within external content, compromising LLM output and causing
responses to deviate from user expectations. To investigate this important but
underexplored issue, we introduce the first benchmark for indirect prompt
injection attacks, named BIPIA, to evaluate the risk of such attacks. Based on
the evaluation, our work makes a key analysis of the underlying reason for the
success of the attack, namely the inability of LLMs to distinguish between
instructions and external content and the absence of LLMs' awareness to not
execute instructions within external content. Building upon this analysis, we
develop two black-box methods based on prompt learning and a white-box defense
method based on fine-tuning with adversarial training accordingly. Experimental
results demonstrate that black-box defenses are highly effective in mitigating
these attacks, while the white-box defense reduces the attack success rate to
near-zero levels. Overall, our work systematically investigates indirect prompt
injection attacks by introducing a benchmark, analyzing the underlying reason
for the success of the attack, and developing an initial set of defenses. | cs.CL | Benchmarking and Defending Against Indirect Prompt Injection Attacks on Large Language Models |
2023-12-21T00:16:21Z | http://arxiv.org/pdf/2312.13495v1 | http://arxiv.org/abs/2312.13495v1 | Jie Han, Yixiong Zou, Haozhao Wang, Jun Wang, Wei Liu, Yao Wu, Tao Zhang, Ruixuan Li | 2023-12-21T00:16:21Z | cs.CL, cs.AI | Few-shot intent classification and slot filling are important but challenging
tasks due to the scarcity of finely labeled data. Therefore, current works
first train a model on source domains with sufficiently labeled data, and then
transfer the model to target domains where only rarely labeled data is
available. However, experience transferring as a whole usually suffers from
gaps that exist among source domains and target domains. For instance,
transferring domain-specific-knowledge-related experience is difficult. To
tackle this problem, we propose a new method that explicitly decouples the
transferring of general-semantic-representation-related experience and the
domain-specific-knowledge-related experience. Specifically, for
domain-specific-knowledge-related experience, we design two modules to capture
intent-slot relation and slot-slot relation respectively. Extensive experiments
on Snips and FewJoint datasets show that our method achieves state-of-the-art
performance. The method improves the joint accuracy metric from 27.72% to
42.20% in the 1-shot setting, and from 46.54% to 60.79% in the 5-shot setting. | cs.CL | Decoupling Representation and Knowledge for Few-Shot Intent Classification and Slot Filling |
2023-12-20T21:28:35Z | http://arxiv.org/pdf/2312.13437v1 | http://arxiv.org/abs/2312.13437v1 | Alexander Braylan, Madalyn Marabella, Omar Alonso, Matthew Lease | 2023-12-20T21:28:35Z | cs.LG, cs.CL | Human annotations are vital to supervised learning, yet annotators often
disagree on the correct label, especially as annotation tasks increase in
complexity. A strategy to improve label quality is to ask multiple annotators
to label the same item and aggregate their labels. Many aggregation models have
been proposed for categorical or numerical annotation tasks, but far less work
has considered more complex annotation tasks involving open-ended,
multivariate, or structured responses. While a variety of bespoke models have
been proposed for specific tasks, our work is the first to introduce
aggregation methods that generalize across many diverse complex tasks,
including sequence labeling, translation, syntactic parsing, ranking, bounding
boxes, and keypoints. This generality is achieved by devising a task-agnostic
method to model distances between labels rather than the labels themselves.
This article extends our prior work with investigation of three new research
questions. First, how do complex annotation properties impact aggregation
accuracy? Second, how should a task owner navigate the many modeling choices to
maximize aggregation accuracy? Finally, what diagnoses can verify that
aggregation models are specified correctly for the given data? To understand
how various factors impact accuracy and to inform model selection, we conduct
simulation studies and experiments on real, complex datasets. Regarding
testing, we introduce unit tests for aggregation models and present a suite of
such tests to ensure that a given model is not mis-specified and exhibits
expected behavior.
Beyond investigating these research questions above, we discuss the
foundational concept of annotation complexity, present a new aggregation model
as a bridge between traditional models and our own, and contribute a new
semi-supervised learning method for complex label aggregation that outperforms
prior work. | cs.LG | A General Model for Aggregating Annotations Across Simple, Complex, and Multi-Object Annotation Tasks |
2023-12-20T21:02:09Z | http://arxiv.org/pdf/2312.13423v1 | http://arxiv.org/abs/2312.13423v1 | Yavuz Selim Kartal, Muhammad Ahsan Shahid, Sotaro Takeshita, Tornike Tsereteli, Andrea Zielinski, Benjamin Zapilko, Philipp Mayr | 2023-12-20T21:02:09Z | cs.DL, cs.CL, cs.IR | The VADIS system addresses the demand of providing enhanced information
access in the domain of the social sciences. This is achieved by allowing users
to search and use survey variables in context of their underlying research data
and scholarly publications which have been interlinked with each other. | cs.DL | VADIS -- a VAriable Detection, Interlinking and Summarization system |
2023-12-20T20:04:45Z | http://arxiv.org/pdf/2312.13401v2 | http://arxiv.org/abs/2312.13401v2 | Kai Nylund, Suchin Gururangan, Noah A. Smith | 2023-12-30T22:11:07Z | cs.CL | We present time vectors, a simple tool to customize language models to new
time periods. Time vectors are created by finetuning a language model on data
from a single time (e.g., a year or month), and then subtracting the weights of
the original pretrained model. This vector specifies a direction in weight
space that, as our experiments show, improves performance on text from that
time period. Time vectors specialized to adjacent time periods appear to be
positioned closer together in a manifold. Using this structure, we interpolate
between time vectors to induce new models that perform better on intervening
and future time periods, without any additional training. We demonstrate the
consistency of our findings across different tasks, domains, model sizes, and
time scales. Our results suggest that time is encoded in the weight space of
finetuned models. | cs.CL | Time is Encoded in the Weights of Finetuned Language Models |
2023-12-20T19:13:26Z | http://arxiv.org/pdf/2312.13382v2 | http://arxiv.org/abs/2312.13382v2 | Arnav Singhvi, Manish Shetty, Shangyin Tan, Christopher Potts, Koushik Sen, Matei Zaharia, Omar Khattab | 2024-02-02T18:20:03Z | cs.CL, cs.AI, cs.PL | Chaining language model (LM) calls as composable modules is fueling a new way
of programming, but ensuring LMs adhere to important constraints requires
heuristic "prompt engineering". We introduce LM Assertions, a programming
construct for expressing computational constraints that LMs should satisfy. We
integrate our constructs into the recent DSPy programming model for LMs, and
present new strategies that allow DSPy to compile programs with LM Assertions
into more reliable and accurate systems. We also propose strategies to use
assertions at inference time for automatic self-refinement with LMs. We report
on four diverse case studies for text generation and find that LM Assertions
improve not only compliance with imposed rules but also downstream task
performance, passing constraints up to 164% more often and generating up to 37%
more higher-quality responses. Our reference implementation of LM Assertions is
integrated into DSPy at https://github.com/stanfordnlp/dspy | cs.CL | DSPy Assertions: Computational Constraints for Self-Refining Language Model Pipelines |
2023-12-20T18:41:44Z | http://arxiv.org/pdf/2312.13264v1 | http://arxiv.org/abs/2312.13264v1 | Pablo M. Rodriguez Bertorello, Jean Rodmond Junior Laguerre | 2023-12-20T18:41:44Z | cs.CL, cs.AI, cs.DB, cs.IR, cs.LG | Data is stored in both structured and unstructured form. Querying both, to
power natural language conversations, is a challenge. This paper introduces
dIR, Discrete Information Retrieval, providing a unified interface to query
both free text and structured knowledge. Specifically, a Large Language Model
(LLM) transforms text into expressive representation. After the text is
extracted into columnar form, it can then be queried via a text-to-SQL Semantic
Parser, with an LLM converting natural language into SQL. Where desired, such
conversation may be effected by a multi-step reasoning conversational agent. We
validate our approach via a proprietary question/answer data set, concluding
that dIR makes a whole new class of queries on free text possible when compared
to traditionally fine-tuned dense-embedding-model-based Information Retrieval
(IR) and SQL-based Knowledge Bases (KB). For sufficiently complex queries, dIR
can succeed where no other method stands a chance. | cs.CL | dIR -- Discrete Information Retrieval: Conversational Search over Unstructured (and Structured) Data with Large Language Models |
2023-12-20T17:38:04Z | http://arxiv.org/pdf/2312.13219v1 | http://arxiv.org/abs/2312.13219v1 | Weiwei Gu, Anant Sah, Nakul Gopalan | 2023-12-20T17:38:04Z | cs.RO, cs.CL, cs.CV | We present a framework for robots to learn novel visual concepts and tasks
via in-situ linguistic interactions with human users. Previous approaches have
either used large pre-trained visual models to infer novel objects zero-shot,
or added novel concepts along with their attributes and representations to a
concept hierarchy. We extend the approaches that focus on learning visual
concept hierarchies by enabling them to learn novel concepts and solve unseen
robotics tasks with them. To enable a visual concept learner to solve robotics
tasks one-shot, we developed two distinct techniques. Firstly, we propose a
novel approach, Hi-Viscont(HIerarchical VISual CONcept learner for Task), which
augments information of a novel concept to its parent nodes within a concept
hierarchy. This information propagation allows all concepts in a hierarchy to
update as novel concepts are taught in a continual learning setting. Secondly,
we represent a visual task as a scene graph with language annotations, allowing
us to create novel permutations of a demonstrated task zero-shot in-situ. We
present two sets of results. Firstly, we compare Hi-Viscont with the baseline
model (FALCON) on visual question answering(VQA) in three domains. While being
comparable to the baseline model on leaf level concepts, Hi-Viscont achieves an
improvement of over 9% on non-leaf concepts on average. We compare our model's
performance against the baseline FALCON model. Our framework achieves 33%
improvements in success rate metric, and 19% improvements in the object level
accuracy compared to the baseline model. With both of these results we
demonstrate the ability of our model to learn tasks and concepts in a continual
learning setting on the robot. | cs.RO | Interactive Visual Task Learning for Robots |
2023-12-20T17:27:25Z | http://arxiv.org/pdf/2312.13211v1 | http://arxiv.org/abs/2312.13211v1 | Rahul Chand, Yashoteja Prabhu, Pratyush Kumar | 2023-12-20T17:27:25Z | cs.CL | With the tremendous success of large transformer models in natural language
understanding, down-sizing them for cost-effective deployments has become
critical. Recent studies have explored the low-rank weight factorization
techniques which are efficient to train, and apply out-of-the-box to any
transformer architecture. Unfortunately, the low-rank assumption tends to be
over-restrictive and hinders the expressiveness of the compressed model. This
paper proposes, DSFormer, a simple alternative factorization scheme which
expresses a target weight matrix as the product of a small dense and a
semi-structured sparse matrix. The resulting approximation is more faithful to
the weight distribution in transformers and therefore achieves a stronger
efficiency-accuracy trade-off. Another concern with existing factorizers is
their dependence on a task-unaware initialization step which degrades the
accuracy of the resulting model. DSFormer addresses this issue through a novel
Straight-Through Factorizer (STF) algorithm that jointly learns all the weight
factorizations to directly maximize the final task accuracy. Extensive
experiments on multiple natural language understanding benchmarks demonstrate
that DSFormer obtains up to 40% better compression than the state-of-the-art
low-rank factorizers, leading semi-structured sparsity baselines and popular
knowledge distillation approaches. Our approach is also orthogonal to
mainstream compressors and offers up to 50% additional compression when added
to popular distilled, layer-shared and quantized transformers. We empirically
evaluate the benefits of STF over conventional optimization practices. | cs.CL | DSFormer: Effective Compression of Text-Transformers by Dense-Sparse Weight Factorization |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.