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
|
---|---|---|---|---|---|---|---|---|
2024-04-28T06:27:15Z | http://arxiv.org/pdf/2404.18085v1 | http://arxiv.org/abs/2404.18085v1 | Zhengpeng Shi, Haoran Luo | 2024-04-28T06:27:15Z | cs.CL | Domain-Specific Chinese Relation Extraction (DSCRE) aims to extract relations
between entities from domain-specific Chinese text. Despite the rapid
development of PLMs in recent years, especially LLMs, DSCRE still faces three
core challenges: complex network structure design, poor awareness, and high
consumption of fine-tuning. Given the impressive performance of large language
models (LLMs) in natural language processing, we propose a new framework called
CRE-LLM. This framework is based on fine-tuning open-source LLMs, such as
Llama-2, ChatGLM2, and Baichuan2. CRE-LLM enhances the logic-awareness and
generative capabilities of the model by constructing an appropriate prompt and
utilizing open-source LLMs for instruction-supervised fine-tuning. And then it
directly extracts the relations of the given entities in the input textual
data, which improving the CRE approach. To demonstrate the effectiveness of the
proposed framework, we conducted extensive experiments on two domain-specific
CRE datasets, FinRE and SanWen. The experimental results show that CRE-LLM is
significantly superior and robust, achieving state-of-the-art (SOTA)
performance on the FinRE dataset. This paper introduces a novel approach to
domain-specific relation extraction (DSCRE) tasks that are semantically more
complex by combining LLMs with triples. Our code is publicly available. | cs.CL | CRE-LLM: A Domain-Specific Chinese Relation Extraction Framework with Fine-tuned Large Language Model |
2024-04-28T06:17:42Z | http://arxiv.org/pdf/2404.18081v2 | http://arxiv.org/abs/2404.18081v2 | Qixin Deng, Qikai Yang, Ruibin Yuan, Yipeng Huang, Yi Wang, Xubo Liu, Zeyue Tian, Jiahao Pan, Ge Zhang, Hanfeng Lin, Yizhi Li, Yinghao Ma, Jie Fu, Chenghua Lin, Emmanouil Benetos, Wenwu Wang, Guangyu Xia, Wei Xue, Yike Guo | 2024-04-30T14:14:26Z | cs.SD, cs.AI, cs.CL, cs.LG, cs.MM, eess.AS | Music composition represents the creative side of humanity, and itself is a
complex task that requires abilities to understand and generate information
with long dependency and harmony constraints. While demonstrating impressive
capabilities in STEM subjects, current LLMs easily fail in this task,
generating ill-written music even when equipped with modern techniques like
In-Context-Learning and Chain-of-Thoughts. To further explore and enhance LLMs'
potential in music composition by leveraging their reasoning ability and the
large knowledge base in music history and theory, we propose ComposerX, an
agent-based symbolic music generation framework. We find that applying a
multi-agent approach significantly improves the music composition quality of
GPT-4. The results demonstrate that ComposerX is capable of producing coherent
polyphonic music compositions with captivating melodies, while adhering to user
instructions. | cs.SD | ComposerX: Multi-Agent Symbolic Music Composition with LLMs |
2024-04-28T05:29:35Z | http://arxiv.org/pdf/2404.18072v1 | http://arxiv.org/abs/2404.18072v1 | Nishant Luitel, Nirajan Bekoju, Anand Kumar Sah, Subarna Shakya | 2024-04-28T05:29:35Z | cs.CL | The task of Spell Correction(SC) in low-resource languages presents a
significant challenge due to the availability of only a limited corpus of data
and no annotated spelling correction datasets. To tackle these challenges a
small-scale word-based transformer LM is trained to provide the SC model with
contextual understanding. Further, the probabilistic error rules are extracted
from the corpus in an unsupervised way to model the tendency of error
happening(error model). Then the combination of LM and error model is used to
develop the SC model through the well-known noisy channel framework. The
effectiveness of this approach is demonstrated through experiments on the
Nepali language where there is access to just an unprocessed corpus of textual
data. | cs.CL | Contextual Spelling Correction with Language Model for Low-resource Setting |
2024-04-28T05:26:12Z | http://arxiv.org/pdf/2404.18071v1 | http://arxiv.org/abs/2404.18071v1 | Nishant Luitel, Nirajan Bekoju, Anand Kumar Sah, Subarna Shakya | 2024-04-28T05:26:12Z | cs.CL, cs.LG | Recent language models use subwording mechanisms to handle
Out-of-Vocabulary(OOV) words seen during test time and, their generation
capacity is generally measured using perplexity, an intrinsic metric. It is
known that increasing the subword granularity results in a decrease of
perplexity value. However, the study of how subwording affects the
understanding capacity of language models has been very few and only limited to
a handful of languages. To reduce this gap we used 6 different tokenization
schemes to pretrain relatively small language models in Nepali and used the
representations learned to finetune on several downstream tasks. Although
byte-level BPE algorithm has been used in recent models like GPT, RoBERTa we
show that on average they are sub-optimal in comparison to algorithms such as
SentencePiece in finetuning performances for Nepali. Additionally, similar
recent studies have focused on the Bert-based language model. We, however,
pretrain and finetune sequential transformer-based language models. | cs.CL | Can Perplexity Predict Fine-Tuning Performance? An Investigation of Tokenization Effects on Sequential Language Models for Nepali |
2024-04-28T03:11:42Z | http://arxiv.org/pdf/2404.18057v1 | http://arxiv.org/abs/2404.18057v1 | Qiaozhi He, Zhihua Wu | 2024-04-28T03:11:42Z | cs.CL | Large Language Models(LLMs) have had a profound impact on AI applications,
particularly in the domains of long-text comprehension and generation. KV Cache
technology is one of the most widely used techniques in the industry. It
ensures efficient sequence generation by caching previously computed KV states.
However, it also introduces significant memory overhead. We discovered that KV
Cache is not necessary and proposed a novel KCache technique to alleviate the
memory bottleneck issue during the LLMs inference process. KCache can be used
directly for inference without any training process, Our evaluations show that
KCache improves the throughput of popular LLMs by 40% with the baseline, while
keeping accuracy. | cs.CL | Efficient LLM Inference with Kcache |
2024-04-28T01:38:38Z | http://arxiv.org/pdf/2404.18043v1 | http://arxiv.org/abs/2404.18043v1 | Yu Zhao, Haoxiang Gao | 2024-04-28T01:38:38Z | cs.CL, cs.IR, cs.LG | Real estate sales contracts contain crucial information for property
transactions, but manual extraction of data can be time-consuming and
error-prone. This paper explores the application of large language models,
specifically transformer-based architectures, for automated information
extraction from real estate contracts. We discuss challenges, techniques, and
future directions in leveraging these models to improve efficiency and accuracy
in real estate contract analysis. | cs.CL | Utilizing Large Language Models for Information Extraction from Real Estate Transactions |
2024-04-28T00:57:17Z | http://arxiv.org/pdf/2404.18040v1 | http://arxiv.org/abs/2404.18040v1 | Samaksh Gulati | 2024-04-28T00:57:17Z | cs.CL | Numerous industries have benefited from the use of machine learning and
fashion in industry is no exception. By gaining a better understanding of what
makes a good outfit, companies can provide useful product recommendations to
their users. In this project, we follow two existing approaches that employ
graphs to represent outfits and use modified versions of the Graph neural
network (GNN) frameworks. Both Node-wise Graph Neural Network (NGNN) and
Hypergraph Neural Network aim to score a set of items according to the outfit
compatibility of items. The data used is the Polyvore Dataset which consists of
curated outfits with product images and text descriptions for each product in
an outfit. We recreate the analysis on a subset of this data and compare the
two existing models on their performance on two tasks Fill in the blank (FITB):
finding an item that completes an outfit, and Compatibility prediction:
estimating compatibility of different items grouped as an outfit. We can
replicate the results directionally and find that HGNN does have a slightly
better performance on both tasks. On top of replicating the results of the two
papers we also tried to use embeddings generated from a vision transformer and
witness enhanced prediction accuracy across the board | cs.CL | Fashion Recommendation: Outfit Compatibility using GNN |
2024-04-28T00:24:08Z | http://arxiv.org/pdf/2407.01551v1 | http://arxiv.org/abs/2407.01551v1 | Jeanne McClure, Machi Shimmei, Noboru Matsuda, Shiyan Jiang | 2024-04-28T00:24:08Z | cs.CY, cs.AI, cs.CL | In this paper, we explore the potential of Large Language Models (LLMs) with
assertions to mitigate imbalances in educational datasets. Traditional models
often fall short in such contexts, particularly due to the complexity and
nuanced nature of the data. This issue is especially prominent in the education
sector, where cognitive engagement levels among students show significant
variation in their open responses. To test our hypothesis, we utilized an
existing technology for assertion-based prompt engineering through an
'Iterative - ICL PE Design Process' comparing traditional Machine Learning (ML)
models against LLMs augmented with assertions (N=135). Further, we conduct a
sensitivity analysis on a subset (n=27), examining the variance in model
performance concerning classification metrics and cognitive engagement levels
in each iteration. Our findings reveal that LLMs with assertions significantly
outperform traditional ML models, particularly in cognitive engagement levels
with minority representation, registering up to a 32% increase in F1-score.
Additionally, our sensitivity study indicates that incorporating targeted
assertions into the LLM tested on the subset enhances its performance by
11.94%. This improvement primarily addresses errors stemming from the model's
limitations in understanding context and resolving lexical ambiguities in
student responses. | cs.CY | Leveraging Prompts in LLMs to Overcome Imbalances in Complex Educational Text Data |
2024-04-27T23:52:51Z | http://arxiv.org/pdf/2404.18031v1 | http://arxiv.org/abs/2404.18031v1 | Tu Anh Dinh, Tobias Palzer, Jan Niehues | 2024-04-27T23:52:51Z | cs.CL, I.2.7 | Providing quality scores along with Machine Translation (MT) output,
so-called reference-free Quality Estimation (QE), is crucial to inform users
about the reliability of the translation. We propose a model-specific,
unsupervised QE approach, termed $k$NN-QE, that extracts information from the
MT model's training data using $k$-nearest neighbors. Measuring the performance
of model-specific QE is not straightforward, since they provide quality scores
on their own MT output, thus cannot be evaluated using benchmark QE test sets
containing human quality scores on premade MT output. Therefore, we propose an
automatic evaluation method that uses quality scores from reference-based
metrics as gold standard instead of human-generated ones. We are the first to
conduct detailed analyses and conclude that this automatic method is
sufficient, and the reference-based MetricX-23 is best for the task. | cs.CL | Quality Estimation with $k$-nearest Neighbors and Automatic Evaluation for Model-specific Quality Estimation |
2024-04-27T22:59:17Z | http://arxiv.org/pdf/2404.18021v1 | http://arxiv.org/abs/2404.18021v1 | Kaixuan Huang, Yuanhao Qu, Henry Cousins, William A. Johnson, Di Yin, Mihir Shah, Denny Zhou, Russ Altman, Mengdi Wang, Le Cong | 2024-04-27T22:59:17Z | cs.AI, cs.CL, cs.HC, q-bio.QM | The introduction of genome engineering technology has transformed biomedical
research, making it possible to make precise changes to genetic information.
However, creating an efficient gene-editing system requires a deep
understanding of CRISPR technology, and the complex experimental systems under
investigation. While Large Language Models (LLMs) have shown promise in various
tasks, they often lack specific knowledge and struggle to accurately solve
biological design problems. In this work, we introduce CRISPR-GPT, an LLM agent
augmented with domain knowledge and external tools to automate and enhance the
design process of CRISPR-based gene-editing experiments. CRISPR-GPT leverages
the reasoning ability of LLMs to facilitate the process of selecting CRISPR
systems, designing guide RNAs, recommending cellular delivery methods, drafting
protocols, and designing validation experiments to confirm editing outcomes. We
showcase the potential of CRISPR-GPT for assisting non-expert researchers with
gene-editing experiments from scratch and validate the agent's effectiveness in
a real-world use case. Furthermore, we explore the ethical and regulatory
considerations associated with automated gene-editing design, highlighting the
need for responsible and transparent use of these tools. Our work aims to
bridge the gap between beginner biological researchers and CRISPR genome
engineering techniques, and demonstrate the potential of LLM agents in
facilitating complex biological discovery tasks. | cs.AI | CRISPR-GPT: An LLM Agent for Automated Design of Gene-Editing Experiments |
2024-04-27T20:28:38Z | http://arxiv.org/pdf/2404.17999v1 | http://arxiv.org/abs/2404.17999v1 | Nadia Saeed | 2024-04-27T20:28:38Z | cs.CL, cs.AI, cs.LG | Accurate representation of medical information is crucial for patient safety,
yet artificial intelligence (AI) systems, such as Large Language Models (LLMs),
encounter challenges in error-free clinical text interpretation. This paper
presents a novel approach submitted to the MEDIQA-CORR 2024 shared task (Ben
Abacha et al., 2024a), focusing on the automatic correction of single-word
errors in clinical notes. Unlike LLMs that rely on extensive generic data, our
method emphasizes extracting contextually relevant information from available
clinical text data. Leveraging an ensemble of extractive and abstractive
question-answering approaches, we construct a supervised learning framework
with domain-specific feature engineering. Our methodology incorporates domain
expertise to enhance error correction accuracy. By integrating domain expertise
and prioritizing meaningful information extraction, our approach underscores
the significance of a human-centric strategy in adapting AI for healthcare. | cs.CL | MediFact at MEDIQA-CORR 2024: Why AI Needs a Human Touch |
2024-04-27T20:03:47Z | http://arxiv.org/pdf/2405.01583v1 | http://arxiv.org/abs/2405.01583v1 | Nadia Saeed | 2024-04-27T20:03:47Z | cs.CL, cs.AI, cs.CV, cs.LG | The MEDIQA-M3G 2024 challenge necessitates novel solutions for Multilingual &
Multimodal Medical Answer Generation in dermatology (wai Yim et al., 2024a).
This paper addresses the limitations of traditional methods by proposing a
weakly supervised learning approach for open-ended medical question-answering
(QA). Our system leverages readily available MEDIQA-M3G images via a
VGG16-CNN-SVM model, enabling multilingual (English, Chinese, Spanish) learning
of informative skin condition representations. Using pre-trained QA models, we
further bridge the gap between visual and textual information through
multimodal fusion. This approach tackles complex, open-ended questions even
without predefined answer choices. We empower the generation of comprehensive
answers by feeding the ViT-CLIP model with multiple responses alongside images.
This work advances medical QA research, paving the way for clinical decision
support systems and ultimately improving healthcare delivery. | cs.CL | MediFact at MEDIQA-M3G 2024: Medical Question Answering in Dermatology with Multimodal Learning |
2024-04-27T19:42:51Z | http://arxiv.org/pdf/2404.17991v2 | http://arxiv.org/abs/2404.17991v2 | Lin Ai, Zheng Hui, Zizhou Liu, Julia Hirschberg | 2024-06-12T04:47:01Z | cs.CL | Machine Reading Comprehension (MRC) poses a significant challenge in the
field of Natural Language Processing (NLP). While mainstream MRC methods
predominantly leverage extractive strategies using encoder-only models such as
BERT, generative approaches face the issue of out-of-control generation -- a
critical problem where answers generated are often incorrect, irrelevant, or
unfaithful to the source text. To address these limitations in generative
models for MRC, we introduce the Question-Attended Span Extraction (QASE)
module. Integrated during the fine-tuning phase of pre-trained generative
language models (PLMs), QASE significantly enhances their performance, allowing
them to surpass the extractive capabilities of advanced Large Language Models
(LLMs) such as GPT-4 in few-shot settings. Notably, these gains in performance
do not come with an increase in computational demands. The efficacy of the QASE
module has been rigorously tested across various datasets, consistently
achieving or even surpassing state-of-the-art (SOTA) results, thereby bridging
the gap between generative and extractive models in extractive MRC tasks. | cs.CL | Enhancing Pre-Trained Generative Language Models with Question Attended Span Extraction on Machine Reading Comprehension |
2024-04-27T19:17:31Z | http://arxiv.org/pdf/2404.17985v1 | http://arxiv.org/abs/2404.17985v1 | Milena Pustet, Elisabeth Steffen, Helena Mihaljević | 2024-04-27T19:17:31Z | cs.CL, cs.AI, cs.SI, I.2.7 | The automated detection of conspiracy theories online typically relies on
supervised learning. However, creating respective training data requires
expertise, time and mental resilience, given the often harmful content.
Moreover, available datasets are predominantly in English and often
keyword-based, introducing a token-level bias into the models. Our work
addresses the task of detecting conspiracy theories in German Telegram
messages. We compare the performance of supervised fine-tuning approaches using
BERT-like models with prompt-based approaches using Llama2, GPT-3.5, and GPT-4
which require little or no additional training data. We use a dataset of
$\sim\!\! 4,000$ messages collected during the COVID-19 pandemic, without the
use of keyword filters.
Our findings demonstrate that both approaches can be leveraged effectively:
For supervised fine-tuning, we report an F1 score of $\sim\!\! 0.8$ for the
positive class, making our model comparable to recent models trained on
keyword-focused English corpora. We demonstrate our model's adaptability to
intra-domain temporal shifts, achieving F1 scores of $\sim\!\! 0.7$. Among
prompting variants, the best model is GPT-4, achieving an F1 score of $\sim\!\!
0.8$ for the positive class in a zero-shot setting and equipped with a custom
conspiracy theory definition. | cs.CL | Detection of Conspiracy Theories Beyond Keyword Bias in German-Language Telegram Using Large Language Models |
2024-04-27T19:13:05Z | http://arxiv.org/pdf/2404.17983v1 | http://arxiv.org/abs/2404.17983v1 | Tiantian Feng, Xuan Shi, Rahul Gupta, Shrikanth S. Narayanan | 2024-04-27T19:13:05Z | cs.SD, cs.CL, eess.AS | Automatic Speech Understanding (ASU) aims at human-like speech
interpretation, providing nuanced intent, emotion, sentiment, and content
understanding from speech and language (text) content conveyed in speech.
Typically, training a robust ASU model relies heavily on acquiring large-scale,
high-quality speech and associated transcriptions. However, it is often
challenging to collect or use speech data for training ASU due to concerns such
as privacy. To approach this setting of enabling ASU when speech (audio)
modality is missing, we propose TI-ASU, using a pre-trained text-to-speech
model to impute the missing speech. We report extensive experiments evaluating
TI-ASU on various missing scales, both multi- and single-modality settings, and
the use of LLMs. Our findings show that TI-ASU yields substantial benefits to
improve ASU in scenarios where even up to 95% of training speech is missing.
Moreover, we show that TI-ASU is adaptive to dropout training, improving model
robustness in addressing missing speech during inference. | cs.SD | TI-ASU: Toward Robust Automatic Speech Understanding through Text-to-speech Imputation Against Missing Speech Modality |
2024-04-27T18:28:10Z | http://arxiv.org/pdf/2404.17975v1 | http://arxiv.org/abs/2404.17975v1 | Simone Barandoni, Filippo Chiarello, Lorenzo Cascone, Emiliano Marrale, Salvatore Puccio | 2024-04-27T18:28:10Z | cs.CL, cs.AI, cs.HC | In the rapidly evolving landscape of Natural Language Processing (NLP), Large
Language Models (LLMs) have emerged as powerful tools for many tasks, such as
extracting valuable insights from vast amounts of textual data. In this study,
we conduct a comparative analysis of LLMs for the extraction of travel customer
needs from TripAdvisor posts. Leveraging a diverse range of models, including
both open-source and proprietary ones such as GPT-4 and Gemini, we aim to
elucidate their strengths and weaknesses in this specialized domain. Through an
evaluation process involving metrics such as BERTScore, ROUGE, and BLEU, we
assess the performance of each model in accurately identifying and summarizing
customer needs. Our findings highlight the efficacy of opensource LLMs,
particularly Mistral 7B, in achieving comparable performance to larger closed
models while offering affordability and customization benefits. Additionally,
we underscore the importance of considering factors such as model size,
resource requirements, and performance metrics when selecting the most suitable
LLM for customer needs analysis tasks. Overall, this study contributes valuable
insights for businesses seeking to leverage advanced NLP techniques to enhance
customer experience and drive operational efficiency in the travel industry. | cs.CL | Automating Customer Needs Analysis: A Comparative Study of Large Language Models in the Travel Industry |
2024-04-27T18:04:28Z | http://arxiv.org/pdf/2404.17968v1 | http://arxiv.org/abs/2404.17968v1 | Charles Brazier, Jean-Luc Rouas | 2024-04-27T18:04:28Z | cs.CL, cs.LG, cs.SD, eess.AS | Neural Machine Translation (NMT) is the task of translating a text from one
language to another with the use of a trained neural network. Several existing
works aim at incorporating external information into NMT models to improve or
control predicted translations (e.g. sentiment, politeness, gender). In this
work, we propose to improve translation quality by adding another external
source of information: the automatically recognized emotion in the voice. This
work is motivated by the assumption that each emotion is associated with a
specific lexicon that can overlap between emotions. Our proposed method follows
a two-stage procedure. At first, we select a state-of-the-art Speech Emotion
Recognition (SER) model to predict dimensional emotion values from all input
audio in the dataset. Then, we use these predicted emotions as source tokens
added at the beginning of input texts to train our NMT model. We show that
integrating emotion information, especially arousal, into NMT systems leads to
better translations. | cs.CL | Usefulness of Emotional Prosody in Neural Machine Translation |
2024-04-27T16:02:55Z | http://arxiv.org/pdf/2404.17949v1 | http://arxiv.org/abs/2404.17949v1 | Chenhao Cui, Yufan Jiang, Shuangzhi Wu, Zhoujun Li | 2024-04-27T16:02:55Z | cs.CL | Multi-choice Machine Reading Comprehension (MMRC) aims to select the correct
answer from a set of options based on a given passage and question. The
existing methods employ the pre-trained language model as the encoder, share
and transfer knowledge through fine-tuning.These methods mainly focus on the
design of exquisite mechanisms to effectively capture the relationships among
the triplet of passage, question and answers. It is non-trivial but ignored to
transfer knowledge from other MRC tasks such as SQuAD due to task specific of
MMRC.In this paper, we reconstruct multi-choice to single-choice by training a
binary classification to distinguish whether a certain answer is correct. Then
select the option with the highest confidence score as the final answer. Our
proposed method gets rid of the multi-choice framework and can leverage
resources of other tasks. We construct our model based on the ALBERT-xxlarge
model and evaluate it on the RACE and DREAM datasets. Experimental results show
that our model performs better than multi-choice methods. In addition, by
transferring knowledge from other kinds of MRC tasks, our model achieves
state-of-the-art results in both single and ensemble settings. | cs.CL | Transfer Learning Enhanced Single-choice Decision for Multi-choice Question Answering |
2024-04-27T14:43:32Z | http://arxiv.org/pdf/2404.17929v1 | http://arxiv.org/abs/2404.17929v1 | Xiao Wang, Qian Zhu, Jiandong Jin, Jun Zhu, Futian Wang, Bo Jiang, Yaowei Wang, Yonghong Tian | 2024-04-27T14:43:32Z | cs.CV, cs.AI, cs.CL | Existing pedestrian attribute recognition (PAR) algorithms are mainly
developed based on a static image, however, the performance is unreliable in
challenging scenarios, such as heavy occlusion, motion blur, etc. In this work,
we propose to understand human attributes using video frames that can fully use
temporal information by fine-tuning a pre-trained multi-modal foundation model
efficiently. Specifically, we formulate the video-based PAR as a
vision-language fusion problem and adopt a pre-trained foundation model CLIP to
extract the visual features. More importantly, we propose a novel
spatiotemporal side-tuning strategy to achieve parameter-efficient optimization
of the pre-trained vision foundation model. To better utilize the semantic
information, we take the full attribute list that needs to be recognized as
another input and transform the attribute words/phrases into the corresponding
sentence via split, expand, and prompt operations. Then, the text encoder of
CLIP is utilized for embedding processed attribute descriptions. The averaged
visual tokens and text tokens are concatenated and fed into a fusion
Transformer for multi-modal interactive learning. The enhanced tokens will be
fed into a classification head for pedestrian attribute prediction. Extensive
experiments on two large-scale video-based PAR datasets fully validated the
effectiveness of our proposed framework. The source code of this paper is
available at https://github.com/Event-AHU/OpenPAR. | cs.CV | Spatio-Temporal Side Tuning Pre-trained Foundation Models for Video-based Pedestrian Attribute Recognition |
2024-04-27T14:10:51Z | http://arxiv.org/pdf/2404.17918v2 | http://arxiv.org/abs/2404.17918v2 | Timothee Mickus, Raúl Vázquez, Joseph Attieh | 2024-04-30T05:53:10Z | cs.CL | Modularity is a paradigm of machine translation with the potential of
bringing forth models that are large at training time and small during
inference. Within this field of study, modular approaches, and in particular
attention bridges, have been argued to improve the generalization capabilities
of models by fostering language-independent representations. In the present
paper, we study whether modularity affects translation quality; as well as how
well modular architectures generalize across different evaluation scenarios.
For a given computational budget, we find non-modular architectures to be
always comparable or preferable to all modular designs we study. | cs.CL | I Have an Attention Bridge to Sell You: Generalization Capabilities of Modular Translation Architectures |
2024-04-27T13:46:23Z | http://arxiv.org/pdf/2404.17912v1 | http://arxiv.org/abs/2404.17912v1 | Manav Nitin Kapadnis, Sohan Patnaik, Abhilash Nandy, Sourjyadip Ray, Pawan Goyal, Debdoot Sheet | 2024-04-27T13:46:23Z | cs.CL, cs.AI, cs.LG | Radiology Report Generation (R2Gen) demonstrates how Multi-modal Large
Language Models (MLLMs) can automate the creation of accurate and coherent
radiological reports. Existing methods often hallucinate details in text-based
reports that don't accurately reflect the image content. To mitigate this, we
introduce a novel strategy, SERPENT-VLM (SElf Refining Radiology RePort
GENeraTion using Vision Language Models), which improves the R2Gen task by
integrating a self-refining mechanism into the MLLM framework. We employ a
unique self-supervised loss that leverages similarity between pooled image
representations and the contextual representations of the generated
radiological text, alongside the standard Causal Language Modeling objective,
to refine image-text representations. This allows the model to scrutinize and
align the generated text through dynamic interaction between a given image and
the generated text, therefore reducing hallucination and continuously enhancing
nuanced report generation. SERPENT-VLM outperforms existing baselines such as
LLaVA-Med, BiomedGPT, etc., achieving SoTA performance on the IU X-ray and
Radiology Objects in COntext (ROCO) datasets, and also proves to be robust
against noisy images. A qualitative case study emphasizes the significant
advancements towards more sophisticated MLLM frameworks for R2Gen, opening
paths for further research into self-supervised refinement in the medical
imaging domain. | cs.CL | SERPENT-VLM : Self-Refining Radiology Report Generation Using Vision Language Models |
2024-04-27T13:11:42Z | http://arxiv.org/pdf/2404.17897v1 | http://arxiv.org/abs/2404.17897v1 | Zhongzhen Huang, Kui Xue, Yongqi Fan, Linjie Mu, Ruoyu Liu, Tong Ruan, Shaoting Zhang, Xiaofan Zhang | 2024-04-27T13:11:42Z | cs.CL | Large-scale language models (LLMs) have achieved remarkable success across
various language tasks but suffer from hallucinations and temporal
misalignment. To mitigate these shortcomings, Retrieval-augmented generation
(RAG) has been utilized to provide external knowledge to facilitate the answer
generation. However, applying such models to the medical domain faces several
challenges due to the lack of domain-specific knowledge and the intricacy of
real-world scenarios. In this study, we explore LLMs with RAG framework for
knowledge-intensive tasks in the medical field. To evaluate the capabilities of
LLMs, we introduce MedicineQA, a multi-round dialogue benchmark that simulates
the real-world medication consultation scenario and requires LLMs to answer
with retrieved evidence from the medicine database. MedicineQA contains 300
multi-round question-answering pairs, each embedded within a detailed dialogue
history, highlighting the challenge posed by this knowledge-intensive task to
current LLMs. We further propose a new \textit{Distill-Retrieve-Read} framework
instead of the previous \textit{Retrieve-then-Read}. Specifically, the
distillation and retrieval process utilizes a tool calling mechanism to
formulate search queries that emulate the keyword-based inquiries used by
search engines. With experimental results, we show that our framework brings
notable performance improvements and surpasses the previous counterparts in the
evidence retrieval process in terms of evidence retrieval accuracy. This
advancement sheds light on applying RAG to the medical domain. | cs.CL | Tool Calling: Enhancing Medication Consultation via Retrieval-Augmented Large Language Models |
2024-04-27T12:22:43Z | http://arxiv.org/pdf/2404.17877v1 | http://arxiv.org/abs/2404.17877v1 | Yubo Feng, Lishuang Li, Yi Xiang, Xueyang Qin | 2024-04-27T12:22:43Z | cs.CL | The representation of events in text plays a significant role in various NLP
tasks. Recent research demonstrates that contrastive learning has the ability
to improve event comprehension capabilities of Pre-trained Language Models
(PLMs) and enhance the performance of event representation learning. However,
the efficacy of event representation learning based on contrastive learning and
PLMs is limited by the short length of event texts. The length of event texts
differs significantly from the text length used in the pre-training of PLMs. As
a result, there is inconsistency in the distribution of text length between
pre-training and event representation learning, which may undermine the
learning process of event representation based on PLMs. In this study, we
present PromptCL, a novel framework for event representation learning that
effectively elicits the capabilities of PLMs to comprehensively capture the
semantics of short event texts. PromptCL utilizes a Prompt template borrowed
from prompt learning to expand the input text during Contrastive Learning. This
helps in enhancing the event representation learning by providing a structured
outline of the event components. Moreover, we propose Subject-Predicate-Object
(SPO) word order and Event-oriented Masked Language Modeling (EventMLM) to
train PLMs to understand the relationships between event components. Our
experimental results demonstrate that PromptCL outperforms state-of-the-art
baselines on event related tasks. Additionally, we conduct a thorough analysis
and demonstrate that using a prompt results in improved generalization
capabilities for event representations. Our code will be available at
https://github.com/YuboFeng2023/PromptCL. | cs.CL | PromptCL: Improving Event Representation via Prompt Template and Contrastive Learning |
2024-04-27T12:10:10Z | http://arxiv.org/pdf/2404.17874v1 | http://arxiv.org/abs/2404.17874v1 | Manuel Tonneau, Diyi Liu, Samuel Fraiberger, Ralph Schroeder, Scott A. Hale, Paul Röttger | 2024-04-27T12:10:10Z | cs.CL | Perceptions of hate can vary greatly across cultural contexts. Hate speech
(HS) datasets, however, have traditionally been developed by language. This
hides potential cultural biases, as one language may be spoken in different
countries home to different cultures. In this work, we evaluate cultural bias
in HS datasets by leveraging two interrelated cultural proxies: language and
geography. We conduct a systematic survey of HS datasets in eight languages and
confirm past findings on their English-language bias, but also show that this
bias has been steadily decreasing in the past few years. For three
geographically-widespread languages -- English, Arabic and Spanish -- we then
leverage geographical metadata from tweets to approximate geo-cultural contexts
by pairing language and country information. We find that HS datasets for these
languages exhibit a strong geo-cultural bias, largely overrepresenting a
handful of countries (e.g., US and UK for English) relative to their prominence
in both the broader social media population and the general population speaking
these languages. Based on these findings, we formulate recommendations for the
creation of future HS datasets. | cs.CL | From Languages to Geographies: Towards Evaluating Cultural Bias in Hate Speech Datasets |
2024-04-27T10:47:07Z | http://arxiv.org/pdf/2404.17862v2 | http://arxiv.org/abs/2404.17862v2 | Tao Meng, Fuchen Zhang, Yuntao Shou, Wei Ai, Nan Yin, Keqin Li | 2024-05-03T02:16:38Z | cs.CL | Efficiently capturing consistent and complementary semantic features in a
multimodal conversation context is crucial for Multimodal Emotion Recognition
in Conversation (MERC). Existing methods mainly use graph structures to model
dialogue context semantic dependencies and employ Graph Neural Networks (GNN)
to capture multimodal semantic features for emotion recognition. However, these
methods are limited by some inherent characteristics of GNN, such as
over-smoothing and low-pass filtering, resulting in the inability to learn
long-distance consistency information and complementary information
efficiently. Since consistency and complementarity information correspond to
low-frequency and high-frequency information, respectively, this paper revisits
the problem of multimodal emotion recognition in conversation from the
perspective of the graph spectrum. Specifically, we propose a
Graph-Spectrum-based Multimodal Consistency and Complementary collaborative
learning framework GS-MCC. First, GS-MCC uses a sliding window to construct a
multimodal interaction graph to model conversational relationships and uses
efficient Fourier graph operators to extract long-distance high-frequency and
low-frequency information, respectively. Then, GS-MCC uses contrastive learning
to construct self-supervised signals that reflect complementarity and
consistent semantic collaboration with high and low-frequency signals, thereby
improving the ability of high and low-frequency information to reflect real
emotions. Finally, GS-MCC inputs the collaborative high and low-frequency
information into the MLP network and softmax function for emotion prediction.
Extensive experiments have proven the superiority of the GS-MCC architecture
proposed in this paper on two benchmark data sets. | cs.CL | Revisiting Multimodal Emotion Recognition in Conversation from the Perspective of Graph Spectrum |
2024-04-27T10:22:03Z | http://arxiv.org/pdf/2404.17858v2 | http://arxiv.org/abs/2404.17858v2 | Yuntao Shou, Tao Meng, Fuchen Zhang, Nan Yin, Keqin Li | 2024-05-03T02:28:10Z | cs.CL | Multi-modal Emotion Recognition in Conversation (MERC) has received
considerable attention in various fields, e.g., human-computer interaction and
recommendation systems. Most existing works perform feature disentanglement and
fusion to extract emotional contextual information from multi-modal features
and emotion classification. After revisiting the characteristic of MERC, we
argue that long-range contextual semantic information should be extracted in
the feature disentanglement stage and the inter-modal semantic information
consistency should be maximized in the feature fusion stage. Inspired by recent
State Space Models (SSMs), Mamba can efficiently model long-distance
dependencies. Therefore, in this work, we fully consider the above insights to
further improve the performance of MERC. Specifically, on the one hand, in the
feature disentanglement stage, we propose a Broad Mamba, which does not rely on
a self-attention mechanism for sequence modeling, but uses state space models
to compress emotional representation, and utilizes broad learning systems to
explore the potential data distribution in broad space. Different from previous
SSMs, we design a bidirectional SSM convolution to extract global context
information. On the other hand, we design a multi-modal fusion strategy based
on probability guidance to maximize the consistency of information between
modalities. Experimental results show that the proposed method can overcome the
computational and memory limitations of Transformer when modeling long-distance
contexts, and has great potential to become a next-generation general
architecture in MERC. | cs.CL | Revisiting Multi-modal Emotion Learning with Broad State Space Models and Probability-guidance Fusion |
2024-04-27T09:20:13Z | http://arxiv.org/pdf/2404.17841v1 | http://arxiv.org/abs/2404.17841v1 | Daryna Dementieva, Valeriia Khylenko, Nikolay Babakov, Georg Groh | 2024-04-27T09:20:13Z | cs.CL | The task of toxicity detection is still a relevant task, especially in the
context of safe and fair LMs development. Nevertheless, labeled binary toxicity
classification corpora are not available for all languages, which is
understandable given the resource-intensive nature of the annotation process.
Ukrainian, in particular, is among the languages lacking such resources. To our
knowledge, there has been no existing toxicity classification corpus in
Ukrainian. In this study, we aim to fill this gap by investigating
cross-lingual knowledge transfer techniques and creating labeled corpora by:
(i)~translating from an English corpus, (ii)~filtering toxic samples using
keywords, and (iii)~annotating with crowdsourcing. We compare LLMs prompting
and other cross-lingual transfer approaches with and without fine-tuning
offering insights into the most robust and efficient baselines. | cs.CL | Toxicity Classification in Ukrainian |
2024-04-27T09:00:39Z | http://arxiv.org/pdf/2404.17835v1 | http://arxiv.org/abs/2404.17835v1 | Junyi Biana, Weiqi Zhai, Xiaodi Huang, Jiaxuan Zheng, Shanfeng Zhu | 2024-04-27T09:00:39Z | cs.CL | Prevalent solution for BioNER involves using representation learning
techniques coupled with sequence labeling. However, such methods are inherently
task-specific, demonstrate poor generalizability, and often require dedicated
model for each dataset. To leverage the versatile capabilities of recently
remarkable large language models (LLMs), several endeavors have explored
generative approaches to entity extraction. Yet, these approaches often fall
short of the effectiveness of previouly sequence labeling approaches. In this
paper, we utilize the open-sourced LLM LLaMA2 as the backbone model, and design
specific instructions to distinguish between different types of entities and
datasets. By combining the LLM's understanding of instructions with sequence
labeling techniques, we use mix of datasets to train a model capable of
extracting various types of entities. Given that the backbone LLMs lacks
specialized medical knowledge, we also integrate external entity knowledge
bases and employ instruction tuning to compel the model to densely recognize
carefully curated entities. Our model VANER, trained with a small partition of
parameters, significantly outperforms previous LLMs-based models and, for the
first time, as a model based on LLM, surpasses the majority of conventional
state-of-the-art BioNER systems, achieving the highest F1 scores across three
datasets. | cs.CL | VANER: Leveraging Large Language Model for Versatile and Adaptive Biomedical Named Entity Recognition |
2024-04-27T08:53:58Z | http://arxiv.org/pdf/2404.17832v1 | http://arxiv.org/abs/2404.17832v1 | Tsimur Hadeliya, Dariusz Kajtoch | 2024-04-27T08:53:58Z | cs.CL | We introduce a few-shot benchmark consisting of 7 different classification
tasks native to the Polish language. We conducted an empirical comparison with
0 and 16 shots between fine-tuning, linear probing, SetFit, and in-context
learning (ICL) using various pre-trained commercial and open-source models. Our
findings reveal that ICL achieves the best performance, with commercial models
like GPT-3.5 and GPT-4 attaining the best performance. However, there remains a
significant 14 percentage points gap between our best few-shot learning score
and the performance of HerBERT-large fine-tuned on the entire training dataset.
Among the techniques, SetFit emerges as the second-best approach, closely
followed by linear probing. We observed the worst and most unstable performance
with non-linear head fine-tuning. Results for ICL indicate that continual
pre-training of models like Mistral-7b or Llama-2-13b on Polish corpora is
beneficial. This is confirmed by the improved performances of Bielik-7b and
Trurl-13b, respectively. To further support experiments in few-shot learning
for Polish, we are releasing handcrafted templates for the ICL. | cs.CL | Evaluation of Few-Shot Learning for Classification Tasks in the Polish Language |
2024-04-27T07:12:52Z | http://arxiv.org/pdf/2404.17809v1 | http://arxiv.org/abs/2404.17809v1 | Guozheng Li, Peng Wang, Wenjun Ke, Yikai Guo, Ke Ji, Ziyu Shang, Jiajun Liu, Zijie Xu | 2024-04-27T07:12:52Z | cs.CL, cs.AI | Relation extraction (RE) aims to identify relations between entities
mentioned in texts. Although large language models (LLMs) have demonstrated
impressive in-context learning (ICL) abilities in various tasks, they still
suffer from poor performances compared to most supervised fine-tuned RE
methods. Utilizing ICL for RE with LLMs encounters two challenges: (1)
retrieving good demonstrations from training examples, and (2) enabling LLMs
exhibit strong ICL abilities in RE. On the one hand, retrieving good
demonstrations is a non-trivial process in RE, which easily results in low
relevance regarding entities and relations. On the other hand, ICL with an LLM
achieves poor performance in RE while RE is different from language modeling in
nature or the LLM is not large enough. In this work, we propose a novel
recall-retrieve-reason RE framework that synergizes LLMs with retrieval corpora
(training examples) to enable relevant retrieving and reliable in-context
reasoning. Specifically, we distill the consistently ontological knowledge from
training datasets to let LLMs generate relevant entity pairs grounded by
retrieval corpora as valid queries. These entity pairs are then used to
retrieve relevant training examples from the retrieval corpora as
demonstrations for LLMs to conduct better ICL via instruction tuning. Extensive
experiments on different LLMs and RE datasets demonstrate that our method
generates relevant and valid entity pairs and boosts ICL abilities of LLMs,
achieving competitive or new state-of-the-art performance on sentence-level RE
compared to previous supervised fine-tuning methods and ICL-based methods. | cs.CL | Recall, Retrieve and Reason: Towards Better In-Context Relation Extraction |
2024-04-27T07:12:07Z | http://arxiv.org/pdf/2404.17808v1 | http://arxiv.org/abs/2404.17808v1 | Haoran Lian, Yizhe Xiong, Jianwei Niu, Shasha Mo, Zhenpeng Su, Zijia Lin, Peng Liu, Hui Chen, Guiguang Ding | 2024-04-27T07:12:07Z | cs.CL | Byte Pair Encoding (BPE) serves as a foundation method for text tokenization
in the Natural Language Processing (NLP) field. Despite its wide adoption, the
original BPE algorithm harbors an inherent flaw: it inadvertently introduces a
frequency imbalance for tokens in the text corpus. Since BPE iteratively merges
the most frequent token pair in the text corpus while keeping all tokens that
have been merged in the vocabulary, it unavoidably holds tokens that primarily
represent subwords of complete words and appear infrequently on their own in
the text corpus. We term such tokens as Scaffold Tokens. Due to their
infrequent appearance in the text corpus, Scaffold Tokens pose a learning
imbalance issue for language models. To address that issue, we propose
Scaffold-BPE, which incorporates a dynamic scaffold token removal mechanism by
parameter-free, computation-light, and easy-to-implement modifications to the
original BPE. This novel approach ensures the exclusion of low-frequency
Scaffold Tokens from the token representations for the given texts, thereby
mitigating the issue of frequency imbalance and facilitating model training. On
extensive experiments across language modeling tasks and machine translation
tasks, Scaffold-BPE consistently outperforms the original BPE, well
demonstrating its effectiveness and superiority. | cs.CL | Scaffold-BPE: Enhancing Byte Pair Encoding with Simple and Effective Scaffold Token Removal |
2024-04-27T07:06:39Z | http://arxiv.org/pdf/2404.17807v1 | http://arxiv.org/abs/2404.17807v1 | Guozheng Li, Peng Wang, Jiajun Liu, Yikai Guo, Ke Ji, Ziyu Shang, Zijie Xu | 2024-04-27T07:06:39Z | cs.CL, cs.AI | Relation extraction (RE) is an important task that aims to identify the
relationships between entities in texts. While large language models (LLMs)
have revealed remarkable in-context learning (ICL) capability for general zero
and few-shot learning, recent studies indicate that current LLMs still struggle
with zero and few-shot RE. Previous studies are mainly dedicated to design
prompt formats and select good examples for improving ICL-based RE. Although
both factors are vital for ICL, if one can fundamentally boost the ICL
capability of LLMs in RE, the zero and few-shot RE performance via ICL would be
significantly improved. To this end, we introduce \textsc{Micre} (\textbf{M}eta
\textbf{I}n-\textbf{C}ontext learning of LLMs for \textbf{R}elation
\textbf{E}xtraction), a new meta-training framework for zero and few-shot RE
where an LLM is tuned to do ICL on a diverse collection of RE datasets (i.e.,
learning to learn in context for RE). Through meta-training, the model becomes
more effectively to learn a new RE task in context by conditioning on a few
training examples with no parameter updates or task-specific templates at
inference time, enabling better zero and few-shot task generalization. We
experiment \textsc{Micre} on various LLMs with different model scales and 12
public RE datasets, and then evaluate it on unseen RE benchmarks under zero and
few-shot settings. \textsc{Micre} delivers comparable or superior performance
compared to a range of baselines including supervised fine-tuning and typical
in-context learning methods. We find that the gains are particular significant
for larger model scales, and using a diverse set of the meta-training RE
datasets is key to improvements. Empirically, we show that \textsc{Micre} can
transfer the relation semantic knowledge via relation label name during
inference on target RE datasets. | cs.CL | Meta In-Context Learning Makes Large Language Models Better Zero and Few-Shot Relation Extractors |
2024-04-27T07:05:48Z | http://arxiv.org/pdf/2404.17806v1 | http://arxiv.org/abs/2404.17806v1 | Yi Yuan, Zhuo Chen, Xubo Liu, Haohe Liu, Xuenan Xu, Dongya Jia, Yuanzhe Chen, Mark D. Plumbley, Wenwu Wang | 2024-04-27T07:05:48Z | cs.SD, cs.CL, cs.LG, eess.AS | Contrastive language-audio pretraining~(CLAP) has been developed to align the
representations of audio and language, achieving remarkable performance in
retrieval and classification tasks. However, current CLAP struggles to capture
temporal information within audio and text features, presenting substantial
limitations for tasks such as audio retrieval and generation. To address this
gap, we introduce T-CLAP, a temporal-enhanced CLAP model. We use Large Language
Models~(LLMs) and mixed-up strategies to generate temporal-contrastive captions
for audio clips from extensive audio-text datasets. Subsequently, a new
temporal-focused contrastive loss is designed to fine-tune the CLAP model by
incorporating these synthetic data. We conduct comprehensive experiments and
analysis in multiple downstream tasks. T-CLAP shows improved capability in
capturing the temporal relationship of sound events and outperforms
state-of-the-art models by a significant margin. | cs.SD | T-CLAP: Temporal-Enhanced Contrastive Language-Audio Pretraining |
2024-04-27T06:55:41Z | http://arxiv.org/pdf/2404.17802v1 | http://arxiv.org/abs/2404.17802v1 | Guozheng Li, Zijie Xu, Ziyu Shang, Jiajun Liu, Ke Ji, Yikai Guo | 2024-04-27T06:55:41Z | cs.CL, cs.AI | Dialogue relation extraction (DRE) aims to extract relations between two
arguments within a dialogue, which is more challenging than standard RE due to
the higher person pronoun frequency and lower information density in dialogues.
However, existing DRE methods still suffer from two serious issues: (1) hard to
capture long and sparse multi-turn information, and (2) struggle to extract
golden relations based on partial dialogues, which motivates us to discover
more effective methods that can alleviate the above issues. We notice that the
rise of large language models (LLMs) has sparked considerable interest in
evaluating their performance across diverse tasks. To this end, we initially
investigate the capabilities of different LLMs in DRE, considering both
proprietary models and open-source models. Interestingly, we discover that LLMs
significantly alleviate two issues in existing DRE methods. Generally, we have
following findings: (1) scaling up model size substantially boosts the overall
DRE performance and achieves exceptional results, tackling the difficulty of
capturing long and sparse multi-turn information; (2) LLMs encounter with much
smaller performance drop from entire dialogue setting to partial dialogue
setting compared to existing methods; (3) LLMs deliver competitive or superior
performances under both full-shot and few-shot settings compared to current
state-of-the-art; (4) LLMs show modest performances on inverse relations but
much stronger improvements on general relations, and they can handle dialogues
of various lengths especially for longer sequences. | cs.CL | Empirical Analysis of Dialogue Relation Extraction with Large Language Models |
2024-04-27T06:07:55Z | http://arxiv.org/pdf/2404.17790v1 | http://arxiv.org/abs/2404.17790v1 | Kazuki Fujii, Taishi Nakamura, Mengsay Loem, Hiroki Iida, Masanari Ohi, Kakeru Hattori, Hirai Shota, Sakae Mizuki, Rio Yokota, Naoaki Okazaki | 2024-04-27T06:07:55Z | cs.CL, cs.AI | Cross-lingual continual pre-training of large language models (LLMs)
initially trained on English corpus allows us to leverage the vast amount of
English language resources and reduce the pre-training cost. In this study, we
constructed Swallow, an LLM with enhanced Japanese capability, by extending the
vocabulary of Llama 2 to include Japanese characters and conducting continual
pre-training on a large Japanese web corpus. Experimental results confirmed
that the performance on Japanese tasks drastically improved through continual
pre-training, and the performance monotonically increased with the amount of
training data up to 100B tokens. Consequently, Swallow achieved superior
performance compared to other LLMs that were trained from scratch in English
and Japanese. An analysis of the effects of continual pre-training revealed
that it was particularly effective for Japanese question answering tasks.
Furthermore, to elucidate effective methodologies for cross-lingual continual
pre-training from English to Japanese, we investigated the impact of vocabulary
expansion and the effectiveness of incorporating parallel corpora. The results
showed that the efficiency gained through vocabulary expansion had no negative
impact on performance, except for the summarization task, and that the combined
use of parallel corpora enhanced translation ability. | cs.CL | Continual Pre-Training for Cross-Lingual LLM Adaptation: Enhancing Japanese Language Capabilities |
2024-04-27T05:49:11Z | http://arxiv.org/pdf/2404.17785v2 | http://arxiv.org/abs/2404.17785v2 | Yizhe Xiong, Xiansheng Chen, Xin Ye, Hui Chen, Zijia Lin, Haoran Lian, Zhenpeng Su, Jianwei Niu, Guiguang Ding | 2024-06-16T11:06:01Z | cs.CL | Recently, Large Language Models (LLMs) have been widely adopted in a wide
range of tasks, leading to increasing attention towards the research on how
scaling LLMs affects their performance. Existing works, termed Scaling Laws,
have discovered that the final test loss of LLMs scales as power-laws with
model size, computational budget, and dataset size. However, the temporal
change of the test loss of an LLM throughout its pre-training process remains
unexplored, though it is valuable in many aspects, such as selecting better
hyperparameters \textit{directly} on the target LLM. In this paper, we propose
the novel concept of Temporal Scaling Law, studying how the test loss of an LLM
evolves as the training steps scale up. In contrast to modeling the test loss
as a whole in a coarse-grained manner, we break it down and dive into the
fine-grained test loss of each token position, and further develop a dynamic
hyperbolic-law. Afterwards, we derive the much more precise temporal scaling
law by studying the temporal patterns of the parameters in the dynamic
hyperbolic-law. Results on both in-distribution (ID) and out-of-distribution
(OOD) validation datasets demonstrate that our temporal scaling law accurately
predicts the test loss of LLMs across training steps. Our temporal scaling law
has broad practical applications. First, it enables direct and efficient
hyperparameter selection on the target LLM, such as data mixture proportions.
Secondly, viewing the LLM pre-training dynamics from the token position
granularity provides some insights to enhance the understanding of LLM
pre-training. | cs.CL | Temporal Scaling Law for Large Language Models |
2024-04-27T05:03:42Z | http://arxiv.org/pdf/2404.17779v1 | http://arxiv.org/abs/2404.17779v1 | Masoud Monajatipoor, Zi-Yi Dou, Aichi Chien, Nanyun Peng, Kai-Wei Chang | 2024-04-27T05:03:42Z | cs.CL | Vision-language models have become increasingly powerful for tasks that
require an understanding of both visual and linguistic elements, bridging the
gap between these modalities. In the context of multimodal clinical AI, there
is a growing need for models that possess domain-specific knowledge, as
existing models often lack the expertise required for medical applications. In
this paper, we take brain abnormalities as an example to demonstrate how to
automatically collect medical image-text aligned data for pretraining from
public resources such as PubMed. In particular, we present a pipeline that
streamlines the pre-training process by initially collecting a large brain
image-text dataset from case reports and published journals and subsequently
constructing a high-performance vision-language model tailored to specific
medical tasks. We also investigate the unique challenge of mapping subfigures
to subcaptions in the medical domain. We evaluated the resulting model with
quantitative and qualitative intrinsic evaluations. The resulting dataset and
our code can be found here
https://github.com/masoud-monajati/MedVL_pretraining_pipeline | cs.CL | Medical Vision-Language Pre-Training for Brain Abnormalities |
2024-04-27T04:42:45Z | http://arxiv.org/pdf/2404.17778v1 | http://arxiv.org/abs/2404.17778v1 | Yunyi Liu, Zhanyu Wang, Yingshu Li, Xinyu Liang, Lingqiao Liu, Lei Wang, Luping Zhou | 2024-04-27T04:42:45Z | cs.CL, cs.AI | In recent years, automated radiology report generation has experienced
significant growth. This paper introduces MRScore, an automatic evaluation
metric tailored for radiology report generation by leveraging Large Language
Models (LLMs). Conventional NLG (natural language generation) metrics like BLEU
are inadequate for accurately assessing the generated radiology reports, as
systematically demonstrated by our observations within this paper. To address
this challenge, we collaborated with radiologists to develop a framework that
guides LLMs for radiology report evaluation, ensuring alignment with human
analysis. Our framework includes two key components: i) utilizing GPT to
generate large amounts of training data, i.e., reports with different
qualities, and ii) pairing GPT-generated reports as accepted and rejected
samples and training LLMs to produce MRScore as the model reward. Our
experiments demonstrate MRScore's higher correlation with human judgments and
superior performance in model selection compared to traditional metrics. Our
code and datasets will be available on GitHub. | cs.CL | MRScore: Evaluating Radiology Report Generation with LLM-based Reward System |
2024-04-27T04:12:02Z | http://arxiv.org/pdf/2405.00728v1 | http://arxiv.org/abs/2405.00728v1 | Dou Liu, Ying Han, Xiandi Wang, Xiaomei Tan, Di Liu, Guangwu Qian, Kang Li, Dan Pu, Rong Yin | 2024-04-27T04:12:02Z | cs.CL, cs.AI, cs.HC | The integration of Artificial Intelligence (AI) in healthcare presents a
transformative potential for enhancing operational efficiency and health
outcomes. Large Language Models (LLMs), such as ChatGPT, have shown their
capabilities in supporting medical decision-making. Embedding LLMs in medical
systems is becoming a promising trend in healthcare development. The potential
of ChatGPT to address the triage problem in emergency departments has been
examined, while few studies have explored its application in outpatient
departments. With a focus on streamlining workflows and enhancing efficiency
for outpatient triage, this study specifically aims to evaluate the consistency
of responses provided by ChatGPT in outpatient guidance, including both
within-version response analysis and between-version comparisons. For
within-version, the results indicate that the internal response consistency for
ChatGPT-4.0 is significantly higher than ChatGPT-3.5 (p=0.03) and both have a
moderate consistency (71.2% for 4.0 and 59.6% for 3.5) in their top
recommendation. However, the between-version consistency is relatively low
(mean consistency score=1.43/3, median=1), indicating few recommendations match
between the two versions. Also, only 50% top recommendations match perfectly in
the comparisons. Interestingly, ChatGPT-3.5 responses are more likely to be
complete than those from ChatGPT-4.0 (p=0.02), suggesting possible differences
in information processing and response generation between the two versions. The
findings offer insights into AI-assisted outpatient operations, while also
facilitating the exploration of potentials and limitations of LLMs in
healthcare utilization. Future research may focus on carefully optimizing LLMs
and AI integration in healthcare systems based on ergonomic and human factors
principles, precisely aligning with the specific needs of effective outpatient
triage. | cs.CL | Evaluating the Application of ChatGPT in Outpatient Triage Guidance: A Comparative Study |
2024-04-27T01:39:05Z | http://arxiv.org/pdf/2404.17749v2 | http://arxiv.org/abs/2404.17749v2 | Parth Vashisht, Abhilasha Lodha, Mukta Maddipatla, Zonghai Yao, Avijit Mitra, Zhichao Yang, Junda Wang, Sunjae Kwon, Hong Yu | 2024-05-08T21:57:24Z | cs.AI, cs.CL | This paper presents our team's participation in the MEDIQA-ClinicalNLP2024
shared task B. We present a novel approach to diagnosing clinical dermatology
cases by integrating large multimodal models, specifically leveraging the
capabilities of GPT-4V under a retriever and a re-ranker framework. Our
investigation reveals that GPT-4V, when used as a retrieval agent, can
accurately retrieve the correct skin condition 85% of the time using
dermatological images and brief patient histories. Additionally, we empirically
show that Naive Chain-of-Thought (CoT) works well for retrieval while Medical
Guidelines Grounded CoT is required for accurate dermatological diagnosis.
Further, we introduce a Multi-Agent Conversation (MAC) framework and show its
superior performance and potential over the best CoT strategy. The experiments
suggest that using naive CoT for retrieval and multi-agent conversation for
critique-based diagnosis, GPT-4V can lead to an early and accurate diagnosis of
dermatological conditions. The implications of this work extend to improving
diagnostic workflows, supporting dermatological education, and enhancing
patient care by providing a scalable, accessible, and accurate diagnostic tool. | cs.AI | UMass-BioNLP at MEDIQA-M3G 2024: DermPrompt -- A Systematic Exploration of Prompt Engineering with GPT-4V for Dermatological Diagnosis |
2024-04-27T00:02:45Z | http://arxiv.org/pdf/2404.17733v1 | http://arxiv.org/abs/2404.17733v1 | Naoaki Okazaki, Kakeru Hattori, Hirai Shota, Hiroki Iida, Masanari Ohi, Kazuki Fujii, Taishi Nakamura, Mengsay Loem, Rio Yokota, Sakae Mizuki | 2024-04-27T00:02:45Z | cs.CL, cs.AI | Open Japanese large language models (LLMs) have been trained on the Japanese
portions of corpora such as CC-100, mC4, and OSCAR. However, these corpora were
not created for the quality of Japanese texts. This study builds a large
Japanese web corpus by extracting and refining text from the Common Crawl
archive (21 snapshots of approximately 63.4 billion pages crawled between 2020
and 2023). This corpus consists of approximately 312.1 billion characters
(approximately 173 million pages), which is the largest of all available
training corpora for Japanese LLMs, surpassing CC-100 (approximately 25.8
billion characters), mC4 (approximately 239.7 billion characters) and OSCAR
23.10 (approximately 74 billion characters). To confirm the quality of the
corpus, we performed continual pre-training on Llama 2 7B, 13B, 70B, Mistral 7B
v0.1, and Mixtral 8x7B Instruct as base LLMs and gained consistent (6.6-8.1
points) improvements on Japanese benchmark datasets. We also demonstrate that
the improvement on Llama 2 13B brought from the presented corpus was the
largest among those from other existing corpora. | cs.CL | Building a Large Japanese Web Corpus for Large Language Models |
2024-04-26T23:30:07Z | http://arxiv.org/pdf/2404.17730v1 | http://arxiv.org/abs/2404.17730v1 | Lara J. Martin, Malathy Nagalakshmi | 2024-04-26T23:30:07Z | cs.HC, cs.CL | Natural Language Processing (NLP) techniques are being used more frequently
to improve high-tech Augmentative and Alternative Communication (AAC), but many
of these techniques are integrated without the inclusion of the users'
perspectives. As many of these tools are created with children in mind,
autistic adults are often neglected in the design of AAC tools to begin with.
We conducted in-depth interviews with 12 autistic adults to find the pain
points of current AAC and determine what general technological advances they
would find helpful. We found that in addition to technological issues, there
are many societal issues as well. We found 9 different categories of themes
from our interviews: input options, output options, selecting or adapting AAC
for a good fit, when to start or swap AAC, benefits (of use), access (to AAC),
stumbling blocks for continued use, social concerns, and lack of control. In
this paper, we go through these nine categories in depth and then suggest
possible guidelines for the NLP community, AAC application makers, and policy
makers to improve AAC use for autistic adults. | cs.HC | Bridging the Social & Technical Divide in Augmentative and Alternative Communication (AAC) Applications for Autistic Adults |
2024-04-26T23:29:12Z | http://arxiv.org/pdf/2404.17729v1 | http://arxiv.org/abs/2404.17729v1 | Pei Chen, Boran Han, Shuai Zhang | 2024-04-26T23:29:12Z | cs.CL | Large Language Models (LLMs) have shown great ability in solving traditional
natural language tasks and elementary reasoning tasks with appropriate
prompting techniques. However, their ability is still limited in solving
complicated science problems. In this work, we aim to push the upper bound of
the reasoning capability of LLMs by proposing a collaborative multi-agent,
multi-reasoning-path (CoMM) prompting framework. Specifically, we prompt LLMs
to play different roles in a problem-solving team, and encourage different
role-play agents to collaboratively solve the target task. In particular, we
discover that applying different reasoning paths for different roles is an
effective strategy to implement few-shot prompting approaches in the
multi-agent scenarios. Empirical results demonstrate the effectiveness of the
proposed methods on two college-level science problems over competitive
baselines. Our further analysis shows the necessity of prompting LLMs to play
different roles or experts independently. We release the code at:
https://github.com/amazon-science/comm-prompt | cs.CL | CoMM: Collaborative Multi-Agent, Multi-Reasoning-Path Prompting for Complex Problem Solving |
2024-04-26T23:05:20Z | http://arxiv.org/pdf/2404.17723v2 | http://arxiv.org/abs/2404.17723v2 | Zhentao Xu, Mark Jerome Cruz, Matthew Guevara, Tie Wang, Manasi Deshpande, Xiaofeng Wang, Zheng Li | 2024-05-06T05:16:42Z | cs.IR, cs.AI, cs.CL, cs.LG, I.2 | In customer service technical support, swiftly and accurately retrieving
relevant past issues is critical for efficiently resolving customer inquiries.
The conventional retrieval methods in retrieval-augmented generation (RAG) for
large language models (LLMs) treat a large corpus of past issue tracking
tickets as plain text, ignoring the crucial intra-issue structure and
inter-issue relations, which limits performance. We introduce a novel customer
service question-answering method that amalgamates RAG with a knowledge graph
(KG). Our method constructs a KG from historical issues for use in retrieval,
retaining the intra-issue structure and inter-issue relations. During the
question-answering phase, our method parses consumer queries and retrieves
related sub-graphs from the KG to generate answers. This integration of a KG
not only improves retrieval accuracy by preserving customer service structure
information but also enhances answering quality by mitigating the effects of
text segmentation. Empirical assessments on our benchmark datasets, utilizing
key retrieval (MRR, Recall@K, NDCG@K) and text generation (BLEU, ROUGE, METEOR)
metrics, reveal that our method outperforms the baseline by 77.6% in MRR and by
0.32 in BLEU. Our method has been deployed within LinkedIn's customer service
team for approximately six months and has reduced the median per-issue
resolution time by 28.6%. | cs.IR | Retrieval-Augmented Generation with Knowledge Graphs for Customer Service Question Answering |
2024-04-26T19:07:30Z | http://arxiv.org/pdf/2404.17662v2 | http://arxiv.org/abs/2404.17662v2 | Qinglin Zhu, Runcong Zhao, Jinhua Du, Lin Gui, Yulan He | 2024-06-17T12:39:47Z | cs.CL | We propose PLAYER*, a novel framework that addresses the limitations of
existing agent-based approaches built on Large Language Models (LLMs) in
handling complex questions and understanding interpersonal relationships in
dynamic environments. PLAYER* enhances path planning in Murder Mystery Games
(MMGs) using an anytime sampling-based planner and a questioning-driven search
framework. By equipping agents with a set of sensors, PLAYER* eliminates the
need for pre-defined questions and enables agents to navigate complex social
interactions. We additionally make a contribution by introducing a quantifiable
evaluation method using multiple-choice questions and present WellPlay, a
dataset containing 1,482 question-answer pairs. Experimental results
demonstrate PLAYER*'s superiority over existing multi-agent methods, enhancing
the generalisability and adaptability of agents in MMGs and paving the way for
more effective multi-agent interactions. | cs.CL | PLAYER*: Enhancing LLM-based Multi-Agent Communication and Interaction in Murder Mystery Games |
2024-04-26T18:04:25Z | http://arxiv.org/pdf/2404.17642v1 | http://arxiv.org/abs/2404.17642v1 | Yichuan Li, Kaize Ding, Jianling Wang, Kyumin Lee | 2024-04-26T18:04:25Z | cs.CL, cs.AI | With the capabilities of understanding and executing natural language
instructions, Large language models (LLMs) can potentially act as a powerful
tool for textual data augmentation. However, the quality of augmented data
depends heavily on the augmentation instructions provided, and the
effectiveness can fluctuate across different downstream tasks. While manually
crafting and selecting instructions can offer some improvement, this approach
faces scalability and consistency issues in practice due to the diversity of
downstream tasks. In this work, we address these limitations by proposing a new
solution, which can automatically generate a large pool of augmentation
instructions and select the most suitable task-informed instructions, thereby
empowering LLMs to create high-quality augmented data for different downstream
tasks. Empirically, the proposed approach consistently generates augmented data
with better quality compared to non-LLM and LLM-based data augmentation
methods, leading to the best performance on 26 few-shot learning tasks sourced
from a wide range of application domains. | cs.CL | Empowering Large Language Models for Textual Data Augmentation |
2024-04-26T18:01:25Z | http://arxiv.org/pdf/2405.01582v3 | http://arxiv.org/abs/2405.01582v3 | Vasu Sharma, Karthik Padthe, Newsha Ardalani, Kushal Tirumala, Russell Howes, Hu Xu, Po-Yao Huang, Shang-Wen Li, Armen Aghajanyan, Gargi Ghosh, Luke Zettlemoyer | 2024-05-10T23:35:53Z | cs.CL, cs.AI, cs.LG | In recent times training Language Models (LMs) have relied on computationally
heavy training over massive datasets which makes this training process
extremely laborious. In this paper we propose a novel method for numerically
evaluating text quality in large unlabelled NLP datasets in a model agnostic
manner to assign the text instances a "quality score".
By proposing the text quality metric, the paper establishes a framework to
identify and eliminate low-quality text instances, leading to improved training
efficiency for LM models. Experimental results over multiple models and
datasets demonstrate the efficacy of this approach, showcasing substantial
gains in training effectiveness and highlighting the potential for
resource-efficient LM training.
For example, we observe an absolute accuracy improvement of 0.9% averaged
over 14 downstream evaluation tasks for multiple LM models while using 40%
lesser data and training 42% faster when training on the OpenWebText dataset
and 0.8% average absolute accuracy improvement while using 20% lesser data and
training 21% faster on the Wikipedia dataset. | cs.CL | Text Quality-Based Pruning for Efficient Training of Language Models |
2024-04-26T17:30:36Z | http://arxiv.org/pdf/2404.17552v1 | http://arxiv.org/abs/2404.17552v1 | Rémi Uro, David Doukhan, Albert Rilliard, Laëtitia Larcher, Anissa-Claire Adgharouamane, Marie Tahon, Antoine Laurent | 2024-04-26T17:30:36Z | eess.AS, cs.CL, cs.DL, cs.LG, cs.SD | This paper presents a semi-automatic approach to create a diachronic corpus
of voices balanced for speaker's age, gender, and recording period, according
to 32 categories (2 genders, 4 age ranges and 4 recording periods). Corpora
were selected at French National Institute of Audiovisual (INA) to obtain at
least 30 speakers per category (a total of 960 speakers; only 874 have be found
yet). For each speaker, speech excerpts were extracted from audiovisual
documents using an automatic pipeline consisting of speech detection,
background music and overlapped speech removal and speaker diarization, used to
present clean speaker segments to human annotators identifying target speakers.
This pipeline proved highly effective, cutting down manual processing by a
factor of ten. Evaluation of the quality of the automatic processing and of the
final output is provided. It shows the automatic processing compare to
up-to-date process, and that the output provides high quality speech for most
of the selected excerpts. This method shows promise for creating large corpora
of known target speakers. | eess.AS | A Semi-Automatic Approach to Create Large Gender- and Age-Balanced Speaker Corpora: Usefulness of Speaker Diarization & Identification |
2024-04-26T17:18:32Z | http://arxiv.org/pdf/2404.17546v1 | http://arxiv.org/abs/2404.17546v1 | Stephen Zhao, Rob Brekelmans, Alireza Makhzani, Roger Grosse | 2024-04-26T17:18:32Z | cs.LG, cs.AI, cs.CL, stat.ML | Numerous capability and safety techniques of Large Language Models (LLMs),
including RLHF, automated red-teaming, prompt engineering, and infilling, can
be cast as sampling from an unnormalized target distribution defined by a given
reward or potential function over the full sequence. In this work, we leverage
the rich toolkit of Sequential Monte Carlo (SMC) for these probabilistic
inference problems. In particular, we use learned twist functions to estimate
the expected future value of the potential at each timestep, which enables us
to focus inference-time computation on promising partial sequences. We propose
a novel contrastive method for learning the twist functions, and establish
connections with the rich literature of soft reinforcement learning. As a
complementary application of our twisted SMC framework, we present methods for
evaluating the accuracy of language model inference techniques using novel
bidirectional SMC bounds on the log partition function. These bounds can be
used to estimate the KL divergence between the inference and target
distributions in both directions. We apply our inference evaluation techniques
to show that twisted SMC is effective for sampling undesirable outputs from a
pretrained model (a useful component of harmlessness training and automated
red-teaming), generating reviews with varied sentiment, and performing
infilling tasks. | cs.LG | Probabilistic Inference in Language Models via Twisted Sequential Monte Carlo |
2024-04-26T16:52:32Z | http://arxiv.org/pdf/2405.01581v1 | http://arxiv.org/abs/2405.01581v1 | Nele Köhler, Fabian Neuhaus | 2024-04-26T16:52:32Z | cs.CL, cs.AI | In our work, we systematize and analyze implicit ontological commitments in
the responses generated by large language models (LLMs), focusing on ChatGPT
3.5 as a case study. We investigate how LLMs, despite having no explicit
ontology, exhibit implicit ontological categorizations that are reflected in
the texts they generate. The paper proposes an approach to understanding the
ontological commitments of LLMs by defining ontology as a theory that provides
a systematic account of the ontological commitments of some text. We
investigate the ontological assumptions of ChatGPT and present a systematized
account, i.e., GPT's top-level ontology. This includes a taxonomy, which is
available as an OWL file, as well as a discussion about ontological assumptions
(e.g., about its mereology or presentism). We show that in some aspects GPT's
top-level ontology is quite similar to existing top-level ontologies. However,
there are significant challenges arising from the flexible nature of
LLM-generated texts, including ontological overload, ambiguity, and
inconsistency. | cs.CL | The Mercurial Top-Level Ontology of Large Language Models |
2024-04-26T16:41:24Z | http://arxiv.org/pdf/2404.17525v2 | http://arxiv.org/abs/2404.17525v2 | Yayati Jadhav, Amir Barati Farimani | 2024-05-09T15:31:08Z | cs.LG, cs.AI, cs.CL | Conventional mechanical design paradigms rely on experts systematically
refining concepts through experience-guided modification and FEA to meet
specific requirements. However, this approach can be time-consuming and heavily
dependent on prior knowledge and experience. While numerous machine learning
models have been developed to streamline this intensive and expert-driven
iterative process, these methods typically demand extensive training data and
considerable computational resources. Furthermore, methods based on deep
learning are usually restricted to the specific domains and tasks for which
they were trained, limiting their applicability across different tasks. This
creates a trade-off between the efficiency of automation and the demand for
resources. In this study, we present a novel approach that integrates
pre-trained LLMs with a FEM module. The FEM module evaluates each design and
provides essential feedback, guiding the LLMs to continuously learn, plan,
generate, and optimize designs without the need for domain-specific training.
We demonstrate the effectiveness of our proposed framework in managing the
iterative optimization of truss structures, showcasing its capability to reason
about and refine designs according to structured feedback and criteria. Our
results reveal that these LLM-based agents can successfully generate truss
designs that comply with natural language specifications with a success rate of
up to 90%, which varies according to the applied constraints. By employing
prompt-based optimization techniques we show that LLM based agents exhibit
optimization behavior when provided with solution-score pairs to iteratively
refine designs to meet specifications. This ability of LLM agents to produce
viable designs and optimize them based on their inherent reasoning capabilities
highlights their potential to develop and implement effective design strategies
autonomously. | cs.LG | Large Language Model Agent as a Mechanical Designer |
2024-04-26T16:41:00Z | http://arxiv.org/pdf/2404.17524v3 | http://arxiv.org/abs/2404.17524v3 | Luis Miguel Vieira da Silva, Aljosha Köcher, Felix Gehlhoff, Alexander Fay | 2024-06-30T10:58:28Z | cs.AI, cs.CL | Capability ontologies are increasingly used to model functionalities of
systems or machines. The creation of such ontological models with all
properties and constraints of capabilities is very complex and can only be done
by ontology experts. However, Large Language Models (LLMs) have shown that they
can generate machine-interpretable models from natural language text input and
thus support engineers / ontology experts. Therefore, this paper investigates
how LLMs can be used to create capability ontologies. We present a study with a
series of experiments in which capabilities with varying complexities are
generated using different prompting techniques and with different LLMs. Errors
in the generated ontologies are recorded and compared. To analyze the quality
of the generated ontologies, a semi-automated approach based on RDF syntax
checking, OWL reasoning, and SHACL constraints is used. The results of this
study are very promising because even for complex capabilities, the generated
ontologies are almost free of errors. | cs.AI | On the Use of Large Language Models to Generate Capability Ontologies |
2024-04-26T16:28:34Z | http://arxiv.org/pdf/2404.17513v1 | http://arxiv.org/abs/2404.17513v1 | Zhengwei Tao, Zhi Jin, Yifan Zhang, Xiancai Chen, Xiaoying Bai, Yue Fang, Haiyan Zhao, Jia Li, Chongyang Tao | 2024-04-26T16:28:34Z | cs.CL, cs.AI | Event reasoning is a fundamental ability that underlies many applications. It
requires event schema knowledge to perform global reasoning and needs to deal
with the diversity of the inter-event relations and the reasoning paradigms.
How well LLMs accomplish event reasoning on various relations and reasoning
paradigms remains unknown. To mitigate this disparity, we comprehensively
evaluate the abilities of event reasoning of LLMs. We introduce a novel
benchmark EV2 for EValuation of EVent reasoning. EV2 consists of two levels of
evaluation of schema and instance and is comprehensive in relations and
reasoning paradigms. We conduct extensive experiments on EV2. We find that LLMs
have abilities to accomplish event reasoning but their performances are far
from satisfactory. We also notice the imbalance of event reasoning abilities in
LLMs. Besides, LLMs have event schema knowledge, however, they're not aligned
with humans on how to utilize the knowledge. Based on these findings, we
introduce two methods to guide the LLMs to utilize the event schema knowledge.
Both methods achieve improvements. | cs.CL | A Comprehensive Evaluation on Event Reasoning of Large Language Models |
2024-04-26T15:31:25Z | http://arxiv.org/pdf/2404.17481v2 | http://arxiv.org/abs/2404.17481v2 | Tyler Loakman, Chenghua Lin | 2024-05-14T17:36:13Z | cs.CL | This paper presents a partial reproduction of Generating Fact Checking
Explanations by Anatanasova et al (2020) as part of the ReproHum element of the
ReproNLP shared task to reproduce the findings of NLP research regarding human
evaluation. This shared task aims to investigate the extent to which NLP as a
field is becoming more or less reproducible over time. Following the
instructions provided by the task organisers and the original authors, we
collect relative rankings of 3 fact-checking explanations (comprising a gold
standard and the outputs of 2 models) for 40 inputs on the criteria of
Coverage. The results of our reproduction and reanalysis of the original work's
raw results lend support to the original findings, with similar patterns seen
between the original work and our reproduction. Whilst we observe slight
variation from the original results, our findings support the main conclusions
drawn by the original authors pertaining to the efficacy of their proposed
models. | cs.CL | ReproHum #0087-01: Human Evaluation Reproduction Report for Generating Fact Checking Explanations |
2024-04-26T15:23:47Z | http://arxiv.org/pdf/2404.17475v1 | http://arxiv.org/abs/2404.17475v1 | Van Bach Nguyen, Jörg Schlötterer, Christin Seifert | 2024-04-26T15:23:47Z | cs.CL, cs.AI | Counterfactual text generation aims to minimally change a text, such that it
is classified differently. Judging advancements in method development for
counterfactual text generation is hindered by a non-uniform usage of data sets
and metrics in related work. We propose CEval, a benchmark for comparing
counterfactual text generation methods. CEval unifies counterfactual and text
quality metrics, includes common counterfactual datasets with human
annotations, standard baselines (MICE, GDBA, CREST) and the open-source
language model LLAMA-2. Our experiments found no perfect method for generating
counterfactual text. Methods that excel at counterfactual metrics often produce
lower-quality text while LLMs with simple prompts generate high-quality text
but struggle with counterfactual criteria. By making CEval available as an
open-source Python library, we encourage the community to contribute more
methods and maintain consistent evaluation in future work. | cs.CL | CEval: A Benchmark for Evaluating Counterfactual Text Generation |
2024-04-26T14:57:55Z | http://arxiv.org/pdf/2404.17460v1 | http://arxiv.org/abs/2404.17460v1 | Robin Schmucker, Meng Xia, Amos Azaria, Tom Mitchell | 2024-04-26T14:57:55Z | cs.CL | Conversational tutoring systems (CTSs) offer learning experiences through
interactions based on natural language. They are recognized for promoting
cognitive engagement and improving learning outcomes, especially in reasoning
tasks. Nonetheless, the cost associated with authoring CTS content is a major
obstacle to widespread adoption and to research on effective instructional
design. In this paper, we discuss and evaluate a novel type of CTS that
leverages recent advances in large language models (LLMs) in two ways: First,
the system enables AI-assisted content authoring by inducing an easily editable
tutoring script automatically from a lesson text. Second, the system automates
the script orchestration in a learning-by-teaching format via two LLM-based
agents (Ruffle&Riley) acting as a student and a professor. The system allows
for free-form conversations that follow the ITS-typical inner and outer loop
structure. We evaluate Ruffle&Riley's ability to support biology lessons in two
between-subject online user studies (N = 200) comparing the system to simpler
QA chatbots and reading activity. Analyzing system usage patterns,
pre/post-test scores and user experience surveys, we find that Ruffle&Riley
users report high levels of engagement, understanding and perceive the offered
support as helpful. Even though Ruffle&Riley users require more time to
complete the activity, we did not find significant differences in short-term
learning gains over the reading activity. Our system architecture and user
study provide various insights for designers of future CTSs. We further
open-source our system to support ongoing research on effective instructional
design of LLM-based learning technologies. | cs.CL | Ruffle&Riley: Insights from Designing and Evaluating a Large Language Model-Based Conversational Tutoring System |
2024-04-26T14:50:59Z | http://arxiv.org/pdf/2405.06662v1 | http://arxiv.org/abs/2405.06662v1 | Chufan Gao, Tianfan Fu, Jimeng Sun | 2024-04-26T14:50:59Z | q-bio.BM, cs.CL, cs.LG | Clinical trial outcome prediction seeks to estimate the likelihood that a
clinical trial will successfully reach its intended endpoint. This process
predominantly involves the development of machine learning models that utilize
a variety of data sources such as descriptions of the clinical trials,
characteristics of the drug molecules, and specific disease conditions being
targeted. Accurate predictions of trial outcomes are crucial for optimizing
trial planning and prioritizing investments in a drug portfolio. While previous
research has largely concentrated on small-molecule drugs, there is a growing
need to focus on biologics-a rapidly expanding category of therapeutic agents
that often lack the well-defined molecular properties associated with
traditional drugs. Additionally, applying conventional methods like graph
neural networks to biologics data proves challenging due to their complex
nature. To address these challenges, we introduce the Language Interaction
Network (LINT), a novel approach that predicts trial outcomes using only the
free-text descriptions of the trials. We have rigorously tested the
effectiveness of LINT across three phases of clinical trials, where it achieved
ROC-AUC scores of 0.770, 0.740, and 0.748 for phases I, II, and III,
respectively, specifically concerning trials involving biologic interventions. | q-bio.BM | Language Interaction Network for Clinical Trial Approval Estimation |
2024-04-26T13:22:28Z | http://arxiv.org/pdf/2404.17401v1 | http://arxiv.org/abs/2404.17401v1 | Rémy Decoupes, Roberto Interdonato, Mathieu Roche, Maguelonne Teisseire, Sarah Valentin | 2024-04-26T13:22:28Z | cs.CL | Language models now constitute essential tools for improving efficiency for
many professional tasks such as writing, coding, or learning. For this reason,
it is imperative to identify inherent biases. In the field of Natural Language
Processing, five sources of bias are well-identified: data, annotation,
representation, models, and research design. This study focuses on biases
related to geographical knowledge. We explore the connection between geography
and language models by highlighting their tendency to misrepresent spatial
information, thus leading to distortions in the representation of geographical
distances. This study introduces four indicators to assess these distortions,
by comparing geographical and semantic distances. Experiments are conducted
from these four indicators with ten widely used language models. Results
underscore the critical necessity of inspecting and rectifying spatial biases
in language models to ensure accurate and equitable representations. | cs.CL | Evaluation of Geographical Distortions in Language Models: A Crucial Step Towards Equitable Representations |
2024-04-26T13:14:28Z | http://arxiv.org/pdf/2404.17394v1 | http://arxiv.org/abs/2404.17394v1 | Ruben Janssens, Eva Verhelst, Giulio Antonio Abbo, Qiaoqiao Ren, Maria Jose Pinto Bernal, Tony Belpaeme | 2024-04-26T13:14:28Z | cs.CL, cs.HC, cs.RO | Automated Speech Recognition shows superhuman performance for adult English
speech on a range of benchmarks, but disappoints when fed children's speech.
This has long sat in the way of child-robot interaction. Recent evolutions in
data-driven speech recognition, including the availability of Transformer
architectures and unprecedented volumes of training data, might mean a
breakthrough for child speech recognition and social robot applications aimed
at children. We revisit a study on child speech recognition from 2017 and show
that indeed performance has increased, with newcomer OpenAI Whisper doing
markedly better than leading commercial cloud services. While transcription is
not perfect yet, the best model recognises 60.3% of sentences correctly barring
small grammatical differences, with sub-second transcription time running on a
local GPU, showing potential for usable autonomous child-robot speech
interactions. | cs.CL | Child Speech Recognition in Human-Robot Interaction: Problem Solved? |
2024-04-26T11:57:21Z | http://arxiv.org/pdf/2405.00722v1 | http://arxiv.org/abs/2405.00722v1 | Van Bach Nguyen, Paul Youssef, Jörg Schlötterer, Christin Seifert | 2024-04-26T11:57:21Z | cs.CL, cs.AI | As NLP models become more complex, understanding their decisions becomes more
crucial. Counterfactuals (CFs), where minimal changes to inputs flip a model's
prediction, offer a way to explain these models. While Large Language Models
(LLMs) have shown remarkable performance in NLP tasks, their efficacy in
generating high-quality CFs remains uncertain. This work fills this gap by
investigating how well LLMs generate CFs for two NLU tasks. We conduct a
comprehensive comparison of several common LLMs, and evaluate their CFs,
assessing both intrinsic metrics, and the impact of these CFs on data
augmentation. Moreover, we analyze differences between human and LLM-generated
CFs, providing insights for future research directions. Our results show that
LLMs generate fluent CFs, but struggle to keep the induced changes minimal.
Generating CFs for Sentiment Analysis (SA) is less challenging than NLI where
LLMs show weaknesses in generating CFs that flip the original label. This also
reflects on the data augmentation performance, where we observe a large gap
between augmenting with human and LLMs CFs. Furthermore, we evaluate LLMs'
ability to assess CFs in a mislabelled data setting, and show that they have a
strong bias towards agreeing with the provided labels. GPT4 is more robust
against this bias and its scores correlate well with automatic metrics. Our
findings reveal several limitations and point to potential future work
directions. | cs.CL | LLMs for Generating and Evaluating Counterfactuals: A Comprehensive Study |
2024-04-26T11:50:15Z | http://arxiv.org/pdf/2404.17343v1 | http://arxiv.org/abs/2404.17343v1 | Zhenghao Wei, Kehua Lin, Jianlin Feng | 2024-04-26T11:50:15Z | cs.CL, cs.FL | Assembly Calculus (AC), proposed by Papadimitriou et al., aims to reproduce
advanced cognitive functions through simulating neural activities, with several
applications based on AC having been developed, including a natural language
parser proposed by Mitropolsky et al. However, this parser lacks the ability to
handle Kleene closures, preventing it from parsing all regular languages and
rendering it weaker than Finite Automata (FA). In this paper, we propose a new
bionic natural language parser (BNLP) based on AC and integrates two new
biologically rational structures, Recurrent Circuit and Stack Circuit which are
inspired by RNN and short-term memory mechanism. In contrast to the original
parser, the BNLP can fully handle all regular languages and Dyck languages.
Therefore, leveraging the Chomsky-Sch \H{u}tzenberger theorem, the BNLP which
can parse all Context-Free Languages can be constructed. We also formally prove
that for any PDA, a Parser Automaton corresponding to BNLP can always be
formed, ensuring that BNLP has a description ability equal to that of PDA and
addressing the deficiencies of the original parser. | cs.CL | A Bionic Natural Language Parser Equivalent to a Pushdown Automaton |
2024-04-26T11:46:05Z | http://arxiv.org/pdf/2404.17342v1 | http://arxiv.org/abs/2404.17342v1 | Teresa Lynn, Malik H. Altakrori, Samar Mohamed Magdy, Rocktim Jyoti Das, Chenyang Lyu, Mohamed Nasr, Younes Samih, Alham Fikri Aji, Preslav Nakov, Shantanu Godbole, Salim Roukos, Radu Florian, Nizar Habash | 2024-04-26T11:46:05Z | cs.CL, cs.AI | The rapid evolution of Natural Language Processing (NLP) has favored major
languages such as English, leaving a significant gap for many others due to
limited resources. This is especially evident in the context of data
annotation, a task whose importance cannot be underestimated, but which is
time-consuming and costly. Thus, any dataset for resource-poor languages is
precious, in particular when it is task-specific. Here, we explore the
feasibility of repurposing existing datasets for a new NLP task: we repurposed
the Belebele dataset (Bandarkar et al., 2023), which was designed for
multiple-choice question answering (MCQA), to enable extractive QA (EQA) in the
style of machine reading comprehension. We present annotation guidelines and a
parallel EQA dataset for English and Modern Standard Arabic (MSA). We also
present QA evaluation results for several monolingual and cross-lingual QA
pairs including English, MSA, and five Arabic dialects. Our aim is to enable
others to adapt our approach for the 120+ other language variants in Belebele,
many of which are deemed under-resourced. We also conduct a thorough analysis
and share our insights from the process, which we hope will contribute to a
deeper understanding of the challenges and the opportunities associated with
task reformulation in NLP research. | cs.CL | Can a Multichoice Dataset be Repurposed for Extractive Question Answering? |
2024-04-26T11:37:45Z | http://arxiv.org/pdf/2404.17337v1 | http://arxiv.org/abs/2404.17337v1 | Ben Nagy, Artjoms Šeļa, Mirella De Sisto, Petr Plecháč | 2024-04-26T11:37:45Z | cs.CL | All poetic forms come from somewhere. Prosodic templates can be copied for
generations, altered by individuals, imported from foreign traditions, or
fundamentally changed under the pressures of language evolution. Yet these
relationships are notoriously difficult to trace across languages and times.
This paper introduces an unsupervised method for detecting structural
similarities in poems using local sequence alignment. The method relies on
encoding poetic texts as strings of prosodic features using a four-letter
alphabet; these sequences are then aligned to derive a distance measure based
on weighted symbol (mis)matches. Local alignment allows poems to be clustered
according to emergent properties of their underlying prosodic patterns. We
evaluate method performance on a meter recognition tasks against strong
baselines and show its potential for cross-lingual and historical research
using three short case studies: 1) mutations in quantitative meter in classical
Latin, 2) European diffusion of the Renaissance hendecasyllable, and 3)
comparative alignment of modern meters in 18--19th century Czech, German and
Russian. We release an implementation of the algorithm as a Python package with
an open license. | cs.CL | Metronome: tracing variation in poetic meters via local sequence alignment |
2024-04-26T11:34:11Z | http://arxiv.org/pdf/2404.17336v1 | http://arxiv.org/abs/2404.17336v1 | H. Toprak Kesgin, M. Kaan Yuce, Eren Dogan, M. Egemen Uzun, Atahan Uz, H. Emre Seyrek, Ahmed Zeer, M. Fatih Amasyali | 2024-04-26T11:34:11Z | cs.CL, cs.AI | The number of open source language models that can produce Turkish is
increasing day by day, as in other languages. In order to create the basic
versions of such models, the training of multilingual models is usually
continued with Turkish corpora. The alternative is to train the model with only
Turkish corpora. In this study, we first introduce the cosmosGPT models that we
created with this alternative method. Then, we introduce new finetune datasets
for basic language models to fulfill user requests and new evaluation datasets
for measuring the capabilities of Turkish language models. Finally, a
comprehensive comparison of the adapted Turkish language models on different
capabilities is presented. The results show that the language models we built
with the monolingual corpus have promising performance despite being about 10
times smaller than the others. | cs.CL | Introducing cosmosGPT: Monolingual Training for Turkish Language Models |
2024-04-26T09:44:26Z | http://arxiv.org/pdf/2405.02333v1 | http://arxiv.org/abs/2405.02333v1 | Christoph Draxler, Henk van den Heuvel, Arjan van Hessen, Pavel Ircing, Jan Lehečka | 2024-04-26T09:44:26Z | cs.SD, cs.CL, eess.AS, J.5 | Oral history is about oral sources of witnesses and commentors on historical
events. Speech technology is an important instrument to process such recordings
in order to obtain transcription and further enhancements to structure the oral
account In this contribution we address the transcription portal and the
webservices associated with speech processing at BAS, speech solutions
developed at LINDAT, how to do it yourself with Whisper, remaining challenges,
and future developments. | cs.SD | Speech Technology Services for Oral History Research |
2024-04-26T09:42:46Z | http://arxiv.org/pdf/2404.17287v2 | http://arxiv.org/abs/2404.17287v2 | Shuchang Tao, Liuyi Yao, Hanxing Ding, Yuexiang Xie, Qi Cao, Fei Sun, Jinyang Gao, Huawei Shen, Bolin Ding | 2024-06-09T04:54:46Z | cs.CL | Despite the success of large language models (LLMs) in natural language
generation, much evidence shows that LLMs may produce incorrect or nonsensical
text. This limitation highlights the importance of discerning when to trust
LLMs, especially in safety-critical domains. Existing methods often express
reliability by confidence level, however, their effectiveness is limited by the
lack of objective guidance. To address this, we propose
CONfidence-Quality-ORDer-preserving alignment approach (CONQORD), which
leverages reinforcement learning guided by a tailored dual-component reward
function. This function integrates quality reward and order-preserving
alignment reward functions. Specifically, the order-preserving reward
incentivizes the model to verbalize greater confidence for responses of higher
quality to align the order of confidence and quality. Experiments demonstrate
that CONQORD significantly improves the alignment performance between
confidence and response accuracy, without causing over-cautious. Furthermore,
the aligned confidence provided by CONQORD informs when to trust LLMs, and acts
as a determinant for initiating the retrieval process of external knowledge.
Aligning confidence with response quality ensures more transparent and reliable
responses, providing better trustworthiness. | cs.CL | When to Trust LLMs: Aligning Confidence with Response Quality |
2024-04-26T09:38:27Z | http://arxiv.org/pdf/2404.17283v1 | http://arxiv.org/abs/2404.17283v1 | Xuan Zhang, Wei Gao | 2024-04-26T09:38:27Z | cs.CL | Retrieval-augmented language models have exhibited promising performance
across various areas of natural language processing (NLP), including
fact-critical tasks. However, due to the black-box nature of advanced large
language models (LLMs) and the non-retrieval-oriented supervision signal of
specific tasks, the training of retrieval model faces significant challenges
under the setting of black-box LLM. We propose an approach leveraging
Fine-grained Feedback with Reinforcement Retrieval (FFRR) to enhance
fact-checking on news claims by using black-box LLM. FFRR adopts a two-level
strategy to gather fine-grained feedback from the LLM, which serves as a reward
for optimizing the retrieval policy, by rating the retrieved documents based on
the non-retrieval ground truth of the task. We evaluate our model on two public
datasets for real-world news claim verification, and the results demonstrate
that FFRR achieves significant improvements over strong LLM-enabled and non-LLM
baselines. | cs.CL | Reinforcement Retrieval Leveraging Fine-grained Feedback for Fact Checking News Claims with Black-Box LLM |
2024-04-26T07:46:29Z | http://arxiv.org/pdf/2404.17218v2 | http://arxiv.org/abs/2404.17218v2 | Mahammed Kamruzzaman, Gene Louis Kim | 2024-06-28T23:54:49Z | cs.CL | Dual process theory posits that human cognition arises via two systems.
System 1, which is a quick, emotional, and intuitive process, which is subject
to cognitive biases, and System 2, a slow, onerous, and deliberate process. NLP
researchers often compare zero-shot prompting in LLMs to System 1 reasoning and
chain-of-thought (CoT) prompting to System 2. In line with this interpretation,
prior research has found that using CoT prompting in LLMs leads to reduced
gender bias. We investigate the relationship between bias, CoT prompting, and
dual process theory in LLMs directly. We compare zero-shot, CoT, and a variety
of dual process theory-based prompting strategies on two bias datasets spanning
nine different social bias categories. We also use human and machine personas
to determine whether the effects of dual process theory in LLMs are based on
modeling human cognition or inherent to the system. We find that a human
persona, System 2, and CoT prompting all tend to reduce social biases in LLMs,
though the best combination of features depends on the exact model and bias
category -- resulting in up to a 13 percent drop in stereotypical judgments by
an LLM. | cs.CL | Prompting Techniques for Reducing Social Bias in LLMs through System 1 and System 2 Cognitive Processes |
2024-04-26T07:44:44Z | http://arxiv.org/pdf/2404.17216v1 | http://arxiv.org/abs/2404.17216v1 | Michelle Terblanche, Kayode Olaleye, Vukosi Marivate | 2024-04-26T07:44:44Z | cs.CL | Many multilingual communities, including numerous in Africa, frequently
engage in code-switching during conversations. This behaviour stresses the need
for natural language processing technologies adept at processing code-switched
text. However, data scarcity, particularly in African languages, poses a
significant challenge, as many are low-resourced and under-represented. In this
study, we prompted GPT 3.5 to generate Afrikaans--English and Yoruba--English
code-switched sentences, enhancing diversity using topic-keyword pairs,
linguistic guidelines, and few-shot examples. Our findings indicate that the
quality of generated sentences for languages using non-Latin scripts, like
Yoruba, is considerably lower when compared with the high Afrikaans-English
success rate. There is therefore a notable opportunity to refine prompting
guidelines to yield sentences suitable for the fine-tuning of language models.
We propose a framework for augmenting the diversity of synthetically generated
code-switched data using GPT and propose leveraging this technology to mitigate
data scarcity in low-resourced languages, underscoring the essential role of
native speakers in this process. | cs.CL | Prompting Towards Alleviating Code-Switched Data Scarcity in Under-Resourced Languages with GPT as a Pivot |
2024-04-26T07:07:43Z | http://arxiv.org/pdf/2404.17194v1 | http://arxiv.org/abs/2404.17194v1 | Hailay Teklehaymanot, Dren Fazlija, Niloy Ganguly, Gourab K. Patro, Wolfgang Nejdl | 2024-04-26T07:07:43Z | cs.CL, cs.CL | The absence of explicitly tailored, accessible annotated datasets for
educational purposes presents a notable obstacle for NLP tasks in languages
with limited resources.This study initially explores the feasibility of using
machine translation (MT) to convert an existing dataset into a Tigrinya dataset
in SQuAD format. As a result, we present TIGQA, an expert annotated educational
dataset consisting of 2.68K question-answer pairs covering 122 diverse topics
such as climate, water, and traffic. These pairs are from 537 context
paragraphs in publicly accessible Tigrinya and Biology books. Through
comprehensive analyses, we demonstrate that the TIGQA dataset requires skills
beyond simple word matching, requiring both single-sentence and
multiple-sentence inference abilities. We conduct experiments using
state-of-the art MRC methods, marking the first exploration of such models on
TIGQA. Additionally, we estimate human performance on the dataset and juxtapose
it with the results obtained from pretrained models.The notable disparities
between human performance and best model performance underscore the potential
for further enhancements to TIGQA through continued research. Our dataset is
freely accessible via the provided link to encourage the research community to
address the challenges in the Tigrinya MRC. | cs.CL | TIGQA:An Expert Annotated Question Answering Dataset in Tigrinya |
2024-04-26T06:28:51Z | http://arxiv.org/pdf/2404.17183v1 | http://arxiv.org/abs/2404.17183v1 | Muhammad Rizwan, Jure Demšar | 2024-04-26T06:28:51Z | cs.CL, cs.AI | Social anxiety represents a prevalent challenge in modern society, affecting
individuals across personal and professional spheres. Left unaddressed, this
condition can yield substantial negative consequences, impacting social
interactions and performance. Further understanding its diverse physical and
emotional symptoms becomes pivotal for comprehensive diagnosis and tailored
therapeutic interventions. This study analyze prevalence and frequency of
social anxiety symptoms taken from Mayo Clinic, exploring diverse human
experiences from utilizing a large Reddit dataset dedicated to this issue.
Leveraging these platforms, the research aims to extract insights and examine a
spectrum of physical and emotional symptoms linked to social anxiety disorder.
Upholding ethical considerations, the study maintains strict user anonymity
within the dataset. By employing a novel approach, the research utilizes
BART-based multi-label zero-shot classification to identify and measure symptom
prevalence and significance in the form of probability score for each symptom
under consideration. Results uncover distinctive patterns: "Trembling" emerges
as a prevalent physical symptom, while emotional symptoms like "Fear of being
judged negatively" exhibit high frequencies. These findings offer insights into
the multifaceted nature of social anxiety, aiding clinical practices and
interventions tailored to its diverse expressions. | cs.CL | Prevalent Frequency of Emotional and Physical Symptoms in Social Anxiety using Zero Shot Classification: An Observational Study |
2024-04-26T06:19:21Z | http://arxiv.org/pdf/2404.17178v2 | http://arxiv.org/abs/2404.17178v2 | Haojie Zhang, Yimeng Zhuang | 2024-05-08T10:37:24Z | cs.CL | Few-shot Named Entity Recognition (NER) aims to extract named entities using
only a limited number of labeled examples. Existing contrastive learning
methods often suffer from insufficient distinguishability in context vector
representation because they either solely rely on label semantics or completely
disregard them. To tackle this issue, we propose a unified label-aware
token-level contrastive learning framework. Our approach enriches the context
by utilizing label semantics as suffix prompts. Additionally, it simultaneously
optimizes context-context and context-label contrastive learning objectives to
enhance generalized discriminative contextual representations.Extensive
experiments on various traditional test domains (OntoNotes, CoNLL'03, WNUT'17,
GUM, I2B2) and the large-scale few-shot NER dataset (FEWNERD) demonstrate the
effectiveness of our approach. It outperforms prior state-of-the-art models by
a significant margin, achieving an average absolute gain of 7% in micro F1
scores across most scenarios. Further analysis reveals that our model benefits
from its powerful transfer capability and improved contextual representations. | cs.CL | A Unified Label-Aware Contrastive Learning Framework for Few-Shot Named Entity Recognition |
2024-04-26T05:29:35Z | http://arxiv.org/pdf/2405.01577v1 | http://arxiv.org/abs/2405.01577v1 | Tanmay Sen, Ansuman Das, Mrinmay Sen | 2024-04-26T05:29:35Z | cs.CL, cs.LG | Hate speech encompasses verbal, written, or behavioral communication that
targets derogatory or discriminatory language against individuals or groups
based on sensitive characteristics. Automated hate speech detection plays a
crucial role in curbing its propagation, especially across social media
platforms. Various methods, including recent advancements in deep learning,
have been devised to address this challenge. In this study, we introduce
HateTinyLLM, a novel framework based on fine-tuned decoder-only tiny large
language models (tinyLLMs) for efficient hate speech detection. Our
experimental findings demonstrate that the fine-tuned HateTinyLLM outperforms
the pretrained mixtral-7b model by a significant margin. We explored various
tiny LLMs, including PY007/TinyLlama-1.1B-step-50K-105b, Microsoft/phi-2, and
facebook/opt-1.3b, and fine-tuned them using LoRA and adapter methods. Our
observations indicate that all LoRA-based fine-tuned models achieved over 80\%
accuracy. | cs.CL | HateTinyLLM : Hate Speech Detection Using Tiny Large Language Models |
2024-04-26T04:12:08Z | http://arxiv.org/pdf/2404.17143v1 | http://arxiv.org/abs/2404.17143v1 | Shotaro Ishihara | 2024-04-26T04:12:08Z | cs.CL | Dominant pre-trained language models (PLMs) have been successful in
high-quality natural language generation. However, the analysis of their
generation is not mature: do they acquire generalizable linguistic
abstractions, or do they simply memorize and recover substrings of the training
data? Especially, few studies focus on domain-specific PLM. In this study, we
pre-trained domain-specific GPT-2 models using a limited corpus of Japanese
newspaper articles and quantified memorization of training data by comparing
them with general Japanese GPT-2 models. Our experiments revealed that
domain-specific PLMs sometimes "copy and paste" on a large scale. Furthermore,
we replicated the empirical finding that memorization is related to
duplication, model size, and prompt length, in Japanese the same as in previous
English studies. Our evaluations are relieved from data contamination concerns
by focusing on newspaper paywalls, which prevent their use as training data. We
hope that our paper encourages a sound discussion such as the security and
copyright of PLMs. | cs.CL | Quantifying Memorization of Domain-Specific Pre-trained Language Models using Japanese Newspaper and Paywalls |
2024-04-26T03:41:28Z | http://arxiv.org/pdf/2404.17140v2 | http://arxiv.org/abs/2404.17140v2 | Yunxiang Zhang, Muhammad Khalifa, Lajanugen Logeswaran, Jaekyeom Kim, Moontae Lee, Honglak Lee, Lu Wang | 2024-06-06T03:59:24Z | cs.CL | Self-correction has emerged as a promising solution to boost the reasoning
performance of large language models (LLMs), where LLMs refine their solutions
using self-generated critiques that pinpoint the errors. This work explores
whether small (<= 13B) language models (LMs) have the ability of
self-correction on reasoning tasks with minimal inputs from stronger LMs. We
propose a novel pipeline that prompts smaller LMs to collect self-correction
data that supports the training of self-refinement abilities. First, we
leverage correct solutions to guide the model in critiquing their incorrect
responses. Second, the generated critiques, after filtering, are used for
supervised fine-tuning of the self-correcting reasoner through solution
refinement. Our experimental results show improved self-correction abilities of
two models on five datasets spanning math and commonsense reasoning, with
notable performance gains when paired with a strong GPT-4-based verifier,
though limitations are identified when using a weak self-verifier for
determining when to correct. | cs.CL | Small Language Models Need Strong Verifiers to Self-Correct Reasoning |
2024-04-26T03:25:35Z | http://arxiv.org/pdf/2404.17136v1 | http://arxiv.org/abs/2404.17136v1 | Yang Wu, Yao Wan, Hongyu Zhang, Yulei Sui, Wucai Wei, Wei Zhao, Guandong Xu, Hai Jin | 2024-04-26T03:25:35Z | cs.DB, cs.AI, cs.CL | The Natural Language to Visualization (NL2Vis) task aims to transform
natural-language descriptions into visual representations for a grounded table,
enabling users to gain insights from vast amounts of data. Recently, many deep
learning-based approaches have been developed for NL2Vis. Despite the
considerable efforts made by these approaches, challenges persist in
visualizing data sourced from unseen databases or spanning multiple tables.
Taking inspiration from the remarkable generation capabilities of Large
Language Models (LLMs), this paper conducts an empirical study to evaluate
their potential in generating visualizations, and explore the effectiveness of
in-context learning prompts for enhancing this task. In particular, we first
explore the ways of transforming structured tabular data into sequential text
prompts, as to feed them into LLMs and analyze which table content contributes
most to the NL2Vis. Our findings suggest that transforming structured tabular
data into programs is effective, and it is essential to consider the table
schema when formulating prompts. Furthermore, we evaluate two types of LLMs:
finetuned models (e.g., T5-Small) and inference-only models (e.g., GPT-3.5),
against state-of-the-art methods, using the NL2Vis benchmarks (i.e., nvBench).
The experimental results reveal that LLMs outperform baselines, with
inference-only models consistently exhibiting performance improvements, at
times even surpassing fine-tuned models when provided with certain few-shot
demonstrations through in-context learning. Finally, we analyze when the LLMs
fail in NL2Vis, and propose to iteratively update the results using strategies
such as chain-of-thought, role-playing, and code-interpreter. The experimental
results confirm the efficacy of iterative updates and hold great potential for
future study. | cs.DB | Automated Data Visualization from Natural Language via Large Language Models: An Exploratory Study |
2024-04-26T02:40:03Z | http://arxiv.org/pdf/2404.17123v2 | http://arxiv.org/abs/2404.17123v2 | Wei Xu, Jianlong Chen, Zhicheng Ding, Jinyin Wang | 2024-06-12T14:12:17Z | cs.CL, cs.LG | This paper explores the importance of text sentiment analysis and
classification in the field of natural language processing, and proposes a new
approach to sentiment analysis and classification based on the bidirectional
gated recurrent units (GRUs) model. The study firstly analyses the word cloud
model of the text with six sentiment labels, and then carries out data
preprocessing, including the steps of removing special symbols, punctuation
marks, numbers, stop words and non-alphabetic parts. Subsequently, the data set
is divided into training set and test set, and through model training and
testing, it is found that the accuracy of the validation set is increased from
85% to 93% with training, which is an increase of 8%; at the same time, the
loss value of the validation set decreases from 0.7 to 0.1 and tends to be
stable, and the model is gradually close to the actual value, which can
effectively classify the text emotions. The confusion matrix shows that the
accuracy of the model on the test set reaches 94.8%, the precision is 95.9%,
the recall is 99.1%, and the F1 score is 97.4%, which proves that the model has
good generalisation ability and classification effect. Overall, the study
demonstrated an effective method for text sentiment analysis and classification
with satisfactory results. | cs.CL | Text Sentiment Analysis and Classification Based on Bidirectional Gated Recurrent Units (GRUs) Model |
2024-04-26T02:34:31Z | http://arxiv.org/pdf/2404.17122v1 | http://arxiv.org/abs/2404.17122v1 | Dongsheng Wang, Xiaoqin Feng, Zeming Liu, Chuan Wang | 2024-04-26T02:34:31Z | cs.CL, cs.AI | Named entity recognition (NER) is a fundamental task in natural language
processing that involves identifying and classifying entities in sentences into
pre-defined types. It plays a crucial role in various research fields,
including entity linking, question answering, and online product
recommendation. Recent studies have shown that incorporating multilingual and
multimodal datasets can enhance the effectiveness of NER. This is due to
language transfer learning and the presence of shared implicit features across
different modalities. However, the lack of a dataset that combines
multilingualism and multimodality has hindered research exploring the
combination of these two aspects, as multimodality can help NER in multiple
languages simultaneously. In this paper, we aim to address a more challenging
task: multilingual and multimodal named entity recognition (MMNER), considering
its potential value and influence. Specifically, we construct a large-scale
MMNER dataset with four languages (English, French, German and Spanish) and two
modalities (text and image). To tackle this challenging MMNER task on the
dataset, we introduce a new model called 2M-NER, which aligns the text and
image representations using contrastive learning and integrates a multimodal
collaboration module to effectively depict the interactions between the two
modalities. Extensive experimental results demonstrate that our model achieves
the highest F1 score in multilingual and multimodal NER tasks compared to some
comparative and representative baselines. Additionally, in a challenging
analysis, we discovered that sentence-level alignment interferes a lot with NER
models, indicating the higher level of difficulty in our dataset. | cs.CL | 2M-NER: Contrastive Learning for Multilingual and Multimodal NER with Language and Modal Fusion |
2024-04-26T02:29:26Z | http://arxiv.org/pdf/2404.17120v2 | http://arxiv.org/abs/2404.17120v2 | Valeriia Cherepanova, James Zou | 2024-04-29T17:41:51Z | cs.CL, cs.AI, cs.LG | Large language models (LLMs) exhibit excellent ability to understand human
languages, but do they also understand their own language that appears
gibberish to us? In this work we delve into this question, aiming to uncover
the mechanisms underlying such behavior in LLMs. We employ the Greedy
Coordinate Gradient optimizer to craft prompts that compel LLMs to generate
coherent responses from seemingly nonsensical inputs. We call these inputs LM
Babel and this work systematically studies the behavior of LLMs manipulated by
these prompts. We find that the manipulation efficiency depends on the target
text's length and perplexity, with the Babel prompts often located in lower
loss minima compared to natural prompts. We further examine the structure of
the Babel prompts and evaluate their robustness. Notably, we find that guiding
the model to generate harmful texts is not more difficult than into generating
benign texts, suggesting lack of alignment for out-of-distribution prompts. | cs.CL | Talking Nonsense: Probing Large Language Models' Understanding of Adversarial Gibberish Inputs |
2024-04-26T02:04:05Z | http://arxiv.org/pdf/2404.17609v2 | http://arxiv.org/abs/2404.17609v2 | Yinghan Cheng, Qi Zhang, Chongyang Shi, Liang Xiao, Shufeng Hao, Liang Hu | 2024-06-19T13:34:24Z | cs.LG, cs.AI, cs.CL | Stance detection seeks to identify the viewpoints of individuals either in
favor or against a given target or a controversial topic. Current advanced
neural models for stance detection typically employ fully parametric softmax
classifiers. However, these methods suffer from several limitations, including
lack of explainability, insensitivity to the latent data structure, and
unimodality, which greatly restrict their performance and applications. To
address these challenges, we present a novel collaborative stance detection
framework called (CoSD) which leverages contrastive heterogeneous topic graph
learning to learn topic-aware semantics and collaborative signals among texts,
topics, and stance labels for enhancing stance detection. During training, we
construct a heterogeneous graph to structurally organize texts and stances
through implicit topics via employing latent Dirichlet allocation. We then
perform contrastive graph learning to learn heterogeneous node representations,
aggregating informative multi-hop collaborative signals via an elaborate
Collaboration Propagation Aggregation (CPA) module. During inference, we
introduce a hybrid similarity scoring module to enable the comprehensive
incorporation of topic-aware semantics and collaborative signals for stance
detection. Extensive experiments on two benchmark datasets demonstrate the
state-of-the-art detection performance of CoSD, verifying the effectiveness and
explainability of our collaborative framework. | cs.LG | CoSD: Collaborative Stance Detection with Contrastive Heterogeneous Topic Graph Learning |
2024-04-25T20:39:44Z | http://arxiv.org/pdf/2404.17027v3 | http://arxiv.org/abs/2404.17027v3 | Xiangyu Peng, Jessica Quaye, Sudha Rao, Weijia Xu, Portia Botchway, Chris Brockett, Nebojsa Jojic, Gabriel DesGarennes, Ken Lobb, Michael Xu, Jorge Leandro, Claire Jin, Bill Dolan | 2024-06-03T21:27:14Z | cs.CL, cs.AI | We explore how interaction with large language models (LLMs) can give rise to
emergent behaviors, empowering players to participate in the evolution of game
narratives. Our testbed is a text-adventure game in which players attempt to
solve a mystery under a fixed narrative premise, but can freely interact with
non-player characters generated by GPT-4, a large language model. We recruit 28
gamers to play the game and use GPT-4 to automatically convert the game logs
into a node-graph representing the narrative in the player's gameplay. We find
that through their interactions with the non-deterministic behavior of the LLM,
players are able to discover interesting new emergent nodes that were not a
part of the original narrative but have potential for being fun and engaging.
Players that created the most emergent nodes tended to be those that often
enjoy games that facilitate discovery, exploration and experimentation. | cs.CL | Player-Driven Emergence in LLM-Driven Game Narrative |
2024-04-25T20:10:14Z | http://arxiv.org/pdf/2404.17010v1 | http://arxiv.org/abs/2404.17010v1 | Eren Dogan, M. Egemen Uzun, Atahan Uz, H. Emre Seyrek, Ahmed Zeer, Ezgi Sevi, H. Toprak Kesgin, M. Kaan Yuce, M. Fatih Amasyali | 2024-04-25T20:10:14Z | cs.CL, cs.AI | The developments that language models have provided in fulfilling almost all
kinds of tasks have attracted the attention of not only researchers but also
the society and have enabled them to become products. There are commercially
successful language models available. However, users may prefer open-source
language models due to cost, data privacy, or regulations. Yet, despite the
increasing number of these models, there is no comprehensive comparison of
their performance for Turkish. This study aims to fill this gap in the
literature. A comparison is made among seven selected language models based on
their contextual learning and question-answering abilities. Turkish datasets
for contextual learning and question-answering were prepared, and both
automatic and human evaluations were conducted. The results show that for
question-answering, continuing pretraining before fine-tuning with
instructional datasets is more successful in adapting multilingual models to
Turkish and that in-context learning performances do not much related to
question-answering performances. | cs.CL | Türkçe Dil Modellerinin Performans Karşılaştırması Performance Comparison of Turkish Language Models |
2024-04-25T19:44:46Z | http://arxiv.org/pdf/2404.17000v1 | http://arxiv.org/abs/2404.17000v1 | Bradley P. Allen, Paul T. Groth | 2024-04-25T19:44:46Z | cs.CL, cs.AI, I.2.7; I.2.4 | A backbone of knowledge graphs are their class membership relations, which
assign entities to a given class. As part of the knowledge engineering process,
we propose a new method for evaluating the quality of these relations by
processing descriptions of a given entity and class using a zero-shot
chain-of-thought classifier that uses a natural language intensional definition
of a class. We evaluate the method using two publicly available knowledge
graphs, Wikidata and CaLiGraph, and 7 large language models. Using the
gpt-4-0125-preview large language model, the method's classification
performance achieves a macro-averaged F1-score of 0.830 on data from Wikidata
and 0.893 on data from CaLiGraph. Moreover, a manual analysis of the
classification errors shows that 40.9% of errors were due to the knowledge
graphs, with 16.0% due to missing relations and 24.9% due to incorrectly
asserted relations. These results show how large language models can assist
knowledge engineers in the process of knowledge graph refinement. The code and
data are available on Github. | cs.CL | Evaluating Class Membership Relations in Knowledge Graphs using Large Language Models |
2024-04-25T18:48:11Z | http://arxiv.org/pdf/2404.18942v1 | http://arxiv.org/abs/2404.18942v1 | Sarmad N. Mohammed, Semra Gündüç | 2024-04-25T18:48:11Z | cs.CL, cs.AI, cs.LG, cs.SI | One of the prime problems of computer science and machine learning is to
extract information efficiently from large-scale, heterogeneous data. Text
data, with its syntax, semantics, and even hidden information content,
possesses an exceptional place among the data types in concern. The processing
of the text data requires embedding, a method of translating the content of the
text to numeric vectors. A correct embedding algorithm is the starting point
for obtaining the full information content of the text data. In this work, a
new embedding method based on the graph structure of the meaningful sentences
is proposed. The design of the algorithm aims to construct an embedding vector
that constitutes syntactic and semantic elements as well as the hidden content
of the text data. The success of the proposed embedding method is tested in
classification problems. Among the wide range of application areas, text
classification is the best laboratory for embedding methods; the classification
power of the method can be tested using dimensional reduction without any
further processing. Furthermore, the method can be compared with different
embedding algorithms and machine learning methods. The proposed method is
tested with real-world data sets and eight well-known and successful embedding
algorithms. The proposed embedding method shows significantly better
classification for binary and multiclass datasets compared to well-known
algorithms. | cs.CL | GuideWalk -- Heterogeneous Data Fusion for Enhanced Learning -- A Multiclass Document Classification Case |
2024-04-25T18:35:54Z | http://arxiv.org/pdf/2404.16966v2 | http://arxiv.org/abs/2404.16966v2 | Melissa Ailem, Katerina Marazopoulou, Charlotte Siska, James Bono | 2024-06-05T20:14:15Z | cs.CL | Benchmarks have emerged as the central approach for evaluating Large Language
Models (LLMs). The research community often relies on a model's average
performance across the test prompts of a benchmark to evaluate the model's
performance. This is consistent with the assumption that the test prompts
within a benchmark represent a random sample from a real-world distribution of
interest. We note that this is generally not the case; instead, we hold that
the distribution of interest varies according to the specific use case. We find
that (1) the correlation in model performance across test prompts is
non-random, (2) accounting for correlations across test prompts can change
model rankings on major benchmarks, (3) explanatory factors for these
correlations include semantic similarity and common LLM failure points. | cs.CL | Examining the robustness of LLM evaluation to the distributional assumptions of benchmarks |
2024-04-25T18:12:43Z | http://arxiv.org/pdf/2404.16958v2 | http://arxiv.org/abs/2404.16958v2 | Juri Opitz | 2024-07-02T08:53:09Z | cs.LG, cs.CL | Classification systems are evaluated in a countless number of papers.
However, we find that evaluation practice is often nebulous. Frequently,
metrics are selected without arguments, and blurry terminology invites
misconceptions. For instance, many works use so-called 'macro' metrics to rank
systems (e.g., 'macro F1') but do not clearly specify what they would expect
from such a `macro' metric. This is problematic, since picking a metric can
affect research findings, and thus any clarity in the process should be
maximized.
Starting from the intuitive concepts of bias and prevalence, we perform an
analysis of common evaluation metrics. The analysis helps us understand the
metrics' underlying properties, and how they align with expectations as found
expressed in papers. Then we reflect on the practical situation in the field,
and survey evaluation practice in recent shared tasks. We find that metric
selection is often not supported with convincing arguments, an issue that can
make a system ranking seem arbitrary. Our work aims at providing overview and
guidance for more informed and transparent metric selection, fostering
meaningful evaluation. | cs.LG | A Closer Look at Classification Evaluation Metrics and a Critical Reflection of Common Evaluation Practice |
2024-04-25T17:59:58Z | http://arxiv.org/pdf/2404.16829v3 | http://arxiv.org/abs/2404.16829v3 | Ye Fang, Zeyi Sun, Tong Wu, Jiaqi Wang, Ziwei Liu, Gordon Wetzstein, Dahua Lin | 2024-05-23T19:12:51Z | cs.CV, cs.AI, cs.CL | Physically realistic materials are pivotal in augmenting the realism of 3D
assets across various applications and lighting conditions. However, existing
3D assets and generative models often lack authentic material properties.
Manual assignment of materials using graphic software is a tedious and
time-consuming task. In this paper, we exploit advancements in Multimodal Large
Language Models (MLLMs), particularly GPT-4V, to present a novel approach,
Make-it-Real: 1) We demonstrate that GPT-4V can effectively recognize and
describe materials, allowing the construction of a detailed material library.
2) Utilizing a combination of visual cues and hierarchical text prompts, GPT-4V
precisely identifies and aligns materials with the corresponding components of
3D objects. 3) The correctly matched materials are then meticulously applied as
reference for the new SVBRDF material generation according to the original
albedo map, significantly enhancing their visual authenticity. Make-it-Real
offers a streamlined integration into the 3D content creation workflow,
showcasing its utility as an essential tool for developers of 3D assets. | cs.CV | Make-it-Real: Unleashing Large Multimodal Model for Painting 3D Objects with Realistic Materials |
2024-04-25T17:58:17Z | http://arxiv.org/pdf/2404.16924v1 | http://arxiv.org/abs/2404.16924v1 | Yongqi Li, Xinyu Lin, Wenjie Wang, Fuli Feng, Liang Pang, Wenjie Li, Liqiang Nie, Xiangnan He, Tat-Seng Chua | 2024-04-25T17:58:17Z | cs.IR, cs.CL | With the information explosion on the Web, search and recommendation are
foundational infrastructures to satisfying users' information needs. As the two
sides of the same coin, both revolve around the same core research problem,
matching queries with documents or users with items. In the recent few decades,
search and recommendation have experienced synchronous technological paradigm
shifts, including machine learning-based and deep learning-based paradigms.
Recently, the superintelligent generative large language models have sparked a
new paradigm in search and recommendation, i.e., generative search (retrieval)
and recommendation, which aims to address the matching problem in a generative
manner. In this paper, we provide a comprehensive survey of the emerging
paradigm in information systems and summarize the developments in generative
search and recommendation from a unified perspective. Rather than simply
categorizing existing works, we abstract a unified framework for the generative
paradigm and break down the existing works into different stages within this
framework to highlight the strengths and weaknesses. And then, we distinguish
generative search and recommendation with their unique challenges, identify
open problems and future directions, and envision the next information-seeking
paradigm. | cs.IR | A Survey of Generative Search and Recommendation in the Era of Large Language Models |
2024-04-25T17:57:36Z | http://arxiv.org/pdf/2404.16816v1 | http://arxiv.org/abs/2404.16816v1 | Harman Singh, Nitish Gupta, Shikhar Bharadwaj, Dinesh Tewari, Partha Talukdar | 2024-04-25T17:57:36Z | cs.CL | As large language models (LLMs) see increasing adoption across the globe, it
is imperative for LLMs to be representative of the linguistic diversity of the
world. India is a linguistically diverse country of 1.4 Billion people. To
facilitate research on multilingual LLM evaluation, we release IndicGenBench -
the largest benchmark for evaluating LLMs on user-facing generation tasks
across a diverse set 29 of Indic languages covering 13 scripts and 4 language
families. IndicGenBench is composed of diverse generation tasks like
cross-lingual summarization, machine translation, and cross-lingual question
answering. IndicGenBench extends existing benchmarks to many Indic languages
through human curation providing multi-way parallel evaluation data for many
under-represented Indic languages for the first time. We evaluate a wide range
of proprietary and open-source LLMs including GPT-3.5, GPT-4, PaLM-2, mT5,
Gemma, BLOOM and LLaMA on IndicGenBench in a variety of settings. The largest
PaLM-2 models performs the best on most tasks, however, there is a significant
performance gap in all languages compared to English showing that further
research is needed for the development of more inclusive multilingual language
models. IndicGenBench is released at
www.github.com/google-research-datasets/indic-gen-bench | cs.CL | IndicGenBench: A Multilingual Benchmark to Evaluate Generation Capabilities of LLMs on Indic Languages |
2024-04-25T17:55:14Z | http://arxiv.org/pdf/2404.16811v2 | http://arxiv.org/abs/2404.16811v2 | Shengnan An, Zexiong Ma, Zeqi Lin, Nanning Zheng, Jian-Guang Lou | 2024-04-26T11:15:21Z | cs.CL, cs.AI | While many contemporary large language models (LLMs) can process lengthy
input, they still struggle to fully utilize information within the long
context, known as the lost-in-the-middle challenge. We hypothesize that it
stems from insufficient explicit supervision during the long-context training,
which fails to emphasize that any position in a long context can hold crucial
information. Based on this intuition, our study presents information-intensive
(IN2) training, a purely data-driven solution to overcome lost-in-the-middle.
Specifically, IN2 training leverages a synthesized long-context question-answer
dataset, where the answer requires (1) fine-grained information awareness on a
short segment (~128 tokens) within a synthesized long context (4K-32K tokens),
and (2) the integration and reasoning of information from two or more short
segments. Through applying this information-intensive training on Mistral-7B,
we present FILM-7B (FILl-in-the-Middle). To thoroughly assess the ability of
FILM-7B for utilizing long contexts, we design three probing tasks that
encompass various context styles (document, code, and structured-data context)
and information retrieval patterns (forward, backward, and bi-directional
retrieval). The probing results demonstrate that FILM-7B can robustly retrieve
information from different positions in its 32K context window. Beyond these
probing tasks, FILM-7B significantly improves the performance on real-world
long-context tasks (e.g., 23.5->26.9 F1 score on NarrativeQA), while
maintaining a comparable performance on short-context tasks (e.g., 59.3->59.2
accuracy on MMLU). Github Link: https://github.com/microsoft/FILM. | cs.CL | Make Your LLM Fully Utilize the Context |
2024-04-25T17:52:39Z | http://arxiv.org/pdf/2404.16807v1 | http://arxiv.org/abs/2404.16807v1 | Tianhui Zhang, Bei Peng, Danushka Bollegala | 2024-04-25T17:52:39Z | cs.CL | Generative Commonsense Reasoning (GCR) requires a model to reason about a
situation using commonsense knowledge, while generating coherent sentences.
Although the quality of the generated sentences is crucial, the diversity of
the generation is equally important because it reflects the model's ability to
use a range of commonsense knowledge facts. Large Language Models (LLMs) have
shown proficiency in enhancing the generation quality across various tasks
through in-context learning (ICL) using given examples without the need for any
fine-tuning. However, the diversity aspect in LLM outputs has not been
systematically studied before. To address this, we propose a simple method that
diversifies the LLM generations, while preserving their quality. Experimental
results on three benchmark GCR datasets show that our method achieves an ideal
balance between the quality and diversity. Moreover, the sentences generated by
our proposed method can be used as training data to improve diversity in
existing commonsense generators. | cs.CL | Improving Diversity of Commonsense Generation by Large Language Models via In-Context Learning |
2024-04-25T17:52:19Z | http://arxiv.org/pdf/2404.16921v1 | http://arxiv.org/abs/2404.16921v1 | Christian N. Mayemba, D'Jeff K. Nkashama, Jean Marie Tshimula, Maximilien V. Dialufuma, Jean Tshibangu Muabila, Mbuyi Mukendi Didier, Hugues Kanda, René Manassé Galekwa, Heber Dibwe Fita, Serge Mundele, Kalonji Kalala, Aristarque Ilunga, Lambert Mukendi Ntobo, Dominique Muteba, Aaron Aruna Abedi | 2024-04-25T17:52:19Z | cs.LG, cs.CL | This paper provides a comprehensive survey of recent advancements in
leveraging machine learning techniques, particularly Transformer models, for
predicting human mobility patterns during epidemics. Understanding how people
move during epidemics is essential for modeling the spread of diseases and
devising effective response strategies. Forecasting population movement is
crucial for informing epidemiological models and facilitating effective
response planning in public health emergencies. Predicting mobility patterns
can enable authorities to better anticipate the geographical and temporal
spread of diseases, allocate resources more efficiently, and implement targeted
interventions. We review a range of approaches utilizing both pretrained
language models like BERT and Large Language Models (LLMs) tailored
specifically for mobility prediction tasks. These models have demonstrated
significant potential in capturing complex spatio-temporal dependencies and
contextual patterns in textual data. | cs.LG | A Short Survey of Human Mobility Prediction in Epidemic Modeling from Transformers to LLMs |
2024-04-25T17:39:50Z | http://arxiv.org/pdf/2404.16792v2 | http://arxiv.org/abs/2404.16792v2 | Chujie Zheng, Ziqi Wang, Heng Ji, Minlie Huang, Nanyun Peng | 2024-05-22T19:33:30Z | cs.LG, cs.AI, cs.CL | The open-source community is experiencing a surge in the release of large
language models (LLMs) that are trained to follow instructions and align with
human preference. However, further training to improve them still requires
expensive computational resources and data annotations. Is it possible to
bypass additional training and cost-effectively acquire better-aligned models?
Inspired by the literature on model interpolation, we propose a simple method
called ExPO to boost LLMs' alignment with human preference. Utilizing a model
that has undergone alignment training (e.g., via DPO or RLHF) and its initial
SFT checkpoint, ExPO directly obtains a better-aligned model by extrapolating
from the weights of the initial and the aligned models, which implicitly
optimizes the alignment objective via first-order approximation. Through
experiments with twelve open-source LLMs on HuggingFace, we demonstrate that
ExPO consistently improves off-the-shelf DPO/RLHF models, as evaluated on the
mainstream LLM benchmarks AlpacaEval 2.0 and MT-Bench. Moreover, ExPO exhibits
remarkable scalability across various model sizes (from 1.8B to 70B) and
capabilities. Through controlled experiments and further empirical analyses, we
shed light on the essence of ExPO amplifying the reward signal learned during
alignment training. Our work demonstrates the efficacy of model extrapolation
in expediting the alignment of LLMs with human preference, suggesting a
promising direction for future research. | cs.LG | Weak-to-Strong Extrapolation Expedites Alignment |
2024-04-25T17:38:57Z | http://arxiv.org/pdf/2404.16789v2 | http://arxiv.org/abs/2404.16789v2 | Haizhou Shi, Zihao Xu, Hengyi Wang, Weiyi Qin, Wenyuan Wang, Yibin Wang, Zifeng Wang, Sayna Ebrahimi, Hao Wang | 2024-06-30T02:19:00Z | cs.LG, cs.AI, cs.CL | The recent success of large language models (LLMs) trained on static,
pre-collected, general datasets has sparked numerous research directions and
applications. One such direction addresses the non-trivial challenge of
integrating pre-trained LLMs into dynamic data distributions, task structures,
and user preferences. Pre-trained LLMs, when tailored for specific needs, often
experience significant performance degradation in previous knowledge domains --
a phenomenon known as "catastrophic forgetting". While extensively studied in
the continual learning (CL) community, it presents new manifestations in the
realm of LLMs. In this survey, we provide a comprehensive overview of the
current research progress on LLMs within the context of CL. This survey is
structured into four main sections: we first describe an overview of
continually learning LLMs, consisting of two directions of continuity: vertical
continuity (or vertical continual learning), i.e., continual adaptation from
general to specific capabilities, and horizontal continuity (or horizontal
continual learning), i.e., continual adaptation across time and domains
(Section 3). We then summarize three stages of learning LLMs in the context of
modern CL: Continual Pre-Training (CPT), Domain-Adaptive Pre-training (DAP),
and Continual Fine-Tuning (CFT) (Section 4). Then we provide an overview of
evaluation protocols for continual learning with LLMs, along with the current
available data sources (Section 5). Finally, we discuss intriguing questions
pertaining to continual learning for LLMs (Section 6). The full list of papers
examined in this survey is available at
https://github.com/Wang-ML-Lab/llm-continual-learning-survey. | cs.LG | Continual Learning of Large Language Models: A Comprehensive Survey |
2024-04-25T17:29:53Z | http://arxiv.org/pdf/2405.01576v1 | http://arxiv.org/abs/2405.01576v1 | Olli Järviniemi, Evan Hubinger | 2024-04-25T17:29:53Z | cs.CL, cs.AI, cs.LG | We study the tendency of AI systems to deceive by constructing a realistic
simulation setting of a company AI assistant. The simulated company employees
provide tasks for the assistant to complete, these tasks spanning writing
assistance, information retrieval and programming. We then introduce situations
where the model might be inclined to behave deceptively, while taking care to
not instruct or otherwise pressure the model to do so. Across different
scenarios, we find that Claude 3 Opus
1) complies with a task of mass-generating comments to influence public
perception of the company, later deceiving humans about it having done so,
2) lies to auditors when asked questions, and
3) strategically pretends to be less capable than it is during capability
evaluations.
Our work demonstrates that even models trained to be helpful, harmless and
honest sometimes behave deceptively in realistic scenarios, without notable
external pressure to do so. | cs.CL | Uncovering Deceptive Tendencies in Language Models: A Simulated Company AI Assistant |
2024-04-25T17:26:59Z | http://arxiv.org/pdf/2404.16776v1 | http://arxiv.org/abs/2404.16776v1 | Jianxiang Zang, Hui Liu | 2024-04-25T17:26:59Z | cs.CL | Representation-based Siamese networks have risen to popularity in lightweight
text matching due to their low deployment and inference costs. While word-level
attention mechanisms have been implemented within Siamese networks to improve
performance, we propose Feature Attention (FA), a novel downstream block
designed to enrich the modeling of dependencies among embedding features.
Employing "squeeze-and-excitation" techniques, the FA block dynamically adjusts
the emphasis on individual features, enabling the network to concentrate more
on features that significantly contribute to the final classification. Building
upon FA, we introduce a dynamic "selection" mechanism called Selective Feature
Attention (SFA), which leverages a stacked BiGRU Inception structure. The SFA
block facilitates multi-scale semantic extraction by traversing different
stacked BiGRU layers, encouraging the network to selectively concentrate on
semantic information and embedding features across varying levels of
abstraction. Both the FA and SFA blocks offer a seamless integration capability
with various Siamese networks, showcasing a plug-and-play characteristic.
Experimental evaluations conducted across diverse text matching baselines and
benchmarks underscore the indispensability of modeling feature attention and
the superiority of the "selection" mechanism. | cs.CL | Modeling Selective Feature Attention for Representation-based Siamese Text Matching |
2024-04-25T17:25:53Z | http://arxiv.org/pdf/2405.00718v1 | http://arxiv.org/abs/2405.00718v1 | Xu Ji, Jianyi Zhang, Ziyin Zhou, Zhangchi Zhao, Qianqian Qiao, Kaiying Han, Md Imran Hossen, Xiali Hei | 2024-04-25T17:25:53Z | cs.CL, cs.AI | Ensuring the resilience of Large Language Models (LLMs) against malicious
exploitation is paramount, with recent focus on mitigating offensive responses.
Yet, the understanding of cant or dark jargon remains unexplored. This paper
introduces a domain-specific Cant dataset and CantCounter evaluation framework,
employing Fine-Tuning, Co-Tuning, Data-Diffusion, and Data-Analysis stages.
Experiments reveal LLMs, including ChatGPT, are susceptible to cant bypassing
filters, with varying recognition accuracy influenced by question types,
setups, and prompt clues. Updated models exhibit higher acceptance rates for
cant queries. Moreover, LLM reactions differ across domains, e.g., reluctance
to engage in racism versus LGBT topics. These findings underscore LLMs'
understanding of cant and reflect training data characteristics and vendor
approaches to sensitive topics. Additionally, we assess LLMs' ability to
demonstrate reasoning capabilities. Access to our datasets and code is
available at https://github.com/cistineup/CantCounter. | cs.CL | Can't say cant? Measuring and Reasoning of Dark Jargons in Large Language Models |
2024-04-25T17:23:04Z | http://arxiv.org/pdf/2405.00717v1 | http://arxiv.org/abs/2405.00717v1 | Abhinaba Bala, Ashok Urlana, Rahul Mishra, Parameswari Krishnamurthy | 2024-04-25T17:23:04Z | cs.CL, cs.AI, I.2.7 | Obtaining sufficient information in one's mother tongue is crucial for
satisfying the information needs of the users. While high-resource languages
have abundant online resources, the situation is less than ideal for very
low-resource languages. Moreover, the insufficient reporting of vital national
and international events continues to be a worry, especially in languages with
scarce resources, like \textbf{Mizo}. In this paper, we conduct a study to
investigate the effectiveness of a simple methodology designed to generate a
holistic summary for Mizo news articles, which leverages English-language news
to supplement and enhance the information related to the corresponding news
events. Furthermore, we make available 500 Mizo news articles and corresponding
enriched holistic summaries. Human evaluation confirms that our approach
significantly enhances the information coverage of Mizo news articles. The mizo
dataset and code can be accessed at
\url{https://github.com/barvin04/mizo_enrichment | cs.CL | Exploring News Summarization and Enrichment in a Highly Resource-Scarce Indian Language: A Case Study of Mizo |
2024-04-25T17:20:45Z | http://arxiv.org/pdf/2404.16767v2 | http://arxiv.org/abs/2404.16767v2 | Zhaolin Gao, Jonathan D. Chang, Wenhao Zhan, Owen Oertell, Gokul Swamy, Kianté Brantley, Thorsten Joachims, J. Andrew Bagnell, Jason D. Lee, Wen Sun | 2024-05-29T15:52:20Z | cs.LG, cs.CL, cs.CV | While originally developed for continuous control problems, Proximal Policy
Optimization (PPO) has emerged as the work-horse of a variety of reinforcement
learning (RL) applications, including the fine-tuning of generative models.
Unfortunately, PPO requires multiple heuristics to enable stable convergence
(e.g. value networks, clipping), and is notorious for its sensitivity to the
precise implementation of these components. In response, we take a step back
and ask what a minimalist RL algorithm for the era of generative models would
look like. We propose REBEL, an algorithm that cleanly reduces the problem of
policy optimization to regressing the relative reward between two completions
to a prompt in terms of the policy, enabling strikingly lightweight
implementation. In theory, we prove that fundamental RL algorithms like Natural
Policy Gradient can be seen as variants of REBEL, which allows us to match the
strongest known theoretical guarantees in terms of convergence and sample
complexity in the RL literature. REBEL can also cleanly incorporate offline
data and be extended to handle the intransitive preferences we frequently see
in practice. Empirically, we find that REBEL provides a unified approach to
language modeling and image generation with stronger or similar performance as
PPO and DPO, all while being simpler to implement and more computationally
efficient than PPO. When fine-tuning Llama-3-8B-Instruct, REBEL achieves strong
performance in AlpacaEval 2.0, MT-Bench, and Open LLM Leaderboard. | cs.LG | REBEL: Reinforcement Learning via Regressing Relative Rewards |
2024-04-25T17:19:36Z | http://arxiv.org/pdf/2404.16766v1 | http://arxiv.org/abs/2404.16766v1 | Runzhe Zhan, Xinyi Yang, Derek F. Wong, Lidia S. Chao, Yue Zhang | 2024-04-25T17:19:36Z | cs.CL, cs.AI | While supervised fine-tuning (SFT) has been a straightforward approach for
tailoring the output of foundation large language model (LLM) to specific
preferences, concerns have been raised about the depth of this alignment, with
some critiques suggesting it is merely "superficial". We critically examine
this hypothesis within the scope of cross-lingual generation tasks, proposing
that the effectiveness of SFT may be constrained by its reliance on prior
tokens to guide cross-lingual generation. Based on this crucial insight, and in
response to the challenges posed by the costly and limited availability of
non-English data for SFT, we introduce a novel training-free alignment method
named PreTTY, which employs minimal task-related prior tokens to bridge the
foundation LLM and the SFT LLM, achieving comparable performance without
training. Experiments on machine translation and part-of-speech tagging across
eight languages demonstrate the efficacy of PreTTY in cross-lingual settings.
Remarkably, by initiating the decoding process with only one or two prior
tokens, foundation LLMs can achieve performance comparable to their SFT
counterparts. This method presents a cost-effective alternative to SFT and
advances the democratization of multilingual LLMs. | cs.CL | Prefix Text as a Yarn: Eliciting Non-English Alignment in Foundation Language Model |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.