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-02T04:42:53Z | http://arxiv.org/pdf/2310.00901v3 | http://arxiv.org/abs/2310.00901v3 | Tianci Xue, Ziqi Wang, Yixia Li, Yun Chen, Guanhua Chen | 2024-06-04T14:21:11Z | cs.CL | Instruction tuning enhances the instruction following ability of large
language models by finetuning with supervised instruction data. Previous work
proposes in-context instruction tuning (ICIT) where specific positive or
negative examples are incorporated into the prompt for better performance. In
this work, we propose PACIT, a simple and effective in-context instruction
tuning method, inspired by the pedagogical concept of desirable difficulty. The
PACIT method unlocks the power of examples by encouraging the model to actively
learn to grasp the distinctions between the positive and negative examples
instead of merely reading. The model is expected to first verify the
correctness of the provided example according to the task description, which is
then set as the condition for generating a better response to the task
instance. Our extensive experiments prove the effectiveness of PACIT,
outperforming ICIT baseline on both in-domain and out-domain tasks up to 9.16
and 3.14 average ROUGE-L scores, respectively. Moreover, PACIT can notably
enhance the performance of instruction tuning even when all positive and
negative examples are generated with a self-instruct method. | cs.CL | PACIT: Unlocking the Power of Examples for Better In-Context Instruction Tuning |
2023-10-02T04:36:39Z | http://arxiv.org/pdf/2310.00900v1 | http://arxiv.org/abs/2310.00900v1 | Muqiao Yang, Chunlei Zhang, Yong Xu, Zhongweiyang Xu, Heming Wang, Bhiksha Raj, Dong Yu | 2023-10-02T04:36:39Z | cs.SD, cs.AI, cs.CL, eess.AS | Speech enhancement aims to improve the quality of speech signals in terms of
quality and intelligibility, and speech editing refers to the process of
editing the speech according to specific user needs. In this paper, we propose
a Unified Speech Enhancement and Editing (uSee) model with conditional
diffusion models to handle various tasks at the same time in a generative
manner. Specifically, by providing multiple types of conditions including
self-supervised learning embeddings and proper text prompts to the score-based
diffusion model, we can enable controllable generation of the unified speech
enhancement and editing model to perform corresponding actions on the source
speech. Our experiments show that our proposed uSee model can achieve superior
performance in both speech denoising and dereverberation compared to other
related generative speech enhancement models, and can perform speech editing
given desired environmental sound text description, signal-to-noise ratios
(SNR), and room impulse responses (RIR). Demos of the generated speech are
available at https://muqiaoy.github.io/usee. | cs.SD | uSee: Unified Speech Enhancement and Editing with Conditional Diffusion Models |
2023-10-02T04:29:40Z | http://arxiv.org/pdf/2310.00898v3 | http://arxiv.org/abs/2310.00898v3 | Ziqi Wang, Le Hou, Tianjian Lu, Yuexin Wu, Yunxuan Li, Hongkun Yu, Heng Ji | 2024-03-14T19:27:23Z | cs.CL | Large Language Models (LLMs) have demonstrated remarkable capabilities in
open-ended text generation tasks. However, the inherent open-ended nature of
these tasks implies that there is always room for improvement in the quality of
model responses. To address this challenge, various approaches have been
proposed to enhance the performance of LLMs. There has been a growing focus on
enabling LLMs to self-improve their response quality, thereby reducing the
reliance on extensive human annotation efforts for collecting diverse and
high-quality training data. Recently, prompting-based methods have been widely
explored among self-improvement methods owing to their effectiveness,
efficiency, and convenience. However, those methods usually require explicitly
and thoroughly written rubrics as inputs to LLMs. It is expensive and
challenging to manually derive and provide all necessary rubrics with a
real-world complex goal for improvement (e.g., being more helpful and less
harmful). To this end, we propose an ImPlicit Self-ImprovemenT (PIT) framework
that implicitly learns the improvement goal from human preference data. PIT
only requires preference data that are used to train reward models without
extra human efforts. Specifically, we reformulate the training objective of
reinforcement learning from human feedback (RLHF) -- instead of maximizing
response quality for a given input, we maximize the quality gap of the response
conditioned on a reference response. In this way, PIT is implicitly trained
with the improvement goal of better aligning with human preferences.
Experiments on two real-world datasets and one synthetic dataset show that our
method significantly outperforms prompting-based methods. | cs.CL | Enabling Language Models to Implicitly Learn Self-Improvement |
2023-10-02T04:17:35Z | http://arxiv.org/pdf/2310.00892v1 | http://arxiv.org/abs/2310.00892v1 | Anugya Srivastava, Rahul Ahuja, Rohith Mukku | 2023-10-02T04:17:35Z | cs.CL, cs.AI | This work was completed in May 2022.
For safe and reliable deployment of language models in the real world,
testing needs to be robust. This robustness can be characterized by the
difficulty and diversity of the test cases we evaluate these models on.
Limitations in human-in-the-loop test case generation has prompted an advent of
automated test case generation approaches. In particular, we focus on Red
Teaming Language Models with Language Models by Perez et al.(2022). Our
contributions include developing a pipeline for automated test case generation
via red teaming that leverages publicly available smaller language models
(LMs), experimenting with different target LMs and red classifiers, and
generating a corpus of test cases that can help in eliciting offensive
responses from widely deployed LMs and identifying their failure modes. | cs.CL | No Offense Taken: Eliciting Offensiveness from Language Models |
2023-10-02T03:12:06Z | http://arxiv.org/pdf/2310.00867v3 | http://arxiv.org/abs/2310.00867v3 | Duc N. M Hoang, Minsik Cho, Thomas Merth, Mohammad Rastegari, Zhangyang Wang | 2024-02-16T18:39:45Z | cs.CL, cs.AI | Compressing Large Language Models (LLMs) often leads to reduced performance,
especially for knowledge-intensive tasks. In this work, we dive into how
compression damages LLMs' inherent knowledge and the possible remedies. We
start by proposing two conjectures on the nature of the damage: one is certain
knowledge being forgotten (or erased) after LLM compression, hence
necessitating the compressed model to (re)learn from data with additional
parameters; the other presumes that knowledge is internally displaced and hence
one requires merely "inference re-direction" with input-side augmentation such
as prompting, to recover the knowledge-related performance. Extensive
experiments are then designed to (in)validate the two conjectures. We observe
the promise of prompting in comparison to model tuning; we further unlock
prompting's potential by introducing a variant called Inference-time Dynamic
Prompting (IDP), that can effectively increase prompt diversity without
incurring any inference overhead. Our experiments consistently suggest that
compared to the classical re-training alternatives such as LoRA, prompting with
IDP leads to better or comparable post-compression performance recovery, while
saving the extra parameter size by 21x and reducing inference latency by 60%.
Our experiments hence strongly endorse the conjecture of "knowledge displaced"
over "knowledge forgotten", and shed light on a new efficient mechanism to
restore compressed LLM performance. We additionally visualize and analyze the
different attention and activation patterns between prompted and re-trained
models, demonstrating they achieve performance recovery in two different
regimes. | cs.CL | Do Compressed LLMs Forget Knowledge? An Experimental Study with Practical Implications |
2023-10-02T02:53:29Z | http://arxiv.org/pdf/2310.00863v3 | http://arxiv.org/abs/2310.00863v3 | Zhe Zhang, Karol Lasocki, Yi Yu, Atsuhiro Takasu | 2024-01-30T04:04:32Z | cs.CL, cs.AI | The generation of lyrics tightly connected to accompanying melodies involves
establishing a mapping between musical notes and syllables of lyrics. This
process requires a deep understanding of music constraints and semantic
patterns at syllable-level, word-level, and sentence-level semantic meanings.
However, pre-trained language models specifically designed at the syllable
level are publicly unavailable. To solve these challenging issues, we propose
to exploit fine-tuning character-level language models for syllable-level
lyrics generation from symbolic melody. In particular, our method endeavors to
incorporate linguistic knowledge of the language model into the beam search
process of a syllable-level Transformer generator network. Additionally, by
exploring ChatGPT-based evaluation for generated lyrics, along with human
subjective evaluation, we demonstrate that our approach enhances the coherence
and correctness of the generated lyrics, eliminating the need to train
expensive new language models. | cs.CL | Syllable-level lyrics generation from melody exploiting character-level language model |
2023-10-02T02:01:16Z | http://arxiv.org/pdf/2310.02905v3 | http://arxiv.org/abs/2310.02905v3 | Xiaoqiang Lin, Zhaoxuan Wu, Zhongxiang Dai, Wenyang Hu, Yao Shu, See-Kiong Ng, Patrick Jaillet, Bryan Kian Hsiang Low | 2024-06-23T23:59:53Z | cs.LG, cs.AI, cs.CL | Large language models (LLMs) have shown remarkable instruction-following
capabilities and achieved impressive performances in various applications.
However, the performances of LLMs depend heavily on the instructions given to
them, which are typically manually tuned with substantial human efforts. Recent
work has used the query-efficient Bayesian optimization (BO) algorithm to
automatically optimize the instructions given to black-box LLMs. However, BO
usually falls short when optimizing highly sophisticated (e.g.,
high-dimensional) objective functions, such as the functions mapping an
instruction to the performance of an LLM. This is mainly due to the limited
expressive power of the Gaussian process (GP) which is used by BO as a
surrogate to model the objective function. Meanwhile, it has been repeatedly
shown that neural networks (NNs), especially pre-trained transformers, possess
strong expressive power and can model highly complex functions. So, we adopt a
neural bandit algorithm which replaces the GP in BO by an NN surrogate to
optimize instructions for black-box LLMs. More importantly, the neural bandit
algorithm allows us to naturally couple the NN surrogate with the hidden
representation learned by a pre-trained transformer (i.e., an open-source LLM),
which significantly boosts its performance. These motivate us to propose our
INSTruction optimization usIng Neural bandits Coupled with Transformers
(INSTINCT) algorithm. We perform instruction optimization for ChatGPT and use
extensive experiments to show that INSTINCT consistently outperforms baselines
in different tasks, e.g., various instruction induction tasks and the task of
improving zero-shot chain-of-thought instructions. Our code is available at
https://github.com/xqlin98/INSTINCT. | cs.LG | Use Your INSTINCT: INSTruction optimization for LLMs usIng Neural bandits Coupled with Transformers |
2023-10-02T01:42:28Z | http://arxiv.org/pdf/2310.00845v1 | http://arxiv.org/abs/2310.00845v1 | Tatsuki Kawamoto, Takuma Suzuki, Ko Miyama, Takumi Meguro, Tomohiro Takagi | 2023-10-02T01:42:28Z | cs.CL, cs.AI | In this study, we use the existing Large Language Models ENnhanced to See
Framework (LENS Framework) to test the feasibility of multimodal task-oriented
dialogues. The LENS Framework has been proposed as a method to solve computer
vision tasks without additional training and with fixed parameters of
pre-trained models. We used the Multimodal Dialogs (MMD) dataset, a multimodal
task-oriented dialogue benchmark dataset from the fashion field, and for the
evaluation, we used the ChatGPT-based G-EVAL, which only accepts textual
modalities, with arrangements to handle multimodal data. Compared to
Transformer-based models in previous studies, our method demonstrated an
absolute lift of 10.8% in fluency, 8.8% in usefulness, and 5.2% in relevance
and coherence. The results show that using large-scale models with fixed
parameters rather than using models trained on a dataset from scratch improves
performance in multimodal task-oriented dialogues. At the same time, we show
that Large Language Models (LLMs) are effective for multimodal task-oriented
dialogues. This is expected to lead to efficient applications to existing
systems. | cs.CL | Application of frozen large-scale models to multimodal task-oriented dialogue |
2023-10-02T01:30:27Z | http://arxiv.org/pdf/2310.00840v2 | http://arxiv.org/abs/2310.00840v2 | Tianjian Li, Haoran Xu, Philipp Koehn, Daniel Khashabi, Kenton Murray | 2024-03-18T19:28:38Z | cs.CL | Text generation models are notoriously vulnerable to errors in the training
data. With the wide-spread availability of massive amounts of web-crawled data
becoming more commonplace, how can we enhance the robustness of models trained
on a massive amount of noisy web-crawled text? In our work, we propose Error
Norm Truncation (ENT), a robust enhancement method to the standard training
objective that truncates noisy data. Compared to methods that only uses the
negative log-likelihood loss to estimate data quality, our method provides a
more accurate estimation by considering the distribution of non-target tokens,
which is often overlooked by previous work. Through comprehensive experiments
across language modeling, machine translation, and text summarization, we show
that equipping text generation models with ENT improves generation quality over
standard training and previous soft and hard truncation methods. Furthermore,
we show that our method improves the robustness of models against two of the
most detrimental types of noise in machine translation, resulting in an
increase of more than 2 BLEU points over the MLE baseline when up to 50% of
noise is added to the data. | cs.CL | Error Norm Truncation: Robust Training in the Presence of Data Noise for Text Generation Models |
2023-10-02T01:00:50Z | http://arxiv.org/pdf/2310.00836v3 | http://arxiv.org/abs/2310.00836v3 | Man Luo, Shrinidhi Kumbhar, Ming shen, Mihir Parmar, Neeraj Varshney, Pratyay Banerjee, Somak Aditya, Chitta Baral | 2024-03-31T01:02:55Z | cs.CL, cs.AI | Logical reasoning is fundamental for humans yet presents a substantial
challenge in the domain of Artificial Intelligence. Initially, researchers used
Knowledge Representation and Reasoning (KR) systems that did not scale and
required non-trivial manual effort. Recently, the emergence of large language
models (LLMs) has demonstrated the ability to overcome various limitations of
formal Knowledge Representation (KR) systems. Consequently, there's a growing
interest in using LLMs for logical reasoning via natural language. This work
strives to understand the proficiency of LLMs in logical reasoning by offering
a brief review of the latest progress in this area; with a focus on the logical
reasoning datasets, tasks, and the methods adopted to utilize LLMs for
reasoning. To offer a thorough analysis, we have compiled a benchmark titled
LogiGLUE. This includes 24 varied datasets encompassing deductive, abductive,
and inductive reasoning. Utilizing LogiGLUE as a foundation, we have trained an
instruction fine-tuned language model, resulting in LogiT5. We study
single-task training, multi-task training, and "chain-of-thought" knowledge
distillation fine-tuning technique to assess the performance of model across
the different logical reasoning categories. We also assess various LLMs using
LogiGLUE, and the findings indicate that LLMs excel most in abductive
reasoning, followed by deductive reasoning, while they are least effective at
inductive reasoning. We aim to shed light on the capabilities and potential
pathways for enhancing logical reasoning proficiency in LLMs, paving the way
for more advanced and nuanced developments in this critical field. | cs.CL | Towards LogiGLUE: A Brief Survey and A Benchmark for Analyzing Logical Reasoning Capabilities of Language Models |
2023-10-02T00:59:07Z | http://arxiv.org/pdf/2310.00835v3 | http://arxiv.org/abs/2310.00835v3 | Yuqing Wang, Yun Zhao | 2024-05-31T15:36:09Z | cs.CL | Reasoning about time is essential for understanding the nuances of events
described in natural language. Previous research on this topic has been limited
in scope, characterized by a lack of standardized benchmarks that would allow
for consistent evaluations across different studies. In this paper, we
introduce TRAM, a temporal reasoning benchmark composed of ten datasets,
encompassing various temporal aspects of events such as order, arithmetic,
frequency, and duration, designed to facilitate a comprehensive evaluation of
the TeR capabilities of large language models (LLMs). We evaluate popular LLMs
like GPT-4 and Llama2 in zero-shot and few-shot scenarios, and establish
baselines with BERT-based and domain-specific models. Our findings indicate
that the best-performing model lags significantly behind human performance. It
is our aspiration that TRAM will spur further progress in enhancing the TeR
capabilities of LLMs. | cs.CL | TRAM: Benchmarking Temporal Reasoning for Large Language Models |
2023-10-02T00:48:51Z | http://arxiv.org/pdf/2310.00833v1 | http://arxiv.org/abs/2310.00833v1 | Yuki Takezawa, Ryoma Sato, Han Bao, Kenta Niwa, Makoto Yamada | 2023-10-02T00:48:51Z | cs.CL, cs.LG | In recent years, large language models (LLMs) have achieved remarkable
performances in various NLP tasks. They can generate texts that are
indistinguishable from those written by humans. Such remarkable performance of
LLMs increases their risk of being used for malicious purposes, such as
generating fake news articles. Therefore, it is necessary to develop methods
for distinguishing texts written by LLMs from those written by humans.
Watermarking is one of the most powerful methods for achieving this. Although
existing watermarking methods have successfully detected texts generated by
LLMs, they significantly degrade the quality of the generated texts. In this
study, we propose the Necessary and Sufficient Watermark (NS-Watermark) for
inserting watermarks into generated texts without degrading the text quality.
More specifically, we derive minimum constraints required to be imposed on the
generated texts to distinguish whether LLMs or humans write the texts. Then, we
formulate the NS-Watermark as a constrained optimization problem and propose an
efficient algorithm to solve it. Through the experiments, we demonstrate that
the NS-Watermark can generate more natural texts than existing watermarking
methods and distinguish more accurately between texts written by LLMs and those
written by humans. Especially in machine translation tasks, the NS-Watermark
can outperform the existing watermarking method by up to 30 BLEU scores. | cs.CL | Necessary and Sufficient Watermark for Large Language Models |
2023-10-02T00:48:01Z | http://arxiv.org/pdf/2310.00832v1 | http://arxiv.org/abs/2310.00832v1 | Shuo Wang, Carlos Crespo-Quinones | 2023-10-02T00:48:01Z | cs.CL, cs.AI | Translation of natural language into syntactically correct commands for data
visualization is an important application of natural language models and could
be leveraged to many different tasks. A closely related effort is the task of
translating natural languages into SQL queries, which in turn could be
translated into visualization with additional information from the natural
language query supplied\cite{Zhong:2017qr}. Contributing to the progress in
this area of research, we built natural language translation models to
construct simplified versions of data and visualization queries in a language
called Vega Zero. In this paper, we explore the design and performance of these
sequence to sequence transformer based machine learning model architectures
using large language models such as BERT as encoders to predict visualization
commands from natural language queries, as well as apply available T5 sequence
to sequence models to the problem for comparison. | cs.CL | Natural Language Models for Data Visualization Utilizing nvBench Dataset |
2023-10-01T23:27:14Z | http://arxiv.org/pdf/2310.00819v1 | http://arxiv.org/abs/2310.00819v1 | Tianci Xue, Ziqi Wang, Heng Ji | 2023-10-01T23:27:14Z | cs.CL | Aligning large language models (LLMs) with human preferences is essential for
safe and useful LLMs. Previous works mainly adopt reinforcement learning (RLHF)
and direct preference optimization (DPO) with human feedback for alignment.
Nevertheless, they have certain drawbacks. One such limitation is that they can
only align models with one preference at the training time (e.g., they cannot
learn to generate concise responses when the preference data prefers detailed
responses), or have certain constraints for the data format (e.g., DPO only
supports pairwise preference data). To this end, prior works incorporate
controllable generations for alignment to make language models learn multiple
preferences and provide outputs with different preferences during inference if
asked. Controllable generation also offers more flexibility with regard to data
format (e.g., it supports pointwise preference data). Specifically, it uses
different control tokens for different preferences during training and
inference, making LLMs behave differently when required. Current controllable
generation methods either use a special token or hand-crafted prompts as
control tokens, and optimize them together with LLMs. As control tokens are
typically much lighter than LLMs, this optimization strategy may not
effectively optimize control tokens. To this end, we first use
parameter-efficient tuning (e.g., prompting tuning and low-rank adaptation) to
optimize control tokens and then fine-tune models for controllable generations,
similar to prior works. Our approach, alignMEnt with parameter-Efficient Tuning
(MEET), improves the quality of control tokens, thus improving controllable
generation quality consistently by an apparent margin on two well-recognized
datasets compared with prior works. | cs.CL | Parameter-Efficient Tuning Helps Language Model Alignment |
2023-10-01T22:43:57Z | http://arxiv.org/pdf/2310.00811v1 | http://arxiv.org/abs/2310.00811v1 | Liyuan Liu, Jianfeng Gao, Weizhu Chen | 2023-10-01T22:43:57Z | cs.LG, cs.AI, cs.CL, cs.CV | One defining characteristic of Mixture-of-Expert (MoE) models is their
capacity for conducting sparse computation via expert routing, leading to
remarkable scalability. However, backpropagation, the cornerstone of deep
learning, requires dense computation, thereby posting challenges in MoE
gradient computations. Here, we introduce SparseMixer, a scalable gradient
estimator that bridges the gap between backpropagation and sparse expert
routing. Unlike typical MoE training which strategically neglects certain
gradient terms for the sake of sparse computation and scalability, SparseMixer
provides scalable gradient approximations for these terms, enabling reliable
gradient estimation in MoE training. Grounded in a numerical ODE framework,
SparseMixer harnesses the mid-point method, a second-order ODE solver, to
deliver precise gradient approximations with negligible computational overhead.
Applying SparseMixer to Switch Transformer on both pre-training and machine
translation tasks, SparseMixer showcases considerable performance gain,
accelerating training convergence up to 2 times. | cs.LG | Sparse Backpropagation for MoE Training |
2023-10-01T21:19:12Z | http://arxiv.org/pdf/2310.00796v2 | http://arxiv.org/abs/2310.00796v2 | Matthias Lindemann, Alexander Koller, Ivan Titov | 2024-02-16T16:49:11Z | cs.CL | Strong inductive biases enable learning from little data and help
generalization outside of the training distribution. Popular neural
architectures such as Transformers lack strong structural inductive biases for
seq2seq NLP tasks on their own. Consequently, they struggle with systematic
generalization beyond the training distribution, e.g. with extrapolating to
longer inputs, even when pre-trained on large amounts of text. We show how a
structural inductive bias can be efficiently injected into a seq2seq model by
pre-training it to simulate structural transformations on synthetic data.
Specifically, we inject an inductive bias towards Finite State Transducers
(FSTs) into a Transformer by pre-training it to simulate FSTs given their
descriptions. Our experiments show that our method imparts the desired
inductive bias, resulting in improved systematic generalization and better
few-shot learning for FST-like tasks. Our analysis shows that fine-tuned models
accurately capture the state dynamics of the unseen underlying FSTs, suggesting
that the simulation process is internalized by the fine-tuned model. | cs.CL | Injecting a Structural Inductive Bias into a Seq2Seq Model by Simulation |
2023-10-01T21:06:15Z | http://arxiv.org/pdf/2310.00789v1 | http://arxiv.org/abs/2310.00789v1 | Soumajyoti Sarkar, Leonard Lausen | 2023-10-01T21:06:15Z | cs.CL, cs.LG | Tables stored in databases and tables which are present in web pages and
articles account for a large part of semi-structured data that is available on
the internet. It then becomes pertinent to develop a modeling approach with
large language models (LLMs) that can be used to solve diverse table tasks such
as semantic parsing, question answering as well as classification problems.
Traditionally, there existed separate models specialized for each task
individually. It raises the question of how far can we go to build a unified
model that works well on some table tasks without significant degradation on
others. To that end, we attempt at creating a shared modeling approach in the
pretraining stage with encoder-decoder style LLMs that can cater to diverse
tasks. We evaluate our approach that continually pretrains and finetunes
different model families of T5 with data from tables and surrounding context,
on these downstream tasks at different model scales. Through multiple ablation
studies, we observe that our pretraining with self-supervised objectives can
significantly boost the performance of the models on these tasks. As an example
of one improvement, we observe that the instruction finetuned public models
which come specialized on text question answering (QA) and have been trained on
table data still have room for improvement when it comes to table specific QA.
Our work is the first attempt at studying the advantages of a unified approach
to table specific pretraining when scaled from 770M to 11B sequence to sequence
models while also comparing the instruction finetuned variants of the models. | cs.CL | Testing the Limits of Unified Sequence to Sequence LLM Pretraining on Diverse Table Data Tasks |
2023-10-01T20:46:44Z | http://arxiv.org/pdf/2310.00785v4 | http://arxiv.org/abs/2310.00785v4 | Yapei Chang, Kyle Lo, Tanya Goyal, Mohit Iyyer | 2024-04-13T22:02:23Z | cs.CL, cs.AI, cs.LG | Summarizing book-length documents (>100K tokens) that exceed the context
window size of large language models (LLMs) requires first breaking the input
document into smaller chunks and then prompting an LLM to merge, update, and
compress chunk-level summaries. Despite the complexity and importance of this
task, it has yet to be meaningfully studied due to the challenges of
evaluation: existing book-length summarization datasets (e.g., BookSum) are in
the pretraining data of most public LLMs, and existing evaluation methods
struggle to capture errors made by modern LLM summarizers. In this paper, we
present the first study of the coherence of LLM-based book-length summarizers
implemented via two prompting workflows: (1) hierarchically merging chunk-level
summaries, and (2) incrementally updating a running summary. We obtain 1193
fine-grained human annotations on GPT-4 generated summaries of 100
recently-published books and identify eight common types of coherence errors
made by LLMs. Because human evaluation is expensive and time-consuming, we
develop an automatic metric, BooookScore, that measures the proportion of
sentences in a summary that do not contain any of the identified error types.
BooookScore has high agreement with human annotations and allows us to
systematically evaluate the impact of many other critical parameters (e.g.,
chunk size, base LLM) while saving $15K USD and 500 hours in human evaluation
costs. We find that closed-source LLMs such as GPT-4 and Claude 2 produce
summaries with higher BooookScore than those generated by open-source models.
While LLaMA 2 falls behind other models, Mixtral achieves performance on par
with GPT-3.5-Turbo. Incremental updating yields lower BooookScore but higher
level of detail than hierarchical merging, a trade-off sometimes preferred by
annotators. | cs.CL | BooookScore: A systematic exploration of book-length summarization in the era of LLMs |
2023-10-01T18:10:53Z | http://arxiv.org/pdf/2310.00754v2 | http://arxiv.org/abs/2310.00754v2 | Yiyang Zhou, Chenhang Cui, Jaehong Yoon, Linjun Zhang, Zhun Deng, Chelsea Finn, Mohit Bansal, Huaxiu Yao | 2024-03-16T19:28:08Z | cs.LG, cs.CL, cs.CV | Large vision-language models (LVLMs) have shown remarkable abilities in
understanding visual information with human languages. However, LVLMs still
suffer from object hallucination, which is the problem of generating
descriptions that include objects that do not actually exist in the images.
This can negatively impact many vision-language tasks, such as visual
summarization and reasoning. To address this issue, we propose a simple yet
powerful algorithm, LVLM Hallucination Revisor (LURE), to post-hoc rectify
object hallucination in LVLMs by reconstructing less hallucinatory
descriptions. LURE is grounded in a rigorous statistical analysis of the key
factors underlying object hallucination, including co-occurrence (the frequent
appearance of certain objects alongside others in images), uncertainty (objects
with higher uncertainty during LVLM decoding), and object position
(hallucination often appears in the later part of the generated text). LURE can
also be seamlessly integrated with any LVLMs. We evaluate LURE on six
open-source LVLMs, achieving a 23% improvement in general object hallucination
evaluation metrics over the previous best approach. In both GPT and human
evaluations, LURE consistently ranks at the top. Our data and code are
available at https://github.com/YiyangZhou/LURE. | cs.LG | Analyzing and Mitigating Object Hallucination in Large Vision-Language Models |
2023-10-01T18:01:51Z | http://arxiv.org/pdf/2310.00752v4 | http://arxiv.org/abs/2310.00752v4 | Dongfu Jiang, Yishan Li, Ge Zhang, Wenhao Huang, Bill Yuchen Lin, Wenhu Chen | 2024-05-09T21:51:30Z | cs.CL, cs.AI | We present TIGERScore, a \textbf{T}rained metric that follows
\textbf{I}nstruction \textbf{G}uidance to perform \textbf{E}xplainable, and
\textbf{R}eference-free evaluation over a wide spectrum of text generation
tasks. Different from other automatic evaluation methods that only provide
arcane scores, TIGERScore is guided by natural language instruction to provide
error analysis to pinpoint the mistakes in the generated text. Our metric is
based on LLaMA-2, trained on our meticulously curated instruction-tuning
dataset MetricInstruct which covers 6 text generation tasks and 23 text
generation datasets. The dataset consists of 42K quadruple in the form of
(instruction, input, system output $\rightarrow$ error analysis). We collected
the `system outputs' through from a large variety of models to cover different
types of errors. To quantitatively assess our metric, we evaluate its
correlation with human ratings on 5 held-in datasets, 2 held-out datasets and
show that TIGERScore can achieve the open-source SoTA correlation with human
ratings across these datasets and almost approaches GPT-4 evaluator. As a
reference-free metric, its correlation can even surpass the best existing
reference-based metrics. To further qualitatively assess the rationale
generated by our metric, we conduct human evaluation on the generated
explanations and found that the explanations are 70.8\% accurate. Through these
experimental results, we believe TIGERScore demonstrates the possibility of
building universal explainable metrics to evaluate any text generation task.
All the resourced are released in our project website:
\url{https://tiger-ai-lab.github.io/TIGERScore/}. | cs.CL | TIGERScore: Towards Building Explainable Metric for All Text Generation Tasks |
2023-10-01T17:52:59Z | http://arxiv.org/pdf/2310.00746v3 | http://arxiv.org/abs/2310.00746v3 | Zekun Moore Wang, Zhongyuan Peng, Haoran Que, Jiaheng Liu, Wangchunshu Zhou, Yuhan Wu, Hongcheng Guo, Ruitong Gan, Zehao Ni, Jian Yang, Man Zhang, Zhaoxiang Zhang, Wanli Ouyang, Ke Xu, Stephen W. Huang, Jie Fu, Junran Peng | 2024-06-18T13:08:24Z | cs.CL, cs.AI | The advent of Large Language Models (LLMs) has paved the way for complex
tasks such as role-playing, which enhances user interactions by enabling models
to imitate various characters. However, the closed-source nature of
state-of-the-art LLMs and their general-purpose training limit role-playing
optimization. In this paper, we introduce RoleLLM, a framework to benchmark,
elicit, and enhance role-playing abilities in LLMs. RoleLLM comprises four
stages: (1) Role Profile Construction for 100 roles; (2) Context-Based
Instruction Generation (Context-Instruct) for role-specific knowledge
extraction; (3) Role Prompting using GPT (RoleGPT) for speaking style
imitation; and (4) Role-Conditioned Instruction Tuning (RoCIT) for fine-tuning
open-source models along with role customization. By Context-Instruct and
RoleGPT, we create RoleBench, the first systematic and fine-grained
character-level benchmark dataset for role-playing with 168,093 samples.
Moreover, RoCIT on RoleBench yields RoleLLaMA (English) and RoleGLM (Chinese),
significantly enhancing role-playing abilities and even achieving comparable
results with RoleGPT (using GPT-4). | cs.CL | RoleLLM: Benchmarking, Eliciting, and Enhancing Role-Playing Abilities of Large Language Models |
2023-10-01T17:37:31Z | http://arxiv.org/pdf/2310.00741v2 | http://arxiv.org/abs/2310.00741v2 | Shiqi Chen, Yiran Zhao, Jinghan Zhang, I-Chun Chern, Siyang Gao, Pengfei Liu, Junxian He | 2023-11-28T08:06:53Z | cs.CL | Assessing factuality of text generated by large language models (LLMs) is an
emerging yet crucial research area, aimed at alerting users to potential errors
and guiding the development of more reliable LLMs. Nonetheless, the evaluators
assessing factuality necessitate suitable evaluation themselves to gauge
progress and foster advancements. This direction remains under-explored,
resulting in substantial impediments to the progress of factuality evaluators.
To mitigate this issue, we introduce a benchmark for Factuality Evaluation of
large Language Models, referred to as felm. In this benchmark, we collect
responses generated from LLMs and annotate factuality labels in a fine-grained
manner. Contrary to previous studies that primarily concentrate on the
factuality of world knowledge (e.g.~information from Wikipedia), felm focuses
on factuality across diverse domains, spanning from world knowledge to math and
reasoning. Our annotation is based on text segments, which can help pinpoint
specific factual errors. The factuality annotations are further supplemented by
predefined error types and reference links that either support or contradict
the statement. In our experiments, we investigate the performance of several
LLM-based factuality evaluators on felm, including both vanilla LLMs and those
augmented with retrieval mechanisms and chain-of-thought processes. Our
findings reveal that while retrieval aids factuality evaluation, current LLMs
are far from satisfactory to faithfully detect factual errors. | cs.CL | FELM: Benchmarking Factuality Evaluation of Large Language Models |
2023-10-01T17:25:56Z | http://arxiv.org/pdf/2310.00737v3 | http://arxiv.org/abs/2310.00737v3 | Emilio Ferrara | 2024-01-22T22:12:05Z | cs.CY, cs.AI, cs.CL, cs.HC | Generative Artificial Intelligence (GenAI) and Large Language Models (LLMs)
are marvels of technology; celebrated for their prowess in natural language
processing and multimodal content generation, they promise a transformative
future. But as with all powerful tools, they come with their shadows. Picture
living in a world where deepfakes are indistinguishable from reality, where
synthetic identities orchestrate malicious campaigns, and where targeted
misinformation or scams are crafted with unparalleled precision. Welcome to the
darker side of GenAI applications. This article is not just a journey through
the meanders of potential misuse of GenAI and LLMs, but also a call to
recognize the urgency of the challenges ahead. As we navigate the seas of
misinformation campaigns, malicious content generation, and the eerie creation
of sophisticated malware, we'll uncover the societal implications that ripple
through the GenAI revolution we are witnessing. From AI-powered botnets on
social media platforms to the unnerving potential of AI to generate fabricated
identities, or alibis made of synthetic realities, the stakes have never been
higher. The lines between the virtual and the real worlds are blurring, and the
consequences of potential GenAI's nefarious applications impact us all. This
article serves both as a synthesis of rigorous research presented on the risks
of GenAI and misuse of LLMs and as a thought-provoking vision of the different
types of harmful GenAI applications we might encounter in the near future, and
some ways we can prepare for them. | cs.CY | GenAI Against Humanity: Nefarious Applications of Generative Artificial Intelligence and Large Language Models |
2023-10-01T17:09:31Z | http://arxiv.org/pdf/2310.00734v1 | http://arxiv.org/abs/2310.00734v1 | Aabha Pingle, Aditya Vyawahare, Isha Joshi, Rahul Tangsali, Geetanjali Kale, Raviraj Joshi | 2023-10-01T17:09:31Z | cs.CL, cs.LG | Sentiment analysis plays a crucial role in understanding the sentiment
expressed in text data. While sentiment analysis research has been extensively
conducted in English and other Western languages, there exists a significant
gap in research efforts for sentiment analysis in low-resource languages.
Limited resources, including datasets and NLP research, hinder the progress in
this area. In this work, we present an exhaustive study of data augmentation
approaches for the low-resource Indic language Marathi. Although
domain-specific datasets for sentiment analysis in Marathi exist, they often
fall short when applied to generalized and variable-length inputs. To address
this challenge, this research paper proposes four data augmentation techniques
for sentiment analysis in Marathi. The paper focuses on augmenting existing
datasets to compensate for the lack of sufficient resources. The primary
objective is to enhance sentiment analysis model performance in both in-domain
and cross-domain scenarios by leveraging data augmentation strategies. The data
augmentation approaches proposed showed a significant performance improvement
for cross-domain accuracies. The augmentation methods include paraphrasing,
back-translation; BERT-based random token replacement, named entity
replacement, and pseudo-label generation; GPT-based text and label generation.
Furthermore, these techniques can be extended to other low-resource languages
and for general text classification tasks. | cs.CL | Robust Sentiment Analysis for Low Resource languages Using Data Augmentation Approaches: A Case Study in Marathi |
2023-10-01T15:52:48Z | http://arxiv.org/pdf/2310.00706v1 | http://arxiv.org/abs/2310.00706v1 | Dareen Alharthi, Roshan Sharma, Hira Dhamyal, Soumi Maiti, Bhiksha Raj, Rita Singh | 2023-10-01T15:52:48Z | cs.CL, cs.SD, eess.AS | Modern speech synthesis systems have improved significantly, with synthetic
speech being indistinguishable from real speech. However, efficient and
holistic evaluation of synthetic speech still remains a significant challenge.
Human evaluation using Mean Opinion Score (MOS) is ideal, but inefficient due
to high costs. Therefore, researchers have developed auxiliary automatic
metrics like Word Error Rate (WER) to measure intelligibility. Prior works
focus on evaluating synthetic speech based on pre-trained speech recognition
models, however, this can be limiting since this approach primarily measures
speech intelligibility. In this paper, we propose an evaluation technique
involving the training of an ASR model on synthetic speech and assessing its
performance on real speech. Our main assumption is that by training the ASR
model on the synthetic speech, the WER on real speech reflects the similarity
between distributions, a broader assessment of synthetic speech quality beyond
intelligibility. Our proposed metric demonstrates a strong correlation with
both MOS naturalness and MOS intelligibility when compared to SpeechLMScore and
MOSNet on three recent Text-to-Speech (TTS) systems: MQTTS, StyleTTS, and
YourTTS. | cs.CL | Evaluating Speech Synthesis by Training Recognizers on Synthetic Speech |
2023-10-01T15:09:36Z | http://arxiv.org/pdf/2310.00696v1 | http://arxiv.org/abs/2310.00696v1 | Pratik Saini, Tapas Nayak, Indrajit Bhattacharya | 2023-10-01T15:09:36Z | cs.CL | Two distinct approaches have been proposed for relational triple extraction -
pipeline and joint. Joint models, which capture interactions across triples,
are the more recent development, and have been shown to outperform pipeline
models for sentence-level extraction tasks. Document-level extraction is a more
challenging setting where interactions across triples can be long-range, and
individual triples can also span across sentences. Joint models have not been
applied for document-level tasks so far. In this paper, we benchmark
state-of-the-art pipeline and joint extraction models on sentence-level as well
as document-level datasets. Our experiments show that while joint models
outperform pipeline models significantly for sentence-level extraction, their
performance drops sharply below that of pipeline models for the document-level
dataset. | cs.CL | Do the Benefits of Joint Models for Relation Extraction Extend to Document-level Tasks? |
2023-10-01T15:06:51Z | http://arxiv.org/pdf/2310.01448v2 | http://arxiv.org/abs/2310.01448v2 | Yachuan Liu, Liang Chen, Jindong Wang, Qiaozhu Mei, Xing Xie | 2023-10-19T02:46:07Z | cs.CL, cs.AI | Do large language models (LLMs) genuinely understand the semantics of the
language, or just memorize the training data? The recent concern on potential
data contamination of LLMs has raised awareness of the community to conduct
research on LLMs evaluation. In this paper, we propose MSTemp, an approach that
creates meta semantic templates to evaluate the semantic understanding ability
of LLMs. The core of MSTemp is not to perform evaluation directly on existing
benchmark datasets, but to generate new out-of-distribution (OOD) evaluation
sets using existing datasets as seeds. Specifically, for a given sentence,
MSTemp leverages another language model to generate new samples while
preserving its semantics. The new samples are called semantic templates to the
original sentence. Then, MSTemp generates evaluation samples via sentence
parsing and random word replacement on the semantic templates. MSTemp is highly
flexible, dynamic, and cost-effective. Our initial experiments show that
MSTemp-generated samples can significantly reduce the performance of LLMs using
existing datasets as seeds. We hope this initial work can shed light on future
research of LLMs evaluation. | cs.CL | Meta Semantic Template for Evaluation of Large Language Models |
2023-10-01T14:09:42Z | http://arxiv.org/pdf/2310.00679v1 | http://arxiv.org/abs/2310.00679v1 | Ma. Beatrice Emanuela Pilar, Ellyza Mari Papas, Mary Loise Buenaventura, Dane Dedoroy, Myron Darrel Montefalcon, Jay Rhald Padilla, Lany Maceda, Mideth Abisado, Joseph Marvin Imperial | 2023-10-01T14:09:42Z | cs.CL | Despite being one of the most linguistically diverse groups of countries,
computational linguistics and language processing research in Southeast Asia
has struggled to match the level of countries from the Global North. Thus,
initiatives such as open-sourcing corpora and the development of baseline
models for basic language processing tasks are important stepping stones to
encourage the growth of research efforts in the field. To answer this call, we
introduce CebuaNER, a new baseline model for named entity recognition (NER) in
the Cebuano language. Cebuano is the second most-used native language in the
Philippines, with over 20 million speakers. To build the model, we collected
and annotated over 4,000 news articles, the largest of any work in the
language, retrieved from online local Cebuano platforms to train algorithms
such as Conditional Random Field and Bidirectional LSTM. Our findings show
promising results as a new baseline model, achieving over 70% performance on
precision, recall, and F1 across all entity tags, as well as potential efficacy
in a crosslingual setup with Tagalog. | cs.CL | CebuaNER: A New Baseline Cebuano Named Entity Recognition Model |
2023-10-01T13:48:36Z | http://arxiv.org/pdf/2310.00672v2 | http://arxiv.org/abs/2310.00672v2 | Dustin Klebe, Tal Shnitzer, Mikhail Yurochkin, Leonid Karlinsky, Justin Solomon | 2023-10-07T14:58:15Z | cs.LG, cs.CL, cs.CV, I.2; I.2.7 | Pretrained unimodal encoders incorporate rich semantic information into
embedding space structures. To be similarly informative, multi-modal encoders
typically require massive amounts of paired data for alignment and training. We
introduce a semi-supervised Geometrically Regularized Alignment (GeRA) method
to align the embedding spaces of pretrained unimodal encoders in a
label-efficient way. Our method leverages the manifold geometry of unpaired
(unlabeled) data to improve alignment performance. To prevent distortions to
local geometry during the alignment process, potentially disrupting semantic
neighborhood structures and causing misalignment of unobserved pairs, we
introduce a geometric loss term. This term is built upon a diffusion operator
that captures the local manifold geometry of the unimodal pretrained encoders.
GeRA is modality-agnostic and thus can be used to align pretrained encoders
from any data modalities. We provide empirical evidence to the effectiveness of
our method in the domains of speech-text and image-text alignment. Our
experiments demonstrate significant improvement in alignment quality compared
to a variaty of leading baselines, especially with a small amount of paired
data, using our proposed geometric regularization. | cs.LG | GeRA: Label-Efficient Geometrically Regularized Alignment |
2023-10-01T12:28:36Z | http://arxiv.org/pdf/2310.01446v1 | http://arxiv.org/abs/2310.01446v1 | Jianpeng Zhou, Wanjun Zhong, Yanlin Wang, Jiahai Wang | 2023-10-01T12:28:36Z | cs.CL, cs.AI | Large Language Models (LLMs) are showcasing impressive ability in handling
complex reasoning tasks. In real-world situations, problems often span a
spectrum of complexities. Humans inherently adjust their problem-solving
approaches based on task complexity. However, most methodologies that leverage
LLMs tend to adopt a uniform approach: utilizing consistent models, prompting
methods, and degrees of problem decomposition, regardless of the problem
complexity. Inflexibility of them can bring unnecessary computational overhead
or sub-optimal performance. To address this problem, we introduce an
Adaptive-Solver framework. It strategically modulates solving strategies based
on the difficulties of the problems. Given an initial solution, the framework
functions with two primary modules. The initial evaluation module assesses the
adequacy of the current solution. If improvements are needed, the subsequent
adaptation module comes into play. Within this module, three key adaptation
strategies are employed: (1) Model Adaptation: Switching to a stronger LLM when
a weaker variant is inadequate. (2) Prompting Method Adaptation: Alternating
between different prompting techniques to suit the problem's nuances. (3)
Decomposition Granularity Adaptation: Breaking down a complex problem into more
fine-grained sub-questions to enhance solvability. Through such dynamic
adaptations, our framework not only enhances computational efficiency but also
elevates the overall performance. This dual-benefit ensures both the efficiency
of the system for simpler tasks and the precision required for more complex
questions. Experimental results from complex reasoning tasks reveal that the
prompting method adaptation and decomposition granularity adaptation enhance
performance across all tasks. Furthermore, the model adaptation approach
significantly reduces API costs (up to 50%) while maintaining superior
performance. | cs.CL | Adaptive-Solver Framework for Dynamic Strategy Selection in Large Language Model Reasoning |
2023-10-01T12:07:44Z | http://arxiv.org/pdf/2310.00648v5 | http://arxiv.org/abs/2310.00648v5 | Lauren Hong, Ting Wang | 2024-03-29T05:22:15Z | cs.CL | Parameter-efficient fine-tuning (PEFT) enables efficient adaptation of
pre-trained language models (PLMs) to specific tasks. By tuning only a minimal
set of (extra) parameters, PEFT achieves performance that is comparable to
standard fine-tuning. However, despite its prevalent use, the security
implications of PEFT remain largely unexplored. In this paper, we take the
initial steps and present PETA, a novel trojan attack that compromises the
weights of PLMs by accounting for downstream adaptation through bilevel
optimization: the upper-level objective embeds the backdoor into a model while
the lower-level objective simulates PEFT to both retain the PLM's task-specific
performance and ensure that the backdoor persists after fine-tuning. With
extensive evaluation across a variety of downstream tasks and trigger designs,
we demonstrate PETA's effectiveness in terms of both attack success rate and
clean accuracy, even when the attacker does not have full knowledge of the
victim user's training process. | cs.CL | PETA: Parameter-Efficient Trojan Attacks |
2023-10-01T10:26:25Z | http://arxiv.org/pdf/2310.00637v1 | http://arxiv.org/abs/2310.00637v1 | Bradley P. Allen, Lise Stork, Paul Groth | 2023-10-01T10:26:25Z | cs.AI, cs.CL | Knowledge engineering is a discipline that focuses on the creation and
maintenance of processes that generate and apply knowledge. Traditionally,
knowledge engineering approaches have focused on knowledge expressed in formal
languages. The emergence of large language models and their capabilities to
effectively work with natural language, in its broadest sense, raises questions
about the foundations and practice of knowledge engineering. Here, we outline
the potential role of LLMs in knowledge engineering, identifying two central
directions: 1) creating hybrid neuro-symbolic knowledge systems; and 2)
enabling knowledge engineering in natural language. Additionally, we formulate
key open research questions to tackle these directions. | cs.AI | Knowledge Engineering using Large Language Models |
2023-10-01T08:12:55Z | http://arxiv.org/pdf/2310.09297v2 | http://arxiv.org/abs/2310.09297v2 | Xiangyu Zeng, Jie Lin, Piao Hu, Ruizheng Huang, Zhicheng Zhang | 2024-05-20T14:45:03Z | cs.LG, cs.AI, cs.CL | How humans and machines make sense of current inputs for relation reasoning
and question-answering while putting the perceived information into context of
our past memories, has been a challenging conundrum in cognitive science and
artificial intelligence. Inspired by human brain's memory system and cognitive
architectures, we propose a PMI framework that consists of perception, memory
and inference components. Notably, the memory module comprises working and
long-term memory, with the latter endowed with a higher-order structure to
retain extensive and complex relational knowledge and experience. Through a
differentiable competitive write access, current perceptions update working
memory, which is later merged with long-term memory via outer product
associations, reducing information conflicts and averting memory overflow. In
the inference module, relevant information is retrieved from two separate
memory origins and associatively integrated to attain a more comprehensive and
precise interpretation of current perceptions. We exploratively apply our PMI
to improve prevailing Transformers and CNN models on question-answering tasks
like bAbI-20k and Sort-of-CLEVR datasets, as well as detecting equilateral
triangles, language modeling and image classification tasks, and in each case,
our PMI enhancements consistently outshine their original counterparts
significantly. Visualization analyses reveal that relational memory
consolidation, along with the interaction and integration of information from
diverse memory sources, substantially contributes to the model effectiveness on
inference tasks. | cs.LG | A Framework for Inference Inspired by Human Memory Mechanisms |
2023-10-01T07:50:30Z | http://arxiv.org/pdf/2310.01444v3 | http://arxiv.org/abs/2310.01444v3 | Kuan Wang, Yadong Lu, Michael Santacroce, Yeyun Gong, Chao Zhang, Yelong Shen | 2024-04-14T03:47:19Z | cs.CL, cs.AI | Recent advances in large language models (LLMs) have demonstrated potential
for LLM agents. To facilitate the training for these agents with both
linguistic feedback and non-linguistic reward signals, we introduce Learning
through Communication (LTC). We design a universal buffer to store all the
feedback, and an iterative pipeline to enable an LLM agent to explore and
update its policy in an given environment. To optimize agent interactions for
task-specific learning with our universal buffer and pipeline, we introduce
diverse communication patterns tailored for both single-agent and multi-agent
environments. We evaluate the efficacy of our LTC approach on four diverse
datasets: ALFWorld (single-agent), HotpotQA (multi-agent collaboration),
Chameleon (multi-agent competition), and GSM8k (multi-agent teacher-student).
On these data sets, LTC outperforms the supervised instruction fine-tuning
baselines by 3.6% to 12%. These results highlight the versatility and
efficiency of LTC in facilitating online adaptation for LLM agents. | cs.CL | Adapting LLM Agents with Universal Feedback in Communication |
2023-10-01T07:31:04Z | http://arxiv.org/pdf/2310.00603v2 | http://arxiv.org/abs/2310.00603v2 | Yair Gat, Nitay Calderon, Amir Feder, Alexander Chapanin, Amit Sharma, Roi Reichart | 2023-11-22T08:00:10Z | cs.CL, cs.AI | Causal explanations of the predictions of NLP systems are essential to ensure
safety and establish trust. Yet, existing methods often fall short of
explaining model predictions effectively or efficiently and are often
model-specific. In this paper, we address model-agnostic explanations,
proposing two approaches for counterfactual (CF) approximation. The first
approach is CF generation, where a large language model (LLM) is prompted to
change a specific text concept while keeping confounding concepts unchanged.
While this approach is demonstrated to be very effective, applying LLM at
inference-time is costly. We hence present a second approach based on matching,
and propose a method that is guided by an LLM at training-time and learns a
dedicated embedding space. This space is faithful to a given causal graph and
effectively serves to identify matches that approximate CFs. After showing
theoretically that approximating CFs is required in order to construct faithful
explanations, we benchmark our approaches and explain several models, including
LLMs with billions of parameters. Our empirical results demonstrate the
excellent performance of CF generation models as model-agnostic explainers.
Moreover, our matching approach, which requires far less test-time resources,
also provides effective explanations, surpassing many baselines. We also find
that Top-K techniques universally improve every tested method. Finally, we
showcase the potential of LLMs in constructing new benchmarks for model
explanation and subsequently validate our conclusions. Our work illuminates new
pathways for efficient and accurate approaches to interpreting NLP systems. | cs.CL | Faithful Explanations of Black-box NLP Models Using LLM-generated Counterfactuals |
2023-10-01T07:31:00Z | http://arxiv.org/pdf/2310.00602v2 | http://arxiv.org/abs/2310.00602v2 | Spandan Dey, Premjeet Singh, Goutam Saha | 2023-10-03T08:00:53Z | eess.AS, cs.CL | Commonly used features in spoken language identification (LID), such as
mel-spectrogram or MFCC, lose high-frequency information due to windowing. The
loss further increases for longer temporal contexts. To improve generalization
of the low-resourced LID systems, we investigate an alternate feature
representation, wavelet scattering transform (WST), that compensates for the
shortcomings. To our knowledge, WST is not explored earlier in LID tasks. We
first optimize WST features for multiple South Asian LID corpora. We show that
LID requires low octave resolution and frequency-scattering is not useful.
Further, cross-corpora evaluations show that the optimal WST hyper-parameters
depend on both train and test corpora. Hence, we develop fused ECAPA-TDNN based
LID systems with different sets of WST hyper-parameters to improve
generalization for unknown data. Compared to MFCC, EER is reduced upto 14.05%
and 6.40% for same-corpora and blind VoxLingua107 evaluations, respectively. | eess.AS | Wavelet Scattering Transform for Improving Generalization in Low-Resourced Spoken Language Identification |
2023-10-01T07:06:17Z | http://arxiv.org/pdf/2310.00598v1 | http://arxiv.org/abs/2310.00598v1 | Aviya Maimon, Reut Tsarfaty | 2023-10-01T07:06:17Z | cs.CL, cs.AI | Coherence is an essential property of well-written texts, that refers to the
way textual units relate to one another. In the era of generative AI, coherence
assessment is essential for many NLP tasks; summarization, generation,
long-form question-answering, and more. However, in NLP {coherence} is an
ill-defined notion, not having a formal definition or evaluation metrics, that
would allow for large-scale automatic and systematic coherence assessment. To
bridge this gap, in this work we employ the formal linguistic definition of
\citet{Reinhart:1980} of what makes a discourse coherent, consisting of three
conditions -- {\em cohesion, consistency} and {\em relevance} -- and formalize
these conditions as respective computational tasks. We hypothesize that (i) a
model trained on all of these tasks will learn the features required for
coherence detection, and that (ii) a joint model for all tasks will exceed the
performance of models trained on each task individually. On two benchmarks for
coherence scoring rated by humans, one containing 500 automatically-generated
short stories and another containing 4k real-world texts, our experiments
confirm that jointly training on the proposed tasks leads to better performance
on each task compared with task-specific models, and to better performance on
assessing coherence overall, compared with strong baselines. We conclude that
the formal and computational setup of coherence as proposed here provides a
solid foundation for advanced methods of large-scale automatic assessment of
coherence. | cs.CL | A Novel Computational and Modeling Foundation for Automatic Coherence Assessment |
2023-10-01T07:06:02Z | http://arxiv.org/pdf/2310.00597v1 | http://arxiv.org/abs/2310.00597v1 | Lucen Zhong, Hengtong Lu, Caixia Yuan, Xiaojie Wang, Jiashen Sun, Ke Zeng, Guanglu Wan | 2023-10-01T07:06:02Z | cs.CL | Pre-trained conversation models (PCMs) have achieved promising progress in
recent years. However, existing PCMs for Task-oriented dialog (TOD) are
insufficient for capturing the sequential nature of the TOD-related tasks, as
well as for learning dialog policy information. To alleviate these problems,
this paper proposes a task-progressive PCM with two policy-aware pre-training
tasks. The model is pre-trained through three stages where TOD-related tasks
are progressively employed according to the task logic of the TOD system. A
global policy consistency task is designed to capture the multi-turn dialog
policy sequential relation, and an act-based contrastive learning task is
designed to capture similarities among samples with the same dialog policy. Our
model achieves better results on both MultiWOZ and In-Car end-to-end dialog
modeling benchmarks with only 18\% parameters and 25\% pre-training data
compared to the previous state-of-the-art PCM, GALAXY. | cs.CL | A Task-oriented Dialog Model with Task-progressive and Policy-aware Pre-training |
2023-10-01T05:37:55Z | http://arxiv.org/pdf/2310.00578v1 | http://arxiv.org/abs/2310.00578v1 | Siyi Cao, Tongquan Zhou, Siruo Zhou | 2023-10-01T05:37:55Z | cs.CL | ChatGPT has been demonstrated to possess significant capabilities in
generating intricate, human-like text, and recent studies have established that
its performance in theory of mind tasks is comparable to that of a
nine-year-old child. However, it remains uncertain whether ChatGPT surpasses
nine-year-old children in Chinese writing proficiency. To explore this, our
study juxtaposed the Chinese writing performance of ChatGPT and nine-year-old
children on both narrative and scientific topics, aiming to uncover the
relative strengths and weaknesses of ChatGPT in writing.
The collected data were analyzed across five linguistic dimensions: fluency,
accuracy, complexity, cohesion, and emotion. Each dimension underwent
assessment through precise indices. The findings revealed that nine-year-old
children excelled beyond ChatGPT in terms of fluency and cohesion within their
writing. In contrast, ChatGPT manifested a superior performance in accuracy
compared to the children. Concerning complexity, children exhibited superior
skills in science-themed writing, while ChatGPT prevailed in nature-themed
writing. Significantly, this research is pioneering in revealing that
nine-year-old children convey stronger emotions than ChatGPT in their Chinese
compositions. | cs.CL | Nine-year-old children outperformed ChatGPT in emotion: Evidence from Chinese writing |
2023-10-01T05:25:24Z | http://arxiv.org/pdf/2310.00576v1 | http://arxiv.org/abs/2310.00576v1 | Hongye Jin, Xiaotian Han, Jingfeng Yang, Zhimeng Jiang, Chia-Yuan Chang, Xia Hu | 2023-10-01T05:25:24Z | cs.CL, cs.LG | The evolving sophistication and intricacies of Large Language Models (LLMs)
yield unprecedented advancements, yet they simultaneously demand considerable
computational resources and incur significant costs. To alleviate these
challenges, this paper introduces a novel, simple, and effective method named
``\growlength'' to accelerate the pretraining process of LLMs. Our method
progressively increases the training length throughout the pretraining phase,
thereby mitigating computational costs and enhancing efficiency. For instance,
it begins with a sequence length of 128 and progressively extends to 4096. This
approach enables models to process a larger number of tokens within limited
time frames, potentially boosting their performance. In other words, the
efficiency gain is derived from training with shorter sequences optimizing the
utilization of resources. Our extensive experiments with various
state-of-the-art LLMs have revealed that models trained using our method not
only converge more swiftly but also exhibit superior performance metrics
compared to those trained with existing methods. Furthermore, our method for
LLMs pretraining acceleration does not require any additional engineering
efforts, making it a practical solution in the realm of LLMs. | cs.CL | GrowLength: Accelerating LLMs Pretraining by Progressively Growing Training Length |
2023-10-01T05:06:33Z | http://arxiv.org/pdf/2310.00572v1 | http://arxiv.org/abs/2310.00572v1 | Leyla Rabiei, Farzaneh Rahmani, Mohammad Khansari, Zeinab Rajabi, Moein Salimi | 2023-10-01T05:06:33Z | cs.CL | Introduction: Part-of-Speech (POS) Tagging, the process of classifying words
into their respective parts of speech (e.g., verb or noun), is essential in
various natural language processing applications. POS tagging is a crucial
preprocessing task for applications like machine translation, question
answering, sentiment analysis, etc. However, existing corpora for POS tagging
in Persian mainly consist of formal texts, such as daily news and newspapers.
As a result, smart POS tools, machine learning models, and deep learning models
trained on these corpora may not perform optimally for processing colloquial
text in social network analysis. Method: This paper introduces a novel corpus,
"Colloquial Persian POS" (CPPOS), specifically designed to support colloquial
Persian text. The corpus includes formal and informal text collected from
various domains such as political, social, and commercial on Telegram, Twitter,
and Instagram more than 520K labeled tokens. After collecting posts from these
social platforms for one year, special preprocessing steps were conducted,
including normalization, sentence tokenizing, and word tokenizing for social
text. The tokens and sentences were then manually annotated and verified by a
team of linguistic experts. This study also defines a POS tagging guideline for
annotating the data and conducting the annotation process. Results: To evaluate
the quality of CPPOS, various deep learning models, such as the RNN family,
were trained using the constructed corpus. A comparison with another well-known
Persian POS corpus named "Bijankhan" and the Persian Hazm POS tool trained on
Bijankhan revealed that our model trained on CPPOS outperforms them. With the
new corpus and the BiLSTM deep neural model, we achieved a 14% improvement over
the previous dataset. | cs.CL | Colloquial Persian POS (CPPOS) Corpus: A Novel Corpus for Colloquial Persian Part of Speech Tagging |
2023-10-01T03:50:34Z | http://arxiv.org/pdf/2310.00566v3 | http://arxiv.org/abs/2310.00566v3 | Duanyu Feng, Yongfu Dai, Jimin Huang, Yifang Zhang, Qianqian Xie, Weiguang Han, Zhengyu Chen, Alejandro Lopez-Lira, Hao Wang | 2024-02-18T01:24:17Z | cs.LG, cs.AI, cs.CL, cs.CY | In the financial industry, credit scoring is a fundamental element, shaping
access to credit and determining the terms of loans for individuals and
businesses alike. Traditional credit scoring methods, however, often grapple
with challenges such as narrow knowledge scope and isolated evaluation of
credit tasks. Our work posits that Large Language Models (LLMs) have great
potential for credit scoring tasks, with strong generalization ability across
multiple tasks. To systematically explore LLMs for credit scoring, we propose
the first open-source comprehensive framework. We curate a novel benchmark
covering 9 datasets with 14K samples, tailored for credit assessment and a
critical examination of potential biases within LLMs, and the novel instruction
tuning data with over 45k samples. We then propose the first Credit and Risk
Assessment Large Language Model (CALM) by instruction tuning, tailored to the
nuanced demands of various financial risk assessment tasks. We evaluate CALM,
existing state-of-art (SOTA) methods, open source and closed source LLMs on the
build benchmark. Our empirical results illuminate the capability of LLMs to not
only match but surpass conventional models, pointing towards a future where
credit scoring can be more inclusive, comprehensive, and unbiased. We
contribute to the industry's transformation by sharing our pioneering
instruction-tuning datasets, credit and risk assessment LLM, and benchmarks
with the research community and the financial industry. | cs.LG | Empowering Many, Biasing a Few: Generalist Credit Scoring through Large Language Models |
2023-10-01T02:57:43Z | http://arxiv.org/pdf/2310.00552v1 | http://arxiv.org/abs/2310.00552v1 | Guangxin Zhang, Shu Chen | 2023-10-01T02:57:43Z | cs.CL, cs.AI | Unsupervised relation extraction (URE) aims at discovering underlying
relations between named entity pairs from open-domain plain text without prior
information on relational distribution. Existing URE models utilizing
contrastive learning, which attract positive samples and repulse negative
samples to promote better separation, have got decent effect. However,
fine-grained relational semantic in relationship makes spurious negative
samples, damaging the inherent hierarchical structure and hindering
performances. To tackle this problem, we propose Siamese Representation
Learning for Unsupervised Relation Extraction -- a novel framework to simply
leverage positive pairs to representation learning, possessing the capability
to effectively optimize relation representation of instances and retain
hierarchical information in relational feature space. Experimental results show
that our model significantly advances the state-of-the-art results on two
benchmark datasets and detailed analyses demonstrate the effectiveness and
robustness of our proposed model on unsupervised relation extraction. | cs.CL | Siamese Representation Learning for Unsupervised Relation Extraction |
2023-10-01T01:21:35Z | http://arxiv.org/pdf/2310.00535v3 | http://arxiv.org/abs/2310.00535v3 | Yuandong Tian, Yiping Wang, Zhenyu Zhang, Beidi Chen, Simon Du | 2024-03-15T02:03:21Z | cs.LG, cs.AI, cs.CL | We propose Joint MLP/Attention (JoMA) dynamics, a novel mathematical
framework to understand the training procedure of multilayer Transformer
architectures. This is achieved by integrating out the self-attention layer in
Transformers, producing a modified dynamics of MLP layers only. JoMA removes
unrealistic assumptions in previous analysis (e.g., lack of residual
connection) and predicts that the attention first becomes sparse (to learn
salient tokens), then dense (to learn less salient tokens) in the presence of
nonlinear activations, while in the linear case, it is consistent with existing
works that show attention becomes sparse over time. We leverage JoMA to
qualitatively explains how tokens are combined to form hierarchies in
multilayer Transformers, when the input tokens are generated by a latent
hierarchical generative model. Experiments on models trained from real-world
dataset (Wikitext2/Wikitext103) and various pre-trained models (OPT, Pythia)
verify our theoretical findings. Code can be found in
https://github.com/facebookresearch/luckmatters/tree/yuandong3. | cs.LG | JoMA: Demystifying Multilayer Transformers via JOint Dynamics of MLP and Attention |
2023-10-01T00:52:24Z | http://arxiv.org/pdf/2310.00533v4 | http://arxiv.org/abs/2310.00533v4 | Jianqiao Lu, Wanjun Zhong, Wenyong Huang, Yufei Wang, Qi Zhu, Fei Mi, Baojun Wang, Weichao Wang, Xingshan Zeng, Lifeng Shang, Xin Jiang, Qun Liu | 2024-02-01T06:10:00Z | cs.CL, cs.AI, cs.LG | Large Language Models (LLMs) have demonstrated remarkable versatility across
various domains. To further advance LLMs, we propose 'SELF' (Self-Evolution
with Language Feedback), a novel approach that enables LLMs to self-improve
through self-reflection, akin to human learning processes. SELF initiates with
a meta-skill learning process that equips the LLMs with capabilities for
self-feedback and self-refinement. Subsequently, the model undergoes an
iterative process of self-evolution. In each iteration, it utilizes an
unlabeled dataset of instructions to generate initial responses. These
responses are enhanced through self-feedback and self-refinement. The model is
then fine-tuned using this enhanced data. The model undergoes progressive
improvement through this iterative self-evolution process. Moreover, the SELF
framework enables the model to apply self-refinement during inference, which
further improves response quality. Our experiments in mathematics and general
tasks demonstrate that SELF can enhance the capabilities of LLMs without human
intervention. The SELF framework indicates a promising direction for the
autonomous evolution of LLMs, transitioning them from passive information
receivers to active participants in their development. | cs.CL | SELF: Self-Evolution with Language Feedback |
2023-09-30T22:27:37Z | http://arxiv.org/pdf/2310.04438v2 | http://arxiv.org/abs/2310.04438v2 | Golam Md Muktadir | 2023-11-28T18:27:54Z | cs.CL, cs.AI | This paper presents a comprehensive exploration of the evolution of prompt
engineering and generation in the field of natural language processing (NLP).
Starting from the early language models and information retrieval systems, we
trace the key developments that have shaped prompt engineering over the years.
The introduction of attention mechanisms in 2015 revolutionized language
understanding, leading to advancements in controllability and
context-awareness. Subsequent breakthroughs in reinforcement learning
techniques further enhanced prompt engineering, addressing issues like exposure
bias and biases in generated text. We examine the significant contributions in
2018 and 2019, focusing on fine-tuning strategies, control codes, and
template-based generation. The paper also discusses the growing importance of
fairness, human-AI collaboration, and low-resource adaptation. In 2020 and
2021, contextual prompting and transfer learning gained prominence, while 2022
and 2023 witnessed the emergence of advanced techniques like unsupervised
pre-training and novel reward shaping. Throughout the paper, we reference
specific research studies that exemplify the impact of various developments on
prompt engineering. The journey of prompt engineering continues, with ethical
considerations being paramount for the responsible and inclusive future of AI
systems. | cs.CL | A Brief History of Prompt: Leveraging Language Models. (Through Advanced Prompting) |
2023-09-30T21:16:05Z | http://arxiv.org/pdf/2310.00492v3 | http://arxiv.org/abs/2310.00492v3 | Xuansheng Wu, Wenlin Yao, Jianshu Chen, Xiaoman Pan, Xiaoyang Wang, Ninghao Liu, Dong Yu | 2024-04-04T16:30:31Z | cs.CL, cs.AI, cs.LG | Large Language Models (LLMs) have achieved remarkable success, where
instruction tuning is the critical step in aligning LLMs with user intentions.
In this work, we investigate how the instruction tuning adjusts pre-trained
models with a focus on intrinsic changes. Specifically, we first develop
several local and global explanation methods, including a gradient-based method
for input-output attribution, and techniques for interpreting patterns and
concepts in self-attention and feed-forward layers. The impact of instruction
tuning is then studied by comparing the explanations derived from the
pre-trained and instruction-tuned models. This approach provides an internal
perspective of the model shifts on a human-comprehensible level. Our findings
reveal three significant impacts of instruction tuning: 1) It empowers LLMs to
recognize the instruction parts of user prompts, and promotes the response
generation constantly conditioned on the instructions. 2) It encourages the
self-attention heads to capture more word-word relationships about instruction
verbs. 3) It encourages the feed-forward networks to rotate their pre-trained
knowledge toward user-oriented tasks. These insights contribute to a more
comprehensive understanding of instruction tuning and lay the groundwork for
future work that aims at explaining and optimizing LLMs for various
applications. Our code and data are publicly available at
https://github.com/JacksonWuxs/Interpret_Instruction_Tuning_LLMs. | cs.CL | From Language Modeling to Instruction Following: Understanding the Behavior Shift in LLMs after Instruction Tuning |
2023-09-30T20:54:59Z | http://arxiv.org/pdf/2310.00486v1 | http://arxiv.org/abs/2310.00486v1 | Wen Wu, Wenlin Chen, Chao Zhang, Philip C. Woodland | 2023-09-30T20:54:59Z | cs.CL, cs.HC, cs.LG | Human annotator simulation (HAS) serves as a cost-effective substitute for
human evaluation such as data annotation and system assessment. Human
perception and behaviour during human evaluation exhibit inherent variability
due to diverse cognitive processes and subjective interpretations, which should
be taken into account in modelling to better mimic the way people perceive and
interact with the world. This paper introduces a novel meta-learning framework
that treats HAS as a zero-shot density estimation problem, which incorporates
human variability and allows for the efficient generation of human-like
annotations for unlabelled test inputs. Under this framework, we propose two
new model classes, conditional integer flows and conditional softmax flows, to
account for ordinal and categorical annotations, respectively. The proposed
method is evaluated on three real-world human evaluation tasks and shows
superior capability and efficiency to predict the aggregated behaviours of
human annotators, match the distribution of human annotations, and simulate the
inter-annotator disagreements. | cs.CL | It HAS to be Subjective: Human Annotator Simulation via Zero-shot Density Estimation |
2023-09-30T20:18:50Z | http://arxiv.org/pdf/2310.01441v2 | http://arxiv.org/abs/2310.01441v2 | Hejia Geng, Boxun Xu, Peng Li | 2023-12-07T04:10:01Z | cs.CL, cs.AI | Large Language Models (LLMs) have demonstrated impressive inferential
capabilities, with numerous research endeavors devoted to enhancing this
capacity through prompting. Despite these efforts, a unified epistemological
foundation is still conspicuously absent. Drawing inspiration from Kant's a
priori philosophy, we propose the UPAR prompting framework, designed to emulate
the structure of human cognition within LLMs. The UPAR framework is delineated
into four phases: "Understand", "Plan", "Act", and "Reflect", enabling the
extraction of structured information from complex contexts, prior planning of
solutions, execution according to plan, and self-reflection. This structure
significantly augments the explainability and accuracy of LLM inference,
producing a human-understandable and inspectable inferential trajectory.
Furthermore, our work offers an epistemological foundation for existing
prompting techniques, allowing for a possible systematic integration of these
methods. With GPT-4, our approach elevates the accuracy from COT baseline of
22.92% to 58.33% in a challenging subset of GSM8K, and from 67.91% to 75.40% in
the causal judgment task. Without using few-shot examples or external tools,
UPAR significantly outperforms existing prompting methods on SCIBENCH, a
challenging dataset containing collegiate-level mathematics, chemistry, and
physics scientific problems. | cs.CL | UPAR: A Kantian-Inspired Prompting Framework for Enhancing Large Language Model Capabilities |
2023-09-30T17:50:50Z | http://arxiv.org/pdf/2310.00448v1 | http://arxiv.org/abs/2310.00448v1 | Christian Internò, Eloisa Ambrosini | 2023-09-30T17:50:50Z | cs.LG, cs.CL | In recent years, there is strong emphasis on mining medical data using
machine learning techniques. A common problem is to obtain a noiseless set of
textual documents, with a relevant content for the research question, and
developing a Question Answering (QA) model for a specific medical field. The
purpose of this paper is to present a new methodology for building a medical
dataset and obtain a QA model for analysis of symptoms and impact on daily life
for a specific disease domain. The ``Mental Health'' forum was used, a forum
dedicated to people suffering from schizophrenia and different mental
disorders. Relevant posts of active users, who regularly participate, were
extrapolated providing a new method of obtaining low-bias content and without
privacy issues. Furthermore, it is shown how to pre-process the dataset to
convert it into a QA dataset. The Bidirectional Encoder Representations from
Transformers (BERT), DistilBERT, RoBERTa, and BioBERT models were fine-tuned
and evaluated via F1-Score, Exact Match, Precision and Recall. Accurate
empirical experiments demonstrated the effectiveness of the proposed method for
obtaining an accurate dataset for QA model implementation. By fine-tuning the
BioBERT QA model, we achieved an F1 score of 0.885, showing a considerable
improvement and outperforming the state-of-the-art model for mental disorders
domain. | cs.LG | Question-Answering Model for Schizophrenia Symptoms and Their Impact on Daily Life using Mental Health Forums Data |
2023-09-30T17:41:39Z | http://arxiv.org/pdf/2310.01440v1 | http://arxiv.org/abs/2310.01440v1 | Xin Xie, Jiangqiong Li, Haining Wang | 2023-09-30T17:41:39Z | cs.CL | Lu Xun and Zhou Zuoren stand as two of the most influential writers in modern
Chinese literature. Beyond their familial ties as brothers, they were also
intimate collaborators during the nascent stages of their writing careers. This
research employs quantitative methods to revisit three disputed essays
pseudonymously published by the brothers in 1912. Our stylometric analysis uses
an interpretable authorship attribution model to investigate the essays'
authorship and examine the brothers' respective writing styles. Our findings
suggest that 'Looking at the Country of China' was authored by Lu Xun.
Moreover, 'People of Yue, Forget Not Your Ancestors' Instructions' seems to be
either predominantly authored or extensively revised by Lu Xun given its
notable stylistic similarities to 'Looking at the Land of Yue,' a piece Zhou
Zuoren recognized as his own, but edited by Lu Xun. The third essay, 'Where Has
the Character of the Republic Gone?,' exhibits a 'diluted', mixed writing
style, suggesting thorough collaboration. We offer visual representations of
essay features to facilitate a nuanced and intuitive understanding. We have
uncovered evidence suggesting Lu Xun's covert engagement with social issues
during his purported 'silent era' and provided insights into the brothers'
formative intellectual trajectories. | cs.CL | The Many Voices of Duying: Revisiting the Disputed Essays Between Lu Xun and Zhou Zuoren |
2023-09-30T17:11:00Z | http://arxiv.org/pdf/2310.00436v1 | http://arxiv.org/abs/2310.00436v1 | Haining Wang | 2023-09-30T17:11:00Z | cs.CL | Authorship identification ascertains the authorship of texts whose origins
remain undisclosed. That authorship identification techniques work as reliably
as they do has been attributed to the fact that authorial style is properly
captured and represented. Although modern authorship identification methods
have evolved significantly over the years and have proven effective in
distinguishing authorial styles, the generalization of stylistic features
across domains has not been systematically reviewed. The presented work
addresses the challenge of enhancing the generalization of stylistic
representations in authorship identification, particularly when there are
discrepancies between training and testing samples. A comprehensive review of
empirical studies was conducted, focusing on various stylistic features and
their effectiveness in representing an author's style. The influencing factors
such as topic, genre, and register on writing style were also explored, along
with strategies to mitigate their impact. While some stylistic features, like
character n-grams and function words, have proven to be robust and
discriminative, others, such as content words, can introduce biases and hinder
cross-domain generalization. Representations learned using deep learning
models, especially those incorporating character n-grams and syntactic
information, show promise in enhancing representation generalization. The
findings underscore the importance of selecting appropriate stylistic features
for authorship identification, especially in cross-domain scenarios. The
recognition of the strengths and weaknesses of various linguistic features
paves the way for more accurate authorship identification in diverse contexts. | cs.CL | Enhancing Representation Generalization in Authorship Identification |
2023-09-30T15:14:50Z | http://arxiv.org/pdf/2310.00410v1 | http://arxiv.org/abs/2310.00410v1 | Rikiya Takehi, Akihisa Watanabe, Tetsuya Sakai | 2023-09-30T15:14:50Z | cs.CL, cs.IR | Existing dialogue quality evaluation systems can return a score for a given
system turn from a particular viewpoint, e.g., engagingness. However, to
improve dialogue systems by locating exactly where in a system turn potential
problems lie, a more fine-grained evaluation may be necessary. We therefore
propose an evaluation approach where a turn is decomposed into nuggets (i.e.,
expressions associated with a dialogue act), and nugget-level evaluation is
enabled by leveraging an existing turn-level evaluation system. We demonstrate
the potential effectiveness of our evaluation method through a case study. | cs.CL | Open-Domain Dialogue Quality Evaluation: Deriving Nugget-level Scores from Turn-level Scores |
2023-09-30T14:04:22Z | http://arxiv.org/pdf/2310.00385v1 | http://arxiv.org/abs/2310.00385v1 | Fei Zhao, Taotian Pang, Zhen Wu, Zheng Ma, Shujian Huang, Xinyu Dai | 2023-09-30T14:04:22Z | cs.CL, cs.AI | In-Context Learning (ICL) is a new paradigm for natural language processing
(NLP), where a large language model (LLM) observes a small number of
demonstrations and a test instance as its input, and directly makes predictions
without updating model parameters. Previous studies have revealed that ICL is
sensitive to the selection and the ordering of demonstrations. However, there
are few studies regarding the impact of the demonstration number on the ICL
performance within a limited input length of LLM, because it is commonly
believed that the number of demonstrations is positively correlated with model
performance. In this paper, we found this conclusion does not always hold true.
Through pilot experiments, we discover that increasing the number of
demonstrations does not necessarily lead to improved performance. Building upon
this insight, we propose a Dynamic Demonstrations Controller (D$^2$Controller),
which can improve the ICL performance by adjusting the number of demonstrations
dynamically. The experimental results show that D$^2$Controller yields a 5.4%
relative improvement on eight different sizes of LLMs across ten datasets.
Moreover, we also extend our method to previous ICL models and achieve
competitive results. | cs.CL | Dynamic Demonstrations Controller for In-Context Learning |
2023-09-30T13:47:55Z | http://arxiv.org/pdf/2310.00378v4 | http://arxiv.org/abs/2310.00378v4 | Zhaowei Zhang, Fengshuo Bai, Jun Gao, Yaodong Yang | 2024-06-17T07:58:00Z | cs.CL, cs.AI, cs.CY, I.2.m; K.4.m | Personal values are a crucial factor behind human decision-making.
Considering that Large Language Models (LLMs) have been shown to impact human
decisions significantly, it is essential to make sure they accurately
understand human values to ensure their safety. However, evaluating their grasp
of these values is complex due to the value's intricate and adaptable nature.
We argue that truly understanding values in LLMs requires considering both
"know what" and "know why". To this end, we present a comprehensive evaluation
metric, ValueDCG (Value Discriminator-Critique Gap), to quantitatively assess
the two aspects with an engineering implementation. We assess four
representative LLMs and provide compelling evidence that the growth rates of
LLM's "know what" and "know why" capabilities do not align with increases in
parameter numbers, resulting in a decline in the models' capacity to understand
human values as larger amounts of parameters. This may further suggest that
LLMs might craft plausible explanations based on the provided context without
truly understanding their inherent value, indicating potential risks. | cs.CL | ValueDCG: Measuring Comprehensive Human Value Understanding Ability of Language Models |
2023-09-30T13:15:49Z | http://arxiv.org/pdf/2310.00367v2 | http://arxiv.org/abs/2310.00367v2 | Jonas Belouadi, Anne Lauscher, Steffen Eger | 2024-01-23T15:20:33Z | cs.CL, cs.CV | Generating bitmap graphics from text has gained considerable attention, yet
for scientific figures, vector graphics are often preferred. Given that vector
graphics are typically encoded using low-level graphics primitives, generating
them directly is difficult. To address this, we propose the use of TikZ, a
well-known abstract graphics language that can be compiled to vector graphics,
as an intermediate representation of scientific figures. TikZ offers
human-oriented, high-level commands, thereby facilitating conditional language
modeling with any large language model. To this end, we introduce DaTikZ, the
first large-scale TikZ dataset consisting of 120k TikZ drawings aligned with
captions. We fine-tune LLaMA on DaTikZ, as well as our new model CLiMA, which
augments LLaMA with multimodal CLIP embeddings. In both human and automatic
evaluation, CLiMA and LLaMA outperform commercial GPT-4 and Claude 2 in terms
of similarity to human-created figures, with CLiMA additionally improving
text-image alignment. Our detailed analysis shows that all models generalize
well and are not susceptible to memorization. GPT-4 and Claude 2, however, tend
to generate more simplistic figures compared to both humans and our models. We
make our framework, AutomaTikZ, along with model weights and datasets, publicly
available. | cs.CL | AutomaTikZ: Text-Guided Synthesis of Scientific Vector Graphics with TikZ |
2023-09-30T12:18:31Z | http://arxiv.org/pdf/2310.00355v1 | http://arxiv.org/abs/2310.00355v1 | Taichi Higasa, Keitaro Tanaka, Qi Feng, Shigeo Morishima | 2023-09-30T12:18:31Z | cs.CL, cs.HC | Language learners should regularly engage in reading challenging materials as
part of their study routine. Nevertheless, constantly referring to dictionaries
is time-consuming and distracting. This paper presents a novel gaze-driven
sentence simplification system designed to enhance reading comprehension while
maintaining their focus on the content. Our system incorporates machine
learning models tailored to individual learners, combining eye gaze features
and linguistic features to assess sentence comprehension. When the system
identifies comprehension difficulties, it provides simplified versions by
replacing complex vocabulary and grammar with simpler alternatives via GPT-3.5.
We conducted an experiment with 19 English learners, collecting data on their
eye movements while reading English text. The results demonstrated that our
system is capable of accurately estimating sentence-level comprehension.
Additionally, we found that GPT-3.5 simplification improved readability in
terms of traditional readability metrics and individual word difficulty,
paraphrasing across different linguistic levels. | cs.CL | Gaze-Driven Sentence Simplification for Language Learners: Enhancing Comprehension and Readability |
2023-09-30T12:06:04Z | http://arxiv.org/pdf/2310.00347v3 | http://arxiv.org/abs/2310.00347v3 | Shaina Raza, Oluwanifemi Bamgbose, Veronica Chatrath, Shardul Ghuge, Yan Sidyakin, Abdullah Y Muaad | 2024-04-17T11:48:11Z | cs.CL, cs.AI | Bias detection in text is crucial for combating the spread of negative
stereotypes, misinformation, and biased decision-making. Traditional language
models frequently face challenges in generalizing beyond their training data
and are typically designed for a single task, often focusing on bias detection
at the sentence level. To address this, we present the Contextualized
Bi-Directional Dual Transformer (CBDT) \textcolor{green}{\faLeaf} classifier.
This model combines two complementary transformer networks: the Context
Transformer and the Entity Transformer, with a focus on improving bias
detection capabilities. We have prepared a dataset specifically for training
these models to identify and locate biases in texts. Our evaluations across
various datasets demonstrate CBDT \textcolor{green} effectiveness in
distinguishing biased narratives from neutral ones and identifying specific
biased terms. This work paves the way for applying the CBDT \textcolor{green}
model in various linguistic and cultural contexts, enhancing its utility in
bias detection efforts. We also make the annotated dataset available for
research purposes. | cs.CL | Unlocking Bias Detection: Leveraging Transformer-Based Models for Content Analysis |
2023-09-30T09:35:50Z | http://arxiv.org/pdf/2310.00322v4 | http://arxiv.org/abs/2310.00322v4 | Chengdong Ma, Ziran Yang, Minquan Gao, Hai Ci, Jun Gao, Xuehai Pan, Yaodong Yang | 2024-04-06T16:48:20Z | cs.CL, cs.GT | Deployable Large Language Models (LLMs) must conform to the criterion of
helpfulness and harmlessness, thereby achieving consistency between LLMs
outputs and human values. Red-teaming techniques constitute a critical way
towards this criterion. Existing work rely solely on manual red team designs
and heuristic adversarial prompts for vulnerability detection and optimization.
These approaches lack rigorous mathematical formulation, thus limiting the
exploration of diverse attack strategy within quantifiable measure and
optimization of LLMs under convergence guarantees. In this paper, we present
Red-teaming Game (RTG), a general game-theoretic framework without manual
annotation. RTG is designed for analyzing the multi-turn attack and defense
interactions between Red-team language Models (RLMs) and Blue-team Language
Model (BLM). Within the RTG, we propose Gamified Red-teaming Solver (GRTS) with
diversity measure of the semantic space. GRTS is an automated red teaming
technique to solve RTG towards Nash equilibrium through meta-game analysis,
which corresponds to the theoretically guaranteed optimization direction of
both RLMs and BLM. Empirical results in multi-turn attacks with RLMs show that
GRTS autonomously discovered diverse attack strategies and effectively improved
security of LLMs, outperforming existing heuristic red-team designs. Overall,
RTG has established a foundational framework for red teaming tasks and
constructed a new scalable oversight technique for alignment. | cs.CL | Red Teaming Game: A Game-Theoretic Framework for Red Teaming Language Models |
2023-09-30T09:01:35Z | http://arxiv.org/pdf/2310.00313v4 | http://arxiv.org/abs/2310.00313v4 | Safoora Yousefi, Leo Betthauser, Hosein Hasanbeig, Raphaël Millière, Ida Momennejad | 2024-02-21T19:51:20Z | cs.CL | Large language models (LLMs) exhibit remarkable performance improvement
through in-context learning (ICL) by leveraging task-specific examples in the
input. However, the mechanisms behind this improvement remain elusive. In this
work, we investigate how LLM embeddings and attention representations change
following in-context-learning, and how these changes mediate improvement in
behavior. We employ neuroscience-inspired techniques such as representational
similarity analysis (RSA) and propose novel methods for parameterized probing
and measuring ratio of attention to relevant vs. irrelevant information in
Llama-2 70B and Vicuna 13B. We designed two tasks with a priori relationships
among their conditions: linear regression and reading comprehension. We formed
hypotheses about expected similarities in task representations and measured
hypothesis alignment of LLM representations before and after ICL as well as
changes in attention. Our analyses revealed a meaningful correlation between
improvements in behavior after ICL and changes in both embeddings and attention
weights across LLM layers. This empirical framework empowers a nuanced
understanding of how latent representations shape LLM behavior, offering
valuable tools and insights for future research and practical applications. | cs.CL | Decoding In-Context Learning: Neuroscience-inspired Analysis of Representations in Large Language Models |
2023-09-30T08:33:04Z | http://arxiv.org/pdf/2310.00305v1 | http://arxiv.org/abs/2310.00305v1 | Xuan Zhang, Wei Gao | 2023-09-30T08:33:04Z | cs.CL | While large pre-trained language models (LLMs) have shown their impressive
capabilities in various NLP tasks, they are still under-explored in the
misinformation domain. In this paper, we examine LLMs with in-context learning
(ICL) for news claim verification, and find that only with 4-shot demonstration
examples, the performance of several prompting methods can be comparable with
previous supervised models. To further boost performance, we introduce a
Hierarchical Step-by-Step (HiSS) prompting method which directs LLMs to
separate a claim into several subclaims and then verify each of them via
multiple questions-answering steps progressively. Experiment results on two
public misinformation datasets show that HiSS prompting outperforms
state-of-the-art fully-supervised approach and strong few-shot ICL-enabled
baselines. | cs.CL | Towards LLM-based Fact Verification on News Claims with a Hierarchical Step-by-Step Prompting Method |
2023-09-30T08:15:36Z | http://arxiv.org/pdf/2310.00299v2 | http://arxiv.org/abs/2310.00299v2 | Asahi Ushio, Jose Camacho-Collados, Steven Schockaert | 2023-10-08T16:22:26Z | cs.CL | Many applications need access to background knowledge about how different
concepts and entities are related. Although Knowledge Graphs (KG) and Large
Language Models (LLM) can address this need to some extent, KGs are inevitably
incomplete and their relational schema is often too coarse-grained, while LLMs
are inefficient and difficult to control. As an alternative, we propose to
extract relation embeddings from relatively small language models. In
particular, we show that masked language models such as RoBERTa can be
straightforwardly fine-tuned for this purpose, using only a small amount of
training data. The resulting model, which we call RelBERT, captures relational
similarity in a surprisingly fine-grained way, allowing us to set a new
state-of-the-art in analogy benchmarks. Crucially, RelBERT is capable of
modelling relations that go well beyond what the model has seen during
training. For instance, we obtained strong results on relations between named
entities with a model that was only trained on lexical relations between
concepts, and we observed that RelBERT can recognise morphological analogies
despite not being trained on such examples. Overall, we find that RelBERT
significantly outperforms strategies based on prompting language models that
are several orders of magnitude larger, including recent GPT-based models and
open source models. | cs.CL | RelBERT: Embedding Relations with Language Models |
2023-09-30T08:13:49Z | http://arxiv.org/pdf/2310.00297v3 | http://arxiv.org/abs/2310.00297v3 | Jianhao Yan, Jin Xu, Chiyu Song, Chenming Wu, Yafu Li, Yue Zhang | 2024-02-21T09:21:52Z | cs.CL | This paper explores the elusive mechanism underpinning in-context learning in
Large Language Models (LLMs). Our work provides a novel perspective by
examining in-context learning via the lens of surface repetitions. We
quantitatively investigate the role of surface features in text generation, and
empirically establish the existence of \emph{token co-occurrence
reinforcement}, a principle that strengthens the relationship between two
tokens based on their contextual co-occurrences. By investigating the dual
impacts of these features, our research illuminates the internal workings of
in-context learning and expounds on the reasons for its failures. This paper
provides an essential contribution to the understanding of in-context learning
and its potential limitations, providing a fresh perspective on this exciting
capability. | cs.CL | Understanding In-Context Learning from Repetitions |
2023-09-30T07:11:39Z | http://arxiv.org/pdf/2310.00280v2 | http://arxiv.org/abs/2310.00280v2 | Qiushi Sun, Zhangyue Yin, Xiang Li, Zhiyong Wu, Xipeng Qiu, Lingpeng Kong | 2024-04-07T16:20:59Z | cs.AI, cs.CL | Large Language Models (LLMs) are evolving at an unprecedented pace and have
exhibited considerable capability in the realm of natural language processing
(NLP) with world knowledge. Benefiting from ultra-large-scale training corpora,
a single LLM can manage typical NLP tasks competently. However, its performance
in executing reasoning tasks is still confined by the limitations of its
internal representations. To push this boundary further, we introduce Corex in
this paper, a suite of novel general-purpose strategies that transform LLMs
into autonomous agents pioneering multi-model collaborations for complex
task-solving. Inspired by human behaviors, Corex is constituted by diverse
collaboration paradigms including Debate, Review, and Retrieve modes, which
collectively work towards enhancing the factuality, faithfulness, and
reliability of the reasoning process. These paradigms foster task-agnostic
approaches that enable LLMs to ''think outside the box,'' thereby overcoming
hallucinations and providing better solutions. Through extensive experiments
across four different types of reasoning tasks, we demonstrate that
orchestrating multiple LLMs to work in concert yields substantially better
performance compared to existing methods. Further results and in-depth analysis
demonstrate the cost-effectiveness of our method, facilitating collaboration
among different LLMs and promoting annotation efficiency. | cs.AI | Corex: Pushing the Boundaries of Complex Reasoning through Multi-Model Collaboration |
2023-09-30T06:38:43Z | http://arxiv.org/pdf/2310.00274v1 | http://arxiv.org/abs/2310.00274v1 | Tobi Olatunji, Tejumade Afonja, Aditya Yadavalli, Chris Chinenye Emezue, Sahib Singh, Bonaventure F. P. Dossou, Joanne Osuchukwu, Salomey Osei, Atnafu Lambebo Tonja, Naome Etori, Clinton Mbataku | 2023-09-30T06:38:43Z | cs.CL | Africa has a very low doctor-to-patient ratio. At very busy clinics, doctors
could see 30+ patients per day -- a heavy patient burden compared with
developed countries -- but productivity tools such as clinical automatic speech
recognition (ASR) are lacking for these overworked clinicians. However,
clinical ASR is mature, even ubiquitous, in developed nations, and
clinician-reported performance of commercial clinical ASR systems is generally
satisfactory. Furthermore, the recent performance of general domain ASR is
approaching human accuracy. However, several gaps exist. Several publications
have highlighted racial bias with speech-to-text algorithms and performance on
minority accents lags significantly. To our knowledge, there is no publicly
available research or benchmark on accented African clinical ASR, and speech
data is non-existent for the majority of African accents. We release
AfriSpeech, 200hrs of Pan-African English speech, 67,577 clips from 2,463
unique speakers across 120 indigenous accents from 13 countries for clinical
and general domain ASR, a benchmark test set, with publicly available
pre-trained models with SOTA performance on the AfriSpeech benchmark. | cs.CL | AfriSpeech-200: Pan-African Accented Speech Dataset for Clinical and General Domain ASR |
2023-09-30T06:25:27Z | http://arxiv.org/pdf/2310.00272v1 | http://arxiv.org/abs/2310.00272v1 | Baphumelele Masikisiki, Vukosi Marivate, Yvette Hlope | 2023-09-30T06:25:27Z | cs.CL, cs.AI | Large Language Models, such as Generative Pre-trained Transformer 3 (aka.
GPT-3), have been developed to understand language through the analysis of
extensive text data, allowing them to identify patterns and connections between
words. While LLMs have demonstrated impressive performance across various
text-related tasks, they encounter challenges in tasks associated with
reasoning. To address this challenge, Chain of Thought(CoT) prompting method
has been proposed as a means to enhance LLMs' proficiency in complex reasoning
tasks like solving math word problems and answering questions based on logical
argumentative reasoning. The primary aim of this research is to assess how well
four language models can grade reflective essays of third-year medical
students. The assessment will specifically target the evaluation of critical
thinking skills using CoT prompting.
The research will provide the following contributions; to introduce and
educate on the process of instructing models to evaluate reflective essays from
a dataset they have not been previously trained on; to illustrate the use of
CoT prompting as an instructional approach for training large models to carry
out particular tasks. Our results suggest that among all the models, Llama-7b
performs the least effectively, displaying the highest mean squared error.
Conversely, ChatGPT emerges as the superior model, boasting a higher Cohen
kappa score value of 0.53. Lastly, it's important to note that the selected
models do prioritise user privacy by allowing users to delete their own
conducted conversations. | cs.CL | Investigating the Efficacy of Large Language Models in Reflective Assessment Methods through Chain of Thoughts Prompting |
2023-09-30T05:20:02Z | http://arxiv.org/pdf/2310.00259v1 | http://arxiv.org/abs/2310.00259v1 | Zouying Cao, Yifei Yang, Hai Zhao | 2023-09-30T05:20:02Z | cs.CL | While Large language models (LLMs) have garnered widespread applications
across various domains due to their powerful language understanding and
generation capabilities, the detection of non-factual or hallucinatory content
generated by LLMs remains scarce. Currently, one significant challenge in
hallucination detection is the laborious task of time-consuming and expensive
manual annotation of the hallucinatory generation. To address this issue, this
paper first introduces a method for automatically constructing model-specific
hallucination datasets based on existing fact-checking datasets called
AutoHall. Furthermore, we propose a zero-resource and black-box hallucination
detection method based on self-contradiction. We conduct experiments towards
prevalent open-/closed-source LLMs, achieving superior hallucination detection
performance compared to extant baselines. Moreover, our experiments reveal
variations in hallucination proportions and types among different models. | cs.CL | AutoHall: Automated Hallucination Dataset Generation for Large Language Models |
2023-09-30T02:27:45Z | http://arxiv.org/pdf/2310.00230v1 | http://arxiv.org/abs/2310.00230v1 | Mingqiu Wang, Wei Han, Izhak Shafran, Zelin Wu, Chung-Cheng Chiu, Yuan Cao, Yongqiang Wang, Nanxin Chen, Yu Zhang, Hagen Soltau, Paul Rubenstein, Lukas Zilka, Dian Yu, Zhong Meng, Golan Pundak, Nikhil Siddhartha, Johan Schalkwyk, Yonghui Wu | 2023-09-30T02:27:45Z | cs.CL, cs.SD, eess.AS | We present a joint Speech and Language Model (SLM), a multitask,
multilingual, and dual-modal model that takes advantage of pretrained
foundational speech and language models. SLM freezes the pretrained foundation
models to maximally preserves their capabilities, and only trains a simple
adapter with just 1\% (156M) of the foundation models' parameters. This
adaptation not only leads SLM to achieve strong performance on conventional
tasks such as speech recognition (ASR) and speech translation (AST), but also
introduces the novel capability of zero-shot instruction-following for more
diverse tasks: given a speech input and a text instruction, SLM is able to
perform unseen generation tasks including contextual biasing ASR using
real-time context, dialog generation, speech continuation, and question
answering, etc. Our approach demonstrates that the representational gap between
pretrained speech and language models might be narrower than one would expect,
and can be bridged by a simple adaptation mechanism. As a result, SLM is not
only efficient to train, but also inherits strong capabilities already acquired
in foundation models of different modalities. | cs.CL | SLM: Bridge the thin gap between speech and text foundation models |
2023-09-30T01:23:22Z | http://arxiv.org/pdf/2310.00212v3 | http://arxiv.org/abs/2310.00212v3 | Tianhao Wu, Banghua Zhu, Ruoyu Zhang, Zhaojin Wen, Kannan Ramchandran, Jiantao Jiao | 2023-10-10T02:32:08Z | cs.LG, cs.AI, cs.CL | Large Language Models (LLMs) can acquire extensive world knowledge through
pre-training on large corpora. However, due to exposure to low-quality data,
LLMs may exhibit harmful behavior without aligning with human values. The
dominant approach for steering LLMs towards beneficial behavior involves
Reinforcement Learning with Human Feedback (RLHF), with Proximal Policy
Optimization (PPO) serving as the default RL optimizer. Despite its
effectiveness, PPO has limitations when optimizing rewards trained from
comparison-based loss. Primarily, PPO is not invariant to equivalent reward
functions containing identical preference information due to the need to
calibrate the reward scale. Additionally, PPO's necessity for token-wise
updates introduces complexity in both function approximation and algorithm
design compared to trajectory-wise optimization. This paper proposes a new
framework, reinforcement learning with relative feedback, and a novel
trajectory-wise policy gradient algorithm, Pairwise Proximal Policy
Optimization (P3O) that operates directly on comparative rewards. We show
theoretically that P3O is invariant to equivalent rewards and avoids the
complexity of PPO. Empirical evaluations demonstrate that P3O outperforms PPO
in the KL-Reward trade-off and can align with human preferences as well as or
better than prior methods. In summary, this work introduces a simpler yet
effective approach for aligning LLMs to human preferences through relative
feedback. | cs.LG | Pairwise Proximal Policy Optimization: Harnessing Relative Feedback for LLM Alignment |
2023-09-30T00:54:59Z | http://arxiv.org/pdf/2310.00207v1 | http://arxiv.org/abs/2310.00207v1 | Lee Kezar, Aryan Shukla | 2023-09-30T00:54:59Z | cs.CL | Multiword expressions present unique challenges in many translation tasks. In
an attempt to ultimately apply a multiword expression detection system to the
translation of American Sign Language, we built and tested two systems that
apply word embeddings from GloVe to determine whether or not the word
embeddings of lexemes can be used to predict whether or not those lexemes
compose a multiword expression. It became apparent that word embeddings carry
data that can detect non-compositionality with decent accuracy. | cs.CL | Detecting Unseen Multiword Expressions in American Sign Language |
2023-09-30T00:46:14Z | http://arxiv.org/pdf/2310.00204v1 | http://arxiv.org/abs/2310.00204v1 | Lee Kezar, Jay Pujara | 2023-09-30T00:46:14Z | cs.CL | Scholarly documents have a great degree of variation, both in terms of
content (semantics) and structure (pragmatics). Prior work in scholarly
document understanding emphasizes semantics through document summarization and
corpus topic modeling but tends to omit pragmatics such as document
organization and flow. Using a corpus of scholarly documents across 19
disciplines and state-of-the-art language modeling techniques, we learn a fixed
set of domain-agnostic descriptors for document sections and "retrofit" the
corpus to these descriptors (also referred to as "normalization"). Then, we
analyze the position and ordering of these descriptors across documents to
understand the relationship between discipline and structure. We report
within-discipline structural archetypes, variability, and between-discipline
comparisons, supporting the hypothesis that scholarly communities, despite
their size, diversity, and breadth, share similar avenues for expressing their
work. Our findings lay the foundation for future work in assessing research
quality, domain style transfer, and further pragmatic analysis. | cs.CL | Finding Pragmatic Differences Between Disciplines |
2023-09-30T00:25:43Z | http://arxiv.org/pdf/2310.00196v1 | http://arxiv.org/abs/2310.00196v1 | Lee Kezar, Elana Pontecorvo, Adele Daniels, Connor Baer, Ruth Ferster, Lauren Berger, Jesse Thomason, Zed Sevcikova Sehyr, Naomi Caselli | 2023-09-30T00:25:43Z | cs.CL, cs.CV | Sign language recognition and translation technologies have the potential to
increase access and inclusion of deaf signing communities, but research
progress is bottlenecked by a lack of representative data. We introduce a new
resource for American Sign Language (ASL) modeling, the Sem-Lex Benchmark. The
Benchmark is the current largest of its kind, consisting of over 84k videos of
isolated sign productions from deaf ASL signers who gave informed consent and
received compensation. Human experts aligned these videos with other sign
language resources including ASL-LEX, SignBank, and ASL Citizen, enabling
useful expansions for sign and phonological feature recognition. We present a
suite of experiments which make use of the linguistic information in ASL-LEX,
evaluating the practicality and fairness of the Sem-Lex Benchmark for isolated
sign recognition (ISR). We use an SL-GCN model to show that the phonological
features are recognizable with 85% accuracy, and that they are effective as an
auxiliary target to ISR. Learning to recognize phonological features alongside
gloss results in a 6% improvement for few-shot ISR accuracy and a 2%
improvement for ISR accuracy overall. Instructions for downloading the data can
be found at https://github.com/leekezar/SemLex. | cs.CL | The Sem-Lex Benchmark: Modeling ASL Signs and Their Phonemes |
2023-09-30T00:19:10Z | http://arxiv.org/pdf/2310.00195v1 | http://arxiv.org/abs/2310.00195v1 | Lee Kezar, Riley Carlin, Tejas Srinivasan, Zed Sehyr, Naomi Caselli, Jesse Thomason | 2023-09-30T00:19:10Z | cs.CL, cs.CV | Like speech, signs are composed of discrete, recombinable features called
phonemes. Prior work shows that models which can recognize phonemes are better
at sign recognition, motivating deeper exploration into strategies for modeling
sign language phonemes. In this work, we learn graph convolution networks to
recognize the sixteen phoneme "types" found in ASL-LEX 2.0. Specifically, we
explore how learning strategies like multi-task and curriculum learning can
leverage mutually useful information between phoneme types to facilitate better
modeling of sign language phonemes. Results on the Sem-Lex Benchmark show that
curriculum learning yields an average accuracy of 87% across all phoneme types,
outperforming fine-tuning and multi-task strategies for most phoneme types. | cs.CL | Exploring Strategies for Modeling Sign Language Phonology |
2023-09-29T22:50:10Z | http://arxiv.org/pdf/2310.00178v1 | http://arxiv.org/abs/2310.00178v1 | Weiran Wang, Zelin Wu, Diamantino Caseiro, Tsendsuren Munkhdalai, Khe Chai Sim, Pat Rondon, Golan Pundak, Gan Song, Rohit Prabhavalkar, Zhong Meng, Ding Zhao, Tara Sainath, Pedro Moreno Mengibar | 2023-09-29T22:50:10Z | cs.CL, eess.AS | Contextual biasing refers to the problem of biasing the automatic speech
recognition (ASR) systems towards rare entities that are relevant to the
specific user or application scenarios. We propose algorithms for contextual
biasing based on the Knuth-Morris-Pratt algorithm for pattern matching. During
beam search, we boost the score of a token extension if it extends matching
into a set of biasing phrases. Our method simulates the classical approaches
often implemented in the weighted finite state transducer (WFST) framework, but
avoids the FST language altogether, with careful considerations on memory
footprint and efficiency on tensor processing units (TPUs) by vectorization.
Without introducing additional model parameters, our method achieves
significant word error rate (WER) reductions on biasing test sets by itself,
and yields further performance gain when combined with a model-based biasing
method. | cs.CL | Contextual Biasing with the Knuth-Morris-Pratt Matching Algorithm |
2023-09-29T21:53:46Z | http://arxiv.org/pdf/2310.00160v2 | http://arxiv.org/abs/2310.00160v2 | Junmo Kang, Hongyin Luo, Yada Zhu, Jacob Hansen, James Glass, David Cox, Alan Ritter, Rogerio Feris, Leonid Karlinsky | 2024-06-05T19:48:45Z | cs.CL, cs.AI | Recent works have demonstrated the effectiveness of self-alignment in which a
large language model is aligned to follow general instructions using
instructional data generated from the model itself starting from a handful of
human-written seeds. Instead of general alignment, in this work, we focus on
self-alignment for expert domain specialization (e.g., biomedicine, finance).
As a preliminary, we quantitively show the marginal effect that generic
instruction-following training has on downstream expert domains' performance.
To remedy this, we propose self-specialization - allowing for effective model
specialization while achieving cross-task generalization by leveraging only a
few labeled seeds. Self-specialization offers a data- and parameter-efficient
way of "carving out" an expert model out of a generalist pre-trained LLM.
Exploring a variety of popular open large models as a base for specialization,
our experimental results in both biomedical and financial domains show that our
self-specialized models outperform their base models by a large margin, and
even larger models that are generally instruction-tuned or that have been
adapted to the target domain by other means. | cs.CL | Self-Specialization: Uncovering Latent Expertise within Large Language Models |
2023-09-29T21:15:49Z | http://arxiv.org/pdf/2310.00152v2 | http://arxiv.org/abs/2310.00152v2 | Cheng Li, Mingyang Zhang, Qiaozhu Mei, Weize Kong, Michael Bendersky | 2024-02-08T18:23:33Z | cs.CL | Facilitated by large language models (LLMs), personalized text generation has
become a rapidly growing research direction. Most existing studies focus on
designing specialized models for a particular domain, or they require
fine-tuning the LLMs to generate personalized text. We consider a typical
scenario in which the large language model, which generates personalized
output, is frozen and can only be accessed through APIs. Under this constraint,
all one can do is to improve the input text (i.e., text prompts) sent to the
LLM, a procedure that is usually done manually. In this paper, we propose a
novel method to automatically revise prompts for personalized text generation.
The proposed method takes the initial prompts generated by a state-of-the-art,
multistage framework for personalized generation and rewrites a few critical
components that summarize and synthesize the personal context. The prompt
rewriter employs a training paradigm that chains together supervised learning
(SL) and reinforcement learning (RL), where SL reduces the search space of RL
and RL facilitates end-to-end training of the rewriter. Using datasets from
three representative domains, we demonstrate that the rewritten prompts
outperform both the original prompts and the prompts optimized via supervised
learning or reinforcement learning alone. In-depth analysis of the rewritten
prompts shows that they are not only human readable, but also able to guide
manual revision of prompts when there is limited resource to employ
reinforcement learning to train the prompt rewriter, or when it is costly to
deploy an automatic prompt rewriter for inference. | cs.CL | Learning to Rewrite Prompts for Personalized Text Generation |
2023-09-29T21:04:10Z | http://arxiv.org/pdf/2310.00141v2 | http://arxiv.org/abs/2310.00141v2 | Lillian Zhou, Yuxin Ding, Mingqing Chen, Harry Zhang, Rohit Prabhavalkar, Dhruv Guliani, Giovanni Motta, Rajiv Mathews | 2023-11-30T21:05:43Z | cs.CL, eess.AS | Automatic speech recognition (ASR) models are typically trained on large
datasets of transcribed speech. As language evolves and new terms come into
use, these models can become outdated and stale. In the context of models
trained on the server but deployed on edge devices, errors may result from the
mismatch between server training data and actual on-device usage. In this work,
we seek to continually learn from on-device user corrections through Federated
Learning (FL) to address this issue. We explore techniques to target fresh
terms that the model has not previously encountered, learn long-tail words, and
mitigate catastrophic forgetting. In experimental evaluations, we find that the
proposed techniques improve model recognition of fresh terms, while preserving
quality on the overall language distribution. | cs.CL | The Gift of Feedback: Improving ASR Model Quality by Learning from User Corrections through Federated Learning |
2023-09-29T19:20:27Z | http://arxiv.org/pdf/2310.00100v4 | http://arxiv.org/abs/2310.00100v4 | Mariana Lindo, Ana Sofia Santos, André Ferreira, Jianning Li, Gijs Luijten, Gustavo Correia, Moon Kim, Benedikt Michael Schaarschmidt, Cornelius Deuschl, Johannes Haubold, Jens Kleesiek, Jan Egger, Victor Alves | 2024-01-13T15:44:00Z | cs.CL, cs.AI | The impression section of a radiology report summarizes important radiology
findings and plays a critical role in communicating these findings to
physicians. However, the preparation of these summaries is time-consuming and
error-prone for radiologists. Recently, numerous models for radiology report
summarization have been developed. Nevertheless, there is currently no model
that can summarize these reports in multiple languages. Such a model could
greatly improve future research and the development of Deep Learning models
that incorporate data from patients with different ethnic backgrounds. In this
study, the generation of radiology impressions in different languages was
automated by fine-tuning a model, publicly available, based on a multilingual
text-to-text Transformer to summarize findings available in English,
Portuguese, and German radiology reports. In a blind test, two board-certified
radiologists indicated that for at least 70% of the system-generated summaries,
the quality matched or exceeded the corresponding human-written summaries,
suggesting substantial clinical reliability. Furthermore, this study showed
that the multilingual model outperformed other models that specialized in
summarizing radiology reports in only one language, as well as models that were
not specifically designed for summarizing radiology reports, such as ChatGPT. | cs.CL | Multilingual Natural Language Processing Model for Radiology Reports -- The Summary is all you need! |
2023-09-29T19:06:52Z | http://arxiv.org/pdf/2310.00092v1 | http://arxiv.org/abs/2310.00092v1 | Yang Su | 2023-09-29T19:06:52Z | cs.CL, cs.AI, cs.HC | Large Language Models (LLMs) are trained and aligned to follow natural
language instructions with only a handful of examples, and they are prompted as
task-driven autonomous agents to adapt to various sources of execution
environments. However, deploying agent LLMs in virtual reality (VR) has been
challenging due to the lack of efficiency in online interactions and the
complex manipulation categories in 3D environments. In this work, we propose
Voice2Action, a framework that hierarchically analyzes customized voice signals
and textual commands through action and entity extraction and divides the
execution tasks into canonical interaction subsets in real-time with error
prevention from environment feedback. Experiment results in an urban
engineering VR environment with synthetic instruction data show that
Voice2Action can perform more efficiently and accurately than approaches
without optimizations. | cs.CL | Voice2Action: Language Models as Agent for Efficient Real-Time Interaction in Virtual Reality |
2023-09-29T18:35:52Z | http://arxiv.org/pdf/2312.09469v1 | http://arxiv.org/abs/2312.09469v1 | Isotta Landi, Eugenia Alleva, Alissa A. Valentine, Lauren A. Lepow, Alexander W. Charney | 2023-09-29T18:35:52Z | cs.CL, cs.AI, cs.LG | Despite being a unique source of information on patients' status and disease
progression, clinical notes are characterized by high levels of duplication and
information redundancy. In general domain text, it has been shown that
deduplication does not harm language model (LM) pretraining, thus helping
reduce the training cost. Although large LMs have proven to learn medical
knowledge, they still require specialized domain adaptation for improved
downstream clinical tasks. By leveraging large real-world clinical corpora, we
first provided a fine-grained characterization of duplicates stemming from
common writing practices and clinical relevancy. Second, we demonstrated that
deduplicating clinical text can help clinical LMs encode less redundant
information in a more efficient manner and do not harm classification tasks via
prompt-based learning. | cs.CL | Clinical Text Deduplication Practices for Efficient Pretraining and Improved Clinical Tasks |
2023-09-29T18:25:46Z | http://arxiv.org/pdf/2310.00074v2 | http://arxiv.org/abs/2310.00074v2 | Hangfeng He, Hongming Zhang, Dan Roth | 2024-04-18T21:53:10Z | cs.CL, cs.AI | To comprehensively gauge the capacity of current models for complex
reasoning, it is crucial to assess their step-by-step reasoning in a scalable
manner. Established reference-based evaluation metrics rely on human-annotated
reasoning chains as references to assess the model-derived chains. However,
such "gold-standard" human-written reasoning chains may not be unique and their
acquisition is often labor-intensive. Existing reference-free reasoning
evaluation metrics, while eliminating the need for human-crafted reasoning
chains as references, often require fine-tuning with human-derived chains
before evaluation, complicating the process and questioning their adaptability
to other datasets. To address these challenges, we harness GPT-4 to
automatically evaluate reasoning chain quality, thereby removing the dependency
on human-written reasoning chains for both model fine-tuning and evaluative
purposes. Leveraging the Socratic method, we develop SocREval ({\bf Soc}ratic
Method-Inspired {\bf R}easoning {\bf Eval}uation), a novel approach for prompt
design in reference-free reasoning evaluation. Empirical results from four
human annotated datasets reveal that SocREval significantly improves GPT-4's
performance, surpassing existing reference-free and reference-based reasoning
evaluation metrics. Beyond its demonstrated efficacy, SocREval, proves to be
both cost-efficient and robust to prompt writing and example selection, as
substantiated by our in-depth analysis. | cs.CL | SocREval: Large Language Models with the Socratic Method for Reference-Free Reasoning Evaluation |
2023-09-29T17:59:56Z | http://arxiv.org/pdf/2309.17453v4 | http://arxiv.org/abs/2309.17453v4 | Guangxuan Xiao, Yuandong Tian, Beidi Chen, Song Han, Mike Lewis | 2024-04-07T00:56:53Z | cs.CL, cs.AI | Deploying Large Language Models (LLMs) in streaming applications such as
multi-round dialogue, where long interactions are expected, is urgently needed
but poses two major challenges. Firstly, during the decoding stage, caching
previous tokens' Key and Value states (KV) consumes extensive memory. Secondly,
popular LLMs cannot generalize to longer texts than the training sequence
length. Window attention, where only the most recent KVs are cached, is a
natural approach -- but we show that it fails when the text length surpasses
the cache size. We observe an interesting phenomenon, namely attention sink,
that keeping the KV of initial tokens will largely recover the performance of
window attention. In this paper, we first demonstrate that the emergence of
attention sink is due to the strong attention scores towards initial tokens as
a "sink" even if they are not semantically important. Based on the above
analysis, we introduce StreamingLLM, an efficient framework that enables LLMs
trained with a finite length attention window to generalize to infinite
sequence lengths without any fine-tuning. We show that StreamingLLM can enable
Llama-2, MPT, Falcon, and Pythia to perform stable and efficient language
modeling with up to 4 million tokens and more. In addition, we discover that
adding a placeholder token as a dedicated attention sink during pre-training
can further improve streaming deployment. In streaming settings, StreamingLLM
outperforms the sliding window recomputation baseline by up to 22.2x speedup.
Code and datasets are provided at https://github.com/mit-han-lab/streaming-llm. | cs.CL | Efficient Streaming Language Models with Attention Sinks |
2023-09-29T17:59:38Z | http://arxiv.org/pdf/2309.17452v4 | http://arxiv.org/abs/2309.17452v4 | Zhibin Gou, Zhihong Shao, Yeyun Gong, Yelong Shen, Yujiu Yang, Minlie Huang, Nan Duan, Weizhu Chen | 2024-02-21T12:59:22Z | cs.CL, cs.AI | Large language models have made significant progress in various language
tasks, yet they still struggle with complex mathematics. In this paper, we
propose ToRA a series of Tool-integrated Reasoning Agents designed to solve
challenging mathematical problems by seamlessly integrating natural language
reasoning with the utilization of external tools (e.g., computation libraries
and symbolic solvers), thereby amalgamating the analytical prowess of language
and the computational efficiency of tools. To train ToRA, we curate interactive
tool-use trajectories on mathematical datasets, apply imitation learning on the
annotations, and propose output space shaping to further refine models'
reasoning behavior. As a result, ToRA models significantly outperform
open-source models on 10 mathematical reasoning datasets across all scales with
13%-19% absolute improvements on average. Notably, ToRA-7B reaches 44.6% on the
competition-level dataset MATH, surpassing the best open-source model
WizardMath-70B by 22% absolute. ToRA-Code-34B is also the first open-source
model that achieves an accuracy exceeding 50% on MATH, which significantly
outperforms GPT-4's CoT result, and is competitive with GPT-4 solving problems
with programs. Additionally, we conduct a comprehensive analysis of the
benefits and remaining challenges of tool interaction for mathematical
reasoning, providing valuable insights for future research. | cs.CL | ToRA: A Tool-Integrated Reasoning Agent for Mathematical Problem Solving |
2023-09-29T17:57:23Z | http://arxiv.org/pdf/2309.17447v2 | http://arxiv.org/abs/2309.17447v2 | Michael J. Parker, Caitlin Anderson, Claire Stone, YeaRim Oh | 2024-06-27T02:42:36Z | cs.CL | This paper assesses the potential for the large language models (LLMs) GPT-4
and GPT-3.5 to aid in deriving insight from education feedback surveys.
Exploration of LLM use cases in education has focused on teaching and learning,
with less exploration of capabilities in education feedback analysis. Survey
analysis in education involves goals such as finding gaps in curricula or
evaluating teachers, often requiring time-consuming manual processing of
textual responses. LLMs have the potential to provide a flexible means of
achieving these goals without specialized machine learning models or
fine-tuning. We demonstrate a versatile approach to such goals by treating them
as sequences of natural language processing (NLP) tasks including
classification (multi-label, multi-class, and binary), extraction, thematic
analysis, and sentiment analysis, each performed by LLM. We apply these
workflows to a real-world dataset of 2500 end-of-course survey comments from
biomedical science courses, and evaluate a zero-shot approach (i.e., requiring
no examples or labeled training data) across all tasks, reflecting education
settings, where labeled data is often scarce. By applying effective prompting
practices, we achieve human-level performance on multiple tasks with GPT-4,
enabling workflows necessary to achieve typical goals. We also show the
potential of inspecting LLMs' chain-of-thought (CoT) reasoning for providing
insight that may foster confidence in practice. Moreover, this study features
development of a versatile set of classification categories, suitable for
various course types (online, hybrid, or in-person) and amenable to
customization. Our results suggest that LLMs can be used to derive a range of
insights from survey text. | cs.CL | A Large Language Model Approach to Educational Survey Feedback Analysis |
2023-09-29T17:57:00Z | http://arxiv.org/pdf/2309.17446v2 | http://arxiv.org/abs/2309.17446v2 | Ansong Ni, Pengcheng Yin, Yilun Zhao, Martin Riddell, Troy Feng, Rui Shen, Stephen Yin, Ye Liu, Semih Yavuz, Caiming Xiong, Shafiq Joty, Yingbo Zhou, Dragomir Radev, Arman Cohan | 2023-10-02T09:54:50Z | cs.CL, cs.LG, cs.PL, cs.SE | Recently, large language models (LLMs), especially those that are pretrained
on code, have demonstrated strong capabilities in generating programs from
natural language inputs in a few-shot or even zero-shot manner. Despite
promising results, there is a notable lack of a comprehensive evaluation of
these models language-to-code generation capabilities. Existing studies often
focus on specific tasks, model architectures, or learning paradigms, leading to
a fragmented understanding of the overall landscape. In this work, we present
L2CEval, a systematic evaluation of the language-to-code generation
capabilities of LLMs on 7 tasks across the domain spectrum of semantic parsing,
math reasoning and Python programming, analyzing the factors that potentially
affect their performance, such as model size, pretraining data, instruction
tuning, and different prompting methods. In addition to assessing model
performance, we measure confidence calibration for the models and conduct human
evaluations of the output programs. This enables us to identify and analyze the
typical failure modes across various tasks and models. L2CEval offers a
comprehensive understanding of the capabilities and limitations of LLMs in
language-to-code generation. We also release the evaluation framework and all
model outputs, hoping to lay the groundwork for further future research in this
domain. | cs.CL | L2CEval: Evaluating Language-to-Code Generation Capabilities of Large Language Models |
2023-09-29T17:54:46Z | http://arxiv.org/pdf/2309.17444v3 | http://arxiv.org/abs/2309.17444v3 | Long Lian, Baifeng Shi, Adam Yala, Trevor Darrell, Boyi Li | 2024-05-04T19:28:10Z | cs.CV, cs.AI, cs.CL | Text-conditioned diffusion models have emerged as a promising tool for neural
video generation. However, current models still struggle with intricate
spatiotemporal prompts and often generate restricted or incorrect motion. To
address these limitations, we introduce LLM-grounded Video Diffusion (LVD).
Instead of directly generating videos from the text inputs, LVD first leverages
a large language model (LLM) to generate dynamic scene layouts based on the
text inputs and subsequently uses the generated layouts to guide a diffusion
model for video generation. We show that LLMs are able to understand complex
spatiotemporal dynamics from text alone and generate layouts that align closely
with both the prompts and the object motion patterns typically observed in the
real world. We then propose to guide video diffusion models with these layouts
by adjusting the attention maps. Our approach is training-free and can be
integrated into any video diffusion model that admits classifier guidance. Our
results demonstrate that LVD significantly outperforms its base video diffusion
model and several strong baseline methods in faithfully generating videos with
the desired attributes and motion patterns. | cs.CV | LLM-grounded Video Diffusion Models |
2023-09-29T17:40:26Z | http://arxiv.org/pdf/2309.17428v2 | http://arxiv.org/abs/2309.17428v2 | Lifan Yuan, Yangyi Chen, Xingyao Wang, Yi R. Fung, Hao Peng, Heng Ji | 2024-03-13T05:39:25Z | cs.CL, cs.AI, cs.LG | Large language models (LLMs) are often augmented with tools to solve complex
tasks. By generating code snippets and executing them through task-specific
Application Programming Interfaces (APIs), they can offload certain functions
to dedicated external modules, such as image encoding and performing
calculations. However, most existing approaches to augment LLMs with tools are
constrained by general-purpose APIs and lack the flexibility for tailoring them
to specific tasks. In this work, we present CRAFT, a general tool creation and
retrieval framework for LLMs. It creates toolsets specifically curated for the
tasks and equips LLMs with a component that retrieves tools from these sets to
enhance their capability to solve complex tasks. For each task, we collect
specific code solutions by prompting GPT-4 to solve the training examples.
Following a validation step ensuring the correctness, these solutions are
abstracted into code snippets to enhance reusability, and deduplicated for
higher quality. At inference time, the language model retrieves snippets from
the toolsets and then executes them or generates the output conditioning on the
retrieved snippets. Our method is designed to be flexible and offers a
plug-and-play approach to adapt off-the-shelf LLMs to unseen domains and
modalities, without any finetuning. Experiments on vision-language, tabular
processing, and mathematical reasoning tasks show that our approach achieves
substantial improvements compared to strong baselines. In addition, our
in-depth analysis reveals that: (1) consistent performance improvement can be
achieved by scaling up the number of tools and the capability of the backbone
models; (2) each component of our approach contributes to the performance
gains; (3) the created tools are well-structured and reliable with low
complexity and atomicity. The code is available at
https://github.com/lifan-yuan/CRAFT. | cs.CL | CRAFT: Customizing LLMs by Creating and Retrieving from Specialized Toolsets |
2023-09-29T17:34:51Z | http://arxiv.org/pdf/2309.17421v2 | http://arxiv.org/abs/2309.17421v2 | Zhengyuan Yang, Linjie Li, Kevin Lin, Jianfeng Wang, Chung-Ching Lin, Zicheng Liu, Lijuan Wang | 2023-10-11T05:07:37Z | cs.CV, cs.CL | Large multimodal models (LMMs) extend large language models (LLMs) with
multi-sensory skills, such as visual understanding, to achieve stronger generic
intelligence. In this paper, we analyze the latest model, GPT-4V(ision), to
deepen the understanding of LMMs. The analysis focuses on the intriguing tasks
that GPT-4V can perform, containing test samples to probe the quality and
genericity of GPT-4V's capabilities, its supported inputs and working modes,
and the effective ways to prompt the model. In our approach to exploring
GPT-4V, we curate and organize a collection of carefully designed qualitative
samples spanning a variety of domains and tasks. Observations from these
samples demonstrate that GPT-4V's unprecedented ability in processing
arbitrarily interleaved multimodal inputs and the genericity of its
capabilities together make GPT-4V a powerful multimodal generalist system.
Furthermore, GPT-4V's unique capability of understanding visual markers drawn
on input images can give rise to new human-computer interaction methods such as
visual referring prompting. We conclude the report with in-depth discussions on
the emerging application scenarios and the future research directions for
GPT-4V-based systems. We hope that this preliminary exploration will inspire
future research on the next-generation multimodal task formulation, new ways to
exploit and enhance LMMs to solve real-world problems, and gaining better
understanding of multimodal foundation models. Finally, we acknowledge that the
model under our study is solely the product of OpenAI's innovative work, and
they should be fully credited for its development. Please see the GPT-4V
contributions paper for the authorship and credit attribution:
https://cdn.openai.com/contributions/gpt-4v.pdf | cs.CV | The Dawn of LMMs: Preliminary Explorations with GPT-4V(ision) |
2023-09-29T17:26:03Z | http://arxiv.org/pdf/2309.17415v3 | http://arxiv.org/abs/2309.17415v3 | Jiahao Ying, Yixin Cao, Kai Xiong, Yidong He, Long Cui, Yongbin Liu | 2024-02-20T05:59:41Z | cs.CL | This study investigates the behaviors of Large Language Models (LLMs) when
faced with conflicting prompts versus their internal memory. This will not only
help to understand LLMs' decision mechanism but also benefit real-world
applications, such as retrieval-augmented generation (RAG). Drawing on
cognitive theory, we target the first scenario of decision-making styles where
there is no superiority in the conflict and categorize LLMs' preference into
dependent, intuitive, and rational/irrational styles. Another scenario of
factual robustness considers the correctness of prompt and memory in
knowledge-intensive tasks, which can also distinguish if LLMs behave rationally
or irrationally in the first scenario. To quantify them, we establish a
complete benchmarking framework including a dataset, a robustness evaluation
pipeline, and corresponding metrics. Extensive experiments with seven LLMs
reveal their varying behaviors. And, with role play intervention, we can change
the styles, but different models present distinct adaptivity and upper-bound.
One of our key takeaways is to optimize models or the prompts according to the
identified style. For instance, RAG models with high role play adaptability may
dynamically adjust the interventions according to the quality of retrieval
results -- being dependent to better leverage informative context; and, being
intuitive when external prompt is noisy. | cs.CL | Intuitive or Dependent? Investigating LLMs' Behavior Style to Conflicting Prompts |
2023-09-29T17:12:43Z | http://arxiv.org/pdf/2309.17410v1 | http://arxiv.org/abs/2309.17410v1 | Vaidehi Patil, Peter Hase, Mohit Bansal | 2023-09-29T17:12:43Z | cs.CL, cs.AI, cs.LG | Pretrained language models sometimes possess knowledge that we do not wish
them to, including memorized personal information and knowledge that could be
used to harm people. They can also output toxic or harmful text. To mitigate
these safety and informational issues, we propose an attack-and-defense
framework for studying the task of deleting sensitive information directly from
model weights. We study direct edits to model weights because (1) this approach
should guarantee that particular deleted information is never extracted by
future prompt attacks, and (2) it should protect against whitebox attacks,
which is necessary for making claims about safety/privacy in a setting where
publicly available model weights could be used to elicit sensitive information.
Our threat model assumes that an attack succeeds if the answer to a sensitive
question is located among a set of B generated candidates, based on scenarios
where the information would be insecure if the answer is among B candidates.
Experimentally, we show that even state-of-the-art model editing methods such
as ROME struggle to truly delete factual information from models like GPT-J, as
our whitebox and blackbox attacks can recover "deleted" information from an
edited model 38% of the time. These attacks leverage two key observations: (1)
that traces of deleted information can be found in intermediate model hidden
states, and (2) that applying an editing method for one question may not delete
information across rephrased versions of the question. Finally, we provide new
defense methods that protect against some extraction attacks, but we do not
find a single universally effective defense method. Our results suggest that
truly deleting sensitive information is a tractable but difficult problem,
since even relatively low attack success rates have potentially severe societal
implications for real-world deployment of language models. | cs.CL | Can Sensitive Information Be Deleted From LLMs? Objectives for Defending Against Extraction Attacks |
2023-09-29T16:30:49Z | http://arxiv.org/pdf/2310.01434v1 | http://arxiv.org/abs/2310.01434v1 | Samuel Carreira, Tomás Marques, José Ribeiro, Carlos Grilo | 2023-09-29T16:30:49Z | cs.CL, cs.AI, cs.LG | The field of Artificial Intelligence has witnessed remarkable progress in
recent years, especially with the emergence of powerful large language models
(LLMs) based on the transformer architecture. Cloud-based LLMs, such as
OpenAI's ChatGPT, offer impressive capabilities but come with concerns
regarding latency and privacy due to network dependencies. This article
presents an innovative approach to LLM inference, envisioning a future where
LLMs with billions of parameters can be executed directly on mobile devices
without network connectivity. The article showcases a fine-tuned GPT LLM with 3
billion parameters that can operate smoothly on devices with as low as 4GB of
memory. Through the integration of native code and model quantization
techniques, the application not only serves as a general-purpose assistant but
also facilitates seamless mobile interactions with text-to-actions features.
The article provides insights into the training pipeline, implementation
details, test results, and future directions of on-device LLM inference. This
breakthrough technology opens up possibilities for empowering users with
sophisticated AI capabilities while preserving their privacy and eliminating
latency concerns. | cs.CL | Revolutionizing Mobile Interaction: Enabling a 3 Billion Parameter GPT LLM on Mobile |
2023-09-29T15:43:42Z | http://arxiv.org/pdf/2309.17332v2 | http://arxiv.org/abs/2309.17332v2 | Tomas Goldsack, Zheheng Luo, Qianqian Xie, Carolina Scarton, Matthew Shardlow, Sophia Ananiadou, Chenghua Lin | 2023-10-25T08:16:43Z | cs.CL | This paper presents the results of the shared task on Lay Summarisation of
Biomedical Research Articles (BioLaySumm), hosted at the BioNLP Workshop at ACL
2023. The goal of this shared task is to develop abstractive summarisation
models capable of generating "lay summaries" (i.e., summaries that are
comprehensible to non-technical audiences) in both a controllable and
non-controllable setting. There are two subtasks: 1) Lay Summarisation, where
the goal is for participants to build models for lay summary generation only,
given the full article text and the corresponding abstract as input; and 2)
Readability-controlled Summarisation, where the goal is for participants to
train models to generate both the technical abstract and the lay summary, given
an article's main text as input. In addition to overall results, we report on
the setup and insights from the BioLaySumm shared task, which attracted a total
of 20 participating teams across both subtasks. | cs.CL | Overview of the BioLaySumm 2023 Shared Task on Lay Summarization of Biomedical Research Articles |
2023-09-29T15:14:08Z | http://arxiv.org/pdf/2309.17313v1 | http://arxiv.org/abs/2309.17313v1 | Jie Zhao, Ziyu Guan, Wei Zhao, Yue Jiang, Xiaofei He | 2023-09-29T15:14:08Z | cs.CL | Recent works considering professional legal-linguistic style (PLLS) texts
have shown promising results on the charge prediction task. However,
unprofessional users also show an increasing demand on such a prediction
service. There is a clear domain discrepancy between PLLS texts and non-PLLS
texts expressed by those laypersons, which degrades the current SOTA models'
performance on non-PLLS texts. A key challenge is the scarcity of non-PLLS data
for most charge classes. This paper proposes a novel few-shot domain adaptation
(FSDA) method named Disentangled Legal Content for Charge Prediction (DLCCP).
Compared with existing FSDA works, which solely perform instance-level
alignment without considering the negative impact of text style information
existing in latent features, DLCCP (1) disentangles the content and style
representations for better domain-invariant legal content learning with
carefully designed optimization goals for content and style spaces and, (2)
employs the constitutive elements knowledge of charges to extract and align
element-level and instance-level content representations simultaneously. We
contribute the first publicly available non-PLLS dataset named NCCP for
developing layperson-friendly charge prediction models. Experiments on NCCP
show the superiority of our methods over competitive baselines. | cs.CL | Few-Shot Domain Adaptation for Charge Prediction on Unprofessional Descriptions |
2023-09-29T14:38:58Z | http://arxiv.org/pdf/2310.01432v2 | http://arxiv.org/abs/2310.01432v2 | Zongjie Li, Chaozheng Wang, Pingchuan Ma, Daoyuan Wu, Shuai Wang, Cuiyun Gao, Yang Liu | 2023-10-09T07:19:10Z | cs.CL, cs.AI | Large language models (LLMs) have shown promise as automated evaluators for
assessing the quality of answers generated by AI systems. However, these
LLM-based evaluators exhibit position bias, or inconsistency, when used to
evaluate candidate answers in pairwise comparisons, favoring either the first
or second answer regardless of content. To address this limitation, we propose
PORTIA, an alignment-based system designed to mimic human comparison strategies
to calibrate position bias in a lightweight yet effective manner. Specifically,
PORTIA splits the answers into multiple segments, aligns similar content across
candidate answers, and then merges them back into a single prompt for
evaluation by LLMs. We conducted extensive experiments with six diverse LLMs to
evaluate 11,520 answer pairs. Our results show that PORTIA markedly enhances
the consistency rates for all the models and comparison forms tested, achieving
an average relative improvement of 47.46%. Remarkably, PORTIA enables less
advanced GPT models to achieve 88% agreement with the state-of-the-art GPT-4
model at just 10% of the cost. Furthermore, it rectifies around 80% of the
position bias instances within the GPT-4 model, elevating its consistency rate
up to 98%. Subsequent human evaluations indicate that the PORTIA-enhanced
GPT-3.5 model can even surpass the standalone GPT-4 in terms of alignment with
human evaluators. These findings highlight PORTIA's ability to correct position
bias, improve LLM consistency, and boost performance while keeping
cost-efficiency. This represents a valuable step toward a more reliable and
scalable use of LLMs for automated evaluations across diverse applications. | cs.CL | Split and Merge: Aligning Position Biases in Large Language Model based Evaluators |
2023-09-29T14:35:27Z | http://arxiv.org/pdf/2310.00034v2 | http://arxiv.org/abs/2310.00034v2 | Yuzhang Shang, Zhihang Yuan, Qiang Wu, Zhen Dong | 2023-11-07T20:41:22Z | cs.LG, cs.AI, cs.CL | This paper explores network binarization, a radical form of quantization,
compressing model weights to a single bit, specifically for Large Language
Models (LLMs) compression. Due to previous binarization methods collapsing
LLMs, we propose a novel approach, Partially-Binarized LLM (PB-LLM), which can
achieve extreme low-bit quantization while maintaining the linguistic reasoning
capacity of quantized LLMs. Specifically, our exploration first uncovers the
ineffectiveness of naive applications of existing binarization algorithms and
highlights the imperative role of salient weights in achieving low-bit
quantization. Thus, PB-LLM filters a small ratio of salient weights during
binarization, allocating them to higher-bit storage, i.e.,
partially-binarization. PB-LLM is extended to recover the capacities of
quantized LMMs, by analyzing from the perspective of post-training quantization
(PTQ) and quantization-aware training (QAT). Under PTQ, combining the concepts
from GPTQ, we reconstruct the binarized weight matrix guided by the Hessian
matrix and successfully recover the reasoning capacity of PB-LLM in low-bit.
Under QAT, we freeze the salient weights during training, explore the
derivation of optimal scaling factors crucial for minimizing the quantization
error, and propose a scaling mechanism based on this derived scaling strategy
for residual binarized weights. Those explorations and the developed
methodologies significantly contribute to rejuvenating the performance of
low-bit quantized LLMs and present substantial advancements in the field of
network binarization for LLMs.The code is available at
https://github.com/hahnyuan/BinaryLLM. | cs.LG | PB-LLM: Partially Binarized Large Language Models |
2023-09-29T14:31:41Z | http://arxiv.org/pdf/2309.17280v1 | http://arxiv.org/abs/2309.17280v1 | Yang Zhong, Diane Litman | 2023-09-29T14:31:41Z | cs.CL, cs.AI | We propose an approach for the structure controllable summarization of long
legal opinions that considers the argument structure of the document. Our
approach involves using predicted argument role information to guide the model
in generating coherent summaries that follow a provided structure pattern. We
demonstrate the effectiveness of our approach on a dataset of legal opinions
and show that it outperforms several strong baselines with respect to ROUGE,
BERTScore, and structure similarity. | cs.CL | STRONG -- Structure Controllable Legal Opinion Summary Generation |
2023-09-29T14:23:26Z | http://arxiv.org/pdf/2309.17272v3 | http://arxiv.org/abs/2309.17272v3 | Baizhou Huang, Shuai Lu, Weizhu Chen, Xiaojun Wan, Nan Duan | 2024-07-02T05:02:02Z | cs.CL, cs.AI, cs.SE | Large language models (LLMs) have exhibited remarkable ability in code
generation. However, generating the correct solution in a single attempt still
remains a challenge. Prior works utilize verification properties in software
engineering to verify and re-rank solutions in a majority voting manner. But
the assumption behind them that generated verification properties have better
qualities than solutions may not always hold. In this paper, we treat them
equally as different perspectives of LLMs' reasoning processes. We propose the
Multi-Perspective Self-Consistency (MPSC) framework incorporating both inter-
and intra-consistency across outputs from multiple perspectives. Specifically,
we prompt LLMs to generate diverse outputs from three perspectives, Solution,
Specification and Test case, constructing a 3-partite graph. With two measure
functions of consistency, we embed both inter- and intra-consistency
information into the graph. The optimal choice of solutions is then determined
based on analysis in the graph. MPSC significantly boosts performance of
foundation models (ChatGPT in this paper) on various benchmarks, including
HumanEval (+15.91%), MBPP (+6.43%) and CodeContests (+9.37%), even surpassing
GPT-4. | cs.CL | Enhancing Large Language Models in Coding Through Multi-Perspective Self-Consistency |
2023-09-29T14:18:59Z | http://arxiv.org/pdf/2309.17267v1 | http://arxiv.org/abs/2309.17267v1 | Alexandra Antonova | 2023-09-29T14:18:59Z | eess.AS, cs.CL, cs.SD | We present a first large-scale public synthetic dataset for contextual
spellchecking customization of automatic speech recognition (ASR) with focus on
diverse rare and out-of-vocabulary (OOV) phrases, such as proper names or
terms. The proposed approach allows creating millions of realistic examples of
corrupted ASR hypotheses and simulate non-trivial biasing lists for the
customization task. Furthermore, we propose injecting two types of ``hard
negatives" to the simulated biasing lists in training examples and describe our
procedures to automatically mine them. We report experiments with training an
open-source customization model on the proposed dataset and show that the
injection of hard negative biasing phrases decreases WER and the number of
false alarms. | eess.AS | Wiki-En-ASR-Adapt: Large-scale synthetic dataset for English ASR Customization |
2023-09-29T14:03:34Z | http://arxiv.org/pdf/2309.17255v4 | http://arxiv.org/abs/2309.17255v4 | Jiaoyan Chen, Hang Dong, Janna Hastings, Ernesto Jiménez-Ruiz, Vanessa López, Pierre Monnin, Catia Pesquita, Petr Škoda, Valentina Tamma | 2023-12-20T13:34:31Z | cs.AI, cs.CL, I.2.4; J.3 | The term life sciences refers to the disciplines that study living organisms
and life processes, and include chemistry, biology, medicine, and a range of
other related disciplines. Research efforts in life sciences are heavily
data-driven, as they produce and consume vast amounts of scientific data, much
of which is intrinsically relational and graph-structured.
The volume of data and the complexity of scientific concepts and relations
referred to therein promote the application of advanced knowledge-driven
technologies for managing and interpreting data, with the ultimate aim to
advance scientific discovery.
In this survey and position paper, we discuss recent developments and
advances in the use of graph-based technologies in life sciences and set out a
vision for how these technologies will impact these fields into the future. We
focus on three broad topics: the construction and management of Knowledge
Graphs (KGs), the use of KGs and associated technologies in the discovery of
new knowledge, and the use of KGs in artificial intelligence applications to
support explanations (explainable AI). We select a few exemplary use cases for
each topic, discuss the challenges and open research questions within these
topics, and conclude with a perspective and outlook that summarizes the
overarching challenges and their potential solutions as a guide for future
research. | cs.AI | Knowledge Graphs for the Life Sciences: Recent Developments, Challenges and Opportunities |
2023-09-29T13:55:45Z | http://arxiv.org/pdf/2309.17249v2 | http://arxiv.org/abs/2309.17249v2 | Han Zhou, Xingchen Wan, Lev Proleev, Diana Mincu, Jilin Chen, Katherine Heller, Subhrajit Roy | 2024-01-24T18:27:30Z | cs.CL, cs.AI, cs.LG | Prompting and in-context learning (ICL) have become efficient learning
paradigms for large language models (LLMs). However, LLMs suffer from prompt
brittleness and various bias factors in the prompt, including but not limited
to the formatting, the choice verbalizers, and the ICL examples. To address
this problem that results in unexpected performance degradation, calibration
methods have been developed to mitigate the effects of these biases while
recovering LLM performance. In this work, we first conduct a systematic
analysis of the existing calibration methods, where we both provide a unified
view and reveal the failure cases. Inspired by these analyses, we propose Batch
Calibration (BC), a simple yet intuitive method that controls the contextual
bias from the batched input, unifies various prior approaches, and effectively
addresses the aforementioned issues. BC is zero-shot, inference-only, and
incurs negligible additional costs. In the few-shot setup, we further extend BC
to allow it to learn the contextual bias from labeled data. We validate the
effectiveness of BC with PaLM 2-(S, M, L) and CLIP models and demonstrate
state-of-the-art performance over previous calibration baselines across more
than 10 natural language understanding and image classification tasks. | cs.CL | Batch Calibration: Rethinking Calibration for In-Context Learning and Prompt Engineering |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.