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-16T15:10:42Z | http://arxiv.org/pdf/2310.10487v1 | http://arxiv.org/abs/2310.10487v1 | Gang Zhao, Yidong Shi, Shudong Lu, Xinjie Yang, Guanting Dong, Jian Xu, Xiaocheng Gong, Si Li | 2023-10-16T15:10:42Z | cs.CL, cs.AI, cs.IR, cs.LG | Document-level event extraction (DEE) faces two main challenges:
arguments-scattering and multi-event. Although previous methods attempt to
address these challenges, they overlook the interference of event-unrelated
sentences during event detection and neglect the mutual interference of
different event roles during argument extraction. Therefore, this paper
proposes a novel Schema-based Explicitly Aggregating~(SEA) model to address
these limitations. SEA aggregates event information into event type and role
representations, enabling the decoding of event records based on specific
type-aware representations. By detecting each event based on its event type
representation, SEA mitigates the interference caused by event-unrelated
information. Furthermore, SEA extracts arguments for each role based on its
role-aware representations, reducing mutual interference between different
roles. Experimental results on the ChFinAnn and DuEE-fin datasets show that SEA
outperforms the SOTA methods. | cs.CL | Type-aware Decoding via Explicitly Aggregating Event Information for Document-level Event Extraction |
2023-10-16T15:03:14Z | http://arxiv.org/pdf/2310.10482v1 | http://arxiv.org/abs/2310.10482v1 | Nuno M. Guerreiro, Ricardo Rei, Daan van Stigt, Luisa Coheur, Pierre Colombo, André F. T. Martins | 2023-10-16T15:03:14Z | cs.CL | Widely used learned metrics for machine translation evaluation, such as COMET
and BLEURT, estimate the quality of a translation hypothesis by providing a
single sentence-level score. As such, they offer little insight into
translation errors (e.g., what are the errors and what is their severity). On
the other hand, generative large language models (LLMs) are amplifying the
adoption of more granular strategies to evaluation, attempting to detail and
categorize translation errors. In this work, we introduce xCOMET, an
open-source learned metric designed to bridge the gap between these approaches.
xCOMET integrates both sentence-level evaluation and error span detection
capabilities, exhibiting state-of-the-art performance across all types of
evaluation (sentence-level, system-level, and error span detection). Moreover,
it does so while highlighting and categorizing error spans, thus enriching the
quality assessment. We also provide a robustness analysis with stress tests,
and show that xCOMET is largely capable of identifying localized critical
errors and hallucinations. | cs.CL | xCOMET: Transparent Machine Translation Evaluation through Fine-grained Error Detection |
2023-10-16T15:02:37Z | http://arxiv.org/pdf/2310.10481v1 | http://arxiv.org/abs/2310.10481v1 | Gang Zhao, Xiaocheng Gong, Xinjie Yang, Guanting Dong, Shudong Lu, Si Li | 2023-10-16T15:02:37Z | cs.CL, cs.AI, cs.IR, cs.LG | Most current Event Extraction (EE) methods focus on the high-resource
scenario, which requires a large amount of annotated data and can hardly be
applied to low-resource domains. To address EE more effectively with limited
resources, we propose the Demonstration-enhanced Schema-guided Generation
(DemoSG) model, which benefits low-resource EE from two aspects: Firstly, we
propose the demonstration-based learning paradigm for EE to fully use the
annotated data, which transforms them into demonstrations to illustrate the
extraction process and help the model learn effectively. Secondly, we formulate
EE as a natural language generation task guided by schema-based prompts,
thereby leveraging label semantics and promoting knowledge transfer in
low-resource scenarios. We conduct extensive experiments under in-domain and
domain adaptation low-resource settings on three datasets, and study the
robustness of DemoSG. The results show that DemoSG significantly outperforms
current methods in low-resource scenarios. | cs.CL | DemoSG: Demonstration-enhanced Schema-guided Generation for Low-resource Event Extraction |
2023-10-16T15:01:18Z | http://arxiv.org/pdf/2310.10480v1 | http://arxiv.org/abs/2310.10480v1 | Haoke Zhang, Yue Wang, Juntao Li, Xiabing Zhou, Min Zhang | 2023-10-16T15:01:18Z | cs.CL | Large Language Models~(LLMs) have demonstrated incredible capabilities in
understanding, generating, and manipulating languages. Through human-model
interactions, LLMs can automatically understand human-issued instructions and
output the expected contents, which can significantly increase working
efficiency. In various types of real-world demands, editing-oriented tasks
account for a considerable proportion, which involves an interactive process
that entails the continuous refinement of existing texts to meet specific
criteria. Due to the need for multi-round human-model interaction and the
generation of complicated editing tasks, there is an emergent need for
efficient general editing models. In this paper, we propose
\underline{\textbf{G}}eneral \underline{\textbf{SP}}arse
\underline{\textbf{E}}fficient \underline{\textbf{E}}diting
Mo\underline{\textbf{D}}el~(\textbf{G-SPEED}), which can fulfill diverse
editing requirements through a single model while maintaining low computational
costs. Specifically, we first propose a novel unsupervised text editing data
clustering algorithm to deal with the data scarcity problem. Subsequently, we
introduce a sparse editing model architecture to mitigate the inherently
limited learning capabilities of small language models. The experimental
outcomes indicate that G-SPEED, with its 508M parameters, can surpass LLMs
equipped with 175B parameters. Our code and model checkpoints are available at
\url{https://github.com/Banner-Z/G-SPEED}. | cs.CL | G-SPEED: General SParse Efficient Editing MoDel |
2023-10-16T14:59:10Z | http://arxiv.org/pdf/2310.10477v6 | http://arxiv.org/abs/2310.10477v6 | Kai Chen, Chunwei Wang, Kuo Yang, Jianhua Han, Lanqing Hong, Fei Mi, Hang Xu, Zhengying Liu, Wenyong Huang, Zhenguo Li, Dit-Yan Yeung, Lifeng Shang, Xin Jiang, Qun Liu | 2024-02-17T01:50:10Z | cs.CL, cs.AI, cs.LG | The rapid development of large language models (LLMs) has not only provided
numerous opportunities but also presented significant challenges. This becomes
particularly evident when LLMs inadvertently generate harmful or toxic content,
either unintentionally or because of intentional inducement. Existing alignment
methods usually direct LLMs toward the favorable outcomes by utilizing
human-annotated, flawless instruction-response pairs. Conversely, this study
proposes a novel alignment technique based on mistake analysis, which
deliberately exposes LLMs to erroneous content to learn the reasons for
mistakes and how to avoid them. In this case, mistakes are repurposed into
valuable data for alignment, effectively helping to avoid the production of
erroneous responses. Without external models or human annotations, our method
leverages a model's intrinsic ability to discern undesirable mistakes and
improves the safety of its generated responses. Experimental results reveal
that our method outperforms existing alignment approaches in enhancing model
safety while maintaining the overall utility. | cs.CL | Gaining Wisdom from Setbacks: Aligning Large Language Models via Mistake Analysis |
2023-10-16T14:46:52Z | http://arxiv.org/pdf/2310.10467v2 | http://arxiv.org/abs/2310.10467v2 | Xiaochong Lan, Chen Gao, Depeng Jin, Yong Li | 2024-04-16T06:06:43Z | cs.CL, cs.AI | Stance detection automatically detects the stance in a text towards a target,
vital for content analysis in web and social media research. Despite their
promising capabilities, LLMs encounter challenges when directly applied to
stance detection. First, stance detection demands multi-aspect knowledge, from
deciphering event-related terminologies to understanding the expression styles
in social media platforms. Second, stance detection requires advanced reasoning
to infer authors' implicit viewpoints, as stance are often subtly embedded
rather than overtly stated in the text. To address these challenges, we design
a three-stage framework COLA (short for Collaborative rOle-infused LLM-based
Agents) in which LLMs are designated distinct roles, creating a collaborative
system where each role contributes uniquely. Initially, in the multidimensional
text analysis stage, we configure the LLMs to act as a linguistic expert, a
domain specialist, and a social media veteran to get a multifaceted analysis of
texts, thus overcoming the first challenge. Next, in the reasoning-enhanced
debating stage, for each potential stance, we designate a specific LLM-based
agent to advocate for it, guiding the LLM to detect logical connections between
text features and stance, tackling the second challenge. Finally, in the stance
conclusion stage, a final decision maker agent consolidates prior insights to
determine the stance. Our approach avoids extra annotated data and model
training and is highly usable. We achieve state-of-the-art performance across
multiple datasets. Ablation studies validate the effectiveness of each design
role in handling stance detection. Further experiments have demonstrated the
explainability and the versatility of our approach. Our approach excels in
usability, accuracy, effectiveness, explainability and versatility,
highlighting its value. | cs.CL | Stance Detection with Collaborative Role-Infused LLM-Based Agents |
2023-10-16T14:33:02Z | http://arxiv.org/pdf/2310.10449v2 | http://arxiv.org/abs/2310.10449v2 | Lochan Basyal, Mihir Sanghvi | 2023-10-17T19:54:16Z | cs.CL, cs.AI, cs.LG | Text summarization is a critical Natural Language Processing (NLP) task with
applications ranging from information retrieval to content generation.
Leveraging Large Language Models (LLMs) has shown remarkable promise in
enhancing summarization techniques. This paper embarks on an exploration of
text summarization with a diverse set of LLMs, including MPT-7b-instruct,
falcon-7b-instruct, and OpenAI ChatGPT text-davinci-003 models. The experiment
was performed with different hyperparameters and evaluated the generated
summaries using widely accepted metrics such as the Bilingual Evaluation
Understudy (BLEU) Score, Recall-Oriented Understudy for Gisting Evaluation
(ROUGE) Score, and Bidirectional Encoder Representations from Transformers
(BERT) Score. According to the experiment, text-davinci-003 outperformed the
others. This investigation involved two distinct datasets: CNN Daily Mail and
XSum. Its primary objective was to provide a comprehensive understanding of the
performance of Large Language Models (LLMs) when applied to different datasets.
The assessment of these models' effectiveness contributes valuable insights to
researchers and practitioners within the NLP domain. This work serves as a
resource for those interested in harnessing the potential of LLMs for text
summarization and lays the foundation for the development of advanced
Generative AI applications aimed at addressing a wide spectrum of business
challenges. | cs.CL | Text Summarization Using Large Language Models: A Comparative Study of MPT-7b-instruct, Falcon-7b-instruct, and OpenAI Chat-GPT Models |
2023-10-16T14:29:35Z | http://arxiv.org/pdf/2310.10445v1 | http://arxiv.org/abs/2310.10445v1 | Markus J. Buehler | 2023-10-16T14:29:35Z | cs.CL, cond-mat.mtrl-sci | For centuries, researchers have sought out ways to connect disparate areas of
knowledge. While early scholars (Galileo, da Vinci, etc.) were experts across
fields, specialization has taken hold later. With the advent of Artificial
Intelligence, we can now explore relationships across areas (e.g.,
mechanics-biology) or disparate domains (e.g., failure mechanics-art). To
achieve this, we use a fine-tuned Large Language Model (LLM), here for a subset
of knowledge in multiscale materials failure. The approach includes the use of
a general-purpose LLM to distill question-answer pairs from raw sources
followed by LLM fine-tuning. The resulting MechGPT LLM foundation model is used
in a series of computational experiments to explore its capacity for knowledge
retrieval, various language tasks, hypothesis generation, and connecting
knowledge across disparate areas. While the model has some ability to recall
knowledge from training, we find that LLMs are particularly useful to extract
structural insights through Ontological Knowledge Graphs. These interpretable
graph structures provide explanatory insights, frameworks for new research
questions, and visual representations of knowledge that also can be used in
retrieval-augmented generation. Three versions of MechGPT are discussed,
featuring different sizes from 13 billion to 70 billion parameters, and
reaching context lengths of more than 10,000 tokens. This provides ample
capacity for sophisticated retrieval augmented strategies, as well as
agent-based modeling where multiple LLMs interact collaboratively and/or
adversarially, the incorporation of new data from the literature or web
searches, as well as multimodality. | cs.CL | MechGPT, a language-based strategy for mechanics and materials modeling that connects knowledge across scales, disciplines and modalities |
2023-10-16T14:13:38Z | http://arxiv.org/pdf/2310.10429v1 | http://arxiv.org/abs/2310.10429v1 | Qiong Nan, Qiang Sheng, Juan Cao, Yongchun Zhu, Danding Wang, Guang Yang, Jintao Li, Kai Shu | 2023-10-16T14:13:38Z | cs.CL, cs.CY, cs.SI | Both accuracy and timeliness are key factors in detecting fake news on social
media. However, most existing methods encounter an accuracy-timeliness dilemma:
Content-only methods guarantee timeliness but perform moderately because of
limited available information, while social context-based ones generally
perform better but inevitably lead to latency because of social context
accumulation needs. To break such a dilemma, a feasible but not well-studied
solution is to leverage social contexts (e.g., comments) from historical news
for training a detection model and apply it to newly emerging news without
social contexts. This requires the model to (1) sufficiently learn helpful
knowledge from social contexts, and (2) be well compatible with situations that
social contexts are available or not. To achieve this goal, we propose to
absorb and parameterize useful knowledge from comments in historical news and
then inject it into a content-only detection model. Specifically, we design the
Comments Assisted Fake News Detection method (CAS-FEND), which transfers useful
knowledge from a comments-aware teacher model to a content-only student model
during training. The student model is further used to detect newly emerging
fake news. Experiments show that the CAS-FEND student model outperforms all
content-only methods and even those with 1/4 comments as inputs, demonstrating
its superiority for early detection. | cs.CL | Exploiting User Comments for Early Detection of Fake News Prior to Users' Commenting |
2023-10-16T13:41:27Z | http://arxiv.org/pdf/2310.10400v1 | http://arxiv.org/abs/2310.10400v1 | Xiaohang Tang, Yi Zhou, Taichi Aida, Procheta Sen, Danushka Bollegala | 2023-10-16T13:41:27Z | cs.CL, cs.AI, cs.LG | Semantic Change Detection (SCD) of words is an important task for various NLP
applications that must make time-sensitive predictions. Some words are used
over time in novel ways to express new meanings, and these new meanings
establish themselves as novel senses of existing words. On the other hand, Word
Sense Disambiguation (WSD) methods associate ambiguous words with sense ids,
depending on the context in which they occur. Given this relationship between
WSD and SCD, we explore the possibility of predicting whether a target word has
its meaning changed between two corpora collected at different time steps, by
comparing the distributions of senses of that word in each corpora. For this
purpose, we use pretrained static sense embeddings to automatically annotate
each occurrence of the target word in a corpus with a sense id. Next, we
compute the distribution of sense ids of a target word in a given corpus.
Finally, we use different divergence or distance measures to quantify the
semantic change of the target word across the two given corpora. Our
experimental results on SemEval 2020 Task 1 dataset show that word sense
distributions can be accurately used to predict semantic changes of words in
English, German, Swedish and Latin. | cs.CL | Can Word Sense Distribution Detect Semantic Changes of Words? |
2023-10-16T13:39:44Z | http://arxiv.org/pdf/2310.10397v1 | http://arxiv.org/abs/2310.10397v1 | Taichi Aida, Danushka Bollegala | 2023-10-16T13:39:44Z | cs.CL | Meanings of words change over time and across domains. Detecting the semantic
changes of words is an important task for various NLP applications that must
make time-sensitive predictions. We consider the problem of predicting whether
a given target word, $w$, changes its meaning between two different text
corpora, $\mathcal{C}_1$ and $\mathcal{C}_2$. For this purpose, we propose
$\textit{Swapping-based Semantic Change Detection}$ (SSCD), an unsupervised
method that randomly swaps contexts between $\mathcal{C}_1$ and $\mathcal{C}_2$
where $w$ occurs. We then look at the distribution of contextualised word
embeddings of $w$, obtained from a pretrained masked language model (MLM),
representing the meaning of $w$ in its occurrence contexts in $\mathcal{C}_1$
and $\mathcal{C}_2$. Intuitively, if the meaning of $w$ does not change between
$\mathcal{C}_1$ and $\mathcal{C}_2$, we would expect the distributions of
contextualised word embeddings of $w$ to remain the same before and after this
random swapping process. Despite its simplicity, we demonstrate that even by
using pretrained MLMs without any fine-tuning, our proposed context swapping
method accurately predicts the semantic changes of words in four languages
(English, German, Swedish, and Latin) and across different time spans (over 50
years and about five years). Moreover, our method achieves significant
performance improvements compared to strong baselines for the English semantic
change prediction task. Source code is available at
https://github.com/a1da4/svp-swap . | cs.CL | $\textit{Swap and Predict}$ -- Predicting the Semantic Changes in Words across Corpora by Context Swapping |
2023-10-16T13:26:05Z | http://arxiv.org/pdf/2310.10385v2 | http://arxiv.org/abs/2310.10385v2 | Shaomu Tan, Christof Monz | 2023-10-31T10:35:17Z | cs.CL, cs.LG | Multilingual Neural Machine Translation (MNMT) facilitates knowledge sharing
but often suffers from poor zero-shot (ZS) translation qualities. While prior
work has explored the causes of overall low ZS performance, our work introduces
a fresh perspective: the presence of high variations in ZS performance. This
suggests that MNMT does not uniformly exhibit poor ZS capability; instead,
certain translation directions yield reasonable results. Through systematic
experimentation involving 1,560 language directions spanning 40 languages, we
identify three key factors contributing to high variations in ZS NMT
performance: 1) target side translation capability 2) vocabulary overlap 3)
linguistic properties. Our findings highlight that the target side translation
quality is the most influential factor, with vocabulary overlap consistently
impacting ZS performance. Additionally, linguistic properties, such as language
family and writing system, play a role, particularly with smaller models.
Furthermore, we suggest that the off-target issue is a symptom of inadequate ZS
performance, emphasizing that zero-shot translation challenges extend beyond
addressing the off-target problem. We release the data and models serving as a
benchmark to study zero-shot for future research at
https://github.com/Smu-Tan/ZS-NMT-Variations | cs.CL | Towards a Better Understanding of Variations in Zero-Shot Neural Machine Translation Performance |
2023-10-16T13:23:54Z | http://arxiv.org/pdf/2310.10383v1 | http://arxiv.org/abs/2310.10383v1 | Haoran Li, Yulin Chen, Jinglong Luo, Yan Kang, Xiaojin Zhang, Qi Hu, Chunkit Chan, Yangqiu Song | 2023-10-16T13:23:54Z | cs.CL, cs.CR | The advancement of large language models (LLMs) has significantly enhanced
the ability to effectively tackle various downstream NLP tasks and unify these
tasks into generative pipelines. On the one hand, powerful language models,
trained on massive textual data, have brought unparalleled accessibility and
usability for both models and users. On the other hand, unrestricted access to
these models can also introduce potential malicious and unintentional privacy
risks. Despite ongoing efforts to address the safety and privacy concerns
associated with LLMs, the problem remains unresolved. In this paper, we provide
a comprehensive analysis of the current privacy attacks targeting LLMs and
categorize them according to the adversary's assumed capabilities to shed light
on the potential vulnerabilities present in LLMs. Then, we present a detailed
overview of prominent defense strategies that have been developed to counter
these privacy attacks. Beyond existing works, we identify upcoming privacy
concerns as LLMs evolve. Lastly, we point out several potential avenues for
future exploration. | cs.CL | Privacy in Large Language Models: Attacks, Defenses and Future Directions |
2023-10-16T13:22:34Z | http://arxiv.org/pdf/2310.10380v1 | http://arxiv.org/abs/2310.10380v1 | Dustin Axman, Avik Ray, Shubham Garg, Jing Huang | 2023-10-16T13:22:34Z | cs.CL | Collection of annotated dialogs for training task-oriented dialog systems
have been one of the key bottlenecks in improving current models. While dialog
response generation has been widely studied on the agent side, it is not
evident if similar generative models can be used to generate a large variety
of, and often unexpected, user inputs that real dialog systems encounter in
practice. Existing data augmentation techniques such as paraphrase generation
do not take the dialog context into consideration. In this paper, we develop a
novel dialog augmentation model that generates a user turn, conditioning on
full dialog context. Additionally, with a new prompt design for language model,
and output re-ranking, the dialogs generated from our model can be directly
used to train downstream dialog systems. On common benchmark datasets MultiWoZ
and SGD, we show that our dialog augmentation model generates high quality
dialogs and improves dialog success rate by as much as $8\%$ over baseline. | cs.CL | Contextual Data Augmentation for Task-Oriented Dialog Systems |
2023-10-16T13:19:17Z | http://arxiv.org/pdf/2310.10378v4 | http://arxiv.org/abs/2310.10378v4 | Jirui Qi, Raquel Fernández, Arianna Bisazza | 2023-11-09T12:04:45Z | cs.CL, cs.AI, cs.HC, cs.LG | Multilingual large-scale Pretrained Language Models (PLMs) have been shown to
store considerable amounts of factual knowledge, but large variations are
observed across languages. With the ultimate goal of ensuring that users with
different language backgrounds obtain consistent feedback from the same model,
we study the cross-lingual consistency (CLC) of factual knowledge in various
multilingual PLMs. To this end, we propose a Ranking-based Consistency (RankC)
metric to evaluate knowledge consistency across languages independently from
accuracy. Using this metric, we conduct an in-depth analysis of the determining
factors for CLC, both at model level and at language-pair level. Among other
results, we find that increasing model size leads to higher factual probing
accuracy in most languages, but does not improve cross-lingual consistency.
Finally, we conduct a case study on CLC when new factual associations are
inserted in the PLMs via model editing. Results on a small sample of facts
inserted in English reveal a clear pattern whereby the new piece of knowledge
transfers only to languages with which English has a high RankC score. | cs.CL | Cross-Lingual Consistency of Factual Knowledge in Multilingual Language Models |
2023-10-16T12:51:24Z | http://arxiv.org/pdf/2310.10358v1 | http://arxiv.org/abs/2310.10358v1 | Ananya Singha, José Cambronero, Sumit Gulwani, Vu Le, Chris Parnin | 2023-10-16T12:51:24Z | cs.CL, cs.AI | Large language models (LLMs) are increasingly applied for tabular tasks using
in-context learning. The prompt representation for a table may play a role in
the LLMs ability to process the table. Inspired by prior work, we generate a
collection of self-supervised structural tasks (e.g. navigate to a cell and
row; transpose the table) and evaluate the performance differences when using 8
formats. In contrast to past work, we introduce 8 noise operations inspired by
real-world messy data and adversarial inputs, and show that such operations can
impact LLM performance across formats for different structural understanding
tasks. | cs.CL | Tabular Representation, Noisy Operators, and Impacts on Table Structure Understanding Tasks in LLMs |
2023-10-16T12:34:43Z | http://arxiv.org/pdf/2310.10348v2 | http://arxiv.org/abs/2310.10348v2 | Aaquib Syed, Can Rager, Arthur Conmy | 2023-11-20T11:31:16Z | cs.LG, cs.AI, cs.CL | Automated interpretability research has recently attracted attention as a
potential research direction that could scale explanations of neural network
behavior to large models. Existing automated circuit discovery work applies
activation patching to identify subnetworks responsible for solving specific
tasks (circuits). In this work, we show that a simple method based on
attribution patching outperforms all existing methods while requiring just two
forward passes and a backward pass. We apply a linear approximation to
activation patching to estimate the importance of each edge in the
computational subgraph. Using this approximation, we prune the least important
edges of the network. We survey the performance and limitations of this method,
finding that averaged over all tasks our method has greater AUC from circuit
recovery than other methods. | cs.LG | Attribution Patching Outperforms Automated Circuit Discovery |
2023-10-16T12:17:11Z | http://arxiv.org/pdf/2310.10333v3 | http://arxiv.org/abs/2310.10333v3 | Carolina Camassa | 2023-10-25T08:18:40Z | cs.CY, cs.CL, q-fin.GN | In the rapidly evolving field of crypto assets, white papers are essential
documents for investor guidance, and are now subject to unprecedented content
requirements under the European Union's Markets in Crypto-Assets Regulation
(MiCAR). Natural Language Processing (NLP) can serve as a powerful tool for
both analyzing these documents and assisting in regulatory compliance. This
paper delivers two contributions to the topic. First, we survey existing
applications of textual analysis to unregulated crypto asset white papers,
uncovering a research gap that could be bridged with interdisciplinary
collaboration. We then conduct an analysis of the changes introduced by MiCAR,
highlighting the opportunities and challenges of integrating NLP within the new
regulatory framework. The findings set the stage for further research, with the
potential to benefit regulators, crypto asset issuers, and investors. | cs.CY | Legal NLP Meets MiCAR: Advancing the Analysis of Crypto White Papers |
2023-10-16T12:14:21Z | http://arxiv.org/pdf/2310.10704v1 | http://arxiv.org/abs/2310.10704v1 | Tomer Wullach, Shlomo E. Chazan | 2023-10-16T12:14:21Z | cs.CL, cs.SD, eess.AS | The challenges facing speech recognition systems, such as variations in
pronunciations, adverse audio conditions, and the scarcity of labeled data,
emphasize the necessity for a post-processing step that corrects recurring
errors. Previous research has shown the advantages of employing dedicated error
correction models, yet training such models requires large amounts of labeled
data which is not easily obtained. To overcome this limitation, synthetic
transcribed-like data is often utilized, however, bridging the distribution gap
between transcribed errors and synthetic noise is not trivial. In this paper,
we demonstrate that the performance of correction models can be significantly
increased by training solely using synthetic data. Specifically, we empirically
show that: (1) synthetic data generated using the error distribution derived
from a set of transcribed data outperforms the common approach of applying
random perturbations; (2) applying language-specific adjustments to the
vocabulary of a BPE tokenizer strike a balance between adapting to unseen
distributions and retaining knowledge of transcribed errors. We showcase the
benefits of these key observations, and evaluate our approach using multiple
languages, speech recognition systems and prominent speech recognition
datasets. | cs.CL | Optimized Tokenization for Transcribed Error Correction |
2023-10-16T12:04:13Z | http://arxiv.org/pdf/2310.10322v1 | http://arxiv.org/abs/2310.10322v1 | Jun-Yu Ma, Jia-Chen Gu, Zhen-Hua Ling, Quan Liu, Cong Liu | 2023-10-16T12:04:13Z | cs.CL | Recent studies have demonstrated that large language models (LLMs) store
massive factual knowledge within their parameters. But existing LLMs are prone
to hallucinate unintended text due to false or outdated knowledge. Since
retraining LLMs is resource intensive, there has been a growing interest in the
concept of model editing. Despite the emergence of benchmarks and approaches,
these unidirectional editing and evaluation have failed to explore the reversal
curse. Intuitively, if "The capital of France is" is edited to be a counterfact
"London" within a model, then it should be able to naturally reason and recall
the reverse fact, i.e., "London is the capital of" followed by "France" instead
of "England". In this paper, we study bidirectional language model editing,
aiming to provide rigorous model editing evaluation to assess if edited LLMs
can recall the editing knowledge bidirectionally. A new evaluation metric of
reversibility is introduced, and a benchmark dubbed as Bidirectional Assessment
for Knowledge Editing (BAKE) is constructed to evaluate the reversibility of
edited models in recalling knowledge in the reverse direction of editing. We
surprisingly observe that while current editing methods and LLMs can
effectively recall editing facts in the direction of editing, they suffer
serious deficiencies when evaluated in the reverse direction. To mitigate the
reversal curse, a method named Bidirectionally Inversible Relationship moDeling
(BIRD) is proposed. A set of editing objectives that incorporate bidirectional
relationships between subject and object into the updated model weights are
designed. Experiments show that BIRD improves the performance of four
representative LLMs of different sizes via question answering and judgement. | cs.CL | Untying the Reversal Curse via Bidirectional Language Model Editing |
2023-10-16T11:55:53Z | http://arxiv.org/pdf/2310.10318v1 | http://arxiv.org/abs/2310.10318v1 | Chong Li, Shaonan Wang, Yunhao Zhang, Jiajun Zhang, Chengqing Zong | 2023-10-16T11:55:53Z | cs.CL, cs.AI | Transformer-based models, even though achieving super-human performance on
several downstream tasks, are often regarded as a black box and used as a
whole. It is still unclear what mechanisms they have learned, especially their
core module: multi-head attention. Inspired by functional specialization in the
human brain, which helps to efficiently handle multiple tasks, this work
attempts to figure out whether the multi-head attention module will evolve
similar function separation under multi-tasking training. If it is, can this
mechanism further improve the model performance? To investigate these
questions, we introduce an interpreting method to quantify the degree of
functional specialization in multi-head attention. We further propose a simple
multi-task training method to increase functional specialization and mitigate
negative information transfer in multi-task learning. Experimental results on
seven pre-trained transformer models have demonstrated that multi-head
attention does evolve functional specialization phenomenon after multi-task
training which is affected by the similarity of tasks. Moreover, the multi-task
training strategy based on functional specialization boosts performance in both
multi-task learning and transfer learning without adding any parameters. | cs.CL | Interpreting and Exploiting Functional Specialization in Multi-Head Attention under Multi-task Learning |
2023-10-16T11:43:30Z | http://arxiv.org/pdf/2310.10310v1 | http://arxiv.org/abs/2310.10310v1 | Manon Reusens, Philipp Borchert, Margot Mieskes, Jochen De Weerdt, Bart Baesens | 2023-10-16T11:43:30Z | cs.CL | This paper investigates the transferability of debiasing techniques across
different languages within multilingual models. We examine the applicability of
these techniques in English, French, German, and Dutch. Using multilingual BERT
(mBERT), we demonstrate that cross-lingual transfer of debiasing techniques is
not only feasible but also yields promising results. Surprisingly, our findings
reveal no performance disadvantages when applying these techniques to
non-English languages. Using translations of the CrowS-Pairs dataset, our
analysis identifies SentenceDebias as the best technique across different
languages, reducing bias in mBERT by an average of 13%. We also find that
debiasing techniques with additional pretraining exhibit enhanced cross-lingual
effectiveness for the languages included in the analyses, particularly in
lower-resource languages. These novel insights contribute to a deeper
understanding of bias mitigation in multilingual language models and provide
practical guidance for debiasing techniques in different language contexts. | cs.CL | Investigating Bias in Multilingual Language Models: Cross-Lingual Transfer of Debiasing Techniques |
2023-10-16T11:30:47Z | http://arxiv.org/pdf/2310.10294v1 | http://arxiv.org/abs/2310.10294v1 | Aadit Deshpande, Shreya Goyal, Prateek Nagwanshi, Avinash Tripathy | 2023-10-16T11:30:47Z | cs.CL, cs.AI | With the recent advances in social media, the use of NLP techniques in social
media data analysis has become an emerging research direction. Business
organizations can particularly benefit from such an analysis of social media
discourse, providing an external perspective on consumer behavior. Some of the
NLP applications such as intent detection, sentiment classification, text
summarization can help FinTech organizations to utilize the social media
language data to find useful external insights and can be further utilized for
downstream NLP tasks. Particularly, a summary which highlights the intents and
sentiments of the users can be very useful for these organizations to get an
external perspective. This external perspective can help organizations to
better manage their products, offers, promotional campaigns, etc. However,
certain challenges, such as a lack of labeled domain-specific datasets impede
further exploration of these tasks in the FinTech domain. To overcome these
challenges, we design an unsupervised phrase-based summary generation from
social media data, using 'Action-Object' pairs (intent phrases). We evaluated
the proposed method with other key-phrase based summary generation methods in
the direction of contextual information of various Reddit discussion threads,
available in the different summaries. We introduce certain "Context Metrics"
such as the number of Unique words, Action-Object pairs, and Noun chunks to
evaluate the contextual information retrieved from the source text in these
phrase-based summaries. We demonstrate that our methods significantly
outperform the baseline on these metrics, thus providing a qualitative and
quantitative measure of their efficacy. Proposed framework has been leveraged
as a web utility portal hosted within Amex. | cs.CL | Key-phrase boosted unsupervised summary generation for FinTech organization |
2023-10-16T11:16:07Z | http://arxiv.org/pdf/2310.10285v1 | http://arxiv.org/abs/2310.10285v1 | Weixiao Zhou, Gengyao Li, Xianfu Cheng, Xinnian Liang, Junnan Zhu, Feifei Zhai, Zhoujun Li | 2023-10-16T11:16:07Z | cs.CL | Dialogue summarization involves a wide range of scenarios and domains.
However, existing methods generally only apply to specific scenarios or
domains. In this study, we propose a new pre-trained model specifically
designed for multi-scenario multi-domain dialogue summarization. It adopts a
multi-stage pre-training strategy to reduce the gap between the pre-training
objective and fine-tuning objective. Specifically, we first conduct
domain-aware pre-training using large-scale multi-scenario multi-domain
dialogue data to enhance the adaptability of our pre-trained model. Then, we
conduct task-oriented pre-training using large-scale multi-scenario
multi-domain "dialogue-summary" parallel data annotated by ChatGPT to enhance
the dialogue summarization ability of our pre-trained model. Experimental
results on three dialogue summarization datasets from different scenarios and
domains indicate that our pre-trained model significantly outperforms previous
state-of-the-art models in full fine-tuning, zero-shot, and few-shot settings. | cs.CL | Multi-Stage Pre-training Enhanced by ChatGPT for Multi-Scenario Multi-Domain Dialogue Summarization |
2023-10-16T10:45:02Z | http://arxiv.org/pdf/2310.10266v1 | http://arxiv.org/abs/2310.10266v1 | Zhongtao Jiang, Yuanzhe Zhang, Cao Liu, Jun Zhao, Kang Liu | 2023-10-16T10:45:02Z | cs.CL | As one of the most exciting features of large language models (LLMs),
in-context learning is a mixed blessing. While it allows users to
fast-prototype a task solver with only a few training examples, the performance
is generally sensitive to various configurations of the prompt such as the
choice or order of the training examples. In this paper, we for the first time
theoretically and empirically identify that such a paradox is mainly due to the
label shift of the in-context model to the data distribution, in which LLMs
shift the label marginal $p(y)$ while having a good label conditional $p(x|y)$.
With this understanding, we can simply calibrate the in-context predictive
distribution by adjusting the label marginal, which is estimated via
Monte-Carlo sampling over the in-context model, i.e., generation of LLMs. We
call our approach as generative calibration. We conduct exhaustive experiments
with 12 text classification tasks and 12 LLMs scaling from 774M to 33B,
generally find that the proposed method greatly and consistently outperforms
the ICL as well as state-of-the-art calibration methods, by up to 27% absolute
in macro-F1. Meanwhile, the proposed method is also stable under different
prompt configurations. | cs.CL | Generative Calibration for In-context Learning |
2023-10-16T10:38:49Z | http://arxiv.org/pdf/2310.10262v1 | http://arxiv.org/abs/2310.10262v1 | Natalia Flechas Manrique, Wanqian Bao, Aurelie Herbelot, Uri Hasson | 2023-10-16T10:38:49Z | cs.CL | Interpretability methods in NLP aim to provide insights into the semantics
underlying specific system architectures. Focusing on word embeddings, we
present a supervised-learning method that, for a given domain (e.g., sports,
professions), identifies a subset of model features that strongly improve
prediction of human similarity judgments. We show this method keeps only 20-40%
of the original embeddings, for 8 independent semantic domains, and that it
retains different feature sets across domains. We then present two approaches
for interpreting the semantics of the retained features. The first obtains the
scores of the domain words (co-hyponyms) on the first principal component of
the retained embeddings, and extracts terms whose co-occurrence with the
co-hyponyms tracks these scores' profile. This analysis reveals that humans
differentiate e.g. sports based on how gender-inclusive and international they
are. The second approach uses the retained sets as variables in a probing task
that predicts values along 65 semantically annotated dimensions for a dataset
of 535 words. The features retained for professions are best at predicting
cognitive, emotional and social dimensions, whereas features retained for
fruits or vegetables best predict the gustation (taste) dimension. We discuss
implications for alignment between AI systems and human knowledge. | cs.CL | Enhancing Interpretability using Human Similarity Judgements to Prune Word Embeddings |
2023-10-16T10:37:35Z | http://arxiv.org/pdf/2310.10260v1 | http://arxiv.org/abs/2310.10260v1 | Adel Ammar, Anis Koubaa, Bilel Benjdira, Omar Najar, Serry Sibaee | 2023-10-16T10:37:35Z | cs.CL, cs.AI, cs.LG | In the intricate field of legal studies, the analysis of court decisions is a
cornerstone for the effective functioning of the judicial system. The ability
to predict court outcomes helps judges during the decision-making process and
equips lawyers with invaluable insights, enhancing their strategic approaches
to cases. Despite its significance, the domain of Arabic court analysis remains
under-explored. This paper pioneers a comprehensive predictive analysis of
Arabic court decisions on a dataset of 10,813 commercial court real cases,
leveraging the advanced capabilities of the current state-of-the-art large
language models. Through a systematic exploration, we evaluate three prevalent
foundational models (LLaMA-7b, JAIS-13b, and GPT3.5-turbo) and three training
paradigms: zero-shot, one-shot, and tailored fine-tuning. Besides, we assess
the benefit of summarizing and/or translating the original Arabic input texts.
This leads to a spectrum of 14 model variants, for which we offer a granular
performance assessment with a series of different metrics (human assessment,
GPT evaluation, ROUGE, and BLEU scores). We show that all variants of LLaMA
models yield limited performance, whereas GPT-3.5-based models outperform all
other models by a wide margin, surpassing the average score of the dedicated
Arabic-centric JAIS model by 50%. Furthermore, we show that all scores except
human evaluation are inconsistent and unreliable for assessing the performance
of large language models on court decision predictions. This study paves the
way for future research, bridging the gap between computational linguistics and
Arabic legal analytics. | cs.CL | Prediction of Arabic Legal Rulings using Large Language Models |
2023-10-16T09:35:42Z | http://arxiv.org/pdf/2310.10226v1 | http://arxiv.org/abs/2310.10226v1 | Huayang Li, Tian Lan, Zihao Fu, Deng Cai, Lemao Liu, Nigel Collier, Taro Watanabe, Yixuan Su | 2023-10-16T09:35:42Z | cs.CL | There are a number of diverging hypotheses about the neural text degeneration
problem, i.e., generating repetitive and dull loops, which makes this problem
both interesting and confusing. In this work, we aim to advance our
understanding by presenting a straightforward and fundamental explanation from
the data perspective. Our preliminary investigation reveals a strong
correlation between the degeneration issue and the presence of repetitions in
training data. Subsequent experiments also demonstrate that by selectively
dropping out the attention to repetitive words in training data, degeneration
can be significantly minimized. Furthermore, our empirical analysis illustrates
that prior works addressing the degeneration issue from various standpoints,
such as the high-inflow words, the likelihood objective, and the
self-reinforcement phenomenon, can be interpreted by one simple explanation.
That is, penalizing the repetitions in training data is a common and
fundamental factor for their effectiveness. Moreover, our experiments reveal
that penalizing the repetitions in training data remains critical even when
considering larger model sizes and instruction tuning. | cs.CL | Repetition In Repetition Out: Towards Understanding Neural Text Degeneration from the Data Perspective |
2023-10-16T09:04:28Z | http://arxiv.org/pdf/2310.10195v3 | http://arxiv.org/abs/2310.10195v3 | Kai Lv, Hang Yan, Qipeng Guo, Haijun Lv, Xipeng Qiu | 2024-06-06T13:22:25Z | cs.LG, cs.CL | Large language models have achieved remarkable success, but their extensive
parameter size necessitates substantial memory for training, thereby setting a
high threshold. While the recently proposed low-memory optimization (LOMO)
reduces memory footprint, its optimization technique, akin to stochastic
gradient descent, is sensitive to hyper-parameters and exhibits suboptimal
convergence, failing to match the performance of the prevailing optimizer for
large language models, AdamW. Through empirical analysis of the Adam optimizer,
we found that, compared to momentum, the adaptive learning rate is more
critical for bridging the gap. Building on this insight, we introduce the
low-memory optimization with adaptive learning rate (AdaLomo), which offers an
adaptive learning rate for each parameter. To maintain memory efficiency, we
employ non-negative matrix factorization for the second-order moment estimation
in the optimizer state. Additionally, we suggest the use of a grouped update
normalization to stabilize convergence. Our experiments with instruction-tuning
and further pre-training demonstrate that AdaLomo achieves results on par with
AdamW, while significantly reducing memory requirements, thereby lowering the
hardware barrier to training large language models. The code is accessible at
https://github.com/OpenLMLab/LOMO. | cs.LG | AdaLomo: Low-memory Optimization with Adaptive Learning Rate |
2023-10-16T08:53:57Z | http://arxiv.org/pdf/2310.10191v4 | http://arxiv.org/abs/2310.10191v4 | Yuji Zhang, Jing Li, Wenjie Li | 2023-11-15T12:41:57Z | cs.CL | Language features are evolving in real-world social media, resulting in the
deteriorating performance of text classification in dynamics. To address this
challenge, we study temporal adaptation, where models trained on past data are
tested in the future. Most prior work focused on continued pretraining or
knowledge updating, which may compromise their performance on noisy social
media data. To tackle this issue, we reflect feature change via modeling latent
topic evolution and propose a novel model, VIBE: Variational Information
Bottleneck for Evolutions. Concretely, we first employ two Information
Bottleneck (IB) regularizers to distinguish past and future topics. Then, the
distinguished topics work as adaptive features via multi-task training with
timestamp and class label prediction. In adaptive learning, VIBE utilizes
retrieved unlabeled data from online streams created posterior to training data
time. Substantial Twitter experiments on three classification tasks show that
our model, with only 3% of data, significantly outperforms previous
state-of-the-art continued-pretraining methods. | cs.CL | VIBE: Topic-Driven Temporal Adaptation for Twitter Classification |
2023-10-16T08:52:41Z | http://arxiv.org/pdf/2310.10190v1 | http://arxiv.org/abs/2310.10190v1 | Shuo Sun, Yuchen Zhang, Jiahuan Yan, Yuze Gao, Donovan Ong, Bin Chen, Jian Su | 2023-10-16T08:52:41Z | cs.CL, cs.AI | The success of ChatGPT has ignited an AI race, with researchers striving to
develop new large language models (LLMs) that can match or surpass the language
understanding and generation abilities of commercial ones. In recent times, a
number of models have emerged, claiming performance near that of GPT-3.5 or
GPT-4 through various instruction-tuning methods. As practitioners of
Text-to-SQL parsing, we are grateful for their valuable contributions to
open-source research. However, it is important to approach these claims with a
sense of scrutiny and ascertain the actual effectiveness of these models.
Therefore, we pit six popular large language models against each other,
systematically evaluating their Text-to-SQL parsing capability on nine
benchmark datasets with five different prompting strategies, covering both
zero-shot and few-shot scenarios. Regrettably, the open-sourced models fell
significantly short of the performance achieved by closed-source models like
GPT-3.5, highlighting the need for further work to bridge the performance gap
between these models. | cs.CL | Battle of the Large Language Models: Dolly vs LLaMA vs Vicuna vs Guanaco vs Bard vs ChatGPT -- A Text-to-SQL Parsing Comparison |
2023-10-16T08:48:07Z | http://arxiv.org/pdf/2310.10184v1 | http://arxiv.org/abs/2310.10184v1 | Xiaoshuai Song, Yutao Mou, Keqing He, Yueyan Qiu, Pei Wang, Weiran Xu | 2023-10-16T08:48:07Z | cs.CL, cs.AI, cs.LG | In a practical dialogue system, users may input out-of-domain (OOD) queries.
The Generalized Intent Discovery (GID) task aims to discover OOD intents from
OOD queries and extend them to the in-domain (IND) classifier. However, GID
only considers one stage of OOD learning, and needs to utilize the data in all
previous stages for joint training, which limits its wide application in
reality. In this paper, we introduce a new task, Continual Generalized Intent
Discovery (CGID), which aims to continuously and automatically discover OOD
intents from dynamic OOD data streams and then incrementally add them to the
classifier with almost no previous data, thus moving towards dynamic intent
recognition in an open world. Next, we propose a method called Prototype-guided
Learning with Replay and Distillation (PLRD) for CGID, which bootstraps new
intent discovery through class prototypes and balances new and old intents
through data replay and feature distillation. Finally, we conduct detailed
experiments and analysis to verify the effectiveness of PLRD and understand the
key challenges of CGID for future research. | cs.CL | Continual Generalized Intent Discovery: Marching Towards Dynamic and Open-world Intent Recognition |
2023-10-16T08:42:39Z | http://arxiv.org/pdf/2310.10180v2 | http://arxiv.org/abs/2310.10180v2 | Jing Xiong, Jianhao Shen, Ye Yuan, Haiming Wang, Yichun Yin, Zhengying Liu, Lin Li, Zhijiang Guo, Qingxing Cao, Yinya Huang, Chuanyang Zheng, Xiaodan Liang, Ming Zhang, Qun Liu | 2023-10-24T15:17:56Z | cs.CL | Automated theorem proving (ATP) has become an appealing domain for exploring
the reasoning ability of the recent successful generative language models.
However, current ATP benchmarks mainly focus on symbolic inference, but rarely
involve the understanding of complex number combination reasoning. In this
work, we propose TRIGO, an ATP benchmark that not only requires a model to
reduce a trigonometric expression with step-by-step proofs but also evaluates a
generative LM's reasoning ability on formulas and its capability to manipulate,
group, and factor number terms. We gather trigonometric expressions and their
reduced forms from the web, annotate the simplification process manually, and
translate it into the Lean formal language system. We then automatically
generate additional examples from the annotated samples to expand the dataset.
Furthermore, we develop an automatic generator based on Lean-Gym to create
dataset splits of varying difficulties and distributions in order to thoroughly
analyze the model's generalization ability. Our extensive experiments show our
proposed TRIGO poses a new challenge for advanced generative LM's including
GPT-4 which is pre-trained on a considerable amount of open-source formal
theorem-proving language data, and provide a new tool to study the generative
LM's ability on both formal and mathematical reasoning. | cs.CL | TRIGO: Benchmarking Formal Mathematical Proof Reduction for Generative Language Models |
2023-10-16T08:34:44Z | http://arxiv.org/pdf/2310.10176v1 | http://arxiv.org/abs/2310.10176v1 | Xiaoshuai Song, Keqing He, Pei Wang, Guanting Dong, Yutao Mou, Jingang Wang, Yunsen Xian, Xunliang Cai, Weiran Xu | 2023-10-16T08:34:44Z | cs.CL, cs.AI, cs.LG | The tasks of out-of-domain (OOD) intent discovery and generalized intent
discovery (GID) aim to extend a closed intent classifier to open-world intent
sets, which is crucial to task-oriented dialogue (TOD) systems. Previous
methods address them by fine-tuning discriminative models. Recently, although
some studies have been exploring the application of large language models
(LLMs) represented by ChatGPT to various downstream tasks, it is still unclear
for the ability of ChatGPT to discover and incrementally extent OOD intents. In
this paper, we comprehensively evaluate ChatGPT on OOD intent discovery and
GID, and then outline the strengths and weaknesses of ChatGPT. Overall, ChatGPT
exhibits consistent advantages under zero-shot settings, but is still at a
disadvantage compared to fine-tuned models. More deeply, through a series of
analytical experiments, we summarize and discuss the challenges faced by LLMs
including clustering, domain-specific understanding, and cross-domain
in-context learning scenarios. Finally, we provide empirical guidance for
future directions to address these challenges. | cs.CL | Large Language Models Meet Open-World Intent Discovery and Recognition: An Evaluation of ChatGPT |
2023-10-16T08:16:53Z | http://arxiv.org/pdf/2310.10169v1 | http://arxiv.org/abs/2310.10169v1 | Guanting Dong, Tingfeng Hui, Zhuoma GongQue, Jinxu Zhao, Daichi Guo, Gang Zhao, Keqing He, Weiran Xu | 2023-10-16T08:16:53Z | cs.CL, cs.AI, cs.IR, cs.LG | Recently, prompt-based generative frameworks have shown impressive
capabilities in sequence labeling tasks. However, in practical dialogue
scenarios, relying solely on simplistic templates and traditional corpora
presents a challenge for these methods in generalizing to unknown input
perturbations. To address this gap, we propose a multi-task demonstration based
generative framework for noisy slot filling, named DemoNSF. Specifically, we
introduce three noisy auxiliary tasks, namely noisy recovery (NR), random mask
(RM), and hybrid discrimination (HD), to implicitly capture semantic structural
information of input perturbations at different granularities. In the
downstream main task, we design a noisy demonstration construction strategy for
the generative framework, which explicitly incorporates task-specific
information and perturbed distribution during training and inference.
Experiments on two benchmarks demonstrate that DemoNSF outperforms all baseline
methods and achieves strong generalization. Further analysis provides empirical
guidance for the practical application of generative frameworks. Our code is
released at https://github.com/dongguanting/Demo-NSF. | cs.CL | DemoNSF: A Multi-task Demonstration-based Generative Framework for Noisy Slot Filling Task |
2023-10-16T08:00:16Z | http://arxiv.org/pdf/2310.10159v1 | http://arxiv.org/abs/2310.10159v1 | Xingjian Du, Zhesong Yu, Jiaju Lin, Bilei Zhu, Qiuqiang Kong | 2023-10-16T08:00:16Z | cs.SD, cs.CL, eess.AS | Music tagging is a task to predict the tags of music recordings. However,
previous music tagging research primarily focuses on close-set music tagging
tasks which can not be generalized to new tags. In this work, we propose a
zero-shot music tagging system modeled by a joint music and language attention
(JMLA) model to address the open-set music tagging problem. The JMLA model
consists of an audio encoder modeled by a pretrained masked autoencoder and a
decoder modeled by a Falcon7B. We introduce preceiver resampler to convert
arbitrary length audio into fixed length embeddings. We introduce dense
attention connections between encoder and decoder layers to improve the
information flow between the encoder and decoder layers. We collect a
large-scale music and description dataset from the internet. We propose to use
ChatGPT to convert the raw descriptions into formalized and diverse
descriptions to train the JMLA models. Our proposed JMLA system achieves a
zero-shot audio tagging accuracy of $ 64.82\% $ on the GTZAN dataset,
outperforming previous zero-shot systems and achieves comparable results to
previous systems on the FMA and the MagnaTagATune datasets. | cs.SD | Joint Music and Language Attention Models for Zero-shot Music Tagging |
2023-10-16T07:58:56Z | http://arxiv.org/pdf/2310.10158v2 | http://arxiv.org/abs/2310.10158v2 | Yunfan Shao, Linyang Li, Junqi Dai, Xipeng Qiu | 2023-12-14T11:49:17Z | cs.CL, cs.AI | Large language models (LLMs) can be used to serve as agents to simulate human
behaviors, given the powerful ability to understand human instructions and
provide high-quality generated texts. Such ability stimulates us to wonder
whether LLMs can simulate a person in a higher form than simple human
behaviors. Therefore, we aim to train an agent with the profile, experience,
and emotional states of a specific person instead of using limited prompts to
instruct ChatGPT API. In this work, we introduce Character-LLM that teach LLMs
to act as specific people such as Beethoven, Queen Cleopatra, Julius Caesar,
etc. Our method focuses on editing profiles as experiences of a certain
character and training models to be personal simulacra with these experiences.
To assess the effectiveness of our approach, we build a test playground that
interviews trained agents and evaluates whether the agents \textit{memorize}
their characters and experiences. Experimental results show interesting
observations that help build future simulacra of humankind. | cs.CL | Character-LLM: A Trainable Agent for Role-Playing |
2023-10-16T07:51:19Z | http://arxiv.org/pdf/2310.10701v3 | http://arxiv.org/abs/2310.10701v3 | Huao Li, Yu Quan Chong, Simon Stepputtis, Joseph Campbell, Dana Hughes, Michael Lewis, Katia Sycara | 2024-06-26T20:15:34Z | cs.CL, cs.AI | While Large Language Models (LLMs) have demonstrated impressive
accomplishments in both reasoning and planning, their abilities in multi-agent
collaborations remains largely unexplored. This study evaluates LLM-based
agents in a multi-agent cooperative text game with Theory of Mind (ToM)
inference tasks, comparing their performance with Multi-Agent Reinforcement
Learning (MARL) and planning-based baselines. We observed evidence of emergent
collaborative behaviors and high-order Theory of Mind capabilities among
LLM-based agents. Our results reveal limitations in LLM-based agents' planning
optimization due to systematic failures in managing long-horizon contexts and
hallucination about the task state. We explore the use of explicit belief state
representations to mitigate these issues, finding that it enhances task
performance and the accuracy of ToM inferences for LLM-based agents. | cs.CL | Theory of Mind for Multi-Agent Collaboration via Large Language Models |
2023-10-16T07:43:30Z | http://arxiv.org/pdf/2310.10151v1 | http://arxiv.org/abs/2310.10151v1 | Wenbin An, Feng Tian, Wenkai Shi, Yan Chen, Qinghua Zheng, QianYing Wang, Ping Chen | 2023-10-16T07:43:30Z | cs.LG, cs.CL, cs.IR | Discovering fine-grained categories from coarsely labeled data is a practical
and challenging task, which can bridge the gap between the demand for
fine-grained analysis and the high annotation cost. Previous works mainly focus
on instance-level discrimination to learn low-level features, but ignore
semantic similarities between data, which may prevent these models learning
compact cluster representations. In this paper, we propose Denoised
Neighborhood Aggregation (DNA), a self-supervised framework that encodes
semantic structures of data into the embedding space. Specifically, we retrieve
k-nearest neighbors of a query as its positive keys to capture semantic
similarities between data and then aggregate information from the neighbors to
learn compact cluster representations, which can make fine-grained categories
more separatable. However, the retrieved neighbors can be noisy and contain
many false-positive keys, which can degrade the quality of learned embeddings.
To cope with this challenge, we propose three principles to filter out these
false neighbors for better representation learning. Furthermore, we
theoretically justify that the learning objective of our framework is
equivalent to a clustering loss, which can capture semantic similarities
between data to form compact fine-grained clusters. Extensive experiments on
three benchmark datasets show that our method can retrieve more accurate
neighbors (21.31% accuracy improvement) and outperform state-of-the-art models
by a large margin (average 9.96% improvement on three metrics). Our code and
data are available at https://github.com/Lackel/DNA. | cs.LG | DNA: Denoised Neighborhood Aggregation for Fine-grained Category Discovery |
2023-10-16T07:27:43Z | http://arxiv.org/pdf/2310.10138v1 | http://arxiv.org/abs/2310.10138v1 | Zhiguang Fan, Yuedong Yang, Mingyuan Xu, Hongming Chen | 2023-10-16T07:27:43Z | cs.DB, cs.CL, q-bio.QM | The embedding of Biomedical Knowledge Graphs (BKGs) generates robust
representations, valuable for a variety of artificial intelligence
applications, including predicting drug combinations and reasoning disease-drug
relationships. Meanwhile, contrastive learning (CL) is widely employed to
enhance the distinctiveness of these representations. However, constructing
suitable contrastive pairs for CL, especially within Knowledge Graphs (KGs),
has been challenging. In this paper, we proposed a novel node-based contrastive
learning method for knowledge graph embedding, NC-KGE. NC-KGE enhances
knowledge extraction in embeddings and speeds up training convergence by
constructing appropriate contrastive node pairs on KGs. This scheme can be
easily integrated with other knowledge graph embedding (KGE) methods. For
downstream task such as biochemical relationship prediction, we have
incorporated a relation-aware attention mechanism into NC-KGE, focusing on the
semantic relationships and node interactions. Extensive experiments show that
NC-KGE performs competitively with state-of-the-art models on public datasets
like FB15k-237 and WN18RR. Particularly in biomedical relationship prediction
tasks, NC-KGE outperforms all baselines on datasets such as PharmKG8k-28,
DRKG17k-21, and BioKG72k-14, especially in predicting drug combination
relationships. We release our code at https://github.com/zhi520/NC-KGE. | cs.DB | Node-based Knowledge Graph Contrastive Learning for Medical Relationship Prediction |
2023-10-16T07:26:24Z | http://arxiv.org/pdf/2310.13008v1 | http://arxiv.org/abs/2310.13008v1 | Haotian Zhou, Tingkai Liu, Qianli Ma, Jianbo Yuan, Pengfei Liu, Yang You, Hongxia Yang | 2023-10-16T07:26:24Z | cs.LG, cs.AI, cs.CL | Supervised Fine-Tuning (SFT) serves as a crucial phase in aligning Large
Language Models (LLMs) to specific task prerequisites. The selection of
fine-tuning data profoundly influences the model's performance, whose principle
is traditionally grounded in data quality and distribution. In this paper, we
introduce a new dimension in SFT data selection: learnability. This new
dimension is motivated by the intuition that SFT unlocks capabilities acquired
by a LLM during the pretraining phase. Given that different pretrained models
have disparate capabilities, the SFT data appropriate for one may not suit
another. Thus, we introduce the term learnability to define the suitability of
data for effective learning by the model. We present the Loss Based SFT Data
Selection (LoBaSS) method, utilizing data learnability as the principal
criterion for the selection SFT data. This method provides a nuanced approach,
allowing the alignment of data selection with inherent model capabilities,
ensuring optimal compatibility and learning efficiency. In experimental
comparisons involving 7B and 13B models, our LoBaSS method is able to surpass
full-data fine-tuning at merely 6% of the total training data. When employing
16.7% of the data, LoBaSS harmonizes the model's capabilities across
conversational and mathematical domains, proving its efficacy and adaptability. | cs.LG | LoBaSS: Gauging Learnability in Supervised Fine-tuning Data |
2023-10-16T07:17:27Z | http://arxiv.org/pdf/2310.10134v1 | http://arxiv.org/abs/2310.10134v1 | Bodhisattwa Prasad Majumder, Bhavana Dalvi Mishra, Peter Jansen, Oyvind Tafjord, Niket Tandon, Li Zhang, Chris Callison-Burch, Peter Clark | 2023-10-16T07:17:27Z | cs.CL, cs.AI, cs.LG | Language agents have shown some ability to interact with an external
environment, e.g., a virtual world such as ScienceWorld, to perform complex
tasks, e.g., growing a plant, without the startup costs of reinforcement
learning. However, despite their zero-shot capabilities, these agents to date
do not continually improve over time beyond performance refinement on a
specific task. Here we present CLIN, the first language-based agent to achieve
this, so that it continually improves over multiple trials, including when both
the environment and task are varied, and without requiring parameter updates.
Our approach is to use a persistent, dynamic, textual memory centered on causal
abstractions (rather than general "helpful hints") that is regularly updated
after each trial so that the agent gradually learns useful knowledge for new
trials. In the ScienceWorld benchmark, CLIN is able to continually improve on
repeated trials on the same task and environment, outperforming
state-of-the-art reflective language agents like Reflexion by 23 absolute
points. CLIN can also transfer its learning to new environments (or new tasks),
improving its zero-shot performance by 4 points (13 for new tasks) and can
further improve performance there through continual memory updates, enhancing
performance by an additional 17 points (7 for new tasks). This suggests a new
architecture for agents built on frozen models that can still continually and
rapidly improve over time. | cs.CL | CLIN: A Continually Learning Language Agent for Rapid Task Adaptation and Generalization |
2023-10-16T06:53:12Z | http://arxiv.org/pdf/2310.10118v3 | http://arxiv.org/abs/2310.10118v3 | Arthur Amalvy, Vincent Labatut, Richard Dufour | 2024-04-08T13:53:48Z | cs.CL | While recent pre-trained transformer-based models can perform named entity
recognition (NER) with great accuracy, their limited range remains an issue
when applied to long documents such as whole novels. To alleviate this issue, a
solution is to retrieve relevant context at the document level. Unfortunately,
the lack of supervision for such a task means one has to settle for
unsupervised approaches. Instead, we propose to generate a synthetic context
retrieval training dataset using Alpaca, an instructiontuned large language
model (LLM). Using this dataset, we train a neural context retriever based on a
BERT model that is able to find relevant context for NER. We show that our
method outperforms several retrieval baselines for the NER task on an English
literary dataset composed of the first chapter of 40 books. | cs.CL | Learning to Rank Context for Named Entity Recognition Using a Synthetic Dataset |
2023-10-16T06:40:18Z | http://arxiv.org/pdf/2310.10106v1 | http://arxiv.org/abs/2310.10106v1 | Can Cui, Imran Ahamad Sheikh, Mostafa Sadeghi, Emmanuel Vincent | 2023-10-16T06:40:18Z | cs.CL, cs.SD, eess.AS | We present an end-to-end multichannel speaker-attributed automatic speech
recognition (MC-SA-ASR) system that combines a Conformer-based encoder with
multi-frame crosschannel attention and a speaker-attributed Transformer-based
decoder. To the best of our knowledge, this is the first model that efficiently
integrates ASR and speaker identification modules in a multichannel setting. On
simulated mixtures of LibriSpeech data, our system reduces the word error rate
(WER) by up to 12% and 16% relative compared to previously proposed
single-channel and multichannel approaches, respectively. Furthermore, we
investigate the impact of different input features, including multichannel
magnitude and phase information, on the ASR performance. Finally, our
experiments on the AMI corpus confirm the effectiveness of our system for
real-world multichannel meeting transcription. | cs.CL | End-to-end Multichannel Speaker-Attributed ASR: Speaker Guided Decoder and Input Feature Analysis |
2023-10-16T06:21:06Z | http://arxiv.org/pdf/2310.10103v1 | http://arxiv.org/abs/2310.10103v1 | Dhruv Shah, Michael Equi, Blazej Osinski, Fei Xia, Brian Ichter, Sergey Levine | 2023-10-16T06:21:06Z | cs.RO, cs.AI, cs.CL, cs.LG | Navigation in unfamiliar environments presents a major challenge for robots:
while mapping and planning techniques can be used to build up a representation
of the world, quickly discovering a path to a desired goal in unfamiliar
settings with such methods often requires lengthy mapping and exploration.
Humans can rapidly navigate new environments, particularly indoor environments
that are laid out logically, by leveraging semantics -- e.g., a kitchen often
adjoins a living room, an exit sign indicates the way out, and so forth.
Language models can provide robots with such knowledge, but directly using
language models to instruct a robot how to reach some destination can also be
impractical: while language models might produce a narrative about how to reach
some goal, because they are not grounded in real-world observations, this
narrative might be arbitrarily wrong. Therefore, in this paper we study how the
``semantic guesswork'' produced by language models can be utilized as a guiding
heuristic for planning algorithms. Our method, Language Frontier Guide (LFG),
uses the language model to bias exploration of novel real-world environments by
incorporating the semantic knowledge stored in language models as a search
heuristic for planning with either topological or metric maps. We evaluate LFG
in challenging real-world environments and simulated benchmarks, outperforming
uninformed exploration and other ways of using language models. | cs.RO | Navigation with Large Language Models: Semantic Guesswork as a Heuristic for Planning |
2023-10-16T05:56:06Z | http://arxiv.org/pdf/2310.10094v1 | http://arxiv.org/abs/2310.10094v1 | Yao Xiao, Lu Xu, Jiaxi Li, Wei Lu, Xiaoli Li | 2023-10-16T05:56:06Z | cs.CL | While prompt tuning approaches have achieved competitive performance with
high efficiency, we observe that they invariably employ the same initialization
process, wherein the soft prompt is either randomly initialized or derived from
an existing embedding vocabulary. In contrast to these conventional methods,
this study aims to investigate an alternative way to derive soft prompt. Our
empirical studies show that the soft prompt typically exhibits a low intrinsic
rank characteristic. With such observations, we propose decomposed prompt
tuning, a novel approach that utilizes low-rank matrices to initialize the soft
prompt. Through the low-rank reparameterization, our method significantly
reduces the number of trainable parameters while maintaining effectiveness.
Experimental results on the SuperGLUE benchmark in both high-resource and
low-resource scenarios demonstrate the effectiveness of the proposed method. | cs.CL | Decomposed Prompt Tuning via Low-Rank Reparameterization |
2023-10-16T05:28:28Z | http://arxiv.org/pdf/2310.10083v2 | http://arxiv.org/abs/2310.10083v2 | Issey Sukeda, Masahiro Suzuki, Hiroki Sakaji, Satoshi Kodera | 2023-12-01T00:29:37Z | cs.CL | In the ongoing wave of impact driven by large language models (LLMs) like
ChatGPT, the adaptation of LLMs to medical domain has emerged as a crucial
research frontier. Since mainstream LLMs tend to be designed for
general-purpose applications, constructing a medical LLM through domain
adaptation is a huge challenge. While instruction-tuning is used to fine-tune
some LLMs, its precise roles in domain adaptation remain unknown. Here we show
the contribution of LoRA-based instruction-tuning to performance in Japanese
medical question-answering tasks. In doing so, we employ a multifaceted
evaluation for multiple-choice questions, including scoring based on "Exact
match" and "Gestalt distance" in addition to the conventional accuracy. Our
findings suggest that LoRA-based instruction-tuning can partially incorporate
domain-specific knowledge into LLMs, with larger models demonstrating more
pronounced effects. Furthermore, our results underscore the potential of
adapting English-centric models for Japanese applications in domain adaptation,
while also highlighting the persisting limitations of Japanese-centric models.
This initiative represents a pioneering effort in enabling medical institutions
to fine-tune and operate models without relying on external services. | cs.CL | JMedLoRA:Medical Domain Adaptation on Japanese Large Language Models using Instruction-tuning |
2023-10-16T05:21:50Z | http://arxiv.org/pdf/2310.10080v1 | http://arxiv.org/abs/2310.10080v1 | Qianli Ma, Haotian Zhou, Tingkai Liu, Jianbo Yuan, Pengfei Liu, Yang You, Hongxia Yang | 2023-10-16T05:21:50Z | cs.CL | Recent years have seen considerable advancements in multi-step reasoning with
Large Language Models (LLMs). The previous studies have elucidated the merits
of integrating feedback or search mechanisms during model inference to improve
the reasoning accuracy. The Process-Supervised Reward Model (PRM), typically
furnishes LLMs with step-by-step feedback during the training phase, akin to
Proximal Policy Optimization (PPO) or reject sampling. Our objective is to
examine the efficacy of PRM in the inference phase to help discern the optimal
solution paths for multi-step tasks such as mathematical reasoning and code
generation. To this end, we propose a heuristic greedy search algorithm that
employs the step-level feedback from PRM to optimize the reasoning pathways
explored by LLMs. This tailored PRM demonstrated enhanced results compared to
the Chain of Thought (CoT) on mathematical benchmarks like GSM8K and MATH.
Additionally, to explore the versatility of our approach, we develop a novel
method to automatically generate step-level reward dataset for coding tasks and
observed similar improved performance in the code generation tasks. Thus
highlighting the robust nature of our reward-model-based approach to inference
for reasoning tasks. | cs.CL | Let's reward step by step: Step-Level reward model as the Navigators for Reasoning |
2023-10-16T05:19:25Z | http://arxiv.org/pdf/2310.10077v1 | http://arxiv.org/abs/2310.10077v1 | Shuyu Jiang, Xingshu Chen, Rui Tang | 2023-10-16T05:19:25Z | cs.CL | Recently, Large language models (LLMs) with powerful general capabilities
have been increasingly integrated into various Web applications, while
undergoing alignment training to ensure that the generated content aligns with
user intent and ethics. Unfortunately, they remain the risk of generating
harmful content like hate speech and criminal activities in practical
applications. Current approaches primarily rely on detecting, collecting, and
training against harmful prompts to prevent such risks. However, they typically
focused on the "superficial" harmful prompts with a solitary intent, ignoring
composite attack instructions with multiple intentions that can easily elicit
harmful content in real-world scenarios. In this paper, we introduce an
innovative technique for obfuscating harmful instructions: Compositional
Instruction Attacks (CIA), which refers to attacking by combination and
encapsulation of multiple instructions. CIA hides harmful prompts within
instructions of harmless intentions, making it impossible for the model to
identify underlying malicious intentions. Furthermore, we implement two
transformation methods, known as T-CIA and W-CIA, to automatically disguise
harmful instructions as talking or writing tasks, making them appear harmless
to LLMs. We evaluated CIA on GPT-4, ChatGPT, and ChatGLM2 with two safety
assessment datasets and two harmful prompt datasets. It achieves an attack
success rate of 95%+ on safety assessment datasets, and 83%+ for GPT-4, 91%+
for ChatGPT (gpt-3.5-turbo backed) and ChatGLM2-6B on harmful prompt datasets.
Our approach reveals the vulnerability of LLMs to such compositional
instruction attacks that harbor underlying harmful intentions, contributing
significantly to LLM security development. Warning: this paper may contain
offensive or upsetting content! | cs.CL | Prompt Packer: Deceiving LLMs through Compositional Instruction with Hidden Attacks |
2023-10-16T05:19:02Z | http://arxiv.org/pdf/2310.10076v1 | http://arxiv.org/abs/2310.10076v1 | Keita Saito, Akifumi Wachi, Koki Wataoka, Youhei Akimoto | 2023-10-16T05:19:02Z | cs.CL, cs.AI | In recent years, Large Language Models (LLMs) have witnessed a remarkable
surge in prevalence, altering the landscape of natural language processing and
machine learning. One key factor in improving the performance of LLMs is
alignment with humans achieved with Reinforcement Learning from Human Feedback
(RLHF), as for many LLMs such as GPT-4, Bard, etc. In addition, recent studies
are investigating the replacement of human feedback with feedback from other
LLMs named Reinforcement Learning from AI Feedback (RLAIF). We examine the
biases that come along with evaluating LLMs with other LLMs and take a closer
look into verbosity bias -- a bias where LLMs sometimes prefer more verbose
answers even if they have similar qualities. We see that in our problem
setting, GPT-4 prefers longer answers more than humans. We also propose a
metric to measure this bias. | cs.CL | Verbosity Bias in Preference Labeling by Large Language Models |
2023-10-16T05:09:58Z | http://arxiv.org/pdf/2310.10698v2 | http://arxiv.org/abs/2310.10698v2 | Yingwei Ma, Yue Yu, Shanshan Li, Yu Jiang, Yong Guo, Yuanliang Zhang, Yutao Xie, Xiangke Liao | 2023-10-22T10:21:12Z | cs.CL | Large language models (LLMs) have showcased remarkable prowess in code
generation. However, automated code generation is still challenging since it
requires a high-level semantic mapping between natural language requirements
and codes. Most existing LLMs-based approaches for code generation rely on
decoder-only causal language models often treate codes merely as plain text
tokens, i.e., feeding the requirements as a prompt input, and outputing code as
flat sequence of tokens, potentially missing the rich semantic features
inherent in source code. To bridge this gap, this paper proposes the "Semantic
Chain-of-Thought" approach to intruduce semantic information of code, named
SeCoT. Our motivation is that the semantic information of the source code (\eg
data flow and control flow) describes more precise program execution behavior,
intention and function. By guiding LLM consider and integrate semantic
information, we can achieve a more granular understanding and representation of
code, enhancing code generation accuracy. Meanwhile, while traditional
techniques leveraging such semantic information require complex static or
dynamic code analysis to obtain features such as data flow and control flow,
SeCoT demonstrates that this process can be fully automated via the intrinsic
capabilities of LLMs (i.e., in-context learning), while being generalizable and
applicable to challenging domains. While SeCoT can be applied with different
LLMs, this paper focuses on the powerful GPT-style models: ChatGPT(close-source
model) and WizardCoder(open-source model). The experimental study on three
popular DL benchmarks (i.e., HumanEval, HumanEval-ET and MBPP) shows that SeCoT
can achieves state-of-the-art performance, greatly improving the potential for
large models and code generation. | cs.CL | Bridging Code Semantic and LLMs: Semantic Chain-of-Thought Prompting for Code Generation |
2023-10-16T05:09:16Z | http://arxiv.org/pdf/2310.10072v3 | http://arxiv.org/abs/2310.10072v3 | Ehsan Latif, Xiaoming Zhai | 2023-12-26T01:13:11Z | cs.CL, cs.AI | This study highlights the potential of fine-tuned ChatGPT (GPT-3.5) for
automatically scoring student written constructed responses using example
assessment tasks in science education. Recent studies on OpenAI's generative
model GPT-3.5 proved its superiority in predicting the natural language with
high accuracy and human-like responses. GPT-3.5 has been trained over enormous
online language materials such as journals and Wikipedia; therefore, more than
direct usage of pre-trained GPT-3.5 is required for automatic scoring as
students utilize a different language than trained material. These imply that a
domain-specific model, fine-tuned over data for specific tasks, can enhance
model performance. In this study, we fine-tuned GPT-3.5 on six assessment tasks
with a diverse dataset of middle-school and high-school student responses and
expert scoring. The six tasks comprise two multi-label and four multi-class
assessment tasks. We compare the performance of fine-tuned GPT-3.5 with the
fine-tuned state-of-the-art Google's generated language model, BERT. The
results show that in-domain training corpora constructed from science questions
and responses for BERT achieved average accuracy = 0.838, SD = 0.069. GPT-3.5
shows a remarkable average increase (9.1%) in automatic scoring accuracy (mean
= 9.15, SD = 0.042) for the six tasks, p =0.001 < 0.05. Specifically, for
multi-label tasks (item 1 with 5 labels; item 2 with 10 labels), GPT-3.5
achieved significantly higher scoring accuracy than BERT across all the labels,
with the second item achieving a 7.1% increase. The average scoring increase
for the four multi-class items for GPT-3.5 was 10.6% compared to BERT. Our
study confirmed the effectiveness of fine-tuned GPT-3.5 for automatic scoring
of student responses on domain-specific data in education with high accuracy.
We have released fine-tuned models for public use and community engagement. | cs.CL | Fine-tuning ChatGPT for Automatic Scoring |
2023-10-16T04:53:22Z | http://arxiv.org/pdf/2310.10062v2 | http://arxiv.org/abs/2310.10062v2 | Alon Jacovi, Avi Caciularu, Jonathan Herzig, Roee Aharoni, Bernd Bohnet, Mor Geva | 2023-12-28T15:41:35Z | cs.CL, cs.AI | A growing area of research investigates augmenting language models with tools
(e.g., search engines, calculators) to overcome their shortcomings (e.g.,
missing or incorrect knowledge, incorrect logical inferences). Various few-shot
tool-usage strategies have been proposed. However, there is no systematic and
fair comparison across different strategies, or between these strategies and
strong baselines that do not leverage tools. We conduct an extensive empirical
analysis, finding that (1) across various datasets, example difficulty levels,
and models, strong no-tool baselines are competitive to tool-assisted
strategies, implying that effectively using tools with in-context
demonstrations is a difficult unsolved problem; (2) for knowledge-retrieval
tasks, strategies that *refine* incorrect outputs with tools outperform
strategies that retrieve relevant information *ahead of* or *during
generation*; (3) tool-assisted strategies are expensive in the number of tokens
they require to work -- incurring additional costs by orders of magnitude --
which does not translate into significant improvement in performance. Overall,
our findings suggest that few-shot tool integration is still an open challenge,
emphasizing the need for comprehensive evaluations of future strategies to
accurately assess their *benefits* and *costs*. | cs.CL | A Comprehensive Evaluation of Tool-Assisted Generation Strategies |
2023-10-16T04:27:36Z | http://arxiv.org/pdf/2310.10054v1 | http://arxiv.org/abs/2310.10054v1 | Jongwoo Ko, Seungjoon Park, Yujin Kim, Sumyeong Ahn, Du-Seong Chang, Euijai Ahn, Se-Young Yun | 2023-10-16T04:27:36Z | cs.CL, cs.AI, cs.LG | Structured pruning methods have proven effective in reducing the model size
and accelerating inference speed in various network architectures such as
Transformers. Despite the versatility of encoder-decoder models in numerous NLP
tasks, the structured pruning methods on such models are relatively less
explored compared to encoder-only models. In this study, we investigate the
behavior of the structured pruning of the encoder-decoder models in the
decoupled pruning perspective of the encoder and decoder component,
respectively. Our findings highlight two insights: (1) the number of decoder
layers is the dominant factor of inference speed, and (2) low sparsity in the
pruned encoder network enhances generation quality. Motivated by these
findings, we propose a simple and effective framework, NASH, that narrows the
encoder and shortens the decoder networks of encoder-decoder models. Extensive
experiments on diverse generation and inference tasks validate the
effectiveness of our method in both speedup and output quality. | cs.CL | NASH: A Simple Unified Framework of Structured Pruning for Accelerating Encoder-Decoder Language Models |
2023-10-16T04:20:16Z | http://arxiv.org/pdf/2310.10050v1 | http://arxiv.org/abs/2310.10050v1 | Tom Bryan, Jacob Carlson, Abhishek Arora, Melissa Dell | 2023-10-16T04:20:16Z | cs.CV, cs.CL, econ.GN, q-fin.EC | Billions of public domain documents remain trapped in hard copy or lack an
accurate digitization. Modern natural language processing methods cannot be
used to index, retrieve, and summarize their texts; conduct computational
textual analyses; or extract information for statistical analyses, and these
texts cannot be incorporated into language model training. Given the diversity
and sheer quantity of public domain texts, liberating them at scale requires
optical character recognition (OCR) that is accurate, extremely cheap to
deploy, and sample-efficient to customize to novel collections, languages, and
character sets. Existing OCR engines, largely designed for small-scale
commercial applications in high resource languages, often fall short of these
requirements. EffOCR (EfficientOCR), a novel open-source OCR package, meets
both the computational and sample efficiency requirements for liberating texts
at scale by abandoning the sequence-to-sequence architecture typically used for
OCR, which takes representations from a learned vision model as inputs to a
learned language model. Instead, EffOCR models OCR as a character or word-level
image retrieval problem. EffOCR is cheap and sample efficient to train, as the
model only needs to learn characters' visual appearance and not how they are
used in sequence to form language. Models in the EffOCR model zoo can be
deployed off-the-shelf with only a few lines of code. Importantly, EffOCR also
allows for easy, sample efficient customization with a simple model training
interface and minimal labeling requirements due to its sample efficiency. We
illustrate the utility of EffOCR by cheaply and accurately digitizing 20
million historical U.S. newspaper scans, evaluating zero-shot performance on
randomly selected documents from the U.S. National Archives, and accurately
digitizing Japanese documents for which all other OCR solutions failed. | cs.CV | EfficientOCR: An Extensible, Open-Source Package for Efficiently Digitizing World Knowledge |
2023-10-16T04:11:19Z | http://arxiv.org/pdf/2310.10047v1 | http://arxiv.org/abs/2310.10047v1 | Yixin Liu, Avi Singh, C. Daniel Freeman, John D. Co-Reyes, Peter J. Liu | 2023-10-16T04:11:19Z | cs.CL | Despite their success in many natural language tasks, solving math problems
remains a significant challenge for large language models (LLMs). A large gap
exists between LLMs' pass-at-one and pass-at-N performance in solving math
problems, suggesting LLMs might be close to finding correct solutions,
motivating our exploration of fine-tuning methods to unlock LLMs' performance.
Using the challenging MATH dataset, we investigate three fine-tuning
strategies: (1) solution fine-tuning, where we fine-tune to generate a detailed
solution for a given math problem; (2) solution-cluster re-ranking, where the
LLM is fine-tuned as a solution verifier/evaluator to choose among generated
candidate solution clusters; (3) multi-task sequential fine-tuning, which
integrates both solution generation and evaluation tasks together efficiently
to enhance the LLM performance. With these methods, we present a thorough
empirical study on a series of PaLM 2 models and find: (1) The quality and
style of the step-by-step solutions used for fine-tuning can make a significant
impact on the model performance; (2) While solution re-ranking and majority
voting are both effective for improving the model performance when used
separately, they can also be used together for an even greater performance
boost; (3) Multi-task fine-tuning that sequentially separates the solution
generation and evaluation tasks can offer improved performance compared with
the solution fine-tuning baseline. Guided by these insights, we design a
fine-tuning recipe that yields approximately 58.8% accuracy on the MATH dataset
with fine-tuned PaLM 2-L models, an 11.2% accuracy improvement over the
few-shot performance of pre-trained PaLM 2-L model with majority voting. | cs.CL | Improving Large Language Model Fine-tuning for Solving Math Problems |
2023-10-16T03:40:03Z | http://arxiv.org/pdf/2310.10035v1 | http://arxiv.org/abs/2310.10035v1 | Tingyu Xie, Qi Li, Jian Zhang, Yan Zhang, Zuozhu Liu, Hongwei Wang | 2023-10-16T03:40:03Z | cs.CL | Large language models (LLMs) exhibited powerful capability in various natural
language processing tasks. This work focuses on exploring LLM performance on
zero-shot information extraction, with a focus on the ChatGPT and named entity
recognition (NER) task. Inspired by the remarkable reasoning capability of LLM
on symbolic and arithmetic reasoning, we adapt the prevalent reasoning methods
to NER and propose reasoning strategies tailored for NER. First, we explore a
decomposed question-answering paradigm by breaking down the NER task into
simpler subproblems by labels. Second, we propose syntactic augmentation to
stimulate the model's intermediate thinking in two ways: syntactic prompting,
which encourages the model to analyze the syntactic structure itself, and tool
augmentation, which provides the model with the syntactic information generated
by a parsing tool. Besides, we adapt self-consistency to NER by proposing a
two-stage majority voting strategy, which first votes for the most consistent
mentions, then the most consistent types. The proposed methods achieve
remarkable improvements for zero-shot NER across seven benchmarks, including
Chinese and English datasets, and on both domain-specific and general-domain
scenarios. In addition, we present a comprehensive analysis of the error types
with suggestions for optimization directions. We also verify the effectiveness
of the proposed methods on the few-shot setting and other LLMs. | cs.CL | Empirical Study of Zero-Shot NER with ChatGPT |
2023-10-15T23:23:27Z | http://arxiv.org/pdf/2310.09983v1 | http://arxiv.org/abs/2310.09983v1 | Noveen Sachdeva, Zexue He, Wang-Cheng Kang, Jianmo Ni, Derek Zhiyuan Cheng, Julian McAuley | 2023-10-15T23:23:27Z | cs.LG, cs.AI, cs.CL, cs.IR | We study data distillation for auto-regressive machine learning tasks, where
the input and output have a strict left-to-right causal structure. More
specifically, we propose Farzi, which summarizes an event sequence dataset into
a small number of synthetic sequences -- Farzi Data -- which are optimized to
maintain (if not improve) model performance compared to training on the full
dataset. Under the hood, Farzi conducts memory-efficient data distillation by
(i) deriving efficient reverse-mode differentiation of the Adam optimizer by
leveraging Hessian-Vector Products; and (ii) factorizing the high-dimensional
discrete event-space into a latent-space which provably promotes implicit
regularization. Empirically, for sequential recommendation and language
modeling tasks, we are able to achieve 98-120% of downstream full-data
performance when training state-of-the-art models on Farzi Data of size as
little as 0.1% of the original dataset. Notably, being able to train better
models with significantly less data sheds light on the design of future large
auto-regressive models, and opens up new opportunities to further scale up
model and data sizes. | cs.LG | Farzi Data: Autoregressive Data Distillation |
2023-10-15T20:57:25Z | http://arxiv.org/pdf/2310.09949v3 | http://arxiv.org/abs/2310.09949v3 | Wenqi Jiang, Marco Zeller, Roger Waleffe, Torsten Hoefler, Gustavo Alonso | 2023-11-29T16:34:49Z | cs.LG, cs.AI, cs.AR, cs.CL | A Retrieval-Augmented Language Model (RALM) augments a generative language
model by retrieving context-specific knowledge from an external database. This
strategy facilitates impressive text generation quality even with smaller
models, thus reducing orders of magnitude of computational demands. However,
RALMs introduce unique system design challenges due to (a) the diverse workload
characteristics between LM inference and retrieval and (b) the various system
requirements and bottlenecks for different RALM configurations such as model
sizes, database sizes, and retrieval frequencies. We propose Chameleon, a
heterogeneous accelerator system that integrates both LM and retrieval
accelerators in a disaggregated architecture. The heterogeneity ensures
efficient acceleration of both LM inference and retrieval, while the
accelerator disaggregation enables the system to independently scale both types
of accelerators to fulfill diverse RALM requirements. Our Chameleon prototype
implements retrieval accelerators on FPGAs and assigns LM inference to GPUs,
with a CPU server orchestrating these accelerators over the network. Compared
to CPU-based and CPU-GPU vector search systems, Chameleon achieves up to 23.72x
speedup and 26.2x energy efficiency. Evaluated on various RALMs, Chameleon
exhibits up to 2.16x reduction in latency and 3.18x speedup in throughput
compared to the hybrid CPU-GPU architecture. These promising results pave the
way for bringing accelerator heterogeneity and disaggregation into future RALM
systems. | cs.LG | Chameleon: a heterogeneous and disaggregated accelerator system for retrieval-augmented language models |
2023-10-15T20:49:31Z | http://arxiv.org/pdf/2310.09946v1 | http://arxiv.org/abs/2310.09946v1 | Di Wu, Shaomu Tan, David Stap, Ali Araabi, Christof Monz | 2023-10-15T20:49:31Z | cs.CL, cs.LG | This paper describes the UvA-MT's submission to the WMT 2023 shared task on
general machine translation. We participate in the constrained track in two
directions: English <-> Hebrew. In this competition, we show that by using one
model to handle bidirectional tasks, as a minimal setting of Multilingual
Machine Translation (MMT), it is possible to achieve comparable results with
that of traditional bilingual translation for both directions. By including
effective strategies, like back-translation, re-parameterized embedding table,
and task-oriented fine-tuning, we obtained competitive final results in the
automatic evaluation for both English -> Hebrew and Hebrew -> English
directions. | cs.CL | UvA-MT's Participation in the WMT23 General Translation Shared Task |
2023-10-15T19:37:39Z | http://arxiv.org/pdf/2310.09930v1 | http://arxiv.org/abs/2310.09930v1 | Tianxiao Shen, Hao Peng, Ruoqi Shen, Yao Fu, Zaid Harchaoui, Yejin Choi | 2023-10-15T19:37:39Z | cs.CL | Language models have become the backbone of today's AI systems. However,
their predominant left-to-right generation limits the use of bidirectional
context, which is essential for tasks that involve filling text in the middle.
We propose the Fill-in Language Model (FiLM), a new language modeling approach
that allows for flexible generation at any position without adhering to a
specific generation order. Its training extends the masked language modeling
objective by adopting varying mask probabilities sampled from the Beta
distribution to enhance the generative capabilities of FiLM. During inference,
FiLM can seamlessly insert missing phrases, sentences, or paragraphs, ensuring
that the outputs are fluent and are coherent with the surrounding context. In
both automatic and human evaluations, FiLM outperforms existing infilling
methods that rely on left-to-right language models trained on rearranged text
segments. FiLM is easy to implement and can be either trained from scratch or
fine-tuned from a left-to-right language model. Notably, as the model size
grows, FiLM's perplexity approaches that of strong left-to-right language
models of similar sizes, indicating FiLM's scalability and potential as a large
language model. | cs.CL | FiLM: Fill-in Language Models for Any-Order Generation |
2023-10-15T19:36:43Z | http://arxiv.org/pdf/2310.09929v1 | http://arxiv.org/abs/2310.09929v1 | Shubham Parashar, Zhiqiu Lin, Yanan Li, Shu Kong | 2023-10-15T19:36:43Z | cs.CV, cs.CL | Trained on web-scale image-text pairs, Vision-Language Models (VLMs) such as
CLIP can recognize images of common objects in a zero-shot fashion. However, it
is underexplored how to use CLIP for zero-shot recognition of highly
specialized concepts, e.g., species of birds, plants, and animals, for which
their scientific names are written in Latin or Greek. Indeed, CLIP performs
poorly for zero-shot species recognition with prompts that use scientific
names, e.g., "a photo of Lepus Timidus" (which is a scientific name in Latin).
Because these names are usually not included in CLIP's training set. To improve
performance, prior works propose to use large-language models (LLMs) to
generate descriptions (e.g., of species color and shape) and additionally use
them in prompts. We find that they bring only marginal gains. Differently, we
are motivated to translate scientific names (e.g., Lepus Timidus) to common
English names (e.g., mountain hare) and use such in the prompts. We find that
common names are more likely to be included in CLIP's training set, and
prompting them achieves 2$\sim$5 times higher accuracy on benchmarking datasets
of fine-grained species recognition. | cs.CV | Prompting Scientific Names for Zero-Shot Species Recognition |
2023-10-15T19:24:13Z | http://arxiv.org/pdf/2310.09925v1 | http://arxiv.org/abs/2310.09925v1 | Hosein Mohebbi, Grzegorz Chrupała, Willem Zuidema, Afra Alishahi | 2023-10-15T19:24:13Z | cs.CL, cs.AI, cs.LG | Transformers have become a key architecture in speech processing, but our
understanding of how they build up representations of acoustic and linguistic
structure is limited. In this study, we address this gap by investigating how
measures of 'context-mixing' developed for text models can be adapted and
applied to models of spoken language. We identify a linguistic phenomenon that
is ideal for such a case study: homophony in French (e.g. livre vs livres),
where a speech recognition model has to attend to syntactic cues such as
determiners and pronouns in order to disambiguate spoken words with identical
pronunciations and transcribe them while respecting grammatical agreement. We
perform a series of controlled experiments and probing analyses on
Transformer-based speech models. Our findings reveal that representations in
encoder-only models effectively incorporate these cues to identify the correct
transcription, whereas encoders in encoder-decoder models mainly relegate the
task of capturing contextual dependencies to decoder modules. | cs.CL | Homophone Disambiguation Reveals Patterns of Context Mixing in Speech Transformers |
2023-10-15T18:58:53Z | http://arxiv.org/pdf/2310.09917v3 | http://arxiv.org/abs/2310.09917v3 | Nadezhda Chirkova, Sheng Liang, Vassilina Nikoulina | 2024-04-22T17:10:45Z | cs.CL | Zero-shot cross-lingual knowledge transfer enables the multilingual
pretrained language model (mPLM), finetuned on a task in one language, make
predictions for this task in other languages. While being broadly studied for
natural language understanding tasks, the described setting is understudied for
generation. Previous works notice a frequent problem of generation in a wrong
language and propose approaches to address it, usually using mT5 as a backbone
model. In this work, we test alternative mPLMs, such as mBART and NLLB-200,
considering full finetuning and parameter-efficient finetuning with adapters.
We find that mBART with adapters performs similarly to mT5 of the same size,
and NLLB-200 can be competitive in some cases. We also underline the importance
of tuning learning rate used for finetuning, which helps to alleviate the
problem of generation in the wrong language. | cs.CL | Empirical study of pretrained multilingual language models for zero-shot cross-lingual knowledge transfer in generation |
2023-10-15T18:32:27Z | http://arxiv.org/pdf/2310.09909v3 | http://arxiv.org/abs/2310.09909v3 | Chaoyi Wu, Jiayu Lei, Qiaoyu Zheng, Weike Zhao, Weixiong Lin, Xiaoman Zhang, Xiao Zhou, Ziheng Zhao, Ya Zhang, Yanfeng Wang, Weidi Xie | 2023-12-04T14:13:35Z | cs.CV, cs.CL | Driven by the large foundation models, the development of artificial
intelligence has witnessed tremendous progress lately, leading to a surge of
general interest from the public. In this study, we aim to assess the
performance of OpenAI's newest model, GPT-4V(ision), specifically in the realm
of multimodal medical diagnosis. Our evaluation encompasses 17 human body
systems, including Central Nervous System, Head and Neck, Cardiac, Chest,
Hematology, Hepatobiliary, Gastrointestinal, Urogenital, Gynecology,
Obstetrics, Breast, Musculoskeletal, Spine, Vascular, Oncology, Trauma,
Pediatrics, with images taken from 8 modalities used in daily clinic routine,
e.g., X-ray, Computed Tomography (CT), Magnetic Resonance Imaging (MRI),
Positron Emission Tomography (PET), Digital Subtraction Angiography (DSA),
Mammography, Ultrasound, and Pathology. We probe the GPT-4V's ability on
multiple clinical tasks with or without patent history provided, including
imaging modality and anatomy recognition, disease diagnosis, report generation,
disease localisation.
Our observation shows that, while GPT-4V demonstrates proficiency in
distinguishing between medical image modalities and anatomy, it faces
significant challenges in disease diagnosis and generating comprehensive
reports. These findings underscore that while large multimodal models have made
significant advancements in computer vision and natural language processing, it
remains far from being used to effectively support real-world medical
applications and clinical decision-making.
All images used in this report can be found in
https://github.com/chaoyi-wu/GPT-4V_Medical_Evaluation. | cs.CV | Can GPT-4V(ision) Serve Medical Applications? Case Studies on GPT-4V for Multimodal Medical Diagnosis |
2023-10-15T17:58:47Z | http://arxiv.org/pdf/2310.09897v1 | http://arxiv.org/abs/2310.09897v1 | Dimitris Gkoumas, Matthew Purver, Maria Liakata | 2023-10-15T17:58:47Z | cs.CL | Dementia is associated with language disorders which impede communication.
Here, we automatically learn linguistic disorder patterns by making use of a
moderately-sized pre-trained language model and forcing it to focus on
reformulated natural language processing (NLP) tasks and associated linguistic
patterns. Our experiments show that NLP tasks that encapsulate contextual
information and enhance the gradient signal with linguistic patterns benefit
performance. We then use the probability estimates from the best model to
construct digital linguistic markers measuring the overall quality in
communication and the intensity of a variety of language disorders. We
investigate how the digital markers characterize dementia speech from a
longitudinal perspective. We find that our proposed communication marker is
able to robustly and reliably characterize the language of people with
dementia, outperforming existing linguistic approaches; and shows external
validity via significant correlation with clinical markers of behaviour.
Finally, our proposed linguistic disorder markers provide useful insights into
gradual language impairment associated with disease progression. | cs.CL | Reformulating NLP tasks to Capture Longitudinal Manifestation of Language Disorders in People with Dementia |
2023-10-15T16:51:11Z | http://arxiv.org/pdf/2310.09886v4 | http://arxiv.org/abs/2310.09886v4 | Chengwei Qin, Chen Chen, Shafiq Joty | 2023-11-22T06:44:16Z | cs.CL, cs.AI | Lifelong sequence generation (LSG), a problem in continual learning, aims to
continually train a model on a sequence of generation tasks to learn constantly
emerging new generation patterns while avoiding the forgetting of previous
knowledge. Existing LSG methods mainly focus on maintaining old knowledge while
paying little attention to knowledge transfer across tasks. In contrast, humans
can better learn new tasks by leveraging previously acquired knowledge from
similar tasks. Inspired by the learning paradigm of humans, we propose Dynamic
Module Expansion and Adaptation (DMEA), which enables the model to dynamically
determine the architecture for acquiring new knowledge based on task
correlation and select the most similar previous tasks to facilitate adaptation
to new tasks. In addition, as the learning process can easily be biased towards
the current task which might cause more severe forgetting of previously learned
knowledge, we propose dynamic gradient scaling to balance the learning of the
current task and replayed tasks. With extensive experiments, we demonstrate
that DMEA can consistently outperform existing methods in different LSG
settings. | cs.CL | Lifelong Sequence Generation with Dynamic Module Expansion and Adaptation |
2023-10-15T16:40:19Z | http://arxiv.org/pdf/2310.09881v3 | http://arxiv.org/abs/2310.09881v3 | Chengwei Qin, Aston Zhang, Chen Chen, Anirudh Dagar, Wenming Ye | 2024-06-23T05:01:28Z | cs.CL, cs.AI | Spurred by advancements in scale, large language models (LLMs) have
demonstrated strong few-shot learning ability via in-context learning (ICL).
However, the performance of ICL has been shown to be highly sensitive to the
selection of few-shot demonstrations. Selecting the most suitable examples as
context remains an ongoing challenge and an open problem. Existing literature
has highlighted the importance of selecting examples that are diverse or
semantically similar to the test sample while ignoring the fact that the
optimal selection dimension, i.e., diversity or similarity, is task-specific.
Based on how the test sample is answered, we propose Iterative Demonstration
Selection (IDS) to leverage the merits of both dimensions. Using zero-shot
chain-of-thought reasoning (Zero-shot-CoT), IDS iteratively selects examples
that are diverse but still strongly correlated with the test sample as ICL
demonstrations. Specifically, IDS applies Zero-shot-CoT to the test sample
before demonstration selection. The output reasoning path is then used to
choose demonstrations that are prepended to the test sample for inference. The
generated answer is followed by its corresponding reasoning path for extracting
a new set of demonstrations in the next iteration. After several iterations,
IDS adopts majority voting to obtain the final result. Through extensive
experiments on tasks including reasoning, question answering, and topic
classification, we demonstrate that IDS can consistently outperform existing
ICL demonstration selection methods. | cs.CL | In-Context Learning with Iterative Demonstration Selection |
2023-10-15T16:17:20Z | http://arxiv.org/pdf/2310.09876v1 | http://arxiv.org/abs/2310.09876v1 | Zheng Ma, Changxin Wang, Bo Huang, Zixuan Zhu, Jianbing Zhang | 2023-10-15T16:17:20Z | cs.CV, cs.CL | Most image captioning models following an autoregressive manner suffer from
significant inference latency. Several models adopted a non-autoregressive
manner to speed up the process. However, the vanilla non-autoregressive manner
results in subpar performance, since it generates all words simultaneously,
which fails to capture the relationships between words in a description. The
semi-autoregressive manner employs a partially parallel method to preserve
performance, but it sacrifices inference speed. In this paper, we introduce a
fast and flexible framework for image captioning called BoFiCap based on
bounding and filling techniques. The BoFiCap model leverages the inherent
characteristics of image captioning tasks to pre-define bounding boxes for
image regions and their relationships. Subsequently, the BoFiCap model fills
corresponding words in each box using two-generation manners. Leveraging the
box hints, our filling process allows each word to better perceive other words.
Additionally, our model offers flexible image description generation: 1) by
employing different generation manners based on speed or performance
requirements, 2) producing varied sentences based on user-specified boxes.
Experimental evaluations on the MS-COCO benchmark dataset demonstrate that our
framework in a non-autoregressive manner achieves the state-of-the-art on
task-specific metric CIDEr (125.6) while speeding up 9.22x than the baseline
model with an autoregressive manner; in a semi-autoregressive manner, our
method reaches 128.4 on CIDEr while a 3.69x speedup. Our code and data is
available at https://github.com/ChangxinWang/BoFiCap. | cs.CV | Bounding and Filling: A Fast and Flexible Framework for Image Captioning |
2023-10-15T14:40:57Z | http://arxiv.org/pdf/2310.09848v1 | http://arxiv.org/abs/2310.09848v1 | Hong Zhang, Prasanta Bhattacharya, Wei Gao, Liang Ze Wong, Brandon Siyuan Loh, Joseph J. P. Simons, Jisun An | 2023-10-15T14:40:57Z | cs.CL | This study enhances stance detection on social media by incorporating deeper
psychological attributes, specifically individuals' moral foundations. These
theoretically-derived dimensions aim to provide a comprehensive profile of an
individual's moral concerns which, in recent work, has been linked to behaviour
in a range of domains, including society, politics, health, and the
environment. In this paper, we investigate how moral foundation dimensions can
contribute to predicting an individual's stance on a given target. Specifically
we incorporate moral foundation features extracted from text, along with
message semantic features, to classify stances at both message- and user-levels
across a range of targets and models. Our preliminary results suggest that
encoding moral foundations can enhance the performance of stance detection
tasks and help illuminate the associations between specific moral foundations
and online stances on target topics. The results highlight the importance of
considering deeper psychological attributes in stance analysis and underscores
the role of moral foundations in guiding online social behavior. | cs.CL | Enhancing Stance Classification with Quantified Moral Foundations |
2023-10-15T13:28:42Z | http://arxiv.org/pdf/2310.09832v3 | http://arxiv.org/abs/2310.09832v3 | Shwai He, Run-Ze Fan, Liang Ding, Li Shen, Tianyi Zhou, Dacheng Tao | 2023-11-21T20:30:00Z | cs.CL | Scaling the size of language models usually leads to remarkable advancements
in NLP tasks. But it often comes with a price of growing computational cost.
Although a sparse Mixture of Experts (MoE) can reduce the cost by activating a
small subset of parameters (e.g., one expert) for each input, its computation
escalates significantly if increasing the number of activated experts, limiting
its practical utility. Can we retain the advantages of adding more experts
without substantially increasing the computational costs? In this paper, we
first demonstrate the superiority of selecting multiple experts and then
propose a computation-efficient approach called \textbf{\texttt{Merging Experts
into One}} (MEO), which reduces the computation cost to that of a single
expert. Extensive experiments show that MEO significantly improves
computational efficiency, e.g., FLOPS drops from 72.0G of vanilla MoE to 28.6G
(MEO). Moreover, we propose a token-level attention block that further enhances
the efficiency and performance of token-level MEO, e.g., 83.3\% (MEO) vs.
82.6\% (vanilla MoE) average score on the GLUE benchmark. Our code will be
released upon acceptance. Code will be released at:
\url{https://github.com/Shwai-He/MEO}. | cs.CL | Merging Experts into One: Improving Computational Efficiency of Mixture of Experts |
2023-10-15T12:56:13Z | http://arxiv.org/pdf/2310.10690v3 | http://arxiv.org/abs/2310.10690v3 | Manh Hung Nguyen, Sebastian Tschiatschek, Adish Singla | 2024-05-03T22:03:43Z | cs.CL, cs.AI | Student modeling is central to many educational technologies as it enables
predicting future learning outcomes and designing targeted instructional
strategies. However, open-ended learning domains pose challenges for accurately
modeling students due to the diverse behaviors and a large space of possible
misconceptions. To approach these challenges, we explore the application of
large language models (LLMs) for in-context student modeling in open-ended
learning domains. More concretely, given a particular student's attempt on a
reference task as observation, the objective is to synthesize the student's
attempt on a target task. We introduce a novel framework, LLM for Student
Synthesis (LLM-SS), that leverages LLMs for synthesizing a student's behavior.
Our framework can be combined with different LLMs; moreover, we fine-tune LLMs
to boost their student modeling capabilities. We instantiate several methods
based on LLM-SS framework and evaluate them using an existing benchmark,
StudentSyn, for student attempt synthesis in a visual programming domain.
Experimental results show that our methods perform significantly better than
the baseline method NeurSS provided in the StudentSyn benchmark. Furthermore,
our method using a fine-tuned version of the GPT-3.5 model is significantly
better than using the base GPT-3.5 model and gets close to human tutors'
performance. | cs.CL | Large Language Models for In-Context Student Modeling: Synthesizing Student's Behavior in Visual Programming |
2023-10-15T12:40:30Z | http://arxiv.org/pdf/2310.09820v1 | http://arxiv.org/abs/2310.09820v1 | Weixuan Wang, Barry Haddow, Alexandra Birch, Wei Peng | 2023-10-15T12:40:30Z | cs.CL | Large language models (LLMs) have been treated as knowledge bases due to
their strong performance in knowledge probing tasks. LLMs are typically
evaluated using accuracy, yet this metric does not capture the vulnerability of
LLMs to hallucination-inducing factors like prompt and context variability. How
do we evaluate the capabilities of LLMs to consistently produce factually
correct answers? In this paper, we propose MOdel kNowledge relIabiliTy scORe
(MONITOR), a novel metric designed to directly measure LLMs' factual
reliability. MONITOR computes the distance between the probability
distributions of a valid output and its counterparts produced by the same LLM
probing the same fact using different styles of prompts and
contexts.Experiments on a comprehensive range of 12 LLMs demonstrate the
effectiveness of MONITOR in evaluating the factual reliability of LLMs while
maintaining a low computational overhead. In addition, we release the FKTC
(Factual Knowledge Test Corpus) test set, containing 210,158 prompts in total
to foster research along this line (https://github.com/Vicky-Wil/MONITOR). | cs.CL | Assessing the Reliability of Large Language Model Knowledge |
2023-10-15T08:21:38Z | http://arxiv.org/pdf/2310.09773v1 | http://arxiv.org/abs/2310.09773v1 | Yu-Chien Tang, Wei-Yao Wang, An-Zi Yen, Wen-Chih Peng | 2023-10-15T08:21:38Z | cs.CL | The dialogue systems in customer services have been developed with neural
models to provide users with precise answers and round-the-clock support in
task-oriented conversations by detecting customer intents based on their
utterances. Existing intent detection approaches have highly relied on
adaptively pre-training language models with large-scale datasets, yet the
predominant cost of data collection may hinder their superiority. In addition,
they neglect the information within the conversational responses of the agents,
which have a lower collection cost, but are significant to customer intent as
agents must tailor their replies based on the customers' intent. In this paper,
we propose RSVP, a self-supervised framework dedicated to task-oriented
dialogues, which utilizes agent responses for pre-training in a two-stage
manner. Specifically, we introduce two pre-training tasks to incorporate the
relations of utterance-response pairs: 1) Response Retrieval by selecting a
correct response from a batch of candidates, and 2) Response Generation by
mimicking agents to generate the response to a given utterance. Our benchmark
results for two real-world customer service datasets show that RSVP
significantly outperforms the state-of-the-art baselines by 4.95% for accuracy,
3.4% for MRR@3, and 2.75% for MRR@5 on average. Extensive case studies are
investigated to show the validity of incorporating agent responses into the
pre-training stage. | cs.CL | RSVP: Customer Intent Detection via Agent Response Contrastive and Generative Pre-Training |
2023-10-15T08:07:56Z | http://arxiv.org/pdf/2310.09772v2 | http://arxiv.org/abs/2310.09772v2 | Li Zhou, Wenyu Chen, Dingyi Zeng, Malu Zhang, Daniel Hershcovich | 2023-12-28T02:57:12Z | cs.CL | In the field of natural language understanding, the intersection of neural
models and graph meaning representations (GMRs) remains a compelling area of
research. Despite the growing interest, a critical gap persists in
understanding the exact influence of GMRs, particularly concerning relation
extraction tasks. Addressing this, we introduce DAGNN-plus, a simple and
parameter-efficient neural architecture designed to decouple contextual
representation learning from structural information propagation. Coupled with
various sequence encoders and GMRs, this architecture provides a foundation for
systematic experimentation on two English and two Chinese datasets. Our
empirical analysis utilizes four different graph formalisms and nine parsers.
The results yield a nuanced understanding of GMRs, showing improvements in
three out of the four datasets, particularly favoring English over Chinese due
to highly accurate parsers. Interestingly, GMRs appear less effective in
literary-domain datasets compared to general-domain datasets. These findings
lay the groundwork for better-informed design of GMRs and parsers to improve
relation classification, which is expected to tangibly impact the future
trajectory of natural language understanding research. | cs.CL | Rethinking Relation Classification with Graph Meaning Representations |
2023-10-15T07:58:52Z | http://arxiv.org/pdf/2310.09767v2 | http://arxiv.org/abs/2310.09767v2 | Jiwan Chung, Youngjae Yu | 2023-12-19T13:01:50Z | cs.CL, cs.AI | Multimodal language generation, which leverages the synergy of language and
vision, is a rapidly expanding field. However, existing vision-language models
face challenges in tasks that require complex linguistic understanding. To
address this issue, we introduce Visual-Language models as Importance Sampling
weights (VLIS), a novel framework that combines the visual conditioning
capability of vision-language models with the language understanding of
unimodal text-only language models without further training. It extracts
pointwise mutual information of each image and text from a visual-language
model and uses the value as an importance sampling weight to adjust the token
likelihood from a text-only model. VLIS improves vision-language models on
diverse tasks, including commonsense understanding (WHOOPS, OK-VQA, and
ScienceQA) and complex text generation (Concadia, Image Paragraph Captioning,
and ROCStories). Our results suggest that VLIS represents a promising new
direction for multimodal language generation. | cs.CL | VLIS: Unimodal Language Models Guide Multimodal Language Generation |
2023-10-15T07:49:56Z | http://arxiv.org/pdf/2310.09765v1 | http://arxiv.org/abs/2310.09765v1 | Sayan Mahapatra, Debtanu Datta, Shubham Soni, Adrijit Goswami, Saptarshi Ghosh | 2023-10-15T07:49:56Z | cs.CL, cs.AI | Most legal text in the Indian judiciary is written in complex English due to
historical reasons. However, only about 10% of the Indian population is
comfortable in reading English. Hence legal text needs to be made available in
various Indian languages, possibly by translating the available legal text from
English. Though there has been a lot of research on translation to and between
Indian languages, to our knowledge, there has not been much prior work on such
translation in the legal domain. In this work, we construct the first
high-quality legal parallel corpus containing aligned text units in English and
nine Indian languages, that includes several low-resource languages. We also
benchmark the performance of a wide variety of Machine Translation (MT) systems
over this corpus, including commercial MT systems, open-source MT systems and
Large Language Models. Through a comprehensive survey by Law practitioners, we
check how satisfied they are with the translations by some of these MT systems,
and how well automatic MT evaluation metrics agree with the opinions of Law
practitioners. | cs.CL | Improving Access to Justice for the Indian Population: A Benchmark for Evaluating Translation of Legal Text to Indian Languages |
2023-10-15T07:20:28Z | http://arxiv.org/pdf/2310.09762v1 | http://arxiv.org/abs/2310.09762v1 | Boan Liu, Liang Ding, Li Shen, Keqin Peng, Yu Cao, Dazhao Cheng, Dacheng Tao | 2023-10-15T07:20:28Z | cs.CL, cs.AI | The Mixture of Experts (MoE) has emerged as a highly successful technique in
deep learning, based on the principle of divide-and-conquer to maximize model
capacity without significant additional computational cost. Even in the era of
large-scale language models (LLMs), MoE continues to play a crucial role, as
some researchers have indicated that GPT-4 adopts the MoE structure to ensure
diverse inference results. However, MoE is susceptible to performance
degeneracy, particularly evident in the issues of imbalance and homogeneous
representation among experts. While previous studies have extensively addressed
the problem of imbalance, the challenge of homogeneous representation remains
unresolved. In this study, we shed light on the homogeneous representation
problem, wherein experts in the MoE fail to specialize and lack diversity,
leading to frustratingly high similarities in their representations (up to 99%
in a well-performed MoE model). This problem restricts the expressive power of
the MoE and, we argue, contradicts its original intention. To tackle this
issue, we propose a straightforward yet highly effective solution: OMoE, an
orthogonal expert optimizer. Additionally, we introduce an alternating training
strategy that encourages each expert to update in a direction orthogonal to the
subspace spanned by other experts. Our algorithm facilitates MoE training in
two key ways: firstly, it explicitly enhances representation diversity, and
secondly, it implicitly fosters interaction between experts during orthogonal
weights computation. Through extensive experiments, we demonstrate that our
proposed optimization algorithm significantly improves the performance of
fine-tuning the MoE model on the GLUE benchmark, SuperGLUE benchmark,
question-answering task, and name entity recognition tasks. | cs.CL | Diversifying the Mixture-of-Experts Representation for Language Models with Orthogonal Optimizer |
2023-10-15T06:45:38Z | http://arxiv.org/pdf/2310.09753v2 | http://arxiv.org/abs/2310.09753v2 | Enric Boix-Adsera, Omid Saremi, Emmanuel Abbe, Samy Bengio, Etai Littwin, Joshua Susskind | 2024-04-16T17:53:37Z | cs.CL, cs.AI, cs.LG | We investigate the capabilities of transformer models on relational reasoning
tasks. In these tasks, models are trained on a set of strings encoding abstract
relations, and are then tested out-of-distribution on data that contains
symbols that did not appear in the training dataset. We prove that for any
relational reasoning task in a large family of tasks, transformers learn the
abstract relations and generalize to the test set when trained by gradient
descent on sufficiently large quantities of training data. This is in contrast
to classical fully-connected networks, which we prove fail to learn to reason.
Our results inspire modifications of the transformer architecture that add only
two trainable parameters per head, and that we empirically demonstrate improve
data efficiency for learning to reason. | cs.CL | When can transformers reason with abstract symbols? |
2023-10-15T06:12:58Z | http://arxiv.org/pdf/2310.09748v1 | http://arxiv.org/abs/2310.09748v1 | Jia Li, Ge Li, Chongyang Tao, Jia Li, Huangzhao Zhang, Fang Liu, Zhi Jin | 2023-10-15T06:12:58Z | cs.SE, cs.CL | Large language models (LLMs) have shown impressive in-context learning (ICL)
ability in code generation. LLMs take a prompt consisting of requirement-code
examples and a new requirement as input, and output new programs. Existing
studies have found that ICL is highly dominated by the examples and thus arises
research on example selection. However, existing approaches randomly select
examples or only consider the textual similarity of requirements to retrieve,
leading to sub-optimal performance. In this paper, we propose a novel
learning-based selection approach named LAIL (LLM-Aware In-context Learning)
for code generation. Given a candidate example, we exploit LLMs themselves to
estimate it by considering the generation probabilities of ground-truth
programs given a requirement and the example. We then label candidate examples
as positive or negative through the probability feedback. Based on the labeled
data, we import a contrastive learning objective to train an effective
retriever that acquires the preference of LLMs in code generation. We apply
LAIL to three LLMs and evaluate it on three representative datasets (e.g.,
MBJP, MBPP, and MBCPP). LATA outperforms the state-of-the-art baselines by
11.58%, 6.89%, and 5.07% on CodeGen, and 4.38%, 2.85%, and 2.74% on GPT-3.5 in
terms of Pass@1, respectively. | cs.SE | Large Language Model-Aware In-Context Learning for Code Generation |
2023-10-15T05:07:08Z | http://arxiv.org/pdf/2310.09736v1 | http://arxiv.org/abs/2310.09736v1 | Ni Putu Intan Maharani, Yoga Yustiawan, Fauzy Caesar Rochim, Ayu Purwarianti | 2023-10-15T05:07:08Z | cs.CL, cs.AI | BERT and IndoBERT have achieved impressive performance in several NLP tasks.
There has been several investigation on its adaption in specialized domains
especially for English language. We focus on financial domain and Indonesian
language, where we perform post-training on pre-trained IndoBERT for financial
domain using a small scale of Indonesian financial corpus. In this paper, we
construct an Indonesian self-supervised financial corpus, Indonesian financial
sentiment analysis dataset, Indonesian financial topic classification dataset,
and release a family of BERT models for financial NLP. We also evaluate the
effectiveness of domain-specific post-training on sentiment analysis and topic
classification tasks. Our findings indicate that the post-training increases
the effectiveness of a language model when it is fine-tuned to domain-specific
downstream tasks. | cs.CL | Domain-Specific Language Model Post-Training for Indonesian Financial NLP |
2023-10-15T04:52:04Z | http://arxiv.org/pdf/2310.12172v2 | http://arxiv.org/abs/2310.12172v2 | Zhexiong Liu, Mohamed Elaraby, Yang Zhong, Diane Litman | 2023-10-24T14:58:13Z | cs.CL | This paper presents an overview of the ImageArg shared task, the first
multimodal Argument Mining shared task co-located with the 10th Workshop on
Argument Mining at EMNLP 2023. The shared task comprises two classification
subtasks - (1) Subtask-A: Argument Stance Classification; (2) Subtask-B: Image
Persuasiveness Classification. The former determines the stance of a tweet
containing an image and a piece of text toward a controversial topic (e.g., gun
control and abortion). The latter determines whether the image makes the tweet
text more persuasive. The shared task received 31 submissions for Subtask-A and
21 submissions for Subtask-B from 9 different teams across 6 countries. The top
submission in Subtask-A achieved an F1-score of 0.8647 while the best
submission in Subtask-B achieved an F1-score of 0.5561. | cs.CL | Overview of ImageArg-2023: The First Shared Task in Multimodal Argument Mining |
2023-10-15T04:00:36Z | http://arxiv.org/pdf/2310.09725v3 | http://arxiv.org/abs/2310.09725v3 | Yuyang Bai, Shangbin Feng, Vidhisha Balachandran, Zhaoxuan Tan, Shiqi Lou, Tianxing He, Yulia Tsvetkov | 2024-03-23T11:45:55Z | cs.CL | Large language models (LLMs) demonstrate remarkable performance on
knowledge-intensive tasks, suggesting that real-world knowledge is encoded in
their model parameters. However, besides explorations on a few probing tasks in
limited knowledge domains, it is not well understood how to evaluate LLMs'
knowledge systematically and how well their knowledge abilities generalize,
across a spectrum of knowledge domains and progressively complex task formats.
To this end, we propose KGQuiz, a knowledge-intensive benchmark to
comprehensively investigate the knowledge generalization abilities of LLMs.
KGQuiz is a scalable framework constructed from triplet-based knowledge, which
covers three knowledge domains and consists of five tasks with increasing
complexity: true-or-false, multiple-choice QA, blank filling, factual editing,
and open-ended knowledge generation. To gain a better understanding of LLMs'
knowledge abilities and their generalization, we evaluate 10 open-source and
black-box LLMs on the KGQuiz benchmark across the five knowledge-intensive
tasks and knowledge domains. Extensive experiments demonstrate that LLMs
achieve impressive performance in straightforward knowledge QA tasks, while
settings and contexts requiring more complex reasoning or employing
domain-specific facts still present significant challenges. We envision KGQuiz
as a testbed to analyze such nuanced variations in performance across domains
and task formats, and ultimately to understand, evaluate, and improve LLMs'
knowledge abilities across a wide spectrum of knowledge domains and tasks. | cs.CL | KGQuiz: Evaluating the Generalization of Encoded Knowledge in Large Language Models |
2023-10-15T03:14:33Z | http://arxiv.org/pdf/2310.09720v1 | http://arxiv.org/abs/2310.09720v1 | Zhuofeng Wu, Chaowei Xiao, VG Vinod Vydiswaran | 2023-10-15T03:14:33Z | cs.CL, cs.LG | In this paper, we propose a hierarchical contrastive learning framework,
HiCL, which considers local segment-level and global sequence-level
relationships to improve training efficiency and effectiveness. Traditional
methods typically encode a sequence in its entirety for contrast with others,
often neglecting local representation learning, leading to challenges in
generalizing to shorter texts. Conversely, HiCL improves its effectiveness by
dividing the sequence into several segments and employing both local and global
contrastive learning to model segment-level and sequence-level relationships.
Further, considering the quadratic time complexity of transformers over input
tokens, HiCL boosts training efficiency by first encoding short segments and
then aggregating them to obtain the sequence representation. Extensive
experiments show that HiCL enhances the prior top-performing SNCSE model across
seven extensively evaluated STS tasks, with an average increase of +0.2%
observed on BERT-large and +0.44% on RoBERTa-large. | cs.CL | HiCL: Hierarchical Contrastive Learning of Unsupervised Sentence Embeddings |
2023-10-15T03:04:17Z | http://arxiv.org/pdf/2310.09716v2 | http://arxiv.org/abs/2310.09716v2 | Fanghua Ye, Meng Fang, Shenghui Li, Emine Yilmaz | 2023-10-18T13:48:03Z | cs.HC, cs.AI, cs.CL, cs.IR | Query rewriting plays a vital role in enhancing conversational search by
transforming context-dependent user queries into standalone forms. Existing
approaches primarily leverage human-rewritten queries as labels to train query
rewriting models. However, human rewrites may lack sufficient information for
optimal retrieval performance. To overcome this limitation, we propose
utilizing large language models (LLMs) as query rewriters, enabling the
generation of informative query rewrites through well-designed instructions. We
define four essential properties for well-formed rewrites and incorporate all
of them into the instruction. In addition, we introduce the role of rewrite
editors for LLMs when initial query rewrites are available, forming a
"rewrite-then-edit" process. Furthermore, we propose distilling the rewriting
capabilities of LLMs into smaller models to reduce rewriting latency. Our
experimental evaluation on the QReCC dataset demonstrates that informative
query rewrites can yield substantially improved retrieval performance compared
to human rewrites, especially with sparse retrievers. | cs.HC | Enhancing Conversational Search: Large Language Model-Aided Informative Query Rewriting |
2023-10-14T23:16:05Z | http://arxiv.org/pdf/2310.09680v4 | http://arxiv.org/abs/2310.09680v4 | Ankitha Sudarshan, Vinay Samuel, Parth Patwa, Ibtihel Amara, Aman Chadha | 2024-03-04T04:37:35Z | cs.CL, cs.AI, cs.SD, eess.AS | Automatic Speech Recognition (ASR) has witnessed a profound research
interest. Recent breakthroughs have given ASR systems different prospects such
as faithfully transcribing spoken language, which is a pivotal advancement in
building conversational agents. However, there is still an imminent challenge
of accurately discerning context-dependent words and phrases. In this work, we
propose a novel approach for enhancing contextual recognition within ASR
systems via semantic lattice processing leveraging the power of deep learning
models in accurately delivering spot-on transcriptions across a wide variety of
vocabularies and speaking styles. Our solution consists of using Hidden Markov
Models and Gaussian Mixture Models (HMM-GMM) along with Deep Neural Networks
(DNN) models integrating both language and acoustic modeling for better
accuracy. We infused our network with the use of a transformer-based model to
properly rescore the word lattice achieving remarkable capabilities with a
palpable reduction in Word Error Rate (WER). We demonstrate the effectiveness
of our proposed framework on the LibriSpeech dataset with empirical analyses. | cs.CL | Improved Contextual Recognition In Automatic Speech Recognition Systems By Semantic Lattice Rescoring |
2023-10-14T22:24:26Z | http://arxiv.org/pdf/2310.09675v1 | http://arxiv.org/abs/2310.09675v1 | Razan Baltaji, Sourya Basu, Lav R. Varshney | 2023-10-14T22:24:26Z | cs.LG, cs.AI, cs.CL | Constructing model-agnostic group equivariant networks, such as equitune
(Basu et al., 2023b) and its generalizations (Kim et al., 2023), can be
computationally expensive for large product groups. We address this by
providing efficient model-agnostic equivariant designs for two related
problems: one where the network has multiple inputs each with potentially
different groups acting on them, and another where there is a single input but
the group acting on it is a large product group. For the first design, we
initially consider a linear model and characterize the entire equivariant space
that satisfies this constraint. This characterization gives rise to a novel
fusion layer between different channels that satisfies an invariance-symmetry
(IS) constraint, which we call an IS layer. We then extend this design beyond
linear models, similar to equitune, consisting of equivariant and IS layers. We
also show that the IS layer is a universal approximator of invariant-symmetric
functions. Inspired by the first design, we use the notion of the IS property
to design a second efficient model-agnostic equivariant design for large
product groups acting on a single input. For the first design, we provide
experiments on multi-image classification where each view is transformed
independently with transformations such as rotations. We find equivariant
models are robust to such transformations and perform competitively otherwise.
For the second design, we consider three applications: language
compositionality on the SCAN dataset to product groups; fairness in natural
language generation from GPT-2 to address intersectionality; and robust
zero-shot image classification with CLIP. Overall, our methods are simple and
general, competitive with equitune and its variants, while also being
computationally more efficient. | cs.LG | Efficient Model-Agnostic Multi-Group Equivariant Networks |
2023-10-14T21:24:03Z | http://arxiv.org/pdf/2310.09668v1 | http://arxiv.org/abs/2310.09668v1 | Chenyang Yang, Rishabh Rustogi, Rachel Brower-Sinning, Grace A. Lewis, Christian Kästner, Tongshuang Wu | 2023-10-14T21:24:03Z | cs.CL, cs.SE | Current model testing work has mostly focused on creating test cases.
Identifying what to test is a step that is largely ignored and poorly
supported. We propose Weaver, an interactive tool that supports requirements
elicitation for guiding model testing. Weaver uses large language models to
generate knowledge bases and recommends concepts from them interactively,
allowing testers to elicit requirements for further testing. Weaver provides
rich external knowledge to testers and encourages testers to systematically
explore diverse concepts beyond their own biases. In a user study, we show that
both NLP experts and non-experts identified more, as well as more diverse
concepts worth testing when using Weaver. Collectively, they found more than
200 failing test cases for stance detection with zero-shot ChatGPT. Our case
studies further show that Weaver can help practitioners test models in
real-world settings, where developers define more nuanced application scenarios
(e.g., code understanding and transcript summarization) using LLMs. | cs.CL | Beyond Testers' Biases: Guiding Model Testing with Knowledge Bases using LLMs |
2023-10-14T20:27:04Z | http://arxiv.org/pdf/2310.09661v1 | http://arxiv.org/abs/2310.09661v1 | Olumide E. Ojo, Olaronke O. Adebanji, Hiram Calvo, Damian O. Dieke, Olumuyiwa E. Ojo, Seye E. Akinsanya, Tolulope O. Abiola, Anna Feldman | 2023-10-14T20:27:04Z | cs.CL | In this paper, we share our best performing submission to the Arabic AI Tasks
Evaluation Challenge (ArAIEval) at ArabicNLP 2023. Our focus was on Task 1,
which involves identifying persuasion techniques in excerpts from tweets and
news articles. The persuasion technique in Arabic texts was detected using a
training loop with XLM-RoBERTa, a language-agnostic text representation model.
This approach proved to be potent, leveraging fine-tuning of a multilingual
language model. In our evaluation of the test set, we achieved a micro F1 score
of 0.64 for subtask A of the competition. | cs.CL | Legend at ArAIEval Shared Task: Persuasion Technique Detection using a Language-Agnostic Text Representation Model |
2023-10-14T19:47:37Z | http://arxiv.org/pdf/2310.09651v1 | http://arxiv.org/abs/2310.09651v1 | Zhengxiang Shi, Procheta Sen, Aldo Lipani | 2023-10-14T19:47:37Z | cs.CL, cs.AI, cs.LG | Conversational agents have become ubiquitous in assisting with daily tasks,
and are expected to possess human-like features. One such feature is lexical
entrainment (LE), a phenomenon in which speakers in human-human conversations
tend to naturally and subconsciously align their lexical choices with those of
their interlocutors, leading to more successful and engaging conversations. As
an example, if a digital assistant replies 'Your appointment for Jinling Noodle
Pub is at 7 pm' to the question 'When is my reservation for Jinling Noodle Bar
today?', it may feel as though the assistant is trying to correct the speaker,
whereas a response of 'Your reservation for Jinling Noodle Bar is at 7 pm'
would likely be perceived as more positive. This highlights the importance of
LE in establishing a shared terminology for maximum clarity and reducing
ambiguity in conversations. However, we demonstrate in this work that current
response generation models do not adequately address this crucial humanlike
phenomenon. To address this, we propose a new dataset, named MULTIWOZ-ENTR, and
a measure for LE for conversational systems. Additionally, we suggest a way to
explicitly integrate LE into conversational systems with two new tasks, a LE
extraction task and a LE generation task. We also present two baseline
approaches for the LE extraction task, which aim to detect LE expressions from
dialogue contexts. | cs.CL | Lexical Entrainment for Conversational Systems |
2023-10-14T18:01:11Z | http://arxiv.org/pdf/2310.09634v1 | http://arxiv.org/abs/2310.09634v1 | Eyüp Kaan Akdeniz, Selma Tekir, Malik Nizar Asad Al Hinnawi | 2023-10-14T18:01:11Z | cs.CL, cs.SE | Increased reproducibility of machine learning research has been a driving
force for dramatic improvements in learning performances. The scientific
community further fosters this effort by including reproducibility ratings in
reviewer forms and considering them as a crucial factor for the overall
evaluation of papers. Accompanying source code is not sufficient to make a work
reproducible. The shared codes should meet the ML reproducibility checklist as
well. This work aims to support reproducibility evaluations of papers with
source codes. We propose an end-to-end system that operates on the Readme file
of the source code repositories. The system checks the compliance of a given
Readme to a template proposed by a widely used platform for sharing source
codes of research. Our system generates scores based on a custom function to
combine section scores. We also train a hierarchical transformer model to
assign a class label to a given Readme. The experimental results show that the
section similarity-based system performs better than the hierarchical
transformer. Moreover, it has an advantage regarding explainability since one
can directly relate the score to the sections of Readme files. | cs.CL | An End-to-End System for Reproducibility Assessment of Source Code Repositories via Their Readmes |
2023-10-14T17:10:28Z | http://arxiv.org/pdf/2310.09624v2 | http://arxiv.org/abs/2310.09624v2 | Alex Mei, Sharon Levy, William Yang Wang | 2023-11-11T05:30:34Z | cs.CL, cs.AI, cs.LG | As large language models are integrated into society, robustness toward a
suite of prompts is increasingly important to maintain reliability in a
high-variance environment.Robustness evaluations must comprehensively
encapsulate the various settings in which a user may invoke an intelligent
system. This paper proposes ASSERT, Automated Safety Scenario Red Teaming,
consisting of three methods -- semantically aligned augmentation, target
bootstrapping, and adversarial knowledge injection. For robust safety
evaluation, we apply these methods in the critical domain of AI safety to
algorithmically generate a test suite of prompts covering diverse robustness
settings -- semantic equivalence, related scenarios, and adversarial. We
partition our prompts into four safety domains for a fine-grained analysis of
how the domain affects model performance. Despite dedicated safeguards in
existing state-of-the-art models, we find statistically significant performance
differences of up to 11% in absolute classification accuracy among semantically
related scenarios and error rates of up to 19% absolute error in zero-shot
adversarial settings, raising concerns for users' physical safety. | cs.CL | ASSERT: Automated Safety Scenario Red Teaming for Evaluating the Robustness of Large Language Models |
2023-10-14T17:10:19Z | http://arxiv.org/pdf/2310.09623v1 | http://arxiv.org/abs/2310.09623v1 | Dimitris Gkoumas, Adam Tsakalidis, Maria Liakata | 2023-10-14T17:10:19Z | cs.CL | The use of spontaneous language to derive appropriate digital markers has
become an emergent, promising and non-intrusive method to diagnose and monitor
dementia. Here we propose methods to capture language coherence as a
cost-effective, human-interpretable digital marker for monitoring cognitive
changes in people with dementia. We introduce a novel task to learn the
temporal logical consistency of utterances in short transcribed narratives and
investigate a range of neural approaches. We compare such language coherence
patterns between people with dementia and healthy controls and conduct a
longitudinal evaluation against three clinical bio-markers to investigate the
reliability of our proposed digital coherence marker. The coherence marker
shows a significant difference between people with mild cognitive impairment,
those with Alzheimer's Disease and healthy controls. Moreover our analysis
shows high association between the coherence marker and the clinical
bio-markers as well as generalisability potential to other related conditions. | cs.CL | A Digital Language Coherence Marker for Monitoring Dementia |
2023-10-14T17:01:37Z | http://arxiv.org/pdf/2310.10688v4 | http://arxiv.org/abs/2310.10688v4 | Abhimanyu Das, Weihao Kong, Rajat Sen, Yichen Zhou | 2024-04-17T18:24:45Z | cs.CL, cs.AI, cs.LG | Motivated by recent advances in large language models for Natural Language
Processing (NLP), we design a time-series foundation model for forecasting
whose out-of-the-box zero-shot performance on a variety of public datasets
comes close to the accuracy of state-of-the-art supervised forecasting models
for each individual dataset. Our model is based on pretraining a
patched-decoder style attention model on a large time-series corpus, and can
work well across different forecasting history lengths, prediction lengths and
temporal granularities. | cs.CL | A decoder-only foundation model for time-series forecasting |
2023-10-14T17:00:28Z | http://arxiv.org/pdf/2310.09619v3 | http://arxiv.org/abs/2310.09619v3 | Wenqi Zhang, Yongliang Shen, Qingpeng Nong, Zeqi Tan, Yanna Ma, Weiming Lu | 2023-10-18T09:28:54Z | cs.CL | Generating mathematical equations from natural language requires an accurate
understanding of the relations among math expressions. Existing approaches can
be broadly categorized into token-level and expression-level generation. The
former treats equations as a mathematical language, sequentially generating
math tokens. Expression-level methods generate each expression one by one.
However, each expression represents a solving step, and there naturally exist
parallel or dependent relations between these steps, which are ignored by
current sequential methods. Therefore, we integrate tree structure into the
expression-level generation and advocate an expression tree decoding strategy.
To generate a tree with expression as its node, we employ a layer-wise parallel
decoding strategy: we decode multiple independent expressions (leaf nodes) in
parallel at each layer and repeat parallel decoding layer by layer to
sequentially generate these parent node expressions that depend on others.
Besides, a bipartite matching algorithm is adopted to align multiple
predictions with annotations for each layer. Experiments show our method
outperforms other baselines, especially for these equations with complex
structures. | cs.CL | An Expression Tree Decoding Strategy for Mathematical Equation Generation |
2023-10-14T16:50:26Z | http://arxiv.org/pdf/2310.09618v1 | http://arxiv.org/abs/2310.09618v1 | Nakwon Rim, Marc G. Berman, Yuan Chang Leong | 2023-10-14T16:50:26Z | cs.CL | Polarization has increased substantially in political discourse, contributing
to a widening partisan divide. In this paper, we analyzed large-scale,
real-world language use in Reddit communities (294,476,146 comments) and in
news outlets (6,749,781 articles) to uncover psychological dimensions along
which partisan language is divided. Using word embedding models that captured
semantic associations based on co-occurrences of words in vast textual corpora,
we identified patterns of affective polarization present in natural political
discourse. We then probed the semantic associations of words related to seven
political topics (e.g., abortion, immigration) along the dimensions of morality
(moral-to-immoral), threat (threatening-to-safe), and valence
(pleasant-to-unpleasant). Across both Reddit communities and news outlets, we
identified a small but systematic divergence in the moral associations of words
between text sources with different partisan leanings. Moral associations of
words were highly correlated between conservative and liberal text sources
(average $\rho$ = 0.96), but the differences remained reliable to enable us to
distinguish text sources along partisan lines with above 85% classification
accuracy. These findings underscore that despite a shared moral understanding
across the political spectrum, there are consistent differences that shape
partisan language and potentially exacerbate political polarization. Our
results, drawn from both informal interactions on social media and curated
narratives in news outlets, indicate that these trends are widespread.
Leveraging advanced computational techniques, this research offers a fresh
perspective that complements traditional methods in political attitudes. | cs.CL | Moral consensus and divergence in partisan language use |
2023-10-14T14:52:37Z | http://arxiv.org/pdf/2310.09596v2 | http://arxiv.org/abs/2310.09596v2 | Junjie Ye, Jie Zhou, Junfeng Tian, Rui Wang, Qi Zhang, Tao Gui, Xuanjing Huang | 2023-12-23T12:48:58Z | cs.CL | Recently, Target-oriented Multimodal Sentiment Classification (TMSC) has
gained significant attention among scholars. However, current multimodal models
have reached a performance bottleneck. To investigate the causes of this
problem, we perform extensive empirical evaluation and in-depth analysis of the
datasets to answer the following questions: Q1: Are the modalities equally
important for TMSC? Q2: Which multimodal fusion modules are more effective? Q3:
Do existing datasets adequately support the research? Our experiments and
analyses reveal that the current TMSC systems primarily rely on the textual
modality, as most of targets' sentiments can be determined solely by text.
Consequently, we point out several directions to work on for the TMSC task in
terms of model design and dataset construction. The code and data can be found
in https://github.com/Junjie-Ye/RethinkingTMSC. | cs.CL | RethinkingTMSC: An Empirical Study for Target-Oriented Multimodal Sentiment Classification |
2023-10-14T14:23:44Z | http://arxiv.org/pdf/2310.09590v2 | http://arxiv.org/abs/2310.09590v2 | Yi Bin, Wenhao Shi, Yujuan Ding, Yang Yang, See-Kiong Ng | 2023-11-20T03:29:23Z | cs.CL, cs.AI | Math word problem (MWP) solving aims to understand the descriptive math
problem and calculate the result, for which previous efforts are mostly devoted
to upgrade different technical modules. This paper brings a different
perspective of \textit{reexamination process} during training by introducing a
pseudo-dual task to enhance the MWP solving. We propose a pseudo-dual (PseDual)
learning scheme to model such process, which is model-agnostic thus can be
adapted to any existing MWP solvers. The pseudo-dual task is specifically
defined as filling the numbers in the expression back into the original word
problem with numbers masked. To facilitate the effective joint learning of the
two tasks, we further design a scheduled fusion strategy for the number
infilling task, which smoothly switches the input from the ground-truth math
expressions to the predicted ones. Our pseudo-dual learning scheme has been
tested and proven effective when being equipped in several representative MWP
solvers through empirical studies. \textit{The codes and trained models are
available at:} \url{https://github.com/steven640pixel/PsedualMWP}.
\end{abstract} | cs.CL | Solving Math Word Problems with Reexamination |
2023-10-14T14:14:38Z | http://arxiv.org/pdf/2310.10686v1 | http://arxiv.org/abs/2310.10686v1 | Zheyu Zhang, Zhuorui Ye, Yikang Shen, Chuang Gan | 2023-10-14T14:14:38Z | cs.CL, cs.AI | Large Language Models have excelled in remarkable reasoning capabilities with
advanced prompting techniques, but they fall short on tasks that require
exploration, strategic foresight, and sequential decision-making. Recent works
propose to utilize external programs to define search logic, such that LLMs can
perform passive tree search to solve more challenging reasoning tasks. Though
impressive results have been achieved, there are several fundamental
limitations of these approaches. First, passive tree searches are not efficient
as they usually require multiple rounds of LLM API calls to solve one single
problem. Moreover, passive search methods are not flexible since they need
task-specific program designs. Then a natural question arises: can we maintain
the tree-search capability of LLMs without the aid of external programs, and
can still generate responses that clearly demonstrate the process of a
tree-structure search? To this end, we propose a new concept called autonomous
tree-search ability of LLM, which can automatically generate a response
containing search trajectories for the correct answer. Concretely, we perform
search trajectories using capable LLM API via a fixed system prompt, allowing
them to perform autonomous tree-search (ATS) right out of the box. Experiments
on 4 puzzle games demonstrate our method can achieve huge improvements. The
ATS-BFS method outperforms the Chain of Thought approach by achieving an
average accuracy improvement of 33%. Compared to Tree of Thoughts, it requires
65.6% or 47.7% less GPT-api cost to attain a comparable level of accuracy.
Moreover, we have collected data using the ATS prompt method and fine-tuned
LLaMA. This approach yield a greater improvement compared to the ones
fine-tuned on CoT data. Specifically, it outperforms CoT-tuned LLaMAs by an
average of 40.6% and 38.5% for LLaMA2-7B and LLaMA2-13B, respectively. | cs.CL | Autonomous Tree-search Ability of Large Language Models |
2023-10-14T12:51:38Z | http://arxiv.org/pdf/2310.09573v1 | http://arxiv.org/abs/2310.09573v1 | Chak Tou Leong, Yi Cheng, Jiashuo Wang, Jian Wang, Wenjie Li | 2023-10-14T12:51:38Z | cs.CL | Language model detoxification aims to minimize the risk of generating
offensive or harmful content in pretrained language models (PLMs) for safer
deployment. Existing methods can be roughly categorized as finetuning-based and
decoding-based. However, the former is often resource-intensive, while the
latter relies on additional components and potentially compromises the
generation fluency. In this paper, we propose a more lightweight approach that
enables the PLM itself to achieve "self-detoxification". Our method is built
upon the observation that prepending a negative steering prompt can effectively
induce PLMs to generate toxic content. At the same time, we are inspired by the
recent research in the interpretability field, which formulates the evolving
contextualized representations within the PLM as an information stream
facilitated by the attention layers. Drawing on this idea, we devise a method
to identify the toxification direction from the normal generation process to
the one prompted with the negative prefix, and then steer the generation to the
reversed direction by manipulating the information movement within the
attention layers. Experimental results show that our approach, without any
fine-tuning or extra components, can achieve comparable performance with
state-of-the-art methods. | cs.CL | Self-Detoxifying Language Models via Toxification Reversal |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.