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-10-11T00:18:29Z | http://arxiv.org/pdf/2310.07093v1 | http://arxiv.org/abs/2310.07093v1 | Arushi Sharma, Abhibha Gupta, Maneesh Bilalpur | 2023-10-11T00:18:29Z | cs.CL | To advance argumentative stance prediction as a multimodal problem, the First
Shared Task in Multimodal Argument Mining hosted stance prediction in crucial
social topics of gun control and abortion. Our exploratory study attempts to
evaluate the necessity of images for stance prediction in tweets and compare
out-of-the-box text-based large-language models (LLM) in few-shot settings
against fine-tuned unimodal and multimodal models. Our work suggests an
ensemble of fine-tuned text-based language models (0.817 F1-score) outperforms
both the multimodal (0.677 F1-score) and text-based few-shot prediction using a
recent state-of-the-art LLM (0.550 F1-score). In addition to the differences in
performance, our findings suggest that the multimodal models tend to perform
better when image content is summarized as natural language over their native
pixel structure and, using in-context examples improves few-shot performance of
LLMs. | cs.CL | Argumentative Stance Prediction: An Exploratory Study on Multimodality and Few-Shot Learning |
2023-10-11T00:14:40Z | http://arxiv.org/pdf/2310.07091v2 | http://arxiv.org/abs/2310.07091v2 | Jieting Long, Zewei Shi, Penghao Jiang, Yidong Gan | 2023-10-19T04:03:08Z | cs.CL, cs.AI | Document-based Visual Question Answering poses a challenging task between
linguistic sense disambiguation and fine-grained multimodal retrieval. Although
there has been encouraging progress in document-based question answering due to
the utilization of large language and open-world prior models\cite{1}, several
challenges persist, including prolonged response times, extended inference
durations, and imprecision in matching. In order to overcome these challenges,
we propose Jaegar, a concatenation-based multi-transformer VQA model. To derive
question features, we leverage the exceptional capabilities of RoBERTa
large\cite{2} and GPT2-xl\cite{3} as feature extractors. Subsequently, we
subject the outputs from both models to a concatenation process. This operation
allows the model to consider information from diverse sources concurrently,
strengthening its representational capability. By leveraging pre-trained models
for feature extraction, our approach has the potential to amplify the
performance of these models through concatenation. After concatenation, we
apply dimensionality reduction to the output features, reducing the model's
computational effectiveness and inference time. Empirical results demonstrate
that our proposed model achieves competitive performance on Task C of the
PDF-VQA Dataset. If the user adds any new data, they should make sure to style
it as per the instructions provided in previous sections. | cs.CL | Jaeger: A Concatenation-Based Multi-Transformer VQA Model |
2023-10-11T00:01:41Z | http://arxiv.org/pdf/2310.07088v2 | http://arxiv.org/abs/2310.07088v2 | Ranjita Naik, Varun Chandrasekaran, Mert Yuksekgonul, Hamid Palangi, Besmira Nushi | 2024-02-23T20:35:30Z | cs.CL, cs.AI | Large language models (LLMs) are documented to struggle in settings that
require complex reasoning. Nevertheless, instructing the model to break down
the problem into smaller reasoning steps, or ensembling various generations
through modifying decoding steps boosts performance. However, these methods
assume that the input prompt is fixed and expect the decoding strategies to
introduce the diversity needed for ensembling. In this work, we discuss how one
can create and leverage variations of the input prompt as a means of diversity
of thought. We propose a method that automatically improves prompt diversity by
soliciting feedback from the LLM to ideate approaches that are apt for the
problem. We then ensemble the diverse prompts in our method DIVSE (DIVerse
reasoning path Self-Ensemble) across multiple inference calls, or use diverse
approaches within a single inference call; we call the latter IDIV-SE (In-call
DIVerse reasoning path Self-Ensemble). Apart from our approaches outperforming
prior work, DIV-SE(in particular) advances state-of-the-art performance on the
challenging planning and graph coloring benchmarks. Our results improve the
Pareto frontier of the accuracy-cost trade-off. | cs.CL | Diversity of Thought Improves Reasoning Abilities of LLMs |
2023-10-10T23:47:25Z | http://arxiv.org/pdf/2310.07081v2 | http://arxiv.org/abs/2310.07081v2 | Emmy Liu, Aditi Chaudhary, Graham Neubig | 2023-10-20T19:24:14Z | cs.CL | Idioms are common in everyday language, but often pose a challenge to
translators because their meanings do not follow from the meanings of their
parts. Despite significant advances, machine translation systems still struggle
to translate idiomatic expressions. We provide a simple characterization of
idiomatic translation and related issues. This allows us to conduct a synthetic
experiment revealing a tipping point at which transformer-based machine
translation models correctly default to idiomatic translations. To expand
multilingual resources, we compile a dataset of ~4k natural sentences
containing idiomatic expressions in French, Finnish, and Japanese. To improve
translation of natural idioms, we introduce two straightforward yet effective
techniques: the strategic upweighting of training loss on potentially idiomatic
sentences, and using retrieval-augmented models. This not only improves the
accuracy of a strong pretrained MT model on idiomatic sentences by up to 13% in
absolute accuracy, but also holds potential benefits for non-idiomatic
sentences. | cs.CL | Crossing the Threshold: Idiomatic Machine Translation through Retrieval Augmentation and Loss Weighting |
2023-10-10T23:37:53Z | http://arxiv.org/pdf/2310.07075v3 | http://arxiv.org/abs/2310.07075v3 | Kexun Zhang, Hongqiao Chen, Lei Li, William Wang | 2024-06-04T15:50:22Z | cs.CL, cs.AI | Instruction-tuned large language models (LLMs) excel at many tasks but often
fail to use external tools due to complicated and unfamiliar syntax
constraints. While extensive fine-tuning and prompting can mitigate the issue,
these approaches are expensive and hard to generalize. Furthermore, because
syntax constraints are only learned implicitly during fine-tuning, models still
make frequent syntax errors. Motivated by the fact that these constraints can
be better satisfied explicitly with constrained decoding, we propose TOOLDEC, a
decoding algorithm using finite state machines to force LLMs to follow tool
syntax. Our experiments show that TOOLDEC eliminates all syntax errors,
achieving significantly better performance on various base models and
benchmarks. More surprisingly, when applied to generalist out-of-the-box LLMs
such as Mistral-Instruct, TOOLDEC improves its accuracy in tool use from the
initial 0% to an impressive 52%, matching the performance of specialized
fine-tuned models such as ToolLLM. | cs.CL | Don't Fine-Tune, Decode: Syntax Error-Free Tool Use via Constrained Decoding |
2023-10-10T23:07:01Z | http://arxiv.org/pdf/2310.07064v2 | http://arxiv.org/abs/2310.07064v2 | Zhaocheng Zhu, Yuan Xue, Xinyun Chen, Denny Zhou, Jian Tang, Dale Schuurmans, Hanjun Dai | 2024-04-24T19:01:59Z | cs.AI, cs.CL | When prompted with a few examples and intermediate steps, large language
models (LLMs) have demonstrated impressive performance in various reasoning
tasks. However, prompting methods that rely on implicit knowledge in an LLM
often generate incorrect answers when the implicit knowledge is wrong or
inconsistent with the task. To tackle this problem, we present
Hypotheses-to-Theories (HtT), a framework that learns a rule library for
reasoning with LLMs. HtT contains two stages, an induction stage and a
deduction stage. In the induction stage, an LLM is first asked to generate and
verify rules over a set of training examples. Rules that appear and lead to
correct answers sufficiently often are collected to form a rule library. In the
deduction stage, the LLM is then prompted to employ the learned rule library to
perform reasoning to answer test questions. Experiments on relational
reasoning, numerical reasoning and concept learning problems show that HtT
improves existing prompting methods, with an absolute gain of 10-30% in
accuracy. The learned rules are also transferable to different models and to
different forms of the same problem. | cs.AI | Large Language Models can Learn Rules |
2023-10-10T22:53:15Z | http://arxiv.org/pdf/2310.07059v2 | http://arxiv.org/abs/2310.07059v2 | Xueren Ge, Satpathy Abhishek, Ronald Dean Williams, John A. Stankovic, Homa Alemzadeh | 2024-06-19T20:58:52Z | cs.CL, cs.AI, cs.LG | Multi-label text classification (MLTC) tasks in the medical domain often face
the long-tail label distribution problem. Prior works have explored
hierarchical label structures to find relevant information for few-shot
classes, but mostly neglected to incorporate external knowledge from medical
guidelines. This paper presents DKEC, Domain Knowledge Enhanced Classification
for diagnosis prediction with two innovations: (1) automated construction of
heterogeneous knowledge graphs from external sources to capture semantic
relations among diverse medical entities, (2) incorporating the heterogeneous
knowledge graphs in few-shot classification using a label-wise attention
mechanism. We construct DKEC using three online medical knowledge sources and
evaluate it on a real-world Emergency Medical Services (EMS) dataset and a
public electronic health record (EHR) dataset. Results show that DKEC
outperforms the state-of-the-art label-wise attention networks and transformer
models of different sizes, particularly for the few-shot classes. More
importantly, it helps the smaller language models achieve comparable
performance to large language models. | cs.CL | DKEC: Domain Knowledge Enhanced Multi-Label Classification for Diagnosis Prediction |
2023-10-10T21:23:47Z | http://arxiv.org/pdf/2310.07023v2 | http://arxiv.org/abs/2310.07023v2 | Forrest Huang, Gang Li, Tao Li, Yang Li | 2024-04-16T03:42:43Z | cs.HC, cs.CL, cs.LG | Macros are building block tasks of our everyday smartphone activity (e.g.,
"login", or "booking a flight"). Effectively extracting macros is important for
understanding mobile interaction and enabling task automation. These macros are
however difficult to extract at scale as they can be comprised of multiple
steps yet hidden within programmatic components of mobile apps. In this paper,
we introduce a novel approach based on Large Language Models (LLMs) to
automatically extract semantically meaningful macros from both random and
user-curated mobile interaction traces. The macros produced by our approach are
automatically tagged with natural language descriptions and are fully
executable. We conduct multiple studies to validate the quality of extracted
macros, including user evaluation, comparative analysis against human-curated
tasks, and automatic execution of these macros. These experiments and analyses
show the effectiveness of our approach and the usefulness of extracted macros
in various downstream applications. | cs.HC | Automatic Macro Mining from Interaction Traces at Scale |
2023-10-10T21:16:35Z | http://arxiv.org/pdf/2310.10677v1 | http://arxiv.org/abs/2310.10677v1 | Sophia Gu | 2023-10-10T21:16:35Z | cs.CL | With the recent rise of widely successful deep learning models, there is
emerging interest among professionals in various math and science communities
to see and evaluate the state-of-the-art models' abilities to collaborate on
finding or solving problems that often require creativity and thus
brainstorming. While a significant chasm still exists between current
human-machine intellectual collaborations and the resolution of complex math
and science problems, such as the six unsolved Millennium Prize Problems, our
initial investigation into this matter reveals a promising step towards
bridging the divide. This is due to the recent advancements in Large Language
Models (LLMs). More specifically, we conduct comprehensive case studies to
explore both the capabilities and limitations of the current state-of-the-art
LLM, notably GPT-4, in collective brainstorming with humans. | cs.CL | LLMs as Potential Brainstorming Partners for Math and Science Problems |
2023-10-10T21:08:51Z | http://arxiv.org/pdf/2310.07018v1 | http://arxiv.org/abs/2310.07018v1 | Yi Ru Wang, Jiafei Duan, Dieter Fox, Siddhartha Srinivasa | 2023-10-10T21:08:51Z | cs.CL, cs.AI, cs.RO | Large Language Models (LLMs), through their contextualized representations,
have been empirically proven to encapsulate syntactic, semantic, word sense,
and common-sense knowledge. However, there has been limited exploration of
their physical reasoning abilities, specifically concerning the crucial
attributes for comprehending everyday objects. To address this gap, we
introduce NEWTON, a repository and benchmark for evaluating the physics
reasoning skills of LLMs. Further, to enable domain-specific adaptation of this
benchmark, we present a pipeline to enable researchers to generate a variant of
this benchmark that has been customized to the objects and attributes relevant
for their application. The NEWTON repository comprises a collection of 2800
object-attribute pairs, providing the foundation for generating infinite-scale
assessment templates. The NEWTON benchmark consists of 160K QA questions,
curated using the NEWTON repository to investigate the physical reasoning
capabilities of several mainstream language models across foundational,
explicit, and implicit reasoning tasks. Through extensive empirical analysis,
our results highlight the capabilities of LLMs for physical reasoning. We find
that LLMs like GPT-4 demonstrate strong reasoning capabilities in
scenario-based tasks but exhibit less consistency in object-attribute reasoning
compared to humans (50% vs. 84%). Furthermore, the NEWTON platform demonstrates
its potential for evaluating and enhancing language models, paving the way for
their integration into physically grounded settings, such as robotic
manipulation. Project site: https://newtonreasoning.github.io | cs.CL | NEWTON: Are Large Language Models Capable of Physical Reasoning? |
2023-10-10T20:49:43Z | http://arxiv.org/pdf/2310.07008v1 | http://arxiv.org/abs/2310.07008v1 | Mikhail Salnikov, Maria Lysyuk, Pavel Braslavski, Anton Razzhigaev, Valentin Malykh, Alexander Panchenko | 2023-10-10T20:49:43Z | cs.CL, cs.AI, cs.IR, cs.LG | Pre-trained Text-to-Text Language Models (LMs), such as T5 or BART yield
promising results in the Knowledge Graph Question Answering (KGQA) task.
However, the capacity of the models is limited and the quality decreases for
questions with less popular entities. In this paper, we present a novel
approach which works on top of the pre-trained Text-to-Text QA system to
address this issue. Our simple yet effective method performs filtering and
re-ranking of generated candidates based on their types derived from Wikidata
"instance_of" property. | cs.CL | Answer Candidate Type Selection: Text-to-Text Language Model for Closed Book Question Answering Meets Knowledge Graphs |
2023-10-10T20:15:54Z | http://arxiv.org/pdf/2310.06987v1 | http://arxiv.org/abs/2310.06987v1 | Yangsibo Huang, Samyak Gupta, Mengzhou Xia, Kai Li, Danqi Chen | 2023-10-10T20:15:54Z | cs.CL, cs.AI, cs.CR | The rapid progress in open-source large language models (LLMs) is
significantly advancing AI development. Extensive efforts have been made before
model release to align their behavior with human values, with the primary goal
of ensuring their helpfulness and harmlessness. However, even carefully aligned
models can be manipulated maliciously, leading to unintended behaviors, known
as "jailbreaks". These jailbreaks are typically triggered by specific text
inputs, often referred to as adversarial prompts. In this work, we propose the
generation exploitation attack, an extremely simple approach that disrupts
model alignment by only manipulating variations of decoding methods. By
exploiting different generation strategies, including varying decoding
hyper-parameters and sampling methods, we increase the misalignment rate from
0% to more than 95% across 11 language models including LLaMA2, Vicuna, Falcon,
and MPT families, outperforming state-of-the-art attacks with $30\times$ lower
computational cost. Finally, we propose an effective alignment method that
explores diverse generation strategies, which can reasonably reduce the
misalignment rate under our attack. Altogether, our study underscores a major
failure in current safety evaluation and alignment procedures for open-source
LLMs, strongly advocating for more comprehensive red teaming and better
alignment before releasing such models. Our code is available at
https://github.com/Princeton-SysML/Jailbreak_LLM. | cs.CL | Catastrophic Jailbreak of Open-source LLMs via Exploiting Generation |
2023-10-10T20:05:13Z | http://arxiv.org/pdf/2310.06983v1 | http://arxiv.org/abs/2310.06983v1 | Courtland Leer, Vincent Trost, Vineeth Voruganti | 2023-10-10T20:05:13Z | cs.CL, cs.LG | Recent research shows that Large Language Models (LLMs) exhibit a compelling
level of proficiency in Theory of Mind (ToM) tasks. This ability to impute
unobservable mental states to others is vital to human social cognition and may
prove equally important in principal-agent relations between individual humans
and Artificial Intelligences (AIs). In this paper, we explore how a mechanism
studied in developmental psychology known as Violation of Expectation (VoE) can
be implemented to reduce errors in LLM prediction about users by leveraging
emergent ToM affordances. And we introduce a \textit{metacognitive prompting}
framework to apply VoE in the context of an AI tutor. By storing and retrieving
facts derived in cases where LLM expectation about the user was violated, we
find that LLMs are able to learn about users in ways that echo theories of
human learning. Finally, we discuss latent hazards and augmentative
opportunities associated with modeling user psychology and propose ways to
mitigate risk along with possible directions for future inquiry. | cs.CL | Violation of Expectation via Metacognitive Prompting Reduces Theory of Mind Prediction Error in Large Language Models |
2023-10-10T19:56:10Z | http://arxiv.org/pdf/2310.06977v1 | http://arxiv.org/abs/2310.06977v1 | Timothee Mickus, Raúl Vázquez | 2023-10-10T19:56:10Z | cs.CL | A recent body of work has demonstrated that Transformer embeddings can be
linearly decomposed into well-defined sums of factors, that can in turn be
related to specific network inputs or components. There is however still a
dearth of work studying whether these mathematical reformulations are
empirically meaningful. In the present work, we study representations from
machine-translation decoders using two of such embedding decomposition methods.
Our results indicate that, while decomposition-derived indicators effectively
correlate with model performance, variation across different runs suggests a
more nuanced take on this question. The high variability of our measurements
indicate that geometry reflects model-specific characteristics more than it
does sentence-specific computations, and that similar training conditions do
not guarantee similar vector spaces. | cs.CL | Why bother with geometry? On the relevance of linear decompositions of Transformer embeddings |
2023-10-10T19:22:01Z | http://arxiv.org/pdf/2310.06960v1 | http://arxiv.org/abs/2310.06960v1 | Venkat Venkatasubramanian, N. Sanjeevrajan, Manasi Khandekar | 2023-10-10T19:22:01Z | cond-mat.stat-mech, cs.CL | We present a novel theory of the microstructure of deep neural networks.
Using a theoretical framework called statistical teleodynamics, which is a
conceptual synthesis of statistical thermodynamics and potential game theory,
we predict that all highly connected layers of deep neural networks have a
universal microstructure of connection strengths that is distributed
lognormally ($LN({\mu}, {\sigma})$). Furthermore, under ideal conditions, the
theory predicts that ${\mu}$ and ${\sigma}$ are the same for all layers in all
networks. This is shown to be the result of an arbitrage equilibrium where all
connections compete and contribute the same effective utility towards the
minimization of the overall loss function. These surprising predictions are
shown to be supported by empirical data from six large-scale deep neural
networks in real life. We also discuss how these results can be exploited to
reduce the amount of data, time, and computational resources needed to train
large deep neural networks. | cond-mat.stat-mech | Jaynes Machine: The universal microstructure of deep neural networks |
2023-10-10T18:54:15Z | http://arxiv.org/pdf/2310.10675v1 | http://arxiv.org/abs/2310.10675v1 | Valderrama Jonatan, Aguilar-Alonso Igor | 2023-10-10T18:54:15Z | cs.CL | In the era of digital transformation, customer service is of paramount
importance to the success of organizations, and to meet the growing demand for
immediate responses and personalized assistance 24 hours a day, chatbots have
become a promising tool to solve these problems. Currently, there are many
companies that need to provide these solutions to their customers, which
motivates us to study this problem and offer a suitable solution. The objective
of this study is to develop a chatbot based on natural language processing to
improve customer satisfaction and improve the quality of service provided by
the company through WhatsApp. The solution focuses on creating a chatbot that
efficiently and effectively handles user queries. A literature review related
to existing chatbots has been conducted, analyzing methodological approaches,
artificial intelligence techniques and quality attributes used in the
implementation of chatbots. The results found highlight that chatbots based on
natural language processing enable fast and accurate responses, which improves
the efficiency of customer service, as chatbots contribute to customer
satisfaction by providing accurate answers and quick solutions to their queries
at any time. Some authors point out that artificial intelligence techniques,
such as machine learning, improve the learning and adaptability of chatbots as
user interactions occur, so a good choice of appropriate natural language
understanding technologies is essential for optimal chatbot performance. The
results of this study will provide a solid foundation for the design and
development of effective chatbots for customer service, ensuring a satisfactory
user experience and thus meeting the needs of the organization. | cs.CL | Creation Of A ChatBot Based On Natural Language Proccesing For Whatsapp |
2023-10-10T18:53:21Z | http://arxiv.org/pdf/2310.06940v1 | http://arxiv.org/abs/2310.06940v1 | Kasturi Bhattacharjee, Rashmi Gangadharaiah | 2023-10-10T18:53:21Z | cs.CL | Aspect-based sentiment analysis (ABSA) is a widely studied topic, most often
trained through supervision from human annotations of opinionated texts. These
fine-grained annotations include identifying aspects towards which a user
expresses their sentiment, and their associated polarities (aspect-based
sentiments). Such fine-grained annotations can be expensive and often
infeasible to obtain in real-world settings. There is, however, an abundance of
scenarios where user-generated text contains an overall sentiment, such as a
rating of 1-5 in user reviews or user-generated feedback, which may be
leveraged for this task. In this paper, we propose a VAE-based topic modeling
approach that performs ABSA using document-level supervision and without
requiring fine-grained labels for either aspects or sentiments. Our approach
allows for the detection of multiple aspects in a document, thereby allowing
for the possibility of reasoning about how sentiment expressed through multiple
aspects comes together to form an observable overall document-level sentiment.
We demonstrate results on two benchmark datasets from two different domains,
significantly outperforming a state-of-the-art baseline. | cs.CL | Document-Level Supervision for Multi-Aspect Sentiment Analysis Without Fine-grained Labels |
2023-10-10T18:28:38Z | http://arxiv.org/pdf/2310.06927v2 | http://arxiv.org/abs/2310.06927v2 | Eldar Kurtic, Denis Kuznedelev, Elias Frantar, Michael Goin, Dan Alistarh | 2023-10-13T13:47:44Z | cs.CL, cs.AI | We consider the problem of accurate sparse fine-tuning of large language
models (LLMs), that is, fine-tuning pretrained LLMs on specialized tasks, while
inducing sparsity in their weights. On the accuracy side, we observe that
standard loss-based fine-tuning may fail to recover accuracy, especially at
high sparsities. To address this, we perform a detailed study of
distillation-type losses, determining an L2-based distillation approach we term
SquareHead which enables accurate recovery even at higher sparsities, across
all model types. On the practical efficiency side, we show that sparse LLMs can
be executed with speedups by taking advantage of sparsity, for both CPU and GPU
runtimes. While the standard approach is to leverage sparsity for computational
reduction, we observe that in the case of memory-bound LLMs sparsity can also
be leveraged for reducing memory bandwidth. We exhibit end-to-end results
showing speedups due to sparsity, while recovering accuracy, on T5 (language
translation), Whisper (speech translation), and open GPT-type (MPT for text
generation). For MPT text generation, we show for the first time that sparse
fine-tuning can reach 75% sparsity without accuracy drops, provide notable
end-to-end speedups for both CPU and GPU inference, and highlight that sparsity
is also compatible with quantization approaches. Models and software for
reproducing our results are provided in Section 6. | cs.CL | Sparse Fine-tuning for Inference Acceleration of Large Language Models |
2023-10-10T18:15:24Z | http://arxiv.org/pdf/2310.06918v2 | http://arxiv.org/abs/2310.06918v2 | Pengyue Hou, Xingyu Li | 2023-10-20T19:39:40Z | cs.CL, cs.LG | The recent success of SimCSE has greatly advanced state-of-the-art sentence
representations. However, the original formulation of SimCSE does not fully
exploit the potential of hard negative samples in contrastive learning. This
study introduces an unsupervised contrastive learning framework that combines
SimCSE with hard negative mining, aiming to enhance the quality of sentence
embeddings. The proposed focal-InfoNCE function introduces self-paced
modulation terms in the contrastive objective, downweighting the loss
associated with easy negatives and encouraging the model focusing on hard
negatives. Experimentation on various STS benchmarks shows that our method
improves sentence embeddings in terms of Spearman's correlation and
representation alignment and uniformity. | cs.CL | Improving Contrastive Learning of Sentence Embeddings with Focal-InfoNCE |
2023-10-10T18:09:32Z | http://arxiv.org/pdf/2310.06913v1 | http://arxiv.org/abs/2310.06913v1 | Atish Kumar Dipongkor, Kevin Moran | 2023-10-10T18:09:32Z | cs.SE, cs.CL, cs.IR | Often, the first step in managing bug reports is related to triaging a bug to
the appropriate developer who is best suited to understand, localize, and fix
the target bug. Additionally, assigning a given bug to a particular part of a
software project can help to expedite the fixing process. However, despite the
importance of these activities, they are quite challenging, where days can be
spent on the manual triaging process. Past studies have attempted to leverage
the limited textual data of bug reports to train text classification models
that automate this process -- to varying degrees of success. However, the
textual representations and machine learning models used in prior work are
limited by their expressiveness, often failing to capture nuanced textual
patterns that might otherwise aid in the triaging process. Recently, large,
transformer-based, pre-trained neural text representation techniques such as
BERT have achieved greater performance in several natural language processing
tasks. However, the potential for using these techniques to improve upon prior
approaches for automated bug triaging is not well studied or understood.
Therefore, in this paper we offer one of the first investigations that
fine-tunes transformer-based language models for the task of bug triaging on
four open source datasets, spanning a collective 53 years of development
history with over 400 developers and over 150 software project components. Our
study includes both a quantitative and qualitative analysis of effectiveness.
Our findings illustrate that DeBERTa is the most effective technique across the
triaging tasks of developer and component assignment, and the measured
performance delta is statistically significant compared to other techniques.
However, through our qualitative analysis, we also observe that each technique
possesses unique abilities best suited to certain types of bug reports. | cs.SE | A Comparative Study of Transformer-based Neural Text Representation Techniques on Bug Triaging |
2023-10-10T17:59:58Z | http://arxiv.org/pdf/2310.06839v1 | http://arxiv.org/abs/2310.06839v1 | Huiqiang Jiang, Qianhui Wu, Xufang Luo, Dongsheng Li, Chin-Yew Lin, Yuqing Yang, Lili Qiu | 2023-10-10T17:59:58Z | cs.CL, cs.LG | In long context scenarios, large language models (LLMs) face three main
challenges: higher computational/financial cost, longer latency, and inferior
performance. Some studies reveal that the performance of LLMs depends on both
the density and the position of the key information (question relevant) in the
input prompt. Inspired by these findings, we propose LongLLMLingua for prompt
compression towards improving LLMs' perception of the key information to
simultaneously address the three challenges. We conduct evaluation on a wide
range of long context scenarios including single-/multi-document QA, few-shot
learning, summarization, synthetic tasks, and code completion. The experimental
results show that LongLLMLingua compressed prompt can derive higher performance
with much less cost. The latency of the end-to-end system is also reduced. For
example, on NaturalQuestions benchmark, LongLLMLingua gains a performance boost
of up to 17.1% over the original prompt with ~4x fewer tokens as input to
GPT-3.5-Turbo. It can derive cost savings of \$28.5 and \$27.4 per 1,000
samples from the LongBench and ZeroScrolls benchmark, respectively.
Additionally, when compressing prompts of ~10k tokens at a compression rate of
2x-10x, LongLLMLingua can speed up the end-to-end latency by 1.4x-3.8x. Our
code is available at https://aka.ms/LLMLingua. | cs.CL | LongLLMLingua: Accelerating and Enhancing LLMs in Long Context Scenarios via Prompt Compression |
2023-10-10T17:59:51Z | http://arxiv.org/pdf/2310.06837v1 | http://arxiv.org/abs/2310.06837v1 | Eric Zelikman, Wanjing Anya Ma, Jasmine E. Tran, Diyi Yang, Jason D. Yeatman, Nick Haber | 2023-10-10T17:59:51Z | cs.CL, cs.LG | Developing an educational test can be expensive and time-consuming, as each
item must be written by experts and then evaluated by collecting hundreds of
student responses. Moreover, many tests require multiple distinct sets of
questions administered throughout the school year to closely monitor students'
progress, known as parallel tests. In this study, we focus on tests of silent
sentence reading efficiency, used to assess students' reading ability over
time. To generate high-quality parallel tests, we propose to fine-tune large
language models (LLMs) to simulate how previous students would have responded
to unseen items. With these simulated responses, we can estimate each item's
difficulty and ambiguity. We first use GPT-4 to generate new test items
following a list of expert-developed rules and then apply a fine-tuned LLM to
filter the items based on criteria from psychological measurements. We also
propose an optimal-transport-inspired technique for generating parallel tests
and show the generated tests closely correspond to the original test's
difficulty and reliability based on crowdworker responses. Our evaluation of a
generated test with 234 students from grades 2 to 8 produces test scores highly
correlated (r=0.93) to those of a standard test form written by human experts
and evaluated across thousands of K-12 students. | cs.CL | Generating and Evaluating Tests for K-12 Students with Language Model Simulations: A Case Study on Sentence Reading Efficiency |
2023-10-10T17:57:45Z | http://arxiv.org/pdf/2310.06830v1 | http://arxiv.org/abs/2310.06830v1 | Yiheng Xu, Hongjin Su, Chen Xing, Boyu Mi, Qian Liu, Weijia Shi, Binyuan Hui, Fan Zhou, Yitao Liu, Tianbao Xie, Zhoujun Cheng, Siheng Zhao, Lingpeng Kong, Bailin Wang, Caiming Xiong, Tao Yu | 2023-10-10T17:57:45Z | cs.CL | We introduce Lemur and Lemur-Chat, openly accessible language models
optimized for both natural language and coding capabilities to serve as the
backbone of versatile language agents. The evolution from language chat models
to functional language agents demands that models not only master human
interaction, reasoning, and planning but also ensure grounding in the relevant
environments. This calls for a harmonious blend of language and coding
capabilities in the models. Lemur and Lemur-Chat are proposed to address this
necessity, demonstrating balanced proficiencies in both domains, unlike
existing open-source models that tend to specialize in either. Through
meticulous pre-training using a code-intensive corpus and instruction
fine-tuning on text and code data, our models achieve state-of-the-art averaged
performance across diverse text and coding benchmarks among open-source models.
Comprehensive experiments demonstrate Lemur's superiority over existing
open-source models and its proficiency across various agent tasks involving
human communication, tool usage, and interaction under fully- and partially-
observable environments. The harmonization between natural and programming
languages enables Lemur-Chat to significantly narrow the gap with proprietary
models on agent abilities, providing key insights into developing advanced
open-source agents adept at reasoning, planning, and operating seamlessly
across environments. https://github.com/OpenLemur/Lemur | cs.CL | Lemur: Harmonizing Natural Language and Code for Language Agents |
2023-10-10T17:57:00Z | http://arxiv.org/pdf/2310.06827v3 | http://arxiv.org/abs/2310.06827v3 | Erik Jones, Hamid Palangi, Clarisse Simões, Varun Chandrasekaran, Subhabrata Mukherjee, Arindam Mitra, Ahmed Awadallah, Ece Kamar | 2023-11-07T05:11:46Z | cs.CL, cs.LG | Large language models (LLMs) frequently hallucinate on abstractive
summarization tasks such as document-based question-answering, meeting
summarization, and clinical report generation, even though all necessary
information is included in context. However, optimizing LLMs to hallucinate
less on these tasks is challenging, as hallucination is hard to efficiently
evaluate at each optimization step. In this work, we show that reducing
hallucination on a synthetic task can also reduce hallucination on real-world
downstream tasks. Our method, SynTra, first designs a synthetic task where
hallucinations are easy to elicit and measure. It next optimizes the LLM's
system message via prefix-tuning on the synthetic task, and finally transfers
the system message to realistic, hard-to-optimize tasks. Across three realistic
abstractive summarization tasks, SynTra reduces hallucination for two
13B-parameter LLMs using only a synthetic retrieval task for supervision. We
also find that optimizing the system message rather than the model weights can
be critical; fine-tuning the entire model on the synthetic task can
counterintuitively increase hallucination. Overall, SynTra demonstrates that
the extra flexibility of working with synthetic data can help mitigate
undesired behaviors in practice. | cs.CL | Teaching Language Models to Hallucinate Less with Synthetic Tasks |
2023-10-10T17:54:58Z | http://arxiv.org/pdf/2310.06825v1 | http://arxiv.org/abs/2310.06825v1 | Albert Q. Jiang, Alexandre Sablayrolles, Arthur Mensch, Chris Bamford, Devendra Singh Chaplot, Diego de las Casas, Florian Bressand, Gianna Lengyel, Guillaume Lample, Lucile Saulnier, Lélio Renard Lavaud, Marie-Anne Lachaux, Pierre Stock, Teven Le Scao, Thibaut Lavril, Thomas Wang, Timothée Lacroix, William El Sayed | 2023-10-10T17:54:58Z | cs.CL, cs.AI, cs.LG | We introduce Mistral 7B v0.1, a 7-billion-parameter language model engineered
for superior performance and efficiency. Mistral 7B outperforms Llama 2 13B
across all evaluated benchmarks, and Llama 1 34B in reasoning, mathematics, and
code generation. Our model leverages grouped-query attention (GQA) for faster
inference, coupled with sliding window attention (SWA) to effectively handle
sequences of arbitrary length with a reduced inference cost. We also provide a
model fine-tuned to follow instructions, Mistral 7B -- Instruct, that surpasses
the Llama 2 13B -- Chat model both on human and automated benchmarks. Our
models are released under the Apache 2.0 license. | cs.CL | Mistral 7B |
2023-10-10T17:39:03Z | http://arxiv.org/pdf/2310.06816v1 | http://arxiv.org/abs/2310.06816v1 | John X. Morris, Volodymyr Kuleshov, Vitaly Shmatikov, Alexander M. Rush | 2023-10-10T17:39:03Z | cs.CL, cs.LG | How much private information do text embeddings reveal about the original
text? We investigate the problem of embedding \textit{inversion},
reconstructing the full text represented in dense text embeddings. We frame the
problem as controlled generation: generating text that, when reembedded, is
close to a fixed point in latent space. We find that although a na\"ive model
conditioned on the embedding performs poorly, a multi-step method that
iteratively corrects and re-embeds text is able to recover $92\%$ of
$32\text{-token}$ text inputs exactly. We train our model to decode text
embeddings from two state-of-the-art embedding models, and also show that our
model can recover important personal information (full names) from a dataset of
clinical notes. Our code is available on Github:
\href{https://github.com/jxmorris12/vec2text}{github.com/jxmorris12/vec2text}. | cs.CL | Text Embeddings Reveal (Almost) As Much As Text |
2023-10-10T17:21:03Z | http://arxiv.org/pdf/2310.06803v1 | http://arxiv.org/abs/2310.06803v1 | Yu Zhou, Yunqiu Han, Hanyu Zhou, Yulun Wu | 2023-10-10T17:21:03Z | cs.CL, cs.AI, cs.LG | Recent advances in general purpose pre-trained language models have shown
great potential in commonsense reasoning. However, current works still perform
poorly on standard commonsense reasoning benchmarks including the Com2Sense
Dataset. We argue that this is due to a disconnect with current cutting-edge
machine learning methods. In this work, we aim to bridge the gap by introducing
current ML-based methods to improve general purpose pre-trained language models
in the task of commonsense reasoning. Specifically, we experiment with and
systematically evaluate methods including knowledge transfer, model ensemble,
and introducing an additional pairwise contrastive objective. Our best model
outperforms the strongest previous works by ~15\% absolute gains in Pairwise
Accuracy and ~8.7\% absolute gains in Standard Accuracy. | cs.CL | Advancing Transformer's Capabilities in Commonsense Reasoning |
2023-10-10T16:57:28Z | http://arxiv.org/pdf/2310.06786v1 | http://arxiv.org/abs/2310.06786v1 | Keiran Paster, Marco Dos Santos, Zhangir Azerbayev, Jimmy Ba | 2023-10-10T16:57:28Z | cs.AI, cs.CL, cs.LG | There is growing evidence that pretraining on high quality, carefully
thought-out tokens such as code or mathematics plays an important role in
improving the reasoning abilities of large language models. For example,
Minerva, a PaLM model finetuned on billions of tokens of mathematical documents
from arXiv and the web, reported dramatically improved performance on problems
that require quantitative reasoning. However, because all known open source web
datasets employ preprocessing that does not faithfully preserve mathematical
notation, the benefits of large scale training on quantitive web documents are
unavailable to the research community. We introduce OpenWebMath, an open
dataset inspired by these works containing 14.7B tokens of mathematical
webpages from Common Crawl. We describe in detail our method for extracting
text and LaTeX content and removing boilerplate from HTML documents, as well as
our methods for quality filtering and deduplication. Additionally, we run
small-scale experiments by training 1.4B parameter language models on
OpenWebMath, showing that models trained on 14.7B tokens of our dataset surpass
the performance of models trained on over 20x the amount of general language
data. We hope that our dataset, openly released on the Hugging Face Hub, will
help spur advances in the reasoning abilities of large language models. | cs.AI | OpenWebMath: An Open Dataset of High-Quality Mathematical Web Text |
2023-10-10T16:49:21Z | http://arxiv.org/pdf/2310.06773v1 | http://arxiv.org/abs/2310.06773v1 | Junsheng Zhou, Jinsheng Wang, Baorui Ma, Yu-Shen Liu, Tiejun Huang, Xinlong Wang | 2023-10-10T16:49:21Z | cs.CV, cs.CL | Scaling up representations for images or text has been extensively
investigated in the past few years and has led to revolutions in learning
vision and language. However, scalable representation for 3D objects and scenes
is relatively unexplored. In this work, we present Uni3D, a 3D foundation model
to explore the unified 3D representation at scale. Uni3D uses a 2D initialized
ViT end-to-end pretrained to align the 3D point cloud features with the
image-text aligned features. Via the simple architecture and pretext task,
Uni3D can leverage abundant 2D pretrained models as initialization and
image-text aligned models as the target, unlocking the great potential of 2D
models and scaling-up strategies to the 3D world. We efficiently scale up Uni3D
to one billion parameters, and set new records on a broad range of 3D tasks,
such as zero-shot classification, few-shot classification, open-world
understanding and part segmentation. We show that the strong Uni3D
representation also enables applications such as 3D painting and retrieval in
the wild. We believe that Uni3D provides a new direction for exploring both
scaling up and efficiency of the representation in 3D domain. | cs.CV | Uni3D: Exploring Unified 3D Representation at Scale |
2023-10-10T16:47:29Z | http://arxiv.org/pdf/2310.06770v2 | http://arxiv.org/abs/2310.06770v2 | Carlos E. Jimenez, John Yang, Alexander Wettig, Shunyu Yao, Kexin Pei, Ofir Press, Karthik Narasimhan | 2024-04-05T18:16:29Z | cs.CL, cs.AI, cs.SE | Language models have outpaced our ability to evaluate them effectively, but
for their future development it is essential to study the frontier of their
capabilities. We find real-world software engineering to be a rich,
sustainable, and challenging testbed for evaluating the next generation of
language models. To this end, we introduce SWE-bench, an evaluation framework
consisting of $2,294$ software engineering problems drawn from real GitHub
issues and corresponding pull requests across $12$ popular Python repositories.
Given a codebase along with a description of an issue to be resolved, a
language model is tasked with editing the codebase to address the issue.
Resolving issues in SWE-bench frequently requires understanding and
coordinating changes across multiple functions, classes, and even files
simultaneously, calling for models to interact with execution environments,
process extremely long contexts and perform complex reasoning that goes far
beyond traditional code generation tasks. Our evaluations show that both
state-of-the-art proprietary models and our fine-tuned model SWE-Llama can
resolve only the simplest issues. The best-performing model, Claude 2, is able
to solve a mere $1.96$% of the issues. Advances on SWE-bench represent steps
towards LMs that are more practical, intelligent, and autonomous. | cs.CL | SWE-bench: Can Language Models Resolve Real-World GitHub Issues? |
2023-10-10T16:40:00Z | http://arxiv.org/pdf/2310.06764v1 | http://arxiv.org/abs/2310.06764v1 | Francis M. Tyers, Nicholas Howell | 2023-10-10T16:40:00Z | cs.CL | In this demo paper we present OmniLingo, an architecture for distributing
data for listening- and speaking-based language learning applications and a
demonstration client built using the architecture. The architecture is based on
the Interplanetary Filesystem (IPFS) and puts at the forefront user sovereignty
over data. | cs.CL | OmniLingo: Listening- and speaking-based language learning |
2023-10-10T16:38:49Z | http://arxiv.org/pdf/2310.06762v1 | http://arxiv.org/abs/2310.06762v1 | Xiao Wang, Yuansen Zhang, Tianze Chen, Songyang Gao, Senjie Jin, Xianjun Yang, Zhiheng Xi, Rui Zheng, Yicheng Zou, Tao Gui, Qi Zhang, Xuanjing Huang | 2023-10-10T16:38:49Z | cs.CL | Aligned large language models (LLMs) demonstrate exceptional capabilities in
task-solving, following instructions, and ensuring safety. However, the
continual learning aspect of these aligned LLMs has been largely overlooked.
Existing continual learning benchmarks lack sufficient challenge for leading
aligned LLMs, owing to both their simplicity and the models' potential exposure
during instruction tuning. In this paper, we introduce TRACE, a novel benchmark
designed to evaluate continual learning in LLMs. TRACE consists of 8 distinct
datasets spanning challenging tasks including domain-specific tasks,
multilingual capabilities, code generation, and mathematical reasoning. All
datasets are standardized into a unified format, allowing for effortless
automatic evaluation of LLMs. Our experiments show that after training on
TRACE, aligned LLMs exhibit significant declines in both general ability and
instruction-following capabilities. For example, the accuracy of llama2-chat
13B on gsm8k dataset declined precipitously from 28.8\% to 2\% after training
on our datasets. This highlights the challenge of finding a suitable tradeoff
between achieving performance on specific tasks while preserving the original
prowess of LLMs. Empirical findings suggest that tasks inherently equipped with
reasoning paths contribute significantly to preserving certain capabilities of
LLMs against potential declines. Motivated by this, we introduce the
Reasoning-augmented Continual Learning (RCL) approach. RCL integrates
task-specific cues with meta-rationales, effectively reducing catastrophic
forgetting in LLMs while expediting convergence on novel tasks. | cs.CL | TRACE: A Comprehensive Benchmark for Continual Learning in Large Language Models |
2023-10-10T15:41:26Z | http://arxiv.org/pdf/2310.06714v2 | http://arxiv.org/abs/2310.06714v2 | Shenglai Zeng, Yaxin Li, Jie Ren, Yiding Liu, Han Xu, Pengfei He, Yue Xing, Shuaiqiang Wang, Jiliang Tang, Dawei Yin | 2024-02-22T21:19:59Z | cs.AI, cs.CL, cs.LG | Large language models (LLMs) have shown great capabilities in various tasks
but also exhibited memorization of training data, raising tremendous privacy
and copyright concerns. While prior works have studied memorization during
pre-training, the exploration of memorization during fine-tuning is rather
limited. Compared to pre-training, fine-tuning typically involves more
sensitive data and diverse objectives, thus may bring distinct privacy risks
and unique memorization behaviors. In this work, we conduct the first
comprehensive analysis to explore language models' (LMs) memorization during
fine-tuning across tasks. Our studies with open-sourced and our own fine-tuned
LMs across various tasks indicate that memorization presents a strong disparity
among different fine-tuning tasks. We provide an intuitive explanation of this
task disparity via sparse coding theory and unveil a strong correlation between
memorization and attention score distribution. | cs.AI | Exploring Memorization in Fine-tuned Language Models |
2023-10-10T15:33:51Z | http://arxiv.org/pdf/2310.06707v3 | http://arxiv.org/abs/2310.06707v3 | Christian Tomani, David Vilar, Markus Freitag, Colin Cherry, Subhajit Naskar, Mara Finkelstein, Xavier Garcia, Daniel Cremers | 2024-03-25T13:27:16Z | cs.CL, cs.AI | Maximum-a-posteriori (MAP) decoding is the most widely used decoding strategy
for neural machine translation (NMT) models. The underlying assumption is that
model probability correlates well with human judgment, with better translations
getting assigned a higher score by the model. However, research has shown that
this assumption does not always hold, and generation quality can be improved by
decoding to optimize a utility function backed by a metric or
quality-estimation signal, as is done by Minimum Bayes Risk (MBR) or
Quality-Aware decoding. The main disadvantage of these approaches is that they
require an additional model to calculate the utility function during decoding,
significantly increasing the computational cost. In this paper, we propose to
make the NMT models themselves quality-aware by training them to estimate the
quality of their own output. Using this approach for MBR decoding we can
drastically reduce the size of the candidate list, resulting in a speed-up of
two-orders of magnitude. When applying our method to MAP decoding we obtain
quality gains similar or even superior to quality reranking approaches, but
with the efficiency of single pass decoding. | cs.CL | Quality-Aware Translation Models: Efficient Generation and Quality Estimation in a Single Model |
2023-10-10T15:25:33Z | http://arxiv.org/pdf/2310.06702v1 | http://arxiv.org/abs/2310.06702v1 | Piyush Singh Pasi, Karthikeya Battepati, Preethi Jyothi, Ganesh Ramakrishnan, Tanmay Mahapatra, Manoj Singh | 2023-10-10T15:25:33Z | cs.CL, cs.LG, cs.SD, eess.AS | The problem of audio-to-text alignment has seen significant amount of
research using complete supervision during training. However, this is typically
not in the context of long audio recordings wherein the text being queried does
not appear verbatim within the audio file. This work is a collaboration with a
non-governmental organization called CARE India that collects long audio health
surveys from young mothers residing in rural parts of Bihar, India. Given a
question drawn from a questionnaire that is used to guide these surveys, we aim
to locate where the question is asked within a long audio recording. This is of
great value to African and Asian organizations that would otherwise have to
painstakingly go through long and noisy audio recordings to locate questions
(and answers) of interest. Our proposed framework, INDENT, uses a
cross-attention-based model and prior information on the temporal ordering of
sentences to learn speech embeddings that capture the semantics of the
underlying spoken text. These learnt embeddings are used to retrieve the
corresponding audio segment based on text queries at inference time. We
empirically demonstrate the significant effectiveness (improvement in R-avg of
about 3%) of our model over those obtained using text-based heuristics. We also
show how noisy ASR, generated using state-of-the-art ASR models for Indian
languages, yields better results when used in place of speech. INDENT, trained
only on Hindi data is able to cater to all languages supported by the
(semantically) shared text space. We illustrate this empirically on 11 Indic
languages. | cs.CL | Temporally Aligning Long Audio Interviews with Questions: A Case Study in Multimodal Data Integration |
2023-10-10T15:13:30Z | http://arxiv.org/pdf/2310.06694v2 | http://arxiv.org/abs/2310.06694v2 | Mengzhou Xia, Tianyu Gao, Zhiyuan Zeng, Danqi Chen | 2024-04-11T01:18:06Z | cs.CL, cs.AI, cs.LG | The popularity of LLaMA (Touvron et al., 2023a;b) and other recently emerged
moderate-sized large language models (LLMs) highlights the potential of
building smaller yet powerful LLMs. Regardless, the cost of training such
models from scratch on trillions of tokens remains high. In this work, we study
structured pruning as an effective means to develop smaller LLMs from
pre-trained, larger models. Our approach employs two key techniques: (1)
targeted structured pruning, which prunes a larger model to a specified target
shape by removing layers, heads, and intermediate and hidden dimensions in an
end-to-end manner, and (2) dynamic batch loading, which dynamically updates the
composition of sampled data in each training batch based on varying losses
across different domains. We demonstrate the efficacy of our approach by
presenting the Sheared-LLaMA series, pruning the LLaMA2-7B model down to 1.3B
and 2.7B parameters. Sheared-LLaMA models outperform state-of-the-art
open-source models of equivalent sizes, such as Pythia, INCITE, OpenLLaMA and
the concurrent TinyLlama models, on a wide range of downstream and instruction
tuning evaluations, while requiring only 3% of compute compared to training
such models from scratch. This work provides compelling evidence that
leveraging existing LLMs with structured pruning is a far more cost-effective
approach for building competitive small-scale LLMs | cs.CL | Sheared LLaMA: Accelerating Language Model Pre-training via Structured Pruning |
2023-10-10T15:10:03Z | http://arxiv.org/pdf/2310.06692v3 | http://arxiv.org/abs/2310.06692v3 | Anni Zou, Zhuosheng Zhang, Hai Zhao, Xiangru Tang | 2024-02-20T15:27:20Z | cs.CL, cs.AI | Large language models (LLMs) have unveiled remarkable reasoning capabilities
by exploiting chain-of-thought (CoT) prompting, which generates intermediate
reasoning chains to serve as the rationale for deriving the answer. However,
current CoT methods either simply employ general prompts such as Let's think
step by step, or heavily rely on pre-defined task-specific demonstrations to
attain preferable performances, thereby engendering an inescapable gap between
performance and generalization. To bridge this gap, we propose GeM-CoT, a
Generalizable CoT prompting mechanism in Mixed-task scenarios where the type of
input questions is unknown. GeM-CoT first categorizes the question type and
subsequently samples or constructs demonstrations from the corresponding data
pool in an automatic pattern. With this technical design, GeM-CoT
simultaneously enjoys superior generalization capabilities and remarkable
performances on 10 public reasoning tasks and 23 BBH tasks. | cs.CL | Generalizable Chain-of-Thought Prompting in Mixed-task Scenarios with Large Language Models |
2023-10-10T14:59:22Z | http://arxiv.org/pdf/2310.06684v1 | http://arxiv.org/abs/2310.06684v1 | Bowen Jin, Wentao Zhang, Yu Zhang, Yu Meng, Han Zhao, Jiawei Han | 2023-10-10T14:59:22Z | cs.CL, cs.LG | In real-world scenarios, texts in a network are often linked by multiple
semantic relations (e.g., papers in an academic network are referenced by other
publications, written by the same author, or published in the same venue),
where text documents and their relations form a multiplex text-rich network.
Mainstream text representation learning methods use pretrained language models
(PLMs) to generate one embedding for each text unit, expecting that all types
of relations between texts can be captured by these single-view embeddings.
However, this presumption does not hold particularly in multiplex text-rich
networks. Along another line of work, multiplex graph neural networks (GNNs)
directly initialize node attributes as a feature vector for node representation
learning, but they cannot fully capture the semantics of the nodes' associated
texts. To bridge these gaps, we propose METERN, a new framework for learning
Multiplex Embeddings on TExt-Rich Networks. In contrast to existing methods,
METERN uses one text encoder to model the shared knowledge across relations and
leverages a small number of parameters per relation to derive relation-specific
representations. This allows the encoder to effectively capture the multiplex
structures in the network while also preserving parameter efficiency. We
conduct experiments on nine downstream tasks in five networks from both
academic and e-commerce domains, where METERN outperforms baselines
significantly and consistently. The code is available at
https://github.com/PeterGriffinJin/METERN-submit. | cs.CL | Learning Multiplex Embeddings on Text-rich Networks with One Text Encoder |
2023-10-10T14:50:20Z | http://arxiv.org/pdf/2310.06675v2 | http://arxiv.org/abs/2310.06675v2 | Jonathan Tonglet, Manon Reusens, Philipp Borchert, Bart Baesens | 2023-10-20T08:02:25Z | cs.CL | Question answering over hybrid contexts is a complex task, which requires the
combination of information extracted from unstructured texts and structured
tables in various ways. Recently, In-Context Learning demonstrated significant
performance advances for reasoning tasks. In this paradigm, a large language
model performs predictions based on a small set of supporting exemplars. The
performance of In-Context Learning depends heavily on the selection procedure
of the supporting exemplars, particularly in the case of HybridQA, where
considering the diversity of reasoning chains and the large size of the hybrid
contexts becomes crucial. In this work, we present Selection of ExEmplars for
hybrid Reasoning (SEER), a novel method for selecting a set of exemplars that
is both representative and diverse. The key novelty of SEER is that it
formulates exemplar selection as a Knapsack Integer Linear Program. The
Knapsack framework provides the flexibility to incorporate diversity
constraints that prioritize exemplars with desirable attributes, and capacity
constraints that ensure that the prompt size respects the provided capacity
budgets. The effectiveness of SEER is demonstrated on FinQA and TAT-QA, two
real-world benchmarks for HybridQA, where it outperforms previous exemplar
selection methods. | cs.CL | SEER : A Knapsack approach to Exemplar Selection for In-Context HybridQA |
2023-10-10T14:47:09Z | http://arxiv.org/pdf/2310.06671v2 | http://arxiv.org/abs/2310.06671v2 | Yichi Zhang, Zhuo Chen, Lingbing Guo, Yajing Xu, Wen Zhang, Huajun Chen | 2024-04-14T05:30:19Z | cs.CL | Large language model (LLM) based knowledge graph completion (KGC) aims to
predict the missing triples in the KGs with LLMs. However, research about
LLM-based KGC fails to sufficiently harness LLMs' inference proficiencies,
overlooking critical structural information integral to KGs. In this paper, we
explore methods to incorporate structural information into the LLMs, with the
overarching goal of facilitating structure-aware reasoning. We first discuss on
the existing LLM paradigms like in-context learning and instruction tuning,
proposing basic structural information injection approaches. Then we propose a
Knowledge Prefix Adapter (KoPA) to fulfill this stated goal. The KoPA uses a
structural pre-training phase to comprehend the intricate entities and
relations within KGs, representing them as structural embeddings. Then KoPA
communicates such cross-modal structural information understanding to the LLMs
through a knowledge prefix adapter which projects the structural embeddings
into the textual space and obtains virtual knowledge tokens positioned as a
prefix of the input prompt. We conduct comprehensive experiments and provide
incisive analysis concerning how the introduction of cross-modal structural
information would be better for LLM's factual knowledge reasoning ability. Our
code and data are available at https://github.com/zjukg/KoPA . | cs.CL | Making Large Language Models Perform Better in Knowledge Graph Completion |
2023-10-10T14:41:38Z | http://arxiv.org/pdf/2310.06666v1 | http://arxiv.org/abs/2310.06666v1 | Caoyun Fan, Wenqing Chen, Jidong Tian, Yitian Li, Hao He, Yaohui Jin | 2023-10-10T14:41:38Z | cs.CL, cs.AI, cs.LG | Counterfactually-Augmented Data (CAD) -- minimal editing of sentences to flip
the corresponding labels -- has the potential to improve the
Out-Of-Distribution (OOD) generalization capability of language models, as CAD
induces language models to exploit domain-independent causal features and
exclude spurious correlations. However, the empirical results of CAD's OOD
generalization are not as efficient as anticipated. In this study, we attribute
the inefficiency to the myopia phenomenon caused by CAD: language models only
focus on causal features that are edited in the augmentation operation and
exclude other non-edited causal features. Therefore, the potential of CAD is
not fully exploited. To address this issue, we analyze the myopia phenomenon in
feature space from the perspective of Fisher's Linear Discriminant, then we
introduce two additional constraints based on CAD's structural properties
(dataset-level and sentence-level) to help language models extract more
complete causal features in CAD, thereby mitigating the myopia phenomenon and
improving OOD generalization capability. We evaluate our method on two tasks:
Sentiment Analysis and Natural Language Inference, and the experimental results
demonstrate that our method could unlock the potential of CAD and improve the
OOD generalization performance of language models by 1.0% to 5.9%. | cs.CL | Unlock the Potential of Counterfactually-Augmented Data in Out-Of-Distribution Generalization |
2023-10-10T14:07:49Z | http://arxiv.org/pdf/2310.06645v1 | http://arxiv.org/abs/2310.06645v1 | Pouya Mehralian, Bagher BabaAli, Ashena Gorgan Mohammadi | 2023-10-10T14:07:49Z | cs.LG, cs.CL | Self-supervised learning offers an efficient way of extracting rich
representations from various types of unlabeled data while avoiding the cost of
annotating large-scale datasets. This is achievable by designing a pretext task
to form pseudo labels with respect to the modality and domain of the data.
Given the evolving applications of online handwritten texts, in this study, we
propose the novel Part of Stroke Masking (POSM) as a pretext task for
pretraining models to extract informative representations from the online
handwriting of individuals in English and Chinese languages, along with two
suggested pipelines for fine-tuning the pretrained models. To evaluate the
quality of the extracted representations, we use both intrinsic and extrinsic
evaluation methods. The pretrained models are fine-tuned to achieve
state-of-the-art results in tasks such as writer identification, gender
classification, and handedness classification, also highlighting the
superiority of utilizing the pretrained models over the models trained from
scratch. | cs.LG | Self-Supervised Representation Learning for Online Handwriting Text Classification |
2023-10-10T13:45:59Z | http://arxiv.org/pdf/2310.06627v4 | http://arxiv.org/abs/2310.06627v4 | Letian Zhang, Xiaotong Zhai, Zhongkai Zhao, Yongshuo Zong, Xin Wen, Bingchen Zhao | 2024-04-15T18:03:26Z | cs.CL, cs.CV, cs.LG | Counterfactual reasoning, a fundamental aspect of human cognition, involves
contemplating alternatives to established facts or past events, significantly
enhancing our abilities in planning and decision-making. In light of the
advancements in current multi-modal large language models, we explore their
effectiveness in counterfactual reasoning. To facilitate this investigation, we
introduce a novel dataset, C-VQA, specifically designed to test the
counterfactual reasoning capabilities of modern multi-modal large language
models. This dataset is constructed by infusing original questions with
counterfactual presuppositions, spanning various types such as numerical and
boolean queries. It encompasses a mix of real and synthetic data, representing
a wide range of difficulty levels. Our thorough evaluations of contemporary
vision-language models using this dataset have revealed substantial performance
drops, with some models showing up to a 40% decrease, highlighting a
significant gap between current models and human-like vision reasoning
capabilities. We hope our dataset will serve as a vital benchmark for
evaluating the counterfactual reasoning capabilities of models. Code and
dataset are publicly available at https://bzhao.me/C-VQA/. | cs.CL | What If the TV Was Off? Examining Counterfactual Reasoning Abilities of Multi-modal Language Models |
2023-10-10T13:45:24Z | http://arxiv.org/pdf/2310.06626v1 | http://arxiv.org/abs/2310.06626v1 | Qingfa Xiao, Shuangyin Li, Lei Chen | 2023-10-10T13:45:24Z | cs.CL, cs.AI | Prompt-based learning's efficacy across numerous natural language processing
tasks has led to its integration into dense passage retrieval. Prior research
has mainly focused on enhancing the semantic understanding of pre-trained
language models by optimizing a single vector as a continuous prompt. This
approach, however, leads to a semantic space collapse; identical semantic
information seeps into all representations, causing their distributions to
converge in a restricted region. This hinders differentiation between relevant
and irrelevant passages during dense retrieval. To tackle this issue, we
present Topic-DPR, a dense passage retrieval model that uses topic-based
prompts. Unlike the single prompt method, multiple topic-based prompts are
established over a probabilistic simplex and optimized simultaneously through
contrastive learning. This encourages representations to align with their topic
distributions, improving space uniformity. Furthermore, we introduce a novel
positive and negative sampling strategy, leveraging semi-structured data to
boost dense retrieval efficiency. Experimental results from two datasets affirm
that our method surpasses previous state-of-the-art retrieval techniques. | cs.CL | Topic-DPR: Topic-based Prompts for Dense Passage Retrieval |
2023-10-10T12:55:22Z | http://arxiv.org/pdf/2310.06590v1 | http://arxiv.org/abs/2310.06590v1 | Dennis Fucci, Marco Gaido, Matteo Negri, Mauro Cettolo, Luisa Bentivogli | 2023-10-10T12:55:22Z | cs.CL | Automatic speech recognition (ASR) systems are known to be sensitive to the
sociolinguistic variability of speech data, in which gender plays a crucial
role. This can result in disparities in recognition accuracy between male and
female speakers, primarily due to the under-representation of the latter group
in the training data. While in the context of hybrid ASR models several
solutions have been proposed, the gender bias issue has not been explicitly
addressed in end-to-end neural architectures. To fill this gap, we propose a
data augmentation technique that manipulates the fundamental frequency (f0) and
formants. This technique reduces the data unbalance among genders by simulating
voices of the under-represented female speakers and increases the variability
within each gender group. Experiments on spontaneous English speech show that
our technique yields a relative WER improvement up to 9.87% for utterances by
female speakers, with larger gains for the least-represented f0 ranges. | cs.CL | No Pitch Left Behind: Addressing Gender Unbalance in Automatic Speech Recognition through Pitch Manipulation |
2023-10-10T12:53:48Z | http://arxiv.org/pdf/2310.06588v2 | http://arxiv.org/abs/2310.06588v2 | Yupei Du, Albert Gatt, Dong Nguyen | 2024-03-29T23:53:28Z | cs.CL, cs.LG | Despite the massive success of fine-tuning Pre-trained Language Models
(PLMs), they remain susceptible to out-of-distribution input. Dataset
cartography is a simple yet effective dual-model approach that improves the
robustness of fine-tuned PLMs. It involves fine-tuning a model on the original
training set (i.e. reference model), selecting a subset of important training
instances based on the training dynamics, and fine-tuning again only on these
selected examples (i.e. main model). However, this approach requires
fine-tuning the same model twice, which is computationally expensive for large
PLMs. In this paper, we show that (1) training dynamics are highly transferable
across model sizes and pre-training methods, and that (2) fine-tuning main
models using these selected training instances achieves higher training
efficiency than empirical risk minimization (ERM). Building on these
observations, we propose a novel fine-tuning approach: Fine-Tuning by
transFerring Training dynamics (FTFT). Compared with dataset cartography, FTFT
uses more efficient reference models and aggressive early stopping. FTFT
achieves robustness improvements over ERM while lowering the training cost by
up to $\sim 50\%$. | cs.CL | FTFT: Efficient and Robust Fine-Tuning by Transferring Training Dynamics |
2023-10-10T12:10:40Z | http://arxiv.org/pdf/2310.06555v2 | http://arxiv.org/abs/2310.06555v2 | Olaf Lipinski, Adam J. Sobey, Federico Cerutti, Timothy J. Norman | 2024-05-03T09:44:44Z | cs.CL, cs.AI, cs.LG, cs.MA | Emergent communication studies the development of language between autonomous
agents, aiming to improve understanding of natural language evolution and
increase communication efficiency. While temporal aspects of language have been
considered in computational linguistics, there has been no research on temporal
references in emergent communication. This paper addresses this gap, by
exploring how agents communicate about temporal relationships. We analyse three
potential influences for the emergence of temporal references: environmental,
external, and architectural changes. Our experiments demonstrate that altering
the loss function is insufficient for temporal references to emerge; rather,
architectural changes are necessary. However, a minimal change in agent
architecture, using a different batching method, allows the emergence of
temporal references. This modified design is compared with the standard
architecture in a temporal referential games environment, which emphasises
temporal relationships. The analysis indicates that over 95\% of the agents
with the modified batching method develop temporal references, without changes
to their loss function. We consider temporal referencing necessary for future
improvements to the agents' communication efficiency, yielding a closer to
optimal coding as compared to purely compositional languages. Our readily
transferable architectural insights provide the basis for their incorporation
into other emergent communication settings. | cs.CL | It's About Time: Temporal References in Emergent Communication |
2023-10-10T11:56:48Z | http://arxiv.org/pdf/2310.06552v3 | http://arxiv.org/abs/2310.06552v3 | Joseph S. Boyle, Antanas Kascenas, Pat Lok, Maria Liakata, Alison Q. O'Neil | 2023-11-13T12:38:00Z | cs.AI, cs.CL, I.2.7; I.2.8 | The task of assigning diagnostic ICD codes to patient hospital admissions is
typically performed by expert human coders. Efforts towards automated ICD
coding are dominated by supervised deep learning models. However, difficulties
in learning to predict the large number of rare codes remain a barrier to
adoption in clinical practice. In this work, we leverage off-the-shelf
pre-trained generative large language models (LLMs) to develop a practical
solution that is suitable for zero-shot and few-shot code assignment, with no
need for further task-specific training. Unsupervised pre-training alone does
not guarantee precise knowledge of the ICD ontology and specialist clinical
coding task, therefore we frame the task as information extraction, providing a
description of each coded concept and asking the model to retrieve related
mentions. For efficiency, rather than iterating over all codes, we leverage the
hierarchical nature of the ICD ontology to sparsely search for relevant codes. | cs.AI | Automated clinical coding using off-the-shelf large language models |
2023-10-10T11:50:27Z | http://arxiv.org/pdf/2310.06547v1 | http://arxiv.org/abs/2310.06547v1 | Weimin Xiong, Yifan Song, Peiyi Wang, Sujian Li | 2023-10-10T11:50:27Z | cs.CL, cs.AI | Continual relation extraction (CRE) aims to solve the problem of catastrophic
forgetting when learning a sequence of newly emerging relations. Recent CRE
studies have found that catastrophic forgetting arises from the model's lack of
robustness against future analogous relations. To address the issue, we
introduce rationale, i.e., the explanations of relation classification results
generated by large language models (LLM), into CRE task. Specifically, we
design the multi-task rationale tuning strategy to help the model learn current
relations robustly. We also conduct contrastive rationale replay to further
distinguish analogous relations. Experimental results on two standard
benchmarks demonstrate that our method outperforms the state-of-the-art CRE
models. | cs.CL | Rationale-Enhanced Language Models are Better Continual Relation Learners |
2023-10-10T11:50:16Z | http://arxiv.org/pdf/2310.06546v1 | http://arxiv.org/abs/2310.06546v1 | Haeyun Choi, Jio Gim, Yuho Lee, Youngin Kim, Young-Joo Suh | 2023-10-10T11:50:16Z | cs.SD, cs.CL, eess.AS | This paper proposes a simple and robust zero-shot voice conversion system
with a cycle structure and mel-spectrogram pre-processing. Previous works
suffer from information loss and poor synthesis quality due to their reliance
on a carefully designed bottleneck structure. Moreover, models relying solely
on self-reconstruction loss struggled with reproducing different speakers'
voices. To address these issues, we suggested a cycle-consistency loss that
considers conversion back and forth between target and source speakers.
Additionally, stacked random-shuffled mel-spectrograms and a label smoothing
method are utilized during speaker encoder training to extract a
time-independent global speaker representation from speech, which is the key to
a zero-shot conversion. Our model outperforms existing state-of-the-art results
in both subjective and objective evaluations. Furthermore, it facilitates
cross-lingual voice conversions and enhances the quality of synthesized speech. | cs.SD | AutoCycle-VC: Towards Bottleneck-Independent Zero-Shot Cross-Lingual Voice Conversion |
2023-10-10T11:38:16Z | http://arxiv.org/pdf/2310.06540v1 | http://arxiv.org/abs/2310.06540v1 | Daria-Mihaela Broscoteanu, Radu Tudor Ionescu | 2023-10-10T11:38:16Z | cs.CL, cs.AI, cs.LG | To increase revenue, news websites often resort to using deceptive news
titles, luring users into clicking on the title and reading the full news.
Clickbait detection is the task that aims to automatically detect this form of
false advertisement and avoid wasting the precious time of online users.
Despite the importance of the task, to the best of our knowledge, there is no
publicly available clickbait corpus for the Romanian language. To this end, we
introduce a novel Romanian Clickbait Corpus (RoCliCo) comprising 8,313 news
samples which are manually annotated with clickbait and non-clickbait labels.
Furthermore, we conduct experiments with four machine learning methods, ranging
from handcrafted models to recurrent and transformer-based neural networks, to
establish a line-up of competitive baselines. We also carry out experiments
with a weighted voting ensemble. Among the considered baselines, we propose a
novel BERT-based contrastive learning model that learns to encode news titles
and contents into a deep metric space such that titles and contents of
non-clickbait news have high cosine similarity, while titles and contents of
clickbait news have low cosine similarity. Our data set and code to reproduce
the baselines are publicly available for download at
https://github.com/dariabroscoteanu/RoCliCo. | cs.CL | A Novel Contrastive Learning Method for Clickbait Detection on RoCliCo: A Romanian Clickbait Corpus of News Articles |
2023-10-10T11:31:11Z | http://arxiv.org/pdf/2310.06536v1 | http://arxiv.org/abs/2310.06536v1 | Sofie Labat, Thomas Demeester, Véronique Hoste | 2023-10-10T11:31:11Z | cs.CL | Due to the rise of user-generated content, social media is increasingly
adopted as a channel to deliver customer service. Given the public character of
these online platforms, the automatic detection of emotions forms an important
application in monitoring customer satisfaction and preventing negative
word-of-mouth. This paper introduces EmoTwiCS, a corpus of 9,489 Dutch customer
service dialogues on Twitter that are annotated for emotion trajectories. In
our business-oriented corpus, we view emotions as dynamic attributes of the
customer that can change at each utterance of the conversation. The term
`emotion trajectory' refers therefore not only to the fine-grained emotions
experienced by customers (annotated with 28 labels and
valence-arousal-dominance scores), but also to the event happening prior to the
conversation and the responses made by the human operator (both annotated with
8 categories). Inter-annotator agreement (IAA) scores on the resulting dataset
are substantial and comparable with related research, underscoring its high
quality. Given the interplay between the different layers of annotated
information, we perform several in-depth analyses to investigate (i) static
emotions in isolated tweets, (ii) dynamic emotions and their shifts in
trajectory, and (iii) the role of causes and response strategies in emotion
trajectories. We conclude by listing the advantages and limitations of our
dataset, after which we give some suggestions on the different types of
predictive modelling tasks and open research questions to which EmoTwiCS can be
applied. The dataset is available upon request and will be made publicly
available upon acceptance of the paper. | cs.CL | EmoTwiCS: A Corpus for Modelling Emotion Trajectories in Dutch Customer Service Dialogues on Twitter |
2023-10-10T11:00:23Z | http://arxiv.org/pdf/2310.06517v1 | http://arxiv.org/abs/2310.06517v1 | Swathi Anil, Jennifer D'Souza | 2023-10-10T11:00:23Z | cs.DL, cs.CL, cs.IT, math.IT | Noninvasive brain stimulation (NIBS) encompasses transcranial stimulation
techniques that can influence brain excitability. These techniques have the
potential to treat conditions like depression, anxiety, and chronic pain, and
to provide insights into brain function. However, a lack of standardized
reporting practices limits its reproducibility and full clinical potential.
This paper aims to foster interinterdisciplinarity toward adopting Computer
Science Semantic reporting methods for the standardized documentation of
Neuroscience NIBS studies making them explicitly Findable, Accessible,
Interoperable, and Reusable (FAIR).
In a large-scale systematic review of 600 repetitive transcranial magnetic
stimulation (rTMS), a subarea of NIBS, dosages, we describe key properties that
allow for structured descriptions and comparisons of the studies. This paper
showcases the semantic publishing of NIBS in the ecosphere of
knowledge-graph-based next-generation scholarly digital libraries.
Specifically, the FAIR Semantic Web resource(s)-based publishing paradigm is
implemented for the 600 reviewed rTMS studies in the Open Research Knowledge
Graph. | cs.DL | Toward Semantic Publishing in Non-Invasive Brain Stimulation: A Comprehensive Analysis of rTMS Studies |
2023-10-10T10:25:56Z | http://arxiv.org/pdf/2310.06505v1 | http://arxiv.org/abs/2310.06505v1 | Su-Youn Yoon, Eva Miszoglad, Lisa R. Pierce | 2023-10-10T10:25:56Z | cs.CL, cs.AI, I.2.7 | Since its launch in November 2022, ChatGPT has had a transformative effect on
education where students are using it to help with homework assignments and
teachers are actively employing it in their teaching practices. This includes
using ChatGPT as a tool for writing teachers to grade and generate feedback on
students' essays. In this study, we evaluated the quality of the feedback
generated by ChatGPT regarding the coherence and cohesion of the essays written
by English Language Learners (ELLs) students. We selected 50 argumentative
essays and generated feedback on coherence and cohesion using the ELLIPSE
rubric. During the feedback evaluation, we used a two-step approach: first,
each sentence in the feedback was classified into subtypes based on its
function (e.g., positive reinforcement, problem statement). Next, we evaluated
its accuracy and usability according to these types. Both the analysis of
feedback types and the evaluation of accuracy and usability revealed that most
feedback sentences were highly abstract and generic, failing to provide
concrete suggestions for improvement. The accuracy in detecting major problems,
such as repetitive ideas and the inaccurate use of cohesive devices, depended
on superficial linguistic features and was often incorrect. In conclusion,
ChatGPT, without specific training for the feedback generation task, does not
offer effective feedback on ELL students' coherence and cohesion. | cs.CL | Evaluation of ChatGPT Feedback on ELL Writers' Coherence and Cohesion |
2023-10-10T10:22:05Z | http://arxiv.org/pdf/2310.06504v1 | http://arxiv.org/abs/2310.06504v1 | Guanting Dong, Jinxu Zhao, Tingfeng Hui, Daichi Guo, Wenlong Wan, Boqi Feng, Yueyan Qiu, Zhuoma Gongque, Keqing He, Zechen Wang, Weiran Xu | 2023-10-10T10:22:05Z | cs.CL, cs.AI, cs.LG | With the increasing capabilities of large language models (LLMs), these
high-performance models have achieved state-of-the-art results on a wide range
of natural language processing (NLP) tasks. However, the models' performance on
commonly-used benchmark datasets often fails to accurately reflect their
reliability and robustness when applied to real-world noisy data. To address
these challenges, we propose a unified robustness evaluation framework based on
the slot-filling task to systematically evaluate the dialogue understanding
capability of LLMs in diverse input perturbation scenarios. Specifically, we
construct a input perturbation evaluation dataset, Noise-LLM, which contains
five types of single perturbation and four types of mixed perturbation data.
Furthermore, we utilize a multi-level data augmentation method (character,
word, and sentence levels) to construct a candidate data pool, and carefully
design two ways of automatic task demonstration construction strategies
(instance-level and entity-level) with various prompt templates. Our aim is to
assess how well various robustness methods of LLMs perform in real-world noisy
scenarios. The experiments have demonstrated that the current open-source LLMs
generally achieve limited perturbation robustness performance. Based on these
experimental observations, we make some forward-looking suggestions to fuel the
research in this direction. | cs.CL | Revisit Input Perturbation Problems for LLMs: A Unified Robustness Evaluation Framework for Noisy Slot Filling Task |
2023-10-10T10:19:58Z | http://arxiv.org/pdf/2310.06502v1 | http://arxiv.org/abs/2310.06502v1 | Xiancai Xu, Jia-Dong Zhang, Rongchang Xiao, Lei Xiong | 2023-10-10T10:19:58Z | cs.CL | Recently, ChatGPT has attracted great attention from both industry and
academia due to its surprising abilities in natural language understanding and
generation. We are particularly curious about whether it can achieve promising
performance on one of the most complex tasks in aspect-based sentiment
analysis, i.e., extracting aspect-category-opinion-sentiment quadruples from
texts. To this end, in this paper we develop a specialized prompt template that
enables ChatGPT to effectively tackle this complex quadruple extraction task.
Further, we propose a selection method on few-shot examples to fully exploit
the in-context learning ability of ChatGPT and uplift its effectiveness on this
complex task. Finally, we provide a comparative evaluation on ChatGPT against
existing state-of-the-art quadruple extraction models based on four public
datasets and highlight some important findings regarding the capability
boundaries of ChatGPT in the quadruple extraction. | cs.CL | The Limits of ChatGPT in Extracting Aspect-Category-Opinion-Sentiment Quadruples: A Comparative Analysis |
2023-10-10T10:14:59Z | http://arxiv.org/pdf/2310.06498v2 | http://arxiv.org/abs/2310.06498v2 | Shiping Yang, Renliang Sun, Xiaojun Wan | 2023-10-24T01:37:10Z | cs.CL | Large Language Models (LLMs) have shown their ability to collaborate
effectively with humans in real-world scenarios. However, LLMs are apt to
generate hallucinations, i.e., makeup incorrect text and unverified
information, which can cause significant damage when deployed for
mission-critical tasks. In this paper, we propose a self-check approach based
on reverse validation to detect factual errors automatically in a zero-resource
fashion. To facilitate future studies and assess different methods, we
construct a hallucination detection benchmark named PHD, which is generated by
ChatGPT and annotated by human annotators. Contrasting previous studies of
zero-resource hallucination detection, our method and benchmark concentrate on
passage-level detection instead of sentence-level. We empirically evaluate our
method and existing zero-resource detection methods on two datasets. The
experimental results demonstrate that the proposed method considerably
outperforms the baselines while costing fewer tokens and less time.
Furthermore, we manually analyze some hallucination cases that LLM failed to
capture, revealing the shared limitation of zero-resource methods. | cs.CL | A New Benchmark and Reverse Validation Method for Passage-level Hallucination Detection |
2023-10-10T09:57:17Z | http://arxiv.org/pdf/2310.06488v2 | http://arxiv.org/abs/2310.06488v2 | Tianlong Li, Wenhao Liu, Changze Lv, Jianhan Xu, Cenyuan Zhang, Muling Wu, Xiaoqing Zheng, Xuanjing Huang | 2023-10-12T03:23:40Z | cs.NE, cs.CL, cs.CV, cs.LG | Spiking neural networks (SNNs) have demonstrated the capability to achieve
comparable performance to deep neural networks (DNNs) in both visual and
linguistic domains while offering the advantages of improved energy efficiency
and adherence to biological plausibility. However, the extension of such
single-modality SNNs into the realm of multimodal scenarios remains an
unexplored territory. Drawing inspiration from the concept of contrastive
language-image pre-training (CLIP), we introduce a novel framework, named
SpikeCLIP, to address the gap between two modalities within the context of
spike-based computing through a two-step recipe involving ``Alignment
Pre-training + Dual-Loss Fine-tuning". Extensive experiments demonstrate that
SNNs achieve comparable results to their DNN counterparts while significantly
reducing energy consumption across a variety of datasets commonly used for
multimodal model evaluation. Furthermore, SpikeCLIP maintains robust
performance in image classification tasks that involve class labels not
predefined within specific categories. | cs.NE | SpikeCLIP: A Contrastive Language-Image Pretrained Spiking Neural Network |
2023-10-10T09:44:06Z | http://arxiv.org/pdf/2310.06474v3 | http://arxiv.org/abs/2310.06474v3 | Yue Deng, Wenxuan Zhang, Sinno Jialin Pan, Lidong Bing | 2024-03-04T04:03:54Z | cs.CL | While large language models (LLMs) exhibit remarkable capabilities across a
wide range of tasks, they pose potential safety concerns, such as the
``jailbreak'' problem, wherein malicious instructions can manipulate LLMs to
exhibit undesirable behavior. Although several preventive measures have been
developed to mitigate the potential risks associated with LLMs, they have
primarily focused on English. In this study, we reveal the presence of
multilingual jailbreak challenges within LLMs and consider two potential risky
scenarios: unintentional and intentional. The unintentional scenario involves
users querying LLMs using non-English prompts and inadvertently bypassing the
safety mechanisms, while the intentional scenario concerns malicious users
combining malicious instructions with multilingual prompts to deliberately
attack LLMs. The experimental results reveal that in the unintentional
scenario, the rate of unsafe content increases as the availability of languages
decreases. Specifically, low-resource languages exhibit about three times the
likelihood of encountering harmful content compared to high-resource languages,
with both ChatGPT and GPT-4. In the intentional scenario, multilingual prompts
can exacerbate the negative impact of malicious instructions, with
astonishingly high rates of unsafe output: 80.92\% for ChatGPT and 40.71\% for
GPT-4. To handle such a challenge in the multilingual context, we propose a
novel \textsc{Self-Defense} framework that automatically generates multilingual
training data for safety fine-tuning. Experimental results show that ChatGPT
fine-tuned with such data can achieve a substantial reduction in unsafe content
generation. Data is available at
\url{https://github.com/DAMO-NLP-SG/multilingual-safety-for-LLMs}. | cs.CL | Multilingual Jailbreak Challenges in Large Language Models |
2023-10-10T09:29:38Z | http://arxiv.org/pdf/2310.06458v1 | http://arxiv.org/abs/2310.06458v1 | Li Zhou, Antonia Karamolegkou, Wenyu Chen, Daniel Hershcovich | 2023-10-10T09:29:38Z | cs.CL | The increasing ubiquity of language technology necessitates a shift towards
considering cultural diversity in the machine learning realm, particularly for
subjective tasks that rely heavily on cultural nuances, such as Offensive
Language Detection (OLD). Current understanding underscores that these tasks
are substantially influenced by cultural values, however, a notable gap exists
in determining if cultural features can accurately predict the success of
cross-cultural transfer learning for such subjective tasks. Addressing this,
our study delves into the intersection of cultural features and transfer
learning effectiveness. The findings reveal that cultural value surveys indeed
possess a predictive power for cross-cultural transfer learning success in OLD
tasks and that it can be further improved using offensive word distance. Based
on these results, we advocate for the integration of cultural information into
datasets. Additionally, we recommend leveraging data sources rich in cultural
information, such as surveys, to enhance cultural adaptability. Our research
signifies a step forward in the quest for more inclusive, culturally sensitive
language technologies. | cs.CL | Cultural Compass: Predicting Transfer Learning Success in Offensive Language Detection with Cultural Features |
2023-10-10T09:25:44Z | http://arxiv.org/pdf/2310.06452v3 | http://arxiv.org/abs/2310.06452v3 | Robert Kirk, Ishita Mediratta, Christoforos Nalmpantis, Jelena Luketina, Eric Hambro, Edward Grefenstette, Roberta Raileanu | 2024-02-19T14:39:07Z | cs.LG, cs.AI, cs.CL | Large language models (LLMs) fine-tuned with reinforcement learning from
human feedback (RLHF) have been used in some of the most widely deployed AI
models to date, such as OpenAI's ChatGPT or Anthropic's Claude. While there has
been significant work developing these methods, our understanding of the
benefits and downsides of each stage in RLHF is still limited. To fill this
gap, we present an extensive analysis of how each stage of the process (i.e.
supervised fine-tuning (SFT), reward modelling, and RLHF) affects two key
properties: out-of-distribution (OOD) generalisation and output diversity. OOD
generalisation is crucial given the wide range of real-world scenarios in which
these models are being used, while output diversity refers to the model's
ability to generate varied outputs and is important for a variety of use cases.
We perform our analysis across two base models on both summarisation and
instruction following tasks, the latter being highly relevant for current LLM
use cases. We find that RLHF generalises better than SFT to new inputs,
particularly as the distribution shift between train and test becomes larger.
However, RLHF significantly reduces output diversity compared to SFT across a
variety of measures, implying a tradeoff in current LLM fine-tuning methods
between generalisation and diversity. Our results provide guidance on which
fine-tuning method should be used depending on the application, and show that
more research is needed to improve the tradeoff between generalisation and
diversity. | cs.LG | Understanding the Effects of RLHF on LLM Generalisation and Diversity |
2023-10-10T09:20:14Z | http://arxiv.org/pdf/2310.06450v2 | http://arxiv.org/abs/2310.06450v2 | Tianshu Yu, Ting-En Lin, Yuchuan Wu, Min Yang, Fei Huang, Yongbin Li | 2023-10-11T07:04:04Z | cs.CL, cs.AI | In recent research on large language models (LLMs), there has been a growing
emphasis on aligning these models with human values to reduce the impact of
harmful content. However, current alignment methods often rely solely on
singular forms of human feedback, such as preferences, annotated labels, or
natural language critiques, overlooking the potential advantages of combining
these feedback types. This limitation leads to suboptimal performance, even
when ample training data is available. In this paper, we introduce Constructive
and Diverse Feedback (CDF) as a novel method to enhance LLM alignment, inspired
by constructivist learning theory. Our approach involves collecting three
distinct types of feedback tailored to problems of varying difficulty levels
within the training dataset. Specifically, we exploit critique feedback for
easy problems, refinement feedback for medium problems, and preference feedback
for hard problems. By training our model with this diversified feedback, we
achieve enhanced alignment performance while using less training data. To
assess the effectiveness of CDF, we evaluate it against previous methods in
three downstream tasks: question answering, dialog generation, and text
summarization. Experimental results demonstrate that CDF achieves superior
performance even with a smaller training dataset. | cs.CL | Constructive Large Language Models Alignment with Diverse Feedback |
2023-10-10T09:06:08Z | http://arxiv.org/pdf/2310.06436v1 | http://arxiv.org/abs/2310.06436v1 | Nianlong Gu, Yingqiang Gao, Richard H. R. Hahnloser | 2023-10-10T09:06:08Z | cs.CL | We introduce MemSum-DQA, an efficient system for document question answering
(DQA) that leverages MemSum, a long document extractive summarizer. By
prefixing each text block in the parsed document with the provided question and
question type, MemSum-DQA selectively extracts text blocks as answers from
documents. On full-document answering tasks, this approach yields a 9%
improvement in exact match accuracy over prior state-of-the-art baselines.
Notably, MemSum-DQA excels in addressing questions related to
child-relationship understanding, underscoring the potential of extractive
summarization techniques for DQA tasks. | cs.CL | MemSum-DQA: Adapting An Efficient Long Document Extractive Summarizer for Document Question Answering |
2023-10-10T09:04:33Z | http://arxiv.org/pdf/2310.06434v2 | http://arxiv.org/abs/2310.06434v2 | Srijith Radhakrishnan, Chao-Han Huck Yang, Sumeer Ahmad Khan, Rohit Kumar, Narsis A. Kiani, David Gomez-Cabrero, Jesper N. Tegner | 2023-10-16T21:32:56Z | cs.CL, cs.AI, cs.MM, cs.SD, eess.AS | We introduce a new cross-modal fusion technique designed for generative error
correction in automatic speech recognition (ASR). Our methodology leverages
both acoustic information and external linguistic representations to generate
accurate speech transcription contexts. This marks a step towards a fresh
paradigm in generative error correction within the realm of n-best hypotheses.
Unlike the existing ranking-based rescoring methods, our approach adeptly uses
distinct initialization techniques and parameter-efficient algorithms to boost
ASR performance derived from pre-trained speech and text models. Through
evaluation across diverse ASR datasets, we evaluate the stability and
reproducibility of our fusion technique, demonstrating its improved word error
rate relative (WERR) performance in comparison to n-best hypotheses by
relatively 37.66%. To encourage future research, we have made our code and
pre-trained models open source at
https://github.com/Srijith-rkr/Whispering-LLaMA. | cs.CL | Whispering LLaMA: A Cross-Modal Generative Error Correction Framework for Speech Recognition |
2023-10-10T09:03:01Z | http://arxiv.org/pdf/2310.06433v1 | http://arxiv.org/abs/2310.06433v1 | Boxi Yu, Qiuyang Mang, Qingshuo Guo, Pinjia He | 2023-10-10T09:03:01Z | cs.SE, cs.AI, cs.CL, cs.CV, D.3.0; I.2.7; I.4.0 | A test oracle serves as a criterion or mechanism to assess the correspondence
between software output and the anticipated behavior for a given input set. In
automated testing, black-box techniques, known for their non-intrusive nature
in test oracle construction, are widely used, including notable methodologies
like differential testing and metamorphic testing. Inspired by the mathematical
concept of inverse function, we present Retromorphic Testing, a novel black-box
testing methodology. It leverages an auxiliary program in conjunction with the
program under test, which establishes a dual-program structure consisting of a
forward program and a backward program. The input data is first processed by
the forward program and then its program output is reversed to its original
input format using the backward program. In particular, the auxiliary program
can operate as either the forward or backward program, leading to different
testing modes. The process concludes by examining the relationship between the
initial input and the transformed output within the input domain. For example,
to test the implementation of the sine function $\sin(x)$, we can employ its
inverse function, $\arcsin(x)$, and validate the equation $x =
\sin(\arcsin(x)+2k\pi), \forall k \in \mathbb{Z}$. In addition to the
high-level concept of Retromorphic Testing, this paper presents its three
testing modes with illustrative use cases across diverse programs, including
algorithms, traditional software, and AI applications. | cs.SE | Retromorphic Testing: A New Approach to the Test Oracle Problem |
2023-10-10T08:46:10Z | http://arxiv.org/pdf/2310.06422v2 | http://arxiv.org/abs/2310.06422v2 | Kilian Sprenkamp, Daniel Gordon Jones, Liudmila Zavolokina | 2023-11-27T10:18:36Z | cs.CL, cs.AI | The prevalence of propaganda in our digital society poses a challenge to
societal harmony and the dissemination of truth. Detecting propaganda through
NLP in text is challenging due to subtle manipulation techniques and contextual
dependencies. To address this issue, we investigate the effectiveness of modern
Large Language Models (LLMs) such as GPT-3 and GPT-4 for propaganda detection.
We conduct experiments using the SemEval-2020 task 11 dataset, which features
news articles labeled with 14 propaganda techniques as a multi-label
classification problem. Five variations of GPT-3 and GPT-4 are employed,
incorporating various prompt engineering and fine-tuning strategies across the
different models. We evaluate the models' performance by assessing metrics such
as $F1$ score, $Precision$, and $Recall$, comparing the results with the
current state-of-the-art approach using RoBERTa. Our findings demonstrate that
GPT-4 achieves comparable results to the current state-of-the-art. Further,
this study analyzes the potential and challenges of LLMs in complex tasks like
propaganda detection. | cs.CL | Large Language Models for Propaganda Detection |
2023-10-10T08:24:28Z | http://arxiv.org/pdf/2310.06408v2 | http://arxiv.org/abs/2310.06408v2 | Aditya R. Vaidya, Javier Turek, Alexander G. Huth | 2023-10-23T03:15:46Z | cs.CL | Language models that are trained on the next-word prediction task have been
shown to accurately model human behavior in word prediction and reading speed.
In contrast with these findings, we present a scenario in which the performance
of humans and LMs diverges. We collected a dataset of human next-word
predictions for five stimuli that are formed by repeating spans of text. Human
and GPT-2 LM predictions are strongly aligned in the first presentation of a
text span, but their performance quickly diverges when memory (or in-context
learning) begins to play a role. We traced the cause of this divergence to
specific attention heads in a middle layer. Adding a power-law recency bias to
these attention heads yielded a model that performs much more similarly to
humans. We hope that this scenario will spur future work in bringing LMs closer
to human behavior. | cs.CL | Humans and language models diverge when predicting repeating text |
2023-10-10T08:15:24Z | http://arxiv.org/pdf/2310.06404v3 | http://arxiv.org/abs/2310.06404v3 | Daejin Jo, Daniel Wontae Nam, Gunsoo Han, Kyoung-Woon On, Taehwan Kwon, Seungeun Rho, Sungwoong Kim | 2024-04-02T11:28:40Z | cs.CL, cs.AI, cs.LG | A common practice in knowledge-grounded dialogue generation is to explicitly
utilize intermediate steps (e.g., web-search, memory retrieval) with modular
approaches. However, data for such steps are often inaccessible compared to
those of dialogue responses as they are unobservable in an ordinary dialogue.
To fill in the absence of these data, we develop a self-improving method to
improve the generative performances of intermediate steps without the ground
truth data. In particular, we propose a novel bootstrapping scheme with a
guided prompt and a modified loss function to enhance the diversity of
appropriate self-generated responses. Through experiments on various benchmark
datasets, we empirically demonstrate that our method successfully leverages a
self-improving mechanism in generating intermediate and final responses and
improves the performances on the task of knowledge-grounded dialogue
generation. | cs.CL | Hexa: Self-Improving for Knowledge-Grounded Dialogue System |
2023-10-10T07:54:24Z | http://arxiv.org/pdf/2310.06391v1 | http://arxiv.org/abs/2310.06391v1 | Stefano De Paoli | 2023-10-10T07:54:24Z | cs.HC, cs.CL, cs.CY | This draft paper presents a workflow for creating User Personas with Large
Language Models, using the results of a Thematic Analysis of qualitative
interviews. The proposed workflow uses improved prompting and a larger pool of
Themes, compared to previous work conducted by the author for the same task.
This is possible due to the capabilities of a recently released LLM which
allows the processing of 16 thousand tokens (GPT3.5-Turbo-16k) and also due to
the possibility to offer a refined prompting for the creation of Personas. The
paper offers details of performing Phase 2 and 3 of Thematic Analysis, and then
discusses the improved workflow for creating Personas. The paper also offers
some reflections on the relationship between the proposed process and existing
approaches to Personas such as the data-driven and qualitative Personas.
Moreover, the paper offers reflections on the capacity of LLMs to capture user
behaviours and personality traits, from the underlying dataset of qualitative
interviews used for the analysis. | cs.HC | Improved prompting and process for writing user personas with LLMs, using qualitative interviews: Capturing behaviour and personality traits of users |
2023-10-10T07:53:36Z | http://arxiv.org/pdf/2310.06390v1 | http://arxiv.org/abs/2310.06390v1 | Joosung Lee, Minsik Oh, Donghun Lee | 2023-10-10T07:53:36Z | cs.CL, cs.AI, cs.IR | The use of persona-grounded retrieval-based chatbots is crucial for
personalized conversations, but there are several challenges that need to be
addressed. 1) In general, collecting persona-grounded corpus is very expensive.
2) The chatbot system does not always respond in consideration of persona at
real applications. To address these challenges, we propose a plug-and-play
persona prompting method. Our system can function as a standard open-domain
chatbot if persona information is not available. We demonstrate that this
approach performs well in the zero-shot setting, which reduces the dependence
on persona-ground training data. This makes it easier to expand the system to
other languages without the need to build a persona-grounded corpus.
Additionally, our model can be fine-tuned for even better performance. In our
experiments, the zero-shot model improved the standard model by 7.71 and 1.04
points in the original persona and revised persona, respectively. The
fine-tuned model improved the previous state-of-the-art system by 1.95 and 3.39
points in the original persona and revised persona, respectively. To the best
of our knowledge, this is the first attempt to solve the problem of
personalized response selection using prompt sequences. Our code is available
on github~\footnote{https://github.com/rungjoo/plug-and-play-prompt-persona}. | cs.CL | P5: Plug-and-Play Persona Prompting for Personalized Response Selection |
2023-10-10T07:50:29Z | http://arxiv.org/pdf/2310.06387v3 | http://arxiv.org/abs/2310.06387v3 | Zeming Wei, Yifei Wang, Ang Li, Yichuan Mo, Yisen Wang | 2024-05-25T07:01:15Z | cs.LG, cs.AI, cs.CL, cs.CR | Large Language Models (LLMs) have shown remarkable success in various tasks,
yet their safety and the risk of generating harmful content remain pressing
concerns. In this paper, we delve into the potential of In-Context Learning
(ICL) to modulate the alignment of LLMs. Specifically, we propose the
In-Context Attack (ICA) which employs harmful demonstrations to subvert LLMs,
and the In-Context Defense (ICD) which bolsters model resilience through
examples that demonstrate refusal to produce harmful responses. We offer
theoretical insights to elucidate how a limited set of in-context
demonstrations can pivotally influence the safety alignment of LLMs. Through
extensive experiments, we demonstrate the efficacy of ICA and ICD in
respectively elevating and mitigating the success rates of jailbreaking
prompts. Our findings illuminate the profound influence of ICL on LLM behavior,
opening new avenues for improving the safety of LLMs. | cs.LG | Jailbreak and Guard Aligned Language Models with Only Few In-Context Demonstrations |
2023-10-10T07:34:45Z | http://arxiv.org/pdf/2310.06374v2 | http://arxiv.org/abs/2310.06374v2 | Di Wu, Wasi Uddin Ahmad, Kai-Wei Chang | 2023-10-22T08:37:43Z | cs.CL | Keyphrase Generation (KPG) is a longstanding task in NLP with widespread
applications. The advent of sequence-to-sequence (seq2seq) pre-trained language
models (PLMs) has ushered in a transformative era for KPG, yielding promising
performance improvements. However, many design decisions remain unexplored and
are often made arbitrarily. This paper undertakes a systematic analysis of the
influence of model selection and decoding strategies on PLM-based KPG. We begin
by elucidating why seq2seq PLMs are apt for KPG, anchored by an
attention-driven hypothesis. We then establish that conventional wisdom for
selecting seq2seq PLMs lacks depth: (1) merely increasing model size or
performing task-specific adaptation is not parameter-efficient; (2) although
combining in-domain pre-training with task adaptation benefits KPG, it does
partially hinder generalization. Regarding decoding, we demonstrate that while
greedy search achieves strong F1 scores, it lags in recall compared with
sampling-based methods. Based on these insights, we propose DeSel, a
likelihood-based decode-select algorithm for seq2seq PLMs. DeSel improves
greedy search by an average of 4.7% semantic F1 across five datasets. Our
collective findings pave the way for deeper future investigations into
PLM-based KPG. | cs.CL | Rethinking Model Selection and Decoding for Keyphrase Generation with Pre-trained Sequence-to-Sequence Models |
2023-10-10T07:06:06Z | http://arxiv.org/pdf/2310.06365v1 | http://arxiv.org/abs/2310.06365v1 | Qian Li, Cheng Ji, Shu Guo, Zhaoji Liang, Lihong Wang, Jianxin Li | 2023-10-10T07:06:06Z | cs.CL | Multi-Modal Entity Alignment (MMEA) is a critical task that aims to identify
equivalent entity pairs across multi-modal knowledge graphs (MMKGs). However,
this task faces challenges due to the presence of different types of
information, including neighboring entities, multi-modal attributes, and entity
types. Directly incorporating the above information (e.g., concatenation or
attention) can lead to an unaligned information space. To address these
challenges, we propose a novel MMEA transformer, called MoAlign, that
hierarchically introduces neighbor features, multi-modal attributes, and entity
types to enhance the alignment task. Taking advantage of the transformer's
ability to better integrate multiple information, we design a hierarchical
modifiable self-attention block in a transformer encoder to preserve the unique
semantics of different information. Furthermore, we design two entity-type
prefix injection methods to integrate entity-type information using type
prefixes, which help to restrict the global information of entities not present
in the MMKGs. Our extensive experiments on benchmark datasets demonstrate that
our approach outperforms strong competitors and achieves excellent entity
alignment performance. | cs.CL | Multi-Modal Knowledge Graph Transformer Framework for Multi-Modal Entity Alignment |
2023-10-10T07:00:13Z | http://arxiv.org/pdf/2310.06362v1 | http://arxiv.org/abs/2310.06362v1 | Yifan Song, Peiyi Wang, Weimin Xiong, Dawei Zhu, Tianyu Liu, Zhifang Sui, Sujian Li | 2023-10-10T07:00:13Z | cs.CL | Continual learning (CL) aims to constantly learn new knowledge over time
while avoiding catastrophic forgetting on old tasks. We focus on continual text
classification under the class-incremental setting. Recent CL studies have
identified the severe performance decrease on analogous classes as a key factor
for catastrophic forgetting. In this paper, through an in-depth exploration of
the representation learning process in CL, we discover that the compression
effect of the information bottleneck leads to confusion on analogous classes.
To enable the model learn more sufficient representations, we propose a novel
replay-based continual text classification method, InfoCL. Our approach
utilizes fast-slow and current-past contrastive learning to perform mutual
information maximization and better recover the previously learned
representations. In addition, InfoCL incorporates an adversarial memory
augmentation strategy to alleviate the overfitting problem of replay.
Experimental results demonstrate that InfoCL effectively mitigates forgetting
and achieves state-of-the-art performance on three text classification tasks.
The code is publicly available at https://github.com/Yifan-Song793/InfoCL. | cs.CL | InfoCL: Alleviating Catastrophic Forgetting in Continual Text Classification from An Information Theoretic Perspective |
2023-10-10T06:49:43Z | http://arxiv.org/pdf/2310.06356v3 | http://arxiv.org/abs/2310.06356v3 | Aiwei Liu, Leyi Pan, Xuming Hu, Shiao Meng, Lijie Wen | 2024-05-19T12:24:40Z | cs.CR, cs.CL, 68T50, I.2.7 | Watermark algorithms for large language models (LLMs) have achieved extremely
high accuracy in detecting text generated by LLMs. Such algorithms typically
involve adding extra watermark logits to the LLM's logits at each generation
step. However, prior algorithms face a trade-off between attack robustness and
security robustness. This is because the watermark logits for a token are
determined by a certain number of preceding tokens; a small number leads to low
security robustness, while a large number results in insufficient attack
robustness. In this work, we propose a semantic invariant watermarking method
for LLMs that provides both attack robustness and security robustness. The
watermark logits in our work are determined by the semantics of all preceding
tokens. Specifically, we utilize another embedding LLM to generate semantic
embeddings for all preceding tokens, and then these semantic embeddings are
transformed into the watermark logits through our trained watermark model.
Subsequent analyses and experiments demonstrated the attack robustness of our
method in semantically invariant settings: synonym substitution and text
paraphrasing settings. Finally, we also show that our watermark possesses
adequate security robustness. Our code and data are available at
\href{https://github.com/THU-BPM/Robust_Watermark}{https://github.com/THU-BPM/Robust\_Watermark}.
Additionally, our algorithm could also be accessed through MarkLLM
\citep{pan2024markllm} \footnote{https://github.com/THU-BPM/MarkLLM}. | cs.CR | A Semantic Invariant Robust Watermark for Large Language Models |
2023-10-10T04:31:41Z | http://arxiv.org/pdf/2310.06302v1 | http://arxiv.org/abs/2310.06302v1 | Shuaichen Chang, Eric Fosler-Lussier | 2023-10-10T04:31:41Z | cs.CL | Large language models (LLMs) with in-context learning have demonstrated
impressive generalization capabilities in the cross-domain text-to-SQL task,
without the use of in-domain annotations. However, incorporating in-domain
demonstration examples has been found to greatly enhance LLMs' performance. In
this paper, we delve into the key factors within in-domain examples that
contribute to the improvement and explore whether we can harness these benefits
without relying on in-domain annotations. Based on our findings, we propose a
demonstration selection framework ODIS which utilizes both out-of-domain
examples and synthetically generated in-domain examples to construct
demonstrations. By retrieving demonstrations from hybrid sources, ODIS
leverages the advantages of both, showcasing its effectiveness compared to
baseline methods that rely on a single data source. Furthermore, ODIS
outperforms state-of-the-art approaches on two cross-domain text-to-SQL
datasets, with improvements of 1.1 and 11.8 points in execution accuracy,
respectively. | cs.CL | Selective Demonstrations for Cross-domain Text-to-SQL |
2023-10-10T03:06:38Z | http://arxiv.org/pdf/2310.06272v2 | http://arxiv.org/abs/2310.06272v2 | Chau Pham, Boyi Liu, Yingxiang Yang, Zhengyu Chen, Tianyi Liu, Jianbo Yuan, Bryan A. Plummer, Zhaoran Wang, Hongxia Yang | 2024-02-26T17:36:48Z | cs.CL, cs.AI, cs.LG | Discussion and debate among Large Language Models (LLMs) have gained
considerable attention due to their potential to enhance the reasoning ability
of LLMs. Although natural language is an obvious choice for communication due
to LLM's language understanding capability, the token sampling step needed when
generating natural language poses a potential risk of information loss, as it
uses only one token to represent the model's belief across the entire
vocabulary. In this paper, we introduce a communication regime named CIPHER
(Communicative Inter-Model Protocol Through Embedding Representation) to
address this issue. Specifically, we remove the token sampling step from LLMs
and let them communicate their beliefs across the vocabulary through the
expectation of the raw transformer output embeddings. Remarkably, by deviating
from natural language, CIPHER offers an advantage of encoding a broader
spectrum of information without any modification to the model weights,
outperforming the state-of-the-art LLM debate methods using natural language by
0.5-5.0% across five reasoning tasks and multiple open-source LLMs of varying
sizes. This showcases the superiority and robustness of embeddings as an
alternative "language" for communication among LLMs. We anticipate that CIPHER
will inspire further exploration for the design of interactions within LLM
agent systems, offering a new direction that could significantly influence
future developments in the field. | cs.CL | Let Models Speak Ciphers: Multiagent Debate through Embeddings |
2023-10-10T03:05:44Z | http://arxiv.org/pdf/2310.06271v1 | http://arxiv.org/abs/2310.06271v1 | Ziwei Ji, Tiezheng Yu, Yan Xu, Nayeon Lee, Etsuko Ishii, Pascale Fung | 2023-10-10T03:05:44Z | cs.CL, cs.AI | Large language models (LLMs) have shown promise for generative and
knowledge-intensive tasks including question-answering (QA) tasks. However, the
practical deployment still faces challenges, notably the issue of
"hallucination", where models generate plausible-sounding but unfaithful or
nonsensical information. This issue becomes particularly critical in the
medical domain due to the uncommon professional concepts and potential social
risks involved. This paper analyses the phenomenon of hallucination in medical
generative QA systems using widely adopted LLMs and datasets. Our investigation
centers on the identification and comprehension of common problematic answers,
with a specific emphasis on hallucination. To tackle this challenge, we present
an interactive self-reflection methodology that incorporates knowledge
acquisition and answer generation. Through this feedback process, our approach
steadily enhances the factuality, consistency, and entailment of the generated
answers. Consequently, we harness the interactivity and multitasking ability of
LLMs and produce progressively more precise and accurate answers. Experimental
results on both automatic and human evaluation demonstrate the superiority of
our approach in hallucination reduction compared to baselines. | cs.CL | Towards Mitigating Hallucination in Large Language Models via Self-Reflection |
2023-10-10T02:07:24Z | http://arxiv.org/pdf/2310.06260v1 | http://arxiv.org/abs/2310.06260v1 | Arthur dos Santos, Jayr Pereira, Rodrigo Nogueira, Bruno Masiero, Shiva Sander-Tavallaey, Elias Zea | 2023-10-10T02:07:24Z | cs.SD, cs.CL, eess.AS | The increasing number of scientific publications in acoustics, in general,
presents difficulties in conducting traditional literature surveys. This work
explores the use of a generative pre-trained transformer (GPT) model to
automate a literature survey of 116 articles on data-driven speech enhancement
methods. The main objective is to evaluate the capabilities and limitations of
the model in providing accurate responses to specific queries about the papers
selected from a reference human-based survey. While we see great potential to
automate literature surveys in acoustics, improvements are needed to address
technical questions more clearly and accurately. | cs.SD | An experiment on an automated literature survey of data-driven speech enhancement methods |
2023-10-10T02:00:00Z | http://arxiv.org/pdf/2310.06254v1 | http://arxiv.org/abs/2310.06254v1 | Benjamin Kane, Lenhart Schubert | 2023-10-10T02:00:00Z | cs.CL, cs.AI | In many NLP applications that involve interpreting sentences within a rich
context -- for instance, information retrieval systems or dialogue systems --
it is desirable to be able to preserve the sentence in a form that can be
readily understood without context, for later reuse -- a process known as
``decontextualization''. While previous work demonstrated that generative
Seq2Seq models could effectively perform decontextualization after being
fine-tuned on a specific dataset, this approach requires expensive human
annotations and may not transfer to other domains. We propose a few-shot method
of decontextualization using a large language model, and present preliminary
results showing that this method achieves viable performance on multiple
domains using only a small set of examples. | cs.CL | Get the gist? Using large language models for few-shot decontextualization |
2023-10-10T01:44:47Z | http://arxiv.org/pdf/2310.06245v1 | http://arxiv.org/abs/2310.06245v1 | Benjamin Kane, Lenhart Schubert | 2023-10-10T01:44:47Z | cs.AI, cs.CL | Many practical applications of dialogue technology require the generation of
responses according to a particular developer-specified persona. While a
variety of personas can be elicited from recent large language models, the
opaqueness and unpredictability of these models make it desirable to be able to
specify personas in an explicit form. In previous work, personas have typically
been represented as sets of one-off pieces of self-knowledge that are retrieved
by the dialogue system for use in generation. However, in realistic human
conversations, personas are often revealed through story-like narratives that
involve rich habitual knowledge -- knowledge about kinds of events that an
agent often participates in (e.g., work activities, hobbies, sporting
activities, favorite entertainments, etc.), including typical goals,
sub-events, preconditions, and postconditions of those events. We capture such
habitual knowledge using an explicit schema representation, and propose an
approach to dialogue generation that retrieves relevant schemas to condition a
large language model to generate persona-based responses. Furthermore, we
demonstrate a method for bootstrapping the creation of such schemas by first
generating generic passages from a set of simple facts, and then inducing
schemas from the generated passages. | cs.AI | We are what we repeatedly do: Inducing and deploying habitual schemas in persona-based responses |
2023-10-10T01:27:08Z | http://arxiv.org/pdf/2310.06239v1 | http://arxiv.org/abs/2310.06239v1 | Cheng Peng, Xi Yang, Kaleb E Smith, Zehao Yu, Aokun Chen, Jiang Bian, Yonghui Wu | 2023-10-10T01:27:08Z | cs.CL, cs.AI | Objective To develop soft prompt-based learning algorithms for large language
models (LLMs), examine the shape of prompts, prompt-tuning using
frozen/unfrozen LLMs, transfer learning, and few-shot learning abilities.
Methods We developed a soft prompt-based LLM model and compared 4 training
strategies including (1) fine-tuning without prompts; (2) hard-prompt with
unfrozen LLMs; (3) soft-prompt with unfrozen LLMs; and (4) soft-prompt with
frozen LLMs. We evaluated 7 pretrained LLMs using the 4 training strategies for
clinical concept and relation extraction on two benchmark datasets. We
evaluated the transfer learning ability of the prompt-based learning algorithms
in a cross-institution setting. We also assessed the few-shot learning ability.
Results and Conclusion When LLMs are unfrozen, GatorTron-3.9B with soft
prompting achieves the best strict F1-scores of 0.9118 and 0.8604 for concept
extraction, outperforming the traditional fine-tuning and hard prompt-based
models by 0.6~3.1% and 1.2~2.9%, respectively; GatorTron-345M with soft
prompting achieves the best F1-scores of 0.8332 and 0.7488 for end-to-end
relation extraction, outperforming the other two models by 0.2~2% and
0.6~11.7%, respectively. When LLMs are frozen, small (i.e., 345 million
parameters) LLMs have a big gap to be competitive with unfrozen models; scaling
LLMs up to billions of parameters makes frozen LLMs competitive with unfrozen
LLMs. For cross-institute evaluation, soft prompting with a frozen
GatorTron-8.9B model achieved the best performance. This study demonstrates
that (1) machines can learn soft prompts better than humans, (2) frozen LLMs
have better few-shot learning ability and transfer learning ability to
facilitate muti-institution applications, and (3) frozen LLMs require large
models. | cs.CL | Model Tuning or Prompt Tuning? A Study of Large Language Models for Clinical Concept and Relation Extraction |
2023-10-10T01:22:41Z | http://arxiv.org/pdf/2310.06238v1 | http://arxiv.org/abs/2310.06238v1 | Xiulong Liu, Zhikang Dong, Peng Zhang | 2023-10-10T01:22:41Z | cs.CV, cs.AI, cs.CL, cs.LG, cs.MM, cs.SD, eess.AS | In recent years, there has been a growing emphasis on the intersection of
audio, vision, and text modalities, driving forward the advancements in
multimodal research. However, strong bias that exists in any modality can lead
to the model neglecting the others. Consequently, the model's ability to
effectively reason across these diverse modalities is compromised, impeding
further advancement. In this paper, we meticulously review each question type
from the original dataset, selecting those with pronounced answer biases. To
counter these biases, we gather complementary videos and questions, ensuring
that no answers have outstanding skewed distribution. In particular, for binary
questions, we strive to ensure that both answers are almost uniformly spread
within each question category. As a result, we construct a new dataset, named
MUSIC-AVQA v2.0, which is more challenging and we believe could better foster
the progress of AVQA task. Furthermore, we present a novel baseline model that
delves deeper into the audio-visual-text interrelation. On MUSIC-AVQA v2.0,
this model surpasses all the existing benchmarks, improving accuracy by 2% on
MUSIC-AVQA v2.0, setting a new state-of-the-art performance. | cs.CV | Tackling Data Bias in MUSIC-AVQA: Crafting a Balanced Dataset for Unbiased Question-Answering |
2023-10-10T00:41:38Z | http://arxiv.org/pdf/2310.06228v1 | http://arxiv.org/abs/2310.06228v1 | Masahiro Yamamoto | 2023-10-10T00:41:38Z | cs.CL, cs.AI, I.2.7 | Since the invention of computers, communication through natural language
(actual human language) has been a dream technology. However, natural language
is extremely difficult to mathematically formulate, making it difficult to
realize as an algorithm without considering programming. While there have been
numerous technological developments, one cannot say that any results allowing
free utilization have been achieved thus far. In the case of language learning
in humans, for instance when learning one's mother tongue or foreign language,
one must admit that this process is similar to the adage "practice makes
perfect" in principle, even though the learning method is significant up to a
point. Deep learning has played a central role in contemporary AI technology in
recent years. When applied to natural language processing (NLP), this produced
unprecedented results. Achievements exceeding the initial predictions have been
reported from the results of learning vast amounts of textual data using deep
learning. For instance, four arithmetic operations could be performed without
explicit learning, thereby enabling the explanation of complex images and the
generation of images from corresponding explanatory texts. It is an accurate
example of the learner embodying the concept of "practice makes perfect" by
using vast amounts of textual data. This report provides a technological
explanation of how cutting-edge NLP has made it possible to realize the
"practice makes perfect" principle. Additionally, examples of how this can be
applied to business are provided. We reported in June 2022 in Japanese on the
NLP movement from late 2021 to early 2022. We would like to summarize this as a
memorandum since this is just the initial movement leading to the current large
language models (LLMs). | cs.CL | Evolution of Natural Language Processing Technology: Not Just Language Processing Towards General Purpose AI |
2023-10-10T00:03:23Z | http://arxiv.org/pdf/2310.06213v2 | http://arxiv.org/abs/2310.06213v2 | Rohin Manvi, Samar Khanna, Gengchen Mai, Marshall Burke, David Lobell, Stefano Ermon | 2024-02-24T16:11:57Z | cs.CL, cs.LG | The application of machine learning (ML) in a range of geospatial tasks is
increasingly common but often relies on globally available covariates such as
satellite imagery that can either be expensive or lack predictive power. Here
we explore the question of whether the vast amounts of knowledge found in
Internet language corpora, now compressed within large language models (LLMs),
can be leveraged for geospatial prediction tasks. We first demonstrate that
LLMs embed remarkable spatial information about locations, but naively querying
LLMs using geographic coordinates alone is ineffective in predicting key
indicators like population density. We then present GeoLLM, a novel method that
can effectively extract geospatial knowledge from LLMs with auxiliary map data
from OpenStreetMap. We demonstrate the utility of our approach across multiple
tasks of central interest to the international community, including the
measurement of population density and economic livelihoods. Across these tasks,
our method demonstrates a 70% improvement in performance (measured using
Pearson's $r^2$) relative to baselines that use nearest neighbors or use
information directly from the prompt, and performance equal to or exceeding
satellite-based benchmarks in the literature. With GeoLLM, we observe that
GPT-3.5 outperforms Llama 2 and RoBERTa by 19% and 51% respectively, suggesting
that the performance of our method scales well with the size of the model and
its pretraining dataset. Our experiments reveal that LLMs are remarkably
sample-efficient, rich in geospatial information, and robust across the globe.
Crucially, GeoLLM shows promise in mitigating the limitations of existing
geospatial covariates and complementing them well. Code is available on the
project website: https://rohinmanvi.github.io/GeoLLM | cs.CL | GeoLLM: Extracting Geospatial Knowledge from Large Language Models |
2023-10-09T23:07:05Z | http://arxiv.org/pdf/2310.06204v1 | http://arxiv.org/abs/2310.06204v1 | Avijit Thawani, Jay Pujara, Ashwin Kalyan | 2023-10-09T23:07:05Z | cs.CL, cs.AI | Despite recent successes in language models, their ability to represent
numbers is insufficient. Humans conceptualize numbers based on their
magnitudes, effectively projecting them on a number line; whereas subword
tokenization fails to explicitly capture magnitude by splitting numbers into
arbitrary chunks. To alleviate this shortcoming, alternative approaches have
been proposed that modify numbers at various stages of the language modeling
pipeline. These methods change either the (1) notation in which numbers are
written (\eg scientific vs decimal), the (2) vocabulary used to represent
numbers or the entire (3) architecture of the underlying language model, to
directly regress to a desired number.
Previous work suggests that architectural change helps achieve
state-of-the-art on number estimation but we find an insightful ablation:
changing the model's vocabulary instead (\eg introduce a new token for numbers
in range 10-100) is a far better trade-off. In the context of masked number
prediction, a carefully designed tokenization scheme is both the simplest to
implement and sufficient, \ie with similar performance to the state-of-the-art
approach that requires making significant architectural changes. Finally, we
report similar trends on the downstream task of numerical fact estimation (for
Fermi Problems) and discuss reasons behind our findings. | cs.CL | Estimating Numbers without Regression |
2023-10-09T23:06:05Z | http://arxiv.org/pdf/2310.06202v3 | http://arxiv.org/abs/2310.06202v3 | Saranya Venkatraman, Adaku Uchendu, Dongwon Lee | 2024-04-03T18:59:10Z | cs.CL | The Uniform Information Density (UID) principle posits that humans prefer to
spread information evenly during language production. We examine if this UID
principle can help capture differences between Large Language Models
(LLMs)-generated and human-generated texts. We propose GPT-who, the first
psycholinguistically-inspired domain-agnostic statistical detector. This
detector employs UID-based features to model the unique statistical signature
of each LLM and human author for accurate detection. We evaluate our method
using 4 large-scale benchmark datasets and find that GPT-who outperforms
state-of-the-art detectors (both statistical- & non-statistical) such as GLTR,
GPTZero, DetectGPT, OpenAI detector, and ZeroGPT by over $20$% across domains.
In addition to better performance, it is computationally inexpensive and
utilizes an interpretable representation of text articles. We find that GPT-who
can distinguish texts generated by very sophisticated LLMs, even when the
overlying text is indiscernible. UID-based measures for all datasets and code
are available at https://github.com/saranya-venkatraman/gpt-who. | cs.CL | GPT-who: An Information Density-based Machine-Generated Text Detector |
2023-10-09T23:03:24Z | http://arxiv.org/pdf/2310.06201v1 | http://arxiv.org/abs/2310.06201v1 | Yucheng Li, Bo Dong, Chenghua Lin, Frank Guerin | 2023-10-09T23:03:24Z | cs.CL | Large language models (LLMs) achieved remarkable performance across various
tasks. However, they face challenges in managing long documents and extended
conversations, due to significantly increased computational requirements, both
in memory and inference time, and potential context truncation when the input
exceeds the LLM's fixed context length. This paper proposes a method called
Selective Context that enhances the inference efficiency of LLMs by identifying
and pruning redundancy in the input context to make the input more compact. We
test our approach using common data sources requiring long context processing:
arXiv papers, news articles, and long conversations, on tasks of summarisation,
question answering, and response generation. Experimental results show that
Selective Context significantly reduces memory cost and decreases generation
latency while maintaining comparable performance compared to that achieved when
full context is used. Specifically, we achieve a 50\% reduction in context
cost, resulting in a 36\% reduction in inference memory usage and a 32\%
reduction in inference time, while observing only a minor drop of .023 in
BERTscore and .038 in faithfulness on four downstream applications, indicating
that our method strikes a good balance between efficiency and performance. | cs.CL | Compressing Context to Enhance Inference Efficiency of Large Language Models |
2023-10-09T23:02:07Z | http://arxiv.org/pdf/2310.06200v2 | http://arxiv.org/abs/2310.06200v2 | Justin Lee, Tuomas Oikarinen, Arjun Chatha, Keng-Chi Chang, Yilan Chen, Tsui-Wei Weng | 2023-10-11T05:00:10Z | cs.CL, cs.LG | Recent advances have greatly increased the capabilities of large language
models (LLMs), but our understanding of the models and their safety has not
progressed as fast. In this paper we aim to understand LLMs deeper by studying
their individual neurons. We build upon previous work showing large language
models such as GPT-4 can be useful in explaining what each neuron in a language
model does. Specifically, we analyze the effect of the prompt used to generate
explanations and show that reformatting the explanation prompt in a more
natural way can significantly improve neuron explanation quality and greatly
reduce computational cost. We demonstrate the effects of our new prompts in
three different ways, incorporating both automated and human evaluations. | cs.CL | The Importance of Prompt Tuning for Automated Neuron Explanations |
2023-10-09T21:32:49Z | http://arxiv.org/pdf/2310.06165v2 | http://arxiv.org/abs/2310.06165v2 | Karel D'Oosterlinck, Semere Kiros Bitew, Brandon Papineau, Christopher Potts, Thomas Demeester, Chris Develder | 2023-10-19T17:31:14Z | cs.CL, cs.AI | State-of-the-art coreference resolutions systems depend on multiple LLM calls
per document and are thus prohibitively expensive for many use cases (e.g.,
information extraction with large corpora). The leading word-level coreference
system (WL-coref) attains 96.6% of these SOTA systems' performance while being
much more efficient. In this work, we identify a routine yet important failure
case of WL-coref: dealing with conjoined mentions such as 'Tom and Mary'. We
offer a simple yet effective solution that improves the performance on the
OntoNotes test set by 0.9% F1, shrinking the gap between efficient word-level
coreference resolution and expensive SOTA approaches by 34.6%. Our
Conjunction-Aware Word-level coreference model (CAW-coref) and code is
available at https://github.com/KarelDO/wl-coref. | cs.CL | CAW-coref: Conjunction-Aware Word-level Coreference Resolution |
2023-10-09T19:48:55Z | http://arxiv.org/pdf/2310.06117v2 | http://arxiv.org/abs/2310.06117v2 | Huaixiu Steven Zheng, Swaroop Mishra, Xinyun Chen, Heng-Tze Cheng, Ed H. Chi, Quoc V Le, Denny Zhou | 2024-03-12T04:38:27Z | cs.LG, cs.AI, cs.CL | We present Step-Back Prompting, a simple prompting technique that enables
LLMs to do abstractions to derive high-level concepts and first principles from
instances containing specific details. Using the concepts and principles to
guide reasoning, LLMs significantly improve their abilities in following a
correct reasoning path towards the solution. We conduct experiments of
Step-Back Prompting with PaLM-2L, GPT-4 and Llama2-70B models, and observe
substantial performance gains on various challenging reasoning-intensive tasks
including STEM, Knowledge QA, and Multi-Hop Reasoning. For instance, Step-Back
Prompting improves PaLM-2L performance on MMLU (Physics and Chemistry) by 7%
and 11% respectively, TimeQA by 27%, and MuSiQue by 7%. | cs.LG | Take a Step Back: Evoking Reasoning via Abstraction in Large Language Models |
2023-10-09T19:37:38Z | http://arxiv.org/pdf/2310.06111v1 | http://arxiv.org/abs/2310.06111v1 | Arth Bohra, Govert Verkes, Artem Harutyunyan, Pascal Weinberger, Giovanni Campagna | 2023-10-09T19:37:38Z | cs.CL, cs.LG | Text classification is a well-studied and versatile building block for many
NLP applications. Yet, existing approaches require either large annotated
corpora to train a model with or, when using large language models as a base,
require carefully crafting the prompt as well as using a long context that can
fit many examples. As a result, it is not possible for end-users to build
classifiers for themselves. To address this issue, we propose a novel approach
to few-shot text classification using an LLM. Rather than few-shot examples,
the LLM is prompted with descriptions of the salient features of each class.
These descriptions are coauthored by the user and the LLM interactively: while
the user annotates each few-shot example, the LLM asks relevant questions that
the user answers. Examples, questions, and answers are summarized to form the
classification prompt. Our experiments show that our approach yields high
accuracy classifiers, within 82% of the performance of models trained with
significantly larger datasets while using only 1% of their training sets.
Additionally, in a study with 30 participants, we show that end-users are able
to build classifiers to suit their specific needs. The personalized classifiers
show an average accuracy of 90%, which is 15% higher than the state-of-the-art
approach. | cs.CL | BYOC: Personalized Few-Shot Classification with Co-Authored Class Descriptions |
2023-10-09T19:22:51Z | http://arxiv.org/pdf/2310.06103v1 | http://arxiv.org/abs/2310.06103v1 | Pavel Denisov, Ngoc Thang Vu | 2023-10-09T19:22:51Z | cs.CL, cs.SD, eess.AS | A number of methods have been proposed for End-to-End Spoken Language
Understanding (E2E-SLU) using pretrained models, however their evaluation often
lacks multilingual setup and tasks that require prediction of lexical fillers,
such as slot filling. In this work, we propose a unified method that integrates
multilingual pretrained speech and text models and performs E2E-SLU on six
datasets in four languages in a generative manner, including the prediction of
lexical fillers. We investigate how the proposed method can be improved by
pretraining on widely available speech recognition data using several training
objectives. Pretraining on 7000 hours of multilingual data allows us to
outperform the state-of-the-art ultimately on two SLU datasets and partly on
two more SLU datasets. Finally, we examine the cross-lingual capabilities of
the proposed model and improve on the best known result on the
PortMEDIA-Language dataset by almost half, achieving a Concept/Value Error Rate
of 23.65%. | cs.CL | Leveraging Multilingual Self-Supervised Pretrained Models for Sequence-to-Sequence End-to-End Spoken Language Understanding |
2023-10-09T18:13:07Z | http://arxiv.org/pdf/2310.06061v1 | http://arxiv.org/abs/2310.06061v1 | Siddharth D Jaiswal, Ankit Kumar Verma, Animesh Mukherjee | 2023-10-09T18:13:07Z | cs.CY, cs.CL | AI models have become extremely popular and accessible to the general public.
However, they are continuously under the scanner due to their demonstrable
biases toward various sections of the society like people of color and
non-binary people. In this study, we audit three existing gender analyzers --
uClassify, Readable and HackerFactor, for biases against non-binary
individuals. These tools are designed to predict only the cisgender binary
labels, which leads to discrimination against non-binary members of the
society. We curate two datasets -- Reddit comments (660k) and, Tumblr posts
(2.05M) and our experimental evaluation shows that the tools are highly
inaccurate with the overall accuracy being ~50% on all platforms. Predictions
for non-binary comments on all platforms are mostly female, thus propagating
the societal bias that non-binary individuals are effeminate. To address this,
we fine-tune a BERT multi-label classifier on the two datasets in multiple
combinations, observe an overall performance of ~77% on the most realistically
deployable setting and a surprisingly higher performance of 90% for the
non-binary class. We also audit ChatGPT using zero-shot prompts on a small
dataset (due to high pricing) and observe an average accuracy of 58% for Reddit
and Tumblr combined (with overall better results for Reddit).
Thus, we show that existing systems, including highly advanced ones like
ChatGPT are biased, and need better audits and moderation and, that such
societal biases can be addressed and alleviated through simple off-the-shelf
models like BERT trained on more gender inclusive datasets. | cs.CY | Auditing Gender Analyzers on Text Data |
2023-10-09T18:02:38Z | http://arxiv.org/pdf/2310.06046v1 | http://arxiv.org/abs/2310.06046v1 | Dipayan Saha, Shams Tarek, Katayoon Yahyaei, Sujan Kumar Saha, Jingbo Zhou, Mark Tehranipoor, Farimah Farahmandi | 2023-10-09T18:02:38Z | cs.CR, cs.AI, cs.CL | As the ubiquity and complexity of system-on-chip (SoC) designs increase
across electronic devices, the task of incorporating security into an SoC
design flow poses significant challenges. Existing security solutions are
inadequate to provide effective verification of modern SoC designs due to their
limitations in scalability, comprehensiveness, and adaptability. On the other
hand, Large Language Models (LLMs) are celebrated for their remarkable success
in natural language understanding, advanced reasoning, and program synthesis
tasks. Recognizing an opportunity, our research delves into leveraging the
emergent capabilities of Generative Pre-trained Transformers (GPTs) to address
the existing gaps in SoC security, aiming for a more efficient, scalable, and
adaptable methodology. By integrating LLMs into the SoC security verification
paradigm, we open a new frontier of possibilities and challenges to ensure the
security of increasingly complex SoCs. This paper offers an in-depth analysis
of existing works, showcases practical case studies, demonstrates comprehensive
experiments, and provides useful promoting guidelines. We also present the
achievements, prospects, and challenges of employing LLM in different SoC
security verification tasks. | cs.CR | LLM for SoC Security: A Paradigm Shift |
2023-10-09T17:59:21Z | http://arxiv.org/pdf/2310.05919v1 | http://arxiv.org/abs/2310.05919v1 | Chung-Ming Chien, Mingjiamei Zhang, Ju-Chieh Chou, Karen Livescu | 2023-10-09T17:59:21Z | cs.CL, eess.AS | Recent work on speech representation models jointly pre-trained with text has
demonstrated the potential of improving speech representations by encoding
speech and text in a shared space. In this paper, we leverage such shared
representations to address the persistent challenge of limited data
availability in spoken language understanding tasks. By employing a pre-trained
speech-text model, we find that models fine-tuned on text can be effectively
transferred to speech testing data. With as little as 1 hour of labeled speech
data, our proposed approach achieves comparable performance on spoken language
understanding tasks (specifically, sentiment analysis and named entity
recognition) when compared to previous methods using speech-only pre-trained
models fine-tuned on 10 times more data. Beyond the proof-of-concept study, we
also analyze the latent representations. We find that the bottom layers of
speech-text models are largely task-agnostic and align speech and text
representations into a shared space, while the top layers are more
task-specific. | cs.CL | Few-Shot Spoken Language Understanding via Joint Speech-Text Models |
2023-10-09T17:58:38Z | http://arxiv.org/pdf/2310.05915v1 | http://arxiv.org/abs/2310.05915v1 | Baian Chen, Chang Shu, Ehsan Shareghi, Nigel Collier, Karthik Narasimhan, Shunyu Yao | 2023-10-09T17:58:38Z | cs.CL, cs.AI, cs.LG | Recent efforts have augmented language models (LMs) with external tools or
environments, leading to the development of language agents that can reason and
act. However, most of these agents rely on few-shot prompting techniques with
off-the-shelf LMs. In this paper, we investigate and argue for the overlooked
direction of fine-tuning LMs to obtain language agents. Using a setup of
question answering (QA) with a Google search API, we explore a variety of base
LMs, prompting methods, fine-tuning data, and QA tasks, and find language
agents are consistently improved after fine-tuning their backbone LMs. For
example, fine-tuning Llama2-7B with 500 agent trajectories generated by GPT-4
leads to a 77% HotpotQA performance increase. Furthermore, we propose FireAct,
a novel approach to fine-tuning LMs with trajectories from multiple tasks and
prompting methods, and show having more diverse fine-tuning data can further
improve agents. Along with other findings regarding scaling effects,
robustness, generalization, efficiency and cost, our work establishes
comprehensive benefits of fine-tuning LMs for agents, and provides an initial
set of experimental designs, insights, as well as open questions toward
language agent fine-tuning. | cs.CL | FireAct: Toward Language Agent Fine-tuning |
2023-10-09T17:58:34Z | http://arxiv.org/pdf/2310.05914v2 | http://arxiv.org/abs/2310.05914v2 | Neel Jain, Ping-yeh Chiang, Yuxin Wen, John Kirchenbauer, Hong-Min Chu, Gowthami Somepalli, Brian R. Bartoldson, Bhavya Kailkhura, Avi Schwarzschild, Aniruddha Saha, Micah Goldblum, Jonas Geiping, Tom Goldstein | 2023-10-10T17:31:00Z | cs.CL, cs.LG | We show that language model finetuning can be improved, sometimes
dramatically, with a simple augmentation. NEFTune adds noise to the embedding
vectors during training. Standard finetuning of LLaMA-2-7B using Alpaca
achieves 29.79% on AlpacaEval, which rises to 64.69% using noisy embeddings.
NEFTune also improves over strong baselines on modern instruction datasets.
Models trained with Evol-Instruct see a 10% improvement, with ShareGPT an 8%
improvement, and with OpenPlatypus an 8% improvement. Even powerful models
further refined with RLHF such as LLaMA-2-Chat benefit from additional training
with NEFTune. | cs.CL | NEFTune: Noisy Embeddings Improve Instruction Finetuning |
2023-10-09T17:56:53Z | http://arxiv.org/pdf/2310.05910v2 | http://arxiv.org/abs/2310.05910v2 | Zhiqing Sun, Yikang Shen, Hongxin Zhang, Qinhong Zhou, Zhenfang Chen, David Cox, Yiming Yang, Chuang Gan | 2024-04-09T23:21:45Z | cs.CL, cs.AI, cs.LG | Supervised Fine-Tuning (SFT) on response demonstrations combined with
Reinforcement Learning from Human Feedback (RLHF) constitutes a powerful
paradigm for aligning LLM-based AI agents. However, a significant limitation of
such an approach is its dependency on high-quality human annotations, making
its application to intricate tasks challenging due to difficulties in obtaining
consistent response demonstrations and in-distribution response preferences.
This paper presents a novel approach, namely SALMON, to align base language
models with minimal human supervision, using only a small set of human-defined
principles, yet achieving superior performance. Central to our approach is an
instructable reward model. Trained on synthetic preference data, this model can
generate reward scores based on arbitrary human-defined principles. By merely
adjusting these principles during the RL training phase, we gain full control
over the preferences with the instructable reward model, subsequently
influencing the behavior of the RL-trained policy models, and reducing the
reliance on the collection of online human preferences. Applying our method to
the LLaMA-2-70b base language model, we developed an AI assistant named
Dromedary-2. With only 6 exemplars for in-context learning and 31 human-defined
principles, Dromedary-2 significantly surpasses the performance of several
state-of-the-art AI systems, including LLaMA-2-Chat-70b, on various benchmark
datasets. We have open-sourced the code and model weights to encourage further
research into aligning LLM-based AI agents with enhanced supervision
efficiency, improved controllability, and scalable oversight. | cs.CL | SALMON: Self-Alignment with Instructable Reward Models |
2023-10-09T17:27:36Z | http://arxiv.org/pdf/2310.05884v2 | http://arxiv.org/abs/2310.05884v2 | Xinbo Wu, Lav R. Varshney | 2024-03-25T17:58:36Z | cs.LG, cs.AI, cs.CL | The Transformer architecture has become prominent in developing large causal
language models. However, mechanisms to explain its capabilities are not well
understood. Focused on the training process, here we establish a meta-learning
view of the Transformer architecture when trained for the causal language
modeling task, by explicating an inner optimization process within the
Transformer. Further, within the inner optimization, we discover and
theoretically analyze a special characteristic of the norms of learned token
representations within Transformer-based causal language models. Our analysis
is supported by experiments in various settings. | cs.LG | A Meta-Learning Perspective on Transformers for Causal Language Modeling |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.