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-04-03T13:00:47Z | http://arxiv.org/pdf/2406.11854v1 | http://arxiv.org/abs/2406.11854v1 | Eyal Aharoni, Sharlene Fernandes, Daniel J. Brady, Caelan Alexander, Michael Criner, Kara Queen, Javier Rando, Eddy Nahmias, Victor Crespo | 2024-04-03T13:00:47Z | cs.CY, cs.AI, cs.CL | Advances in artificial intelligence (AI) raise important questions about
whether people view moral evaluations by AI systems similarly to
human-generated moral evaluations. We conducted a modified Moral Turing Test
(m-MTT), inspired by Allen and colleagues' (2000) proposal, by asking people to
distinguish real human moral evaluations from those made by a popular advanced
AI language model: GPT-4. A representative sample of 299 U.S. adults first
rated the quality of moral evaluations when blinded to their source.
Remarkably, they rated the AI's moral reasoning as superior in quality to
humans' along almost all dimensions, including virtuousness, intelligence, and
trustworthiness, consistent with passing what Allen and colleagues call the
comparative MTT. Next, when tasked with identifying the source of each
evaluation (human or computer), people performed significantly above chance
levels. Although the AI did not pass this test, this was not because of its
inferior moral reasoning but, potentially, its perceived superiority, among
other possible explanations. The emergence of language models capable of
producing moral responses perceived as superior in quality to humans' raises
concerns that people may uncritically accept potentially harmful moral guidance
from AI. This possibility highlights the need for safeguards around generative
language models in matters of morality. | cs.CY | Attributions toward Artificial Agents in a modified Moral Turing Test |
2024-04-03T12:57:19Z | http://arxiv.org/pdf/2404.02699v1 | http://arxiv.org/abs/2404.02699v1 | Zihan Yao, Yu He, Tianyu Qi, Ming Li | 2024-04-03T12:57:19Z | cs.CL | Addressing the issue of hallucinations and outdated knowledge in large
language models is critical for their reliable application. Model Editing
presents a promising avenue for mitigating these challenges in a cost-effective
manner. However, existing methods often suffer from unsatisfactory
generalization and unintended effects on unrelated samples. To overcome these
limitations, we introduce a novel approach: Scalable Model Editing via
Customized Expert Networks (SCEN), which is a two-stage continuous training
paradigm. Specifically, in the first stage, we train lightweight expert
networks individually for each piece of knowledge that needs to be updated.
Subsequently, we train a corresponding neuron for each expert to control the
activation state of that expert. Our experiments on two different sizes of
open-source large language models, the Llama2 7B and 13B, achieve
state-of-the-art results compared to existing mainstream Model Editing methods.
Our code is available at https: //github.com/TAL-auroraX/SCEN | cs.CL | Scalable Model Editing via Customized Expert Networks |
2024-04-03T12:37:34Z | http://arxiv.org/pdf/2404.02690v1 | http://arxiv.org/abs/2404.02690v1 | Yichuan Deng, Zhao Song, Chiwun Yang | 2024-04-03T12:37:34Z | cs.LG, cs.AI, cs.CL | The computational intensity of Large Language Models (LLMs) is a critical
bottleneck, primarily due to the $O(n^2)$ complexity of the attention mechanism
in transformer architectures. Addressing this, sparse attention emerges as a
key innovation, aiming to reduce computational load while maintaining model
performance. This study presents a rigorous theoretical analysis of the
sparsity in attention scores within LLMs, particularly under the framework of
Gaussian inputs. By establishing a set of foundational assumptions and
employing a methodical theoretical approach, we unravel the intrinsic
characteristics of attention score sparsity and its implications on
computational efficiency. Our main contribution lies in providing a detailed
theoretical examination of how sparsity manifests in attention mechanisms,
offering insights into the potential trade-offs between computational savings
and model effectiveness. This work not only advances our understanding of
sparse attention but also provides a scaffold for future research in optimizing
the computational frameworks of LLMs, paving the way for more scalable and
efficient AI systems. | cs.LG | Attention is Naturally Sparse with Gaussian Distributed Input |
2024-04-03T12:27:36Z | http://arxiv.org/pdf/2404.02684v1 | http://arxiv.org/abs/2404.02684v1 | Sehyun Choi | 2024-04-03T12:27:36Z | cs.CL, cs.AI, cs.LG | Recently, multiple architectures has been proposed to improve the efficiency
of the Transformer Language Models through changing the design of the
self-attention block to have a linear-cost inference (LCI). A notable approach
in this realm is the State-Space Machines (SSMs) architecture, which showed
on-par performance on language modeling tasks with the self-attention
transformers. However, such an architectural change requires a full pretraining
of the weights from scratch, which incurs a huge cost to researchers and
practitioners who want to use the new architectures. In the more traditional
linear attention works, it has been proposed to approximate full attention with
linear attention by swap-and-finetune framework. Motivated by this approach, we
propose Cross-Architecture Transfer Learning (XATL), in which the weights of
the shared components between LCI and self-attention-based transformers, such
as layernorms, MLPs, input/output embeddings, are directly transferred to the
new architecture from already pre-trained model parameters. We experimented the
efficacy of the method on varying sizes and alternative attention architectures
and show that \methodabbr significantly reduces the training time up to 2.5x
times and converges to a better minimum with up to 2.6% stronger model on the
LM benchmarks within the same compute budget. | cs.CL | Cross-Architecture Transfer Learning for Linear-Cost Inference Transformers |
2024-04-03T12:24:48Z | http://arxiv.org/pdf/2404.02681v1 | http://arxiv.org/abs/2404.02681v1 | Arianna Muti, Federico Ruggeri, Cagri Toraman, Lorenzo Musetti, Samuel Algherini, Silvia Ronchi, Gianmarco Saretto, Caterina Zapparoli, Alberto Barrón-Cedeño | 2024-04-03T12:24:48Z | cs.CL, cs.AI | Misogyny is often expressed through figurative language. Some neutral words
can assume a negative connotation when functioning as pejorative epithets.
Disambiguating the meaning of such terms might help the detection of misogyny.
In order to address such task, we present PejorativITy, a novel corpus of 1,200
manually annotated Italian tweets for pejorative language at the word level and
misogyny at the sentence level. We evaluate the impact of injecting information
about disambiguated words into a model targeting misogyny detection. In
particular, we explore two different approaches for injection: concatenation of
pejorative information and substitution of ambiguous words with univocal terms.
Our experimental results, both on our corpus and on two popular benchmarks on
Italian tweets, show that both approaches lead to a major classification
improvement, indicating that word sense disambiguation is a promising
preliminary step for misogyny detection. Furthermore, we investigate LLMs'
understanding of pejorative epithets by means of contextual word embeddings
analysis and prompting. | cs.CL | PejorativITy: Disambiguating Pejorative Epithets to Improve Misogyny Detection in Italian Tweets |
2024-04-03T12:20:51Z | http://arxiv.org/pdf/2404.02677v2 | http://arxiv.org/abs/2404.02677v2 | Natalia Tomashenko, Xiaoxiao Miao, Pierre Champion, Sarina Meyer, Xin Wang, Emmanuel Vincent, Michele Panariello, Nicholas Evans, Junichi Yamagishi, Massimiliano Todisco | 2024-06-12T14:05:43Z | eess.AS, cs.CL, cs.CR | The task of the challenge is to develop a voice anonymization system for
speech data which conceals the speaker's voice identity while protecting
linguistic content and emotional states. The organizers provide development and
evaluation datasets and evaluation scripts, as well as baseline anonymization
systems and a list of training resources formed on the basis of the
participants' requests. Participants apply their developed anonymization
systems, run evaluation scripts and submit evaluation results and anonymized
speech data to the organizers. Results will be presented at a workshop held in
conjunction with Interspeech 2024 to which all participants are invited to
present their challenge systems and to submit additional workshop papers. | eess.AS | The VoicePrivacy 2024 Challenge Evaluation Plan |
2024-04-03T11:40:17Z | http://arxiv.org/pdf/2404.02657v2 | http://arxiv.org/abs/2404.02657v2 | Taiqiang Wu, Chaofan Tao, Jiahao Wang, Zhe Zhao, Ngai Wong | 2024-06-16T14:32:48Z | cs.CL, cs.AI | Kullback-Leiber divergence has been widely used in Knowledge Distillation
(KD) to compress Large Language Models (LLMs). Contrary to prior assertions
that reverse Kullback-Leibler (RKL) divergence is mode-seeking and thus
preferable over the mean-seeking forward Kullback-Leibler (FKL) divergence,
this study empirically and theoretically demonstrates that neither mode-seeking
nor mean-seeking properties manifest in KD for LLMs. Instead, RKL and FKL are
found to share the same optimization objective and both converge after a
sufficient number of epochs. However, due to practical constraints, LLMs are
seldom trained for such an extensive number of epochs. Meanwhile, we further
find that RKL focuses on the tail part of the distributions, while FKL focuses
on the head part at the beginning epochs. Consequently, we propose a simple yet
effective Adaptive Kullback-Leiber (AKL) divergence method, which adaptively
allocates weights to combine FKL and RKL. Metric-based and GPT-4-based
evaluations demonstrate that the proposed AKL outperforms the baselines across
various tasks and improves the diversity and quality of generated responses. | cs.CL | Rethinking Kullback-Leibler Divergence in Knowledge Distillation for Large Language Models |
2024-04-03T11:36:12Z | http://arxiv.org/pdf/2404.02655v1 | http://arxiv.org/abs/2404.02655v1 | Mozhi Zhang, Mianqiu Huang, Rundong Shi, Linsen Guo, Chong Peng, Peng Yan, Yaqian Zhou, Xipeng Qiu | 2024-04-03T11:36:12Z | cs.CL | Large language models optimized with techniques like RLHF have achieved good
alignment in being helpful and harmless. However, post-alignment, these
language models often exhibit overconfidence, where the expressed confidence
does not accurately calibrate with their correctness rate. In this paper, we
decompose the language model confidence into the \textit{Uncertainty} about the
question and the \textit{Fidelity} to the answer generated by language models.
Then, we propose a plug-and-play method to estimate the confidence of language
models. Our method has shown good calibration performance by conducting
experiments with 6 RLHF-LMs on four MCQA datasets. Moreover, we propose two
novel metrics, IPR and CE, to evaluate the calibration of the model, and we
have conducted a detailed discussion on \textit{Truly Well-Calibrated
Confidence}. Our method could serve as a strong baseline, and we hope that this
work will provide some insights into the model confidence calibration. | cs.CL | Calibrating the Confidence of Large Language Models by Eliciting Fidelity |
2024-04-03T11:25:20Z | http://arxiv.org/pdf/2404.02650v1 | http://arxiv.org/abs/2404.02650v1 | Anna Kruspe | 2024-04-03T11:25:20Z | cs.LG, cs.AI, cs.CL | Over the last year, Large Language Models (LLMs) like ChatGPT have become
widely available and have exhibited fairness issues similar to those in
previous machine learning systems. Current research is primarily focused on
analyzing and quantifying these biases in training data and their impact on the
decisions of these models, alongside developing mitigation strategies. This
research largely targets well-known biases related to gender, race, ethnicity,
and language. However, it is clear that LLMs are also affected by other, less
obvious implicit biases. The complex and often opaque nature of these models
makes detecting such biases challenging, yet this is crucial due to their
potential negative impact in various applications. In this paper, we explore
new avenues for detecting these unanticipated biases in LLMs, focusing
specifically on Uncertainty Quantification and Explainable AI methods. These
approaches aim to assess the certainty of model decisions and to make the
internal decision-making processes of LLMs more transparent, thereby
identifying and understanding biases that are not immediately apparent. Through
this research, we aim to contribute to the development of fairer and more
transparent AI systems. | cs.LG | Towards detecting unanticipated bias in Large Language Models |
2024-04-03T10:29:06Z | http://arxiv.org/pdf/2404.02625v1 | http://arxiv.org/abs/2404.02625v1 | Mokanarangan Thayaparan, Marco Valentino, André Freitas | 2024-04-03T10:29:06Z | cs.CL, cs.AI, cs.LG | Integer Linear Programming (ILP) has been proposed as a formalism for
encoding precise structural and semantic constraints for Natural Language
Inference (NLI). However, traditional ILP frameworks are non-differentiable,
posing critical challenges for the integration of continuous language
representations based on deep learning. In this paper, we introduce a novel
approach, named Diff-Comb Explainer, a neuro-symbolic architecture for
explanation-based NLI based on Differentiable BlackBox Combinatorial Solvers
(DBCS). Differently from existing neuro-symbolic solvers, Diff-Comb Explainer
does not necessitate a continuous relaxation of the semantic constraints,
enabling a direct, more precise, and efficient incorporation of neural
representations into the ILP formulation. Our experiments demonstrate that
Diff-Comb Explainer achieves superior performance when compared to conventional
ILP solvers, neuro-symbolic black-box solvers, and Transformer-based encoders.
Moreover, a deeper analysis reveals that Diff-Comb Explainer can significantly
improve the precision, consistency, and faithfulness of the constructed
explanations, opening new opportunities for research on neuro-symbolic
architectures for explainable and transparent NLI in complex domains. | cs.CL | A Differentiable Integer Linear Programming Solver for Explanation-Based Natural Language Inference |
2024-04-03T10:22:35Z | http://arxiv.org/pdf/2404.02622v1 | http://arxiv.org/abs/2404.02622v1 | Julia Rozanova, Marco Valentino, André Freitas | 2024-04-03T10:22:35Z | cs.CL | Rigorous evaluation of the causal effects of semantic features on language
model predictions can be hard to achieve for natural language reasoning
problems. However, this is such a desirable form of analysis from both an
interpretability and model evaluation perspective, that it is valuable to
investigate specific patterns of reasoning with enough structure and regularity
to identify and quantify systematic reasoning failures in widely-used models.
In this vein, we pick a portion of the NLI task for which an explicit causal
diagram can be systematically constructed: the case where across two sentences
(the premise and hypothesis), two related words/terms occur in a shared
context. In this work, we apply causal effect estimation strategies to measure
the effect of context interventions (whose effect on the entailment label is
mediated by the semantic monotonicity characteristic) and interventions on the
inserted word-pair (whose effect on the entailment label is mediated by the
relation between these words). Extending related work on causal analysis of NLP
models in different settings, we perform an extensive interventional study on
the NLI task to investigate robustness to irrelevant changes and sensitivity to
impactful changes of Transformers. The results strongly bolster the fact that
similar benchmark accuracy scores may be observed for models that exhibit very
different behaviour. Moreover, our methodology reinforces previously suspected
biases from a causal perspective, including biases in favour of upward-monotone
contexts and ignoring the effects of negation markers. | cs.CL | Estimating the Causal Effects of Natural Logic Features in Transformer-Based NLI Models |
2024-04-03T10:13:18Z | http://arxiv.org/pdf/2404.02619v1 | http://arxiv.org/abs/2404.02619v1 | Katrin Erk, Marianna Apidianaki | 2024-04-03T10:13:18Z | cs.CL | Embedding spaces contain interpretable dimensions indicating gender,
formality in style, or even object properties. This has been observed multiple
times. Such interpretable dimensions are becoming valuable tools in different
areas of study, from social science to neuroscience. The standard way to
compute these dimensions uses contrasting seed words and computes difference
vectors over them. This is simple but does not always work well. We combine
seed-based vectors with guidance from human ratings of where words fall along a
specific dimension, and evaluate on predicting both object properties like size
and danger, and the stylistic properties of formality and complexity. We obtain
interpretable dimensions with markedly better performance especially in cases
where seed-based dimensions do not work well. | cs.CL | Adjusting Interpretable Dimensions in Embedding Space with Human Judgments |
2024-04-03T10:05:47Z | http://arxiv.org/pdf/2404.02616v1 | http://arxiv.org/abs/2404.02616v1 | Yizhu Liu, Ran Tao, Shengyu Guo, Yifan Yang | 2024-04-03T10:05:47Z | cs.IR, cs.CL | Topic relevance between query and document is a very important part of social
search, which can evaluate the degree of matching between document and user's
requirement. In most social search scenarios such as Dianping, modeling search
relevance always faces two challenges. One is that many documents in social
search are very long and have much redundant information. The other is that the
training data for search relevance model is difficult to get, especially for
multi-classification relevance model. To tackle above two problems, we first
take query concatenated with the query-based summary and the document summary
without query as the input of topic relevance model, which can help model learn
the relevance degree between query and the core topic of document. Then, we
utilize the language understanding and generation abilities of large language
model (LLM) to rewrite and generate query from queries and documents in
existing training data, which can construct new query-document pairs as
training data. Extensive offline experiments and online A/B tests show that the
proposed approaches effectively improve the performance of relevance modeling. | cs.IR | Improving Topic Relevance Model by Mix-structured Summarization and LLM-based Data Augmentation |
2024-04-03T09:17:38Z | http://arxiv.org/pdf/2404.02592v1 | http://arxiv.org/abs/2404.02592v1 | Yejin Jeon, Yunsu Kim, Gary Geunbae Lee | 2024-04-03T09:17:38Z | cs.CL, cs.SD, eess.AS | Contemporary neural speech synthesis models have indeed demonstrated
remarkable proficiency in synthetic speech generation as they have attained a
level of quality comparable to that of human-produced speech. Nevertheless, it
is important to note that these achievements have predominantly been verified
within the context of high-resource languages such as English. Furthermore, the
Tacotron and FastSpeech variants show substantial pausing errors when applied
to the Korean language, which affects speech perception and naturalness. In
order to address the aforementioned issues, we propose a novel framework that
incorporates comprehensive modeling of both syntactic and acoustic cues that
are associated with pausing patterns. Remarkably, our framework possesses the
capability to consistently generate natural speech even for considerably more
extended and intricate out-of-domain (OOD) sentences, despite its training on
short audio clips. Architectural design choices are validated through
comparisons with baseline models and ablation studies using subjective and
objective metrics, thus confirming model performance. | cs.CL | Leveraging the Interplay Between Syntactic and Acoustic Cues for Optimizing Korean TTS Pause Formation |
2024-04-03T09:14:24Z | http://arxiv.org/pdf/2404.02589v1 | http://arxiv.org/abs/2404.02589v1 | Zhiyuan Wen, Jiannong Cao, Yu Yang, Ruosong Yang, Shuaiqi Liu | 2024-04-03T09:14:24Z | cs.CL, cs.AI | Personality Recognition in Conversation (PRC) aims to identify the
personality traits of speakers through textual dialogue content. It is
essential for providing personalized services in various applications of
Human-Computer Interaction (HCI), such as AI-based mental therapy and companion
robots for the elderly. Most recent studies analyze the dialog content for
personality classification yet overlook two major concerns that hinder their
performance. First, crucial implicit factors contained in conversation, such as
emotions that reflect the speakers' personalities are ignored. Second, only
focusing on the input dialog content disregards the semantic understanding of
personality itself, which reduces the interpretability of the results. In this
paper, we propose Affective Natural Language Inference (Affective-NLI) for
accurate and interpretable PRC. To utilize affectivity within dialog content
for accurate personality recognition, we fine-tuned a pre-trained language
model specifically for emotion recognition in conversations, facilitating
real-time affective annotations for utterances. For interpretability of
recognition results, we formulate personality recognition as an NLI problem by
determining whether the textual description of personality labels is entailed
by the dialog content. Extensive experiments on two daily conversation datasets
suggest that Affective-NLI significantly outperforms (by 6%-7%)
state-of-the-art approaches. Additionally, our Flow experiment demonstrates
that Affective-NLI can accurately recognize the speaker's personality in the
early stages of conversations by surpassing state-of-the-art methods with
22%-34%. | cs.CL | Affective-NLI: Towards Accurate and Interpretable Personality Recognition in Conversation |
2024-04-03T09:13:26Z | http://arxiv.org/pdf/2404.02588v1 | http://arxiv.org/abs/2404.02588v1 | Jakub Hoscilowicz, Pawel Pawlowski, Marcin Skorupa, Marcin Sowański, Artur Janicki | 2024-04-03T09:13:26Z | cs.CL | Spoken Language Understanding (SLU) models are a core component of voice
assistants (VA), such as Alexa, Bixby, and Google Assistant. In this paper, we
introduce a pipeline designed to extend SLU systems to new languages, utilizing
Large Language Models (LLMs) that we fine-tune for machine translation of
slot-annotated SLU training data. Our approach improved on the MultiATIS++
benchmark, a primary multi-language SLU dataset, in the cloud scenario using an
mBERT model. Specifically, we saw an improvement in the Overall Accuracy
metric: from 53% to 62.18%, compared to the existing state-of-the-art method,
Fine and Coarse-grained Multi-Task Learning Framework (FC-MTLF). In the
on-device scenario (tiny and not pretrained SLU), our method improved the
Overall Accuracy from 5.31% to 22.06% over the baseline Global-Local
Contrastive Learning Framework (GL-CLeF) method. Contrary to both FC-MTLF and
GL-CLeF, our LLM-based machine translation does not require changes in the
production architecture of SLU. Additionally, our pipeline is slot-type
independent: it does not require any slot definitions or examples. | cs.CL | Large Language Models for Expansion of Spoken Language Understanding Systems to New Languages |
2024-04-03T08:56:00Z | http://arxiv.org/pdf/2404.02581v1 | http://arxiv.org/abs/2404.02581v1 | Eunseong Choi, Hyeri Lee, Jongwuk Lee | 2024-04-03T08:56:00Z | cs.CL, cs.IR | In Open-domain Question Answering (ODQA), it is essential to discern relevant
contexts as evidence and avoid spurious ones among retrieved results. The model
architecture that uses concatenated multiple contexts in the decoding phase,
i.e., Fusion-in-Decoder, demonstrates promising performance but generates
incorrect outputs from seemingly plausible contexts. To address this problem,
we propose the Multi-Granularity guided Fusion-in-Decoder (MGFiD), discerning
evidence across multiple levels of granularity. Based on multi-task learning,
MGFiD harmonizes passage re-ranking with sentence classification. It aggregates
evident sentences into an anchor vector that instructs the decoder.
Additionally, it improves decoding efficiency by reusing the results of passage
re-ranking for passage pruning. Through our experiments, MGFiD outperforms
existing models on the Natural Questions (NQ) and TriviaQA (TQA) datasets,
highlighting the benefits of its multi-granularity solution. | cs.CL | Multi-Granularity Guided Fusion-in-Decoder |
2024-04-03T08:49:11Z | http://arxiv.org/pdf/2404.02575v1 | http://arxiv.org/abs/2404.02575v1 | Hyungjoo Chae, Yeonghyeon Kim, Seungone Kim, Kai Tzu-iunn Ong, Beong-woo Kwak, Moohyeon Kim, Seonghwan Kim, Taeyoon Kwon, Jiwan Chung, Youngjae Yu, Jinyoung Yeo | 2024-04-03T08:49:11Z | cs.CL | Algorithmic reasoning refers to the ability to understand the complex
patterns behind the problem and decompose them into a sequence of reasoning
steps towards the solution. Such nature of algorithmic reasoning makes it a
challenge for large language models (LLMs), even though they have demonstrated
promising performance in other reasoning tasks. Within this context, some
recent studies use programming languages (e.g., Python) to express the
necessary logic for solving a given instance/question (e.g.,
Program-of-Thought) as inspired by their strict and precise syntaxes. However,
it is non-trivial to write an executable code that expresses the correct logic
on the fly within a single inference call. Also, the code generated
specifically for an instance cannot be reused for others, even if they are from
the same task and might require identical logic to solve. This paper presents
Think-and-Execute, a novel framework that decomposes the reasoning process of
language models into two steps. (1) In Think, we discover a task-level logic
that is shared across all instances for solving a given task and then express
the logic with pseudocode; (2) In Execute, we further tailor the generated
pseudocode to each instance and simulate the execution of the code. With
extensive experiments on seven algorithmic reasoning tasks, we demonstrate the
effectiveness of Think-and-Execute. Our approach better improves LMs' reasoning
compared to several strong baselines performing instance-specific reasoning
(e.g., CoT and PoT), suggesting the helpfulness of discovering task-level
logic. Also, we show that compared to natural language, pseudocode can better
guide the reasoning of LMs, even though they are trained to follow natural
language instructions. | cs.CL | Language Models as Compilers: Simulating Pseudocode Execution Improves Algorithmic Reasoning in Language Models |
2024-04-03T08:48:50Z | http://arxiv.org/pdf/2404.07229v1 | http://arxiv.org/abs/2404.07229v1 | Zhiyuan Wen, Jiannong Cao, Jiaxing Shen, Ruosong Yang, Shuaiqi Liu, Maosong Sun | 2024-04-03T08:48:50Z | cs.CL, cs.AI | Generating appropriate emotions for responses is essential for dialog systems
to provide human-like interaction in various application scenarios. Most
previous dialog systems tried to achieve this goal by learning empathetic
manners from anonymous conversational data. However, emotional responses
generated by those methods may be inconsistent, which will decrease user
engagement and service quality. Psychological findings suggest that the
emotional expressions of humans are rooted in personality traits. Therefore, we
propose a new task, Personality-affected Emotion Generation, to generate
emotion based on the personality given to the dialog system and further
investigate a solution through the personality-affected mood transition.
Specifically, we first construct a daily dialog dataset, Personality
EmotionLines Dataset (PELD), with emotion and personality annotations.
Subsequently, we analyze the challenges in this task, i.e., (1) heterogeneously
integrating personality and emotional factors and (2) extracting
multi-granularity emotional information in the dialog context. Finally, we
propose to model the personality as the transition weight by simulating the
mood transition process in the dialog system and solve the challenges above. We
conduct extensive experiments on PELD for evaluation. Results suggest that by
adopting our method, the emotion generation performance is improved by 13% in
macro-F1 and 5% in weighted-F1 from the BERT-base model. | cs.CL | Personality-affected Emotion Generation in Dialog Systems |
2024-04-03T08:44:51Z | http://arxiv.org/pdf/2404.02570v1 | http://arxiv.org/abs/2404.02570v1 | Shijia Zhou, Huangyan Shan, Barbara Plank, Robert Litschko | 2024-04-03T08:44:51Z | cs.CL | This paper presents our system developed for the SemEval-2024 Task 1:
Semantic Textual Relatedness (STR), on Track C: Cross-lingual. The task aims to
detect semantic relatedness of two sentences in a given target language without
access to direct supervision (i.e. zero-shot cross-lingual transfer). To this
end, we focus on different source language selection strategies on two
different pre-trained languages models: XLM-R and Furina. We experiment with 1)
single-source transfer and select source languages based on typological
similarity, 2) augmenting English training data with the two nearest-neighbor
source languages, and 3) multi-source transfer where we compare selecting on
all training languages against languages from the same family. We further study
machine translation-based data augmentation and the impact of script
differences. Our submission achieved the first place in the C8 (Kinyarwanda)
test set. | cs.CL | MaiNLP at SemEval-2024 Task 1: Analyzing Source Language Selection in Cross-Lingual Textual Relatedness |
2024-04-03T07:55:57Z | http://arxiv.org/pdf/2404.02540v2 | http://arxiv.org/abs/2404.02540v2 | Nishat Raihan, Dhiman Goswami, Sadiya Sayara Chowdhury Puspo, Christian Newman, Tharindu Ranasinghe, Marcos Zampieri | 2024-04-04T04:17:27Z | cs.CL | Recent advances in AI, machine learning, and NLP have led to the development
of a new generation of Large Language Models (LLMs) that are trained on massive
amounts of data and often have trillions of parameters. Commercial applications
(e.g., ChatGPT) have made this technology available to the general public, thus
making it possible to use LLMs to produce high-quality texts for academic and
professional purposes. Schools and universities are aware of the increasing use
of AI-generated content by students and they have been researching the impact
of this new technology and its potential misuse. Educational programs in
Computer Science (CS) and related fields are particularly affected because LLMs
are also capable of generating programming code in various programming
languages. To help understand the potential impact of publicly available LLMs
in CS education, we introduce CSEPrompts, a framework with hundreds of
programming exercise prompts and multiple-choice questions retrieved from
introductory CS and programming courses. We also provide experimental results
on CSEPrompts to evaluate the performance of several LLMs with respect to
generating Python code and answering basic computer science and programming
questions. | cs.CL | CSEPrompts: A Benchmark of Introductory Computer Science Prompts |
2024-04-03T07:44:38Z | http://arxiv.org/pdf/2404.02534v1 | http://arxiv.org/abs/2404.02534v1 | Osvaldo Luamba Quinjica, David Ifeoluwa Adelani | 2024-04-03T07:44:38Z | cs.CL, cs.AI | In recent years, the development of pre-trained language models (PLMs) has
gained momentum, showcasing their capacity to transcend linguistic barriers and
facilitate knowledge transfer across diverse languages. However, this progress
has predominantly bypassed the inclusion of very-low resource languages,
creating a notable void in the multilingual landscape. This paper addresses
this gap by introducing four tailored PLMs specifically finetuned for Angolan
languages, employing a Multilingual Adaptive Fine-tuning (MAFT) approach. In
this paper, we survey the role of informed embedding initialization and
synthetic data in enhancing the performance of MAFT models in downstream tasks.
We improve baseline over SOTA AfroXLMR-base (developed through MAFT) and OFA
(an effective embedding initialization) by 12.3 and 3.8 points respectively. | cs.CL | ANGOFA: Leveraging OFA Embedding Initialization and Synthetic Data for Angolan Language Model |
2024-04-03T07:43:11Z | http://arxiv.org/pdf/2404.02532v1 | http://arxiv.org/abs/2404.02532v1 | Qianqiao Xu, Zhiliang Tian, Hongyan Wu, Zhen Huang, Yiping Song, Feng Liu, Dongsheng Li | 2024-04-03T07:43:11Z | cs.AI, cs.CL | With the enhanced performance of large models on natural language processing
tasks, potential moral and ethical issues of large models arise. There exist
malicious attackers who induce large models to jailbreak and generate
information containing illegal, privacy-invasive information through techniques
such as prompt engineering. As a result, large models counter malicious
attackers' attacks using techniques such as safety alignment. However, the
strong defense mechanism of the large model through rejection replies is easily
identified by attackers and used to strengthen attackers' capabilities. In this
paper, we propose a multi-agent attacker-disguiser game approach to achieve a
weak defense mechanism that allows the large model to both safely reply to the
attacker and hide the defense intent. First, we construct a multi-agent
framework to simulate attack and defense scenarios, playing different roles to
be responsible for attack, disguise, safety evaluation, and disguise evaluation
tasks. After that, we design attack and disguise game algorithms to optimize
the game strategies of the attacker and the disguiser and use the curriculum
learning process to strengthen the capabilities of the agents. The experiments
verify that the method in this paper is more effective in strengthening the
model's ability to disguise the defense intent compared with other methods.
Moreover, our approach can adapt any black-box large model to assist the model
in defense and does not suffer from model version iterations. | cs.AI | Learn to Disguise: Avoid Refusal Responses in LLM's Defense via a Multi-agent Attacker-Disguiser Game |
2024-04-03T07:31:53Z | http://arxiv.org/pdf/2404.02529v1 | http://arxiv.org/abs/2404.02529v1 | Maja Stahl, Nadine Michel, Sebastian Kilsbach, Julian Schmidtke, Sara Rezat, Henning Wachsmuth | 2024-04-03T07:31:53Z | cs.CL | Learning argumentative writing is challenging. Besides writing fundamentals
such as syntax and grammar, learners must select and arrange argument
components meaningfully to create high-quality essays. To support argumentative
writing computationally, one step is to mine the argumentative structure. When
combined with automatic essay scoring, interactions of the argumentative
structure and quality scores can be exploited for comprehensive writing
support. Although studies have shown the usefulness of using information about
the argumentative structure for essay scoring, no argument mining corpus with
ground-truth essay quality annotations has been published yet. Moreover, none
of the existing corpora contain essays written by school students specifically.
To fill this research gap, we present a German corpus of 1,320 essays from
school students of two age groups. Each essay has been manually annotated for
argumentative structure and quality on multiple levels of granularity. We
propose baseline approaches to argument mining and essay scoring, and we
analyze interactions between both tasks, thereby laying the ground for
quality-oriented argumentative writing support. | cs.CL | A School Student Essay Corpus for Analyzing Interactions of Argumentative Structure and Quality |
2024-04-03T06:57:45Z | http://arxiv.org/pdf/2404.02512v1 | http://arxiv.org/abs/2404.02512v1 | Vandan Mujadia, Pruthwik Mishra, Arafat Ahsan, Dipti Misra Sharma | 2024-04-03T06:57:45Z | cs.CL | With the primary focus on evaluating the effectiveness of large language
models for automatic reference-less translation assessment, this work presents
our experiments on mimicking human direct assessment to evaluate the quality of
translations in English and Indian languages. We constructed a translation
evaluation task where we performed zero-shot learning, in-context
example-driven learning, and fine-tuning of large language models to provide a
score out of 100, where 100 represents a perfect translation and 1 represents a
poor translation. We compared the performance of our trained systems with
existing methods such as COMET, BERT-Scorer, and LABSE, and found that the
LLM-based evaluator (LLaMA-2-13B) achieves a comparable or higher overall
correlation with human judgments for the considered Indian language pairs. | cs.CL | Towards Large Language Model driven Reference-less Translation Evaluation for English and Indian Languages |
2024-04-03T06:51:49Z | http://arxiv.org/pdf/2404.02507v1 | http://arxiv.org/abs/2404.02507v1 | Chengwei Qin, Ruirui Chen, Ruochen Zhao, Wenhan Xia, Shafiq Joty | 2024-04-03T06:51:49Z | cs.CL | To mitigate forgetting, existing lifelong event detection methods typically
maintain a memory module and replay the stored memory data during the learning
of a new task. However, the simple combination of memory data and new-task
samples can still result in substantial forgetting of previously acquired
knowledge, which may occur due to the potential overlap between the feature
distribution of new data and the previously learned embedding space. Moreover,
the model suffers from overfitting on the few memory samples rather than
effectively remembering learned patterns. To address the challenges of
forgetting and overfitting, we propose a novel method based on embedding space
separation and compaction. Our method alleviates forgetting of previously
learned tasks by forcing the feature distribution of new data away from the
previous embedding space. It also mitigates overfitting by a memory calibration
mechanism that encourages memory data to be close to its prototype to enhance
intra-class compactness. In addition, the learnable parameters of the new task
are initialized by drawing upon acquired knowledge from the previously learned
task to facilitate forward knowledge transfer. With extensive experiments, we
demonstrate that our method can significantly outperform previous
state-of-the-art approaches. | cs.CL | Lifelong Event Detection with Embedding Space Separation and Compaction |
2024-04-03T06:47:15Z | http://arxiv.org/pdf/2404.02505v1 | http://arxiv.org/abs/2404.02505v1 | Zhe Xu, Daoyuan Chen, Jiayi Kuang, Zihao Yi, Yaliang Li, Ying Shen | 2024-04-03T06:47:15Z | cs.CL, cs.AI, 68T50, I.2.7 | Emotional Support Conversation (ESC) systems are pivotal in providing
empathetic interactions, aiding users through negative emotional states by
understanding and addressing their unique experiences. In this paper, we tackle
two key challenges in ESC: enhancing contextually relevant and empathetic
response generation through dynamic demonstration retrieval, and advancing
cognitive understanding to grasp implicit mental states comprehensively. We
introduce Dynamic Demonstration Retrieval and Cognitive-Aspect Situation
Understanding (\ourwork), a novel approach that synergizes these elements to
improve the quality of support provided in ESCs. By leveraging in-context
learning and persona information, we introduce an innovative retrieval
mechanism that selects informative and personalized demonstration pairs. We
also propose a cognitive understanding module that utilizes four cognitive
relationships from the ATOMIC knowledge source to deepen situational awareness
of help-seekers' mental states. Our supportive decoder integrates information
from diverse knowledge sources, underpinning response generation that is both
empathetic and cognitively aware. The effectiveness of \ourwork is demonstrated
through extensive automatic and human evaluations, revealing substantial
improvements over numerous state-of-the-art models, with up to 13.79\%
enhancement in overall performance of ten metrics. Our codes are available for
public access to facilitate further research and development. | cs.CL | Dynamic Demonstration Retrieval and Cognitive Understanding for Emotional Support Conversation |
2024-04-03T05:58:57Z | http://arxiv.org/pdf/2404.02491v4 | http://arxiv.org/abs/2404.02491v4 | Ye Yuan, Kexin Tang, Jianhao Shen, Ming Zhang, Chenguang Wang | 2024-05-22T05:23:45Z | cs.CL, cs.AI, cs.LG | We present a new challenge to examine whether large language models
understand social norms. In contrast to existing datasets, our dataset requires
a fundamental understanding of social norms to solve. Our dataset features the
largest set of social norm skills, consisting of 402 skills and 12,383
questions covering a wide set of social norms ranging from opinions and
arguments to culture and laws. We design our dataset according to the K-12
curriculum. This enables the direct comparison of the social understanding of
large language models to humans, more specifically, elementary students. While
prior work generates nearly random accuracy on our benchmark, recent large
language models such as GPT3.5-Turbo and LLaMA2-Chat are able to improve the
performance significantly, only slightly below human performance. We then
propose a multi-agent framework based on large language models to improve the
models' ability to understand social norms. This method further improves large
language models to be on par with humans. Given the increasing adoption of
large language models in real-world applications, our finding is particularly
important and presents a unique direction for future improvements. | cs.CL | Measuring Social Norms of Large Language Models |
2024-04-03T05:58:53Z | http://arxiv.org/pdf/2404.02490v1 | http://arxiv.org/abs/2404.02490v1 | Zhongtao Miao, Qiyu Wu, Kaiyan Zhao, Zilong Wu, Yoshimasa Tsuruoka | 2024-04-03T05:58:53Z | cs.CL | The field of cross-lingual sentence embeddings has recently experienced
significant advancements, but research concerning low-resource languages has
lagged due to the scarcity of parallel corpora. This paper shows that
cross-lingual word representation in low-resource languages is notably
under-aligned with that in high-resource languages in current models. To
address this, we introduce a novel framework that explicitly aligns words
between English and eight low-resource languages, utilizing off-the-shelf word
alignment models. This framework incorporates three primary training
objectives: aligned word prediction and word translation ranking, along with
the widely used translation ranking. We evaluate our approach through
experiments on the bitext retrieval task, which demonstrate substantial
improvements on sentence embeddings in low-resource languages. In addition, the
competitive performance of the proposed model across a broader range of tasks
in high-resource languages underscores its practicality. | cs.CL | Enhancing Cross-lingual Sentence Embedding for Low-resource Languages with Word Alignment |
2024-04-03T05:50:42Z | http://arxiv.org/pdf/2404.02489v1 | http://arxiv.org/abs/2404.02489v1 | Ramraj Chandradevan, Kaustubh D. Dhole, Eugene Agichtein | 2024-04-03T05:50:42Z | cs.IR, cs.CL | State-of-the-art neural rankers pre-trained on large task-specific training
data such as MS-MARCO, have been shown to exhibit strong performance on various
ranking tasks without domain adaptation, also called zero-shot. However,
zero-shot neural ranking may be sub-optimal, as it does not take advantage of
the target domain information. Unfortunately, acquiring sufficiently large and
high quality target training data to improve a modern neural ranker can be
costly and time-consuming. To address this problem, we propose a new approach
to unsupervised domain adaptation for ranking, DUQGen, which addresses a
critical gap in prior literature, namely how to automatically generate both
effective and diverse synthetic training data to fine tune a modern neural
ranker for a new domain. Specifically, DUQGen produces a more effective
representation of the target domain by identifying clusters of similar
documents; and generates a more diverse training dataset by probabilistic
sampling over the resulting document clusters. Our extensive experiments, over
the standard BEIR collection, demonstrate that DUQGen consistently outperforms
all zero-shot baselines and substantially outperforms the SOTA baselines on 16
out of 18 datasets, for an average of 4% relative improvement across all
datasets. We complement our results with a thorough analysis for more in-depth
understanding of the proposed method's performance and to identify promising
areas for further improvements. | cs.IR | DUQGen: Effective Unsupervised Domain Adaptation of Neural Rankers by Diversifying Synthetic Query Generation |
2024-04-03T05:31:59Z | http://arxiv.org/pdf/2404.02474v1 | http://arxiv.org/abs/2404.02474v1 | Pouya Sadeghi, Amirhossein Abaskohi, Yadollah Yaghoobzadeh | 2024-04-03T05:31:59Z | cs.CL, cs.AI, cs.IR, cs.LG | Inspired by human cognition, Jiang et al.(2023c) create a benchmark for
assessing LLMs' lateral thinking-thinking outside the box. Building upon this
benchmark, we investigate how different prompting methods enhance LLMs'
performance on this task to reveal their inherent power for outside-the-box
thinking ability. Through participating in SemEval-2024, task 9, Sentence
Puzzle sub-task, we explore prompt engineering methods: chain of thoughts (CoT)
and direct prompting, enhancing with informative descriptions, and employing
contextualizing prompts using a retrieval augmented generation (RAG) pipeline.
Our experiments involve three LLMs including GPT-3.5, GPT-4, and
Zephyr-7B-beta. We generate a dataset of thinking paths between riddles and
options using GPT-4, validated by humans for quality. Findings indicate that
compressed informative prompts enhance performance. Dynamic in-context learning
enhances model performance significantly. Furthermore, fine-tuning Zephyr on
our dataset enhances performance across other commonsense datasets,
underscoring the value of innovative thinking. | cs.CL | uTeBC-NLP at SemEval-2024 Task 9: Can LLMs be Lateral Thinkers? |
2024-04-03T05:10:11Z | http://arxiv.org/pdf/2404.02466v1 | http://arxiv.org/abs/2404.02466v1 | Masayuki Kawarada, Tatsuya Ishigaki, Hiroya Takamura | 2024-04-03T05:10:11Z | cs.CL, cs.AI, cs.CE | Large language models (LLMs) have been applied to a wide range of
data-to-text generation tasks, including tables, graphs, and time-series
numerical data-to-text settings. While research on generating prompts for
structured data such as tables and graphs is gaining momentum, in-depth
investigations into prompting for time-series numerical data are lacking.
Therefore, this study explores various input representations, including
sequences of tokens and structured formats such as HTML, LaTeX, and
Python-style codes. In our experiments, we focus on the task of Market Comment
Generation, which involves taking a numerical sequence of stock prices as input
and generating a corresponding market comment. Contrary to our expectations,
the results show that prompts resembling programming languages yield better
outcomes, whereas those similar to natural languages and longer formats, such
as HTML and LaTeX, are less effective. Our findings offer insights into
creating effective prompts for tasks that generate text from numerical
sequences. | cs.CL | Prompting for Numerical Sequences: A Case Study on Market Comment Generation |
2024-04-03T04:53:14Z | http://arxiv.org/pdf/2404.02456v2 | http://arxiv.org/abs/2404.02456v2 | Ashima Suvarna, Harshita Khandelwal, Nanyun Peng | 2024-04-05T04:55:24Z | cs.CL, cs.AI, cs.LG, cs.SD, eess.AS | Phonology, the study of speech's structure and pronunciation rules, is a
critical yet often overlooked component in Large Language Model (LLM) research.
LLMs are widely used in various downstream applications that leverage phonology
such as educational tools and poetry generation. Moreover, LLMs can potentially
learn imperfect associations between orthographic and phonological forms from
the training data. Thus, it is imperative to benchmark the phonological skills
of LLMs. To this end, we present PhonologyBench, a novel benchmark consisting
of three diagnostic tasks designed to explicitly test the phonological skills
of LLMs in English: grapheme-to-phoneme conversion, syllable counting, and
rhyme word generation. Despite having no access to speech data, LLMs showcased
notable performance on the PhonologyBench tasks. However, we observe a
significant gap of 17% and 45% on Rhyme Word Generation and Syllable counting,
respectively, when compared to humans. Our findings underscore the importance
of studying LLM performance on phonological tasks that inadvertently impact
real-world applications. Furthermore, we encourage researchers to choose LLMs
that perform well on the phonological task that is closely related to the
downstream application since we find that no single model consistently
outperforms the others on all the tasks. | cs.CL | PhonologyBench: Evaluating Phonological Skills of Large Language Models |
2024-04-03T04:40:57Z | http://arxiv.org/pdf/2404.02452v1 | http://arxiv.org/abs/2404.02452v1 | Emilio Villa-Cueva, A. Pastor López-Monroy, Fernando Sánchez-Vega, Thamar Solorio | 2024-04-03T04:40:57Z | cs.CL | Zero-Shot Cross-lingual Transfer (ZS-XLT) utilizes a model trained in a
source language to make predictions in another language, often with a
performance loss. To alleviate this, additional improvements can be achieved
through subsequent adaptation using examples in the target language. In this
paper, we exploit In-Context Tuning (ICT) for One-Shot Cross-lingual transfer
in the classification task by introducing In-Context Cross-lingual Transfer
(IC-XLT). The novel concept involves training a model to learn from context
examples and subsequently adapting it during inference to a target language by
prepending a One-Shot context demonstration in that language. Our results show
that IC-XLT successfully leverages target-language examples to improve the
cross-lingual capabilities of the evaluated mT5 model, outperforming
prompt-based models in the Zero and Few-shot scenarios adapted through
fine-tuning. Moreover, we show that when source-language data is limited, the
fine-tuning framework employed for IC-XLT performs comparably to prompt-based
fine-tuning with significantly more training data in the source language. | cs.CL | Adaptive Cross-lingual Text Classification through In-Context One-Shot Demonstrations |
2024-04-03T04:25:01Z | http://arxiv.org/pdf/2404.02936v3 | http://arxiv.org/abs/2404.02936v3 | Jingyang Zhang, Jingwei Sun, Eric Yeats, Yang Ouyang, Martin Kuo, Jianyi Zhang, Hao Frank Yang, Hai Li | 2024-05-23T23:06:49Z | cs.CL, cs.LG | The problem of pre-training data detection for large language models (LLMs)
has received growing attention due to its implications in critical issues like
copyright violation and test data contamination. Despite improved performance,
existing methods (including the state-of-the-art, Min-K%) are mostly developed
upon simple heuristics and lack solid, reasonable foundations. In this work, we
propose a novel and theoretically motivated methodology for pre-training data
detection, named Min-K%++. Specifically, we present a key insight that training
samples tend to be local maxima of the modeled distribution along each input
dimension through maximum likelihood training, which in turn allow us to
insightfully translate the problem into identification of local maxima. Then,
we design our method accordingly that works under the discrete distribution
modeled by LLMs, whose core idea is to determine whether the input forms a mode
or has relatively high probability under the conditional categorical
distribution. Empirically, the proposed method achieves new SOTA performance
across multiple settings. On the WikiMIA benchmark, Min-K%++ outperforms the
runner-up by 6.2% to 10.5% in detection AUROC averaged over five models. On the
more challenging MIMIR benchmark, it consistently improves upon reference-free
methods while performing on par with reference-based method that requires an
extra reference model. | cs.CL | Min-K%++: Improved Baseline for Detecting Pre-Training Data from Large Language Models |
2024-04-03T04:15:29Z | http://arxiv.org/pdf/2404.02444v1 | http://arxiv.org/abs/2404.02444v1 | Paiheng Xu, Jing Liu, Nathan Jones, Julie Cohen, Wei Ai | 2024-04-03T04:15:29Z | cs.CL, cs.AI | Assessing instruction quality is a fundamental component of any improvement
efforts in the education system. However, traditional manual assessments are
expensive, subjective, and heavily dependent on observers' expertise and
idiosyncratic factors, preventing teachers from getting timely and frequent
feedback. Different from prior research that mostly focuses on low-inference
instructional practices on a singular basis, this paper presents the first
study that leverages Natural Language Processing (NLP) techniques to assess
multiple high-inference instructional practices in two distinct educational
settings: in-person K-12 classrooms and simulated performance tasks for
pre-service teachers. This is also the first study that applies NLP to measure
a teaching practice that is widely acknowledged to be particularly effective
for students with special needs. We confront two challenges inherent in
NLP-based instructional analysis, including noisy and long input data and
highly skewed distributions of human ratings. Our results suggest that
pretrained Language Models (PLMs) demonstrate performances comparable to the
agreement level of human raters for variables that are more discrete and
require lower inference, but their efficacy diminishes with more complex
teaching practices. Interestingly, using only teachers' utterances as input
yields strong results for student-centered variables, alleviating common
concerns over the difficulty of collecting and transcribing high-quality
student speech data in in-person teaching settings. Our findings highlight both
the potential and the limitations of current NLP techniques in the education
domain, opening avenues for further exploration. | cs.CL | The Promises and Pitfalls of Using Language Models to Measure Instruction Quality in Education |
2024-04-03T03:53:37Z | http://arxiv.org/pdf/2404.02438v1 | http://arxiv.org/abs/2404.02438v1 | Shuxian Fan, Adam Visokay, Kentaro Hoffman, Stephen Salerno, Li Liu, Jeffrey T. Leek, Tyler H. McCormick | 2024-04-03T03:53:37Z | cs.CL, cs.LG, stat.ML | In settings where most deaths occur outside the healthcare system, verbal
autopsies (VAs) are a common tool to monitor trends in causes of death (COD).
VAs are interviews with a surviving caregiver or relative that are used to
predict the decedent's COD. Turning VAs into actionable insights for
researchers and policymakers requires two steps (i) predicting likely COD using
the VA interview and (ii) performing inference with predicted CODs (e.g.
modeling the breakdown of causes by demographic factors using a sample of
deaths). In this paper, we develop a method for valid inference using outcomes
(in our case COD) predicted from free-form text using state-of-the-art NLP
techniques. This method, which we call multiPPI++, extends recent work in
"prediction-powered inference" to multinomial classification. We leverage a
suite of NLP techniques for COD prediction and, through empirical analysis of
VA data, demonstrate the effectiveness of our approach in handling
transportability issues. multiPPI++ recovers ground truth estimates, regardless
of which NLP model produced predictions and regardless of whether they were
produced by a more accurate predictor like GPT-4-32k or a less accurate
predictor like KNN. Our findings demonstrate the practical importance of
inference correction for public health decision-making and suggests that if
inference tasks are the end goal, having a small amount of contextually
relevant, high quality labeled data is essential regardless of the NLP
algorithm. | cs.CL | From Narratives to Numbers: Valid Inference Using Language Model Predictions from Verbal Autopsy Narratives |
2024-04-03T03:37:22Z | http://arxiv.org/pdf/2404.02431v1 | http://arxiv.org/abs/2404.02431v1 | Takeshi Kojima, Itsuki Okimura, Yusuke Iwasawa, Hitomi Yanaka, Yutaka Matsuo | 2024-04-03T03:37:22Z | cs.CL | Current decoder-based pre-trained language models (PLMs) successfully
demonstrate multilingual capabilities. However, it is unclear how these models
handle multilingualism. We analyze the neuron-level internal behavior of
multilingual decoder-based PLMs, Specifically examining the existence of
neurons that fire ``uniquely for each language'' within decoder-only
multilingual PLMs. We analyze six languages: English, German, French, Spanish,
Chinese, and Japanese, and show that language-specific neurons are unique, with
a slight overlap (< 5%) between languages. These neurons are mainly distributed
in the models' first and last few layers. This trend remains consistent across
languages and models. Additionally, we tamper with less than 1% of the total
neurons in each model during inference and demonstrate that tampering with a
few language-specific neurons drastically changes the probability of target
language occurrence in text generation. | cs.CL | On the Multilingual Ability of Decoder-based Pre-trained Language Models: Finding and Controlling Language-Specific Neurons |
2024-04-03T03:24:19Z | http://arxiv.org/pdf/2404.02422v1 | http://arxiv.org/abs/2404.02422v1 | Parth Patwa, Simone Filice, Zhiyu Chen, Giuseppe Castellucci, Oleg Rokhlenko, Shervin Malmasi | 2024-04-03T03:24:19Z | cs.CL, cs.LG | Large Language Models (LLMs) operating in 0-shot or few-shot settings achieve
competitive results in Text Classification tasks. In-Context Learning (ICL)
typically achieves better accuracy than the 0-shot setting, but it pays in
terms of efficiency, due to the longer input prompt. In this paper, we propose
a strategy to make LLMs as efficient as 0-shot text classifiers, while getting
comparable or better accuracy than ICL. Our solution targets the low resource
setting, i.e., when only 4 examples per class are available. Using a single LLM
and few-shot real data we perform a sequence of generation, filtering and
Parameter-Efficient Fine-Tuning steps to create a robust and efficient
classifier. Experimental results show that our approach leads to competitive
results on multiple text classification datasets. | cs.CL | Enhancing Low-Resource LLMs Classification with PEFT and Synthetic Data |
2024-04-03T03:17:28Z | http://arxiv.org/pdf/2404.04281v1 | http://arxiv.org/abs/2404.04281v1 | Xianlong Zeng, Fanghao Song, Ang Liu | 2024-04-03T03:17:28Z | cs.CL, cs.AI | This study introduces a simple yet effective method for identifying similar
data points across non-free text domains, such as tabular and image data, using
Large Language Models (LLMs). Our two-step approach involves data point
summarization and hidden state extraction. Initially, data is condensed via
summarization using an LLM, reducing complexity and highlighting essential
information in sentences. Subsequently, the summarization sentences are fed
through another LLM to extract hidden states, serving as compact, feature-rich
representations. This approach leverages the advanced comprehension and
generative capabilities of LLMs, offering a scalable and efficient strategy for
similarity identification across diverse datasets. We demonstrate the
effectiveness of our method in identifying similar data points on multiple
datasets. Additionally, our approach enables non-technical domain experts, such
as fraud investigators or marketing operators, to quickly identify similar data
points tailored to specific scenarios, demonstrating its utility in practical
applications. In general, our results open new avenues for leveraging LLMs in
data analysis across various domains. | cs.CL | Similar Data Points Identification with LLM: A Human-in-the-loop Strategy Using Summarization and Hidden State Insights |
2024-04-03T03:14:27Z | http://arxiv.org/pdf/2404.02421v2 | http://arxiv.org/abs/2404.02421v2 | Thinh Hung Truong, Yulia Otmakhova, Karin Verspoor, Trevor Cohn, Timothy Baldwin | 2024-04-04T04:52:37Z | cs.CL | In this work, we measure the impact of affixal negation on modern English
large language models (LLMs). In affixal negation, the negated meaning is
expressed through a negative morpheme, which is potentially challenging for
LLMs as their tokenizers are often not morphologically plausible. We conduct
extensive experiments using LLMs with different subword tokenization methods,
which lead to several insights on the interaction between tokenization
performance and negation sensitivity. Despite some interesting mismatches
between tokenization accuracy and negation detection performance, we show that
models can, on the whole, reliably recognize the meaning of affixal negation. | cs.CL | Revisiting subword tokenization: A case study on affixal negation in large language models |
2024-04-03T02:56:52Z | http://arxiv.org/pdf/2404.02418v1 | http://arxiv.org/abs/2404.02418v1 | Jennifer Hu, Michael C. Frank | 2024-04-03T02:56:52Z | cs.CL, cs.AI | Developmental psychologists have argued about when cognitive capacities such
as language understanding or theory of mind emerge. These debates often hinge
on the concept of "task demands" -- the auxiliary challenges associated with
performing a particular evaluation -- that may mask the child's underlying
ability. The same issues arise when measuring the capacities of language models
(LMs): performance on a task is a function of the model's underlying
competence, combined with the model's ability to interpret and perform the task
given its available resources. Here, we show that for analogical reasoning,
reflective reasoning, word prediction, and grammaticality judgments, evaluation
methods with greater task demands yield lower performance than evaluations with
reduced demands. This "demand gap" is most pronounced for models with fewer
parameters and less training data. Our results illustrate that LM performance
should not be interpreted as a direct indication of intelligence (or lack
thereof), but as a reflection of capacities seen through the lens of
researchers' design choices. | cs.CL | Auxiliary task demands mask the capabilities of smaller language models |
2024-04-03T02:52:07Z | http://arxiv.org/pdf/2404.02935v1 | http://arxiv.org/abs/2404.02935v1 | Jiawei Zhang, Chejian Xu, Yu Gai, Freddy Lecue, Dawn Song, Bo Li | 2024-04-03T02:52:07Z | cs.CL, cs.AI, cs.LG | This paper introduces KnowHalu, a novel approach for detecting hallucinations
in text generated by large language models (LLMs), utilizing step-wise
reasoning, multi-formulation query, multi-form knowledge for factual checking,
and fusion-based detection mechanism. As LLMs are increasingly applied across
various domains, ensuring that their outputs are not hallucinated is critical.
Recognizing the limitations of existing approaches that either rely on the
self-consistency check of LLMs or perform post-hoc fact-checking without
considering the complexity of queries or the form of knowledge, KnowHalu
proposes a two-phase process for hallucination detection. In the first phase,
it identifies non-fabrication hallucinations--responses that, while factually
correct, are irrelevant or non-specific to the query. The second phase,
multi-form based factual checking, contains five key steps: reasoning and query
decomposition, knowledge retrieval, knowledge optimization, judgment
generation, and judgment aggregation. Our extensive evaluations demonstrate
that KnowHalu significantly outperforms SOTA baselines in detecting
hallucinations across diverse tasks, e.g., improving by 15.65% in QA tasks and
5.50% in summarization tasks, highlighting its effectiveness and versatility in
detecting hallucinations in LLM-generated content. | cs.CL | KnowHalu: Hallucination Detection via Multi-Form Knowledge Based Factual Checking |
2024-04-03T02:21:46Z | http://arxiv.org/pdf/2404.02408v1 | http://arxiv.org/abs/2404.02408v1 | Zaid Sheikh, Antonios Anastasopoulos, Shruti Rijhwani, Lindia Tjuatja, Robbie Jimerson, Graham Neubig | 2024-04-03T02:21:46Z | cs.CL | Effectively using Natural Language Processing (NLP) tools in under-resourced
languages requires a thorough understanding of the language itself, familiarity
with the latest models and training methodologies, and technical expertise to
deploy these models. This could present a significant obstacle for language
community members and linguists to use NLP tools. This paper introduces the CMU
Linguistic Annotation Backend, an open-source framework that simplifies model
deployment and continuous human-in-the-loop fine-tuning of NLP models. CMULAB
enables users to leverage the power of multilingual models to quickly adapt and
extend existing tools for speech recognition, OCR, translation, and syntactic
analysis to new languages, even with limited training data. We describe various
tools and APIs that are currently available and how developers can easily add
new models/functionality to the framework. Code is available at
https://github.com/neulab/cmulab along with a live demo at https://cmulab.dev | cs.CL | CMULAB: An Open-Source Framework for Training and Deployment of Natural Language Processing Models |
2024-04-03T02:16:53Z | http://arxiv.org/pdf/2404.02406v1 | http://arxiv.org/abs/2404.02406v1 | Yunzhuo Hao, Wenkai Yang, Yankai Lin | 2024-04-03T02:16:53Z | cs.CR, cs.AI, cs.CL | Recent researches have shown that Large Language Models (LLMs) are
susceptible to a security threat known as Backdoor Attack. The backdoored model
will behave well in normal cases but exhibit malicious behaviours on inputs
inserted with a specific backdoor trigger. Current backdoor studies on LLMs
predominantly focus on instruction-tuned LLMs, while neglecting another
realistic scenario where LLMs are fine-tuned on multi-turn conversational data
to be chat models. Chat models are extensively adopted across various
real-world scenarios, thus the security of chat models deserves increasing
attention. Unfortunately, we point out that the flexible multi-turn interaction
format instead increases the flexibility of trigger designs and amplifies the
vulnerability of chat models to backdoor attacks. In this work, we reveal and
achieve a novel backdoor attacking method on chat models by distributing
multiple trigger scenarios across user inputs in different rounds, and making
the backdoor be triggered only when all trigger scenarios have appeared in the
historical conversations. Experimental results demonstrate that our method can
achieve high attack success rates (e.g., over 90% ASR on Vicuna-7B) while
successfully maintaining the normal capabilities of chat models on providing
helpful responses to benign user requests. Also, the backdoor can not be easily
removed by the downstream re-alignment, highlighting the importance of
continued research and attention to the security concerns of chat models.
Warning: This paper may contain toxic content. | cs.CR | Exploring Backdoor Vulnerabilities of Chat Models |
2024-04-03T02:16:37Z | http://arxiv.org/pdf/2404.02934v1 | http://arxiv.org/abs/2404.02934v1 | Jeffy Yu, Maximilian Huber, Kevin Tang | 2024-04-03T02:16:37Z | cs.CL, cs.AI, cs.CY, cs.LG | This paper investigates the ethical implications of aligning Large Language
Models (LLMs) with financial optimization, through the case study of
GreedLlama, a model fine-tuned to prioritize economically beneficial outcomes.
By comparing GreedLlama's performance in moral reasoning tasks to a base Llama2
model, our results highlight a concerning trend: GreedLlama demonstrates a
marked preference for profit over ethical considerations, making morally
appropriate decisions at significantly lower rates than the base model in
scenarios of both low and high moral ambiguity. In low ambiguity situations,
GreedLlama's ethical decisions decreased to 54.4%, compared to the base model's
86.9%, while in high ambiguity contexts, the rate was 47.4% against the base
model's 65.1%. These findings emphasize the risks of single-dimensional value
alignment in LLMs, underscoring the need for integrating broader ethical values
into AI development to ensure decisions are not solely driven by financial
incentives. The study calls for a balanced approach to LLM deployment,
advocating for the incorporation of ethical considerations in models intended
for business applications, particularly in light of the absence of regulatory
oversight. | cs.CL | GreedLlama: Performance of Financial Value-Aligned Large Language Models in Moral Reasoning |
2024-04-03T02:12:29Z | http://arxiv.org/pdf/2404.02403v1 | http://arxiv.org/abs/2404.02403v1 | Amirhossein Abaskohi, Sara Baruni, Mostafa Masoudi, Nesa Abbasi, Mohammad Hadi Babalou, Ali Edalat, Sepehr Kamahi, Samin Mahdizadeh Sani, Nikoo Naghavian, Danial Namazifard, Pouya Sadeghi, Yadollah Yaghoobzadeh | 2024-04-03T02:12:29Z | cs.CL, cs.LG | This paper explores the efficacy of large language models (LLMs) for Persian.
While ChatGPT and consequent LLMs have shown remarkable performance in English,
their efficiency for more low-resource languages remains an open question. We
present the first comprehensive benchmarking study of LLMs across diverse
Persian language tasks. Our primary focus is on GPT-3.5-turbo, but we also
include GPT-4 and OpenChat-3.5 to provide a more holistic evaluation. Our
assessment encompasses a diverse set of tasks categorized into classic,
reasoning, and knowledge-based domains. To enable a thorough comparison, we
evaluate LLMs against existing task-specific fine-tuned models. Given the
limited availability of Persian datasets for reasoning tasks, we introduce two
new benchmarks: one based on elementary school math questions and another
derived from the entrance exams for 7th and 10th grades. Our findings reveal
that while LLMs, especially GPT-4, excel in tasks requiring reasoning abilities
and a broad understanding of general knowledge, they often lag behind smaller
pre-trained models fine-tuned specifically for particular tasks. Additionally,
we observe improved performance when test sets are translated to English before
inputting them into GPT-3.5. These results highlight the significant potential
for enhancing LLM performance in the Persian language. This is particularly
noteworthy due to the unique attributes of Persian, including its distinct
alphabet and writing styles. | cs.CL | Benchmarking Large Language Models for Persian: A Preliminary Study Focusing on ChatGPT |
2024-04-03T02:11:39Z | http://arxiv.org/pdf/2404.02402v1 | http://arxiv.org/abs/2404.02402v1 | Md. Kowsher, Ritesh Panditi, Nusrat Jahan Prottasha, Prakash Bhat, Anupam Kumar Bairagi, Mohammad Shamsul Arefin | 2024-04-03T02:11:39Z | cs.CL, cs.AI, cs.IR, cs.LG | Conversational modeling using Large Language Models (LLMs) requires a nuanced
understanding of context to generate coherent and contextually relevant
responses. In this paper, we present Token Trails, a novel approach that
leverages token-type embeddings to navigate the intricate contextual nuances
within conversations. Our framework utilizes token-type embeddings to
distinguish between user utterances and bot responses, facilitating the
generation of context-aware replies. Through comprehensive experimentation and
evaluation, we demonstrate the effectiveness of Token Trails in improving
conversational understanding and response generation, achieving
state-of-the-art performance. Our results highlight the significance of
contextual modeling in conversational AI and underscore the promising potential
of Token Trails to advance the field, paving the way for more sophisticated and
contextually aware chatbot interactions. | cs.CL | Token Trails: Navigating Contextual Depths in Conversational AI with ChatLLM |
2024-04-03T01:32:31Z | http://arxiv.org/pdf/2404.02393v1 | http://arxiv.org/abs/2404.02393v1 | Jun Wang, Qiongkai Xu, Xuanli He, Benjamin I. P. Rubinstein, Trevor Cohn | 2024-04-03T01:32:31Z | cs.CL | While multilingual machine translation (MNMT) systems hold substantial
promise, they also have security vulnerabilities. Our research highlights that
MNMT systems can be susceptible to a particularly devious style of backdoor
attack, whereby an attacker injects poisoned data into a low-resource language
pair to cause malicious translations in other languages, including
high-resource languages. Our experimental results reveal that injecting less
than 0.01% poisoned data into a low-resource language pair can achieve an
average 20% attack success rate in attacking high-resource language pairs. This
type of attack is of particular concern, given the larger attack surface of
languages inherent to low-resource settings. Our aim is to bring attention to
these vulnerabilities within MNMT systems with the hope of encouraging the
community to address security concerns in machine translation, especially in
the context of low-resource languages. | cs.CL | Backdoor Attack on Multilingual Machine Translation |
2024-04-03T01:31:41Z | http://arxiv.org/pdf/2404.02392v1 | http://arxiv.org/abs/2404.02392v1 | Antoine Nzeyimana | 2024-04-03T01:31:41Z | cs.CL, I.2.7; I.2 | Morphological modeling in neural machine translation (NMT) is a promising
approach to achieving open-vocabulary machine translation for
morphologically-rich languages. However, existing methods such as sub-word
tokenization and character-based models are limited to the surface forms of the
words. In this work, we propose a framework-solution for modeling complex
morphology in low-resource settings. A two-tier transformer architecture is
chosen to encode morphological information at the inputs. At the target-side
output, a multi-task multi-label training scheme coupled with a beam
search-based decoder are found to improve machine translation performance. An
attention augmentation scheme to the transformer model is proposed in a generic
form to allow integration of pre-trained language models and also facilitate
modeling of word order relationships between the source and target languages.
Several data augmentation techniques are evaluated and shown to increase
translation performance in low-resource settings. We evaluate our proposed
solution on Kinyarwanda - English translation using public-domain parallel
text. Our final models achieve competitive performance in relation to large
multi-lingual models. We hope that our results will motivate more use of
explicit morphological information and the proposed model and data
augmentations in low-resource NMT. | cs.CL | Low-resource neural machine translation with morphological modeling |
2024-04-03T01:16:20Z | http://arxiv.org/pdf/2404.02389v1 | http://arxiv.org/abs/2404.02389v1 | Yutong Shao, Ndapa Nakashole | 2024-04-03T01:16:20Z | cs.CL, cs.AI | Structured data, prevalent in tables, databases, and knowledge graphs, poses
a significant challenge in its representation. With the advent of large
language models (LLMs), there has been a shift towards linearization-based
methods, which process structured data as sequential token streams, diverging
from approaches that explicitly model structure, often as a graph. Crucially,
there remains a gap in our understanding of how these linearization-based
methods handle structured data, which is inherently non-linear. This work
investigates the linear handling of structured data in encoder-decoder language
models, specifically T5. Our findings reveal the model's ability to mimic
human-designed processes such as schema linking and syntax prediction,
indicating a deep, meaningful learning of structure beyond simple token
sequencing. We also uncover insights into the model's internal mechanisms,
including the ego-centric nature of structure node encodings and the potential
for model compression due to modality fusion redundancy. Overall, this work
sheds light on the inner workings of linearization-based methods and could
potentially provide guidance for future research. | cs.CL | On Linearizing Structured Data in Encoder-Decoder Language Models: Insights from Text-to-SQL |
2024-04-03T01:09:41Z | http://arxiv.org/pdf/2404.02933v2 | http://arxiv.org/abs/2404.02933v2 | Amir H. Abdi, Xinye Tang, Jeremias Eichelbaum, Mahan Das, Alex Klein, Nihal Irmak Pakis, William Blum, Daniel L Mace, Tanvi Raja, Namrata Padmanabhan, Ye Xing | 2024-04-15T22:10:17Z | cs.DB, cs.AI, cs.CL | Data is growing rapidly in volume and complexity. Proficiency in database
query languages is pivotal for crafting effective queries. As coding assistants
become more prevalent, there is significant opportunity to enhance database
query languages. The Kusto Query Language (KQL) is a widely used query language
for large semi-structured data such as logs, telemetries, and time-series for
big data analytics platforms. This paper introduces NL2KQL an innovative
framework that uses large language models (LLMs) to convert natural language
queries (NLQs) to KQL queries. The proposed NL2KQL framework includes several
key components: Schema Refiner which narrows down the schema to its most
pertinent elements; the Few-shot Selector which dynamically selects relevant
examples from a few-shot dataset; and the Query Refiner which repairs syntactic
and semantic errors in KQL queries. Additionally, this study outlines a method
for generating large datasets of synthetic NLQ-KQL pairs which are valid within
a specific database contexts. To validate NL2KQL's performance, we utilize an
array of online (based on query execution) and offline (based on query parsing)
metrics. Through ablation studies, the significance of each framework component
is examined, and the datasets used for benchmarking are made publicly
available. This work is the first of its kind and is compared with available
baselines to demonstrate its effectiveness. | cs.DB | NL2KQL: From Natural Language to Kusto Query |
2024-04-03T00:21:14Z | http://arxiv.org/pdf/2404.02375v1 | http://arxiv.org/abs/2404.02375v1 | S M Rakib Hasan, Aakar Dhakal, Md Humaion Kabir Mehedi, Annajiat Alim Rasel | 2024-04-03T00:21:14Z | cs.CL | Efforts on the research and development of OCR systems for Low-Resource
Languages are relatively new. Low-resource languages have little training data
available for training Machine Translation systems or other systems. Even
though a vast amount of text has been digitized and made available on the
internet the text is still in PDF and Image format, which are not instantly
accessible. This paper discusses text recognition for two scripts: Bengali and
Nepali; there are about 300 and 40 million Bengali and Nepali speakers
respectively. In this study, using encoder-decoder transformers, a model was
developed, and its efficacy was assessed using a collection of optical text
images, both handwritten and printed. The results signify that the suggested
technique corresponds with current approaches and achieves high precision in
recognizing text in Bengali and Nepali. This study can pave the way for the
advanced and accessible study of linguistics in South East Asia. | cs.CL | Optical Text Recognition in Nepali and Bengali: A Transformer-based Approach |
2024-04-03T00:13:23Z | http://arxiv.org/pdf/2404.02372v1 | http://arxiv.org/abs/2404.02372v1 | S M Rakib Hasan, Aakar Dhakal | 2024-04-03T00:13:23Z | cs.CR, cs.CL, cs.LG | In the era of the internet and smart devices, the detection of malware has
become crucial for system security. Malware authors increasingly employ
obfuscation techniques to evade advanced security solutions, making it
challenging to detect and eliminate threats. Obfuscated malware, adept at
hiding itself, poses a significant risk to various platforms, including
computers, mobile devices, and IoT devices. Conventional methods like
heuristic-based or signature-based systems struggle against this type of
malware, as it leaves no discernible traces on the system. In this research, we
propose a simple and cost-effective obfuscated malware detection system through
memory dump analysis, utilizing diverse machine-learning algorithms. The study
focuses on the CIC-MalMem-2022 dataset, designed to simulate real-world
scenarios and assess memory-based obfuscated malware detection. We evaluate the
effectiveness of machine learning algorithms, such as decision trees, ensemble
methods, and neural networks, in detecting obfuscated malware within memory
dumps. Our analysis spans multiple malware categories, providing insights into
algorithmic strengths and limitations. By offering a comprehensive assessment
of machine learning algorithms for obfuscated malware detection through memory
analysis, this paper contributes to ongoing efforts to enhance cybersecurity
and fortify digital ecosystems against evolving and sophisticated malware
threats. The source code is made open-access for reproducibility and future
research endeavours. It can be accessed at https://bit.ly/MalMemCode. | cs.CR | Obfuscated Malware Detection: Investigating Real-world Scenarios through Memory Analysis |
2024-04-03T00:09:05Z | http://arxiv.org/pdf/2404.02370v1 | http://arxiv.org/abs/2404.02370v1 | Yunsoo Kim, Jinge Wu, Yusuf Abdulle, Yue Gao, Honghan Wu | 2024-04-03T00:09:05Z | cs.CV, cs.AI, cs.CL | Recent advancements in Computer Assisted Diagnosis have shown promising
performance in medical imaging tasks, particularly in chest X-ray analysis.
However, the interaction between these models and radiologists has been
primarily limited to input images. This work proposes a novel approach to
enhance human-computer interaction in chest X-ray analysis using
Vision-Language Models (VLMs) enhanced with radiologists' attention by
incorporating eye gaze data alongside textual prompts. Our approach leverages
heatmaps generated from eye gaze data, overlaying them onto medical images to
highlight areas of intense radiologist's focus during chest X-ray evaluation.
We evaluate this methodology in tasks such as visual question answering, chest
X-ray report automation, error detection, and differential diagnosis. Our
results demonstrate the inclusion of eye gaze information significantly
enhances the accuracy of chest X-ray analysis. Also, the impact of eye gaze on
fine-tuning was confirmed as it outperformed other medical VLMs in all tasks
except visual question answering. This work marks the potential of leveraging
both the VLM's capabilities and the radiologist's domain knowledge to improve
the capabilities of AI models in medical imaging, paving a novel way for
Computer Assisted Diagnosis with a human-centred AI. | cs.CV | Enhancing Human-Computer Interaction in Chest X-ray Analysis using Vision and Language Model with Eye Gaze Patterns |
2024-04-02T22:58:38Z | http://arxiv.org/pdf/2404.02356v1 | http://arxiv.org/abs/2404.02356v1 | Victoria Graf, Qin Liu, Muhao Chen | 2024-04-02T22:58:38Z | cs.CL | Data poisoning backdoor attacks can cause undesirable behaviors in large
language models (LLMs), and defending against them is of increasing importance.
Existing defense mechanisms often assume that only one type of trigger is
adopted by the attacker, while defending against multiple simultaneous and
independent trigger types necessitates general defense frameworks and is
relatively unexplored. In this paper, we propose Nested Product of
Experts(NPoE) defense framework, which involves a mixture of experts (MoE) as a
trigger-only ensemble within the PoE defense framework to simultaneously defend
against multiple trigger types. During NPoE training, the main model is trained
in an ensemble with a mixture of smaller expert models that learn the features
of backdoor triggers. At inference time, only the main model is used.
Experimental results on sentiment analysis, hate speech detection, and question
classification tasks demonstrate that NPoE effectively defends against a
variety of triggers both separately and in trigger mixtures. Due to the
versatility of the MoE structure in NPoE, this framework can be further
expanded to defend against other attack settings | cs.CL | Two Heads are Better than One: Nested PoE for Robust Defense Against Multi-Backdoors |
2024-04-02T22:31:38Z | http://arxiv.org/pdf/2404.02342v1 | http://arxiv.org/abs/2404.02342v1 | Haven Kim, Taketo Akama | 2024-04-02T22:31:38Z | cs.CL, cs.SD, eess.AS | In musical compositions that include vocals, lyrics significantly contribute
to artistic expression. Consequently, previous studies have introduced the
concept of a recommendation system that suggests lyrics similar to a user's
favorites or personalized preferences, aiding in the discovery of lyrics among
millions of tracks. However, many of these systems do not fully consider human
perceptions of lyric similarity, primarily due to limited research in this
area. To bridge this gap, we conducted a comparative analysis of computational
methods for modeling lyric similarity with human perception. Results indicated
that computational models based on similarities between embeddings from
pre-trained BERT-based models, the audio from which the lyrics are derived, and
phonetic components are indicative of perceptual lyric similarity. This finding
underscores the importance of semantic, stylistic, and phonetic similarities in
human perception about lyric similarity. We anticipate that our findings will
enhance the development of similarity-based lyric recommendation systems by
offering pseudo-labels for neural network development and introducing objective
evaluation metrics. | cs.CL | A Computational Analysis of Lyric Similarity Perception |
2024-04-02T22:27:24Z | http://arxiv.org/pdf/2404.02340v2 | http://arxiv.org/abs/2404.02340v2 | Olufunke O. Sarumi, Béla Neuendorf, Joan Plepi, Lucie Flek, Jörg Schlötterer, Charles Welch | 2024-04-17T14:02:03Z | cs.CL, F.2.2; I.2.7 | Recent trends in natural language processing research and annotation tasks
affirm a paradigm shift from the traditional reliance on a single ground truth
to a focus on individual perspectives, particularly in subjective tasks. In
scenarios where annotation tasks are meant to encompass diversity, models that
solely rely on the majority class labels may inadvertently disregard valuable
minority perspectives. This oversight could result in the omission of crucial
information and, in a broader context, risk disrupting the balance within
larger ecosystems. As the landscape of annotator modeling unfolds with diverse
representation techniques, it becomes imperative to investigate their
effectiveness with the fine-grained features of the datasets in view. This
study systematically explores various annotator modeling techniques and
compares their performance across seven corpora.
From our findings, we show that the commonly used user token model
consistently outperforms more complex models. We introduce a composite
embedding approach and show distinct differences in which model performs best
as a function of the agreement with a given dataset. Our findings shed light on
the relationship between corpus statistics and annotator modeling performance,
which informs future work on corpus construction and perspectivist NLP. | cs.CL | Corpus Considerations for Annotator Modeling and Scaling |
2024-04-02T22:15:48Z | http://arxiv.org/pdf/2404.02335v1 | http://arxiv.org/abs/2404.02335v1 | Parham Abed Azad, Hamid Beigy | 2024-04-02T22:15:48Z | cs.CL, cs.AI | The rapid expansion of texts' volume and diversity presents formidable
challenges in multi-domain settings. These challenges are also visible in the
Persian name entity recognition (NER) settings. Traditional approaches, either
employing a unified model for multiple domains or individual models for each
domain, frequently pose significant limitations. Single models often struggle
to capture the nuances of diverse domains, while utilizing multiple large
models can lead to resource constraints, rendering the training of a model for
each domain virtually impractical. Therefore, this paper introduces a novel
approach composed of one core model with multiple sets of domain-specific
parameters. We utilize techniques such as prompt tuning and adapters, combined
with the incorporation of additional layers, to add parameters that we can
train for the specific domains. This enables the model to perform comparably to
individual models for each domain. Experimental results on different formal and
informal datasets show that by employing these added parameters, the proposed
model significantly surpasses existing practical models in performance.
Remarkably, the proposed model requires only one instance for training and
storage, yet achieves outstanding results across all domains, even surpassing
the state-of-the-art in some. Moreover, we analyze each adaptation strategy,
delineating its strengths, weaknesses, and optimal hyper-parameters for the
Persian NER settings. Finally, we introduce a document-based domain detection
pipeline tailored for scenarios with unknown text domains, enhancing the
adaptability and practicality of this paper in real-world applications. | cs.CL | Multi-BERT: Leveraging Adapters and Prompt Tuning for Low-Resource Multi-Domain Adaptation |
2024-04-02T22:04:51Z | http://arxiv.org/pdf/2404.02330v1 | http://arxiv.org/abs/2404.02330v1 | Sandeep Chataut, Tuyen Do, Bichar Dip Shrestha Gurung, Shiva Aryal, Anup Khanal, Carol Lushbough, Etienne Gnimpieba | 2024-04-02T22:04:51Z | cs.CL, cs.AI | Keywords play a crucial role in bridging the gap between human understanding
and machine processing of textual data. They are essential to data enrichment
because they form the basis for detailed annotations that provide a more
insightful and in-depth view of the underlying data. Keyword/domain driven term
extraction is a pivotal task in natural language processing, facilitating
information retrieval, document summarization, and content categorization. This
review focuses on keyword extraction methods, emphasizing the use of three
major Large Language Models(LLMs): Llama2-7B, GPT-3.5, and Falcon-7B. We
employed a custom Python package to interface with these LLMs, simplifying
keyword extraction. Our study, utilizing the Inspec and PubMed datasets,
evaluates the performance of these models. The Jaccard similarity index was
used for assessment, yielding scores of 0.64 (Inspec) and 0.21 (PubMed) for
GPT-3.5, 0.40 and 0.17 for Llama2-7B, and 0.23 and 0.12 for Falcon-7B. This
paper underlines the role of prompt engineering in LLMs for better keyword
extraction and discusses the impact of hallucination in LLMs on result
evaluation. It also sheds light on the challenges in using LLMs for keyword
extraction, including model complexity, resource demands, and optimization
techniques. | cs.CL | Comparative Study of Domain Driven Terms Extraction Using Large Language Models |
2024-04-02T21:50:18Z | http://arxiv.org/pdf/2404.02323v2 | http://arxiv.org/abs/2404.02323v2 | Zhewei Sun, Qian Hu, Rahul Gupta, Richard Zemel, Yang Xu | 2024-04-13T02:17:01Z | cs.CL | Recent advancement in large language models (LLMs) has offered a strong
potential for natural language systems to process informal language. A
representative form of informal language is slang, used commonly in daily
conversations and online social media. To date, slang has not been
comprehensively evaluated in LLMs due partly to the absence of a carefully
designed and publicly accessible benchmark. Using movie subtitles, we construct
a dataset that supports evaluation on a diverse set of tasks pertaining to
automatic processing of slang. For both evaluation and finetuning, we show the
effectiveness of our dataset on two core applications: 1) slang detection, and
2) identification of regional and historical sources of slang from natural
sentences. We also show how our dataset can be used to probe the output
distributions of LLMs for interpretive insights. We find that while LLMs such
as GPT-4 achieve good performance in a zero-shot setting, smaller BERT-like
models finetuned on our dataset achieve comparable performance. Furthermore, we
show that our dataset enables finetuning of LLMs such as GPT-3.5 that achieve
substantially better performance than strong zero-shot baselines. Our work
offers a comprehensive evaluation and a high-quality benchmark on English slang
based on the OpenSubtitles corpus, serving both as a publicly accessible
resource and a platform for applying tools for informal language processing. | cs.CL | Toward Informal Language Processing: Knowledge of Slang in Large Language Models |
2024-04-02T21:35:54Z | http://arxiv.org/pdf/2404.02319v2 | http://arxiv.org/abs/2404.02319v2 | Tobias Schnabel, Jennifer Neville | 2024-06-27T23:22:14Z | cs.CL, cs.AI, cs.LG | In many modern LLM applications, such as retrieval augmented generation,
prompts have become programs themselves. In these settings, prompt programs are
repeatedly called with different user queries or data instances. A big
practical challenge is optimizing such prompt programs. Recent work has mostly
focused on either simple prompt programs or assumed that the general structure
of a prompt program is fixed.
We introduce SAMMO, a framework to perform symbolic prompt program search for
compile-time optimizations of prompt programs. SAMMO represents prompt programs
on a symbolic level which allows for a rich set of transformations that can be
searched over during optimization. We show that SAMMO generalizes previous
methods and improves the performance of complex prompts on (1) instruction
tuning, (2) RAG pipeline tuning, and (3) prompt compression, across several
different LLMs. We make all code available open-source at
https://github.com/microsoft/sammo . | cs.CL | Symbolic Prompt Program Search: A Structure-Aware Approach to Efficient Compile-Time Prompt Optimization |
2024-04-02T21:03:37Z | http://arxiv.org/pdf/2404.02305v1 | http://arxiv.org/abs/2404.02305v1 | David Herel, Tomas Mikolov | 2024-04-02T21:03:37Z | cs.CL, cs.AI | In various fields of knowledge creation, including science, new ideas often
build on pre-existing information. In this work, we explore this concept within
the context of language models. Specifically, we explore the potential of
self-training models on their own outputs, akin to how humans learn and build
on their previous thoughts and actions. While this approach is intuitively
appealing, our research reveals its practical limitations. We find that
extended self-training of the GPT-2 model leads to a significant degradation in
performance, resulting in repetitive and collapsed token output. | cs.CL | Collapse of Self-trained Language Models |
2024-04-02T19:53:54Z | http://arxiv.org/pdf/2404.05741v1 | http://arxiv.org/abs/2404.05741v1 | Georgy Tyukin | 2024-04-02T19:53:54Z | cs.LG, cs.AI, cs.CL, cs.PF | Large Language Models are growing in size, and we expect them to continue to
do so, as larger models train quicker. However, this increase in size will
severely impact inference costs. Therefore model compression is important, to
retain the performance of larger models, but with a reduced cost of running
them. In this thesis we explore the methods of model compression, and we
empirically demonstrate that the simple method of skipping latter attention
sublayers in Transformer LLMs is an effective method of model compression, as
these layers prove to be redundant, whilst also being incredibly
computationally expensive. We observed a 21% speed increase in one-token
generation for Llama 2 7B, whilst surprisingly and unexpectedly improving
performance over several common benchmarks. | cs.LG | Enhancing Inference Efficiency of Large Language Models: Investigating Optimization Strategies and Architectural Innovations |
2024-04-02T19:49:34Z | http://arxiv.org/pdf/2404.02269v1 | http://arxiv.org/abs/2404.02269v1 | Amanul Haque, Munindar P. Singh | 2024-04-02T19:49:34Z | cs.CL, cs.AI | We investigate the effectiveness of ChatGPT in extracting norms from
contracts. Norms provide a natural way to engineer multiagent systems by
capturing how to govern the interactions between two or more autonomous
parties. We extract norms of commitment, prohibition, authorization, and power,
along with associated norm elements (the parties involved, antecedents, and
consequents) from contracts. Our investigation reveals ChatGPT's effectiveness
and limitations in norm extraction from contracts. ChatGPT demonstrates
promising performance in norm extraction without requiring training or
fine-tuning, thus obviating the need for annotated data, which is not generally
available in this domain. However, we found some limitations of ChatGPT in
extracting these norms that lead to incorrect norm extractions. The limitations
include oversight of crucial details, hallucination, incorrect parsing of
conjunctions, and empty norm elements. Enhanced norm extraction from contracts
can foster the development of more transparent and trustworthy formal agent
interaction specifications, thereby contributing to the improvement of
multiagent systems. | cs.CL | Extracting Norms from Contracts Via ChatGPT: Opportunities and Challenges |
2024-04-02T19:39:23Z | http://arxiv.org/pdf/2405.06650v1 | http://arxiv.org/abs/2405.06650v1 | James Oswald, Kavitha Srinivas, Harsha Kokel, Junkyu Lee, Michael Katz, Shirin Sohrabi | 2024-04-02T19:39:23Z | cs.CL, cs.AI | Developing domain models is one of the few remaining places that require
manual human labor in AI planning. Thus, in order to make planning more
accessible, it is desirable to automate the process of domain model generation.
To this end, we investigate if large language models (LLMs) can be used to
generate planning domain models from simple textual descriptions. Specifically,
we introduce a framework for automated evaluation of LLM-generated domains by
comparing the sets of plans for domain instances. Finally, we perform an
empirical analysis of 7 large language models, including coding and chat models
across 9 different planning domains, and under three classes of natural
language domain descriptions. Our results indicate that LLMs, particularly
those with high parameter counts, exhibit a moderate level of proficiency in
generating correct planning domains from natural language descriptions. Our
code is available at https://github.com/IBM/NL2PDDL. | cs.CL | Large Language Models as Planning Domain Generators |
2024-04-02T19:34:22Z | http://arxiv.org/pdf/2404.02261v2 | http://arxiv.org/abs/2404.02261v2 | Nataliia Kholodna, Sahib Julka, Mohammad Khodadadi, Muhammed Nurullah Gumus, Michael Granitzer | 2024-06-23T18:21:01Z | cs.CL, cs.AI, cs.IR, cs.LG, I.2.7; I.2.6 | Low-resource languages face significant barriers in AI development due to
limited linguistic resources and expertise for data labeling, rendering them
rare and costly. The scarcity of data and the absence of preexisting tools
exacerbate these challenges, especially since these languages may not be
adequately represented in various NLP datasets. To address this gap, we propose
leveraging the potential of LLMs in the active learning loop for data
annotation. Initially, we conduct evaluations to assess inter-annotator
agreement and consistency, facilitating the selection of a suitable LLM
annotator. The chosen annotator is then integrated into a training loop for a
classifier using an active learning paradigm, minimizing the amount of queried
data required. Empirical evaluations, notably employing GPT-4-Turbo,
demonstrate near-state-of-the-art performance with significantly reduced data
requirements, as indicated by estimated potential cost savings of at least
42.45 times compared to human annotation. Our proposed solution shows promising
potential to substantially reduce both the monetary and computational costs
associated with automation in low-resource settings. By bridging the gap
between low-resource languages and AI, this approach fosters broader inclusion
and shows the potential to enable automation across diverse linguistic
landscapes. | cs.CL | LLMs in the Loop: Leveraging Large Language Model Annotations for Active Learning in Low-Resource Languages |
2024-04-02T19:28:11Z | http://arxiv.org/pdf/2404.02258v1 | http://arxiv.org/abs/2404.02258v1 | David Raposo, Sam Ritter, Blake Richards, Timothy Lillicrap, Peter Conway Humphreys, Adam Santoro | 2024-04-02T19:28:11Z | cs.LG, cs.CL | Transformer-based language models spread FLOPs uniformly across input
sequences. In this work we demonstrate that transformers can instead learn to
dynamically allocate FLOPs (or compute) to specific positions in a sequence,
optimising the allocation along the sequence for different layers across the
model depth. Our method enforces a total compute budget by capping the number
of tokens ($k$) that can participate in the self-attention and MLP computations
at a given layer. The tokens to be processed are determined by the network
using a top-$k$ routing mechanism. Since $k$ is defined a priori, this simple
procedure uses a static computation graph with known tensor sizes, unlike other
conditional computation techniques. Nevertheless, since the identities of the
$k$ tokens are fluid, this method can expend FLOPs non-uniformly across the
time and model depth dimensions. Thus, compute expenditure is entirely
predictable in sum total, but dynamic and context-sensitive at the token-level.
Not only do models trained in this way learn to dynamically allocate compute,
they do so efficiently. These models match baseline performance for equivalent
FLOPS and wall-clock times to train, but require a fraction of the FLOPs per
forward pass, and can be upwards of 50\% faster to step during post-training
sampling. | cs.LG | Mixture-of-Depths: Dynamically allocating compute in transformer-based language models |
2024-04-02T19:23:10Z | http://arxiv.org/pdf/2404.02255v1 | http://arxiv.org/abs/2404.02255v1 | Gurusha Juneja, Subhabrata Dutta, Tanmoy Chakraborty | 2024-04-02T19:23:10Z | cs.CL, cs.AI | Despite demonstrating emergent reasoning abilities, Large Language Models
(LLMS) often lose track of complex, multi-step reasoning. Existing studies show
that providing guidance via decomposing the original question into multiple
subproblems elicits more robustness in LLM reasoning -- a decomposer generates
the subproblems, and a solver solves each of these subproblems. However, these
techniques fail to accommodate coordination between the decomposer and the
solver modules (either in a single model or different specialized ones) -- the
decomposer does not keep track of the ability of the solver to follow the
decomposed reasoning. In this paper, we propose LM2 to address these
challenges. LM2 modularizes the decomposition, solution, and verification into
three different language models. The decomposer module identifies the key
concepts necessary to solve the problem and generates step-by-step subquestions
according to the reasoning requirement. The solver model generates the solution
to the subproblems that are then checked by the verifier module; depending upon
the feedback from the verifier, the reasoning context is constructed using the
subproblems and the solutions. These models are trained to coordinate using
policy learning. Exhaustive experimentation suggests the superiority of LM2
over existing methods on in- and out-domain reasoning problems, outperforming
the best baselines by $8.1\%$ on MATH, $7.71\%$ on JEEBench, and $9.7\%$ on
MedQA problems (code available at
https://github.com/LCS2-IIITD/Language_Model_Multiplex). | cs.CL | $\texttt{LM}^\texttt{2}$: A Simple Society of Language Models Solves Complex Reasoning |
2024-04-02T18:00:28Z | http://arxiv.org/pdf/2404.02204v1 | http://arxiv.org/abs/2404.02204v1 | Sherin Muckatira, Vijeta Deshpande, Vladislav Lialin, Anna Rumshisky | 2024-04-02T18:00:28Z | cs.CL, cs.LG | Large language models can solve new tasks without task-specific fine-tuning.
This ability, also known as in-context learning (ICL), is considered an
emergent ability and is primarily seen in large language models with billions
of parameters. This study investigates if such emergent properties are strictly
tied to model size or can be demonstrated by smaller models trained on
reduced-scale data. To explore this, we simplify pre-training data and
pre-train 36 causal language models with parameters varying from 1 million to
165 million parameters. We show that models trained on this simplified
pre-training data demonstrate enhanced zero-shot capabilities across various
tasks in simplified language, achieving performance comparable to that of
pre-trained models six times larger on unrestricted language. This suggests
that downscaling the language allows zero-shot learning capabilities to emerge
in models with limited size. Additionally, we find that these smaller models
pre-trained on simplified data demonstrate a power law relationship between the
evaluation loss and the three scaling factors: compute, dataset size, and model
size. | cs.CL | Emergent Abilities in Reduced-Scale Generative Language Models |
2024-04-02T17:49:40Z | http://arxiv.org/pdf/2404.02138v2 | http://arxiv.org/abs/2404.02138v2 | Alexander Nemecek, Yuzhou Jiang, Erman Ayday | 2024-04-16T07:28:05Z | cs.CR, cs.CL, cs.LG | Recent advancements of large language models (LLMs) have resulted in
indistinguishable text outputs comparable to human-generated text. Watermarking
algorithms are potential tools that offer a way to differentiate between LLM-
and human-generated text by embedding detectable signatures within
LLM-generated output. However, current watermarking schemes lack robustness
against known attacks against watermarking algorithms. In addition, they are
impractical considering an LLM generates tens of thousands of text outputs per
day and the watermarking algorithm needs to memorize each output it generates
for the detection to work. In this work, focusing on the limitations of current
watermarking schemes, we propose the concept of a "topic-based watermarking
algorithm" for LLMs. The proposed algorithm determines how to generate tokens
for the watermarked LLM output based on extracted topics of an input prompt or
the output of a non-watermarked LLM. Inspired from previous work, we propose
using a pair of lists (that are generated based on the specified extracted
topic(s)) that specify certain tokens to be included or excluded while
generating the watermarked output of the LLM. Using the proposed watermarking
algorithm, we show the practicality of a watermark detection algorithm.
Furthermore, we discuss a wide range of attacks that can emerge against
watermarking algorithms for LLMs and the benefit of the proposed watermarking
scheme for the feasibility of modeling a potential attacker considering its
benefit vs. loss. | cs.CR | Topic-based Watermarks for LLM-Generated Text |
2024-04-02T17:33:34Z | http://arxiv.org/pdf/2404.02127v1 | http://arxiv.org/abs/2404.02127v1 | Joel Niklaus, Lucia Zheng, Arya D. McCarthy, Christopher Hahn, Brian M. Rosen, Peter Henderson, Daniel E. Ho, Garrett Honke, Percy Liang, Christopher Manning | 2024-04-02T17:33:34Z | cs.CL, cs.AI, cs.LG, 68T50, I.2 | Instruction tuning is an important step in making language models useful for
direct user interaction. However, many legal tasks remain out of reach for most
open LLMs and there do not yet exist any large scale instruction datasets for
the domain. This critically limits research in this application area. In this
work, we curate LawInstruct, a large legal instruction dataset, covering 17
jurisdictions, 24 languages and a total of 12M examples. We present evidence
that domain-specific pretraining and instruction tuning improve performance on
LegalBench, including improving Flan-T5 XL by 8 points or 16\% over the
baseline. However, the effect does not generalize across all tasks, training
regimes, model sizes, and other factors. LawInstruct is a resource for
accelerating the development of models with stronger information processing and
decision making capabilities in the legal domain. | cs.CL | FLawN-T5: An Empirical Examination of Effective Instruction-Tuning Data Mixtures for Legal Reasoning |
2024-04-02T17:33:00Z | http://arxiv.org/pdf/2404.02126v1 | http://arxiv.org/abs/2404.02126v1 | Zoher Kachwala, Jisun An, Haewoon Kwak, Filippo Menczer | 2024-04-02T17:33:00Z | cs.CL, cs.IR | Knowledge graphs play a pivotal role in various applications, such as
question-answering and fact-checking. Abstract Meaning Representation (AMR)
represents text as knowledge graphs. Evaluating the quality of these graphs
involves matching them structurally to each other and semantically to the
source text. Existing AMR metrics are inefficient and struggle to capture
semantic similarity. We also lack a systematic evaluation benchmark for
assessing structural similarity between AMR graphs. To overcome these
limitations, we introduce a novel AMR similarity metric, rematch, alongside a
new evaluation for structural similarity called RARE. Among state-of-the-art
metrics, rematch ranks second in structural similarity; and first in semantic
similarity by 1--5 percentage points on the STS-B and SICK-R benchmarks.
Rematch is also five times faster than the next most efficient metric. | cs.CL | Rematch: Robust and Efficient Matching of Local Knowledge Graphs to Improve Structural and Semantic Similarity |
2024-04-02T17:31:58Z | http://arxiv.org/pdf/2404.02124v3 | http://arxiv.org/abs/2404.02124v3 | Wanyong Feng, Jaewook Lee, Hunter McNichols, Alexander Scarlatos, Digory Smith, Simon Woodhead, Nancy Otero Ornelas, Andrew Lan | 2024-04-18T17:12:19Z | cs.CL | Multiple-choice questions (MCQs) are ubiquitous in almost all levels of
education since they are easy to administer, grade, and are a reliable format
in assessments and practices. One of the most important aspects of MCQs is the
distractors, i.e., incorrect options that are designed to target common errors
or misconceptions among real students. To date, the task of crafting
high-quality distractors largely remains a labor and time-intensive process for
teachers and learning content designers, which has limited scalability. In this
work, we study the task of automated distractor generation in the domain of
math MCQs and explore a wide variety of large language model (LLM)-based
approaches, from in-context learning to fine-tuning. We conduct extensive
experiments using a real-world math MCQ dataset and find that although LLMs can
generate some mathematically valid distractors, they are less adept at
anticipating common errors or misconceptions among real students. | cs.CL | Exploring Automated Distractor Generation for Math Multiple-choice Questions via Large Language Models |
2024-04-02T17:18:48Z | http://arxiv.org/pdf/2404.02115v1 | http://arxiv.org/abs/2404.02115v1 | Suman Adhya, Debarshi Kumar Sanyal | 2024-04-02T17:18:48Z | cs.CL, cs.LG | Topic modeling is a widely used approach for analyzing and exploring large
document collections. Recent research efforts have incorporated pre-trained
contextualized language models, such as BERT embeddings, into topic modeling.
However, they often neglect the intrinsic informational value conveyed by
mutual dependencies between words. In this study, we introduce GINopic, a topic
modeling framework based on graph isomorphism networks to capture the
correlation between words. By conducting intrinsic (quantitative as well as
qualitative) and extrinsic evaluations on diverse benchmark datasets, we
demonstrate the effectiveness of GINopic compared to existing topic models and
highlight its potential for advancing topic modeling. | cs.CL | GINopic: Topic Modeling with Graph Isomorphism Network |
2024-04-02T17:00:11Z | http://arxiv.org/pdf/2404.02103v1 | http://arxiv.org/abs/2404.02103v1 | Sara Rosenthal, Avirup Sil, Radu Florian, Salim Roukos | 2024-04-02T17:00:11Z | cs.CL | Retrieval Augmented Generation (RAG) has become a popular application for
large language models. It is preferable that successful RAG systems provide
accurate answers that are supported by being grounded in a passage without any
hallucinations. While considerable work is required for building a full RAG
pipeline, being able to benchmark performance is also necessary. We present
ClapNQ, a benchmark Long-form Question Answering dataset for the full RAG
pipeline. ClapNQ includes long answers with grounded gold passages from Natural
Questions (NQ) and a corpus to perform either retrieval, generation, or the
full RAG pipeline. The ClapNQ answers are concise, 3x smaller than the full
passage, and cohesive, with multiple pieces of the passage that are not
contiguous. RAG models must adapt to these properties to be successful at
ClapNQ. We present baseline experiments and analysis for ClapNQ that highlight
areas where there is still significant room for improvement in grounded RAG.
CLAPNQ is publicly available at https://github.com/primeqa/clapnq | cs.CL | CLAPNQ: Cohesive Long-form Answers from Passages in Natural Questions for RAG systems |
2024-04-02T16:42:44Z | http://arxiv.org/pdf/2404.02931v1 | http://arxiv.org/abs/2404.02931v1 | Dawei Li, William Hogan, Jingbo Shang | 2024-04-02T16:42:44Z | cs.CL, cs.AI | Recent works in relation extraction (RE) have achieved promising benchmark
accuracy; however, our adversarial attack experiments show that these works
excessively rely on entities, making their generalization capability
questionable. To address this issue, we propose an adversarial training method
specifically designed for RE. Our approach introduces both sequence- and
token-level perturbations to the sample and uses a separate perturbation
vocabulary to improve the search for entity and context perturbations.
Furthermore, we introduce a probabilistic strategy for leaving clean tokens in
the context during adversarial training. This strategy enables a larger attack
budget for entities and coaxes the model to leverage relational patterns
embedded in the context. Extensive experiments show that compared to various
adversarial training methods, our method significantly improves both the
accuracy and robustness of the model. Additionally, experiments on different
data availability settings highlight the effectiveness of our method in
low-resource scenarios. We also perform in-depth analyses of our proposed
method and provide further hints. We will release our code at
https://github.com/David-Li0406/READ. | cs.CL | READ: Improving Relation Extraction from an ADversarial Perspective |
2024-04-02T16:32:49Z | http://arxiv.org/pdf/2404.02088v1 | http://arxiv.org/abs/2404.02088v1 | Suyash Vardhan Mathur, Akshett Rai Jindal, Hardik Mittal, Manish Shrivastava | 2024-04-02T16:32:49Z | cs.CL, cs.SD, eess.AS | Conversation is the most natural form of human communication, where each
utterance can range over a variety of possible emotions. While significant work
has been done towards the detection of emotions in text, relatively little work
has been done towards finding the cause of the said emotions, especially in
multimodal settings. SemEval 2024 introduces the task of Multimodal Emotion
Cause Analysis in Conversations, which aims to extract emotions reflected in
individual utterances in a conversation involving multiple modalities (textual,
audio, and visual modalities) along with the corresponding utterances that were
the cause for the emotion. In this paper, we propose models that tackle this
task as an utterance labeling and a sequence labeling problem and perform a
comparative study of these models, involving baselines using different
encoders, using BiLSTM for adding contextual information of the conversation,
and finally adding a CRF layer to try to model the inter-dependencies between
adjacent utterances more effectively. In the official leaderboard for the task,
our architecture was ranked 8th, achieving an F1-score of 0.1759 on the
leaderboard. | cs.CL | LastResort at SemEval-2024 Task 3: Exploring Multimodal Emotion Cause Pair Extraction as Sequence Labelling Task |
2024-04-02T16:25:30Z | http://arxiv.org/pdf/2404.02078v1 | http://arxiv.org/abs/2404.02078v1 | Lifan Yuan, Ganqu Cui, Hanbin Wang, Ning Ding, Xingyao Wang, Jia Deng, Boji Shan, Huimin Chen, Ruobing Xie, Yankai Lin, Zhenghao Liu, Bowen Zhou, Hao Peng, Zhiyuan Liu, Maosong Sun | 2024-04-02T16:25:30Z | cs.AI, cs.CL, cs.LG | We introduce Eurus, a suite of large language models (LLMs) optimized for
reasoning. Finetuned from Mistral-7B and CodeLlama-70B, Eurus models achieve
state-of-the-art results among open-source models on a diverse set of
benchmarks covering mathematics, code generation, and logical reasoning
problems. Notably, Eurus-70B beats GPT-3.5 Turbo in reasoning through a
comprehensive benchmarking across 12 tests covering five tasks, and achieves a
33.3% pass@1 accuracy on LeetCode and 32.6% on TheoremQA, two challenging
benchmarks, substantially outperforming existing open-source models by margins
more than 13.3%. The strong performance of Eurus can be primarily attributed to
UltraInteract, our newly-curated large-scale, high-quality alignment dataset
specifically designed for complex reasoning tasks. UltraInteract can be used in
both supervised fine-tuning and preference learning. For each instruction, it
includes a preference tree consisting of (1) reasoning chains with diverse
planning strategies in a unified format, (2) multi-turn interaction
trajectories with the environment and the critique, and (3) pairwise data to
facilitate preference learning. UltraInteract allows us to conduct an in-depth
exploration of preference learning for reasoning tasks. Our investigation
reveals that some well-established preference learning algorithms may be less
suitable for reasoning tasks compared to their effectiveness in general
conversations. Inspired by this, we derive a novel reward modeling objective
which, together with UltraInteract, leads to a strong reward model. | cs.AI | Advancing LLM Reasoning Generalists with Preference Trees |
2024-04-02T16:10:29Z | http://arxiv.org/pdf/2404.02068v1 | http://arxiv.org/abs/2404.02068v1 | Zhuo Chen, Chengyue Jiang, Kewei Tu | 2024-04-02T16:10:29Z | cs.CL | In the age of neural natural language processing, there are plenty of works
trying to derive interpretations of neural models. Intuitively, when gold
rationales exist during training, one can additionally train the model to match
its interpretation with the rationales. However, this intuitive idea has not
been fully explored. In this paper, we propose a framework of utilizing
interpretation methods and gold rationales to enhance models. Our framework is
very general in the sense that it can incorporate various interpretation
methods. Previously proposed gradient-based methods can be shown as an instance
of our framework. We also propose two novel instances utilizing two other types
of interpretation methods, erasure/replace-based and extractor-based methods,
for model enhancement. We conduct comprehensive experiments on a variety of
tasks. Experimental results show that our framework is effective especially in
low-resource settings in enhancing models with various interpretation methods,
and our two newly-proposed methods outperform gradient-based methods in most
settings. Code is available at https://github.com/Chord-Chen-30/UIMER. | cs.CL | Using Interpretation Methods for Model Enhancement |
2024-04-02T15:59:11Z | http://arxiv.org/pdf/2404.02060v3 | http://arxiv.org/abs/2404.02060v3 | Tianle Li, Ge Zhang, Quy Duc Do, Xiang Yue, Wenhu Chen | 2024-06-12T02:46:16Z | cs.CL, cs.AI | Large Language Models (LLMs) have made significant strides in handling long
sequences. Some models like Gemini could even to be capable of dealing with
millions of tokens. However, their performance evaluation has largely been
confined to metrics like perplexity and synthetic tasks, which may not fully
capture their true abilities in more challenging, real-world scenarios. We
introduce a benchmark (LongICLBench) for long in-context learning in
extreme-label classification using six datasets with 28 to 174 classes and
input lengths from 2K to 50K tokens. Our benchmark requires LLMs to comprehend
the entire input to recognize the massive label spaces to make correct
predictions. We evaluate on 15 long-context LLMs and find that they perform
well on less challenging classification tasks with smaller label space and
shorter demonstrations. However, they struggle with more challenging task like
Discovery with 174 labels, suggesting a gap in their ability to process long,
context-rich sequences. Further analysis reveals a bias towards labels
presented later in the sequence and a need for improved reasoning over multiple
pieces of information. Our study reveals that long context understanding and
reasoning is still a challenging task for the existing LLMs. We believe
LongICLBench could serve as a more realistic evaluation for the future
long-context LLMs. | cs.CL | Long-context LLMs Struggle with Long In-context Learning |
2024-04-02T15:50:55Z | http://arxiv.org/pdf/2404.02054v2 | http://arxiv.org/abs/2404.02054v2 | Namrata Shivagunde, Vladislav Lialin, Sherin Muckatira, Anna Rumshisky | 2024-05-29T16:12:37Z | cs.CL | The ability of large language models (LLMs) to $``$learn in context$"$ based
on the provided prompt has led to an explosive growth in their use, culminating
in the proliferation of AI assistants such as ChatGPT, Claude, and Bard. These
AI assistants are known to be robust to minor prompt modifications, mostly due
to alignment techniques that use human feedback. In contrast, the underlying
pre-trained LLMs they use as a backbone are known to be brittle in this
respect. Building high-quality backbone models remains a core challenge, and a
common approach to assessing their quality is to conduct few-shot evaluation.
Such evaluation is notorious for being highly sensitive to minor prompt
modifications, as well as the choice of specific in-context examples. Prior
work has examined how modifying different elements of the prompt can affect
model performance. However, these earlier studies tended to concentrate on a
limited number of specific prompt attributes and often produced contradictory
results. Additionally, previous research either focused on models with fewer
than 15 billion parameters or exclusively examined black-box models like GPT-3
or PaLM, making replication challenging. In the present study, we decompose the
entire prompt into four components: task description, demonstration inputs,
labels, and inline instructions provided for each demonstration. We investigate
the effects of structural and semantic corruptions of these elements on model
performance. We study models ranging from 1.5B to 70B in size, using ten
datasets covering classification and generation tasks. We find that repeating
text within the prompt boosts model performance, and bigger models ($\geq$30B)
are more sensitive to the semantics of the prompt. Finally, we observe that
adding task and inline instructions to the demonstrations enhances model
performance even when the instructions are semantically corrupted. | cs.CL | Deconstructing In-Context Learning: Understanding Prompts via Corruption |
2024-04-02T15:50:10Z | http://arxiv.org/pdf/2404.02053v2 | http://arxiv.org/abs/2404.02053v2 | Enmin Zhu, Jerome Yen | 2024-04-04T08:05:37Z | cs.CL, cs.CE, q-fin.ST | This paper explores the intersection of Natural Language Processing (NLP) and
financial analysis, focusing on the impact of sentiment analysis in stock price
prediction. We employ BERTopic, an advanced NLP technique, to analyze the
sentiment of topics derived from stock market comments. Our methodology
integrates this sentiment analysis with various deep learning models, renowned
for their effectiveness in time series and stock prediction tasks. Through
comprehensive experiments, we demonstrate that incorporating topic sentiment
notably enhances the performance of these models. The results indicate that
topics in stock market comments provide implicit, valuable insights into stock
market volatility and price trends. This study contributes to the field by
showcasing the potential of NLP in enriching financial analysis and opens up
avenues for further research into real-time sentiment analysis and the
exploration of emotional and contextual aspects of market sentiment. The
integration of advanced NLP techniques like BERTopic with traditional financial
analysis methods marks a step forward in developing more sophisticated tools
for understanding and predicting market behaviors. | cs.CL | BERTopic-Driven Stock Market Predictions: Unraveling Sentiment Insights |
2024-04-02T15:37:09Z | http://arxiv.org/pdf/2404.02043v1 | http://arxiv.org/abs/2404.02043v1 | Daryna Dementieva, Valeriia Khylenko, Georg Groh | 2024-04-02T15:37:09Z | cs.CL, cs.AI | Despite the extensive amount of labeled datasets in the NLP text
classification field, the persistent imbalance in data availability across
various languages remains evident. Ukrainian, in particular, stands as a
language that still can benefit from the continued refinement of cross-lingual
methodologies. Due to our knowledge, there is a tremendous lack of Ukrainian
corpora for typical text classification tasks. In this work, we leverage the
state-of-the-art advances in NLP, exploring cross-lingual knowledge transfer
methods avoiding manual data curation: large multilingual encoders and
translation systems, LLMs, and language adapters. We test the approaches on
three text classification tasks -- toxicity classification, formality
classification, and natural language inference -- providing the "recipe" for
the optimal setups. | cs.CL | Ukrainian Texts Classification: Exploration of Cross-lingual Knowledge Transfer Approaches |
2024-04-02T15:32:32Z | http://arxiv.org/pdf/2404.02037v1 | http://arxiv.org/abs/2404.02037v1 | Daryna Dementieva, Nikolay Babakov, Alexander Panchenko | 2024-04-02T15:32:32Z | cs.CL, cs.AI | Text detoxification is a textual style transfer (TST) task where a text is
paraphrased from a toxic surface form, e.g. featuring rude words, to the
neutral register. Recently, text detoxification methods found their
applications in various task such as detoxification of Large Language Models
(LLMs) (Leong et al., 2023; He et al., 2024; Tang et al., 2023) and toxic
speech combating in social networks (Deng et al., 2023; Mun et al., 2023;
Agarwal et al., 2023). All these applications are extremely important to ensure
safe communication in modern digital worlds. However, the previous approaches
for parallel text detoxification corpora collection -- ParaDetox (Logacheva et
al., 2022) and APPADIA (Atwell et al., 2022) -- were explored only in
monolingual setup. In this work, we aim to extend ParaDetox pipeline to
multiple languages presenting MultiParaDetox to automate parallel
detoxification corpus collection for potentially any language. Then, we
experiment with different text detoxification models -- from unsupervised
baselines to LLMs and fine-tuned models on the presented parallel corpora --
showing the great benefit of parallel corpus presence to obtain
state-of-the-art text detoxification models for any language. | cs.CL | MultiParaDetox: Extending Text Detoxification with Parallel Data to New Languages |
2024-04-02T15:10:11Z | http://arxiv.org/pdf/2404.02022v2 | http://arxiv.org/abs/2404.02022v2 | Zhuo Chen, Xinyu Wang, Yong Jiang, Pengjun Xie, Fei Huang, Kewei Tu | 2024-07-01T10:38:59Z | cs.CL | In the era of large language models, applying techniques such as Retrieval
Augmented Generation can better address Open-Domain Question-Answering
problems. Due to constraints including model sizes and computing resources, the
length of context is often limited, and it becomes challenging to empower the
model to cover overlong contexts while answering questions from open domains.
This paper proposes a general and convenient method to covering longer contexts
in Open-Domain Question-Answering tasks. It leverages a small encoder language
model that effectively encodes contexts, and the encoding applies
cross-attention with origin inputs. With our method, the origin language models
can cover several times longer contexts while keeping the computing
requirements close to the baseline. Our experiments demonstrate that after
fine-tuning, there is improved performance across two held-in datasets, four
held-out datasets, and also in two In Context Learning settings. | cs.CL | Improving Retrieval Augmented Open-Domain Question-Answering with Vectorized Contexts |
2024-04-02T15:05:06Z | http://arxiv.org/pdf/2406.11852v1 | http://arxiv.org/abs/2406.11852v1 | Declan Grabb, Max Lamparth, Nina Vasan | 2024-04-02T15:05:06Z | cs.CY, cs.AI, cs.CL | Amidst the growing interest in developing task-autonomous AI for automated
mental health care, this paper addresses the ethical and practical challenges
associated with the issue and proposes a structured framework that delineates
levels of autonomy, outlines ethical requirements, and defines beneficial
default behaviors for AI agents in the context of mental health support. We
also evaluate ten state-of-the-art language models using 16 mental
health-related questions designed to reflect various mental health conditions,
such as psychosis, mania, depression, suicidal thoughts, and homicidal
tendencies. The question design and response evaluations were conducted by
mental health clinicians (M.D.s). We find that existing language models are
insufficient to match the standard provided by human professionals who can
navigate nuances and appreciate context. This is due to a range of issues,
including overly cautious or sycophantic responses and the absence of necessary
safeguards. Alarmingly, we find that most of the tested models could cause harm
if accessed in mental health emergencies, failing to protect users and
potentially exacerbating existing symptoms. We explore solutions to enhance the
safety of current models. Before the release of increasingly task-autonomous AI
systems in mental health, it is crucial to ensure that these models can
reliably detect and manage symptoms of common psychiatric disorders to prevent
harm to users. This involves aligning with the ethical framework and default
behaviors outlined in our study. We contend that model developers are
responsible for refining their systems per these guidelines to safeguard
against the risks posed by current AI technologies to user mental health and
safety.
Trigger warning: Contains and discusses examples of sensitive mental health
topics, including suicide and self-harm. | cs.CY | Risks from Language Models for Automated Mental Healthcare: Ethics and Structure for Implementation |
2024-04-02T14:55:47Z | http://arxiv.org/pdf/2404.02013v2 | http://arxiv.org/abs/2404.02013v2 | Advaitha Vetagiri, Gyandeep Kalita, Eisha Halder, Chetna Taparia, Partha Pakray, Riyanka Manna | 2024-04-03T09:14:01Z | cs.CL | Online gender-based harassment is a widespread issue limiting the free
expression and participation of women and marginalized genders in digital
spaces. Detecting such abusive content can enable platforms to curb this
menace. We participated in the Gendered Abuse Detection in Indic Languages
shared task at ICON2023 that provided datasets of annotated Twitter posts in
English, Hindi and Tamil for building classifiers to identify gendered abuse.
Our team CNLP-NITS-PP developed an ensemble approach combining CNN and BiLSTM
networks that can effectively model semantic and sequential patterns in textual
data. The CNN captures localized features indicative of abusive language
through its convolution filters applied on embedded input text. To determine
context-based offensiveness, the BiLSTM analyzes this sequence for dependencies
among words and phrases. Multiple variations were trained using FastText and
GloVe word embeddings for each language dataset comprising over 7,600
crowdsourced annotations across labels for explicit abuse, targeted minority
attacks and general offences. The validation scores showed strong performance
across f1-measures, especially for English 0.84. Our experiments reveal how
customizing embeddings and model hyperparameters can improve detection
capability. The proposed architecture ranked 1st in the competition, proving
its ability to handle real-world noisy text with code-switching. This technique
has a promising scope as platforms aim to combat cyber harassment facing Indic
language internet users. Our Code is at
https://github.com/advaithavetagiri/CNLP-NITS-PP | cs.CL | Breaking the Silence Detecting and Mitigating Gendered Abuse in Hindi, Tamil, and Indian English Online Spaces |
2024-04-02T14:53:41Z | http://arxiv.org/pdf/2404.02009v1 | http://arxiv.org/abs/2404.02009v1 | Elodie Gauthier, Papa-Séga Wade, Thierry Moudenc, Patrice Collen, Emilie De Neef, Oumar Ba, Ndeye Khoyane Cama, Cheikh Ahmadou Bamba Kebe, Ndeye Aissatou Gningue, Thomas Mendo'o Aristide | 2024-04-02T14:53:41Z | cs.CL, cs.HC | This paper presents the proof-of-concept of the first automatic voice
assistant ever built in Wolof language, the main vehicular language spoken in
Senegal. This voicebot is the result of a collaborative research project
between Orange Innovation in France, Orange Senegal (aka Sonatel) and ADNCorp,
a small IT company based in Dakar, Senegal. The purpose of the voicebot is to
provide information to Orange customers about the Sargal loyalty program of
Orange Senegal by using the most natural mean to communicate: speech. The
voicebot receives in input the customer's oral request that is then processed
by a SLU system to reply to the customer's request using audio recordings. The
first results of this proof-of-concept are encouraging as we achieved 22\% of
WER for the ASR task and 78\% of F1-score on the NLU task. | cs.CL | Preuve de concept d'un bot vocal dialoguant en wolof |
2024-04-02T14:43:36Z | http://arxiv.org/pdf/2404.02000v3 | http://arxiv.org/abs/2404.02000v3 | Antoine Caubrière, Elodie Gauthier | 2024-04-22T09:18:44Z | cs.CL, cs.LG, cs.SD, eess.AS | We present the first self-supervised multilingual speech model trained
exclusively on African speech. The model learned from nearly 60 000 hours of
unlabeled speech segments in 21 languages and dialects spoken in sub-Saharan
Africa. On the SSA subset of the FLEURS-102 dataset, our approach based on a
HuBERT$_{base}$ (0.09B) architecture shows competitive results, for ASR
downstream task, compared to the w2v-bert-51 (0.6B) pre-trained model proposed
in the FLEURS benchmark, while being more efficient by using 7x less data and
6x less parameters. Furthermore, in the context of a LID downstream task, our
approach outperforms FLEURS baselines accuracy by over 22\%. | cs.CL | Africa-Centric Self-Supervised Pre-Training for Multilingual Speech Representation in a Sub-Saharan Context |
2024-04-02T14:40:04Z | http://arxiv.org/pdf/2404.01994v1 | http://arxiv.org/abs/2404.01994v1 | Mengfei Du, Binhao Wu, Jiwen Zhang, Zhihao Fan, Zejun Li, Ruipu Luo, Xuanjing Huang, Zhongyu Wei | 2024-04-02T14:40:04Z | cs.CV, cs.CL, cs.LG | Vision-and-Language navigation (VLN) requires an agent to navigate in unseen
environment by following natural language instruction. For task completion, the
agent needs to align and integrate various navigation modalities, including
instruction, observation and navigation history. Existing works primarily
concentrate on cross-modal attention at the fusion stage to achieve this
objective. Nevertheless, modality features generated by disparate uni-encoders
reside in their own spaces, leading to a decline in the quality of cross-modal
fusion and decision. To address this problem, we propose a Dual-levEL AligNment
(DELAN) framework by cross-modal contrastive learning. This framework is
designed to align various navigation-related modalities before fusion, thereby
enhancing cross-modal interaction and action decision-making. Specifically, we
divide the pre-fusion alignment into dual levels: instruction-history level and
landmark-observation level according to their semantic correlations. We also
reconstruct a dual-level instruction for adaptation to the dual-level
alignment. As the training signals for pre-fusion alignment are extremely
limited, self-supervised contrastive learning strategies are employed to
enforce the matching between different modalities. Our approach seamlessly
integrates with the majority of existing models, resulting in improved
navigation performance on various VLN benchmarks, including R2R, R4R, RxR and
CVDN. | cs.CV | DELAN: Dual-Level Alignment for Vision-and-Language Navigation by Cross-Modal Contrastive Learning |
2024-04-02T14:35:08Z | http://arxiv.org/pdf/2404.01992v1 | http://arxiv.org/abs/2404.01992v1 | Stephan Linzbach, Dimitar Dimitrov, Laura Kallmeyer, Kilian Evang, Hajira Jabeen, Stefan Dietze | 2024-04-02T14:35:08Z | cs.CL | Pre-trained Language Models (PLMs) are known to contain various kinds of
knowledge. One method to infer relational knowledge is through the use of
cloze-style prompts, where a model is tasked to predict missing subjects or
objects. Typically, designing these prompts is a tedious task because small
differences in syntax or semantics can have a substantial impact on knowledge
retrieval performance. Simultaneously, evaluating the impact of either prompt
syntax or information is challenging due to their interdependence. We designed
CONPARE-LAMA - a dedicated probe, consisting of 34 million distinct prompts
that facilitate comparison across minimal paraphrases. These paraphrases follow
a unified meta-template enabling the controlled variation of syntax and
semantics across arbitrary relations. CONPARE-LAMA enables insights into the
independent impact of either syntactical form or semantic information of
paraphrases on the knowledge retrieval performance of PLMs. Extensive knowledge
retrieval experiments using our probe reveal that prompts following clausal
syntax have several desirable properties in comparison to appositive syntax: i)
they are more useful when querying PLMs with a combination of supplementary
information, ii) knowledge is more consistently recalled across different
combinations of supplementary information, and iii) they decrease response
uncertainty when retrieving known facts. In addition, range information can
boost knowledge retrieval performance more than domain information, even though
domain information is more reliably helpful across syntactic forms. | cs.CL | Dissecting Paraphrases: The Impact of Prompt Syntax and supplementary Information on Knowledge Retrieval from Pretrained Language Models |
2024-04-02T14:31:14Z | http://arxiv.org/pdf/2404.01991v1 | http://arxiv.org/abs/2404.01991v1 | Elodie Gauthier, Aminata Ndiaye, Abdoulaye Guissé | 2024-04-02T14:31:14Z | cs.CL | This work is part of the Kallaama project, whose objective is to produce and
disseminate national languages corpora for speech technologies developments, in
the field of agriculture. Except for Wolof, which benefits from some language
data for natural language processing, national languages of Senegal are largely
ignored by language technology providers. However, such technologies are keys
to the protection, promotion and teaching of these languages. Kallaama focuses
on the 3 main spoken languages by Senegalese people: Wolof, Pulaar and Sereer.
These languages are widely spoken by the population, with around 10 million of
native Senegalese speakers, not to mention those outside the country. However,
they remain under-resourced in terms of machine-readable data that can be used
for automatic processing and language technologies, all the more so in the
agricultural sector. We release a transcribed speech dataset containing 125
hours of recordings, about agriculture, in each of the above-mentioned
languages. These resources are specifically designed for Automatic Speech
Recognition purpose, including traditional approaches. To build such
technologies, we provide textual corpora in Wolof and Pulaar, and a
pronunciation lexicon containing 49,132 entries from the Wolof dataset. | cs.CL | Kallaama: A Transcribed Speech Dataset about Agriculture in the Three Most Widely Spoken Languages in Senegal |
2024-04-02T13:55:05Z | http://arxiv.org/pdf/2404.01961v1 | http://arxiv.org/abs/2404.01961v1 | Dan Schumacher, Anthony Rios | 2024-04-02T13:55:05Z | cs.CL | In this paper, we present our system for the SemEval Task 5, The Legal
Argument Reasoning Task in Civil Procedure Challenge. Legal argument reasoning
is an essential skill that all law students must master. Moreover, it is
important to develop natural language processing solutions that can reason
about a question given terse domain-specific contextual information. Our system
explores a prompt-based solution using GPT4 to reason over legal arguments. We
also evaluate an ensemble of prompting strategies, including chain-of-thought
reasoning and in-context learning. Overall, our system results in a Macro F1 of
.8095 on the validation dataset and .7315 (5th out of 21 teams) on the final
test set. Code for this project is available at
https://github.com/danschumac1/CivilPromptReasoningGPT4. | cs.CL | Team UTSA-NLP at SemEval 2024 Task 5: Prompt Ensembling for Argument Reasoning in Civil Procedures with GPT4 |
2024-04-02T13:48:49Z | http://arxiv.org/pdf/2404.01954v2 | http://arxiv.org/abs/2404.01954v2 | Kang Min Yoo, Jaegeun Han, Sookyo In, Heewon Jeon, Jisu Jeong, Jaewook Kang, Hyunwook Kim, Kyung-Min Kim, Munhyong Kim, Sungju Kim, Donghyun Kwak, Hanock Kwak, Se Jung Kwon, Bado Lee, Dongsoo Lee, Gichang Lee, Jooho Lee, Baeseong Park, Seongjin Shin, Joonsang Yu, Seolki Baek, Sumin Byeon, Eungsup Cho, Dooseok Choe, Jeesung Han, Youngkyun Jin, Hyein Jun, Jaeseung Jung, Chanwoong Kim, Jinhong Kim, Jinuk Kim, Dokyeong Lee, Dongwook Park, Jeong Min Sohn, Sujung Han, Jiae Heo, Sungju Hong, Mina Jeon, Hyunhoon Jung, Jungeun Jung, Wangkyo Jung, Chungjoon Kim, Hyeri Kim, Jonghyun Kim, Min Young Kim, Soeun Lee, Joonhee Park, Jieun Shin, Sojin Yang, Jungsoon Yoon, Hwaran Lee, Sanghwan Bae, Jeehwan Cha, Karl Gylleus, Donghoon Ham, Mihak Hong, Youngki Hong, Yunki Hong, Dahyun Jang, Hyojun Jeon, Yujin Jeon, Yeji Jeong, Myunggeun Ji, Yeguk Jin, Chansong Jo, Shinyoung Joo, Seunghwan Jung, Adrian Jungmyung Kim, Byoung Hoon Kim, Hyomin Kim, Jungwhan Kim, Minkyoung Kim, Minseung Kim, Sungdong Kim, Yonghee Kim, Youngjun Kim, Youngkwan Kim, Donghyeon Ko, Dughyun Lee, Ha Young Lee, Jaehong Lee, Jieun Lee, Jonghyun Lee, Jongjin Lee, Min Young Lee, Yehbin Lee, Taehong Min, Yuri Min, Kiyoon Moon, Hyangnam Oh, Jaesun Park, Kyuyon Park, Younghun Park, Hanbae Seo, Seunghyun Seo, Mihyun Sim, Gyubin Son, Matt Yeo, Kyung Hoon Yeom, Wonjoon Yoo, Myungin You, Doheon Ahn, Homin Ahn, Joohee Ahn, Seongmin Ahn, Chanwoo An, Hyeryun An, Junho An, Sang-Min An, Boram Byun, Eunbin Byun, Jongho Cha, Minji Chang, Seunggyu Chang, Haesong Cho, Youngdo Cho, Dalnim Choi, Daseul Choi, Hyoseok Choi, Minseong Choi, Sangho Choi, Seongjae Choi, Wooyong Choi, Sewhan Chun, Dong Young Go, Chiheon Ham, Danbi Han, Jaemin Han, Moonyoung Hong, Sung Bum Hong, Dong-Hyun Hwang, Seongchan Hwang, Jinbae Im, Hyuk Jin Jang, Jaehyung Jang, Jaeni Jang, Sihyeon Jang, Sungwon Jang, Joonha Jeon, Daun Jeong, Joonhyun Jeong, Kyeongseok Jeong, Mini Jeong, Sol Jin, Hanbyeol Jo, Hanju Jo, Minjung Jo, Chaeyoon Jung, Hyungsik Jung, Jaeuk Jung, Ju Hwan Jung, Kwangsun Jung, Seungjae Jung, Soonwon Ka, Donghan Kang, Soyoung Kang, Taeho Kil, Areum Kim, Beomyoung Kim, Byeongwook Kim, Daehee Kim, Dong-Gyun Kim, Donggook Kim, Donghyun Kim, Euna Kim, Eunchul Kim, Geewook Kim, Gyu Ri Kim, Hanbyul Kim, Heesu Kim, Isaac Kim, Jeonghoon Kim, Jihye Kim, Joonghoon Kim, Minjae Kim, Minsub Kim, Pil Hwan Kim, Sammy Kim, Seokhun Kim, Seonghyeon Kim, Soojin Kim, Soong Kim, Soyoon Kim, Sunyoung Kim, Taeho Kim, Wonho Kim, Yoonsik Kim, You Jin Kim, Yuri Kim, Beomseok Kwon, Ohsung Kwon, Yoo-Hwan Kwon, Anna Lee, Byungwook Lee, Changho Lee, Daun Lee, Dongjae Lee, Ha-Ram Lee, Hodong Lee, Hwiyeong Lee, Hyunmi Lee, Injae Lee, Jaeung Lee, Jeongsang Lee, Jisoo Lee, Jongsoo Lee, Joongjae Lee, Juhan Lee, Jung Hyun Lee, Junghoon Lee, Junwoo Lee, Se Yun Lee, Sujin Lee, Sungjae Lee, Sungwoo Lee, Wonjae Lee, Zoo Hyun Lee, Jong Kun Lim, Kun Lim, Taemin Lim, Nuri Na, Jeongyeon Nam, Kyeong-Min Nam, Yeonseog Noh, Biro Oh, Jung-Sik Oh, Solgil Oh, Yeontaek Oh, Boyoun Park, Cheonbok Park, Dongju Park, Hyeonjin Park, Hyun Tae Park, Hyunjung Park, Jihye Park, Jooseok Park, Junghwan Park, Jungsoo Park, Miru Park, Sang Hee Park, Seunghyun Park, Soyoung Park, Taerim Park, Wonkyeong Park, Hyunjoon Ryu, Jeonghun Ryu, Nahyeon Ryu, Soonshin Seo, Suk Min Seo, Yoonjeong Shim, Kyuyong Shin, Wonkwang Shin, Hyun Sim, Woongseob Sim, Hyejin Soh, Bokyong Son, Hyunjun Son, Seulah Son, Chi-Yun Song, Chiyoung Song, Ka Yeon Song, Minchul Song, Seungmin Song, Jisung Wang, Yonggoo Yeo, Myeong Yeon Yi, Moon Bin Yim, Taehwan Yoo, Youngjoon Yoo, Sungmin Yoon, Young Jin Yoon, Hangyeol Yu, Ui Seon Yu, Xingdong Zuo, Jeongin Bae, Joungeun Bae, Hyunsoo Cho, Seonghyun Cho, Yongjin Cho, Taekyoon Choi, Yera Choi, Jiwan Chung, Zhenghui Han, Byeongho Heo, Euisuk Hong, Taebaek Hwang, Seonyeol Im, Sumin Jegal, Sumin Jeon, Yelim Jeong, Yonghyun Jeong, Can Jiang, Juyong Jiang, Jiho Jin, Ara Jo, Younghyun Jo, Hoyoun Jung, Juyoung Jung, Seunghyeong Kang, Dae Hee Kim, Ginam Kim, Hangyeol Kim, Heeseung Kim, Hyojin Kim, Hyojun Kim, Hyun-Ah Kim, Jeehye Kim, Jin-Hwa Kim, Jiseon Kim, Jonghak Kim, Jung Yoon Kim, Rak Yeong Kim, Seongjin Kim, Seoyoon Kim, Sewon Kim, Sooyoung Kim, Sukyoung Kim, Taeyong Kim, Naeun Ko, Bonseung Koo, Heeyoung Kwak, Haena Kwon, Youngjin Kwon, Boram Lee, Bruce W. Lee, Dagyeong Lee, Erin Lee, Euijin Lee, Ha Gyeong Lee, Hyojin Lee, Hyunjeong Lee, Jeeyoon Lee, Jeonghyun Lee, Jongheok Lee, Joonhyung Lee, Junhyuk Lee, Mingu Lee, Nayeon Lee, Sangkyu Lee, Se Young Lee, Seulgi Lee, Seung Jin Lee, Suhyeon Lee, Yeonjae Lee, Yesol Lee, Youngbeom Lee, Yujin Lee, Shaodong Li, Tianyu Liu, Seong-Eun Moon, Taehong Moon, Max-Lasse Nihlenramstroem, Wonseok Oh, Yuri Oh, Hongbeen Park, Hyekyung Park, Jaeho Park, Nohil Park, Sangjin Park, Jiwon Ryu, Miru Ryu, Simo Ryu, Ahreum Seo, Hee Seo, Kangdeok Seo, Jamin Shin, Seungyoun Shin, Heetae Sin, Jiangping Wang, Lei Wang, Ning Xiang, Longxiang Xiao, Jing Xu, Seonyeong Yi, Haanju Yoo, Haneul Yoo, Hwanhee Yoo, Liang Yu, Youngjae Yu, Weijie Yuan, Bo Zeng, Qian Zhou, Kyunghyun Cho, Jung-Woo Ha, Joonsuk Park, Jihyun Hwang, Hyoung Jo Kwon, Soonyong Kwon, Jungyeon Lee, Seungho Lee, Seonghyeon Lim, Hyunkyung Noh, Seungho Choi, Sang-Woo Lee, Jung Hwa Lim, Nako Sung | 2024-04-13T15:06:19Z | cs.CL, cs.AI | We introduce HyperCLOVA X, a family of large language models (LLMs) tailored
to the Korean language and culture, along with competitive capabilities in
English, math, and coding. HyperCLOVA X was trained on a balanced mix of
Korean, English, and code data, followed by instruction-tuning with
high-quality human-annotated datasets while abiding by strict safety guidelines
reflecting our commitment to responsible AI. The model is evaluated across
various benchmarks, including comprehensive reasoning, knowledge, commonsense,
factuality, coding, math, chatting, instruction-following, and harmlessness, in
both Korean and English. HyperCLOVA X exhibits strong reasoning capabilities in
Korean backed by a deep understanding of the language and cultural nuances.
Further analysis of the inherent bilingual nature and its extension to
multilingualism highlights the model's cross-lingual proficiency and strong
generalization ability to untargeted languages, including machine translation
between several language pairs and cross-lingual inference tasks. We believe
that HyperCLOVA X can provide helpful guidance for regions or countries in
developing their sovereign LLMs. | cs.CL | HyperCLOVA X Technical Report |
2024-04-02T13:47:52Z | http://arxiv.org/pdf/2404.01953v1 | http://arxiv.org/abs/2404.01953v1 | Samuel Rose, Chandrasekhar Kambhampati | 2024-04-02T13:47:52Z | cs.CL, cs.LO | In Linguistics, a grapheme is a written unit of a writing system
corresponding to a phonological sound. In Natural Language Processing tasks,
written language is analysed through two different mediums, word analysis, and
character analysis. This paper focuses on a third approach, the analysis of
graphemes. Graphemes have advantages over word and character analysis by being
self-contained representations of phonetic sounds. Due to the nature of
splitting a word into graphemes being based on complex, non-binary rules, the
application of fuzzy logic would provide a suitable medium upon which to
predict the number of graphemes in a word. This paper proposes the application
of a Fuzzy Inference System to split words into their graphemes. This Fuzzy
Inference System results in a correct prediction of the number of graphemes in
a word 50.18% of the time, with 93.51% being within a margin of +- 1 from the
correct classification. Given the variety in language, graphemes are tied with
pronunciation and therefore can change depending on a regional accent/dialect,
the +- 1 accuracy represents the impreciseness of grapheme classification when
regional variances are accounted for. To give a baseline of comparison, a
second method involving a recursive IPA mapping exercise using a pronunciation
dictionary was developed to allow for comparisons to be made. | cs.CL | Classifying Graphemes in English Words Through the Application of a Fuzzy Inference System |
2024-04-02T13:37:28Z | http://arxiv.org/pdf/2404.02183v1 | http://arxiv.org/abs/2404.02183v1 | Yoichi Ishibashi, Yoshimasa Nishimura | 2024-04-02T13:37:28Z | cs.SE, cs.AI, cs.CL, cs.LG, cs.MA | Recent advancements in automatic code generation using large language model
(LLM) agent have brought us closer to the future of automated software
development. However, existing single-agent approaches face limitations in
generating and improving large-scale, complex codebases due to constraints in
context length. To tackle this challenge, we propose Self-Organized multi-Agent
framework (SoA), a novel multi-agent framework that enables the scalable and
efficient generation and optimization of large-scale code. In SoA,
self-organized agents operate independently to generate and modify code
components while seamlessly collaborating to construct the overall codebase. A
key feature of our framework is the automatic multiplication of agents based on
problem complexity, allowing for dynamic scalability. This enables the overall
code volume to be increased indefinitely according to the number of agents,
while the amount of code managed by each agent remains constant. We evaluate
SoA on the HumanEval benchmark and demonstrate that, compared to a single-agent
system, each agent in SoA handles significantly less code, yet the overall
generated code is substantially greater. Moreover, SoA surpasses the powerful
single-agent baseline by 5% in terms of Pass@1 accuracy. | cs.SE | Self-Organized Agents: A LLM Multi-Agent Framework toward Ultra Large-Scale Code Generation and Optimization |
2024-04-02T13:33:23Z | http://arxiv.org/pdf/2404.01940v1 | http://arxiv.org/abs/2404.01940v1 | Veronica Valeros, Anna Širokova, Carlos Catania, Sebastian Garcia | 2024-04-02T13:33:23Z | cs.CL | Understanding cybercrime communications is paramount for cybersecurity
defence. This often involves translating communications into English for
processing, interpreting, and generating timely intelligence. The problem is
that translation is hard. Human translation is slow, expensive, and scarce.
Machine translation is inaccurate and biased. We propose using fine-tuned Large
Language Models (LLM) to generate translations that can accurately capture the
nuances of cybercrime language. We apply our technique to public chats from the
NoName057(16) Russian-speaking hacktivist group. Our results show that our
fine-tuned LLM model is better, faster, more accurate, and able to capture
nuances of the language. Our method shows it is possible to achieve
high-fidelity translations and significantly reduce costs by a factor ranging
from 430 to 23,000 compared to a human translator. | cs.CL | Towards Better Understanding of Cybercrime: The Role of Fine-Tuned LLMs in Translation |
2024-04-02T13:17:36Z | http://arxiv.org/pdf/2404.01923v1 | http://arxiv.org/abs/2404.01923v1 | Shasha Guo, Lizi Liao, Jing Zhang, Yanling Wang, Cuiping Li, Hong Chen | 2024-04-02T13:17:36Z | cs.CL, cs.AI | Knowledge base question generation (KBQG) aims to generate natural language
questions from a set of triplet facts extracted from KB. Existing methods have
significantly boosted the performance of KBQG via pre-trained language models
(PLMs) thanks to the richly endowed semantic knowledge. With the advance of
pre-training techniques, large language models (LLMs) (e.g., GPT-3.5)
undoubtedly possess much more semantic knowledge. Therefore, how to effectively
organize and exploit the abundant knowledge for KBQG becomes the focus of our
study. In this work, we propose SGSH--a simple and effective framework to
Stimulate GPT-3.5 with Skeleton Heuristics to enhance KBQG. The framework
incorporates "skeleton heuristics", which provides more fine-grained guidance
associated with each input to stimulate LLMs to generate optimal questions,
encompassing essential elements like the question phrase and the auxiliary
verb.More specifically, we devise an automatic data construction strategy
leveraging ChatGPT to construct a skeleton training dataset, based on which we
employ a soft prompting approach to train a BART model dedicated to generating
the skeleton associated with each input. Subsequently, skeleton heuristics are
encoded into the prompt to incentivize GPT-3.5 to generate desired questions.
Extensive experiments demonstrate that SGSH derives the new state-of-the-art
performance on the KBQG tasks. | cs.CL | SGSH: Stimulate Large Language Models with Skeleton Heuristics for Knowledge Base Question Generation |
2024-04-02T13:15:07Z | http://arxiv.org/pdf/2404.01921v2 | http://arxiv.org/abs/2404.01921v2 | Bowen Ding, Qingkai Min, Shengkun Ma, Yingjie Li, Linyi Yang, Yue Zhang | 2024-05-08T04:07:35Z | cs.CL | Based on Pre-trained Language Models (PLMs), event coreference resolution
(ECR) systems have demonstrated outstanding performance in clustering
coreferential events across documents. However, the existing system exhibits an
excessive reliance on the `triggers lexical matching' spurious pattern in the
input mention pair text. We formalize the decision-making process of the
baseline ECR system using a Structural Causal Model (SCM), aiming to identify
spurious and causal associations (i.e., rationales) within the ECR task.
Leveraging the debiasing capability of counterfactual data augmentation, we
develop a rationale-centric counterfactual data augmentation method with
LLM-in-the-loop. This method is specialized for pairwise input in the ECR
system, where we conduct direct interventions on triggers and context to
mitigate the spurious association while emphasizing the causation. Our approach
achieves state-of-the-art performance on three popular cross-document ECR
benchmarks and demonstrates robustness in out-of-domain scenarios. | cs.CL | A Rationale-centric Counterfactual Data Augmentation Method for Cross-Document Event Coreference Resolution |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.