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-05-09T02:33:14Z | http://arxiv.org/pdf/2405.05506v2 | http://arxiv.org/abs/2405.05506v2 | Shan Chen, Jack Gallifant, Mingye Gao, Pedro Moreira, Nikolaj Munch, Ajay Muthukkumar, Arvind Rajan, Jaya Kolluri, Amelia Fiske, Janna Hastings, Hugo Aerts, Brian Anthony, Leo Anthony Celi, William G. La Cava, Danielle S. Bitterman | 2024-06-24T23:17:52Z | cs.CL | Large language models (LLMs) are increasingly essential in processing natural
languages, yet their application is frequently compromised by biases and
inaccuracies originating in their training data. In this study, we introduce
Cross-Care, the first benchmark framework dedicated to assessing biases and
real world knowledge in LLMs, specifically focusing on the representation of
disease prevalence across diverse demographic groups. We systematically
evaluate how demographic biases embedded in pre-training corpora like $ThePile$
influence the outputs of LLMs. We expose and quantify discrepancies by
juxtaposing these biases against actual disease prevalences in various U.S.
demographic groups. Our results highlight substantial misalignment between LLM
representation of disease prevalence and real disease prevalence rates across
demographic subgroups, indicating a pronounced risk of bias propagation and a
lack of real-world grounding for medical applications of LLMs. Furthermore, we
observe that various alignment methods minimally resolve inconsistencies in the
models' representation of disease prevalence across different languages. For
further exploration and analysis, we make all data and a data visualization
tool available at: www.crosscare.net. | cs.CL | Cross-Care: Assessing the Healthcare Implications of Pre-training Data on Language Model Bias |
2024-05-09T02:00:07Z | http://arxiv.org/pdf/2405.05496v1 | http://arxiv.org/abs/2405.05496v1 | Xuanwen Ding, Jie Zhou, Liang Dou, Qin Chen, Yuanbin Wu, Chengcai Chen, Liang He | 2024-05-09T02:00:07Z | cs.CL | Aspect-based sentiment analysis (ABSA) is an important subtask of sentiment
analysis, which aims to extract the aspects and predict their sentiments. Most
existing studies focus on improving the performance of the target domain by
fine-tuning domain-specific models (trained on source domains) based on the
target domain dataset. Few works propose continual learning tasks for ABSA,
which aim to learn the target domain's ability while maintaining the history
domains' abilities. In this paper, we propose a Large Language Model-based
Continual Learning (\texttt{LLM-CL}) model for ABSA. First, we design a domain
knowledge decoupling module to learn a domain-invariant adapter and separate
domain-variant adapters dependently with an orthogonal constraint. Then, we
introduce a domain knowledge warmup strategy to align the representation
between domain-invariant and domain-variant knowledge. In the test phase, we
index the corresponding domain-variant knowledge via domain positioning to not
require each sample's domain ID. Extensive experiments over 19 datasets
indicate that our \texttt{LLM-CL} model obtains new state-of-the-art
performance. | cs.CL | Boosting Large Language Models with Continual Learning for Aspect-based Sentiment Analysis |
2024-05-09T01:40:38Z | http://arxiv.org/pdf/2405.05493v1 | http://arxiv.org/abs/2405.05493v1 | Keyu Chen, Yuan Pang, Zi Yang | 2024-05-09T01:40:38Z | cs.CL, cs.AI | In the arena of language model fine-tuning, the traditional approaches, such
as Domain-Adaptive Pretraining (DAPT) and Task-Adaptive Pretraining (TAPT),
although effective, but computational intensive. This research introduces a
novel adaptation method utilizing the UniPELT framework as a base and added a
PromptTuning Layer, which significantly reduces the number of trainable
parameters while maintaining competitive performance across various benchmarks.
Our method employs adapters, which enable efficient transfer of pretrained
models to new tasks with minimal retraining of the base model parameters. We
evaluate our approach using three diverse datasets: the GLUE benchmark, a
domain-specific dataset comprising four distinct areas, and the Stanford
Question Answering Dataset 1.1 (SQuAD). Our results demonstrate that our
customized adapter-based method achieves performance comparable to full model
fine-tuning, DAPT+TAPT and UniPELT strategies while requiring fewer or
equivalent amount of parameters. This parameter efficiency not only alleviates
the computational burden but also expedites the adaptation process. The study
underlines the potential of adapters in achieving high performance with
significantly reduced resource consumption, suggesting a promising direction
for future research in parameter-efficient fine-tuning. | cs.CL | Parameter-Efficient Fine-Tuning With Adapters |
2024-05-09T00:32:22Z | http://arxiv.org/pdf/2405.06704v1 | http://arxiv.org/abs/2405.06704v1 | Priyabrata Karmakar, John Hawkins | 2024-05-09T00:32:22Z | cs.CL, cs.AI | Online commerce relies heavily on user generated reviews to provide unbiased
information about products that they have not physically seen. The importance
of reviews has attracted multiple exploitative online behaviours and requires
methods for monitoring and detecting reviews. We present a machine learning
methodology for review detection and extraction, and demonstrate that it
generalises for use across websites that were not contained in the training
data. This method promises to drive applications for automatic detection and
evaluation of reviews, regardless of their source. Furthermore, we showcase the
versatility of our method by implementing and discussing three key applications
for analysing reviews: Sentiment Inconsistency Analysis, which detects and
filters out unreliable reviews based on inconsistencies between ratings and
comments; Multi-language support, enabling the extraction and translation of
reviews from various languages without relying on HTML scraping; and Fake
review detection, achieved by integrating a trained NLP model to identify and
distinguish between genuine and fake reviews. | cs.CL | Enhanced Review Detection and Recognition: A Platform-Agnostic Approach with Application to Online Commerce |
2024-05-09T00:31:59Z | http://arxiv.org/pdf/2405.05478v1 | http://arxiv.org/abs/2405.05478v1 | Adam King | 2024-05-09T00:31:59Z | cs.CL | An all-too-present bottleneck for text classification model development is
the need to annotate training data and this need is multiplied for multilingual
classifiers. Fortunately, contemporary machine translation models are both
easily accessible and have dependable translation quality, making it possible
to translate labeled training data from one language into another. Here, we
explore the effects of using machine translation to fine-tune a multilingual
model for a classification task across multiple languages. We also investigate
the benefits of using a novel technique, originally proposed in the field of
image captioning, to account for potential negative effects of tuning models on
translated data. We show that translated data are of sufficient quality to tune
multilingual classifiers and that this novel loss technique is able to offer
some improvement over models tuned without it. | cs.CL | Using Machine Translation to Augment Multilingual Classification |
2024-05-08T23:44:08Z | http://arxiv.org/pdf/2405.05466v2 | http://arxiv.org/abs/2405.05466v2 | Joshua Clymer, Caden Juang, Severin Field | 2024-05-11T04:45:59Z | cs.CL, cs.AI | Like a criminal under investigation, Large Language Models (LLMs) might
pretend to be aligned while evaluated and misbehave when they have a good
opportunity. Can current interpretability methods catch these 'alignment
fakers?' To answer this question, we introduce a benchmark that consists of 324
pairs of LLMs fine-tuned to select actions in role-play scenarios. One model in
each pair is consistently benign (aligned). The other model misbehaves in
scenarios where it is unlikely to be caught (alignment faking). The task is to
identify the alignment faking model using only inputs where the two models
behave identically. We test five detection strategies, one of which identifies
98% of alignment-fakers. | cs.CL | Poser: Unmasking Alignment Faking LLMs by Manipulating Their Internals |
2024-05-08T23:42:13Z | http://arxiv.org/pdf/2405.05465v2 | http://arxiv.org/abs/2405.05465v2 | Amey Agrawal, Nitin Kedia, Jayashree Mohan, Ashish Panwar, Nipun Kwatra, Bhargav Gulavani, Ramachandran Ramjee, Alexey Tumanov | 2024-05-21T05:17:29Z | cs.LG, cs.AI, cs.CL | Optimizing the deployment of Large language models (LLMs) is expensive today
since it requires experimentally running an application workload against an LLM
implementation while exploring large configuration space formed by system knobs
such as parallelization strategies, batching techniques, and scheduling
policies. To address this challenge, we present Vidur - a large-scale,
high-fidelity, easily-extensible simulation framework for LLM inference
performance. Vidur models the performance of LLM operators using a combination
of experimental profiling and predictive modeling, and evaluates the end-to-end
inference performance for different workloads by estimating several metrics of
interest such as latency and throughput. We validate the fidelity of Vidur on
several LLMs and show that it estimates inference latency with less than 9%
error across the range. Further, we present Vidur-Search, a configuration
search tool that helps optimize LLM deployment. Vidur-Search uses Vidur to
automatically identify the most cost-effective deployment configuration that
meets application performance constraints. For example, Vidur-Search finds the
best deployment configuration for LLaMA2-70B in one hour on a CPU machine, in
contrast to a deployment-based exploration which would require 42K GPU hours -
costing ~218K dollars. Source code for Vidur is available at
https://github.com/microsoft/vidur. | cs.LG | Vidur: A Large-Scale Simulation Framework For LLM Inference |
2024-05-08T22:23:58Z | http://arxiv.org/pdf/2405.05444v1 | http://arxiv.org/abs/2405.05444v1 | Jussi S. Jauhiainen, Agustín Garagorry Guerra | 2024-05-08T22:23:58Z | cs.CL, cs.AI | Evaluating open-ended written examination responses from students is an
essential yet time-intensive task for educators, requiring a high degree of
effort, consistency, and precision. Recent developments in Large Language
Models (LLMs) present a promising opportunity to balance the need for thorough
evaluation with efficient use of educators' time. In our study, we explore the
effectiveness of LLMs ChatGPT-3.5, ChatGPT-4, Claude-3, and Mistral-Large in
assessing university students' open-ended answers to questions made about
reference material they have studied. Each model was instructed to evaluate 54
answers repeatedly under two conditions: 10 times (10-shot) with a temperature
setting of 0.0 and 10 times with a temperature of 0.5, expecting a total of
1,080 evaluations per model and 4,320 evaluations across all models. The RAG
(Retrieval Augmented Generation) framework was used as the framework to make
the LLMs to process the evaluation of the answers. As of spring 2024, our
analysis revealed notable variations in consistency and the grading outcomes
provided by studied LLMs. There is a need to comprehend strengths and
weaknesses of LLMs in educational settings for evaluating open-ended written
responses. Further comparative research is essential to determine the accuracy
and cost-effectiveness of using LLMs for educational assessments. | cs.CL | Evaluating Students' Open-ended Written Responses with LLMs: Using the RAG Framework for GPT-3.5, GPT-4, Claude-3, and Mistral-Large |
2024-05-08T21:40:49Z | http://arxiv.org/pdf/2405.05435v1 | http://arxiv.org/abs/2405.05435v1 | Chibuike Samuel Eze, Lior Shamir | 2024-05-08T21:40:49Z | cs.CR, cs.AI, cs.CL | Phishing email attacks are among the most common and most harmful
cybersecurity attacks. With the emergence of generative AI, phishing attacks
can be based on emails generated automatically, making it more difficult to
detect them. That is, instead of a single email format sent to a large number
of recipients, generative AI can be used to send each potential victim a
different email, making it more difficult for cybersecurity systems to identify
the scam email before it reaches the recipient. Here we describe a corpus of
AI-generated phishing emails. We also use different machine learning tools to
test the ability of automatic text analysis to identify AI-generated phishing
emails. The results are encouraging, and show that machine learning tools can
identify an AI-generated phishing email with high accuracy compared to regular
emails or human-generated scam email. By applying descriptive analytic, the
specific differences between AI-generated emails and manually crafted scam
emails are profiled, and show that AI-generated emails are different in their
style from human-generated phishing email scams. Therefore, automatic
identification tools can be used as a warning for the user. The paper also
describes the corpus of AI-generated phishing emails that is made open to the
public, and can be used for consequent studies. While the ability of machine
learning to detect AI-generated phishing email is encouraging, AI-generated
phishing emails are different from regular phishing emails, and therefore it is
important to train machine learning systems also with AI-generated emails in
order to repel future phishing attacks that are powered by generative AI. | cs.CR | Analysis and prevention of AI-based phishing email attacks |
2024-05-08T20:39:54Z | http://arxiv.org/pdf/2405.05418v1 | http://arxiv.org/abs/2405.05418v1 | Ruchi Bhalani, Ruchira Ray | 2024-05-08T20:39:54Z | cs.CL | As the popularity of Large Language Models (LLMs) grow, combining model
safety with utility becomes increasingly important. The challenge is making
sure that LLMs can recognize and decline dangerous prompts without sacrificing
their ability to be helpful. The problem of "exaggerated safety" demonstrates
how difficult this can be. To reduce excessive safety behaviours -- which was
discovered to be 26.1% of safe prompts being misclassified as dangerous and
refused -- we use a combination of XSTest dataset prompts as well as
interactive, contextual, and few-shot prompting to examine the decision bounds
of LLMs such as Llama2, Gemma Command R+, and Phi-3. We find that few-shot
prompting works best for Llama2, interactive prompting works best Gemma, and
contextual prompting works best for Command R+ and Phi-3. Using a combination
of these prompting strategies, we are able to mitigate exaggerated safety
behaviors by an overall 92.9% across all LLMs. Our work presents a multiple
prompting strategies to jailbreak LLMs' decision-making processes, allowing
them to navigate the tight line between refusing unsafe prompts and remaining
helpful. | cs.CL | Mitigating Exaggerated Safety in Large Language Models |
2024-05-08T20:37:56Z | http://arxiv.org/pdf/2405.05417v1 | http://arxiv.org/abs/2405.05417v1 | Sander Land, Max Bartolo | 2024-05-08T20:37:56Z | cs.CL, 68T50 | The disconnect between tokenizer creation and model training in language
models has been known to allow for certain inputs, such as the infamous
SolidGoldMagikarp token, to induce unwanted behaviour. Although such `glitch
tokens' that are present in the tokenizer vocabulary, but are nearly or fully
absent in training, have been observed across a variety of different models, a
consistent way of identifying them has been missing. We present a comprehensive
analysis of Large Language Model (LLM) tokenizers, specifically targeting this
issue of detecting untrained and under-trained tokens. Through a combination of
tokenizer analysis, model weight-based indicators, and prompting techniques, we
develop effective methods for automatically detecting these problematic tokens.
Our findings demonstrate the prevalence of such tokens across various models
and provide insights into improving the efficiency and safety of language
models. | cs.CL | Fishing for Magikarp: Automatically Detecting Under-trained Tokens in Large Language Models |
2024-05-08T19:31:06Z | http://arxiv.org/pdf/2405.05386v1 | http://arxiv.org/abs/2405.05386v1 | Andreas Madsen, Himabindu Lakkaraju, Siva Reddy, Sarath Chandar | 2024-05-08T19:31:06Z | cs.LG, cs.CL, cs.CV, stat.ML | Interpretability is the study of explaining models in understandable terms to
humans. At present, interpretability is divided into two paradigms: the
intrinsic paradigm, which believes that only models designed to be explained
can be explained, and the post-hoc paradigm, which believes that black-box
models can be explained. At the core of this debate is how each paradigm
ensures its explanations are faithful, i.e., true to the model's behavior. This
is important, as false but convincing explanations lead to unsupported
confidence in artificial intelligence (AI), which can be dangerous. This
paper's position is that we should think about new paradigms while staying
vigilant regarding faithfulness. First, by examining the history of paradigms
in science, we see that paradigms are constantly evolving. Then, by examining
the current paradigms, we can understand their underlying beliefs, the value
they bring, and their limitations. Finally, this paper presents 3 emerging
paradigms for interpretability. The first paradigm designs models such that
faithfulness can be easily measured. Another optimizes models such that
explanations become faithful. The last paradigm proposes to develop models that
produce both a prediction and an explanation. | cs.LG | Interpretability Needs a New Paradigm |
2024-05-08T19:20:34Z | http://arxiv.org/pdf/2405.06703v1 | http://arxiv.org/abs/2405.06703v1 | Goran Muric, Ben Delay, Steven Minton | 2024-05-08T19:20:34Z | cs.CL, cs.AI, cs.LG | In this paper, we introduce the Interpretable Cross-Examination Technique
(ICE-T), a novel approach that leverages structured multi-prompt techniques
with Large Language Models (LLMs) to improve classification performance over
zero-shot and few-shot methods. In domains where interpretability is crucial,
such as medicine and law, standard models often fall short due to their
"black-box" nature. ICE-T addresses these limitations by using a series of
generated prompts that allow an LLM to approach the problem from multiple
directions. The responses from the LLM are then converted into numerical
feature vectors and processed by a traditional classifier. This method not only
maintains high interpretability but also allows for smaller, less capable
models to achieve or exceed the performance of larger, more advanced models
under zero-shot conditions. We demonstrate the effectiveness of ICE-T across a
diverse set of data sources, including medical records and legal documents,
consistently surpassing the zero-shot baseline in terms of classification
metrics such as F1 scores. Our results indicate that ICE-T can be used for
improving both the performance and transparency of AI applications in complex
decision-making environments. | cs.CL | Interpretable Cross-Examination Technique (ICE-T): Using highly informative features to boost LLM performance |
2024-05-08T19:08:45Z | http://arxiv.org/pdf/2405.05378v1 | http://arxiv.org/abs/2405.05378v1 | Preetam Prabhu Srikar Dammu, Hayoung Jung, Anjali Singh, Monojit Choudhury, Tanushree Mitra | 2024-05-08T19:08:45Z | cs.CL, cs.AI, cs.CY, cs.HC, cs.LG | Large language models (LLMs) have emerged as an integral part of modern
societies, powering user-facing applications such as personal assistants and
enterprise applications like recruitment tools. Despite their utility, research
indicates that LLMs perpetuate systemic biases. Yet, prior works on LLM harms
predominantly focus on Western concepts like race and gender, often overlooking
cultural concepts from other parts of the world. Additionally, these studies
typically investigate "harm" as a singular dimension, ignoring the various and
subtle forms in which harms manifest. To address this gap, we introduce the
Covert Harms and Social Threats (CHAST), a set of seven metrics grounded in
social science literature. We utilize evaluation models aligned with human
assessments to examine the presence of covert harms in LLM-generated
conversations, particularly in the context of recruitment. Our experiments
reveal that seven out of the eight LLMs included in this study generated
conversations riddled with CHAST, characterized by malign views expressed in
seemingly neutral language unlikely to be detected by existing methods.
Notably, these LLMs manifested more extreme views and opinions when dealing
with non-Western concepts like caste, compared to Western ones such as race. | cs.CL | "They are uncultured": Unveiling Covert Harms and Social Threats in LLM Generated Conversations |
2024-05-08T19:06:19Z | http://arxiv.org/pdf/2405.05376v2 | http://arxiv.org/abs/2405.05376v2 | Nathaniel R. Robinson, Raj Dabre, Ammon Shurtz, Rasul Dent, Onenamiyi Onesi, Claire Bizon Monroc, Loïc Grobol, Hasan Muhammad, Ashi Garg, Naome A. Etori, Vijay Murari Tiyyala, Olanrewaju Samuel, Matthew Dean Stutzman, Bismarck Bamfo Odoom, Sanjeev Khudanpur, Stephen D. Richardson, Kenton Murray | 2024-05-13T17:21:56Z | cs.CL | A majority of language technologies are tailored for a small number of
high-resource languages, while relatively many low-resource languages are
neglected. One such group, Creole languages, have long been marginalized in
academic study, though their speakers could benefit from machine translation
(MT). These languages are predominantly used in much of Latin America, Africa
and the Caribbean. We present the largest cumulative dataset to date for Creole
language MT, including 14.5M unique Creole sentences with parallel translations
-- 11.6M of which we release publicly, and the largest bitexts gathered to date
for 41 languages -- the first ever for 21. In addition, we provide MT models
supporting all 41 Creole languages in 172 translation directions. Given our
diverse dataset, we produce a model for Creole language MT exposed to more
genre diversity than ever before, which outperforms a genre-specific Creole MT
model on its own benchmark for 26 of 34 translation directions. | cs.CL | Kreyòl-MT: Building MT for Latin American, Caribbean and Colonial African Creole Languages |
2024-05-08T19:05:18Z | http://arxiv.org/pdf/2405.05374v1 | http://arxiv.org/abs/2405.05374v1 | Luke Merrick, Danmei Xu, Gaurav Nuti, Daniel Campos | 2024-05-08T19:05:18Z | cs.CL, cs.AI, cs.IR | This report describes the training dataset creation and recipe behind the
family of \texttt{arctic-embed} text embedding models (a set of five models
ranging from 22 to 334 million parameters with weights open-sourced under an
Apache-2 license). At the time of their release, each model achieved
state-of-the-art retrieval accuracy for models of their size on the MTEB
Retrieval leaderboard, with the largest model, arctic-embed-l outperforming
closed source embedding models such as Cohere's embed-v3 and Open AI's
text-embed-3-large. In addition to the details of our training recipe, we have
provided several informative ablation studies, which we believe are the cause
of our model performance. | cs.CL | Arctic-Embed: Scalable, Efficient, and Accurate Text Embedding Models |
2024-05-08T18:27:20Z | http://arxiv.org/pdf/2405.05348v1 | http://arxiv.org/abs/2405.05348v1 | Henning Heyen, Amy Widdicombe, Noah Y. Siegel, Maria Perez-Ortiz, Philip Treleaven | 2024-05-08T18:27:20Z | cs.CL, cs.AI, cs.LG | Large language models (LLMs) are becoming bigger to boost performance.
However, little is known about how explainability is affected by this trend.
This work explores LIME explanations for DeBERTaV3 models of four different
sizes on natural language inference (NLI) and zero-shot classification (ZSC)
tasks. We evaluate the explanations based on their faithfulness to the models'
internal decision processes and their plausibility, i.e. their agreement with
human explanations. The key finding is that increased model size does not
correlate with plausibility despite improved model performance, suggesting a
misalignment between the LIME explanations and the models' internal processes
as model size increases. Our results further suggest limitations regarding
faithfulness metrics in NLI contexts. | cs.CL | The Effect of Model Size on LLM Post-hoc Explainability via LIME |
2024-05-08T18:23:59Z | http://arxiv.org/pdf/2405.05347v1 | http://arxiv.org/abs/2405.05347v1 | Charles Koutcheme, Nicola Dainese, Sami Sarsa, Juho Leinonen, Arto Hellas, Paul Denny | 2024-05-08T18:23:59Z | cs.SE, cs.AI, cs.CL, cs.CY | The emergence of large language models (LLMs) has sparked enormous interest
due to their potential application across a range of educational tasks. For
example, recent work in programming education has used LLMs to generate
learning resources, improve error messages, and provide feedback on code.
However, one factor that limits progress within the field is that much of the
research uses bespoke datasets and different evaluation metrics, making direct
comparisons between results unreliable. Thus, there is a pressing need for
standardization and benchmarks that facilitate the equitable comparison of
competing approaches. One task where LLMs show great promise is program repair,
which can be used to provide debugging support and next-step hints to students.
In this article, we propose a novel educational program repair benchmark. We
curate two high-quality publicly available programming datasets, present a
unified evaluation procedure introducing a novel evaluation metric rouge@k for
approximating the quality of repairs, and evaluate a set of five recent models
to establish baseline performance. | cs.SE | Benchmarking Educational Program Repair |
2024-05-08T18:20:03Z | http://arxiv.org/pdf/2405.05345v1 | http://arxiv.org/abs/2405.05345v1 | Varun Nagaraj Rao, Eesha Agarwal, Samantha Dalal, Dan Calacci, Andrés Monroy-Hernández | 2024-05-08T18:20:03Z | cs.CL, cs.HC | Online discussion forums provide crucial data to understand the concerns of a
wide range of real-world communities. However, the typical qualitative and
quantitative methods used to analyze those data, such as thematic analysis and
topic modeling, are infeasible to scale or require significant human effort to
translate outputs to human readable forms. This study introduces QuaLLM, a
novel LLM-based framework to analyze and extract quantitative insights from
text data on online forums. The framework consists of a novel prompting
methodology and evaluation strategy. We applied this framework to analyze over
one million comments from two Reddit's rideshare worker communities, marking
the largest study of its type. We uncover significant worker concerns regarding
AI and algorithmic platform decisions, responding to regulatory calls about
worker insights. In short, our work sets a new precedent for AI-assisted
quantitative data analysis to surface concerns from online forums. | cs.CL | QuaLLM: An LLM-based Framework to Extract Quantitative Insights from Online Forums |
2024-05-08T18:03:22Z | http://arxiv.org/pdf/2405.05329v2 | http://arxiv.org/abs/2405.05329v2 | Minsik Cho, Mohammad Rastegari, Devang Naik | 2024-05-13T18:32:37Z | cs.DC, cs.AI, cs.CL | Large Language Model or LLM inference has two phases, the prompt (or prefill)
phase to output the first token and the extension (or decoding) phase to the
generate subsequent tokens. In this work, we propose an efficient
parallelization scheme, KV-Runahead to accelerate the prompt phase. The key
observation is that the extension phase generates tokens faster than the prompt
phase because of key-value cache (KV-cache). Hence, KV-Runahead parallelizes
the prompt phase by orchestrating multiple processes to populate the KV-cache
and minimizes the time-to-first-token (TTFT). Dual-purposing the KV-cache
scheme has two main benefits. First, since KV-cache is designed to leverage the
causal attention map, we minimize computation and computation automatically.
Second, since it already exists for the extension phase, KV-Runahead is easy to
implement. We further propose context-level load-balancing to handle uneven
KV-cache generation (due to the causal attention) and to optimize TTFT.
Compared with an existing parallelization scheme such as tensor or sequential
parallelization where keys and values are locally generated and exchanged via
all-gather collectives, our experimental results demonstrate that KV-Runahead
can offer over 1.4x and 1.6x speedups for Llama 7B and Falcon 7B respectively. | cs.DC | KV-Runahead: Scalable Causal LLM Inference by Parallel Key-Value Cache Generation |
2024-05-08T17:57:39Z | http://arxiv.org/pdf/2405.05253v1 | http://arxiv.org/abs/2405.05253v1 | Charles Koutcheme, Nicola Dainese, Sami Sarsa, Arto Hellas, Juho Leinonen, Paul Denny | 2024-05-08T17:57:39Z | cs.CL, cs.AI, cs.CY | Large language models (LLMs) have shown great potential for the automatic
generation of feedback in a wide range of computing contexts. However, concerns
have been voiced around the privacy and ethical implications of sending student
work to proprietary models. This has sparked considerable interest in the use
of open source LLMs in education, but the quality of the feedback that such
open models can produce remains understudied. This is a concern as providing
flawed or misleading generated feedback could be detrimental to student
learning. Inspired by recent work that has utilised very powerful LLMs, such as
GPT-4, to evaluate the outputs produced by less powerful models, we conduct an
automated analysis of the quality of the feedback produced by several open
source models using a dataset from an introductory programming course. First,
we investigate the viability of employing GPT-4 as an automated evaluator by
comparing its evaluations with those of a human expert. We observe that GPT-4
demonstrates a bias toward positively rating feedback while exhibiting moderate
agreement with human raters, showcasing its potential as a feedback evaluator.
Second, we explore the quality of feedback generated by several leading
open-source LLMs by using GPT-4 to evaluate the feedback. We find that some
models offer competitive performance with popular proprietary LLMs, such as
ChatGPT, indicating opportunities for their responsible use in educational
settings. | cs.CL | Open Source Language Models Can Provide Feedback: Evaluating LLMs' Ability to Help Students Using GPT-4-As-A-Judge |
2024-05-08T17:57:39Z | http://arxiv.org/pdf/2405.05254v2 | http://arxiv.org/abs/2405.05254v2 | Yutao Sun, Li Dong, Yi Zhu, Shaohan Huang, Wenhui Wang, Shuming Ma, Quanlu Zhang, Jianyong Wang, Furu Wei | 2024-05-09T14:12:45Z | cs.CL | We introduce a decoder-decoder architecture, YOCO, for large language models,
which only caches key-value pairs once. It consists of two components, i.e., a
cross-decoder stacked upon a self-decoder. The self-decoder efficiently encodes
global key-value (KV) caches that are reused by the cross-decoder via
cross-attention. The overall model behaves like a decoder-only Transformer,
although YOCO only caches once. The design substantially reduces GPU memory
demands, yet retains global attention capability. Additionally, the computation
flow enables prefilling to early exit without changing the final output,
thereby significantly speeding up the prefill stage. Experimental results
demonstrate that YOCO achieves favorable performance compared to Transformer in
various settings of scaling up model size and number of training tokens. We
also extend YOCO to 1M context length with near-perfect needle retrieval
accuracy. The profiling results show that YOCO improves inference memory,
prefill latency, and throughput by orders of magnitude across context lengths
and model sizes. Code is available at https://aka.ms/YOCO. | cs.CL | You Only Cache Once: Decoder-Decoder Architectures for Language Models |
2024-05-08T17:51:53Z | http://arxiv.org/pdf/2405.05248v2 | http://arxiv.org/abs/2405.05248v2 | Sean Noh, Ho-Chun Herbert Chang | 2024-05-09T01:09:09Z | cs.CL, cs.AI, cs.MA | Powered by large language models (LLMs), AI agents have become capable of
many human tasks. Using the most canonical definitions of the Big Five
personality, we measure the ability of LLMs to negotiate within a
game-theoretical framework, as well as methodological challenges to measuring
notions of fairness and risk. Simulations (n=1,500) for both single-issue and
multi-issue negotiation reveal increase in domain complexity with asymmetric
issue valuations improve agreement rates but decrease surplus from aggressive
negotiation. Through gradient-boosted regression and Shapley explainers, we
find high openness, conscientiousness, and neuroticism are associated with fair
tendencies; low agreeableness and low openness are associated with rational
tendencies. Low conscientiousness is associated with high toxicity. These
results indicate that LLMs may have built-in guardrails that default to fair
behavior, but can be "jail broken" to exploit agreeable opponents. We also
offer pragmatic insight in how negotiation bots can be designed, and a
framework of assessing negotiation behavior based on game theory and
computational social science. | cs.CL | LLMs with Personalities in Multi-issue Negotiation Games |
2024-05-08T16:40:18Z | http://arxiv.org/pdf/2405.05204v1 | http://arxiv.org/abs/2405.05204v1 | Drew Walker, Annie Thorne, Sudeshna Das, Jennifer Love, Hannah LF Cooper, Melvin Livingston III, Abeed Sarker | 2024-05-08T16:40:18Z | cs.CL | Objective: To detect and classify features of stigmatizing and biased
language in intensive care electronic health records (EHRs) using natural
language processing techniques. Materials and Methods: We first created a
lexicon and regular expression lists from literature-driven stem words for
linguistic features of stigmatizing patient labels, doubt markers, and scare
quotes within EHRs. The lexicon was further extended using Word2Vec and GPT
3.5, and refined through human evaluation. These lexicons were used to search
for matches across 18 million sentences from the de-identified Medical
Information Mart for Intensive Care-III (MIMIC-III) dataset. For each
linguistic bias feature, 1000 sentence matches were sampled, labeled by expert
clinical and public health annotators, and used to supervised learning
classifiers. Results: Lexicon development from expanded literature stem-word
lists resulted in a doubt marker lexicon containing 58 expressions, and a
stigmatizing labels lexicon containing 127 expressions. Classifiers for doubt
markers and stigmatizing labels had the highest performance, with macro
F1-scores of .84 and .79, positive-label recall and precision values ranging
from .71 to .86, and accuracies aligning closely with human annotator agreement
(.87). Discussion: This study demonstrated the feasibility of supervised
classifiers in automatically identifying stigmatizing labels and doubt markers
in medical text, and identified trends in stigmatizing language use in an EHR
setting. Additional labeled data may help improve lower scare quote model
performance. Conclusions: Classifiers developed in this study showed high model
performance and can be applied to identify patterns and target interventions to
reduce stigmatizing labels and doubt markers in healthcare systems. | cs.CL | CARE-SD: Classifier-based analysis for recognizing and eliminating stigmatizing and doubt marker labels in electronic health records: model development and validation |
2024-05-08T16:25:42Z | http://arxiv.org/pdf/2405.05189v2 | http://arxiv.org/abs/2405.05189v2 | Inderjeet Nair, Lu Wang | 2024-06-02T18:47:44Z | cs.CL, cs.AI | We study the task of conducting structured reasoning as generating a
reasoning graph from natural language input using large language models (LLMs).
Previous approaches have explored various prompting schemes, yet they suffer
from error propagation due to the autoregressive nature and single-pass-based
decoding, which lack error correction capability. Additionally, relying solely
on a single sample may result in the omission of true nodes and edges. To
counter this, we draw inspiration from self-consistency (SC), which involves
sampling a diverse set of reasoning chains and taking the majority vote as the
final answer. To tackle the substantial challenge of applying SC on generated
graphs, we propose MIDGARD (MInimum Description length Guided Aggregation of
Reasoning in Directed acyclic graph) that leverages Minimum Description Length
(MDL)-based formulation to identify consistent properties among the different
graph samples generated by an LLM. This formulation helps reject properties
that appear in only a few samples, which are likely to be erroneous, while
enabling the inclusion of missing elements without compromising precision. Our
method demonstrates superior performance than comparisons across various
structured reasoning tasks, including argument structure extraction,
explanation graph generation, inferring dependency relations among actions for
everyday tasks, and semantic graph generation from natural texts. | cs.CL | MIDGARD: Self-Consistency Using Minimum Description Length for Structured Commonsense Reasoning |
2024-05-08T16:13:40Z | http://arxiv.org/pdf/2405.05176v1 | http://arxiv.org/abs/2405.05176v1 | Tommaso Pasini, Alejo López-Ávila, Husam Quteineh, Gerasimos Lampouras, Jinhua Du, Yubing Wang, Ze Li, Yusen Sun | 2024-05-08T16:13:40Z | cs.CL, I.2.7 | Composing poetry or lyrics involves several creative factors, but a
challenging aspect of generation is the adherence to a more or less strict
metric and rhyming pattern. To address this challenge specifically, previous
work on the task has mainly focused on reverse language modeling, which brings
the critical selection of each rhyming word to the forefront of each verse. On
the other hand, reversing the word order requires that models be trained from
scratch with this task-specific goal and cannot take advantage of transfer
learning from a Pretrained Language Model (PLM). We propose a novel fine-tuning
approach that prepends the rhyming word at the start of each lyric, which
allows the critical rhyming decision to be made before the model commits to the
content of the lyric (as during reverse language modeling), but maintains
compatibility with the word order of regular PLMs as the lyric itself is still
generated in left-to-right order. We conducted extensive experiments to compare
this fine-tuning against the current state-of-the-art strategies for rhyming,
finding that our approach generates more readable text and better rhyming
capabilities. Furthermore, we furnish a high-quality dataset in English and 12
other languages, analyse the approach's feasibility in a multilingual context,
provide extensive experimental results shedding light on good and bad practices
for lyrics generation, and propose metrics to compare methods in the future. | cs.CL | Encoder-Decoder Framework for Interactive Free Verses with Generation with Controllable High-Quality Rhyming |
2024-05-08T16:12:45Z | http://arxiv.org/pdf/2405.05175v1 | http://arxiv.org/abs/2405.05175v1 | Eugene Bagdasaryan, Ren Yi, Sahra Ghalebikesabi, Peter Kairouz, Marco Gruteser, Sewoong Oh, Borja Balle, Daniel Ramage | 2024-05-08T16:12:45Z | cs.CR, cs.CL, cs.LG | The growing use of large language model (LLM)-based conversational agents to
manage sensitive user data raises significant privacy concerns. While these
agents excel at understanding and acting on context, this capability can be
exploited by malicious actors. We introduce a novel threat model where
adversarial third-party apps manipulate the context of interaction to trick
LLM-based agents into revealing private information not relevant to the task at
hand.
Grounded in the framework of contextual integrity, we introduce AirGapAgent,
a privacy-conscious agent designed to prevent unintended data leakage by
restricting the agent's access to only the data necessary for a specific task.
Extensive experiments using Gemini, GPT, and Mistral models as agents validate
our approach's effectiveness in mitigating this form of context hijacking while
maintaining core agent functionality. For example, we show that a single-query
context hijacking attack on a Gemini Ultra agent reduces its ability to protect
user data from 94% to 45%, while an AirGapAgent achieves 97% protection,
rendering the same attack ineffective. | cs.CR | Air Gap: Protecting Privacy-Conscious Conversational Agents |
2024-05-08T15:54:12Z | http://arxiv.org/pdf/2405.05161v1 | http://arxiv.org/abs/2405.05161v1 | Julia Krebs, Evie Malaia, Ronnie B. Wilbur, Isabella Fessl, Hans-Peter Wiesinger, Hermann Schwameder, Dietmar Roehm | 2024-05-08T15:54:12Z | cs.CL, q-bio.NC | Across a number of sign languages, temporal and spatial characteristics of
dominant hand articulation are used to express semantic and grammatical
features. In this study of Austrian Sign Language (\"Osterreichische
Geb\"ardensprache, or \"OGS), motion capture data of four Deaf signers is used
to quantitatively characterize the kinematic parameters of sign production in
verbs and adjectives. We investigate (1) the difference in production between
verbs involving a natural endpoint (telic verbs; e.g. arrive) and verbs lacking
an endpoint (atelic verbs; e.g. analyze), and (2) adjective signs in
intensified vs. non-intensified (plain) forms. Motion capture data analysis
using linear-mixed effects models (LME) indicates that both the endpoint
marking in verbs, as well as marking of intensification in adjectives, are
expressed by movement modulation in \"OGS. While the semantic distinction
between verb types (telic/atelic) is marked by higher peak velocity and shorter
duration for telic signs compared to atelic ones, the grammatical distinction
(intensification) in adjectives is expressed by longer duration for intensified
compared to non-intensified adjectives. The observed individual differences of
signers might be interpreted as personal signing style. | cs.CL | Motion Capture Analysis of Verb and Adjective Types in Austrian Sign Language |
2024-05-08T15:13:33Z | http://arxiv.org/pdf/2405.05116v2 | http://arxiv.org/abs/2405.05116v2 | Peiqin Lin, André F. T. Martins, Hinrich Schütze | 2024-06-29T13:09:36Z | cs.CL | Recent studies indicate that leveraging off-the-shelf or fine-tuned
retrievers, capable of retrieving relevant in-context examples tailored to the
input query, enhances few-shot in-context learning of English. However,
adapting these methods to other languages, especially low-resource ones, poses
challenges due to the scarcity of cross-lingual retrievers and annotated data.
Thus, we introduce XAMPLER: Cross-Lingual Example Retrieval, a method tailored
to tackle the challenge of cross-lingual in-context learning using only
annotated English data. XAMPLER first trains a retriever based on Glot500, a
multilingual small language model, using positive and negative English examples
constructed from the predictions of a multilingual large language model, i.e.,
MaLA500. Leveraging the cross-lingual capacity of the retriever, it can
directly retrieve English examples as few-shot examples for in-context learning
of target languages. Experiments on the multilingual text classification
benchmark SIB200 with 176 languages show that XAMPLER substantially improves
the in-context learning performance across languages. Our code is available at
\url{https://github.com/cisnlp/XAMPLER}. | cs.CL | XAMPLER: Learning to Retrieve Cross-Lingual In-Context Examples |
2024-05-08T15:05:55Z | http://arxiv.org/pdf/2405.05109v1 | http://arxiv.org/abs/2405.05109v1 | Weijia Zhang, Vaishali Pal, Jia-Hong Huang, Evangelos Kanoulas, Maarten de Rijke | 2024-05-08T15:05:55Z | cs.CL, cs.AI | Table summarization is a crucial task aimed at condensing information from
tabular data into concise and comprehensible textual summaries. However,
existing approaches often fall short of adequately meeting users' information
and quality requirements and tend to overlook the complexities of real-world
queries. In this paper, we propose a novel method to address these limitations
by introducing query-focused multi-table summarization. Our approach, which
comprises a table serialization module, a summarization controller, and a large
language model (LLM), utilizes textual queries and multiple tables to generate
query-dependent table summaries tailored to users' information needs. To
facilitate research in this area, we present a comprehensive dataset
specifically tailored for this task, consisting of 4909 query-summary pairs,
each associated with multiple tables. Through extensive experiments using our
curated dataset, we demonstrate the effectiveness of our proposed method
compared to baseline approaches. Our findings offer insights into the
challenges of complex table reasoning for precise summarization, contributing
to the advancement of research in query-focused multi-table summarization. | cs.CL | QFMTS: Generating Query-Focused Summaries over Multi-Table Inputs |
2024-05-08T13:55:25Z | http://arxiv.org/pdf/2405.05060v1 | http://arxiv.org/abs/2405.05060v1 | Aylin Gunal, Baihan Lin, Djallel Bouneffouf | 2024-05-08T13:55:25Z | cs.CL | Given the increasing demand for mental health assistance, artificial
intelligence (AI), particularly large language models (LLMs), may be valuable
for integration into automated clinical support systems. In this work, we
leverage a decision transformer architecture for topic recommendation in
counseling conversations between patients and mental health professionals. The
architecture is utilized for offline reinforcement learning, and we extract
states (dialogue turn embeddings), actions (conversation topics), and rewards
(scores measuring the alignment between patient and therapist) from previous
turns within a conversation to train a decision transformer model. We
demonstrate an improvement over baseline reinforcement learning methods, and
propose a novel system of utilizing our model's output as synthetic labels for
fine-tuning a large language model for the same task. Although our
implementation based on LLaMA-2 7B has mixed results, future work can
undoubtedly build on the design. | cs.CL | Conversational Topic Recommendation in Counseling and Psychotherapy with Decision Transformer and Large Language Models |
2024-05-08T13:38:56Z | http://arxiv.org/pdf/2405.05049v1 | http://arxiv.org/abs/2405.05049v1 | Lasse Hyldig Hansen, Nikolaj Andersen, Jack Gallifant, Liam G. McCoy, James K Stone, Nura Izath, Marcela Aguirre-Jerez, Danielle S Bitterman, Judy Gichoya, Leo Anthony Celi | 2024-05-08T13:38:56Z | cs.CL | Background Advancements in Large Language Models (LLMs) hold transformative
potential in healthcare, however, recent work has raised concern about the
tendency of these models to produce outputs that display racial or gender
biases. Although training data is a likely source of such biases, exploration
of disease and demographic associations in text data at scale has been limited.
Methods We conducted a large-scale textual analysis using a dataset
comprising diverse web sources, including Arxiv, Wikipedia, and Common Crawl.
The study analyzed the context in which various diseases are discussed
alongside markers of race and gender. Given that LLMs are pre-trained on
similar datasets, this approach allowed us to examine the potential biases that
LLMs may learn and internalize. We compared these findings with actual
demographic disease prevalence as well as GPT-4 outputs in order to evaluate
the extent of bias representation.
Results Our findings indicate that demographic terms are disproportionately
associated with specific disease concepts in online texts. gender terms are
prominently associated with disease concepts, while racial terms are much less
frequently associated. We find widespread disparities in the associations of
specific racial and gender terms with the 18 diseases analyzed. Most
prominently, we see an overall significant overrepresentation of Black race
mentions in comparison to population proportions.
Conclusions Our results highlight the need for critical examination and
transparent reporting of biases in LLM pretraining datasets. Our study suggests
the need to develop mitigation strategies to counteract the influence of biased
training data in LLMs, particularly in sensitive domains such as healthcare. | cs.CL | Seeds of Stereotypes: A Large-Scale Textual Analysis of Race and Gender Associations with Diseases in Online Sources |
2024-05-08T12:24:52Z | http://arxiv.org/pdf/2405.05008v1 | http://arxiv.org/abs/2405.05008v1 | Yunjia Qi, Hao Peng, Xiaozhi Wang, Bin Xu, Lei Hou, Juanzi Li | 2024-05-08T12:24:52Z | cs.CL | Large language models (LLMs) usually fall short on information extraction
(IE) tasks and struggle to follow the complex instructions of IE tasks. This
primarily arises from LLMs not being aligned with humans, as mainstream
alignment datasets typically do not include IE data. In this paper, we
introduce ADELIE (Aligning large language moDELs on Information Extraction), an
aligned LLM that effectively solves various IE tasks, including closed IE, open
IE, and on-demand IE. We first collect and construct a high-quality alignment
corpus IEInstruct for IE. Then we train ADELIE_SFT using instruction tuning on
IEInstruct. We further train ADELIE_SFT with direct preference optimization
(DPO) objective, resulting in ADELIE_DPO. Extensive experiments on various
held-out IE datasets demonstrate that our models (ADELIE_SFT and ADELIE_DPO)
achieve state-of-the-art (SoTA) performance among open-source models. We
further explore the general capabilities of ADELIE, and experimental results
reveal that their general capabilities do not exhibit a noticeable decline. We
will release the code, data, and models to facilitate further research. | cs.CL | ADELIE: Aligning Large Language Models on Information Extraction |
2024-05-08T11:37:54Z | http://arxiv.org/pdf/2405.06702v1 | http://arxiv.org/abs/2405.06702v1 | Abhinand K., Abhiram B. Nair, Dhananjay C., Hanan Hamza, Mohammed Fawaz J., Rahma Fahim K., Anoop V. S | 2024-05-08T11:37:54Z | cs.CL, cs.CV | Technological advancements and innovations are advancing our daily life in
all the ways possible but there is a larger section of society who are deprived
of accessing the benefits due to their physical inabilities. To reap the real
benefits and make it accessible to society, these talented and gifted people
should also use such innovations without any hurdles. Many applications
developed these days address these challenges, but localized communities and
other constrained linguistic groups may find it difficult to use them.
Malayalam, a Dravidian language spoken in the Indian state of Kerala is one of
the twenty-two scheduled languages in India. Recent years have witnessed a
surge in the development of systems and tools in Malayalam, addressing the
needs of Kerala, but many of them are not empathetically designed to cater to
the needs of hearing-impaired people. One of the major challenges is the
limited or no availability of sign language data for the Malayalam language and
sufficient efforts are not made in this direction. In this connection, this
paper proposes an approach for sign language identification for the Malayalam
language using advanced deep learning and computer vision techniques. We start
by developing a labeled dataset for Malayalam letters and for the
identification we use advanced deep learning techniques such as YOLOv8 and
computer vision. Experimental results show that the identification accuracy is
comparable to other sign language identification systems and other researchers
in sign language identification can use the model as a baseline to develop
advanced models. | cs.CL | Malayalam Sign Language Identification using Finetuned YOLOv8 and Computer Vision Techniques |
2024-05-08T11:01:21Z | http://arxiv.org/pdf/2405.04960v2 | http://arxiv.org/abs/2405.04960v2 | Guochao Jiang, Zepeng Ding, Yuchen Shi, Deqing Yang | 2024-06-17T09:38:25Z | cs.CL | In recent years, the rise of large language models (LLMs) has made it
possible to directly achieve named entity recognition (NER) without any
demonstration samples or only using a few samples through in-context learning
(ICL). However, standard ICL only helps LLMs understand task instructions,
format and input-label mapping, but neglects the particularity of the NER task
itself. In this paper, we propose a new prompting framework P-ICL to better
achieve NER with LLMs, in which some point entities are leveraged as the
auxiliary information to recognize each entity type. With such significant
information, the LLM can achieve entity classification more precisely. To
obtain optimal point entities for prompting LLMs, we also proposed a point
entity selection method based on K-Means clustering. Our extensive experiments
on some representative NER benchmarks verify the effectiveness of our proposed
strategies in P-ICL and point entity selection. | cs.CL | P-ICL: Point In-Context Learning for Named Entity Recognition with Large Language Models |
2024-05-08T10:49:39Z | http://arxiv.org/pdf/2405.04955v1 | http://arxiv.org/abs/2405.04955v1 | Yan Liu, Yazheng Yang, Xiaokang Chen | 2024-05-08T10:49:39Z | cs.CL, cs.AI | Long text understanding is important yet challenging for natural language
processing. A long article or document usually contains many redundant words
that are not pertinent to its gist and sometimes can be regarded as noise. With
recent advances of abstractive summarization, we propose our \emph{Gist
Detector} to leverage the gist detection ability of a summarization model and
integrate the extracted gist into downstream models to enhance their long text
understanding ability. Specifically, Gist Detector first learns the gist
detection knowledge distilled from a summarization model, and then produces
gist-aware representations to augment downstream models. We evaluate our method
on three different tasks: long document classification, distantly supervised
open-domain question answering, and non-parallel text style transfer. The
experimental results show that our method can significantly improve the
performance of baseline models on all tasks. | cs.CL | Improving Long Text Understanding with Knowledge Distilled from Summarization Model |
2024-05-08T10:42:48Z | http://arxiv.org/pdf/2405.04950v1 | http://arxiv.org/abs/2405.04950v1 | Yunxin Li, Baotian Hu, Haoyuan Shi, Wei Wang, Longyue Wang, Min Zhang | 2024-05-08T10:42:48Z | cs.CV, cs.AI, cs.CL | Large Multimodal Models (LMMs) have achieved impressive success in visual
understanding and reasoning, remarkably improving the performance of
mathematical reasoning in a visual context. Yet, a challenging type of visual
math lies in the multimodal graph theory problem, which demands that LMMs
understand the graphical structures accurately and perform multi-step reasoning
on the visual graph. Additionally, exploring multimodal graph theory problems
will lead to more effective strategies in fields like biology, transportation,
and robotics planning. To step forward in this direction, we are the first to
design a benchmark named VisionGraph, used to explore the capabilities of
advanced LMMs in solving multimodal graph theory problems. It encompasses eight
complex graph problem tasks, from connectivity to shortest path problems.
Subsequently, we present a Description-Program-Reasoning (DPR) chain to enhance
the logical accuracy of reasoning processes through graphical structure
description generation and algorithm-aware multi-step reasoning. Our extensive
study shows that 1) GPT-4V outperforms Gemini Pro in multi-step graph
reasoning; 2) All LMMs exhibit inferior perception accuracy for graphical
structures, whether in zero/few-shot settings or with supervised fine-tuning
(SFT), which further affects problem-solving performance; 3) DPR significantly
improves the multi-step graph reasoning capabilities of LMMs and the GPT-4V
(DPR) agent achieves SOTA performance. | cs.CV | VisionGraph: Leveraging Large Multimodal Models for Graph Theory Problems in Visual Context |
2024-05-08T10:10:38Z | http://arxiv.org/pdf/2405.06701v1 | http://arxiv.org/abs/2405.06701v1 | Yanfei Dong, Lambert Deng, Jiazheng Zhang, Xiaodong Yu, Ting Lin, Francesco Gelli, Soujanya Poria, Wee Sun Lee | 2024-05-08T10:10:38Z | cs.CL, cs.AI | Documents that consist of diverse templates and exhibit complex spatial
structures pose a challenge for document entity classification. We propose
KNN-former, which incorporates a new kind of spatial bias in attention
calculation based on the K-nearest-neighbor (KNN) graph of document entities.
We limit entities' attention only to their local radius defined by the KNN
graph. We also use combinatorial matching to address the one-to-one mapping
property that exists in many documents, where one field has only one
corresponding entity. Moreover, our method is highly parameter-efficient
compared to existing approaches in terms of the number of trainable parameters.
Despite this, experiments across various datasets show our method outperforms
baselines in most entity types. Many real-world documents exhibit combinatorial
properties which can be leveraged as inductive biases to improve extraction
accuracy, but existing datasets do not cover these documents. To facilitate
future research into these types of documents, we release a new ID document
dataset that covers diverse templates and languages. We also release enhanced
annotations for an existing dataset. | cs.CL | Lightweight Spatial Modeling for Combinatorial Information Extraction From Documents |
2024-05-08T10:03:50Z | http://arxiv.org/pdf/2405.05294v1 | http://arxiv.org/abs/2405.05294v1 | Hanqi Zhou, David G. Nagy, Charley M. Wu | 2024-05-08T10:03:50Z | cs.HC, cs.CL, cs.IT, cs.LG, cs.SC, math.IT, stat.ML | Many aspects of human learning have been proposed as a process of
constructing mental programs: from acquiring symbolic number representations to
intuitive theories about the world. In parallel, there is a long-tradition of
using information processing to model human cognition through Rate Distortion
Theory (RDT). Yet, it is still poorly understood how to apply RDT when mental
representations take the form of programs. In this work, we adapt RDT by
proposing a three way trade-off among rate (description length), distortion
(error), and computational costs (search budget). We use simulations on a
melody task to study the implications of this trade-off, and show that
constructing a shared program library across tasks provides global benefits.
However, this comes at the cost of sensitivity to curricula, which is also
characteristic of human learners. Finally, we use methods from partial
information decomposition to generate training curricula that induce more
effective libraries and better generalization. | cs.HC | Harmonizing Program Induction with Rate-Distortion Theory |
2024-05-08T09:05:02Z | http://arxiv.org/pdf/2405.04897v1 | http://arxiv.org/abs/2405.04897v1 | Paul Jideani, Aurona Gerber | 2024-05-08T09:05:02Z | cs.CL, cs.AI | Recent social media posts on the cholera outbreak in Hammanskraal have
highlighted the diverse range of emotions people experienced in response to
such an event. The extent of people's opinions varies greatly depending on
their level of knowledge and information about the disease. The documented
re-search about Cholera lacks investigations into the classification of
emotions. This study aims to examine the emotions expressed in social media
posts about Chol-era. A dataset of 23,000 posts was extracted and
pre-processed. The Python Nat-ural Language Toolkit (NLTK) sentiment analyzer
library was applied to deter-mine the emotional significance of each text.
Additionally, Machine Learning (ML) models were applied for emotion
classification, including Long short-term memory (LSTM), Logistic regression,
Decision trees, and the Bidirectional En-coder Representations from
Transformers (BERT) model. The results of this study demonstrated that LSTM
achieved the highest accuracy of 75%. Emotion classification presents a
promising tool for gaining a deeper understanding of the impact of Cholera on
society. The findings of this study might contribute to the development of
effective interventions in public health strategies. | cs.CL | Machine Learning-based NLP for Emotion Classification on a Cholera X Dataset |
2024-05-08T08:05:47Z | http://arxiv.org/pdf/2405.04872v1 | http://arxiv.org/abs/2405.04872v1 | Yitian Li, Jidong Tian, Hao He, Yaohui Jin | 2024-05-08T08:05:47Z | cs.CL, cs.AI, cs.LO | Prompt-based methods have gained increasing attention on NLP and shown
validity on many downstream tasks. Many works have focused on mining these
methods' potential for knowledge extraction, but few explore their ability to
make logical reasoning. In this work, we focus on the effectiveness of the
prompt-based methods on first-order logical reasoning and find that the
bottleneck lies in logical negation. Based on our analysis, logical negation
tends to result in spurious correlations to negative answers, while
propositions without logical negation correlate to positive answers. To solve
the problem, we propose a simple but effective method, Negation Augmenting and
Negation Debiasing (NAND), which introduces negative propositions to
prompt-based methods without updating parameters. Specifically, these negative
propositions can counteract spurious correlations by providing "not" for all
instances so that models cannot make decisions only by whether expressions
contain a logical negation. Experiments on three datasets show that NAND not
only solves the problem of calibrating logical negation but also significantly
enhances prompt-based methods of logical reasoning without model retraining. | cs.CL | Logical Negation Augmenting and Debiasing for Prompt-based Methods |
2024-05-08T07:21:26Z | http://arxiv.org/pdf/2405.06699v1 | http://arxiv.org/abs/2405.06699v1 | Haiyang Tang, Dongping Chen, Qingzhao Chu | 2024-05-08T07:21:26Z | cs.CL, cs.AI | With the rapid advancement of natural language processing technologies,
generative artificial intelligence techniques, represented by large language
models (LLMs), are gaining increasing prominence and demonstrating significant
potential for applications in safety engineering. However, fundamental LLMs
face constraints such as limited training data coverage and unreliable
responses. This study develops a vector database from 117 explosion accident
reports in China spanning 2013 to 2023, employing techniques such as corpus
segmenting and vector embedding. By utilizing the vector database, which
outperforms the relational database in information retrieval quality, we
provide LLMs with richer, more relevant knowledge. Comparative analysis of LLMs
demonstrates that ChatSOS significantly enhances reliability, accuracy, and
comprehensiveness, improves adaptability and clarification of responses. These
results illustrate the effectiveness of supplementing LLMs with an external
database, highlighting their potential to handle professional queries in safety
engineering and laying a foundation for broader applications. | cs.CL | ChatSOS: Vector Database Augmented Generative Question Answering Assistant in Safety Engineering |
2024-05-08T05:54:54Z | http://arxiv.org/pdf/2405.04829v2 | http://arxiv.org/abs/2405.04829v2 | Sankalp Bahad, Pruthwik Mishra, Karunesh Arora, Rakesh Chandra Balabantaray, Dipti Misra Sharma, Parameswari Krishnamurthy | 2024-05-10T12:57:50Z | cs.CL | Named Entity Recognition (NER) is a useful component in Natural Language
Processing (NLP) applications. It is used in various tasks such as Machine
Translation, Summarization, Information Retrieval, and Question-Answering
systems. The research on NER is centered around English and some other major
languages, whereas limited attention has been given to Indian languages. We
analyze the challenges and propose techniques that can be tailored for
Multilingual Named Entity Recognition for Indian Languages. We present a human
annotated named entity corpora of 40K sentences for 4 Indian languages from two
of the major Indian language families. Additionally,we present a multilingual
model fine-tuned on our dataset, which achieves an F1 score of 0.80 on our
dataset on average. We achieve comparable performance on completely unseen
benchmark datasets for Indian languages which affirms the usability of our
model. | cs.CL | Fine-tuning Pre-trained Named Entity Recognition Models For Indian Languages |
2024-05-08T05:54:44Z | http://arxiv.org/pdf/2405.04828v1 | http://arxiv.org/abs/2405.04828v1 | Xiaomin Zhuang, Yufan Jiang, Qiaozhi He, Zhihua Wu | 2024-05-08T05:54:44Z | cs.CL | In this report, we present ChuXin, an entirely open-source language model
with a size of 1.6 billion parameters. Unlike the majority of works that only
open-sourced the model weights and architecture, we have made everything needed
to train a model available, including the training data, the training process,
and the evaluation code. Our goal is to empower and strengthen the open
research community, fostering transparency and enabling a new wave of
innovation in the field of language modeling. Furthermore, we extend the
context length to 1M tokens through lightweight continual pretraining and
demonstrate strong needle-in-a-haystack retrieval performance. The weights for
both models are available at Hugging Face to download and use. | cs.CL | ChuXin: 1.6B Technical Report |
2024-05-08T05:38:56Z | http://arxiv.org/pdf/2405.04820v1 | http://arxiv.org/abs/2405.04820v1 | Yikuan Xia, Jiazun Chen, Xinchi Li, Jun Gao | 2024-05-08T05:38:56Z | cs.CL, cs.AI | Generalized Entity Matching (GEM), which aims at judging whether two records
represented in different formats refer to the same real-world entity, is an
essential task in data management. The prompt tuning paradigm for pre-trained
language models (PLMs), including the recent PromptEM model, effectively
addresses the challenges of low-resource GEM in practical applications,
offering a robust solution when labeled data is scarce. However, existing
prompt tuning models for GEM face the challenges of prompt design and
information gap. This paper introduces an augmented prompt tuning framework for
the challenges, which consists of two main improvements. The first is an
augmented contextualized soft token-based prompt tuning method that extracts a
guiding soft token benefit for the PLMs' prompt tuning, and the second is a
cost-effective information augmentation strategy leveraging large language
models (LLMs). Our approach performs well on the low-resource GEM challenges.
Extensive experiments show promising advancements of our basic model without
information augmentation over existing methods based on moderate-size PLMs
(average 5.24%+), and our model with information augmentation achieves
comparable performance compared with fine-tuned LLMs, using less than 14% of
the API fee. | cs.CL | APrompt4EM: Augmented Prompt Tuning for Generalized Entity Matching |
2024-05-08T05:38:20Z | http://arxiv.org/pdf/2405.04819v2 | http://arxiv.org/abs/2405.04819v2 | Dawei Li, Shu Yang, Zhen Tan, Jae Young Baik, Sukwon Yun, Joseph Lee, Aaron Chacko, Bojian Hou, Duy Duong-Tran, Ying Ding, Huan Liu, Li Shen, Tianlong Chen | 2024-05-12T08:39:24Z | cs.CL, cs.AI | Recent advancements in large language models (LLMs) have achieved promising
performances across various applications. Nonetheless, the ongoing challenge of
integrating long-tail knowledge continues to impede the seamless adoption of
LLMs in specialized domains. In this work, we introduce DALK, a.k.a. Dynamic
Co-Augmentation of LLMs and KG, to address this limitation and demonstrate its
ability on studying Alzheimer's Disease (AD), a specialized sub-field in
biomedicine and a global health priority. With a synergized framework of LLM
and KG mutually enhancing each other, we first leverage LLM to construct an
evolving AD-specific knowledge graph (KG) sourced from AD-related scientific
literature, and then we utilize a coarse-to-fine sampling method with a novel
self-aware knowledge retrieval approach to select appropriate knowledge from
the KG to augment LLM inference capabilities. The experimental results,
conducted on our constructed AD question answering (ADQA) benchmark, underscore
the efficacy of DALK. Additionally, we perform a series of detailed analyses
that can offer valuable insights and guidelines for the emerging topic of
mutually enhancing KG and LLM. We will release the code and data at
https://github.com/David-Li0406/DALK. | cs.CL | DALK: Dynamic Co-Augmentation of LLMs and KG to answer Alzheimer's Disease Questions with Scientific Literature |
2024-05-08T05:36:52Z | http://arxiv.org/pdf/2405.04818v1 | http://arxiv.org/abs/2405.04818v1 | Ana Brassard, Benjamin Heinzerling, Keito Kudo, Keisuke Sakaguchi, Kentaro Inui | 2024-05-08T05:36:52Z | cs.CL | Evaluating free-text explanations is a multifaceted, subjective, and
labor-intensive task. Large language models (LLMs) present an appealing
alternative due to their potential for consistency, scalability, and
cost-efficiency. In this work, we present ACORN, a new dataset of 3,500
free-text explanations and aspect-wise quality ratings, and use it to gain
insights into how LLMs evaluate explanations. We observed that replacing one of
the human ratings sometimes maintained, but more often lowered the
inter-annotator agreement across different settings and quality aspects,
suggesting that their judgments are not always consistent with human raters. We
further quantified this difference by comparing the correlation between
LLM-generated ratings with majority-voted human ratings across different
quality aspects. With the best system, Spearman's rank correlation ranged
between 0.53 to 0.95, averaging 0.72 across aspects, indicating moderately high
but imperfect alignment. Finally, we considered the alternative of using an LLM
as an additional rater when human raters are scarce, and measured the
correlation between majority-voted labels with a limited human pool and LLMs as
an additional rater, compared to the original gold labels. While GPT-4 improved
the outcome when there were only two human raters, in all other observed cases,
LLMs were neutral to detrimental when there were three or more human raters. We
publicly release the dataset to support future improvements in LLM-in-the-loop
evaluation here: https://github.com/a-brassard/ACORN. | cs.CL | ACORN: Aspect-wise Commonsense Reasoning Explanation Evaluation |
2024-05-08T04:07:38Z | http://arxiv.org/pdf/2405.06697v1 | http://arxiv.org/abs/2405.06697v1 | Paul Mingzheng Tang, Kenji Kah Hoe Leong, Nowshad Shaik, Hoong Chuin Lau | 2024-05-08T04:07:38Z | cs.CL, cs.AI | In this paper, we explore the potential application of Large Language Models
(LLMs) that will automatically model constraints and generate code for dynamic
scheduling problems given an existing static model. Static scheduling problems
are modelled and coded by optimization experts. These models may be easily
obsoleted as the underlying constraints may need to be fine-tuned in order to
reflect changes in the scheduling rules. Furthermore, it may be necessary to
turn a static model into a dynamic one in order to cope with disturbances in
the environment. In this paper, we propose a Retrieval-Augmented Generation
(RAG) based LLM model to automate the process of implementing constraints for
Dynamic Scheduling (RAGDyS), without seeking help from an optimization modeling
expert. Our framework aims to minimize technical complexities related to
mathematical modelling and computational workload for end-users, thereby
allowing end-users to quickly obtain a new schedule close to the original
schedule with changes reflected by natural language constraint descriptions. | cs.CL | Automated Conversion of Static to Dynamic Scheduler via Natural Language |
2024-05-08T03:57:45Z | http://arxiv.org/pdf/2405.04793v1 | http://arxiv.org/abs/2405.04793v1 | Amrita Bhattacharjee, Raha Moraffah, Joshua Garland, Huan Liu | 2024-05-08T03:57:45Z | cs.CL, cs.AI, cs.LG | Counterfactual examples are frequently used for model development and
evaluation in many natural language processing (NLP) tasks. Although methods
for automated counterfactual generation have been explored, such methods depend
on models such as pre-trained language models that are then fine-tuned on
auxiliary, often task-specific datasets. Collecting and annotating such
datasets for counterfactual generation is labor intensive and therefore,
infeasible in practice. Therefore, in this work, we focus on a novel problem
setting: \textit{zero-shot counterfactual generation}. To this end, we propose
a structured way to utilize large language models (LLMs) as general purpose
counterfactual example generators. We hypothesize that the
instruction-following and textual understanding capabilities of recent LLMs can
be effectively leveraged for generating high quality counterfactuals in a
zero-shot manner, without requiring any training or fine-tuning. Through
comprehensive experiments on various downstream tasks in natural language
processing (NLP), we demonstrate the efficacy of LLMs as zero-shot
counterfactual generators in evaluating and explaining black-box NLP models. | cs.CL | Zero-shot LLM-guided Counterfactual Generation for Text |
2024-05-08T03:27:46Z | http://arxiv.org/pdf/2405.06696v1 | http://arxiv.org/abs/2405.06696v1 | Yongxue Shan, Jie Zhou, Jie Peng, Xin Zhou, Jiaqian Yin, Xiaodong Wang | 2024-05-08T03:27:46Z | cs.CL, cs.AI | In the task of Knowledge Graph Completion (KGC), the existing datasets and
their inherent subtasks carry a wealth of shared knowledge that can be utilized
to enhance the representation of knowledge triplets and overall performance.
However, no current studies specifically address the shared knowledge within
KGC. To bridge this gap, we introduce a multi-level Shared Knowledge Guided
learning method (SKG) that operates at both the dataset and task levels. On the
dataset level, SKG-KGC broadens the original dataset by identifying shared
features within entity sets via text summarization. On the task level, for the
three typical KGC subtasks - head entity prediction, relation prediction, and
tail entity prediction - we present an innovative multi-task learning
architecture with dynamically adjusted loss weights. This approach allows the
model to focus on more challenging and underperforming tasks, effectively
mitigating the imbalance of knowledge sharing among subtasks. Experimental
results demonstrate that SKG-KGC outperforms existing text-based methods
significantly on three well-known datasets, with the most notable improvement
on WN18RR. | cs.CL | Multi-level Shared Knowledge Guided Learning for Knowledge Graph Completion |
2024-05-08T03:18:12Z | http://arxiv.org/pdf/2405.06695v1 | http://arxiv.org/abs/2405.06695v1 | Chancellor R. Woolsey, Prakash Bisht, Joshua Rothman, Gondy Leroy | 2024-05-08T03:18:12Z | cs.CL, cs.AI | An important issue impacting healthcare is a lack of available experts.
Machine learning (ML) models could resolve this by aiding in diagnosing
patients. However, creating datasets large enough to train these models is
expensive. We evaluated large language models (LLMs) for data creation. Using
Autism Spectrum Disorders (ASD), we prompted ChatGPT and GPT-Premium to
generate 4,200 synthetic observations to augment existing medical data. Our
goal is to label behaviors corresponding to autism criteria and improve model
accuracy with synthetic training data. We used a BERT classifier pre-trained on
biomedical literature to assess differences in performance between models. A
random sample (N=140) from the LLM-generated data was evaluated by a clinician
and found to contain 83% correct example-label pairs. Augmenting data increased
recall by 13% but decreased precision by 16%, correlating with higher quality
and lower accuracy across pairs. Future work will analyze how different
synthetic data traits affect ML outcomes. | cs.CL | Utilizing Large Language Models to Generate Synthetic Data to Increase the Performance of BERT-Based Neural Networks |
2024-05-08T03:11:12Z | http://arxiv.org/pdf/2405.04781v1 | http://arxiv.org/abs/2405.04781v1 | Zheyan Qu, Lu Yin, Zitong Yu, Wenbo Wang, Xing zhang | 2024-05-08T03:11:12Z | cs.CL | Large language models (LLMs) have demonstrated astonishing capabilities in
natural language processing (NLP) tasks, sparking interest in their application
to professional domains with higher specialized requirements. However,
restricted access to closed-source LLMs via APIs and the difficulty in
collecting massive high-quality datasets pose obstacles to the development of
large language models in education fields of various courses. Given these
challenges, we propose CourseGPT-zh, a course-oriented education LLM that
supports customization and low-cost deployment. To address the
comprehensiveness and diversity requirements of course-specific corpora, we
design a high-quality question-answering corpus distillation framework
incorporating prompt optimization, which effectively mines textbook knowledge
and enhances its diversity. Moreover, considering the alignment of LLM
responses with user needs, a novel method for discrete prompt optimization
based on LLM-as-Judge is introduced. During optimization, this framework
leverages the LLM's ability to reflect on and exploit error feedback and
patterns, allowing for prompts that meet user needs and preferences while
saving response length. Lastly, we obtain CourseGPT-zh based on the open-source
LLM using parameter-efficient fine-tuning. Experimental results show that our
discrete prompt optimization framework effectively improves the response
quality of ChatGPT, and CourseGPT-zh exhibits strong professional capabilities
in specialized knowledge question-answering, significantly outperforming
comparable open-source models. | cs.CL | CourseGPT-zh: an Educational Large Language Model Based on Knowledge Distillation Incorporating Prompt Optimization |
2024-05-08T02:48:29Z | http://arxiv.org/pdf/2405.04777v1 | http://arxiv.org/abs/2405.04777v1 | Mahyar Abbasian, Iman Azimi, Mohammad Feli, Amir M. Rahmani, Ramesh Jain | 2024-05-08T02:48:29Z | cs.CL | Agents represent one of the most emerging applications of Large Language
Models (LLMs) and Generative AI, with their effectiveness hinging on multimodal
capabilities to navigate complex user environments. Conversational Health
Agents (CHAs), a prime example of this, are redefining healthcare by offering
nuanced support that transcends textual analysis to incorporate emotional
intelligence. This paper introduces an LLM-based CHA engineered for rich,
multimodal dialogue-especially in the realm of mental health support. It
adeptly interprets and responds to users' emotional states by analyzing
multimodal cues, thus delivering contextually aware and empathetically resonant
verbal responses. Our implementation leverages the versatile openCHA framework,
and our comprehensive evaluation involves neutral prompts expressed in diverse
emotional tones: sadness, anger, and joy. We evaluate the consistency and
repeatability of the planning capability of the proposed CHA. Furthermore,
human evaluators critique the CHA's empathic delivery, with findings revealing
a striking concordance between the CHA's outputs and evaluators' assessments.
These results affirm the indispensable role of vocal (soon multimodal) emotion
recognition in strengthening the empathetic connection built by CHAs, cementing
their place at the forefront of interactive, compassionate digital health
solutions. | cs.CL | Empathy Through Multimodality in Conversational Interfaces |
2024-05-08T02:01:17Z | http://arxiv.org/pdf/2405.04758v2 | http://arxiv.org/abs/2405.04758v2 | Roelien C. Timmer, David Liebowitz, Surya Nepal, Salil S. Kanhere | 2024-05-10T05:12:47Z | cs.CR, cs.AI, cs.CL | Honeyfiles are a particularly useful type of honeypot: fake files deployed to
detect and infer information from malicious behaviour. This paper considers the
challenge of naming honeyfiles so they are camouflaged when placed amongst real
files in a file system. Based on cosine distances in semantic vector spaces, we
develop two metrics for filename camouflage: one based on simple averaging and
one on clustering with mixture fitting. We evaluate and compare the metrics,
showing that both perform well on a publicly available GitHub software
repository dataset. | cs.CR | Honeyfile Camouflage: Hiding Fake Files in Plain Sight |
2024-05-08T01:51:29Z | http://arxiv.org/pdf/2405.04756v1 | http://arxiv.org/abs/2405.04756v1 | Chu Fei Luo, Ahmad Ghawanmeh, Xiaodan Zhu, Faiza Khan Khattak | 2024-05-08T01:51:29Z | cs.CL, cs.LG | Modern large language models (LLMs) have a significant amount of world
knowledge, which enables strong performance in commonsense reasoning and
knowledge-intensive tasks when harnessed properly. The language model can also
learn social biases, which has a significant potential for societal harm. There
have been many mitigation strategies proposed for LLM safety, but it is unclear
how effective they are for eliminating social biases. In this work, we propose
a new methodology for attacking language models with knowledge graph augmented
generation. We refactor natural language stereotypes into a knowledge graph,
and use adversarial attacking strategies to induce biased responses from
several open- and closed-source language models. We find our method increases
bias in all models, even those trained with safety guardrails. This
demonstrates the need for further research in AI safety, and further work in
this new adversarial space. | cs.CL | BiasKG: Adversarial Knowledge Graphs to Induce Bias in Large Language Models |
2024-05-08T00:18:56Z | http://arxiv.org/pdf/2405.04726v1 | http://arxiv.org/abs/2405.04726v1 | Canaan Breiss, Alexis Ross, Amani Maina-Kilaas, Roger Levy, Jacob Andreas | 2024-05-08T00:18:56Z | cs.CL | We propose an interactive approach to language learning that utilizes
linguistic acceptability judgments from an informant (a competent language
user) to learn a grammar. Given a grammar formalism and a framework for
synthesizing data, our model iteratively selects or synthesizes a data-point
according to one of a range of information-theoretic policies, asks the
informant for a binary judgment, and updates its own parameters in preparation
for the next query. We demonstrate the effectiveness of our model in the domain
of phonotactics, the rules governing what kinds of sound-sequences are
acceptable in a language, and carry out two experiments, one with
typologically-natural linguistic data and another with a range of
procedurally-generated languages. We find that the information-theoretic
policies that our model uses to select items to query the informant achieve
sample efficiency comparable to, and sometimes greater than, fully supervised
approaches. | cs.CL | Learning Phonotactics from Linguistic Informants |
2024-05-07T21:58:45Z | http://arxiv.org/pdf/2405.04685v1 | http://arxiv.org/abs/2405.04685v1 | Emre Can Acikgoz, Mete Erdogan, Deniz Yuret | 2024-05-07T21:58:45Z | cs.CL, cs.AI, cs.LG | Large Language Models (LLMs) are becoming crucial across various fields,
emphasizing the urgency for high-quality models in underrepresented languages.
This study explores the unique challenges faced by low-resource languages, such
as data scarcity, model selection, evaluation, and computational limitations,
with a special focus on Turkish. We conduct an in-depth analysis to evaluate
the impact of training strategies, model choices, and data availability on the
performance of LLMs designed for underrepresented languages. Our approach
includes two methodologies: (i) adapting existing LLMs originally pretrained in
English to understand Turkish, and (ii) developing a model from the ground up
using Turkish pretraining data, both supplemented with supervised fine-tuning
on a novel Turkish instruction-tuning dataset aimed at enhancing reasoning
capabilities. The relative performance of these methods is evaluated through
the creation of a new leaderboard for Turkish LLMs, featuring benchmarks that
assess different reasoning and knowledge skills. Furthermore, we conducted
experiments on data and model scaling, both during pretraining and fine-tuning,
simultaneously emphasizing the capacity for knowledge transfer across languages
and addressing the challenges of catastrophic forgetting encountered during
fine-tuning on a different language. Our goal is to offer a detailed guide for
advancing the LLM framework in low-resource linguistic contexts, thereby making
natural language processing (NLP) benefits more globally accessible. | cs.CL | Bridging the Bosphorus: Advancing Turkish Large Language Models through Strategies for Low-Resource Language Adaptation and Benchmarking |
2024-05-07T21:03:51Z | http://arxiv.org/pdf/2405.04669v1 | http://arxiv.org/abs/2405.04669v1 | Hanlin Zhu, Baihe Huang, Shaolun Zhang, Michael Jordan, Jiantao Jiao, Yuandong Tian, Stuart Russell | 2024-05-07T21:03:51Z | cs.LG, cs.CL | Auto-regressive large language models (LLMs) show impressive capacities to
solve many complex reasoning tasks while struggling with some simple logical
reasoning tasks such as inverse search: when trained on ''A is B'', LLM fails
to directly conclude ''B is A'' during inference, which is known as the
''reversal curse'' (Berglund et al., 2023). In this paper, we theoretically
analyze the reversal curse via the training dynamics of (stochastic) gradient
descent for two auto-regressive models: (1) a bilinear model that can be viewed
as a simplification of a one-layer transformer; (2) one-layer transformers
using the framework of Tian et al. (2023a). Our analysis reveals a core reason
why the reversal curse happens: the (effective) weights of both auto-regressive
models show asymmetry, i.e., the increase of weights from a token $A$ to token
$B$ during training does not necessarily cause the increase of the weights from
$B$ to $A$. Moreover, our analysis can be naturally applied to other logical
reasoning tasks such as chain-of-thought (COT) (Wei et al., 2022b). We show the
necessity of COT, i.e., a model trained on ''$A \to B$'' and ''$B \to C$''
fails to directly conclude ''$A \to C$'' without COT (also empirically observed
by Allen-Zhu and Li (2023)), for one-layer transformers via training dynamics,
which provides a new perspective different from previous work (Feng et al.,
2024) that focuses on expressivity. Finally, we also conduct experiments to
validate our theory on multi-layer transformers under different settings. | cs.LG | Towards a Theoretical Understanding of the 'Reversal Curse' via Training Dynamics |
2024-05-07T20:28:34Z | http://arxiv.org/pdf/2405.04655v1 | http://arxiv.org/abs/2405.04655v1 | Siqi Shen, Lajanugen Logeswaran, Moontae Lee, Honglak Lee, Soujanya Poria, Rada Mihalcea | 2024-05-07T20:28:34Z | cs.CL | Large language models (LLMs) have demonstrated substantial commonsense
understanding through numerous benchmark evaluations. However, their
understanding of cultural commonsense remains largely unexamined. In this
paper, we conduct a comprehensive examination of the capabilities and
limitations of several state-of-the-art LLMs in the context of cultural
commonsense tasks. Using several general and cultural commonsense benchmarks,
we find that (1) LLMs have a significant discrepancy in performance when tested
on culture-specific commonsense knowledge for different cultures; (2) LLMs'
general commonsense capability is affected by cultural context; and (3) The
language used to query the LLMs can impact their performance on
cultural-related tasks. Our study points to the inherent bias in the cultural
understanding of LLMs and provides insights that can help develop culturally
aware language models. | cs.CL | Understanding the Capabilities and Limitations of Large Language Models for Cultural Commonsense |
2024-05-07T20:11:44Z | http://arxiv.org/pdf/2405.06694v1 | http://arxiv.org/abs/2405.06694v1 | Abhijit Bendale, Michael Sapienza, Steven Ripplinger, Simon Gibbs, Jaewon Lee, Pranav Mistry | 2024-05-07T20:11:44Z | cs.CL, cs.AI | In this paper, we introduce SUTRA, multilingual Large Language Model
architecture capable of understanding, reasoning, and generating text in over
50 languages. SUTRA's design uniquely decouples core conceptual understanding
from language-specific processing, which facilitates scalable and efficient
multilingual alignment and learning. Employing a Mixture of Experts framework
both in language and concept processing, SUTRA demonstrates both computational
efficiency and responsiveness. Through extensive evaluations, SUTRA is
demonstrated to surpass existing models like GPT-3.5, Llama2 by 20-30% on
leading Massive Multitask Language Understanding (MMLU) benchmarks for
multilingual tasks. SUTRA models are also online LLMs that can use knowledge
from the internet to provide hallucination-free, factual and up-to-date
responses while retaining their multilingual capabilities. Furthermore, we
explore the broader implications of its architecture for the future of
multilingual AI, highlighting its potential to democratize access to AI
technology globally and to improve the equity and utility of AI in regions with
predominantly non-English languages. Our findings suggest that SUTRA not only
fills pivotal gaps in multilingual model capabilities but also establishes a
new benchmark for operational efficiency and scalability in AI applications. | cs.CL | SUTRA: Scalable Multilingual Language Model Architecture |
2024-05-07T19:05:26Z | http://arxiv.org/pdf/2405.04620v2 | http://arxiv.org/abs/2405.04620v2 | Won-Gi Paeng, Daesuk Kwon | 2024-05-10T02:18:27Z | hep-ph, cs.AI, cs.CL, cs.LG, cs.NE | This short note is written for rapid communication of long context training
and to share the idea of how to train it with low memory usage. In the note, we
generalize the attention algorithm and neural network of Generative Pre-Trained
Transformers and reinterpret it in Path integral formalism. First, the role of
the transformer is understood as the time evolution of the token state and
second, it is suggested that the all key-token states in the same time as the
query-token can attend to the attention with the query token states. As a
result of the repetitive time evolution, it is discussed that the token states
in the past sequence meats the token states in the present sequence so that the
attention between separated sequences becomes possible for maintaining infinite
contextual information just by using low memory for limited size of sequence.
For the experiment, the $12$ input token window size was taken and one GPU with
$24$GB memory was used for the pre-training. It was confirmed that more than
$150$ length context is preserved. The sampling result of the training, the
code and the other details will be included in the revised version of this note
later. | hep-ph | Folded context condensation in Path Integral formalism for infinite context transformers |
2024-05-07T18:09:47Z | http://arxiv.org/pdf/2405.04590v1 | http://arxiv.org/abs/2405.04590v1 | Zhan Su, Yuqin Zhou, Fengran Mo, Jakob Grue Simonsen | 2024-05-07T18:09:47Z | cs.CL, cs.IR | We propose a novel tensor network language model based on the simplest tensor
network (i.e., tensor trains), called `Tensor Train Language Model' (TTLM).
TTLM represents sentences in an exponential space constructed by the tensor
product of words, but computing the probabilities of sentences in a
low-dimensional fashion. We demonstrate that the architectures of Second-order
RNNs, Recurrent Arithmetic Circuits (RACs), and Multiplicative Integration RNNs
are, essentially, special cases of TTLM. Experimental evaluations on real
language modeling tasks show that the proposed variants of TTLM (i.e.,
TTLM-Large and TTLM-Tiny) outperform the vanilla Recurrent Neural Networks
(RNNs) with low-scale of hidden units. (The code is available at
https://github.com/shuishen112/tensortrainlm.) | cs.CL | Language Modeling Using Tensor Trains |
2024-05-07T17:59:30Z | http://arxiv.org/pdf/2405.04532v2 | http://arxiv.org/abs/2405.04532v2 | Yujun Lin, Haotian Tang, Shang Yang, Zhekai Zhang, Guangxuan Xiao, Chuang Gan, Song Han | 2024-05-10T15:58:26Z | cs.CL, cs.AI, cs.LG, cs.PF | Quantization can accelerate large language model (LLM) inference. Going
beyond INT8 quantization, the research community is actively exploring even
lower precision, such as INT4. Nonetheless, state-of-the-art INT4 quantization
techniques only accelerate low-batch, edge LLM inference, failing to deliver
performance gains in large-batch, cloud-based LLM serving. We uncover a
critical issue: existing INT4 quantization methods suffer from significant
runtime overhead (20-90%) when dequantizing either weights or partial sums on
GPUs. To address this challenge, we introduce QoQ, a W4A8KV4 quantization
algorithm with 4-bit weight, 8-bit activation, and 4-bit KV cache. QoQ stands
for quattuor-octo-quattuor, which represents 4-8-4 in Latin. QoQ is implemented
by the QServe inference library that achieves measured speedup. The key insight
driving QServe is that the efficiency of LLM serving on GPUs is critically
influenced by operations on low-throughput CUDA cores. Building upon this
insight, in QoQ algorithm, we introduce progressive quantization that can allow
low dequantization overhead in W4A8 GEMM. Additionally, we develop
SmoothAttention to effectively mitigate the accuracy degradation incurred by
4-bit KV quantization. In the QServe system, we perform compute-aware weight
reordering and take advantage of register-level parallelism to reduce
dequantization latency. We also make fused attention memory-bound, harnessing
the performance gain brought by KV4 quantization. As a result, QServe improves
the maximum achievable serving throughput of Llama-3-8B by 1.2x on A100, 1.4x
on L40S; and Qwen1.5-72B by 2.4x on A100, 3.5x on L40S, compared to
TensorRT-LLM. Remarkably, QServe on L40S GPU can achieve even higher throughput
than TensorRT-LLM on A100. Thus, QServe effectively reduces the dollar cost of
LLM serving by 3x. Code is available at https://github.com/mit-han-lab/qserve. | cs.CL | QServe: W4A8KV4 Quantization and System Co-design for Efficient LLM Serving |
2024-05-07T17:52:51Z | http://arxiv.org/pdf/2405.04520v1 | http://arxiv.org/abs/2405.04520v1 | Shudan Zhang, Hanlin Zhao, Xiao Liu, Qinkai Zheng, Zehan Qi, Xiaotao Gu, Xiaohan Zhang, Yuxiao Dong, Jie Tang | 2024-05-07T17:52:51Z | cs.CL, cs.LG, cs.SE | Large language models (LLMs) have manifested strong ability to generate codes
for productive activities. However, current benchmarks for code synthesis, such
as HumanEval, MBPP, and DS-1000, are predominantly oriented towards
introductory tasks on algorithm and data science, insufficiently satisfying
challenging requirements prevalent in real-world coding. To fill this gap, we
propose NaturalCodeBench (NCB), a challenging code benchmark designed to mirror
the complexity and variety of scenarios in real coding tasks. NCB comprises 402
high-quality problems in Python and Java, meticulously selected from natural
user queries from online coding services, covering 6 different domains. Noting
the extraordinary difficulty in creating testing cases for real-world queries,
we also introduce a semi-automated pipeline to enhance the efficiency of test
case construction. Comparing with manual solutions, it achieves an efficiency
increase of more than 4 times. Our systematic experiments on 39 LLMs find that
performance gaps on NCB between models with close HumanEval scores could still
be significant, indicating a lack of focus on practical code synthesis
scenarios or over-specified optimization on HumanEval. On the other hand, even
the best-performing GPT-4 is still far from satisfying on NCB. The evaluation
toolkit and development set are available at
https://github.com/THUDM/NaturalCodeBench. | cs.CL | NaturalCodeBench: Examining Coding Performance Mismatch on HumanEval and Natural User Prompts |
2024-05-07T17:47:57Z | http://arxiv.org/pdf/2405.04515v2 | http://arxiv.org/abs/2405.04515v2 | Jiaoda Li, Jennifer C. White, Mrinmaya Sachan, Ryan Cotterell | 2024-05-13T18:56:18Z | cs.CL | Natural languages are believed to be (mildly) context-sensitive. Despite
underpinning remarkably capable large language models, transformers are unable
to model many context-free language tasks. In an attempt to address this
limitation in the modeling power of transformer-based language models, we
propose augmenting them with a differentiable, stack-based attention mechanism.
Our stack-based attention mechanism can be incorporated into any
transformer-based language model and adds a level of interpretability to the
model. We show that the addition of our stack-based attention mechanism enables
the transformer to model some, but not all, deterministic context-free
languages. | cs.CL | A Transformer with Stack Attention |
2024-05-07T17:46:36Z | http://arxiv.org/pdf/2405.06692v1 | http://arxiv.org/abs/2405.06692v1 | Ethan Parker Wong, Faten M'hiri | 2024-05-07T17:46:36Z | cs.CL | Inspired by the 'Bias Considerations in Bilingual Natural Language
Processing' report by Statistics Canada, this study delves into potential
biases in multilingual sentiment analysis between English and French. Given a
50-50 dataset of French and English, we aim to determine if there exists a
language bias and explore how the incorporation of more diverse datasets in the
future might affect the equity of multilingual Natural Language Processing
(NLP) systems. By employing Support Vector Machine (SVM) and Naive Bayes models
on three balanced datasets, we reveal potential biases in multilingual
sentiment classification. Utilizing Fairlearn, a tool for assessing bias in
machine learning models, our findings indicate nuanced outcomes. With French
data outperforming English across accuracy, recall, and F1 score metrics in
both models, hinting at a language bias favoring French. However, Fairlearn's
metrics suggest that the SVM approaches equitable levels with a demographic
parity ratio of 0.963, 0.989, and 0.985 for the three separate datasets,
indicating near-equitable treatment across languages. In contrast, Naive Bayes
demonstrates greater disparities, evidenced by a demographic parity ratio of
0.813, 0.908, and 0.961. These findings reveal the importance of developing
equitable multilingual NLP systems, particularly as we anticipate the inclusion
of more datasets in various languages in the future. | cs.CL | Analyzing Language Bias Between French and English in Conventional Multilingual Sentiment Analysis Models |
2024-05-07T17:44:54Z | http://arxiv.org/pdf/2405.04513v1 | http://arxiv.org/abs/2405.04513v1 | Shujian Zhang, Korawat Tanwisuth, Chengyue Gong, Pengcheng He, Mingyuan Zhou | 2024-05-07T17:44:54Z | cs.CL, cs.AI, cs.LG | Auto-regressive generation models achieve competitive performance across many
different NLP tasks such as summarization, question answering, and
classifications. However, they are also known for being slow in inference,
which makes them challenging to deploy in real-time applications. We propose a
switchable decision to accelerate inference by dynamically assigning
computation resources for each data instance. Automatically making decisions on
where to skip and how to balance quality and computation cost with constrained
optimization, our dynamic neural generation networks enforce the efficient
inference path and determine the optimized trade-off. Experiments across
question answering, summarization, and classification benchmarks show that our
method benefits from less computation cost during inference while keeping the
same accuracy. Extensive experiments and ablation studies demonstrate that our
method can be general, effective, and beneficial for many NLP tasks. | cs.CL | Switchable Decision: Dynamic Neural Generation Networks |
2024-05-07T17:05:27Z | http://arxiv.org/pdf/2405.04495v1 | http://arxiv.org/abs/2405.04495v1 | Alexis Ross, Jacob Andreas | 2024-05-07T17:05:27Z | cs.CL, cs.AI, cs.LG | When a teacher provides examples for a student to study, these examples must
be informative, enabling a student to progress from their current state toward
a target concept or skill. Good teachers must therefore simultaneously infer
what students already know and adapt their teaching to students' changing state
of knowledge. There is increasing interest in using computational models,
particularly large language models, as pedagogical tools. As students, language
models in particular have shown a remarkable ability to adapt to new tasks
given small numbers of examples. But how effectively can these models adapt as
teachers to students of different types? To study this question, we introduce a
suite of models and evaluation methods we call AdapT. AdapT has two components:
(1) a collection of simulated Bayesian student models that can be used for
evaluation of automated teaching methods; (2) a platform for evaluation with
human students, to characterize the real-world effectiveness of these methods.
We additionally introduce (3) AToM, a new probabilistic model for adaptive
teaching that jointly infers students' past beliefs and optimizes for the
correctness of future beliefs. In evaluations of simulated students across
three learning domains (fraction arithmetic, English morphology, function
learning), AToM systematically outperforms LLM-based and standard Bayesian
teaching models. In human experiments, both AToM and LLMs outperform
non-adaptive random example selection. Our results highlight both the
difficulty of the adaptive teaching task and the potential of learned adaptive
models for solving it. | cs.CL | Toward In-Context Teaching: Adapting Examples to Students' Misconceptions |
2024-05-07T15:57:39Z | http://arxiv.org/pdf/2405.04435v1 | http://arxiv.org/abs/2405.04435v1 | Richard Zhu | 2024-05-07T15:57:39Z | cs.CL, cs.DS | Exact nearest neighbor search is a computationally intensive process, and
even its simpler sibling -- vector retrieval -- can be computationally complex.
This is exacerbated when retrieving vectors which have high-dimension $d$
relative to the number of vectors, $N$, in the database. Exact nearest neighbor
retrieval has been generally acknowledged to be a $O(Nd)$ problem with no
sub-linear solutions. Attention has instead shifted towards Approximate
Nearest-Neighbor (ANN) retrieval techniques, many of which have sub-linear or
even logarithmic time complexities. However, if our intuition from binary
search problems (e.g. $d=1$ vector retrieval) carries, there ought to be a way
to retrieve an organized representation of vectors without brute-forcing our
way to a solution. For low dimension (e.g. $d=2$ or $d=3$ cases),
\texttt{kd-trees} provide a $O(d\log N)$ algorithm for retrieval. Unfortunately
the algorithm deteriorates rapidly to a $O(dN)$ solution at high dimensions
(e.g. $k=128$), in practice. We propose a novel algorithm for logarithmic Fast
Exact Retrieval for Nearest-neighbor lookup (FERN), inspired by
\texttt{kd-trees}. The algorithm achieves $O(d\log N)$ look-up with 100\%
recall on 10 million $d=128$ uniformly randomly generated
vectors.\footnote{Code available at https://github.com/RichardZhu123/ferns} | cs.CL | Fast Exact Retrieval for Nearest-neighbor Lookup (FERN) |
2024-05-07T15:56:43Z | http://arxiv.org/pdf/2405.04434v5 | http://arxiv.org/abs/2405.04434v5 | DeepSeek-AI, Aixin Liu, Bei Feng, Bin Wang, Bingxuan Wang, Bo Liu, Chenggang Zhao, Chengqi Dengr, Chong Ruan, Damai Dai, Daya Guo, Dejian Yang, Deli Chen, Dongjie Ji, Erhang Li, Fangyun Lin, Fuli Luo, Guangbo Hao, Guanting Chen, Guowei Li, H. Zhang, Hanwei Xu, Hao Yang, Haowei Zhang, Honghui Ding, Huajian Xin, Huazuo Gao, Hui Li, Hui Qu, J. L. Cai, Jian Liang, Jianzhong Guo, Jiaqi Ni, Jiashi Li, Jin Chen, Jingyang Yuan, Junjie Qiu, Junxiao Song, Kai Dong, Kaige Gao, Kang Guan, Lean Wang, Lecong Zhang, Lei Xu, Leyi Xia, Liang Zhao, Liyue Zhang, Meng Li, Miaojun Wang, Mingchuan Zhang, Minghua Zhang, Minghui Tang, Mingming Li, Ning Tian, Panpan Huang, Peiyi Wang, Peng Zhang, Qihao Zhu, Qinyu Chen, Qiushi Du, R. J. Chen, R. L. Jin, Ruiqi Ge, Ruizhe Pan, Runxin Xu, Ruyi Chen, S. S. Li, Shanghao Lu, Shangyan Zhou, Shanhuang Chen, Shaoqing Wu, Shengfeng Ye, Shirong Ma, Shiyu Wang, Shuang Zhou, Shuiping Yu, Shunfeng Zhou, Size Zheng, T. Wang, Tian Pei, Tian Yuan, Tianyu Sun, W. L. Xiao, Wangding Zeng, Wei An, Wen Liu, Wenfeng Liang, Wenjun Gao, Wentao Zhang, X. Q. Li, Xiangyue Jin, Xianzu Wang, Xiao Bi, Xiaodong Liu, Xiaohan Wang, Xiaojin Shen, Xiaokang Chen, Xiaosha Chen, Xiaotao Nie, Xiaowen Sun, Xiaoxiang Wang, Xin Liu, Xin Xie, Xingkai Yu, Xinnan Song, Xinyi Zhou, Xinyu Yang, Xuan Lu, Xuecheng Su, Y. Wu, Y. K. Li, Y. X. Wei, Y. X. Zhu, Yanhong Xu, Yanping Huang, Yao Li, Yao Zhao, Yaofeng Sun, Yaohui Li, Yaohui Wang, Yi Zheng, Yichao Zhang, Yiliang Xiong, Yilong Zhao, Ying He, Ying Tang, Yishi Piao, Yixin Dong, Yixuan Tan, Yiyuan Liu, Yongji Wang, Yongqiang Guo, Yuchen Zhu, Yuduan Wang, Yuheng Zou, Yukun Zha, Yunxian Ma, Yuting Yan, Yuxiang You, Yuxuan Liu, Z. Z. Ren, Zehui Ren, Zhangli Sha, Zhe Fu, Zhen Huang, Zhen Zhang, Zhenda Xie, Zhewen Hao, Zhihong Shao, Zhiniu Wen, Zhipeng Xu, Zhongyu Zhang, Zhuoshu Li, Zihan Wang, Zihui Gu, Zilin Li, Ziwei Xie | 2024-06-19T06:04:17Z | cs.CL, cs.AI | We present DeepSeek-V2, a strong Mixture-of-Experts (MoE) language model
characterized by economical training and efficient inference. It comprises 236B
total parameters, of which 21B are activated for each token, and supports a
context length of 128K tokens. DeepSeek-V2 adopts innovative architectures
including Multi-head Latent Attention (MLA) and DeepSeekMoE. MLA guarantees
efficient inference through significantly compressing the Key-Value (KV) cache
into a latent vector, while DeepSeekMoE enables training strong models at an
economical cost through sparse computation. Compared with DeepSeek 67B,
DeepSeek-V2 achieves significantly stronger performance, and meanwhile saves
42.5% of training costs, reduces the KV cache by 93.3%, and boosts the maximum
generation throughput to 5.76 times. We pretrain DeepSeek-V2 on a high-quality
and multi-source corpus consisting of 8.1T tokens, and further perform
Supervised Fine-Tuning (SFT) and Reinforcement Learning (RL) to fully unlock
its potential. Evaluation results show that, even with only 21B activated
parameters, DeepSeek-V2 and its chat versions still achieve top-tier
performance among open-source models. | cs.CL | DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Model |
2024-05-07T15:39:45Z | http://arxiv.org/pdf/2405.04412v2 | http://arxiv.org/abs/2405.04412v2 | Lena Armstrong, Abbey Liu, Stephen MacNeil, Danaë Metaxa | 2024-05-09T18:20:08Z | cs.CY, cs.CL | Large language models (LLMs) are increasingly being introduced in workplace
settings, with the goals of improving efficiency and fairness. However,
concerns have arisen regarding these models' potential to reflect or exacerbate
social biases and stereotypes. This study explores the potential impact of LLMs
on hiring practices. To do so, we conduct an algorithm audit of race and gender
biases in one commonly-used LLM, OpenAI's GPT-3.5, taking inspiration from the
history of traditional offline resume audits. We conduct two studies using
names with varied race and gender connotations: resume assessment (Study 1) and
resume generation (Study 2). In Study 1, we ask GPT to score resumes with 32
different names (4 names for each combination of the 2 gender and 4 racial
groups) and two anonymous options across 10 occupations and 3 evaluation tasks
(overall rating, willingness to interview, and hireability). We find that the
model reflects some biases based on stereotypes. In Study 2, we prompt GPT to
create resumes (10 for each name) for fictitious job candidates. When
generating resumes, GPT reveals underlying biases; women's resumes had
occupations with less experience, while Asian and Hispanic resumes had
immigrant markers, such as non-native English and non-U.S. education and work
experiences. Our findings contribute to a growing body of literature on LLM
biases, in particular when used in workplace contexts. | cs.CY | The Silicon Ceiling: Auditing GPT's Race and Gender Biases in Hiring |
2024-05-07T15:30:14Z | http://arxiv.org/pdf/2405.04404v1 | http://arxiv.org/abs/2405.04404v1 | Xiao Liu, Chenxu Zhang, Lei Zhang | 2024-05-07T15:30:14Z | cs.CV, cs.AI, cs.CL, cs.LG | State Space Model (SSM) is a mathematical model used to describe and analyze
the behavior of dynamic systems. This model has witnessed numerous applications
in several fields, including control theory, signal processing, economics and
machine learning. In the field of deep learning, state space models are used to
process sequence data, such as time series analysis, natural language
processing (NLP) and video understanding. By mapping sequence data to state
space, long-term dependencies in the data can be better captured. In
particular, modern SSMs have shown strong representational capabilities in NLP,
especially in long sequence modeling, while maintaining linear time complexity.
Notably, based on the latest state-space models, Mamba merges time-varying
parameters into SSMs and formulates a hardware-aware algorithm for efficient
training and inference. Given its impressive efficiency and strong long-range
dependency modeling capability, Mamba is expected to become a new AI
architecture that may outperform Transformer. Recently, a number of works have
attempted to study the potential of Mamba in various fields, such as general
vision, multi-modal, medical image analysis and remote sensing image analysis,
by extending Mamba from natural language domain to visual domain. To fully
understand Mamba in the visual domain, we conduct a comprehensive survey and
present a taxonomy study. This survey focuses on Mamba's application to a
variety of visual tasks and data types, and discusses its predecessors, recent
advances and far-reaching impact on a wide range of domains. Since Mamba is now
on an upward trend, please actively notice us if you have new findings, and new
progress on Mamba will be included in this survey in a timely manner and
updated on the Mamba project at
https://github.com/lx6c78/Vision-Mamba-A-Comprehensive-Survey-and-Taxonomy. | cs.CV | Vision Mamba: A Comprehensive Survey and Taxonomy |
2024-05-07T15:29:48Z | http://arxiv.org/pdf/2405.04403v1 | http://arxiv.org/abs/2405.04403v1 | Georgios Pantazopoulos, Amit Parekh, Malvina Nikandrou, Alessandro Suglia | 2024-05-07T15:29:48Z | cs.CV, cs.CL | Augmenting Large Language Models (LLMs) with image-understanding capabilities
has resulted in a boom of high-performing Vision-Language models (VLMs). While
studying the alignment of LLMs to human values has received widespread
attention, the safety of VLMs has not received the same attention. In this
paper, we explore the impact of jailbreaking on three state-of-the-art VLMs,
each using a distinct modeling approach. By comparing each VLM to their
respective LLM backbone, we find that each VLM is more susceptible to
jailbreaking. We consider this as an undesirable outcome from visual
instruction-tuning, which imposes a forgetting effect on an LLM's safety
guardrails. Therefore, we provide recommendations for future work based on
evaluation strategies that aim to highlight the weaknesses of a VLM, as well as
take safety measures into account during visual instruction tuning. | cs.CV | Learning To See But Forgetting To Follow: Visual Instruction Tuning Makes LLMs More Prone To Jailbreak Attacks |
2024-05-07T14:23:22Z | http://arxiv.org/pdf/2405.04346v1 | http://arxiv.org/abs/2405.04346v1 | Elias Abad Rocamora, Yongtao Wu, Fanghui Liu, Grigorios G. Chrysos, Volkan Cevher | 2024-05-07T14:23:22Z | cs.LG, cs.AI, cs.CL, stat.ML | Adversarial attacks in Natural Language Processing apply perturbations in the
character or token levels. Token-level attacks, gaining prominence for their
use of gradient-based methods, are susceptible to altering sentence semantics,
leading to invalid adversarial examples. While character-level attacks easily
maintain semantics, they have received less attention as they cannot easily
adopt popular gradient-based methods, and are thought to be easy to defend.
Challenging these beliefs, we introduce Charmer, an efficient query-based
adversarial attack capable of achieving high attack success rate (ASR) while
generating highly similar adversarial examples. Our method successfully targets
both small (BERT) and large (Llama 2) models. Specifically, on BERT with SST-2,
Charmer improves the ASR in 4.84% points and the USE similarity in 8% points
with respect to the previous art. Our implementation is available in
https://github.com/LIONS-EPFL/Charmer. | cs.LG | Revisiting character-level adversarial attacks |
2024-05-07T13:55:11Z | http://arxiv.org/pdf/2405.04325v1 | http://arxiv.org/abs/2405.04325v1 | Atharvan Dogra, Ameet Deshpande, John Nay, Tanmay Rajpurohit, Ashwin Kalyan, Balaraman Ravindran | 2024-05-07T13:55:11Z | cs.CL | Recent developments in large language models (LLMs), while offering a
powerful foundation for developing natural language agents, raise safety
concerns about them and the autonomous agents built upon them. Deception is one
potential capability of AI agents of particular concern, which we refer to as
an act or statement that misleads, hides the truth, or promotes a belief that
is not true in its entirety or in part. We move away from the conventional
understanding of deception through straight-out lying, making objective selfish
decisions, or giving false information, as seen in previous AI safety research.
We target a specific category of deception achieved through obfuscation and
equivocation. We broadly explain the two types of deception by analogizing them
with the rabbit-out-of-hat magic trick, where (i) the rabbit either comes out
of a hidden trap door or (ii) (our focus) the audience is completely distracted
to see the magician bring out the rabbit right in front of them using sleight
of hand or misdirection. Our novel testbed framework displays intrinsic
deception capabilities of LLM agents in a goal-driven environment when directed
to be deceptive in their natural language generations in a two-agent
adversarial dialogue system built upon the legislative task of "lobbying" for a
bill. Along the lines of a goal-driven environment, we show developing
deceptive capacity through a reinforcement learning setup, building it around
the theories of language philosophy and cognitive psychology. We find that the
lobbyist agent increases its deceptive capabilities by ~ 40% (relative) through
subsequent reinforcement trials of adversarial interactions, and our deception
detection mechanism shows a detection capability of up to 92%. Our results
highlight potential issues in agent-human interaction, with agents potentially
manipulating humans towards its programmed end-goal. | cs.CL | Deception in Reinforced Autonomous Agents: The Unconventional Rabbit Hat Trick in Legislation |
2024-05-07T13:50:40Z | http://arxiv.org/pdf/2405.04324v1 | http://arxiv.org/abs/2405.04324v1 | Mayank Mishra, Matt Stallone, Gaoyuan Zhang, Yikang Shen, Aditya Prasad, Adriana Meza Soria, Michele Merler, Parameswaran Selvam, Saptha Surendran, Shivdeep Singh, Manish Sethi, Xuan-Hong Dang, Pengyuan Li, Kun-Lung Wu, Syed Zawad, Andrew Coleman, Matthew White, Mark Lewis, Raju Pavuluri, Yan Koyfman, Boris Lublinsky, Maximilien de Bayser, Ibrahim Abdelaziz, Kinjal Basu, Mayank Agarwal, Yi Zhou, Chris Johnson, Aanchal Goyal, Hima Patel, Yousaf Shah, Petros Zerfos, Heiko Ludwig, Asim Munawar, Maxwell Crouse, Pavan Kapanipathi, Shweta Salaria, Bob Calio, Sophia Wen, Seetharami Seelam, Brian Belgodere, Carlos Fonseca, Amith Singhee, Nirmit Desai, David D. Cox, Ruchir Puri, Rameswar Panda | 2024-05-07T13:50:40Z | cs.AI, cs.CL, cs.SE | Large Language Models (LLMs) trained on code are revolutionizing the software
development process. Increasingly, code LLMs are being integrated into software
development environments to improve the productivity of human programmers, and
LLM-based agents are beginning to show promise for handling complex tasks
autonomously. Realizing the full potential of code LLMs requires a wide range
of capabilities, including code generation, fixing bugs, explaining and
documenting code, maintaining repositories, and more. In this work, we
introduce the Granite series of decoder-only code models for code generative
tasks, trained with code written in 116 programming languages. The Granite Code
models family consists of models ranging in size from 3 to 34 billion
parameters, suitable for applications ranging from complex application
modernization tasks to on-device memory-constrained use cases. Evaluation on a
comprehensive set of tasks demonstrates that Granite Code models consistently
reaches state-of-the-art performance among available open-source code LLMs. The
Granite Code model family was optimized for enterprise software development
workflows and performs well across a range of coding tasks (e.g. code
generation, fixing and explanation), making it a versatile all around code
model. We release all our Granite Code models under an Apache 2.0 license for
both research and commercial use. | cs.AI | Granite Code Models: A Family of Open Foundation Models for Code Intelligence |
2024-05-07T13:27:52Z | http://arxiv.org/pdf/2405.04304v4 | http://arxiv.org/abs/2405.04304v4 | Jonathan Mamou, Oren Pereg, Daniel Korat, Moshe Berchansky, Nadav Timor, Moshe Wasserblat, Roy Schwartz | 2024-06-23T13:46:23Z | cs.CL | Speculative decoding is commonly used for reducing the inference latency of
large language models. Its effectiveness depends highly on the speculation
lookahead (SL)-the number of tokens generated by the draft model at each
iteration. In this work we show that the common practice of using the same SL
for all iterations (static SL) is suboptimal. We introduce DISCO (DynamIc
SpeCulation lookahead Optimization), a novel method for dynamically selecting
the SL. Our experiments with four datasets show that DISCO reaches an average
speedup of 10% compared to the best static SL baseline, while generating the
exact same text. | cs.CL | Dynamic Speculation Lookahead Accelerates Speculative Decoding of Large Language Models |
2024-05-07T13:11:37Z | http://arxiv.org/pdf/2405.04296v1 | http://arxiv.org/abs/2405.04296v1 | Ryan Whetten, Titouan Parcollet, Marco Dinarelli, Yannick Estève | 2024-05-07T13:11:37Z | cs.CL, cs.LG | Self-Supervised Learning (SSL) has proven to be useful in various speech
tasks. However, these methods are generally very demanding in terms of data,
memory, and computational resources. BERT-based Speech pre-Training with
Random-projection Quantizer (BEST-RQ), is an SSL method that has shown great
performance on Automatic Speech Recognition (ASR) while being simpler than
other SSL methods, such as wav2vec 2.0. Despite BEST-RQ's great performance,
details are lacking in the original paper, such as the amount of GPU/TPU hours
used in pre-training, and there is no official easy-to-use open-source
implementation. Furthermore, BEST-RQ has not been evaluated on other downstream
tasks aside from ASR and speech translation. In this work, we describe a
re-implementation of a Random-projection quantizer and perform a preliminary
study with a comparison to wav2vec 2.0 on four downstream tasks. We discuss the
details and differences of our implementation. We show that a random projection
quantizer can achieve similar downstream performance as wav2vec 2.0 while
decreasing training time by over a factor of two. | cs.CL | Open Implementation and Study of BEST-RQ for Speech Processing |
2024-05-07T13:09:25Z | http://arxiv.org/pdf/2405.04292v1 | http://arxiv.org/abs/2405.04292v1 | Sayantan Pal, Souvik Das, Rohini K. Srihari | 2024-05-07T13:09:25Z | cs.CL, cs.AI | This study introduces 'clickbait spoiling', a novel technique designed to
detect, categorize, and generate spoilers as succinct text responses,
countering the curiosity induced by clickbait content. By leveraging a
multi-task learning framework, our model's generalization capabilities are
significantly enhanced, effectively addressing the pervasive issue of
clickbait. The crux of our research lies in generating appropriate spoilers, be
it a phrase, an extended passage, or multiple, depending on the spoiler type
required. Our methodology integrates two crucial techniques: a refined spoiler
categorization method and a modified version of the Question Answering (QA)
mechanism, incorporated within a multi-task learning paradigm for optimized
spoiler extraction from context. Notably, we have included fine-tuning methods
for models capable of handling longer sequences to accommodate the generation
of extended spoilers. This research highlights the potential of sophisticated
text processing techniques in tackling the omnipresent issue of clickbait,
promising an enhanced user experience in the digital realm. | cs.CL | Mitigating Clickbait: An Approach to Spoiler Generation Using Multitask Learning |
2024-05-07T12:57:01Z | http://arxiv.org/pdf/2405.04286v1 | http://arxiv.org/abs/2405.04286v1 | Junchao Wu, Runzhe Zhan, Derek F. Wong, Shu Yang, Xuebo Liu, Lidia S. Chao, Min Zhang | 2024-05-07T12:57:01Z | cs.CL | The efficacy of an large language model (LLM) generated text detector depends
substantially on the availability of sizable training data. White-box zero-shot
detectors, which require no such data, are nonetheless limited by the
accessibility of the source model of the LLM-generated text. In this paper, we
propose an simple but effective black-box zero-shot detection approach,
predicated on the observation that human-written texts typically contain more
grammatical errors than LLM-generated texts. This approach entails computing
the Grammar Error Correction Score (GECScore) for the given text to distinguish
between human-written and LLM-generated text. Extensive experimental results
show that our method outperforms current state-of-the-art (SOTA) zero-shot and
supervised methods, achieving an average AUROC of 98.7% and showing strong
robustness against paraphrase and adversarial perturbation attacks. | cs.CL | Who Wrote This? The Key to Zero-Shot LLM-Generated Text Detection Is GECScore |
2024-05-07T12:40:59Z | http://arxiv.org/pdf/2405.04271v1 | http://arxiv.org/abs/2405.04271v1 | Arne Rubehn, Jessica Nieder, Robert Forkel, Johann-Mattis List | 2024-05-07T12:40:59Z | cs.CL | When comparing speech sounds across languages, scholars often make use of
feature representations of individual sounds in order to determine fine-grained
sound similarities. Although binary feature systems for large numbers of speech
sounds have been proposed, large-scale computational applications often face
the challenges that the proposed feature systems -- even if they list features
for several thousand sounds -- only cover a smaller part of the numerous speech
sounds reflected in actual cross-linguistic data. In order to address the
problem of missing data for attested speech sounds, we propose a new approach
that can create binary feature vectors dynamically for all sounds that can be
represented in the the standardized version of the International Phonetic
Alphabet proposed by the Cross-Linguistic Transcription Systems (CLTS)
reference catalog. Since CLTS is actively used in large data collections,
covering more than 2,000 distinct language varieties, our procedure for the
generation of binary feature vectors provides immediate access to a very large
collection of multilingual wordlists. Testing our feature system in different
ways on different datasets proves that the system is not only useful to provide
a straightforward means to compare the similarity of speech sounds, but also
illustrates its potential to be used in future cross-linguistic machine
learning applications. | cs.CL | Generating Feature Vectors from Phonetic Transcriptions in Cross-Linguistic Data Formats |
2024-05-07T11:33:49Z | http://arxiv.org/pdf/2405.04219v1 | http://arxiv.org/abs/2405.04219v1 | Chen Qian, Jiahao Li, Yufan Dang, Wei Liu, YiFei Wang, Zihao Xie, Weize Chen, Cheng Yang, Yingli Zhang, Zhiyuan Liu, Maosong Sun | 2024-05-07T11:33:49Z | cs.CL, cs.AI, cs.MA, cs.SE | Autonomous agents powered by large language models (LLMs) show significant
potential for achieving high autonomy in various scenarios such as software
development. Recent research has shown that LLM agents can leverage past
experiences to reduce errors and enhance efficiency. However, the static
experience paradigm, reliant on a fixed collection of past experiences acquired
heuristically, lacks iterative refinement and thus hampers agents'
adaptability. In this paper, we introduce the Iterative Experience Refinement
framework, enabling LLM agents to refine experiences iteratively during task
execution. We propose two fundamental patterns: the successive pattern,
refining based on nearest experiences within a task batch, and the cumulative
pattern, acquiring experiences across all previous task batches. Augmented with
our heuristic experience elimination, the method prioritizes high-quality and
frequently-used experiences, effectively managing the experience space and
enhancing efficiency. Extensive experiments show that while the successive
pattern may yield superior results, the cumulative pattern provides more stable
performance. Moreover, experience elimination facilitates achieving better
performance using just 11.54% of a high-quality subset. | cs.CL | Iterative Experience Refinement of Software-Developing Agents |
2024-05-07T10:11:14Z | http://arxiv.org/pdf/2405.04170v1 | http://arxiv.org/abs/2405.04170v1 | Duygu Altinok | 2024-05-07T10:11:14Z | cs.CL | Large language models (LLMs) have garnered significant attention and
widespread usage due to their impressive performance in various tasks. However,
they are not without their own set of challenges, including issues such as
hallucinations, factual inconsistencies, and limitations in
numerical-quantitative reasoning. Evaluating LLMs in miscellaneous reasoning
tasks remains an active area of research. Prior to the breakthrough of LLMs,
Transformers had already proven successful in the medical domain, effectively
employed for various natural language understanding (NLU) tasks. Following this
trend, LLMs have also been trained and utilized in the medical domain, raising
concerns regarding factual accuracy, adherence to safety protocols, and
inherent limitations. In this paper, we focus on evaluating the natural
language inference capabilities of popular open-source and closed-source LLMs
using clinical trial reports as the dataset. We present the performance results
of each LLM and further analyze their performance on a development set,
particularly focusing on challenging instances that involve medical
abbreviations and require numerical-quantitative reasoning. Gemini, our leading
LLM, achieved a test set F1-score of 0.748, securing the ninth position on the
task scoreboard. Our work is the first of its kind, offering a thorough
examination of the inference capabilities of LLMs within the medical domain. | cs.CL | D-NLP at SemEval-2024 Task 2: Evaluating Clinical Inference Capabilities of Large Language Models |
2024-05-07T10:03:19Z | http://arxiv.org/pdf/2405.04165v1 | http://arxiv.org/abs/2405.04165v1 | Jasraj Singh, Fang Liu, Hong Xu, Bee Chin Ng, Wei Zhang | 2024-05-07T10:03:19Z | cs.CL | Nowadays, Information spreads at an unprecedented pace in social media and
discerning truth from misinformation and fake news has become an acute societal
challenge. Machine learning (ML) models have been employed to identify fake
news but are far from perfect with challenging problems like limited accuracy,
interpretability, and generalizability. In this paper, we enhance ML-based
solutions with linguistics input and we propose LingML, linguistic-informed ML,
for fake news detection. We conducted an experimental study with a popular
dataset on fake news during the pandemic. The experiment results show that our
proposed solution is highly effective. There are fewer than two errors out of
every ten attempts with only linguistic input used in ML and the knowledge is
highly explainable. When linguistics input is integrated with advanced
large-scale ML models for natural language processing, our solution outperforms
existing ones with 1.8% average error rate. LingML creates a new path with
linguistics to push the frontier of effective and efficient fake news
detection. It also sheds light on real-world multi-disciplinary applications
requiring both ML and domain expertise to achieve optimal performance. | cs.CL | LingML: Linguistic-Informed Machine Learning for Enhanced Fake News Detection |
2024-05-07T10:00:00Z | http://arxiv.org/pdf/2405.04163v1 | http://arxiv.org/abs/2405.04163v1 | Gunjan Balde, Soumyadeep Roy, Mainack Mondal, Niloy Ganguly | 2024-05-07T10:00:00Z | cs.CL | This work presents a dynamic vocabulary adaptation strategy, MEDVOC, for
fine-tuning pre-trained language models (PLMs) like BertSumAbs, BART, and
PEGASUS for improved medical text summarization. In contrast to existing domain
adaptation approaches in summarization, MEDVOC treats vocabulary as an
optimizable parameter and optimizes the PLM vocabulary based on fragment score
conditioned only on the downstream task's reference summaries. Unlike previous
works on vocabulary adaptation (limited only to classification tasks),
optimizing vocabulary based on summarization tasks requires an extremely costly
intermediate fine-tuning step on large summarization datasets. To that end, our
novel fragment score-based hyperparameter search very significantly reduces
this fine-tuning time -- from 450 days to less than 2 days on average.
Furthermore, while previous works on vocabulary adaptation are often primarily
tied to single PLMs, MEDVOC is designed to be deployable across multiple PLMs
(with varying model vocabulary sizes, pre-training objectives, and model sizes)
-- bridging the limited vocabulary overlap between the biomedical literature
domain and PLMs. MEDVOC outperforms baselines by 15.74% in terms of Rouge-L in
zero-shot setting and shows gains of 17.29% in high Out-Of-Vocabulary (OOV)
concentrations. Our human evaluation shows MEDVOC generates more faithful
medical summaries (88% compared to 59% in baselines). We make the codebase
publicly available at https://github.com/gb-kgp/MEDVOC. | cs.CL | MEDVOC: Vocabulary Adaptation for Fine-tuning Pre-trained Language Models on Medical Text Summarization |
2024-05-07T09:55:05Z | http://arxiv.org/pdf/2405.04160v1 | http://arxiv.org/abs/2405.04160v1 | Zhixuan Chu, Yan Wang, Longfei Li, Zhibo Wang, Zhan Qin, Kui Ren | 2024-05-07T09:55:05Z | cs.CL | Large Language Models (LLMs) have shown impressive performance in natural
language tasks, but their outputs can exhibit undesirable attributes or biases.
Existing methods for steering LLMs towards desired attributes often assume
unbiased representations and rely solely on steering prompts. However, the
representations learned from pre-training can introduce semantic biases that
influence the steering process, leading to suboptimal results. We propose
LLMGuardaril, a novel framework that incorporates causal analysis and
adversarial learning to obtain unbiased steering representations in LLMs.
LLMGuardaril systematically identifies and blocks the confounding effects of
biases, enabling the extraction of unbiased steering representations.
Additionally, it includes an explainable component that provides insights into
the alignment between the generated output and the desired direction.
Experiments demonstrate LLMGuardaril's effectiveness in steering LLMs towards
desired attributes while mitigating biases. Our work contributes to the
development of safe and reliable LLMs that align with desired attributes. We
discuss the limitations and future research directions, highlighting the need
for ongoing research to address the ethical implications of large language
models. | cs.CL | A Causal Explainable Guardrails for Large Language Models |
2024-05-07T09:36:23Z | http://arxiv.org/pdf/2405.06691v1 | http://arxiv.org/abs/2405.06691v1 | Akhil Arora, Lars Klein, Nearchos Potamitis, Roland Aydin, Caglar Gulcehre, Robert West | 2024-05-07T09:36:23Z | cs.CL, cs.AI, cs.LG, cs.NE | Large language models (LLMs) have significantly evolved, moving from simple
output generation to complex reasoning and from stand-alone usage to being
embedded into broader frameworks. In this paper, we introduce \emph{Fleet of
Agents (FoA)}, a novel framework utilizing LLMs as agents to navigate through
dynamic tree searches, employing a genetic-type particle filtering approach.
FoA spawns a multitude of agents, each exploring autonomously, followed by a
selection phase where resampling based on a heuristic value function optimizes
the balance between exploration and exploitation. This mechanism enables
dynamic branching, adapting the exploration strategy based on discovered
solutions. We experimentally validate FoA using two benchmark tasks, "Game of
24" and "Mini-Crosswords". FoA outperforms the previously proposed
Tree-of-Thoughts method in terms of efficacy and efficiency: it significantly
decreases computational costs (by calling the value function less frequently)
while preserving comparable or even superior accuracy. | cs.CL | Fleet of Agents: Coordinated Problem Solving with Large Language Models using Genetic Particle Filtering |
2024-05-07T09:18:13Z | http://arxiv.org/pdf/2405.06690v1 | http://arxiv.org/abs/2405.06690v1 | Xianggen Liu, Yan Guo, Haoran Li, Jin Liu, Shudong Huang, Bowen Ke, Jiancheng Lv | 2024-05-07T09:18:13Z | q-bio.BM, cs.CL, cs.LG | Large Language Models (LLMs) have made great strides in areas such as
language processing and computer vision. Despite the emergence of diverse
techniques to improve few-shot learning capacity, current LLMs fall short in
handling the languages in biology and chemistry. For example, they are
struggling to capture the relationship between molecule structure and
pharmacochemical properties. Consequently, the few-shot learning capacity of
small-molecule drug modification remains impeded. In this work, we introduced
DrugLLM, a LLM tailored for drug design. During the training process, we
employed Group-based Molecular Representation (GMR) to represent molecules,
arranging them in sequences that reflect modifications aimed at enhancing
specific molecular properties. DrugLLM learns how to modify molecules in drug
discovery by predicting the next molecule based on past modifications.
Extensive computational experiments demonstrate that DrugLLM can generate new
molecules with expected properties based on limited examples, presenting a
powerful few-shot molecule generation capacity. | q-bio.BM | DrugLLM: Open Large Language Model for Few-shot Molecule Generation |
2024-05-07T09:05:20Z | http://arxiv.org/pdf/2405.04136v1 | http://arxiv.org/abs/2405.04136v1 | Benjamin Wolff, Eva Seidlmayer, Konrad U. Förstner | 2024-05-07T09:05:20Z | cs.AI, cs.CL | With the rapid expansion of academic literature and the proliferation of
preprints, researchers face growing challenges in manually organizing and
labeling large volumes of articles. The NSLP 2024 FoRC Shared Task I addresses
this challenge organized as a competition. The goal is to develop a classifier
capable of predicting one of 123 predefined classes from the Open Research
Knowledge Graph (ORKG) taxonomy of research fields for a given article.This
paper presents our results. Initially, we enrich the dataset (containing
English scholarly articles sourced from ORKG and arXiv), then leverage
different pre-trained language Models (PLMs), specifically BERT, and explore
their efficacy in transfer learning for this downstream task. Our experiments
encompass feature-based and fine-tuned transfer learning approaches using
diverse PLMs, optimized for scientific tasks, including SciBERT, SciNCL, and
SPECTER2. We conduct hyperparameter tuning and investigate the impact of data
augmentation from bibliographic databases such as OpenAlex, Semantic Scholar,
and Crossref. Our results demonstrate that fine-tuning pre-trained models
substantially enhances classification performance, with SPECTER2 emerging as
the most accurate model. Moreover, enriching the dataset with additional
metadata improves classification outcomes significantly, especially when
integrating information from S2AG, OpenAlex and Crossref. Our best-performing
approach achieves a weighted F1-score of 0.7415. Overall, our study contributes
to the advancement of reliable automated systems for scholarly publication
categorization, offering a potential solution to the laborious manual curation
process, thereby facilitating researchers in efficiently locating relevant
resources. | cs.AI | Enriched BERT Embeddings for Scholarly Publication Classification |
2024-05-07T08:53:25Z | http://arxiv.org/pdf/2405.04128v1 | http://arxiv.org/abs/2405.04128v1 | Zhonglong Chen, Changwei Song, Yining Chen, Jianqiang Li, Guanghui Fu, Yongsheng Tong, Qing Zhao | 2024-05-07T08:53:25Z | cs.CL, cs.SD, eess.AS | Suicide and suicidal behaviors remain significant challenges for public
policy and healthcare. In response, psychological support hotlines have been
established worldwide to provide immediate help to individuals in mental
crises. The effectiveness of these hotlines largely depends on accurately
identifying callers' emotional states, particularly underlying negative
emotions indicative of increased suicide risk. However, the high demand for
psychological interventions often results in a shortage of professional
operators, highlighting the need for an effective speech emotion recognition
model. This model would automatically detect and analyze callers' emotions,
facilitating integration into hotline services. Additionally, it would enable
large-scale data analysis of psychological support hotline interactions to
explore psychological phenomena and behaviors across populations. Our study
utilizes data from the Beijing psychological support hotline, the largest
suicide hotline in China. We analyzed speech data from 105 callers containing
20,630 segments and categorized them into 11 types of negative emotions. We
developed a negative emotion recognition model and a fine-grained multi-label
classification model using a large-scale pre-trained model. Our experiments
indicate that the negative emotion recognition model achieves a maximum
F1-score of 76.96%. However, it shows limited efficacy in the fine-grained
multi-label classification task, with the best model achieving only a 41.74%
weighted F1-score. We conducted an error analysis for this task, discussed
potential future improvements, and considered the clinical application
possibilities of our study. All the codes are public available. | cs.CL | Fine-grained Speech Sentiment Analysis in Chinese Psychological Support Hotlines Based on Large-scale Pre-trained Model |
2024-05-07T08:40:21Z | http://arxiv.org/pdf/2405.04118v1 | http://arxiv.org/abs/2405.04118v1 | Megha Srivastava, Cedric Colas, Dorsa Sadigh, Jacob Andreas | 2024-05-07T08:40:21Z | cs.LG, cs.AI, cs.CL | Modern AI systems such as self-driving cars and game-playing agents achieve
superhuman performance, but often lack human-like features such as
generalization, interpretability and human inter-operability. Inspired by the
rich interactions between language and decision-making in humans, we introduce
Policy Learning with a Language Bottleneck (PLLB), a framework enabling AI
agents to generate linguistic rules that capture the strategies underlying
their most rewarding behaviors. PLLB alternates between a rule generation step
guided by language models, and an update step where agents learn new policies
guided by rules. In a two-player communication game, a maze solving task, and
two image reconstruction tasks, we show that PLLB agents are not only able to
learn more interpretable and generalizable behaviors, but can also share the
learned rules with human users, enabling more effective human-AI coordination. | cs.LG | Policy Learning with a Language Bottleneck |
2024-05-07T07:39:15Z | http://arxiv.org/pdf/2405.04086v1 | http://arxiv.org/abs/2405.04086v1 | Yongqi Tong, Sizhe Wang, Dawei Li, Yifan Wang, Simeng Han, Zi Lin, Chengsong Huang, Jiaxin Huang, Jingbo Shang | 2024-05-07T07:39:15Z | cs.CL | While Large Language Models (LLMs) have demonstrated proficiency in handling
complex queries, much of the past work has depended on extensively annotated
datasets by human experts. However, this reliance on fully-supervised
annotations poses scalability challenges, particularly as models and data
requirements grow. To mitigate this, we explore the potential of enhancing
LLMs' reasoning abilities with minimal human supervision. In this work, we
introduce self-reinforcement, which begins with Supervised Fine-Tuning (SFT) of
the model using a small collection of annotated questions. Then it iteratively
improves LLMs by learning from the differences in responses from the SFT and
unfinetuned models on unlabeled questions. Our approach provides an efficient
approach without relying heavily on extensive human-annotated explanations.
However, current reasoning benchmarks typically only include golden-reference
answers or rationales. Therefore, we present \textsc{PuzzleBen}, a weakly
supervised benchmark that comprises 25,147 complex questions, answers, and
human-generated rationales across various domains, such as brainteasers,
puzzles, riddles, parajumbles, and critical reasoning tasks. A unique aspect of
our dataset is the inclusion of 10,000 unannotated questions, enabling us to
explore utilizing fewer supersized data to boost LLMs' inference capabilities.
Our experiments underscore the significance of \textsc{PuzzleBen}, as well as
the effectiveness of our methodology as a promising direction in future
endeavors. Our dataset and code will be published soon on \texttt{Anonymity
Link}. | cs.CL | Optimizing Language Model's Reasoning Abilities with Weak Supervision |
2024-05-07T07:14:38Z | http://arxiv.org/pdf/2405.04065v3 | http://arxiv.org/abs/2405.04065v3 | Runheng Liu, Xingchen Xiao, Heyan Huang, Zewen Chi, Zhijing Wu | 2024-05-16T12:04:30Z | cs.CL | Retrieval-Augmented Language Modeling (RALM) by integrating large language
models (LLM) with relevant documents from an external corpus is a proven method
for enabling the LLM to generate information beyond the scope of its
pre-training corpus. Previous work utilizing retrieved content by simply
prepending it to the input poses a high runtime issue, which degrades the
inference efficiency of the LLMs because they fail to use the Key-Value (KV)
cache efficiently. In this paper, we propose FlashBack, a modular RALM designed
to improve the inference efficiency of RALM with appending context pattern
while maintaining decent performance after fine-tuning by Low-Rank Adaption.
FlashBack appends retrieved documents at the end of the context for efficiently
utilizing the KV cache instead of prepending them. And we introduce Marking
Token as two special prompt tokens for marking the boundary of the appending
context during fine-tuning. Our experiments on testing generation quality show
that FlashBack can remain decent generation quality in perplexity. And the
inference speed of FlashBack is up to $4\times$ faster than the prepending
counterpart on a 7B LLM (Llama 2) in the runtime test. Via bypassing
unnecessary re-computation, it demonstrates an advancement by achieving
significantly faster inference speed, and this heightened efficiency will
substantially reduce inferential cost. | cs.CL | FlashBack:Efficient Retrieval-Augmented Language Modeling for Long Context Inference |
2024-05-07T06:52:34Z | http://arxiv.org/pdf/2405.04053v1 | http://arxiv.org/abs/2405.04053v1 | Hassan Shakil, Atqiya Munawara Mahi, Phuoc Nguyen, Zeydy Ortiz, Mamoun T. Mardini | 2024-05-07T06:52:34Z | cs.CL, cs.AI, cs.LG | This research examines the effectiveness of OpenAI's GPT models as
independent evaluators of text summaries generated by six transformer-based
models from Hugging Face: DistilBART, BERT, ProphetNet, T5, BART, and PEGASUS.
We evaluated these summaries based on essential properties of high-quality
summary - conciseness, relevance, coherence, and readability - using
traditional metrics such as ROUGE and Latent Semantic Analysis (LSA). Uniquely,
we also employed GPT not as a summarizer but as an evaluator, allowing it to
independently assess summary quality without predefined metrics. Our analysis
revealed significant correlations between GPT evaluations and traditional
metrics, particularly in assessing relevance and coherence. The results
demonstrate GPT's potential as a robust tool for evaluating text summaries,
offering insights that complement established metrics and providing a basis for
comparative analysis of transformer-based models in natural language processing
tasks. | cs.CL | Evaluating Text Summaries Generated by Large Language Models Using OpenAI's GPT |
2024-05-07T06:39:47Z | http://arxiv.org/pdf/2405.04048v1 | http://arxiv.org/abs/2405.04048v1 | Raphaël Millière | 2024-05-07T06:39:47Z | cs.CL | Deep learning has enabled major advances across most areas of artificial
intelligence research. This remarkable progress extends beyond mere engineering
achievements and holds significant relevance for the philosophy of cognitive
science. Deep neural networks have made significant strides in overcoming the
limitations of older connectionist models that once occupied the centre stage
of philosophical debates about cognition. This development is directly relevant
to long-standing theoretical debates in the philosophy of cognitive science.
Furthermore, ongoing methodological challenges related to the comparative
evaluation of deep neural networks stand to benefit greatly from
interdisciplinary collaboration with philosophy and cognitive science. The time
is ripe for philosophers to explore foundational issues related to deep
learning and cognition; this perspective paper surveys key areas where their
contributions can be especially fruitful. | cs.CL | Philosophy of Cognitive Science in the Age of Deep Learning |
2024-05-07T06:23:02Z | http://arxiv.org/pdf/2405.04039v1 | http://arxiv.org/abs/2405.04039v1 | Hassan Shakil, Zeydy Ortiz, Grant C. Forbes | 2024-05-07T06:23:02Z | cs.CL, cs.AI, cs.LG | In this research, we uses the DistilBERT model to generate extractive summary
and the T5 model to generate abstractive summaries. Also, we generate hybrid
summaries by combining both DistilBERT and T5 models. Central to our research
is the implementation of GPT-based refining process to minimize the common
problem of hallucinations that happens in AI-generated summaries. We evaluate
unrefined summaries and, after refining, we also assess refined summaries using
a range of traditional and novel metrics, demonstrating marked improvements in
the accuracy and reliability of the summaries. Results highlight significant
improvements in reducing hallucinatory content, thereby increasing the factual
integrity of the summaries. | cs.CL | Utilizing GPT to Enhance Text Summarization: A Strategy to Minimize Hallucinations |
2024-05-07T04:21:07Z | http://arxiv.org/pdf/2405.03998v2 | http://arxiv.org/abs/2405.03998v2 | Chen Zhu-Tian, Zeyu Xiong, Xiaoshuo Yao, Elena Glassman | 2024-05-10T22:11:24Z | cs.HC, cs.CL | Crafting effective prompts for code generation or editing with Large Language
Models (LLMs) is not an easy task. Particularly, the absence of immediate,
stable feedback during prompt crafting hinders effective interaction, as users
are left to mentally imagine possible outcomes until the code is generated. In
response, we introduce Language-Oriented Code Sketching, an interactive
approach that provides instant, incremental feedback in the form of code
sketches (i.e., incomplete code outlines) during prompt crafting. This approach
converts a prompt into a code sketch by leveraging the inherent linguistic
structures within the prompt and applying classic natural language processing
techniques. The sketch then serves as an intermediate placeholder that not only
previews the intended code structure but also guides the LLM towards the
desired code, thereby enhancing human-LLM interaction. We conclude by
discussing the approach's applicability and future plans. | cs.HC | Sketch Then Generate: Providing Incremental User Feedback and Guiding LLM Code Generation through Language-Oriented Code Sketches |
2024-05-07T02:46:11Z | http://arxiv.org/pdf/2405.03960v1 | http://arxiv.org/abs/2405.03960v1 | Xupeng Zha, Huan Zhao, Zixing Zhang | 2024-05-07T02:46:11Z | cs.CL | Conversational Emotion Recognition (CER) aims to predict the emotion
expressed by an utterance (referred to as an ``event'') during a conversation.
Existing graph-based methods mainly focus on event interactions to comprehend
the conversational context, while overlooking the direct influence of the
speaker's emotional state on the events. In addition, real-time modeling of the
conversation is crucial for real-world applications but is rarely considered.
Toward this end, we propose a novel graph-based approach, namely Event-State
Interactions infused Heterogeneous Graph Neural Network (ESIHGNN), which
incorporates the speaker's emotional state and constructs a heterogeneous
event-state interaction graph to model the conversation. Specifically, a
heterogeneous directed acyclic graph neural network is employed to dynamically
update and enhance the representations of events and emotional states at each
turn, thereby improving conversational coherence and consistency. Furthermore,
to further improve the performance of CER, we enrich the graph's edges with
external knowledge. Experimental results on four publicly available CER
datasets show the superiority of our approach and the effectiveness of the
introduced heterogeneous event-state interaction graph. | cs.CL | ESIHGNN: Event-State Interactions Infused Heterogeneous Graph Neural Network for Conversational Emotion Recognition |
2024-05-07T02:19:16Z | http://arxiv.org/pdf/2405.03952v1 | http://arxiv.org/abs/2405.03952v1 | Zhongren Dong, Zixing Zhang, Weixiang Xu, Jing Han, Jianjun Ou, Björn W. Schuller | 2024-05-07T02:19:16Z | cs.SD, cs.CL, eess.AS | Automatically detecting Alzheimer's Disease (AD) from spontaneous speech
plays an important role in its early diagnosis. Recent approaches highly rely
on the Transformer architectures due to its efficiency in modelling long-range
context dependencies. However, the quadratic increase in computational
complexity associated with self-attention and the length of audio poses a
challenge when deploying such models on edge devices. In this context, we
construct a novel framework, namely Hierarchical Attention-Free Transformer
(HAFFormer), to better deal with long speech for AD detection. Specifically, we
employ an attention-free module of Multi-Scale Depthwise Convolution to replace
the self-attention and thus avoid the expensive computation, and a GELU-based
Gated Linear Unit to replace the feedforward layer, aiming to automatically
filter out the redundant information. Moreover, we design a hierarchical
structure to force it to learn a variety of information grains, from the frame
level to the dialogue level. By conducting extensive experiments on the
ADReSS-M dataset, the introduced HAFFormer can achieve competitive results
(82.6% accuracy) with other recent work, but with significant computational
complexity and model size reduction compared to the standard Transformer. This
shows the efficiency of HAFFormer in dealing with long audio for AD detection. | cs.SD | HAFFormer: A Hierarchical Attention-Free Framework for Alzheimer's Disease Detection From Spontaneous Speech |
2024-05-07T01:56:22Z | http://arxiv.org/pdf/2405.03939v1 | http://arxiv.org/abs/2405.03939v1 | Wenhao Wu, Yizhong Wang, Yao Fu, Xiang Yue, Dawei Zhu, Sujian Li | 2024-05-07T01:56:22Z | cs.CL | Effectively handling instructions with extremely long context remains a
challenge for Large Language Models (LLMs), typically necessitating
high-quality long data and substantial computational resources. This paper
introduces Step-Skipping Alignment (SkipAlign), a new technique designed to
enhance the long-context capabilities of LLMs in the phase of alignment without
the need for additional efforts beyond training with original data length.
SkipAlign is developed on the premise that long-range dependencies are
fundamental to enhancing an LLM's capacity of long context. Departing from
merely expanding the length of input samples, SkipAlign synthesizes long-range
dependencies from the aspect of positions indices. This is achieved by the
strategic insertion of skipped positions within instruction-following samples,
which utilizes the semantic structure of the data to effectively expand the
context. Through extensive experiments on base models with a variety of context
window sizes, SkipAlign demonstrates its effectiveness across a spectrum of
long-context tasks. Particularly noteworthy is that with a careful selection of
the base model and alignment datasets, SkipAlign with only 6B parameters
achieves it's best performance and comparable with strong baselines like
GPT-3.5-Turbo-16K on LongBench. | cs.CL | Long Context Alignment with Short Instructions and Synthesized Positions |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.