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-06-17T09:17:40Z | http://arxiv.org/pdf/2406.11354v2 | http://arxiv.org/abs/2406.11354v2 | Zilun Zhang, Yutao Sun, Tiancheng Zhao, Leigang Sha, Ruochen Xu, Kyusong Lee, Jianwei Yin | 2024-06-19T11:36:30Z | cs.CL, cs.AI, cs.CV | Humans can retain old knowledge while learning new information, but Large
Language Models (LLMs) often suffer from catastrophic forgetting when
post-pretrained or supervised fine-tuned (SFT) on domain-specific data.
Moreover, for Multimodal Large Language Models (MLLMs) which are composed of
the LLM base and visual projector (e.g. LLaVA), a significant decline in
performance on language benchmarks was observed compared to their
single-modality counterparts. To address these challenges, we introduce a novel
model-agnostic self-decompression method, Tree Generation (TG), that
decompresses knowledge within LLMs into the training corpus. This paper focuses
on TG-SFT, which can synthetically generate SFT data for the instruction tuning
steps. By incorporating the dumped corpus during SFT for MLLMs, we
significantly reduce the forgetting problem. | cs.CL | Preserving Knowledge in Large Language Model with Model-Agnostic Self-Decompression |
2024-06-17T09:17:05Z | http://arxiv.org/pdf/2406.11353v1 | http://arxiv.org/abs/2406.11353v1 | Guanjie Chen, Xinyu Zhao, Tianlong Chen, Yu Cheng | 2024-06-17T09:17:05Z | cs.LG, cs.CL | Mixture-of-Experts (MoE) has gained increasing popularity as a promising
framework for scaling up large language models (LLMs). However, the reliability
assessment of MoE lags behind its surging applications. Moreover, when
transferred to new domains such as in fine-tuning MoE models sometimes
underperform their dense counterparts. Motivated by the research gap and
counter-intuitive phenomenon, we propose $\texttt{MoE-RBench}$, the first
comprehensive assessment of SMoE reliability from three aspects: $\textit{(i)}$
safety and hallucination, $\textit{(ii)}$ resilience to adversarial attacks,
and $\textit{(iii)}$ out-of-distribution robustness. Extensive models and
datasets are tested to compare the MoE to dense networks from these reliability
dimensions. Our empirical observations suggest that with appropriate
hyperparameters, training recipes, and inference techniques, we can build the
MoE model more reliably than the dense LLM. In particular, we find that the
robustness of SMoE is sensitive to the basic training settings. We hope that
this study can provide deeper insights into how to adapt the pre-trained MoE
model to other tasks with higher-generation security, quality, and stability.
Codes are available at https://github.com/UNITES-Lab/MoE-RBench | cs.LG | $\texttt{MoE-RBench}$: Towards Building Reliable Language Models with Sparse Mixture-of-Experts |
2024-06-17T09:15:57Z | http://arxiv.org/pdf/2406.15484v1 | http://arxiv.org/abs/2406.15484v1 | Ze Wang, Zekun Wu, Xin Guan, Michael Thaler, Adriano Koshiyama, Skylar Lu, Sachin Beepath, Ediz Ertekin Jr., Maria Perez-Ortiz | 2024-06-17T09:15:57Z | cs.CL, cs.AI, cs.CY | This paper presents a novel framework for benchmarking hierarchical gender
hiring bias in Large Language Models (LLMs) for resume scoring, revealing
significant issues of reverse bias and overdebiasing. Our contributions are
fourfold: First, we introduce a framework using a real, anonymized resume
dataset from the Healthcare, Finance, and Construction industries, meticulously
used to avoid confounding factors. It evaluates gender hiring biases across
hierarchical levels, including Level bias, Spread bias, Taste-based bias, and
Statistical bias. This framework can be generalized to other social traits and
tasks easily. Second, we propose novel statistical and computational hiring
bias metrics based on a counterfactual approach, including Rank After Scoring
(RAS), Rank-based Impact Ratio, Permutation Test-Based Metrics, and Fixed
Effects Model-based Metrics. These metrics, rooted in labor economics, NLP, and
law, enable holistic evaluation of hiring biases. Third, we analyze hiring
biases in ten state-of-the-art LLMs. Six out of ten LLMs show significant
biases against males in healthcare and finance. An industry-effect regression
reveals that the healthcare industry is the most biased against males. GPT-4o
and GPT-3.5 are the most biased models, showing significant bias in all three
industries. Conversely, Gemini-1.5-Pro, Llama3-8b-Instruct, and
Llama3-70b-Instruct are the least biased. The hiring bias of all LLMs, except
for Llama3-8b-Instruct and Claude-3-Sonnet, remains consistent regardless of
random expansion or reduction of resume content. Finally, we offer a
user-friendly demo to facilitate adoption and practical application of the
framework. | cs.CL | JobFair: A Framework for Benchmarking Gender Hiring Bias in Large Language Models |
2024-06-17T09:07:58Z | http://arxiv.org/pdf/2406.11345v1 | http://arxiv.org/abs/2406.11345v1 | Han Liu, Yupeng Zhang, Bingning Wang, Weipeng Chen, Xiaolin Hu | 2024-06-17T09:07:58Z | cs.CL, cs.AI | Deep Neural Networks (DNNs) excel in various domains but face challenges in
providing accurate uncertainty estimates, which are crucial for high-stakes
applications. Large Language Models (LLMs) have recently emerged as powerful
tools, demonstrating exceptional performance in language tasks. However,
traditional calibration metrics such as Expected Calibration Error (ECE) and
classwise-ECE (cw-ECE) are inadequate for LLMs due to their vast vocabularies,
data complexity, and distributional focus. To address this, we propose a novel
calibration concept called full calibration and introduce its corresponding
metric, Full-ECE. Full-ECE evaluates the entire predicted probability
distribution, offering a more accurate and robust measure of calibration for
LLMs. | cs.CL | Full-ECE: A Metric For Token-level Calibration on Large Language Models |
2024-06-17T08:59:04Z | http://arxiv.org/pdf/2406.11341v1 | http://arxiv.org/abs/2406.11341v1 | Leonardo Bertolazzi, Albert Gatt, Raffaella Bernardi | 2024-06-17T08:59:04Z | cs.CL | The reasoning abilities of Large Language Models (LLMs) are becoming a
central focus of study in NLP. In this paper, we consider the case of
syllogistic reasoning, an area of deductive reasoning studied extensively in
logic and cognitive psychology. Previous research has shown that pre-trained
LLMs exhibit reasoning biases, such as $\textit{content effects}$, avoid
answering that $\textit{no conclusion follows}$, display human-like
difficulties, and struggle with multi-step reasoning. We contribute to this
research line by systematically investigating the effects of chain-of-thought
reasoning, in-context learning (ICL), and supervised fine-tuning (SFT) on
syllogistic reasoning, considering syllogisms with conclusions that support or
violate world knowledge, as well as ones with multiple premises. Crucially, we
go beyond the standard focus on accuracy, with an in-depth analysis of the
conclusions generated by the models. Our results suggest that the behavior of
pre-trained LLMs can be explained by heuristics studied in cognitive science
and that both ICL and SFT improve model performance on valid inferences,
although only the latter mitigates most reasoning biases without harming model
consistency. | cs.CL | A Systematic Analysis of Large Language Models as Soft Reasoners: The Case of Syllogistic Inferences |
2024-06-17T08:55:48Z | http://arxiv.org/pdf/2406.11338v1 | http://arxiv.org/abs/2406.11338v1 | Sarubi Thillainathan, Alexander Koller | 2024-06-17T08:55:48Z | cs.CL | We present a method for rewriting an input sentence to match specific values
of nontrivial linguistic features, such as dependency depth. In contrast to
earlier work, our method uses in-context learning rather than finetuning,
making it applicable in use cases where data is sparse. We show that our model
performs accurate rewrites and matches the state of the art on rewriting
sentences to a specified school grade level. | cs.CL | Fine-grained Controllable Text Generation through In-context Learning with Feedback |
2024-06-17T08:40:36Z | http://arxiv.org/pdf/2406.11328v1 | http://arxiv.org/abs/2406.11328v1 | Zheheng Luo, Chenhan Yuan, Qianqian Xie, Sophia Ananiadou | 2024-06-17T08:40:36Z | cs.CL | Recent advancements in Large Language Models (LLMs) have demonstrated their
potential in delivering accurate answers to questions about world knowledge.
Despite this, existing benchmarks for evaluating LLMs in healthcare
predominantly focus on medical doctors, leaving other critical healthcare
professions underrepresented. To fill this research gap, we introduce the
Examinations for Medical Personnel in Chinese (EMPEC), a pioneering large-scale
healthcare knowledge benchmark in traditional Chinese. EMPEC consists of
157,803 exam questions across 124 subjects and 20 healthcare professions,
including underrepresented occupations like Optometrists and Audiologists. Each
question is tagged with its release time and source, ensuring relevance and
authenticity. We conducted extensive experiments on 17 LLMs, including
proprietary, open-source models, general domain models and medical specific
models, evaluating their performance under various settings. Our findings
reveal that while leading models like GPT-4 achieve over 75\% accuracy, they
still struggle with specialized fields and alternative medicine. Surprisingly,
general-purpose LLMs outperformed medical-specific models, and incorporating
EMPEC's training data significantly enhanced performance. Additionally, the
results on questions released after the models' training cutoff date were
consistent with overall performance trends, suggesting that the models'
performance on the test set can predict their effectiveness in addressing
unseen healthcare-related queries. The transition from traditional to
simplified Chinese characters had a negligible impact on model performance,
indicating robust linguistic versatility. Our study underscores the importance
of expanding benchmarks to cover a broader range of healthcare professions to
better assess the applicability of LLMs in real-world healthcare scenarios. | cs.CL | Are Large Language Models True Healthcare Jacks-of-All-Trades? Benchmarking Across Health Professions Beyond Physician Exams |
2024-06-17T08:34:57Z | http://arxiv.org/pdf/2406.11925v2 | http://arxiv.org/abs/2406.11925v2 | Sameer Pimparkhede, Mehant Kammakomati, Srikanth Tamilselvam, Prince Kumar, Ashok Pon Kumar, Pushpak Bhattacharyya | 2024-07-03T09:16:27Z | cs.SE, cs.AI, cs.CL | Recent developments show that Large Language Models (LLMs) produce
state-of-the-art performance on natural language (NL) to code generation for
resource-rich general-purpose languages like C++, Java, and Python. However,
their practical usage for structured domain-specific languages (DSLs) such as
YAML, JSON is limited due to domain-specific schema, grammar, and
customizations generally unseen by LLMs during pre-training. Efforts have been
made to mitigate this challenge via in-context learning through relevant
examples or by fine-tuning. However, it suffers from problems, such as limited
DSL samples and prompt sensitivity but enterprises maintain good documentation
of the DSLs. Therefore, we propose DocCGen, a framework that can leverage such
rich knowledge by breaking the NL-to-Code generation task for structured code
languages into a two-step process. First, it detects the correct libraries
using the library documentation that best matches the NL query. Then, it
utilizes schema rules extracted from the documentation of these libraries to
constrain the decoding. We evaluate our framework for two complex structured
languages, Ansible YAML and Bash command, consisting of two settings:
Out-of-domain (OOD) and In-domain (ID). Our extensive experiments show that
DocCGen consistently improves different-sized language models across all six
evaluation metrics, reducing syntactic and semantic errors in structured code.
We plan to open-source the datasets and code to motivate research in
constrained code generation. | cs.SE | DocCGen: Document-based Controlled Code Generation |
2024-06-17T08:30:55Z | http://arxiv.org/pdf/2406.11317v1 | http://arxiv.org/abs/2406.11317v1 | Wentong Chen, Junbo Cui, Jinyi Hu, Yujia Qin, Junjie Fang, Yue Zhao, Chongyi Wang, Jun Liu, Guirong Chen, Yupeng Huo, Yuan Yao, Yankai Lin, Zhiyuan Liu, Maosong Sun | 2024-06-17T08:30:55Z | cs.AI, cs.CL, cs.CV, cs.HC | Utilizing Graphic User Interface (GUI) for human-computer interaction is
essential for accessing a wide range of digital tools. Recent advancements in
Vision Language Models (VLMs) highlight the compelling potential to develop
versatile agents to help humans finish GUI navigation tasks. However, current
VLMs are challenged in terms of fundamental abilities (OCR and grounding) and
GUI knowledge (the functions and control methods of GUI elements), preventing
them from becoming practical GUI agents. To solve these challenges, we
contribute GUICourse, a suite of datasets to train visual-based GUI agents from
general VLMs. First, we introduce the GUIEnv dataset to strengthen the OCR and
grounding capabilities of VLMs. Then, we introduce the GUIAct and GUIChat
datasets to enrich their knowledge of GUI components and interactions.
Experiments demonstrate that our GUI agents have better performance on common
GUI tasks than their baseline VLMs. Even the small-size GUI agent (with 3.1B
parameters) can still work well on single-step and multi-step GUI tasks.
Finally, we analyze the different varieties in the training stage of this agent
by ablation study. Our source codes and datasets are released at
https://github.com/yiye3/GUICourse. | cs.AI | GUICourse: From General Vision Language Models to Versatile GUI Agents |
2024-06-17T08:14:23Z | http://arxiv.org/pdf/2406.11307v1 | http://arxiv.org/abs/2406.11307v1 | Ashim Gupta, Sina Mahdipour Saravani, P. Sadayappan, Vivek Srikumar | 2024-06-17T08:14:23Z | cs.CL | The increasing size of transformer-based models in NLP makes the question of
compressing them important. In this work, we present a comprehensive analysis
of factorization based model compression techniques. Specifically, we focus on
comparing straightforward low-rank factorization against the recently
introduced Monarch factorization, which exhibits impressive performance
preservation on the GLUE benchmark. To mitigate stability issues associated
with low-rank factorization of the matrices in pre-trained transformers, we
introduce a staged factorization approach wherein layers are factorized one by
one instead of being factorized simultaneously. Through this strategy we
significantly enhance the stability and reliability of the compression process.
Further, we introduce a simple block-wise low-rank factorization method, which
has a close relationship to Monarch factorization. Our experiments lead to the
surprising conclusion that straightforward low-rank factorization consistently
outperforms Monarch factorization across both different compression ratios and
six different text classification tasks. | cs.CL | An Empirical Investigation of Matrix Factorization Methods for Pre-trained Transformers |
2024-06-17T08:09:00Z | http://arxiv.org/pdf/2406.11303v1 | http://arxiv.org/abs/2406.11303v1 | Yunxin Li, Xinyu Chen, Baotian Hu, Longyue Wang, Haoyuan Shi, Min Zhang | 2024-06-17T08:09:00Z | cs.CV, cs.AI, cs.CL | Despite significant breakthroughs in video analysis driven by the rapid
development of large multimodal models (LMMs), there remains a lack of a
versatile evaluation benchmark to comprehensively assess these models'
performance in video understanding and reasoning. To address this, we present
VideoVista, a video QA benchmark that integrates challenges across diverse
content categories, durations, and abilities. Specifically, VideoVista
comprises 25,000 questions derived from 3,400 videos spanning 14 categories
(e.g., Howto, Film, and Entertainment) with durations ranging from a few
seconds to over 10 minutes. Besides, it encompasses 19 types of understanding
tasks (e.g., anomaly detection, interaction understanding) and 8 reasoning
tasks (e.g., logical reasoning, causal reasoning). To achieve this, we present
an automatic data construction framework, leveraging powerful GPT-4o alongside
advanced analysis tools (e.g., video splitting, object segmenting, and
tracking). We also utilize this framework to construct training data to enhance
the capabilities of video-related LMMs (Video-LMMs). Through a comprehensive
and quantitative evaluation of cutting-edge models, we reveal that: 1)
Video-LMMs face difficulties in fine-grained video tasks involving temporal
location, object tracking, and anomaly detection; 2) Video-LMMs present
inferior logical and relation reasoning abilities; 3) Open-source Video-LMMs'
performance is significantly lower than GPT-4o and Gemini-1.5, lagging by 20
points. This highlights the crucial role VideoVista will play in advancing LMMs
that can accurately understand videos and perform precise reasoning. | cs.CV | VideoVista: A Versatile Benchmark for Video Understanding and Reasoning |
2024-06-17T08:08:11Z | http://arxiv.org/pdf/2406.11301v1 | http://arxiv.org/abs/2406.11301v1 | Jiuding Yang, Weidong Guo, Kaitong Yang, Xiangyang Li, Zhuwei Rao, Yu Xu, Di Niu | 2024-06-17T08:08:11Z | cs.AI, cs.CL, cs.LG | The effective alignment of Large Language Models (LLMs) with precise
instructions is essential for their application in diverse real-world
scenarios. Current methods focus on enhancing the diversity and complexity of
training and evaluation samples, yet they fall short in accurately assessing
LLMs' ability to follow similar instruction variants. We introduce an effective
data augmentation technique that decomposes complex instructions into simpler
sub-components, modifies these, and reconstructs them into new variants,
thereby preserves the original instruction's context and complexity while
introducing variability, which is critical for training and evaluating LLMs'
instruction-following precision. We developed the DeMoRecon dataset using this
method to both fine-tune and evaluate LLMs. Our findings show that LLMs
fine-tuned with DeMoRecon will gain significant performance boost on both ours
and commonly used instructions-following benchmarks. | cs.AI | Optimizing and Testing Instruction-Following: Analyzing the Impact of Fine-Grained Instruction Variants on instruction-tuned LLMs |
2024-06-17T08:08:03Z | http://arxiv.org/pdf/2406.11924v1 | http://arxiv.org/abs/2406.11924v1 | Silvia García-Méndez, Francisco de Arriba-Pérez, Jaime González-Gonzáleza, Francisco J. González-Castaño | 2024-06-17T08:08:03Z | cs.SI, cs.AI, cs.CL, cs.LG | Social media include diverse interaction metrics related to user popularity,
the most evident example being the number of user followers. The latter has
raised concerns about the credibility of the posts by the most popular
creators. However, most existing approaches to assess credibility in social
media strictly consider this problem a binary classification, often based on a
priori information, without checking if actual real-world facts back the users'
comments. In addition, they do not provide automatic explanations of their
predictions to foster their trustworthiness. In this work, we propose a
credibility assessment solution for financial creators in social media that
combines Natural Language Processing and Machine Learning. The reputation of
the contributors is assessed by automatically classifying their forecasts on
asset values by type and verifying these predictions with actual market data to
approximate their probability of success. The outcome of this verification is a
continuous credibility score instead of a binary result, an entirely novel
contribution by this work. Moreover, social media metrics (i.e., user context)
are exploited by calculating their correlation with the credibility rankings,
providing insights on the interest of the end-users in financial posts and
their forecasts (i.e., drop or rise). Finally, the system provides natural
language explanations of its decisions based on a model-agnostic analysis of
relevant features. | cs.SI | Explainable assessment of financial experts' credibility by classifying social media forecasts and checking the predictions with actual market data |
2024-06-17T07:52:42Z | http://arxiv.org/pdf/2406.11290v1 | http://arxiv.org/abs/2406.11290v1 | Hengran Zhang, Keping Bi, Jiafeng Guo, Xueqi Cheng | 2024-06-17T07:52:42Z | cs.IR, cs.AI, cs.CL, cs.LG | Utility and topical relevance are critical measures in information retrieval
(IR), reflecting system and user perspectives, respectively. While topical
relevance has long been emphasized, utility is a higher standard of relevance
and is more useful for facilitating downstream tasks, e.g., in
Retrieval-Augmented Generation (RAG). When we incorporate utility judgments
into RAG, we realize that the topical relevance, utility, and answering in RAG
are closely related to the three types of relevance that Schutz discussed from
a philosophical perspective. They are topical relevance, interpretational
relevance, and motivational relevance, respectively. Inspired by the dynamic
iterations of the three types of relevance, we propose an Iterative utiliTy
judgmEnt fraMework (ITEM) to promote each step of the cycle of RAG. We
conducted extensive experiments on multi-grade passage retrieval and factoid
question-answering datasets (i.e., TREC DL, WebAP, and NQ). Experimental
results demonstrate significant improvements in utility judgments, ranking of
topical relevance, and answer generation upon representative baselines,
including multiple single-shot utility judging approaches. Our code and
benchmark can be found at https://anonymous.4open.science/r/ITEM-B486/. | cs.IR | Iterative Utility Judgment Framework via LLMs Inspired by Relevance in Philosophy |
2024-06-17T07:52:32Z | http://arxiv.org/pdf/2406.11289v1 | http://arxiv.org/abs/2406.11289v1 | Haopeng Zhang, Philip S. Yu, Jiawei Zhang | 2024-06-17T07:52:32Z | cs.CL | Text summarization research has undergone several significant transformations
with the advent of deep neural networks, pre-trained language models (PLMs),
and recent large language models (LLMs). This survey thus provides a
comprehensive review of the research progress and evolution in text
summarization through the lens of these paradigm shifts. It is organized into
two main parts: (1) a detailed overview of datasets, evaluation metrics, and
summarization methods before the LLM era, encompassing traditional statistical
methods, deep learning approaches, and PLM fine-tuning techniques, and (2) the
first detailed examination of recent advancements in benchmarking, modeling,
and evaluating summarization in the LLM era. By synthesizing existing
literature and presenting a cohesive overview, this survey also discusses
research trends, open challenges, and proposes promising research directions in
summarization, aiming to guide researchers through the evolving landscape of
summarization research. | cs.CL | A Systematic Survey of Text Summarization: From Statistical Methods to Large Language Models |
2024-06-17T07:51:44Z | http://arxiv.org/pdf/2406.11288v1 | http://arxiv.org/abs/2406.11288v1 | Shengkang Wang, Hongzhan Lin, Ziyang Luo, Zhen Ye, Guang Chen, Jing Ma | 2024-06-17T07:51:44Z | cs.CL, cs.CV | Large vision-language models (LVLMs) have significantly improved multimodal
reasoning tasks, such as visual question answering and image captioning. These
models embed multimodal facts within their parameters, rather than relying on
external knowledge bases to store factual information explicitly. However, the
content discerned by LVLMs may deviate from actual facts due to inherent bias
or incorrect inference. To address this issue, we introduce MFC-Bench, a
rigorous and comprehensive benchmark designed to evaluate the factual accuracy
of LVLMs across three tasks: Manipulation, Out-of-Context, and Veracity
Classification. Through our evaluation on MFC-Bench, we benchmarked 12 diverse
and representative LVLMs, uncovering that current models still fall short in
multimodal fact-checking and demonstrate insensitivity to various forms of
manipulated content. We hope that MFC-Bench could raise attention to the
trustworthy artificial intelligence potentially assisted by LVLMs in the
future. The MFC-Bench and accompanying resources are publicly accessible at
https://github.com/wskbest/MFC-Bench, contributing to ongoing research in the
multimodal fact-checking field. | cs.CL | MFC-Bench: Benchmarking Multimodal Fact-Checking with Large Vision-Language Models |
2024-06-17T07:46:45Z | http://arxiv.org/pdf/2406.11285v1 | http://arxiv.org/abs/2406.11285v1 | Jie Li, Yi Liu, Chongyang Liu, Xiaoning Ren, Ling Shi, Weisong Sun, Yinxing Xue | 2024-06-17T07:46:45Z | cs.CR, cs.CL | Large Language Models (LLMs) like OpenAI's GPT series, Anthropic's Claude,
and Meta's LLaMa have shown remarkable capabilities in text generation.
However, their susceptibility to toxic prompts presents significant security
challenges. This paper investigates alignment techniques, including Supervised
Fine-Tuning (SFT) and Reinforcement Learning from Human Feedback (RLHF), to
mitigate these risks. We conduct an empirical study on refusal patterns across
nine LLMs, revealing that models with uniform refusal patterns, such as
Claude3, exhibit higher security. Based on these findings, we propose
self-distilling and cross-model distilling methods to enhance LLM security. Our
results show that these methods significantly improve refusal rates and reduce
unsafe content, with cross-model distilling achieving refusal rates close to
Claude3's 94.51%. These findings underscore the potential of distillation-based
alignment in securing LLMs against toxic prompts. | cs.CR | Self and Cross-Model Distillation for LLMs: Effective Methods for Refusal Pattern Alignment |
2024-06-17T07:30:40Z | http://arxiv.org/pdf/2406.11278v1 | http://arxiv.org/abs/2406.11278v1 | Duygu Nur Yaldiz, Yavuz Faruk Bakman, Baturalp Buyukates, Chenyang Tao, Anil Ramakrishna, Dimitrios Dimitriadis, Salman Avestimehr | 2024-06-17T07:30:40Z | cs.CL | In this work, we introduce the Learnable Response Scoring Function (LARS) for
Uncertainty Estimation (UE) in generative Large Language Models (LLMs). Current
scoring functions for probability-based UE, such as length-normalized scoring
and semantic contribution-based weighting, are designed to solve specific
aspects of the problem but exhibit limitations, including the inability to
handle biased probabilities and under-performance in low-resource languages
like Turkish. To address these issues, we propose LARS, a scoring function that
leverages supervised data to capture complex dependencies between tokens and
probabilities, thereby producing more reliable and calibrated response scores
in computing the uncertainty of generations. Our extensive experiments across
multiple datasets show that LARS substantially outperforms existing scoring
functions considering various probability-based UE methods. | cs.CL | Do Not Design, Learn: A Trainable Scoring Function for Uncertainty Estimation in Generative LLMs |
2024-06-17T07:30:05Z | http://arxiv.org/pdf/2406.11277v1 | http://arxiv.org/abs/2406.11277v1 | Xiaoxue Cheng, Junyi Li, Wayne Xin Zhao, Hongzhi Zhang, Fuzheng Zhang, Di Zhang, Kun Gai, Ji-Rong Wen | 2024-06-17T07:30:05Z | cs.CL | Hallucination detection is a challenging task for large language models
(LLMs), and existing studies heavily rely on powerful closed-source LLMs such
as GPT-4. In this paper, we propose an autonomous LLM-based agent framework,
called HaluAgent, which enables relatively smaller LLMs (e.g. Baichuan2-Chat
7B) to actively select suitable tools for detecting multiple hallucination
types such as text, code, and mathematical expression. In HaluAgent, we
integrate the LLM, multi-functional toolbox, and design a fine-grained
three-stage detection framework along with memory mechanism. To facilitate the
effectiveness of HaluAgent, we leverage existing Chinese and English datasets
to synthesize detection trajectories for fine-tuning, which endows HaluAgent
with the capability for bilingual hallucination detection. Extensive
experiments demonstrate that only using 2K samples for tuning LLMs, HaluAgent
can perform hallucination detection on various types of tasks and datasets,
achieving performance comparable to or even higher than GPT-4 without tool
enhancements on both in-domain and out-of-domain datasets. We release our
dataset and code at https://github.com/RUCAIBox/HaluAgent. | cs.CL | Small Agent Can Also Rock! Empowering Small Language Models as Hallucination Detector |
2024-06-17T07:25:09Z | http://arxiv.org/pdf/2406.11275v1 | http://arxiv.org/abs/2406.11275v1 | Wei Jie Yeo, Teddy Ferdinan, Przemyslaw Kazienko, Ranjan Satapathy, Erik Cambria | 2024-06-17T07:25:09Z | cs.CL | Large language models (LLMs) often necessitate extensive labeled datasets and
training compute to achieve impressive performance across downstream tasks.
This paper explores a self-training paradigm, where the LLM autonomously
curates its own labels and selectively trains on unknown data samples
identified through a reference-free consistency method. Empirical evaluations
demonstrate significant improvements in reducing hallucination in generation
across multiple subjects. Furthermore, the selective training framework
mitigates catastrophic forgetting in out-of-distribution benchmarks, addressing
a critical limitation in training LLMs. Our findings suggest that such an
approach can substantially reduce the dependency on large labeled datasets,
paving the way for more scalable and cost-effective language model training. | cs.CL | Self-training Large Language Models through Knowledge Detection |
2024-06-17T07:24:38Z | http://arxiv.org/pdf/2406.11274v1 | http://arxiv.org/abs/2406.11274v1 | Qian Chen, Wen Wang, Qinglin Zhang, Siqi Zheng, Shiliang Zhang, Chong Deng, Hai Yu, Jiaqing Liu, Yukun Ma, Chong Zhang | 2024-06-17T07:24:38Z | cs.CL | The Transformer architecture has significantly advanced deep learning,
particularly in natural language processing, by effectively managing long-range
dependencies. However, as the demand for understanding complex relationships
grows, refining the Transformer's architecture becomes critical. This paper
introduces Skip-Layer Attention (SLA) to enhance Transformer models by enabling
direct attention between non-adjacent layers. This method improves the model's
ability to capture dependencies between high-level abstract features and
low-level details. By facilitating direct attention between these diverse
feature levels, our approach overcomes the limitations of current Transformers,
which often rely on suboptimal intra-layer attention. Our implementation
extends the Transformer's functionality by enabling queries in a given layer to
interact with keys and values from both the current layer and one preceding
layer, thus enhancing the diversity of multi-head attention without additional
computational burden. Extensive experiments demonstrate that our enhanced
Transformer model achieves superior performance in language modeling tasks,
highlighting the effectiveness of our skip-layer attention mechanism. | cs.CL | Skip-Layer Attention: Bridging Abstract and Detailed Dependencies in Transformers |
2024-06-17T07:16:07Z | http://arxiv.org/pdf/2406.11267v1 | http://arxiv.org/abs/2406.11267v1 | Minda Hu, Bowei He, Yufei Wang, Liangyou Li, Chen Ma, Irwin King | 2024-06-17T07:16:07Z | cs.CL | Large language models (LLMs) have demonstrated remarkable performance on
various natural language processing tasks. However, they are prone to
generating fluent yet untruthful responses, known as "hallucinations".
Hallucinations can lead to the spread of misinformation and cause harm in
critical applications. Mitigating hallucinations is challenging as they arise
from factors such as noisy data, model overconfidence, lack of knowledge, and
the generation process itself. Recent efforts have attempted to address this
issue through representation editing and decoding algorithms, reducing
hallucinations without major structural changes or retraining. However, these
approaches either implicitly edit LLMs' behavior in latent space or suppress
the tendency to output unfaithful results during decoding instead of explicitly
modeling on hallucination. In this work, we introduce Faithful Finetuning (F2),
a novel method that explicitly models the process of faithful question
answering through carefully designed loss functions during fine-tuning. We
conduct extensive experiments on popular datasets and demonstrate that F2
achieves significant improvements over vanilla models and baselines. | cs.CL | Mitigating Large Language Model Hallucination with Faithful Finetuning |
2024-06-17T07:08:29Z | http://arxiv.org/pdf/2406.11263v1 | http://arxiv.org/abs/2406.11263v1 | Wanli Yang, Fei Sun, Jiajun Tan, Xinyu Ma, Du Su, Dawei Yin, Huawei Shen | 2024-06-17T07:08:29Z | cs.CL, cs.AI | Despite significant progress in model editing methods, their application in
real-world scenarios remains challenging as they often cause large language
models (LLMs) to collapse. Among them, ROME is particularly concerning, as it
could disrupt LLMs with only a single edit. In this paper, we study the root
causes of such collapse. Through extensive analysis, we identify two primary
factors that contribute to the collapse: i) inconsistent handling of prefixed
and unprefixed keys in the parameter update equation may result in very small
denominators, causing excessively large parameter updates; ii) the subject of
collapse cases is usually the first token, whose unprefixed key distribution
significantly differs from the prefixed key distribution in autoregressive
transformers, causing the aforementioned issue to materialize. To validate our
analysis, we propose a simple yet effective approach: uniformly using prefixed
keys during editing phase and adding prefixes during the testing phase. The
experimental results show that the proposed solution can prevent model collapse
while maintaining the effectiveness of the edits. | cs.CL | The Fall of ROME: Understanding the Collapse of LLMs in Model Editing |
2024-06-17T07:00:41Z | http://arxiv.org/pdf/2406.11260v1 | http://arxiv.org/abs/2406.11260v1 | Sungwon Park, Sungwon Han, Meeyoung Cha | 2024-06-17T07:00:41Z | cs.CL, cs.AI | The spread of fake news negatively impacts individuals and is regarded as a
significant social challenge that needs to be addressed. A number of
algorithmic and insightful features have been identified for detecting fake
news. However, with the recent LLMs and their advanced generation capabilities,
many of the detectable features (e.g., style-conversion attacks) can be
altered, making it more challenging to distinguish from real news. This study
proposes adversarial style augmentation, AdStyle, to train a fake news detector
that remains robust against various style-conversion attacks. Our model's key
mechanism is the careful use of LLMs to automatically generate a diverse yet
coherent range of style-conversion attack prompts. This improves the generation
of prompts that are particularly difficult for the detector to handle.
Experiments show that our augmentation strategy improves robustness and
detection performance when tested on fake news benchmark datasets. | cs.CL | Adversarial Style Augmentation via Large Language Model for Robust Fake News Detection |
2024-06-17T06:48:31Z | http://arxiv.org/pdf/2406.11258v1 | http://arxiv.org/abs/2406.11258v1 | Minda Hu, Licheng Zong, Hongru Wang, Jingyan Zhou, Jingjing Li, Yichen Gao, Kam-Fai Wong, Yu Li, Irwin King | 2024-06-17T06:48:31Z | cs.CL | Large Language Models (LLMs) have shown great potential in the biomedical
domain with the advancement of retrieval-augmented generation (RAG). However,
existing retrieval-augmented approaches face challenges in addressing diverse
queries and documents, particularly for medical knowledge queries, resulting in
sub-optimal performance. To address these limitations, we propose a novel
plug-and-play LLM-based retrieval method called Self-Rewarding Tree Search
(SeRTS) based on Monte Carlo Tree Search (MCTS) and a self-rewarding paradigm.
By combining the reasoning capabilities of LLMs with the effectiveness of tree
search, SeRTS boosts the zero-shot performance of retrieving high-quality and
informative results for RAG. We further enhance retrieval performance by
fine-tuning LLMs with Proximal Policy Optimization (PPO) objectives using the
trajectories collected by SeRTS as feedback. Controlled experiments using the
BioASQ-QA dataset with GPT-3.5-Turbo and LLama2-7b demonstrate that our method
significantly improves the performance of the BM25 retriever and surpasses the
strong baseline of self-reflection in both efficiency and scalability.
Moreover, SeRTS generates higher-quality feedback for PPO training than
self-reflection. Our proposed method effectively adapts LLMs to document
retrieval tasks, enhancing their ability to retrieve highly relevant documents
for RAG in the context of medical knowledge queries. This work presents a
significant step forward in leveraging LLMs for accurate and comprehensive
biomedical question answering. | cs.CL | Enhancing Biomedical Knowledge Retrieval-Augmented Generation with Self-Rewarding Tree Search and Proximal Policy Optimization |
2024-06-17T06:47:03Z | http://arxiv.org/pdf/2406.11256v1 | http://arxiv.org/abs/2406.11256v1 | Tong Zhu, Daize Dong, Xiaoye Qu, Jiacheng Ruan, Wenliang Chen, Yu Cheng | 2024-06-17T06:47:03Z | cs.CL | Mixture-of-Experts (MoE) models have shown remarkable capability in
instruction tuning, especially when the number of tasks scales. However,
previous methods simply merge all training tasks (e.g. creative writing,
coding, and mathematics) and apply fixed sampling weights, without considering
the importance of different tasks as the model training state changes. In this
way, the most helpful data cannot be effectively distinguished, leading to
suboptimal model performance. To reduce the potential redundancies of datasets,
we make the first attempt and propose a novel dynamic data mixture for MoE
instruction tuning. Specifically, inspired by MoE's token routing preference,
we build dataset-level representations and then capture the subtle differences
among datasets. Finally, we propose to dynamically adjust the sampling weight
of datasets by their inter-redundancies, thus maximizing global performance
under a limited training budget. The experimental results on two MoE models
demonstrate the effectiveness of our approach on both downstream knowledge \&
reasoning tasks and open-ended queries. Code and models are available at
https://github.com/Spico197/MoE-SFT . | cs.CL | Dynamic Data Mixing Maximizes Instruction Tuning for Mixture-of-Experts |
2024-06-17T06:42:13Z | http://arxiv.org/pdf/2406.15483v1 | http://arxiv.org/abs/2406.15483v1 | Ian Ormesher | 2024-06-17T06:42:13Z | cs.CL, cs.DB, cs.LG | Customer data is often stored as records in Customer Relations Management
systems (CRMs). Data which is manually entered into such systems by one of more
users over time leads to data replication, partial duplication or fuzzy
duplication. This in turn means that there no longer a single source of truth
for customers, contacts, accounts, etc. Downstream business processes become
increasing complex and contrived without a unique mapping between a record in a
CRM and the target customer. Current methods to detect and de-duplicate records
use traditional Natural Language Processing techniques known as Entity
Matching. In this paper we show how using the latest advancements in Large
Language Models and Generative AI can vastly improve the identification and
repair of duplicated records. On common benchmark datasets we find an
improvement in the accuracy of data de-duplication rates from 30 percent using
NLP techniques to almost 60 percent using our proposed method. | cs.CL | Duplicate Detection with GenAI |
2024-06-17T06:22:20Z | http://arxiv.org/pdf/2406.11250v1 | http://arxiv.org/abs/2406.11250v1 | Muhammad Arslan Manzoor, Yuxia Wang, Minghan Wang, Preslav Nakov | 2024-06-17T06:22:20Z | cs.CL | Empathy plays a pivotal role in fostering prosocial behavior, often triggered
by the sharing of personal experiences through narratives. However, modeling
empathy using NLP approaches remains challenging due to its deep
interconnection with human interaction dynamics. Previous approaches, which
involve fine-tuning language models (LMs) on human-annotated empathic datasets,
have had limited success. In our pursuit of improving empathy understanding in
LMs, we propose several strategies, including contrastive learning with masked
LMs and supervised fine-tuning with Large Language Models (LLMs). While these
methods show improvements over previous methods, the overall results remain
unsatisfactory. To better understand this trend, we performed an analysis which
reveals a low agreement among annotators. This lack of consensus hinders
training and highlights the subjective nature of the task. We also explore the
cultural impact on annotations. To study this, we meticulously collected story
pairs in Urdu language and find that subjectivity in interpreting empathy among
annotators appears to be independent of cultural background. The insights from
our systematic exploration of LMs' understanding of empathy suggest that there
is considerable room for exploration in both task formulation and modeling. | cs.CL | Can Machines Resonate with Humans? Evaluating the Emotional and Empathic Comprehension of LMs |
2024-06-17T06:14:55Z | http://arxiv.org/pdf/2406.11243v1 | http://arxiv.org/abs/2406.11243v1 | Bangzheng Li, Ben Zhou, Xingyu Fu, Fei Wang, Dan Roth, Muhao Chen | 2024-06-17T06:14:55Z | cs.CL, cs.AI | Language models have shown impressive in-context-learning capabilities, which
allow them to benefit from input prompts and perform better on downstream end
tasks. Existing works investigate the mechanisms behind this observation, and
propose label-agnostic prompt metrics that can better estimate end-task
performances. One popular approach is using perplexity as a way to measure
models' familiarity with the prompt. While showing consistent improvements on
in-domain tasks, we found that familiarity metrics such as perplexity cannot
accurately estimate performance in complicated situations such as task or
domain transferring scenarios. In this work, we propose a revised measure
called FamiCom, providing a more comprehensive measure for task-agnostic
performance estimation. Specifically, FamiCom combines familiarity with
\textit{complexity} -- the inherent difficulty of end tasks, which is an
important factor missing from current metrics. Experiments show that FamiCom
strongly correlates with end-task performances, producing a 0.85 Spearman's
correlation, versus 0.43 of familiarity-only ones'. We further apply FamiCom to
automatic prompt and demonstration selection, and outperform existing methods
and baselines by more than 7.0% in accuracy. | cs.CL | FamiCom: Further Demystifying Prompts for Language Models with Task-Agnostic Performance Estimation |
2024-06-17T06:08:18Z | http://arxiv.org/pdf/2406.15481v1 | http://arxiv.org/abs/2406.15481v1 | Haneul Yoo, Yongjin Yang, Hwaran Lee | 2024-06-17T06:08:18Z | cs.AI, cs.CL | Recent studies in large language models (LLMs) shed light on their
multilingual ability and safety, beyond conventional tasks in language
modeling. Still, current benchmarks reveal their inability to comprehensively
evaluate them and are excessively dependent on manual annotations. In this
paper, we introduce code-switching red-teaming (CSRT), a simple yet effective
red-teaming technique that simultaneously tests multilingual understanding and
safety of LLMs. We release the CSRT dataset, which comprises 315 code-switching
queries combining up to 10 languages and eliciting a wide range of undesirable
behaviors. Through extensive experiments with ten state-of-the-art LLMs, we
demonstrate that CSRT significantly outperforms existing multilingual
red-teaming techniques, achieving 46.7% more attacks than existing methods in
English. We analyze the harmful responses toward the CSRT dataset concerning
various aspects under ablation studies with 16K samples, including but not
limited to scaling laws, unsafe behavior categories, and input conditions for
optimal data generation. Additionally, we validate the extensibility of CSRT,
by generating code-switching attack prompts with monolingual data. | cs.AI | CSRT: Evaluation and Analysis of LLMs using Code-Switching Red-Teaming Dataset |
2024-06-17T06:07:32Z | http://arxiv.org/pdf/2406.11239v1 | http://arxiv.org/abs/2406.11239v1 | Aldan Creo, Shushanta Pudasaini | 2024-06-17T06:07:32Z | cs.CL, cs.AI | The generation of text that is increasingly human-like has been enabled by
the advent of large language models (LLMs). As the detection of AI-generated
content holds significant importance in the fight against issues such as
misinformation and academic cheating, numerous studies have been conducted to
develop reliable LLM detectors. While promising results have been demonstrated
by such detectors on test data, recent research has revealed that they can be
circumvented by employing different techniques. In this article,
homoglyph-based ($a \rightarrow {\alpha}$) attacks that can be used to
circumvent existing LLM detectors are presented. The efficacy of the attacks is
illustrated by analizing how homoglyphs shift the tokenization of the text, and
thus its token loglikelihoods. A comprehensive evaluation is conducted to
assess the effectiveness of homoglyphs on state-of-the-art LLM detectors,
including Binoculars, DetectGPT, OpenAI's detector, and watermarking
techniques, on five different datasets. A significant reduction in the
efficiency of all the studied configurations of detectors and datasets, down to
an accuracy of 0.5 (random guessing), is demonstrated by the proposed approach.
The results show that homoglyph-based attacks can effectively evade existing
LLM detectors, and the implications of these findings are discussed along with
possible defenses against such attacks. | cs.CL | Evading AI-Generated Content Detectors using Homoglyphs |
2024-06-17T06:07:29Z | http://arxiv.org/pdf/2406.11238v1 | http://arxiv.org/abs/2406.11238v1 | Yutong Hu, Quzhe Huang, Kangcheng Luo, Yansong Feng | 2024-06-17T06:07:29Z | cs.CL | As the context length that large language models can handle continues to
increase, these models demonstrate an enhanced ability to utilize distant
information for tasks such as language modeling. This capability contrasts with
human reading and writing habits, where it is uncommon to remember and use
particularly distant information, except in cases of foreshadowing. In this
paper, we aim to explore which kinds of words benefit more from long contexts
in language models. By analyzing the changes in token probabilities with
increasing context length, we find that content words (e.g., nouns, adjectives)
and the initial tokens of words benefit the most. Frequent patterns in the
context (N-grams) also significantly impact predictions. Additionally, the
model's prior knowledge plays a crucial role in influencing predictions,
especially for rare tokens. We also observe that language models become more
confident with longer contexts, resulting in sharper probability distributions.
This overconfidence may contribute to the increasing probabilities of tokens
with distant contextual information. We hope that our analysis will help the
community better understand long-text language modeling and contribute to the
design of more reliable long-context models. | cs.CL | What Kinds of Tokens Benefit from Distant Text? An Analysis on Long Context Language Modeling |
2024-06-17T06:01:11Z | http://arxiv.org/pdf/2406.11234v1 | http://arxiv.org/abs/2406.11234v1 | Qiao Sun, Liujia Yang, Minghao Ma, Nanyang Ye, Qinying Gu | 2024-06-17T06:01:11Z | cs.CL, cs.AI | Aspect Sentiment Triplet Extraction (ASTE) aims to co-extract the sentiment
triplets in a given corpus. Existing approaches within the
pretraining-finetuning paradigm tend to either meticulously craft complex
tagging schemes and classification heads, or incorporate external semantic
augmentation to enhance performance. In this study, we, for the first time,
re-evaluate the redundancy in tagging schemes and the internal enhancement in
pretrained representations. We propose a method to improve and utilize
pretrained representations by integrating a minimalist tagging scheme and a
novel token-level contrastive learning strategy. The proposed approach
demonstrates comparable or superior performance compared to state-of-the-art
techniques while featuring a more compact design and reduced computational
overhead. Additionally, we are the first to formally evaluate GPT-4's
performance in few-shot learning and Chain-of-Thought scenarios for this task.
The results demonstrate that the pretraining-finetuning paradigm remains highly
effective even in the era of large language models. | cs.CL | MiniConGTS: A Near Ultimate Minimalist Contrastive Grid Tagging Scheme for Aspect Sentiment Triplet Extraction |
2024-06-17T06:00:24Z | http://arxiv.org/pdf/2406.11233v1 | http://arxiv.org/abs/2406.11233v1 | Siyan Zhao, Tung Nguyen, Aditya Grover | 2024-06-17T06:00:24Z | cs.LG, cs.AI, cs.CL | In-context learning is a key paradigm in large language models (LLMs) that
enables them to generalize to new tasks and domains by simply prompting these
models with a few exemplars without explicit parameter updates. Many attempts
have been made to understand in-context learning in LLMs as a function of model
scale, pretraining data, and other factors. In this work, we propose a new
mechanism to probe and understand in-context learning from the lens of decision
boundaries for in-context binary classification. Decision boundaries are
straightforward to visualize and provide important information about the
qualitative behavior of the inductive biases of standard classifiers. To our
surprise, we find that the decision boundaries learned by current LLMs in
simple binary classification tasks are often irregular and non-smooth,
regardless of linear separability in the underlying task. This paper
investigates the factors influencing these decision boundaries and explores
methods to enhance their generalizability. We assess various approaches,
including training-free and fine-tuning methods for LLMs, the impact of model
architecture, and the effectiveness of active prompting techniques for
smoothing decision boundaries in a data-efficient manner. Our findings provide
a deeper understanding of in-context learning dynamics and offer practical
improvements for enhancing robustness and generalizability of in-context
learning. | cs.LG | Probing the Decision Boundaries of In-context Learning in Large Language Models |
2024-06-17T05:55:35Z | http://arxiv.org/pdf/2406.11231v1 | http://arxiv.org/abs/2406.11231v1 | Ruaridh Mon-Williams, Gen Li, Ran Long, Wenqian Du, Chris Lucas | 2024-06-17T05:55:35Z | cs.RO, cs.AI, cs.CL, cs.LG | Completing complex tasks in unpredictable settings like home kitchens
challenges robotic systems. These challenges include interpreting high-level
human commands, such as "make me a hot beverage" and performing actions like
pouring a precise amount of water into a moving mug. To address these
challenges, we present a novel framework that combines Large Language Models
(LLMs), a curated Knowledge Base, and Integrated Force and Visual Feedback
(IFVF). Our approach interprets abstract instructions, performs long-horizon
tasks, and handles various uncertainties. It utilises GPT-4 to analyse the
user's query and surroundings, then generates code that accesses a curated
database of functions during execution. It translates abstract instructions
into actionable steps. Each step involves generating custom code by employing
retrieval-augmented generalisation to pull IFVF-relevant examples from the
Knowledge Base. IFVF allows the robot to respond to noise and disturbances
during execution. We use coffee making and plate decoration to demonstrate our
approach, including components ranging from pouring to drawer opening, each
benefiting from distinct feedback types and methods. This novel advancement
marks significant progress toward a scalable, efficient robotic framework for
completing complex tasks in uncertain environments. Our findings are
illustrated in an accompanying video and supported by an open-source GitHub
repository (released upon paper acceptance). | cs.RO | Enabling robots to follow abstract instructions and complete complex dynamic tasks |
2024-06-17T05:54:06Z | http://arxiv.org/pdf/2406.11230v1 | http://arxiv.org/abs/2406.11230v1 | Hengyi Wang, Haizhou Shi, Shiwei Tan, Weiyi Qin, Wenyuan Wang, Tunyu Zhang, Akshay Nambi, Tanuja Ganu, Hao Wang | 2024-06-17T05:54:06Z | cs.LG, cs.AI, cs.CL, cs.CV | Multimodal Large Language Models (MLLMs) have shown significant promise in
various applications, leading to broad interest from researchers and
practitioners alike. However, a comprehensive evaluation of their long-context
capabilities remains underexplored. To address these gaps, we introduce the
MultiModal Needle-in-a-haystack (MMNeedle) benchmark, specifically designed to
assess the long-context capabilities of MLLMs. Besides multi-image input, we
employ image stitching to further increase the input context length, and
develop a protocol to automatically generate labels for sub-image level
retrieval. Essentially, MMNeedle evaluates MLLMs by stress-testing their
capability to locate a target sub-image (needle) within a set of images
(haystack) based on textual instructions and descriptions of image contents.
This setup necessitates an advanced understanding of extensive visual contexts
and effective information retrieval within long-context image inputs. With this
benchmark, we evaluate state-of-the-art MLLMs, encompassing both API-based and
open-source models. The findings reveal that GPT-4o consistently surpasses
other models in long-context scenarios, but suffers from hallucination problems
in negative samples, i.e., when needles are not in the haystacks. Our
comprehensive long-context evaluation of MLLMs also sheds lights on the
considerable performance gap between API-based and open-source models. All the
code, data, and instructions required to reproduce the main results are
available at https://github.com/Wang-ML-Lab/multimodal-needle-in-a-haystack. | cs.LG | Multimodal Needle in a Haystack: Benchmarking Long-Context Capability of Multimodal Large Language Models |
2024-06-17T05:51:04Z | http://arxiv.org/pdf/2406.11228v1 | http://arxiv.org/abs/2406.11228v1 | Hiromi Wakaki, Yuki Mitsufuji, Yoshinori Maeda, Yukiko Nishimura, Silin Gao, Mengjie Zhao, Keiichi Yamada, Antoine Bosselut | 2024-06-17T05:51:04Z | cs.CL | We propose a new benchmark, ComperDial, which facilitates the training and
evaluation of evaluation metrics for open-domain dialogue systems. ComperDial
consists of human-scored responses for 10,395 dialogue turns in 1,485
conversations collected from 99 dialogue agents submitted to the Commonsense
Persona-grounded Dialogue (CPD) challenge. As a result, for any dialogue, our
benchmark includes multiple diverse responses with variety of characteristics
to ensure more robust evaluation of learned dialogue metrics. In addition to
single-turn response scores, ComperDial also contains dialogue-level
human-annotated scores, enabling joint assessment of multi-turn model responses
throughout a dialogue. Finally, building off ComperDial, we devise a new
automatic evaluation metric to measure the general similarity of
model-generated dialogues to human conversations. Our experimental results
demonstrate that our novel metric, CPDScore is more correlated with human
judgments than existing metrics. We release both ComperDial and CPDScore to the
community to accelerate development of automatic evaluation metrics for
open-domain dialogue systems. | cs.CL | ComperDial: Commonsense Persona-grounded Dialogue Dataset and Benchmark |
2024-06-17T05:25:56Z | http://arxiv.org/pdf/2406.11218v1 | http://arxiv.org/abs/2406.11218v1 | Miguel Ortega-Martín, Óscar García-Sierra, Alfonso Ardoiz, Juan Carlos Armenteros, Ignacio Garrido, Jorge Álvarez, Camilo Torrón, Iñigo Galdeano, Ignacio Arranz, Oleg Vorontsov, Adrián Alonso | 2024-06-17T05:25:56Z | cs.CL, cs.AI | We present the "Spanish Built Factual Freectianary 2.0" (Spanish-BFF-2) as
the second iteration of an AI-generated Spanish dictionary. Previously, we
developed the inaugural version of this unique free dictionary employing GPT-3.
In this study, we aim to improve the dictionary by using GPT-4-turbo instead.
Furthermore, we explore improvements made to the initial version and compare
the performance of both models. | cs.CL | Building another Spanish dictionary, this time with GPT-4 |
2024-06-17T05:23:18Z | http://arxiv.org/pdf/2406.11217v2 | http://arxiv.org/abs/2406.11217v2 | Chengqian Ma, Zhanxiang Hua, Alexandra Anderson-Frey, Vikram Iyer, Xin Liu, Lianhui Qin | 2024-06-24T03:55:30Z | cs.AI, cs.CL, cs.CV, physics.ao-ph | Severe convective weather events, such as hail, tornadoes, and thunderstorms,
often occur quickly yet cause significant damage, costing billions of dollars
every year. This highlights the importance of forecasting severe weather
threats hours in advance to better prepare meteorologists and residents in
at-risk areas. Can modern large foundation models perform such forecasting?
Existing weather benchmarks typically focus only on predicting time-series
changes in certain weather parameters (e.g., temperature, moisture) with
text-only features. In this work, we introduce WeatherQA, the first multimodal
dataset designed for machines to reason about complex combinations of weather
parameters (a.k.a., ingredients) and predict severe weather in real-world
scenarios. The dataset includes over 8,000 (multi-images, text) pairs for
diverse severe weather events. Each pair contains rich information crucial for
forecasting -- the images describe the ingredients capturing environmental
instability, surface observations, and radar reflectivity, and the text
contains forecast analyses written by human experts. With WeatherQA, we
evaluate state-of-the-art vision language models, including GPT4, Claude3.5,
Gemini-1.5, and a fine-tuned Llama3-based VLM, by designing two challenging
tasks: (1) multi-choice QA for predicting affected area and (2) classification
of the development potential of severe convection. These tasks require deep
understanding of domain knowledge (e.g., atmospheric dynamics) and complex
reasoning over multimodal data (e.g., interactions between weather parameters).
We show a substantial gap between the strongest VLM, GPT4o, and human
reasoning. Our comprehensive case study with meteorologists further reveals the
weaknesses of the models, suggesting that better training and data integration
are necessary to bridge this gap. WeatherQA link:
https://github.com/chengqianma/WeatherQA. | cs.AI | WeatherQA: Can Multimodal Language Models Reason about Severe Weather? |
2024-06-17T05:13:25Z | http://arxiv.org/pdf/2406.11214v1 | http://arxiv.org/abs/2406.11214v1 | Jin Yang, Zhiqiang Wang, Yanbin Lin, Zunduo Zhao | 2024-06-17T05:13:25Z | cs.CL | The efficacy and ethical integrity of large language models (LLMs) are
profoundly influenced by the diversity and quality of their training datasets.
However, the global landscape of data accessibility presents significant
challenges, particularly in regions with stringent data privacy laws or limited
open-source information. This paper examines the multifaceted challenges
associated with acquiring high-quality training data for LLMs, focusing on data
scarcity, bias, and low-quality content across various linguistic contexts. We
highlight the technical and ethical implications of relying on publicly
available but potentially biased or irrelevant data sources, which can lead to
the generation of biased or hallucinatory content by LLMs. Through a series of
evaluations using GPT-4 and GPT-4o, we demonstrate how these data constraints
adversely affect model performance and ethical alignment. We propose and
validate several mitigation strategies designed to enhance data quality and
model robustness, including advanced data filtering techniques and ethical data
collection practices. Our findings underscore the need for a proactive approach
in developing LLMs that considers both the effectiveness and ethical
implications of data constraints, aiming to foster the creation of more
reliable and universally applicable AI systems. | cs.CL | Global Data Constraints: Ethical and Effectiveness Challenges in Large Language Model |
2024-06-17T04:35:17Z | http://arxiv.org/pdf/2406.11201v2 | http://arxiv.org/abs/2406.11201v2 | Scott Barnett, Zac Brannelly, Stefanus Kurniawan, Sheng Wong | 2024-06-30T14:42:52Z | cs.CL, cs.AI | Large Language Models (LLMs) have the unique capability to understand and
generate human-like text from input queries. When fine-tuned, these models show
enhanced performance on domain-specific queries. OpenAI highlights the process
of fine-tuning, stating: "To fine-tune a model, you are required to provide at
least 10 examples. We typically see clear improvements from fine-tuning on 50
to 100 training examples, but the right number varies greatly based on the
exact use case." This study extends this concept to the integration of LLMs
within Retrieval-Augmented Generation (RAG) pipelines, which aim to improve
accuracy and relevance by leveraging external corpus data for information
retrieval. However, RAG's promise of delivering optimal responses often falls
short in complex query scenarios. This study aims to specifically examine the
effects of fine-tuning LLMs on their ability to extract and integrate
contextual data to enhance the performance of RAG systems across multiple
domains. We evaluate the impact of fine-tuning on the LLMs' capacity for data
extraction and contextual understanding by comparing the accuracy and
completeness of fine-tuned models against baseline performances across datasets
from multiple domains. Our findings indicate that fine-tuning resulted in a
decline in performance compared to the baseline models, contrary to the
improvements observed in standalone LLM applications as suggested by OpenAI.
This study highlights the need for vigorous investigation and validation of
fine-tuned models for domain-specific tasks. | cs.CL | Fine-Tuning or Fine-Failing? Debunking Performance Myths in Large Language Models |
2024-06-17T04:20:02Z | http://arxiv.org/pdf/2406.11200v2 | http://arxiv.org/abs/2406.11200v2 | Shirley Wu, Shiyu Zhao, Qian Huang, Kexin Huang, Michihiro Yasunaga, Kaidi Cao, Vassilis N. Ioannidis, Karthik Subbian, Jure Leskovec, James Zou | 2024-06-18T01:39:57Z | cs.LG, cs.CL | Large language model (LLM) agents have demonstrated impressive capability in
utilizing external tools and knowledge to boost accuracy and reduce
hallucinations. However, developing the prompting techniques that make LLM
agents able to effectively use external tools and knowledge is a heuristic and
laborious task. Here, we introduce AvaTaR, a novel and automatic framework that
optimizes an LLM agent to effectively use the provided tools and improve its
performance on a given task/domain. During optimization, we design a comparator
module to iteratively provide insightful and holistic prompts to the LLM agent
via reasoning between positive and negative examples sampled from training
data. We demonstrate AvaTaR on four complex multimodal retrieval datasets
featuring textual, visual, and relational information. We find AvaTaR
consistently outperforms state-of-the-art approaches across all four
challenging tasks and exhibits strong generalization ability when applied to
novel cases, achieving an average relative improvement of 14% on the Hit@1
metric. Code and dataset are available at https://github.com/zou-group/avatar. | cs.LG | AvaTaR: Optimizing LLM Agents for Tool-Assisted Knowledge Retrieval |
2024-06-17T04:00:04Z | http://arxiv.org/pdf/2406.11194v1 | http://arxiv.org/abs/2406.11194v1 | Siyuan Qi, Bangcheng Yang, Kailin Jiang, Xiaobo Wang, Jiaqi Li, Yifan Zhong, Yaodong Yang, Zilong Zheng | 2024-06-17T04:00:04Z | cs.CL | The existing fine-tuning paradigm for language models is brittle in knowledge
editing scenarios, where the model must incorporate new information without
extensive retraining. This brittleness often results in overfitting, reduced
performance, and unnatural language generation. To address this, we propose
Consistent In-Context Editing (ICE), a novel approach that leverages the
model's in-context learning capability to tune toward a contextual distribution
rather than a one-hot target. ICE introduces a straightforward optimization
framework that includes both a target and a procedure, enhancing the robustness
and effectiveness of gradient-based tuning methods. We provide analytical
insights into ICE across four critical aspects of knowledge editing: accuracy,
locality, generalization, and linguistic quality, showing its advantages.
Experimental results across four datasets confirm the effectiveness of ICE and
demonstrate its potential for continual editing, ensuring that updated
information is incorporated while preserving the integrity of the model. | cs.CL | In-Context Editing: Learning Knowledge from Self-Induced Distributions |
2024-06-17T03:59:44Z | http://arxiv.org/pdf/2406.11193v1 | http://arxiv.org/abs/2406.11193v1 | Jiahao Huo, Yibo Yan, Boren Hu, Yutao Yue, Xuming Hu | 2024-06-17T03:59:44Z | cs.CL | Projecting visual features into word embedding space has become a significant
fusion strategy adopted by Multimodal Large Language Models (MLLMs). However,
its internal mechanisms have yet to be explored. Inspired by multilingual
research, we identify domain-specific neurons in multimodal large language
models. Specifically, we investigate the distribution of domain-specific
neurons and the mechanism of how MLLMs process features from diverse domains.
Furthermore, we propose a three-stage framework for language model modules in
MLLMs when handling projected image features, and verify this hypothesis using
logit lens. Extensive experiments indicate that while current MLLMs exhibit
Visual Question Answering (VQA) capability, they may not fully utilize
domain-specific information. Manipulating domain-specific neurons properly will
result in a 10\% change of accuracy at most, shedding light on the development
of cross-domain, all-encompassing MLLMs in the future. Our code will be
released upon paper notification. | cs.CL | MMNeuron: Discovering Neuron-Level Domain-Specific Interpretation in Multimodal Large Language Model |
2024-06-17T03:57:35Z | http://arxiv.org/pdf/2406.11192v1 | http://arxiv.org/abs/2406.11192v1 | Yuming Yang, Wantong Zhao, Caishuang Huang, Junjie Ye, Xiao Wang, Huiyuan Zheng, Yang Nan, Yuran Wang, Xueying Xu, Kaixin Huang, Yunke Zhang, Tao Gui, Qi Zhang, Xuanjing Huang | 2024-06-17T03:57:35Z | cs.CL | Open Named Entity Recognition (NER), which involves identifying arbitrary
types of entities from arbitrary domains, remains challenging for Large
Language Models (LLMs). Recent studies suggest that fine-tuning LLMs on
extensive NER data can boost their performance. However, training directly on
existing datasets faces issues due to inconsistent entity definitions and
redundant data, limiting LLMs to dataset-specific learning and hindering
out-of-domain generalization. To address this, we present B2NERD, a cohesive
and efficient dataset for Open NER, normalized from 54 existing English or
Chinese datasets using a two-step approach. First, we detect inconsistent
entity definitions across datasets and clarify them by distinguishable label
names to construct a universal taxonomy of 400+ entity types. Second, we
address redundancy using a data pruning strategy that selects fewer samples
with greater category and semantic diversity. Comprehensive evaluation shows
that B2NERD significantly improves LLMs' generalization on Open NER. Our B2NER
models, trained on B2NERD, outperform GPT-4 by 6.8-12.0 F1 points and surpass
previous methods in 3 out-of-domain benchmarks across 15 datasets and 6
languages. | cs.CL | Beyond Boundaries: Learning a Universal Entity Taxonomy across Datasets and Languages for Open Named Entity Recognition |
2024-06-17T03:52:51Z | http://arxiv.org/pdf/2406.11191v2 | http://arxiv.org/abs/2406.11191v2 | Ruili Jiang, Kehai Chen, Xuefeng Bai, Zhixuan He, Juntao Li, Muyun Yang, Tiejun Zhao, Liqiang Nie, Min Zhang | 2024-06-18T08:18:33Z | cs.CL | The recent surge of versatile large language models (LLMs) largely depends on
aligning increasingly capable foundation models with human intentions by
preference learning, enhancing LLMs with excellent applicability and
effectiveness in a wide range of contexts. Despite the numerous related studies
conducted, a perspective on how human preferences are introduced into LLMs
remains limited, which may prevent a deeper comprehension of the relationships
between human preferences and LLMs as well as the realization of their
limitations. In this survey, we review the progress in exploring human
preference learning for LLMs from a preference-centered perspective, covering
the sources and formats of preference feedback, the modeling and usage of
preference signals, as well as the evaluation of the aligned LLMs. We first
categorize the human feedback according to data sources and formats. We then
summarize techniques for human preferences modeling and compare the advantages
and disadvantages of different schools of models. Moreover, we present various
preference usage methods sorted by the objectives to utilize human preference
signals. Finally, we summarize some prevailing approaches to evaluate LLMs in
terms of alignment with human intentions and discuss our outlooks on the human
intention alignment for LLMs. | cs.CL | A Survey on Human Preference Learning for Large Language Models |
2024-06-17T03:51:46Z | http://arxiv.org/pdf/2406.11190v1 | http://arxiv.org/abs/2406.11190v1 | Rong Bao, Rui Zheng, Shihan Dou, Xiao Wang, Enyu Zhou, Bo Wang, Qi Zhang, Liang Ding, Dacheng Tao | 2024-06-17T03:51:46Z | cs.CL, cs.AI | In aligning large language models (LLMs), utilizing feedback from existing
advanced AI rather than humans is an important method to scale supervisory
signals. However, it is highly challenging for AI to understand human
intentions and societal values, and provide accurate preference feedback based
on these. Current AI feedback methods rely on powerful LLMs, carefully designed
specific principles to describe human intentions, and are easily influenced by
position bias. To address these issues, we propose a self-reference-based AI
feedback framework that enables a 13B Llama2-Chat to provide high-quality
feedback under simple and general principles such as ``best for humanity``.
Specifically, we allow the AI to first respond to the user's instructions, then
generate criticism of other answers based on its own response as a reference,
and finally determine which answer better fits human preferences according to
the criticism. Additionally, we use a self-consistency method to further reduce
the impact of position bias, and employ semantic perplexity to calculate the
preference strength differences between different answers. Experimental results
show that our method enables 13B and 70B Llama2-Chat annotators to provide
high-quality preference feedback, and the policy models trained based on these
preference data achieve significant advantages in benchmark datasets through
reinforcement learning. | cs.CL | Aligning Large Language Models from Self-Reference AI Feedback with one General Principle |
2024-06-17T03:29:14Z | http://arxiv.org/pdf/2406.11177v1 | http://arxiv.org/abs/2406.11177v1 | Xinhao Zhang, Jinghan Zhang, Fengran Mo, Yuzhong Chen, Kunpeng Liu | 2024-06-17T03:29:14Z | cs.CL | Textual information of data is of vital importance for data mining and
feature engineering. However, existing methods focus on learning the data
structures and overlook the textual information along with the data.
Consequently, they waste this valuable resource and miss out on the deeper data
relationships embedded within the texts. In this paper, we introduce
Text-Informed Feature Generation (TIFG), a novel LLM-based text-informed
feature generation framework. TIFG utilizes the textual information to generate
features by retrieving possible relevant features within external knowledge
with Retrieval Augmented Generation (RAG) technology. In this approach, the
TIFG can generate new explainable features to enrich the feature space and
further mine feature relationships. We design the TIFG to be an automated
framework that continuously optimizes the feature generation process, adapts to
new data inputs, and improves downstream task performance over iterations. A
broad range of experiments in various downstream tasks showcases that our
approach can generate high-quality and meaningful features, and is
significantly superior to existing methods. | cs.CL | TIFG: Text-Informed Feature Generation with Large Language Models |
2024-06-17T03:29:13Z | http://arxiv.org/pdf/2406.11176v1 | http://arxiv.org/abs/2406.11176v1 | Weimin Xiong, Yifan Song, Xiutian Zhao, Wenhao Wu, Xun Wang, Ke Wang, Cheng Li, Wei Peng, Sujian Li | 2024-06-17T03:29:13Z | cs.CL, cs.AI | Large language model agents have exhibited exceptional performance across a
range of complex interactive tasks. Recent approaches have utilized tuning with
expert trajectories to enhance agent performance, yet they primarily
concentrate on outcome rewards, which may lead to errors or suboptimal actions
due to the absence of process supervision signals. In this paper, we introduce
the Iterative step-level Process Refinement (IPR) framework, which provides
detailed step-by-step guidance to enhance agent training. Specifically, we
adopt the Monte Carlo method to estimate step-level rewards. During each
iteration, the agent explores along the expert trajectory and generates new
actions. These actions are then evaluated against the corresponding step of
expert trajectory using step-level rewards. Such comparison helps identify
discrepancies, yielding contrastive action pairs that serve as training data
for the agent. Our experiments on three complex agent tasks demonstrate that
our framework outperforms a variety of strong baselines. Moreover, our
analytical findings highlight the effectiveness of IPR in augmenting action
efficiency and its applicability to diverse models. | cs.CL | Watch Every Step! LLM Agent Learning via Iterative Step-Level Process Refinement |
2024-06-17T03:26:02Z | http://arxiv.org/pdf/2406.11173v2 | http://arxiv.org/abs/2406.11173v2 | Hoang-Thang Ta | 2024-06-19T23:01:14Z | cs.CL | In this paper, we introduce BSRBF-KAN, a Kolmogorov Arnold Network (KAN) that
combines Bsplines and radial basis functions (RBFs) to fit input vectors in
data training. We perform experiments with BSRBF-KAN, MLP, and other popular
KANs, including EfficientKAN, FastKAN, FasterKAN, and GottliebKAN over the
MNIST and Fashion-MNIST datasets. BSRBF-KAN shows stability in 5 training
sessions with a competitive average accuracy of 97.55% on MNIST and 89.33% on
FashionMNIST and obtains convergence better than other networks. We expect
BSRBF-KAN to open many combinations of mathematical functions to design KANs.
Our repo is publicly available at: https://github.com/hoangthangta/BSRBF-KAN. | cs.CL | BSRBF-KAN: A combination of B-splines and Radial Basic Functions in Kolmogorov-Arnold Networks |
2024-06-17T03:23:11Z | http://arxiv.org/pdf/2406.11172v1 | http://arxiv.org/abs/2406.11172v1 | Jie Zhao, Ziyu Guan, Wei Zhao, Yue Jiang | 2024-06-17T03:23:11Z | cs.CL | Criminal case matching endeavors to determine the relevance between different
criminal cases. Conventional methods predict the relevance solely based on
instance-level semantic features and neglect the diverse legal factors (LFs),
which are associated with diverse court judgments. Consequently,
comprehensively representing a criminal case remains a challenge for these
approaches. Moreover, extracting and utilizing these LFs for criminal case
matching face two challenges: (1) the manual annotations of LFs rely heavily on
specialized legal knowledge; (2) overlaps among LFs may potentially harm the
model's performance. In this paper, we propose a two-stage framework named
Diverse Legal Factor-enhanced Criminal Case Matching (DLF-CCM). Firstly,
DLF-CCM employs a multi-task learning framework to pre-train an LF extraction
network on a large-scale legal judgment prediction dataset. In stage two,
DLF-CCM introduces an LF de-redundancy module to learn shared LF and exclusive
LFs. Moreover, an entropy-weighted fusion strategy is introduced to dynamically
fuse the multiple relevance generated by all LFs. Experimental results validate
the effectiveness of DLF-CCM and show its significant improvements over
competitive baselines. Code: https://github.com/jiezhao6/DLF-CCM. | cs.CL | Enhancing Criminal Case Matching through Diverse Legal Factors |
2024-06-17T03:22:20Z | http://arxiv.org/pdf/2406.11171v2 | http://arxiv.org/abs/2406.11171v2 | Sri Harsha Dumpala, Aman Jaiswal, Chandramouli Sastry, Evangelos Milios, Sageev Oore, Hassan Sajjad | 2024-06-19T00:03:42Z | cs.CV, cs.CL, cs.LG, 68T45, 68T50, I.2.7; I.2.10 | Despite their remarkable successes, state-of-the-art large language models
(LLMs), including vision-and-language models (VLMs) and unimodal language
models (ULMs), fail to understand precise semantics. For example, semantically
equivalent sentences expressed using different lexical compositions elicit
diverging representations. The degree of this divergence and its impact on
encoded semantics is not very well understood. In this paper, we introduce the
SUGARCREPE++ dataset to analyze the sensitivity of VLMs and ULMs to lexical and
semantic alterations. Each sample in SUGARCREPE++ dataset consists of an image
and a corresponding triplet of captions: a pair of semantically equivalent but
lexically different positive captions and one hard negative caption. This poses
a 3-way semantic (in)equivalence problem to the language models. We
comprehensively evaluate VLMs and ULMs that differ in architecture,
pre-training objectives and datasets to benchmark the performance of
SUGARCREPE++ dataset. Experimental results highlight the difficulties of VLMs
in distinguishing between lexical and semantic variations, particularly in
object attributes and spatial relations. Although VLMs with larger pre-training
datasets, model sizes, and multiple pre-training objectives achieve better
performance on SUGARCREPE++, there is a significant opportunity for
improvement. We show that all the models which achieve better performance on
compositionality datasets need not perform equally well on SUGARCREPE++,
signifying that compositionality alone may not be sufficient for understanding
semantic and lexical alterations. Given the importance of the property that the
SUGARCREPE++ dataset targets, it serves as a new challenge to the
vision-and-language community. | cs.CV | SUGARCREPE++ Dataset: Vision-Language Model Sensitivity to Semantic and Lexical Alterations |
2024-06-17T03:07:41Z | http://arxiv.org/pdf/2406.15480v1 | http://arxiv.org/abs/2406.15480v1 | Chenghao Fan, Zhenyi Lu, Wei Wei, Jie Tian, Xiaoye Qu, Dangyang Chen, Yu Cheng | 2024-06-17T03:07:41Z | cs.CL, cs.AI, cs.LG | Efficient fine-tuning of large language models for task-specific applications
is imperative, yet the vast number of parameters in these models makes their
training increasingly challenging. Despite numerous proposals for effective
methods, a substantial memory overhead remains for gradient computations during
updates. \thm{Can we fine-tune a series of task-specific small models and
transfer their knowledge directly to a much larger model without additional
training?} In this paper, we explore weak-to-strong specialization using logit
arithmetic, facilitating a direct answer to this question. Existing
weak-to-strong methods often employ a static knowledge transfer ratio and a
single small model for transferring complex knowledge, which leads to
suboptimal performance. % To address this, To surmount these limitations, we
propose a dynamic logit fusion approach that works with a series of
task-specific small models, each specialized in a different task. This method
adaptively allocates weights among these models at each decoding step, learning
the weights through Kullback-Leibler divergence constrained optimization
problems. We conduct extensive experiments across various benchmarks in both
single-task and multi-task settings, achieving leading results. By transferring
expertise from the 7B model to the 13B model, our method closes the performance
gap by 96.4\% in single-task scenarios and by 86.3\% in multi-task scenarios
compared to full fine-tuning of the 13B model. Notably, we achieve surpassing
performance on unseen tasks. Moreover, we further demonstrate that our method
can effortlessly integrate in-context learning for single tasks and task
arithmetic for multi-task scenarios. (Our implementation is available in
https://github.com/Facico/Dynamic-Logit-Fusion.) | cs.CL | On Giant's Shoulders: Effortless Weak to Strong by Dynamic Logits Fusion |
2024-06-17T03:02:04Z | http://arxiv.org/pdf/2406.11162v2 | http://arxiv.org/abs/2406.11162v2 | Dawulie Jinensibieke, Mieradilijiang Maimaiti, Wentao Xiao, Yuanhang Zheng, Xiaobo Wang | 2024-06-26T01:43:15Z | cs.CL | Relation Extraction (RE) serves as a crucial technology for transforming
unstructured text into structured information, especially within the framework
of Knowledge Graph development. Its importance is emphasized by its essential
role in various downstream tasks. Besides the conventional RE methods which are
based on neural networks and pre-trained language models, large language models
(LLMs) are also utilized in the research field of RE. However, on low-resource
languages (LRLs), both conventional RE methods and LLM-based methods perform
poorly on RE due to the data scarcity issues. To this end, this paper
constructs low-resource relation extraction datasets in 10 LRLs in three
regions (Central Asia, Southeast Asia and Middle East). The corpora are
constructed by translating the original publicly available English RE datasets
(NYT10, FewRel and CrossRE) using an effective multilingual machine
translation. Then, we use the language perplexity (PPL) to filter out the
low-quality data from the translated datasets. Finally, we conduct an empirical
study and validate the performance of several open-source LLMs on these
generated LRL RE datasets. | cs.CL | How Good are LLMs at Relation Extraction under Low-Resource Scenario? Comprehensive Evaluation |
2024-06-17T02:31:55Z | http://arxiv.org/pdf/2406.15479v1 | http://arxiv.org/abs/2406.15479v1 | Zhenyi Lu, Chenghao Fan, Wei Wei, Xiaoye Qu, Dangyang Chen, Yu Cheng | 2024-06-17T02:31:55Z | cs.CL, cs.AI, cs.LG | In the era of large language models, model merging is a promising way to
combine multiple task-specific models into a single multitask model without
extra training. However, two challenges remain: (a) interference between
different models and (b) heterogeneous data during testing. Traditional model
merging methods often show significant performance gaps compared to fine-tuned
models due to these issues. Additionally, a one-size-fits-all model lacks
flexibility for diverse test data, leading to performance degradation. We show
that both shared and exclusive task-specific knowledge are crucial for merging
performance, but directly merging exclusive knowledge hinders overall
performance. In view of this, we propose Twin-Merging, a method that
encompasses two principal stages: (1) modularizing knowledge into shared and
exclusive components, with compression to reduce redundancy and enhance
efficiency; (2) dynamically merging shared and task-specific knowledge based on
the input. This approach narrows the performance gap between merged and
fine-tuned models and improves adaptability to heterogeneous data. Extensive
experiments on $12$ datasets for both discriminative and generative tasks
demonstrate the effectiveness of our method, showing an average improvement of
$28.34\%$ in absolute normalized score for discriminative tasks and even
surpassing the fine-tuned upper bound on the generative tasks. (Our
implementation is available in https://github.com/LZY-the-boys/Twin-Mergin.) | cs.CL | Twin-Merging: Dynamic Integration of Modular Expertise in Model Merging |
2024-06-17T02:27:32Z | http://arxiv.org/pdf/2406.11149v1 | http://arxiv.org/abs/2406.11149v1 | Wei Fan, Haoran Li, Zheye Deng, Weiqi Wang, Yangqiu Song | 2024-06-17T02:27:32Z | cs.CL, cs.CR | Privacy issues arise prominently during the inappropriate transmission of
information between entities. Existing research primarily studies privacy by
exploring various privacy attacks, defenses, and evaluations within narrowly
predefined patterns, while neglecting that privacy is not an isolated,
context-free concept limited to traditionally sensitive data (e.g., social
security numbers), but intertwined with intricate social contexts that
complicate the identification and analysis of potential privacy violations. The
advent of Large Language Models (LLMs) offers unprecedented opportunities for
incorporating the nuanced scenarios outlined in privacy laws to tackle these
complex privacy issues. However, the scarcity of open-source relevant case
studies restricts the efficiency of LLMs in aligning with specific legal
statutes. To address this challenge, we introduce a novel framework, GoldCoin,
designed to efficiently ground LLMs in privacy laws for judicial assessing
privacy violations. Our framework leverages the theory of contextual integrity
as a bridge, creating numerous synthetic scenarios grounded in relevant privacy
statutes (e.g., HIPAA), to assist LLMs in comprehending the complex contexts
for identifying privacy risks in the real world. Extensive experimental results
demonstrate that GoldCoin markedly enhances LLMs' capabilities in recognizing
privacy risks across real court cases, surpassing the baselines on different
judicial tasks. | cs.CL | GoldCoin: Grounding Large Language Models in Privacy Laws via Contextual Integrity Theory |
2024-06-17T01:54:27Z | http://arxiv.org/pdf/2406.11139v1 | http://arxiv.org/abs/2406.11139v1 | Somnath Banerjee, Avik Halder, Rajarshi Mandal, Sayan Layek, Ian Soboroff, Rima Hazra, Animesh Mukherjee | 2024-06-17T01:54:27Z | cs.CL | The integration of pretrained language models (PLMs) like BERT and GPT has
revolutionized NLP, particularly for English, but it has also created
linguistic imbalances. This paper strategically identifies the need for
linguistic equity by examining several knowledge editing techniques in
multilingual contexts. We evaluate the performance of models such as Mistral,
TowerInstruct, OpenHathi, Tamil-Llama, and Kan-Llama across languages including
English, German, French, Italian, Spanish, Hindi, Tamil, and Kannada. Our
research identifies significant discrepancies in normal and merged models
concerning cross-lingual consistency. We employ strategies like 'each language
for itself' (ELFI) and 'each language for others' (ELFO) to stress-test these
models. Our findings demonstrate the potential for LLMs to overcome linguistic
barriers, laying the groundwork for future research in achieving linguistic
inclusivity in AI technologies. | cs.CL | Breaking Boundaries: Investigating the Effects of Model Editing on Cross-linguistic Performance |
2024-06-17T01:23:11Z | http://arxiv.org/pdf/2406.11132v1 | http://arxiv.org/abs/2406.11132v1 | Weizhe Chen, Sven Koenig, Bistra Dilkina | 2024-06-17T01:23:11Z | cs.CL, cs.AI, cs.LG | In this past year, large language models (LLMs) have had remarkable success
in domains outside the traditional natural language processing, and people are
starting to explore the usage of LLMs in more general and close to application
domains like code generation, travel planning, and robot controls. Connecting
these LLMs with great capacity and external tools, people are building the
so-called LLM agents, which are supposed to help people do all kinds of work in
everyday life. In all these domains, the prompt to the LLMs has been shown to
make a big difference in what the LLM would generate and thus affect the
performance of the LLM agents. Therefore, automatic prompt engineering has
become an important question for many researchers and users of LLMs. In this
paper, we propose a novel method, \textsc{RePrompt}, which does "gradient
descent" to optimize the step-by-step instructions in the prompt of the LLM
agents based on the chat history obtained from interactions with LLM agents. By
optimizing the prompt, the LLM will learn how to plan in specific domains. We
have used experiments in PDDL generation and travel planning to show that our
method could generally improve the performance for different reasoning tasks
when using the updated prompt as the initial prompt. | cs.CL | RePrompt: Planning by Automatic Prompt Engineering for Large Language Models Agents |
2024-06-17T01:21:50Z | http://arxiv.org/pdf/2406.11131v2 | http://arxiv.org/abs/2406.11131v2 | Yushi Sun, Hao Xin, Kai Sun, Yifan Ethan Xu, Xiao Yang, Xin Luna Dong, Nan Tang, Lei Chen | 2024-06-20T08:01:14Z | cs.CL, cs.AI, cs.DB | Large language models (LLMs) demonstrate an impressive ability to internalize
knowledge and answer natural language questions. Although previous studies
validate that LLMs perform well on general knowledge while presenting poor
performance on long-tail nuanced knowledge, the community is still doubtful
about whether the traditional knowledge graphs should be replaced by LLMs. In
this paper, we ask if the schema of knowledge graph (i.e., taxonomy) is made
obsolete by LLMs. Intuitively, LLMs should perform well on common taxonomies
and at taxonomy levels that are common to people. Unfortunately, there lacks a
comprehensive benchmark that evaluates the LLMs over a wide range of taxonomies
from common to specialized domains and at levels from root to leaf so that we
can draw a confident conclusion. To narrow the research gap, we constructed a
novel taxonomy hierarchical structure discovery benchmark named TaxoGlimpse to
evaluate the performance of LLMs over taxonomies. TaxoGlimpse covers ten
representative taxonomies from common to specialized domains with in-depth
experiments of different levels of entities in this taxonomy from root to leaf.
Our comprehensive experiments of eighteen state-of-the-art LLMs under three
prompting settings validate that LLMs can still not well capture the knowledge
of specialized taxonomies and leaf-level entities. | cs.CL | Are Large Language Models a Good Replacement of Taxonomies? |
2024-06-17T01:21:28Z | http://arxiv.org/pdf/2406.11130v1 | http://arxiv.org/abs/2406.11130v1 | Yonghyun Jun, Hwanhee Lee | 2024-06-17T01:21:28Z | cs.CL | Aspect-based sentiment analysis (ABSA) assesses sentiments towards specific
aspects within texts, resulting in detailed sentiment tuples. Previous ABSA
models often use static templates to predict all of the elements in the tuples,
and these models often fail to accurately capture dependencies between
elements. Multi-view prompting method improves the performance of ABSA by
predicting tuples with various templates and then ensembling the results.
However, this method suffers from inefficiencies and out-of-distribution
errors. In this paper, we propose a Dynamic Order Template (DOT) method for
ABSA, which dynamically generates necessary views for each instance based on
instance-level entropy. Ensuring the diverse and relevant view generation, our
proposed method improves F1-scores on ASQP and ACOS datasets while
significantly reducing inference time. | cs.CL | Dynamic Order Template Prediction for Generative Aspect-Based Sentiment Analysis |
2024-06-17T00:23:16Z | http://arxiv.org/pdf/2406.11116v1 | http://arxiv.org/abs/2406.11116v1 | Zhuang Qiu, Xufeng Duan, Zhenguang G. Cai | 2024-06-17T00:23:16Z | cs.CL | Large language models (LLMs) have demonstrated exceptional performance across
various linguistic tasks. However, it remains uncertain whether LLMs have
developed human-like fine-grained grammatical intuition. This preregistered
study (https://osf.io/t5nes) presents the first large-scale investigation of
ChatGPT's grammatical intuition, building upon a previous study that collected
laypeople's grammatical judgments on 148 linguistic phenomena that linguists
judged to be grammatical, ungrammatical, or marginally grammatical (Sprouse,
Schutze, & Almeida, 2013). Our primary focus was to compare ChatGPT with both
laypeople and linguists in the judgement of these linguistic constructions. In
Experiment 1, ChatGPT assigned ratings to sentences based on a given reference
sentence. Experiment 2 involved rating sentences on a 7-point scale, and
Experiment 3 asked ChatGPT to choose the more grammatical sentence from a pair.
Overall, our findings demonstrate convergence rates ranging from 73% to 95%
between ChatGPT and linguists, with an overall point-estimate of 89%.
Significant correlations were also found between ChatGPT and laypeople across
all tasks, though the correlation strength varied by task. We attribute these
results to the psychometric nature of the judgment tasks and the differences in
language processing styles between humans and LLMs. | cs.CL | Grammaticality Representation in ChatGPT as Compared to Linguists and Laypeople |
2024-06-17T00:23:08Z | http://arxiv.org/pdf/2406.11115v1 | http://arxiv.org/abs/2406.11115v1 | Letian Peng, Yi Gu, Chengyu Dong, Zihan Wang, Jingbo Shang | 2024-06-17T00:23:08Z | cs.CL | For extremely weak-supervised text classification, pioneer research generates
pseudo labels by mining texts similar to the class names from the raw corpus,
which may end up with very limited or even no samples for the minority classes.
Recent works have started to generate the relevant texts by prompting LLMs
using the class names or definitions; however, there is a high risk that LLMs
cannot generate in-distribution (i.e., similar to the corpus where the text
classifier will be applied) data, leading to ungeneralizable classifiers. In
this paper, we combine the advantages of these two approaches and propose to
bridge the gap via a novel framework, \emph{text grafting}, which aims to
obtain clean and near-distribution weak supervision for minority classes.
Specifically, we first use LLM-based logits to mine masked templates from the
raw corpus, which have a high potential for data synthesis into the target
minority class. Then, the templates are filled by state-of-the-art LLMs to
synthesize near-distribution texts falling into minority classes. Text grafting
shows significant improvement over direct mining or synthesis on minority
classes. We also use analysis and case studies to comprehend the property of
text grafting. | cs.CL | Text Grafting: Near-Distribution Weak Supervision for Minority Classes in Text Classification |
2024-06-17T00:18:31Z | http://arxiv.org/pdf/2406.11109v2 | http://arxiv.org/abs/2406.11109v2 | Amit Das, Zheng Zhang, Fatemeh Jamshidi, Vinija Jain, Aman Chadha, Nilanjana Raychawdhary, Mary Sandage, Lauramarie Pope, Gerry Dozier, Cheryl Seals | 2024-06-18T06:21:16Z | cs.CL, cs.AI, cs.LG | Data annotation, the practice of assigning descriptive labels to raw data, is
pivotal in optimizing the performance of machine learning models. However, it
is a resource-intensive process susceptible to biases introduced by annotators.
The emergence of sophisticated Large Language Models (LLMs), like ChatGPT
presents a unique opportunity to modernize and streamline this complex
procedure. While existing research extensively evaluates the efficacy of LLMs,
as annotators, this paper delves into the biases present in LLMs, specifically
GPT 3.5 and GPT 4o when annotating hate speech data. Our research contributes
to understanding biases in four key categories: gender, race, religion, and
disability. Specifically targeting highly vulnerable groups within these
categories, we analyze annotator biases. Furthermore, we conduct a
comprehensive examination of potential factors contributing to these biases by
scrutinizing the annotated data. We introduce our custom hate speech detection
dataset, HateSpeechCorpus, to conduct this research. Additionally, we perform
the same experiments on the ETHOS (Mollas et al., 2022) dataset also for
comparative analysis. This paper serves as a crucial resource, guiding
researchers and practitioners in harnessing the potential of LLMs for
dataannotation, thereby fostering advancements in this critical field. The
HateSpeechCorpus dataset is available here:
https://github.com/AmitDasRup123/HateSpeechCorpus | cs.CL | Investigating Annotator Bias in Large Language Models for Hate Speech Detection |
2024-06-17T00:17:11Z | http://arxiv.org/pdf/2406.11107v1 | http://arxiv.org/abs/2406.11107v1 | Anvesh Rao Vijjini, Somnath Basu Roy Chowdhury, Snigdha Chaturvedi | 2024-06-17T00:17:11Z | cs.CL | As large language models (LLMs) become increasingly integrated into daily
applications, it is essential to ensure they operate fairly across diverse user
demographics. In this work, we show that LLMs suffer from personalization bias,
where their performance is impacted when they are personalized to a user's
identity. We quantify personalization bias by evaluating the performance of
LLMs along two axes - safety and utility. We measure safety by examining how
benign LLM responses are to unsafe prompts with and without personalization. We
measure utility by evaluating the LLM's performance on various tasks, including
general knowledge, mathematical abilities, programming, and reasoning skills.
We find that various LLMs, ranging from open-source models like Llama (Touvron
et al., 2023) and Mistral (Jiang et al., 2023) to API-based ones like GPT-3.5
and GPT-4o (Ouyang et al., 2022), exhibit significant variance in performance
in terms of safety-utility trade-offs depending on the user's identity.
Finally, we discuss several strategies to mitigate personalization bias using
preference tuning and prompt-based defenses. | cs.CL | Exploring Safety-Utility Trade-Offs in Personalized Language Models |
2024-06-17T00:09:31Z | http://arxiv.org/pdf/2406.11106v1 | http://arxiv.org/abs/2406.11106v1 | Harsh Nishant Lalai, Aashish Anantha Ramakrishnan, Raj Sanjay Shah, Dongwon Lee | 2024-06-17T00:09:31Z | cs.CL, cs.AI | With the rapid growth of Large Language Models (LLMs), safeguarding textual
content against unauthorized use is crucial. Text watermarking offers a vital
solution, protecting both - LLM-generated and plain text sources. This paper
presents a unified overview of different perspectives behind designing
watermarking techniques, through a comprehensive survey of the research
literature. Our work has two key advantages, (1) we analyze research based on
the specific intentions behind different watermarking techniques, evaluation
datasets used, watermarking addition, and removal methods to construct a
cohesive taxonomy. (2) We highlight the gaps and open challenges in text
watermarking to promote research in protecting text authorship. This extensive
coverage and detailed analysis sets our work apart, offering valuable insights
into the evolving landscape of text watermarking in language models. | cs.CL | From Intentions to Techniques: A Comprehensive Taxonomy and Challenges in Text Watermarking for Large Language Models |
2024-06-16T23:42:11Z | http://arxiv.org/pdf/2406.11102v1 | http://arxiv.org/abs/2406.11102v1 | Shahriar Golchin, Nikhil Garuda, Christopher Impey, Matthew Wenger | 2024-06-16T23:42:11Z | cs.CL, cs.AI | Massive open online courses (MOOCs) offer free education globally to anyone
with a computer and internet access. Despite this democratization of learning,
the massive enrollment in these courses makes it impractical for one instructor
to assess every student's writing assignment. As a result, peer grading, often
guided by a straightforward rubric, is the method of choice. While convenient,
peer grading often falls short in terms of reliability and validity. In this
study, we explore the feasibility of using large language models (LLMs) to
replace peer grading in MOOCs. Specifically, we use two LLMs, GPT-4 and
GPT-3.5, across three MOOCs: Introductory Astronomy, Astrobiology, and the
History and Philosophy of Astronomy. To instruct LLMs, we use three different
prompts based on the zero-shot chain-of-thought (ZCoT) prompting technique: (1)
ZCoT with instructor-provided correct answers, (2) ZCoT with both
instructor-provided correct answers and rubrics, and (3) ZCoT with
instructor-provided correct answers and LLM-generated rubrics. Tested on 18
settings, our results show that ZCoT, when augmented with instructor-provided
correct answers and rubrics, produces grades that are more aligned with those
assigned by instructors compared to peer grading. Finally, our findings
indicate a promising potential for automated grading systems in MOOCs,
especially in subjects with well-defined rubrics, to improve the learning
experience for millions of online learners worldwide. | cs.CL | Grading Massive Open Online Courses Using Large Language Models |
2024-06-16T23:01:10Z | http://arxiv.org/pdf/2406.15477v1 | http://arxiv.org/abs/2406.15477v1 | Kai Yin, Chengkai Liu, Ali Mostafavi, Xia Hu | 2024-06-16T23:01:10Z | cs.CL, cs.AI | In the field of crisis/disaster informatics, social media is increasingly
being used for improving situational awareness to inform response and relief
efforts. Efficient and accurate text classification tools have been a focal
area of investigation in crisis informatics. However, current methods mostly
rely on single-label text classification models, which fails to capture
different insights embedded in dynamic and multifaceted disaster-related social
media data. This study introduces a novel approach to disaster text
classification by enhancing a pre-trained Large Language Model (LLM) through
instruction fine-tuning targeted for multi-label classification of
disaster-related tweets. Our methodology involves creating a comprehensive
instruction dataset from disaster-related tweets, which is then used to
fine-tune an open-source LLM, thereby embedding it with disaster-specific
knowledge. This fine-tuned model can classify multiple aspects of
disaster-related information simultaneously, such as the type of event,
informativeness, and involvement of human aid, significantly improving the
utility of social media data for situational awareness in disasters. The
results demonstrate that this approach enhances the categorization of critical
information from social media posts, thereby facilitating a more effective
deployment for situational awareness during emergencies. This research paves
the way for more advanced, adaptable, and robust disaster management tools,
leveraging the capabilities of LLMs to improve real-time situational awareness
and response strategies in disaster scenarios. | cs.CL | CrisisSense-LLM: Instruction Fine-Tuned Large Language Model for Multi-label Social Media Text Classification in Disaster Informatics |
2024-06-16T23:00:47Z | http://arxiv.org/pdf/2406.11097v2 | http://arxiv.org/abs/2406.11097v2 | Juseon-Do, Jingun Kwon, Hidetaka Kamigaito, Manabu Okumura | 2024-06-18T18:35:52Z | cs.CL, cs.AI, I.2.7 | Extractive summarization can produce faithful summaries but often requires
additional constraints such as a desired summary length. Traditional sentence
compression models do not typically consider the constraints because of their
restricted model abilities, which require model modifications for coping with
them. To bridge this gap, we propose Instruction-based Compression
(InstructCMP), an approach to the sentence compression task that can consider
the length constraint through instructions by leveraging the zero-shot
task-solving abilities of Large Language Models (LLMs). For this purpose, we
created new evaluation datasets by transforming traditional sentence
compression datasets into an instruction format. By using the datasets, we
first reveal that the current LLMs still face challenges in accurately
controlling the length for a compressed text. To address this issue, we propose
an approach named "length priming," that incorporates additional length
information into the instructions without external resources. While the length
priming effectively works in a zero-shot setting, a training dataset with the
instructions would further improve the ability of length control. Thus, we
additionally created a training dataset in an instruction format to fine-tune
the model on it. Experimental results and analysis show that applying the
length priming significantly improves performances of InstructCMP in both
zero-shot and fine-tuning settings without the need of any model modifications. | cs.CL | InstructCMP: Length Control in Sentence Compression through Instruction-based Large Language Models |
2024-06-16T22:59:18Z | http://arxiv.org/pdf/2406.11096v2 | http://arxiv.org/abs/2406.11096v2 | Bolei Ma, Xinpeng Wang, Tiancheng Hu, Anna-Carolina Haensch, Michael A. Hedderich, Barbara Plank, Frauke Kreuter | 2024-07-01T10:04:09Z | cs.CL | Recent advances in Large Language Models (LLMs) have sparked wide interest in
validating and comprehending the human-like cognitive-behavioral traits LLMs
may have. These cognitive-behavioral traits include typically Attitudes,
Opinions, Values (AOV). However, measuring AOV embedded within LLMs remains
opaque, and different evaluation methods may yield different results. This has
led to a lack of clarity on how different studies are related to each other and
how they can be interpreted. This paper aims to bridge this gap by providing an
overview of recent works on the evaluation of AOV in LLMs. Moreover, we survey
related approaches in different stages of the evaluation pipeline in these
works. By doing so, we address the potential and challenges with respect to
understanding the model, human-AI alignment, and downstream application in
social sciences. Finally, we provide practical insights into evaluation
methods, model enhancement, and interdisciplinary collaboration, thereby
contributing to the evolving landscape of evaluating AOV in LLMs. | cs.CL | The Potential and Challenges of Evaluating Attitudes, Opinions, and Values in Large Language Models |
2024-06-16T22:49:11Z | http://arxiv.org/pdf/2406.11093v1 | http://arxiv.org/abs/2406.11093v1 | Zhiwei Liu, Kailai Yang, Qianqian Xie, Christine de Kock, Sophia Ananiadou, Eduard Hovy | 2024-06-16T22:49:11Z | cs.CL | Misinformation is prevalent in various fields such as education, politics,
health, etc., causing significant harm to society. However, current methods for
cross-domain misinformation detection rely on time and resources consuming
fine-tuning and complex model structures. With the outstanding performance of
LLMs, many studies have employed them for misinformation detection.
Unfortunately, they focus on in-domain tasks and do not incorporate significant
sentiment and emotion features (which we jointly call affect). In this paper,
we propose RAEmoLLM, the first retrieval augmented (RAG) LLMs framework to
address cross-domain misinformation detection using in-context learning based
on affective information. It accomplishes this by applying an emotion-aware LLM
to construct a retrieval database of affective embeddings. This database is
used by our retrieval module to obtain source-domain samples, which are
subsequently used for the inference module's in-context few-shot learning to
detect target domain misinformation. We evaluate our framework on three
misinformation benchmarks. Results show that RAEmoLLM achieves significant
improvements compared to the zero-shot method on three datasets, with the
highest increases of 20.69%, 23.94%, and 39.11% respectively. This work will be
released on https://github.com/lzw108/RAEmoLLM. | cs.CL | RAEmoLLM: Retrieval Augmented LLMs for Cross-Domain Misinformation Detection Using In-Context Learning based on Emotional Information |
2024-06-16T22:11:41Z | http://arxiv.org/pdf/2406.11087v2 | http://arxiv.org/abs/2406.11087v2 | Yanming Liu, Xinyue Peng, Jiannan Cao, Yuwei Zhang, Chen Ma, Songhang Deng, Mengchen Fu, Xuhong Zhang, Sheng Cheng, Xun Wang, Jianwei Yin, Tianyu Du | 2024-06-20T05:43:50Z | cs.CR, cs.AI, cs.CL, cs.LG | Large language models have consistently demonstrated remarkable performance
across a wide spectrum of applications. Nonetheless, the deployment of these
models can inadvertently expose user privacy to potential risks. The
substantial memory demands of these models during training represent a
significant resource consumption challenge. The sheer size of these models
imposes a considerable burden on memory resources, which is a matter of
significant concern in practice. In this paper, we present an innovative
training framework MemDPT that not only reduces the memory cost of large
language models but also places a strong emphasis on safeguarding user data
privacy. MemDPT provides edge network and reverse network designs to
accommodate various differential privacy memory-efficient fine-tuning schemes.
Our approach not only achieves $2 \sim 3 \times$ memory optimization but also
provides robust privacy protection, ensuring that user data remains secure and
confidential. Extensive experiments have demonstrated that MemDPT can
effectively provide differential privacy efficient fine-tuning across various
task scenarios. | cs.CR | MemDPT: Differential Privacy for Memory Efficient Language Models |
2024-06-16T22:01:15Z | http://arxiv.org/pdf/2406.11085v1 | http://arxiv.org/abs/2406.11085v1 | Changbing Yang, Garrett Nicolai, Miikka Silfverberg | 2024-06-16T22:01:15Z | cs.CL | In this paper, we address the data scarcity problem in automatic data-driven
glossing for low-resource languages by coordinating multiple sources of
linguistic expertise. We supplement models with translations at both the token
and sentence level as well as leverage the extensive linguistic capability of
modern LLMs. Our enhancements lead to an average absolute improvement of
5%-points in word-level accuracy over the previous state of the art on a
typologically diverse dataset spanning six low-resource languages. The
improvements are particularly noticeable for the lowest-resourced language
Gitksan, where we achieve a 10%-point improvement. Furthermore, in a simulated
ultra-low resource setting for the same six languages, training on fewer than
100 glossed sentences, we establish an average 10%-point improvement in
word-level accuracy over the previous state-of-the-art system. | cs.CL | Multiple Sources are Better Than One: Incorporating External Knowledge in Low-Resource Glossing |
2024-06-16T21:13:30Z | http://arxiv.org/pdf/2406.15476v1 | http://arxiv.org/abs/2406.15476v1 | Prashanth Vijayaraghavan, Hongzhi Wang, Luyao Shi, Tyler Baldwin, David Beymer, Ehsan Degan | 2024-06-16T21:13:30Z | cs.CL | Recently, there has been a growing availability of pre-trained text models on
various model repositories. These models greatly reduce the cost of training
new models from scratch as they can be fine-tuned for specific tasks or trained
on large datasets. However, these datasets may not be publicly accessible due
to the privacy, security, or intellectual property issues. In this paper, we
aim to develop a lightweight student network that can learn from multiple
teacher models without accessing their original training data. Hence, we
investigate Data-Free Knowledge Amalgamation (DFKA), a knowledge-transfer task
that combines insights from multiple pre-trained teacher models and transfers
them effectively to a compact student network. To accomplish this, we propose
STRATANET, a modeling framework comprising: (a) a steerable data generator that
produces text data tailored to each teacher and (b) an amalgamation module that
implements a self-regulative strategy using confidence estimates from the
teachers' different layers to selectively integrate their knowledge and train a
versatile student. We evaluate our method on three benchmark text
classification datasets with varying labels or domains. Empirically, we
demonstrate that the student model learned using our STRATANET outperforms
several baselines significantly under data-driven and data-free constraints. | cs.CL | Self-Regulated Data-Free Knowledge Amalgamation for Text Classification |
2024-06-16T21:02:02Z | http://arxiv.org/pdf/2406.11073v1 | http://arxiv.org/abs/2406.11073v1 | Jad Doughman, Osama Mohammed Afzal, Hawau Olamide Toyin, Shady Shehata, Preslav Nakov, Zeerak Talat | 2024-06-16T21:02:02Z | cs.CL | Recent improvements in the quality of the generations by large language
models have spurred research into identifying machine-generated text. Systems
proposed for the task often achieve high performance. However, humans and
machines can produce text in different styles and in different domains, and it
remains unclear whether machine generated-text detection models favour
particular styles or domains. In this paper, we critically examine the
classification performance for detecting machine-generated text by evaluating
on texts with varying writing styles. We find that classifiers are highly
sensitive to stylistic changes and differences in text complexity, and in some
cases degrade entirely to random classifiers. We further find that detection
systems are particularly susceptible to misclassify easy-to-read texts while
they have high performance for complex texts. | cs.CL | Exploring the Limitations of Detecting Machine-Generated Text |
2024-06-16T20:53:25Z | http://arxiv.org/pdf/2406.11069v1 | http://arxiv.org/abs/2406.11069v1 | Yujie Lu, Dongfu Jiang, Wenhu Chen, William Yang Wang, Yejin Choi, Bill Yuchen Lin | 2024-06-16T20:53:25Z | cs.CV, cs.AI, cs.CL | Recent breakthroughs in vision-language models (VLMs) emphasize the necessity
of benchmarking human preferences in real-world multimodal interactions. To
address this gap, we launched WildVision-Arena (WV-Arena), an online platform
that collects human preferences to evaluate VLMs. We curated WV-Bench by
selecting 500 high-quality samples from 8,000 user submissions in WV-Arena.
WV-Bench uses GPT-4 as the judge to compare each VLM with Claude-3-Sonnet,
achieving a Spearman correlation of 0.94 with the WV-Arena Elo. This
significantly outperforms other benchmarks like MMVet, MMMU, and MMStar.
Our comprehensive analysis of 20K real-world interactions reveals important
insights into the failure cases of top-performing VLMs. For example, we find
that although GPT-4V surpasses many other models like Reka-Flash, Opus, and
Yi-VL-Plus in simple visual recognition and reasoning tasks, it still faces
challenges with subtle contextual cues, spatial reasoning, visual imagination,
and expert domain knowledge. Additionally, current VLMs exhibit issues with
hallucinations and safety when intentionally provoked. We are releasing our
chat and feedback data to further advance research in the field of VLMs. | cs.CV | WildVision: Evaluating Vision-Language Models in the Wild with Human Preferences |
2024-06-16T20:41:44Z | http://arxiv.org/pdf/2406.11065v1 | http://arxiv.org/abs/2406.11065v1 | Guan-Ting Lin, Hung-yi Lee | 2024-06-16T20:41:44Z | cs.CL | Emphasis is a crucial component in human communication, which indicates the
speaker's intention and implication beyond pure text in dialogue. While Large
Language Models (LLMs) have revolutionized natural language processing, their
ability to understand emphasis in dialogue remains unclear. This paper
introduces Emphasized-Talk, a benchmark with emphasis-annotated dialogue
samples capturing the implications of emphasis. We evaluate various LLMs, both
open-source and commercial, to measure their performance in understanding
emphasis. Additionally, we propose an automatic evaluation pipeline using
GPT-4, which achieves a high correlation with human rating. Our findings reveal
that although commercial LLMs generally perform better, there is still
significant room for improvement in comprehending emphasized sentences. | cs.CL | Can LLMs Understand the Implication of Emphasized Sentences in Dialogue? |
2024-06-16T19:22:53Z | http://arxiv.org/pdf/2406.11050v1 | http://arxiv.org/abs/2406.11050v1 | Bowen Jiang, Yangxinyu Xie, Zhuoqun Hao, Xiaomeng Wang, Tanwi Mallick, Weijie J. Su, Camillo J. Taylor, Dan Roth | 2024-06-16T19:22:53Z | cs.CL, cs.AI | This study introduces a hypothesis-testing framework to assess whether large
language models (LLMs) possess genuine reasoning abilities or primarily depend
on token bias. We go beyond evaluating LLMs on accuracy; rather, we aim to
investigate their token bias in solving logical reasoning tasks. Specifically,
we develop carefully controlled synthetic datasets, featuring conjunction
fallacy and syllogistic problems. Our framework outlines a list of hypotheses
where token biases are readily identifiable, with all null hypotheses assuming
genuine reasoning capabilities of LLMs. The findings in this study suggest,
with statistical guarantee, that most LLMs still struggle with logical
reasoning. While they may perform well on classic problems, their success
largely depends on recognizing superficial patterns with strong token bias,
thereby raising concerns about their actual reasoning and generalization
abilities. | cs.CL | A Peek into Token Bias: Large Language Models Are Not Yet Genuine Reasoners |
2024-06-16T19:19:54Z | http://arxiv.org/pdf/2406.11049v1 | http://arxiv.org/abs/2406.11049v1 | Garrett Tanzer, Maximus Shengelia, Ken Harrenstien, David Uthus | 2024-06-16T19:19:54Z | cs.CL | Historically, sign language machine translation has been posed as a
sentence-level task: datasets consisting of continuous narratives are chopped
up and presented to the model as isolated clips. In this work, we explore the
limitations of this task framing. First, we survey a number of linguistic
phenomena in sign languages that depend on discourse-level context. Then as a
case study, we perform the first human baseline for sign language translation
that actually substitutes a human into the machine learning task framing,
rather than provide the human with the entire document as context. This human
baseline -- for ASL to English translation on the How2Sign dataset -- shows
that for 33% of sentences in our sample, our fluent Deaf signer annotators were
only able to understand key parts of the clip in light of additional
discourse-level context. These results underscore the importance of
understanding and sanity checking examples when adapting machine learning to
new domains. | cs.CL | Reconsidering Sentence-Level Sign Language Translation |
2024-06-16T19:02:31Z | http://arxiv.org/pdf/2406.11044v1 | http://arxiv.org/abs/2406.11044v1 | Behrad Moniri, Hamed Hassani, Edgar Dobriban | 2024-06-16T19:02:31Z | cs.CL, cs.AI, cs.LG | Large Language Models (LLMs) are rapidly evolving and impacting various
fields, necessitating the development of effective methods to evaluate and
compare their performance. Most current approaches for performance evaluation
are either based on fixed, domain-specific questions that lack the flexibility
required in many real-world applications where tasks are not always from a
single domain, or rely on human input, making them unscalable. We propose an
automated benchmarking framework based on debates between LLMs, judged by
another LLM. This method assesses not only domain knowledge, but also skills
such as problem definition and inconsistency recognition. We evaluate the
performance of various state-of-the-art LLMs using the debate framework and
achieve rankings that align closely with popular rankings based on human input,
eliminating the need for costly human crowdsourcing. | cs.CL | Evaluating the Performance of Large Language Models via Debates |
2024-06-16T18:18:43Z | http://arxiv.org/pdf/2406.11036v1 | http://arxiv.org/abs/2406.11036v1 | Leon Derczynski, Erick Galinkin, Jeffrey Martin, Subho Majumdar, Nanna Inie | 2024-06-16T18:18:43Z | cs.CL, cs.CR | As Large Language Models (LLMs) are deployed and integrated into thousands of
applications, the need for scalable evaluation of how models respond to
adversarial attacks grows rapidly. However, LLM security is a moving target:
models produce unpredictable output, are constantly updated, and the potential
adversary is highly diverse: anyone with access to the internet and a decent
command of natural language. Further, what constitutes a security weak in one
context may not be an issue in a different context; one-fits-all guardrails
remain theoretical. In this paper, we argue that it is time to rethink what
constitutes ``LLM security'', and pursue a holistic approach to LLM security
evaluation, where exploration and discovery of issues are central. To this end,
this paper introduces garak (Generative AI Red-teaming and Assessment Kit), a
framework which can be used to discover and identify vulnerabilities in a
target LLM or dialog system. garak probes an LLM in a structured fashion to
discover potential vulnerabilities. The outputs of the framework describe a
target model's weaknesses, contribute to an informed discussion of what
composes vulnerabilities in unique contexts, and can inform alignment and
policy discussions for LLM deployment. | cs.CL | garak: A Framework for Security Probing Large Language Models |
2024-06-16T18:10:49Z | http://arxiv.org/pdf/2406.11035v1 | http://arxiv.org/abs/2406.11035v1 | Damien Sileo | 2024-06-16T18:10:49Z | cs.CL, I.2.7 | Logical reasoning remains a challenge for natural language processing, but it
can be improved by training language models to mimic theorem provers on
procedurally generated problems. Previous work used domain-specific proof
generation algorithms, which biases reasoning toward specific proof traces and
limits auditability and extensibility. We present a simpler and more general
declarative framework with flexible context-sensitive rules binding multiple
languages (specifically, simplified English and the TPTP theorem-proving
language). We construct first-order logic problems by selecting up to 32
premises and one hypothesis. We demonstrate that using semantic constraints
during generation and careful English verbalization of predicates enhances
logical reasoning without hurting natural English tasks. We use relatively
small DeBERTa-v3 models to achieve state-of-the-art accuracy on the FOLIO
human-authored logic dataset, surpassing GPT-4 in accuracy with or without an
external solver by 12%. | cs.CL | Scaling Synthetic Logical Reasoning Datasets with Context-Sensitive Declarative Grammars |
2024-06-16T17:59:32Z | http://arxiv.org/pdf/2406.11030v1 | http://arxiv.org/abs/2406.11030v1 | Wenyan Li, Xinyu Zhang, Jiaang Li, Qiwei Peng, Raphael Tang, Li Zhou, Weijia Zhang, Guimin Hu, Yifei Yuan, Anders Søgaard, Daniel Hershcovich, Desmond Elliott | 2024-06-16T17:59:32Z | cs.CL | Food is a rich and varied dimension of cultural heritage, crucial to both
individuals and social groups. To bridge the gap in the literature on the
often-overlooked regional diversity in this domain, we introduce FoodieQA, a
manually curated, fine-grained image-text dataset capturing the intricate
features of food cultures across various regions in China. We evaluate
vision-language Models (VLMs) and large language models (LLMs) on newly
collected, unseen food images and corresponding questions. FoodieQA comprises
three multiple-choice question-answering tasks where models need to answer
questions based on multiple images, a single image, and text-only descriptions,
respectively. While LLMs excel at text-based question answering, surpassing
human accuracy, the open-sourced VLMs still fall short by 41\% on multi-image
and 21\% on single-image VQA tasks, although closed-weights models perform
closer to human levels (within 10\%). Our findings highlight that understanding
food and its cultural implications remains a challenging and under-explored
direction. | cs.CL | FoodieQA: A Multimodal Dataset for Fine-Grained Understanding of Chinese Food Culture |
2024-06-16T17:59:05Z | http://arxiv.org/pdf/2406.11029v1 | http://arxiv.org/abs/2406.11029v1 | Rohan Chavan, Gaurav Patil, Vishal Madle, Raviraj Joshi | 2024-06-16T17:59:05Z | cs.CL, cs.LG | Stopwords are commonly used words in a language that are often considered to
be of little value in determining the meaning or significance of a document.
These words occur frequently in most texts and don't provide much useful
information for tasks like sentiment analysis and text classification. English,
which is a high-resource language, takes advantage of the availability of
stopwords, whereas low-resource Indian languages like Marathi are very limited,
standardized, and can be used in available packages, but the number of
available words in those packages is low. Our work targets the curation of
stopwords in the Marathi language using the MahaCorpus, with 24.8 million
sentences. We make use of the TF-IDF approach coupled with human evaluation to
curate a strong stopword list of 400 words. We apply the stop word removal to
the text classification task and show its efficacy. The work also presents a
simple recipe for stopword curation in a low-resource language. The stopwords
are integrated into the mahaNLP library and publicly available on
https://github.com/l3cube-pune/MarathiNLP . | cs.CL | Curating Stopwords in Marathi: A TF-IDF Approach for Improved Text Analysis and Information Retrieval |
2024-06-16T17:58:29Z | http://arxiv.org/pdf/2406.11028v1 | http://arxiv.org/abs/2406.11028v1 | Riya Savant, Anushka Shelke, Sakshi Todmal, Sanskruti Kanphade, Ananya Joshi, Raviraj Joshi | 2024-06-16T17:58:29Z | cs.CL, cs.LG | Text classification, an integral task in natural language processing,
involves the automatic categorization of text into predefined classes. Creating
supervised labeled datasets for low-resource languages poses a considerable
challenge. Unlocking the language potential of low-resource languages requires
robust datasets with supervised labels. However, such datasets are scarce, and
the label space is often limited. In our pursuit to address this gap, we aim to
optimize existing labels/datasets in different languages. This research
proposes a novel perspective on Universal Cross-Lingual Text Classification,
leveraging a unified model across languages. Our approach involves blending
supervised data from different languages during training to create a universal
model. The supervised data for a target classification task might come from
different languages covering different labels. The primary goal is to enhance
label and language coverage, aiming for a label set that represents a union of
labels from various languages. We propose the usage of a strong multilingual
SBERT as our base model, making our novel training strategy feasible. This
strategy contributes to the adaptability and effectiveness of the model in
cross-lingual language transfer scenarios, where it can categorize text in
languages not encountered during training. Thus, the paper delves into the
intricacies of cross-lingual text classification, with a particular focus on
its application for low-resource languages, exploring methodologies and
implications for the development of a robust and adaptable universal
cross-lingual model. | cs.CL | Universal Cross-Lingual Text Classification |
2024-06-16T17:51:22Z | http://arxiv.org/pdf/2406.11025v1 | http://arxiv.org/abs/2406.11025v1 | Dominik Wagner, Sebastian P. Bayerl, Ilja Baumann, Korbinian Riedhammer, Elmar Nöth, Tobias Bocklet | 2024-06-16T17:51:22Z | cs.SD, cs.CL, eess.AS | Accurately detecting dysfluencies in spoken language can help to improve the
performance of automatic speech and language processing components and support
the development of more inclusive speech and language technologies. Inspired by
the recent trend towards the deployment of large language models (LLMs) as
universal learners and processors of non-lexical inputs, such as audio and
video, we approach the task of multi-label dysfluency detection as a language
modeling problem. We present hypotheses candidates generated with an automatic
speech recognition system and acoustic representations extracted from an audio
encoder model to an LLM, and finetune the system to predict dysfluency labels
on three datasets containing English and German stuttered speech. The
experimental results show that our system effectively combines acoustic and
lexical information and achieves competitive results on the multi-label
stuttering detection task. | cs.SD | Large Language Models for Dysfluency Detection in Stuttered Speech |
2024-06-16T17:26:44Z | http://arxiv.org/pdf/2406.11020v1 | http://arxiv.org/abs/2406.11020v1 | Yuqing Wang, Yun Zhao | 2024-06-16T17:26:44Z | cs.CL | With the increasing use of large language models (LLMs), ensuring reliable
performance in diverse, real-world environments is essential. Despite their
remarkable achievements, LLMs often struggle with adversarial inputs,
significantly impacting their effectiveness in practical applications. To
systematically understand the robustness of LLMs, we present RUPBench, a
comprehensive benchmark designed to evaluate LLM robustness across diverse
reasoning tasks. Our benchmark incorporates 15 reasoning datasets, categorized
into commonsense, arithmetic, logical, and knowledge-intensive reasoning, and
introduces nine types of textual perturbations at lexical, syntactic, and
semantic levels. By examining the performance of state-of-the-art LLMs such as
GPT-4o, Llama3, Phi-3, and Gemma on both original and perturbed datasets, we
provide a detailed analysis of their robustness and error patterns. Our
findings highlight that larger models tend to exhibit greater robustness to
perturbations. Additionally, common error types are identified through manual
inspection, revealing specific challenges faced by LLMs in different reasoning
contexts. This work provides insights into areas where LLMs need further
improvement to handle diverse and noisy inputs effectively. | cs.CL | RUPBench: Benchmarking Reasoning Under Perturbations for Robustness Evaluation in Large Language Models |
2024-06-16T17:19:23Z | http://arxiv.org/pdf/2406.11016v1 | http://arxiv.org/abs/2406.11016v1 | Dominik Wagner, Seanie Lee, Ilja Baumann, Philipp Seeberger, Korbinian Riedhammer, Tobias Bocklet | 2024-06-16T17:19:23Z | cs.LG, cs.CL | In this work, we optimize speculative sampling for parallel hardware
accelerators to improve sampling speed. We notice that substantial portions of
the intermediate matrices necessary for speculative sampling can be computed
concurrently. This allows us to distribute the workload across multiple GPU
threads, enabling simultaneous operations on matrix segments within thread
blocks. Additionally, we use fast on-chip memory to store intermediate results,
thereby minimizing the frequency of slow read and write operations across
different types of memory. This results in profiling time improvements ranging
from 6% to 13% relative to the baseline implementation, without compromising
accuracy. To further accelerate speculative sampling, probability distributions
parameterized by softmax are approximated by sigmoid. This approximation
approach results in significantly greater relative improvements in profiling
time, ranging from 37% to 94%, with a slight decline in accuracy. We conduct
extensive experiments on both automatic speech recognition and summarization
tasks to validate the effectiveness of our optimization methods. | cs.LG | Optimized Speculative Sampling for GPU Hardware Accelerators |
2024-06-16T17:10:32Z | http://arxiv.org/pdf/2406.11012v3 | http://arxiv.org/abs/2406.11012v3 | Prisha Samadarshi, Mariam Mustafa, Anushka Kulkarni, Raven Rothkopf, Tuhin Chakrabarty, Smaranda Muresan | 2024-06-22T15:40:14Z | cs.CL, cs.AI | The New York Times Connections game has emerged as a popular and challenging
pursuit for word puzzle enthusiasts. We collect 200 Connections games to
evaluate the performance of state-of-the-art large language models (LLMs)
against expert and novice human players. Our results show that even the
best-performing LLM, GPT-4o, which has otherwise shown impressive reasoning
abilities on a wide variety of benchmarks, can only fully solve 8% of the
games. Compared to GPT-4o, novice and expert players perform better, with
expert human players significantly outperforming GPT-4o. To deepen our
understanding we create a taxonomy of the knowledge types required to
successfully categorize words in the Connections game, revealing that LLMs
struggle with associative, encyclopedic, and linguistic knowledge. Our findings
establish the New York Times Connections game as a challenging benchmark for
evaluating abstract reasoning capabilities in humans and AI systems. | cs.CL | Connecting the Dots: Evaluating Abstract Reasoning Capabilities of LLMs Using the New York Times Connections Word Game |
2024-06-16T17:09:24Z | http://arxiv.org/pdf/2406.11011v2 | http://arxiv.org/abs/2406.11011v2 | Jiachen T. Wang, Prateek Mittal, Dawn Song, Ruoxi Jia | 2024-06-29T23:05:32Z | cs.LG, cs.CL, stat.ML | Data Shapley provides a principled framework for attributing data's
contribution within machine learning contexts. However, existing approaches
require re-training models on different data subsets, which is computationally
intensive, foreclosing their application to large-scale models. Furthermore,
they produce the same attribution score for any models produced by running the
learning algorithm, meaning they cannot perform targeted attribution towards a
specific model obtained from a single run of the algorithm. This paper
introduces In-Run Data Shapley, which addresses these limitations by offering
scalable data attribution for a target model of interest. In its most efficient
implementation, our technique incurs negligible additional runtime compared to
standard model training. This dramatic efficiency improvement makes it possible
to perform data attribution for the foundation model pretraining stage for the
first time. We present several case studies that offer fresh insights into
pretraining data's contribution and discuss their implications for copyright in
generative AI and pretraining data curation. | cs.LG | Data Shapley in One Training Run |
2024-06-16T16:46:55Z | http://arxiv.org/pdf/2406.11911v1 | http://arxiv.org/abs/2406.11911v1 | X. Angelo Huang, Emanuele La Malfa, Samuele Marro, Andrea Asperti, Anthony Cohn, Michael Wooldridge | 2024-06-16T16:46:55Z | cs.AI, cs.CL, cs.LG | Theory of Mind (ToM) can be used to assess the capabilities of Large Language
Models (LLMs) in complex scenarios where social reasoning is required. While
the research community has proposed many ToM benchmarks, their hardness varies
greatly, and their complexity is not well defined. This work proposes a
framework to measure the complexity of ToM tasks. We quantify a problem's
complexity as the number of states necessary to solve it correctly. Our
complexity measure also accounts for spurious states of a ToM problem designed
to make it apparently harder. We use our method to assess the complexity of
five widely adopted ToM benchmarks. On top of this framework, we design a
prompting technique that augments the information available to a model with a
description of how the environment changes with the agents' interactions. We
name this technique Discrete World Models (DWM) and show how it elicits
superior performance on ToM tasks. | cs.AI | A Notion of Complexity for Theory of Mind via Discrete World Models |
2024-06-16T16:25:22Z | http://arxiv.org/pdf/2406.10999v1 | http://arxiv.org/abs/2406.10999v1 | Liman Wang, Hanyang Zhong | 2024-06-16T16:25:22Z | cs.CL, cs.AI | This paper investigates the nuanced role of biases in the decision-making
processes of large language models (LLMs). While conventional research
typically aims to eliminate all biases, our study reveals that not all biases
are detrimental. By examining rational deviations, involving heuristic
shortcuts that enhance decision-making efficiency, we highlight their potential
benefits when properly balanced. We introduce the concepts of heuristic
moderation and an abstention option, allowing LLMs to abstain from answering
when uncertain, thereby reducing error rates and improving decision accuracy.
Using our newly developed BRD (Balance Rational Deviations) dataset, our
findings demonstrate that appropriately scaled bias inspection enhances model
performance and aligns LLM decision-making more closely with human reasoning.
This balance improves the reliability and trustworthiness of LLMs and suggests
new strategies for future enhancements. Our work offers a fresh perspective on
leveraging biases constructively to enhance the practical applications of LLMs,
from conversational agents to decision support systems and beyond. | cs.CL | Not All Bias is Bad: Balancing Rational Deviations and Cognitive Biases in Large Language Model Reasoning |
2024-06-16T16:17:46Z | http://arxiv.org/pdf/2406.10996v1 | http://arxiv.org/abs/2406.10996v1 | Seo Hyun Kim, Kai Tzu-iunn Ong, Taeyoon Kwon, Namyoung Kim, Keummin Ka, SeongHyeon Bae, Yohan Jo, Seung-won Hwang, Dongha Lee, Jinyoung Yeo | 2024-06-16T16:17:46Z | cs.CL | Large language models (LLMs) are capable of processing lengthy dialogue
histories during prolonged interaction with users without additional memory
modules; however, their responses tend to overlook or incorrectly recall
information from the past. In this paper, we revisit memory-augmented response
generation in the era of LLMs. While prior work focuses on getting rid of
outdated memories, we argue that such memories can provide contextual cues that
help dialogue systems understand the development of past events and, therefore,
benefit response generation. We present Theanine, a framework that augments
LLMs' response generation with memory timelines -- series of memories that
demonstrate the development and causality of relevant past events. Along with
Theanine, we introduce TeaFarm, a counterfactual-driven question-answering
pipeline addressing the limitation of G-Eval in long-term conversations.
Supplementary videos of our methods and the TeaBag dataset for TeaFarm
evaluation are in https://theanine-693b0.web.app/. | cs.CL | THEANINE: Revisiting Memory Management in Long-term Conversations with Timeline-augmented Response Generation |
2024-06-16T16:10:51Z | http://arxiv.org/pdf/2406.10993v1 | http://arxiv.org/abs/2406.10993v1 | Bhavani Shankar, Preethi Jyothi, Pushpak Bhattacharyya | 2024-06-16T16:10:51Z | cs.CL, cs.LG, cs.SD, eess.AS | Code-switching is a widely prevalent linguistic phenomenon in multilingual
societies like India. Building speech-to-text models for code-switched speech
is challenging due to limited availability of datasets. In this work, we focus
on the problem of spoken translation (ST) of code-switched speech in Indian
languages to English text. We present a new end-to-end model architecture COSTA
that scaffolds on pretrained automatic speech recognition (ASR) and machine
translation (MT) modules (that are more widely available for many languages).
Speech and ASR text representations are fused using an aligned interleaving
scheme and are fed further as input to a pretrained MT module; the whole
pipeline is then trained end-to-end for spoken translation using synthetically
created ST data. We also release a new evaluation benchmark for code-switched
Bengali-English, Hindi-English, Marathi-English and Telugu- English speech to
English text. COSTA significantly outperforms many competitive cascaded and
end-to-end multimodal baselines by up to 3.5 BLEU points. | cs.CL | CoSTA: Code-Switched Speech Translation using Aligned Speech-Text Interleaving |
2024-06-16T16:09:05Z | http://arxiv.org/pdf/2406.10991v1 | http://arxiv.org/abs/2406.10991v1 | Tianhua Zhang, Kun Li, Hongyin Luo, Xixin Wu, James Glass, Helen Meng | 2024-06-16T16:09:05Z | cs.CL | Query rewriting is a crucial technique for passage retrieval in open-domain
conversational question answering (CQA). It decontexualizes conversational
queries into self-contained questions suitable for off-the-shelf retrievers.
Existing methods attempt to incorporate retriever's preference during the
training of rewriting models. However, these approaches typically rely on
extensive annotations such as in-domain rewrites and/or relevant passage
labels, limiting the models' generalization and adaptation capabilities. In
this paper, we introduce AdaQR ($\textbf{Ada}$ptive $\textbf{Q}$uery
$\textbf{R}$ewriting), a framework for training query rewriting models with
limited rewrite annotations from seed datasets and completely no passage label.
Our approach begins by fine-tuning compact large language models using only
~$10\%$ of rewrite annotations from the seed dataset training split. The models
are then utilized to generate rewrite candidates for each query instance. A
novel approach is then proposed to assess retriever's preference for these
candidates by the probability of answers conditioned on the conversational
query by marginalizing the Top-$K$ passages. This serves as the reward for
optimizing the rewriter further using Direct Preference Optimization (DPO), a
process free of rewrite and retrieval annotations. Experimental results on four
open-domain CQA datasets demonstrate that AdaQR not only enhances the in-domain
capabilities of the rewriter with limited annotation requirement, but also
adapts effectively to out-of-domain datasets. | cs.CL | Adaptive Query Rewriting: Aligning Rewriters through Marginal Probability of Conversational Answers |
2024-06-16T16:06:38Z | http://arxiv.org/pdf/2406.15474v1 | http://arxiv.org/abs/2406.15474v1 | Chenyu Ren, Yazhou Zhang, Daihai He, Jing Qin | 2024-06-16T16:06:38Z | cs.AI, cs.CL, cs.HC | Large language models (LLMs) are raging over the medical domain, and their
momentum has carried over into the mental health domain, leading to the
emergence of few mental health LLMs. Although such mental health LLMs could
provide reasonable suggestions for psychological counseling, how to develop an
authentic and effective doctor-patient relationship (DPR) through LLMs is still
an important problem. To fill this gap, we dissect DPR into two key attributes,
i.e., the psychologist's empathy and proactive guidance. We thus present
WundtGPT, an empathetic and proactive mental health large language model that
is acquired by fine-tuning it with instruction and real conversation between
psychologists and patients. It is designed to assist psychologists in diagnosis
and help patients who are reluctant to communicate face-to-face understand
their psychological conditions. Its uniqueness lies in that it could not only
pose purposeful questions to guide patients in detailing their symptoms but
also offer warm emotional reassurance. In particular, WundtGPT incorporates
Collection of Questions, Chain of Psychodiagnosis, and Empathy Constraints into
a comprehensive prompt for eliciting LLMs' questions and diagnoses.
Additionally, WundtGPT proposes a reward model to promote alignment with
empathetic mental health professionals, which encompasses two key factors:
cognitive empathy and emotional empathy. We offer a comprehensive evaluation of
our proposed model. Based on these outcomes, we further conduct the manual
evaluation based on proactivity, effectiveness, professionalism and coherence.
We notice that WundtGPT can offer professional and effective consultation. The
model is available at huggingface. | cs.AI | WundtGPT: Shaping Large Language Models To Be An Empathetic, Proactive Psychologist |
2024-06-16T15:50:10Z | http://arxiv.org/pdf/2406.10985v1 | http://arxiv.org/abs/2406.10985v1 | Weiyao Luo, Suncong Zheng, Heming Xia, Weikang Wang, Yan Lei, Tianyu Liu, Shuang Chen, Zhifang Sui | 2024-06-16T15:50:10Z | cs.CL | Large language models (LLMs) have shown promising efficacy across various
tasks, becoming powerful tools in numerous aspects of human life. However,
Transformer-based LLMs suffer a performance degradation when modeling long-term
contexts due to they discard some information to reduce computational overhead.
In this work, we propose a simple yet effective method to enable LLMs to take a
deep breath, encouraging them to summarize information contained within
discrete text chunks. Specifically, we segment the text into multiple chunks
and insert special token <SR> at the end of each chunk. We then modify the
attention mask to integrate the chunk's information into the corresponding <SR>
token. This facilitates LLMs to interpret information not only from historical
individual tokens but also from the <SR> token, aggregating the chunk's
semantic information. Experiments on language modeling and out-of-domain
downstream tasks validate the superiority of our approach. | cs.CL | Taking a Deep Breath: Enhancing Language Modeling of Large Language Models with Sentinel Tokens |
2024-06-16T15:44:37Z | http://arxiv.org/pdf/2406.10984v1 | http://arxiv.org/abs/2406.10984v1 | Hiroaki Yamagiwa, Momose Oyama, Hidetoshi Shimodaira | 2024-06-16T15:44:37Z | cs.CL | Cosine similarity is widely used to measure the similarity between two
embeddings, while interpretations based on angle and correlation coefficient
are common. In this study, we focus on the interpretable axes of embeddings
transformed by Independent Component Analysis (ICA), and propose a novel
interpretation of cosine similarity as the sum of semantic similarities over
axes. To investigate this, we first show experimentally that unnormalized
embeddings contain norm-derived artifacts. We then demonstrate that normalized
ICA-transformed embeddings exhibit sparsity, with a few large values in each
axis and across embeddings, thereby enhancing interpretability by delineating
clear semantic contributions. Finally, to validate our interpretation, we
perform retrieval experiments using ideal embeddings with and without specific
semantic components. | cs.CL | Revisiting Cosine Similarity via Normalized ICA-transformed Embeddings |
2024-06-16T15:24:50Z | http://arxiv.org/pdf/2406.10977v1 | http://arxiv.org/abs/2406.10977v1 | Rui Zheng, Hongyi Guo, Zhihan Liu, Xiaoying Zhang, Yuanshun Yao, Xiaojun Xu, Zhaoran Wang, Zhiheng Xi, Tao Gui, Qi Zhang, Xuanjing Huang, Hang Li, Yang Liu | 2024-06-16T15:24:50Z | cs.CL, cs.AI, 68 | The standard Reinforcement Learning from Human Feedback (RLHF) framework
primarily focuses on optimizing the performance of large language models using
pre-collected prompts. However, collecting prompts that provide comprehensive
coverage is both tedious and challenging, and often fails to include scenarios
that LLMs need to improve on the most. In this paper, we investigate alignment
through the lens of two-agent games, involving iterative interactions between
an adversarial and a defensive agent. The adversarial agent's task at each step
is to generate prompts that expose the weakness of the defensive agent. In
return, the defensive agent seeks to improve its responses to these newly
identified prompts it struggled with, based on feedback from the reward model.
We theoretically demonstrate that this iterative reinforcement learning
optimization converges to a Nash Equilibrium for the game induced by the
agents. Experimental results in safety scenarios demonstrate that learning in
such a competitive environment not only fully trains agents but also leads to
policies with enhanced generalization capabilities for both adversarial and
defensive agents. | cs.CL | Toward Optimal LLM Alignments Using Two-Player Games |
2024-06-16T15:23:07Z | http://arxiv.org/pdf/2406.10976v1 | http://arxiv.org/abs/2406.10976v1 | JianHao Zhu, Changze Lv, Xiaohua Wang, Muling Wu, Wenhao Liu, Tianlong Li, Zixuan Ling, Cenyuan Zhang, Xiaoqing Zheng, Xuanjing Huang | 2024-06-16T15:23:07Z | cs.LG, cs.CL, cs.CR | Conventional federated learning primarily aims to secure the privacy of data
distributed across multiple edge devices, with the global model dispatched to
edge devices for parameter updates during the learning process. However, the
development of large language models (LLMs) requires substantial data and
computational resources, rendering them valuable intellectual properties for
their developers and owners. To establish a mechanism that protects both data
and model privacy in a federated learning context, we introduce a method that
just needs to distribute a quantized version of the model's parameters during
training. This method enables accurate gradient estimations for parameter
updates while preventing clients from accessing a model whose performance is
comparable to the centrally hosted one. Moreover, we combine this quantization
strategy with LoRA, a popular and parameter-efficient fine-tuning method, to
significantly reduce communication costs in federated learning. The proposed
framework, named \textsc{FedLPP}, successfully ensures both data and model
privacy in the federated learning context. Additionally, the learned central
model exhibits good generalization and can be trained in a resource-efficient
manner. | cs.LG | Promoting Data and Model Privacy in Federated Learning through Quantized LoRA |
2024-06-16T15:15:44Z | http://arxiv.org/pdf/2406.10974v1 | http://arxiv.org/abs/2406.10974v1 | T. Y. S. S Santosh, Kevin D. Ashley, Katie Atkinson, Matthias Grabmair | 2024-06-16T15:15:44Z | cs.CL, cs.AI | Modeling legal reasoning and argumentation justifying decisions in cases has
always been central to AI & Law, yet contemporary developments in legal NLP
have increasingly focused on statistically classifying legal conclusions from
text. While conceptually simpler, these approaches often fall short in
providing usable justifications connecting to appropriate legal concepts. This
paper reviews both traditional symbolic works in AI & Law and recent advances
in legal NLP, and distills possibilities of integrating expert-informed
knowledge to strike a balance between scalability and explanation in symbolic
vs. data-driven approaches. We identify open challenges and discuss the
potential of modern NLP models and methods that integrate | cs.CL | Towards Supporting Legal Argumentation with NLP: Is More Data Really All You Need? |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.