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-03-03T21:24:35Z | http://arxiv.org/pdf/2403.01616v2 | http://arxiv.org/abs/2403.01616v2 | Nguyen Quang Duc, Le Hai Son, Nguyen Duc Nhan, Nguyen Dich Nhat Minh, Le Thanh Huong, Dinh Viet Sang | 2024-03-05T18:15:49Z | cs.CL | This paper presents our contributions towards advancing the state of
Vietnamese language understanding and generation through the development and
dissemination of open datasets and pre-trained models for Vietnamese
Retrieval-Augmented Generation (RAG) and Large Language Models (LLMs). | cs.CL | Towards Comprehensive Vietnamese Retrieval-Augmented Generation and Large Language Models |
2024-03-03T19:53:06Z | http://arxiv.org/pdf/2403.01599v1 | http://arxiv.org/abs/2403.01599v1 | Yulei Niu, Wenliang Guo, Long Chen, Xudong Lin, Shih-Fu Chang | 2024-03-03T19:53:06Z | cs.CV, cs.AI, cs.CL, cs.LG | We study the problem of procedure planning in instructional videos, which
aims to make a goal-oriented sequence of action steps given partial visual
state observations. The motivation of this problem is to learn a structured and
plannable state and action space. Recent works succeeded in sequence modeling
of steps with only sequence-level annotations accessible during training, which
overlooked the roles of states in the procedures. In this work, we point out
that State CHangEs MAtter (SCHEMA) for procedure planning in instructional
videos. We aim to establish a more structured state space by investigating the
causal relations between steps and states in procedures. Specifically, we
explicitly represent each step as state changes and track the state changes in
procedures. For step representation, we leveraged the commonsense knowledge in
large language models (LLMs) to describe the state changes of steps via our
designed chain-of-thought prompting. For state change tracking, we align visual
state observations with language state descriptions via cross-modal contrastive
learning, and explicitly model the intermediate states of the procedure using
LLM-generated state descriptions. Experiments on CrossTask, COIN, and NIV
benchmark datasets demonstrate that our proposed SCHEMA model achieves
state-of-the-art performance and obtains explainable visualizations. | cs.CV | SCHEMA: State CHangEs MAtter for Procedure Planning in Instructional Videos |
2024-03-03T18:08:30Z | http://arxiv.org/pdf/2403.01580v1 | http://arxiv.org/abs/2403.01580v1 | Séamus Lankford | 2024-03-03T18:08:30Z | cs.CL, cs.AI | In the current machine translation (MT) landscape, the Transformer
architecture stands out as the gold standard, especially for high-resource
language pairs. This research delves into its efficacy for low-resource
language pairs including both the English$\leftrightarrow$Irish and
English$\leftrightarrow$Marathi language pairs. Notably, the study identifies
the optimal hyperparameters and subword model type to significantly improve the
translation quality of Transformer models for low-resource language pairs.
The scarcity of parallel datasets for low-resource languages can hinder MT
development. To address this, gaHealth was developed, the first bilingual
corpus of health data for the Irish language. Focusing on the health domain,
models developed using this in-domain dataset exhibited very significant
improvements in BLEU score when compared with models from the LoResMT2021
Shared Task. A subsequent human evaluation using the multidimensional quality
metrics error taxonomy showcased the superior performance of the Transformer
system in reducing both accuracy and fluency errors compared to an RNN-based
counterpart.
Furthermore, this thesis introduces adaptNMT and adaptMLLM, two open-source
applications streamlined for the development, fine-tuning, and deployment of
neural machine translation models. These tools considerably simplify the setup
and evaluation process, making MT more accessible to both developers and
translators. Notably, adaptNMT, grounded in the OpenNMT ecosystem, promotes
eco-friendly natural language processing research by highlighting the
environmental footprint of model development. Fine-tuning of MLLMs by adaptMLLM
demonstrated advancements in translation performance for two low-resource
language pairs: English$\leftrightarrow$Irish and
English$\leftrightarrow$Marathi, compared to baselines from the LoResMT2021
Shared Task. | cs.CL | Enhancing Neural Machine Translation of Low-Resource Languages: Corpus Development, Human Evaluation and Explainable AI Architectures |
2024-03-03T17:35:52Z | http://arxiv.org/pdf/2403.01570v2 | http://arxiv.org/abs/2403.01570v2 | Jiahuan Yan, Jintai Chen, Chaowen Hu, Bo Zheng, Yaojun Hu, Jimeng Sun, Jian Wu | 2024-03-16T04:07:01Z | cs.CL, cs.LG | Recent development of large language models (LLMs) has exhibited impressive
zero-shot proficiency on generic and common sense questions. However, LLMs'
application on domain-specific vertical questions still lags behind, primarily
due to the humiliation problems and deficiencies in vertical knowledge.
Furthermore, the vertical data annotation process often requires
labor-intensive expert involvement, thereby presenting an additional challenge
in enhancing the model's vertical capabilities. In this paper, we propose
SERVAL, a synergy learning pipeline designed for unsupervised development of
vertical capabilities in both LLMs and small models by mutual enhancement.
Specifically, SERVAL utilizes the LLM's zero-shot outputs as annotations,
leveraging its confidence to teach a robust vertical model from scratch.
Reversely, the trained vertical model guides the LLM fine-tuning to enhance its
zero-shot capability, progressively improving both models through an iterative
process. In medical domain, known for complex vertical knowledge and costly
annotations, comprehensive experiments show that, without access to any gold
labels, SERVAL with the synergy learning of OpenAI GPT-3.5 and a simple model
attains fully-supervised competitive performance across ten widely used medical
datasets. These datasets represent vertically specialized medical diagnostic
scenarios (e.g., diabetes, heart diseases, COVID-19), highlighting the
potential of SERVAL in refining the vertical capabilities of LLMs and training
vertical models from scratch, all achieved without the need for annotations. | cs.CL | SERVAL: Synergy Learning between Vertical Models and LLMs towards Oracle-Level Zero-shot Medical Prediction |
2024-03-03T15:53:41Z | http://arxiv.org/pdf/2403.01548v3 | http://arxiv.org/abs/2403.01548v3 | Shiqi Chen, Miao Xiong, Junteng Liu, Zhengxuan Wu, Teng Xiao, Siyang Gao, Junxian He | 2024-03-12T09:49:28Z | cs.CL, cs.AI, cs.LG | Large language models (LLMs) frequently hallucinate and produce factual
errors, yet our understanding of why they make these errors remains limited. In
this study, we delve into the underlying mechanisms of LLM hallucinations from
the perspective of inner representations, and discover a salient pattern
associated with hallucinations: correct generations tend to have sharper
context activations in the hidden states of the in-context tokens, compared to
the incorrect ones. Leveraging this insight, we propose an entropy-based metric
to quantify the ``sharpness'' among the in-context hidden states and
incorporate it into the decoding process to formulate a constrained decoding
approach. Experiments on various knowledge-seeking and hallucination benchmarks
demonstrate our approach's consistent effectiveness, for example, achieving up
to an 8.6 point improvement on TruthfulQA. We believe this study can improve
our understanding of hallucinations and serve as a practical solution for
hallucination mitigation. | cs.CL | In-Context Sharpness as Alerts: An Inner Representation Perspective for Hallucination Mitigation |
2024-03-03T14:59:47Z | http://arxiv.org/pdf/2403.01528v2 | http://arxiv.org/abs/2403.01528v2 | Qizhi Pei, Lijun Wu, Kaiyuan Gao, Jinhua Zhu, Yue Wang, Zun Wang, Tao Qin, Rui Yan | 2024-03-05T11:12:47Z | cs.CL, cs.AI, q-bio.BM | The integration of biomolecular modeling with natural language (BL) has
emerged as a promising interdisciplinary area at the intersection of artificial
intelligence, chemistry and biology. This approach leverages the rich,
multifaceted descriptions of biomolecules contained within textual data sources
to enhance our fundamental understanding and enable downstream computational
tasks such as biomolecule property prediction. The fusion of the nuanced
narratives expressed through natural language with the structural and
functional specifics of biomolecules described via various molecular modeling
techniques opens new avenues for comprehensively representing and analyzing
biomolecules. By incorporating the contextual language data that surrounds
biomolecules into their modeling, BL aims to capture a holistic view
encompassing both the symbolic qualities conveyed through language as well as
quantitative structural characteristics. In this review, we provide an
extensive analysis of recent advancements achieved through cross modeling of
biomolecules and natural language. (1) We begin by outlining the technical
representations of biomolecules employed, including sequences, 2D graphs, and
3D structures. (2) We then examine in depth the rationale and key objectives
underlying effective multi-modal integration of language and molecular data
sources. (3) We subsequently survey the practical applications enabled to date
in this developing research area. (4) We also compile and summarize the
available resources and datasets to facilitate future work. (5) Looking ahead,
we identify several promising research directions worthy of further exploration
and investment to continue advancing the field. The related resources and
contents are updating in
\url{https://github.com/QizhiPei/Awesome-Biomolecule-Language-Cross-Modeling}. | cs.CL | Leveraging Biomolecule and Natural Language through Multi-Modal Learning: A Survey |
2024-03-03T14:03:48Z | http://arxiv.org/pdf/2403.01518v1 | http://arxiv.org/abs/2403.01518v1 | Amal Rannen-Triki, Jorg Bornschein, Razvan Pascanu, Marcus Hutter, Andras György, Alexandre Galashov, Yee Whye Teh, Michalis K. Titsias | 2024-03-03T14:03:48Z | cs.CL, cs.LG | We consider the problem of online fine tuning the parameters of a language
model at test time, also known as dynamic evaluation. While it is generally
known that this approach improves the overall predictive performance,
especially when considering distributional shift between training and
evaluation data, we here emphasize the perspective that online adaptation turns
parameters into temporally changing states and provides a form of
context-length extension with memory in weights, more in line with the concept
of memory in neuroscience. We pay particular attention to the speed of
adaptation (in terms of sample efficiency),sensitivity to the overall
distributional drift, and the computational overhead for performing gradient
computations and parameter updates. Our empirical study provides insights on
when online adaptation is particularly interesting. We highlight that with
online adaptation the conceptual distinction between in-context learning and
fine tuning blurs: both are methods to condition the model on previously
observed tokens. | cs.CL | Revisiting Dynamic Evaluation: Online Adaptation for Large Language Models |
2024-03-03T13:14:47Z | http://arxiv.org/pdf/2403.01509v2 | http://arxiv.org/abs/2403.01509v2 | Zhu Liu, Cunliang Kong, Ying Liu, Maosong Sun | 2024-06-09T13:07:50Z | cs.CL | Large language models have achieved remarkable success in general language
understanding tasks. However, as a family of generative methods with the
objective of next token prediction, the semantic evolution with the depth of
these models are not fully explored, unlike their predecessors, such as
BERT-like architectures. In this paper, we specifically investigate the
bottom-up evolution of lexical semantics for a popular LLM, namely Llama2, by
probing its hidden states at the end of each layer using a contextualized word
identification task. Our experiments show that the representations in lower
layers encode lexical semantics, while the higher layers, with weaker semantic
induction, are responsible for prediction. This is in contrast to models with
discriminative objectives, such as mask language modeling, where the higher
layers obtain better lexical semantics. The conclusion is further supported by
the monotonic increase in performance via the hidden states for the last
meaningless symbols, such as punctuation, in the prompting strategy. Our codes
are available at https://github.com/RyanLiut/LLM_LexSem. | cs.CL | Fantastic Semantics and Where to Find Them: Investigating Which Layers of Generative LLMs Reflect Lexical Semantics |
2024-03-03T11:19:26Z | http://arxiv.org/pdf/2403.01481v1 | http://arxiv.org/abs/2403.01481v1 | Kinshuk Vasisht, Balaji Ganesan, Vikas Kumar, Vasudha Bhatnagar | 2024-03-03T11:19:26Z | cs.CL | Knowledge infusion is a promising method for enhancing Large Language Models
for domain-specific NLP tasks rather than pre-training models over large data
from scratch. These augmented LLMs typically depend on additional pre-training
or knowledge prompts from an existing knowledge graph, which is impractical in
many applications. In contrast, knowledge infusion directly from relevant
documents is more generalisable and alleviates the need for structured
knowledge graphs while also being useful for entities that are usually not
found in any knowledge graph. With this motivation, we propose a simple yet
generalisable approach for knowledge infusion by generating prompts from the
context in the input text. Our experiments show the effectiveness of our
approach which we evaluate by probing the fine-tuned LLMs. | cs.CL | Infusing Knowledge into Large Language Models with Contextual Prompts |
2024-03-03T11:13:44Z | http://arxiv.org/pdf/2403.01479v3 | http://arxiv.org/abs/2403.01479v3 | Heegon Jin, Seonil Son, Jemin Park, Youngseok Kim, Hyungjong Noh, Yeonsoo Lee | 2024-03-25T08:46:15Z | cs.CL, cs.AI, 68T50, I.2.7 | The advent of scalable deep models and large datasets has improved the
performance of Neural Machine Translation. Knowledge Distillation (KD) enhances
efficiency by transferring knowledge from a teacher model to a more compact
student model. However, KD approaches to Transformer architecture often rely on
heuristics, particularly when deciding which teacher layers to distill from. In
this paper, we introduce the 'Align-to-Distill' (A2D) strategy, designed to
address the feature mapping problem by adaptively aligning student attention
heads with their teacher counterparts during training. The Attention Alignment
Module in A2D performs a dense head-by-head comparison between student and
teacher attention heads across layers, turning the combinatorial mapping
heuristics into a learning problem. Our experiments show the efficacy of A2D,
demonstrating gains of up to +3.61 and +0.63 BLEU points for WMT-2022 De->Dsb
and WMT-2014 En->De, respectively, compared to Transformer baselines. | cs.CL | Align-to-Distill: Trainable Attention Alignment for Knowledge Distillation in Neural Machine Translation |
2024-03-03T11:09:32Z | http://arxiv.org/pdf/2403.12984v2 | http://arxiv.org/abs/2403.12984v2 | Azmine Toushik Wasi, Šerbetar Karlo, Raima Islam, Taki Hasan Rafi, Dong-Kyu Chae | 2024-03-27T21:51:03Z | q-bio.BM, cs.CL, cs.IR, cs.LG, stat.ML | Complex chemical structures, like drugs, are usually defined by SMILES
strings as a sequence of molecules and bonds. These SMILES strings are used in
different complex machine learning-based drug-related research and
representation works. Escaping from complex representation, in this work, we
pose a single question: What if we treat drug SMILES as conventional sentences
and engage in text classification for drug classification? Our experiments
affirm the possibility with very competitive scores. The study explores the
notion of viewing each atom and bond as sentence components, employing basic
NLP methods to categorize drug types, proving that complex problems can also be
solved with simpler perspectives. The data and code are available here:
https://github.com/azminewasi/Drug-Classification-NLP. | q-bio.BM | When SMILES have Language: Drug Classification using Text Classification Methods on Drug SMILES Strings |
2024-03-03T10:39:27Z | http://arxiv.org/pdf/2403.01472v2 | http://arxiv.org/abs/2403.01472v2 | Anudeex Shetty, Yue Teng, Ke He, Qiongkai Xu | 2024-06-09T04:34:55Z | cs.CR, cs.CL, cs.LG | Embedding as a Service (EaaS) has become a widely adopted solution, which
offers feature extraction capabilities for addressing various downstream tasks
in Natural Language Processing (NLP). Prior studies have shown that EaaS can be
prone to model extraction attacks; nevertheless, this concern could be
mitigated by adding backdoor watermarks to the text embeddings and subsequently
verifying the attack models post-publication. Through the analysis of the
recent watermarking strategy for EaaS, EmbMarker, we design a novel CSE
(Clustering, Selection, Elimination) attack that removes the backdoor watermark
while maintaining the high utility of embeddings, indicating that the previous
watermarking approach can be breached. In response to this new threat, we
propose a new protocol to make the removal of watermarks more challenging by
incorporating multiple possible watermark directions. Our defense approach,
WARDEN, notably increases the stealthiness of watermarks and has been
empirically shown to be effective against CSE attack. | cs.CR | WARDEN: Multi-Directional Backdoor Watermarks for Embedding-as-a-Service Copyright Protection |
2024-03-03T10:31:49Z | http://arxiv.org/pdf/2403.01469v2 | http://arxiv.org/abs/2403.01469v2 | Sunjun Kweon, Byungjin Choi, Minkyu Kim, Rae Woong Park, Edward Choi | 2024-03-05T09:58:08Z | cs.CL | We introduce KorMedMCQA, the first Korean multiple-choice question answering
(MCQA) benchmark derived from Korean healthcare professional licensing
examinations, covering from the year 2012 to year 2023. This dataset consists
of a selection of questions from the license examinations for doctors, nurses,
and pharmacists, featuring a diverse array of subjects. We conduct baseline
experiments on various large language models, including
proprietary/open-source, multilingual/Korean-additional pretrained, and
clinical context pretrained models, highlighting the potential for further
enhancements. We make our data publicly available on HuggingFace
(https://huggingface.co/datasets/sean0042/KorMedMCQA) and provide a evaluation
script via LM-Harness, inviting further exploration and advancement in Korean
healthcare environments. | cs.CL | KorMedMCQA: Multi-Choice Question Answering Benchmark for Korean Healthcare Professional Licensing Examinations |
2024-03-03T09:55:35Z | http://arxiv.org/pdf/2403.01461v1 | http://arxiv.org/abs/2403.01461v1 | Rustam Abdumalikov, Pasquale Minervini, Yova Kementchedjhieva | 2024-03-03T09:55:35Z | cs.CL | The performance of Open-Domain Question Answering (ODQA) retrieval systems
can exhibit sub-optimal behavior, providing text excerpts with varying degrees
of irrelevance. Unfortunately, many existing ODQA datasets lack examples
specifically targeting the identification of irrelevant text excerpts. Previous
attempts to address this gap have relied on a simplistic approach of pairing
questions with random text excerpts. This paper aims to investigate the
effectiveness of models trained using this randomized strategy, uncovering an
important limitation in their ability to generalize to irrelevant text excerpts
with high semantic overlap. As a result, we observed a substantial decrease in
predictive accuracy, from 98% to 1%. To address this limitation, we discovered
an efficient approach for training models to recognize such excerpts. By
leveraging unanswerable pairs from the SQuAD 2.0 dataset, our models achieve a
nearly perfect (~100%) accuracy when confronted with these challenging text
excerpts. | cs.CL | Answerability in Retrieval-Augmented Open-Domain Question Answering |
2024-03-03T09:22:21Z | http://arxiv.org/pdf/2403.01457v1 | http://arxiv.org/abs/2403.01457v1 | Zhongxiang Sun, Kepu Zhang, Weijie Yu, Haoyu Wang, Jun Xu | 2024-03-03T09:22:21Z | cs.IR, cs.CL | In this paper, we address the issue of using logic rules to explain the
results from legal case retrieval. The task is critical to legal case retrieval
because the users (e.g., lawyers or judges) are highly specialized and require
the system to provide logical, faithful, and interpretable explanations before
making legal decisions. Recently, research efforts have been made to learn
explainable legal case retrieval models. However, these methods usually select
rationales (key sentences) from the legal cases as explanations, failing to
provide faithful and logically correct explanations. In this paper, we propose
Neural-Symbolic enhanced Legal Case Retrieval (NS-LCR), a framework that
explicitly conducts reasoning on the matching of legal cases through learning
case-level and law-level logic rules. The learned rules are then integrated
into the retrieval process in a neuro-symbolic manner. Benefiting from the
logic and interpretable nature of the logic rules, NS-LCR is equipped with
built-in faithful explainability. We also show that NS-LCR is a model-agnostic
framework that can be plugged in for multiple legal retrieval models. To
showcase NS-LCR's superiority, we enhance existing benchmarks by adding
manually annotated logic rules and introducing a novel explainability metric
using Large Language Models (LLMs). Our comprehensive experiments reveal
NS-LCR's effectiveness for ranking, alongside its proficiency in delivering
reliable explanations for legal case retrieval. | cs.IR | Logic Rules as Explanations for Legal Case Retrieval |
2024-03-03T09:18:05Z | http://arxiv.org/pdf/2403.01456v1 | http://arxiv.org/abs/2403.01456v1 | Jingshen Zhang, Jiajun Xie, Xinying Qiu | 2024-03-03T09:18:05Z | cs.CL, cs.AI, cs.CY | Item difficulty plays a crucial role in adaptive testing. However, few works
have focused on generating questions of varying difficulty levels, especially
for multiple-choice (MC) cloze tests. We propose training pre-trained language
models (PLMs) as surrogate models to enable item response theory (IRT)
assessment, avoiding the need for human test subjects. We also propose two
strategies to control the difficulty levels of both the gaps and the
distractors using ranking rules to reduce invalid distractors. Experimentation
on a benchmark dataset demonstrates that our proposed framework and methods can
effectively control and evaluate the difficulty levels of MC cloze tests. | cs.CL | Controlling Cloze-test Question Item Difficulty with PLM-based Surrogate Models for IRT Assessment |
2024-03-03T08:12:59Z | http://arxiv.org/pdf/2403.04787v2 | http://arxiv.org/abs/2403.04787v2 | Seo Hyun Kim, Keummin Ka, Yohan Jo, Seung-won Hwang, Dongha Lee, Jinyoung Yeo | 2024-04-07T04:31:30Z | cs.CL, cs.AI | For a human-like chatbot, constructing a long-term memory is crucial.
However, current large language models often lack this capability, leading to
instances of missing important user information or redundantly asking for the
same information, thereby diminishing conversation quality. To effectively
construct memory, it is crucial to seamlessly connect past and present
information, while also possessing the ability to forget obstructive
information. To address these challenges, we propose CREEM, a novel memory
system for long-term conversation. Improving upon existing approaches that
construct memory based solely on current sessions, CREEM blends past memories
during memory formation. Additionally, we introduce a refining process to
handle redundant or outdated information. Unlike traditional paradigms, we view
responding and memory construction as inseparable tasks. The blending process,
which creates new memories, also serves as a reasoning step for response
generation by informing the connection between past and present. Through
evaluation, we demonstrate that CREEM enhances both memory and response
qualities in multi-session personalized dialogues. | cs.CL | Ever-Evolving Memory by Blending and Refining the Past |
2024-03-03T08:07:55Z | http://arxiv.org/pdf/2403.01432v2 | http://arxiv.org/abs/2403.01432v2 | Heydar Soudani, Evangelos Kanoulas, Faegheh Hasibi | 2024-03-07T11:24:09Z | cs.CL | Large language models (LLMs) memorize a vast amount of factual knowledge,
exhibiting strong performance across diverse tasks and domains. However, it has
been observed that the performance diminishes when dealing with less-popular or
low-frequency concepts and entities, for example in domain specific
applications. The two prominent approaches to enhance the performance of LLMs
on low-frequent topics are: Retrieval Augmented Generation (RAG) and
fine-tuning (FT) over synthetic data. This paper explores and evaluates the
impact of RAG and FT on customizing LLMs in handling low-frequency entities on
question answering task. Our findings indicate that FT significantly boosts the
performance across entities of varying popularity, especially in the most and
least popular groups, while RAG surpasses other methods. Additionally, the
success of both RAG and FT approaches is amplified by advancements in retrieval
and data augmentation techniques. We release our data and code at
https://github.com/informagi/RAGvsFT. | cs.CL | Fine Tuning vs. Retrieval Augmented Generation for Less Popular Knowledge |
2024-03-03T06:47:51Z | http://arxiv.org/pdf/2403.01411v1 | http://arxiv.org/abs/2403.01411v1 | Haiquan Zhao, Xuwu Wang, Shisong Chen, Zhixu Li, Xin Zheng, Yanghua Xiao | 2024-03-03T06:47:51Z | cs.CL | In recent years, multi-modal entity linking (MEL) has garnered increasing
attention in the research community due to its significance in numerous
multi-modal applications. Video, as a popular means of information
transmission, has become prevalent in people's daily lives. However, most
existing MEL methods primarily focus on linking textual and visual mentions or
offline videos's mentions to entities in multi-modal knowledge bases, with
limited efforts devoted to linking mentions within online video content. In
this paper, we propose a task called Online Video Entity Linking OVEL, aiming
to establish connections between mentions in online videos and a knowledge base
with high accuracy and timeliness. To facilitate the research works of OVEL, we
specifically concentrate on live delivery scenarios and construct a live
delivery entity linking dataset called LIVE. Besides, we propose an evaluation
metric that considers timelessness, robustness, and accuracy. Furthermore, to
effectively handle OVEL task, we leverage a memory block managed by a Large
Language Model and retrieve entity candidates from the knowledge base to
augment LLM performance on memory management. The experimental results prove
the effectiveness and efficiency of our method. | cs.CL | OVEL: Large Language Model as Memory Manager for Online Video Entity Linking |
2024-03-03T05:45:27Z | http://arxiv.org/pdf/2403.01404v1 | http://arxiv.org/abs/2403.01404v1 | Yueqi Song, Simran Khanuja, Graham Neubig | 2024-03-03T05:45:27Z | cs.CL | NLP models today strive for supporting multiple languages and modalities,
improving accessibility for diverse users. In this paper, we evaluate their
multilingual, multimodal capabilities by testing on a visual reasoning task. We
observe that proprietary systems like GPT-4V obtain the best performance on
this task now, but open models lag in comparison. Surprisingly, GPT-4V exhibits
similar performance between English and other languages, indicating the
potential for equitable system development across languages. Our analysis on
model failures reveals three key aspects that make this task challenging:
multilinguality, complex reasoning, and multimodality. To address these
challenges, we propose three targeted interventions including a translate-test
approach to tackle multilinguality, a visual programming approach to break down
complex reasoning, and a novel method that leverages image captioning to
address multimodality. Our interventions achieve the best open performance on
this task in a zero-shot setting, boosting open model LLaVA by 13.4%, while
also minorly improving GPT-4V's performance. | cs.CL | What Is Missing in Multilingual Visual Reasoning and How to Fix It |
2024-03-03T04:47:01Z | http://arxiv.org/pdf/2403.01395v1 | http://arxiv.org/abs/2403.01395v1 | Willis Guo, Armin Toroghi, Scott Sanner | 2024-03-03T04:47:01Z | cs.CL, I.2.4, I.2.7 | Knowledge graph question answering (KGQA) is a well-established field that
seeks to provide factual answers to natural language (NL) questions by
leveraging knowledge graphs (KGs). However, existing KGQA datasets suffer from
two significant limitations: (1) no existing KGQA dataset requires commonsense
reasoning to arrive at an answer and (2) existing KGQA datasets focus on
popular entities for which large language models (LLMs) can directly answer
without hallucinating and without leveraging the KG. In this work, we seek a
novel KGQA dataset that supports commonsense reasoning and focuses on long-tail
entities (e.g., non-mainstream and recent entities) where LLMs frequently
hallucinate, and thus create the need for novel methodologies that leverage the
KG for factual and attributable commonsense inference. We create a novel
Commonsense Reasoning (CR) and Long-Tail (LT) KGQA dataset with two subtasks --
question answering and claim verification -- that address both limitations (1)
and (2). We construct CR-LT-KGQA by building extensions to existing reasoning
datasets StrategyQA and CREAK over Wikidata. While existing KGQA methods are
not applicable due to their lack of commonsense inference support, baseline
evaluation of LLMs on CR-LT KGQA demonstrate a high rate of hallucination.
Thus, CR-LT KGQA poses significant challenges for hallucination-prone LLMs,
hence paving the way for future commonsense KGQA research to provide accurate
and factual answers for long-tail entities in the era of LLMs. | cs.CL | CR-LT-KGQA: A Knowledge Graph Question Answering Dataset Requiring Commonsense Reasoning and Long-Tail Knowledge |
2024-03-03T04:46:21Z | http://arxiv.org/pdf/2403.04786v2 | http://arxiv.org/abs/2403.04786v2 | Arijit Ghosh Chowdhury, Md Mofijul Islam, Vaibhav Kumar, Faysal Hossain Shezan, Vaibhav Kumar, Vinija Jain, Aman Chadha | 2024-03-23T05:21:49Z | cs.CR, cs.CL | Large Language Models (LLMs) have become a cornerstone in the field of
Natural Language Processing (NLP), offering transformative capabilities in
understanding and generating human-like text. However, with their rising
prominence, the security and vulnerability aspects of these models have
garnered significant attention. This paper presents a comprehensive survey of
the various forms of attacks targeting LLMs, discussing the nature and
mechanisms of these attacks, their potential impacts, and current defense
strategies. We delve into topics such as adversarial attacks that aim to
manipulate model outputs, data poisoning that affects model training, and
privacy concerns related to training data exploitation. The paper also explores
the effectiveness of different attack methodologies, the resilience of LLMs
against these attacks, and the implications for model integrity and user trust.
By examining the latest research, we provide insights into the current
landscape of LLM vulnerabilities and defense mechanisms. Our objective is to
offer a nuanced understanding of LLM attacks, foster awareness within the AI
community, and inspire robust solutions to mitigate these risks in future
developments. | cs.CR | Breaking Down the Defenses: A Comparative Survey of Attacks on Large Language Models |
2024-03-03T04:22:13Z | http://arxiv.org/pdf/2403.01390v1 | http://arxiv.org/abs/2403.01390v1 | Armin Toroghi, Willis Guo, Mohammad Mahdi Abdollah Pour, Scott Sanner | 2024-03-03T04:22:13Z | cs.CL, I.2.7 | Knowledge Graph Question Answering (KGQA) methods seek to answer Natural
Language questions using the relational information stored in Knowledge Graphs
(KGs). With the recent advancements of Large Language Models (LLMs) and their
remarkable reasoning abilities, there is a growing trend to leverage them for
KGQA. However, existing methodologies have only focused on answering factual
questions, e.g., "In which city was Silvio Berlusconi's first wife born?",
leaving questions involving commonsense reasoning that real-world users may
pose more often, e.g., "Do I need separate visas to see the Venus of Willendorf
and attend the Olympics this summer?" unaddressed. In this work, we first
observe that existing LLM-based methods for KGQA struggle with hallucination on
such questions, especially on queries targeting long-tail entities (e.g.,
non-mainstream and recent entities), thus hindering their applicability in
real-world applications especially since their reasoning processes are not
easily verifiable. In response, we propose Right for Right Reasons (R3), a
commonsense KGQA methodology that allows for a verifiable reasoning procedure
by axiomatically surfacing intrinsic commonsense knowledge of LLMs and
grounding every factual reasoning step on KG triples. Through experimental
evaluations across three different tasks--question answering, claim
verification, and preference matching--our findings showcase R3 as a superior
approach, outperforming existing methodologies and notably reducing instances
of hallucination and reasoning errors. | cs.CL | Right for Right Reasons: Large Language Models for Verifiable Commonsense Knowledge Graph Question Answering |
2024-03-03T03:27:07Z | http://arxiv.org/pdf/2403.01384v2 | http://arxiv.org/abs/2403.01384v2 | Yu Mao, Weilan Wang, Hongchao Du, Nan Guan, Chun Jason Xue | 2024-05-06T02:29:14Z | cs.LG, cs.AI, cs.CL | Deploying Large Language Models (LLMs) on edge or mobile devices offers
significant benefits, such as enhanced data privacy and real-time processing
capabilities. However, it also faces critical challenges due to the substantial
memory requirement of LLMs. Quantization is an effective way of reducing the
model size while maintaining good performance. However, even after
quantization, LLMs may still be too big to fit entirely into the limited memory
of edge or mobile devices and have to be partially loaded from the storage to
complete the inference. In this case, the I/O latency of model loading becomes
the bottleneck of the LLM inference latency. In this work, we take a
preliminary step of studying applying data compression techniques to reduce
data movement and thus speed up the inference of quantized LLM on
memory-constrained devices. In particular, we discussed the compressibility of
quantized LLMs, the trade-off between the compressibility and performance of
quantized LLMs, and opportunities to optimize both of them jointly. | cs.LG | On the Compressibility of Quantized Large Language Models |
2024-03-03T03:06:31Z | http://arxiv.org/pdf/2403.01382v1 | http://arxiv.org/abs/2403.01382v1 | Rohan Kumar, Youngmin Kim, Sunitha Ravi, Haitian Sun, Christos Faloutsos, Ruslan Salakhutdinov, Minji Yoon | 2024-03-03T03:06:31Z | cs.CL | Pretrained Large Language Models (LLMs) have gained significant attention for
addressing open-domain Question Answering (QA). While they exhibit high
accuracy in answering questions related to common knowledge, LLMs encounter
difficulties in learning about uncommon long-tail knowledge (tail entities).
Since manually constructing QA datasets demands substantial human resources,
the types of existing QA datasets are limited, leaving us with a scarcity of
datasets to study the performance of LLMs on tail entities. In this paper, we
propose an automatic approach to generate specialized QA datasets for tail
entities and present the associated research challenges. We conduct extensive
experiments by employing pretrained LLMs on our newly generated long-tail QA
datasets, comparing their performance with and without external resources
including Wikipedia and Wikidata knowledge graphs. | cs.CL | Automatic Question-Answer Generation for Long-Tail Knowledge |
2024-03-03T03:01:14Z | http://arxiv.org/pdf/2403.14666v1 | http://arxiv.org/abs/2403.14666v1 | Nigel Fernandez, Alexander Scarlatos, Andrew Lan | 2024-03-03T03:01:14Z | cs.CY, cs.CL, cs.IR, cs.LG | Automated teaching assistants and chatbots have significant potential to
reduce the workload of human instructors, especially for logistics-related
question answering, which is important to students yet repetitive for
instructors. However, due to privacy concerns, there is a lack of publicly
available datasets. We introduce SyllabusQA, an open-source dataset with 63
real course syllabi covering 36 majors, containing 5,078 open-ended course
logistics-related question-answer pairs that are diverse in both question types
and answer formats. Since many logistics-related questions contain critical
information like the date of an exam, it is important to evaluate the
factuality of answers. We benchmark several strong baselines on this task, from
large language model prompting to retrieval-augmented generation. We find that
despite performing close to humans on traditional metrics of textual
similarity, there remains a significant gap between automated approaches and
humans in terms of fact precision. | cs.CY | SyllabusQA: A Course Logistics Question Answering Dataset |
2024-03-03T02:31:11Z | http://arxiv.org/pdf/2403.01373v4 | http://arxiv.org/abs/2403.01373v4 | Huixuan Zhang, Junzhe Zhang, Xiaojun Wan | 2024-05-06T13:39:12Z | cs.CL | Large-scale vision-language models have demonstrated impressive skill in
handling tasks that involve both areas. Nevertheless, these models frequently
experience significant issues with generating inaccurate information, which is
hallucination. In this study, we concentrate on a specific type of
hallucination-number hallucination, referring to models incorrectly identifying
the number of certain objects in pictures. We perform quantitative evaluations
regarding number hallucination, showing it to be critical in major open-source
large vision-language models. Furthermore, we utilizes two related tasks to
conduct an in-depth analysis of number hallucination, revealing the severe
inner and outer inconsistency among all tasks. Based on this examination, we
devise a training approach aimed at improving consistency to reduce number
hallucinations, which leads to an 8% enhancement in performance over direct
finetuning methods. Our code and dataset will be released to the community. | cs.CL | Quantity Matters: Towards Assessing and Mitigating Number Hallucination in Large Vision-Language Models |
2024-03-03T01:47:52Z | http://arxiv.org/pdf/2403.01364v1 | http://arxiv.org/abs/2403.01364v1 | Mieradilijiang Maimaiti, Yuanhang Zheng, Ji Zhang, Fei Huang, Yue Zhang, Wenpei Luo, Kaiyu Huang | 2024-03-03T01:47:52Z | cs.CL | Semantic Retrieval (SR) has become an indispensable part of the FAQ system in
the task-oriented question-answering (QA) dialogue scenario. The demands for a
cross-lingual smart-customer-service system for an e-commerce platform or some
particular business conditions have been increasing recently. Most previous
studies exploit cross-lingual pre-trained models (PTMs) for multi-lingual
knowledge retrieval directly, while some others also leverage the continual
pre-training before fine-tuning PTMs on the downstream tasks. However, no
matter which schema is used, the previous work ignores to inform PTMs of some
features of the downstream task, i.e. train their PTMs without providing any
signals related to SR. To this end, in this work, we propose an Alternative
Cross-lingual PTM for SR via code-switching. We are the first to utilize the
code-switching approach for cross-lingual SR. Besides, we introduce the novel
code-switched continual pre-training instead of directly using the PTMs on the
SR tasks. The experimental results show that our proposed approach consistently
outperforms the previous SOTA methods on SR and semantic textual similarity
(STS) tasks with three business corpora and four open datasets in 20+
languages. | cs.CL | Improving Cross-lingual Representation for Semantic Retrieval with Code-switching |
2024-03-02T23:32:33Z | http://arxiv.org/pdf/2403.01342v1 | http://arxiv.org/abs/2403.01342v1 | Tasnim Ahmed, Salimur Choudhury | 2024-03-02T23:32:33Z | cs.CL, cs.IR | In the rapidly evolving field of natural language processing, the translation
of linguistic descriptions into mathematical formulation of optimization
problems presents a formidable challenge, demanding intricate understanding and
processing capabilities from Large Language Models (LLMs). This study compares
prominent LLMs, including GPT-3.5, GPT-4, and Llama-2-7b, in zero-shot and
one-shot settings for this task. Our findings show GPT-4's superior
performance, particularly in the one-shot scenario. A central part of this
research is the introduction of `LM4OPT,' a progressive fine-tuning framework
for Llama-2-7b that utilizes noisy embeddings and specialized datasets.
However, this research highlights a notable gap in the contextual understanding
capabilities of smaller models such as Llama-2-7b compared to larger
counterparts, especially in processing lengthy and complex input contexts. Our
empirical investigation, utilizing the NL4Opt dataset, unveils that GPT-4
surpasses the baseline performance established by previous research, achieving
an F1-score of 0.63, solely based on the problem description in natural
language, and without relying on any additional named entity information.
GPT-3.5 follows closely, both outperforming the fine-tuned Llama-2-7b. These
findings not only benchmark the current capabilities of LLMs in a novel
application area but also lay the groundwork for future improvements in
mathematical formulation of optimization problems from natural language input. | cs.CL | LM4OPT: Unveiling the Potential of Large Language Models in Formulating Mathematical Optimization Problems |
2024-03-02T22:33:17Z | http://arxiv.org/pdf/2403.04785v1 | http://arxiv.org/abs/2403.04785v1 | Jun-En Ding, Phan Nguyen Minh Thao, Wen-Chih Peng, Jian-Zhe Wang, Chun-Cheng Chug, Min-Chen Hsieh, Yun-Chien Tseng, Ling Chen, Dongsheng Luo, Chi-Te Wang, Pei-fu Chen, Feng Liu, Fang-Ming Hung | 2024-03-02T22:33:17Z | cs.CL, cs.AI | Chronic diseases such as diabetes are the leading causes of morbidity and
mortality worldwide. Numerous research studies have been attempted with various
deep learning models in diagnosis. However, most previous studies had certain
limitations, including using publicly available datasets (e.g. MIMIC), and
imbalanced data. In this study, we collected five-year electronic health
records (EHRs) from the Taiwan hospital database, including 1,420,596 clinical
notes, 387,392 laboratory test results, and more than 1,505 laboratory test
items, focusing on research pre-training large language models. We proposed a
novel Large Language Multimodal Models (LLMMs) framework incorporating
multimodal data from clinical notes and laboratory test results for the
prediction of chronic disease risk. Our method combined a text embedding
encoder and multi-head attention layer to learn laboratory test values,
utilizing a deep neural network (DNN) module to merge blood features with
chronic disease semantics into a latent space. In our experiments, we observe
that clinicalBERT and PubMed-BERT, when combined with attention fusion, can
achieve an accuracy of 73% in multiclass chronic diseases and diabetes
prediction. By transforming laboratory test values into textual descriptions
and employing the Flan T-5 model, we achieved a 76% Area Under the ROC Curve
(AUROC), demonstrating the effectiveness of leveraging numerical text data for
training and inference in language models. This approach significantly improves
the accuracy of early-stage diabetes prediction. | cs.CL | Large Language Multimodal Models for 5-Year Chronic Disease Cohort Prediction Using EHR Data |
2024-03-02T20:46:56Z | http://arxiv.org/pdf/2403.01309v1 | http://arxiv.org/abs/2403.01309v1 | Meliksah Turker, Mehmet Erdi Ari, Aydin Han | 2024-03-02T20:46:56Z | cs.CL, cs.AI, cs.LG | In this work, we present VNLP: the first dedicated, complete, open-source,
well-documented, lightweight, production-ready, state-of-the-art Natural
Language Processing (NLP) package for the Turkish language. It contains a wide
variety of tools, ranging from the simplest tasks, such as sentence splitting
and text normalization, to the more advanced ones, such as text and token
classification models. Its token classification models are based on "Context
Model", a novel architecture that is both an encoder and an auto-regressive
model. NLP tasks solved by VNLP models include but are not limited to Sentiment
Analysis, Named Entity Recognition, Morphological Analysis \& Disambiguation
and Part-of-Speech Tagging. Moreover, it comes with pre-trained word embeddings
and corresponding SentencePiece Unigram tokenizers. VNLP has an open-source
GitHub repository, ReadtheDocs documentation, PyPi package for convenient
installation, Python and command-line API and a demo page to test all the
functionality. Consequently, our main contribution is a complete, compact,
easy-to-install and easy-to-use NLP package for Turkish. | cs.CL | VNLP: Turkish NLP Package |
2024-03-02T20:40:11Z | http://arxiv.org/pdf/2403.01308v2 | http://arxiv.org/abs/2403.01308v2 | Meliksah Turker, Mehmet Erdi Ari, Aydin Han | 2024-03-14T16:37:37Z | cs.CL, cs.AI, cs.LG | We present VBART, the first Turkish sequence-to-sequence Large Language
Models (LLMs) pre-trained on a large corpus from scratch. VBART are compact
LLMs based on good ideas leveraged from BART and mBART models and come in two
sizes, Large and XLarge. Fine-tuned VBART models surpass the prior
state-of-the-art results in abstractive text summarization, title generation,
text paraphrasing, question answering and question generation tasks. They allow
fine-tuning for future text generation tasks and datasets, carving a new path
for Turkish Natural Language Processing (NLP) research. Our work shows that
having a pre-trained LLM for Turkish outperforms up to 3x multilingual models,
improving existing results and providing efficient models for training and
inference. Moreover, we show that our monolingual tokenizer is up to 11x more
efficient than multilingual tokenizers. Last but not least, we introduce a
method to enlarge an existing pre-trained LLM and question the relevancy of
Chinchilla Scaling Law to sequence-to-sequence masked language models. Our
fine-tuned models, tokenizer and cleaned vngrs-web-corpus of 135 GB are
publicly available at huggingface.co/vngrs-ai. | cs.CL | VBART: The Turkish LLM |
2024-03-02T20:25:50Z | http://arxiv.org/pdf/2403.01304v1 | http://arxiv.org/abs/2403.01304v1 | Alexander Scarlatos, Digory Smith, Simon Woodhead, Andrew Lan | 2024-03-02T20:25:50Z | cs.CL | Automatically generating feedback via large language models (LLMs) in
intelligent tutoring systems and online learning platforms has the potential to
improve the learning outcomes of many students. However, both feedback
generation and evaluation are challenging: feedback content has to be valid
especially in subjects like math, which requires models to understand the
problem, the solution, and where the student's error lies. Feedback also has to
be pedagogically valid to reflect effective tutoring strategies, such as
explaining possible misconceptions and encouraging the student, among other
desirable features. In this work, we address both problems of automatically
generating and evaluating feedback while considering both correctness and
alignment. First, we propose a rubric for evaluating math feedback and show
that GPT-4 is able to effectively use it to annotate human-written and
LLM-generated feedback. Second, we propose a framework for feedback generation
that optimizes both correctness and alignment using reinforcement learning
(RL). Specifically, we use GPT-4's annotations to create preferences over
feedback pairs in an augmented dataset for training via direct preference
optimization (DPO). We show that our methods significantly increase the
correctness and alignment of generated feedback with Llama 2, an open-source
LLM, qualitatively analyze our generation and evaluation systems using case
studies, and outline several areas for future work. | cs.CL | Improving the Validity of Automatically Generated Feedback via Reinforcement Learning |
2024-03-02T19:01:40Z | http://arxiv.org/pdf/2403.01289v2 | http://arxiv.org/abs/2403.01289v2 | Omri Uzan, Craig W. Schmidt, Chris Tanner, Yuval Pinter | 2024-05-31T08:07:45Z | cs.CL | While subword tokenizers such as BPE and WordPiece are typically used to
build vocabularies for NLP models, the method of decoding text into a sequence
of tokens from these vocabularies is often left unspecified, or ill-suited to
the method in which they were constructed. We provide a controlled analysis of
seven tokenizer inference methods across four different algorithms and three
vocabulary sizes, performed on a novel intrinsic evaluation suite we curated
for English, combining measures rooted in morphology, cognition, and
information theory. We show that for the most commonly used tokenizers, greedy
inference performs surprisingly well; and that SaGe, a recently-introduced
contextually-informed tokenizer, outperforms all others on morphological
alignment. | cs.CL | Greed is All You Need: An Evaluation of Tokenizer Inference Methods |
2024-03-02T17:29:22Z | http://arxiv.org/pdf/2403.01273v1 | http://arxiv.org/abs/2403.01273v1 | Tianyi Zhang, Jonah Wonkyu Yi, Bowen Yao, Zhaozhuo Xu, Anshumali Shrivastava | 2024-03-02T17:29:22Z | cs.LG, cs.AI, cs.CL | Large language model inference on Central Processing Units (CPU) is
challenging due to the vast quantities of expensive Multiply-Add (MAD) matrix
operations in the attention computations. In this paper, we argue that there is
a rare gem in modern CPUs, Single-Instruction-Multiple-Data (SIMD) registers,
which allow for ultra-low-latency lookups in batch. We leverage this unique
capability of CPUs to propose NoMAD-Attention, an efficient attention algorithm
that replaces MAD operations with in-register lookups. Through hardware-aware
algorithmic designs, NoMAD-Attention achieves the computation of attention
scores using repeated fast accesses to SIMD registers despite their highly
limited sizes. Moreover, NoMAD-Attention works with pre-trained attention-based
LLMs without model finetuning. Empirical evaluations demonstrate that
NoMAD-Attention maintains the quality of the original LLMs well, and speeds up
the 4-bit quantized LLaMA-7B-based model by up to 2$\times$ at 16k context
length. Our results are reproducible at
https://github.com/tonyzhang617/nomad-dist. | cs.LG | NoMAD-Attention: Efficient LLM Inference on CPUs Through Multiply-add-free Attention |
2024-03-02T17:13:47Z | http://arxiv.org/pdf/2403.01270v1 | http://arxiv.org/abs/2403.01270v1 | Mohammad Dehghani | 2024-03-02T17:13:47Z | cs.CL | In today's digital world, social media plays a significant role in
facilitating communication and content sharing. However, the exponential rise
in user-generated content has led to challenges in maintaining a respectful
online environment. In some cases, users have taken advantage of anonymity in
order to use harmful language, which can negatively affect the user experience
and pose serious social problems. Recognizing the limitations of manual
moderation, automatic detection systems have been developed to tackle this
problem. Nevertheless, several obstacles persist, including the absence of a
universal definition for harmful language, inadequate datasets across
languages, the need for detailed annotation guideline, and most importantly, a
comprehensive framework. This study aims to address these challenges by
introducing, for the first time, a detailed framework adaptable to any
language. This framework encompasses various aspects of harmful language
detection. A key component of the framework is the development of a general and
detailed annotation guideline. Additionally, the integration of sentiment
analysis represents a novel approach to enhancing harmful language detection.
Also, a definition of harmful language based on the review of different related
concepts is presented. To demonstrate the effectiveness of the proposed
framework, its implementation in a challenging low-resource language is
conducted. We collected a Persian dataset and applied the annotation guideline
for harmful detection and sentiment analysis. Next, we present baseline
experiments utilizing machine and deep learning methods to set benchmarks.
Results prove the framework's high performance, achieving an accuracy of 99.4%
in offensive language detection and 66.2% in sentiment analysis. | cs.CL | A comprehensive cross-language framework for harmful content detection with the aid of sentiment analysis |
2024-03-02T17:10:44Z | http://arxiv.org/pdf/2403.01267v1 | http://arxiv.org/abs/2403.01267v1 | Nicholas Pochinkov, Nandi Schoots | 2024-03-02T17:10:44Z | cs.LG, cs.CL | Understanding and shaping the behaviour of Large Language Models (LLMs) is
increasingly important as applications become more powerful and more frequently
adopted. This paper introduces a machine unlearning method specifically
designed for LLMs. We introduce a selective pruning method for LLMs that
removes neurons based on their relative importance on a targeted capability
compared to overall network performance. This approach is a compute- and
data-efficient method for identifying and removing neurons that enable specific
behaviours. Our findings reveal that both feed-forward and attention neurons in
LLMs are specialized; that is, for specific tasks, certain neurons are more
crucial than others. | cs.LG | Dissecting Language Models: Machine Unlearning via Selective Pruning |
2024-03-02T16:52:22Z | http://arxiv.org/pdf/2403.04783v1 | http://arxiv.org/abs/2403.04783v1 | Yifan Zeng, Yiran Wu, Xiao Zhang, Huazheng Wang, Qingyun Wu | 2024-03-02T16:52:22Z | cs.LG, cs.CL, cs.CR | Despite extensive pre-training and fine-tuning in moral alignment to prevent
generating harmful information at user request, large language models (LLMs)
remain vulnerable to jailbreak attacks. In this paper, we propose AutoDefense,
a response-filtering based multi-agent defense framework that filters harmful
responses from LLMs. This framework assigns different roles to LLM agents and
employs them to complete the defense task collaboratively. The division in
tasks enhances the overall instruction-following of LLMs and enables the
integration of other defense components as tools. AutoDefense can adapt to
various sizes and kinds of open-source LLMs that serve as agents. Through
conducting extensive experiments on a large scale of harmful and safe prompts,
we validate the effectiveness of the proposed AutoDefense in improving the
robustness against jailbreak attacks, while maintaining the performance at
normal user request. Our code and data are publicly available at
https://github.com/XHMY/AutoDefense. | cs.LG | AutoDefense: Multi-Agent LLM Defense against Jailbreak Attacks |
2024-03-02T16:23:44Z | http://arxiv.org/pdf/2403.01251v2 | http://arxiv.org/abs/2403.01251v2 | Yiran Zhao, Wenyue Zheng, Tianle Cai, Xuan Long Do, Kenji Kawaguchi, Anirudh Goyal, Michael Shieh | 2024-05-27T07:02:28Z | cs.CL | Safety of Large Language Models (LLMs) has become a critical issue given
their rapid progresses. Greedy Coordinate Gradient (GCG) is shown to be
effective in constructing adversarial prompts to break the aligned LLMs, but
optimization of GCG is time-consuming. To reduce the time cost of GCG and
enable more comprehensive studies of LLM safety, in this work, we study a new
algorithm called $\texttt{Probe sampling}$. At the core of the algorithm is a
mechanism that dynamically determines how similar a smaller draft model's
predictions are to the target model's predictions for prompt candidates. When
the target model is similar to the draft model, we rely heavily on the draft
model to filter out a large number of potential prompt candidates. Probe
sampling achieves up to $5.6$ times speedup using Llama2-7b-chat and leads to
equal or improved attack success rate (ASR) on the AdvBench. Furthermore, probe
sampling is also able to accelerate other prompt optimization techniques and
adversarial methods, leading to acceleration of $1.8\times$ for AutoPrompt,
$2.4\times$ for APE and $2.4\times$ for AutoDAN. | cs.CL | Accelerating Greedy Coordinate Gradient via Probe Sampling |
2024-03-02T16:21:45Z | http://arxiv.org/pdf/2403.04782v1 | http://arxiv.org/abs/2403.04782v1 | Li Cai, Xin Mao, Yuhao Zhou, Zhaoguang Long, Changxu Wu, Man Lan | 2024-03-02T16:21:45Z | cs.CL, cs.AI | Knowledge graphs have garnered significant research attention and are widely
used to enhance downstream applications. However, most current studies mainly
focus on static knowledge graphs, whose facts do not change with time, and
disregard their dynamic evolution over time. As a result, temporal knowledge
graphs have attracted more attention because a large amount of structured
knowledge exists only within a specific period. Knowledge graph representation
learning aims to learn low-dimensional vector embeddings for entities and
relations in a knowledge graph. The representation learning of temporal
knowledge graphs incorporates time information into the standard knowledge
graph framework and can model the dynamics of entities and relations over time.
In this paper, we conduct a comprehensive survey of temporal knowledge graph
representation learning and its applications. We begin with an introduction to
the definitions, datasets, and evaluation metrics for temporal knowledge graph
representation learning. Next, we propose a taxonomy based on the core
technologies of temporal knowledge graph representation learning methods, and
provide an in-depth analysis of different methods in each category. Finally, we
present various downstream applications related to the temporal knowledge
graphs. In the end, we conclude the paper and have an outlook on the future
research directions in this area. | cs.CL | A Survey on Temporal Knowledge Graph: Representation Learning and Applications |
2024-03-02T16:16:26Z | http://arxiv.org/pdf/2403.01248v1 | http://arxiv.org/abs/2403.01248v1 | Ziniu Hu, Ahmet Iscen, Aashi Jain, Thomas Kipf, Yisong Yue, David A. Ross, Cordelia Schmid, Alireza Fathi | 2024-03-02T16:16:26Z | cs.CV, cs.AI, cs.CL, cs.LG | This paper introduces SceneCraft, a Large Language Model (LLM) Agent
converting text descriptions into Blender-executable Python scripts which
render complex scenes with up to a hundred 3D assets. This process requires
complex spatial planning and arrangement. We tackle these challenges through a
combination of advanced abstraction, strategic planning, and library learning.
SceneCraft first models a scene graph as a blueprint, detailing the spatial
relationships among assets in the scene. SceneCraft then writes Python scripts
based on this graph, translating relationships into numerical constraints for
asset layout. Next, SceneCraft leverages the perceptual strengths of
vision-language foundation models like GPT-V to analyze rendered images and
iteratively refine the scene. On top of this process, SceneCraft features a
library learning mechanism that compiles common script functions into a
reusable library, facilitating continuous self-improvement without expensive
LLM parameter tuning. Our evaluation demonstrates that SceneCraft surpasses
existing LLM-based agents in rendering complex scenes, as shown by its
adherence to constraints and favorable human assessments. We also showcase the
broader application potential of SceneCraft by reconstructing detailed 3D
scenes from the Sintel movie and guiding a video generative model with
generated scenes as intermediary control signal. | cs.CV | SceneCraft: An LLM Agent for Synthesizing 3D Scene as Blender Code |
2024-03-02T16:11:23Z | http://arxiv.org/pdf/2403.01244v2 | http://arxiv.org/abs/2403.01244v2 | Jianheng Huang, Leyang Cui, Ante Wang, Chengyi Yang, Xinting Liao, Linfeng Song, Junfeng Yao, Jinsong Su | 2024-05-25T12:17:29Z | cs.CL, cs.AI | Large language models (LLMs) suffer from catastrophic forgetting during
continual learning. Conventional rehearsal-based methods rely on previous
training data to retain the model's ability, which may not be feasible in
real-world applications. When conducting continual learning based on a
publicly-released LLM checkpoint, the availability of the original training
data may be non-existent. To address this challenge, we propose a framework
called Self-Synthesized Rehearsal (SSR) that uses the LLM to generate synthetic
instances for rehearsal. Concretely, we first employ the base LLM for
in-context learning to generate synthetic instances. Subsequently, we utilize
the latest LLM to refine the instance outputs based on the synthetic inputs,
preserving its acquired ability. Finally, we select diverse high-quality
synthetic instances for rehearsal in future stages. Experimental results
demonstrate that SSR achieves superior or comparable performance compared to
conventional rehearsal-based approaches while being more data-efficient.
Besides, SSR effectively preserves the generalization capabilities of LLMs in
general domains. | cs.CL | Mitigating Catastrophic Forgetting in Large Language Models with Self-Synthesized Rehearsal |
2024-03-02T16:06:03Z | http://arxiv.org/pdf/2403.01242v1 | http://arxiv.org/abs/2403.01242v1 | Lochan Basyal, Bijay Gaudel | 2024-03-02T16:06:03Z | cs.LG, cs.AI, cs.CL, cs.HC | Electric automation systems offer convenience and efficiency in controlling
electrical circuits and devices. Traditionally, these systems rely on
predefined commands for control, limiting flexibility and adaptability. In this
paper, we propose a novel approach to augment automation by introducing
intent-based user instruction classification using machine learning techniques.
Our system represents user instructions as intents, allowing for dynamic
control of electrical circuits without relying on predefined commands. Through
a machine learning model trained on a labeled dataset of user instructions, our
system classifies intents from user input, enabling a more intuitive and
adaptable control scheme. We present the design and implementation of our
intent-based electric automation system, detailing the development of the
machine learning model for intent classification. Experimental results
demonstrate the effectiveness of our approach in enhancing user experience and
expanding the capabilities of electric automation systems. Our work contributes
to the advancement of smart technologies by providing a more seamless
interaction between users and their environments. | cs.LG | Augmenting Automation: Intent-Based User Instruction Classification with Machine Learning |
2024-03-02T16:05:26Z | http://arxiv.org/pdf/2403.01241v2 | http://arxiv.org/abs/2403.01241v2 | Ruikang Liu, Haoli Bai, Haokun Lin, Yuening Li, Han Gao, Zhengzhuo Xu, Lu Hou, Jun Yao, Chun Yuan | 2024-05-25T10:33:03Z | cs.CL, cs.AI | Large language models (LLMs) excel in natural language processing but demand
intensive computation. To mitigate this, various quantization methods have been
explored, yet they compromise LLM performance. This paper unveils a previously
overlooked type of outliers in LLMs. Such outliers are found to allocate most
of the attention scores on initial tokens of input, termed as pivot tokens,
which are crucial to the performance of quantized LLMs. Given that, we propose
IntactKV to generate the KV cache of pivot tokens losslessly from the
full-precision model. The approach is simple and easy to combine with existing
quantization solutions with no extra inference overhead. Besides, IntactKV can
be calibrated as additional LLM parameters to boost the quantized LLMs further
with minimal training costs. Mathematical analysis also proves that IntactKV
effectively reduces the upper bound of quantization error. Empirical results
show that IntactKV brings consistent improvement over various quantization
methods across different LLMs and downstream tasks, leading to the new
state-of-the-art for LLM quantization. The codes are available at
https://github.com/ruikangliu/IntactKV. | cs.CL | IntactKV: Improving Large Language Model Quantization by Keeping Pivot Tokens Intact |
2024-03-02T14:38:03Z | http://arxiv.org/pdf/2403.01222v2 | http://arxiv.org/abs/2403.01222v2 | Flor Miriam Plaza-del-Arco, Alba Curry, Amanda Cercas Curry, Dirk Hovy | 2024-03-18T10:51:14Z | cs.CL | Emotions are a central aspect of communication. Consequently, emotion
analysis (EA) is a rapidly growing field in natural language processing (NLP).
However, there is no consensus on scope, direction, or methods. In this paper,
we conduct a thorough review of 154 relevant NLP publications from the last
decade. Based on this review, we address four different questions: (1) How are
EA tasks defined in NLP? (2) What are the most prominent emotion frameworks and
which emotions are modeled? (3) Is the subjectivity of emotions considered in
terms of demographics and cultural factors? and (4) What are the primary NLP
applications for EA? We take stock of trends in EA and tasks, emotion
frameworks used, existing datasets, methods, and applications. We then discuss
four lacunae: (1) the absence of demographic and cultural aspects does not
account for the variation in how emotions are perceived, but instead assumes
they are universally experienced in the same manner; (2) the poor fit of
emotion categories from the two main emotion theories to the task; (3) the lack
of standardized EA terminology hinders gap identification, comparison, and
future goals; and (4) the absence of interdisciplinary research isolates EA
from insights in other fields. Our work will enable more focused research into
EA and a more holistic approach to modeling emotions in NLP. | cs.CL | Emotion Analysis in NLP: Trends, Gaps and Roadmap for Future Directions |
2024-03-02T14:14:45Z | http://arxiv.org/pdf/2403.01216v2 | http://arxiv.org/abs/2403.01216v2 | Jiayuan Su, Jing Luo, Hongwei Wang, Lu Cheng | 2024-04-04T02:15:39Z | cs.CL, cs.AI, cs.LG | This study aims to address the pervasive challenge of quantifying uncertainty
in large language models (LLMs) without logit-access. Conformal Prediction
(CP), known for its model-agnostic and distribution-free features, is a desired
approach for various LLMs and data distributions. However, existing CP methods
for LLMs typically assume access to the logits, which are unavailable for some
API-only LLMs. In addition, logits are known to be miscalibrated, potentially
leading to degraded CP performance. To tackle these challenges, we introduce a
novel CP method that (1) is tailored for API-only LLMs without logit-access;
(2) minimizes the size of prediction sets; and (3) ensures a statistical
guarantee of the user-defined coverage. The core idea of this approach is to
formulate nonconformity measures using both coarse-grained (i.e., sample
frequency) and fine-grained uncertainty notions (e.g., semantic similarity).
Experimental results on both close-ended and open-ended Question Answering
tasks show our approach can mostly outperform the logit-based CP baselines. | cs.CL | API Is Enough: Conformal Prediction for Large Language Models Without Logit-Access |
2024-03-02T12:44:59Z | http://arxiv.org/pdf/2403.01203v1 | http://arxiv.org/abs/2403.01203v1 | Luyao Wang, Pengnian Qi, Xigang Bao, Chunlai Zhou, Biao Qin | 2024-03-02T12:44:59Z | cs.LG, cs.CL, cs.DB | Multi-modal entity alignment (MMEA) aims to identify equivalent entities
between two multi-modal knowledge graphs for integration. Unfortunately, prior
arts have attempted to improve the interaction and fusion of multi-modal
information, which have overlooked the influence of modal-specific noise and
the usage of labeled and unlabeled data in semi-supervised settings. In this
work, we introduce a Pseudo-label Calibration Multi-modal Entity Alignment
(PCMEA) in a semi-supervised way. Specifically, in order to generate holistic
entity representations, we first devise various embedding modules and attention
mechanisms to extract visual, structural, relational, and attribute features.
Different from the prior direct fusion methods, we next propose to exploit
mutual information maximization to filter the modal-specific noise and to
augment modal-invariant commonality. Then, we combine pseudo-label calibration
with momentum-based contrastive learning to make full use of the labeled and
unlabeled data, which improves the quality of pseudo-label and pulls aligned
entities closer. Finally, extensive experiments on two MMEA datasets
demonstrate the effectiveness of our PCMEA, which yields state-of-the-art
performance. | cs.LG | Pseudo-Label Calibration Semi-supervised Multi-Modal Entity Alignment |
2024-03-02T12:31:22Z | http://arxiv.org/pdf/2403.01197v2 | http://arxiv.org/abs/2403.01197v2 | Shanghaoran Quan | 2024-04-28T03:24:41Z | cs.CL | The performance of the reward model (RM) is a critical factor in improving
the effectiveness of the large language model (LLM) during alignment
fine-tuning. There remain two challenges in RM training: 1) training the same
RM using various categories of data may cause its generalization performance to
suffer from multi-task disturbance, and 2) the human annotation consistency
rate is generally only $60\%$ to $75\%$, causing training data to contain a lot
of noise. To tackle these two challenges, we introduced the idea of
Mixture-of-Experts (MoE) into the field of RM for the first time. We propose
the Double-Layer MoE RM (DMoERM). The outer layer MoE is a sparse model. After
classifying an input into task categories, we route it to the corresponding
inner layer task-specific model. The inner layer MoE is a dense model. We
decompose the specific task into multiple capability dimensions and
individually fine-tune a LoRA expert on each one. Their outputs are then
synthesized by an MLP to compute the final rewards. To minimize costs, we call
a public LLM API to obtain the capability preference labels. The validation on
manually labeled datasets confirms that our model attains superior consistency
with human preference and outstrips advanced generative approaches. Meanwhile,
through BoN sampling and RL experiments, we demonstrate that our model
outperforms state-of-the-art ensemble methods of RM and mitigates the
overoptimization problem. Our code and dataset are available at:
https://github.com/quanshr/DMoERM-v1. | cs.CL | DMoERM: Recipes of Mixture-of-Experts for Effective Reward Modeling |
2024-03-02T12:29:28Z | http://arxiv.org/pdf/2403.01196v1 | http://arxiv.org/abs/2403.01196v1 | Séamus Lankford, Haithem Afli, Andy Way | 2024-03-02T12:29:28Z | cs.CL, cs.AI | Translation models for the specific domain of translating Covid data from
English to Irish were developed for the LoResMT 2021 shared task. Domain
adaptation techniques, using a Covid-adapted generic 55k corpus from the
Directorate General of Translation, were applied. Fine-tuning, mixed
fine-tuning and combined dataset approaches were compared with models trained
on an extended in-domain dataset. As part of this study, an English-Irish
dataset of Covid related data, from the Health and Education domains, was
developed. The highest-performing model used a Transformer architecture trained
with an extended in-domain Covid dataset. In the context of this study, we have
demonstrated that extending an 8k in-domain baseline dataset by just 5k lines
improved the BLEU score by 27 points. | cs.CL | Machine Translation in the Covid domain: an English-Irish case study for LoResMT 2021 |
2024-03-02T12:19:04Z | http://arxiv.org/pdf/2403.01193v3 | http://arxiv.org/abs/2403.01193v3 | Philip Feldman, James R. Foulds, Shimei Pan | 2024-06-12T12:00:52Z | cs.CL, cs.AI, H.3.3; I.2.7 | Large language models (LLMs) like ChatGPT demonstrate the remarkable progress
of artificial intelligence. However, their tendency to hallucinate -- generate
plausible but false information -- poses a significant challenge. This issue is
critical, as seen in recent court cases where ChatGPT's use led to citations of
non-existent legal rulings. This paper explores how Retrieval-Augmented
Generation (RAG) can counter hallucinations by integrating external knowledge
with prompts. We empirically evaluate RAG against standard LLMs using prompts
designed to induce hallucinations. Our results show that RAG increases accuracy
in some cases, but can still be misled when prompts directly contradict the
model's pre-trained understanding. These findings highlight the complex nature
of hallucinations and the need for more robust solutions to ensure LLM
reliability in real-world applications. We offer practical recommendations for
RAG deployment and discuss implications for the development of more trustworthy
LLMs. | cs.CL | RAGged Edges: The Double-Edged Sword of Retrieval-Augmented Chatbots |
2024-03-02T11:58:24Z | http://arxiv.org/pdf/2403.01187v1 | http://arxiv.org/abs/2403.01187v1 | Laurestine Bradford, Timothy John O'Donnell, Siva Reddy | 2024-03-02T11:58:24Z | cs.CL | Languages may encode similar meanings using different sentence structures.
This makes it a challenge to provide a single set of formal rules that can
derive meanings from sentences in many languages at once. To overcome the
challenge, we can take advantage of language-general connections between
meaning and syntax, and build on cross-linguistically parallel syntactic
structures. We introduce UD Type Calculus, a compositional, principled, and
language-independent system of semantic types and logical forms for lexical
items which builds on a widely-used language-general dependency syntax
framework. We explain the essential features of UD Type Calculus, which all
involve giving dependency relations denotations just like those of words. These
allow UD-TC to derive correct meanings for sentences with a wide range of
syntactic structures by making use of dependency labels. Finally, we present
evaluation results on a large existing corpus of sentences and their logical
forms, showing that UD-TC can produce meanings comparable with our baseline. | cs.CL | A Compositional Typed Semantics for Universal Dependencies |
2024-03-02T11:54:55Z | http://arxiv.org/pdf/2403.01185v1 | http://arxiv.org/abs/2403.01185v1 | Ha-Thanh Nguyen, Ken Satoh | 2024-03-02T11:54:55Z | cs.CL, cs.AI | Finetuning approaches in NLP often focus on exploitation rather than
exploration, which may lead to suboptimal models. Given the vast search space
of natural language, this limited exploration can restrict their performance in
complex, high-stakes domains, where accurate negation understanding and logical
reasoning abilities are crucial. To address this issue, we leverage
Reinforcement Learning from Logical Feedback (RLLF) to create an effective
balance between exploration and exploitation in LLMs. Our approach employs an
appropriate benchmark dataset for training and evaluation, highlighting the
importance of exploration in enhancing negation understanding capabilities. We
compare the performance of our RLLF-enhanced LLMs with baseline models trained
without RLLF, demonstrating the value of this balanced approach. Furthermore,
we showcase the potential of our method in legal AI applications by employing
transfer learning and evaluating its impact on negation understanding. Our
experimental results exhibit the effectiveness of balancing exploration and
exploitation with RLLF in improving LLMs' negation capabilities. This has
implications for the development of more accurate, reliable, and logically
consistent language models in high-stakes domains. | cs.CL | Balancing Exploration and Exploitation in LLM using Soft RLLF for Enhanced Negation Understanding |
2024-03-02T10:38:31Z | http://arxiv.org/pdf/2403.01166v2 | http://arxiv.org/abs/2403.01166v2 | Jialong Wu, Linhai Zhang, Deyu Zhou, Guoqiang Xu | 2024-06-06T07:27:33Z | cs.CL, cs.AI | Though notable progress has been made, neural-based aspect-based sentiment
analysis (ABSA) models are prone to learn spurious correlations from annotation
biases, resulting in poor robustness on adversarial data transformations. Among
the debiasing solutions, causal inference-based methods have attracted much
research attention, which can be mainly categorized into causal intervention
methods and counterfactual reasoning methods. However, most of the present
debiasing methods focus on single-variable causal inference, which is not
suitable for ABSA with two input variables (the target aspect and the review).
In this paper, we propose a novel framework based on multi-variable causal
inference for debiasing ABSA. In this framework, different types of biases are
tackled based on different causal intervention methods. For the review branch,
the bias is modeled as indirect confounding from context, where backdoor
adjustment intervention is employed for debiasing. For the aspect branch, the
bias is described as a direct correlation with labels, where counterfactual
reasoning is adopted for debiasing. Extensive experiments demonstrate the
effectiveness of the proposed method compared to various baselines on the two
widely used real-world aspect robustness test set datasets. | cs.CL | DINER: Debiasing Aspect-based Sentiment Analysis with Multi-variable Causal Inference |
2024-03-02T10:38:10Z | http://arxiv.org/pdf/2403.01165v2 | http://arxiv.org/abs/2403.01165v2 | Linhai Zhang, Jialong Wu, Deyu Zhou, Guoqiang Xu | 2024-06-06T07:31:39Z | cs.CL, cs.AI | Though Large Language Models (LLMs) have demonstrated the powerful
capabilities of few-shot learning through prompting methods, supervised
training is still necessary for complex reasoning tasks. Because of their
extensive parameters and memory consumption, both Parameter-Efficient
Fine-Tuning (PEFT) methods and Memory-Efficient Fine-Tuning methods have been
proposed for LLMs. Nevertheless, the issue of large annotated data consumption,
the aim of Data-Efficient Fine-Tuning, remains unexplored. One obvious way is
to combine the PEFT method with active learning. However, the experimental
results show that such a combination is not trivial and yields inferior
results. Through probe experiments, such observation might be explained by two
main reasons: uncertainty gap and poor model calibration. Therefore, in this
paper, we propose a novel approach to effectively integrate uncertainty-based
active learning and LoRA. Specifically, for the uncertainty gap, we introduce a
dynamic uncertainty measurement that combines the uncertainty of the base model
and the uncertainty of the full model during the iteration of active learning.
For poor model calibration, we incorporate the regularization method during
LoRA training to keep the model from being over-confident, and the Monte-Carlo
dropout mechanism is employed to enhance the uncertainty estimation.
Experimental results show that the proposed approach outperforms existing
baseline models on three complex reasoning tasks. | cs.CL | STAR: Constraint LoRA with Dynamic Active Learning for Data-Efficient Fine-Tuning of Large Language Models |
2024-03-02T10:34:11Z | http://arxiv.org/pdf/2403.01163v1 | http://arxiv.org/abs/2403.01163v1 | Weihao Zeng, Keqing He, Yejie Wang, Dayuan Fu, Weiran Xu | 2024-03-02T10:34:11Z | cs.CL | Pre-trained language models have been successful in many scenarios. However,
their usefulness in task-oriented dialogues is limited due to the intrinsic
linguistic differences between general text and task-oriented dialogues.
Current task-oriented dialogue pre-training methods rely on a contrastive
framework, which faces challenges such as selecting true positives and hard
negatives, as well as lacking diversity. In this paper, we propose a novel
dialogue pre-training model called BootTOD. It learns task-oriented dialogue
representations via a self-bootstrapping framework. Unlike contrastive
counterparts, BootTOD aligns context and context+response representations and
dismisses the requirements of contrastive pairs. BootTOD also uses multiple
appropriate response targets to model the intrinsic one-to-many diversity of
human conversations. Experimental results show that BootTOD outperforms strong
TOD baselines on diverse downstream dialogue tasks. | cs.CL | BootTOD: Bootstrap Task-oriented Dialogue Representations by Aligning Diverse Responses |
2024-03-02T09:39:13Z | http://arxiv.org/pdf/2403.01152v1 | http://arxiv.org/abs/2403.01152v1 | Tharindu Kumarage, Garima Agrawal, Paras Sheth, Raha Moraffah, Aman Chadha, Joshua Garland, Huan Liu | 2024-03-02T09:39:13Z | cs.CL, cs.AI | We have witnessed lately a rapid proliferation of advanced Large Language
Models (LLMs) capable of generating high-quality text. While these LLMs have
revolutionized text generation across various domains, they also pose
significant risks to the information ecosystem, such as the potential for
generating convincing propaganda, misinformation, and disinformation at scale.
This paper offers a review of AI-generated text forensic systems, an emerging
field addressing the challenges of LLM misuses. We present an overview of the
existing efforts in AI-generated text forensics by introducing a detailed
taxonomy, focusing on three primary pillars: detection, attribution, and
characterization. These pillars enable a practical understanding of
AI-generated text, from identifying AI-generated content (detection),
determining the specific AI model involved (attribution), and grouping the
underlying intents of the text (characterization). Furthermore, we explore
available resources for AI-generated text forensics research and discuss the
evolving challenges and future directions of forensic systems in an AI era. | cs.CL | A Survey of AI-generated Text Forensic Systems: Detection, Attribution, and Characterization |
2024-03-02T09:27:32Z | http://arxiv.org/pdf/2403.04780v2 | http://arxiv.org/abs/2403.04780v2 | Yanchao Tan, Hang Lv, Xinyi Huang, Jiawei Zhang, Shiping Wang, Carl Yang | 2024-03-13T15:52:33Z | cs.CL, cs.AI | Graphs with abundant attributes are essential in modeling interconnected
entities and improving predictions in various real-world applications.
Traditional Graph Neural Networks (GNNs), which are commonly used for modeling
attributed graphs, need to be re-trained every time when applied to different
graph tasks and datasets. Although the emergence of Large Language Models
(LLMs) has introduced a new paradigm in natural language processing, the
generative potential of LLMs in graph mining remains largely under-explored. To
this end, we propose a novel framework MuseGraph, which seamlessly integrates
the strengths of GNNs and LLMs and facilitates a more effective and generic
approach for graph mining across different tasks and datasets. Specifically, we
first introduce a compact graph description via the proposed adaptive input
generation to encapsulate key information from the graph under the constraints
of language token limitations. Then, we propose a diverse instruction
generation mechanism, which distills the reasoning capabilities from LLMs
(e.g., GPT-4) to create task-specific Chain-of-Thought-based instruction
packages for different graph tasks. Finally, we propose a graph-aware
instruction tuning with a dynamic instruction package allocation strategy
across tasks and datasets, ensuring the effectiveness and generalization of the
training process. Our experimental results demonstrate significant improvements
in different graph tasks, showcasing the potential of our MuseGraph in
enhancing the accuracy of graph-oriented downstream tasks while keeping the
generation powers of LLMs. | cs.CL | MuseGraph: Graph-oriented Instruction Tuning of Large Language Models for Generic Graph Mining |
2024-03-02T08:53:40Z | http://arxiv.org/pdf/2403.01139v4 | http://arxiv.org/abs/2403.01139v4 | Oren Sultan, Yonatan Bitton, Ron Yosef, Dafna Shahaf | 2024-05-14T16:41:24Z | cs.CL, cs.AI | Analogy-making is central to human cognition, allowing us to adapt to novel
situations -- an ability that current AI systems still lack. Most analogy
datasets today focus on simple analogies (e.g., word analogies); datasets
including complex types of analogies are typically manually curated and very
small. We believe that this holds back progress in computational analogy. In
this work, we design a data generation pipeline, ParallelPARC (Parallel
Paragraph Creator) leveraging state-of-the-art Large Language Models (LLMs) to
create complex, paragraph-based analogies, as well as distractors, both simple
and challenging. We demonstrate our pipeline and create ProPara-Logy, a dataset
of analogies between scientific processes. We publish a gold-set, validated by
humans, and a silver-set, generated automatically. We test LLMs' and humans'
analogy recognition in binary and multiple-choice settings, and found that
humans outperform the best models (~13% gap) after a light supervision. We
demonstrate that our silver-set is useful for training models. Lastly, we show
challenging distractors confuse LLMs, but not humans. We hope our pipeline will
encourage research in this emerging field. | cs.CL | ParallelPARC: A Scalable Pipeline for Generating Natural-Language Analogies |
2024-03-02T08:21:59Z | http://arxiv.org/pdf/2403.01131v2 | http://arxiv.org/abs/2403.01131v2 | Zeyuan Ma, Hongshu Guo, Jiacheng Chen, Guojun Peng, Zhiguang Cao, Yining Ma, Yue-Jiao Gong | 2024-03-05T11:11:41Z | math.OC, cs.AI, cs.CL, cs.LG, cs.NE, cs.SE | Recent research explores optimization using large language models (LLMs) by
either iteratively seeking next-step solutions from LLMs or directly prompting
LLMs for an optimizer. However, these approaches exhibit inherent limitations,
including low operational efficiency, high sensitivity to prompt design, and a
lack of domain-specific knowledge. We introduce LLaMoCo, the first
instruction-tuning framework designed to adapt LLMs for solving optimization
problems in a code-to-code manner. Specifically, we establish a comprehensive
instruction set containing well-described problem prompts and effective
optimization codes. We then develop a novel two-phase learning strategy that
incorporates a contrastive learning-based warm-up procedure before the
instruction-tuning phase to enhance the convergence behavior during model
fine-tuning. The experiment results demonstrate that a CodeGen (350M) model
fine-tuned by our LLaMoCo achieves superior optimization performance compared
to GPT-4 Turbo and the other competitors across both synthetic and realistic
problem sets. The fine-tuned model and the usage instructions are available at
https://anonymous.4open.science/r/LLaMoCo-722A. | math.OC | LLaMoCo: Instruction Tuning of Large Language Models for Optimization Code Generation |
2024-03-02T07:49:57Z | http://arxiv.org/pdf/2403.01116v1 | http://arxiv.org/abs/2403.01116v1 | Yunhao Zhang, Xiaohan Zhang, Chong Li, Shaonan Wang, Chengqing Zong | 2024-03-02T07:49:57Z | cs.CL | Pre-trained computational language models have recently made remarkable
progress in harnessing the language abilities which were considered unique to
humans. Their success has raised interest in whether these models represent and
process language like humans. To answer this question, this paper proposes
MulCogBench, a multi-modal cognitive benchmark dataset collected from native
Chinese and English participants. It encompasses a variety of cognitive data,
including subjective semantic ratings, eye-tracking, functional magnetic
resonance imaging (fMRI), and magnetoencephalography (MEG). To assess the
relationship between language models and cognitive data, we conducted a
similarity-encoding analysis which decodes cognitive data based on its pattern
similarity with textual embeddings. Results show that language models share
significant similarities with human cognitive data and the similarity patterns
are modulated by the data modality and stimuli complexity. Specifically,
context-aware models outperform context-independent models as language stimulus
complexity increases. The shallow layers of context-aware models are better
aligned with the high-temporal-resolution MEG signals whereas the deeper layers
show more similarity with the high-spatial-resolution fMRI. These results
indicate that language models have a delicate relationship with brain language
representations. Moreover, the results between Chinese and English are highly
consistent, suggesting the generalizability of these findings across languages. | cs.CL | MulCogBench: A Multi-modal Cognitive Benchmark Dataset for Evaluating Chinese and English Computational Language Models |
2024-03-02T06:38:15Z | http://arxiv.org/pdf/2403.01106v2 | http://arxiv.org/abs/2403.01106v2 | Chiyu Zhang, Honglong Cai, Yuezhang, Li, Yuexin Wu, Le Hou, Muhammad Abdul-Mageed | 2024-05-04T17:23:21Z | cs.CL, cs.AI | Text Style Transfer (TST) seeks to alter the style of text while retaining
its core content. Given the constraints of limited parallel datasets for TST,
we propose CoTeX, a framework that leverages large language models (LLMs)
alongside chain-of-thought (CoT) prompting to facilitate TST. CoTeX distills
the complex rewriting and reasoning capabilities of LLMs into more streamlined
models capable of working with both non-parallel and parallel data. Through
experimentation across four TST datasets, CoTeX is shown to surpass traditional
supervised fine-tuning and knowledge distillation methods, particularly in
low-resource settings. We conduct a comprehensive evaluation, comparing CoTeX
against current unsupervised, supervised, in-context learning (ICL) techniques,
and instruction-tuned LLMs. Furthermore, CoTeX distinguishes itself by offering
transparent explanations for its style transfer process. | cs.CL | Distilling Text Style Transfer With Self-Explanation From LLMs |
2024-03-02T03:48:37Z | http://arxiv.org/pdf/2403.01081v3 | http://arxiv.org/abs/2403.01081v3 | Shivchander Sudalairaj, Abhishek Bhandwaldar, Aldo Pareja, Kai Xu, David D. Cox, Akash Srivastava | 2024-04-29T18:55:34Z | cs.CL, cs.LG | This work introduces LAB (Large-scale Alignment for chatBots), a novel
methodology designed to overcome the scalability challenges in the
instruction-tuning phase of large language model (LLM) training. Leveraging a
taxonomy-guided synthetic data generation process and a multi-phase tuning
framework, LAB significantly reduces reliance on expensive human annotations
and proprietary models like GPT-4. We demonstrate that LAB-trained models can
achieve competitive performance across several benchmarks compared to models
trained with traditional human-annotated or GPT-4 generated synthetic data.
Thus offering a scalable, cost-effective solution for enhancing LLM
capabilities and instruction-following behaviors without the drawbacks of
catastrophic forgetting, marking a step forward in the efficient training of
LLMs for a wide range of applications. | cs.CL | LAB: Large-Scale Alignment for ChatBots |
2024-03-02T02:25:55Z | http://arxiv.org/pdf/2403.01069v2 | http://arxiv.org/abs/2403.01069v2 | Weizhe Yuan, Pengfei Liu, Matthias Gallé | 2024-06-04T15:30:20Z | cs.CL | Humans follow criteria when they execute tasks, and these criteria are
directly used to assess the quality of task completion. Therefore, having
models learn to use criteria to provide feedback can help humans or models to
perform tasks better. However, existing research in this field tends to
consider only a limited set of criteria or quality assessment aspects. To fill
this gap, we propose a general framework that enables large language models
(LLMs) to use comprehensive criteria for a task in delivering natural language
feedback on task execution. In particular, we present a model-in-the-loop
framework that semi-automatically derives criteria from collected guidelines
for different writing tasks and constructs in-context demonstrations for each
criterion. We choose three tasks from real-world scenarios to operationalize
this idea: paper introduction writing, Python code writing, and Reddit post
writing, and evaluate our feedback generation framework using different LLMs.
The results reveal the fine-grained effects of incorporating criteria and
demonstrations and provide valuable insights on how to teach LLMs to use
criteria more effectively. | cs.CL | LLMCRIT: Teaching Large Language Models to Use Criteria |
2024-03-02T02:00:51Z | http://arxiv.org/pdf/2403.01063v1 | http://arxiv.org/abs/2403.01063v1 | Songhua Yang, Xinke Jiang, Hanjie Zhao, Wenxuan Zeng, Hongde Liu, Yuxiang Jia | 2024-03-02T02:00:51Z | cs.CL | Multi-domain aspect-based sentiment analysis (ABSA) seeks to capture
fine-grained sentiment across diverse domains. While existing research narrowly
focuses on single-domain applications constrained by methodological limitations
and data scarcity, the reality is that sentiment naturally traverses multiple
domains. Although large language models (LLMs) offer a promising solution for
ABSA, it is difficult to integrate effectively with established techniques,
including graph-based models and linguistics, because modifying their internal
architecture is not easy. To alleviate this problem, we propose a novel
framework, Feature-aware In-context Learning for Multi-domain ABSA (FaiMA). The
core insight of FaiMA is to utilize in-context learning (ICL) as a
feature-aware mechanism that facilitates adaptive learning in multi-domain ABSA
tasks. Specifically, we employ a multi-head graph attention network as a text
encoder optimized by heuristic rules for linguistic, domain, and sentiment
features. Through contrastive learning, we optimize sentence representations by
focusing on these diverse features. Additionally, we construct an efficient
indexing mechanism, allowing FaiMA to stably retrieve highly relevant examples
across multiple dimensions for any given input. To evaluate the efficacy of
FaiMA, we build the first multi-domain ABSA benchmark dataset. Extensive
experimental results demonstrate that FaiMA achieves significant performance
improvements in multiple domains compared to baselines, increasing F1 by 2.07%
on average. Source code and data sets are anonymously available at
https://github.com/SupritYoung/FaiMA. | cs.CL | FaiMA: Feature-aware In-context Learning for Multi-domain Aspect-based Sentiment Analysis |
2024-03-02T01:52:14Z | http://arxiv.org/pdf/2403.01061v1 | http://arxiv.org/abs/2403.01061v1 | Melanie Subbiah, Sean Zhang, Lydia B. Chilton, Kathleen McKeown | 2024-03-02T01:52:14Z | cs.CL | We evaluate recent Large language Models (LLMs) on the challenging task of
summarizing short stories, which can be lengthy, and include nuanced subtext or
scrambled timelines. Importantly, we work directly with authors to ensure that
the stories have not been shared online (and therefore are unseen by the
models), and to obtain informed evaluations of summary quality using judgments
from the authors themselves. Through quantitative and qualitative analysis
grounded in narrative theory, we compare GPT-4, Claude-2.1, and LLama-2-70B. We
find that all three models make faithfulness mistakes in over 50% of summaries
and struggle to interpret difficult subtext. However, at their best, the models
can provide thoughtful thematic analysis of stories. We additionally
demonstrate that LLM judgments of summary quality do not match the feedback
from the writers. | cs.CL | Reading Subtext: Evaluating Large Language Models on Short Story Summarization with Writers |
2024-03-01T23:38:02Z | http://arxiv.org/pdf/2403.01031v2 | http://arxiv.org/abs/2403.01031v2 | Fakhraddin Alwajih, El Moatez Billah Nagoudi, Gagan Bhatia, Abdelrahman Mohamed, Muhammad Abdul-Mageed | 2024-05-24T20:24:36Z | cs.CL, cs.AI | Multimodal large language models (MLLMs) have proven effective in a wide
range of tasks requiring complex reasoning and linguistic comprehension.
However, due to a lack of high-quality multimodal resources in languages other
than English, success of MLLMs remains relatively limited to English-based
settings. This poses significant challenges in developing comparable models for
other languages, including even those with large speaker populations such as
Arabic. To alleviate this challenge, we introduce a comprehensive family of
Arabic MLLMs, dubbed \textit{Peacock}, with strong vision and language
capabilities. Through comprehensive qualitative and quantitative analysis, we
demonstrate the solid performance of our models on various visual reasoning
tasks and further show their emerging dialectal potential. Additionally, we
introduce ~\textit{Henna}, a new benchmark specifically designed for assessing
MLLMs on aspects related to Arabic culture, setting the first stone for
culturally-aware Arabic MLLMs.The GitHub repository for the \textit{Peacock}
project is available at \url{https://github.com/UBC-NLP/peacock}. | cs.CL | Peacock: A Family of Arabic Multimodal Large Language Models and Benchmarks |
2024-03-01T21:59:03Z | http://arxiv.org/pdf/2403.01002v1 | http://arxiv.org/abs/2403.01002v1 | Zelalem Gero, Chandan Singh, Yiqing Xie, Sheng Zhang, Tristan Naumann, Jianfeng Gao, Hoifung Poon | 2024-03-01T21:59:03Z | cs.CL, cs.AI | Summarizing clinical text is crucial in health decision-support and clinical
research. Large language models (LLMs) have shown the potential to generate
accurate clinical text summaries, but still struggle with issues regarding
grounding and evaluation, especially in safety-critical domains such as health.
Holistically evaluating text summaries is challenging because they may contain
unsubstantiated information. Here, we explore a general mitigation framework
using Attribute Structuring (AS), which structures the summary evaluation
process. It decomposes the evaluation process into a grounded procedure that
uses an LLM for relatively simple structuring and scoring tasks, rather than
the full task of holistic summary evaluation. Experiments show that AS
consistently improves the correspondence between human annotations and
automated metrics in clinical text summarization. Additionally, AS yields
interpretations in the form of a short text span corresponding to each output,
which enables efficient human auditing, paving the way towards trustworthy
evaluation of clinical information in resource-constrained scenarios. We
release our code, prompts, and an open-source benchmark at
https://github.com/microsoft/attribute-structuring. | cs.CL | Attribute Structuring Improves LLM-Based Evaluation of Clinical Text Summaries |
2024-03-01T21:48:08Z | http://arxiv.org/pdf/2403.00998v1 | http://arxiv.org/abs/2403.00998v1 | Polina Tsvilodub, Hening Wang, Sharon Grosch, Michael Franke | 2024-03-01T21:48:08Z | cs.CL | This paper systematically compares different methods of deriving item-level
predictions of language models for multiple-choice tasks. It compares scoring
methods for answer options based on free generation of responses, various
probability-based scores, a Likert-scale style rating method, and embedding
similarity. In a case study on pragmatic language interpretation, we find that
LLM predictions are not robust under variation of method choice, both within a
single LLM and across different LLMs. As this variability entails pronounced
researcher degrees of freedom in reporting results, knowledge of the
variability is crucial to secure robustness of results and research integrity. | cs.CL | Predictions from language models for multiple-choice tasks are not robust under variation of scoring methods |
2024-03-01T21:29:32Z | http://arxiv.org/pdf/2403.00994v1 | http://arxiv.org/abs/2403.00994v1 | Xiaohan Ding, Buse Carik, Uma Sushmitha Gunturi, Valerie Reyna, Eugenia H. Rho | 2024-03-01T21:29:32Z | cs.HC, cs.AI, cs.CL, cs.SI | We introduce a multi-step reasoning framework using prompt-based LLMs to
examine the relationship between social media language patterns and trends in
national health outcomes. Grounded in fuzzy-trace theory, which emphasizes the
importance of gists of causal coherence in effective health communication, we
introduce Role-Based Incremental Coaching (RBIC), a prompt-based LLM framework,
to identify gists at-scale. Using RBIC, we systematically extract gists from
subreddit discussions opposing COVID-19 health measures (Study 1). We then
track how these gists evolve across key events (Study 2) and assess their
influence on online engagement (Study 3). Finally, we investigate how the
volume of gists is associated with national health trends like vaccine uptake
and hospitalizations (Study 4). Our work is the first to empirically link
social media linguistic patterns to real-world public health trends,
highlighting the potential of prompt-based LLMs in identifying critical online
discussion patterns that can form the basis of public health communication
strategies. | cs.HC | Leveraging Prompt-Based Large Language Models: Predicting Pandemic Health Decisions and Outcomes Through Social Media Language |
2024-03-01T21:24:24Z | http://arxiv.org/pdf/2403.00990v1 | http://arxiv.org/abs/2403.00990v1 | Kimihiro Hasegawa, Nikhil Kandukuri, Susan Holm, Yukari Yamakawa, Teruko Mitamura | 2024-03-01T21:24:24Z | cs.CL | Constructing a timeline requires identifying the chronological order of
events in an article. In prior timeline construction datasets, temporal orders
are typically annotated by either event-to-time anchoring or event-to-event
pairwise ordering, both of which suffer from missing temporal information. To
mitigate the issue, we develop a new evaluation dataset, TimeSET, consisting of
single-document timelines with document-level order annotation. TimeSET
features saliency-based event selection and partial ordering, which enable a
practical annotation workload. Aiming to build better automatic timeline
construction systems, we propose a novel evaluation framework to compare
multiple task formulations with TimeSET by prompting open LLMs, i.e., Llama 2
and Flan-T5. Considering that identifying temporal orders of events is a core
subtask in timeline construction, we further benchmark open LLMs on existing
event temporal ordering datasets to gain a robust understanding of their
capabilities. Our experiments show that (1) NLI formulation with Flan-T5
demonstrates a strong performance among others, while (2) timeline construction
and event temporal ordering are still challenging tasks for few-shot LLMs. Our
code and data are available at https://github.com/kimihiroh/timeset. | cs.CL | Formulation Comparison for Timeline Construction using LLMs |
2024-03-01T21:16:29Z | http://arxiv.org/pdf/2403.00986v2 | http://arxiv.org/abs/2403.00986v2 | Neha Verma, Maha Elbayad | 2024-03-07T18:45:09Z | cs.CL, cs.AI, cs.LG | Recent work on one-shot permutation-based model merging has shown impressive
low- or zero-barrier mode connectivity between models from completely different
initializations. However, this line of work has not yet extended to the
Transformer architecture, despite its dominant popularity in the language
domain. Therefore, in this work, we investigate the extent to which separate
Transformer minima learn similar features, and propose a model merging
technique to investigate the relationship between these minima in the loss
landscape. The specifics of the architecture, like its residual connections,
multi-headed attention, and discrete, sequential input, require specific
interventions in order to compute model permutations that remain within the
same functional equivalence class. In merging these models with our method, we
consistently find lower loss barriers between minima compared to model
averaging for several models trained on a masked-language modeling task or
fine-tuned on a language understanding benchmark. Our results show that the
minima of these models are less sharp and isolated than previously understood,
and provide a basis for future work on merging separately trained Transformer
models. | cs.CL | Merging Text Transformer Models from Different Initializations |
2024-03-01T21:10:20Z | http://arxiv.org/pdf/2403.00982v1 | http://arxiv.org/abs/2403.00982v1 | Xiao Yu, Yunan Lu, Zhou Yu | 2024-03-01T21:10:20Z | cs.CL | Retrieval-augmented question-answering systems combine retrieval techniques
with large language models to provide answers that are more accurate and
informative. Many existing toolkits allow users to quickly build such systems
using off-the-shelf models, but they fall short in supporting researchers and
developers to customize the model training, testing, and deployment process. We
propose LocalRQA, an open-source toolkit that features a wide selection of
model training algorithms, evaluation methods, and deployment tools curated
from the latest research. As a showcase, we build QA systems using online
documentation obtained from Databricks and Faire's websites. We find 7B-models
trained and deployed using LocalRQA reach a similar performance compared to
using OpenAI's text-ada-002 and GPT-4-turbo. | cs.CL | LocalRQA: From Generating Data to Locally Training, Testing, and Deploying Retrieval-Augmented QA Systems |
2024-03-01T20:31:10Z | http://arxiv.org/pdf/2403.00964v1 | http://arxiv.org/abs/2403.00964v1 | Federico Borra, Claudio Savelli, Giacomo Rosso, Alkis Koudounas, Flavio Giobergia | 2024-03-01T20:31:10Z | cs.CL, cs.LG | In Natural Language Generation (NLG), contemporary Large Language Models
(LLMs) face several challenges, such as generating fluent yet inaccurate
outputs and reliance on fluency-centric metrics. This often leads to neural
networks exhibiting "hallucinations". The SHROOM challenge focuses on
automatically identifying these hallucinations in the generated text. To tackle
these issues, we introduce two key components, a data augmentation pipeline
incorporating LLM-assisted pseudo-labelling and sentence rephrasing, and a
voting ensemble from three models pre-trained on Natural Language Inference
(NLI) tasks and fine-tuned on diverse datasets. | cs.CL | MALTO at SemEval-2024 Task 6: Leveraging Synthetic Data for LLM Hallucination Detection |
2024-03-01T20:06:39Z | http://arxiv.org/pdf/2403.00953v1 | http://arxiv.org/abs/2403.00953v1 | Lang Cao, Jimeng Sun, Adam Cross | 2024-03-01T20:06:39Z | cs.CL, cs.AI | Objectives: Our objective is to create an end-to-end system called AutoRD,
which automates extracting information from clinical text about rare diseases.
We have conducted various tests to evaluate the performance of AutoRD and
highlighted its strengths and limitations in this paper.
Materials and Methods: Our system, AutoRD, is a software pipeline involving
data preprocessing, entity extraction, relation extraction, entity calibration,
and knowledge graph construction. We implement this using large language models
and medical knowledge graphs developed from open-source medical ontologies. We
quantitatively evaluate our system on entity extraction, relation extraction,
and the performance of knowledge graph construction.
Results: AutoRD achieves an overall F1 score of 47.3%, a 14.4% improvement
compared to the base LLM. In detail, AutoRD achieves an overall entity
extraction F1 score of 56.1% (rare_disease: 83.5%, disease: 35.8%,
symptom_and_sign: 46.1%, anaphor: 67.5%) and an overall relation extraction F1
score of 38.6% (produces: 34.7%, increases_risk_of: 12.4%, is_a: 37.4%,
is_acronym: 44.1%, is_synonym: 16.3%, anaphora: 57.5%). Our qualitative
experiment also demonstrates that the performance in constructing the knowledge
graph is commendable.
Discussion: AutoRD demonstrates the potential of LLM applications in rare
disease detection. This improvement is attributed to several design, including
the integration of ontologies-enhanced LLMs.
Conclusion: AutoRD is an automated end-to-end system for extracting rare
disease information from text to build knowledge graphs. It uses
ontologies-enhanced LLMs for a robust medical knowledge base. The superior
performance of AutoRD is validated by experimental evaluations, demonstrating
the potential of LLMs in healthcare. | cs.CL | AutoRD: An Automatic and End-to-End System for Rare Disease Knowledge Graph Construction Based on Ontologies-enhanced Large Language Models |
2024-03-01T20:03:44Z | http://arxiv.org/pdf/2403.00952v1 | http://arxiv.org/abs/2403.00952v1 | Vithursan Thangarasa, Mahmoud Salem, Shreyas Saxena, Kevin Leong, Joel Hestness, Sean Lie | 2024-03-01T20:03:44Z | cs.CL, cs.LG | Large language models (LLMs) are typically trained on general source data for
various domains, but a recent surge in domain-specific LLMs has shown their
potential to outperform general-purpose models in domain-specific tasks (e.g.,
biomedicine). Although domain-specific pre-training enhances efficiency and
leads to smaller models, the computational costs of training these LLMs remain
high, posing budgeting challenges. We introduce MediSwift, a suite of
biomedical LMs that leverage sparse pre-training on domain-specific biomedical
text data. By inducing up to 75% weight sparsity during the pre-training phase,
MediSwift achieves a 2-2.5x reduction in training FLOPs. Notably, all sparse
pre-training was performed on the Cerebras CS-2 system, which is specifically
designed to realize the acceleration benefits from unstructured weight
sparsity, thereby significantly enhancing the efficiency of the MediSwift
models. Through subsequent dense fine-tuning and strategic soft prompting,
MediSwift models outperform existing LLMs up to 7B parameters on biomedical
tasks, setting new benchmarks w.r.t efficiency-accuracy on tasks such as
PubMedQA. Our results show that sparse pre-training, along with dense
fine-tuning and soft prompting, offers an effective method for creating
high-performing, computationally efficient models in specialized domains. | cs.CL | MediSwift: Efficient Sparse Pre-trained Biomedical Language Models |
2024-03-01T19:22:24Z | http://arxiv.org/pdf/2403.00932v2 | http://arxiv.org/abs/2403.00932v2 | James Flemings, Murali Annavaram | 2024-06-05T03:07:44Z | cs.LG, cs.CL, cs.CR | Large Language models (LLMs) are achieving state-of-the-art performance in
many different downstream tasks. However, the increasing urgency of data
privacy puts pressure on practitioners to train LLMs with Differential Privacy
(DP) on private data. Concurrently, the exponential growth in parameter size of
LLMs necessitates model compression before deployment of LLMs on
resource-constrained devices or latency-sensitive applications. Differential
privacy and model compression generally must trade off utility loss to achieve
their objectives. Moreover, simultaneously applying both schemes can compound
the utility degradation. To this end, we propose DistilDP: a novel
differentially private knowledge distillation algorithm that exploits synthetic
data generated by a differentially private teacher LLM. The knowledge of a
teacher LLM is transferred onto the student in two ways: one way from the
synthetic data itself -- the hard labels, and the other way by the output
distribution of the teacher evaluated on the synthetic data -- the soft labels.
Furthermore, if the teacher and student share a similar architectural
structure, we can further distill knowledge by aligning the hidden
representations between both. Our experimental results demonstrate that
DistilDP can substantially improve the utility over existing baselines, at
least $9.0$ PPL on the Big Patent dataset, with strong privacy parameters,
$\epsilon=2$. These promising results progress privacy-preserving compression
of autoregressive LLMs. Our code can be accessed here:
https://github.com/james-flemings/dp_compress. | cs.LG | Differentially Private Knowledge Distillation via Synthetic Text Generation |
2024-03-01T19:08:25Z | http://arxiv.org/pdf/2403.00923v1 | http://arxiv.org/abs/2403.00923v1 | Nurendra Choudhary, Edward W Huang, Karthik Subbian, Chandan K. Reddy | 2024-03-01T19:08:25Z | cs.IR, cs.CL, H.3.3; I.2.7; J.7 | The problem of search relevance in the E-commerce domain is a challenging one
since it involves understanding the intent of a user's short nuanced query and
matching it with the appropriate products in the catalog. This problem has
traditionally been addressed using language models (LMs) and graph neural
networks (GNNs) to capture semantic and inter-product behavior signals,
respectively. However, the rapid development of new architectures has created a
gap between research and the practical adoption of these techniques. Evaluating
the generalizability of these models for deployment requires extensive
experimentation on complex, real-world datasets, which can be non-trivial and
expensive. Furthermore, such models often operate on latent space
representations that are incomprehensible to humans, making it difficult to
evaluate and compare the effectiveness of different models. This lack of
interpretability hinders the development and adoption of new techniques in the
field. To bridge this gap, we propose Plug and Play Graph LAnguage Model
(PP-GLAM), an explainable ensemble of plug and play models. Our approach uses a
modular framework with uniform data processing pipelines. It employs additive
explanation metrics to independently decide whether to include (i) language
model candidates, (ii) GNN model candidates, and (iii) inter-product behavioral
signals. For the task of search relevance, we show that PP-GLAM outperforms
several state-of-the-art baselines as well as a proprietary model on real-world
multilingual, multi-regional e-commerce datasets. To promote better model
comprehensibility and adoption, we also provide an analysis of the
explainability and computational complexity of our model. We also provide the
public codebase and provide a deployment strategy for practical implementation. | cs.IR | An Interpretable Ensemble of Graph and Language Models for Improving Search Relevance in E-Commerce |
2024-03-01T18:55:20Z | http://arxiv.org/pdf/2403.00758v3 | http://arxiv.org/abs/2403.00758v3 | Qingyan Guo, Rui Wang, Junliang Guo, Xu Tan, Jiang Bian, Yujiu Yang | 2024-03-20T07:37:24Z | cs.CL, cs.AI, cs.LG | While large language models (LLMs) have achieved impressive performance
across diverse tasks, recent studies showcase that causal LLMs suffer from the
"reversal curse". It is a typical example that the model knows "A's father is
B", but is unable to reason "B's child is A". This limitation poses a challenge
to the advancement of artificial general intelligence (AGI), as it suggests a
gap in the models' ability to comprehend and apply bidirectional reasoning. In
this paper, we first conduct substantial evaluation and identify that the root
cause of the reversal curse lies in the different word order between the
training and inference stage, namely, the poor ability of causal language
models to predict antecedent words within the training data. Accordingly,
permutation on the training data is considered as a potential solution, since
this can make the model predict antecedent words or tokens. However, previous
permutation methods may disrupt complete phrases or entities, thereby posing
challenges for the model to comprehend and learn from training data. To address
this issue, we propose Semantic-aware Permutation Training (SPT), which
addresses this issue by segmenting the training sentences into semantic units
(i.e., entities or phrases) with an assistant language model and permuting
these units before feeding into the model. Extensive experiments demonstrate
that SPT effectively mitigates the reversal curse since the performance on
reversed questions approximates that on the forward ones, and significantly
advances the performance of existing works. | cs.CL | Mitigating Reversal Curse in Large Language Models via Semantic-aware Permutation Training |
2024-03-01T18:43:51Z | http://arxiv.org/pdf/2403.00745v1 | http://arxiv.org/abs/2403.00745v1 | János Kramár, Tom Lieberum, Rohin Shah, Neel Nanda | 2024-03-01T18:43:51Z | cs.LG, cs.CL | Activation Patching is a method of directly computing causal attributions of
behavior to model components. However, applying it exhaustively requires a
sweep with cost scaling linearly in the number of model components, which can
be prohibitively expensive for SoTA Large Language Models (LLMs). We
investigate Attribution Patching (AtP), a fast gradient-based approximation to
Activation Patching and find two classes of failure modes of AtP which lead to
significant false negatives. We propose a variant of AtP called AtP*, with two
changes to address these failure modes while retaining scalability. We present
the first systematic study of AtP and alternative methods for faster activation
patching and show that AtP significantly outperforms all other investigated
methods, with AtP* providing further significant improvement. Finally, we
provide a method to bound the probability of remaining false negatives of AtP*
estimates. | cs.LG | AtP*: An efficient and scalable method for localizing LLM behaviour to components |
2024-03-01T18:43:09Z | http://arxiv.org/pdf/2403.00742v1 | http://arxiv.org/abs/2403.00742v1 | Valentin Hofmann, Pratyusha Ria Kalluri, Dan Jurafsky, Sharese King | 2024-03-01T18:43:09Z | cs.CL, cs.AI, cs.CY | Hundreds of millions of people now interact with language models, with uses
ranging from serving as a writing aid to informing hiring decisions. Yet these
language models are known to perpetuate systematic racial prejudices, making
their judgments biased in problematic ways about groups like African Americans.
While prior research has focused on overt racism in language models, social
scientists have argued that racism with a more subtle character has developed
over time. It is unknown whether this covert racism manifests in language
models. Here, we demonstrate that language models embody covert racism in the
form of dialect prejudice: we extend research showing that Americans hold
raciolinguistic stereotypes about speakers of African American English and find
that language models have the same prejudice, exhibiting covert stereotypes
that are more negative than any human stereotypes about African Americans ever
experimentally recorded, although closest to the ones from before the civil
rights movement. By contrast, the language models' overt stereotypes about
African Americans are much more positive. We demonstrate that dialect prejudice
has the potential for harmful consequences by asking language models to make
hypothetical decisions about people, based only on how they speak. Language
models are more likely to suggest that speakers of African American English be
assigned less prestigious jobs, be convicted of crimes, and be sentenced to
death. Finally, we show that existing methods for alleviating racial bias in
language models such as human feedback training do not mitigate the dialect
prejudice, but can exacerbate the discrepancy between covert and overt
stereotypes, by teaching language models to superficially conceal the racism
that they maintain on a deeper level. Our findings have far-reaching
implications for the fair and safe employment of language technology. | cs.CL | Dialect prejudice predicts AI decisions about people's character, employability, and criminality |
2024-03-01T18:20:11Z | http://arxiv.org/pdf/2403.00724v1 | http://arxiv.org/abs/2403.00724v1 | Jiaying Gong, Hoda Eldardiry | 2024-03-01T18:20:11Z | cs.CL, cs.CV | The goal of few-shot relation extraction is to predict relations between name
entities in a sentence when only a few labeled instances are available for
training. Existing few-shot relation extraction methods focus on uni-modal
information such as text only. This reduces performance when there are no clear
contexts between the name entities described in text. We propose a multi-modal
few-shot relation extraction model (MFS-HVE) that leverages both textual and
visual semantic information to learn a multi-modal representation jointly. The
MFS-HVE includes semantic feature extractors and multi-modal fusion components.
The MFS-HVE semantic feature extractors are developed to extract both textual
and visual features. The visual features include global image features and
local object features within the image. The MFS-HVE multi-modal fusion unit
integrates information from various modalities using image-guided attention,
object-guided attention, and hybrid feature attention to fully capture the
semantic interaction between visual regions of images and relevant texts.
Extensive experiments conducted on two public datasets demonstrate that
semantic visual information significantly improves the performance of few-shot
relation prediction. | cs.CL | Few-Shot Relation Extraction with Hybrid Visual Evidence |
2024-03-01T17:31:09Z | http://arxiv.org/pdf/2403.00696v1 | http://arxiv.org/abs/2403.00696v1 | Christopher Malon, Xiaodan Zhu | 2024-03-01T17:31:09Z | cs.CL | Self-consistency has emerged as a powerful method for improving the accuracy
of short answers generated by large language models. As previously defined, it
only concerns the accuracy of a final answer parsed from generated text. In
this work, we extend the idea to open response generation, by integrating
voting into the decoding method. Each output sentence is selected from among
multiple samples, conditioning on the previous selections, based on a simple
token overlap score. We compare this "Sample & Select" method to greedy
decoding, beam search, nucleus sampling, and the recently introduced
hallucination avoiding decoders of DoLA, P-CRR, and S-CRR. We show that Sample
& Select improves factuality by a 30% relative margin against these decoders in
NLI-based evaluation on the subsets of CNN/DM and XSum used in the FRANK
benchmark, while maintaining comparable ROUGE-1 F1 scores against reference
summaries. We collect human verifications of the generated summaries,
confirming the factual superiority of our method. | cs.CL | Self-Consistent Decoding for More Factual Open Responses |
2024-03-01T17:20:11Z | http://arxiv.org/pdf/2403.00686v1 | http://arxiv.org/abs/2403.00686v1 | Catherine Arnett, Tyler A. Chang, Benjamin K. Bergen | 2024-03-01T17:20:11Z | cs.CL | How should text dataset sizes be compared across languages? Even for
content-matched (parallel) corpora, UTF-8 encoded text can require a
dramatically different number of bytes for different languages. In our work, we
define the byte premium between two languages as the ratio of bytes used to
encode content-matched text in those languages. We compute byte premiums for
1155 languages, and we use linear regressions to estimate byte premiums for
other languages. We release a tool to obtain byte premiums for any two
languages, enabling comparisons of dataset sizes across languages for more
equitable multilingual model development and data practices. | cs.CL | A Bit of a Problem: Measurement Disparities in Dataset Sizes Across Languages |
2024-03-01T16:49:55Z | http://arxiv.org/pdf/2403.00662v1 | http://arxiv.org/abs/2403.00662v1 | Milad Alshomary, Felix Lange, Meisam Booshehri, Meghdut Sengupta, Philipp Cimiano, Henning Wachsmuth | 2024-03-01T16:49:55Z | cs.CL | Explanations are pervasive in our lives. Mostly, they occur in dialogical
form where an {\em explainer} discusses a concept or phenomenon of interest
with an {\em explainee}. Leaving the explainee with a clear understanding is
not straightforward due to the knowledge gap between the two participants.
Previous research looked at the interaction of explanation moves, dialogue
acts, and topics in successful dialogues with expert explainers. However,
daily-life explanations often fail, raising the question of what makes a
dialogue successful. In this work, we study explanation dialogues in terms of
the interactions between the explainer and explainee and how they correlate
with the quality of explanations in terms of a successful understanding on the
explainee's side. In particular, we first construct a corpus of 399 dialogues
from the Reddit forum {\em Explain Like I am Five} and annotate it for
interaction flows and explanation quality. We then analyze the interaction
flows, comparing them to those appearing in expert dialogues. Finally, we
encode the interaction flows using two language models that can handle long
inputs, and we provide empirical evidence for the effectiveness boost gained
through the encoding in predicting the success of explanation dialogues. | cs.CL | Modeling the Quality of Dialogical Explanations |
2024-03-01T16:09:32Z | http://arxiv.org/pdf/2403.00632v1 | http://arxiv.org/abs/2403.00632v1 | Qian Wan, Xin Feng, Yining Bei, Zhiqi Gao, Zhicong Lu | 2024-03-01T16:09:32Z | cs.HC, cs.AI, cs.CL, cs.CY | Human emotions are essentially molded by lived experiences, from which we
construct personalised meaning. The engagement in such meaning-making process
has been practiced as an intervention in various psychotherapies to promote
wellness. Nevertheless, to support recollecting and recounting lived
experiences in everyday life remains under explored in HCI. It also remains
unknown how technologies such as generative AI models can facilitate the
meaning making process, and ultimately support affective mindfulness. In this
paper we present Metamorpheus, an affective interface that engages users in a
creative visual storytelling of emotional experiences during dreams.
Metamorpheus arranges the storyline based on a dream's emotional arc, and
provokes self-reflection through the creation of metaphorical images and text
depictions. The system provides metaphor suggestions, and generates visual
metaphors and text depictions using generative AI models, while users can apply
generations to recolour and re-arrange the interface to be visually affective.
Our experience-centred evaluation manifests that, by interacting with
Metamorpheus, users can recall their dreams in vivid detail, through which they
relive and reflect upon their experiences in a meaningful way. | cs.HC | Metamorpheus: Interactive, Affective, and Creative Dream Narration Through Metaphorical Visual Storytelling |
2024-03-01T15:38:55Z | http://arxiv.org/pdf/2403.00896v2 | http://arxiv.org/abs/2403.00896v2 | Kedi Chen, Qin Chen, Jie Zhou, Yishen He, Liang He | 2024-06-17T15:11:20Z | cs.CL, cs.AI | Since large language models (LLMs) achieve significant success in recent
years, the hallucination issue remains a challenge, numerous benchmarks are
proposed to detect the hallucination. Nevertheless, some of these benchmarks
are not naturally generated by LLMs but are intentionally induced. Also, many
merely focus on the factuality hallucination while ignoring the faithfulness
hallucination. Additionally, although dialogue pattern is more widely utilized
in the era of LLMs, current benchmarks only concentrate on sentence-level and
passage-level hallucination. In this study, we propose DiaHalu, the first
dialogue-level hallucination evaluation benchmark to our knowledge. Initially,
we integrate the collected topics into system prompts and facilitate a dialogue
between two ChatGPT3.5. Subsequently, we manually modify the contents that do
not adhere to human language conventions and then have LLMs re-generate,
simulating authentic human-machine interaction scenarios. Finally, professional
scholars annotate all the samples in the dataset. DiaHalu covers four common
multi-turn dialogue domains and five hallucination subtypes, extended from
factuality and faithfulness hallucination. Experiments through some well-known
LLMs and detection methods on the dataset show that DiaHalu is a challenging
benchmark, holding significant value for further research. | cs.CL | DiaHalu: A Dialogue-level Hallucination Evaluation Benchmark for Large Language Models |
2024-03-01T14:43:06Z | http://arxiv.org/pdf/2403.00894v1 | http://arxiv.org/abs/2403.00894v1 | Wenpin Hou, Zhicheng Ji | 2024-03-01T14:43:06Z | cs.SE, cs.AI, cs.CL, cs.PL | We systematically evaluated the performance of seven large language models in
generating programming code using various prompt strategies, programming
languages, and task difficulties. GPT-4 substantially outperforms other large
language models, including Gemini Ultra and Claude 2. The coding performance of
GPT-4 varies considerably with different prompt strategies. In most LeetCode
and GeeksforGeeks coding contests evaluated in this study, GPT-4 employing the
optimal prompt strategy outperforms 85 percent of human participants.
Additionally, GPT-4 demonstrates strong capabilities in translating code
between different programming languages and in learning from past errors. The
computational efficiency of the code generated by GPT-4 is comparable to that
of human programmers. These results suggest that GPT-4 has the potential to
serve as a reliable assistant in programming code generation and software
development. | cs.SE | A systematic evaluation of large language models for generating programming code |
2024-03-01T14:23:12Z | http://arxiv.org/pdf/2403.00553v1 | http://arxiv.org/abs/2403.00553v1 | Chantal Shaib, Joe Barrow, Jiuding Sun, Alexa F. Siu, Byron C. Wallace, Ani Nenkova | 2024-03-01T14:23:12Z | cs.CL | The diversity across outputs generated by large language models shapes the
perception of their quality and utility. Prompt leaks, templated answer
structure, and canned responses across different interactions are readily
noticed by people, but there is no standard score to measure this aspect of
model behavior. In this work we empirically investigate diversity scores on
English texts. We find that computationally efficient compression algorithms
capture information similar to what is measured by slow to compute $n$-gram
overlap homogeneity scores. Further, a combination of measures -- compression
ratios, self-repetition of long $n$-grams and Self-BLEU and BERTScore -- are
sufficient to report, as they have low mutual correlation with each other. The
applicability of scores extends beyond analysis of generative models; for
example, we highlight applications on instruction-tuning datasets and
human-produced texts. We release a diversity score package to facilitate
research and invite consistency across reports. | cs.CL | Standardizing the Measurement of Text Diversity: A Tool and a Comparative Analysis of Scores |
2024-03-01T13:36:04Z | http://arxiv.org/pdf/2403.00528v1 | http://arxiv.org/abs/2403.00528v1 | Edward Whittaker, Ikuo Kitagishi | 2024-03-01T13:36:04Z | cs.CL, cs.CV, H.3.3; H.3.4; I.2.7; I.7.1; I.7.5 | Language Models (LMs) such as BERT, have been shown to perform well on the
task of identifying Named Entities (NE) in text. A BERT LM is typically used as
a classifier to classify individual tokens in the input text, or to classify
spans of tokens, as belonging to one of a set of possible NE categories.
In this paper, we hypothesise that decoder-only Large Language Models (LLMs)
can also be used generatively to extract both the NE, as well as potentially
recover the correct surface form of the NE, where any spelling errors that were
present in the input text get automatically corrected.
We fine-tune two BERT LMs as baselines, as well as eight open-source LLMs, on
the task of producing NEs from text that was obtained by applying Optical
Character Recognition (OCR) to images of Japanese shop receipts; in this work,
we do not attempt to find or evaluate the location of NEs in the text.
We show that the best fine-tuned LLM performs as well as, or slightly better
than, the best fine-tuned BERT LM, although the differences are not
significant. However, the best LLM is also shown to correct OCR errors in some
cases, as initially hypothesised. | cs.CL | Large Language Models for Simultaneous Named Entity Extraction and Spelling Correction |
2024-03-01T13:15:30Z | http://arxiv.org/pdf/2403.00510v3 | http://arxiv.org/abs/2403.00510v3 | Bo Li, Qinghua Zhao, Lijie Wen | 2024-06-16T13:53:44Z | cs.CL, cs.AI | Previous works have evaluated memorization by comparing model outputs with
training corpora, examining how factors such as data duplication, model size,
and prompt length influence memorization. However, analyzing these extensive
training corpora is highly time-consuming. To address this challenge, this
paper proposes an innovative approach named ROME that bypasses direct
processing of the training data. Specifically, we select datasets categorized
into three distinct types -- context-independent, conventional, and factual --
and redefine memorization as the ability to produce correct answers under these
conditions. Our analysis then focuses on disparities between memorized and
non-memorized samples by examining the logits and representations of generated
texts. Experimental findings reveal that longer words are less likely to be
memorized, higher confidence correlates with greater memorization, and
representations of the same concepts are more similar across different
contexts. Our code and data will be publicly available when the paper is
accepted. | cs.CL | ROME: Memorization Insights from Text, Logits and Representation |
2024-03-01T13:14:45Z | http://arxiv.org/pdf/2403.00509v1 | http://arxiv.org/abs/2403.00509v1 | Yuqi Chen, Sixuan Li, Ying Li, Mohammad Atari | 2024-03-01T13:14:45Z | cs.CL, cs.AI, cs.CY | In this work, we develop a pipeline for historical-psychological text
analysis in classical Chinese. Humans have produced texts in various languages
for thousands of years; however, most of the computational literature is
focused on contemporary languages and corpora. The emerging field of historical
psychology relies on computational techniques to extract aspects of psychology
from historical corpora using new methods developed in natural language
processing (NLP). The present pipeline, called Contextualized Construct
Representations (CCR), combines expert knowledge in psychometrics (i.e.,
psychological surveys) with text representations generated via
transformer-based language models to measure psychological constructs such as
traditionalism, norm strength, and collectivism in classical Chinese corpora.
Considering the scarcity of available data, we propose an indirect supervised
contrastive learning approach and build the first Chinese historical psychology
corpus (C-HI-PSY) to fine-tune pre-trained models. We evaluate the pipeline to
demonstrate its superior performance compared with other approaches. The CCR
method outperforms word-embedding-based approaches across all of our tasks and
exceeds prompting with GPT-4 in most tasks. Finally, we benchmark the pipeline
against objective, external data to further verify its validity. | cs.CL | Surveying the Dead Minds: Historical-Psychological Text Analysis with Contextualized Construct Representation (CCR) for Classical Chinese |
2024-03-01T13:07:39Z | http://arxiv.org/pdf/2403.00506v1 | http://arxiv.org/abs/2403.00506v1 | Deborah N. Jakobi, Thomas Kern, David R. Reich, Patrick Haller, Lena A. Jäger | 2024-03-01T13:07:39Z | cs.CL | The Potsdam Textbook Corpus (PoTeC) is a naturalistic
eye-tracking-while-reading corpus containing data from 75 participants reading
12 scientific texts. PoTeC is the first naturalistic eye-tracking-while-reading
corpus that contains eye-movements from domain-experts as well as novices in a
within-participant manipulation: It is based on a 2x2x2 fully-crossed factorial
design which includes the participants' level of study and the participants'
discipline of study as between-subject factors and the text domain as a
within-subject factor. The participants' reading comprehension was assessed by
a series of text comprehension questions and their domain knowledge was tested
by text-independent background questions for each of the texts. The materials
are annotated for a variety of linguistic features at different levels. We
envision PoTeC to be used for a wide range of studies including but not limited
to analyses of expert and non-expert reading strategies. The corpus and all the
accompanying data at all stages of the preprocessing pipeline and all code used
to preprocess the data are made available via GitHub:
https://github.com/DiLi-Lab/PoTeC. | cs.CL | PoTeC: A German Naturalistic Eye-tracking-while-reading Corpus |
2024-03-01T13:04:12Z | http://arxiv.org/pdf/2403.00891v1 | http://arxiv.org/abs/2403.00891v1 | Kedi Chen, Jie Zhou, Qin Chen, Shunyu Liu, Liang He | 2024-03-01T13:04:12Z | cs.LG, cs.AI, cs.CL | Information extraction (IE) aims to extract complex structured information
from the text. Numerous datasets have been constructed for various IE tasks,
leading to time-consuming and labor-intensive data annotations. Nevertheless,
most prevailing methods focus on training task-specific models, while the
common knowledge among different IE tasks is not explicitly modeled. Moreover,
the same phrase may have inconsistent labels in different tasks, which poses a
big challenge for knowledge transfer using a unified model. In this study, we
propose a regularization-based transfer learning method for IE (TIE) via an
instructed graph decoder. Specifically, we first construct an instruction pool
for datasets from all well-known IE tasks, and then present an instructed graph
decoder, which decodes various complex structures into a graph uniformly based
on corresponding instructions. In this way, the common knowledge shared with
existing datasets can be learned and transferred to a new dataset with new
labels. Furthermore, to alleviate the label inconsistency problem among various
IE tasks, we introduce a task-specific regularization strategy, which does not
update the gradients of two tasks with 'opposite direction'. We conduct
extensive experiments on 12 datasets spanning four IE tasks, and the results
demonstrate the great advantages of our proposed method | cs.LG | A Regularization-based Transfer Learning Method for Information Extraction via Instructed Graph Decoder |
2024-03-01T12:42:47Z | http://arxiv.org/pdf/2403.00499v1 | http://arxiv.org/abs/2403.00499v1 | Ariel Goldstein, Gabriel Stanovsky | 2024-03-01T12:42:47Z | cs.CL | Recent advances in LLMs have sparked a debate on whether they understand
text. In this position paper, we argue that opponents in this debate hold
different definitions for understanding, and particularly differ in their view
on the role of consciousness. To substantiate this claim, we propose a thought
experiment involving an open-source chatbot $Z$ which excels on every possible
benchmark, seemingly without subjective experience. We ask whether $Z$ is
capable of understanding, and show that different schools of thought within
seminal AI research seem to answer this question differently, uncovering their
terminological disagreement. Moving forward, we propose two distinct working
definitions for understanding which explicitly acknowledge the question of
consciousness, and draw connections with a rich literature in philosophy,
psychology and neuroscience. | cs.CL | Do Zombies Understand? A Choose-Your-Own-Adventure Exploration of Machine Cognition |
2024-03-01T11:54:14Z | http://arxiv.org/pdf/2403.00888v1 | http://arxiv.org/abs/2403.00888v1 | Yuan Wu | 2024-03-01T11:54:14Z | cs.CL, cs.LG | Multi-domain text classification (MDTC) endeavors to harness available
resources from correlated domains to enhance the classification accuracy of the
target domain. Presently, most MDTC approaches that embrace adversarial
training and the shared-private paradigm exhibit cutting-edge performance.
Unfortunately, these methods face a non-negligible challenge: the absence of
theoretical guarantees in the design of MDTC algorithms. The dearth of
theoretical underpinning poses a substantial impediment to the advancement of
MDTC algorithms. To tackle this problem, we first provide a theoretical
analysis of MDTC by decomposing the MDTC task into multiple domain adaptation
tasks. We incorporate the margin discrepancy as the measure of domain
divergence and establish a new generalization bound based on Rademacher
complexity. Subsequently, we propose a margin discrepancy-based adversarial
training (MDAT) approach for MDTC, in accordance with our theoretical analysis.
To validate the efficacy of the proposed MDAT method, we conduct empirical
studies on two MDTC benchmarks. The experimental results demonstrate that our
MDAT approach surpasses state-of-the-art baselines on both datasets. | cs.CL | Margin Discrepancy-based Adversarial Training for Multi-Domain Text Classification |
2024-03-01T11:33:53Z | http://arxiv.org/pdf/2403.00462v2 | http://arxiv.org/abs/2403.00462v2 | Joe Stacey, Jianpeng Cheng, John Torr, Tristan Guigue, Joris Driesen, Alexandru Coca, Mark Gaynor, Anders Johannsen | 2024-05-03T16:57:07Z | cs.CL, I.2.7 | Spurred by recent advances in Large Language Models (LLMs), virtual
assistants are poised to take a leap forward in terms of their dialogue
capabilities. Yet a major bottleneck to achieving genuinely transformative
task-oriented dialogue capabilities remains the scarcity of high quality data.
Existing datasets, while impressive in scale, have limited domain coverage and
contain few genuinely challenging conversational phenomena; those which are
present are typically unlabelled, making it difficult to assess the strengths
and weaknesses of models without time-consuming and costly human evaluation.
Moreover, creating high quality dialogue data has until now required
considerable human input, limiting both the scale of these datasets and the
ability to rapidly bootstrap data for a new target domain. We aim to overcome
these issues with LUCID, a modularised and highly automated LLM-driven data
generation system that produces realistic, diverse and challenging dialogues.
We use LUCID to generate a seed dataset of 4,277 conversations across 100
intents to demonstrate its capabilities, with a human review finding
consistently high quality labels in the generated data. | cs.CL | LUCID: LLM-Generated Utterances for Complex and Interesting Dialogues |
2024-03-01T11:28:37Z | http://arxiv.org/pdf/2403.00887v1 | http://arxiv.org/abs/2403.00887v1 | Aron R, Indra Sigicharla, Chirag Periwal, Mohanaprasad K, Nithya Darisini P S, Sourabh Tiwari, Shivani Arora | 2024-03-01T11:28:37Z | eess.AS, cs.AI, cs.CL, cs.LG, cs.SD | The interpretation of human voices holds importance across various
applications. This study ventures into predicting age, gender, and emotion from
vocal cues, a field with vast applications. Voice analysis tech advancements
span domains, from improving customer interactions to enhancing healthcare and
retail experiences. Discerning emotions aids mental health, while age and
gender detection are vital in various contexts. Exploring deep learning models
for these predictions involves comparing single, multi-output, and sequential
models highlighted in this paper. Sourcing suitable data posed challenges,
resulting in the amalgamation of the CREMA-D and EMO-DB datasets. Prior work
showed promise in individual predictions, but limited research considered all
three variables simultaneously. This paper identifies flaws in an individual
model approach and advocates for our novel multi-output learning architecture
Speech-based Emotion Gender and Age Analysis (SEGAA) model. The experiments
suggest that Multi-output models perform comparably to individual models,
efficiently capturing the intricate relationships between variables and speech
inputs, all while achieving improved runtime. | eess.AS | SEGAA: A Unified Approach to Predicting Age, Gender, and Emotion in Speech |
2024-03-01T10:47:02Z | http://arxiv.org/pdf/2403.00438v1 | http://arxiv.org/abs/2403.00438v1 | Kirill Milintsevich, Kairit Sirts, Gaël Dias | 2024-03-01T10:47:02Z | cs.CL | This paper addresses the quality of annotations in mental health datasets
used for NLP-based depression level estimation from social media texts. While
previous research relies on social media-based datasets annotated with binary
categories, i.e. depressed or non-depressed, recent datasets such as D2S and
PRIMATE aim for nuanced annotations using PHQ-9 symptoms. However, most of
these datasets rely on crowd workers without the domain knowledge for
annotation. Focusing on the PRIMATE dataset, our study reveals concerns
regarding annotation validity, particularly for the lack of interest or
pleasure symptom. Through reannotation by a mental health professional, we
introduce finer labels and textual spans as evidence, identifying a notable
number of false positives. Our refined annotations, to be released under a Data
Use Agreement, offer a higher-quality test set for anhedonia detection. This
study underscores the necessity of addressing annotation quality issues in
mental health datasets, advocating for improved methodologies to enhance NLP
model reliability in mental health assessments. | cs.CL | Your Model Is Not Predicting Depression Well And That Is Why: A Case Study of PRIMATE Dataset |
2024-03-01T10:38:07Z | http://arxiv.org/pdf/2403.00435v1 | http://arxiv.org/abs/2403.00435v1 | Tom Hosking, Hao Tang, Mirella Lapata | 2024-03-01T10:38:07Z | cs.CL | We propose a method for unsupervised abstractive opinion summarization, that
combines the attributability and scalability of extractive approaches with the
coherence and fluency of Large Language Models (LLMs). Our method, HIRO, learns
an index structure that maps sentences to a path through a semantically
organized discrete hierarchy. At inference time, we populate the index and use
it to identify and retrieve clusters of sentences containing popular opinions
from input reviews. Then, we use a pretrained LLM to generate a readable
summary that is grounded in these extracted evidential clusters. The modularity
of our approach allows us to evaluate its efficacy at each stage. We show that
HIRO learns an encoding space that is more semantically structured than prior
work, and generates summaries that are more representative of the opinions in
the input reviews. Human evaluation confirms that HIRO generates more coherent,
detailed and accurate summaries that are significantly preferred by annotators
compared to prior work. | cs.CL | Hierarchical Indexing for Retrieval-Augmented Opinion Summarization |
2024-03-01T10:10:34Z | http://arxiv.org/pdf/2403.00418v2 | http://arxiv.org/abs/2403.00418v2 | Jana Juroš, Laura Majer, Jan Šnajder | 2024-05-28T11:04:32Z | cs.CL | News headlines often evoke sentiment by intentionally portraying entities in
particular ways, making targeted sentiment analysis (TSA) of headlines a
worthwhile but difficult task. Due to its subjectivity, creating TSA datasets
can involve various annotation paradigms, from descriptive to prescriptive,
either encouraging or limiting subjectivity. LLMs are a good fit for TSA due to
their broad linguistic and world knowledge and in-context learning abilities,
yet their performance depends on prompt design. In this paper, we compare the
accuracy of state-of-the-art LLMs and fine-tuned encoder models for TSA of news
headlines using descriptive and prescriptive datasets across several languages.
Exploring the descriptive--prescriptive continuum, we analyze how performance
is affected by prompt prescriptiveness, ranging from plain zero-shot to
elaborate few-shot prompts. Finally, we evaluate the ability of LLMs to
quantify uncertainty via calibration error and comparison to human label
variation. We find that LLMs outperform fine-tuned encoders on descriptive
datasets, while calibration and F1-score generally improve with increased
prescriptiveness, yet the optimal level varies. | cs.CL | LLMs for Targeted Sentiment in News Headlines: Exploring the Descriptive-Prescriptive Dilemma |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.