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-02-19T21:38:02Z | http://arxiv.org/pdf/2402.12563v3 | http://arxiv.org/abs/2402.12563v3 | Loka Li, Zhenhao Chen, Guangyi Chen, Yixuan Zhang, Yusheng Su, Eric Xing, Kun Zhang | 2024-05-13T11:01:17Z | cs.CL, cs.AI | The recent success of Large Language Models (LLMs) has catalyzed an
increasing interest in their self-correction capabilities. This paper presents
a comprehensive investigation into the intrinsic self-correction of LLMs,
attempting to address the ongoing debate about its feasibility. Our research
has identified an important latent factor - the "confidence" of LLMs - during
the self-correction process. Overlooking this factor may cause the models to
over-criticize themselves, resulting in unreliable conclusions regarding the
efficacy of self-correction. We have experimentally observed that LLMs possess
the capability to understand the "confidence" in their own responses. It
motivates us to develop an "If-or-Else" (IoE) prompting framework, designed to
guide LLMs in assessing their own "confidence", facilitating intrinsic
self-corrections. We conduct extensive experiments and demonstrate that our
IoE-based Prompt can achieve a consistent improvement regarding the accuracy of
self-corrected responses over the initial answers. Our study not only sheds
light on the underlying factors affecting self-correction in LLMs, but also
introduces a practical framework that utilizes the IoE prompting principle to
efficiently improve self-correction capabilities with "confidence". The code is
available at https://github.com/MBZUAI-CLeaR/IoE-Prompting.git. | cs.CL | Confidence Matters: Revisiting Intrinsic Self-Correction Capabilities of Large Language Models |
2024-02-19T21:35:56Z | http://arxiv.org/pdf/2402.12560v1 | http://arxiv.org/abs/2402.12560v1 | Aryaman Arora, Dan Jurafsky, Christopher Potts | 2024-02-19T21:35:56Z | cs.CL, cs.AI, I.2.7 | Language models (LMs) have proven to be powerful tools for psycholinguistic
research, but most prior work has focused on purely behavioural measures (e.g.,
surprisal comparisons). At the same time, research in model interpretability
has begun to illuminate the abstract causal mechanisms shaping LM behavior. To
help bring these strands of research closer together, we introduce CausalGym.
We adapt and expand the SyntaxGym suite of tasks to benchmark the ability of
interpretability methods to causally affect model behaviour. To illustrate how
CausalGym can be used, we study the pythia models (14M--6.9B) and assess the
causal efficacy of a wide range of interpretability methods, including linear
probing and distributed alignment search (DAS). We find that DAS outperforms
the other methods, and so we use it to study the learning trajectory of two
difficult linguistic phenomena in pythia-1b: negative polarity item licensing
and filler--gap dependencies. Our analysis shows that the mechanism
implementing both of these tasks is learned in discrete stages, not gradually. | cs.CL | CausalGym: Benchmarking causal interpretability methods on linguistic tasks |
2024-02-19T21:32:19Z | http://arxiv.org/pdf/2402.12557v1 | http://arxiv.org/abs/2402.12557v1 | Michael Gunn, Dohyun Park, Nidhish Kamath | 2024-02-19T21:32:19Z | cs.CL | In this study, we investigate the potential of GPT-4 and its advanced
iteration, GPT-4 Turbo, in autonomously developing a detailed entity type
taxonomy. Our objective is to construct a comprehensive taxonomy, starting from
a broad classification of entity types - including objects, time, locations,
organizations, events, actions, and subjects - similar to existing manually
curated taxonomies. This classification is then progressively refined through
iterative prompting techniques, leveraging GPT-4's internal knowledge base. The
result is an extensive taxonomy comprising over 5000 nuanced entity types,
which demonstrates remarkable quality upon subjective evaluation.
We employed a straightforward yet effective prompting strategy, enabling the
taxonomy to be dynamically expanded. The practical applications of this
detailed taxonomy are diverse and significant. It facilitates the creation of
new, more intricate branches through pattern-based combinations and notably
enhances information extraction tasks, such as relation extraction and event
argument extraction. Our methodology not only introduces an innovative approach
to taxonomy creation but also opens new avenues for applying such taxonomies in
various computational linguistics and AI-related fields. | cs.CL | Creating a Fine Grained Entity Type Taxonomy Using LLMs |
2024-02-19T21:31:11Z | http://arxiv.org/pdf/2402.12556v1 | http://arxiv.org/abs/2402.12556v1 | Inna Wanyin Lin, Ashish Sharma, Christopher Michael Rytting, Adam S. Miner, Jina Suh, Tim Althoff | 2024-02-19T21:31:11Z | cs.HC, cs.CL | Navigating certain communication situations can be challenging due to
individuals' lack of skills and the interference of strong emotions. However,
effective learning opportunities are rarely accessible. In this work, we
conduct a human-centered study that uses language models to simulate bespoke
communication training and provide just-in-time feedback to support the
practice and learning of interpersonal effectiveness skills. We apply the
interpersonal effectiveness framework from Dialectical Behavioral Therapy
(DBT), DEAR MAN, which focuses on both conversational and emotional skills. We
present IMBUE, an interactive training system that provides feedback 25% more
similar to experts' feedback, compared to that generated by GPT-4. IMBUE is the
first to focus on communication skills and emotion management simultaneously,
incorporate experts' domain knowledge in providing feedback, and be grounded in
psychology theory. Through a randomized trial of 86 participants, we find that
IMBUE's simulation-only variant significantly improves participants'
self-efficacy (up to 17%) and reduces negative emotions (up to 25%). With
IMBUE's additional just-in-time feedback, participants demonstrate 17%
improvement in skill mastery, along with greater enhancements in self-efficacy
(27% more) and reduction of negative emotions (16% more) compared to
simulation-only. The improvement in skill mastery is the only measure that is
transferred to new and more difficult situations; situation specific training
is necessary for improving self-efficacy and emotion reduction. | cs.HC | IMBUE: Improving Interpersonal Effectiveness through Simulation and Just-in-time Feedback with Human-Language Model Interaction |
2024-02-19T21:24:36Z | http://arxiv.org/pdf/2402.12554v2 | http://arxiv.org/abs/2402.12554v2 | Danna Zheng, Mirella Lapata, Jeff Z. Pan | 2024-02-25T00:12:38Z | cs.CL | We present Archer, a challenging bilingual text-to-SQL dataset specific to
complex reasoning, including arithmetic, commonsense and hypothetical
reasoning. It contains 1,042 English questions and 1,042 Chinese questions,
along with 521 unique SQL queries, covering 20 English databases across 20
domains. Notably, this dataset demonstrates a significantly higher level of
complexity compared to existing publicly available datasets. Our evaluation
shows that Archer challenges the capabilities of current state-of-the-art
models, with a high-ranked model on the Spider leaderboard achieving only 6.73%
execution accuracy on Archer test set. Thus, Archer presents a significant
challenge for future research in this field. | cs.CL | Archer: A Human-Labeled Text-to-SQL Dataset with Arithmetic, Commonsense and Hypothetical Reasoning |
2024-02-19T21:12:14Z | http://arxiv.org/pdf/2402.12545v2 | http://arxiv.org/abs/2402.12545v2 | Danna Zheng, Danyang Liu, Mirella Lapata, Jeff Z. Pan | 2024-05-06T22:02:10Z | cs.CL | Large Language Models (LLMs) have demonstrated impressive capabilities across
various domains, prompting a surge in their practical applications. However,
concerns have arisen regarding the trustworthiness of LLMs outputs,
particularly in closed-book question-answering tasks, where non-experts may
struggle to identify inaccuracies due to the absence of contextual or ground
truth information. This paper introduces TrustScore, a framework based on the
concept of Behavioral Consistency, which evaluates whether an LLMs response
aligns with its intrinsic knowledge. Additionally, TrustScore can seamlessly
integrate with fact-checking methods, which assesses alignment with external
knowledge sources. The experimental results show that TrustScore achieves
strong correlations with human judgments, surpassing existing reference-free
metrics, and achieving results on par with reference-based metrics. | cs.CL | TrustScore: Reference-Free Evaluation of LLM Response Trustworthiness |
2024-02-19T20:40:48Z | http://arxiv.org/pdf/2402.12530v1 | http://arxiv.org/abs/2402.12530v1 | Yanda Chen, Chen Zhao, Zhou Yu, Kathleen McKeown, He He | 2024-02-19T20:40:48Z | cs.CL, cs.AI, cs.LG | Pre-trained language models (LMs) are capable of in-context learning (ICL):
they can adapt to a task with only a few examples given in the prompt without
any parameter update. However, it is unclear where this capability comes from
as there is a stark distribution shift between pre-training text and ICL
prompts. In this work, we study what patterns of the pre-training data
contribute to ICL. We find that LMs' ICL ability depends on $\textit{parallel
structures}$ in the pre-training data -- pairs of phrases following similar
templates in the same context window. Specifically, we detect parallel
structures by checking whether training on one phrase improves prediction of
the other, and conduct ablation experiments to study their effect on ICL. We
show that removing parallel structures in the pre-training data reduces LMs'
ICL accuracy by 51% (vs 2% from random ablation). This drop persists even when
excluding common patterns such as n-gram repetitions and long-range dependency,
showing the diversity and generality of parallel structures. A closer look at
the detected parallel structures indicates that they cover diverse linguistic
tasks and span long distances in the data. | cs.CL | Parallel Structures in Pre-training Data Yield In-Context Learning |
2024-02-19T20:21:09Z | http://arxiv.org/pdf/2402.12513v1 | http://arxiv.org/abs/2402.12513v1 | Usama Muneeb, Mesrob I. Ohannessian | 2024-02-19T20:21:09Z | cs.LG, cs.CL | We consider scenarios where a very accurate predictive model using restricted
features is available at the time of training of a larger, full-featured,
model. This restricted model may be thought of as "side-information", derived
either from an auxiliary exhaustive dataset or on the same dataset, by forcing
the restriction. How can the restricted model be useful to the full model? We
propose an approach for transferring the knowledge of the restricted model to
the full model, by aligning the full model's context-restricted performance
with that of the restricted model's. We call this methodology Induced Model
Matching (IMM) and first illustrate its general applicability by using logistic
regression as a toy example. We then explore IMM's use in language modeling,
the application that initially inspired it, and where it offers an explicit
foundation in contrast to the implicit use of restricted models in techniques
such as noising. We demonstrate the methodology on both LSTM and transformer
full models, using $N$-grams as restricted models. To further illustrate the
potential of the principle whenever it is much cheaper to collect restricted
rather than full information, we conclude with a simple RL example where POMDP
policies can improve learned MDP policies via IMM. | cs.LG | Induced Model Matching: How Restricted Models Can Help Larger Ones |
2024-02-19T20:08:48Z | http://arxiv.org/pdf/2402.12501v1 | http://arxiv.org/abs/2402.12501v1 | Ruibo Chen, Yihan Wu, Lichang Chen, Guodong Liu, Qi He, Tianyi Xiong, Chenxi Liu, Junfeng Guo, Heng Huang | 2024-02-19T20:08:48Z | cs.CL | Data selection in instruction tuning emerges as a pivotal process for
acquiring high-quality data and training instruction-following large language
models (LLMs), but it is still a new and unexplored research area for
vision-language models (VLMs). Existing data selection approaches on LLMs
either rely on single unreliable scores, or use downstream tasks for selection,
which is time-consuming and can lead to potential over-fitting on the chosen
evaluation datasets. To address this challenge, we introduce a novel dataset
selection method, Self-Filter, that utilizes the VLM itself as a filter. This
approach is inspired by the observation that VLMs benefit from training with
the most challenging instructions. Self-Filter operates in two stages. In the
first stage, we devise a scoring network to evaluate the difficulty of training
instructions, which is co-trained with the VLM. In the second stage, we use the
trained score net to measure the difficulty of each instruction, select the
most challenging samples, and penalize similar samples to encourage diversity.
Comprehensive experiments on LLaVA and MiniGPT-4 show that Self-Filter can
reach better results compared to full data settings with merely about 15%
samples, and can achieve superior performance against competitive baselines. | cs.CL | Your Vision-Language Model Itself Is a Strong Filter: Towards High-Quality Instruction Tuning with Data Selection |
2024-02-19T19:49:29Z | http://arxiv.org/pdf/2402.12486v2 | http://arxiv.org/abs/2402.12486v2 | Frank Wildenburg, Michael Hanna, Sandro Pezzelle | 2024-06-12T09:09:47Z | cs.CL | In everyday language use, speakers frequently utter and interpret sentences
that are semantically underspecified, namely, whose content is insufficient to
fully convey their message or interpret them univocally. For example, to
interpret the underspecified sentence "Don't spend too much", which leaves
implicit what (not) to spend, additional linguistic context or outside
knowledge is needed. In this work, we propose a novel Dataset of semantically
Underspecified Sentences grouped by Type (DUST) and use it to study whether
pre-trained language models (LMs) correctly identify and interpret
underspecified sentences. We find that newer LMs are reasonably able to
identify underspecified sentences when explicitly prompted. However,
interpreting them correctly is much harder for any LMs. Our experiments show
that when interpreting underspecified sentences, LMs exhibit little
uncertainty, contrary to what theoretical accounts of underspecification would
predict. Overall, our study reveals limitations in current models' processing
of sentence semantics and highlights the importance of using naturalistic data
and communicative scenarios when evaluating LMs' language capabilities. | cs.CL | Do Pre-Trained Language Models Detect and Understand Semantic Underspecification? Ask the DUST! |
2024-02-19T19:48:02Z | http://arxiv.org/pdf/2402.14849v1 | http://arxiv.org/abs/2402.14849v1 | Jingpu Yang, Zehua Han, Mengyu Xiang, Helin Wang, Yuxiao Huang, Miao Fang | 2024-02-19T19:48:02Z | cs.CL, cs.AI, cs.LG | With the rapid advancement of Neural Machine Translation (NMT), enhancing
translation efficiency and quality has become a focal point of research.
Despite the commendable performance of general models such as the Transformer
in various aspects, they still fall short in processing long sentences and
fully leveraging bidirectional contextual information. This paper introduces an
improved model based on the Transformer, implementing an asynchronous and
segmented bidirectional decoding strategy aimed at elevating translation
efficiency and accuracy. Compared to traditional unidirectional translations
from left-to-right or right-to-left, our method demonstrates heightened
efficiency and improved translation quality, particularly in handling long
sentences. Experimental results on the IWSLT2017 dataset confirm the
effectiveness of our approach in accelerating translation and increasing
accuracy, especially surpassing traditional unidirectional strategies in long
sentence translation. Furthermore, this study analyzes the impact of sentence
length on decoding outcomes and explores the model's performance in various
scenarios. The findings of this research not only provide an effective encoding
strategy for the NMT field but also pave new avenues and directions for future
studies. | cs.CL | Asynchronous and Segmented Bidirectional Encoding for NMT |
2024-02-19T19:38:58Z | http://arxiv.org/pdf/2402.12483v2 | http://arxiv.org/abs/2402.12483v2 | Nishant Balepur, Abhilasha Ravichander, Rachel Rudinger | 2024-06-07T23:11:14Z | cs.CL | Multiple-choice question answering (MCQA) is often used to evaluate large
language models (LLMs). To see if MCQA assesses LLMs as intended, we probe if
LLMs can perform MCQA with choices-only prompts, where models must select the
correct answer only from the choices. In three MCQA datasets and four LLMs,
this prompt bests a majority baseline in 11/12 cases, with up to 0.33 accuracy
gain. To help explain this behavior, we conduct an in-depth, black-box analysis
on memorization, choice dynamics, and question inference. Our key findings are
threefold. First, we find no evidence that the choices-only accuracy stems from
memorization alone. Second, priors over individual choices do not fully explain
choices-only accuracy, hinting that LLMs use the group dynamics of choices.
Third, LLMs have some ability to infer a relevant question from choices, and
surprisingly can sometimes even match the original question. Inferring the
original question is an impressive reasoning strategy, but it cannot fully
explain the high choices-only accuracy of LLMs in MCQA. Thus, while LLMs are
not fully incapable of reasoning in MCQA, we still advocate for the use of
stronger baselines in MCQA benchmarks, the design of robust MCQA datasets for
fair evaluations, and further efforts to explain LLM decision-making. | cs.CL | Artifacts or Abduction: How Do LLMs Answer Multiple-Choice Questions Without the Question? |
2024-02-19T19:01:01Z | http://arxiv.org/pdf/2402.12451v2 | http://arxiv.org/abs/2402.12451v2 | Davide Caffagni, Federico Cocchi, Luca Barsellotti, Nicholas Moratelli, Sara Sarto, Lorenzo Baraldi, Lorenzo Baraldi, Marcella Cornia, Rita Cucchiara | 2024-06-06T16:13:43Z | cs.CV, cs.AI, cs.CL, cs.MM | Connecting text and visual modalities plays an essential role in generative
intelligence. For this reason, inspired by the success of large language
models, significant research efforts are being devoted to the development of
Multimodal Large Language Models (MLLMs). These models can seamlessly integrate
visual and textual modalities, while providing a dialogue-based interface and
instruction-following capabilities. In this paper, we provide a comprehensive
review of recent visual-based MLLMs, analyzing their architectural choices,
multimodal alignment strategies, and training techniques. We also conduct a
detailed analysis of these models across a wide range of tasks, including
visual grounding, image generation and editing, visual understanding, and
domain-specific applications. Additionally, we compile and describe training
datasets and evaluation benchmarks, conducting comparisons among existing
models in terms of performance and computational requirements. Overall, this
survey offers a comprehensive overview of the current state of the art, laying
the groundwork for future MLLMs. | cs.CV | The Revolution of Multimodal Large Language Models: A Survey |
2024-02-19T19:00:01Z | http://arxiv.org/pdf/2402.12431v1 | http://arxiv.org/abs/2402.12431v1 | Amelie Wührl, Dustin Wright, Roman Klinger, Isabelle Augenstein | 2024-02-19T19:00:01Z | cs.CL | Distorted science communication harms individuals and society as it can lead
to unhealthy behavior change and decrease trust in scientific institutions.
Given the rapidly increasing volume of science communication in recent years, a
fine-grained understanding of how findings from scientific publications are
reported to the general public, and methods to detect distortions from the
original work automatically, are crucial. Prior work focused on individual
aspects of distortions or worked with unpaired data. In this work, we make
three foundational contributions towards addressing this problem: (1)
annotating 1,600 instances of scientific findings from academic papers paired
with corresponding findings as reported in news articles and tweets wrt. four
characteristics: causality, certainty, generality and sensationalism; (2)
establishing baselines for automatically detecting these characteristics; and
(3) analyzing the prevalence of changes in these characteristics in both
human-annotated and large-scale unlabeled data. Our results show that
scientific findings frequently undergo subtle distortions when reported. Tweets
distort findings more often than science news reports. Detecting fine-grained
distortions automatically poses a challenging task. In our experiments,
fine-tuned task-specific models consistently outperform few-shot LLM prompting. | cs.CL | Understanding Fine-grained Distortions in Reports of Scientific Findings |
2024-02-19T18:58:32Z | http://arxiv.org/pdf/2402.12374v2 | http://arxiv.org/abs/2402.12374v2 | Zhuoming Chen, Avner May, Ruslan Svirschevski, Yuhsun Huang, Max Ryabinin, Zhihao Jia, Beidi Chen | 2024-02-29T18:48:38Z | cs.CL | As the usage of large language models (LLMs) grows, performing efficient
inference with these models becomes increasingly important. While speculative
decoding has recently emerged as a promising direction for speeding up
inference, existing methods are limited in their ability to scale to larger
speculation budgets, and adapt to different hyperparameters and hardware. This
paper introduces Sequoia, a scalable, robust, and hardware-aware algorithm for
speculative decoding. To attain better scalability, Sequoia introduces a
dynamic programming algorithm to find the optimal tree structure for the
speculated tokens. To achieve robust speculative performance, Sequoia uses a
novel sampling and verification method that outperforms prior work across
different decoding temperatures. Finally, Sequoia introduces a hardware-aware
tree optimizer that maximizes speculative performance by automatically
selecting the token tree size and depth for a given hardware platform.
Evaluation shows that Sequoia improves the decoding speed of Llama2-7B,
Llama2-13B, and Vicuna-33B on an A100 by up to $4.04\times$, $3.73\times$, and
$2.27\times$. For offloading setting on L40, Sequoia achieves as low as 0.56
s/token for exact Llama2-70B inference latency, which is $9.96\times$ on our
optimized offloading system (5.6 s/token), $9.7\times$ than
DeepSpeed-Zero-Inference, $19.5\times$ than Huggingface Accelerate. | cs.CL | Sequoia: Scalable, Robust, and Hardware-aware Speculative Decoding |
2024-02-19T18:58:18Z | http://arxiv.org/pdf/2402.12372v2 | http://arxiv.org/abs/2402.12372v2 | Mario Sänger, Samuele Garda, Xing David Wang, Leon Weber-Genzel, Pia Droop, Benedikt Fuchs, Alan Akbik, Ulf Leser | 2024-02-20T13:10:27Z | cs.CL | With the exponential growth of the life science literature, biomedical text
mining (BTM) has become an essential technology for accelerating the extraction
of insights from publications. Identifying named entities (e.g., diseases,
drugs, or genes) in texts and their linkage to reference knowledge bases are
crucial steps in BTM pipelines to enable information aggregation from different
documents. However, tools for these two steps are rarely applied in the same
context in which they were developed. Instead, they are applied in the wild,
i.e., on application-dependent text collections different from those used for
the tools' training, varying, e.g., in focus, genre, style, and text type. This
raises the question of whether the reported performance of BTM tools can be
trusted for downstream applications. Here, we report on the results of a
carefully designed cross-corpus benchmark for named entity extraction, where
tools were applied systematically to corpora not used during their training.
Based on a survey of 28 published systems, we selected five for an in-depth
analysis on three publicly available corpora encompassing four different entity
types. Comparison between tools results in a mixed picture and shows that, in a
cross-corpus setting, the performance is significantly lower than the one
reported in an in-corpus setting. HunFlair2 showed the best performance on
average, being closely followed by PubTator. Our results indicate that users of
BTM tools should expect diminishing performances when applying them in the wild
compared to original publications and show that further research is necessary
to make BTM tools more robust. | cs.CL | HunFlair2 in a cross-corpus evaluation of biomedical named entity recognition and normalization tools |
2024-02-19T18:56:44Z | http://arxiv.org/pdf/2402.12370v1 | http://arxiv.org/abs/2402.12370v1 | Xiao Ye, Andrew Wang, Jacob Choi, Yining Lu, Shreya Sharma, Lingfeng Shen, Vijay Tiyyala, Nicholas Andrews, Daniel Khashabi | 2024-02-19T18:56:44Z | cs.CL, cs.AI | Humans regularly engage in analogical thinking, relating personal experiences
to current situations ($X$ is analogous to $Y$ because of $Z$). Analogical
thinking allows humans to solve problems in creative ways, grasp difficult
concepts, and articulate ideas more effectively. Can language models (LMs) do
the same? To answer this question, we propose ANALOBENCH, a benchmark to
determine analogical reasoning ability in LMs. Our benchmarking approach
focuses on aspects of this ability that are common among humans: (i) recalling
related experiences from a large amount of information, and (ii) applying
analogical reasoning to complex and lengthy scenarios. We test a broad
collection of proprietary models (e.g., GPT family, Claude V2) and open source
models such as LLaMA2. As in prior results, scaling up LMs results in some
performance boosts. Surprisingly, scale offers minimal gains when, (i)
analogies involve lengthy scenarios, or (ii) recalling relevant scenarios from
a large pool of information, a process analogous to finding a needle in a
haystack. We hope these observations encourage further research in this field. | cs.CL | AnaloBench: Benchmarking the Identification of Abstract and Long-context Analogies |
2024-02-19T18:55:16Z | http://arxiv.org/pdf/2402.12368v2 | http://arxiv.org/abs/2402.12368v2 | Mohammad Javad Hosseini, Andrey Petrov, Alex Fabrikant, Annie Louis | 2024-06-28T10:36:27Z | cs.CL | Natural Language Inference (NLI) remains an important benchmark task for
LLMs. NLI datasets are a springboard for transfer learning to other semantic
tasks, and NLI models are standard tools for identifying the faithfulness of
model-generated text. There are several large scale NLI datasets today, and
models have improved greatly by hill-climbing on these collections. Yet their
realistic performance on out-of-distribution/domain data is less
well-understood. We explore the opportunity for synthetic high-quality datasets
to adapt NLI models for zero-shot use in downstream applications across new and
unseen text domains. We demonstrate a new approach for generating NLI data in
diverse domains and lengths, so far not covered by existing training sets. The
resulting examples have meaningful premises, the hypotheses are formed in
creative ways rather than simple edits to a few premise tokens, and the labels
have high accuracy. We show that models trained on this data ($685$K synthetic
examples) have the best generalization to completely new downstream test
settings. On the TRUE benchmark, a T5-small model trained with our data
improves around $7\%$ on average compared to training on the best alternative
dataset. The improvements are more pronounced for smaller models, while still
meaningful on a T5 XXL model. We also demonstrate gains on test sets when
in-domain training data is augmented with our domain-general synthetic data. | cs.CL | A synthetic data approach for domain generalization of NLI models |
2024-02-19T18:53:54Z | http://arxiv.org/pdf/2402.12366v1 | http://arxiv.org/abs/2402.12366v1 | Archit Sharma, Sedrick Keh, Eric Mitchell, Chelsea Finn, Kushal Arora, Thomas Kollar | 2024-02-19T18:53:54Z | cs.LG, cs.AI, cs.CL | Reinforcement learning with AI feedback (RLAIF) is a popular paradigm for
improving the instruction-following abilities of powerful pre-trained language
models. RLAIF first performs supervised fine-tuning (SFT) using demonstrations
from a teacher model and then further fine-tunes the model with reinforcement
learning (RL), using feedback from a critic model. While recent popular
open-source models have demonstrated substantial improvements in performance
from the RL step, in this paper we question whether the complexity of this RL
step is truly warranted for AI feedback. We show that the improvements of the
RL step are virtually entirely due to the widespread practice of using a weaker
teacher model (e.g. GPT-3.5) for SFT data collection than the critic (e.g.,
GPT-4) used for AI feedback generation. Specifically, we show that simple
supervised fine-tuning with GPT-4 as the teacher outperforms existing RLAIF
pipelines. More generally, we find that the gains from RLAIF vary substantially
across base model families, test-time evaluation protocols, and critic models.
Finally, we provide a mechanistic explanation for when SFT may outperform the
full two-step RLAIF pipeline as well as suggestions for making RLAIF maximally
useful in practice. | cs.LG | A Critical Evaluation of AI Feedback for Aligning Large Language Models |
2024-02-19T18:49:57Z | http://arxiv.org/pdf/2402.12363v2 | http://arxiv.org/abs/2402.12363v2 | Tatsuki Kuribayashi, Ryo Ueda, Ryo Yoshida, Yohei Oseki, Ted Briscoe, Timothy Baldwin | 2024-06-07T18:21:47Z | cs.CL | The world's languages exhibit certain so-called typological or implicational
universals; for example, Subject-Object-Verb (SOV) languages typically use
postpositions. Explaining the source of such biases is a key goal of
linguistics. We study word-order universals through a computational simulation
with language models (LMs). Our experiments show that typologically-typical
word orders tend to have lower perplexity estimated by LMs with cognitively
plausible biases: syntactic biases, specific parsing strategies, and memory
limitations. This suggests that the interplay of cognitive biases and
predictability (perplexity) can explain many aspects of word-order universals.
It also showcases the advantage of cognitively-motivated LMs, typically
employed in cognitive modeling, in the simulation of language universals. | cs.CL | Emergent Word Order Universals from Cognitively-Motivated Language Models |
2024-02-19T18:33:49Z | http://arxiv.org/pdf/2402.12354v1 | http://arxiv.org/abs/2402.12354v1 | Soufiane Hayou, Nikhil Ghosh, Bin Yu | 2024-02-19T18:33:49Z | cs.LG, cs.AI, cs.CL, stat.ML | In this paper, we show that Low Rank Adaptation (LoRA) as originally
introduced in Hu et al. (2021) leads to suboptimal finetuning of models with
large width (embedding dimension). This is due to the fact that adapter
matrices A and B in LoRA are updated with the same learning rate. Using scaling
arguments for large width networks, we demonstrate that using the same learning
rate for A and B does not allow efficient feature learning. We then show that
this suboptimality of LoRA can be corrected simply by setting different
learning rates for the LoRA adapter matrices A and B with a well-chosen ratio.
We call this proposed algorithm LoRA$+$. In our extensive experiments, LoRA$+$
improves performance (1-2 $\%$ improvements) and finetuning speed (up to $\sim$
2X SpeedUp), at the same computational cost as LoRA. | cs.LG | LoRA+: Efficient Low Rank Adaptation of Large Models |
2024-02-19T18:31:11Z | http://arxiv.org/pdf/2402.12352v1 | http://arxiv.org/abs/2402.12352v1 | Julien Delile, Srayanta Mukherjee, Anton Van Pamel, Leonid Zhukov | 2024-02-19T18:31:11Z | cs.CL, cs.IR | Large language models (LLMs) are transforming the way information is
retrieved with vast amounts of knowledge being summarized and presented via
natural language conversations. Yet, LLMs are prone to highlight the most
frequently seen pieces of information from the training set and to neglect the
rare ones. In the field of biomedical research, latest discoveries are key to
academic and industrial actors and are obscured by the abundance of an
ever-increasing literature corpus (the information overload problem). Surfacing
new associations between biomedical entities, e.g., drugs, genes, diseases,
with LLMs becomes a challenge of capturing the long-tail knowledge of the
biomedical scientific production. To overcome this challenge, Retrieval
Augmented Generation (RAG) has been proposed to alleviate some of the
shortcomings of LLMs by augmenting the prompts with context retrieved from
external datasets. RAG methods typically select the context via maximum
similarity search over text embeddings. In this study, we show that RAG methods
leave out a significant proportion of relevant information due to clusters of
over-represented concepts in the biomedical literature. We introduce a novel
information-retrieval method that leverages a knowledge graph to downsample
these clusters and mitigate the information overload problem. Its retrieval
performance is about twice better than embedding similarity alternatives on
both precision and recall. Finally, we demonstrate that both embedding
similarity and knowledge graph retrieval methods can be advantageously combined
into a hybrid model that outperforms both, enabling potential improvements to
biomedical question-answering models. | cs.CL | Graph-Based Retriever Captures the Long Tail of Biomedical Knowledge |
2024-02-19T18:23:36Z | http://arxiv.org/pdf/2402.12348v2 | http://arxiv.org/abs/2402.12348v2 | Jinhao Duan, Renming Zhang, James Diffenderfer, Bhavya Kailkhura, Lichao Sun, Elias Stengel-Eskin, Mohit Bansal, Tianlong Chen, Kaidi Xu | 2024-06-10T17:14:09Z | cs.CL, cs.AI, cs.LG | As Large Language Models (LLMs) are integrated into critical real-world
applications, their strategic and logical reasoning abilities are increasingly
crucial. This paper evaluates LLMs' reasoning abilities in competitive
environments through game-theoretic tasks, e.g., board and card games that
require pure logic and strategic reasoning to compete with opponents. We first
propose GTBench, a language-driven environment composing 10 widely recognized
tasks, across a comprehensive game taxonomy: complete versus incomplete
information, dynamic versus static, and probabilistic versus deterministic
scenarios. Then, we (1) Characterize the game-theoretic reasoning of LLMs; and
(2) Perform LLM-vs.-LLM competitions as reasoning evaluation. We observe that
(1) LLMs have distinct behaviors regarding various gaming scenarios; for
example, LLMs fail in complete and deterministic games yet they are competitive
in probabilistic gaming scenarios; (2) Most open-source LLMs, e.g.,
CodeLlama-34b-Instruct and Llama-2-70b-chat, are less competitive than
commercial LLMs, e.g., GPT-4, in complex games, yet the recently released
Llama-3-70b-Instruct makes up for this shortcoming. In addition,
code-pretraining greatly benefits strategic reasoning, while advanced reasoning
methods such as Chain-of-Thought (CoT) and Tree-of-Thought (ToT) do not always
help. We further characterize the game-theoretic properties of LLMs, such as
equilibrium and Pareto Efficiency in repeated games. Detailed error profiles
are provided for a better understanding of LLMs' behavior. We hope our research
provides standardized protocols and serves as a foundation to spur further
explorations in the strategic reasoning of LLMs. | cs.CL | GTBench: Uncovering the Strategic Reasoning Limitations of LLMs via Game-Theoretic Evaluations |
2024-02-19T18:16:51Z | http://arxiv.org/pdf/2402.12343v4 | http://arxiv.org/abs/2402.12343v4 | Zhanhui Zhou, Jie Liu, Zhichen Dong, Jiaheng Liu, Chao Yang, Wanli Ouyang, Yu Qiao | 2024-06-06T12:54:48Z | cs.CL, cs.AI, cs.LG | Large language models (LLMs) undergo safety alignment to ensure safe
conversations with humans. However, this paper introduces a training-free
attack method capable of reversing safety alignment, converting the outcomes of
stronger alignment into greater potential for harm by accessing only LLM output
token distributions. Specifically, our method achieves this reversal by
contrasting the output token distribution of a safety-aligned language model
(e.g., Llama-2-chat) against its pre-trained version (e.g., Llama-2), so that
the token predictions are shifted towards the opposite direction of safety
alignment. We name this method emulated disalignment (ED) because sampling from
this contrastive distribution provably emulates the result of fine-tuning to
minimize a safety reward. Our experiments with ED across three evaluation
datasets and four model families (Llama-1, Llama-2, Mistral, and Alpaca) show
that ED doubles the harmfulness of pre-trained models and outperforms strong
baselines, achieving the highest harmful rates in 43 out of 48 evaluation
subsets by a large margin. Eventually, given ED's reliance on language model
output token distributions, which particularly compromises open-source models,
our findings highlight the need to reassess the open accessibility of language
models, even if they have been safety-aligned. Code is available at
https://github.com/ZHZisZZ/emulated-disalignment. | cs.CL | Emulated Disalignment: Safety Alignment for Large Language Models May Backfire! |
2024-02-19T18:06:02Z | http://arxiv.org/pdf/2402.12332v1 | http://arxiv.org/abs/2402.12332v1 | Justus-Jonas Erker, Florian Mai, Nils Reimers, Gerasimos Spanakis, Iryna Gurevych | 2024-02-19T18:06:02Z | cs.CL | Search-based dialog models typically re-encode the dialog history at every
turn, incurring high cost. Curved Contrastive Learning, a representation
learning method that encodes relative distances between utterances into the
embedding space via a bi-encoder, has recently shown promising results for
dialog modeling at far superior efficiency. While high efficiency is achieved
through independently encoding utterances, this ignores the importance of
contextualization. To overcome this issue, this study introduces
triple-encoders, which efficiently compute distributed utterance mixtures from
these independently encoded utterances through a novel hebbian inspired
co-occurrence learning objective without using any weights. Empirically, we
find that triple-encoders lead to a substantial improvement over bi-encoders,
and even to better zero-shot generalization than single-vector representation
models without requiring re-encoding. Our code/model is publicly available. | cs.CL | Triple-Encoders: Representations That Fire Together, Wire Together |
2024-02-19T18:01:36Z | http://arxiv.org/pdf/2402.12329v1 | http://arxiv.org/abs/2402.12329v1 | Jonathan Hayase, Ema Borevkovic, Nicholas Carlini, Florian Tramèr, Milad Nasr | 2024-02-19T18:01:36Z | cs.CL, cs.AI, cs.CR, cs.LG | Recent work has shown it is possible to construct adversarial examples that
cause an aligned language model to emit harmful strings or perform harmful
behavior. Existing attacks work either in the white-box setting (with full
access to the model weights), or through transferability: the phenomenon that
adversarial examples crafted on one model often remain effective on other
models. We improve on prior work with a query-based attack that leverages API
access to a remote language model to construct adversarial examples that cause
the model to emit harmful strings with (much) higher probability than with
transfer-only attacks. We validate our attack on GPT-3.5 and OpenAI's safety
classifier; we can cause GPT-3.5 to emit harmful strings that current transfer
attacks fail at, and we can evade the safety classifier with nearly 100%
probability. | cs.CL | Query-Based Adversarial Prompt Generation |
2024-02-19T18:00:53Z | http://arxiv.org/pdf/2402.12327v2 | http://arxiv.org/abs/2402.12327v2 | Zengqing Wu, Run Peng, Shuyuan Zheng, Qianying Liu, Xu Han, Brian Inhyuk Kwon, Makoto Onizuka, Shaojie Tang, Chuan Xiao | 2024-07-02T17:56:09Z | cs.AI, cs.CL, cs.CY, cs.MA, econ.GN, q-fin.EC | Large Language Models (LLMs) have increasingly been utilized in social
simulations, where they are often guided by carefully crafted instructions to
stably exhibit human-like behaviors during simulations. Nevertheless, we doubt
the necessity of shaping agents' behaviors for accurate social simulations.
Instead, this paper emphasizes the importance of spontaneous phenomena, wherein
agents deeply engage in contexts and make adaptive decisions without explicit
directions. We explored spontaneous cooperation across three competitive
scenarios and successfully simulated the gradual emergence of cooperation,
findings that align closely with human behavioral data. This approach not only
aids the computational social science community in bridging the gap between
simulations and real-world dynamics but also offers the AI community a novel
method to assess LLMs' capability of deliberate reasoning. | cs.AI | Shall We Team Up: Exploring Spontaneous Cooperation of Competing LLM Agents |
2024-02-19T18:00:30Z | http://arxiv.org/pdf/2402.12326v1 | http://arxiv.org/abs/2402.12326v1 | Qisen Yang, Zekun Wang, Honghui Chen, Shenzhi Wang, Yifan Pu, Xin Gao, Wenhao Huang, Shiji Song, Gao Huang | 2024-02-19T18:00:30Z | cs.CL, cs.CY, cs.HC, cs.LG, cs.MA | Psychological measurement is essential for mental health, self-understanding,
and personal development. Traditional methods, such as self-report scales and
psychologist interviews, often face challenges with engagement and
accessibility. While game-based and LLM-based tools have been explored to
improve user interest and automate assessment, they struggle to balance
engagement with generalizability. In this work, we propose PsychoGAT
(Psychological Game AgenTs) to achieve a generic gamification of psychological
assessment. The main insight is that powerful LLMs can function both as adept
psychologists and innovative game designers. By incorporating LLM agents into
designated roles and carefully managing their interactions, PsychoGAT can
transform any standardized scales into personalized and engaging interactive
fiction games. To validate the proposed method, we conduct psychometric
evaluations to assess its effectiveness and employ human evaluators to examine
the generated content across various psychological constructs, including
depression, cognitive distortions, and personality traits. Results demonstrate
that PsychoGAT serves as an effective assessment tool, achieving statistically
significant excellence in psychometric metrics such as reliability, convergent
validity, and discriminant validity. Moreover, human evaluations confirm
PsychoGAT's enhancements in content coherence, interactivity, interest,
immersion, and satisfaction. | cs.CL | LLM Agents for Psychology: A Study on Gamified Assessments |
2024-02-19T17:58:41Z | http://arxiv.org/pdf/2403.15401v2 | http://arxiv.org/abs/2403.15401v2 | Zhijun Guo, Alvina Lai, Johan Hilge Thygesen, Joseph Farrington, Thomas Keen, Kezhi Li | 2024-05-29T21:55:17Z | cs.CY, cs.AI, cs.CL | Large language models (LLMs) have attracted significant attention for
potential applications in digital health, while their application in mental
health is subject to ongoing debate. This systematic review aims to evaluate
the usage of LLMs in mental health, focusing on their strengths and limitations
in early screening, digital interventions, and clinical applications. Adhering
to PRISMA guidelines, we searched PubMed, IEEE Xplore, Scopus, and the JMIR
using keywords: 'mental health OR mental illness OR mental disorder OR
psychiatry' AND 'large language models'. We included articles published between
January 1, 2017, and December 31, 2023, excluding non-English articles. 30
articles were evaluated, which included research on mental illness and suicidal
ideation detection through text (n=12), usage of LLMs for mental health
conversational agents (CAs) (n=5), and other applications and evaluations of
LLMs in mental health (n=13). LLMs exhibit substantial effectiveness in
detecting mental health issues and providing accessible, de-stigmatized eHealth
services. However, the current risks associated with the clinical use might
surpass their benefits. The study identifies several significant issues: the
lack of multilingual datasets annotated by experts, concerns about the accuracy
and reliability of the content generated, challenges in interpretability due to
the 'black box' nature of LLMs, and persistent ethical dilemmas. These include
the lack of a clear ethical framework, concerns about data privacy, and the
potential for over-reliance on LLMs by both therapists and patients, which
could compromise traditional medical practice. Despite these issues, the rapid
development of LLMs underscores their potential as new clinical aids,
emphasizing the need for continued research and development in this area. | cs.CY | Large Language Model for Mental Health: A Systematic Review |
2024-02-19T17:37:28Z | http://arxiv.org/pdf/2402.12317v1 | http://arxiv.org/abs/2402.12317v1 | Hongjin Su, Shuyang Jiang, Yuhang Lai, Haoyuan Wu, Boao Shi, Che Liu, Qian Liu, Tao Yu | 2024-02-19T17:37:28Z | cs.CL, cs.AI | Recently the retrieval-augmented generation (RAG) paradigm has raised much
attention for its potential in incorporating external knowledge into large
language models (LLMs) without further training. While widely explored in
natural language applications, its utilization in code generation remains
under-explored. In this paper, we introduce Active Retrieval in Knowledge Soup
(ARKS), an advanced strategy for generalizing large language models for code.
In contrast to relying on a single source, we construct a knowledge soup
integrating web search, documentation, execution feedback, and evolved code
snippets. We employ an active retrieval strategy that iteratively refines the
query and updates the knowledge soup. To assess the performance of ARKS, we
compile a new benchmark comprising realistic coding problems associated with
frequently updated libraries and long-tail programming languages. Experimental
results on ChatGPT and CodeLlama demonstrate a substantial improvement in the
average execution accuracy of ARKS on LLMs. The analysis confirms the
effectiveness of our proposed knowledge soup and active retrieval strategies,
offering rich insights into the construction of effective retrieval-augmented
code generation (RACG) pipelines. Our model, code, and data are available at
https://arks-codegen.github.io. | cs.CL | ARKS: Active Retrieval in Knowledge Soup for Code Generation |
2024-02-19T17:30:44Z | http://arxiv.org/pdf/2402.12309v1 | http://arxiv.org/abs/2402.12309v1 | Siheng Xiong, Yuan Yang, Faramarz Fekri, James Clayton Kerce | 2024-02-19T17:30:44Z | cs.CL | Compared with static knowledge graphs, temporal knowledge graphs (tKG), which
can capture the evolution and change of information over time, are more
realistic and general. However, due to the complexity that the notion of time
introduces to the learning of the rules, an accurate graph reasoning, e.g.,
predicting new links between entities, is still a difficult problem. In this
paper, we propose TILP, a differentiable framework for temporal logical rules
learning. By designing a constrained random walk mechanism and the introduction
of temporal operators, we ensure the efficiency of our model. We present
temporal features modeling in tKG, e.g., recurrence, temporal order, interval
between pair of relations, and duration, and incorporate it into our learning
process. We compare TILP with state-of-the-art methods on two benchmark
datasets. We show that our proposed framework can improve upon the performance
of baseline methods while providing interpretable results. In particular, we
consider various scenarios in which training samples are limited, data is
biased, and the time range between training and inference are different. In all
these cases, TILP works much better than the state-of-the-art methods. | cs.CL | TILP: Differentiable Learning of Temporal Logical Rules on Knowledge Graphs |
2024-02-19T17:23:10Z | http://arxiv.org/pdf/2402.12298v1 | http://arxiv.org/abs/2402.12298v1 | Felix J. Dorfner, Liv Jürgensen, Leonhard Donle, Fares Al Mohamad, Tobias R. Bodenmann, Mason C. Cleveland, Felix Busch, Lisa C. Adams, James Sato, Thomas Schultz, Albert E. Kim, Jameson Merkow, Keno K. Bressem, Christopher P. Bridge | 2024-02-19T17:23:10Z | cs.CL, cs.AI | Introduction: With the rapid advances in large language models (LLMs), there
have been numerous new open source as well as commercial models. While recent
publications have explored GPT-4 in its application to extracting information
of interest from radiology reports, there has not been a real-world comparison
of GPT-4 to different leading open-source models.
Materials and Methods: Two different and independent datasets were used. The
first dataset consists of 540 chest x-ray reports that were created at the
Massachusetts General Hospital between July 2019 and July 2021. The second
dataset consists of 500 chest x-ray reports from the ImaGenome dataset. We then
compared the commercial models GPT-3.5 Turbo and GPT-4 from OpenAI to the
open-source models Mistral-7B, Mixtral-8x7B, Llama2-13B, Llama2-70B,
QWEN1.5-72B and CheXbert and CheXpert-labeler in their ability to accurately
label the presence of multiple findings in x-ray text reports using different
prompting techniques.
Results: On the ImaGenome dataset, the best performing open-source model was
Llama2-70B with micro F1-scores of 0.972 and 0.970 for zero- and few-shot
prompts, respectively. GPT-4 achieved micro F1-scores of 0.975 and 0.984,
respectively. On the institutional dataset, the best performing open-source
model was QWEN1.5-72B with micro F1-scores of 0.952 and 0.965 for zero- and
few-shot prompting, respectively. GPT-4 achieved micro F1-scores of 0.975 and
0.973, respectively.
Conclusion: In this paper, we show that while GPT-4 is superior to
open-source models in zero-shot report labeling, the implementation of few-shot
prompting can bring open-source models on par with GPT-4. This shows that
open-source models could be a performant and privacy preserving alternative to
GPT-4 for the task of radiology report classification. | cs.CL | Is Open-Source There Yet? A Comparative Study on Commercial and Open-Source LLMs in Their Ability to Label Chest X-Ray Reports |
2024-02-19T17:05:29Z | http://arxiv.org/pdf/2402.12291v1 | http://arxiv.org/abs/2402.12291v1 | Matthew Shu, Nishant Balepur, Shi Feng, Jordan Boyd-Graber | 2024-02-19T17:05:29Z | cs.CL | Flashcard schedulers are tools that rely on 1) student models to predict the
flashcards a student knows; and 2) teaching policies to schedule cards based on
these predictions. Existing student models, however, only use flashcard-level
features, like the student's past responses, ignoring the semantic ties of
flashcards. Deep Knowledge Tracing (DKT) models can capture semantic relations
with language models, but are inefficient, lack content-rich datasets for
evaluation, and require robust teaching policies. To address these issues, we
design KARL, a DKT-inspired student model that uses retrieval and BERT
embeddings for efficient and accurate student recall predictions. To test KARL,
we collect a new dataset of diverse study history on trivia questions. KARL
bests existing student models in AUC and calibration error. Finally, we propose
a novel teaching policy that exploits the predictive power of DKT models to
deploy KARL online. Based on 27 learners and 32 6-day study trajectories, KARL
shows the ability to enhance medium-term educational learning, proving its
efficacy for scheduling. | cs.CL | KARL: Knowledge-Aware Retrieval and Representations aid Retention and Learning in Students |
2024-02-19T16:50:58Z | http://arxiv.org/pdf/2402.12282v1 | http://arxiv.org/abs/2402.12282v1 | Zehra Melce Hüsünbeyi, Tatjana Scheffler | 2024-02-19T16:50:58Z | cs.CL | We propose an ontology enhanced model for sentence based claim detection. We
fused ontology embeddings from a knowledge base with BERT sentence embeddings
to perform claim detection for the ClaimBuster and the NewsClaims datasets. Our
ontology enhanced approach showed the best results with these small-sized
unbalanced datasets, compared to other statistical and neural machine learning
models. The experiments demonstrate that adding domain specific features
(either trained word embeddings or knowledge graph metadata) can improve
traditional ML methods. In addition, adding domain knowledge in the form of
ontology embeddings helps avoid the bias encountered in neural network based
models, for example the pure BERT model bias towards larger classes in our
small corpus. | cs.CL | Ontology Enhanced Claim Detection |
2024-02-19T16:47:04Z | http://arxiv.org/pdf/2402.12280v1 | http://arxiv.org/abs/2402.12280v1 | Shuowei Jin, Yongji Wu, Haizhong Zheng, Qingzhao Zhang, Matthew Lentz, Z. Morley Mao, Atul Prakash, Feng Qian, Danyang Zhuo | 2024-02-19T16:47:04Z | cs.CL, cs.AI | Large language models (LLMs) have seen significant adoption for natural
language tasks, owing their success to massive numbers of model parameters
(e.g., 70B+); however, LLM inference incurs significant computation and memory
costs. Recent approaches propose parallel decoding strategies, such as
Skeleton-of-Thought (SoT), to improve performance by breaking prompts down into
sub-problems that can be decoded in parallel; however, they often suffer from
reduced response quality. Our key insight is that we can request additional
information, specifically dependencies and difficulty, when generating the
sub-problems to improve both response quality and performance. In this paper,
we propose Skeleton Graph Decoding (SGD), which uses dependencies exposed
between sub-problems to support information forwarding between dependent
sub-problems for improved quality while exposing parallelization opportunities
for decoding independent sub-problems. Additionally, we leverage difficulty
estimates for each sub-problem to select an appropriately-sized model,
improving performance without significantly reducing quality. Compared to
standard autoregressive generation and SoT, SGD achieves a 1.69x speedup while
improving quality by up to 51%. | cs.CL | Adaptive Skeleton Graph Decoding |
2024-02-19T16:43:57Z | http://arxiv.org/pdf/2402.12279v2 | http://arxiv.org/abs/2402.12279v2 | Nadezhda Chirkova, Vassilina Nikoulina | 2024-04-22T17:32:00Z | cs.CL, cs.AI | Zero-shot cross-lingual knowledge transfer enables a multilingual pretrained
language model, finetuned on a task in one language, make predictions for this
task in other languages. While being broadly studied for natural language
understanding tasks, the described setting is understudied for generation.
Previous works notice a frequent problem of generation in a wrong language and
propose approaches to address it, usually using mT5 as a backbone model. In
this work we compare various approaches proposed from the literature in unified
settings, also including alternative backbone models, namely mBART and
NLLB-200. We first underline the importance of tuning learning rate used for
finetuning, which helps to substantially alleviate the problem of generation in
the wrong language. Then, we show that with careful learning rate tuning, the
simple full finetuning of the model acts as a very strong baseline and
alternative approaches bring only marginal improvements. Finally, we find that
mBART performs similarly to mT5 of the same size, and NLLB-200 can be
competitive in some cases. Our final zero-shot models reach the performance of
the approach based on data translation which is usually considered as an upper
baseline for zero-shot cross-lingual transfer in generation. | cs.CL | Key ingredients for effective zero-shot cross-lingual knowledge transfer in generative tasks |
2024-02-19T16:39:18Z | http://arxiv.org/pdf/2402.12275v2 | http://arxiv.org/abs/2402.12275v2 | Hao Tang, Darren Key, Kevin Ellis | 2024-05-26T04:24:04Z | cs.AI, cs.CL | We give a model-based agent that builds a Python program representing its
knowledge of the world based on its interactions with the environment. The
world model tries to explain its interactions, while also being optimistic
about what reward it can achieve. We define this optimism as a logical
constraint between a program and a planner. We study our agent on gridworlds,
and on task planning, finding our approach is more sample-efficient compared to
deep RL, more compute-efficient compared to ReAct-style agents, and that it can
transfer its knowledge across environments by editing its code. | cs.AI | WorldCoder, a Model-Based LLM Agent: Building World Models by Writing Code and Interacting with the Environment |
2024-02-19T16:34:50Z | http://arxiv.org/pdf/2402.12424v4 | http://arxiv.org/abs/2402.12424v4 | Naihao Deng, Zhenjie Sun, Ruiqi He, Aman Sikka, Yulong Chen, Lin Ma, Yue Zhang, Rada Mihalcea | 2024-06-06T03:02:25Z | cs.LG, cs.AI, cs.CL, cs.CV | In this paper, we investigate the effectiveness of various LLMs in
interpreting tabular data through different prompting strategies and data
formats. Our analyses extend across six benchmarks for table-related tasks such
as question-answering and fact-checking. We introduce for the first time the
assessment of LLMs' performance on image-based table representations.
Specifically, we compare five text-based and three image-based table
representations, demonstrating the role of representation and prompting on LLM
performance. Our study provides insights into the effective use of LLMs on
table-related tasks. | cs.LG | Tables as Texts or Images: Evaluating the Table Reasoning Ability of LLMs and MLLMs |
2024-02-19T16:29:40Z | http://arxiv.org/pdf/2402.12267v1 | http://arxiv.org/abs/2402.12267v1 | Michela Lorandi, Anya Belz | 2024-02-19T16:29:40Z | cs.CL | The performance of NLP methods for severely under-resourced languages cannot
currently hope to match the state of the art in NLP methods for well resourced
languages. We explore the extent to which pretrained large language models
(LLMs) can bridge this gap, via the example of data-to-text generation for
Irish, Welsh, Breton and Maltese. We test LLMs on these under-resourced
languages and English, in a range of scenarios. We find that LLMs easily set
the state of the art for the under-resourced languages by substantial margins,
as measured by both automatic and human evaluations. For all our languages,
human evaluation shows on-a-par performance with humans for our best systems,
but BLEU scores collapse compared to English, casting doubt on the metric's
suitability for evaluating non-task-specific systems. Overall, our results
demonstrate the great potential of LLMs to bridge the performance gap for
under-resourced languages. | cs.CL | High-quality Data-to-Text Generation for Severely Under-Resourced Languages with Out-of-the-box Large Language Models |
2024-02-19T16:26:00Z | http://arxiv.org/pdf/2402.12264v1 | http://arxiv.org/abs/2402.12264v1 | Oleksandr Balabanov, Hampus Linander | 2024-02-19T16:26:00Z | cs.LG, cs.AI, cs.CL, stat.ML | Fine-tuning large language models can improve task specific performance,
although a general understanding of what the fine-tuned model has learned,
forgotten and how to trust its predictions is still missing. We derive
principled uncertainty quantification for fine-tuned LLMs with posterior
approximations using computationally efficient low-rank adaptation ensembles.
We analyze three common multiple-choice datasets using low-rank adaptation
ensembles based on Mistral-7b, and draw quantitative and qualitative
conclusions on their perceived complexity and model efficacy on the different
target domains during and after fine-tuning. In particular, backed by the
numerical experiments, we hypothesise about signals from entropic uncertainty
measures for data domains that are inherently difficult for a given
architecture to learn. | cs.LG | Uncertainty quantification in fine-tuned LLMs using LoRA ensembles |
2024-02-19T16:22:21Z | http://arxiv.org/pdf/2402.12423v2 | http://arxiv.org/abs/2402.12423v2 | Miri Varshavsky-Hassid, Roy Hirsch, Regev Cohen, Tomer Golany, Daniel Freedman, Ehud Rivlin | 2024-06-04T11:03:57Z | cs.SD, cs.CL, cs.LG, eess.AS | The incorporation of Denoising Diffusion Models (DDMs) in the Text-to-Speech
(TTS) domain is rising, providing great value in synthesizing high quality
speech. Although they exhibit impressive audio quality, the extent of their
semantic capabilities is unknown, and controlling their synthesized speech's
vocal properties remains a challenge. Inspired by recent advances in image
synthesis, we explore the latent space of frozen TTS models, which is composed
of the latent bottleneck activations of the DDM's denoiser. We identify that
this space contains rich semantic information, and outline several novel
methods for finding semantic directions within it, both supervised and
unsupervised. We then demonstrate how these enable off-the-shelf audio editing,
without any further training, architectural changes or data requirements. We
present evidence of the semantic and acoustic qualities of the edited audio,
and provide supplemental samples:
https://latent-analysis-grad-tts.github.io/speech-samples/. | cs.SD | On the Semantic Latent Space of Diffusion-Based Text-to-Speech Models |
2024-02-19T16:19:15Z | http://arxiv.org/pdf/2402.12261v3 | http://arxiv.org/abs/2402.12261v3 | Jonathan Zheng, Alan Ritter, Wei Xu | 2024-06-05T17:12:23Z | cs.CL | The performance of Large Language Models (LLMs) degrades from the temporal
drift between data used for model training and newer text seen during
inference. One understudied avenue of language change causing data drift is the
emergence of neologisms -- new word forms -- over time. We create a diverse
resource of recent English neologisms by using several popular collection
methods. We analyze temporal drift using neologisms by comparing sentences
containing new words with near-identical sentences that replace neologisms with
existing substitute words. Model performance is nearly halved in machine
translation when a single neologism is introduced in a sentence. Motivated by
these results, we construct a benchmark to evaluate LLMs' ability to generalize
to neologisms with various natural language understanding tasks and model
perplexity. Models with later knowledge cutoff dates yield lower perplexities
and perform better in downstream tasks. LLMs are also affected differently
based on the linguistic origins of words, indicating that neologisms are
complex for static LLMs to address. We will release our benchmark and code for
reproducing our experiments. | cs.CL | NEO-BENCH: Evaluating Robustness of Large Language Models with Neologisms |
2024-02-19T16:14:04Z | http://arxiv.org/pdf/2402.12255v1 | http://arxiv.org/abs/2402.12255v1 | Anna Martin-Boyle, Aahan Tyagi, Marti A. Hearst, Dongyeop Kang | 2024-02-19T16:14:04Z | cs.CL | Numerous AI-assisted scholarly applications have been developed to aid
different stages of the research process. We present an analysis of AI-assisted
scholarly writing generated with ScholaCite, a tool we built that is designed
for organizing literature and composing Related Work sections for academic
papers. Our evaluation method focuses on the analysis of citation graphs to
assess the structural complexity and inter-connectedness of citations in texts
and involves a three-way comparison between (1) original human-written texts,
(2) purely GPT-generated texts, and (3) human-AI collaborative texts. We find
that GPT-4 can generate reasonable coarse-grained citation groupings to support
human users in brainstorming, but fails to perform detailed synthesis of
related works without human intervention. We suggest that future writing
assistant tools should not be used to draft text independently of the human
author. | cs.CL | Shallow Synthesis of Knowledge in GPT-Generated Texts: A Case Study in Automatic Related Work Composition |
2024-02-19T16:05:28Z | http://arxiv.org/pdf/2402.12249v1 | http://arxiv.org/abs/2402.12249v1 | Ruiyang Zhou | 2024-02-19T16:05:28Z | cs.CL | Levenshtein transformer (LevT) is a non-autoregressive machine translation
model with high decoding efficiency and comparable translation quality in terms
of bleu score, due to its parallel decoding and iterative refinement procedure.
Are there any deficiencies of its translations and what improvements could be
made? In this report, we focus on LevT's decoder and analyse the decoding
results length, subword generation, and deletion module's capability. We hope
to identify weaknesses of the decoder for future improvements.
We also compare translations of the original LevT, knowledge-distilled LevT,
LevT with translation memory, and the KD-LevT with translation memory to see
how KD and translation memory can help. | cs.CL | Analysis of Levenshtein Transformer's Decoder and Its Variants |
2024-02-19T16:04:53Z | http://arxiv.org/pdf/2402.14848v1 | http://arxiv.org/abs/2402.14848v1 | Mosh Levy, Alon Jacoby, Yoav Goldberg | 2024-02-19T16:04:53Z | cs.CL, cs.AI | This paper explores the impact of extending input lengths on the capabilities
of Large Language Models (LLMs). Despite LLMs advancements in recent times,
their performance consistency across different input lengths is not well
understood. We investigate this aspect by introducing a novel QA reasoning
framework, specifically designed to assess the impact of input length. We
isolate the effect of input length using multiple versions of the same sample,
each being extended with padding of different lengths, types and locations. Our
findings show a notable degradation in LLMs' reasoning performance at much
shorter input lengths than their technical maximum. We show that the
degradation trend appears in every version of our dataset, although at
different intensities. Additionally, our study reveals that traditional
perplexity metrics do not correlate with performance of LLMs' in long input
reasoning tasks. We analyse our results and identify failure modes that can
serve as useful guides for future research, potentially informing strategies to
address the limitations observed in LLMs. | cs.CL | Same Task, More Tokens: the Impact of Input Length on the Reasoning Performance of Large Language Models |
2024-02-19T15:58:15Z | http://arxiv.org/pdf/2402.12243v4 | http://arxiv.org/abs/2402.12243v4 | Niklas Wretblad, Fredrik Gordh Riseby, Rahul Biswas, Amin Ahmadi, Oskar Holmström | 2024-03-25T19:48:16Z | cs.CL | Text-to-SQL, which involves translating natural language into Structured
Query Language (SQL), is crucial for enabling broad access to structured
databases without expert knowledge. However, designing models for such tasks is
challenging due to numerous factors, including the presence of 'noise,' such as
ambiguous questions and syntactical errors. This study provides an in-depth
analysis of the distribution and types of noise in the widely used BIRD-Bench
benchmark and the impact of noise on models. While BIRD-Bench was created to
model dirty and noisy database values, it was not created to contain noise and
errors in the questions and gold queries. We found that noise in questions and
gold queries are prevalent in the dataset, with varying amounts across domains,
and with an uneven distribution between noise types. The presence of incorrect
gold SQL queries, which then generate incorrect gold answers, has a significant
impact on the benchmark's reliability. Surprisingly, when evaluating models on
corrected SQL queries, zero-shot baselines surpassed the performance of
state-of-the-art prompting methods. We conclude that informative noise labels
and reliable benchmarks are crucial to developing new Text-to-SQL methods that
can handle varying types of noise. All datasets, annotations, and code are
available at
https://github.com/niklaswretblad/the-effects-of-noise-in-text-to-SQL. | cs.CL | Understanding the Effects of Noise in Text-to-SQL: An Examination of the BIRD-Bench Benchmark |
2024-02-19T15:43:35Z | http://arxiv.org/pdf/2402.12234v1 | http://arxiv.org/abs/2402.12234v1 | Tom Bocklisch, Thomas Werkmeister, Daksh Varshneya, Alan Nichol | 2024-02-19T15:43:35Z | cs.CL | We describe a system for building task-oriented dialogue systems combining
the in-context learning abilities of large language models (LLMs) with the
deterministic execution of business logic. LLMs are used to translate between
the surface form of the conversation and a domain-specific language (DSL) which
is used to progress the business logic. We compare our approach to the
intent-based NLU approach predominantly used in industry today. Our experiments
show that developing chatbots with our system requires significantly less
effort than established approaches, that these chatbots can successfully
navigate complex dialogues which are extremely challenging for NLU-based
systems, and that our system has desirable properties for scaling task-oriented
dialogue systems to a large number of tasks. We make our implementation
available for use and further study. | cs.CL | Task-Oriented Dialogue with In-Context Learning |
2024-02-19T15:42:54Z | http://arxiv.org/pdf/2402.12233v1 | http://arxiv.org/abs/2402.12233v1 | Zihan Qiu, Zeyu Huang, Youcheng Huang, Jie Fu | 2024-02-19T15:42:54Z | cs.CL | The feed-forward networks (FFNs) in transformers are recognized as a group of
key-value neural memories to restore abstract high-level knowledge. In this
work, we conduct an empirical ablation study on updating keys (the 1st layer in
the FFNs layer) or values (the 2nd layer in the FFNs layer). We compare those
two methods in various knowledge editing and fine-tuning tasks of large
language models to draw insights to understand FFNs further. Code is available
at $\href{https://github.com/qiuzh20/Tuning-keys-v.s.-values}{this\,repo}$. | cs.CL | Empirical Study on Updating Key-Value Memories in Transformer Feed-forward Layers |
2024-02-19T15:33:10Z | http://arxiv.org/pdf/2402.12226v3 | http://arxiv.org/abs/2402.12226v3 | Jun Zhan, Junqi Dai, Jiasheng Ye, Yunhua Zhou, Dong Zhang, Zhigeng Liu, Xin Zhang, Ruibin Yuan, Ge Zhang, Linyang Li, Hang Yan, Jie Fu, Tao Gui, Tianxiang Sun, Yugang Jiang, Xipeng Qiu | 2024-03-07T06:31:46Z | cs.CL, cs.AI, cs.CV, cs.LG | We introduce AnyGPT, an any-to-any multimodal language model that utilizes
discrete representations for the unified processing of various modalities,
including speech, text, images, and music. AnyGPT can be trained stably without
any alterations to the current large language model (LLM) architecture or
training paradigms. Instead, it relies exclusively on data-level preprocessing,
facilitating the seamless integration of new modalities into LLMs, akin to the
incorporation of new languages. We build a multimodal text-centric dataset for
multimodal alignment pre-training. Utilizing generative models, we synthesize
the first large-scale any-to-any multimodal instruction dataset. It consists of
108k samples of multi-turn conversations that intricately interweave various
modalities, thus equipping the model to handle arbitrary combinations of
multimodal inputs and outputs. Experimental results demonstrate that AnyGPT is
capable of facilitating any-to-any multimodal conversation while achieving
performance comparable to specialized models across all modalities, proving
that discrete representations can effectively and conveniently unify multiple
modalities within a language model. Demos are shown in
https://junzhan2000.github.io/AnyGPT.github.io/ | cs.CL | AnyGPT: Unified Multimodal LLM with Discrete Sequence Modeling |
2024-02-19T15:30:40Z | http://arxiv.org/pdf/2402.12222v1 | http://arxiv.org/abs/2402.12222v1 | Jueon Eom, Seyeon Jeong, Taekyoung Kwon | 2024-02-19T15:30:40Z | cs.CR, cs.CL, cs.LG, cs.SE, D.4.6; I.2.5; D.2.4 | Fuzzing is an effective bug-finding technique but it struggles with complex
systems like JavaScript engines that demand precise grammatical input.
Recently, researchers have adopted language models for context-aware mutation
in fuzzing to address this problem. However, existing techniques are limited in
utilizing coverage guidance for fuzzing, which is rather performed in a
black-box manner. This paper presents a novel technique called CovRL
(Coverage-guided Reinforcement Learning) that combines Large Language Models
(LLMs) with reinforcement learning from coverage feedback. Our fuzzer,
CovRL-Fuzz, integrates coverage feedback directly into the LLM by leveraging
the Term Frequency-Inverse Document Frequency (TF-IDF) method to construct a
weighted coverage map. This map is key in calculating the fuzzing reward, which
is then applied to the LLM-based mutator through reinforcement learning.
CovRL-Fuzz, through this approach, enables the generation of test cases that
are more likely to discover new coverage areas, thus improving vulnerability
detection while minimizing syntax and semantic errors, all without needing
extra post-processing. Our evaluation results indicate that CovRL-Fuzz
outperforms the state-of-the-art fuzzers in terms of code coverage and
bug-finding capabilities: CovRL-Fuzz identified 48 real-world security-related
bugs in the latest JavaScript engines, including 39 previously unknown
vulnerabilities and 11 CVEs. | cs.CR | CovRL: Fuzzing JavaScript Engines with Coverage-Guided Reinforcement Learning for LLM-based Mutation |
2024-02-19T15:21:58Z | http://arxiv.org/pdf/2402.12219v2 | http://arxiv.org/abs/2402.12219v2 | Run-Ze Fan, Xuefeng Li, Haoyang Zou, Junlong Li, Shwai He, Ethan Chern, Jiewen Hu, Pengfei Liu | 2024-04-17T15:03:19Z | cs.CL, cs.AI, cs.LG | The quality of finetuning data is crucial for aligning large language models
(LLMs) with human values. Current methods to improve data quality are either
labor-intensive or prone to factual errors caused by LLM hallucinations. This
paper explores elevating the quality of existing instruction data to better
align with human values, introducing a simple and effective approach named
ReAlign, which reformats the responses of instruction data into a format that
better aligns with pre-established criteria and the collated evidence. This
approach minimizes human annotation, hallucination, and the difficulty in
scaling, remaining orthogonal to existing alignment techniques. Experimentally,
ReAlign significantly boosts the general alignment ability, math reasoning,
factuality, and readability of the LLMs.
Encouragingly, without introducing any additional data or advanced training
techniques, and merely by reformatting the response, LLaMA-2-13B's mathematical
reasoning ability on GSM8K can be improved from 46.77% to 56.63% in accuracy.
Additionally, a mere 5% of ReAlign data yields a 67% boost in general alignment
ability measured by the Alpaca dataset. This work highlights the need for
further research into the science and mechanistic interpretability of LLMs. We
have made the associated code and data publicly accessible to support future
studies at https://github.com/GAIR-NLP/ReAlign. | cs.CL | Reformatted Alignment |
2024-02-19T15:14:15Z | http://arxiv.org/pdf/2402.12212v1 | http://arxiv.org/abs/2402.12212v1 | Masaya Ohagi | 2024-02-19T15:14:15Z | cs.CL | Online social networks often create echo chambers where people only hear
opinions reinforcing their beliefs. An echo chamber often generates
polarization, leading to conflicts caused by people with radical opinions, such
as the January 6, 2021, attack on the US Capitol. The echo chamber has been
viewed as a human-specific problem, but this implicit assumption is becoming
less reasonable as large language models, such as ChatGPT, acquire social
abilities. In response to this situation, we investigated the potential for
polarization to occur among a group of autonomous AI agents based on generative
language models in an echo chamber environment. We had AI agents discuss
specific topics and analyzed how the group's opinions changed as the discussion
progressed. As a result, we found that the group of agents based on ChatGPT
tended to become polarized in echo chamber environments. The analysis of
opinion transitions shows that this result is caused by ChatGPT's high prompt
understanding ability to update its opinion by considering its own and
surrounding agents' opinions. We conducted additional experiments to
investigate under what specific conditions AI agents tended to polarize. As a
result, we identified factors that strongly influence polarization, such as the
agent's persona. These factors should be monitored to prevent the polarization
of AI agents. | cs.CL | Polarization of Autonomous Generative AI Agents Under Echo Chambers |
2024-02-19T15:07:32Z | http://arxiv.org/pdf/2402.12204v1 | http://arxiv.org/abs/2402.12204v1 | Yuanchi Zhang, Yile Wang, Zijun Liu, Shuo Wang, Xiaolong Wang, Peng Li, Maosong Sun, Yang Liu | 2024-02-19T15:07:32Z | cs.CL | While large language models (LLMs) have been pre-trained on multilingual
corpora, their performance still lags behind in most languages compared to a
few resource-rich languages. One common approach to mitigate this issue is to
translate training data from resource-rich languages into other languages and
then continue training. However, using the data obtained solely relying on
translation while ignoring the original capabilities of LLMs across languages
is not always effective, which we show will limit the performance of
cross-lingual knowledge transfer. In this work, we propose SDRRL, a method
based on Self-Distillation from Resource-Rich Languages that effectively
improve multilingual performance by leveraging the internal capabilities of
LLMs on resource-rich languages. We evaluate on different LLMs (LLaMA-2 and
SeaLLM) and source languages across various comprehension and generation tasks,
experimental results demonstrate that SDRRL can significantly enhance
multilingual capabilities while minimizing the impact on original performance
in resource-rich languages. | cs.CL | Enhancing Multilingual Capabilities of Large Language Models through Self-Distillation from Resource-Rich Languages |
2024-02-19T15:03:04Z | http://arxiv.org/pdf/2402.12198v1 | http://arxiv.org/abs/2402.12198v1 | Naquee Rizwan, Paramananda Bhaskar, Mithun Das, Swadhin Satyaprakash Majhi, Punyajoy Saha, Animesh Mukherjee | 2024-02-19T15:03:04Z | cs.CL, cs.CV, cs.LG | Multimedia content on social media is rapidly evolving, with memes gaining
prominence as a distinctive form. Unfortunately, some malicious users exploit
memes to target individuals or vulnerable communities, making it imperative to
identify and address such instances of hateful memes. Extensive research has
been conducted to address this issue by developing hate meme detection models.
However, a notable limitation of traditional machine/deep learning models is
the requirement for labeled datasets for accurate classification. Recently, the
research community has witnessed the emergence of several visual language
models that have exhibited outstanding performance across various tasks. In
this study, we aim to investigate the efficacy of these visual language models
in handling intricate tasks such as hate meme detection. We use various prompt
settings to focus on zero-shot classification of hateful/harmful memes. Through
our analysis, we observe that large VLMs are still vulnerable for zero-shot
hate meme detection. | cs.CL | Zero shot VLMs for hate meme detection: Are we there yet? |
2024-02-19T14:59:07Z | http://arxiv.org/pdf/2402.12195v2 | http://arxiv.org/abs/2402.12195v2 | Ziyue Wang, Chi Chen, Yiqi Zhu, Fuwen Luo, Peng Li, Ming Yan, Ji Zhang, Fei Huang, Maosong Sun, Yang Liu | 2024-06-08T03:04:30Z | cs.CL | With the bloom of Large Language Models (LLMs), Multimodal Large Language
Models (MLLMs) that incorporate LLMs with pre-trained vision models have
recently demonstrated impressive performance across diverse vision-language
tasks. However, they fall short to comprehend context involving multiple
images. A primary reason for this shortcoming is that the visual features for
each images are encoded individually by frozen encoders before feeding into the
LLM backbone, lacking awareness of other images and the multimodal
instructions. We term this issue as prior-LLM modality isolation and propose a
two phase paradigm, browse-and-concentrate, to enable in-depth multimodal
context fusion prior to feeding the features into LLMs. This paradigm initially
"browses" through the inputs for essential insights, and then revisits the
inputs to "concentrate" on crucial details, guided by these insights, to
achieve a more comprehensive understanding of the multimodal inputs.
Additionally, we develop training strategies specifically to enhance the
understanding of multi-image inputs. Our method markedly boosts the performance
on 7 multi-image scenarios, contributing to increments on average accuracy by
2.13% and 7.60% against strong MLLMs baselines with 3B and 11B LLMs,
respectively. | cs.CL | Browse and Concentrate: Comprehending Multimodal Content via prior-LLM Context Fusion |
2024-02-19T14:56:18Z | http://arxiv.org/pdf/2402.12193v2 | http://arxiv.org/abs/2402.12193v2 | Yuxia Wang, Zenan Zhai, Haonan Li, Xudong Han, Lizhi Lin, Zhenxuan Zhang, Jingru Zhao, Preslav Nakov, Timothy Baldwin | 2024-05-26T17:15:44Z | cs.CL | Many studies have demonstrated that large language models (LLMs) can produce
harmful responses, exposing users to unexpected risks when LLMs are deployed.
Previous studies have proposed comprehensive taxonomies of the risks posed by
LLMs, as well as corresponding prompts that can be used to examine the safety
mechanisms of LLMs. However, the focus has been almost exclusively on English,
and little has been explored for other languages. Here we aim to bridge this
gap. We first introduce a dataset for the safety evaluation of Chinese LLMs,
and then extend it to two other scenarios that can be used to better identify
false negative and false positive examples in terms of risky prompt rejections.
We further present a set of fine-grained safety assessment criteria for each
risk type, facilitating both manual annotation and automatic evaluation in
terms of LLM response harmfulness. Our experiments on five LLMs show that
region-specific risks are the prevalent type of risk, presenting the major
issue with all Chinese LLMs we experimented with. Our data is available at
https://github.com/Libr-AI/do-not-answer. Warning: this paper contains example
data that may be offensive, harmful, or biased. | cs.CL | A Chinese Dataset for Evaluating the Safeguards in Large Language Models |
2024-02-19T14:53:01Z | http://arxiv.org/pdf/2402.14846v3 | http://arxiv.org/abs/2402.14846v3 | Grgur Kovač, Rémy Portelas, Masataka Sawayama, Peter Ford Dominey, Pierre-Yves Oudeyer | 2024-04-30T07:09:22Z | cs.CL, cs.AI, cs.LG, 68T07, I.2.7 | The standard way to study Large Language Models (LLMs) with benchmarks or
psychology questionnaires is to provide many different queries from similar
minimal contexts (e.g. multiple choice questions). However, due to LLMs' highly
context-dependent nature, conclusions from such minimal-context evaluations may
be little informative about the model's behavior in deployment (where it will
be exposed to many new contexts). We argue that context-dependence
(specifically, value stability) should be studied a specific property of LLMs
and used as another dimension of LLM comparison (alongside others such as
cognitive abilities, knowledge, or model size). We present a case-study on the
stability of value expression over different contexts (simulated conversations
on different topics) as measured using a standard psychology questionnaire
(PVQ) and on behavioral downstream tasks. Reusing methods from psychology, we
study Rank-order stability on the population (interpersonal) level, and
Ipsative stability on the individual (intrapersonal) level. We consider two
settings (with and without instructing LLMs to simulate particular personas),
two simulated populations, and three downstream tasks. We observe consistent
trends in the stability of models and model families - Mixtral, Mistral,
GPT-3.5 and Qwen families are more stable than LLaMa-2 and Phi. The consistency
of these trends implies that some models exhibit higher value-stability than
others, and that value stability can be estimated with the set of introduced
methodological tools. When instructed to simulate particular personas, LLMs
exhibit low Rank-Order stability, which further diminishes with conversation
length. This highlights the need for future research on LLMs that coherently
simulate different personas. This paper provides a foundational step in that
direction, and, to our knowledge, it is the first study of value stability in
LLMs. | cs.CL | Stick to Your Role! Context-dependence and Stability of Personal Value Expression in Large Language Models |
2024-02-19T14:52:50Z | http://arxiv.org/pdf/2402.12189v1 | http://arxiv.org/abs/2402.12189v1 | Myung Gyo Oh, Hong Eun Ahn, Leo Hyun Park, Taekyoung Kwon | 2024-02-19T14:52:50Z | cs.CL, cs.CR, cs.LG, I.2.7; K.6.5 | Neural language models (LMs) are vulnerable to training data extraction
attacks due to data memorization. This paper introduces a novel attack scenario
wherein an attacker adversarially fine-tunes pre-trained LMs to amplify the
exposure of the original training data. This strategy differs from prior
studies by aiming to intensify the LM's retention of its pre-training dataset.
To achieve this, the attacker needs to collect generated texts that are closely
aligned with the pre-training data. However, without knowledge of the actual
dataset, quantifying the amount of pre-training data within generated texts is
challenging. To address this, we propose the use of pseudo-labels for these
generated texts, leveraging membership approximations indicated by
machine-generated probabilities from the target LM. We subsequently fine-tune
the LM to favor generations with higher likelihoods of originating from the
pre-training data, based on their membership probabilities. Our empirical
findings indicate a remarkable outcome: LMs with over 1B parameters exhibit a
four to eight-fold increase in training data exposure. We discuss potential
mitigations and suggest future research directions. | cs.CL | Amplifying Training Data Exposure through Fine-Tuning with Pseudo-Labeled Memberships |
2024-02-19T14:33:24Z | http://arxiv.org/pdf/2402.12177v4 | http://arxiv.org/abs/2402.12177v4 | Mingtian Zhang, Shawn Lan, Peter Hayes, David Barber | 2024-03-12T16:04:23Z | cs.LG, cs.AI, cs.CL | Retrieval Augmented Generation (RAG) has emerged as an effective solution for
mitigating hallucinations in Large Language Models (LLMs). The retrieval stage
in RAG typically involves a pre-trained embedding model, which converts queries
and passages into vectors to capture their semantics. However, a standard
pre-trained embedding model may exhibit sub-optimal performance when applied to
specific domain knowledge, necessitating fine-tuning. This paper addresses
scenarios where the embeddings are only available from a black-box model. We
introduce Model augmented fine-tuning (Mafin) -- a novel approach for
fine-tuning a black-box embedding model by augmenting it with a trainable
embedding model. Our results demonstrate that Mafin significantly enhances the
performance of the black-box embeddings by only requiring the training of a
small augmented model. We validate the effectiveness of our method on both
labeled and unlabeled datasets, illustrating its broad applicability and
efficiency. | cs.LG | Mafin: Enhancing Black-Box Embeddings with Model Augmented Fine-Tuning |
2024-02-19T14:28:31Z | http://arxiv.org/pdf/2402.12174v2 | http://arxiv.org/abs/2402.12174v2 | Jiajie Jin, Yutao Zhu, Yujia Zhou, Zhicheng Dou | 2024-05-30T11:26:58Z | cs.CL | Retrieval-augmented large language models (LLMs) have demonstrated efficacy
in knowledge-intensive tasks such as open-domain QA, addressing inherent
challenges in knowledge update and factual inadequacy. However, inconsistencies
between retrieval knowledge and the necessary knowledge for LLMs, leading to a
decline in LLM's answer quality. This paper introduces BIDER, an approach that
refines retrieval documents into Key Supporting Evidence (KSE) through
knowledge synthesis, supervised fine-tuning (SFT), and preference alignment. We
train BIDER by learning from crafting KSE, while maximizing its output to align
with LLM's information acquisition preferences through reinforcement learning.
Evaluations across five datasets show BIDER boosts LLMs' answer quality by 7%
while reducing input content length in retrieval documents by 80%,
outperforming existing methods. The proposed KSE simulation effectively equips
LLMs with essential information for accurate question answering. | cs.CL | BIDER: Bridging Knowledge Inconsistency for Efficient Retrieval-Augmented LLMs via Key Supporting Evidence |
2024-02-19T14:22:54Z | http://arxiv.org/pdf/2402.12168v3 | http://arxiv.org/abs/2402.12168v3 | Shuai Zhao, Leilei Gan, Luu Anh Tuan, Jie Fu, Lingjuan Lyu, Meihuizi Jia, Jinming Wen | 2024-03-29T12:12:30Z | cs.CR, cs.AI, cs.CL | Recently, various parameter-efficient fine-tuning (PEFT) strategies for
application to language models have been proposed and successfully implemented.
However, this raises the question of whether PEFT, which only updates a limited
set of model parameters, constitutes security vulnerabilities when confronted
with weight-poisoning backdoor attacks. In this study, we show that PEFT is
more susceptible to weight-poisoning backdoor attacks compared to the
full-parameter fine-tuning method, with pre-defined triggers remaining
exploitable and pre-defined targets maintaining high confidence, even after
fine-tuning. Motivated by this insight, we developed a Poisoned Sample
Identification Module (PSIM) leveraging PEFT, which identifies poisoned samples
through confidence, providing robust defense against weight-poisoning backdoor
attacks. Specifically, we leverage PEFT to train the PSIM with randomly reset
sample labels. During the inference process, extreme confidence serves as an
indicator for poisoned samples, while others are clean. We conduct experiments
on text classification tasks, five fine-tuning strategies, and three
weight-poisoning backdoor attack methods. Experiments show near 100% success
rates for weight-poisoning backdoor attacks when utilizing PEFT. Furthermore,
our defensive approach exhibits overall competitive performance in mitigating
weight-poisoning backdoor attacks. | cs.CR | Defending Against Weight-Poisoning Backdoor Attacks for Parameter-Efficient Fine-Tuning |
2024-02-19T14:02:31Z | http://arxiv.org/pdf/2402.12151v2 | http://arxiv.org/abs/2402.12151v2 | Xinbo Wu, Lav R. Varshney | 2024-03-03T20:06:24Z | cs.CL, cs.AI | Even though large language models (LLMs) have demonstrated remarkable
capability in solving various natural language tasks, the capability of an LLM
to follow human instructions is still a concern. Recent works have shown great
improvements in the instruction-following capability via additional training
for instruction-following tasks. However, the mechanisms responsible for
effective instruction-following capabilities remain inadequately understood.
Here, we introduce a simplified instruction-following task and use synthetic
datasets to analyze a Transformer-based causal language model. Our findings
suggest that the model learns task-specific information by clustering data
within its hidden space, with this clustering process evolving dynamically
during learning. We also demonstrate how this phenomenon assists the model in
handling unseen instances, and validate our results in a more realistic
setting. Furthermore, we present inspired applications regarding pre-training
and alignment. | cs.CL | Transformer-based Causal Language Models Perform Clustering |
2024-02-19T14:02:22Z | http://arxiv.org/pdf/2402.12150v1 | http://arxiv.org/abs/2402.12150v1 | Tianlin Li, Xiaoyu Zhang, Chao Du, Tianyu Pang, Qian Liu, Qing Guo, Chao Shen, Yang Liu | 2024-02-19T14:02:22Z | cs.CL, cs.AI, I.2; J.4 | The widespread adoption of large language models (LLMs) underscores the
urgent need to ensure their fairness. However, LLMs frequently present dominant
viewpoints while ignoring alternative perspectives from minority parties,
resulting in potential biases. We hypothesize that these fairness-violating
behaviors occur because LLMs express their viewpoints using a human personality
that represents the majority of training data. In response to this, we validate
that prompting LLMs with specific roles can allow LLMs to express diverse
viewpoints. Building on this insight and observation, we develop FairThinking,
a pipeline designed to automatically generate roles that enable LLMs to
articulate diverse perspectives for fair expressions. To evaluate FairThinking,
we create a dataset with a thousand items covering three fairness-related
topics and conduct experiments on GPT-3.5, GPT-4, Llama2, and Mistral to
demonstrate its superior performance. | cs.CL | Your Large Language Model is Secretly a Fairness Proponent and You Should Prompt it Like One |
2024-02-19T14:00:39Z | http://arxiv.org/pdf/2402.14845v1 | http://arxiv.org/abs/2402.14845v1 | Tianlin Li, Qian Liu, Tianyu Pang, Chao Du, Qing Guo, Yang Liu, Min Lin | 2024-02-19T14:00:39Z | cs.CL, cs.AI, cs.LG, I.2 | The emerging success of large language models (LLMs) heavily relies on
collecting abundant training data from external (untrusted) sources. Despite
substantial efforts devoted to data cleaning and curation, well-constructed
LLMs have been reported to suffer from copyright infringement, data poisoning,
and/or privacy violations, which would impede practical deployment of LLMs. In
this study, we propose a simple and easily implementable method for purifying
LLMs from the negative effects caused by uncurated data, namely, through
ensembling LLMs with benign and small language models (SLMs). Aside from
theoretical guarantees, we perform comprehensive experiments to empirically
confirm the efficacy of ensembling LLMs with SLMs, which can effectively
preserve the performance of LLMs while mitigating issues such as copyright
infringement, data poisoning, and privacy violations. | cs.CL | Purifying Large Language Models by Ensembling a Small Language Model |
2024-02-19T14:00:35Z | http://arxiv.org/pdf/2402.12147v3 | http://arxiv.org/abs/2402.12147v3 | Vinay Setty | 2024-04-30T08:56:18Z | cs.CL, cs.AI | In this paper, we explore the challenges associated with establishing an
end-to-end fact-checking pipeline in a real-world context, covering over 90
languages. Our real-world experimental benchmarks demonstrate that fine-tuning
Transformer models specifically for fact-checking tasks, such as claim
detection and veracity prediction, provide superior performance over large
language models (LLMs) like GPT-4, GPT-3.5-Turbo, and Mistral-7b. However, we
illustrate that LLMs excel in generative tasks such as question decomposition
for evidence retrieval. Through extensive evaluation, we show the efficacy of
fine-tuned models for fact-checking in a multilingual setting and complex
claims that include numerical quantities. | cs.CL | Surprising Efficacy of Fine-Tuned Transformers for Fact-Checking over Larger Language Models |
2024-02-19T13:57:55Z | http://arxiv.org/pdf/2402.12146v3 | http://arxiv.org/abs/2402.12146v3 | Zijun Liu, Boqun Kou, Peng Li, Ming Yan, Ji Zhang, Fei Huang, Yang Liu | 2024-05-31T03:25:42Z | cs.CL, cs.AI, cs.LG | Despite the strong performance of large language models (LLMs) across a wide
range of tasks, they still have reliability issues. Previous studies indicate
that strong LLMs like GPT-4-turbo excel in evaluating the reliability of
responses from LLMs, but face efficiency and local deployment issues. Thus, to
enable weak LLMs to effectively assess the reliability of LLM responses, we
propose a novel cross-query-comparison-based method called $\textit{Meta
Ranking}$ (MR). Unlike previous few-shot methods that solely based on
in-context learning capabilities in LLMs, MR assesses reliability by pairwisely
ranking the target query-response pair with multiple reference query-response
pairs. We found that MR is highly effective in error detection for LLM
responses, where weak LLMs, such as Phi-2, could surpass strong baselines like
GPT-3.5-turbo, requiring only five reference samples and significantly
improving efficiency. We further demonstrate that MR can enhance strong LLMs'
performance in two practical applications: model cascading and instruction
tuning. In model cascading, we combine open- and closed-source LLMs to achieve
performance comparable to GPT-4-turbo with lower costs. In instruction tuning,
we use MR for iterative training data filtering, significantly reducing data
processing time and enabling LLaMA-7B and Phi-2 to surpass Alpaca-13B with
fewer training tokens. These results underscore the high potential of MR in
both efficiency and effectiveness. | cs.CL | Enabling Weak LLMs to Judge Response Reliability via Meta Ranking |
2024-02-19T13:16:10Z | http://arxiv.org/pdf/2402.12121v1 | http://arxiv.org/abs/2402.12121v1 | Shigeki Saito, Kazuki Hayashi, Yusuke Ide, Yusuke Sakai, Kazuma Onishi, Toma Suzuki, Seiji Gobara, Hidetaka Kamigaito, Katsuhiko Hayashi, Taro Watanabe | 2024-02-19T13:16:10Z | cs.CL, cs.AI, cs.CV, cs.MM | Large-scale vision language models (LVLMs) are language models that are
capable of processing images and text inputs by a single model. This paper
explores the use of LVLMs to generate review texts for images. The ability of
LVLMs to review images is not fully understood, highlighting the need for a
methodical evaluation of their review abilities. Unlike image captions, review
texts can be written from various perspectives such as image composition and
exposure. This diversity of review perspectives makes it difficult to uniquely
determine a single correct review for an image. To address this challenge, we
introduce an evaluation method based on rank correlation analysis, in which
review texts are ranked by humans and LVLMs, then, measures the correlation
between these rankings. We further validate this approach by creating a
benchmark dataset aimed at assessing the image review ability of recent LVLMs.
Our experiments with the dataset reveal that LVLMs, particularly those with
proven superiority in other evaluative contexts, excel at distinguishing
between high-quality and substandard image reviews. | cs.CL | Evaluating Image Review Ability of Vision Language Models |
2024-02-19T12:45:52Z | http://arxiv.org/pdf/2402.12102v1 | http://arxiv.org/abs/2402.12102v1 | Baohao Liao, Christof Monz | 2024-02-19T12:45:52Z | cs.CL, cs.AI | With the growing size of large language models, the role of quantization
becomes increasingly significant. However, outliers present in weights or
activations notably influence the performance of quantized models. Recently,
\citet{qtransformer} introduced a novel softmax function aimed at pretraining
models in an outlier-free manner, thereby enhancing their suitability for
quantization. Interestingly, we observed that such an approach leads to
performance degradation in full precision. Building on this insight, we enhance
the method by ensuring its normalization is invariant to sequence length, a
crucial factor for bridging the gap between pretraining and fine-tuning.
Moreover, this improved method also facilitates successful pretraining of
causal language models. | cs.CL | Is It a Free Lunch for Removing Outliers during Pretraining? |
2024-02-19T12:31:56Z | http://arxiv.org/pdf/2402.12100v1 | http://arxiv.org/abs/2402.12100v1 | Yi Liu, Guowei Yang, Gelei Deng, Feiyue Chen, Yuqi Chen, Ling Shi, Tianwei Zhang, Yang Liu | 2024-02-19T12:31:56Z | cs.CL, cs.AI, cs.CR, cs.SE | With the prevalence of text-to-image generative models, their safety becomes
a critical concern. adversarial testing techniques have been developed to probe
whether such models can be prompted to produce Not-Safe-For-Work (NSFW)
content. However, existing solutions face several challenges, including low
success rate and inefficiency. We introduce Groot, the first automated
framework leveraging tree-based semantic transformation for adversarial testing
of text-to-image models. Groot employs semantic decomposition and sensitive
element drowning strategies in conjunction with LLMs to systematically refine
adversarial prompts. Our comprehensive evaluation confirms the efficacy of
Groot, which not only exceeds the performance of current state-of-the-art
approaches but also achieves a remarkable success rate (93.66%) on leading
text-to-image models such as DALL-E 3 and Midjourney. | cs.CL | Groot: Adversarial Testing for Generative Text-to-Image Models with Tree-based Semantic Transformation |
2024-02-19T12:12:35Z | http://arxiv.org/pdf/2402.12091v1 | http://arxiv.org/abs/2402.12091v1 | Junbing Yan, Chengyu Wang, Jun Huang, Wei Zhang | 2024-02-19T12:12:35Z | cs.CL, cs.AI | Over the past few years, the abilities of large language models (LLMs) have
received extensive attention, which have performed exceptionally well in
complicated scenarios such as logical reasoning and symbolic inference. A
significant factor contributing to this progress is the benefit of in-context
learning and few-shot prompting. However, the reasons behind the success of
such models using contextual reasoning have not been fully explored. Do LLMs
have understand logical rules to draw inferences, or do they ``guess'' the
answers by learning a type of probabilistic mapping through context? This paper
investigates the reasoning capabilities of LLMs on two logical reasoning
datasets by using counterfactual methods to replace context text and modify
logical concepts. Based on our analysis, it is found that LLMs do not truly
understand logical rules; rather, in-context learning has simply enhanced the
likelihood of these models arriving at the correct answers. If one alters
certain words in the context text or changes the concepts of logical terms, the
outputs of LLMs can be significantly disrupted, leading to counter-intuitive
responses. This work provides critical insights into the limitations of LLMs,
underscoring the need for more robust mechanisms to ensure reliable logical
reasoning in LLMs. | cs.CL | Do Large Language Models Understand Logic or Just Mimick Context? |
2024-02-19T12:04:25Z | http://arxiv.org/pdf/2402.12080v1 | http://arxiv.org/abs/2402.12080v1 | Harshit Sandilya, Peehu Raj, Jainit Sushil Bafna, Srija Mukhopadhyay, Shivansh Sharma, Ellwil Sharma, Arastu Sharma, Neeta Trivedi, Manish Shrivastava, Rajesh Kumar | 2024-02-19T12:04:25Z | cs.CL, 68T50, I.2.7 | Large language models (LLMs) often struggle with complex mathematical tasks,
prone to "hallucinating" incorrect answers due to their reliance on statistical
patterns. This limitation is further amplified in average Small LangSLMs with
limited context and training data. To address this challenge, we propose an
"Inductive Learning" approach utilizing a distributed network of SLMs. This
network leverages error-based learning and hint incorporation to refine the
reasoning capabilities of SLMs. Our goal is to provide a framework that
empowers SLMs to approach the level of logic-based applications achieved by
high-parameter models, potentially benefiting any language model. Ultimately,
this novel concept paves the way for bridging the logical gap between humans
and LLMs across various fields. | cs.CL | Can LLMs Compute with Reasons? |
2024-02-19T11:59:14Z | http://arxiv.org/pdf/2402.12079v1 | http://arxiv.org/abs/2402.12079v1 | Yu Wang, Zeyuan Zhang, Julian McAuley, Zexue He | 2024-02-19T11:59:14Z | cs.CV, cs.CL | Enabling large language models (LLMs) to read videos is vital for multimodal
LLMs. Existing works show promise on short videos whereas long video (longer
than e.g.~1 minute) comprehension remains challenging. The major problem lies
in the over-compression of videos, i.e., the encoded video representations are
not enough to represent the whole video. To address this issue, we propose Long
Video Chat (LVChat), where Frame-Scalable Encoding (FSE) is introduced to
dynamically adjust the number of embeddings in alignment with the duration of
the video to ensure long videos are not overly compressed into a few
embeddings. To deal with long videos whose length is beyond videos seen during
training, we propose Interleaved Frame Encoding (IFE), repeating positional
embedding and interleaving multiple groups of videos to enable long video
input, avoiding performance degradation due to overly long videos. Experimental
results show that LVChat significantly outperforms existing methods by up to
27\% in accuracy on long-video QA datasets and long-video captioning
benchmarks. Our code is published at https://github.com/wangyu-ustc/LVChat. | cs.CV | LVCHAT: Facilitating Long Video Comprehension |
2024-02-19T11:48:09Z | http://arxiv.org/pdf/2402.12071v2 | http://arxiv.org/abs/2402.12071v2 | Sahand Sabour, Siyang Liu, Zheyuan Zhang, June M. Liu, Jinfeng Zhou, Alvionna S. Sunaryo, Juanzi Li, Tatia M. C. Lee, Rada Mihalcea, Minlie Huang | 2024-06-07T07:43:45Z | cs.CL, cs.AI | Recent advances in Large Language Models (LLMs) have highlighted the need for
robust, comprehensive, and challenging benchmarks. Yet, research on evaluating
their Emotional Intelligence (EI) is considerably limited. Existing benchmarks
have two major shortcomings: first, they mainly focus on emotion recognition,
neglecting essential EI capabilities such as emotion regulation and thought
facilitation through emotion understanding; second, they are primarily
constructed from existing datasets, which include frequent patterns, explicit
information, and annotation errors, leading to unreliable evaluation. We
propose EmoBench, a benchmark that draws upon established psychological
theories and proposes a comprehensive definition for machine EI, including
Emotional Understanding and Emotional Application. EmoBench includes a set of
400 hand-crafted questions in English and Chinese, which are meticulously
designed to require thorough reasoning and understanding. Our findings reveal a
considerable gap between the EI of existing LLMs and the average human,
highlighting a promising direction for future research. Our code and data are
publicly available at https://github.com/Sahandfer/EmoBench. | cs.CL | EmoBench: Evaluating the Emotional Intelligence of Large Language Models |
2024-02-19T11:33:21Z | http://arxiv.org/pdf/2402.12065v2 | http://arxiv.org/abs/2402.12065v2 | Yuxuan Yue, Zhihang Yuan, Haojie Duanmu, Sifan Zhou, Jianlong Wu, Liqiang Nie | 2024-02-20T08:48:24Z | cs.LG, cs.AI, cs.CL | Large Language Models (LLMs) face significant deployment challenges due to
their substantial memory requirements and the computational demands of
auto-regressive text generation process. This paper addresses these challenges
by focusing on the quantization of LLMs, a technique that reduces memory
consumption by converting model parameters and activations into low-bit
integers. We critically analyze the existing quantization approaches,
identifying their limitations in balancing the accuracy and efficiency of the
quantized LLMs. To advance beyond these limitations, we propose WKVQuant, a PTQ
framework especially designed for quantizing weights and the key/value (KV)
cache of LLMs. Specifically, we incorporates past-only quantization to improve
the computation of attention. Additionally, we introduce two-dimensional
quantization strategy to handle the distribution of KV cache, along with a
cross-block reconstruction regularization for parameter optimization.
Experiments show that WKVQuant achieves almost comparable memory savings to
weight-activation quantization, while also approaching the performance of
weight-only quantization. | cs.LG | WKVQuant: Quantizing Weight and Key/Value Cache for Large Language Models Gains More |
2024-02-19T11:28:20Z | http://arxiv.org/pdf/2402.12061v2 | http://arxiv.org/abs/2402.12061v2 | Zhixun Chen, Yali Du, David Mguni | 2024-06-05T15:08:28Z | cs.LG, cs.AI, cs.CL | Many leading language models (LMs) use high-intensity computational resources
both during training and execution. This poses the challenge of lowering
resource costs for deployment and faster execution of decision-making tasks
among others. We introduce a novel plug-and-play LM framework named Language
Optimising Network Distribution (LONDI) framework. LONDI learns to selectively
employ large LMs only where complex decision-making and reasoning are required
while using low-resource LMs (i.e. LMs require less GPU usage, but may not be
able to solve the problem alone) everywhere else. LONDI consists of a system of
two (off-)policy networks, an LM, a large LM (LLM), and a reinforcement
learning module that uses switching controls to quickly learn which system
states to call the LLM. We then introduce a variant of LONDI that maintains
budget constraints on LLM calls and hence its resource usage. Theoretically, we
prove LONDI learns the subset of system states to activate the LLM required to
solve the task. We then prove that LONDI converges to optimal solutions while
also preserving budgetary constraints on LLM calls almost surely enabling it to
solve various tasks while significantly lowering computational costs. We test
LONDI's performance in a range of tasks in ScienceWorld and BabyAI-Text and
demonstrate that LONDI can solve tasks only solvable by resource-intensive LLMs
while reducing GPU usage by up to 30%. | cs.LG | All Language Models Large and Small |
2024-02-19T11:23:53Z | http://arxiv.org/pdf/2402.12058v1 | http://arxiv.org/abs/2402.12058v1 | Xuanyu Lei, Zonghan Yang, Xinrui Chen, Peng Li, Yang Liu | 2024-02-19T11:23:53Z | cs.CV, cs.CL | State-of-the-art Large Multi-Modal Models (LMMs) have demonstrated
exceptional capabilities in vision-language tasks. Despite their advanced
functionalities, the performances of LMMs are still limited in challenging
scenarios that require complex reasoning with multiple levels of visual
information. Existing prompting techniques for LMMs focus on either improving
textual reasoning or leveraging tools for image preprocessing, lacking a simple
and general visual prompting scheme to promote vision-language coordination in
LMMs. In this work, we propose Scaffold prompting that scaffolds coordinates to
promote vision-language coordination. Specifically, Scaffold overlays a dot
matrix within the image as visual information anchors and leverages
multi-dimensional coordinates as textual positional references. Extensive
experiments on a wide range of challenging vision-language tasks demonstrate
the superiority of Scaffold over GPT-4V with the textual CoT prompting. Our
code is released in https://github.com/leixy20/Scaffold. | cs.CV | Scaffolding Coordinates to Promote Vision-Language Coordination in Large Multi-Modal Models |
2024-02-19T11:19:02Z | http://arxiv.org/pdf/2402.12055v2 | http://arxiv.org/abs/2402.12055v2 | Xinyu Hu, Mingqi Gao, Sen Hu, Yang Zhang, Yicheng Chen, Teng Xu, Xiaojun Wan | 2024-06-28T14:53:35Z | cs.CL | Some prior work has shown that LLMs perform well in NLG evaluation for
different tasks. However, we discover that LLMs seem to confuse different
evaluation criteria, which reduces their reliability. For further verification,
we first consider avoiding issues of inconsistent conceptualization and vague
expression in existing NLG quality criteria themselves. So we summarize a clear
hierarchical classification system for 11 common aspects with corresponding
different criteria from previous studies involved. Inspired by behavioral
testing, we elaborately design 18 types of aspect-targeted perturbation attacks
for fine-grained analysis of the evaluation behaviors of different LLMs. We
also conduct human annotations beyond the guidance of the classification system
to validate the impact of the perturbations. Our experimental results reveal
confusion issues inherent in LLMs, as well as other noteworthy phenomena, and
necessitate further research and improvements for LLM-based evaluation. | cs.CL | Are LLM-based Evaluators Confusing NLG Quality Criteria? |
2024-02-19T11:11:08Z | http://arxiv.org/pdf/2402.12052v3 | http://arxiv.org/abs/2402.12052v3 | Jiejun Tan, Zhicheng Dou, Yutao Zhu, Peidong Guo, Kun Fang, Ji-Rong Wen | 2024-05-30T12:03:51Z | cs.CL | The integration of large language models (LLMs) and search engines represents
a significant evolution in knowledge acquisition methodologies. However,
determining the knowledge that an LLM already possesses and the knowledge that
requires the help of a search engine remains an unresolved issue. Most existing
methods solve this problem through the results of preliminary answers or
reasoning done by the LLM itself, but this incurs excessively high
computational costs. This paper introduces a novel collaborative approach,
namely SlimPLM, that detects missing knowledge in LLMs with a slim proxy model,
to enhance the LLM's knowledge acquisition process. We employ a proxy model
which has far fewer parameters, and take its answers as heuristic answers.
Heuristic answers are then utilized to predict the knowledge required to answer
the user question, as well as the known and unknown knowledge within the LLM.
We only conduct retrieval for the missing knowledge in questions that the LLM
does not know. Extensive experimental results on five datasets with two LLMs
demonstrate a notable improvement in the end-to-end performance of LLMs in
question-answering tasks, achieving or surpassing current state-of-the-art
models with lower LLM inference costs. | cs.CL | Small Models, Big Insights: Leveraging Slim Proxy Models To Decide When and What to Retrieve for LLMs |
2024-02-19T11:02:05Z | http://arxiv.org/pdf/2402.12048v1 | http://arxiv.org/abs/2402.12048v1 | Didi Zhu, Zhongyi Sun, Zexi Li, Tao Shen, Ke Yan, Shouhong Ding, Kun Kuang, Chao Wu | 2024-02-19T11:02:05Z | cs.CL | Catastrophic forgetting emerges as a critical challenge when fine-tuning
multi-modal large language models (MLLMs), where improving performance on
unseen tasks often leads to a significant performance drop on the original
tasks. This paper presents a comprehensive analysis of catastrophic forgetting
in MLLMs and introduces a post-training adjustment method called Model Tailor.
Our method primarily preserves the pre-trained parameters while replacing a
small number ($\leq$ 10\%) of fine-tuned parameters, maintaining $\sim$ 99\%
effectiveness on original tasks versus pre-training, and achieving $\sim$ 97\%
on new tasks compared to standard fine-tuning. Specifically, we derive a sparse
mask to identify the "model patch", based on a fusion strategy that integrates
salience and sensitivity analysis. Subsequently, a compensation mechanism is
introduced to "decorate the patch", enhancing the model's performance on both
target and original tasks. Additionally, our method is adaptable to multi-task
scenarios. Through extensive experiments on InstructBLIP and LLaVA-1.5 in both
image captioning and visual question answering tasks, our approach demonstrates
significant task adaptability while preserving inherent pre-trained
capabilities. | cs.CL | Model Tailor: Mitigating Catastrophic Forgetting in Multi-modal Large Language Models |
2024-02-19T10:59:29Z | http://arxiv.org/pdf/2402.12046v1 | http://arxiv.org/abs/2402.12046v1 | Jan Philip Wahle, Terry Ruas, Mohamed Abdalla, Bela Gipp, Saif M. Mohammad | 2024-02-19T10:59:29Z | cs.DL, cs.CL | This study examines the tendency to cite older work across 20 fields of study
over 43 years (1980--2023). We put NLP's propensity to cite older work in the
context of these 20 other fields to analyze whether NLP shows similar temporal
citation patterns to these other fields over time or whether differences can be
observed. Our analysis, based on a dataset of approximately 240 million papers,
reveals a broader scientific trend: many fields have markedly declined in
citing older works (e.g., psychology, computer science). We term this decline a
'citation age recession', analogous to how economists define periods of reduced
economic activity. The trend is strongest in NLP and ML research (-12.8% and
-5.5% in citation age from previous peaks). Our results suggest that citing
more recent works is not directly driven by the growth in publication rates
(-3.4% across fields; -5.2% in humanities; -5.5% in formal sciences) -- even
when controlling for an increase in the volume of papers. Our findings raise
questions about the scientific community's engagement with past literature,
particularly for NLP, and the potential consequences of neglecting older but
relevant research. The data and a demo showcasing our results are publicly
available. | cs.DL | Citation Amnesia: NLP and Other Academic Fields Are in a Citation Age Recession |
2024-02-19T10:47:09Z | http://arxiv.org/pdf/2402.12038v3 | http://arxiv.org/abs/2402.12038v3 | Milan Bhan, Jean-Noel Vittaut, Nicolas Chesneau, Marie-Jeanne Lesot | 2024-06-17T08:52:29Z | cs.LG, cs.CL | Incorporating natural language rationales in the prompt and In-Context
Learning (ICL) have led to a significant improvement of Large Language Models
(LLMs) performance. However, generating high-quality rationales require
human-annotation or the use of auxiliary proxy models. In this work, we propose
Self-AMPLIFY to automatically generate rationales from post hoc explanation
methods applied to Small Language Models (SLMs) to improve their own
performance. Self-AMPLIFY is a 3-step method that targets samples, generates
rationales and builds a final prompt to leverage ICL. Self-AMPLIFY performance
is evaluated on four SLMs and five datasets requiring strong reasoning
abilities. Self-AMPLIFY achieves good results against competitors, leading to
strong accuracy improvement. Self-AMPLIFY is the first method to apply post hoc
explanation methods to autoregressive language models to generate rationales to
improve their own performance in a fully automated manner. | cs.LG | Self-AMPLIFY: Improving Small Language Models with Self Post Hoc Explanations |
2024-02-19T10:43:27Z | http://arxiv.org/pdf/2402.12036v2 | http://arxiv.org/abs/2402.12036v2 | Anas Belfathi, Ygor Gallina, Nicolas Hernandez, Richard Dufour, Laura Monceaux | 2024-02-26T16:47:36Z | cs.CL | Recent advances in pre-trained language modeling have facilitated significant
progress across various natural language processing (NLP) tasks. Word masking
during model training constitutes a pivotal component of language modeling in
architectures like BERT. However, the prevalent method of word masking relies
on random selection, potentially disregarding domain-specific linguistic
attributes. In this article, we introduce an innovative masking approach
leveraging genre and topicality information to tailor language models to
specialized domains. Our method incorporates a ranking process that prioritizes
words based on their significance, subsequently guiding the masking procedure.
Experiments conducted using continual pre-training within the legal domain have
underscored the efficacy of our approach on the LegalGLUE benchmark in the
English language. Pre-trained language models and code are freely available for
use. | cs.CL | Language Model Adaptation to Specialized Domains through Selective Masking based on Genre and Topical Characteristics |
2024-02-19T10:37:29Z | http://arxiv.org/pdf/2402.12030v2 | http://arxiv.org/abs/2402.12030v2 | Nicolas Boizard, Kevin El Haddad, Céline Hudelot, Pierre Colombo | 2024-02-20T14:46:03Z | cs.CL | Deploying large language models (LLMs) of several billion parameters can be
impractical in most industrial use cases due to constraints such as cost,
latency limitations, and hardware accessibility. Knowledge distillation (KD)
offers a solution by compressing knowledge from resource-intensive large models
to smaller ones. Various strategies exist, some relying on the text generated
by the teacher model and optionally utilizing his logits to enhance learning.
However, these methods based on logits often require both teacher and student
models to share the same tokenizer, limiting their applicability across
different LLM families. In this paper, we introduce Universal Logit
Distillation (ULD) loss, grounded in optimal transport, to address this
limitation. Our experimental results demonstrate the effectiveness of ULD loss
in enabling distillation across models with different architectures and
tokenizers, paving the way to a more widespread use of distillation techniques. | cs.CL | Towards Cross-Tokenizer Distillation: the Universal Logit Distillation Loss for LLMs |
2024-02-19T10:34:48Z | http://arxiv.org/pdf/2402.12026v3 | http://arxiv.org/abs/2402.12026v3 | Zongru Wu, Zhuosheng Zhang, Pengzhou Cheng, Gongshen Liu | 2024-06-02T10:28:13Z | cs.CL, cs.AI, cs.CR | Despite the notable success of language models (LMs) in various natural
language processing (NLP) tasks, the reliability of LMs is susceptible to
backdoor attacks. Prior research attempts to mitigate backdoor learning while
training the LMs on the poisoned dataset, yet struggles against complex
backdoor attacks in real-world scenarios. In this paper, we investigate the
learning mechanisms of backdoor LMs in the frequency space by Fourier analysis.
Our findings indicate that the backdoor mapping presented on the poisoned
datasets exhibits a more discernible inclination towards lower frequency
compared to clean mapping, resulting in the faster convergence of backdoor
mapping. To alleviate this dilemma, we propose Multi-Scale Low-Rank Adaptation
(MuScleLoRA), which deploys multiple radial scalings in the frequency space
with low-rank adaptation to the target model and further aligns the gradients
when updating parameters. Through downscaling in the frequency space,
MuScleLoRA encourages the model to prioritize the learning of relatively
high-frequency clean mapping, consequently mitigating backdoor learning.
Experimental results demonstrate that MuScleLoRA outperforms baselines
significantly. Notably, MuScleLoRA reduces the average success rate of diverse
backdoor attacks to below 15\% across multiple datasets and generalizes to
various backbone LMs, including BERT, RoBERTa, GPT2-XL, and Llama2. The codes
are publicly available at https://github.com/ZrW00/MuScleLoRA. | cs.CL | Acquiring Clean Language Models from Backdoor Poisoned Datasets by Downscaling Frequency Space |
2024-02-19T10:34:13Z | http://arxiv.org/pdf/2402.12025v2 | http://arxiv.org/abs/2402.12025v2 | Marco Gaido, Sara Papi, Matteo Negri, Luisa Bentivogli | 2024-05-17T14:46:32Z | cs.CL | The field of natural language processing (NLP) has recently witnessed a
transformative shift with the emergence of foundation models, particularly
Large Language Models (LLMs) that have revolutionized text-based NLP. This
paradigm has extended to other modalities, including speech, where researchers
are actively exploring the combination of Speech Foundation Models (SFMs) and
LLMs into single, unified models capable of addressing multimodal tasks. Among
such tasks, this paper focuses on speech-to-text translation (ST). By examining
the published papers on the topic, we propose a unified view of the
architectural solutions and training strategies presented so far, highlighting
similarities and differences among them. Based on this examination, we not only
organize the lessons learned but also show how diverse settings and evaluation
approaches hinder the identification of the best-performing solution for each
architectural building block and training choice. Lastly, we outline
recommendations for future works on the topic aimed at better understanding the
strengths and weaknesses of the SFM+LLM solutions for ST. | cs.CL | Speech Translation with Speech Foundation Models and Large Language Models: What is There and What is Missing? |
2024-02-19T10:31:53Z | http://arxiv.org/pdf/2402.12022v1 | http://arxiv.org/abs/2402.12022v1 | Bo Pan, Zheng Zhang, Yifei Zhang, Yuntong Hu, Liang Zhao | 2024-02-19T10:31:53Z | cs.CL, cs.LG | Text-Attributed Graphs (TAGs) are graphs of connected textual documents.
Graph models can efficiently learn TAGs, but their training heavily relies on
human-annotated labels, which are scarce or even unavailable in many
applications. Large language models (LLMs) have recently demonstrated
remarkable capabilities in few-shot and zero-shot TAG learning, but they suffer
from scalability, cost, and privacy issues. Therefore, in this work, we focus
on synergizing LLMs and graph models with their complementary strengths by
distilling the power of LLMs to a local graph model on TAG learning. To address
the inherent gaps between LLMs (generative models for texts) and graph models
(discriminative models for graphs), we propose first to let LLMs teach an
interpreter with rich textual rationale and then let a student model mimic the
interpreter's reasoning without LLMs' textual rationale. Extensive experiments
validate the efficacy of our proposed framework. | cs.CL | Distilling Large Language Models for Text-Attributed Graph Learning |
2024-02-19T10:04:59Z | http://arxiv.org/pdf/2402.12011v3 | http://arxiv.org/abs/2402.12011v3 | Francesco Periti, Nina Tahmasebi | 2024-03-08T14:50:40Z | cs.CL | Contextualized embeddings are the preferred tool for modeling Lexical
Semantic Change (LSC). Current evaluations typically focus on a specific task
known as Graded Change Detection (GCD). However, performance comparison across
work are often misleading due to their reliance on diverse settings. In this
paper, we evaluate state-of-the-art models and approaches for GCD under equal
conditions. We further break the LSC problem into Word-in-Context (WiC) and
Word Sense Induction (WSI) tasks, and compare models across these different
levels. Our evaluation is performed across different languages on eight
available benchmarks for LSC, and shows that (i) APD outperforms other
approaches for GCD; (ii) XL-LEXEME outperforms other contextualized models for
WiC, WSI, and GCD, while being comparable to GPT-4; (iii) there is a clear need
for improving the modeling of word meanings, as well as focus on how, when, and
why these meanings change, rather than solely focusing on the extent of
semantic change. | cs.CL | A Systematic Comparison of Contextualized Word Embeddings for Lexical Semantic Change |
2024-02-19T09:55:32Z | http://arxiv.org/pdf/2402.12419v1 | http://arxiv.org/abs/2402.12419v1 | Song Guo, Fan Wu, Lei Zhang, Xiawu Zheng, Shengchuan Zhang, Fei Chao, Yiyu Shi, Rongrong Ji | 2024-02-19T09:55:32Z | cs.LG, cs.AI, cs.CL | Existing methods for fine-tuning sparse LLMs often suffer from
resource-intensive requirements and high retraining costs. Additionally, many
fine-tuning methods often rely on approximations or heuristic optimization
strategies, which may lead to suboptimal solutions. To address these issues, we
propose an efficient and fast framework for fine-tuning sparse LLMs based on
minimizing reconstruction error. Our approach involves sampling a small dataset
for calibration and utilizing backpropagation to iteratively optimize
block-wise reconstruction error, on a block-by-block basis, aiming for optimal
solutions. Extensive experiments on various benchmarks consistently demonstrate
the superiority of our method over other baselines. For instance, on the
Wikitext2 dataset with LlamaV1-7B at 70% sparsity, our proposed EBFT achieves a
perplexity of 16.88, surpassing the state-of-the-art DSnoT with a perplexity of
75.14. Moreover, with a structured sparsity ratio of 26\%, EBFT achieves a
perplexity of 16.27, outperforming LoRA (perplexity 16.44). Furthermore, the
fine-tuning process of EBFT for LlamaV1-7B only takes approximately 30 minutes,
and the entire framework can be executed on a single 16GB GPU. The source code
is available at https://github.com/sunggo/EBFT. | cs.LG | EBFT: Effective and Block-Wise Fine-Tuning for Sparse LLMs |
2024-02-19T09:43:03Z | http://arxiv.org/pdf/2402.11997v1 | http://arxiv.org/abs/2402.11997v1 | Himanshu Beniwal, Kowsik Nandagopan D, Mayank Singh | 2024-02-19T09:43:03Z | cs.CL, cs.AI, cs.LG | Large Language Models (LLMs) are increasingly becoming ubiquitous, yet their
ability to reason about and retain temporal information remains limited. This
hinders their application in real-world scenarios where understanding the
sequential nature of events is crucial. This paper experiments with
state-of-the-art models on a novel, large-scale temporal dataset,
\textbf{TempUN}, to reveal significant limitations in temporal retention and
reasoning abilities. Interestingly, closed-source models indicate knowledge
gaps more frequently, potentially suggesting a trade-off between uncertainty
awareness and incorrect responses. Further, exploring various fine-tuning
approaches yielded no major performance improvements. The associated dataset
and code are available at the following URL
(https://github.com/lingoiitgn/TempUN). | cs.CL | Remember This Event That Year? Assessing Temporal Information and Reasoning in Large Language Models |
2024-02-19T09:24:02Z | http://arxiv.org/pdf/2402.14843v1 | http://arxiv.org/abs/2402.14843v1 | Yuxuan Liu, Tianchi Yang, Shaohan Huang, Zihan Zhang, Haizhen Huang, Furu Wei, Weiwei Deng, Feng Sun, Qi Zhang | 2024-02-19T09:24:02Z | cs.CL, cs.AI, cs.LG | Diffusion models have demonstrated exceptional capability in generating
high-quality images, videos, and audio. Due to their adaptiveness in iterative
refinement, they provide a strong potential for achieving better
non-autoregressive sequence generation. However, existing text diffusion models
still fall short in their performance due to a challenge in handling the
discreteness of language. This paper thoroughly analyzes text diffusion models
and uncovers two significant limitations: degradation of self-conditioning
during training and misalignment between training and sampling. Motivated by
our findings, we propose a novel Text Diffusion model called TREC, which
mitigates the degradation with Reinforced Conditioning and the misalignment by
Time-Aware Variance Scaling. Our extensive experiments demonstrate the
competitiveness of TREC against autoregressive, non-autoregressive, and
diffusion baselines. Moreover, qualitative analysis shows its advanced ability
to fully utilize the diffusion process in refining samples. | cs.CL | Text Diffusion with Reinforced Conditioning |
2024-02-19T09:19:50Z | http://arxiv.org/pdf/2402.11975v2 | http://arxiv.org/abs/2402.11975v2 | Nuo Chen, Hongguang Li, Juhua Huang, Baoyuan Wang, Jia Li | 2024-07-01T09:38:06Z | cs.CL | Existing retrieval-based methods have made significant strides in maintaining
long-term conversations. However, these approaches face challenges in memory
database management and accurate memory retrieval, hindering their efficacy in
dynamic, real-world interactions. This study introduces a novel framework,
COmpressive Memory-Enhanced Dialogue sYstems (COMEDY), which eschews
traditional retrieval modules and memory databases. Instead, COMEDY adopts a
"One-for-All" approach, utilizing a single language model to manage memory
generation, compression, and response generation. Central to this framework is
the concept of compressive memory, which intergrates session-specific
summaries, user-bot dynamics, and past events into a concise memory format. To
support COMEDY, we curated a large-scale Chinese instruction-tuning dataset,
Dolphin, derived from real user-chatbot interactions. Comparative evaluations
demonstrate COMEDY's superiority over traditional retrieval-based methods in
producing more nuanced and human-like conversational experiences. Our codes are
available at https://github.com/nuochenpku/COMEDY. | cs.CL | Compress to Impress: Unleashing the Potential of Compressive Memory in Real-World Long-Term Conversations |
2024-02-19T09:15:28Z | http://arxiv.org/pdf/2402.11968v2 | http://arxiv.org/abs/2402.11968v2 | Verena Blaschke, Christoph Purschke, Hinrich Schütze, Barbara Plank | 2024-06-07T13:05:01Z | cs.CL | Natural language processing (NLP) has largely focused on modelling
standardized languages. More recently, attention has increasingly shifted to
local, non-standardized languages and dialects. However, the relevant speaker
populations' needs and wishes with respect to NLP tools are largely unknown. In
this paper, we focus on dialects and regional languages related to German -- a
group of varieties that is heterogeneous in terms of prestige and
standardization. We survey speakers of these varieties (N=327) and present
their opinions on hypothetical language technologies for their dialects.
Although attitudes vary among subgroups of our respondents, we find that
respondents are especially in favour of potential NLP tools that work with
dialectal input (especially audio input) such as virtual assistants, and less
so for applications that produce dialectal output such as machine translation
or spellcheckers. | cs.CL | What Do Dialect Speakers Want? A Survey of Attitudes Towards Language Technology for German Dialects |
2024-02-19T09:07:59Z | http://arxiv.org/pdf/2402.13284v2 | http://arxiv.org/abs/2402.13284v2 | Qinggang Zhang, Junnan Dong, Hao Chen, Wentao Li, Feiran Huang, Xiao Huang | 2024-03-27T14:30:44Z | cs.DB, cs.AI, cs.CL | Generating accurate Structured Querying Language (SQL) is a long-standing
problem, especially in matching users' semantic queries with structured
databases and then generating structured SQL. Existing models typically input
queries and database schemas into the LLM and rely on the LLM to perform
semantic-structure matching and generate structured SQL. However, such
solutions overlook the structural information within user queries and
databases, which can be utilized to enhance the generation of structured SQL.
This oversight can lead to inaccurate or unexecutable SQL generation. To fully
exploit the structure, we propose a structure-to-SQL framework, which leverages
the inherent structure information to improve the SQL generation of LLMs.
Specifically, we introduce our Structure Guided SQL~(SGU-SQL) generation model.
SGU-SQL first links user queries and databases in a structure-enhanced manner.
It then decomposes complicated linked structures with grammar trees to guide
the LLM to generate the SQL step by step. Extensive experiments on two
benchmark datasets illustrate that SGU-SQL can outperform sixteen SQL
generation baselines. | cs.DB | Structure Guided Large Language Model for SQL Generation |
2024-02-19T09:04:30Z | http://arxiv.org/pdf/2402.11960v1 | http://arxiv.org/abs/2402.11960v1 | Hong Chen, Chengtao Lv, Liang Ding, Haotong Qin, Xiabin Zhou, Yifu Ding, Xuebo Liu, Min Zhang, Jinyang Guo, Xianglong Liu, Dacheng Tao | 2024-02-19T09:04:30Z | cs.LG, cs.AI, cs.CL | Large language models (LLMs) have significantly advanced the field of natural
language processing, while the expensive memory and computation consumption
impede their practical deployment. Quantization emerges as one of the most
effective methods for improving the computational efficiency of LLMs. However,
existing ultra-low-bit quantization always causes severe accuracy drops. In
this paper, we empirically relieve the micro and macro characteristics of
ultra-low bit quantization and present a novel Dual-Binarization method for
LLMs, namely DB-LLM. For the micro-level, we take both the accuracy advantage
of 2-bit-width and the efficiency advantage of binarization into account,
introducing Flexible Dual Binarization (FDB). By splitting 2-bit quantized
weights into two independent sets of binaries, FDB ensures the accuracy of
representations and introduces flexibility, utilizing the efficient bitwise
operations of binarization while retaining the inherent high sparsity of
ultra-low bit quantization. For the macro-level, we find the distortion that
exists in the prediction of LLM after quantization, which is specified as the
deviations related to the ambiguity of samples. We propose the Deviation-Aware
Distillation (DAD) method, enabling the model to focus differently on various
samples. Comprehensive experiments show that our DB-LLM not only significantly
surpasses the current State-of-The-Art (SoTA) in ultra-low bit quantization
(eg, perplexity decreased from 9.64 to 7.23), but also achieves an additional
20\% reduction in computational consumption compared to the SOTA method under
the same bit-width. Our code will be released soon. | cs.LG | DB-LLM: Accurate Dual-Binarization for Efficient LLMs |
2024-02-19T09:00:10Z | http://arxiv.org/pdf/2402.11958v1 | http://arxiv.org/abs/2402.11958v1 | Anqi Li, Yu Lu, Nirui Song, Shuai Zhang, Lizhi Ma, Zhenzhong Lan | 2024-02-19T09:00:10Z | cs.CL | High-quality psychological counseling is crucial for mental health worldwide,
and timely evaluation is vital for ensuring its effectiveness. However,
obtaining professional evaluation for each counseling session is expensive and
challenging. Existing methods that rely on self or third-party manual reports
to assess the quality of counseling suffer from subjective biases and
limitations of time-consuming.
To address above challenges, this paper proposes an innovative and efficient
automatic approach using large language models (LLMs) to evaluate the working
alliance in counseling conversations. We collected a comprehensive counseling
dataset and conducted multiple third-party evaluations based on therapeutic
relationship theory. Our LLM-based evaluation, combined with our guidelines,
shows high agreement with human evaluations and provides valuable insights into
counseling scripts. This highlights the potential of LLMs as supervisory tools
for psychotherapists. By integrating LLMs into the evaluation process, our
approach offers a cost-effective and dependable means of assessing counseling
quality, enhancing overall effectiveness. | cs.CL | Automatic Evaluation for Mental Health Counseling using LLMs |
2024-02-19T08:52:12Z | http://arxiv.org/pdf/2402.11955v1 | http://arxiv.org/abs/2402.11955v1 | Tohida Rehman, Raghubir Bose, Soumik Dey, Samiran Chattopadhyay | 2024-02-19T08:52:12Z | cs.CL, cs.AI | This paper explores the realm of abstractive text summarization through the
lens of the SEASON (Salience Allocation as Guidance for Abstractive
SummarizatiON) technique, a model designed to enhance summarization by
leveraging salience allocation techniques. The study evaluates SEASON's
efficacy by comparing it with prominent models like BART, PEGASUS, and
ProphetNet, all fine-tuned for various text summarization tasks. The assessment
is conducted using diverse datasets including CNN/Dailymail, SAMSum, and
Financial-news based Event-Driven Trading (EDT), with a specific focus on a
financial dataset containing a substantial volume of news articles from
2020/03/01 to 2021/05/06. This paper employs various evaluation metrics such as
ROUGE, METEOR, BERTScore, and MoverScore to evaluate the performance of these
models fine-tuned for generating abstractive summaries. The analysis of these
metrics offers a thorough insight into the strengths and weaknesses
demonstrated by each model in summarizing news dataset, dialogue dataset and
financial text dataset. The results presented in this paper not only contribute
to the evaluation of the SEASON model's effectiveness but also illuminate the
intricacies of salience allocation techniques across various types of datasets. | cs.CL | Analysis of Multidomain Abstractive Summarization Using Salience Allocation |
2024-02-19T08:32:27Z | http://arxiv.org/pdf/2402.11943v2 | http://arxiv.org/abs/2402.11943v2 | Keyang Xuan, Li Yi, Fan Yang, Ruochen Wu, Yi R. Fung, Heng Ji | 2024-06-20T20:20:30Z | cs.CL | The rise of multimodal misinformation on social platforms poses significant
challenges for individuals and societies. Its increased credibility and broader
impact compared to textual misinformation make detection complex, requiring
robust reasoning across diverse media types and profound knowledge for accurate
verification. The emergence of Large Vision Language Model (LVLM) offers a
potential solution to this problem. Leveraging their proficiency in processing
visual and textual information, LVLM demonstrates promising capabilities in
recognizing complex information and exhibiting strong reasoning skills. In this
paper, we first investigate the potential of LVLM on multimodal misinformation
detection. We find that even though LVLM has a superior performance compared to
LLMs, its profound reasoning may present limited power with a lack of evidence.
Based on these observations, we propose LEMMA: LVLM-Enhanced Multimodal
Misinformation Detection with External Knowledge Augmentation. LEMMA leverages
LVLM intuition and reasoning capabilities while augmenting them with external
knowledge to enhance the accuracy of misinformation detection. Our method
improves the accuracy over the top baseline LVLM by 7% and 13% on Twitter and
Fakeddit datasets respectively. | cs.CL | LEMMA: Towards LVLM-Enhanced Multimodal Misinformation Detection with External Knowledge Augmentation |
2024-02-19T08:29:03Z | http://arxiv.org/pdf/2402.11941v3 | http://arxiv.org/abs/2402.11941v3 | Xinbei Ma, Zhuosheng Zhang, Hai Zhao | 2024-06-02T13:25:05Z | cs.CL | Multimodal large language models (MLLMs) have shown remarkable potential as
human-like autonomous language agents to interact with real-world environments,
especially for graphical user interface (GUI) automation. However, those GUI
agents require comprehensive cognition ability including exhaustive perception
and reliable action response. We propose a Comprehensive Cognitive LLM Agent,
CoCo-Agent, with two novel approaches, comprehensive environment perception
(CEP) and conditional action prediction (CAP), to systematically improve the
GUI automation performance. First, CEP facilitates the GUI perception through
different aspects and granularity, including screenshots and complementary
detailed layouts for the visual channel and historical actions for the textual
channel. Second, CAP decomposes the action prediction into sub-problems: action
type prediction and action target conditioned on the action type. With our
technical design, our agent achieves new state-of-the-art performance on AITW
and META-GUI benchmarks, showing promising abilities in realistic scenarios.
Code is available at https://github.com/xbmxb/CoCo-Agent. | cs.CL | CoCo-Agent: A Comprehensive Cognitive MLLM Agent for Smartphone GUI Automation |
2024-02-19T08:22:51Z | http://arxiv.org/pdf/2402.11934v1 | http://arxiv.org/abs/2402.11934v1 | Xiaoman Xu, Xiangrun Li, Taihang Wang, Jianxiang Tian, Ye Jiang | 2024-02-19T08:22:51Z | cs.CL, cs.AI | This paper presents the participation of team QUST in Task 8 SemEval 2024. We
first performed data augmentation and cleaning on the dataset to enhance model
training efficiency and accuracy. In the monolingual task, we evaluated
traditional deep-learning methods, multiscale positive-unlabeled framework
(MPU), fine-tuning, adapters and ensemble methods. Then, we selected the
top-performing models based on their accuracy from the monolingual models and
evaluated them in subtasks A and B. The final model construction employed a
stacking ensemble that combined fine-tuning with MPU. Our system achieved 8th
(scored 8th in terms of accuracy, officially ranked 13th) place in the official
test set in multilingual settings of subtask A. We release our system code
at:https://github.com/warmth27/SemEval2024_QUST | cs.CL | Team QUST at SemEval-2024 Task 8: A Comprehensive Study of Monolingual and Multilingual Approaches for Detecting AI-generated Text |
2024-02-19T08:12:30Z | http://arxiv.org/pdf/2402.11924v3 | http://arxiv.org/abs/2402.11924v3 | Jian Wu, Linyi Yang, Zhen Wang, Manabu Okumura, Yue Zhang | 2024-07-03T15:50:48Z | cs.CL | While Large Language Models (LLMs) excel in question-answering (QA) tasks,
their multi-step reasoning abilities on multiple evidence integration on
Multi-hop QA tasks remain underexplored. LLMs sometimes generate answers that
rely on internal memory rather than reasoning given context, which brings
concerns about the evaluation quality of real reasoning abilities. The
counterfactual QA task can separate internal memory from reasoning abilities,
but focusing solely on final-QA performance without evaluating the multi-step
reasoning process is insufficient for reporting LLMs' real reasoning abilities.
Current Multi-hop QA (MHQA) benchmarks are factual and annotated on open-source
corpora such as Wikipedia, although useful for multi-step reasoning evaluation,
showing limitations due to potential data contamination in LLMs pre-training
stage. To address this issue, we introduce the Inherent Reasoning Evaluation
(IRE) method, a novel evaluation way that jointly evaluates the LLMs'
chain-of-reasoning performance based on the first knowledge-edited
counterfactual multi-hop QA data which involves editing the original Wikipedia
passages, reducing data contamination risks. The IRE comprehensively assesses
reasoning chains through sub-QA and final-QA evaluations. Our comparisons
reveal significant performance gaps for several LLMs between Wikipedia-based
benchmarks and IRE, deeming data contamination issues in existing benchmarks.
We believe that the IRE benchmark will enhance and facilitate trustworthy LLM
evaluations. | cs.CL | Evaluating LLMs' Inherent Multi-hop Reasoning Ability |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.