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
|
---|---|---|---|---|---|---|---|---|
2023-12-07T14:59:15Z | http://arxiv.org/pdf/2312.04339v2 | http://arxiv.org/abs/2312.04339v2 | Derek Tam, Mohit Bansal, Colin Raffel | 2024-04-13T16:31:25Z | cs.LG, cs.CL | Model merging aims to cheaply combine individual task-specific models into a
single multitask model. In this work, we view past merging methods as
leveraging different notions of a ''task parameter subspace'' in which models
are matched before being merged. We connect the task parameter subspace of a
given model to its loss landscape and formalize how this approach to model
merging can be seen as solving a linear system of equations. While past work
has generally been limited to linear systems that have a closed-form solution,
we consider using the conjugate gradient method to find a solution. We show
that using the conjugate gradient method can outperform closed-form solutions,
enables merging via linear systems that are otherwise intractable to solve, and
flexibly allows choosing from a wide variety of initializations and estimates
for the ''task parameter subspace''. We ultimately demonstrate that our merging
framework called ''Matching Models in their Task Parameter Subspace'' (MaTS)
achieves state-of-the-art results in multitask and intermediate-task model
merging. We release all of the code and checkpoints used in our work at
https://github.com/r-three/mats. | cs.LG | Merging by Matching Models in Task Parameter Subspaces |
2023-12-07T14:50:41Z | http://arxiv.org/pdf/2312.04333v4 | http://arxiv.org/abs/2312.04333v4 | Nuo Chen, Ning Wu, Shining Liang, Ming Gong, Linjun Shou, Dongmei Zhang, Jia Li | 2024-01-09T07:33:07Z | cs.CL | This paper presents an in-depth analysis of Large Language Models (LLMs),
focusing on LLaMA, a prominent open-source foundational model in natural
language processing. Instead of assessing LLaMA through its generative output,
we design multiple-choice tasks to probe its intrinsic understanding in
high-order tasks such as reasoning and computation. We examine the model
horizontally, comparing different sizes, and vertically, assessing different
layers. We unveil several key and uncommon findings based on the designed
probing tasks: (1) Horizontally, enlarging model sizes almost could not
automatically impart additional knowledge or computational prowess. Instead, it
can enhance reasoning abilities, especially in math problem solving, and helps
reduce hallucinations, but only beyond certain size thresholds; (2) In vertical
analysis, the lower layers of LLaMA lack substantial arithmetic and factual
knowledge, showcasing logical thinking, multilingual and recognitive abilities,
with top layers housing most computational power and real-world knowledge. | cs.CL | Is Bigger and Deeper Always Better? Probing LLaMA Across Scales and Layers |
2023-12-07T14:04:15Z | http://arxiv.org/pdf/2312.04306v1 | http://arxiv.org/abs/2312.04306v1 | Felix Stollenwerk | 2023-12-07T14:04:15Z | cs.CL, cs.AI | We present nerblackbox, a python library to facilitate the use of
state-of-the-art transformer-based models for named entity recognition. It
provides simple-to-use yet powerful methods to access data and models from a
wide range of sources, for fully automated model training and evaluation as
well as versatile model inference. While many technical challenges are solved
and hidden from the user by default, nerblackbox also offers fine-grained
control and a rich set of customizable features. It is thus targeted both at
application-oriented developers as well as machine learning experts and
researchers. | cs.CL | nerblackbox: A High-level Library for Named Entity Recognition in Python |
2023-12-07T13:53:29Z | http://arxiv.org/pdf/2312.04302v2 | http://arxiv.org/abs/2312.04302v2 | Yuechen Zhang, Shengju Qian, Bohao Peng, Shu Liu, Jiaya Jia | 2024-03-20T23:32:08Z | cs.CV, cs.CL | This study targets a critical aspect of multi-modal LLMs' (LLMs&VLMs)
inference: explicit controllable text generation. Multi-modal LLMs empower
multi-modality understanding with the capability of semantic generation yet
bring less explainability and heavier reliance on prompt contents due to their
autoregressive generative nature. While manipulating prompt formats could
improve outputs, designing specific and precise prompts per task can be
challenging and ineffective. To tackle this issue, we introduce a novel
inference method, Prompt Highlighter, which enables users to highlight specific
prompt spans to interactively control the focus during generation. Motivated by
the classifier-free diffusion guidance, we form regular and unconditional
context pairs based on highlighted tokens, demonstrating that the
autoregressive generation in models can be guided in a classifier-free way.
Notably, we find that, during inference, guiding the models with highlighted
tokens through the attention weights leads to more desired outputs. Our
approach is compatible with current LLMs and VLMs, achieving impressive
customized generation results without training. Experiments confirm its
effectiveness in focusing on input contexts and generating reliable content.
Without tuning on LLaVA-v1.5, our method secured 70.7 in the MMBench test and
1552.5 in MME-perception. The code is available at:
https://github.com/dvlab-research/Prompt-Highlighter/ | cs.CV | Prompt Highlighter: Interactive Control for Multi-Modal LLMs |
2023-12-07T12:40:00Z | http://arxiv.org/pdf/2312.04262v2 | http://arxiv.org/abs/2312.04262v2 | Huachuan Qiu, Anqi Li, Lizhi Ma, Zhenzhong Lan | 2024-03-20T01:59:39Z | cs.CL, cs.HC | Dialogue systems are increasingly integrated into mental health support to
help clients facilitate exploration, gain insight, take action, and ultimately
heal themselves. A practical and user-friendly dialogue system should be
client-centric, focusing on the client's behaviors. However, existing dialogue
systems publicly available for mental health support often concentrate solely
on the counselor's strategies rather than the behaviors expressed by clients.
This can lead to unreasonable or inappropriate counseling strategies and
corresponding responses generated by the dialogue system. To address this
issue, we propose PsyChat, a client-centric dialogue system that provides
psychological support through online chat. The client-centric dialogue system
comprises five modules: client behavior recognition, counselor strategy
selection, input packer, response generator, and response selection. Both
automatic and human evaluations demonstrate the effectiveness and practicality
of our proposed dialogue system for real-life mental health support.
Furthermore, the case study demonstrates that the dialogue system can predict
the client's behaviors, select appropriate counselor strategies, and generate
accurate and suitable responses. | cs.CL | PsyChat: A Client-Centric Dialogue System for Mental Health Support |
2023-12-07T11:23:29Z | http://arxiv.org/pdf/2312.07553v2 | http://arxiv.org/abs/2312.07553v2 | Joonhyun Jeong | 2024-05-13T10:42:05Z | cs.AI, cs.CL | Recently, Large Multi-modal Models (LMMs) have demonstrated their ability to
understand the visual contents of images given the instructions regarding the
images. Built upon the Large Language Models (LLMs), LMMs also inherit their
abilities and characteristics such as in-context learning where a coherent
sequence of images and texts are given as the input prompt. However, we
identify a new limitation of off-the-shelf LMMs where a small fraction of
incoherent images or text descriptions mislead LMMs to only generate biased
output about the hijacked context, not the originally intended context. To
address this, we propose a pre-filtering method that removes irrelevant
contexts via GPT-4V, based on its robustness towards distribution shift within
the contexts. We further investigate whether replacing the hijacked visual and
textual contexts with the correlated ones via GPT-4V and text-to-image models
can help yield coherent responses. | cs.AI | Hijacking Context in Large Multi-modal Models |
2023-12-07T11:10:28Z | http://arxiv.org/pdf/2312.04219v1 | http://arxiv.org/abs/2312.04219v1 | Ramon Ferrer-i-Cancho, Savithry Namboodiripad | 2023-12-07T11:10:28Z | cs.CL, physics.soc-ph | Distance minimization is a general principle of language. A special case of
this principle in the domain of word order is swap distance minimization. This
principle predicts that variations from a canonical order that are reached by
fewer swaps of adjacent constituents are lest costly and thus more likely. Here
we investigate the principle in the context of the triple formed by subject
(S), object (O) and verb (V). We introduce the concept of word order rotation
as a cognitive underpinning of that prediction. When the canonical order of a
language is SOV, the principle predicts SOV < SVO, OSV < VSO, OVS < VOS, in
order of increasing cognitive cost. We test the prediction in three flexible
order SOV languages: Korean (Koreanic), Malayalam (Dravidian), and Sinhalese
(Indo-European). Evidence of swap distance minimization is found in all three
languages, but it is weaker in Sinhalese. Swap distance minimization is
stronger than a preference for the canonical order in Korean and especially
Malayalam. | cs.CL | Swap distance minimization in SOV languages. Cognitive and mathematical foundations |
2023-12-07T10:21:22Z | http://arxiv.org/pdf/2312.04193v2 | http://arxiv.org/abs/2312.04193v2 | Adrián Bazaga, Pietro Liò, Gos Micklem | 2024-03-16T17:44:27Z | cs.CL, cs.LG, stat.ML | Recent advances in the development of pre-trained Spanish language models has
led to significant progress in many Natural Language Processing (NLP) tasks,
such as question answering. However, the lack of efficient models imposes a
barrier for the adoption of such models in resource-constrained environments.
Therefore, smaller distilled models for the Spanish language could be proven to
be highly scalable and facilitate their further adoption on a variety of tasks
and scenarios. In this work, we take one step in this direction by developing
SpanishTinyRoBERTa, a compressed language model based on RoBERTa for efficient
question answering in Spanish. To achieve this, we employ knowledge
distillation from a large model onto a lighter model that allows for a wider
implementation, even in areas with limited computational resources, whilst
attaining negligible performance sacrifice. Our experiments show that the dense
distilled model can still preserve the performance of its larger counterpart,
while significantly increasing inference speedup. This work serves as a
starting point for further research and investigation of model compression
efforts for Spanish language models across various NLP tasks. | cs.CL | Language Model Knowledge Distillation for Efficient Question Answering in Spanish |
2023-12-07T08:48:54Z | http://arxiv.org/pdf/2312.04134v1 | http://arxiv.org/abs/2312.04134v1 | Edwin C. Y. Koh | 2023-12-07T08:48:54Z | cs.AI, cs.CL | The Design Structure Matrix (DSM) is an established method used in dependency
modelling, especially in the design of complex engineering systems. The
generation of DSM is traditionally carried out through manual means and can
involve interviewing experts to elicit critical system elements and the
relationships between them. Such manual approaches can be time-consuming and
costly. This paper presents a workflow that uses a Large Language Model (LLM)
to support the generation of DSM and improve productivity. A prototype of the
workflow was developed in this work and applied on a diesel engine DSM
published previously. It was found that the prototype could reproduce 357 out
of 462 DSM entries published (i.e. 77.3%), suggesting that the work can aid DSM
generation. A no-code version of the prototype is made available online to
support future research. | cs.AI | Using a Large Language Model to generate a Design Structure Matrix |
2023-12-07T08:29:58Z | http://arxiv.org/pdf/2312.04127v2 | http://arxiv.org/abs/2312.04127v2 | Yanrui Du, Sendong Zhao, Ming Ma, Yuhan Chen, Bing Qin | 2024-02-23T07:32:27Z | cs.CL | Extensive work has been devoted to improving the safety mechanism of Large
Language Models (LLMs). However, LLMs still tend to generate harmful responses
when faced with malicious instructions, a phenomenon referred to as "Jailbreak
Attack". In our research, we introduce a novel automatic jailbreak method
RADIAL, which bypasses the security mechanism by amplifying the potential of
LLMs to generate affirmation responses. The jailbreak idea of our method is
"Inherent Response Tendency Analysis" which identifies real-world instructions
that can inherently induce LLMs to generate affirmation responses and the
corresponding jailbreak strategy is "Real-World Instructions-Driven Jailbreak"
which involves strategically splicing real-world instructions identified
through the above analysis around the malicious instruction. Our method
achieves excellent attack performance on English malicious instructions with
five open-source advanced LLMs while maintaining robust attack performance in
executing cross-language attacks against Chinese malicious instructions. We
conduct experiments to verify the effectiveness of our jailbreak idea and the
rationality of our jailbreak strategy design. Notably, our method designed a
semantically coherent attack prompt, highlighting the potential risks of LLMs.
Our study provides detailed insights into jailbreak attacks, establishing a
foundation for the development of safer LLMs. | cs.CL | Analyzing the Inherent Response Tendency of LLMs: Real-World Instructions-Driven Jailbreak |
2023-12-07T07:37:15Z | http://arxiv.org/pdf/2312.04103v2 | http://arxiv.org/abs/2312.04103v2 | Wei Liu, Haozhao Wang, Jun Wang, Zhiying Deng, YuanKai Zhang, Cheng Wang, Ruixuan Li | 2023-12-15T03:04:04Z | cs.AI, cs.CL, cs.LG | Rationalization empowers deep learning models with self-explaining
capabilities through a cooperative game, where a generator selects a
semantically consistent subset of the input as a rationale, and a subsequent
predictor makes predictions based on the selected rationale. In this paper, we
discover that rationalization is prone to a problem named \emph{rationale
shift}, which arises from the algorithmic bias of the cooperative game.
Rationale shift refers to a situation where the semantics of the selected
rationale may deviate from the original input, but the predictor still produces
accurate predictions based on the deviation, resulting in a compromised
generator with misleading feedback.
To address this issue, we first demonstrate the importance of the alignment
between the rationale and the full input through both empirical observations
and theoretical analysis. Subsequently, we introduce a novel approach called
DAR (\textbf{D}iscriminatively \textbf{A}ligned \textbf{R}ationalization),
which utilizes an auxiliary module pretrained on the full input to
discriminatively align the selected rationale and the original input. We
theoretically illustrate how DAR accomplishes the desired alignment, thereby
overcoming the rationale shift problem. The experiments on two widely used
real-world benchmarks show that the proposed method significantly improves the
explanation quality (measured by the overlap between the model-selected
explanation and the human-annotated rationale) as compared to state-of-the-art
techniques. Additionally, results on two synthetic settings further validate
the effectiveness of DAR in addressing the rationale shift problem. | cs.AI | Enhancing the Rationale-Input Alignment for Self-explaining Rationalization |
2023-12-07T06:23:17Z | http://arxiv.org/pdf/2312.04068v1 | http://arxiv.org/abs/2312.04068v1 | Ryoma Sato | 2023-12-07T06:23:17Z | cs.CR, cs.AI, cs.CL, cs.LG | We propose PRISM to enable users of machine translation systems to preserve
the privacy of data on their own initiative. There is a growing demand to apply
machine translation systems to data that require privacy protection. While
several machine translation engines claim to prioritize privacy, the extent and
specifics of such protection are largely ambiguous. First, there is often a
lack of clarity on how and to what degree the data is protected. Even if
service providers believe they have sufficient safeguards in place,
sophisticated adversaries might still extract sensitive information. Second,
vulnerabilities may exist outside of these protective measures, such as within
communication channels, potentially leading to data leakage. As a result, users
are hesitant to utilize machine translation engines for data demanding high
levels of privacy protection, thereby missing out on their benefits. PRISM
resolves this problem. Instead of relying on the translation service to keep
data safe, PRISM provides the means to protect data on the user's side. This
approach ensures that even machine translation engines with inadequate privacy
measures can be used securely. For platforms already equipped with privacy
safeguards, PRISM acts as an additional protection layer, reinforcing their
security furthermore. PRISM adds these privacy features without significantly
compromising translation accuracy. Our experiments demonstrate the
effectiveness of PRISM using real-world translators, T5 and ChatGPT
(GPT-3.5-turbo), and the datasets with two languages. PRISM effectively
balances privacy protection with translation accuracy. | cs.CR | Making Translators Privacy-aware on the User's Side |
2023-12-07T05:45:24Z | http://arxiv.org/pdf/2312.04059v1 | http://arxiv.org/abs/2312.04059v1 | Zhuoran Huang, Michael P. Berry, Christina Chwyl, Gary Hsieh, Jing Wei, Evan M. Forman | 2023-12-07T05:45:24Z | cs.CL | Automated coaching messages for weight control can save time and costs, but
their repetitive, generic nature may limit their effectiveness compared to
human coaching. Large language model (LLM) based artificial intelligence (AI)
chatbots, like ChatGPT, could offer more personalized and novel messages to
address repetition with their data-processing abilities. While LLM AI
demonstrates promise to encourage healthier lifestyles, studies have yet to
examine the feasibility and acceptability of LLM-based BWL coaching. 87 adults
in a weight-loss trial rated ten coaching messages' helpfulness (five
human-written, five ChatGPT-generated) using a 5-point Likert scale, providing
additional open-ended feedback to justify their ratings. Participants also
identified which messages they believed were AI-generated. The evaluation
occurred in two phases: messages in Phase 1 were perceived as impersonal and
negative, prompting revisions for Phase 2 messages. In Phase 1, AI-generated
messages were rated less helpful than human-written ones, with 66 percent
receiving a helpfulness rating of 3 or higher. However, in Phase 2, the AI
messages matched the human-written ones regarding helpfulness, with 82% scoring
three or above. Additionally, 50% were misidentified as human-written,
suggesting AI's sophistication in mimicking human-generated content. A thematic
analysis of open-ended feedback revealed that participants appreciated AI's
empathy and personalized suggestions but found them more formulaic, less
authentic, and too data-focused. This study reveals the preliminary feasibility
and acceptability of LLM AIs, like ChatGPT, in crafting potentially effective
weight control coaching messages. Our findings also underscore areas for future
enhancement. | cs.CL | Comparing Large Language Model AI and Human-Generated Coaching Messages for Behavioral Weight Loss |
2023-12-07T05:20:15Z | http://arxiv.org/pdf/2312.04052v1 | http://arxiv.org/abs/2312.04052v1 | Amica De Jager, Vukosi Marivate, Abioudun Modupe | 2023-12-07T05:20:15Z | cs.CL | With the constant spread of misinformation on social media networks, a need
has arisen to continuously assess the veracity of digital content. This need
has inspired numerous research efforts on the development of misinformation
detection (MD) models. However, many models do not use all information
available to them and existing research contains a lack of relevant datasets to
train the models, specifically within the South African social media
environment. The aim of this paper is to investigate the transferability of
knowledge of a MD model between different contextual environments. This
research contributes a multimodal MD model capable of functioning in the South
African social media environment, as well as introduces a South African
misinformation dataset. The model makes use of multiple sources of information
for misinformation detection, namely: textual and visual elements. It uses
bidirectional encoder representations from transformers (BERT) as the textual
encoder and a residual network (ResNet) as the visual encoder. The model is
trained and evaluated on the Fakeddit dataset and a South African
misinformation dataset. Results show that using South African samples in the
training of the model increases model performance, in a South African
contextual environment, and that a multimodal model retains significantly more
knowledge than both the textual and visual unimodal models. Our study suggests
that the performance of a misinformation detection model is influenced by the
cultural nuances of its operating environment and multimodal models assist in
the transferability of knowledge between different contextual environments.
Therefore, local data should be incorporated into the training process of a
misinformation detection model in order to optimize model performance. | cs.CL | Multimodal Misinformation Detection in a South African Social Media Environment |
2023-12-07T04:23:36Z | http://arxiv.org/pdf/2312.04032v1 | http://arxiv.org/abs/2312.04032v1 | Jaehyung Kim, Yuning Mao, Rui Hou, Hanchao Yu, Davis Liang, Pascale Fung, Qifan Wang, Fuli Feng, Lifu Huang, Madian Khabsa | 2023-12-07T04:23:36Z | cs.CL, cs.LG | Fine-tuning pre-trained language models (LMs) has become the de facto
standard in many NLP tasks. Nevertheless, fine-tuned LMs are still prone to
robustness issues, such as adversarial robustness and model calibration.
Several perspectives of robustness for LMs have been studied independently, but
lacking a unified consideration in multiple perspectives. In this paper, we
propose Robustifying LMs via Adversarial perturbation with Selective Training
(RoAST), a simple yet effective fine-tuning technique to enhance the
multi-perspective robustness of LMs in a unified way. RoAST effectively
incorporates two important sources for the model robustness, robustness on the
perturbed inputs and generalizable knowledge in pre-trained LMs. To be
specific, RoAST introduces adversarial perturbation during fine-tuning while
the model parameters are selectively updated upon their relative importance to
minimize unnecessary deviation. Under a unified evaluation of fine-tuned LMs by
incorporating four representative perspectives of model robustness, we
demonstrate the effectiveness of RoAST compared to state-of-the-art fine-tuning
methods on six different types of LMs, which indicates its usefulness in
practice. | cs.CL | RoAST: Robustifying Language Models via Adversarial Perturbation with Selective Training |
2023-12-07T03:37:39Z | http://arxiv.org/pdf/2312.04021v4 | http://arxiv.org/abs/2312.04021v4 | Hanlin Zhang, Yi-Fan Zhang, Yaodong Yu, Dhruv Madeka, Dean Foster, Eric Xing, Himabindu Lakkaraju, Sham Kakade | 2024-03-28T03:01:45Z | cs.CL, cs.AI, cs.LG | Accurate uncertainty quantification is crucial for the safe deployment of
machine learning models, and prior research has demonstrated improvements in
the calibration of modern language models (LMs). We study in-context learning
(ICL), a prevalent method for adapting static LMs through tailored prompts, and
examine the balance between performance and calibration across a broad spectrum
of natural language understanding and reasoning tasks. Through comprehensive
experiments, we observe that, with an increasing number of ICL examples, models
initially exhibit increased miscalibration before achieving better calibration
and miscalibration tends to arise in low-shot settings. Moreover, we find that
methods aimed at improving usability, such as fine-tuning and chain-of-thought
(CoT) prompting, can lead to miscalibration and unreliable natural language
explanations. Furthermore, we explore recalibration techniques and find that a
scaling-binning calibrator can reduce calibration errors consistently. | cs.CL | A Study on the Calibration of In-context Learning |
2023-12-07T02:25:14Z | http://arxiv.org/pdf/2312.07552v1 | http://arxiv.org/abs/2312.07552v1 | Zhu Sun, Hongyang Liu, Xinghua Qu, Kaidong Feng, Yan Wang, Yew-Soon Ong | 2023-12-07T02:25:14Z | cs.CL, cs.LG | Intent-aware session recommendation (ISR) is pivotal in discerning user
intents within sessions for precise predictions. Traditional approaches,
however, face limitations due to their presumption of a uniform number of
intents across all sessions. This assumption overlooks the dynamic nature of
user sessions, where the number and type of intentions can significantly vary.
In addition, these methods typically operate in latent spaces, thus hinder the
model's transparency.Addressing these challenges, we introduce a novel ISR
approach, utilizing the advanced reasoning capabilities of large language
models (LLMs). First, this approach begins by generating an initial prompt that
guides LLMs to predict the next item in a session, based on the varied intents
manifested in user sessions. Then, to refine this process, we introduce an
innovative prompt optimization mechanism that iteratively self-reflects and
adjusts prompts. Furthermore, our prompt selection module, built upon the LLMs'
broad adaptability, swiftly selects the most optimized prompts across diverse
domains. This new paradigm empowers LLMs to discern diverse user intents at a
semantic level, leading to more accurate and interpretable session
recommendations. Our extensive experiments on three real-world datasets
demonstrate the effectiveness of our method, marking a significant advancement
in ISR systems. | cs.CL | Large Language Models for Intent-Driven Session Recommendations |
2023-12-07T02:09:27Z | http://arxiv.org/pdf/2312.03987v1 | http://arxiv.org/abs/2312.03987v1 | Meihao Fan, Xiaoyue Han, Ju Fan, Chengliang Chai, Nan Tang, Guoliang Li, Xiaoyong Du | 2023-12-07T02:09:27Z | cs.CL, cs.AI | Entity resolution (ER) is an important data integration task with a wide
spectrum of applications. The state-of-the-art solutions on ER rely on
pre-trained language models (PLMs), which require fine-tuning on a lot of
labeled matching/non-matching entity pairs. Recently, large languages models
(LLMs), such as GPT-4, have shown the ability to perform many tasks without
tuning model parameters, which is known as in-context learning (ICL) that
facilitates effective learning from a few labeled input context demonstrations.
However, existing ICL approaches to ER typically necessitate providing a task
description and a set of demonstrations for each entity pair and thus have
limitations on the monetary cost of interfacing LLMs. To address the problem,
in this paper, we provide a comprehensive study to investigate how to develop a
cost-effective batch prompting approach to ER. We introduce a framework BATCHER
consisting of demonstration selection and question batching and explore
different design choices that support batch prompting for ER. We also devise a
covering-based demonstration selection strategy that achieves an effective
balance between matching accuracy and monetary cost. We conduct a thorough
evaluation to explore the design space and evaluate our proposed strategies.
Through extensive experiments, we find that batch prompting is very
cost-effective for ER, compared with not only PLM-based methods fine-tuned with
extensive labeled data but also LLM-based methods with manually designed
prompting. We also provide guidance for selecting appropriate design choices
for batch prompting. | cs.CL | Cost-Effective In-Context Learning for Entity Resolution: A Design Space Exploration |
2023-12-06T22:53:34Z | http://arxiv.org/pdf/2312.07551v1 | http://arxiv.org/abs/2312.07551v1 | Michael Noukhovitch, Samuel Lavoie, Florian Strub, Aaron Courville | 2023-12-06T22:53:34Z | cs.CL | Finetuning language models with reinforcement learning (RL), e.g. from human
feedback (HF), is a prominent method for alignment. But optimizing against a
reward model can improve on reward while degrading performance in other areas,
a phenomenon known as reward hacking, alignment tax, or language drift. First,
we argue that commonly-used test metrics are insufficient and instead measure
how different algorithms tradeoff between reward and drift. The standard method
modified the reward with a Kullback-Lieber (KL) penalty between the online and
initial model. We propose Elastic Reset, a new algorithm that achieves higher
reward with less drift without explicitly modifying the training objective. We
periodically reset the online model to an exponentially moving average (EMA) of
itself, then reset the EMA model to the initial model. Through the use of an
EMA, our model recovers quickly after resets and achieves higher reward with
less drift in the same number of steps. We demonstrate that fine-tuning
language models with Elastic Reset leads to state-of-the-art performance on a
small scale pivot-translation benchmark, outperforms all baselines in a
medium-scale RLHF-like IMDB mock sentiment task and leads to a more performant
and more aligned technical QA chatbot with LLaMA-7B. Code available at
github.com/mnoukhov/elastic-reset. | cs.CL | Language Model Alignment with Elastic Reset |
2023-12-06T21:12:22Z | http://arxiv.org/pdf/2312.03912v2 | http://arxiv.org/abs/2312.03912v2 | Will Aitken, Mohamed Abdalla, Karen Rudie, Catherine Stinson | 2024-06-22T15:27:04Z | cs.CL | Impressive performance of pre-trained models has garnered public attention
and made news headlines in recent years. Almost always, these models are
produced by or in collaboration with industry. Using them is critical for
competing on natural language processing (NLP) benchmarks and correspondingly
to stay relevant in NLP research. We surveyed 100 papers published at EMNLP
2022 to determine the degree to which researchers rely on industry models,
other artifacts, and contributions to publish in prestigious NLP venues and
found that the ratio of their citation is at least three times greater than
what would be expected. Our work serves as a scaffold to enable future
researchers to more accurately address whether: 1) Collaboration with industry
is still collaboration in the absence of an alternative or 2) if NLP inquiry
has been captured by the motivations and research direction of private
corporations. | cs.CL | Collaboration or Corporate Capture? Quantifying NLP's Reliance on Industry Artifacts and Contributions |
2023-12-06T20:58:07Z | http://arxiv.org/pdf/2312.03905v2 | http://arxiv.org/abs/2312.03905v2 | Kareem Ahmed, Kai-Wei Chang, Guy Van den Broeck | 2024-01-27T00:25:22Z | cs.LG, cs.AI, cs.CL | Neuro-symbolic AI bridges the gap between purely symbolic and neural
approaches to learning. This often requires maximizing the likelihood of a
symbolic constraint w.r.t the neural network's output distribution. Such output
distributions are typically assumed to be fully-factorized. This limits the
applicability of neuro-symbolic learning to the more expressive autoregressive
distributions, e.g., transformers. Under such distributions, computing the
likelihood of even simple constraints is #P-hard. Instead of attempting to
enforce the constraint on the entire output distribution, we propose to do so
on a random, local approximation thereof. More precisely, we optimize the
likelihood of the constraint under a pseudolikelihood-based approximation
centered around a model sample. Our approximation is factorized, allowing the
reuse of solutions to sub-problems, a main tenet for efficiently computing
neuro-symbolic losses. Moreover, it is a local, high-fidelity approximation of
the likelihood, exhibiting low entropy and KL-divergence around the model
sample. We evaluate our approach on Sudoku and shortest-path prediction cast as
autoregressive generation, and observe that we greatly improve upon the base
model's ability to predict logically-consistent outputs. We also evaluate on
the task of detoxifying large language models. Using a simple constraint
disallowing a list of toxic words, we are able to steer the model's outputs
away from toxic generations, achieving SoTA detoxification compared to previous
approaches. | cs.LG | A Pseudo-Semantic Loss for Autoregressive Models with Logical Constraints |
2023-12-06T20:41:47Z | http://arxiv.org/pdf/2312.03897v1 | http://arxiv.org/abs/2312.03897v1 | Tiago Pimentel, Clara Meister, Ethan Gotlieb Wilcox, Kyle Mahowald, Ryan Cotterell | 2023-12-06T20:41:47Z | cs.CL | Zipf (1935) posited that wordforms are optimized to minimize utterances'
communicative costs. Under the assumption that cost is given by an utterance's
length, he supported this claim by showing that words' lengths are inversely
correlated with their frequencies. Communicative cost, however, can be
operationalized in different ways. Piantadosi et al. (2011) claim that cost
should be measured as the distance between an utterance's information rate and
channel capacity, which we dub the channel capacity hypothesis (CCH) here.
Following this logic, they then proposed that a word's length should be
proportional to the expected value of its surprisal (negative log-probability
in context). In this work, we show that Piantadosi et al.'s derivation does not
minimize CCH's cost, but rather a lower bound, which we term CCH-lower. We
propose a novel derivation, suggesting an improved way to minimize CCH's cost.
Under this method, we find that a language's word lengths should instead be
proportional to the surprisal's expectation plus its variance-to-mean ratio.
Experimentally, we compare these three communicative cost functions: Zipf's,
CCH-lower , and CCH. Across 13 languages and several experimental settings, we
find that length is better predicted by frequency than either of the other
hypotheses. In fact, when surprisal's expectation, or expectation plus
variance-to-mean ratio, is estimated using better language models, it leads to
worse word length predictions. We take these results as evidence that Zipf's
longstanding hypothesis holds. | cs.CL | Revisiting the Optimality of Word Lengths |
2023-12-06T19:53:17Z | http://arxiv.org/pdf/2312.07550v1 | http://arxiv.org/abs/2312.07550v1 | Ali Naseh, Jaechul Roh, Amir Houmansadr | 2023-12-06T19:53:17Z | cs.CV, cs.CL, cs.CR, cs.LG | Multimodal machine learning, especially text-to-image models like Stable
Diffusion and DALL-E 3, has gained significance for transforming text into
detailed images.
Despite their growing use and remarkable generative capabilities, there is a
pressing need for a detailed examination of these models' behavior,
particularly with respect to memorization. Historically, memorization in
machine learning has been context-dependent, with diverse definitions emerging
from classification tasks to complex models like Large Language Models (LLMs)
and Diffusion models. Yet, a definitive concept of memorization that aligns
with the intricacies of text-to-image synthesis remains elusive. This
understanding is vital as memorization poses privacy risks yet is essential for
meeting user expectations, especially when generating representations of
underrepresented entities. In this paper, we introduce a specialized definition
of memorization tailored to text-to-image models, categorizing it into three
distinct types according to user expectations. We closely examine the subtle
distinctions between intended and unintended memorization, emphasizing the
importance of balancing user privacy with the generative quality of the model
outputs. Using the Stable Diffusion model, we offer examples to validate our
memorization definitions and clarify their application. | cs.CV | Understanding (Un)Intended Memorization in Text-to-Image Generative Models |
2023-12-06T19:37:08Z | http://arxiv.org/pdf/2312.03872v1 | http://arxiv.org/abs/2312.03872v1 | BigCode collaboration, Sean Hughes, Harm de Vries, Jennifer Robinson, Carlos Muñoz Ferrandis, Loubna Ben Allal, Leandro von Werra, Jennifer Ding, Sebastien Paquet, Yacine Jernite | 2023-12-06T19:37:08Z | cs.CY, cs.AI, cs.CL, cs.LG, cs.PL | This document serves as an overview of the different mechanisms and areas of
governance in the BigCode project. It aims to support transparency by providing
relevant information about choices that were made during the project to the
broader public, and to serve as an example of intentional governance of an open
research project that future endeavors can leverage to shape their own
approach. The first section, Project Structure, covers the project
organization, its stated goals and values, its internal decision processes, and
its funding and resources. The second section, Data and Model Governance,
covers decisions relating to the questions of data subject consent, privacy,
and model release. | cs.CY | The BigCode Project Governance Card |
2023-12-06T19:18:42Z | http://arxiv.org/pdf/2312.03863v4 | http://arxiv.org/abs/2312.03863v4 | Zhongwei Wan, Xin Wang, Che Liu, Samiul Alam, Yu Zheng, Jiachen Liu, Zhongnan Qu, Shen Yan, Yi Zhu, Quanlu Zhang, Mosharaf Chowdhury, Mi Zhang | 2024-05-23T06:08:37Z | cs.CL, cs.AI | Large Language Models (LLMs) have demonstrated remarkable capabilities in
important tasks such as natural language understanding and language generation,
and thus have the potential to make a substantial impact on our society. Such
capabilities, however, come with the considerable resources they demand,
highlighting the strong need to develop effective techniques for addressing
their efficiency challenges. In this survey, we provide a systematic and
comprehensive review of efficient LLMs research. We organize the literature in
a taxonomy consisting of three main categories, covering distinct yet
interconnected efficient LLMs topics from model-centric, data-centric, and
framework-centric perspective, respectively. We have also created a GitHub
repository where we organize the papers featured in this survey at
https://github.com/AIoT-MLSys-Lab/Efficient-LLMs-Survey. We will actively
maintain the repository and incorporate new research as it emerges. We hope our
survey can serve as a valuable resource to help researchers and practitioners
gain a systematic understanding of efficient LLMs research and inspire them to
contribute to this important and exciting field. | cs.CL | Efficient Large Language Models: A Survey |
2023-12-06T18:59:30Z | http://arxiv.org/pdf/2312.03818v2 | http://arxiv.org/abs/2312.03818v2 | Zeyi Sun, Ye Fang, Tong Wu, Pan Zhang, Yuhang Zang, Shu Kong, Yuanjun Xiong, Dahua Lin, Jiaqi Wang | 2023-12-13T05:52:05Z | cs.CV, cs.AI, cs.CL, cs.LG | Contrastive Language-Image Pre-training (CLIP) plays an essential role in
extracting valuable content information from images across diverse tasks. It
aligns textual and visual modalities to comprehend the entire image, including
all the details, even those irrelevant to specific tasks. However, for a finer
understanding and controlled editing of images, it becomes crucial to focus on
specific regions of interest, which can be indicated as points, masks, or boxes
by humans or perception models. To fulfill the requirements, we introduce
Alpha-CLIP, an enhanced version of CLIP with an auxiliary alpha channel to
suggest attentive regions and fine-tuned with constructed millions of RGBA
region-text pairs. Alpha-CLIP not only preserves the visual recognition ability
of CLIP but also enables precise control over the emphasis of image contents.
It demonstrates effectiveness in various tasks, including but not limited to
open-world recognition, multimodal large language models, and conditional 2D /
3D generation. It has a strong potential to serve as a versatile tool for
image-related tasks. | cs.CV | Alpha-CLIP: A CLIP Model Focusing on Wherever You Want |
2023-12-06T18:59:19Z | http://arxiv.org/pdf/2312.03700v1 | http://arxiv.org/abs/2312.03700v1 | Jiaming Han, Kaixiong Gong, Yiyuan Zhang, Jiaqi Wang, Kaipeng Zhang, Dahua Lin, Yu Qiao, Peng Gao, Xiangyu Yue | 2023-12-06T18:59:19Z | cs.CV, cs.AI, cs.CL, cs.LG, cs.MM | Multimodal large language models (MLLMs) have gained significant attention
due to their strong multimodal understanding capability. However, existing
works rely heavily on modality-specific encoders, which usually differ in
architecture and are limited to common modalities. In this paper, we present
OneLLM, an MLLM that aligns eight modalities to language using a unified
framework. We achieve this through a unified multimodal encoder and a
progressive multimodal alignment pipeline. In detail, we first train an image
projection module to connect a vision encoder with LLM. Then, we build a
universal projection module (UPM) by mixing multiple image projection modules
and dynamic routing. Finally, we progressively align more modalities to LLM
with the UPM. To fully leverage the potential of OneLLM in following
instructions, we also curated a comprehensive multimodal instruction dataset,
including 2M items from image, audio, video, point cloud, depth/normal map, IMU
and fMRI brain activity. OneLLM is evaluated on 25 diverse benchmarks,
encompassing tasks such as multimodal captioning, question answering and
reasoning, where it delivers excellent performance. Code, data, model and
online demo are available at https://github.com/csuhan/OneLLM | cs.CV | OneLLM: One Framework to Align All Modalities with Language |
2023-12-06T18:59:11Z | http://arxiv.org/pdf/2312.03699v3 | http://arxiv.org/abs/2312.03699v3 | Wenyuan Wu, Jasmin Heierli, Max Meisterhans, Adrian Moser, Andri Färber, Mateusz Dolata, Elena Gavagnin, Alexandre de Spindler, Gerhard Schwabe | 2024-04-08T13:32:31Z | cs.CL | The advent of increasingly powerful language models has raised expectations
for language-based interactions. However, controlling these models is a
challenge, emphasizing the need to be able to investigate the feasibility and
value of their application. We present PROMISE, a framework that facilitates
the development of complex language-based interactions with information
systems. Its use of state machine modeling concepts enables model-driven,
dynamic prompt orchestration across hierarchically nested states and
transitions. This improves the control of the behavior of language models and
thus enables their effective and efficient use. In this technical report we
show the benefits of PROMISE in the context of application scenarios within
health information systems and demonstrate its ability to handle complex
interactions. We also include code examples and present default user interfaces
available as part of PROMISE. | cs.CL | PROMISE: A Framework for Developing Complex Conversational Interactions (Technical Report) |
2023-12-06T18:53:01Z | http://arxiv.org/pdf/2312.03689v1 | http://arxiv.org/abs/2312.03689v1 | Alex Tamkin, Amanda Askell, Liane Lovitt, Esin Durmus, Nicholas Joseph, Shauna Kravec, Karina Nguyen, Jared Kaplan, Deep Ganguli | 2023-12-06T18:53:01Z | cs.CL | As language models (LMs) advance, interest is growing in applying them to
high-stakes societal decisions, such as determining financing or housing
eligibility. However, their potential for discrimination in such contexts
raises ethical concerns, motivating the need for better methods to evaluate
these risks. We present a method for proactively evaluating the potential
discriminatory impact of LMs in a wide range of use cases, including
hypothetical use cases where they have not yet been deployed. Specifically, we
use an LM to generate a wide array of potential prompts that decision-makers
may input into an LM, spanning 70 diverse decision scenarios across society,
and systematically vary the demographic information in each prompt. Applying
this methodology reveals patterns of both positive and negative discrimination
in the Claude 2.0 model in select settings when no interventions are applied.
While we do not endorse or permit the use of language models to make automated
decisions for the high-risk use cases we study, we demonstrate techniques to
significantly decrease both positive and negative discrimination through
careful prompt engineering, providing pathways toward safer deployment in use
cases where they may be appropriate. Our work enables developers and
policymakers to anticipate, measure, and address discrimination as language
model capabilities and applications continue to expand. We release our dataset
and prompts at https://huggingface.co/datasets/Anthropic/discrim-eval | cs.CL | Evaluating and Mitigating Discrimination in Language Model Decisions |
2023-12-06T18:50:26Z | http://arxiv.org/pdf/2312.03815v2 | http://arxiv.org/abs/2312.03815v2 | Yingqiang Ge, Yujie Ren, Wenyue Hua, Shuyuan Xu, Juntao Tan, Yongfeng Zhang | 2023-12-09T18:10:39Z | cs.OS, cs.AI, cs.CL, cs.LG | This paper envisions a revolutionary AIOS-Agent ecosystem, where Large
Language Model (LLM) serves as the (Artificial) Intelligent Operating System
(IOS, or AIOS)--an operating system "with soul". Upon this foundation, a
diverse range of LLM-based AI Agent Applications (Agents, or AAPs) are
developed, enriching the AIOS-Agent ecosystem and signaling a paradigm shift
from the traditional OS-APP ecosystem. We envision that LLM's impact will not
be limited to the AI application level, instead, it will in turn revolutionize
the design and implementation of computer system, architecture, software, and
programming language, featured by several main concepts: LLM as OS
(system-level), Agents as Applications (application-level), Natural Language as
Programming Interface (user-level), and Tools as Devices/Libraries
(hardware/middleware-level). We begin by introducing the architecture of
traditional OS. Then we formalize a conceptual framework for AIOS through "LLM
as OS (LLMOS)", drawing analogies between AIOS and traditional OS: LLM is
likened to OS kernel, context window to memory, external storage to file
system, hardware tools to peripheral devices, software tools to programming
libraries, and user prompts to user commands. Subsequently, we introduce the
new AIOS-Agent Ecosystem, where users can easily program Agent Applications
(AAPs) using natural language, democratizing the development of software, which
is different from the traditional OS-APP ecosystem. Following this, we explore
the diverse scope of Agent Applications. We delve into both single-agent and
multi-agent systems, as well as human-agent interaction. Lastly, drawing on the
insights from traditional OS-APP ecosystem, we propose a roadmap for the
evolution of the AIOS-Agent ecosystem. This roadmap is designed to guide the
future research and development, suggesting systematic progresses of AIOS and
its Agent applications. | cs.OS | LLM as OS, Agents as Apps: Envisioning AIOS, Agents and the AIOS-Agent Ecosystem |
2023-12-06T18:34:42Z | http://arxiv.org/pdf/2312.03668v2 | http://arxiv.org/abs/2312.03668v2 | Yukiya Hono, Koh Mitsuda, Tianyu Zhao, Kentaro Mitsui, Toshiaki Wakatsuki, Kei Sawada | 2024-06-06T15:24:16Z | eess.AS, cs.AI, cs.CL, cs.LG | Advances in machine learning have made it possible to perform various text
and speech processing tasks, such as automatic speech recognition (ASR), in an
end-to-end (E2E) manner. E2E approaches utilizing pre-trained models are
gaining attention for conserving training data and resources. However, most of
their applications in ASR involve only one of either a pre-trained speech or a
language model. This paper proposes integrating a pre-trained speech
representation model and a large language model (LLM) for E2E ASR. The proposed
model enables the optimization of the entire ASR process, including acoustic
feature extraction and acoustic and language modeling, by combining pre-trained
models with a bridge network and also enables the application of remarkable
developments in LLM utilization, such as parameter-efficient domain adaptation
and inference optimization. Experimental results demonstrate that the proposed
model achieves a performance comparable to that of modern E2E ASR models by
utilizing powerful pre-training models with the proposed integrated approach. | eess.AS | Integrating Pre-Trained Speech and Language Models for End-to-End Speech Recognition |
2023-12-06T18:33:50Z | http://arxiv.org/pdf/2312.03664v2 | http://arxiv.org/abs/2312.03664v2 | Alexander Sasha Vezhnevets, John P. Agapiou, Avia Aharon, Ron Ziv, Jayd Matyas, Edgar A. Duéñez-Guzmán, William A. Cunningham, Simon Osindero, Danny Karmon, Joel Z. Leibo | 2023-12-13T20:13:25Z | cs.AI, cs.CL | Agent-based modeling has been around for decades, and applied widely across
the social and natural sciences. The scope of this research method is now
poised to grow dramatically as it absorbs the new affordances provided by Large
Language Models (LLM)s. Generative Agent-Based Models (GABM) are not just
classic Agent-Based Models (ABM)s where the agents talk to one another. Rather,
GABMs are constructed using an LLM to apply common sense to situations, act
"reasonably", recall common semantic knowledge, produce API calls to control
digital technologies like apps, and communicate both within the simulation and
to researchers viewing it from the outside. Here we present Concordia, a
library to facilitate constructing and working with GABMs. Concordia makes it
easy to construct language-mediated simulations of physically- or
digitally-grounded environments. Concordia agents produce their behavior using
a flexible component system which mediates between two fundamental operations:
LLM calls and associative memory retrieval. A special agent called the Game
Master (GM), which was inspired by tabletop role-playing games, is responsible
for simulating the environment where the agents interact. Agents take actions
by describing what they want to do in natural language. The GM then translates
their actions into appropriate implementations. In a simulated physical world,
the GM checks the physical plausibility of agent actions and describes their
effects. In digital environments simulating technologies such as apps and
services, the GM may handle API calls to integrate with external tools such as
general AI assistants (e.g., Bard, ChatGPT), and digital apps (e.g., Calendar,
Email, Search, etc.). Concordia was designed to support a wide array of
applications both in scientific research and for evaluating performance of real
digital services by simulating users and/or generating synthetic data. | cs.AI | Generative agent-based modeling with actions grounded in physical, social, or digital space using Concordia |
2023-12-06T18:27:07Z | http://arxiv.org/pdf/2312.03813v1 | http://arxiv.org/abs/2312.03813v1 | Ole Jorgensen, Dylan Cope, Nandi Schoots, Murray Shanahan | 2023-12-06T18:27:07Z | cs.CL, cs.AI, cs.LG | Recent work in activation steering has demonstrated the potential to better
control the outputs of Large Language Models (LLMs), but it involves finding
steering vectors. This is difficult because engineers do not typically know how
features are represented in these models. We seek to address this issue by
applying the idea of mean-centring to steering vectors. We find that taking the
average of activations associated with a target dataset, and then subtracting
the mean of all training activations, results in effective steering vectors. We
test this method on a variety of models on natural language tasks by steering
away from generating toxic text, and steering the completion of a story towards
a target genre. We also apply mean-centring to extract function vectors, more
effectively triggering the execution of a range of natural language tasks by a
significant margin (compared to previous baselines). This suggests that
mean-centring can be used to easily improve the effectiveness of activation
steering in a wide range of contexts. | cs.CL | Improving Activation Steering in Language Models with Mean-Centring |
2023-12-06T18:25:53Z | http://arxiv.org/pdf/2312.03656v2 | http://arxiv.org/abs/2312.03656v2 | Dan Friedman, Andrew Lampinen, Lucas Dixon, Danqi Chen, Asma Ghandeharioun | 2024-06-05T15:03:37Z | cs.LG, cs.CL | A common method to study deep learning systems is to use simplified model
representations--for example, using singular value decomposition to visualize
the model's hidden states in a lower dimensional space. This approach assumes
that the results of these simplifications are faithful to the original model.
Here, we illustrate an important caveat to this assumption: even if the
simplified representations can accurately approximate the full model on the
training set, they may fail to accurately capture the model's behavior out of
distribution. We illustrate this by training Transformer models on controlled
datasets with systematic generalization splits, including the Dyck
balanced-parenthesis languages and a code completion task. We simplify these
models using tools like dimensionality reduction and clustering, and then
explicitly test how these simplified proxies match the behavior of the original
model. We find consistent generalization gaps: cases in which the simplified
proxies are more faithful to the original model on the in-distribution
evaluations and less faithful on various tests of systematic generalization.
This includes cases where the original model generalizes systematically but the
simplified proxies fail, and cases where the simplified proxies generalize
better. Together, our results raise questions about the extent to which
mechanistic interpretations derived using tools like SVD can reliably predict
what a model will do in novel situations. | cs.LG | Interpretability Illusions in the Generalization of Simplified Models |
2023-12-06T17:29:45Z | http://arxiv.org/pdf/2312.03633v3 | http://arxiv.org/abs/2312.03633v3 | Da Wu, Jingye Yang, Kai Wang | 2024-07-01T18:13:24Z | cs.CL, cs.AI, cs.LG | The term "Reversal Curse" refers to the scenario where auto-regressive
decoder large language models (LLMs), such as ChatGPT, trained on "A is B" fail
to learn "B is A," assuming that B and A are distinct and can be uniquely
identified from each other, demonstrating a basic failure of logical deduction.
This raises a red flag in the use of GPT models for certain general tasks such
as constructing knowledge graphs, considering their adherence to this symmetric
principle. In our study, we examined a bidirectional LLM, BERT, and found that
it is immune to the reversal curse. Driven by ongoing efforts to construct
biomedical knowledge graphs with LLMs, we also embarked on evaluating more
complex but essential deductive reasoning capabilities. This process included
first training encoder and decoder language models to master the intersection
and union operations on two sets and then moving on to assess their capability
to infer different combinations of union and intersection operations on three
newly created sets. The findings showed that while both encoder and decoder
language models, trained for tasks involving two sets (union/intersection),
were proficient in such scenarios, they encountered difficulties when dealing
with operations that included three sets (various combinations of union and
intersection). Our research highlights the distinct characteristics of encoder
and decoder models in simple and complex logical reasoning. In practice, the
choice between BERT and GPT should be guided by the specific requirements and
nature of the task at hand, leveraging their respective strengths in
bidirectional context comprehension and sequence prediction. | cs.CL | Exploring the Reversal Curse and Other Deductive Logical Reasoning in BERT and GPT-Based Large Language Models |
2023-12-06T16:15:00Z | http://arxiv.org/pdf/2312.03577v1 | http://arxiv.org/abs/2312.03577v1 | Eojin Jeon, Mingyu Lee, Juhyeong Park, Yeachan Kim, Wing-Lam Mok, SangKeun Lee | 2023-12-06T16:15:00Z | cs.CL | Biases in the dataset often enable the model to achieve high performance on
in-distribution data, while poorly performing on out-of-distribution data. To
mitigate the detrimental effect of the bias on the networks, previous works
have proposed debiasing methods that down-weight the biased examples identified
by an auxiliary model, which is trained with explicit bias labels. However,
finding a type of bias in datasets is a costly process. Therefore, recent
studies have attempted to make the auxiliary model biased without the guidance
(or annotation) of bias labels, by constraining the model's training
environment or the capability of the model itself. Despite the promising
debiasing results of recent works, the multi-class learning objective, which
has been naively used to train the auxiliary model, may harm the bias
mitigation effect due to its regularization effect and competitive nature
across classes. As an alternative, we propose a new debiasing framework that
introduces binary classifiers between the auxiliary model and the main model,
coined bias experts. Specifically, each bias expert is trained on a binary
classification task derived from the multi-class classification task via the
One-vs-Rest approach. Experimental results demonstrate that our proposed
strategy improves the bias identification ability of the auxiliary model.
Consequently, our debiased model consistently outperforms the state-of-the-art
on various challenge datasets. | cs.CL | Improving Bias Mitigation through Bias Experts in Natural Language Understanding |
2023-12-06T15:59:06Z | http://arxiv.org/pdf/2312.03567v1 | http://arxiv.org/abs/2312.03567v1 | Joel Stremmel, Ardavan Saeedi, Hamid Hassanzadeh, Sanjit Batra, Jeffrey Hertzberg, Jaime Murillo, Eran Halperin | 2023-12-06T15:59:06Z | cs.CL, I.2.7 | Extractive question answering (QA) systems can enable physicians and
researchers to query medical records, a foundational capability for designing
clinical studies and understanding patient medical history. However, building
these systems typically requires expert-annotated QA pairs. Large language
models (LLMs), which can perform extractive QA, depend on high quality data in
their prompts, specialized for the application domain. We introduce a novel
approach, XAIQA, for generating synthetic QA pairs at scale from data naturally
available in electronic health records. Our method uses the idea of a
classification model explainer to generate questions and answers about medical
concepts corresponding to medical codes. In an expert evaluation with two
physicians, our method identifies $2.2\times$ more semantic matches and
$3.8\times$ more clinical abbreviations than two popular approaches that use
sentence transformers to create QA pairs. In an ML evaluation, adding our QA
pairs improves performance of GPT-4 as an extractive QA model, including on
difficult questions. In both the expert and ML evaluations, we examine
trade-offs between our method and sentence transformers for QA pair generation
depending on question difficulty. | cs.CL | XAIQA: Explainer-Based Data Augmentation for Extractive Question Answering |
2023-12-06T15:27:26Z | http://arxiv.org/pdf/2312.03549v4 | http://arxiv.org/abs/2312.03549v4 | Fei Yang, Shuang Peng, Ning Sun, Fangyu Wang, Yuanyuan Wang, Fu Wu, Jiezhong Qiu, Aimin Pan | 2024-04-29T06:56:25Z | cs.CL, cs.DC | Large language models (LLMs) such as GPT-3, OPT, and LLaMA have demonstrated
remarkable accuracy in a wide range of tasks. However, training these models
can incur significant expenses, often requiring tens of thousands of GPUs for
months of continuous operation. Typically, this training is carried out in
specialized GPU clusters equipped with homogeneous high-speed Remote Direct
Memory Access (RDMA) network interface cards (NICs). The acquisition and
maintenance of such dedicated clusters is challenging. Current LLM training
frameworks, like Megatron-LM and Megatron-DeepSpeed, focus primarily on
optimizing training within homogeneous cluster settings. In this paper, we
introduce Holmes, a training framework for LLMs that employs thoughtfully
crafted data and model parallelism strategies over the heterogeneous NIC
environment. Our primary technical contribution lies in a novel scheduling
method that intelligently allocates distinct computational tasklets in LLM
training to specific groups of GPU devices based on the characteristics of
their connected NICs. Furthermore, our proposed framework, utilizing pipeline
parallel techniques, demonstrates scalability to multiple GPU clusters, even in
scenarios without high-speed interconnects between nodes in distinct clusters.
We conducted comprehensive experiments that involved various scenarios in the
heterogeneous NIC environment. In most cases, our framework achieves
performance levels close to those achievable with homogeneous RDMA-capable
networks (InfiniBand or RoCE), significantly exceeding training efficiency
within the pure Ethernet environment. Additionally, we verified that our
framework outperforms other mainstream LLM frameworks under heterogeneous NIC
environment in terms of training efficiency and can be seamlessly integrated
with them. | cs.CL | Holmes: Towards Distributed Training Across Clusters with Heterogeneous NIC Environment |
2023-12-06T15:24:01Z | http://arxiv.org/pdf/2312.14945v1 | http://arxiv.org/abs/2312.14945v1 | Huan Wang, Yan-Fu Li, Min Xie | 2023-12-06T15:24:01Z | cs.IR, cs.AI, cs.CL | Prognostics and health management (PHM) is essential for industrial operation
and maintenance, focusing on predicting, diagnosing, and managing the health
status of industrial systems. The emergence of the ChatGPT-Like large-scale
language model (LLM) has begun to lead a new round of innovation in the AI
field. It has extensively promoted the level of intelligence in various fields.
Therefore, it is also expected further to change the application paradigm in
industrial PHM and promote PHM to become intelligent. Although ChatGPT-Like
LLMs have rich knowledge reserves and powerful language understanding and
generation capabilities, they lack domain-specific expertise, significantly
limiting their practicability in PHM applications. To this end, this study
explores the ChatGPT-Like LLM empowered by the local knowledge base (LKB) in
industrial PHM to solve the above limitations. In addition, we introduce the
method and steps of combining the LKB with LLMs, including LKB preparation, LKB
vectorization, prompt engineering, etc. Experimental analysis of real cases
shows that combining the LKB with ChatGPT-Like LLM can significantly improve
its performance and make ChatGPT-Like LLMs more accurate, relevant, and able to
provide more insightful information. This can promote the development of
ChatGPT-Like LLMs in industrial PHM and promote their efficiency and quality. | cs.IR | Empowering ChatGPT-Like Large-Scale Language Models with Local Knowledge Base for Industrial Prognostics and Health Management |
2023-12-06T14:34:30Z | http://arxiv.org/pdf/2312.03523v2 | http://arxiv.org/abs/2312.03523v2 | Talia Tseriotou, Ryan Sze-Yin Chan, Adam Tsakalidis, Iman Munire Bilal, Elena Kochkina, Terry Lyons, Maria Liakata | 2024-02-06T12:14:19Z | cs.CL | We present an open-source, pip installable toolkit, Sig-Networks, the first
of its kind for longitudinal language modelling. A central focus is the
incorporation of Signature-based Neural Network models, which have recently
shown success in temporal tasks. We apply and extend published research
providing a full suite of signature-based models. Their components can be used
as PyTorch building blocks in future architectures. Sig-Networks enables
task-agnostic dataset plug-in, seamless pre-processing for sequential data,
parameter flexibility, automated tuning across a range of models. We examine
signature networks under three different NLP tasks of varying temporal
granularity: counselling conversations, rumour stance switch and mood changes
in social media threads, showing SOTA performance in all three, and provide
guidance for future tasks. We release the Toolkit as a PyTorch package with an
introductory video, Git repositories for preprocessing and modelling including
sample notebooks on the modeled NLP tasks. | cs.CL | Sig-Networks Toolkit: Signature Networks for Longitudinal Language Modelling |
2023-12-06T13:26:16Z | http://arxiv.org/pdf/2312.03483v1 | http://arxiv.org/abs/2312.03483v1 | Talha Chafekar, Aafiya Hussain, Grishma Sharma, Deepak Sharma | 2023-12-06T13:26:16Z | cs.CL, cs.LG | There has been a lot of work in question generation where different methods
to provide target answers as input, have been employed. This experimentation
has been mostly carried out for RNN based models. We use three different
methods and their combinations for incorporating answer information and explore
their effect on several automatic evaluation metrics. The methods that are used
are answer prompting, using a custom product method using answer embeddings and
encoder outputs, choosing sentences from the input paragraph that have answer
related information, and using a separate cross-attention attention block in
the decoder which attends to the answer. We observe that answer prompting
without any additional modes obtains the best scores across rouge, meteor
scores. Additionally, we use a custom metric to calculate how many of the
generated questions have the same answer, as the answer which is used to
generate them. | cs.CL | Exploring Answer Information Methods for Question Generation with Transformers |
2023-12-06T13:19:56Z | http://arxiv.org/pdf/2312.03480v1 | http://arxiv.org/abs/2312.03480v1 | Jonas Groschwitz, Shay B. Cohen, Lucia Donatelli, Meaghan Fowlie | 2023-12-06T13:19:56Z | cs.CL, J.5 | We present the Granular AMR Parsing Evaluation Suite (GrAPES), a challenge
set for Abstract Meaning Representation (AMR) parsing with accompanying
evaluation metrics. AMR parsers now obtain high scores on the standard AMR
evaluation metric Smatch, close to or even above reported inter-annotator
agreement. But that does not mean that AMR parsing is solved; in fact, human
evaluation in previous work indicates that current parsers still quite
frequently make errors on node labels or graph structure that substantially
distort sentence meaning. Here, we provide an evaluation suite that tests AMR
parsers on a range of phenomena of practical, technical, and linguistic
interest. Our 36 categories range from seen and unseen labels, to structural
generalization, to coreference. GrAPES reveals in depth the abilities and
shortcomings of current AMR parsers. | cs.CL | AMR Parsing is Far from Solved: GrAPES, the Granular AMR Parsing Evaluation Suite |
2023-12-06T12:37:28Z | http://arxiv.org/pdf/2312.03463v2 | http://arxiv.org/abs/2312.03463v2 | Tianshu Wang, Hongyu Lin, Xianpei Han, Le Sun, Xiaoyang Chen, Hao Wang, Zhenyu Zeng | 2024-04-23T08:54:57Z | cs.CL, cs.DB, cs.IR | Text-to-SQL simplifies database interactions by enabling non-experts to
convert their natural language (NL) questions into Structured Query Language
(SQL) queries. While recent advances in large language models (LLMs) have
improved the zero-shot text-to-SQL paradigm, existing methods face scalability
challenges when dealing with massive, dynamically changing databases. This
paper introduces DBCopilot, a framework that addresses these challenges by
employing a compact and flexible copilot model for routing across massive
databases. Specifically, DBCopilot decouples the text-to-SQL process into
schema routing and SQL generation, leveraging a lightweight
sequence-to-sequence neural network-based router to formulate database
connections and navigate natural language questions through databases and
tables. The routed schemas and questions are then fed into LLMs for efficient
SQL generation. Furthermore, DBCopilot also introduced a reverse
schema-to-question generation paradigm, which can learn and adapt the router
over massive databases automatically without requiring manual intervention.
Experimental results demonstrate that DBCopilot is a scalable and effective
solution for real-world text-to-SQL tasks, providing a significant advancement
in handling large-scale schemas. | cs.CL | DBCopilot: Scaling Natural Language Querying to Massive Databases |
2023-12-06T12:34:46Z | http://arxiv.org/pdf/2312.03458v1 | http://arxiv.org/abs/2312.03458v1 | Chengguang Gan, Qinghao Zhang, Tatsunori Mori | 2023-12-06T12:34:46Z | cs.CL | The proliferation of Large Language Models (LLMs) has spurred extensive
research into LLM-related Prompt investigations, such as Instruction Learning
(IL), In-context Learning (ICL), and Chain-of-Thought (CoT). These approaches
aim to improve LLMs' responses by enabling them to provide concise statements
or examples for deeper contemplation when addressing questions. However,
independent thinking by LLMs can introduce variability in their thought
processes, leading to potential inaccuracies. In response, our study seeks to
bridge the gap between LLM and human-like thinking processes, recognizing that
text comprehension begins with understanding individual words. To tackle this
challenge, we have expanded the CoT method to cater to a specific domain. Our
approach, known as "Think from Words" (TFW), initiates the comprehension
process at the word level and then extends it to encompass the entire text. We
also propose "TFW with Extra word-level information" (TFW Extra), augmenting
comprehension with additional word-level data. To assess our methods, we employ
text classification on six Japanese datasets comprising text-level and
word-level elements. Our findings not only validate the effectiveness of TFW
but also shed light on the impact of various word-level information types on
LLMs' text comprehension, offering insights into their potential to cause
misinterpretations and errors in the overall comprehension of the final text. | cs.CL | Think from Words(TFW): Initiating Human-Like Cognition in Large Language Models Through Think from Words for Japanese Text-level Classification |
2023-12-06T12:03:27Z | http://arxiv.org/pdf/2312.03789v1 | http://arxiv.org/abs/2312.03789v1 | Arinjay Wyawhare | 2023-12-06T12:03:27Z | cs.CL | This research conducts a comparative study on multilingual text
classification methods, utilizing deep learning and embedding visualization.
The study employs LangDetect, LangId, FastText, and Sentence Transformer on a
dataset encompassing 17 languages. It explores dimensionality's impact on
clustering, revealing FastText's clearer clustering in 2D visualization due to
its extensive multilingual corpus training. Notably, the FastText multi-layer
perceptron model achieved remarkable accuracy, precision, recall, and F1 score,
outperforming the Sentence Transformer model. The study underscores the
effectiveness of these techniques in multilingual text classification,
emphasizing the importance of large multilingual corpora for training
embeddings. It lays the groundwork for future research and assists
practitioners in developing language detection and classification systems.
Additionally, it includes the comparison of multi-layer perceptron, LSTM, and
Convolution models for classification. | cs.CL | Comparative Analysis of Multilingual Text Classification & Identification through Deep Learning and Embedding Visualization |
2023-12-06T11:10:55Z | http://arxiv.org/pdf/2312.03788v1 | http://arxiv.org/abs/2312.03788v1 | Jiayi Pan, Chengcan Wang, Kaifu Zheng, Yangguang Li, Zhenyu Wang, Bin Feng | 2023-12-06T11:10:55Z | cs.LG, cs.CL | Large language models (LLMs) have shown remarkable capabilities in various
tasks. However their huge model size and the consequent demand for
computational and memory resources also pose challenges to model deployment.
Currently, 4-bit post-training quantization (PTQ) has achieved some success in
LLMs, reducing the memory footprint by approximately 75% compared to FP16
models, albeit with some accuracy loss. In this paper, we propose SmoothQuant+,
an accurate and efficient 4-bit weight-only PTQ that requires no additional
training, which enables lossless in accuracy for LLMs for the first time. Based
on the fact that the loss of weight quantization is amplified by the activation
outliers, SmoothQuant+ smoothes the activation outliers by channel before
quantization, while adjusting the corresponding weights for mathematical
equivalence, and then performs group-wise 4-bit weight quantization for linear
layers. We have integrated SmoothQuant+ into the vLLM framework, an advanced
high-throughput inference engine specially developed for LLMs, and equipped it
with an efficient W4A16 CUDA kernels, so that vLLM can seamlessly support
SmoothQuant+ 4-bit weight quantization. Our results show that, with
SmoothQuant+, the Code Llama-34B model can be quantized and deployed on a A100
40GB GPU, achieving lossless accuracy and a throughput increase of 1.9 to 4.0
times compared to the FP16 model deployed on two A100 40GB GPUs. Moreover, the
latency per token is only 68% of the FP16 model deployed on two A100 40GB GPUs.
This is the state-of-the-art 4-bit weight quantization for LLMs as we know. | cs.LG | SmoothQuant+: Accurate and Efficient 4-bit Post-Training WeightQuantization for LLM |
2023-12-06T10:50:43Z | http://arxiv.org/pdf/2312.03414v2 | http://arxiv.org/abs/2312.03414v2 | Jang-Hyun Kim, Junyoung Yeom, Sangdoo Yun, Hyun Oh Song | 2024-02-06T05:53:02Z | cs.LG, cs.CL | This paper presents a context key/value compression method for Transformer
language models in online scenarios, where the context continually expands. As
the context lengthens, the attention process demands increasing memory and
computations, which in turn reduces the throughput of the language model. To
address this challenge, we propose a compressed context memory system that
continually compresses the accumulating attention key/value pairs into a
compact memory space, facilitating language model inference in a limited memory
space of computing environments. Our compression process involves integrating a
lightweight conditional LoRA into the language model's forward pass during
inference, without the need for fine-tuning the model's entire set of weights.
We achieve efficient training by modeling the recursive compression process as
a single parallelized forward computation. Through evaluations on conversation,
personalization, and multi-task learning, we demonstrate that our approach
achieves the performance level of a full context model with $5\times$ smaller
context memory size. We further demonstrate the applicability of our approach
in a streaming setting with an unlimited context length, outperforming the
sliding window approach. Codes are available at
https://github.com/snu-mllab/context-memory. | cs.LG | Compressed Context Memory For Online Language Model Interaction |
2023-12-06T09:37:27Z | http://arxiv.org/pdf/2312.03379v1 | http://arxiv.org/abs/2312.03379v1 | Tharindu Ranasinghe, Marcos Zampieri | 2023-12-06T09:37:27Z | cs.CL | The ubiquity of offensive content on social media is a growing cause for
concern among companies and government organizations. Recently,
transformer-based models such as BERT, XLNET, and XLM-R have achieved
state-of-the-art performance in detecting various forms of offensive content
(e.g. hate speech, cyberbullying, and cyberaggression). However, the majority
of these models are limited in their capabilities due to their encoder-only
architecture, which restricts the number and types of labels in downstream
tasks. Addressing these limitations, this study presents the first pre-trained
model with encoder-decoder architecture for offensive language identification
with text-to-text transformers (T5) trained on two large offensive language
identification datasets; SOLID and CCTK. We investigate the effectiveness of
combining two datasets and selecting an optimal threshold in semi-supervised
instances in SOLID in the T5 retraining step. Our pre-trained T5 model
outperforms other transformer-based models fine-tuned for offensive language
detection, such as fBERT and HateBERT, in multiple English benchmarks.
Following a similar approach, we also train the first multilingual pre-trained
model for offensive language identification using mT5 and evaluate its
performance on a set of six different languages (German, Hindi, Korean,
Marathi, Sinhala, and Spanish). The results demonstrate that this multilingual
model achieves a new state-of-the-art on all the above datasets, showing its
usefulness in multilingual scenarios. Our proposed T5-based models will be made
freely available to the community. | cs.CL | A Text-to-Text Model for Multilingual Offensive Language Identification |
2023-12-06T09:08:32Z | http://arxiv.org/pdf/2312.03367v1 | http://arxiv.org/abs/2312.03367v1 | Arthur Hemmer, Mickaël Coustaty, Nicola Bartolo, Jérôme Brachat, Jean-Marc Ogier | 2023-12-06T09:08:32Z | cs.CL | We explore the possibility of improving probabilistic models in structured
prediction. Specifically, we combine the models with constrained decoding
approaches in the context of token classification for information extraction.
The decoding methods search for constraint-satisfying label-assignments while
maximizing the total probability. To do this, we evaluate several existing
approaches, as well as propose a novel decoding method called Lazy-$k$. Our
findings demonstrate that constrained decoding approaches can significantly
improve the models' performances, especially when using smaller models. The
Lazy-$k$ approach allows for more flexibility between decoding time and
accuracy. The code for using Lazy-$k$ decoding can be found here:
https://github.com/ArthurDevNL/lazyk. | cs.CL | Lazy-k: Decoding for Constrained Token Classification |
2023-12-06T09:01:21Z | http://arxiv.org/pdf/2312.03361v1 | http://arxiv.org/abs/2312.03361v1 | Hamed Hematian Hemati, Arash Lagzian, Moein Salimi Sartakhti, Hamid Beigy, Ehsaneddin Asgari | 2023-12-06T09:01:21Z | cs.CL | Being aware of important news is crucial for staying informed and making
well-informed decisions efficiently. Natural Language Processing (NLP)
approaches can significantly automate this process. This paper introduces the
detection of important news, in a previously unexplored area, and presents a
new benchmarking dataset (Khabarchin) for detecting important news in the
Persian language. We define important news articles as those deemed significant
for a considerable portion of society, capable of influencing their mindset or
decision-making. The news articles are obtained from seven different prominent
Persian news agencies, resulting in the annotation of 7,869 samples and the
creation of the dataset. Two challenges of high disagreement and imbalance
between classes were faced, and solutions were provided for them. We also
propose several learning-based models, ranging from conventional machine
learning to state-of-the-art transformer models, to tackle this task.
Furthermore, we introduce the second task of important sentence detection in
news articles, as they often come with a significant contextual length that
makes it challenging for readers to identify important information. We identify
these sentences in a weakly supervised manner. | cs.CL | KhabarChin: Automatic Detection of Important News in the Persian Language |
2023-12-06T08:55:55Z | http://arxiv.org/pdf/2312.03360v2 | http://arxiv.org/abs/2312.03360v2 | Kan Hatakeyama-Sato, Yasuhiko Igarashi, Shun Katakami, Yuta Nabae, Teruaki Hayakawa | 2023-12-18T01:43:56Z | cs.CL, cs.AI, cs.LG | Through additional training, we explore embedding specialized scientific
knowledge into the Llama 2 Large Language Model (LLM). Key findings reveal that
effective knowledge integration requires reading texts from multiple
perspectives, especially in instructional formats. We utilize text augmentation
to tackle the scarcity of specialized texts, including style conversions and
translations. Hyperparameter optimization proves crucial, with different size
models (7b, 13b, and 70b) reasonably undergoing additional training. Validating
our methods, we construct a dataset of 65,000 scientific papers. Although we
have succeeded in partially embedding knowledge, the study highlights the
complexities and limitations of incorporating specialized information into
LLMs, suggesting areas for further improvement. | cs.CL | Teaching Specific Scientific Knowledge into Large Language Models through Additional Training |
2023-12-06T08:33:51Z | http://arxiv.org/pdf/2312.03342v1 | http://arxiv.org/abs/2312.03342v1 | Amandine Decker, Ellen Breitholtz, Christine Howes, Staffan Larsson | 2023-12-06T08:33:51Z | cs.CL | In this paper we argue that topic plays a fundamental role in conversations,
and that the concept is needed in addition to that of genre to define
interactions. In particular, the concepts of genre and topic need to be
separated and orthogonally defined. This would enable modular, reliable and
controllable flexible-domain dialogue systems. | cs.CL | Topic and genre in dialogue |
2023-12-06T07:38:46Z | http://arxiv.org/pdf/2312.03330v1 | http://arxiv.org/abs/2312.03330v1 | Aaron J. Snoswell, Lucinda Nelson, Hao Xue, Flora D. Salim, Nicolas Suzor, Jean Burgess | 2023-12-06T07:38:46Z | cs.CL, cs.CY, cs.LG | Generic `toxicity' classifiers continue to be used for evaluating the
potential for harm in natural language generation, despite mounting evidence of
their shortcomings. We consider the challenge of measuring misogyny in natural
language generation, and argue that generic `toxicity' classifiers are
inadequate for this task. We use data from two well-characterised `Incel'
communities on Reddit that differ primarily in their degrees of misogyny to
construct a pair of training corpora which we use to fine-tune two language
models. We show that an open source `toxicity' classifier is unable to
distinguish meaningfully between generations from these models. We contrast
this with a misogyny-specific lexicon recently proposed by feminist
subject-matter experts, demonstrating that, despite the limitations of simple
lexicon-based approaches, this shows promise as a benchmark to evaluate
language models for misogyny, and that it is sensitive enough to reveal the
known differences in these Reddit communities. Our preliminary findings
highlight the limitations of a generic approach to evaluating harms, and
further emphasise the need for careful benchmark design and selection in
natural language evaluation. | cs.CL | Measuring Misogyny in Natural Language Generation: Preliminary Results from a Case Study on two Reddit Communities |
2023-12-06T06:37:24Z | http://arxiv.org/pdf/2312.03312v1 | http://arxiv.org/abs/2312.03312v1 | Wonjun Lee, Gary Geunbae Lee, Yunsu Kim | 2023-12-06T06:37:24Z | cs.CL, cs.SD, eess.AS | This research optimizes two-pass cross-lingual transfer learning in
low-resource languages by enhancing phoneme recognition and phoneme-to-grapheme
translation models. Our approach optimizes these two stages to improve speech
recognition across languages. We optimize phoneme vocabulary coverage by
merging phonemes based on shared articulatory characteristics, thus improving
recognition accuracy. Additionally, we introduce a global phoneme noise
generator for realistic ASR noise during phoneme-to-grapheme training to reduce
error propagation. Experiments on the CommonVoice 12.0 dataset show significant
reductions in Word Error Rate (WER) for low-resource languages, highlighting
the effectiveness of our approach. This research contributes to the
advancements of two-pass ASR systems in low-resource languages, offering the
potential for improved cross-lingual transfer learning. | cs.CL | Optimizing Two-Pass Cross-Lingual Transfer Learning: Phoneme Recognition and Phoneme to Grapheme Translation |
2023-12-06T06:07:50Z | http://arxiv.org/pdf/2312.03303v1 | http://arxiv.org/abs/2312.03303v1 | Ilya Tyagin, Ilya Safro | 2023-12-06T06:07:50Z | cs.AI, cs.CL, cs.LG | This paper presents a novel benchmarking framework Dyport for evaluating
biomedical hypothesis generation systems. Utilizing curated datasets, our
approach tests these systems under realistic conditions, enhancing the
relevance of our evaluations. We integrate knowledge from the curated databases
into a dynamic graph, accompanied by a method to quantify discovery importance.
This not only assesses hypothesis accuracy but also their potential impact in
biomedical research which significantly extends traditional link prediction
benchmarks. Applicability of our benchmarking process is demonstrated on
several link prediction systems applied on biomedical semantic knowledge
graphs. Being flexible, our benchmarking system is designed for broad
application in hypothesis generation quality verification, aiming to expand the
scope of scientific discovery within the biomedical research community.
Availability and implementation: Dyport framework is fully open-source. All
code and datasets are available at: https://github.com/IlyaTyagin/Dyport | cs.AI | Dyport: Dynamic Importance-based Hypothesis Generation Benchmarking Technique |
2023-12-06T04:48:26Z | http://arxiv.org/pdf/2312.03290v1 | http://arxiv.org/abs/2312.03290v1 | Junjie Sheng, Zixiao Huang, Chuyun Shen, Wenhao Li, Yun Hua, Bo Jin, Hongyuan Zha, Xiangfeng Wang | 2023-12-06T04:48:26Z | cs.AI, cs.CL | The formidable capacity for zero- or few-shot decision-making in language
agents encourages us to pose a compelling question: Can language agents be
alternatives to PPO agents in traditional sequential decision-making tasks? To
investigate this, we first take environments collected in OpenAI Gym as our
testbeds and ground them to textual environments that construct the TextGym
simulator. This allows for straightforward and efficient comparisons between
PPO agents and language agents, given the widespread adoption of OpenAI Gym. To
ensure a fair and effective benchmarking, we introduce $5$ levels of scenario
for accurate domain-knowledge controlling and a unified RL-inspired framework
for language agents. Additionally, we propose an innovative
explore-exploit-guided language (EXE) agent to solve tasks within TextGym.
Through numerical experiments and ablation studies, we extract valuable
insights into the decision-making capabilities of language agents and make a
preliminary evaluation of their potential to be alternatives to PPO in
classical sequential decision-making problems. This paper sheds light on the
performance of language agents and paves the way for future research in this
exciting domain. Our code is publicly available
at~\url{https://github.com/mail-ecnu/Text-Gym-Agents}. | cs.AI | Can language agents be alternatives to PPO? A Preliminary Empirical Study On OpenAI Gym |
2023-12-06T01:32:20Z | http://arxiv.org/pdf/2312.06668v1 | http://arxiv.org/abs/2312.06668v1 | Yi-Hui Chou, Kalvin Chang, Meng-Ju Wu, Winston Ou, Alice Wen-Hsin Bi, Carol Yang, Bryan Y. Chen, Rong-Wei Pai, Po-Yen Yeh, Jo-Peng Chiang, Iu-Tshian Phoann, Winnie Chang, Chenxuan Cui, Noel Chen, Jiatong Shi | 2023-12-06T01:32:20Z | cs.CL, cs.SD, eess.AS | Taiwanese Hokkien is declining in use and status due to a language shift
towards Mandarin in Taiwan. This is partly why it is a low resource language in
NLP and speech research today. To ensure that the state of the art in speech
processing does not leave Taiwanese Hokkien behind, we contribute a 1.5-hour
dataset of Taiwanese Hokkien to ML-SUPERB's hidden set. Evaluating ML-SUPERB's
suite of self-supervised learning (SSL) speech representations on our dataset,
we find that model size does not consistently determine performance. In fact,
certain smaller models outperform larger ones. Furthermore, linguistic
alignment between pretraining data and the target language plays a crucial
role. | cs.CL | Evaluating Self-supervised Speech Models on a Taiwanese Hokkien Corpus |
2023-12-06T01:15:40Z | http://arxiv.org/pdf/2312.03217v1 | http://arxiv.org/abs/2312.03217v1 | Haixun Wang, Taesik Na | 2023-12-06T01:15:40Z | cs.IR, cs.CL | E-commerce search and recommendation usually operate on structured data such
as product catalogs and taxonomies. However, creating better search and
recommendation systems often requires a large variety of unstructured data
including customer reviews and articles on the web. Traditionally, the solution
has always been converting unstructured data into structured data through
information extraction, and conducting search over the structured data.
However, this is a costly approach that often has low quality. In this paper,
we envision a solution that does entirely the opposite. Instead of converting
unstructured data (web pages, customer reviews, etc) to structured data, we
instead convert structured data (product inventory, catalogs, taxonomies, etc)
into textual data, which can be easily integrated into the text corpus that
trains LLMs. Then, search and recommendation can be performed through a Q/A
mechanism through an LLM instead of using traditional information retrieval
methods over structured data. | cs.IR | Rethinking E-Commerce Search |
2023-12-06T00:08:44Z | http://arxiv.org/pdf/2312.03195v1 | http://arxiv.org/abs/2312.03195v1 | Alex Kim, Sangwon Yoon | 2023-12-06T00:08:44Z | cs.CL | Kyle (1985) proposes two types of rumors: informed rumors which are based on
some private information and uninformed rumors which are not based on any
information (i.e. bluffing). Also, prior studies find that when people have
credible source of information, they are likely to use a more confident textual
tone in their spreading of rumors. Motivated by these theoretical findings, we
propose a double-channel structure to determine the ex-ante veracity of rumors
on social media. Our ultimate goal is to classify each rumor into true, false,
or unverifiable category. We first assign each text into either certain
(informed rumor) or uncertain (uninformed rumor) category. Then, we apply lie
detection algorithm to informed rumors and thread-reply agreement detection
algorithm to uninformed rumors. Using the dataset of SemEval 2019 Task 7, which
requires ex-ante threefold classification (true, false, or unverifiable) of
social media rumors, our model yields a macro-F1 score of 0.4027, outperforming
all the baseline models and the second-place winner (Gorrell et al., 2019).
Furthermore, we empirically validate that the double-channel structure
outperforms single-channel structures which use either lie detection or
agreement detection algorithm to all posts. | cs.CL | Detecting Rumor Veracity with Only Textual Information by Double-Channel Structure |
2023-12-06T00:05:25Z | http://arxiv.org/pdf/2312.03194v1 | http://arxiv.org/abs/2312.03194v1 | Alex Kim, Sangwon Yoon | 2023-12-06T00:05:25Z | cs.CL, cs.LG, econ.GN, q-fin.EC | This study performs BERT-based analysis, which is a representative
contextualized language model, on corporate disclosure data to predict
impending bankruptcies. Prior literature on bankruptcy prediction mainly
focuses on developing more sophisticated prediction methodologies with
financial variables. However, in our study, we focus on improving the quality
of input dataset. Specifically, we employ BERT model to perform sentiment
analysis on MD&A disclosures. We show that BERT outperforms dictionary-based
predictions and Word2Vec-based predictions in terms of adjusted R-square in
logistic regression, k-nearest neighbor (kNN-5), and linear kernel support
vector machine (SVM). Further, instead of pre-training the BERT model from
scratch, we apply self-learning with confidence-based filtering to corporate
disclosure data (10-K). We achieve the accuracy rate of 91.56% and demonstrate
that the domain adaptation procedure brings a significant improvement in
prediction accuracy. | cs.CL | Corporate Bankruptcy Prediction with Domain-Adapted BERT |
2023-12-05T22:29:43Z | http://arxiv.org/pdf/2312.03173v1 | http://arxiv.org/abs/2312.03173v1 | Jacob Doughty, Zipiao Wan, Anishka Bompelli, Jubahed Qayum, Taozhi Wang, Juran Zhang, Yujia Zheng, Aidan Doyle, Pragnya Sridhar, Arav Agarwal, Christopher Bogart, Eric Keylor, Can Kultur, Jaromir Savelka, Majd Sakr | 2023-12-05T22:29:43Z | cs.CY, cs.AI, cs.CL | There is a constant need for educators to develop and maintain effective
up-to-date assessments. While there is a growing body of research in computing
education on utilizing large language models (LLMs) in generation and
engagement with coding exercises, the use of LLMs for generating programming
MCQs has not been extensively explored. We analyzed the capability of GPT-4 to
produce multiple-choice questions (MCQs) aligned with specific learning
objectives (LOs) from Python programming classes in higher education.
Specifically, we developed an LLM-powered (GPT-4) system for generation of MCQs
from high-level course context and module-level LOs. We evaluated 651
LLM-generated and 449 human-crafted MCQs aligned to 246 LOs from 6 Python
courses. We found that GPT-4 was capable of producing MCQs with clear language,
a single correct choice, and high-quality distractors. We also observed that
the generated MCQs appeared to be well-aligned with the LOs. Our findings can
be leveraged by educators wishing to take advantage of the state-of-the-art
generative models to support MCQ authoring efforts. | cs.CY | A Comparative Study of AI-Generated (GPT-4) and Human-crafted MCQs in Programming Education |
2023-12-05T22:28:42Z | http://arxiv.org/pdf/2312.03171v1 | http://arxiv.org/abs/2312.03171v1 | Reem Bin-Hezam, Mark Stevenson | 2023-12-05T22:28:42Z | cs.IR, cs.CL | Technology Assisted Review (TAR) stopping rules aim to reduce the cost of
manually assessing documents for relevance by minimising the number of
documents that need to be examined to ensure a desired level of recall. This
paper extends an effective stopping rule using information derived from a text
classifier that can be trained without the need for any additional annotation.
Experiments on multiple data sets (CLEF e-Health, TREC Total Recall, TREC Legal
and RCV1) showed that the proposed approach consistently improves performance
and outperforms several alternative methods. | cs.IR | Combining Counting Processes and Classification Improves a Stopping Rule for Technology Assisted Review |
2023-12-05T21:41:52Z | http://arxiv.org/pdf/2312.03769v1 | http://arxiv.org/abs/2312.03769v1 | Chenxi Wu, Alan John Varghese, Vivek Oommen, George Em Karniadakis | 2023-12-05T21:41:52Z | cs.CL, cs.AI | The new polymath Large Language Models (LLMs) can speed-up greatly scientific
reviews, possibly using more unbiased quantitative metrics, facilitating
cross-disciplinary connections, and identifying emerging trends and research
gaps by analyzing large volumes of data. However, at the present time, they
lack the required deep understanding of complex methodologies, they have
difficulty in evaluating innovative claims, and they are unable to assess
ethical issues and conflicts of interest. Herein, we consider 13 GPT-related
papers across different scientific domains, reviewed by a human reviewer and
SciSpace, a large language model, with the reviews evaluated by three distinct
types of evaluators, namely GPT-3.5, a crowd panel, and GPT-4. We found that
50% of SciSpace's responses to objective questions align with those of a human
reviewer, with GPT-4 (informed evaluator) often rating the human reviewer
higher in accuracy, and SciSpace higher in structure, clarity, and
completeness. In subjective questions, the uninformed evaluators (GPT-3.5 and
crowd panel) showed varying preferences between SciSpace and human responses,
with the crowd panel showing a preference for the human responses. However,
GPT-4 rated them equally in accuracy and structure but favored SciSpace for
completeness. | cs.CL | GPT vs Human for Scientific Reviews: A Dual Source Review on Applications of ChatGPT in Science |
2023-12-05T21:19:33Z | http://arxiv.org/pdf/2312.03140v1 | http://arxiv.org/abs/2312.03140v1 | Matthew Choi, Muhammad Adil Asif, John Willes, David Emerson | 2023-12-05T21:19:33Z | cs.LG, cs.AI, cs.CL, cs.DC | With the growth of large language models, now incorporating billions of
parameters, the hardware prerequisites for their training and deployment have
seen a corresponding increase. Although existing tools facilitate model
parallelization and distributed training, deeper model interactions, crucial
for interpretability and responsible AI techniques, still demand thorough
knowledge of distributed computing. This often hinders contributions from
researchers with machine learning expertise but limited distributed computing
background. Addressing this challenge, we present FlexModel, a software package
providing a streamlined interface for engaging with models distributed across
multi-GPU and multi-node configurations. The library is compatible with
existing model distribution libraries and encapsulates PyTorch models. It
exposes user-registerable HookFunctions to facilitate straightforward
interaction with distributed model internals, bridging the gap between
distributed and single-device model paradigms. Primarily, FlexModel enhances
accessibility by democratizing model interactions and promotes more inclusive
research in the domain of large-scale neural networks. The package is found at
https://github.com/VectorInstitute/flex_model. | cs.LG | FlexModel: A Framework for Interpretability of Distributed Large Language Models |
2023-12-05T20:41:34Z | http://arxiv.org/pdf/2312.03122v3 | http://arxiv.org/abs/2312.03122v3 | Tasmia Shahriar, Kelly Ramos, Noboru Matsuda | 2024-01-20T15:02:20Z | cs.CL | Human educators possess an intrinsic ability to anticipate and seek
educational explanations from students, which drives them to pose
thought-provoking questions when students cannot articulate these explanations
independently. We aim to imbue Intelligent Tutoring Systems with this ability
using few-shot learning capability of Large Language Models. Our work proposes
a novel prompting technique, Assertion Enhanced Few-Shot Learning, to
facilitate the generation of accurate, detailed oriented educational
explanations. Our central hypothesis is that, in educational domain, few-shot
demonstrations are necessary but not a sufficient condition for quality
explanation generation. We conducted a study involving 12 in-service teachers,
comparing our approach to Traditional Few-Shot Learning. The results show that
Assertion Enhanced Few-Shot Learning improves explanation accuracy by 15% and
yields higher-quality explanations, as evaluated by teachers. We also conduct a
qualitative ablation study to factor the impact of assertions to provide
educator-friendly prompting guidelines for generating explanations in their
domain of interest. | cs.CL | Assertion Enhanced Few-Shot Learning: Instructive Technique for Large Language Models to Generate Educational Explanations |
2023-12-05T20:07:34Z | http://arxiv.org/pdf/2312.03766v1 | http://arxiv.org/abs/2312.03766v1 | Brian Gordon, Yonatan Bitton, Yonatan Shafir, Roopal Garg, Xi Chen, Dani Lischinski, Daniel Cohen-Or, Idan Szpektor | 2023-12-05T20:07:34Z | cs.CL, cs.CV | While existing image-text alignment models reach high quality binary
assessments, they fall short of pinpointing the exact source of misalignment.
In this paper, we present a method to provide detailed textual and visual
explanation of detected misalignments between text-image pairs. We leverage
large language models and visual grounding models to automatically construct a
training set that holds plausible misaligned captions for a given image and
corresponding textual explanations and visual indicators. We also publish a new
human curated test set comprising ground-truth textual and visual misalignment
annotations. Empirical results show that fine-tuning vision language models on
our training set enables them to articulate misalignments and visually indicate
them within images, outperforming strong baselines both on the binary alignment
classification and the explanation generation tasks. Our method code and human
curated test set are available at: https://mismatch-quest.github.io/ | cs.CL | Mismatch Quest: Visual and Textual Feedback for Image-Text Misalignment |
2023-12-05T19:26:28Z | http://arxiv.org/pdf/2312.03095v1 | http://arxiv.org/abs/2312.03095v1 | Daniyar Amangeldi, Aida Usmanova, Pakizar Shamoi | 2023-12-05T19:26:28Z | cs.CL | Social media is now the predominant source of information due to the
availability of immediate public response. As a result, social media data has
become a valuable resource for comprehending public sentiments. Studies have
shown that it can amplify ideas and influence public sentiments. This study
analyzes the public perception of climate change and the environment over a
decade from 2014 to 2023. Using the Pointwise Mutual Information (PMI)
algorithm, we identify sentiment and explore prevailing emotions expressed
within environmental tweets across various social media platforms, namely
Twitter, Reddit, and YouTube. Accuracy on a human-annotated dataset was 0.65,
higher than Vader score but lower than that of an expert rater (0.90). Our
findings suggest that negative environmental tweets are far more common than
positive or neutral ones. Climate change, air quality, emissions, plastic, and
recycling are the most discussed topics on all social media platforms,
highlighting its huge global concern. The most common emotions in environmental
tweets are fear, trust, and anticipation, demonstrating public reactions wide
and complex nature. By identifying patterns and trends in opinions related to
the environment, we hope to provide insights that can help raise awareness
regarding environmental issues, inform the development of interventions, and
adapt further actions to meet environmental challenges. | cs.CL | Understanding Environmental Posts: Sentiment and Emotion Analysis of Social Media Data |
2023-12-05T19:25:38Z | http://arxiv.org/pdf/2312.03093v1 | http://arxiv.org/abs/2312.03093v1 | Khanh Duy Nguyen, Zixuan Zhang, Reece Suchocki, Sha Li, Martha Palmer, Susan Brown, Jiawei Han, Heng Ji | 2023-12-05T19:25:38Z | cs.HC, cs.AI, cs.CL | In this paper, we present RESIN-EDITOR, an interactive event graph visualizer
and editor designed for analyzing complex events. Our RESIN-EDITOR system
allows users to render and freely edit hierarchical event graphs extracted from
multimedia and multi-document news clusters with guidance from human-curated
event schemas. RESIN-EDITOR's unique features include hierarchical graph
visualization, comprehensive source tracing, and interactive user editing,
which is more powerful and versatile than existing Information Extraction (IE)
visualization tools. In our evaluation of RESIN-EDITOR, we demonstrate ways in
which our tool is effective in understanding complex events and enhancing
system performance. The source code, a video demonstration, and a live website
for RESIN-EDITOR have been made publicly available. | cs.HC | RESIN-EDITOR: A Schema-guided Hierarchical Event Graph Visualizer and Editor |
2023-12-05T19:04:50Z | http://arxiv.org/pdf/2312.03088v1 | http://arxiv.org/abs/2312.03088v1 | Brett Israelsen, Soumalya Sarkar | 2023-12-05T19:04:50Z | cs.CL | Large Language Models have seen rapid progress in capability in recent years;
this progress has been accelerating and their capabilities, measured by various
benchmarks, are beginning to approach those of humans. There is a strong demand
to use such models in a wide variety of applications but, due to unresolved
vulnerabilities and limitations, great care needs to be used before applying
them to intelligence and safety-critical applications. This paper reviews
recent literature related to LLM assessment and vulnerabilities to synthesize
the current research landscape and to help understand what advances are most
critical to enable use of of these technologies in intelligence and
safety-critical applications. The vulnerabilities are broken down into ten
high-level categories and overlaid onto a high-level life cycle of an LLM. Some
general categories of mitigations are reviewed. | cs.CL | LLMs for Multi-Modal Knowledge Extraction and Analysis in Intelligence/Safety-Critical Applications |
2023-12-05T19:00:18Z | http://arxiv.org/pdf/2312.03077v1 | http://arxiv.org/abs/2312.03077v1 | Chao-Chun Hsu, Ziad Obermeyer, Chenhao Tan | 2023-12-05T19:00:18Z | cs.CL, cs.AI, cs.CY | Physicians write notes about patients. In doing so, they reveal much about
themselves. Using data from 129,228 emergency room visits, we train a model to
identify notes written by fatigued physicians -- those who worked 5 or more of
the prior 7 days. In a hold-out set, the model accurately identifies notes
written by these high-workload physicians, and also flags notes written in
other high-fatigue settings: on overnight shifts, and after high patient
volumes. Model predictions also correlate with worse decision-making on at
least one important metric: yield of testing for heart attack is 18% lower with
each standard deviation increase in model-predicted fatigue. Finally, the model
indicates that notes written about Black and Hispanic patients have 12% and 21%
higher predicted fatigue than Whites -- larger than overnight vs. daytime
differences. These results have an important implication for large language
models (LLMs). Our model indicates that fatigued doctors write more predictable
notes. Perhaps unsurprisingly, because word prediction is the core of how LLMs
work, we find that LLM-written notes have 17% higher predicted fatigue than
real physicians' notes. This indicates that LLMs may introduce distortions in
generated text that are not yet fully understood. | cs.CL | Clinical Notes Reveal Physician Fatigue |
2023-12-05T18:59:16Z | http://arxiv.org/pdf/2312.02974v2 | http://arxiv.org/abs/2312.02974v2 | Lisa Dunlap, Yuhui Zhang, Xiaohan Wang, Ruiqi Zhong, Trevor Darrell, Jacob Steinhardt, Joseph E. Gonzalez, Serena Yeung-Levy | 2024-04-26T19:29:58Z | cs.CV, cs.CL, cs.CY, cs.LG | How do two sets of images differ? Discerning set-level differences is crucial
for understanding model behaviors and analyzing datasets, yet manually sifting
through thousands of images is impractical. To aid in this discovery process,
we explore the task of automatically describing the differences between two
$\textbf{sets}$ of images, which we term Set Difference Captioning. This task
takes in image sets $D_A$ and $D_B$, and outputs a description that is more
often true on $D_A$ than $D_B$. We outline a two-stage approach that first
proposes candidate difference descriptions from image sets and then re-ranks
the candidates by checking how well they can differentiate the two sets. We
introduce VisDiff, which first captions the images and prompts a language model
to propose candidate descriptions, then re-ranks these descriptions using CLIP.
To evaluate VisDiff, we collect VisDiffBench, a dataset with 187 paired image
sets with ground truth difference descriptions. We apply VisDiff to various
domains, such as comparing datasets (e.g., ImageNet vs. ImageNetV2), comparing
classification models (e.g., zero-shot CLIP vs. supervised ResNet), summarizing
model failure modes (supervised ResNet), characterizing differences between
generative models (e.g., StableDiffusionV1 and V2), and discovering what makes
images memorable. Using VisDiff, we are able to find interesting and previously
unknown differences in datasets and models, demonstrating its utility in
revealing nuanced insights. | cs.CV | Describing Differences in Image Sets with Natural Language |
2023-12-05T18:58:37Z | http://arxiv.org/pdf/2312.03052v2 | http://arxiv.org/abs/2312.03052v2 | Yushi Hu, Otilia Stretcu, Chun-Ta Lu, Krishnamurthy Viswanathan, Kenji Hata, Enming Luo, Ranjay Krishna, Ariel Fuxman | 2024-04-05T04:33:23Z | cs.CV, cs.CL | Solving complex visual tasks such as "Who invented the musical instrument on
the right?" involves a composition of skills: understanding space, recognizing
instruments, and also retrieving prior knowledge. Recent work shows promise by
decomposing such tasks using a large language model (LLM) into an executable
program that invokes specialized vision models. However, generated programs are
error-prone: they omit necessary steps, include spurious ones, and are unable
to recover when the specialized models give incorrect outputs. Moreover, they
require loading multiple models, incurring high latency and computation costs.
We propose Visual Program Distillation (VPD), an instruction tuning framework
that produces a vision-language model (VLM) capable of solving complex visual
tasks with a single forward pass. VPD distills the reasoning ability of LLMs by
using them to sample multiple candidate programs, which are then executed and
verified to identify a correct one. It translates each correct program into a
language description of the reasoning steps, which are then distilled into a
VLM. Extensive experiments show that VPD improves the VLM's ability to count,
understand spatial relations, and reason compositionally. Our VPD-trained
PaLI-X outperforms all prior VLMs, achieving state-of-the-art performance
across complex vision tasks, including MMBench, OK-VQA, A-OKVQA, TallyQA, POPE,
and Hateful Memes. An evaluation with human annotators also confirms that VPD
improves model response factuality and consistency. Finally, experiments on
content moderation demonstrate that VPD is also helpful for adaptation to
real-world applications with limited data. | cs.CV | Visual Program Distillation: Distilling Tools and Programmatic Reasoning into Vision-Language Models |
2023-12-05T18:57:40Z | http://arxiv.org/pdf/2312.02969v1 | http://arxiv.org/abs/2312.02969v1 | Xinyu Zhang, Sebastian Hofstätter, Patrick Lewis, Raphael Tang, Jimmy Lin | 2023-12-05T18:57:40Z | cs.CL, cs.IR | Listwise rerankers based on large language models (LLM) are the zero-shot
state-of-the-art. However, current works in this direction all depend on the
GPT models, making it a single point of failure in scientific reproducibility.
Moreover, it raises the concern that the current research findings only hold
for GPT models but not LLM in general. In this work, we lift this pre-condition
and build for the first time effective listwise rerankers without any form of
dependency on GPT. Our passage retrieval experiments show that our best list se
reranker surpasses the listwise rerankers based on GPT-3.5 by 13% and achieves
97% effectiveness of the ones built on GPT-4. Our results also show that the
existing training datasets, which were expressly constructed for pointwise
ranking, are insufficient for building such listwise rerankers. Instead,
high-quality listwise ranking data is required and crucial, calling for further
work on building human-annotated listwise data resources. | cs.CL | Rank-without-GPT: Building GPT-Independent Listwise Rerankers on Open-Source Large Language Models |
2023-12-05T18:39:42Z | http://arxiv.org/pdf/2312.14943v1 | http://arxiv.org/abs/2312.14943v1 | Tejit Pabari, Beth Tellman, Giannis Karamanolakis, Mitchell Thomas, Max Mauerman, Eugene Wu, Upmanu Lall, Marco Tedesco, Michael S Steckler, Paolo Colosio, Daniel E Osgood, Melody Braun, Jens de Bruijn, Shammun Islam | 2023-12-05T18:39:42Z | cs.IR, cs.CL, cs.LG | Floods cause large losses to property, life, and livelihoods across the world
every year, hindering sustainable development. Safety nets to help absorb
financial shocks in disasters, such as insurance, are often unavailable in
regions of the world most vulnerable to floods, like Bangladesh. Index-based
insurance has emerged as an affordable solution, which considers weather data
or information from satellites to create a "flood index" that should correlate
with the damage insured. However, existing flood event databases are often
incomplete, and satellite sensors are not reliable under extreme weather
conditions (e.g., because of clouds), which limits the spatial and temporal
resolution of current approaches for index-based insurance.
In this work, we explore a novel approach for supporting satellite-based
flood index insurance by extracting high-resolution spatio-temporal information
from news media. First, we publish a dataset consisting of 40,000 news articles
covering flood events in Bangladesh by 10 prominent news sources, and inundated
area estimates for each division in Bangladesh collected from a satellite radar
sensor. Second, we show that keyword-based models are not adequate for this
novel application, while context-based classifiers cover complex and implicit
flood related patterns. Third, we show that time series extracted from news
media have substantial correlation Spearman's rho$=0.70 with satellite
estimates of inundated area. Our work demonstrates that news media is a
promising source for improving the temporal resolution and expanding the
spatial coverage of the available flood damage data. | cs.IR | Flood Event Extraction from News Media to Support Satellite-Based Flood Insurance |
2023-12-05T18:03:13Z | http://arxiv.org/pdf/2312.02931v2 | http://arxiv.org/abs/2312.02931v2 | Lukas Wolf, Greta Tuckute, Klemen Kotar, Eghbal Hosseini, Tamar Regev, Ethan Wilcox, Alex Warstadt | 2023-12-07T00:37:29Z | cs.CL, cs.AI | Training on multiple modalities of input can augment the capabilities of a
language model. Here, we ask whether such a training regime can improve the
quality and efficiency of these systems as well. We focus on text--audio and
introduce Whisbert, which is inspired by the text--image approach of FLAVA
(Singh et al., 2022). In accordance with Babylm guidelines (Warstadt et al.,
2023), we pretrain Whisbert on a dataset comprising only 100 million words plus
their corresponding speech from the word-aligned version of the People's Speech
dataset (Galvez et al., 2021). To assess the impact of multimodality, we
compare versions of the model that are trained on text only and on both audio
and text simultaneously. We find that while Whisbert is able to perform well on
multimodal masked modeling and surpasses the Babylm baselines in most benchmark
tasks, it struggles to optimize its complex objective and outperform its
text-only Whisbert baseline. | cs.CL | WhisBERT: Multimodal Text-Audio Language Modeling on 100M Words |
2023-12-05T17:38:02Z | http://arxiv.org/pdf/2312.02913v1 | http://arxiv.org/abs/2312.02913v1 | Zahra Abbasiantaeb, Yifei Yuan, Evangelos Kanoulas, Mohammad Aliannejadi | 2023-12-05T17:38:02Z | cs.CL, cs.AI, cs.IR | Conversational question-answering (CQA) systems aim to create interactive
search systems that effectively retrieve information by interacting with users.
To replicate human-to-human conversations, existing work uses human annotators
to play the roles of the questioner (student) and the answerer (teacher).
Despite its effectiveness, challenges exist as human annotation is
time-consuming, inconsistent, and not scalable. To address this issue and
investigate the applicability of large language models (LLMs) in CQA
simulation, we propose a simulation framework that employs zero-shot learner
LLMs for simulating teacher-student interactions. Our framework involves two
LLMs interacting on a specific topic, with the first LLM acting as a student,
generating questions to explore a given search topic. The second LLM plays the
role of a teacher by answering questions and is equipped with additional
information, including a text on the given topic. We implement both the student
and teacher by zero-shot prompting the GPT-4 model. To assess the effectiveness
of LLMs in simulating CQA interactions and understand the disparities between
LLM- and human-generated conversations, we evaluate the simulated data from
various perspectives. We begin by evaluating the teacher's performance through
both automatic and human assessment. Next, we evaluate the performance of the
student, analyzing and comparing the disparities between questions generated by
the LLM and those generated by humans. Furthermore, we conduct extensive
analyses to thoroughly examine the LLM performance by benchmarking
state-of-the-art reading comprehension models on both datasets. Our results
reveal that the teacher LLM generates lengthier answers that tend to be more
accurate and complete. The student LLM generates more diverse questions,
covering more aspects of a given topic. | cs.CL | Let the LLMs Talk: Simulating Human-to-Human Conversational QA via Zero-Shot LLM-to-LLM Interactions |
2023-12-05T17:15:16Z | http://arxiv.org/pdf/2312.02901v1 | http://arxiv.org/abs/2312.02901v1 | Cristiano Mesquita Garcia, Ramon Simoes Abilio, Alessandro Lameiras Koerich, Alceu de Souza Britto Jr., Jean Paul Barddal | 2023-12-05T17:15:16Z | cs.LG, cs.CL, cs.IR | Due to the advent and increase in the popularity of the Internet, people have
been producing and disseminating textual data in several ways, such as reviews,
social media posts, and news articles. As a result, numerous researchers have
been working on discovering patterns in textual data, especially because social
media posts function as social sensors, indicating peoples' opinions,
interests, etc. However, most tasks regarding natural language processing are
addressed using traditional machine learning methods and static datasets. This
setting can lead to several problems, such as an outdated dataset, which may
not correspond to reality, and an outdated model, which has its performance
degrading over time. Concept drift is another aspect that emphasizes these
issues, which corresponds to data distribution and pattern changes. In a text
stream scenario, it is even more challenging due to its characteristics, such
as the high speed and data arriving sequentially. In addition, models for this
type of scenario must adhere to the constraints mentioned above while learning
from the stream by storing texts for a limited time and consuming low memory.
In this study, we performed a systematic literature review regarding concept
drift adaptation in text stream scenarios. Considering well-defined criteria,
we selected 40 papers to unravel aspects such as text drift categories, types
of text drift detection, model update mechanism, the addressed stream mining
tasks, types of text representations, and text representation update mechanism.
In addition, we discussed drift visualization and simulation and listed
real-world datasets used in the selected papers. Therefore, this paper
comprehensively reviews the concept drift adaptation in text stream mining
scenarios. | cs.LG | Concept Drift Adaptation in Text Stream Mining Settings: A Comprehensive Review |
2023-12-05T16:36:27Z | http://arxiv.org/pdf/2312.02869v1 | http://arxiv.org/abs/2312.02869v1 | Francisco Ruiz | 2023-12-05T16:36:27Z | cs.CR, cs.CL, cs.CY | In the not so unlikely scenario of total compromise of computers accessible
to a group of users, they might be tempted to resort to human-computable
paper-and-pencil cryptographic methods aided by a classic Tabula Recta, which
helps to perform addition and subtraction directly with letters. But do these
classic algorithms, or some new ones using the same simple tools, have any
chance against computer-aided cryptanalysis? In this paper I discuss how some
human-computable algorithms can indeed afford sufficient security in this
situation, drawing conclusions from computer-based statistical analysis. Three
kinds of algorithms are discussed: those that concentrate entropy from shared
text sources, stream ciphers based on arithmetic of non-binary spaces, and
hash-like algorithms that may be used to generate a password from a challenge
text. | cs.CR | Can a Tabula Recta provide security in the XXI century? |
2023-12-05T16:02:20Z | http://arxiv.org/pdf/2312.03042v1 | http://arxiv.org/abs/2312.03042v1 | He Yan, Xinyao Hu, Xiangpeng Wan, Chengyu Huang, Kai Zou, Shiqi Xu | 2023-12-05T16:02:20Z | cs.CL, cs.AI | Despite the significant advancements in natural language processing
capabilities demonstrated by large language models such as ChatGPT, their
proficiency in comprehending and processing spatial information, especially
within the domains of 2D and 3D route planning, remains notably underdeveloped.
This paper investigates the inherent limitations of ChatGPT and similar models
in spatial reasoning and navigation-related tasks, an area critical for
applications ranging from autonomous vehicle guidance to assistive technologies
for the visually impaired. In this paper, we introduce a novel evaluation
framework complemented by a baseline dataset, meticulously crafted for this
study. This dataset is structured around three key tasks: plotting spatial
points, planning routes in two-dimensional (2D) spaces, and devising pathways
in three-dimensional (3D) environments. We specifically developed this dataset
to assess the spatial reasoning abilities of ChatGPT. Our evaluation reveals
key insights into the model's capabilities and limitations in spatial
understanding. | cs.CL | Inherent limitations of LLMs regarding spatial information |
2023-12-05T15:03:27Z | http://arxiv.org/pdf/2312.02820v1 | http://arxiv.org/abs/2312.02820v1 | Xinyu Ma, Xuebo Liu, Min Zhang | 2023-12-05T15:03:27Z | cs.CL, cs.AI | In multilingual translation research, the comprehension and utilization of
language families are of paramount importance. Nevertheless, clustering
languages based solely on their ancestral families can yield suboptimal results
due to variations in the datasets employed during the model's training phase.
To mitigate this challenge, we introduce an innovative method that leverages
the fisher information matrix (FIM) to cluster language families, anchored on
the multilingual translation model's characteristics. We hypothesize that
language pairs with similar effects on model parameters exhibit a considerable
degree of linguistic congruence and should thus be grouped cohesively. This
concept has led us to define pseudo language families. We provide an in-depth
discussion regarding the inception and application of these pseudo language
families. Empirical evaluations reveal that employing these pseudo language
families enhances performance over conventional language families in adapting a
multilingual translation model to unfamiliar language pairs. The proposed
methodology may also be extended to scenarios requiring language similarity
measurements. The source code and associated scripts can be accessed at
https://github.com/ecoli-hit/PseudoFamily. | cs.CL | Clustering Pseudo Language Family in Multilingual Translation Models with Fisher Information Matrix |
2023-12-05T14:44:08Z | http://arxiv.org/pdf/2312.02803v1 | http://arxiv.org/abs/2312.02803v1 | Vera Pavlova | 2023-12-05T14:44:08Z | cs.CL, cs.AI | In this work, we approach the problem of Qur'anic information retrieval (IR)
in Arabic and English. Using the latest state-of-the-art methods in neural IR,
we research what helps to tackle this task more efficiently. Training retrieval
models requires a lot of data, which is difficult to obtain for training
in-domain. Therefore, we commence with training on a large amount of general
domain data and then continue training on in-domain data. To handle the lack of
in-domain data, we employed a data augmentation technique, which considerably
improved results in MRR@10 and NDCG@5 metrics, setting the state-of-the-art in
Qur'anic IR for both English and Arabic. The absence of an Islamic corpus and
domain-specific model for IR task in English motivated us to address this lack
of resources and take preliminary steps of the Islamic corpus compilation and
domain-specific language model (LM) pre-training, which helped to improve the
performance of the retrieval models that use the domain-specific LM as the
shared backbone. We examined several language models (LMs) in Arabic to select
one that efficiently deals with the Qur'anic IR task. Besides transferring
successful experiments from English to Arabic, we conducted additional
experiments with retrieval task in Arabic to amortize the scarcity of general
domain datasets used to train the retrieval models. Handling Qur'anic IR task
combining English and Arabic allowed us to enhance the comparison and share
valuable insights across models and languages. | cs.CL | Leveraging Domain Adaptation and Data Augmentation to Improve Qur'anic IR in English and Arabic |
2023-12-05T14:35:11Z | http://arxiv.org/pdf/2312.02798v1 | http://arxiv.org/abs/2312.02798v1 | Miriam Rateike, Celia Cintas, John Wamburu, Tanya Akumu, Skyler Speakman | 2023-12-05T14:35:11Z | cs.LG, cs.CL | We propose an auditing method to identify whether a large language model
(LLM) encodes patterns such as hallucinations in its internal states, which may
propagate to downstream tasks. We introduce a weakly supervised auditing
technique using a subset scanning approach to detect anomalous patterns in LLM
activations from pre-trained models. Importantly, our method does not need
knowledge of the type of patterns a-priori. Instead, it relies on a reference
dataset devoid of anomalies during testing. Further, our approach enables the
identification of pivotal nodes responsible for encoding these patterns, which
may offer crucial insights for fine-tuning specific sub-networks for bias
mitigation. We introduce two new scanning methods to handle LLM activations for
anomalous sentences that may deviate from the expected distribution in either
direction. Our results confirm prior findings of BERT's limited internal
capacity for encoding hallucinations, while OPT appears capable of encoding
hallucination information internally. Importantly, our scanning approach,
without prior exposure to false statements, performs comparably to a fully
supervised out-of-distribution classifier. | cs.LG | Weakly Supervised Detection of Hallucinations in LLM Activations |
2023-12-05T14:14:27Z | http://arxiv.org/pdf/2312.02783v2 | http://arxiv.org/abs/2312.02783v2 | Bowen Jin, Gang Liu, Chi Han, Meng Jiang, Heng Ji, Jiawei Han | 2024-02-01T22:51:24Z | cs.CL, cs.LG | Large language models (LLMs), such as GPT4 and LLaMA, are creating
significant advancements in natural language processing, due to their strong
text encoding/decoding ability and newly found emergent capability (e.g.,
reasoning). While LLMs are mainly designed to process pure texts, there are
many real-world scenarios where text data is associated with rich structure
information in the form of graphs (e.g., academic networks, and e-commerce
networks) or scenarios where graph data is paired with rich textual information
(e.g., molecules with descriptions). Besides, although LLMs have shown their
pure text-based reasoning ability, it is underexplored whether such ability can
be generalized to graphs (i.e., graph-based reasoning). In this paper, we
provide a systematic review of scenarios and techniques related to large
language models on graphs. We first summarize potential scenarios of adopting
LLMs on graphs into three categories, namely pure graphs, text-attributed
graphs, and text-paired graphs. We then discuss detailed techniques for
utilizing LLMs on graphs, including LLM as Predictor, LLM as Encoder, and LLM
as Aligner, and compare the advantages and disadvantages of different schools
of models. Furthermore, we discuss the real-world applications of such methods
and summarize open-source codes and benchmark datasets. Finally, we conclude
with potential future research directions in this fast-growing field. The
related source can be found at
https://github.com/PeterGriffinJin/Awesome-Language-Model-on-Graphs. | cs.CL | Large Language Models on Graphs: A Comprehensive Survey |
2023-12-05T14:12:15Z | http://arxiv.org/pdf/2312.02780v1 | http://arxiv.org/abs/2312.02780v1 | Stanislav Fort | 2023-12-05T14:12:15Z | cs.LG, cs.CL, cs.CR | We explore a class of adversarial attacks targeting the activations of
language models. By manipulating a relatively small subset of model
activations, $a$, we demonstrate the ability to control the exact prediction of
a significant number (in some cases up to 1000) of subsequent tokens $t$. We
empirically verify a scaling law where the maximum number of target tokens
$t_\mathrm{max}$ predicted depends linearly on the number of tokens $a$ whose
activations the attacker controls as $t_\mathrm{max} = \kappa a$. We find that
the number of bits of control in the input space needed to control a single bit
in the output space (what we call attack resistance $\chi$) is remarkably
constant between $\approx 16$ and $\approx 25$ over 2 orders of magnitude of
model sizes for different language models. Compared to attacks on tokens,
attacks on activations are predictably much stronger, however, we identify a
surprising regularity where one bit of input steered either via activations or
via tokens is able to exert control over a similar amount of output bits. This
gives support for the hypothesis that adversarial attacks are a consequence of
dimensionality mismatch between the input and output spaces. A practical
implication of the ease of attacking language model activations instead of
tokens is for multi-modal and selected retrieval models, where additional data
sources are added as activations directly, sidestepping the tokenized input.
This opens up a new, broad attack surface. By using language models as a
controllable test-bed to study adversarial attacks, we were able to experiment
with input-output dimensions that are inaccessible in computer vision,
especially where the output dimension dominates. | cs.LG | Scaling Laws for Adversarial Attacks on Language Model Activations |
2023-12-05T13:23:15Z | http://arxiv.org/pdf/2312.02748v1 | http://arxiv.org/abs/2312.02748v1 | Xinnuo Xu, Ivan Titov, Mirella Lapata | 2023-12-05T13:23:15Z | cs.CL, cs.LG | Data-to-text generation involves transforming structured data, often
represented as predicate-argument tuples, into coherent textual descriptions.
Despite recent advances, systems still struggle when confronted with unseen
combinations of predicates, producing unfaithful descriptions (e.g.
hallucinations or omissions). We refer to this issue as compositional
generalisation, and it encouraged us to create a benchmark for assessing the
performance of different approaches on this specific problem. Furthermore, we
propose a novel model that addresses compositional generalization by clustering
predicates into groups. Our model generates text in a sentence-by-sentence
manner, relying on one cluster of predicates at a time. This approach
significantly outperforms T5~baselines across all evaluation metrics.Notably,
it achieved a 31% improvement over T5 in terms of a metric focused on
maintaining faithfulness to the input. | cs.CL | Compositional Generalization for Data-to-Text Generation |
2023-12-05T12:48:04Z | http://arxiv.org/pdf/2312.02730v1 | http://arxiv.org/abs/2312.02730v1 | Max Klabunde, Mehdi Ben Amor, Michael Granitzer, Florian Lemmerich | 2023-12-05T12:48:04Z | cs.LG, cs.CL | Understanding the similarity of the numerous released large language models
(LLMs) has many uses, e.g., simplifying model selection, detecting illegal
model reuse, and advancing our understanding of what makes LLMs perform well.
In this work, we measure the similarity of representations of a set of LLMs
with 7B parameters. Our results suggest that some LLMs are substantially
different from others. We identify challenges of using representational
similarity measures that suggest the need of careful study of similarity scores
to avoid false conclusions. | cs.LG | Towards Measuring Representational Similarity of Large Language Models |
2023-12-05T12:07:30Z | http://arxiv.org/pdf/2312.02706v2 | http://arxiv.org/abs/2312.02706v2 | Huajun Chen | 2024-06-26T16:11:55Z | cs.AI, cs.CL | Humankind's understanding of the world is fundamentally linked to our
perception and cognition, with \emph{human languages} serving as one of the
major carriers of \emph{world knowledge}. In this vein, \emph{Large Language
Models} (LLMs) like ChatGPT epitomize the pre-training of extensive,
sequence-based world knowledge into neural networks, facilitating the
processing and manipulation of this knowledge in a parametric space. This
article explores large models through the lens of "knowledge". We initially
investigate the role of symbolic knowledge such as Knowledge Graphs (KGs) in
enhancing LLMs, covering aspects like knowledge-augmented language model,
structure-inducing pre-training, knowledgeable prompts, structured CoT,
knowledge editing, semantic tools for LLM and knowledgeable AI agents.
Subsequently, we examine how LLMs can boost traditional symbolic knowledge
bases, encompassing aspects like using LLM as KG builder and controller,
structured knowledge pretraining, and LLM-enhanced symbolic reasoning.
Considering the intricate nature of human knowledge, we advocate for the
creation of \emph{Large Knowledge Models} (LKM), specifically engineered to
manage diversified spectrum of knowledge structures. This promising undertaking
would entail several key challenges, such as disentangling knowledge base from
language models, cognitive alignment with human knowledge, integration of
perception and cognition, and building large commonsense models for interacting
with physical world, among others. We finally propose a five-"A" principle to
distinguish the concept of LKM. | cs.AI | Large Knowledge Model: Perspectives and Challenges |
2023-12-05T10:45:12Z | http://arxiv.org/pdf/2312.03759v1 | http://arxiv.org/abs/2312.03759v1 | Marcel Binz, Stephan Alaniz, Adina Roskies, Balazs Aczel, Carl T. Bergstrom, Colin Allen, Daniel Schad, Dirk Wulff, Jevin D. West, Qiong Zhang, Richard M. Shiffrin, Samuel J. Gershman, Ven Popov, Emily M. Bender, Marco Marelli, Matthew M. Botvinick, Zeynep Akata, Eric Schulz | 2023-12-05T10:45:12Z | cs.CL, cs.AI, cs.CY, cs.DL | Large language models (LLMs) are being increasingly incorporated into
scientific workflows. However, we have yet to fully grasp the implications of
this integration. How should the advent of large language models affect the
practice of science? For this opinion piece, we have invited four diverse
groups of scientists to reflect on this query, sharing their perspectives and
engaging in debate. Schulz et al. make the argument that working with LLMs is
not fundamentally different from working with human collaborators, while Bender
et al. argue that LLMs are often misused and over-hyped, and that their
limitations warrant a focus on more specialized, easily interpretable tools.
Marelli et al. emphasize the importance of transparent attribution and
responsible use of LLMs. Finally, Botvinick and Gershman advocate that humans
should retain responsibility for determining the scientific roadmap. To
facilitate the discussion, the four perspectives are complemented with a
response from each group. By putting these different perspectives in
conversation, we aim to bring attention to important considerations within the
academic community regarding the adoption of LLMs and their impact on both
current and future scientific practices. | cs.CL | How should the advent of large language models affect the practice of science? |
2023-12-05T09:44:45Z | http://arxiv.org/pdf/2312.02614v3 | http://arxiv.org/abs/2312.02614v3 | Xuan Long Do, Yiran Zhao, Hannah Brown, Yuxi Xie, James Xu Zhao, Nancy F. Chen, Kenji Kawaguchi, Michael Shieh, Junxian He | 2024-06-22T15:19:11Z | cs.LG, cs.CL | We propose a new method, Adversarial In-Context Learning (adv-ICL), to
optimize prompt for in-context learning (ICL) by employing one LLM as a
generator, another as a discriminator, and a third as a prompt modifier. As in
traditional adversarial learning, adv-ICL is implemented as a two-player game
between the generator and discriminator, where the generator tries to generate
realistic enough output to fool the discriminator. In each round, given an
input prefixed by task instructions and several exemplars, the generator
produces an output. The discriminator is then tasked with classifying the
generator input-output pair as model-generated or real data. Based on the
discriminator loss, the prompt modifier proposes possible edits to the
generator and discriminator prompts, and the edits that most improve the
adversarial loss are selected. We show that adv-ICL results in significant
improvements over state-of-the-art prompt optimization techniques for both open
and closed-source models on 11 generation and classification tasks including
summarization, arithmetic reasoning, machine translation, data-to-text
generation, and the MMLU and big-bench hard benchmarks. In addition, because
our method uses pre-trained models and updates only prompts rather than model
parameters, it is computationally efficient, easy to extend to any LLM and
task, and effective in low-resource settings. | cs.LG | Prompt Optimization via Adversarial In-Context Learning |
2023-12-05T09:16:03Z | http://arxiv.org/pdf/2312.02598v1 | http://arxiv.org/abs/2312.02598v1 | Mikhail Tikhomirov, Daniil Chernyshev | 2023-12-05T09:16:03Z | cs.CL, cs.AI | Latest instruction-tuned large language models (LLM) show great results on
various tasks, however, they often face performance degradation for non-English
input. There is evidence that the reason lies in inefficient tokenization
caused by low language representation in pre-training data which hinders the
comprehension of non-English instructions, limiting the potential of target
language instruction-tuning. In this work we investigate the possibility of
addressing the issue with vocabulary substitution in the context of LLaMa
Russian language adaptation. We explore three variants of vocabulary adaptation
and test their performance on Saiga instruction-tuning and fine-tuning on
Russian Super Glue benchmark. The results of automatic evaluation show that
vocabulary substitution not only improves the model's quality in Russian but
also accelerates fine-tuning (35%) and inference (up to 60%) while reducing
memory consumption. Additional human evaluation of the instruction-tuned models
demonstrates that models with Russian-adapted vocabulary generate answers with
higher user preference than the original Saiga-LLaMa model. | cs.CL | Impact of Tokenization on LLaMa Russian Adaptation |
2023-12-05T09:04:22Z | http://arxiv.org/pdf/2312.02590v1 | http://arxiv.org/abs/2312.02590v1 | Tanmay Chavan, Ved Patwardhan | 2023-12-05T09:04:22Z | cs.CL | Intimacy estimation of a given text has recently gained importance due to the
increase in direct interaction of NLP systems with humans. Intimacy is an
important aspect of natural language and has a substantial impact on our
everyday communication. Thus the level of intimacy can provide us with deeper
insights and richer semantics of conversations. In this paper, we present our
work on the SemEval shared task 9 on predicting the level of intimacy for the
given text. The dataset consists of tweets in ten languages, out of which only
six are available in the training dataset. We conduct several experiments and
show that an ensemble of multilingual models along with a language-specific
monolingual model has the best performance. We also evaluate other data
augmentation methods such as translation and present the results. Lastly, we
study the results thoroughly and present some noteworthy insights into this
problem. | cs.CL | Text Intimacy Analysis using Ensembles of Multilingual Transformers |
2023-12-05T08:50:34Z | http://arxiv.org/pdf/2312.02578v1 | http://arxiv.org/abs/2312.02578v1 | Tanmay Chavan, Kshitij Deshpande, Sheetal Sonawane | 2023-12-05T08:50:34Z | cs.CL | This paper presents our approach for the WASSA 2023 Empathy, Emotion and
Personality Shared Task. Empathy and distress are human feelings that are
implicitly expressed in natural discourses. Empathy and distress detection are
crucial challenges in Natural Language Processing that can aid our
understanding of conversations. The provided dataset consists of several
long-text examples in the English language, with each example associated with a
numeric score for empathy and distress. We experiment with several BERT-based
models as a part of our approach. We also try various ensemble methods. Our
final submission has a Pearson's r score of 0.346, placing us third in the
empathy and distress detection subtask. | cs.CL | Empathy and Distress Detection using Ensembles of Transformer Models |
2023-12-05T08:11:34Z | http://arxiv.org/pdf/2312.03025v1 | http://arxiv.org/abs/2312.03025v1 | Zilin Du, Haoxin Li, Xu Guo, Boyang Li | 2023-12-05T08:11:34Z | cs.AI, cs.CL, cs.CV, cs.LG | The task of multimodal relation extraction has attracted significant research
attention, but progress is constrained by the scarcity of available training
data. One natural thought is to extend existing datasets with cross-modal
generative models. In this paper, we consider a novel problem setting, where
only unimodal data, either text or image, are available during training. We aim
to train a multimodal classifier from synthetic data that perform well on real
multimodal test data. However, training with synthetic data suffers from two
obstacles: lack of data diversity and label information loss. To alleviate the
issues, we propose Mutual Information-aware Multimodal Iterated Relational dAta
GEneration (MI2RAGE), which applies Chained Cross-modal Generation (CCG) to
promote diversity in the generated data and exploits a teacher network to
select valuable training samples with high mutual information with the
ground-truth labels. Comparing our method to direct training on synthetic data,
we observed a significant improvement of 24.06% F1 with synthetic text and
26.42% F1 with synthetic images. Notably, our best model trained on completely
synthetic images outperforms prior state-of-the-art models trained on real
multimodal data by a margin of 3.76% in F1. Our codebase will be made available
upon acceptance. | cs.AI | Training on Synthetic Data Beats Real Data in Multimodal Relation Extraction |
2023-12-05T07:52:12Z | http://arxiv.org/pdf/2312.02554v2 | http://arxiv.org/abs/2312.02554v2 | Tianchi Cai, Xierui Song, Jiyan Jiang, Fei Teng, Jinjie Gu, Guannan Zhang | 2024-02-26T08:51:03Z | cs.LG, cs.CL | Aligning language models to human expectations, e.g., being helpful and
harmless, has become a pressing challenge for large language models. A typical
alignment procedure consists of supervised fine-tuning and preference learning.
Most preference learning methods, such as RLHF and DPO, depend on pairwise
preference data, which inadequately address scenarios where human feedback is
point-wise, leading to potential information loss and suboptimal performance.
Addressing this gap, we introduce Point-wise Direct Preference Optimization, a
novel preference learning method designed to harness point-wise feedback
effectively. Our work also uncovers a novel connection between supervised
fine-tuning and point-wise preference learning, culminating in Unified Language
Model Alignment, a single-step method that unifies the alignment with human
demonstrations and point-wise preferences. Extensive experiments on point-wise
preference datasets with binary or continuous labels validate the effectiveness
of our methods. Our code and a new dataset with high-quality demonstration
samples on harmlessness are released. | cs.LG | ULMA: Unified Language Model Alignment with Human Demonstration and Point-wise Preference |
2023-12-05T07:37:21Z | http://arxiv.org/pdf/2312.02549v1 | http://arxiv.org/abs/2312.02549v1 | Thong Nguyen, Xiaobao Wu, Xinshuai Dong, Cong-Duy Nguyen, See-Kiong Ng, Luu Anh Tuan | 2023-12-05T07:37:21Z | cs.CV, cs.CL | Temporal Language Grounding seeks to localize video moments that semantically
correspond to a natural language query. Recent advances employ the attention
mechanism to learn the relations between video moments and the text query.
However, naive attention might not be able to appropriately capture such
relations, resulting in ineffective distributions where target video moments
are difficult to separate from the remaining ones. To resolve the issue, we
propose an energy-based model framework to explicitly learn moment-query
distributions. Moreover, we propose DemaFormer, a novel Transformer-based
architecture that utilizes exponential moving average with a learnable damping
factor to effectively encode moment-query inputs. Comprehensive experiments on
four public temporal language grounding datasets showcase the superiority of
our methods over the state-of-the-art baselines. | cs.CV | DemaFormer: Damped Exponential Moving Average Transformer with Energy-Based Modeling for Temporal Language Grounding |
2023-12-05T07:27:08Z | http://arxiv.org/pdf/2312.03022v2 | http://arxiv.org/abs/2312.03022v2 | Hongbin Ye, Honghao Gui, Aijia Zhang, Tong Liu, Wei Hua, Weiqiang Jia | 2023-12-29T07:34:30Z | cs.AI, cs.CL, cs.LG | Knowledge graph construction (KGC) is a multifaceted undertaking involving
the extraction of entities, relations, and events. Traditionally, large
language models (LLMs) have been viewed as solitary task-solving agents in this
complex landscape. However, this paper challenges this paradigm by introducing
a novel framework, CooperKGC. Departing from the conventional approach,
CooperKGC establishes a collaborative processing network, assembling a KGC
collaboration team capable of concurrently addressing entity, relation, and
event extraction tasks. Our experiments unequivocally demonstrate that
fostering collaboration and information interaction among diverse agents within
CooperKGC yields superior results compared to individual cognitive processes
operating in isolation. Importantly, our findings reveal that the collaboration
facilitated by CooperKGC enhances knowledge selection, correction, and
aggregation capabilities across multiple rounds of interactions. | cs.AI | Beyond Isolation: Multi-Agent Synergy for Improving Knowledge Graph Construction |
2023-12-05T06:28:45Z | http://arxiv.org/pdf/2312.02532v1 | http://arxiv.org/abs/2312.02532v1 | Keonwoo Kim, Younggun Lee | 2023-12-05T06:28:45Z | cs.IR, cs.CL | With the growing volume of diverse information, the demand for classifying
arbitrary topics has become increasingly critical. To address this challenge,
we introduce DRAFT, a simple framework designed to train a classifier for
few-shot topic classification. DRAFT uses a few examples of a specific topic as
queries to construct Customized dataset with a dense retriever model.
Multi-query retrieval (MQR) algorithm, which effectively handles multiple
queries related to a specific topic, is applied to construct the Customized
dataset. Subsequently, we fine-tune a classifier using the Customized dataset
to identify the topic. To demonstrate the efficacy of our proposed approach, we
conduct evaluations on both widely used classification benchmark datasets and
manually constructed datasets with 291 diverse topics, which simulate diverse
contents encountered in real-world applications. DRAFT shows competitive or
superior performance compared to baselines that use in-context learning, such
as GPT-3 175B and InstructGPT 175B, on few-shot topic classification tasks
despite having 177 times fewer parameters, demonstrating its effectiveness. | cs.IR | DRAFT: Dense Retrieval Augmented Few-shot Topic classifier Framework |
2023-12-05T06:13:55Z | http://arxiv.org/pdf/2312.06798v1 | http://arxiv.org/abs/2312.06798v1 | Manas Gaur, Amit Sheth | 2023-12-05T06:13:55Z | cs.AI, cs.CL, cs.LG, I.2; I.2.7; J.3; H.3.3 | Explainability and Safety engender Trust. These require a model to exhibit
consistency and reliability. To achieve these, it is necessary to use and
analyze data and knowledge with statistical and symbolic AI methods relevant to
the AI application - neither alone will do. Consequently, we argue and seek to
demonstrate that the NeuroSymbolic AI approach is better suited for making AI a
trusted AI system. We present the CREST framework that shows how Consistency,
Reliability, user-level Explainability, and Safety are built on NeuroSymbolic
methods that use data and knowledge to support requirements for critical
applications such as health and well-being. This article focuses on Large
Language Models (LLMs) as the chosen AI system within the CREST framework. LLMs
have garnered substantial attention from researchers due to their versatility
in handling a broad array of natural language processing (NLP) scenarios. For
example, ChatGPT and Google's MedPaLM have emerged as highly promising
platforms for providing information in general and health-related queries,
respectively. Nevertheless, these models remain black boxes despite
incorporating human feedback and instruction-guided tuning. For instance,
ChatGPT can generate unsafe responses despite instituting safety guardrails.
CREST presents a plausible approach harnessing procedural and graph-based
knowledge within a NeuroSymbolic framework to shed light on the challenges
associated with LLMs. | cs.AI | Building Trustworthy NeuroSymbolic AI Systems: Consistency, Reliability, Explainability, and Safety |
2023-12-05T04:55:54Z | http://arxiv.org/pdf/2312.02496v1 | http://arxiv.org/abs/2312.02496v1 | Ke Liang, Sifan Wu, Jiayi Gu | 2023-12-05T04:55:54Z | cs.CL, cs.AI | Using natural language processing (NLP) technologies to develop medical
chatbots makes the diagnosis of the patient more convenient and efficient,
which is a typical application in healthcare AI. Because of its importance,
lots of research have been come out. Recently, the neural generative models
have shown their impressive ability as the core of chatbot, while it cannot
scale well when directly applied to medical conversation due to the lack of
medical-specific knowledge. To address the limitation, a scalable Medical
Knowledge Assisted mechanism, MKA, is proposed in this paper. The mechanism
aims to assist general neural generative models to achieve better performance
on the medical conversation task. The medical-specific knowledge graph is
designed within the mechanism, which contains 6 types of medical-related
information, including department, drug, check, symptom, disease, food.
Besides, the specific token concatenation policy is defined to effectively
inject medical information into the input data. Evaluation of our method is
carried out on two typical medical datasets, MedDG and MedDialog-CN. The
evaluation results demonstrate that models combined with our mechanism
outperform original methods in multiple automatic evaluation metrics. Besides,
MKA-Bert-GPT achieves state-of-the-art performance. The open-sourced codes are
public:
https://github.com/LIANGKE23/Knowledge_Assisted_Medical_Dialogue_Generation_Mechanism | cs.CL | MKA: A Scalable Medical Knowledge Assisted Mechanism for Generative Models on Medical Conversation Tasks |
2023-12-05T02:44:07Z | http://arxiv.org/pdf/2312.02441v1 | http://arxiv.org/abs/2312.02441v1 | Binbin Li, Tianxin Meng, Xiaoming Shi, Jie Zhai, Tong Ruan | 2023-12-05T02:44:07Z | cs.CL | It is becoming increasingly emphasis on the importance of LLM participating
in clinical diagnosis decision-making. However, the low specialization refers
to that current medical LLMs can not provide specific medical advice, which are
more like a medical Q\&A. And there is no suitable clinical guidance tree data
set that can be used directly with LLM. To address this issue, we first propose
LLM-executavle clinical guidance tree(CGT), which can be directly used by large
language models, and construct medical diagnostic decision-making dataset
(MedDM), from flowcharts in clinical practice guidelines. We propose an
approach to screen flowcharts from medical literature, followed by their
identification and conversion into standardized diagnostic decision trees.
Constructed a knowledge base with 1202 decision trees, which came from 5000
medical literature and covered 12 hospital departments, including internal
medicine, surgery, psychiatry, and over 500 diseases.Moreover, we propose a
method for reasoning on LLM-executable CGT and a Patient-LLM multi-turn
dialogue framework. | cs.CL | MedDM:LLM-executable clinical guidance tree for clinical decision-making |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.