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-21T15:14:20Z | http://arxiv.org/pdf/2402.13866v2 | http://arxiv.org/abs/2402.13866v2 | Jiayuan Luo, Songhua Yang, Xiaoling Qiu, Panyu Chen, Yufei Nai, Wenxuan Zeng, Wentao Zhang, Xinke Jiang | 2024-02-24T07:03:44Z | cs.CL, cs.AI | Large Language Models (LLMs) like ChatGPT and GPT-4 have demonstrated
impressive proficiency in comprehending and generating natural language.
However, they encounter difficulties when tasked with adapting to specialized
domains such as accounting. To address this challenge, we introduce Kuaiji, a
tailored Accounting Large Language Model. Kuaiji is meticulously fine-tuned
using the Baichuan framework, which encompasses continuous pre-training and
supervised fine-tuning processes. Supported by CAtAcctQA, a dataset containing
large genuine accountant-client dialogues, Kuaiji exhibits exceptional accuracy
and response speed. Our contributions encompass the creation of the first
Chinese accounting dataset, the establishment of Kuaiji as a leading
open-source Chinese accounting LLM, and the validation of its efficacy through
real-world accounting scenarios. | cs.CL | Kuaiji: the First Chinese Accounting Large Language Model |
2024-02-21T15:13:50Z | http://arxiv.org/pdf/2402.14872v2 | http://arxiv.org/abs/2402.14872v2 | Xiaoxia Li, Siyuan Liang, Jiyi Zhang, Han Fang, Aishan Liu, Ee-Chien Chang | 2024-02-27T13:49:22Z | cs.CL, cs.AI, cs.NE | Large Language Models (LLMs), used in creative writing, code generation, and
translation, generate text based on input sequences but are vulnerable to
jailbreak attacks, where crafted prompts induce harmful outputs. Most jailbreak
prompt methods use a combination of jailbreak templates followed by questions
to ask to create jailbreak prompts. However, existing jailbreak prompt designs
generally suffer from excessive semantic differences, resulting in an inability
to resist defenses that use simple semantic metrics as thresholds. Jailbreak
prompts are semantically more varied than the original questions used for
queries. In this paper, we introduce a Semantic Mirror Jailbreak (SMJ) approach
that bypasses LLMs by generating jailbreak prompts that are semantically
similar to the original question. We model the search for jailbreak prompts
that satisfy both semantic similarity and jailbreak validity as a
multi-objective optimization problem and employ a standardized set of genetic
algorithms for generating eligible prompts. Compared to the baseline
AutoDAN-GA, SMJ achieves attack success rates (ASR) that are at most 35.4%
higher without ONION defense and 85.2% higher with ONION defense. SMJ's better
performance in all three semantic meaningfulness metrics of Jailbreak Prompt,
Similarity, and Outlier, also means that SMJ is resistant to defenses that use
those metrics as thresholds. | cs.CL | Semantic Mirror Jailbreak: Genetic Algorithm Based Jailbreak Prompts Against Open-source LLMs |
2024-02-21T14:44:00Z | http://arxiv.org/pdf/2402.13846v1 | http://arxiv.org/abs/2402.13846v1 | Robin Staab, Mark Vero, Mislav Balunović, Martin Vechev | 2024-02-21T14:44:00Z | cs.AI, cs.CL, cs.CR, I.2.7 | Recent work in privacy research on large language models has shown that they
achieve near human-level performance at inferring personal data from real-world
online texts. With consistently increasing model capabilities, existing text
anonymization methods are currently lacking behind regulatory requirements and
adversarial threats. This raises the question of how individuals can
effectively protect their personal data in sharing online texts. In this work,
we take two steps to answer this question: We first present a new setting for
evaluating anonymizations in the face of adversarial LLMs inferences, allowing
for a natural measurement of anonymization performance while remedying some of
the shortcomings of previous metrics. We then present our LLM-based adversarial
anonymization framework leveraging the strong inferential capabilities of LLMs
to inform our anonymization procedure. In our experimental evaluation, we show
on real-world and synthetic online texts how adversarial anonymization
outperforms current industry-grade anonymizers both in terms of the resulting
utility and privacy. | cs.AI | Large Language Models are Advanced Anonymizers |
2024-02-21T13:57:36Z | http://arxiv.org/pdf/2402.13818v1 | http://arxiv.org/abs/2402.13818v1 | Hezhao Zhang, Lasana Harris, Nafise Sadat Moosavi | 2024-02-21T13:57:36Z | cs.CL | Dehumanization, characterized as a subtle yet harmful manifestation of hate
speech, involves denying individuals of their human qualities and often results
in violence against marginalized groups. Despite significant progress in
Natural Language Processing across various domains, its application in
detecting dehumanizing language is limited, largely due to the scarcity of
publicly available annotated data for this domain. This paper evaluates the
performance of cutting-edge NLP models, including GPT-4, GPT-3.5, and LLAMA-2,
in identifying dehumanizing language. Our findings reveal that while these
models demonstrate potential, achieving a 70\% accuracy rate in distinguishing
dehumanizing language from broader hate speech, they also display biases. They
are over-sensitive in classifying other forms of hate speech as dehumanization
for a specific subset of target groups, while more frequently failing to
identify clear cases of dehumanization for other target groups. Moreover,
leveraging one of the best-performing models, we automatically annotated a
larger dataset for training more accessible models. However, our findings
indicate that these models currently do not meet the high-quality data
generation threshold necessary for this task. | cs.CL | Beyond Hate Speech: NLP's Challenges and Opportunities in Uncovering Dehumanizing Language |
2024-02-21T13:54:53Z | http://arxiv.org/pdf/2402.14871v1 | http://arxiv.org/abs/2402.14871v1 | Emanuele Musumeci, Michele Brienza, Vincenzo Suriani, Daniele Nardi, Domenico Daniele Bloisi | 2024-02-21T13:54:53Z | cs.CL, cs.AI, cs.HC | In the last years' digitalization process, the creation and management of
documents in various domains, particularly in Public Administration (PA), have
become increasingly complex and diverse. This complexity arises from the need
to handle a wide range of document types, often characterized by
semi-structured forms. Semi-structured documents present a fixed set of data
without a fixed format. As a consequence, a template-based solution cannot be
used, as understanding a document requires the extraction of the data
structure. The recent introduction of Large Language Models (LLMs) has enabled
the creation of customized text output satisfying user requests. In this work,
we propose a novel approach that combines the LLMs with prompt engineering and
multi-agent systems for generating new documents compliant with a desired
structure. The main contribution of this work concerns replacing the commonly
used manual prompting with a task description generated by semantic retrieval
from an LLM. The potential of this approach is demonstrated through a series of
experiments and case studies, showcasing its effectiveness in real-world PA
scenarios. | cs.CL | LLM Based Multi-Agent Generation of Semi-structured Documents from Semantic Templates in the Public Administration Domain |
2024-02-21T13:30:34Z | http://arxiv.org/pdf/2402.13800v1 | http://arxiv.org/abs/2402.13800v1 | Elisa Leonardelli, Sara Tonelli | 2024-02-21T13:30:34Z | cs.CL, cs.SI | The online diffusion of information related to Europe and migration has been
little investigated from an external point of view. However, this is a very
relevant topic, especially if users have had no direct contact with Europe and
its perception depends solely on information retrieved online. In this work we
analyse the information circulating online about Europe and migration after
retrieving a large amount of data from social media (Twitter), to gain new
insights into topics, magnitude, and dynamics of their diffusion. We combine
retweets and hashtags network analysis with geolocation of users, linking thus
data to geography and allowing analysis from an "outside Europe" perspective,
with a special focus on Africa. We also introduce a novel approach based on
cross-lingual quotes, i.e. when content in a language is commented and
retweeted in another language, assuming these interactions are a proxy for
connections between very distant communities. Results show how the majority of
online discussions occurs at a national level, especially when discussing
migration. Language (English) is pivotal for information to become
transnational and reach far. Transnational information flow is strongly
unbalanced, with content mainly produced in Europe and amplified outside.
Conversely Europe-based accounts tend to be self-referential when they discuss
migration-related topics. Football is the most exported topic from Europe
worldwide. Moreover, important nodes in the communities discussing
migration-related topics include accounts of official institutions and
international agencies, together with journalists, news, commentators and
activists. | cs.CL | The Geography of Information Diffusion in Online Discourse on Europe and Migration |
2024-02-21T12:38:59Z | http://arxiv.org/pdf/2402.13764v3 | http://arxiv.org/abs/2402.13764v3 | Tian Lan, Wenwei Zhang, Chen Xu, Heyan Huang, Dahua Lin, Kai Chen, Xian-ling Mao | 2024-02-23T02:44:52Z | cs.CL, cs.AI | Critique ability are crucial in the scalable oversight and self-improvement
of Large Language Models (LLMs). While many recent studies explore the critique
ability of LLMs to judge and refine flaws in generations, how to
comprehensively and reliably measure the critique abilities of LLMs is
under-explored. This paper introduces CriticBench, a novel benchmark designed
to comprehensively and reliably evaluate four key critique ability dimensions
of LLMs: feedback, comparison, refinement and meta-feedback. CriticBench
encompasses nine diverse tasks, each assessing the LLMs' ability to critique
responses at varying levels of quality granularity. Our extensive evaluations
of open-source and closed-source LLMs reveal intriguing relationships between
the critique ability and tasks, response qualities, and model scales. Datasets,
resources and evaluation toolkit for CriticBench will be publicly released at
https://github.com/open-compass/CriticBench. | cs.CL | CriticBench: Evaluating Large Language Models as Critic |
2024-02-21T12:35:19Z | http://arxiv.org/pdf/2402.13758v1 | http://arxiv.org/abs/2402.13758v1 | Zheheng Luo, Qianqian Xie, Sophia Ananiadou | 2024-02-21T12:35:19Z | cs.CL | Factual inconsistency with source documents in automatically generated
summaries can lead to misinformation or pose risks. Existing factual
consistency(FC) metrics are constrained by their performance, efficiency, and
explainability. Recent advances in Large language models (LLMs) have
demonstrated remarkable potential in text evaluation but their effectiveness in
assessing FC in summarisation remains underexplored. Prior research has mostly
focused on proprietary LLMs, leaving essential factors that affect their
assessment capabilities unexplored. Additionally, current FC evaluation
benchmarks are restricted to news articles, casting doubt on the generality of
the FC methods tested on them. In this paper, we first address the gap by
introducing TreatFact a dataset of LLM-generated summaries of clinical texts,
annotated for FC by domain experts. Moreover, we benchmark 11 LLMs for FC
evaluation across news and clinical domains and analyse the impact of model
size, prompts, pre-training and fine-tuning data. Our findings reveal that
despite proprietary models prevailing on the task, open-source LLMs lag behind.
Nevertheless, there is potential for enhancing the performance of open-source
LLMs through increasing model size, expanding pre-training data, and developing
well-curated fine-tuning data. Experiments on TreatFact suggest that both
previous methods and LLM-based evaluators are unable to capture factual
inconsistencies in clinical summaries, posing a new challenge for FC
evaluation. | cs.CL | Factual Consistency Evaluation of Summarisation in the Era of Large Language Models |
2024-02-21T12:30:33Z | http://arxiv.org/pdf/2402.13753v1 | http://arxiv.org/abs/2402.13753v1 | Yiran Ding, Li Lyna Zhang, Chengruidong Zhang, Yuanyuan Xu, Ning Shang, Jiahang Xu, Fan Yang, Mao Yang | 2024-02-21T12:30:33Z | cs.CL | Large context window is a desirable feature in large language models (LLMs).
However, due to high fine-tuning costs, scarcity of long texts, and
catastrophic values introduced by new token positions, current extended context
windows are limited to around 128k tokens. This paper introduces LongRoPE that,
for the first time, extends the context window of pre-trained LLMs to an
impressive 2048k tokens, with up to only 1k fine-tuning steps at within 256k
training lengths, while maintaining performance at the original short context
window. This is achieved by three key innovations: (i) we identify and exploit
two forms of non-uniformities in positional interpolation through an efficient
search, providing a better initialization for fine-tuning and enabling an 8x
extension in non-fine-tuning scenarios; (ii) we introduce a progressive
extension strategy that first fine-tunes a 256k length LLM and then conducts a
second positional interpolation on the fine-tuned extended LLM to achieve a
2048k context window; (iii) we readjust LongRoPE on 8k length to recover the
short context window performance. Extensive experiments on LLaMA2 and Mistral
across various tasks demonstrate the effectiveness of our method. Models
extended via LongRoPE retain the original architecture with minor modifications
to the positional embedding, and can reuse most pre-existing optimizations. | cs.CL | LongRoPE: Extending LLM Context Window Beyond 2 Million Tokens |
2024-02-21T12:22:01Z | http://arxiv.org/pdf/2402.13750v1 | http://arxiv.org/abs/2402.13750v1 | Qian Zhao, Hao Qian, Ziqi Liu, Gong-Duo Zhang, Lihong Gu | 2024-02-21T12:22:01Z | cs.IR, cs.AI, cs.CL | Recommendation systems are widely used in e-commerce websites and online
platforms to address information overload. However, existing systems primarily
rely on historical data and user feedback, making it difficult to capture user
intent transitions. Recently, Knowledge Base (KB)-based models are proposed to
incorporate expert knowledge, but it struggle to adapt to new items and the
evolving e-commerce environment. To address these challenges, we propose a
novel Large Language Model based Complementary Knowledge Enhanced
Recommendation System (LLM-KERec). It introduces an entity extractor that
extracts unified concept terms from item and user information. To provide
cost-effective and reliable prior knowledge, entity pairs are generated based
on entity popularity and specific strategies. The large language model
determines complementary relationships in each entity pair, constructing a
complementary knowledge graph. Furthermore, a new complementary recall module
and an Entity-Entity-Item (E-E-I) weight decision model refine the scoring of
the ranking model using real complementary exposure-click samples. Extensive
experiments conducted on three industry datasets demonstrate the significant
performance improvement of our model compared to existing approaches.
Additionally, detailed analysis shows that LLM-KERec enhances users' enthusiasm
for consumption by recommending complementary items. In summary, LLM-KERec
addresses the limitations of traditional recommendation systems by
incorporating complementary knowledge and utilizing a large language model to
capture user intent transitions, adapt to new items, and enhance recommendation
efficiency in the evolving e-commerce landscape. | cs.IR | Breaking the Barrier: Utilizing Large Language Models for Industrial Recommendation Systems through an Inferential Knowledge Graph |
2024-02-21T12:12:16Z | http://arxiv.org/pdf/2402.13741v1 | http://arxiv.org/abs/2402.13741v1 | Guozheng Li, Wenjun Ke, Peng Wang, Zijie Xu, Ke Ji, Jiajun Liu, Ziyu Shang, Qiqing Luo | 2024-02-21T12:12:16Z | cs.CL, cs.AI | The in-context learning (ICL) for relational triple extraction (RTE) has
achieved promising performance, but still encounters two key challenges: (1)
how to design effective prompts and (2) how to select proper demonstrations.
Existing methods, however, fail to address these challenges appropriately. On
the one hand, they usually recast RTE task to text-to-text prompting formats,
which is unnatural and results in a mismatch between the output format at the
pre-training time and the inference time for large language models (LLMs). On
the other hand, they only utilize surface natural language features and lack
consideration of triple semantics in sample selection. These issues are
blocking improved performance in ICL for RTE, thus we aim to tackle prompt
designing and sample selection challenges simultaneously. To this end, we
devise a tabular prompting for RTE (\textsc{TableIE}) which frames RTE task
into a table generation task to incorporate explicit structured information
into ICL, facilitating conversion of outputs to RTE structures. Then we propose
instructive in-context learning (I$^2$CL) which only selects and annotates a
few samples considering internal triple semantics in massive unlabeled samples. | cs.CL | Unlocking Instructive In-Context Learning with Tabular Prompting for Relational Triple Extraction |
2024-02-21T12:11:28Z | http://arxiv.org/pdf/2402.13740v1 | http://arxiv.org/abs/2402.13740v1 | Luming Lu, Jiyuan An, Yujie Wang, Liner yang, Cunliang Kong, Zhenghao Liu, Shuo Wang, Haozhe Lin, Mingwei Fang, Yaping Huang, Erhong Yang | 2024-02-21T12:11:28Z | cs.CL | Natural Language Processing (NLP) technologies have revolutionized the way we
interact with information systems, with a significant focus on converting
natural language queries into formal query languages such as SQL. However, less
emphasis has been placed on the Corpus Query Language (CQL), a critical tool
for linguistic research and detailed analysis within text corpora. The manual
construction of CQL queries is a complex and time-intensive task that requires
a great deal of expertise, which presents a notable challenge for both
researchers and practitioners. This paper presents the first text-to-CQL task
that aims to automate the translation of natural language into CQL. We present
a comprehensive framework for this task, including a specifically curated
large-scale dataset and methodologies leveraging large language models (LLMs)
for effective text-to-CQL task. In addition, we established advanced evaluation
metrics to assess the syntactic and semantic accuracy of the generated queries.
We created innovative LLM-based conversion approaches and detailed experiments.
The results demonstrate the efficacy of our methods and provide insights into
the complexities of text-to-CQL task. | cs.CL | From Text to CQL: Bridging Natural Language and Corpus Search Engine |
2024-02-21T11:50:32Z | http://arxiv.org/pdf/2402.13731v2 | http://arxiv.org/abs/2402.13731v2 | Yuheng Chen, Pengfei Cao, Yubo Chen, Yining Wang, Shengping Liu, Kang Liu, Jun Zhao | 2024-06-17T03:44:10Z | cs.CL, cs.AI | Large language models (LLMs) store extensive factual knowledge, but the
underlying mechanisms remain unclear. Previous research suggests that factual
knowledge is stored within multi-layer perceptron weights, and some storage
units exhibit degeneracy, referred to as Degenerate Knowledge Neurons (DKNs).
Despite the novelty and unique properties of this concept, it has not been
rigorously defined or systematically studied. We first consider the connection
weight patterns of MLP neurons and define DKNs from both structural and
functional aspects. Based on this, we introduce the Neurological Topology
Clustering method, which allows the formation of DKNs in any numbers and
structures, leading to a more accurate DKN acquisition. Furthermore, inspired
by cognitive science, we explore the relationship between DKNs and the
robustness, evolvability, and complexity of LLMs. Our execution of 34
experiments under 6 settings demonstrates the connection between DKNs and these
three properties. The code will be available soon. | cs.CL | Cracking Factual Knowledge: A Comprehensive Analysis of Degenerate Knowledge Neurons in Large Language Models |
2024-02-21T11:33:09Z | http://arxiv.org/pdf/2402.13722v1 | http://arxiv.org/abs/2402.13722v1 | S M Rafiuddin, Mohammed Rakib, Sadia Kamal, Arunkumar Bagavathi | 2024-02-21T11:33:09Z | cs.CL | Aspect-Based Sentiment Analysis (ABSA) is a fine-grained linguistics problem
that entails the extraction of multifaceted aspects, opinions, and sentiments
from the given text. Both standalone and compound ABSA tasks have been
extensively used in the literature to examine the nuanced information present
in online reviews and social media posts. Current ABSA methods often rely on
static hyperparameters for attention-masking mechanisms, which can struggle
with context adaptation and may overlook the unique relevance of words in
varied situations. This leads to challenges in accurately analyzing complex
sentences containing multiple aspects with differing sentiments. In this work,
we present adaptive masking methods that remove irrelevant tokens based on
context to assist in Aspect Term Extraction and Aspect Sentiment Classification
subtasks of ABSA. We show with our experiments that the proposed methods
outperform the baseline methods in terms of accuracy and F1 scores on four
benchmark online review datasets. Further, we show that the proposed methods
can be extended with multiple adaptations and demonstrate a qualitative
analysis of the proposed approach using sample text for aspect term extraction. | cs.CL | Exploiting Adaptive Contextual Masking for Aspect-Based Sentiment Analysis |
2024-02-21T11:31:28Z | http://arxiv.org/pdf/2402.13720v2 | http://arxiv.org/abs/2402.13720v2 | Weilin Zhao, Yuxiang Huang, Xu Han, Wang Xu, Chaojun Xiao, Xinrong Zhang, Yewei Fang, Kaihuo Zhang, Zhiyuan Liu, Maosong Sun | 2024-06-26T04:52:02Z | cs.CL | Speculative decoding is a widely used method that accelerates the generation
process of large language models (LLMs) with no compromise in model
performance. It achieves this goal by using an existing smaller model for
drafting and then employing the target LLM to verify the draft in a low-cost
parallel manner. Under such a drafting-verification framework, drafting
efficiency has become a bottleneck in the final speedup of speculative
decoding. Therefore, generating longer drafts at less cost can lead to better
decoding speedup. To achieve this, we introduce Ouroboros, which can generate
draft phrases to parallelize the drafting process and meanwhile lengthen drafts
in a training-free manner. The experimental results on various typical text
generation tasks show that Ouroboros can achieve speedups of up to $2.4\times$
over speculative decoding and $3.9\times$ over vanilla decoding, without
fine-tuning draft and target models. | cs.CL | Ouroboros: Generating Longer Drafts Phrase by Phrase for Faster Speculative Decoding |
2024-02-21T11:31:04Z | http://arxiv.org/pdf/2402.14867v1 | http://arxiv.org/abs/2402.14867v1 | Esra'a Alhenawi, Ruba Abu Khurma, Pedro A. Castillo, Maribel G. Arenas | 2024-02-21T11:31:04Z | cs.CL, cs.AI, cs.LG | Classifying text is a method for categorizing documents into pre-established
groups. Text documents must be prepared and represented in a way that is
appropriate for the algorithms used for data mining prior to classification. As
a result, a number of term weighting strategies have been created in the
literature to enhance text categorization algorithms' functionality. This study
compares the effects of Binary and Term frequency weighting feature
methodologies on the text's classification method when stop words are
eliminated once and when they are not. In recognition of assessing the effects
of prior weighting of features approaches on classification results in terms of
accuracy, recall, precision, and F-measure values, we used an Arabic data set
made up of 322 documents divided into six main topics (agriculture, economy,
health, politics, science, and sport), each of which contains 50 documents,
with the exception of the health category, which contains 61 documents. The
results demonstrate that for all metrics, the term frequency feature weighting
approach with stop word removal outperforms the binary approach, while for
accuracy, recall, and F-Measure, the binary approach outperforms the TF
approach without stop word removal. However, for precision, the two approaches
produce results that are very similar. Additionally, it is clear from the data
that, using the same phrase weighting approach, stop word removing increases
classification accuracy. | cs.CL | Effects of term weighting approach with and without stop words removing on Arabic text classification |
2024-02-21T11:30:29Z | http://arxiv.org/pdf/2402.13718v3 | http://arxiv.org/abs/2402.13718v3 | Xinrong Zhang, Yingfa Chen, Shengding Hu, Zihang Xu, Junhao Chen, Moo Khai Hao, Xu Han, Zhen Leng Thai, Shuo Wang, Zhiyuan Liu, Maosong Sun | 2024-02-24T15:07:55Z | cs.CL | Processing and reasoning over long contexts is crucial for many practical
applications of Large Language Models (LLMs), such as document comprehension
and agent construction. Despite recent strides in making LLMs process contexts
with more than 100K tokens, there is currently a lack of a standardized
benchmark to evaluate this long-context capability. Existing public benchmarks
typically focus on contexts around 10K tokens, limiting the assessment and
comparison of LLMs in processing longer contexts. In this paper, we propose
$\infty$Bench, the first LLM benchmark featuring an average data length
surpassing 100K tokens. $\infty$Bench comprises synthetic and realistic tasks
spanning diverse domains, presented in both English and Chinese. The tasks in
$\infty$Bench are designed to require well understanding of long dependencies
in contexts, and make simply retrieving a limited number of passages from
contexts not sufficient for these tasks. In our experiments, based on
$\infty$Bench, we evaluate the state-of-the-art proprietary and open-source
LLMs tailored for processing long contexts. The results indicate that existing
long context LLMs still require significant advancements to effectively process
100K+ context. We further present three intriguing analyses regarding the
behavior of LLMs processing long context. | cs.CL | $\infty$Bench: Extending Long Context Evaluation Beyond 100K Tokens |
2024-02-21T11:30:20Z | http://arxiv.org/pdf/2402.13717v2 | http://arxiv.org/abs/2402.13717v2 | Xiaoyan Yu, Tongxu Luo, Yifan Wei, Fangyu Lei, Yiming Huang, Hao Peng, Liehuang Zhu | 2024-03-01T08:20:48Z | cs.CL | Large Language Models (LLMs) have revolutionized open-domain dialogue agents
but encounter challenges in multi-character role-playing (MCRP) scenarios. To
address the issue, we present Neeko, an innovative framework designed for
efficient multiple characters imitation. Unlike existing methods, Neeko employs
a dynamic low-rank adapter (LoRA) strategy, enabling it to adapt seamlessly to
diverse characters. Our framework breaks down the role-playing process into
agent pre-training, multiple characters playing, and character incremental
learning, effectively handling both seen and unseen roles. This dynamic
approach, coupled with distinct LoRA blocks for each character, enhances
Neeko's adaptability to unique attributes, personalities, and speaking
patterns. As a result, Neeko demonstrates superior performance in MCRP over
most existing methods, offering more engaging and versatile user interaction
experiences. Code and data are available at
https://github.com/weiyifan1023/Neeko. | cs.CL | Neeko: Leveraging Dynamic LoRA for Efficient Multi-Character Role-Playing Agent |
2024-02-21T11:23:21Z | http://arxiv.org/pdf/2402.13709v2 | http://arxiv.org/abs/2402.13709v2 | Vamshi Krishna Bonagiri, Sreeram Vennam, Priyanshul Govil, Ponnurangam Kumaraguru, Manas Gaur | 2024-03-08T14:35:30Z | cs.CL, cs.AI | Despite recent advancements showcasing the impressive capabilities of Large
Language Models (LLMs) in conversational systems, we show that even
state-of-the-art LLMs are morally inconsistent in their generations,
questioning their reliability (and trustworthiness in general). Prior works in
LLM evaluation focus on developing ground-truth data to measure accuracy on
specific tasks. However, for moral scenarios that often lack universally
agreed-upon answers, consistency in model responses becomes crucial for their
reliability. To address this issue, we propose an information-theoretic measure
called Semantic Graph Entropy (SaGE), grounded in the concept of "Rules of
Thumb" (RoTs) to measure a model's moral consistency. RoTs are abstract
principles learned by a model and can help explain their decision-making
strategies effectively. To this extent, we construct the Moral Consistency
Corpus (MCC), containing 50K moral questions, responses to them by LLMs, and
the RoTs that these models followed. Furthermore, to illustrate the
generalizability of SaGE, we use it to investigate LLM consistency on two
popular datasets -- TruthfulQA and HellaSwag. Our results reveal that
task-accuracy and consistency are independent problems, and there is a dire
need to investigate these issues further. | cs.CL | SaGE: Evaluating Moral Consistency in Large Language Models |
2024-02-21T11:07:07Z | http://arxiv.org/pdf/2402.13703v1 | http://arxiv.org/abs/2402.13703v1 | Alexander Arno Weber, Klaudia Thellmann, Jan Ebert, Nicolas Flores-Herr, Jens Lehmann, Michael Fromm, Mehdi Ali | 2024-02-21T11:07:07Z | cs.CL | The adaption of multilingual pre-trained Large Language Models (LLMs) into
eloquent and helpful assistants is essential to facilitate their use across
different language regions. In that spirit, we are the first to conduct an
extensive study of the performance of multilingual models on parallel,
multi-turn instruction-tuning benchmarks across a selection of the most-spoken
Indo-European languages. We systematically examine the effects of language and
instruction dataset size on a mid-sized, multilingual LLM by instruction-tuning
it on parallel instruction-tuning datasets. Our results demonstrate that
instruction-tuning on parallel instead of monolingual corpora benefits
cross-lingual instruction following capabilities by up to 4.6%. Furthermore, we
show that the Superficial Alignment Hypothesis does not hold in general, as the
investigated multilingual 7B parameter model presents a counter-example
requiring large-scale instruction-tuning datasets. Finally, we conduct a human
annotation study to understand the alignment between human-based and
GPT-4-based evaluation within multilingual chat scenarios. | cs.CL | Investigating Multilingual Instruction-Tuning: Do Polyglot Models Demand for Multilingual Instructions? |
2024-02-21T10:53:45Z | http://arxiv.org/pdf/2402.13693v2 | http://arxiv.org/abs/2402.13693v2 | Yuanze Ji, Bobo Li, Jun Zhou, Fei Li, Chong Teng, Donghong Ji | 2024-03-01T07:12:20Z | cs.CL | Multimodal Named Entity Recognition (MNER) is a pivotal task designed to
extract named entities from text with the support of pertinent images.
Nonetheless, a notable paucity of data for Chinese MNER has considerably
impeded the progress of this natural language processing task within the
Chinese domain. Consequently, in this study, we compile a Chinese Multimodal
NER dataset (CMNER) utilizing data sourced from Weibo, China's largest social
media platform. Our dataset encompasses 5,000 Weibo posts paired with 18,326
corresponding images. The entities are classified into four distinct
categories: person, location, organization, and miscellaneous. We perform
baseline experiments on CMNER, and the outcomes underscore the effectiveness of
incorporating images for NER. Furthermore, we conduct cross-lingual experiments
on the publicly available English MNER dataset (Twitter2015), and the results
substantiate our hypothesis that Chinese and English multimodal NER data can
mutually enhance the performance of the NER model. | cs.CL | CMNER: A Chinese Multimodal NER Dataset based on Social Media |
2024-02-21T10:09:56Z | http://arxiv.org/pdf/2402.13671v2 | http://arxiv.org/abs/2402.13671v2 | Michal Spiegel, Dominik Macko | 2024-06-17T13:43:28Z | cs.CL, cs.AI | SemEval-2024 Task 8 is focused on multigenerator, multidomain, and
multilingual black-box machine-generated text detection. Such a detection is
important for preventing a potential misuse of large language models (LLMs),
the newest of which are very capable in generating multilingual human-like
texts. We have coped with this task in multiple ways, utilizing language
identification and parameter-efficient fine-tuning of smaller LLMs for text
classification. We have further used the per-language classification-threshold
calibration to uniquely combine fine-tuned models predictions with statistical
detection metrics to improve generalization of the system detection
performance. Our submitted method achieved competitive results, ranking at the
fourth place, just under 1 percentage point behind the winner. | cs.CL | KInIT at SemEval-2024 Task 8: Fine-tuned LLMs for Multilingual Machine-Generated Text Detection |
2024-02-21T10:06:08Z | http://arxiv.org/pdf/2402.13669v2 | http://arxiv.org/abs/2402.13669v2 | Zhaorui Yang, Tianyu Pang, Haozhe Feng, Han Wang, Wei Chen, Minfeng Zhu, Qian Liu | 2024-05-28T06:39:17Z | cs.CL | The surge in Large Language Models (LLMs) has revolutionized natural language
processing, but fine-tuning them for specific tasks often encounters challenges
in balancing performance and preserving general instruction-following
abilities. In this paper, we posit that the distribution gap between task
datasets and the LLMs serves as the primary underlying cause. To address the
problem, we introduce Self-Distillation Fine-Tuning (SDFT), a novel approach
that bridges the distribution gap by guiding fine-tuning with a distilled
dataset generated by the model itself to match its original distribution.
Experimental results on the Llama-2-chat model across various benchmarks
demonstrate that SDFT effectively mitigates catastrophic forgetting while
achieving comparable or superior performance on downstream tasks compared to
the vanilla fine-tuning. Moreover, SDFT demonstrates the potential to maintain
the helpfulness and safety alignment of LLMs. Our code is available at
https://github.com/sail-sg/sdft. | cs.CL | Self-Distillation Bridges Distribution Gap in Language Model Fine-Tuning |
2024-02-21T09:59:20Z | http://arxiv.org/pdf/2402.13667v1 | http://arxiv.org/abs/2402.13667v1 | Jianghui Zhou, Ya Gao, Jie Liu, Xuemin Zhao, Zhaohua Yang, Yue Wu, Lirong Shi | 2024-02-21T09:59:20Z | cs.CL | Large language models(LLM) such as ChatGPT have substantially simplified the
generation of marketing copy, yet producing content satisfying domain specific
requirements, such as effectively engaging customers, remains a significant
challenge. In this work, we introduce the Genetic Copy Optimization Framework
(GCOF) designed to enhance both efficiency and engagememnt of marketing copy
creation. We conduct explicit feature engineering within the prompts of LLM.
Additionally, we modify the crossover operator in Genetic Algorithm (GA),
integrating it into the GCOF to enable automatic feature engineering. This
integration facilitates a self-iterative refinement of the marketing copy.
Compared to human curated copy, Online results indicate that copy produced by
our framework achieves an average increase in click-through rate (CTR) of over
$50\%$. | cs.CL | GCOF: Self-iterative Text Generation for Copywriting Using Large Language Model |
2024-02-21T09:45:08Z | http://arxiv.org/pdf/2402.13659v2 | http://arxiv.org/abs/2402.13659v2 | Da Yu, Peter Kairouz, Sewoong Oh, Zheng Xu | 2024-07-02T11:57:07Z | cs.CR, cs.CL | Service providers of large language model (LLM) applications collect user
instructions in the wild and use them in further aligning LLMs with users'
intentions. These instructions, which potentially contain sensitive
information, are annotated by human workers in the process. This poses a new
privacy risk not addressed by the typical private optimization. To this end, we
propose using synthetic instructions to replace real instructions in data
annotation and model fine-tuning. Formal differential privacy is guaranteed by
generating those synthetic instructions using privately fine-tuned generators.
Crucial in achieving the desired utility is our novel filtering algorithm that
matches the distribution of the synthetic instructions to that of the real
ones. In both supervised fine-tuning and reinforcement learning from human
feedback, our extensive experiments demonstrate the high utility of the final
set of synthetic instructions by showing comparable results to real
instructions. In supervised fine-tuning, models trained with private synthetic
instructions outperform leading open-source models such as Vicuna. | cs.CR | Privacy-Preserving Instructions for Aligning Large Language Models |
2024-02-21T09:28:02Z | http://arxiv.org/pdf/2402.13647v1 | http://arxiv.org/abs/2402.13647v1 | Lei Pan, Yunshi Lan, Yang Li, Weining Qian | 2024-02-21T09:28:02Z | cs.CL, cs.AI | Unsupervised Text Style Transfer (UTST) has emerged as a critical task within
the domain of Natural Language Processing (NLP), aiming to transfer one
stylistic aspect of a sentence into another style without changing its
semantics, syntax, or other attributes. This task is especially challenging
given the intrinsic lack of parallel text pairings. Among existing methods for
UTST tasks, attention masking approach and Large Language Models (LLMs) are
deemed as two pioneering methods. However, they have shortcomings in generating
unsmooth sentences and changing the original contents, respectively. In this
paper, we investigate if we can combine these two methods effectively. We
propose four ways of interactions, that are pipeline framework with tuned
orders; knowledge distillation from LLMs to attention masking model; in-context
learning with constructed parallel examples. We empirically show these
multi-way interactions can improve the baselines in certain perspective of
style strength, content preservation and text fluency. Experiments also
demonstrate that simply conducting prompting followed by attention
masking-based revision can consistently surpass the other systems, including
supervised text style transfer systems. On Yelp-clean and Amazon-clean
datasets, it improves the previously best mean metric by 0.5 and 3.0 absolute
percentages respectively, and achieves new SOTA results. | cs.CL | Unsupervised Text Style Transfer via LLMs and Attention Masking with Multi-way Interactions |
2024-02-21T09:17:51Z | http://arxiv.org/pdf/2402.13636v2 | http://arxiv.org/abs/2402.13636v2 | Ashutosh Sathe, Prachi Jain, Sunayana Sitaram | 2024-06-17T08:35:35Z | cs.CV, cs.CL, cs.CY | Vision-language models (VLMs) have gained widespread adoption in both
industry and academia. In this study, we propose a unified framework for
systematically evaluating gender, race, and age biases in VLMs with respect to
professions. Our evaluation encompasses all supported inference modes of the
recent VLMs, including image-to-text, text-to-text, text-to-image, and
image-to-image. Additionally, we propose an automated pipeline to generate
high-quality synthetic datasets that intentionally conceal gender, race, and
age information across different professional domains, both in generated text
and images. The dataset includes action-based descriptions of each profession
and serves as a benchmark for evaluating societal biases in vision-language
models (VLMs). In our comparative analysis of widely used VLMs, we have
identified that varying input-output modalities lead to discernible differences
in bias magnitudes and directions. Additionally, we find that VLM models
exhibit distinct biases across different bias attributes we investigated. We
hope our work will help guide future progress in improving VLMs to learn
socially unbiased representations. We will release our data and code. | cs.CV | A Unified Framework and Dataset for Assessing Societal Bias in Vision-Language Models |
2024-02-21T09:12:16Z | http://arxiv.org/pdf/2402.16733v1 | http://arxiv.org/abs/2402.16733v1 | Haneul Yoo, Jieun Han, So-Yeon Ahn, Alice Oh | 2024-02-21T09:12:16Z | cs.CL, cs.AI | Automated essay scoring (AES) is a useful tool in English as a Foreign
Language (EFL) writing education, offering real-time essay scores for students
and instructors. However, previous AES models were trained on essays and scores
irrelevant to the practical scenarios of EFL writing education and usually
provided a single holistic score due to the lack of appropriate datasets. In
this paper, we release DREsS, a large-scale, standard dataset for rubric-based
automated essay scoring. DREsS comprises three sub-datasets: DREsS_New,
DREsS_Std., and DREsS_CASE. We collect DREsS_New, a real-classroom dataset with
1.7K essays authored by EFL undergraduate students and scored by English
education experts. We also standardize existing rubric-based essay scoring
datasets as DREsS_Std. We suggest CASE, a corruption-based augmentation
strategy for essays, which generates 20K synthetic samples of DREsS_CASE and
improves the baseline results by 45.44%. DREsS will enable further research to
provide a more accurate and practical AES system for EFL writing education. | cs.CL | DREsS: Dataset for Rubric-based Essay Scoring on EFL Writing |
2024-02-21T08:54:47Z | http://arxiv.org/pdf/2402.13625v2 | http://arxiv.org/abs/2402.13625v2 | Wanqing Cui, Keping Bi, Jiafeng Guo, Xueqi Cheng | 2024-06-14T02:55:46Z | cs.CL | Since commonsense information has been recorded significantly less frequently
than its existence, language models pre-trained by text generation have
difficulty to learn sufficient commonsense knowledge. Several studies have
leveraged text retrieval to augment the models' commonsense ability. Unlike
text, images capture commonsense information inherently but little effort has
been paid to effectively utilize them. In this work, we propose a novel
Multi-mOdal REtrieval (MORE) augmentation framework, to leverage both text and
images to enhance the commonsense ability of language models. Extensive
experiments on the Common-Gen task have demonstrated the efficacy of MORE based
on the pre-trained models of both single and multiple modalities. | cs.CL | MORE: Multi-mOdal REtrieval Augmented Generative Commonsense Reasoning |
2024-02-21T08:50:40Z | http://arxiv.org/pdf/2402.13623v1 | http://arxiv.org/abs/2402.13623v1 | Sahil Mishra, Ujjwal Sudev, Tanmoy Chakraborty | 2024-02-21T08:50:40Z | cs.CL, cs.SI | Taxonomies represent an arborescence hierarchical structure that establishes
relationships among entities to convey knowledge within a specific domain. Each
edge in the taxonomy signifies a hypernym-hyponym relationship. Taxonomies find
utility in various real-world applications, such as e-commerce search engines
and recommendation systems. Consequently, there arises a necessity to enhance
these taxonomies over time. However, manually curating taxonomies with neoteric
data presents challenges due to limitations in available human resources and
the exponential growth of data. Therefore, it becomes imperative to develop
automatic taxonomy expansion methods. Traditional supervised taxonomy expansion
approaches encounter difficulties stemming from limited resources, primarily
due to the small size of existing taxonomies. This scarcity of training data
often leads to overfitting. In this paper, we propose FLAME, a novel approach
for taxonomy expansion in low-resource environments by harnessing the
capabilities of large language models that are trained on extensive real-world
knowledge. LLMs help compensate for the scarcity of domain-specific knowledge.
Specifically, FLAME leverages prompting in few-shot settings to extract the
inherent knowledge within the LLMs, ascertaining the hypernym entities within
the taxonomy. Furthermore, it employs reinforcement learning to fine-tune the
large language models, resulting in more accurate predictions. Experiments on
three real-world benchmark datasets demonstrate the effectiveness of FLAME in
real-world scenarios, achieving a remarkable improvement of 18.5% in accuracy
and 12.3% in Wu & Palmer metric over eight baselines. Furthermore, we elucidate
the strengths and weaknesses of FLAME through an extensive case study, error
analysis and ablation studies on the benchmarks. | cs.CL | FLAME: Self-Supervised Low-Resource Taxonomy Expansion using Large Language Models |
2024-02-21T08:29:26Z | http://arxiv.org/pdf/2402.13613v2 | http://arxiv.org/abs/2402.13613v2 | Hoang-Quynh Le, Duy-Cat Can, Khanh-Vinh Nguyen, Mai-Vu Tran | 2024-03-04T21:20:57Z | cs.CL, cs.LG | This paper presents a comprehensive overview of the Comparative Opinion
Mining from Vietnamese Product Reviews shared task (ComOM), held as part of the
10$^{th}$ International Workshop on Vietnamese Language and Speech Processing
(VLSP 2023). The primary objective of this shared task is to advance the field
of natural language processing by developing techniques that proficiently
extract comparative opinions from Vietnamese product reviews. Participants are
challenged to propose models that adeptly extract a comparative "quintuple"
from a comparative sentence, encompassing Subject, Object, Aspect, Predicate,
and Comparison Type Label. We construct a human-annotated dataset comprising
$120$ documents, encompassing $7427$ non-comparative sentences and $2468$
comparisons within $1798$ sentences. Participating models undergo evaluation
and ranking based on the Exact match macro-averaged quintuple F1 score. | cs.CL | Overview of the VLSP 2023 -- ComOM Shared Task: A Data Challenge for Comparative Opinion Mining from Vietnamese Product Reviews |
2024-02-21T08:26:43Z | http://arxiv.org/pdf/2402.13610v1 | http://arxiv.org/abs/2402.13610v1 | Bodhisattwa Prasad Majumder, Harshit Surana, Dhruv Agarwal, Sanchaita Hazra, Ashish Sabharwal, Peter Clark | 2024-02-21T08:26:43Z | cs.CL, cs.AI, cs.LG | With the accumulation of data at an unprecedented rate, its potential to fuel
scientific discovery is growing exponentially. This position paper urges the
Machine Learning (ML) community to exploit the capabilities of large generative
models (LGMs) to develop automated systems for end-to-end data-driven discovery
-- a paradigm encompassing the search and verification of hypotheses purely
from a set of provided datasets, without the need for additional data
collection or physical experiments. We first outline several desiderata for an
ideal data-driven discovery system. Then, through DATAVOYAGER, a
proof-of-concept utilizing GPT-4, we demonstrate how LGMs fulfill several of
these desiderata -- a feat previously unattainable -- while also highlighting
important limitations in the current system that open up opportunities for
novel ML research. We contend that achieving accurate, reliable, and robust
end-to-end discovery systems solely through the current capabilities of LGMs is
challenging. We instead advocate for fail-proof tool integration, along with
active user moderation through feedback mechanisms, to foster data-driven
scientific discoveries with efficiency and reproducibility. | cs.CL | Data-driven Discovery with Large Generative Models |
2024-02-21T08:21:12Z | http://arxiv.org/pdf/2402.13607v3 | http://arxiv.org/abs/2402.13607v3 | Fuwen Luo, Chi Chen, Zihao Wan, Zhaolu Kang, Qidong Yan, Yingjie Li, Xiaolong Wang, Siyu Wang, Ziyue Wang, Xiaoyue Mi, Peng Li, Ning Ma, Maosong Sun, Yang Liu | 2024-06-05T02:14:06Z | cs.CV, cs.CL | Multimodal large language models (MLLMs) have demonstrated promising results
in a variety of tasks that combine vision and language. As these models become
more integral to research and applications, conducting comprehensive
evaluations of their capabilities has grown increasingly important. However,
most existing benchmarks fail to consider that, in certain situations, images
need to be interpreted within a broader context. In this work, we introduce a
new benchmark, named as CODIS, designed to assess the ability of models to use
context provided in free-form text to enhance visual comprehension. Our
findings indicate that MLLMs consistently fall short of human performance on
this benchmark. Further analysis confirms that these models struggle to
effectively extract and utilize contextual information to improve their
understanding of images. This underscores the pressing need to enhance the
ability of MLLMs to comprehend visuals in a context-dependent manner. View our
project website at https://thunlp-mt.github.io/CODIS. | cs.CV | CODIS: Benchmarking Context-Dependent Visual Comprehension for Multimodal Large Language Models |
2024-02-21T08:20:06Z | http://arxiv.org/pdf/2402.13606v2 | http://arxiv.org/abs/2402.13606v2 | Boyang Xue, Hongru Wang, Rui Wang, Sheng Wang, Zezhong Wang, Yiming Du, Kam-Fai Wong | 2024-06-16T07:28:26Z | cs.CL | The tendency of Large Language Models (LLMs) to generate hallucinations and
exhibit overconfidence in predictions raises concerns regarding their
reliability. Confidence or uncertainty estimations indicating the extent of
trustworthiness of a model's response are essential to developing reliable AI
systems. Current research primarily focuses on LLM confidence estimations in
English, remaining a void for other widely used languages and impeding the
global development of reliable AI applications. This paper introduces a
comprehensive investigation of \textbf Multi\textbf{ling}ual
\textbf{Conf}idence estimation (\textsc{MlingConf}) on LLMs. First, we
introduce an elaborated and expert-checked multilingual QA dataset.
Subsequently, we delve into the performance of several confidence estimation
methods across diverse languages and examine how these confidence scores can
enhance LLM performance through self-refinement. Extensive experiments
conducted on the multilingual QA dataset demonstrate that confidence estimation
results vary in different languages, and the verbalized numerical confidence
estimation method exhibits the best performance among most languages over other
methods. Finally, the obtained confidence scores can consistently improve
performance as self-refinement feedback across various languages. | cs.CL | A Comprehensive Study of Multilingual Confidence Estimation on Large Language Models |
2024-02-21T08:12:26Z | http://arxiv.org/pdf/2402.13605v6 | http://arxiv.org/abs/2402.13605v6 | Jiyoung Lee, Minwoo Kim, Seungho Kim, Junghwan Kim, Seunghyun Won, Hwaran Lee, Edward Choi | 2024-06-06T03:22:38Z | cs.CL | For Large Language Models (LLMs) to be effectively deployed in a specific
country, they must possess an understanding of the nation's culture and basic
knowledge. To this end, we introduce National Alignment, which measures an
alignment between an LLM and a targeted country from two aspects: social value
alignment and common knowledge alignment. Social value alignment evaluates how
well the model understands nation-specific social values, while common
knowledge alignment examines how well the model captures basic knowledge
related to the nation. We constructed KorNAT, the first benchmark that measures
national alignment with South Korea. For the social value dataset, we obtained
ground truth labels from a large-scale survey involving 6,174 unique Korean
participants. For the common knowledge dataset, we constructed samples based on
Korean textbooks and GED reference materials. KorNAT contains 4K and 6K
multiple-choice questions for social value and common knowledge, respectively.
Our dataset creation process is meticulously designed and based on statistical
sampling theory and was refined through multiple rounds of human review. The
experiment results of seven LLMs reveal that only a few models met our
reference score, indicating a potential for further enhancement. KorNAT has
received government approval after passing an assessment conducted by a
government-affiliated organization dedicated to evaluating dataset quality.
Samples and detailed evaluation protocols of our dataset can be found in
https://huggingface.co/datasets/jiyounglee0523/KorNAT . | cs.CL | KorNAT: LLM Alignment Benchmark for Korean Social Values and Common Knowledge |
2024-02-21T08:10:43Z | http://arxiv.org/pdf/2402.13604v2 | http://arxiv.org/abs/2402.13604v2 | Christian Møller Dahl, Torben Johansen, Christian Vedel | 2024-04-02T14:56:18Z | cs.CL, econ.EM, I.2.7; I.7.0 | This paper introduces a new tool, OccCANINE, to automatically transform
occupational descriptions into the HISCO classification system. The manual work
involved in processing and classifying occupational descriptions is
error-prone, tedious, and time-consuming. We finetune a preexisting language
model (CANINE) to do this automatically, thereby performing in seconds and
minutes what previously took days and weeks. The model is trained on 14 million
pairs of occupational descriptions and HISCO codes in 13 different languages
contributed by 22 different sources. Our approach is shown to have accuracy,
recall, and precision above 90 percent. Our tool breaks the metaphorical HISCO
barrier and makes this data readily available for analysis of occupational
structures with broad applicability in economics, economic history, and various
related disciplines. | cs.CL | Breaking the HISCO Barrier: Automatic Occupational Standardization with OccCANINE |
2024-02-21T08:03:27Z | http://arxiv.org/pdf/2402.13598v1 | http://arxiv.org/abs/2402.13598v1 | Lin Ning, Luyang Liu, Jiaxing Wu, Neo Wu, Devora Berlowitz, Sushant Prakash, Bradley Green, Shawn O'Banion, Jun Xie | 2024-02-21T08:03:27Z | cs.CL, cs.AI, cs.LG | Large language models (LLMs) have revolutionized natural language processing.
However, effectively incorporating complex and potentially noisy user
interaction data remains a challenge. To address this, we propose User-LLM, a
novel framework that leverages user embeddings to contextualize LLMs. These
embeddings, distilled from diverse user interactions using self-supervised
pretraining, capture latent user preferences and their evolution over time. We
integrate these user embeddings with LLMs through cross-attention and
soft-prompting, enabling LLMs to dynamically adapt to user context. Our
comprehensive experiments on MovieLens, Amazon Review, and Google Local Review
datasets demonstrate significant performance gains across various tasks.
Notably, our approach outperforms text-prompt-based contextualization on long
sequence tasks and tasks that require deep user understanding while being
computationally efficient. We further incorporate Perceiver layers to
streamline the integration between user encoders and LLMs, reducing
computational demands. | cs.CL | User-LLM: Efficient LLM Contextualization with User Embeddings |
2024-02-21T07:52:26Z | http://arxiv.org/pdf/2402.13593v1 | http://arxiv.org/abs/2402.13593v1 | Mengqi Zhang, Xiaotian Ye, Qiang Liu, Pengjie Ren, Shu Wu, Zhumin Chen | 2024-02-21T07:52:26Z | cs.CL | Large language models (LLMs) are pivotal in advancing natural language
processing (NLP) tasks, yet their efficacy is hampered by inaccuracies and
outdated knowledge. Model editing emerges as a promising solution to address
these challenges. However, existing editing methods struggle to track and
incorporate changes in knowledge associated with edits, which limits the
generalization ability of postedit LLMs in processing edited knowledge. To
tackle these problems, we propose a novel model editing method that leverages
knowledge graphs for enhancing LLM editing, namely GLAME. Specifically, we
first utilize a knowledge graph augmentation module to uncover associated
knowledge that has changed due to editing, obtaining its internal
representations within LLMs. This approach allows knowledge alterations within
LLMs to be reflected through an external graph structure. Subsequently, we
design a graph-based knowledge edit module to integrate structured knowledge
into the model editing. This ensures that the updated parameters reflect not
only the modifications of the edited knowledge but also the changes in other
associated knowledge resulting from the editing process. Comprehensive
experiments conducted on GPT-J and GPT-2 XL demonstrate that GLAME
significantly improves the generalization capabilities of post-edit LLMs in
employing edited knowledge. | cs.CL | Knowledge Graph Enhanced Large Language Model Editing |
2024-02-21T07:45:22Z | http://arxiv.org/pdf/2402.14866v2 | http://arxiv.org/abs/2402.14866v2 | Ziyi Guan, Hantao Huang, Yupeng Su, Hong Huang, Ngai Wong, Hao Yu | 2024-04-16T03:18:38Z | cs.LG, cs.AI, cs.CL | Large Language Models (LLMs) have greatly advanced the natural language
processing paradigm. However, the high computational load and huge model sizes
pose a grand challenge for deployment on edge devices. To this end, we propose
APTQ (Attention-aware Post-Training Mixed-Precision Quantization) for LLMs,
which considers not only the second-order information of each layer's weights,
but also, for the first time, the nonlinear effect of attention outputs on the
entire model. We leverage the Hessian trace as a sensitivity metric for
mixed-precision quantization, ensuring an informed precision reduction that
retains model performance. Experiments show APTQ surpasses previous
quantization methods, achieving an average of 4 bit width a 5.22 perplexity
nearly equivalent to full precision in the C4 dataset. In addition, APTQ
attains state-of-the-art zero-shot accuracy of 68.24\% and 70.48\% at an
average bitwidth of 3.8 in LLaMa-7B and LLaMa-13B, respectively, demonstrating
its effectiveness to produce high-quality quantized LLMs. | cs.LG | APTQ: Attention-aware Post-Training Mixed-Precision Quantization for Large Language Models |
2024-02-21T07:38:29Z | http://arxiv.org/pdf/2402.13587v2 | http://arxiv.org/abs/2402.13587v2 | Yunxin Li, Baotian Hu, Wenhan Luo, Lin Ma, Yuxin Ding, Min Zhang | 2024-03-07T11:29:50Z | cs.CL, cs.CV | In this paper, we propose a new setting for generating product descriptions
from images, augmented by marketing keywords. It leverages the combined power
of visual and textual information to create descriptions that are more tailored
to the unique features of products. For this setting, previous methods utilize
visual and textual encoders to encode the image and keywords and employ a
language model-based decoder to generate the product description. However, the
generated description is often inaccurate and generic since same-category
products have similar copy-writings, and optimizing the overall framework on
large-scale samples makes models concentrate on common words yet ignore the
product features. To alleviate the issue, we present a simple and effective
Multimodal In-Context Tuning approach, named ModICT, which introduces a similar
product sample as the reference and utilizes the in-context learning capability
of language models to produce the description. During training, we keep the
visual encoder and language model frozen, focusing on optimizing the modules
responsible for creating multimodal in-context references and dynamic prompts.
This approach preserves the language generation prowess of large language
models (LLMs), facilitating a substantial increase in description diversity. To
assess the effectiveness of ModICT across various language model scales and
types, we collect data from three distinct product categories within the
E-commerce domain. Extensive experiments demonstrate that ModICT significantly
improves the accuracy (by up to 3.3% on Rouge-L) and diversity (by up to 9.4%
on D-5) of generated results compared to conventional methods. Our findings
underscore the potential of ModICT as a valuable tool for enhancing automatic
generation of product descriptions in a wide range of applications. Code is at:
https://github.com/HITsz-TMG/Multimodal-In-Context-Tuning | cs.CL | A Multimodal In-Context Tuning Approach for E-Commerce Product Description Generation |
2024-02-21T07:31:47Z | http://arxiv.org/pdf/2402.13584v1 | http://arxiv.org/abs/2402.13584v1 | Woojeong Jin, Tejas Srinivasan, Jesse Thomason, Xiang Ren | 2024-02-21T07:31:47Z | cs.CL | Humans perceive and comprehend different visual properties of an object based
on specific contexts. For instance, we know that a banana turns brown ``when it
becomes rotten,'' whereas it appears green ``when it is unripe.'' Previous
studies on probing visual commonsense knowledge have primarily focused on
examining language models' understanding of typical properties (e.g., colors
and shapes) of objects. We present WinoViz, a text-only evaluation dataset,
consisting of 1,380 examples that probe the reasoning abilities of language
models regarding variant visual properties of objects under different contexts
or states. Our task is challenging since it requires pragmatic reasoning
(finding intended meanings) and visual knowledge reasoning. We also present
multi-hop data, a more challenging version of our data, which requires
multi-step reasoning chains to solve our task. In our experimental analysis,
our findings are: a) Large language models such as GPT-4 demonstrate effective
performance, but when it comes to multi-hop data, their performance is
significantly degraded. b) Large models perform well on pragmatic reasoning,
but visual knowledge reasoning is a bottleneck in our task. c) Vision-language
models outperform their language-model counterparts. d) A model with
machine-generated images performs poorly in our task. This is due to the poor
quality of the generated images. | cs.CL | WinoViz: Probing Visual Properties of Objects Under Different States |
2024-02-21T07:27:18Z | http://arxiv.org/pdf/2402.13583v2 | http://arxiv.org/abs/2402.13583v2 | Kai Lv, Xiaoran Liu, Qipeng Guo, Hang Yan, Conghui He, Xipeng Qiu, Dahua Lin | 2024-02-22T03:06:55Z | cs.CL | The quality of training data are crucial for enhancing the long-text
capabilities of foundation models. Despite existing efforts to refine data
quality through heuristic rules and evaluations based on data diversity and
difficulty, there's a lack of systematic approaches specifically tailored for
assessing long texts. Addressing this gap, our work systematically measures the
quality of long texts by evaluating three fundamental linguistic dimensions:
coherence, cohesion, and complexity. Drawing inspiration from the
aforementioned three dimensions, we introduce a suite of metrics designed to
evaluate the quality of long texts, encompassing both statistical and
pre-trained language model-based ones. Leveraging these metrics, we present
LongWanjuan, a bilingual dataset specifically tailored to enhance the training
of language models for long-text tasks with over 160B tokens. In LongWanjuan,
we categorize long texts into holistic, aggregated, and chaotic types, enabling
a detailed analysis of long-text quality. Furthermore, we devise a data mixture
recipe that strategically balances different types of long texts within
LongWanjuan, leading to significant improvements in model performance on
long-text tasks. The code and dataset are available at
https://github.com/OpenLMLab/LongWanjuan. | cs.CL | LongWanjuan: Towards Systematic Measurement for Long Text Quality |
2024-02-21T07:16:29Z | http://arxiv.org/pdf/2402.13577v1 | http://arxiv.org/abs/2402.13577v1 | Xueliang Zhao, Xinting Huang, Tingchen Fu, Qintong Li, Shansan Gong, Lemao Liu, Wei Bi, Lingpeng Kong | 2024-02-21T07:16:29Z | cs.CL | Multimodal reasoning stands as a pivotal capability for large vision-language
models (LVLMs). The integration with Domain-Specific Languages (DSL), offering
precise visual representations, equips these models with the opportunity to
execute more accurate reasoning in complex and professional domains. However,
the vanilla Chain-of-Thought (CoT) prompting method faces challenges in
effectively leveraging the unique strengths of visual and DSL representations,
primarily due to their differing reasoning mechanisms. Additionally, it often
falls short in addressing critical steps in multi-step reasoning tasks. To
mitigate these challenges, we introduce the \underline{B}i-Modal
\underline{B}ehavioral \underline{A}lignment (BBA) prompting method, designed
to maximize the potential of DSL in augmenting complex multi-modal reasoning
tasks. This method initiates by guiding LVLMs to create separate reasoning
chains for visual and DSL representations. Subsequently, it aligns these chains
by addressing any inconsistencies, thus achieving a cohesive integration of
behaviors from different modalities. Our experiments demonstrate that BBA
substantially improves the performance of GPT-4V(ision) on geometry problem
solving ($28.34\% \to 34.22\%$), chess positional advantage prediction
($42.08\% \to 46.99\%$) and molecular property prediction ($77.47\% \to
83.52\%$). | cs.CL | BBA: Bi-Modal Behavioral Alignment for Reasoning with Large Vision-Language Models |
2024-02-21T07:09:58Z | http://arxiv.org/pdf/2402.15527v1 | http://arxiv.org/abs/2402.15527v1 | Liang Chen, Yichi Zhang, Shuhuai Ren, Haozhe Zhao, Zefan Cai, Yuchi Wang, Peiyi Wang, Xiangdi Meng, Tianyu Liu, Baobao Chang | 2024-02-21T07:09:58Z | cs.CL, cs.AI, cs.CV | We present PCA-Bench, a multimodal decision-making benchmark for evaluating
the integrated capabilities of Multimodal Large Language Models (MLLMs).
Departing from previous benchmarks focusing on simplistic tasks and individual
model capability, PCA-Bench introduces three complex scenarios: autonomous
driving, domestic robotics, and open-world games. Given task instructions and
diverse contexts, the model is required to seamlessly integrate multiple
capabilities of Perception, Cognition, and Action in a reasoning chain to make
accurate decisions. Moreover, PCA-Bench features error localization
capabilities, scrutinizing model inaccuracies in areas such as perception,
knowledge, or reasoning. This enhances the reliability of deploying MLLMs. To
balance accuracy and efficiency in evaluation, we propose PCA-Eval, an
automatic evaluation protocol, and assess 10 prevalent MLLMs. The results
reveal significant performance disparities between open-source models and
powerful proprietary models like GPT-4 Vision. To address this, we introduce
Embodied-Instruction-Evolution (EIE), an automatic framework for synthesizing
instruction tuning examples in multimodal embodied environments. EIE generates
7,510 training examples in PCA-Bench and enhances the performance of
open-source MLLMs, occasionally surpassing GPT-4 Vision (+3\% in decision
accuracy), thereby validating the effectiveness of EIE. Our findings suggest
that robust MLLMs like GPT4-Vision show promise for decision-making in embodied
agents, opening new avenues for MLLM research. | cs.CL | PCA-Bench: Evaluating Multimodal Large Language Models in Perception-Cognition-Action Chain |
2024-02-21T07:05:51Z | http://arxiv.org/pdf/2402.13571v2 | http://arxiv.org/abs/2402.13571v2 | Ritwik Mishra, Pooja Desur, Rajiv Ratn Shah, Ponnurangam Kumaraguru | 2024-03-23T08:22:58Z | cs.CL, cs.AI | Coreference resolution involves the task of identifying text spans within a
discourse that pertain to the same real-world entity. While this task has been
extensively explored in the English language, there has been a notable scarcity
of publicly accessible resources and models for coreference resolution in South
Asian languages. We introduce a Translated dataset for Multilingual Coreference
Resolution (TransMuCoRes) in 31 South Asian languages using off-the-shelf tools
for translation and word-alignment. Nearly all of the predicted translations
successfully pass a sanity check, and 75% of English references align with
their predicted translations. Using multilingual encoders, two off-the-shelf
coreference resolution models were trained on a concatenation of TransMuCoRes
and a Hindi coreference resolution dataset with manual annotations. The best
performing model achieved a score of 64 and 68 for LEA F1 and CoNLL F1,
respectively, on our test-split of Hindi golden set. This study is the first to
evaluate an end-to-end coreference resolution model on a Hindi golden set.
Furthermore, this work underscores the limitations of current coreference
evaluation metrics when applied to datasets with split antecedents, advocating
for the development of more suitable evaluation metrics. | cs.CL | Multilingual Coreference Resolution in Low-resource South Asian Languages |
2024-02-21T06:46:34Z | http://arxiv.org/pdf/2402.14865v2 | http://arxiv.org/abs/2402.14865v2 | Kaijie Zhu, Jindong Wang, Qinlin Zhao, Ruochen Xu, Xing Xie | 2024-06-07T09:19:45Z | cs.CL, cs.AI, cs.LG | Evaluation of large language models (LLMs) has raised great concerns in the
community due to the issue of data contamination. Existing work designed
evaluation protocols using well-defined algorithms for specific tasks, which
cannot be easily extended to diverse scenarios. Moreover, current evaluation
benchmarks can only provide the overall benchmark results and cannot support a
fine-grained and multifaceted analysis of LLMs' abilities. In this paper, we
propose meta probing agents (MPA), a general dynamic evaluation protocol
inspired by psychometrics to evaluate LLMs. MPA is the key component of DyVal
2, which naturally extends the previous DyVal~\citep{zhu2023dyval}. MPA designs
the probing and judging agents to automatically transform an original
evaluation problem into a new one following psychometric theory on three basic
cognitive abilities: language understanding, problem solving, and domain
knowledge. These basic abilities are also dynamically configurable, allowing
multifaceted analysis. We conducted extensive evaluations using MPA and found
that most LLMs achieve poorer performance, indicating room for improvement. Our
multifaceted analysis demonstrated the strong correlation between the basic
abilities and an implicit Matthew effect on model size, i.e., larger models
possess stronger correlations of the abilities. MPA can also be used as a data
augmentation approach to enhance LLMs. Code is available at:
https://github.com/microsoft/promptbench. | cs.CL | Dynamic Evaluation of Large Language Models by Meta Probing Agents |
2024-02-21T06:37:07Z | http://arxiv.org/pdf/2402.13562v2 | http://arxiv.org/abs/2402.13562v2 | Seong Hoon Lim, Taejun Yun, Jinhyeon Kim, Jihun Choi, Taeuk Kim | 2024-06-05T00:23:55Z | cs.CL | The successful adaptation of multilingual language models (LMs) to a specific
language-task pair critically depends on the availability of data tailored for
that condition. While cross-lingual transfer (XLT) methods have contributed to
addressing this data scarcity problem, there still exists ongoing debate about
the mechanisms behind their effectiveness. In this work, we focus on one of
promising assumptions about inner workings of XLT, that it encourages
multilingual LMs to place greater emphasis on language-agnostic or
task-specific features. We test this hypothesis by examining how the patterns
of XLT change with a varying number of source languages involved in the
process. Our experimental findings show that the use of multiple source
languages in XLT-a technique we term Multi-Source Language Training
(MSLT)-leads to increased mingling of embedding spaces for different languages,
supporting the claim that XLT benefits from making use of language-independent
information. On the other hand, we discover that using an arbitrary combination
of source languages does not always guarantee better performance. We suggest
simple heuristics for identifying effective language combinations for MSLT and
empirically prove its effectiveness. | cs.CL | Analysis of Multi-Source Language Training in Cross-Lingual Transfer |
2024-02-21T06:34:46Z | http://arxiv.org/pdf/2402.13561v2 | http://arxiv.org/abs/2402.13561v2 | Yunxin Li, Xinyu Chen, Baotian Hu, Haoyuan Shi, Min Zhang | 2024-06-26T07:05:21Z | cs.CL, cs.CV | Evaluating and Rethinking the current landscape of Large Multimodal Models
(LMMs), we observe that widely-used visual-language projection approaches
(e.g., Q-former or MLP) focus on the alignment of image-text descriptions yet
ignore the visual knowledge-dimension alignment, i.e., connecting visuals to
their relevant knowledge. Visual knowledge plays a significant role in
analyzing, inferring, and interpreting information from visuals, helping
improve the accuracy of answers to knowledge-based visual questions. In this
paper, we mainly explore improving LMMs with visual-language knowledge
alignment, especially aimed at challenging knowledge-based visual question
answering (VQA). To this end, we present a Cognitive Visual-Language Mapper
(CVLM), which contains a pretrained Visual Knowledge Aligner (VKA) and a
Fine-grained Knowledge Adapter (FKA) used in the multimodal instruction tuning
stage. Specifically, we design the VKA based on the interaction between a small
language model and a visual encoder, training it on collected image-knowledge
pairs to achieve visual knowledge acquisition and projection. FKA is employed
to distill the fine-grained visual knowledge of an image and inject it into
Large Language Models (LLMs). We conduct extensive experiments on
knowledge-based VQA benchmarks and experimental results show that CVLM
significantly improves the performance of LMMs on knowledge-based VQA (average
gain by 5.0%). Ablation studies also verify the effectiveness of VKA and FKA,
respectively. The codes are available at
https://github.com/HITsz-TMG/Cognitive-Visual-Language-Mapper | cs.CL | Cognitive Visual-Language Mapper: Advancing Multimodal Comprehension with Enhanced Visual Knowledge Alignment |
2024-02-21T06:14:04Z | http://arxiv.org/pdf/2402.13551v2 | http://arxiv.org/abs/2402.13551v2 | Liyan Xu, Jiangnan Li, Mo Yu, Jie Zhou | 2024-06-04T03:26:19Z | cs.CL, cs.LG | This work introduces an original and practical paradigm for narrative
comprehension, stemming from the characteristics that individual passages
within narratives tend to be more cohesively related than isolated.
Complementary to the common end-to-end paradigm, we propose a fine-grained
modeling of narrative context, by formulating a graph dubbed NarCo, which
explicitly depicts task-agnostic coherence dependencies that are ready to be
consumed by various downstream tasks. In particular, edges in NarCo encompass
free-form retrospective questions between context snippets, inspired by human
cognitive perception that constantly reinstates relevant events from prior
context. Importantly, our graph formalism is practically instantiated by LLMs
without human annotations, through our designed two-stage prompting scheme. To
examine the graph properties and its utility, we conduct three studies in
narratives, each from a unique angle: edge relation efficacy, local context
enrichment, and broader application in QA. All tasks could benefit from the
explicit coherence captured by NarCo. | cs.CL | Fine-Grained Modeling of Narrative Context: A Coherence Perspective via Retrospective Questions |
2024-02-21T06:11:03Z | http://arxiv.org/pdf/2402.13550v1 | http://arxiv.org/abs/2402.13550v1 | Deuksin Kwon, Emily Weiss, Tara Kulshrestha, Kushal Chawla, Gale M. Lucas, Jonathan Gratch | 2024-02-21T06:11:03Z | cs.CL, cs.AI | A successful negotiation demands a deep comprehension of the conversation
context, Theory-of-Mind (ToM) skills to infer the partner's motives, as well as
strategic reasoning and effective communication, making it challenging for
automated systems. Given the remarkable performance of LLMs across a variety of
NLP tasks, in this work, we aim to understand how LLMs can advance different
aspects of negotiation research, ranging from designing dialogue systems to
providing pedagogical feedback and scaling up data collection practices. To
this end, we devise a methodology to analyze the multifaceted capabilities of
LLMs across diverse dialogue scenarios covering all the time stages of a
typical negotiation interaction. Our analysis adds to the increasing evidence
for the superiority of GPT-4 across various tasks while also providing insights
into specific tasks that remain difficult for LLMs. For instance, the models
correlate poorly with human players when making subjective assessments about
the negotiation dialogues and often struggle to generate responses that are
contextually appropriate as well as strategically advantageous. | cs.CL | Are LLMs Effective Negotiators? Systematic Evaluation of the Multifaceted Capabilities of LLMs in Negotiation Dialogues |
2024-02-21T06:04:53Z | http://arxiv.org/pdf/2402.13547v1 | http://arxiv.org/abs/2402.13547v1 | Zhipeng Xu, Zhenghao Liu, Yibin Liu, Chenyan Xiong, Yukun Yan, Shuo Wang, Shi Yu, Zhiyuan Liu, Ge Yu | 2024-02-21T06:04:53Z | cs.CL | Retrieval Augmented Generation (RAG) has introduced a new paradigm for Large
Language Models (LLMs), aiding in the resolution of knowledge-intensive tasks.
However, current RAG models position LLMs as passive knowledge receptors,
thereby restricting their capacity for learning and comprehending external
knowledge. In this paper, we present ActiveRAG, an innovative RAG framework
that shifts from passive knowledge acquisition to an active learning mechanism.
This approach utilizes the Knowledge Construction mechanism to develop a deeper
understanding of external knowledge by associating it with previously acquired
or memorized knowledge. Subsequently, it designs the Cognitive Nexus mechanism
to incorporate the outcomes from both chains of thought and knowledge
construction, thereby calibrating the intrinsic cognition of LLMs. Our
experimental results demonstrate that ActiveRAG surpasses previous RAG models,
achieving a 5% improvement on question-answering datasets. All data and codes
are available at https://github.com/OpenMatch/ActiveRAG. | cs.CL | ActiveRAG: Revealing the Treasures of Knowledge via Active Learning |
2024-02-21T05:56:52Z | http://arxiv.org/pdf/2402.13546v1 | http://arxiv.org/abs/2402.13546v1 | Yunxin Li, Xinyu Chen, Baotain Hu, Min Zhang | 2024-02-21T05:56:52Z | cs.CL, cs.CV | Long video understanding is a significant and ongoing challenge in the
intersection of multimedia and artificial intelligence. Employing large
language models (LLMs) for comprehending video becomes an emerging and
promising method. However, this approach incurs high computational costs due to
the extensive array of video tokens, experiences reduced visual clarity as a
consequence of token aggregation, and confronts challenges arising from
irrelevant visual tokens while answering video-related questions. To alleviate
these issues, we present an Interactive Visual Adapter (IVA) within LLMs,
designed to enhance interaction with fine-grained visual elements.
Specifically, we first transform long videos into temporal video tokens via
leveraging a visual encoder alongside a pretrained causal transformer, then
feed them into LLMs with the video instructions. Subsequently, we integrated
IVA, which contains a lightweight temporal frame selector and a spatial feature
interactor, within the internal blocks of LLMs to capture instruction-aware and
fine-grained visual signals. Consequently, the proposed video-LLM facilitates a
comprehensive understanding of long video content through appropriate long
video modeling and precise visual interactions. We conducted extensive
experiments on nine video understanding benchmarks and experimental results
show that our interactive visual adapter significantly improves the performance
of video LLMs on long video QA tasks. Ablation studies further verify the
effectiveness of IVA in long and short video understandings. | cs.CL | LLMs Meet Long Video: Advancing Long Video Comprehension with An Interactive Visual Adapter in LLMs |
2024-02-21T05:41:34Z | http://arxiv.org/pdf/2402.13542v2 | http://arxiv.org/abs/2402.13542v2 | Lingxi Zhang, Yue Yu, Kuan Wang, Chao Zhang | 2024-06-04T05:17:24Z | cs.CL, cs.AI, cs.IR, cs.LG | Retrieval-augmented generation enhances large language models (LLMs) by
incorporating relevant information from external knowledge sources. This
enables LLMs to adapt to specific domains and mitigate hallucinations in
knowledge-intensive tasks. However, existing retrievers are often misaligned
with LLMs due to their separate training processes and the black-box nature of
LLMs. To address this challenge, we propose ARL2, a retriever learning
technique that harnesses LLMs as labelers. ARL2 leverages LLMs to annotate and
score relevant evidence, enabling learning the retriever from robust LLM
supervision. Furthermore, ARL2 uses an adaptive self-training strategy for
curating high-quality and diverse relevance data, which can effectively reduce
the annotation cost. Extensive experiments demonstrate the effectiveness of
ARL2, achieving accuracy improvements of 5.4% on NQ and 4.6% on MMLU compared
to the state-of-the-art methods. Additionally, ARL2 exhibits robust transfer
learning capabilities and strong zero-shot generalization abilities. Our code
will be published at \url{https://github.com/zhanglingxi-cs/ARL2}. | cs.CL | ARL2: Aligning Retrievers for Black-box Large Language Models via Self-guided Adaptive Relevance Labeling |
2024-02-21T05:04:29Z | http://arxiv.org/pdf/2402.13534v1 | http://arxiv.org/abs/2402.13534v1 | Xuemei Tang, Qi Su | 2024-02-21T05:04:29Z | cs.CL, cs.AI | Sequence labeling models often benefit from incorporating external knowledge.
However, this practice introduces data heterogeneity and complicates the model
with additional modules, leading to increased expenses for training a
high-performing model. To address this challenge, we propose a two-stage
curriculum learning (TCL) framework specifically designed for sequence labeling
tasks. The TCL framework enhances training by gradually introducing data
instances from easy to hard, aiming to improve both performance and training
speed. Furthermore, we explore different metrics for assessing the difficulty
levels of sequence labeling tasks. Through extensive experimentation on six
Chinese word segmentation (CWS) and Part-of-speech tagging (POS) datasets, we
demonstrate the effectiveness of our model in enhancing the performance of
sequence labeling models. Additionally, our analysis indicates that TCL
accelerates training and alleviates the slow training problem associated with
complex models. | cs.CL | An Effective Incorporating Heterogeneous Knowledge Curriculum Learning for Sequence Labeling |
2024-02-21T05:03:17Z | http://arxiv.org/pdf/2402.13533v1 | http://arxiv.org/abs/2402.13533v1 | Xiao-Yang Liu, Jie Zhang, Guoxuan Wang, Weiqing Tong, Anwar Walid | 2024-02-21T05:03:17Z | cs.LG, cs.AI, cs.CL, cs.DC | Large language models (LLMs) are computationally intensive. The computation
workload and the memory footprint grow quadratically with the dimension (layer
width). Most of LLMs' parameters come from the linear layers of the transformer
structure and are highly redundant. These linear layers contribute more than
80% of the computation workload and 99% of the model size. To pretrain and
finetune LLMs efficiently, there are three major challenges to address: 1)
reducing redundancy of the linear layers; 2) reducing GPU memory footprint; 3)
improving GPU utilization when using distributed training. Prior methods, such
as LoRA and QLoRA, utilized low-rank matrices and quantization to reduce the
number of trainable parameters and model size, respectively. However, the
resulting model still consumes a large amount of GPU memory. In this paper, we
present high-performance GPU-based methods that exploit low-rank structures to
pretrain and finetune LLMs for financial applications. We replace one
conventional linear layer of the transformer structure with two narrower linear
layers, which allows us to reduce the number of parameters by several orders of
magnitude. By quantizing the parameters into low precision (8-bit and 4-bit),
the memory consumption of the resulting model is further reduced. Compared with
existing LLMs, our methods achieve a speedup of 1.3X and a model compression
ratio of 2.64X for pretaining without accuracy drop. For finetuning, our
methods achieve an average accuracy increase of 6.3% and 24.0% in general tasks
and financial tasks, respectively, and GPU memory consumption ratio of 6.3X.
The sizes of our models are smaller than 0.59 GB, allowing inference on a
smartphone. | cs.LG | FinGPT-HPC: Efficient Pretraining and Finetuning Large Language Models for Financial Applications with High-Performance Computing |
2024-02-21T05:03:07Z | http://arxiv.org/pdf/2402.13532v1 | http://arxiv.org/abs/2402.13532v1 | Quanyu Long, Yue Deng, LeiLei Gan, Wenya Wang, Sinno Jialin Pan | 2024-02-21T05:03:07Z | cs.CL | Dense retrievers and retrieval-augmented language models have been widely
used in various NLP applications. Despite being designed to deliver reliable
and secure outcomes, the vulnerability of retrievers to potential attacks
remains unclear, raising concerns about their security. In this paper, we
introduce a novel scenario where the attackers aim to covertly disseminate
targeted misinformation, such as hate speech or advertisement, through a
retrieval system. To achieve this, we propose a perilous backdoor attack
triggered by grammar errors in dense passage retrieval. Our approach ensures
that attacked models can function normally for standard queries but are
manipulated to return passages specified by the attacker when users
unintentionally make grammatical mistakes in their queries. Extensive
experiments demonstrate the effectiveness and stealthiness of our proposed
attack method. When a user query is error-free, our model consistently
retrieves accurate information while effectively filtering out misinformation
from the top-k results. However, when a query contains grammar errors, our
system shows a significantly higher success rate in fetching the targeted
content. | cs.CL | Backdoor Attacks on Dense Passage Retrievers for Disseminating Misinformation |
2024-02-21T04:55:03Z | http://arxiv.org/pdf/2402.13528v2 | http://arxiv.org/abs/2402.13528v2 | Md Towhidul Absar Chowdhury, Soumyajit Datta, Naveen Sharma, Ashiqur R. KhudaBukhsh | 2024-02-22T02:50:41Z | cs.CY, cs.CL, cs.LG, cs.SI | Current research concentrates on studying discussions on social media related
to structural failures to improve disaster response strategies. However,
detecting social web posts discussing concerns about anticipatory failures is
under-explored. If such concerns are channeled to the appropriate authorities,
it can aid in the prevention and mitigation of potential infrastructural
failures. In this paper, we develop an infrastructure ombudsman -- that
automatically detects specific infrastructure concerns. Our work considers
several recent structural failures in the US. We present a first-of-its-kind
dataset of 2,662 social web instances for this novel task mined from Reddit and
YouTube. | cs.CY | Infrastructure Ombudsman: Mining Future Failure Concerns from Structural Disaster Response |
2024-02-21T04:42:41Z | http://arxiv.org/pdf/2402.13524v1 | http://arxiv.org/abs/2402.13524v1 | Yang Liu, Meng Xu, Shuo Wang, Liner Yang, Haoyu Wang, Zhenghao Liu, Cunliang Kong, Yun Chen, Yang Liu, Maosong Sun, Erhong Yang | 2024-02-21T04:42:41Z | cs.CL | Modern large language models (LLMs) should generally benefit individuals from
various cultural backgrounds around the world. However, most recent advanced
generative evaluation benchmarks tailed for LLMs mainly focus on English. To
this end, we introduce OMGEval, the first Open-source Multilingual Generative
test set that can assess the capability of LLMs in different languages. For
each language, OMGEval provides 804 open-ended questions, covering a wide range
of important capabilities of LLMs, such as general knowledge, logical
reasoning, and so on. Each question is rigorously verified by human annotators.
Notably, to sufficiently reflect the compatibility of LLMs in different
cultural backgrounds, we perform localization for each non-English language.
Specifically, the current version of OMGEval includes 5 languages (i.e., Zh,
Ru, Fr, Es, Ar). Following AlpacaEval, we employ GPT-4 as the adjudicator to
automatically score different model outputs, which is shown closely related to
human evaluation. We evaluate several representative multilingual LLMs on the
proposed OMGEval, which we believe will provide a valuable reference for the
community to further understand and improve the multilingual capability of
LLMs. OMGEval is available at https://github.com/blcuicall/OMGEval. | cs.CL | OMGEval: An Open Multilingual Generative Evaluation Benchmark for Large Language Models |
2024-02-21T04:15:22Z | http://arxiv.org/pdf/2402.13522v1 | http://arxiv.org/abs/2402.13522v1 | Takashi Kodama, Hirokazu Kiyomaru, Yin Jou Huang, Sadao Kurohashi | 2024-02-21T04:15:22Z | cs.CL | Humans pay careful attention to the interlocutor's internal state in
dialogues. For example, in recommendation dialogues, we make recommendations
while estimating the seeker's internal state, such as his/her level of
knowledge and interest. Since there are no existing annotated resources for the
analysis, we constructed RecMind, a Japanese movie recommendation dialogue
dataset with annotations of the seeker's internal state at the entity level.
Each entity has a subjective label annotated by the seeker and an objective
label annotated by the recommender. RecMind also features engaging dialogues
with long seeker's utterances, enabling a detailed analysis of the seeker's
internal state. Our analysis based on RecMind reveals that entities that the
seeker has no knowledge about but has an interest in contribute to
recommendation success. We also propose a response generation framework that
explicitly considers the seeker's internal state, utilizing the
chain-of-thought prompting. The human evaluation results show that our proposed
method outperforms the baseline method in both consistency and the success of
recommendations. | cs.CL | RecMind: Japanese Movie Recommendation Dialogue with Seeker's Internal State |
2024-02-21T04:00:54Z | http://arxiv.org/pdf/2402.13518v1 | http://arxiv.org/abs/2402.13518v1 | Mingxuan Xiao, Yan Xiao, Hai Dong, Shunhui Ji, Pengcheng Zhang | 2024-02-21T04:00:54Z | cs.SE, cs.CL | The dependence of Natural Language Processing (NLP) intelligent software on
Large Language Models (LLMs) is increasingly prominent, underscoring the
necessity for robustness testing. Current testing methods focus solely on the
robustness of LLM-based software to prompts. Given the complexity and diversity
of real-world inputs, studying the robustness of LLMbased software in handling
comprehensive inputs (including prompts and examples) is crucial for a thorough
understanding of its performance.
To this end, this paper introduces RITFIS, a Robust Input Testing Framework
for LLM-based Intelligent Software. To our knowledge, RITFIS is the first
framework designed to assess the robustness of LLM-based intelligent software
against natural language inputs. This framework, based on given threat models
and prompts, primarily defines the testing process as a combinatorial
optimization problem. Successful test cases are determined by a goal function,
creating a transformation space for the original examples through perturbation
means, and employing a series of search methods to filter cases that meet both
the testing objectives and language constraints. RITFIS, with its modular
design, offers a comprehensive method for evaluating the robustness of LLMbased
intelligent software.
RITFIS adapts 17 automated testing methods, originally designed for Deep
Neural Network (DNN)-based intelligent software, to the LLM-based software
testing scenario. It demonstrates the effectiveness of RITFIS in evaluating
LLM-based intelligent software through empirical validation. However, existing
methods generally have limitations, especially when dealing with lengthy texts
and structurally complex threat models. Therefore, we conducted a comprehensive
analysis based on five metrics and provided insightful testing method
optimization strategies, benefiting both researchers and everyday users. | cs.SE | RITFIS: Robust input testing framework for LLMs-based intelligent software |
2024-02-21T03:59:52Z | http://arxiv.org/pdf/2402.13517v1 | http://arxiv.org/abs/2402.13517v1 | Canaan Yung, Hadi Mohaghegh Dolatabadi, Sarah Erfani, Christopher Leckie | 2024-02-21T03:59:52Z | cs.CL, cs.AI | Large language models (LLMs) are susceptible to social-engineered attacks
that are human-interpretable but require a high level of comprehension for LLMs
to counteract. Existing defensive measures can only mitigate less than half of
these attacks at most. To address this issue, we propose the Round Trip
Translation (RTT) method, the first algorithm specifically designed to defend
against social-engineered attacks on LLMs. RTT paraphrases the adversarial
prompt and generalizes the idea conveyed, making it easier for LLMs to detect
induced harmful behavior. This method is versatile, lightweight, and
transferrable to different LLMs. Our defense successfully mitigated over 70% of
Prompt Automatic Iterative Refinement (PAIR) attacks, which is currently the
most effective defense to the best of our knowledge. We are also the first to
attempt mitigating the MathsAttack and reduced its attack success rate by
almost 40%. Our code is publicly available at
https://github.com/Cancanxxx/Round_Trip_Translation_Defence | cs.CL | Round Trip Translation Defence against Large Language Model Jailbreaking Attacks |
2024-02-21T03:58:49Z | http://arxiv.org/pdf/2402.13516v4 | http://arxiv.org/abs/2402.13516v4 | Chenyang Song, Xu Han, Zhengyan Zhang, Shengding Hu, Xiyu Shi, Kuai Li, Chen Chen, Zhiyuan Liu, Guangli Li, Tao Yang, Maosong Sun | 2024-07-03T05:56:49Z | cs.LG, cs.AI, cs.CL, I.2.7 | Activation sparsity refers to the existence of considerable
weakly-contributed elements among activation outputs. As a prevalent property
of the models using the ReLU activation function, activation sparsity has been
proven a promising paradigm to boost model inference efficiency. Nevertheless,
most large language models (LLMs) adopt activation functions without intrinsic
activation sparsity (e.g., GELU and Swish). Some recent efforts have explored
introducing ReLU or its variants as the substitutive activation function to
help LLMs achieve activation sparsity and inference acceleration, but few can
simultaneously obtain high sparsity and comparable model performance. This
paper introduces a simple and effective sparsification method named "ProSparse"
to push LLMs for higher activation sparsity while maintaining comparable
performance. Specifically, after substituting the activation function of LLMs
with ReLU, ProSparse adopts progressive sparsity regularization with a factor
smoothly increasing along the multi-stage sine curves. This can enhance
activation sparsity and mitigate performance degradation by avoiding radical
shifts in activation distributions. With ProSparse, we obtain high sparsity of
89.32% for LLaMA2-7B, 88.80% for LLaMA2-13B, and 87.89% for end-size
MiniCPM-1B, respectively, achieving comparable performance to their original
Swish-activated versions. These present the most sparsely activated models
among open-source LLaMA versions and competitive end-size models, considerably
surpassing ReluLLaMA-7B (66.98%) and ReluLLaMA-13B (71.56%). Our inference
acceleration experiments further demonstrate the significant practical
acceleration potential of LLMs with higher activation sparsity, obtaining up to
4.52$\times$ inference speedup. | cs.LG | ProSparse: Introducing and Enhancing Intrinsic Activation Sparsity within Large Language Models |
2024-02-21T03:55:02Z | http://arxiv.org/pdf/2402.13514v1 | http://arxiv.org/abs/2402.13514v1 | Hongru Wang, Boyang Xue, Baohang Zhou, Tianhua Zhang, Cunxiang Wang, Guanhua Chen, Huimin Wang, Kam-fai Wong | 2024-02-21T03:55:02Z | cs.CL, cs.AI | Retrieve-then-read and generate-then-read are two typical solutions to handle
unknown and known questions in open-domain question-answering, while the former
retrieves necessary external knowledge and the later prompt the large language
models to generate internal known knowledge encoded in the parameters. However,
few of previous works consider the compositional unknown questions, which
consist of several known or unknown sub-questions. Thus, simple binary
classification (known or unknown) becomes sub-optimal and inefficient since it
will call external retrieval excessively for each compositional unknown
question. To this end, we propose the first Compositional unknown
Question-Answering dataset (CuQA), and introduce a Self Divide-and-Conquer
(Self-DC) framework to empower LLMs to adaptively call different methods
on-demand, resulting in better performance and efficiency. Experimental results
on two datasets (CuQA and FreshQA) demonstrate that Self-DC can achieve
comparable or even better performance with much more less retrieval times
compared with several strong baselines. | cs.CL | Self-DC: When to retrieve and When to generate? Self Divide-and-Conquer for Compositional Unknown Questions |
2024-02-21T03:51:34Z | http://arxiv.org/pdf/2402.13512v1 | http://arxiv.org/abs/2402.13512v1 | M. Emrullah Ildiz, Yixiao Huang, Yingcong Li, Ankit Singh Rawat, Samet Oymak | 2024-02-21T03:51:34Z | cs.LG, cs.AI, cs.CL | Modern language models rely on the transformer architecture and attention
mechanism to perform language understanding and text generation. In this work,
we study learning a 1-layer self-attention model from a set of prompts and
associated output data sampled from the model. We first establish a precise
mapping between the self-attention mechanism and Markov models: Inputting a
prompt to the model samples the output token according to a context-conditioned
Markov chain (CCMC) which weights the transition matrix of a base Markov chain.
Additionally, incorporating positional encoding results in position-dependent
scaling of the transition probabilities. Building on this formalism, we develop
identifiability/coverage conditions for the prompt distribution that guarantee
consistent estimation and establish sample complexity guarantees under IID
samples. Finally, we study the problem of learning from a single output
trajectory generated from an initial prompt. We characterize an intriguing
winner-takes-all phenomenon where the generative process implemented by
self-attention collapses into sampling a limited subset of tokens due to its
non-mixing nature. This provides a mathematical explanation to the tendency of
modern LLMs to generate repetitive text. In summary, the equivalence to CCMC
provides a simple but powerful framework to study self-attention and its
properties. | cs.LG | From Self-Attention to Markov Models: Unveiling the Dynamics of Generative Transformers |
2024-02-21T03:43:57Z | http://arxiv.org/pdf/2402.14863v1 | http://arxiv.org/abs/2402.14863v1 | Haruki Kawai, Divesh Lala, Koji Inoue, Keiko Ochi, Tatsuya Kawahara | 2024-02-21T03:43:57Z | cs.CL | The handling of communication breakdowns and loss of engagement is an
important aspect of spoken dialogue systems, particularly for chatting systems
such as attentive listening, where the user is mostly speaking. We presume that
a human is best equipped to handle this task and rescue the flow of
conversation. To this end, we propose a semi-autonomous system, where a remote
operator can take control of an autonomous attentive listening system in
real-time. In order to make human intervention easy and consistent, we
introduce automatic detection of low interest and engagement to provide
explicit takeover prompts to the remote operator. We implement this
semi-autonomous system which detects takeover points for the operator and
compare it to fully tele-operated and fully autonomous attentive listening
systems. We find that the semi-autonomous system is generally perceived more
positively than the autonomous system. The results suggest that identifying
points of conversation when the user starts to lose interest may help us
improve a fully autonomous dialogue system. | cs.CL | Evaluation of a semi-autonomous attentive listening system with takeover prompting |
2024-02-21T03:25:14Z | http://arxiv.org/pdf/2402.13500v1 | http://arxiv.org/abs/2402.13500v1 | Karthik Ravichandran, Sarmistha Sarna Gomasta | 2024-02-21T03:25:14Z | cs.IR, cs.CL, F.2.2; I.2.7 | This paper explores a novel technique for improving recall in cross-language
information retrieval (CLIR) systems using iterative query refinement grounded
in the user's lexical-semantic space. The proposed methodology combines
multi-level translation, semantic embedding-based expansion, and user
profile-centered augmentation to address the challenge of matching variance
between user queries and relevant documents. Through an initial BM25 retrieval,
translation into intermediate languages, embedding lookup of similar terms, and
iterative re-ranking, the technique aims to expand the scope of potentially
relevant results personalized to the individual user. Comparative experiments
on news and Twitter datasets demonstrate superior performance over baseline
BM25 ranking for the proposed approach across ROUGE metrics. The translation
methodology also showed maintained semantic accuracy through the multi-step
process. This personalized CLIR framework paves the path for improved
context-aware retrieval attentive to the nuances of user language. | cs.IR | Leveraging Translation For Optimal Recall: Tailoring LLM Personalization With User Profiles |
2024-02-21T03:21:14Z | http://arxiv.org/pdf/2402.13498v1 | http://arxiv.org/abs/2402.13498v1 | Zheheng Luo, Qianqian Xie, Sophia Ananiadou | 2024-02-21T03:21:14Z | cs.CL | Automated lay summarisation (LS) aims to simplify complex technical documents
into a more accessible format to non-experts. Existing approaches using
pre-trained language models, possibly augmented with external background
knowledge, tend to struggle with effective simplification and explanation.
Moreover, automated methods that can effectively assess the `layness' of
generated summaries are lacking. Recently, large language models (LLMs) have
demonstrated a remarkable capacity for text simplification, background
information generation, and text evaluation. This has motivated our systematic
exploration into using LLMs to generate and evaluate lay summaries of
biomedical articles. We propose a novel \textit{Explain-then-Summarise} LS
framework, which leverages LLMs to generate high-quality background knowledge
to improve supervised LS. We also evaluate the performance of LLMs for
zero-shot LS and propose two novel LLM-based LS evaluation metrics, which
assess layness from multiple perspectives. Finally, we conduct a human
assessment of generated lay summaries. Our experiments reveal that
LLM-generated background information can support improved supervised LS.
Furthermore, our novel zero-shot LS evaluation metric demonstrates a high
degree of alignment with human preferences. We conclude that LLMs have an
important part to play in improving both the performance and evaluation of LS
methods. | cs.CL | The Lay Person's Guide to Biomedicine: Orchestrating Large Language Models |
2024-02-21T03:09:21Z | http://arxiv.org/pdf/2402.13494v2 | http://arxiv.org/abs/2402.13494v2 | Yueqi Xie, Minghong Fang, Renjie Pi, Neil Gong | 2024-05-29T21:45:35Z | cs.CL, cs.CR | Large Language Models (LLMs) face threats from jailbreak prompts. Existing
methods for detecting jailbreak prompts are primarily online moderation APIs or
finetuned LLMs. These strategies, however, often require extensive and
resource-intensive data collection and training processes. In this study, we
propose GradSafe, which effectively detects jailbreak prompts by scrutinizing
the gradients of safety-critical parameters in LLMs. Our method is grounded in
a pivotal observation: the gradients of an LLM's loss for jailbreak prompts
paired with compliance response exhibit similar patterns on certain
safety-critical parameters. In contrast, safe prompts lead to different
gradient patterns. Building on this observation, GradSafe analyzes the
gradients from prompts (paired with compliance responses) to accurately detect
jailbreak prompts. We show that GradSafe, applied to Llama-2 without further
training, outperforms Llama Guard, despite its extensive finetuning with a
large dataset, in detecting jailbreak prompts. This superior performance is
consistent across both zero-shot and adaptation scenarios, as evidenced by our
evaluations on ToxicChat and XSTest. The source code is available at
https://github.com/xyq7/GradSafe. | cs.CL | GradSafe: Detecting Jailbreak Prompts for LLMs via Safety-Critical Gradient Analysis |
2024-02-21T03:05:50Z | http://arxiv.org/pdf/2402.13492v3 | http://arxiv.org/abs/2402.13492v3 | Seiji Maekawa, Hayate Iso, Sairam Gurajada, Nikita Bhutani | 2024-03-27T18:48:34Z | cs.CL | While large language models (LMs) demonstrate remarkable performance, they
encounter challenges in providing accurate responses when queried for
information beyond their pre-trained memorization. Although augmenting them
with relevant external information can mitigate these issues, failure to
consider the necessity of retrieval may adversely affect overall performance.
Previous research has primarily focused on examining how entities influence
retrieval models and knowledge recall in LMs, leaving other aspects relatively
unexplored. In this work, our goal is to offer a more detailed, fact-centric
analysis by exploring the effects of combinations of entities and relations. To
facilitate this, we construct a new question answering (QA) dataset called
WiTQA (Wikipedia Triple Question Answers). This dataset includes questions
about entities and relations of various popularity levels, each accompanied by
a supporting passage. Our extensive experiments with diverse LMs and retrievers
reveal when retrieval does not consistently enhance LMs from the viewpoints of
fact-centric popularity. Confirming earlier findings, we observe that larger
LMs excel in recalling popular facts. However, they notably encounter
difficulty with infrequent entity-relation pairs compared to retrievers.
Interestingly, they can effectively retain popular relations of less common
entities. We demonstrate the efficacy of our finer-grained metric and insights
through an adaptive retrieval system that selectively employs retrieval and
recall based on the frequencies of entities and relations in the question. | cs.CL | Retrieval Helps or Hurts? A Deeper Dive into the Efficacy of Retrieval Augmentation to Language Models |
2024-02-21T02:51:07Z | http://arxiv.org/pdf/2402.13485v1 | http://arxiv.org/abs/2402.13485v1 | Shuzhang Zhong, Zebin Yang, Meng Li, Ruihao Gong, Runsheng Wang, Ru Huang | 2024-02-21T02:51:07Z | cs.LG, cs.CL | Recent advancements in generative large language models (LLMs) have
significantly boosted the performance in natural language processing tasks.
However, their efficiency is hampered by the inherent limitations in
autoregressive token generation. While parallel decoding with token tree
verification, e.g., Medusa, has been proposed to improve decoding parallelism
and efficiency, it often struggles with maintaining contextual relationships
due to its independent token prediction approach and incurs significant
verification overhead, especially with large tree sizes and batch processing.
In this paper, we propose ProPD, an efficient LLM parallel decoding framework
based on dynamic token tree pruning and generation. ProPD features an advanced
early pruning mechanism to efficiently eliminate unpromising token sequences to
improve verification efficiency. Additionally, it introduces a dynamic token
tree generation algorithm to balance the computation and parallelism of the
verification phase in real-time and maximize the overall efficiency across
different batch sizes, sequence lengths, and tasks, etc. We verify ProPD across
a diverse set of datasets, LLMs, and batch sizes and demonstrate ProPD
consistently outperforms existing decoding algorithms by 1.1-3.2x. | cs.LG | ProPD: Dynamic Token Tree Pruning and Generation for LLM Parallel Decoding |
2024-02-21T02:45:46Z | http://arxiv.org/pdf/2402.13482v1 | http://arxiv.org/abs/2402.13482v1 | Minju Seo, Jinheon Baek, James Thorne, Sung Ju Hwang | 2024-02-21T02:45:46Z | cs.CL, cs.AI, cs.LG | Despite large successes of recent language models on diverse tasks, they
suffer from severe performance degeneration in low-resource settings with
limited training data available. Many existing works tackle this problem by
generating synthetic data from the training data and then training models on
them, recently using Large Language Models (LLMs). However, in low-resource
settings, the amount of seed data samples to use for data augmentation is very
small, which makes generated samples suboptimal and less diverse. To tackle
this challenge, we propose a novel method that augments training data by
incorporating a wealth of examples from other datasets, along with the given
training data. Specifically, we first retrieve the relevant instances from
other datasets, such as their input-output pairs or contexts, based on their
similarities with the given seed data, and then prompt LLMs to generate new
samples with the contextual information within and across the original and
retrieved samples. This approach can ensure that the generated data is not only
relevant but also more diverse than what could be achieved using the limited
seed data alone. We validate our proposed Retrieval-Augmented Data Augmentation
(RADA) framework on multiple datasets under low-resource settings of training
and test-time data augmentation scenarios, on which it outperforms existing
LLM-powered data augmentation baselines. | cs.CL | Retrieval-Augmented Data Augmentation for Low-Resource Domain Tasks |
2024-02-21T01:57:58Z | http://arxiv.org/pdf/2402.13470v1 | http://arxiv.org/abs/2402.13470v1 | Aviv Brokman, Ramakanth Kavuluru | 2024-02-21T01:57:58Z | cs.CL | Cutting edge techniques developed in the general NLP domain are often
subsequently applied to the high-value, data-rich biomedical domain. The past
few years have seen generative language models (LMs), instruction finetuning,
and few-shot learning become foci of NLP research. As such, generative LMs
pretrained on biomedical corpora have proliferated and biomedical instruction
finetuning has been attempted as well, all with the hope that domain
specificity improves performance on downstream tasks. Given the nontrivial
effort in training such models, we investigate what, if any, benefits they have
in the key biomedical NLP task of relation extraction. Specifically, we address
two questions: (1) Do LMs trained on biomedical corpora outperform those
trained on general domain corpora? (2) Do models instruction finetuned on
biomedical datasets outperform those finetuned on assorted datasets or those
simply pretrained? We tackle these questions using existing LMs, testing across
four datasets. In a surprising result, general-domain models typically
outperformed biomedical-domain models. However, biomedical instruction
finetuning improved performance to a similar degree as general instruction
finetuning, despite having orders of magnitude fewer instructions. Our findings
suggest it may be more fruitful to focus research effort on larger-scale
biomedical instruction finetuning of general LMs over building domain-specific
biomedical LMs | cs.CL | How Important is Domain Specificity in Language Models and Instruction Finetuning for Biomedical Relation Extraction? |
2024-02-21T01:54:58Z | http://arxiv.org/pdf/2402.13468v1 | http://arxiv.org/abs/2402.13468v1 | Nathan Beck, Adithya Iyer, Rishabh Iyer | 2024-02-21T01:54:58Z | cs.LG, cs.CL | As supervised fine-tuning of pre-trained models within NLP applications
increases in popularity, larger corpora of annotated data are required,
especially with increasing parameter counts in large language models. Active
learning, which attempts to mine and annotate unlabeled instances to improve
model performance maximally fast, is a common choice for reducing the
annotation cost; however, most methods typically ignore class imbalance and
either assume access to initial annotated data or require multiple rounds of
active learning selection before improving rare classes. We present STENCIL,
which utilizes a set of text exemplars and the recently proposed submodular
mutual information to select a set of weakly labeled rare-class instances that
are then strongly labeled by an annotator. We show that STENCIL improves
overall accuracy by $10\%-24\%$ and rare-class F-1 score by $17\%-40\%$ on
multiple text classification datasets over common active learning methods
within the class-imbalanced cold-start setting. | cs.LG | STENCIL: Submodular Mutual Information Based Weak Supervision for Cold-Start Active Learning |
2024-02-21T01:39:56Z | http://arxiv.org/pdf/2402.13463v3 | http://arxiv.org/abs/2402.13463v3 | Jianhao Yan, Yun Luo, Yue Zhang | 2024-06-04T07:48:51Z | cs.CL, cs.AI | The application scope of large language models (LLMs) is increasingly
expanding. In practical use, users might provide feedback based on the model's
output, hoping for a responsive model that can complete responses according to
their feedback. Whether the model can appropriately respond to users' refuting
feedback and consistently follow through with execution has not been thoroughly
analyzed. In light of this, this paper proposes a comprehensive benchmark,
RefuteBench, covering tasks such as question answering, machine translation,
and email writing. The evaluation aims to assess whether models can positively
accept feedback in form of refuting instructions and whether they can
consistently adhere to user demands throughout the conversation. We conduct
evaluations on numerous LLMs and find that LLMs are stubborn, i.e. exhibit
inclination to their internal knowledge, often failing to comply with user
feedback. Additionally, as the length of the conversation increases, models
gradually forget the user's stated feedback and roll back to their own
responses. We further propose a recall-and-repeat prompts as a simple and
effective way to enhance the model's responsiveness to feedback. | cs.CL | RefuteBench: Evaluating Refuting Instruction-Following for Large Language Models |
2024-02-21T01:35:26Z | http://arxiv.org/pdf/2402.13462v1 | http://arxiv.org/abs/2402.13462v1 | Jianhao Yan, Futing Wang, Yafu Li, Yue Zhang | 2024-02-21T01:35:26Z | cs.CL, cs.AI | Large language models (LLMs) trained on vast corpora suffer from inevitable
stereotype biases. Mitigating these biases with fine-tuning could be both
costly and data-hungry. Model editing methods, which focus on modifying LLMs in
a post-hoc manner, are of great potential to address debiasing. However, it
lacks a comprehensive study that facilitates both internal and external model
editing methods, supports various bias types, as well as understands the pros
and cons of applying editing methods to stereotypical debiasing. To mitigate
this gap, we carefully formulate social debiasing into an editing problem and
benchmark seven existing model editing algorithms on stereotypical debiasing,
i.e., debias editing. Our findings in three scenarios reveal both the potential
and challenges of debias editing: (1) Existing model editing methods can
effectively preserve knowledge and mitigate biases, while the generalization of
debias effect from edited sentences to semantically equivalent sentences is
limited.(2) Sequential editing highlights the robustness of SERAC (Mitchell et
al. 2022b), while internal editing methods degenerate with the number of edits.
(3) Model editing algorithms achieve generalization towards unseen biases both
within the same type and from different types. In light of these findings, we
further propose two simple but effective methods to improve debias editing, and
experimentally show the effectiveness of the proposed methods. | cs.CL | Potential and Challenges of Model Editing for Social Debiasing |
2024-02-21T01:30:03Z | http://arxiv.org/pdf/2402.13459v1 | http://arxiv.org/abs/2402.13459v1 | Yao Qiang, Xiangyu Zhou, Saleh Zare Zade, Mohammad Amin Roshani, Douglas Zytko, Dongxiao Zhu | 2024-02-21T01:30:03Z | cs.LG, cs.CL, cs.CR | The advent of Large Language Models (LLMs) has marked significant
achievements in language processing and reasoning capabilities. Despite their
advancements, LLMs face vulnerabilities to data poisoning attacks, where
adversaries insert backdoor triggers into training data to manipulate outputs
for malicious purposes. This work further identifies additional security risks
in LLMs by designing a new data poisoning attack tailored to exploit the
instruction tuning process. We propose a novel gradient-guided backdoor trigger
learning approach to identify adversarial triggers efficiently, ensuring an
evasion of detection by conventional defenses while maintaining content
integrity. Through experimental validation across various LLMs and tasks, our
strategy demonstrates a high success rate in compromising model outputs;
poisoning only 1\% of 4,000 instruction tuning samples leads to a Performance
Drop Rate (PDR) of around 80\%. Our work highlights the need for stronger
defenses against data poisoning attack, offering insights into safeguarding
LLMs against these more sophisticated attacks. The source code can be found on
this GitHub repository: https://github.com/RookieZxy/GBTL/blob/main/README.md. | cs.LG | Learning to Poison Large Language Models During Instruction Tuning |
2024-02-21T01:11:28Z | http://arxiv.org/pdf/2402.13452v2 | http://arxiv.org/abs/2402.13452v2 | Vijeta Deshpande, Minhwa Lee, Zonghai Yao, Zihao Zhang, Jason Brian Gibbons, Hong Yu | 2024-03-26T17:59:14Z | cs.SI, cs.CL, cs.LG | Prior research on Twitter (now X) data has provided positive evidence of its
utility in developing supplementary health surveillance systems. In this study,
we present a new framework to surveil public health, focusing on mental health
(MH) outcomes. We hypothesize that locally posted tweets are indicative of
local MH outcomes and collect tweets posted from 765 neighborhoods (census
block groups) in the USA. We pair these tweets from each neighborhood with the
corresponding MH outcome reported by the Center for Disease Control (CDC) to
create a benchmark dataset, LocalTweets. With LocalTweets, we present the first
population-level evaluation task for Twitter-based MH surveillance systems. We
then develop an efficient and effective method, LocalHealth, for predicting MH
outcomes based on LocalTweets. When used with GPT3.5, LocalHealth achieves the
highest F1-score and accuracy of 0.7429 and 79.78\%, respectively, a 59\%
improvement in F1-score over the GPT3.5 in zero-shot setting. We also utilize
LocalHealth to extrapolate CDC's estimates to proxy unreported neighborhoods,
achieving an F1-score of 0.7291. Our work suggests that Twitter data can be
effectively leveraged to simulate neighborhood-level MH outcomes. | cs.SI | LocalTweets to LocalHealth: A Mental Health Surveillance Framework Based on Twitter Data |
2024-02-21T01:00:17Z | http://arxiv.org/pdf/2402.13449v1 | http://arxiv.org/abs/2402.13449v1 | Zexue He, Leonid Karlinsky, Donghyun Kim, Julian McAuley, Dmitry Krotov, Rogerio Feris | 2024-02-21T01:00:17Z | cs.CL | Large Language Models (LLMs) struggle to handle long input sequences due to
high memory and runtime costs. Memory-augmented models have emerged as a
promising solution to this problem, but current methods are hindered by limited
memory capacity and require costly re-training to integrate with a new LLM. In
this work, we introduce an associative memory module which can be coupled to
any pre-trained (frozen) attention-based LLM without re-training, enabling it
to handle arbitrarily long input sequences. Unlike previous methods, our
associative memory module consolidates representations of individual tokens
into a non-parametric distribution model, dynamically managed by properly
balancing the novelty and recency of the incoming data. By retrieving
information from this consolidated associative memory, the base LLM can achieve
significant (up to 29.7% on Arxiv) perplexity reduction in long-context
modeling compared to other baselines evaluated on standard benchmarks. This
architecture, which we call CAMELoT (Consolidated Associative Memory Enhanced
Long Transformer), demonstrates superior performance even with a tiny context
window of 128 tokens, and also enables improved in-context learning with a much
larger set of demonstrations. | cs.CL | CAMELoT: Towards Large Language Models with Training-Free Consolidated Associative Memory |
2024-02-21T00:49:43Z | http://arxiv.org/pdf/2402.14860v4 | http://arxiv.org/abs/2402.14860v4 | Amit Dhurandhar, Rahul Nair, Moninder Singh, Elizabeth Daly, Karthikeyan Natesan Ramamurthy | 2024-06-10T16:25:30Z | cs.CL, cs.AI, cs.LG | Evaluation and ranking of large language models (LLMs) has become an
important problem with the proliferation of these models and their impact.
Evaluation methods either require human responses which are expensive to
acquire or use pairs of LLMs to evaluate each other which can be unreliable. In
this paper, we provide a novel perspective where, given a dataset of prompts
(viz. questions, instructions, etc.) and a set of LLMs, we rank them without
access to any ground truth or reference responses. Inspired by real life where
both an expert and a knowledgeable person can identify a novice our main idea
is to consider triplets of models, where each one of them evaluates the other
two, correctly identifying the worst model in the triplet with high
probability. We also analyze our idea and provide sufficient conditions for it
to succeed. Applying this idea repeatedly, we propose two methods to rank LLMs.
In experiments on different generative tasks (summarization, multiple-choice,
and dialog), our methods reliably recover close to true rankings without
reference data. This points to a viable low-resource mechanism for practical
use. | cs.CL | Ranking Large Language Models without Ground Truth |
2024-02-21T00:49:42Z | http://arxiv.org/pdf/2402.13448v2 | http://arxiv.org/abs/2402.13448v2 | Liwen Sun, Abhineet Agarwal, Aaron Kornblith, Bin Yu, Chenyan Xiong | 2024-05-27T22:30:46Z | cs.CL, cs.AI, cs.LG | In the emergency department (ED), patients undergo triage and multiple
laboratory tests before diagnosis. This time-consuming process causes ED
crowding which impacts patient mortality, medical errors, staff burnout, etc.
This work proposes (time) cost-effective diagnostic assistance that leverages
artificial intelligence systems to help ED clinicians make efficient and
accurate diagnoses. In collaboration with ED clinicians, we use public patient
data to curate MIMIC-ED-Assist, a benchmark for AI systems to suggest
laboratory tests that minimize wait time while accurately predicting critical
outcomes such as death. With MIMIC-ED-Assist, we develop ED-Copilot which
sequentially suggests patient-specific laboratory tests and makes diagnostic
predictions. ED-Copilot employs a pre-trained bio-medical language model to
encode patient information and uses reinforcement learning to minimize ED wait
time and maximize prediction accuracy. On MIMIC-ED-Assist, ED-Copilot improves
prediction accuracy over baselines while halving average wait time from four
hours to two hours. ED-Copilot can also effectively personalize treatment
recommendations based on patient severity, further highlighting its potential
as a diagnostic assistant. Since MIMIC-ED-Assist is a retrospective benchmark,
ED-Copilot is restricted to recommend only observed tests. We show ED-Copilot
achieves competitive performance without this restriction as the maximum
allowed time increases. Our code is available at
https://github.com/cxcscmu/ED-Copilot. | cs.CL | ED-Copilot: Reduce Emergency Department Wait Time with Language Model Diagnostic Assistance |
2024-02-21T00:44:04Z | http://arxiv.org/pdf/2402.13446v2 | http://arxiv.org/abs/2402.13446v2 | Zhen Tan, Dawei Li, Song Wang, Alimohammad Beigi, Bohan Jiang, Amrita Bhattacharjee, Mansooreh Karami, Jundong Li, Lu Cheng, Huan Liu | 2024-06-23T21:51:45Z | cs.CL | Data annotation generally refers to the labeling or generating of raw data
with relevant information, which could be used for improving the efficacy of
machine learning models. The process, however, is labor-intensive and costly.
The emergence of advanced Large Language Models (LLMs), exemplified by GPT-4,
presents an unprecedented opportunity to automate the complicated process of
data annotation. While existing surveys have extensively covered LLM
architecture, training, and general applications, we uniquely focus on their
specific utility for data annotation. This survey contributes to three core
aspects: LLM-Based Annotation Generation, LLM-Generated Annotations Assessment,
and LLM-Generated Annotations Utilization. Furthermore, this survey includes an
in-depth taxonomy of data types that LLMs can annotate, a comprehensive review
of learning strategies for models utilizing LLM-generated annotations, and a
detailed discussion of the primary challenges and limitations associated with
using LLMs for data annotation. Serving as a key guide, this survey aims to
assist researchers and practitioners in exploring the potential of the latest
LLMs for data annotation, thereby fostering future advancements in this
critical field. | cs.CL | Large Language Models for Data Annotation: A Survey |
2024-02-21T00:01:17Z | http://arxiv.org/pdf/2402.13433v2 | http://arxiv.org/abs/2402.13433v2 | Freda Shi, Kevin Gimpel, Karen Livescu | 2024-06-19T18:33:17Z | cs.CL, cs.DS | We present the structured average intersection-over-union ratio (STRUCT-IOU),
a similarity metric between constituency parse trees motivated by the problem
of evaluating speech parsers. STRUCT-IOU enables comparison between a
constituency parse tree (over automatically recognized spoken word boundaries)
with the ground-truth parse (over written words). To compute the metric, we
project the ground-truth parse tree to the speech domain by forced alignment,
align the projected ground-truth constituents with the predicted ones under
certain structured constraints, and calculate the average IOU score across all
aligned constituent pairs. STRUCT-IOU takes word boundaries into account and
overcomes the challenge that the predicted words and ground truth may not have
perfect one-to-one correspondence. Extending to the evaluation of text
constituency parsing, we demonstrate that STRUCT-IOU can address token-mismatch
issues, and shows higher tolerance to syntactically plausible parses than
PARSEVAL (Black et al., 1991). | cs.CL | Structured Tree Alignment for Evaluation of (Speech) Constituency Parsing |
2024-02-20T23:54:02Z | http://arxiv.org/pdf/2402.13432v1 | http://arxiv.org/abs/2402.13432v1 | Yanis Labrak, Adrien Bazoge, Oumaima El Khettari, Mickael Rouvier, Pacome Constant dit Beaufils, Natalia Grabar, Beatrice Daille, Solen Quiniou, Emmanuel Morin, Pierre-Antoine Gourraud, Richard Dufour | 2024-02-20T23:54:02Z | cs.CL, cs.AI, cs.LG | The biomedical domain has sparked a significant interest in the field of
Natural Language Processing (NLP), which has seen substantial advancements with
pre-trained language models (PLMs). However, comparing these models has proven
challenging due to variations in evaluation protocols across different models.
A fair solution is to aggregate diverse downstream tasks into a benchmark,
allowing for the assessment of intrinsic PLMs qualities from various
perspectives. Although still limited to few languages, this initiative has been
undertaken in the biomedical field, notably English and Chinese. This
limitation hampers the evaluation of the latest French biomedical models, as
they are either assessed on a minimal number of tasks with non-standardized
protocols or evaluated using general downstream tasks. To bridge this research
gap and account for the unique sensitivities of French, we present the
first-ever publicly available French biomedical language understanding
benchmark called DrBenchmark. It encompasses 20 diversified tasks, including
named-entity recognition, part-of-speech tagging, question-answering, semantic
textual similarity, and classification. We evaluate 8 state-of-the-art
pre-trained masked language models (MLMs) on general and biomedical-specific
data, as well as English specific MLMs to assess their cross-lingual
capabilities. Our experiments reveal that no single model excels across all
tasks, while generalist models are sometimes still competitive. | cs.CL | DrBenchmark: A Large Language Understanding Evaluation Benchmark for French Biomedical Domain |
2024-02-20T23:38:39Z | http://arxiv.org/pdf/2402.13426v1 | http://arxiv.org/abs/2402.13426v1 | Xiangci Li, Jessica Ouyang | 2024-02-20T23:38:39Z | cs.CL | Due to the rapid pace of research publications, keeping up to date with all
the latest related papers is very time-consuming, even with daily feed tools.
There is a need for automatically generated, short, customized literature
reviews of sets of papers to help researchers decide what to read. While
several works in the last decade have addressed the task of explaining a single
research paper, usually in the context of another paper citing it, the
relationship among multiple papers has been ignored; prior works have focused
on generating a single citation sentence in isolation, without addressing the
expository and transition sentences needed to connect multiple papers in a
coherent story. In this work, we explore a feature-based, LLM-prompting
approach to generate richer citation texts, as well as generating multiple
citations at once to capture the complex relationships among research papers.
We perform an expert evaluation to investigate the impact of our proposed
features on the quality of the generated paragraphs and find a strong
correlation between human preference and integrative writing style, suggesting
that humans prefer high-level, abstract citations, with transition sentences
between them to provide an overall story. | cs.CL | Explaining Relationships Among Research Papers |
2024-02-20T22:56:23Z | http://arxiv.org/pdf/2402.13415v1 | http://arxiv.org/abs/2402.13415v1 | Kewei Cheng, Nesreen K. Ahmed, Theodore Willke, Yizhou Sun | 2024-02-20T22:56:23Z | cs.CL | Although Large Language Models (LLMs) excel at addressing straightforward
reasoning tasks, they frequently struggle with difficulties when confronted by
more complex multi-step reasoning due to a range of factors. Firstly, natural
language often encompasses complex relationships among entities, making it
challenging to maintain a clear reasoning chain over longer spans. Secondly,
the abundance of linguistic diversity means that the same entities and
relationships can be expressed using different terminologies and structures,
complicating the task of identifying and establishing connections between
multiple pieces of information. Graphs provide an effective solution to
represent data rich in relational information and capture long-term
dependencies among entities. To harness the potential of graphs, our paper
introduces Structure Guided Prompt, an innovative three-stage task-agnostic
prompting framework designed to improve the multi-step reasoning capabilities
of LLMs in a zero-shot setting. This framework explicitly converts unstructured
text into a graph via LLMs and instructs them to navigate this graph using
task-specific strategies to formulate responses. By effectively organizing
information and guiding navigation, it enables LLMs to provide more accurate
and context-aware responses. Our experiments show that this framework
significantly enhances the reasoning capabilities of LLMs, enabling them to
excel in a broader spectrum of natural language scenarios. | cs.CL | Structure Guided Prompt: Instructing Large Language Model in Multi-Step Reasoning by Exploring Graph Structure of the Text |
2024-02-20T22:50:41Z | http://arxiv.org/pdf/2402.13414v2 | http://arxiv.org/abs/2402.13414v2 | Zhiqiang Zhong, Kuangyu Zhou, Davide Mottin | 2024-06-25T08:26:19Z | cs.LG, cs.CL | As Machine Learning (ML) models grow in size and demand higher-quality
training data, the expenses associated with re-training and fine-tuning these
models are escalating rapidly. Inspired by recent impressive achievements of
Large Language Models (LLMs) in different fields, this paper delves into the
question: can LLMs efficiently improve an ML's performance at a minimal cost?
We show that, through our proposed training-free framework LlmCorr, an LLM can
work as a post-hoc corrector to propose corrections for the predictions of an
arbitrary ML model. In particular, we form a contextual knowledge database by
incorporating the dataset's label information and the ML model's predictions on
the validation dataset. Leveraging the in-context learning capability of LLMs,
we ask the LLM to summarise the instances in which the ML model makes mistakes
and the correlation between primary predictions and true labels. Following
this, the LLM can transfer its acquired knowledge to suggest corrections for
the ML model's predictions. Our experimental results on text analysis and the
challenging molecular predictions show that \model improves the performance of
a number of models by up to 39%. | cs.LG | Harnessing Large Language Models as Post-hoc Correctors |
2024-02-20T22:26:35Z | http://arxiv.org/pdf/2402.13408v1 | http://arxiv.org/abs/2402.13408v1 | Zhiyao Ren, Yibing Zhan, Baosheng Yu, Liang Ding, Dacheng Tao | 2024-02-20T22:26:35Z | cs.CL | The copilot framework, which aims to enhance and tailor large language models
(LLMs) for specific complex tasks without requiring fine-tuning, is gaining
increasing attention from the community. In this paper, we introduce the
construction of a Healthcare Copilot designed for medical consultation. The
proposed Healthcare Copilot comprises three main components: 1) the Dialogue
component, responsible for effective and safe patient interactions; 2) the
Memory component, storing both current conversation data and historical patient
information; and 3) the Processing component, summarizing the entire dialogue
and generating reports. To evaluate the proposed Healthcare Copilot, we
implement an auto-evaluation scheme using ChatGPT for two roles: as a virtual
patient engaging in dialogue with the copilot, and as an evaluator to assess
the quality of the dialogue. Extensive results demonstrate that the proposed
Healthcare Copilot significantly enhances the capabilities of general LLMs for
medical consultations in terms of inquiry capability, conversational fluency,
response accuracy, and safety. Furthermore, we conduct ablation studies to
highlight the contribution of each individual module in the Healthcare Copilot.
Code will be made publicly available on GitHub. | cs.CL | Healthcare Copilot: Eliciting the Power of General LLMs for Medical Consultation |
2024-02-20T22:19:56Z | http://arxiv.org/pdf/2402.13405v3 | http://arxiv.org/abs/2402.13405v3 | Yanzhen Shen, Yu Zhang, Yunyi Zhang, Jiawei Han | 2024-05-22T04:09:01Z | cs.CL | Entity set expansion, taxonomy expansion, and seed-guided taxonomy
construction are three representative tasks that aim to automatically populate
an existing taxonomy with new concepts. Previous studies view them as three
separate tasks, and the proposed methods usually only work for one specific
task, which lack generalizability and a holistic perspective across different
tasks. In this paper, we aim to discover a unified solution to all three tasks.
To be specific, we identify two common skills needed for entity set expansion,
taxonomy expansion, and seed-guided taxonomy construction: finding "siblings"
and finding "parents". We introduce a taxonomy-guided instruction tuning
framework to teach a large language model to generate siblings and parents for
query entities, where the joint pre-training process facilitates the mutual
enhancement of these two skills. Extensive experiments on multiple benchmark
datasets demonstrate the efficacy of our proposed TaxoInstruct framework, which
outperforms task-specific baselines across all three tasks. | cs.CL | A Unified Taxonomy-Guided Instruction Tuning Framework for Entity Set Expansion and Taxonomy Expansion |
2024-02-20T20:57:47Z | http://arxiv.org/pdf/2402.13374v1 | http://arxiv.org/abs/2402.13374v1 | Ivan Sekulić, Silvia Terragni, Victor Guimarães, Nghia Khau, Bruna Guedes, Modestas Filipavicius, André Ferreira Manso, Roland Mathis | 2024-02-20T20:57:47Z | cs.CL | In the realm of dialogue systems, user simulation techniques have emerged as
a game-changer, redefining the evaluation and enhancement of task-oriented
dialogue (TOD) systems. These methods are crucial for replicating real user
interactions, enabling applications like synthetic data augmentation, error
detection, and robust evaluation. However, existing approaches often rely on
rigid rule-based methods or on annotated data. This paper introduces DAUS, a
Domain-Aware User Simulator. Leveraging large language models, we fine-tune
DAUS on real examples of task-oriented dialogues. Results on two relevant
benchmarks showcase significant improvements in terms of user goal fulfillment.
Notably, we have observed that fine-tuning enhances the simulator's coherence
with user goals, effectively mitigating hallucinations -- a major source of
inconsistencies in simulator responses. | cs.CL | Reliable LLM-based User Simulator for Task-Oriented Dialogue Systems |
2024-02-20T20:53:24Z | http://arxiv.org/pdf/2402.13372v2 | http://arxiv.org/abs/2402.13372v2 | Jing Han Sun, Ali Emami | 2024-02-22T18:29:00Z | cs.CL | While Large Language Models (LLMs) excel at the Winograd Schema Challenge
(WSC), a coreference resolution task testing common-sense reasoning through
pronoun disambiguation, they struggle with instances that feature minor
alterations or rewording. To address this, we introduce EvoGrad, an open-source
platform that harnesses a human-in-the-loop approach to create a dynamic
dataset tailored to such altered WSC instances. Leveraging ChatGPT's
capabilities, we expand our task instances from 182 to 3,691, setting a new
benchmark for diverse common-sense reasoning datasets. Additionally, we
introduce the error depth metric, assessing model stability in dynamic tasks.
Our results emphasize the challenge posed by EvoGrad: Even the best performing
LLM, GPT-3.5, achieves an accuracy of 65.0% with an average error depth of 7.2,
a stark contrast to human performance of 92. 8% accuracy without perturbation
errors. This highlights ongoing model limitations and the value of dynamic
datasets in uncovering them. | cs.CL | EvoGrad: A Dynamic Take on the Winograd Schema Challenge with Human Adversaries |
2024-02-20T20:52:57Z | http://arxiv.org/pdf/2402.14858v1 | http://arxiv.org/abs/2402.14858v1 | Yifan Ding, Qingkai Zeng, Tim Weninger | 2024-02-20T20:52:57Z | cs.CL, cs.AI | Entity Linking (EL) is an essential and challenging task in natural language
processing that seeks to link some text representing an entity within a
document or sentence with its corresponding entry in a dictionary or knowledge
base. Most existing approaches focus on creating elaborate contextual models
that look for clues the words surrounding the entity-text to help solve the
linking problem. Although these fine-tuned language models tend to work, they
can be unwieldy, difficult to train, and do not transfer well to other domains.
Fortunately, Large Language Models (LLMs) like GPT provide a highly-advanced
solution to the problems inherent in EL models, but simply naive prompts to
LLMs do not work well. In the present work, we define ChatEL, which is a
three-step framework to prompt LLMs to return accurate results. Overall the
ChatEL framework improves the average F1 performance across 10 datasets by more
than 2%. Finally, a thorough error analysis shows many instances with the
ground truth labels were actually incorrect, and the labels predicted by ChatEL
were actually correct. This indicates that the quantitative results presented
in this paper may be a conservative estimate of the actual performance. All
data and code are available as an open-source package on GitHub at
https://github.com/yifding/In_Context_EL. | cs.CL | ChatEL: Entity Linking with Chatbots |
2024-02-20T20:42:02Z | http://arxiv.org/pdf/2402.13364v1 | http://arxiv.org/abs/2402.13364v1 | Yinghao Li, Rampi Ramprasad, Chao Zhang | 2024-02-20T20:42:02Z | cs.CL, cs.IR | Large language models (LLMs) have demonstrated impressive abilities in
generating unstructured natural language according to instructions. However,
their performance can be inconsistent when tasked with producing text that
adheres to specific structured formats, which is crucial in applications like
named entity recognition (NER) or relation extraction (RE). To address this
issue, this paper introduces an efficient method, G&O, to enhance their
structured text generation capabilities. It breaks the generation into a
two-step pipeline: initially, LLMs generate answers in natural language as
intermediate responses. Subsequently, LLMs are asked to organize the output
into the desired structure, using the intermediate responses as context. G&O
effectively separates the generation of content from the structuring process,
reducing the pressure of completing two orthogonal tasks simultaneously. Tested
on zero-shot NER and RE, the results indicate a significant improvement in LLM
performance with minimal additional efforts. This straightforward and adaptable
prompting technique can also be combined with other strategies, like
self-consistency, to further elevate LLM capabilities in various structured
text generation tasks. | cs.CL | A Simple but Effective Approach to Improve Structured Language Model Output for Information Extraction |
2024-02-20T19:53:36Z | http://arxiv.org/pdf/2402.13350v2 | http://arxiv.org/abs/2402.13350v2 | Sławomir Dadas, Michał Perełkiewicz, Rafał Poświata | 2024-03-10T16:13:37Z | cs.CL | We present Polish Information Retrieval Benchmark (PIRB), a comprehensive
evaluation framework encompassing 41 text information retrieval tasks for
Polish. The benchmark incorporates existing datasets as well as 10 new,
previously unpublished datasets covering diverse topics such as medicine, law,
business, physics, and linguistics. We conduct an extensive evaluation of over
20 dense and sparse retrieval models, including the baseline models trained by
us as well as other available Polish and multilingual methods. Finally, we
introduce a three-step process for training highly effective language-specific
retrievers, consisting of knowledge distillation, supervised fine-tuning, and
building sparse-dense hybrid retrievers using a lightweight rescoring model. In
order to validate our approach, we train new text encoders for Polish and
compare their results with previously evaluated methods. Our dense models
outperform the best solutions available to date, and the use of hybrid methods
further improves their performance. | cs.CL | PIRB: A Comprehensive Benchmark of Polish Dense and Hybrid Text Retrieval Methods |
2024-02-20T19:19:47Z | http://arxiv.org/pdf/2402.13331v1 | http://arxiv.org/abs/2402.13331v1 | Anas Himmi, Guillaume Staerman, Marine Picot, Pierre Colombo, Nuno M. Guerreiro | 2024-02-20T19:19:47Z | cs.CL | Hallucinated translations pose significant threats and safety concerns when
it comes to the practical deployment of machine translation systems. Previous
research works have identified that detectors exhibit complementary performance
different detectors excel at detecting different types of hallucinations. In
this paper, we propose to address the limitations of individual detectors by
combining them and introducing a straightforward method for aggregating
multiple detectors. Our results demonstrate the efficacy of our aggregated
detector, providing a promising step towards evermore reliable machine
translation systems. | cs.CL | Enhanced Hallucination Detection in Neural Machine Translation through Simple Detector Aggregation |
2024-02-20T18:59:55Z | http://arxiv.org/pdf/2402.13254v4 | http://arxiv.org/abs/2402.13254v4 | Jianrui Zhang, Mu Cai, Tengyang Xie, Yong Jae Lee | 2024-06-12T17:59:55Z | cs.CV, cs.AI, cs.CL, cs.LG | We propose CounterCurate, a framework to comprehensively improve the
visio-linguistic compositional reasoning capability for both contrastive and
generative multimodal models. In particular, we identify two critical
under-explored problems: the neglect of the physically grounded reasoning
(counting and position understanding) and the potential of using highly capable
text and image generation models for semantic counterfactual fine-tuning. Our
work pioneers an approach that addresses these gaps. We first spotlight the
near-chance performance of multimodal models like CLIP and LLaVA in physically
grounded compositional reasoning. We then apply simple data augmentation using
grounded image generation model GLIGEN to generate fine-tuning data, resulting
in significant performance improvements: +33% and +37% for CLIP and LLaVA,
respectively, on our newly curated Flickr30k-Positions benchmark. Moreover, we
exploit the capabilities of high-performing text generation and image
generation models, specifically GPT-4V and DALLE-3, to curate challenging
semantic counterfactuals, thereby further enhancing compositional reasoning
capabilities on benchmarks such as SugarCrepe, where CounterCurate outperforms
GPT-4V. To facilitate future research, we release our code, dataset, benchmark,
and checkpoints at https://countercurate.github.io. | cs.CV | CounterCurate: Enhancing Physical and Semantic Visio-Linguistic Compositional Reasoning via Counterfactual Examples |
2024-02-20T18:59:26Z | http://arxiv.org/pdf/2402.13253v1 | http://arxiv.org/abs/2402.13253v1 | Sara Pieri, Sahal Shaji Mullappilly, Fahad Shahbaz Khan, Rao Muhammad Anwer, Salman Khan, Timothy Baldwin, Hisham Cholakkal | 2024-02-20T18:59:26Z | cs.CL | In this paper, we introduce BiMediX, the first bilingual medical mixture of
experts LLM designed for seamless interaction in both English and Arabic. Our
model facilitates a wide range of medical interactions in English and Arabic,
including multi-turn chats to inquire about additional details such as patient
symptoms and medical history, multiple-choice question answering, and
open-ended question answering. We propose a semi-automated English-to-Arabic
translation pipeline with human refinement to ensure high-quality translations.
We also introduce a comprehensive evaluation benchmark for Arabic medical LLMs.
Furthermore, we introduce BiMed1.3M, an extensive Arabic-English bilingual
instruction set covering 1.3 Million diverse medical interactions, resulting in
over 632 million healthcare specialized tokens for instruction tuning. Our
BiMed1.3M dataset includes 250k synthesized multi-turn doctor-patient chats and
maintains a 1:2 Arabic-to-English ratio. Our model outperforms state-of-the-art
Med42 and Meditron by average absolute gains of 2.5% and 4.1%, respectively,
computed across multiple medical evaluation benchmarks in English, while
operating at 8-times faster inference. Moreover, our BiMediX outperforms the
generic Arabic-English bilingual LLM, Jais-30B, by average absolute gains of
10% on our Arabic medical benchmark and 15% on bilingual evaluations across
multiple datasets. Our project page with source code and trained model is
available at https://github.com/mbzuai-oryx/BiMediX . | cs.CL | BiMediX: Bilingual Medical Mixture of Experts LLM |
2024-02-20T18:58:49Z | http://arxiv.org/pdf/2402.13249v2 | http://arxiv.org/abs/2402.13249v2 | Liyan Tang, Igor Shalyminov, Amy Wing-mei Wong, Jon Burnsky, Jake W. Vincent, Yu'an Yang, Siffi Singh, Song Feng, Hwanjun Song, Hang Su, Lijia Sun, Yi Zhang, Saab Mansour, Kathleen McKeown | 2024-03-31T15:30:34Z | cs.CL, cs.AI | Single document news summarization has seen substantial progress on
faithfulness in recent years, driven by research on the evaluation of factual
consistency, or hallucinations. We ask whether these advances carry over to
other text summarization domains. We propose a new evaluation benchmark on
topic-focused dialogue summarization, generated by LLMs of varying sizes. We
provide binary sentence-level human annotations of the factual consistency of
these summaries along with detailed explanations of factually inconsistent
sentences. Our analysis shows that existing LLMs hallucinate significant
amounts of factual errors in the dialogue domain, regardless of the model's
size. On the other hand, when LLMs, including GPT-4, serve as binary factual
evaluators, they perform poorly and can be outperformed by prevailing
state-of-the-art specialized factuality evaluation metrics. Finally, we
conducted an analysis of hallucination types with a curated error taxonomy. We
find that there are diverse errors and error distributions in model-generated
summaries and that non-LLM based metrics can capture all error types better
than LLM-based evaluators. | cs.CL | TofuEval: Evaluating Hallucinations of LLMs on Topic-Focused Dialogue Summarization |
2024-02-20T18:57:34Z | http://arxiv.org/pdf/2404.07214v2 | http://arxiv.org/abs/2404.07214v2 | Akash Ghosh, Arkadeep Acharya, Sriparna Saha, Vinija Jain, Aman Chadha | 2024-04-12T21:20:37Z | cs.CV, cs.AI, cs.CL | The advent of Large Language Models (LLMs) has significantly reshaped the
trajectory of the AI revolution. Nevertheless, these LLMs exhibit a notable
limitation, as they are primarily adept at processing textual information. To
address this constraint, researchers have endeavored to integrate visual
capabilities with LLMs, resulting in the emergence of Vision-Language Models
(VLMs). These advanced models are instrumental in tackling more intricate tasks
such as image captioning and visual question answering. In our comprehensive
survey paper, we delve into the key advancements within the realm of VLMs. Our
classification organizes VLMs into three distinct categories: models dedicated
to vision-language understanding, models that process multimodal inputs to
generate unimodal (textual) outputs and models that both accept and produce
multimodal inputs and outputs.This classification is based on their respective
capabilities and functionalities in processing and generating various
modalities of data.We meticulously dissect each model, offering an extensive
analysis of its foundational architecture, training data sources, as well as
its strengths and limitations wherever possible, providing readers with a
comprehensive understanding of its essential components. We also analyzed the
performance of VLMs in various benchmark datasets. By doing so, we aim to offer
a nuanced understanding of the diverse landscape of VLMs. Additionally, we
underscore potential avenues for future research in this dynamic domain,
anticipating further breakthroughs and advancements. | cs.CV | Exploring the Frontier of Vision-Language Models: A Survey of Current Methodologies and Future Directions |
2024-02-20T18:49:41Z | http://arxiv.org/pdf/2402.13234v1 | http://arxiv.org/abs/2402.13234v1 | Lan Li, Jinpeng Lv | 2024-02-20T18:49:41Z | cs.IR, cs.CL | Semantic search, a process aimed at delivering highly relevant search results
by comprehending the searcher's intent and the contextual meaning of terms
within a searchable dataspace, plays a pivotal role in information retrieval.
In this paper, we investigate the application of large language models to
enhance semantic search capabilities, specifically tailored for the domain of
Jupyter Notebooks. Our objective is to retrieve generated outputs, such as
figures or tables, associated functions and methods, and other pertinent
information.
We demonstrate a semantic search framework that achieves a comprehensive
semantic understanding of the entire notebook's contents, enabling it to
effectively handle various types of user queries. Key components of this
framework include:
1). A data preprocessor is designed to handle diverse types of cells within
Jupyter Notebooks, encompassing both markdown and code cells. 2). An innovative
methodology is devised to address token size limitations that arise with
code-type cells. We implement a finer-grained approach to data input,
transitioning from the cell level to the function level, effectively resolving
these issues. | cs.IR | Unlocking Insights: Semantic Search in Jupyter Notebooks |
2024-02-20T18:47:28Z | http://arxiv.org/pdf/2402.13231v1 | http://arxiv.org/abs/2402.13231v1 | Badr AlKhamissi, Muhammad ElNokrashy, Mai AlKhamissi, Mona Diab | 2024-02-20T18:47:28Z | cs.CL, cs.CY | The intricate relationship between language and culture has long been a
subject of exploration within the realm of linguistic anthropology. Large
Language Models (LLMs), promoted as repositories of collective human knowledge,
raise a pivotal question: do these models genuinely encapsulate the diverse
knowledge adopted by different cultures? Our study reveals that these models
demonstrate greater cultural alignment along two dimensions -- firstly, when
prompted with the dominant language of a specific culture, and secondly, when
pretrained with a refined mixture of languages employed by that culture. We
quantify cultural alignment by simulating sociological surveys, comparing model
responses to those of actual survey participants as references. Specifically,
we replicate a survey conducted in various regions of Egypt and the United
States through prompting LLMs with different pretraining data mixtures in both
Arabic and English with the personas of the real respondents and the survey
questions. Further analysis reveals that misalignment becomes more pronounced
for underrepresented personas and for culturally sensitive topics, such as
those probing social values. Finally, we introduce Anthropological Prompting, a
novel method leveraging anthropological reasoning to enhance cultural
alignment. Our study emphasizes the necessity for a more balanced multilingual
pretraining dataset to better represent the diversity of human experience and
the plurality of different cultures with many implications on the topic of
cross-lingual transfer. | cs.CL | Investigating Cultural Alignment of Large Language Models |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.