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-05-05T08:25:07Z | http://arxiv.org/pdf/2305.04927v1 | http://arxiv.org/abs/2305.04927v1 | Hamdy Mubarak, Samir Abdaljalil, Azza Nassar, Firoj Alam | 2023-05-05T08:25:07Z | cs.CL, cs.AI, cs.CY, 68T50, F.2.2; I.2.7 | Social media platforms empower us in several ways, from information
dissemination to consumption. While these platforms are useful in promoting
citizen journalism, public awareness etc., they have misuse potentials.
Malicious users use them to disseminate hate-speech, offensive content, rumor
etc. to gain social and political agendas or to harm individuals, entities and
organizations. Often times, general users unconsciously share information
without verifying it, or unintentionally post harmful messages. Some of such
content often get deleted either by the platform due to the violation of terms
and policies, or users themselves for different reasons, e.g., regrets. There
is a wide range of studies in characterizing, understanding and predicting
deleted content. However, studies which aims to identify the fine-grained
reasons (e.g., posts are offensive, hate speech or no identifiable reason)
behind deleted content, are limited. In this study we address this gap, by
identifying deleted tweets, particularly within the Arabic context, and
labeling them with a corresponding fine-grained disinformation category. We
then develop models that can predict the potentiality of tweets getting
deleted, as well as the potential reasons behind deletion. Such models can help
in moderating social media posts before even posting. | cs.CL | Detecting and Reasoning of Deleted Tweets before they are Posted |
2023-05-05T08:20:09Z | http://arxiv.org/pdf/2305.03356v1 | http://arxiv.org/abs/2305.03356v1 | Wangzhen Guo, Linyin Luo, Hanjiang Lai, Jian Yin | 2023-05-05T08:20:09Z | cs.CL, cs.AI, cs.LG | Parsing questions into executable logical forms has showed impressive results
for knowledge-base question answering (KBQA). However, complex KBQA is a more
challenging task that requires to perform complex multi-step reasoning.
Recently, a new semantic parser called KoPL has been proposed to explicitly
model the reasoning processes, which achieved the state-of-the-art on complex
KBQA. In this paper, we further explore how to unlock the reasoning ability of
semantic parsers by a simple proposed parse-execute-refine paradigm. We refine
and improve the KoPL parser by demonstrating the executed intermediate
reasoning steps to the KBQA model. We show that such simple strategy can
significantly improve the ability of complex reasoning. Specifically, we
propose three components: a parsing stage, an execution stage and a refinement
stage, to enhance the ability of complex reasoning. The parser uses the KoPL to
generate the transparent logical forms. Then, the execution stage aligns and
executes the logical forms over knowledge base to obtain intermediate reasoning
processes. Finally, the intermediate step-by-step reasoning processes are
demonstrated to the KBQA model in the refinement stage. With the explicit
reasoning processes, it is much easier to answer the complex questions.
Experiments on benchmark dataset shows that the proposed PER-KBQA performs
significantly better than the stage-of-the-art baselines on the complex KBQA. | cs.CL | From Parse-Execute to Parse-Execute-Refine: Improving Semantic Parser for Complex Question Answering over Knowledge Base |
2023-05-05T08:14:48Z | http://arxiv.org/pdf/2305.03353v2 | http://arxiv.org/abs/2305.03353v2 | Damien Sileo, Antoine Lernould | 2023-11-07T08:53:59Z | cs.CL, cs.AI, 68T01, 68T27, 68T50, I.2.7 | Theory of Mind (ToM) is a critical component of intelligence but its
assessment remains the subject of heated debates. Prior research applied human
ToM assessments to natural language processing models using either
human-created standardized tests or rule-based templates. However, these
methods primarily focus on simplistic reasoning and require further validation.
Here, we leverage dynamic epistemic logic to isolate a particular component of
ToM and to generate controlled problems. We also introduce new verbalization
techniques to express these problems in English natural language. Our findings
indicate that some language model scaling (from 70M to 6B and 350M to 174B)
does not consistently yield results better than random chance. While GPT-4
demonstrates superior epistemic reasoning capabilities, there is still room for
improvement. Our code and datasets are publicly available
(https://huggingface.co/datasets/sileod/mindgames ,
https://github.com/sileod/llm-theory-of-mind ) | cs.CL | MindGames: Targeting Theory of Mind in Large Language Models with Dynamic Epistemic Modal Logic |
2023-05-05T07:40:41Z | http://arxiv.org/pdf/2305.03336v1 | http://arxiv.org/abs/2305.03336v1 | Maram Hasanain, Ahmed Oumar El-Shangiti, Rabindra Nath Nandi, Preslav Nakov, Firoj Alam | 2023-05-05T07:40:41Z | cs.CL, cs.AI, cs.CY, 68T50, F.2.2; I.2.7 | Misinformation spreading in mainstream and social media has been misleading
users in different ways. Manual detection and verification efforts by
journalists and fact-checkers can no longer cope with the great scale and quick
spread of misleading information. This motivated research and industry efforts
to develop systems for analyzing and verifying news spreading online. The
SemEval-2023 Task 3 is an attempt to address several subtasks under this
overarching problem, targeting writing techniques used in news articles to
affect readers' opinions. The task addressed three subtasks with six languages,
in addition to three ``surprise'' test languages, resulting in 27 different
test setups. This paper describes our participating system to this task. Our
team is one of the 6 teams that successfully submitted runs for all setups. The
official results show that our system is ranked among the top 3 systems for 10
out of the 27 setups. | cs.CL | QCRI at SemEval-2023 Task 3: News Genre, Framing and Persuasion Techniques Detection using Multilingual Models |
2023-05-05T07:24:46Z | http://arxiv.org/pdf/2305.03742v1 | http://arxiv.org/abs/2305.03742v1 | Hanlin Zhang, Jiani Huang, Ziyang Li, Mayur Naik, Eric Xing | 2023-05-05T07:24:46Z | cs.AI, cs.CL, cs.LG | Pre-trained large language models (LMs) struggle to perform logical reasoning
reliably despite advances in scale and compositionality. In this work, we
tackle this challenge through the lens of symbolic programming. We propose
DSR-LM, a Differentiable Symbolic Reasoning framework where pre-trained LMs
govern the perception of factual knowledge, and a symbolic module performs
deductive reasoning. In contrast to works that rely on hand-crafted logic
rules, our differentiable symbolic reasoning framework efficiently learns
weighted rules and applies semantic loss to further improve LMs. DSR-LM is
scalable, interpretable, and allows easy integration of prior knowledge,
thereby supporting extensive symbolic programming to robustly derive a logical
conclusion. The results of our experiments suggest that DSR-LM improves the
logical reasoning abilities of pre-trained language models, resulting in a
significant increase in accuracy of over 20% on deductive reasoning benchmarks.
Furthermore, DSR-LM outperforms a variety of competitive baselines when faced
with systematic changes in sequence length. | cs.AI | Improved Logical Reasoning of Language Models via Differentiable Symbolic Programming |
2023-05-05T06:58:24Z | http://arxiv.org/pdf/2305.03319v2 | http://arxiv.org/abs/2305.03319v2 | Irene Li, Aosong Feng, Dragomir Radev, Rex Ying | 2023-05-15T03:48:36Z | cs.CL | Encoding long sequences in Natural Language Processing (NLP) is a challenging
problem. Though recent pretraining language models achieve satisfying
performances in many NLP tasks, they are still restricted by a pre-defined
maximum length, making them challenging to be extended to longer sequences. So
some recent works utilize hierarchies to model long sequences. However, most of
them apply sequential models for upper hierarchies, suffering from long
dependency issues. In this paper, we alleviate these issues through a
graph-based method. We first chunk the sequence with a fixed length to model
the sentence-level information. We then leverage graphs to model intra- and
cross-sentence correlations with a new attention mechanism. Additionally, due
to limited standard benchmarks for long document classification (LDC), we
propose a new challenging benchmark, totaling six datasets with up to 53k
samples and 4034 average tokens' length. Evaluation shows our model surpasses
competitive baselines by 2.6% in F1 score, and 4.8% on the longest sequence
dataset. Our method is shown to outperform hierarchical sequential models with
better performance and scalability, especially for longer sequences. | cs.CL | HiPool: Modeling Long Documents Using Graph Neural Networks |
2023-05-05T06:43:56Z | http://arxiv.org/pdf/2305.03314v1 | http://arxiv.org/abs/2305.03314v1 | Haiyun Yang | 2023-05-05T06:43:56Z | cs.CL | Recently, Chinese Spell Checking(CSC), a task to detect erroneous characters
in a sentence and correct them, has attracted extensive interest because of its
wide applications in various NLP tasks. Most of the existing methods have
utilized BERT to extract semantic information for CSC task. However, these
methods directly take sentences with only a few errors as inputs, where the
correct characters may leak answers to the model and dampen its ability to
capture distant context; while the erroneous characters may disturb the
semantic encoding process and result in poor representations. Based on such
observations, this paper proposes an n-gram masking layer that masks current
and/or surrounding tokens to avoid label leakage and error disturbance.
Moreover, considering that the mask strategy may ignore multi-modal information
indicated by errors, a novel dot-product gating mechanism is proposed to
integrate the phonological and morphological information with semantic
representation. Extensive experiments on SIGHAN datasets have demonstrated that
the pluggable n-gram masking mechanism can improve the performance of prevalent
CSC models and the proposed methods in this paper outperform multiple powerful
state-of-the-art models. | cs.CL | Block the Label and Noise: An N-Gram Masked Speller for Chinese Spell Checking |
2023-05-05T06:05:45Z | http://arxiv.org/pdf/2305.03300v1 | http://arxiv.org/abs/2305.03300v1 | Rahul Mehta, Vasudeva Varma | 2023-05-05T06:05:45Z | cs.CL | Named Entity Recognition(NER) is a task of recognizing entities at a token
level in a sentence. This paper focuses on solving NER tasks in a multilingual
setting for complex named entities. Our team, LLM-RM participated in the
recently organized SemEval 2023 task, Task 2: MultiCoNER II,Multilingual
Complex Named Entity Recognition. We approach the problem by leveraging
cross-lingual representation provided by fine-tuning XLM-Roberta base model on
datasets of all of the 12 languages provided -- Bangla, Chinese, English,
Farsi, French, German, Hindi, Italian, Portuguese, Spanish, Swedish and
Ukrainian | cs.CL | LLM-RM at SemEval-2023 Task 2: Multilingual Complex NER using XLM-RoBERTa |
2023-05-05T06:03:54Z | http://arxiv.org/pdf/2305.03299v1 | http://arxiv.org/abs/2305.03299v1 | Kuicai Dong, Aixin Sun, Jung-Jae Kim, Xiaoli Li | 2023-05-05T06:03:54Z | cs.CL, cs.AI | Open Information Extraction (OIE) aims to extract relational tuples from
open-domain sentences. Existing OIE systems split a sentence into tokens and
recognize token spans as tuple relations and arguments. We instead propose
Sentence as Chunk sequence (SaC) and recognize chunk spans as tuple relations
and arguments. We argue that SaC has better quantitative and qualitative
properties for OIE than sentence as token sequence, and evaluate four choices
of chunks (i.e., CoNLL chunks, simple phrases, NP chunks, and spans from
SpanOIE) against gold OIE tuples. Accordingly, we propose a simple BERT-based
model for sentence chunking, and propose Chunk-OIE for tuple extraction on top
of SaC. Chunk-OIE achieves state-of-the-art results on multiple OIE datasets,
showing that SaC benefits OIE task. | cs.CL | Open Information Extraction via Chunks |
2023-05-05T05:50:26Z | http://arxiv.org/pdf/2305.03296v1 | http://arxiv.org/abs/2305.03296v1 | Weixiang Zhao, Yanyan Zhao, Shilong Wang, Bing Qin | 2023-05-05T05:50:26Z | cs.CL | Emotion Support Conversation (ESC) is an emerging and challenging task with
the goal of reducing the emotional distress of people. Previous attempts fail
to maintain smooth transitions between utterances in ESC because they ignore to
grasp the fine-grained transition information at each dialogue turn. To solve
this problem, we propose to take into account turn-level state
\textbf{Trans}itions of \textbf{ESC} (\textbf{TransESC}) from three
perspectives, including semantics transition, strategy transition and emotion
transition, to drive the conversation in a smooth and natural way.
Specifically, we construct the state transition graph with a two-step way,
named transit-then-interact, to grasp such three types of turn-level transition
information. Finally, they are injected into the transition-aware decoder to
generate more engaging responses. Both automatic and human evaluations on the
benchmark dataset demonstrate the superiority of TransESC to generate more
smooth and effective supportive responses. Our source code is available at
\url{https://github.com/circle-hit/TransESC}. | cs.CL | TransESC: Smoothing Emotional Support Conversation via Turn-Level State Transition |
2023-05-05T05:32:50Z | http://arxiv.org/pdf/2305.03287v2 | http://arxiv.org/abs/2305.03287v2 | Jiawei Liu, Zi Xiong, Yi Jiang, Yongqiang Ma, Wei Lu, Yong Huang, Qikai Cheng | 2024-06-24T17:00:43Z | cs.CL, cs.AI | Fine-tuning pre-trained language models (PLMs), e.g., SciBERT, generally
requires large numbers of annotated data to achieve state-of-the-art
performance on a range of NLP tasks in the scientific domain. However,
obtaining the fine-tune data for scientific NLP task is still challenging and
expensive. Inspired by recent advancement in prompt learning, in this paper, we
propose the Mix Prompt Tuning (MPT), which is a semi-supervised method to
alleviate the dependence on annotated data and improve the performance of
multi-granularity academic function recognition tasks with a small number of
labeled examples. Specifically, the proposed method provides multi-perspective
representations by combining manual prompt templates with automatically learned
continuous prompt templates to help the given academic function recognition
task take full advantage of knowledge in PLMs. Based on these prompt templates
and the fine-tuned PLM, a large number of pseudo labels are assigned to the
unlabeled examples. Finally, we fine-tune the PLM using the pseudo training
set. We evaluate our method on three academic function recognition tasks of
different granularity including the citation function, the abstract sentence
function, and the keyword function, with datasets from computer science domain
and biomedical domain. Extensive experiments demonstrate the effectiveness of
our method and statistically significant improvements against strong baselines.
In particular, it achieves an average increase of 5% in Macro-F1 score compared
with fine-tuning, and 6% in Macro-F1 score compared with other semi-supervised
method under low-resource settings. In addition, MPT is a general method that
can be easily applied to other low-resource scientific classification tasks. | cs.CL | Low-Resource Multi-Granularity Academic Function Recognition Based on Multiple Prompt Knowledge |
2023-05-05T04:26:29Z | http://arxiv.org/pdf/2305.03276v2 | http://arxiv.org/abs/2305.03276v2 | Nishant Balepur, Jie Huang, Kevin Chen-Chuan Chang | 2023-10-23T01:32:10Z | cs.CL | Expository documents are vital resources for conveying complex information to
readers. Despite their usefulness, writing expository text by hand is a
challenging process that requires careful content planning, obtaining facts
from multiple sources, and the ability to clearly synthesize these facts. To
ease these burdens, we propose the task of expository text generation, which
seeks to automatically generate an accurate and stylistically consistent
expository text for a topic by intelligently searching a knowledge source. We
solve our task by developing IRP, a framework that overcomes the limitations of
retrieval-augmented models and iteratively performs content planning, fact
retrieval, and rephrasing. Through experiments on three diverse,
newly-collected datasets, we show that IRP produces factual and organized
expository texts that accurately inform readers. | cs.CL | Expository Text Generation: Imitate, Retrieve, Paraphrase |
2023-05-05T03:49:14Z | http://arxiv.org/pdf/2305.03268v1 | http://arxiv.org/abs/2305.03268v1 | Ruochen Zhao, Xingxuan Li, Shafiq Joty, Chengwei Qin, Lidong Bing | 2023-05-05T03:49:14Z | cs.CL | As large language models (LLMs) have become the norm in NLP, demonstrating
good performance in generation and reasoning tasks, one of its most fatal
disadvantages is the lack of factual correctness. Generating unfactual texts
not only leads to lower performances but also degrades the trust and validity
of their applications. Chain-of-Thought (CoT) prompting improves trust and
model performance on complex reasoning tasks by generating interpretable
reasoning chains, but still suffers from factuality concerns in
knowledge-intensive tasks. In this paper, we propose the Verify-and-Edit
framework for CoT prompting, which seeks to increase prediction factuality by
post-editing reasoning chains according to external knowledge. Building on top
of GPT-3, our framework lead to accuracy improvements in multiple open-domain
question-answering tasks. | cs.CL | Verify-and-Edit: A Knowledge-Enhanced Chain-of-Thought Framework |
2023-05-05T03:28:49Z | http://arxiv.org/pdf/2305.03262v1 | http://arxiv.org/abs/2305.03262v1 | Yangyang Zhao, Zhenyu Wang, Mehdi Dastani, Shihan Wang | 2023-05-05T03:28:49Z | cs.HC, cs.CL | Training a dialogue policy using deep reinforcement learning requires a lot
of exploration of the environment. The amount of wasted invalid exploration
makes their learning inefficient. In this paper, we find and define an
important reason for the invalid exploration: dead-ends. When a conversation
enters a dead-end state, regardless of the actions taken afterward, it will
continue in a dead-end trajectory until the agent reaches a termination state
or maximum turn. We propose a dead-end resurrection (DDR) algorithm that
detects the initial dead-end state in a timely and efficient manner and
provides a rescue action to guide and correct the exploration direction. To
prevent dialogue policies from repeatedly making the same mistake, DDR also
performs dialogue data augmentation by adding relevant experiences containing
dead-end states. We first validate the dead-end detection reliability and then
demonstrate the effectiveness and generality of the method by reporting
experimental results on several dialogue datasets from different domains. | cs.HC | Rescue Conversations from Dead-ends: Efficient Exploration for Task-oriented Dialogue Policy Optimization |
2023-05-05T03:02:41Z | http://arxiv.org/pdf/2305.03256v1 | http://arxiv.org/abs/2305.03256v1 | Liqiang Jing, Xuemeng Song, Xuming Lin, Zhongzhou Zhao, Wei Zhou, Liqiang Nie | 2023-05-05T03:02:41Z | cs.CL | Existing data-to-text generation efforts mainly focus on generating a
coherent text from non-linguistic input data, such as tables and
attribute-value pairs, but overlook that different application scenarios may
require texts of different styles. Inspired by this, we define a new task,
namely stylized data-to-text generation, whose aim is to generate coherent text
for the given non-linguistic data according to a specific style. This task is
non-trivial, due to three challenges: the logic of the generated text,
unstructured style reference, and biased training samples. To address these
challenges, we propose a novel stylized data-to-text generation model, named
StyleD2T, comprising three components: logic planning-enhanced data embedding,
mask-based style embedding, and unbiased stylized text generation. In the first
component, we introduce a graph-guided logic planner for attribute organization
to ensure the logic of generated text. In the second component, we devise
feature-level mask-based style embedding to extract the essential style signal
from the given unstructured style reference. In the last one, pseudo triplet
augmentation is utilized to achieve unbiased text generation, and a
multi-condition based confidence assignment function is designed to ensure the
quality of pseudo samples. Extensive experiments on a newly collected dataset
from Taobao have been conducted, and the results show the superiority of our
model over existing methods. | cs.CL | Stylized Data-to-Text Generation: A Case Study in the E-Commerce Domain |
2023-05-05T02:46:22Z | http://arxiv.org/pdf/2305.03253v1 | http://arxiv.org/abs/2305.03253v1 | Bin Ji | 2023-05-05T02:46:22Z | cs.CL | Large Language Models (LLMs, e.g., ChatGPT) have shown impressive zero- and
few-shot capabilities in Named Entity Recognition (NER). However, these models
can only be accessed via online APIs, which may cause data leak and
non-reproducible problems. In this paper, we propose VicunaNER, a zero/few-shot
NER framework based on the newly released open-source LLM -- Vicuna. VicunaNER
is a two-phase framework, where each phase leverages multi-turn dialogues with
Vicuna to recognize entities from texts. We name the second phase as
Re-Recognition, which recognizes those entities not recognized in the first
phase (a.k.a. Recognition). Moreover, we set entity correctness check dialogues
in each phase to filter out wrong entities. We evaluate VicunaNER's zero-shot
capacity on 10 datasets crossing 5 domains and few-shot capacity on Few-NERD.
Experimental results demonstrate that VicunaNER achieves superior performance
in both shot settings. Additionally, we conduct comprehensive investigations on
Vicuna from multiple perspectives. | cs.CL | VicunaNER: Zero/Few-shot Named Entity Recognition using Vicuna |
2023-05-05T01:39:21Z | http://arxiv.org/pdf/2305.03237v2 | http://arxiv.org/abs/2305.03237v2 | Hao Lang, Yinhe Zheng, Binyuan Hui, Fei Huang, Yongbin Li | 2024-02-23T09:13:30Z | cs.CL, cs.AI, cs.LG | Out-of-Domain (OOD) intent detection is vital for practical dialogue systems,
and it usually requires considering multi-turn dialogue contexts. However, most
previous OOD intent detection approaches are limited to single dialogue turns.
In this paper, we introduce a context-aware OOD intent detection (Caro)
framework to model multi-turn contexts in OOD intent detection tasks.
Specifically, we follow the information bottleneck principle to extract robust
representations from multi-turn dialogue contexts. Two different views are
constructed for each input sample and the superfluous information not related
to intent detection is removed using a multi-view information bottleneck loss.
Moreover, we also explore utilizing unlabeled data in Caro. A two-stage
training process is introduced to mine OOD samples from these unlabeled data,
and these OOD samples are used to train the resulting model with a
bootstrapping approach. Comprehensive experiments demonstrate that Caro
establishes state-of-the-art performances on multi-turn OOD detection tasks by
improving the F1-OOD score of over $29\%$ compared to the previous best method. | cs.CL | Out-of-Domain Intent Detection Considering Multi-Turn Dialogue Contexts |
2023-05-05T01:38:49Z | http://arxiv.org/pdf/2305.03236v2 | http://arxiv.org/abs/2305.03236v2 | Hao Lang, Yinhe Zheng, Yixuan Li, Jian Sun, Fei Huang, Yongbin Li | 2023-12-27T07:15:20Z | cs.CL, cs.AI, cs.LG | Out-of-distribution (OOD) detection is essential for the reliable and safe
deployment of machine learning systems in the real world. Great progress has
been made over the past years. This paper presents the first review of recent
advances in OOD detection with a particular focus on natural language
processing approaches. First, we provide a formal definition of OOD detection
and discuss several related fields. We then categorize recent algorithms into
three classes according to the data they used: (1) OOD data available, (2) OOD
data unavailable + in-distribution (ID) label available, and (3) OOD data
unavailable + ID label unavailable. Third, we introduce datasets, applications,
and metrics. Finally, we summarize existing work and present potential future
research topics. | cs.CL | A Survey on Out-of-Distribution Detection in NLP |
2023-05-05T01:23:22Z | http://arxiv.org/pdf/2305.03232v2 | http://arxiv.org/abs/2305.03232v2 | Kobe Knowles, Joshua Bensemann, Diana Benavides-Prado, Vithya Yogarajan, Michael Witbrock, Gillian Dobbie, Yang Chen | 2023-05-11T21:28:30Z | cs.CL | We introduce a novel architecture, the Neuromodulation Gated Transformer
(NGT), which is a simple implementation of neuromodulation in transformers via
a multiplicative effect. We compare it to baselines and show that it results in
the best average performance on the SuperGLUE benchmark validation sets. | cs.CL | Neuromodulation Gated Transformer |
2023-05-04T23:46:49Z | http://arxiv.org/pdf/2305.03210v2 | http://arxiv.org/abs/2305.03210v2 | Catherine Yeh, Yida Chen, Aoyu Wu, Cynthia Chen, Fernanda Viégas, Martin Wattenberg | 2023-08-09T06:24:55Z | cs.HC, cs.CL, cs.CV, cs.LG | Transformer models are revolutionizing machine learning, but their inner
workings remain mysterious. In this work, we present a new visualization
technique designed to help researchers understand the self-attention mechanism
in transformers that allows these models to learn rich, contextual
relationships between elements of a sequence. The main idea behind our method
is to visualize a joint embedding of the query and key vectors used by
transformer models to compute attention. Unlike previous attention
visualization techniques, our approach enables the analysis of global patterns
across multiple input sequences. We create an interactive visualization tool,
AttentionViz (demo: http://attentionviz.com), based on these joint query-key
embeddings, and use it to study attention mechanisms in both language and
vision transformers. We demonstrate the utility of our approach in improving
model understanding and offering new insights about query-key interactions
through several application scenarios and expert feedback. | cs.HC | AttentionViz: A Global View of Transformer Attention |
2023-05-04T23:35:15Z | http://arxiv.org/pdf/2305.03207v1 | http://arxiv.org/abs/2305.03207v1 | Sonal Sannigrahi, Rachel Bawden | 2023-05-04T23:35:15Z | cs.CL, cs.AI | Multilingual language models have shown impressive cross-lingual transfer
ability across a diverse set of languages and tasks. To improve the
cross-lingual ability of these models, some strategies include transliteration
and finer-grained segmentation into characters as opposed to subwords. In this
work, we investigate lexical sharing in multilingual machine translation (MT)
from Hindi, Gujarati, Nepali into English. We explore the trade-offs that exist
in translation performance between data sampling and vocabulary size, and we
explore whether transliteration is useful in encouraging cross-script
generalisation. We also verify how the different settings generalise to unseen
languages (Marathi and Bengali). We find that transliteration does not give
pronounced improvements and our analysis suggests that our multilingual MT
models trained on original scripts seem to already be robust to cross-script
differences even for relatively low-resource languages | cs.CL | Investigating Lexical Sharing in Multilingual Machine Translation for Indian Languages |
2023-05-04T23:27:21Z | http://arxiv.org/pdf/2305.03204v1 | http://arxiv.org/abs/2305.03204v1 | Xilun Chen, Lili Yu, Wenhan Xiong, Barlas Oğuz, Yashar Mehdad, Wen-tau Yih | 2023-05-04T23:27:21Z | cs.CV, cs.CL | We propose a new two-stage pre-training framework for video-to-text
generation tasks such as video captioning and video question answering: A
generative encoder-decoder model is first jointly pre-trained on massive
image-text data to learn fundamental vision-language concepts, and then adapted
to video data in an intermediate video-text pre-training stage to learn
video-specific skills such as spatio-temporal reasoning. As a result, our
VideoOFA model achieves new state-of-the-art performance on four Video
Captioning benchmarks, beating prior art by an average of 9.7 points in CIDEr
score. It also outperforms existing models on two open-ended Video Question
Answering datasets, showcasing its generalization capability as a universal
video-to-text model. | cs.CV | VideoOFA: Two-Stage Pre-Training for Video-to-Text Generation |
2023-05-04T23:11:31Z | http://arxiv.org/pdf/2305.03201v1 | http://arxiv.org/abs/2305.03201v1 | Mursal Dawodi, Jawid Ahmad Baktash | 2023-05-04T23:11:31Z | cs.CL, cs.LG | Text classification has become a crucial task in various fields, leading to a
significant amount of research on developing automated text classification
systems for national and international languages. However, there is a growing
need for automated text classification systems that can handle local languages.
This study aims to establish an automated classification system for Pashto
text. To achieve this goal, we constructed a dataset of Pashto documents and
applied various models, including statistical and neural machine learning
models such as DistilBERT-base-multilingual-cased, Multilayer Perceptron,
Support Vector Machine, K Nearest Neighbor, decision tree, Gaussian na\"ive
Bayes, multinomial na\"ive Bayes, random forest, and logistic regression, to
identify the most effective approach. We also evaluated two different feature
extraction methods, bag of words and Term Frequency Inverse Document Frequency.
The study achieved an average testing accuracy rate of 94% using the MLP
classification algorithm and TFIDF feature extraction method in single-label
multiclass classification. Similarly, MLP+TFIDF yielded the best results, with
an F1-measure of 0.81. Furthermore, the use of pre-trained language
representation models, such as DistilBERT, showed promising results for Pashto
text classification; however, the study highlights the importance of developing
a specific tokenizer for a particular language to achieve reasonable results. | cs.CL | Enhancing Pashto Text Classification using Language Processing Techniques for Single And Multi-Label Analysis |
2023-05-04T23:10:53Z | http://arxiv.org/pdf/2305.03200v1 | http://arxiv.org/abs/2305.03200v1 | Jawid Ahmad Baktash, Mursal Dawodi | 2023-05-04T23:10:53Z | eess.AS, cs.CL, cs.SD | This paper is an extension of our previous conference paper. In recent years,
there has been a growing interest among researchers in developing and improving
speech recognition systems to facilitate and enhance human-computer
interaction. Today, Automatic Speech Recognition (ASR) systems have become
ubiquitous, used in everything from games to translation systems, robots, and
more. However, much research is still needed on speech recognition systems for
low-resource languages. This article focuses on the recognition of individual
words in the Dari language using the Mel-frequency cepstral coefficients
(MFCCs) feature extraction method and three different deep neural network
models: Convolutional Neural Network (CNN), Recurrent Neural Network (RNN), and
Multilayer Perceptron (MLP), as well as two hybrid models combining CNN and
RNN. We evaluate these models using an isolated Dari word corpus that we have
created, consisting of 1000 utterances for 20 short Dari terms. Our study
achieved an impressive average accuracy of 98.365%. | eess.AS | Employing Hybrid Deep Neural Networks on Dari Speech |
2023-05-04T22:57:45Z | http://arxiv.org/pdf/2305.03737v1 | http://arxiv.org/abs/2305.03737v1 | Jawid Ahmad Baktash, Mursal Dawodi, Mohammad Zarif Joya, Nematullah Hassanzada | 2023-05-04T22:57:45Z | cs.CL, cs.AI, cs.LG | Today text classification becomes critical task for concerned individuals for
numerous purposes. Hence, several researches have been conducted to develop
automatic text classification for national and international languages.
However, the need for an automatic text categorization system for local
languages is felt. The main aim of this study is to establish a Pashto
automatic text classification system. In order to pursue this work, we built a
Pashto corpus which is a collection of Pashto documents due to the
unavailability of public datasets of Pashto text documents. Besides, this study
compares several models containing both statistical and neural network machine
learning techniques including Multilayer Perceptron (MLP), Support Vector
Machine (SVM), K Nearest Neighbor (KNN), decision tree, gaussian na\"ive Bayes,
multinomial na\"ive Bayes, random forest, and logistic regression to discover
the most effective approach. Moreover, this investigation evaluates two
different feature extraction methods including unigram, and Time Frequency
Inverse Document Frequency (IFIDF). Subsequently, this research obtained
average testing accuracy rate 94% using MLP classification algorithm and TFIDF
feature extraction method in this context. | cs.CL | Tuning Traditional Language Processing Approaches for Pashto Text Classification |
2023-05-04T22:46:43Z | http://arxiv.org/pdf/2305.03195v1 | http://arxiv.org/abs/2305.03195v1 | Jawid Ahmad Baktash, Mursal Dawodi | 2023-05-04T22:46:43Z | cs.CL, cs.AI, cs.CY | Generative Pre-trained Transformer 4 (GPT-4) is the fourth-generation
language model in the GPT series, developed by OpenAI, which promises
significant advancements in the field of natural language processing (NLP). In
this research article, we have discussed the features of GPT-4, its potential
applications, and the challenges that it might face. We have also compared
GPT-4 with its predecessor, GPT-3. GPT-4 has a larger model size (more than one
trillion), better multilingual capabilities, improved contextual understanding,
and reasoning capabilities than GPT-3. Some of the potential applications of
GPT-4 include chatbots, personal assistants, language translation, text
summarization, and question-answering. However, GPT-4 poses several challenges
and limitations such as computational requirements, data requirements, and
ethical concerns. | cs.CL | Gpt-4: A Review on Advancements and Opportunities in Natural Language Processing |
2023-05-04T20:53:19Z | http://arxiv.org/pdf/2305.03144v1 | http://arxiv.org/abs/2305.03144v1 | Rohan Saha | 2023-05-04T20:53:19Z | cs.LG, cs.CL, cs.IR | With the advent of e-commerce platforms, reviews are crucial for customers to
assess the credibility of a product. The star ratings do not always match the
review text written by the customer. For example, a three star rating (out of
five) may be incongruous with the review text, which may be more suitable for a
five star review. A clustering approach can be used to relabel the correct star
ratings by grouping the text reviews into individual groups. In this work, we
explore the task of choosing different text embeddings to represent these
reviews and also explore the impact the embedding choice has on the performance
of various classes of clustering algorithms. We use contextual (BERT) and
non-contextual (Word2Vec) text embeddings to represent the text and measure
their impact of three classes on clustering algorithms - partitioning based
(KMeans), single linkage agglomerative hierarchical, and density based (DBSCAN
and HDBSCAN), each with various experimental settings. We use the silhouette
score, adjusted rand index score, and cluster purity score metrics to evaluate
the performance of the algorithms and discuss the impact of different
embeddings on the clustering performance. Our results indicate that the type of
embedding chosen drastically affects the performance of the algorithm, the
performance varies greatly across different types of clustering algorithms, no
embedding type is better than the other, and DBSCAN outperforms KMeans and
single linkage agglomerative clustering but also labels more data points as
outliers. We provide a thorough comparison of the performances of different
algorithms and provide numerous ideas to foster further research in the domain
of text clustering. | cs.LG | Influence of various text embeddings on clustering performance in NLP |
2023-05-04T20:22:18Z | http://arxiv.org/pdf/2305.03132v2 | http://arxiv.org/abs/2305.03132v2 | Arthur Amalvy, Vincent Labatut, Richard Dufour | 2023-05-30T21:26:33Z | cs.CL | Pre-trained transformer-based models have recently shown great performance
when applied to Named Entity Recognition (NER). As the complexity of their
self-attention mechanism prevents them from processing long documents at once,
these models are usually applied in a sequential fashion. Such an approach
unfortunately only incorporates local context and prevents leveraging global
document context in long documents such as novels, which might hinder
performance. In this article, we explore the impact of global document context,
and its relationships with local context. We find that correctly retrieving
global document context has a greater impact on performance than only
leveraging local context, prompting for further research on how to better
retrieve that context. | cs.CL | The Role of Global and Local Context in Named Entity Recognition |
2023-05-04T20:19:39Z | http://arxiv.org/pdf/2305.03130v2 | http://arxiv.org/abs/2305.03130v2 | Kaixin Ma, Hao Cheng, Yu Zhang, Xiaodong Liu, Eric Nyberg, Jianfeng Gao | 2023-05-26T17:19:58Z | cs.CL | The retrieval model is an indispensable component for real-world
knowledge-intensive tasks, e.g., open-domain question answering (ODQA). As
separate retrieval skills are annotated for different datasets, recent work
focuses on customized methods, limiting the model transferability and
scalability. In this work, we propose a modular retriever where individual
modules correspond to key skills that can be reused across datasets. Our
approach supports flexible skill configurations based on the target domain to
boost performance. To mitigate task interference, we design a novel
modularization parameterization inspired by sparse Transformer. We demonstrate
that our model can benefit from self-supervised pretraining on Wikipedia and
fine-tuning using multiple ODQA datasets, both in a multi-task fashion. Our
approach outperforms recent self-supervised retrievers in zero-shot evaluations
and achieves state-of-the-art fine-tuned retrieval performance on NQ, HotpotQA
and OTT-QA. | cs.CL | Chain-of-Skills: A Configurable Model for Open-domain Question Answering |
2023-05-04T20:10:37Z | http://arxiv.org/pdf/2305.09782v1 | http://arxiv.org/abs/2305.09782v1 | Param Ahir, Hiteishi M. Diwanji | 2023-05-04T20:10:37Z | cs.CV, cs.AI, cs.CL, cs.LG | Visual question answering (VQA) usesimage processing algorithms to process
the image and natural language processing methods to understand and answer the
question. VQA is helpful to a visually impaired person, can be used for the
security surveillance system and online chatbots that learn from the web. It
uses NLP methods to learn the semantic of the question and to derive the
textual features. Computer vision techniques are used for generating image
representation in such a way that they can identify the objects about which
question is asked. The Attention model tries to mimic the human behavior of
giving attention to a different region of an image according to our
understanding of its context. This paper critically examines and reviews
methods of VQA algorithm such as generation of semantics of text,
identification of objects and answer classification techniques that use the
co-attention approach. | cs.CV | Analysis of Visual Question Answering Algorithms with attention model |
2023-05-04T19:31:50Z | http://arxiv.org/pdf/2305.03117v2 | http://arxiv.org/abs/2305.03117v2 | Bingsheng Yao, Prithviraj Sen, Lucian Popa, James Hendler, Dakuo Wang | 2023-05-22T05:20:04Z | cs.CL | Human-annotated labels and explanations are critical for training explainable
NLP models. However, unlike human-annotated labels whose quality is easier to
calibrate (e.g., with a majority vote), human-crafted free-form explanations
can be quite subjective. Before blindly using them as ground truth to train ML
models, a vital question needs to be asked: How do we evaluate a
human-annotated explanation's quality? In this paper, we build on the view that
the quality of a human-annotated explanation can be measured based on its
helpfulness (or impairment) to the ML models' performance for the desired NLP
tasks for which the annotations were collected. In comparison to the commonly
used Simulatability score, we define a new metric that can take into
consideration the helpfulness of an explanation for model performance at both
fine-tuning and inference. With the help of a unified dataset format, we
evaluated the proposed metric on five datasets (e.g., e-SNLI) against two model
architectures (T5 and BART), and the results show that our proposed metric can
objectively evaluate the quality of human-annotated explanations, while
Simulatability falls short. | cs.CL | Are Human Explanations Always Helpful? Towards Objective Evaluation of Human Natural Language Explanations |
2023-05-04T19:02:29Z | http://arxiv.org/pdf/2305.03111v3 | http://arxiv.org/abs/2305.03111v3 | Jinyang Li, Binyuan Hui, Ge Qu, Jiaxi Yang, Binhua Li, Bowen Li, Bailin Wang, Bowen Qin, Rongyu Cao, Ruiying Geng, Nan Huo, Xuanhe Zhou, Chenhao Ma, Guoliang Li, Kevin C. C. Chang, Fei Huang, Reynold Cheng, Yongbin Li | 2023-11-15T04:56:25Z | cs.CL | Text-to-SQL parsing, which aims at converting natural language instructions
into executable SQLs, has gained increasing attention in recent years. In
particular, Codex and ChatGPT have shown impressive results in this task.
However, most of the prevalent benchmarks, i.e., Spider, and WikiSQL, focus on
database schema with few rows of database contents leaving the gap between
academic study and real-world applications. To mitigate this gap, we present
Bird, a big benchmark for large-scale database grounded in text-to-SQL tasks,
containing 12,751 pairs of text-to-SQL data and 95 databases with a total size
of 33.4 GB, spanning 37 professional domains. Our emphasis on database values
highlights the new challenges of dirty database contents, external knowledge
between NL questions and database contents, and SQL efficiency, particularly in
the context of massive databases. To solve these problems, text-to-SQL models
must feature database value comprehension in addition to semantic parsing. The
experimental results demonstrate the significance of database values in
generating accurate text-to-SQLs for big databases. Furthermore, even the most
effective text-to-SQL models, i.e. ChatGPT, only achieves 40.08% in execution
accuracy, which is still far from the human result of 92.96%, proving that
challenges still stand. Besides, we also provide an efficiency analysis to
offer insights into generating text-to-efficient-SQLs that are beneficial to
industries. We believe that BIRD will contribute to advancing real-world
applications of text-to-SQL research. The leaderboard and source code are
available: https://bird-bench.github.io/. | cs.CL | Can LLM Already Serve as A Database Interface? A BIg Bench for Large-Scale Database Grounded Text-to-SQLs |
2023-05-04T18:34:50Z | http://arxiv.org/pdf/2305.03101v1 | http://arxiv.org/abs/2305.03101v1 | Yun Tang, Anna Y. Sun, Hirofumi Inaguma, Xinyue Chen, Ning Dong, Xutai Ma, Paden D. Tomasello, Juan Pino | 2023-05-04T18:34:50Z | cs.CL, cs.SD, eess.AS | Transducer and Attention based Encoder-Decoder (AED) are two widely used
frameworks for speech-to-text tasks. They are designed for different purposes
and each has its own benefits and drawbacks for speech-to-text tasks. In order
to leverage strengths of both modeling methods, we propose a solution by
combining Transducer and Attention based Encoder-Decoder (TAED) for
speech-to-text tasks. The new method leverages AED's strength in non-monotonic
sequence to sequence learning while retaining Transducer's streaming property.
In the proposed framework, Transducer and AED share the same speech encoder.
The predictor in Transducer is replaced by the decoder in the AED model, and
the outputs of the decoder are conditioned on the speech inputs instead of
outputs from an unconditioned language model. The proposed solution ensures
that the model is optimized by covering all possible read/write scenarios and
creates a matched environment for streaming applications. We evaluate the
proposed approach on the \textsc{MuST-C} dataset and the findings demonstrate
that TAED performs significantly better than Transducer for offline automatic
speech recognition (ASR) and speech-to-text translation (ST) tasks. In the
streaming case, TAED outperforms Transducer in the ASR task and one ST
direction while comparable results are achieved in another translation
direction. | cs.CL | Hybrid Transducer and Attention based Encoder-Decoder Modeling for Speech-to-Text Tasks |
2023-05-04T18:15:45Z | http://arxiv.org/pdf/2305.03092v2 | http://arxiv.org/abs/2305.03092v2 | Michael V. Arnold, Peter Sheridan Dodds, Christopher M. Danforth | 2023-05-10T02:39:55Z | cs.CL, cs.CY | Well curated, large-scale corpora of social media posts containing broad
public opinion offer an alternative data source to complement traditional
surveys. While surveys are effective at collecting representative samples and
are capable of achieving high accuracy, they can be both expensive to run and
lag public opinion by days or weeks. Both of these drawbacks could be overcome
with a real-time, high volume data stream and fast analysis pipeline. A central
challenge in orchestrating such a data pipeline is devising an effective method
for rapidly selecting the best corpus of relevant documents for analysis.
Querying with keywords alone often includes irrelevant documents that are not
easily disambiguated with bag-of-words natural language processing methods.
Here, we explore methods of corpus curation to filter irrelevant tweets using
pre-trained transformer-based models, fine-tuned for our binary classification
task on hand-labeled tweets. We are able to achieve F1 scores of up to 0.95.
The low cost and high performance of fine-tuning such a model suggests that our
approach could be of broad benefit as a pre-processing step for social media
datasets with uncertain corpus boundaries. | cs.CL | Curating corpora with classifiers: A case study of clean energy sentiment online |
2023-05-04T18:13:17Z | http://arxiv.org/pdf/2305.05589v1 | http://arxiv.org/abs/2305.05589v1 | Anant Khandelwal | 2023-05-04T18:13:17Z | cs.CL | Existing Question Answering (QA) systems limited by the capability of
answering questions from unseen domain or any out-of-domain distributions
making them less reliable for deployment to real scenarios. Most importantly
all the existing QA domain adaptation methods are either based on generating
synthetic data or pseudo labeling the target domain data. The domain adaptation
methods based on synthetic data and pseudo labeling suffers either from the
requirement of computational resources or an extra overhead of carefully
selecting the confidence threshold to separate the noisy examples from being in
the training dataset. In this paper, we propose the unsupervised domain
adaptation for unlabeled target domain by transferring the target
representation near to source domain while still using the supervision from
source domain. Towards that we proposed the idea of domain invariant fine
tuning along with adversarial label correction to identify the target instances
which lie far apart from the source domain, so that the feature encoder can be
learnt to minimize the distance between such target instances and source
instances class wisely, removing the possibility of learning the features of
target domain which are still near to source support but are ambiguous.
Evaluation of our QA domain adaptation method namely, DomainInv on multiple
target QA dataset reveal the performance improvement over the strongest
baseline. | cs.CL | DomainInv: Domain Invariant Fine Tuning and Adversarial Label Correction For QA Domain Adaptation |
2023-05-04T18:06:48Z | http://arxiv.org/pdf/2305.03088v1 | http://arxiv.org/abs/2305.03088v1 | Xuan Long Do, Bowei Zou, Shafiq Joty, Anh Tai Tran, Liangming Pan, Nancy F. Chen, Ai Ti Aw | 2023-05-04T18:06:48Z | cs.CL, cs.AI | Conversational Question Generation (CQG) is a critical task for machines to
assist humans in fulfilling their information needs through conversations. The
task is generally cast into two different settings: answer-aware and
answer-unaware. While the former facilitates the models by exposing the
expected answer, the latter is more realistic and receiving growing attentions
recently. What-to-ask and how-to-ask are the two main challenges in the
answer-unaware setting. To address the first challenge, existing methods mainly
select sequential sentences in context as the rationales. We argue that the
conversation generated using such naive heuristics may not be natural enough as
in reality, the interlocutors often talk about the relevant contents that are
not necessarily sequential in context. Additionally, previous methods decide
the type of question to be generated (boolean/span-based) implicitly. Modeling
the question type explicitly is crucial as the answer, which hints the models
to generate a boolean or span-based question, is unavailable. To this end, we
present SG-CQG, a two-stage CQG framework. For the what-to-ask stage, a
sentence is selected as the rationale from a semantic graph that we construct,
and extract the answer span from it. For the how-to-ask stage, a classifier
determines the target answer type of the question via two explicit control
signals before generating and filtering. In addition, we propose Conv-Distinct,
a novel evaluation metric for CQG, to evaluate the diversity of the generated
conversation from a context. Compared with the existing answer-unaware CQG
models, the proposed SG-CQG achieves state-of-the-art performance. | cs.CL | Modeling What-to-ask and How-to-ask for Answer-unaware Conversational Question Generation |
2023-05-04T17:59:36Z | http://arxiv.org/pdf/2305.03048v2 | http://arxiv.org/abs/2305.03048v2 | Renrui Zhang, Zhengkai Jiang, Ziyu Guo, Shilin Yan, Junting Pan, Xianzheng Ma, Hao Dong, Peng Gao, Hongsheng Li | 2023-10-04T01:15:21Z | cs.CV, cs.AI, cs.CL, cs.LG, cs.MM | Driven by large-data pre-training, Segment Anything Model (SAM) has been
demonstrated as a powerful and promptable framework, revolutionizing the
segmentation models. Despite the generality, customizing SAM for specific
visual concepts without man-powered prompting is under explored, e.g.,
automatically segmenting your pet dog in different images. In this paper, we
propose a training-free Personalization approach for SAM, termed as PerSAM.
Given only a single image with a reference mask, PerSAM first localizes the
target concept by a location prior, and segments it within other images or
videos via three techniques: target-guided attention, target-semantic
prompting, and cascaded post-refinement. In this way, we effectively adapt SAM
for private use without any training. To further alleviate the mask ambiguity,
we present an efficient one-shot fine-tuning variant, PerSAM-F. Freezing the
entire SAM, we introduce two learnable weights for multi-scale masks, only
training 2 parameters within 10 seconds for improved performance. To
demonstrate our efficacy, we construct a new segmentation dataset, PerSeg, for
personalized evaluation, and test our methods on video object segmentation with
competitive performance. Besides, our approach can also enhance DreamBooth to
personalize Stable Diffusion for text-to-image generation, which discards the
background disturbance for better target appearance learning. Code is released
at https://github.com/ZrrSkywalker/Personalize-SAM | cs.CV | Personalize Segment Anything Model with One Shot |
2023-05-04T17:59:28Z | http://arxiv.org/pdf/2305.03047v2 | http://arxiv.org/abs/2305.03047v2 | Zhiqing Sun, Yikang Shen, Qinhong Zhou, Hongxin Zhang, Zhenfang Chen, David Cox, Yiming Yang, Chuang Gan | 2023-12-02T21:36:10Z | cs.LG, cs.AI, cs.CL, cs.CY | Recent AI-assistant agents, such as ChatGPT, predominantly rely on supervised
fine-tuning (SFT) with human annotations and reinforcement learning from human
feedback (RLHF) to align the output of large language models (LLMs) with human
intentions, ensuring they are helpful, ethical, and reliable. However, this
dependence can significantly constrain the true potential of AI-assistant
agents due to the high cost of obtaining human supervision and the related
issues on quality, reliability, diversity, self-consistency, and undesirable
biases. To address these challenges, we propose a novel approach called
SELF-ALIGN, which combines principle-driven reasoning and the generative power
of LLMs for the self-alignment of AI agents with minimal human supervision. Our
approach encompasses four stages: first, we use an LLM to generate synthetic
prompts, and a topic-guided method to augment the prompt diversity; second, we
use a small set of human-written principles for AI models to follow, and guide
the LLM through in-context learning from demonstrations (of principles
application) to produce helpful, ethical, and reliable responses to user's
queries; third, we fine-tune the original LLM with the high-quality
self-aligned responses so that the resulting model can generate desirable
responses for each query directly without the principle set and the
demonstrations anymore; and finally, we offer a refinement step to address the
issues of overly-brief or indirect responses. Applying SELF-ALIGN to the
LLaMA-65b base language model, we develop an AI assistant named Dromedary. With
fewer than 300 lines of human annotations (including < 200 seed prompts, 16
generic principles, and 5 exemplars for in-context learning). Dromedary
significantly surpasses the performance of several state-of-the-art AI systems,
including Text-Davinci-003 and Alpaca, on benchmark datasets with various
settings. | cs.LG | Principle-Driven Self-Alignment of Language Models from Scratch with Minimal Human Supervision |
2023-05-04T17:53:27Z | http://arxiv.org/pdf/2305.03029v1 | http://arxiv.org/abs/2305.03029v1 | Jonne Sälevä, Constantine Lignos | 2023-05-04T17:53:27Z | cs.CL, cs.AI | We introduce three simple randomized variants of byte pair encoding (BPE) and
explore whether randomizing the selection of merge operations substantially
affects a downstream machine translation task. We focus on translation into
morphologically rich languages, hypothesizing that this task may show
sensitivity to the method of choosing subwords. Analysis using a Bayesian
linear model indicates that two of the variants perform nearly
indistinguishably compared to standard BPE while the other degrades performance
less than we anticipated. We conclude that although standard BPE is widely
used, there exists an interesting universe of potential variations on it worth
investigating. Our code is available at: https://github.com/bltlab/random-bpe. | cs.CL | What changes when you randomly choose BPE merge operations? Not much |
2023-05-04T17:49:09Z | http://arxiv.org/pdf/2305.03025v1 | http://arxiv.org/abs/2305.03025v1 | Fangkai Jiao, Bosheng Ding, Tianze Luo, Zhanfeng Mo | 2023-05-04T17:49:09Z | cs.CL, cs.AI | This project focuses on enhancing open-source large language models through
instruction-tuning and providing comprehensive evaluations of their
performance. We explore how various training data factors, such as quantity,
quality, and linguistic distribution, influence the performance of
instruction-tuned models trained on publicly accessible high-quality
instruction datasets for both English and Chinese languages. Our goal is to
supplement evaluation with quantitative analyses, providing valuable insights
for the continued advancement of open-source chat models. Our model, data, and
code are publicly available for others to use and build upon. | cs.CL | Panda LLM: Training Data and Evaluation for Open-Sourced Chinese Instruction-Following Large Language Models |
2023-05-04T17:31:41Z | http://arxiv.org/pdf/2305.03010v1 | http://arxiv.org/abs/2305.03010v1 | Haoran Li, Mingshi Xu, Yangqiu Song | 2023-05-04T17:31:41Z | cs.CL, cs.CR | Sentence-level representations are beneficial for various natural language
processing tasks. It is commonly believed that vector representations can
capture rich linguistic properties. Currently, large language models (LMs)
achieve state-of-the-art performance on sentence embedding. However, some
recent works suggest that vector representations from LMs can cause information
leakage. In this work, we further investigate the information leakage issue and
propose a generative embedding inversion attack (GEIA) that aims to reconstruct
input sequences based only on their sentence embeddings. Given the black-box
access to a language model, we treat sentence embeddings as initial tokens'
representations and train or fine-tune a powerful decoder model to decode the
whole sequences directly. We conduct extensive experiments to demonstrate that
our generative inversion attack outperforms previous embedding inversion
attacks in classification metrics and generates coherent and contextually
similar sentences as the original inputs. | cs.CL | Sentence Embedding Leaks More Information than You Expect: Generative Embedding Inversion Attack to Recover the Whole Sentence |
2023-05-04T17:25:24Z | http://arxiv.org/pdf/2305.03007v1 | http://arxiv.org/abs/2305.03007v1 | James Gung, Emily Moeng, Wesley Rose, Arshit Gupta, Yi Zhang, Saab Mansour | 2023-05-04T17:25:24Z | cs.CL | Despite growing interest in applications based on natural customer support
conversations, there exist remarkably few publicly available datasets that
reflect the expected characteristics of conversations in these settings.
Existing task-oriented dialogue datasets, which were collected to benchmark
dialogue systems mainly in written human-to-bot settings, are not
representative of real customer support conversations and do not provide
realistic benchmarks for systems that are applied to natural data. To address
this gap, we introduce NatCS, a multi-domain collection of spoken customer
service conversations. We describe our process for collecting synthetic
conversations between customers and agents based on natural language phenomena
observed in real conversations. Compared to previous dialogue datasets, the
conversations collected with our approach are more representative of real
human-to-human conversations along multiple metrics. Finally, we demonstrate
potential uses of NatCS, including dialogue act classification and intent
induction from conversations as potential applications, showing that dialogue
act annotations in NatCS provide more effective training data for modeling real
conversations compared to existing synthetic written datasets. We publicly
release NatCS to facilitate research in natural dialog systems | cs.CL | NatCS: Eliciting Natural Customer Support Dialogues |
2023-05-04T17:01:17Z | http://arxiv.org/pdf/2305.02996v2 | http://arxiv.org/abs/2305.02996v2 | Nishant Yadav, Nicholas Monath, Manzil Zaheer, Andrew McCallum | 2023-10-23T17:48:34Z | cs.IR, cs.CL, cs.LG | Cross-encoder models, which jointly encode and score a query-item pair, are
prohibitively expensive for direct k-nearest neighbor (k-NN) search.
Consequently, k-NN search typically employs a fast approximate retrieval (e.g.
using BM25 or dual-encoder vectors), followed by reranking with a
cross-encoder; however, the retrieval approximation often has detrimental
recall regret. This problem is tackled by ANNCUR (Yadav et al., 2022), a recent
work that employs a cross-encoder only, making search efficient using a
relatively small number of anchor items, and a CUR matrix factorization. While
ANNCUR's one-time selection of anchors tends to approximate the cross-encoder
distances on average, doing so forfeits the capacity to accurately estimate
distances to items near the query, leading to regret in the crucial end-task:
recall of top-k items. In this paper, we propose ADACUR, a method that
adaptively, iteratively, and efficiently minimizes the approximation error for
the practically important top-k neighbors. It does so by iteratively performing
k-NN search using the anchors available so far, then adding these retrieved
nearest neighbors to the anchor set for the next round. Empirically, on
multiple datasets, in comparison to previous traditional and state-of-the-art
methods such as ANNCUR and dual-encoder-based retrieve-and-rerank, our proposed
approach ADACUR consistently reduces recall error-by up to 70% on the important
k = 1 setting-while using no more compute than its competitors. | cs.IR | Efficient k-NN Search with Cross-Encoders using Adaptive Multi-Round CUR Decomposition |
2023-05-04T17:00:17Z | http://arxiv.org/pdf/2305.02995v2 | http://arxiv.org/abs/2305.02995v2 | Weixin Liang, Yining Mao, Yongchan Kwon, Xinyu Yang, James Zou | 2023-05-31T17:41:16Z | cs.LG, cs.AI, cs.CL, cs.CV | Understanding the performance of machine learning (ML) models across diverse
data distributions is critically important for reliable applications. Despite
recent empirical studies positing a near-perfect linear correlation between
in-distribution (ID) and out-of-distribution (OOD) accuracies, we empirically
demonstrate that this correlation is more nuanced under subpopulation shifts.
Through rigorous experimentation and analysis across a variety of datasets,
models, and training epochs, we demonstrate that OOD performance often has a
nonlinear correlation with ID performance in subpopulation shifts. Our
findings, which contrast previous studies that have posited a linear
correlation in model performance during distribution shifts, reveal a "moon
shape" correlation (parabolic uptrend curve) between the test performance on
the majority subpopulation and the minority subpopulation. This non-trivial
nonlinear correlation holds across model architectures, hyperparameters,
training durations, and the imbalance between subpopulations. Furthermore, we
found that the nonlinearity of this "moon shape" is causally influenced by the
degree of spurious correlations in the training data. Our controlled
experiments show that stronger spurious correlation in the training data
creates more nonlinear performance correlation. We provide complementary
experimental and theoretical analyses for this phenomenon, and discuss its
implications for ML reliability and fairness. Our work highlights the
importance of understanding the nonlinear effects of model improvement on
performance in different subpopulations, and has the potential to inform the
development of more equitable and responsible machine learning models. | cs.LG | Accuracy on the Curve: On the Nonlinear Correlation of ML Performance Between Data Subpopulations |
2023-05-04T16:58:19Z | http://arxiv.org/pdf/2305.02993v2 | http://arxiv.org/abs/2305.02993v2 | Maël Jullien, Marco Valentino, Hannah Frost, Paul O'Regan, Donal Landers, André Freitas | 2023-05-11T09:10:06Z | cs.CL, cs.AI, cs.LG | This paper describes the results of SemEval 2023 task 7 -- Multi-Evidence
Natural Language Inference for Clinical Trial Data (NLI4CT) -- consisting of 2
tasks, a Natural Language Inference (NLI) task, and an evidence selection task
on clinical trial data. The proposed challenges require multi-hop biomedical
and numerical reasoning, which are of significant importance to the development
of systems capable of large-scale interpretation and retrieval of medical
evidence, to provide personalized evidence-based care.
Task 1, the entailment task, received 643 submissions from 40 participants,
and Task 2, the evidence selection task, received 364 submissions from 23
participants. The tasks are challenging, with the majority of submitted systems
failing to significantly outperform the majority class baseline on the
entailment task, and we observe significantly better performance on the
evidence selection task than on the entailment task. Increasing the number of
model parameters leads to a direct increase in performance, far more
significant than the effect of biomedical pre-training. Future works could
explore the limitations of large models for generalization and numerical
inference, and investigate methods to augment clinical datasets to allow for
more rigorous testing and to facilitate fine-tuning.
We envisage that the dataset, models, and results of this task will be useful
to the biomedical NLI and evidence retrieval communities. The dataset,
competition leaderboard, and website are publicly available. | cs.CL | SemEval-2023 Task 7: Multi-Evidence Natural Language Inference for Clinical Trial Data |
2023-05-04T16:14:43Z | http://arxiv.org/pdf/2305.03509v2 | http://arxiv.org/abs/2305.03509v2 | Seongmin Lee, Benjamin Hoover, Hendrik Strobelt, Zijie J. Wang, ShengYun Peng, Austin Wright, Kevin Li, Haekyu Park, Haoyang Yang, Duen Horng Chau | 2023-05-08T21:32:02Z | cs.CL, cs.AI, cs.HC, cs.LG | Diffusion-based generative models' impressive ability to create convincing
images has captured global attention. However, their complex internal
structures and operations often make them difficult for non-experts to
understand. We present Diffusion Explainer, the first interactive visualization
tool that explains how Stable Diffusion transforms text prompts into images.
Diffusion Explainer tightly integrates a visual overview of Stable Diffusion's
complex components with detailed explanations of their underlying operations,
enabling users to fluidly transition between multiple levels of abstraction
through animations and interactive elements. By comparing the evolutions of
image representations guided by two related text prompts over refinement
timesteps, users can discover the impact of prompts on image generation.
Diffusion Explainer runs locally in users' web browsers without the need for
installation or specialized hardware, broadening the public's education access
to modern AI techniques. Our open-sourced tool is available at:
https://poloclub.github.io/diffusion-explainer/. A video demo is available at
https://youtu.be/Zg4gxdIWDds. | cs.CL | Diffusion Explainer: Visual Explanation for Text-to-image Stable Diffusion |
2023-05-04T16:04:41Z | http://arxiv.org/pdf/2305.06164v2 | http://arxiv.org/abs/2305.06164v2 | Parag Jain, Mirella Lapata | 2023-12-07T15:56:21Z | cs.CL, cs.AI | In this paper we consider the task of conversational semantic parsing over
general purpose knowledge graphs (KGs) with millions of entities, and thousands
of relation-types. We focus on models which are capable of interactively
mapping user utterances into executable logical forms (e.g., Sparql) in the
context of the conversational history. Our key idea is to represent information
about an utterance and its context via a subgraph which is created dynamically,
i.e., the number of nodes varies per utterance. Rather than treating the
subgraph as a sequence, we exploit its underlying structure and encode it with
a graph neural network which further allows us to represent a large number of
(unseen) nodes. Experimental results show that dynamic context modeling is
superior to static approaches, delivering performance improvements across the
board (i.e., for simple and complex questions). Our results further confirm
that modeling the structure of context is better at processing discourse
information, (i.e., at handling ellipsis and resolving coreference) and longer
interactions. | cs.CL | Conversational Semantic Parsing using Dynamic Context Graphs |
2023-05-04T15:36:37Z | http://arxiv.org/pdf/2305.02937v2 | http://arxiv.org/abs/2305.02937v2 | Jixuan Wang, Martin Radfar, Kai Wei, Clement Chung | 2023-06-02T13:25:06Z | cs.CL, cs.SD, eess.AS | It is challenging to extract semantic meanings directly from audio signals in
spoken language understanding (SLU), due to the lack of textual information.
Popular end-to-end (E2E) SLU models utilize sequence-to-sequence automatic
speech recognition (ASR) models to extract textual embeddings as input to infer
semantics, which, however, require computationally expensive auto-regressive
decoding. In this work, we leverage self-supervised acoustic encoders
fine-tuned with Connectionist Temporal Classification (CTC) to extract textual
embeddings and use joint CTC and SLU losses for utterance-level SLU tasks.
Experiments show that our model achieves 4% absolute improvement over the the
state-of-the-art (SOTA) dialogue act classification model on the DSTC2 dataset
and 1.3% absolute improvement over the SOTA SLU model on the SLURP dataset. | cs.CL | End-to-end spoken language understanding using joint CTC loss and self-supervised, pretrained acoustic encoders |
2023-05-04T15:15:22Z | http://arxiv.org/pdf/2305.03495v2 | http://arxiv.org/abs/2305.03495v2 | Reid Pryzant, Dan Iter, Jerry Li, Yin Tat Lee, Chenguang Zhu, Michael Zeng | 2023-10-19T04:37:25Z | cs.CL, cs.AI, cs.LG | Large Language Models (LLMs) have shown impressive performance as general
purpose agents, but their abilities remain highly dependent on prompts which
are hand written with onerous trial-and-error effort. We propose a simple and
nonparametric solution to this problem, Automatic Prompt Optimization (APO),
which is inspired by numerical gradient descent to automatically improve
prompts, assuming access to training data and an LLM API. The algorithm uses
minibatches of data to form natural language "gradients" that criticize the
current prompt. The gradients are then "propagated" into the prompt by editing
the prompt in the opposite semantic direction of the gradient. These gradient
descent steps are guided by a beam search and bandit selection procedure which
significantly improves algorithmic efficiency. Preliminary results across three
benchmark NLP tasks and the novel problem of LLM jailbreak detection suggest
that Automatic Prompt Optimization can outperform prior prompt editing
techniques and improve an initial prompt's performance by up to 31%, by using
data to rewrite vague task descriptions into more precise annotation
instructions. | cs.CL | Automatic Prompt Optimization with "Gradient Descent" and Beam Search |
2023-05-04T15:07:20Z | http://arxiv.org/pdf/2305.02897v2 | http://arxiv.org/abs/2305.02897v2 | Konstantin Hebenstreit, Robert Praas, Louis P Kiesewetter, Matthias Samwald | 2023-08-03T14:33:37Z | cs.CL, cs.AI | Emergent chain-of-thought (CoT) reasoning capabilities promise to improve
performance and explainability of large language models (LLMs). However,
uncertainties remain about how reasoning strategies formulated for previous
model generations generalize to new model generations and different datasets.
In this small-scale study, we compare different reasoning strategies induced by
zero-shot prompting across six recently released LLMs (davinci-002,
davinci-003, GPT-3.5-turbo, GPT-4, Flan-T5-xxl and Cohere command-xlarge) on a
mixture of six question-answering datasets, including datasets from scientific
and medical domains. Our findings demonstrate that while some variations in
effectiveness occur, gains from CoT reasoning strategies remain robust across
different models and datasets. GPT-4 has the most benefit from current
state-of-the-art reasoning strategies and exhibits the best performance by
applying a prompt previously discovered through automated discovery. | cs.CL | An automatically discovered chain-of-thought prompt generalizes to novel models and datasets |
2023-05-04T14:28:39Z | http://arxiv.org/pdf/2305.02869v3 | http://arxiv.org/abs/2305.02869v3 | Yiqun Yao, Zheng Zhang, Jing Li, Yequan Wang | 2024-04-06T06:18:26Z | cs.CL | Accelerating large language model pre-training is a critical issue in present
research. In this paper, we focus on speeding up pre-training by progressively
growing from a small Transformer structure to a large one. There are two main
research problems associated with progressive growth: determining the optimal
growth schedule, and designing efficient growth operators. In terms of growth
schedule, the impact of each single dimension on a schedule's efficiency is
under-explored by existing work. Regarding the growth operators, existing
methods rely on the initialization of new weights to inherit knowledge, and
achieve only non-strict function preservation, limiting further improvements on
training dynamics. To address these issues, we propose Masked Structural Growth
(MSG), including (i) growth schedules involving all possible dimensions and
(ii) strictly function-preserving growth operators that is independent of the
initialization of new weights. Experiments show that MSG is significantly
faster than related work: we achieve up to 2.2x speedup in pre-training
different types of language models while maintaining comparable or better
downstream performances. Code is publicly available at
https://github.com/cofe-ai/MSG. | cs.CL | Masked Structural Growth for 2x Faster Language Model Pre-training |
2023-05-04T14:22:26Z | http://arxiv.org/pdf/2305.02865v1 | http://arxiv.org/abs/2305.02865v1 | Songyang Gao, Shihan Dou, Junjie Shan, Qi Zhang, Xuanjing Huang | 2023-05-04T14:22:26Z | cs.CL, cs.AI | Dataset bias, i.e., the over-reliance on dataset-specific literal heuristics,
is getting increasing attention for its detrimental effect on the
generalization ability of NLU models. Existing works focus on eliminating
dataset bias by down-weighting problematic data in the training process, which
induce the omission of valid feature information while mitigating bias. In this
work, We analyze the causes of dataset bias from the perspective of causal
inference and propose CausalAPM, a generalizable literal disentangling
framework to ameliorate the bias problem from feature granularity. The proposed
approach projects literal and semantic information into independent feature
subspaces, and constrains the involvement of literal information in subsequent
predictions. Extensive experiments on three NLP benchmarks (MNLI, FEVER, and
QQP) demonstrate that our proposed framework significantly improves the OOD
generalization performance while maintaining ID performance. | cs.CL | CausalAPM: Generalizable Literal Disentanglement for NLU Debiasing |
2023-05-04T14:19:02Z | http://arxiv.org/pdf/2305.02858v1 | http://arxiv.org/abs/2305.02858v1 | Pengfei Hong, Rishabh Bhardwaj, Navonil Majumdar, Somak Aditya, Soujanya Poria | 2023-05-04T14:19:02Z | cs.CL, cs.AI | Domain shift is a big challenge in NLP, thus, many approaches resort to
learning domain-invariant features to mitigate the inference phase domain
shift. Such methods, however, fail to leverage the domain-specific nuances
relevant to the task at hand. To avoid such drawbacks, domain counterfactual
generation aims to transform a text from the source domain to a given target
domain. However, due to the limited availability of data, such frequency-based
methods often miss and lead to some valid and spurious domain-token
associations. Hence, we employ a three-step domain obfuscation approach that
involves frequency and attention norm-based masking, to mask domain-specific
cues, and unmasking to regain the domain generic context. Our experiments
empirically show that the counterfactual samples sourced from our masked text
lead to improved domain transfer on 10 out of 12 domain sentiment
classification settings, with an average of 2% accuracy improvement over the
state-of-the-art for unsupervised domain adaptation (UDA). Further, our model
outperforms the state-of-the-art by achieving 1.4% average accuracy improvement
in the adversarial domain adaptation (ADA) setting. Moreover, our model also
shows its domain adaptation efficacy on a large multi-domain intent
classification dataset where it attains state-of-the-art results. We release
the codes publicly at \url{https://github.com/declare-lab/remask}. | cs.CL | ReMask: A Robust Information-Masking Approach for Domain Counterfactual Generation |
2023-05-04T13:56:32Z | http://arxiv.org/pdf/2305.03519v1 | http://arxiv.org/abs/2305.03519v1 | Muhammad AL-Qurishi | 2023-05-04T13:56:32Z | cs.CL | Given the number of Arabic speakers worldwide and the notably large amount of
content in the web today in some fields such as law, medicine, or even news,
documents of considerable length are produced regularly. Classifying those
documents using traditional learning models is often impractical since extended
length of the documents increases computational requirements to an
unsustainable level. Thus, it is necessary to customize these models
specifically for long textual documents. In this paper we propose two simple
but effective models to classify long length Arabic documents. We also
fine-tune two different models-namely, Longformer and RoBERT, for the same task
and compare their results to our models. Both of our models outperform the
Longformer and RoBERT in this task over two different datasets. | cs.CL | Leveraging BERT Language Model for Arabic Long Document Classification |
2023-05-04T13:35:27Z | http://arxiv.org/pdf/2305.02820v2 | http://arxiv.org/abs/2305.02820v2 | Zhiling Zhang, Mengyue Wu, Kenny Q. Zhu | 2023-11-05T10:35:02Z | cs.CL | Controlling chatbot utterance generation with multiple attributes such as
personalities, emotions and dialogue acts is a practically useful but
under-studied problem. We propose a novel framework called DASC that possesses
strong controllability with a weighted decoding paradigm, while improving
generation quality with the grounding in an attribute semantics space.
Generation with multiple attributes is then intuitively implemented with an
interpolation of multiple attribute embeddings, which results in substantial
reduction in the model sizes. Experiments show that DASC can achieve high
control accuracy in generation task with the simultaneous control of 3 aspects
while also producing interesting and reasonably sensible responses, even in an
out-of-distribution robustness test. | cs.CL | Semantic Space Grounded Weighted Decoding for Multi-Attribute Controllable Dialogue Generation |
2023-05-04T13:16:15Z | http://arxiv.org/pdf/2305.02810v1 | http://arxiv.org/abs/2305.02810v1 | Ghazi Felhi | 2023-05-04T13:16:15Z | cs.CL, cs.LG | In this thesis, we develop methods to enhance the interpretability of recent
representation learning techniques in natural language processing (NLP) while
accounting for the unavailability of annotated data. We choose to leverage
Variational Autoencoders (VAEs) due to their efficiency in relating
observations to latent generative factors and their effectiveness in
data-efficient learning and interpretable representation learning. As a first
contribution, we identify and remove unnecessary components in the functioning
scheme of semi-supervised VAEs making them faster, smaller and easier to
design. Our second and main contribution is to use VAEs and Transformers to
build two models with inductive bias to separate information in latent
representations into understandable concepts without annotated data. The first
model, Attention-Driven VAE (ADVAE), is able to separately represent and
control information about syntactic roles in sentences. The second model,
QKVAE, uses separate latent variables to form keys and values for its
Transformer decoder and is able to separate syntactic and semantic information
in its neural representations. In transfer experiments, QKVAE has competitive
performance compared to supervised models and equivalent performance to a
supervised model using 50K annotated samples. Additionally, QKVAE displays
improved syntactic role disentanglement capabilities compared to ADVAE.
Overall, we demonstrate that it is possible to enhance the interpretability of
state-of-the-art deep learning architectures for language modeling with
unannotated data in situations where text data is abundant but annotations are
scarce. | cs.CL | Interpretable Sentence Representation with Variational Autoencoders and Attention |
2023-05-04T13:13:44Z | http://arxiv.org/pdf/2305.04798v2 | http://arxiv.org/abs/2305.04798v2 | Chenzhan Shang, Yupeng Hou, Wayne Xin Zhao, Yaliang Li, Jing Zhang | 2023-10-26T15:52:30Z | cs.IR, cs.AI, cs.CL | Conversational recommender system (CRS) interacts with users through
multi-turn dialogues in natural language, which aims to provide high-quality
recommendations for user's instant information need. Although great efforts
have been made to develop effective CRS, most of them still focus on the
contextual information from the current dialogue, usually suffering from the
data scarcity issue. Therefore, we consider leveraging historical dialogue data
to enrich the limited contexts of the current dialogue session.
In this paper, we propose a novel multi-grained hypergraph interest modeling
approach to capture user interest beneath intricate historical data from
different perspectives. As the core idea, we employ hypergraph to represent
complicated semantic relations underlying historical dialogues. In our
approach, we first employ the hypergraph structure to model users' historical
dialogue sessions and form a session-based hypergraph, which captures
coarse-grained, session-level relations. Second, to alleviate the issue of data
scarcity, we use an external knowledge graph and construct a knowledge-based
hypergraph considering fine-grained, entity-level semantics. We further conduct
multi-grained hypergraph convolution on the two kinds of hypergraphs, and
utilize the enhanced representations to develop interest-aware CRS. Extensive
experiments on two benchmarks ReDial and TG-ReDial validate the effectiveness
of our approach on both recommendation and conversation tasks. Code is
available at: https://github.com/RUCAIBox/MHIM. | cs.IR | Multi-grained Hypergraph Interest Modeling for Conversational Recommendation |
2023-05-04T12:57:18Z | http://arxiv.org/pdf/2305.02797v3 | http://arxiv.org/abs/2305.02797v3 | Mohamed Abdalla, Jan Philip Wahle, Terry Ruas, Aurélie Névéol, Fanny Ducel, Saif M. Mohammad, Karën Fort | 2024-07-01T12:30:57Z | cs.CL | Recent advances in deep learning methods for natural language processing
(NLP) have created new business opportunities and made NLP research critical
for industry development. As one of the big players in the field of NLP,
together with governments and universities, it is important to track the
influence of industry on research. In this study, we seek to quantify and
characterize industry presence in the NLP community over time. Using a corpus
with comprehensive metadata of 78,187 NLP publications and 701 resumes of NLP
publication authors, we explore the industry presence in the field since the
early 90s. We find that industry presence among NLP authors has been steady
before a steep increase over the past five years (180% growth from 2017 to
2022). A few companies account for most of the publications and provide funding
to academic researchers through grants and internships. Our study shows that
the presence and impact of the industry on natural language processing research
are significant and fast-growing. This work calls for increased transparency of
industry influence in the field. | cs.CL | The Elephant in the Room: Analyzing the Presence of Big Tech in Natural Language Processing Research |
2023-05-04T12:46:12Z | http://arxiv.org/pdf/2305.02790v1 | http://arxiv.org/abs/2305.02790v1 | Yijin Liu, Xianfeng Zeng, Fandong Meng, Jie Zhou | 2023-05-04T12:46:12Z | cs.LG, cs.CL | Recently, DeepNorm scales Transformers into extremely deep (i.e., 1000
layers) and reveals the promising potential of deep scaling. To stabilize the
training of deep models, DeepNorm (Wang et al., 2022) attempts to constrain the
model update to a constant value. Although applying such a constraint can
benefit the early stage of model training, it may lead to undertrained models
during the whole training procedure. In this paper, we propose BranchNorm,
which dynamically rescales the non-residual branch of Transformer in accordance
with the training period. BranchNorm not only theoretically stabilizes the
training with smooth gradient norms at the early stage, but also encourages
better convergence in the subsequent training stage. Experiment results on
multiple translation tasks demonstrate that BranchNorm achieves a better
trade-off between training stability and converge performance. | cs.LG | BranchNorm: Robustly Scaling Extremely Deep Transformers |
2023-05-04T12:21:52Z | http://arxiv.org/pdf/2305.02777v2 | http://arxiv.org/abs/2305.02777v2 | Yunlong Liang, Fandong Meng, Jinan Xu, Jiaan Wang, Yufeng Chen, Jie Zhou | 2023-05-18T11:53:14Z | cs.CL, cs.AI | Existing neural machine translation (NMT) studies mainly focus on developing
dataset-specific models based on data from different tasks (e.g., document
translation and chat translation). Although the dataset-specific models have
achieved impressive performance, it is cumbersome as each dataset demands a
model to be designed, trained, and stored. In this work, we aim to unify these
translation tasks into a more general setting. Specifically, we propose a
``versatile'' model, i.e., the Unified Model Learning for NMT (UMLNMT) that
works with data from different tasks, and can translate well in multiple
settings simultaneously, and theoretically it can be as many as possible.
Through unified learning, UMLNMT is able to jointly train across multiple
tasks, implementing intelligent on-demand translation. On seven widely-used
translation tasks, including sentence translation, document translation, and
chat translation, our UMLNMT results in substantial improvements over
dataset-specific models with significantly reduced model deployment costs.
Furthermore, UMLNMT can achieve competitive or better performance than
state-of-the-art dataset-specific methods. Human evaluation and in-depth
analysis also demonstrate the superiority of our approach on generating diverse
and high-quality translations. Additionally, we provide a new genre translation
dataset about famous aphorisms with 186k Chinese->English sentence pairs. | cs.CL | Unified Model Learning for Various Neural Machine Translation |
2023-05-04T12:15:54Z | http://arxiv.org/pdf/2305.02770v3 | http://arxiv.org/abs/2305.02770v3 | Daniel Racek, Brittany I. Davidson, Paul W. Thurner, Xiao Xiang Zhu, Göran Kauermann | 2023-06-06T11:56:03Z | cs.CY, cs.CL, stat.AP | The use of language is innately political and often a vehicle of cultural
identity as well as the basis for nation building. Here, we examine language
choice and tweeting activity of Ukrainian citizens based on more than 4 million
geo-tagged tweets from over 62,000 users before and during the
Russian-Ukrainian War, from January 2020 to October 2022. Using statistical
models, we disentangle sample effects, arising from the in- and outflux of
users on Twitter, from behavioural effects, arising from behavioural changes of
the users. We observe a steady shift from the Russian language towards the
Ukrainian language already before the war, which drastically speeds up with its
outbreak. We attribute these shifts in large part to users' behavioural
changes. Notably, we find that more than half of the Russian-tweeting users
shift towards Ukrainian as a result of the war. | cs.CY | The Politics of Language Choice: How the Russian-Ukrainian War Influences Ukrainians' Language Use on Twitter |
2023-05-04T12:04:33Z | http://arxiv.org/pdf/2305.02763v1 | http://arxiv.org/abs/2305.02763v1 | Vageesh Saxena, Nils Rethmeier, Gijs Van Dijck, Gerasimos Spanakis | 2023-05-04T12:04:33Z | cs.CY, cs.CL, cs.CR, cs.LG | The anonymity on the Darknet allows vendors to stay undetected by using
multiple vendor aliases or frequently migrating between markets. Consequently,
illegal markets and their connections are challenging to uncover on the
Darknet. To identify relationships between illegal markets and their vendors,
we propose VendorLink, an NLP-based approach that examines writing patterns to
verify, identify, and link unique vendor accounts across text advertisements
(ads) on seven public Darknet markets. In contrast to existing literature,
VendorLink utilizes the strength of supervised pre-training to perform
closed-set vendor verification, open-set vendor identification, and
low-resource market adaption tasks. Through VendorLink, we uncover (i) 15
migrants and 71 potential aliases in the Alphabay-Dreams-Silk dataset, (ii) 17
migrants and 3 potential aliases in the Valhalla-Berlusconi dataset, and (iii)
75 migrants and 10 potential aliases in the Traderoute-Agora dataset.
Altogether, our approach can help Law Enforcement Agencies (LEA) make more
informed decisions by verifying and identifying migrating vendors and their
potential aliases on existing and Low-Resource (LR) emerging Darknet markets. | cs.CY | VendorLink: An NLP approach for Identifying & Linking Vendor Migrants & Potential Aliases on Darknet Markets |
2023-05-04T11:38:49Z | http://arxiv.org/pdf/2305.02750v2 | http://arxiv.org/abs/2305.02750v2 | Yang Deng, Wenqiang Lei, Wai Lam, Tat-Seng Chua | 2023-05-09T11:34:24Z | cs.CL, cs.AI | Proactive dialogue systems, related to a wide range of real-world
conversational applications, equip the conversational agent with the capability
of leading the conversation direction towards achieving pre-defined targets or
fulfilling certain goals from the system side. It is empowered by advanced
techniques to progress to more complicated tasks that require strategical and
motivational interactions. In this survey, we provide a comprehensive overview
of the prominent problems and advanced designs for conversational agent's
proactivity in different types of dialogues. Furthermore, we discuss challenges
that meet the real-world application needs but require a greater research focus
in the future. We hope that this first survey of proactive dialogue systems can
provide the community with a quick access and an overall picture to this
practical problem, and stimulate more progresses on conversational AI to the
next level. | cs.CL | A Survey on Proactive Dialogue Systems: Problems, Methods, and Prospects |
2023-05-04T11:35:23Z | http://arxiv.org/pdf/2305.02747v1 | http://arxiv.org/abs/2305.02747v1 | Haoyu Gao, Rui Wang, Ting-En Lin, Yuchuan Wu, Min Yang, Fei Huang, Yongbin Li | 2023-05-04T11:35:23Z | cs.CL, cs.AI | Dialogue Topic Segmentation (DTS) plays an essential role in a variety of
dialogue modeling tasks. Previous DTS methods either focus on semantic
similarity or dialogue coherence to assess topic similarity for unsupervised
dialogue segmentation. However, the topic similarity cannot be fully identified
via semantic similarity or dialogue coherence. In addition, the unlabeled
dialogue data, which contains useful clues of utterance relationships, remains
underexploited. In this paper, we propose a novel unsupervised DTS framework,
which learns topic-aware utterance representations from unlabeled dialogue data
through neighboring utterance matching and pseudo-segmentation. Extensive
experiments on two benchmark datasets (i.e., DialSeg711 and Doc2Dial)
demonstrate that our method significantly outperforms the strong baseline
methods. For reproducibility, we provide our code and data
at:https://github.com/AlibabaResearch/DAMO-ConvAI/tree/main/dial-start. | cs.CL | Unsupervised Dialogue Topic Segmentation with Topic-aware Utterance Representation |
2023-05-04T10:39:17Z | http://arxiv.org/pdf/2305.02718v1 | http://arxiv.org/abs/2305.02718v1 | Sai Zhang, Yuwei Hu, Xiaojie Wang, Caixia Yuan | 2023-05-04T10:39:17Z | cs.CL, cs.AI, cs.HC, 68T50, I.2.7 | Reinforcement learning has been applied to train the dialog systems in many
works. Previous approaches divide the dialog system into multiple modules
including DST (dialog state tracking) and DP (dialog policy), and train these
modules simultaneously. However, different modules influence each other during
training. The errors from DST might misguide the dialog policy, and the system
action brings extra difficulties for the DST module. To alleviate this problem,
we propose Asynchronous Updating Reinforcement Learning framework (AURL) that
updates the DST module and the DP module asynchronously under a cooperative
setting. Furthermore, curriculum learning is implemented to address the problem
of unbalanced data distribution during reinforcement learning sampling, and
multiple user models are introduced to increase the dialog diversity. Results
on the public SSD-PHONE dataset show that our method achieves a compelling
result with a 31.37% improvement on the dialog success rate. The code is
publicly available via https://github.com/shunjiu/AURL. | cs.CL | An Asynchronous Updating Reinforcement Learning Framework for Task-oriented Dialog System |
2023-05-04T10:13:15Z | http://arxiv.org/pdf/2305.03506v3 | http://arxiv.org/abs/2305.03506v3 | Xingwei Liang, You Zou, Ruifeng Xu | 2023-06-06T12:19:35Z | cs.CL, cs.AI, cs.HC | Emotion Recognition in Conversation~(ERC) across modalities is of vital
importance for a variety of applications, including intelligent healthcare,
artificial intelligence for conversation, and opinion mining over chat history.
The crux of ERC is to model both cross-modality and cross-time interactions
throughout the conversation. Previous methods have made progress in learning
the time series information of conversation while lacking the ability to trace
down the different emotional states of each speaker in a conversation. In this
paper, we propose a recurrent structure called Speaker Information Enhanced
Long-Short Term Memory (SI-LSTM) for the ERC task, where the emotional states
of the distinct speaker can be tracked in a sequential way to enhance the
learning of the emotion in conversation. Further, to improve the learning of
multimodal features in ERC, we utilize a cross-modal attention component to
fuse the features between different modalities and model the interaction of the
important information from different modalities. Experimental results on two
benchmark datasets demonstrate the superiority of the proposed SI-LSTM against
the state-of-the-art baseline methods in the ERC task on multimodal data. | cs.CL | SI-LSTM: Speaker Hybrid Long-short Term Memory and Cross Modal Attention for Emotion Recognition in Conversation |
2023-05-04T10:03:37Z | http://arxiv.org/pdf/2305.02687v2 | http://arxiv.org/abs/2305.02687v2 | Horia-Nicolai L. Teodorescu | 2023-05-07T18:21:19Z | physics.soc-ph, cs.CL, math.ST, stat.TH, 11, 62, G.2; G.3; I.2.7; C.2 | It turns out that some empirical facts in Big Data are the effects of
properties of large numbers. Zipf's law 'noise' is an example of such an
artefact. We expose several properties of the power law distributions and of
similar distribution that occur when the population is finite and the rank and
counts of elements in the population are natural numbers. We are particularly
concerned with the low-rank end of the graph of the law, the potential of noise
in the law, and with the approximation of the number of types of objects at
various ranks. Approximations instead of exact solutions are the center of
attention. Consequences in the interpretation of Zipf's law are discussed. | physics.soc-ph | Big Data and Large Numbers. Interpreting Zipf's Law |
2023-05-04T09:50:25Z | http://arxiv.org/pdf/2305.02679v2 | http://arxiv.org/abs/2305.02679v2 | Alon Jacovi, Hendrik Schuff, Heike Adel, Ngoc Thang Vu, Yoav Goldberg | 2023-05-06T12:22:19Z | cs.CL, cs.HC | Word-level saliency explanations ("heat maps over words") are often used to
communicate feature-attribution in text-based models. Recent studies found that
superficial factors such as word length can distort human interpretation of the
communicated saliency scores. We conduct a user study to investigate how the
marking of a word's neighboring words affect the explainee's perception of the
word's importance in the context of a saliency explanation. We find that
neighboring words have significant effects on the word's importance rating.
Concretely, we identify that the influence changes based on neighboring
direction (left vs. right) and a-priori linguistic and computational measures
of phrases and collocations (vs. unrelated neighboring words). Our results
question whether text-based saliency explanations should be continued to be
communicated at word level, and inform future research on alternative saliency
explanation methods. | cs.CL | Neighboring Words Affect Human Interpretation of Saliency Explanations |
2023-05-04T09:18:05Z | http://arxiv.org/pdf/2305.02665v1 | http://arxiv.org/abs/2305.02665v1 | Telmo Pessoa Pires, Robin M. Schmidt, Yi-Hsiu Liao, Stephan Peitz | 2023-05-04T09:18:05Z | cs.CL, cs.AI | Multilingual Machine Translation promises to improve translation quality
between non-English languages. This is advantageous for several reasons, namely
lower latency (no need to translate twice), and reduced error cascades (e.g.,
avoiding losing gender and formality information when translating through
English). On the downside, adding more languages reduces model capacity per
language, which is usually countered by increasing the overall model size,
making training harder and inference slower. In this work, we introduce
Language-Specific Transformer Layers (LSLs), which allow us to increase model
capacity, while keeping the amount of computation and the number of parameters
used in the forward pass constant. The key idea is to have some layers of the
encoder be source or target language-specific, while keeping the remaining
layers shared. We study the best way to place these layers using a neural
architecture search inspired approach, and achieve an improvement of 1.3 chrF
(1.5 spBLEU) points over not using LSLs on a separate decoder architecture, and
1.9 chrF (2.2 spBLEU) on a shared decoder one. | cs.CL | Learning Language-Specific Layers for Multilingual Machine Translation |
2023-05-04T08:15:40Z | http://arxiv.org/pdf/2305.02637v3 | http://arxiv.org/abs/2305.02637v3 | Yiping Jin, Leo Wanner, Vishakha Laxman Kadam, Alexander Shvets | 2024-05-27T13:23:27Z | cs.CL, cs.AI, cs.CY | As pointed out by several scholars, current research on hate speech (HS)
recognition is characterized by unsystematic data creation strategies and
diverging annotation schemata. Subsequently, supervised-learning models tend to
generalize poorly to datasets they were not trained on, and the performance of
the models trained on datasets labeled using different HS taxonomies cannot be
compared. To ease this problem, we propose applying extremely weak supervision
that only relies on the class name rather than on class samples from the
annotated data. We demonstrate the effectiveness of a state-of-the-art
weakly-supervised text classification model in various in-dataset and
cross-dataset settings. Furthermore, we conduct an in-depth quantitative and
qualitative analysis of the source of poor generalizability of HS
classification models. | cs.CL | Towards Weakly-Supervised Hate Speech Classification Across Datasets |
2023-05-04T08:11:57Z | http://arxiv.org/pdf/2305.02633v1 | http://arxiv.org/abs/2305.02633v1 | Shauli Ravfogel, Yoav Goldberg, Jacob Goldberger | 2023-05-04T08:11:57Z | cs.CL, cs.LG | Language models generate text based on successively sampling the next word. A
decoding procedure based on nucleus (top-$p$) sampling chooses from the
smallest possible set of words whose cumulative probability exceeds the
probability $p$. In this work, we assess whether a top-$p$ set is indeed
aligned with its probabilistic meaning in various linguistic contexts. We
employ conformal prediction, a calibration procedure that focuses on the
construction of minimal prediction sets according to a desired confidence
level, to calibrate the parameter $p$ as a function of the entropy of the next
word distribution. We find that OPT models are overconfident, and that
calibration shows a moderate inverse scaling with model size. | cs.CL | Conformal Nucleus Sampling |
2023-05-04T08:11:01Z | http://arxiv.org/pdf/2305.02632v1 | http://arxiv.org/abs/2305.02632v1 | Tobias J. Wieczorek, Tatjana Tchumatchenko, Carlos Wert Carvajal, Maximilian F. Eggl | 2023-05-04T08:11:01Z | cs.CL, cs.AI, cs.LG | Artificial neural networks (ANNs) are increasingly used as research models,
but questions remain about their generalizability and representational
invariance. Biological neural networks under social constraints evolved to
enable communicable representations, demonstrating generalization capabilities.
This study proposes a communication protocol between cooperative agents to
analyze the formation of individual and shared abstractions and their impact on
task performance. This communication protocol aims to mimic language features
by encoding high-dimensional information through low-dimensional
representation. Using grid-world mazes and reinforcement learning, teacher ANNs
pass a compressed message to a student ANN for better task completion. Through
this, the student achieves a higher goal-finding rate and generalizes the goal
location across task worlds. Further optimizing message content to maximize
student reward improves information encoding, suggesting that an accurate
representation in the space of messages requires bi-directional input. This
highlights the role of language as a common representation between agents and
its implications on generalization capabilities. | cs.CL | A framework for the emergence and analysis of language in social learning agents |
2023-05-04T07:45:49Z | http://arxiv.org/pdf/2305.02615v2 | http://arxiv.org/abs/2305.02615v2 | Hang Chen, Jing Luo, Xinyu Yang, Wenjing Zhu | 2023-10-13T09:02:23Z | cs.CL, cs.AI | Our investigation into the Affective Reasoning in Conversation (ARC) task
highlights the challenge of causal discrimination. Almost all existing models,
including large language models (LLMs), excel at capturing semantic
correlations within utterance embeddings but fall short in determining the
specific causal relationships. To overcome this limitation, we propose the
incorporation of \textit{i.i.d.} noise terms into the conversation process,
thereby constructing a structural causal model (SCM). It explores how distinct
causal relationships of fitted embeddings can be discerned through independent
conditions. To facilitate the implementation of deep learning, we introduce the
cogn frameworks to handle unstructured conversation data, and employ an
autoencoder architecture to regard the unobservable noise as learnable
"implicit causes." Moreover, we curate a synthetic dataset that includes i.i.d.
noise. Through comprehensive experiments, we validate the effectiveness and
interpretability of our approach. Our code is available in
https://github.com/Zodiark-ch/mater-of-our-EMNLP2023-paper. | cs.CL | How to Enhance Causal Discrimination of Utterances: A Case on Affective Reasoning |
2023-05-04T07:28:45Z | http://arxiv.org/pdf/2305.02607v1 | http://arxiv.org/abs/2305.02607v1 | Daniil Homskiy, Narek Maloyan | 2023-05-04T07:28:45Z | cs.CL | In recent years, sentiment analysis has gained significant importance in
natural language processing. However, most existing models and datasets for
sentiment analysis are developed for high-resource languages, such as English
and Chinese, leaving low-resource languages, particularly African languages,
largely unexplored. The AfriSenti-SemEval 2023 Shared Task 12 aims to fill this
gap by evaluating sentiment analysis models on low-resource African languages.
In this paper, we present our solution to the shared task, where we employed
different multilingual XLM-R models with classification head trained on various
data, including those retrained in African dialects and fine-tuned on target
languages. Our team achieved the third-best results in Subtask B, Track 16:
Multilingual, demonstrating the effectiveness of our approach. While our model
showed relatively good results on multilingual data, it performed poorly in
some languages. Our findings highlight the importance of developing more
comprehensive datasets and models for low-resource African languages to advance
sentiment analysis research. We also provided the solution on the github
repository. | cs.CL | DN at SemEval-2023 Task 12: Low-Resource Language Text Classification via Multilingual Pretrained Language Model Fine-tuning |
2023-05-04T07:28:23Z | http://arxiv.org/pdf/2305.02606v2 | http://arxiv.org/abs/2305.02606v2 | Jiaxin Wen, Hao Zhou, Jian Guan, Minlie Huang | 2023-10-22T07:41:06Z | cs.CL | Pre-training on large-scale open-domain dialogue data can substantially
improve the performance of dialogue models. However, the pre-trained dialogue
model's ability to utilize long-range context is limited due to the scarcity of
long-turn dialogue sessions. Most dialogues in existing pre-training corpora
contain fewer than three turns of dialogue. To alleviate this issue, we propose
the Retrieve, Reorganize and Rescale framework (Re$^3$Dial), which can
automatically construct billion-scale long-turn dialogues by reorganizing
existing short-turn ones. Given a short-turn session, Re$^3$Dial first employs
a session retriever to retrieve coherent consecutive sessions. To this end, we
train the retriever to capture semantic and discourse relations within
multi-turn dialogues through contrastive training. Next, Re$^3$Dial samples a
session from retrieved results following a diversity sampling strategy, which
is designed to penalize repetitive or generic sessions. A longer session is
then derived by concatenating the original session and the sampled session. By
repeating the above process, Re$^3$Dial can yield a coherent long-turn
dialogue. Extensive experiments on multiple multi-turn dialogue benchmarks
demonstrate that Re$^3$Dial significantly improves the dialogue model's ability
to utilize long-range context and thus generate more sensible and informative
responses. Finally, we build a toolkit for efficiently rescaling conversations
with Re$^3$Dial, which enables us to construct a corpus containing 1B Chinese
dialogue sessions with 11.3 turns on average (5$\times$ longer than the
original corpus). Our retriever model, code, and data is publicly available at
\url{https://github.com/thu-coai/Re3Dial}. | cs.CL | Re$^3$Dial: Retrieve, Reorganize and Rescale Dialogue Corpus for Long-Turn Open-Domain Dialogue Pre-training |
2023-05-04T06:22:50Z | http://arxiv.org/pdf/2305.02579v1 | http://arxiv.org/abs/2305.02579v1 | Binbin Xie, Jia Song, Liangying Shao, Suhang Wu, Xiangpeng Wei, Baosong Yang, Huan Lin, Jun Xie, Jinsong Su | 2023-05-04T06:22:50Z | cs.CL, cs.AI | Keyphrase prediction aims to generate phrases (keyphrases) that highly
summarizes a given document. Recently, researchers have conducted in-depth
studies on this task from various perspectives. In this paper, we
comprehensively summarize representative studies from the perspectives of
dominant models, datasets and evaluation metrics. Our work analyzes up to 167
previous works, achieving greater coverage of this task than previous surveys.
Particularly, we focus highly on deep learning-based keyphrase prediction,
which attracts increasing attention of this task in recent years. Afterwards,
we conduct several groups of experiments to carefully compare representative
models. To the best of our knowledge, our work is the first attempt to compare
these models using the identical commonly-used datasets and evaluation metric,
facilitating in-depth analyses of their disadvantages and advantages. Finally,
we discuss the possible research directions of this task in the future. | cs.CL | From Statistical Methods to Deep Learning, Automatic Keyphrase Prediction: A Survey |
2023-05-04T05:37:22Z | http://arxiv.org/pdf/2305.02564v1 | http://arxiv.org/abs/2305.02564v1 | Shitao Xiao, Zheng Liu, Yingxia Shao, Zhao Cao | 2023-05-04T05:37:22Z | cs.CL | To better support information retrieval tasks such as web search and
open-domain question answering, growing effort is made to develop
retrieval-oriented language models, e.g., RetroMAE and many others. Most of the
existing works focus on improving the semantic representation capability for
the contextualized embedding of the [CLS] token. However, recent study shows
that the ordinary tokens besides [CLS] may provide extra information, which
help to produce a better representation effect. As such, it's necessary to
extend the current methods where all contextualized embeddings can be jointly
pre-trained for the retrieval tasks. In this work, we propose a novel
pre-training method called Duplex Masked Auto-Encoder, a.k.a. DupMAE. It is
designed to improve the quality of semantic representation where all
contextualized embeddings of the pre-trained model can be leveraged. It takes
advantage of two complementary auto-encoding tasks: one reconstructs the input
sentence on top of the [CLS] embedding; the other one predicts the bag-of-words
feature of the input sentence based on the ordinary tokens' embeddings. The two
tasks are jointly conducted to train a unified encoder, where the whole
contextualized embeddings are aggregated in a compact way to produce the final
semantic representation. DupMAE is simple but empirically competitive: it
substantially improves the pre-trained model's representation capability and
transferability, where superior retrieval performances can be achieved on
popular benchmarks, like MS MARCO and BEIR. | cs.CL | RetroMAE-2: Duplex Masked Auto-Encoder For Pre-Training Retrieval-Oriented Language Models |
2023-05-04T05:23:11Z | http://arxiv.org/pdf/2305.02558v1 | http://arxiv.org/abs/2305.02558v1 | Sankalok Sen | 2023-05-04T05:23:11Z | cs.CL, cs.IR | Analysis and extraction of useful information from legal judgments using
computational linguistics was one of the earliest problems posed in the domain
of information retrieval. Presently, several commercial vendors exist who
automate such tasks. However, a crucial bottleneck arises in the form of
exorbitant pricing and lack of resources available in analysis of judgements
mete out by Hong Kong's Legal System. This paper attempts to bridge this gap by
providing several statistical, machine learning, deep learning and zero-shot
learning based methods to effectively analyze legal judgments from Hong Kong's
Court System. The methods proposed consists of: (1) Citation Network Graph
Generation, (2) PageRank Algorithm, (3) Keyword Analysis and Summarization, (4)
Sentiment Polarity, and (5) Paragrah Classification, in order to be able to
extract key insights from individual as well a group of judgments together.
This would make the overall analysis of judgments in Hong Kong less tedious and
more automated in order to extract insights quickly using fast inferencing. We
also provide an analysis of our results by benchmarking our results using Large
Language Models making robust use of the HuggingFace ecosystem. | cs.CL | Analyzing Hong Kong's Legal Judgments from a Computational Linguistics point-of-view |
2023-05-04T05:21:36Z | http://arxiv.org/pdf/2305.02556v1 | http://arxiv.org/abs/2305.02556v1 | Ruixin Hong, Hongming Zhang, Hong Zhao, Dong Yu, Changshui Zhang | 2023-05-04T05:21:36Z | cs.CL | Although large language models demonstrate remarkable question-answering
performances, revealing the intermediate reasoning steps that the models
faithfully follow remains challenging. In this paper, we propose FAME (FAithful
question answering with MontE-carlo planning) to answer questions based on
faithful reasoning steps. The reasoning steps are organized as a structured
entailment tree, which shows how premises are used to produce intermediate
conclusions that can prove the correctness of the answer. We formulate the task
as a discrete decision-making problem and solve it through the interaction of a
reasoning environment and a controller. The environment is modular and contains
several basic task-oriented modules, while the controller proposes actions to
assemble the modules. Since the search space could be large, we introduce a
Monte-Carlo planning algorithm to do a look-ahead search and select actions
that will eventually lead to high-quality steps. FAME achieves state-of-the-art
performance on the standard benchmark. It can produce valid and faithful
reasoning steps compared with large language models with a much smaller model
size. | cs.CL | Faithful Question Answering with Monte-Carlo Planning |
2023-05-04T05:02:04Z | http://arxiv.org/pdf/2305.02549v2 | http://arxiv.org/abs/2305.02549v2 | Chen-Yu Lee, Chun-Liang Li, Hao Zhang, Timothy Dozat, Vincent Perot, Guolong Su, Xiang Zhang, Kihyuk Sohn, Nikolai Glushnev, Renshen Wang, Joshua Ainslie, Shangbang Long, Siyang Qin, Yasuhisa Fujii, Nan Hua, Tomas Pfister | 2023-06-13T04:27:14Z | cs.CL, cs.CV, cs.LG | The recent advent of self-supervised pre-training techniques has led to a
surge in the use of multimodal learning in form document understanding.
However, existing approaches that extend the mask language modeling to other
modalities require careful multi-task tuning, complex reconstruction target
designs, or additional pre-training data. In FormNetV2, we introduce a
centralized multimodal graph contrastive learning strategy to unify
self-supervised pre-training for all modalities in one loss. The graph
contrastive objective maximizes the agreement of multimodal representations,
providing a natural interplay for all modalities without special customization.
In addition, we extract image features within the bounding box that joins a
pair of tokens connected by a graph edge, capturing more targeted visual cues
without loading a sophisticated and separately pre-trained image embedder.
FormNetV2 establishes new state-of-the-art performance on FUNSD, CORD, SROIE
and Payment benchmarks with a more compact model size. | cs.CL | FormNetV2: Multimodal Graph Contrastive Learning for Form Document Information Extraction |
2023-05-04T04:58:00Z | http://arxiv.org/pdf/2305.02547v5 | http://arxiv.org/abs/2305.02547v5 | Hang Jiang, Xiajie Zhang, Xubo Cao, Cynthia Breazeal, Deb Roy, Jad Kabbara | 2024-04-02T06:06:53Z | cs.CL, cs.AI, cs.HC | Despite the many use cases for large language models (LLMs) in creating
personalized chatbots, there has been limited research on evaluating the extent
to which the behaviors of personalized LLMs accurately and consistently reflect
specific personality traits. We consider studying the behavior of LLM-based
agents which we refer to as LLM personas and present a case study with GPT-3.5
and GPT-4 to investigate whether LLMs can generate content that aligns with
their assigned personality profiles. To this end, we simulate distinct LLM
personas based on the Big Five personality model, have them complete the
44-item Big Five Inventory (BFI) personality test and a story writing task, and
then assess their essays with automatic and human evaluations. Results show
that LLM personas' self-reported BFI scores are consistent with their
designated personality types, with large effect sizes observed across five
traits. Additionally, LLM personas' writings have emerging representative
linguistic patterns for personality traits when compared with a human writing
corpus. Furthermore, human evaluation shows that humans can perceive some
personality traits with an accuracy of up to 80%. Interestingly, the accuracy
drops significantly when the annotators were informed of AI authorship. | cs.CL | PersonaLLM: Investigating the Ability of Large Language Models to Express Personality Traits |
2023-05-04T03:51:31Z | http://arxiv.org/pdf/2305.02531v6 | http://arxiv.org/abs/2305.02531v6 | Ali Goli, Amandeep Singh | 2024-02-29T18:20:04Z | cs.CL, cs.AI | We explore the viability of Large Language Models (LLMs), specifically
OpenAI's GPT-3.5 and GPT-4, in emulating human survey respondents and eliciting
preferences, with a focus on intertemporal choices. Leveraging the extensive
literature on intertemporal discounting for benchmarking, we examine responses
from LLMs across various languages and compare them to human responses,
exploring preferences between smaller, sooner, and larger, later rewards. Our
findings reveal that both GPT models demonstrate less patience than humans,
with GPT-3.5 exhibiting a lexicographic preference for earlier rewards, unlike
human decision-makers. Though GPT-4 does not display lexicographic preferences,
its measured discount rates are still considerably larger than those found in
humans. Interestingly, GPT models show greater patience in languages with weak
future tense references, such as German and Mandarin, aligning with existing
literature that suggests a correlation between language structure and
intertemporal preferences. We demonstrate how prompting GPT to explain its
decisions, a procedure we term "chain-of-thought conjoint," can mitigate, but
does not eliminate, discrepancies between LLM and human responses. While
directly eliciting preferences using LLMs may yield misleading results,
combining chain-of-thought conjoint with topic modeling aids in hypothesis
generation, enabling researchers to explore the underpinnings of preferences.
Chain-of-thought conjoint provides a structured framework for marketers to use
LLMs to identify potential attributes or factors that can explain preference
heterogeneity across different customers and contexts. | cs.CL | Can LLMs Capture Human Preferences? |
2023-05-04T03:04:59Z | http://arxiv.org/pdf/2305.02519v1 | http://arxiv.org/abs/2305.02519v1 | Zhou Yu, Lixiang Zheng, Zhou Zhao, Fei Wu, Jianping Fan, Kui Ren, Jun Yu | 2023-05-04T03:04:59Z | cs.CV, cs.CL | Building benchmarks to systemically analyze different capabilities of video
question answering (VideoQA) models is challenging yet crucial. Existing
benchmarks often use non-compositional simple questions and suffer from
language biases, making it difficult to diagnose model weaknesses incisively. A
recent benchmark AGQA poses a promising paradigm to generate QA pairs
automatically from pre-annotated scene graphs, enabling it to measure diverse
reasoning abilities with granular control. However, its questions have
limitations in reasoning about the fine-grained semantics in videos as such
information is absent in its scene graphs. To this end, we present ANetQA, a
large-scale benchmark that supports fine-grained compositional reasoning over
the challenging untrimmed videos from ActivityNet. Similar to AGQA, the QA
pairs in ANetQA are automatically generated from annotated video scene graphs.
The fine-grained properties of ANetQA are reflected in the following: (i)
untrimmed videos with fine-grained semantics; (ii) spatio-temporal scene graphs
with fine-grained taxonomies; and (iii) diverse questions generated from
fine-grained templates. ANetQA attains 1.4 billion unbalanced and 13.4 million
balanced QA pairs, which is an order of magnitude larger than AGQA with a
similar number of videos. Comprehensive experiments are performed for
state-of-the-art methods. The best model achieves 44.5% accuracy while human
performance tops out at 84.5%, leaving sufficient room for improvement. | cs.CV | ANetQA: A Large-scale Benchmark for Fine-grained Compositional Reasoning over Untrimmed Videos |
2023-05-04T03:00:46Z | http://arxiv.org/pdf/2305.02517v1 | http://arxiv.org/abs/2305.02517v1 | Jun-Yu Ma, Jia-Chen Gu, Jiajun Qi, Zhen-Hua Ling, Quan Liu, Xiaoyi Zhao | 2023-05-04T03:00:46Z | cs.CL | This paper describes the system developed by the USTC-NELSLIP team for
SemEval-2023 Task 2 Multilingual Complex Named Entity Recognition (MultiCoNER
II). A method named Statistical Construction and Dual Adaptation of Gazetteer
(SCDAG) is proposed for Multilingual Complex NER. The method first utilizes a
statistics-based approach to construct a gazetteer. Secondly, the
representations of gazetteer networks and language models are adapted by
minimizing the KL divergence between them at both the sentence-level and
entity-level. Finally, these two networks are then integrated for supervised
named entity recognition (NER) training. The proposed method is applied to
XLM-R with a gazetteer built from Wikidata, and shows great generalization
ability across different tracks. Experimental results and detailed analysis
verify the effectiveness of the proposed method. The official results show that
our system ranked 1st on one track (Hindi) in this task. | cs.CL | USTC-NELSLIP at SemEval-2023 Task 2: Statistical Construction and Dual Adaptation of Gazetteer for Multilingual Complex NER |
2023-05-04T02:09:43Z | http://arxiv.org/pdf/2305.02499v1 | http://arxiv.org/abs/2305.02499v1 | Shujian Zhang, Chengyue Gong, Lemeng Wu, Xingchao Liu, Mingyuan Zhou | 2023-05-04T02:09:43Z | cs.CL, cs.AI, cs.CV, cs.LG, stat.ML | AI tasks encompass a wide range of domains and fields. While numerous AI
models have been designed for specific tasks and applications, they often
require considerable human efforts in finding the right model architecture,
optimization algorithm, and hyperparameters. Recent advances in large language
models (LLMs) like ChatGPT show remarkable capabilities in various aspects of
reasoning, comprehension, and interaction. Consequently, we propose developing
task-oriented prompts and automatically utilizing LLMs to automate the training
pipeline. To implement this concept, we present the AutoML-GPT, which employs
GPT as the bridge to diverse AI models and dynamically trains models with
optimized hyperparameters. AutoML-GPT dynamically takes user requests from the
model and data cards and composes the corresponding prompt paragraph.
Ultimately, with this prompt paragraph, AutoML-GPT will automatically conduct
the experiments from data processing to model architecture, hyperparameter
tuning, and predicted training log. By leveraging {\ours}'s robust language
capabilities and the available AI models, AutoML-GPT can tackle numerous
intricate AI tasks across various tasks and datasets. This approach achieves
remarkable results in computer vision, natural language processing, and other
challenging areas. Extensive experiments and ablation studies demonstrate that
our method can be general, effective, and beneficial for many AI tasks. | cs.CL | AutoML-GPT: Automatic Machine Learning with GPT |
2023-05-04T01:12:35Z | http://arxiv.org/pdf/2305.02483v2 | http://arxiv.org/abs/2305.02483v2 | Wen Xiao, Yujia Xie, Giuseppe Carenini, Pengcheng He | 2024-03-01T23:41:24Z | cs.CL | Tailoring outputs from large language models, like ChatGPT, to implicit user
preferences remains a challenge despite their impressive generative
capabilities. In this paper, we propose a tri-agent generation pipeline
comprising a generator, an instructor, and an editor to enhance output
personalization. The generator produces an initial output, the instructor
automatically generates editing instructions based on user preferences, and the
editor refines the output to align with those preferences. The inference-only
large language model (ChatGPT) serves as both the generator and editor, with a
smaller model acting as the instructor to guide output generation. We train the
instructor using editor-steered reinforcement learning, leveraging feedback
from a large-scale editor model to optimize instruction generation.
Experimental results on two abstractive summarization datasets demonstrate the
effectiveness of our approach in generating outputs that better meet user
expectations. Code is available at
\url{https://github.com/Wendy-Xiao/chatgpt_editing_summ} | cs.CL | Personalized Abstractive Summarization by Tri-agent Generation Pipeline |
2023-05-04T01:04:25Z | http://arxiv.org/pdf/2305.03518v2 | http://arxiv.org/abs/2305.03518v2 | Yuanhang Zheng, Zhixing Tan, Peng Li, Yang Liu | 2024-06-17T03:26:59Z | cs.CL, cs.AI | Black-box prompt tuning employs derivative-free optimization algorithms to
learn prompts within low-dimensional subspaces rather than back-propagating
through the network of Large Language Models (LLMs). Recent studies reveal that
black-box prompt tuning lacks versatility across tasks and LLMs, which we
believe is related to the suboptimal choice of subspaces. In this paper, we
introduce Black-box prompt tuning with Subspace Learning (BSL) to enhance the
versatility of black-box prompt tuning. Based on the assumption that nearly
optimal prompts for similar tasks reside in a common subspace, we propose
identifying such subspaces through meta-learning on a collection of similar
source tasks. Consequently, for a target task that shares similarities with the
source tasks, we expect that optimizing within the identified subspace can
yield a prompt that performs well on the target task. Experimental results
confirm that our BSL framework consistently achieves competitive performance
across various downstream tasks and LLMs. | cs.CL | Black-box Prompt Tuning with Subspace Learning |
2023-05-04T00:24:30Z | http://arxiv.org/pdf/2305.02471v1 | http://arxiv.org/abs/2305.02471v1 | Fatemeh Shiri, Teresa Wang, Shirui Pan, Xiaojun Chang, Yuan-Fang Li, Reza Haffari, Van Nguyen, Shuang Yu | 2023-05-04T00:24:30Z | cs.AI, cs.CL | International maritime crime is becoming increasingly sophisticated, often
associated with wider criminal networks. Detecting maritime threats by means of
fusing data purely related to physical movement (i.e., those generated by
physical sensors, or hard data) is not sufficient. This has led to research and
development efforts aimed at combining hard data with other types of data
(especially human-generated or soft data). Existing work often assumes that
input soft data is available in a structured format, or is focused on
extracting certain relevant entities or concepts to accompany or annotate hard
data. Much less attention has been given to extracting the rich knowledge about
the situations of interest implicitly embedded in the large amount of soft data
existing in unstructured formats (such as intelligence reports and news
articles). In order to exploit the potentially useful and rich information from
such sources, it is necessary to extract not only the relevant entities and
concepts but also their semantic relations, together with the uncertainty
associated with the extracted knowledge (i.e., in the form of probabilistic
knowledge graphs). This will increase the accuracy of and confidence in, the
extracted knowledge and facilitate subsequent reasoning and learning. To this
end, we propose Maritime DeepDive, an initial prototype for the automated
construction of probabilistic knowledge graphs from natural language data for
the maritime domain. In this paper, we report on the current implementation of
Maritime DeepDive, together with preliminary results on extracting
probabilistic events from maritime piracy incidents. This pipeline was
evaluated on a manually crafted gold standard, yielding promising results. | cs.AI | Toward the Automated Construction of Probabilistic Knowledge Graphs for the Maritime Domain |
2023-05-04T00:17:49Z | http://arxiv.org/pdf/2305.02468v3 | http://arxiv.org/abs/2305.02468v3 | Namo Bang, Jeehyun Lee, Myoung-Wan Koo | 2023-05-31T06:18:28Z | cs.CL | Task-Oriented Dialogue (TOD) systems are designed to carry out specific tasks
by tracking dialogue states and generating appropriate responses to help users
achieve defined goals. Recently, end-to-end dialogue models pre-trained based
on large datasets have shown promising performance in the conversational
system. However, they share the same parameters to train tasks of the dialogue
system (NLU, DST, NLG), so debugging each task is challenging. Also, they
require a lot of effort to fine-tune large parameters to create a task-oriented
chatbot, making it difficult for non-experts to handle. Therefore, we intend to
train relatively lightweight and fast models compared to PLM. In this paper, we
propose an End-to-end TOD system with Task-Optimized Adapters which learn
independently per task, adding only small number of parameters after fixed
layers of pre-trained network. We also enhance the performance of the DST and
NLG modules through reinforcement learning, overcoming the learning curve that
has lacked at the adapter learning and enabling the natural and consistent
response generation that is appropriate for the goal. Our method is a
model-agnostic approach and does not require prompt-tuning as only input data
without a prompt. As results of the experiment, our method shows competitive
performance on the MultiWOZ benchmark compared to the existing end-to-end
models. In particular, we attain state-of-the-art performance on the DST task
of 2.2 dataset. | cs.CL | Task-Optimized Adapters for an End-to-End Task-Oriented Dialogue System |
2023-05-04T00:12:52Z | http://arxiv.org/pdf/2305.02466v1 | http://arxiv.org/abs/2305.02466v1 | Ashish Sharma, Kevin Rushton, Inna Wanyin Lin, David Wadden, Khendra G. Lucas, Adam S. Miner, Theresa Nguyen, Tim Althoff | 2023-05-04T00:12:52Z | cs.CL, cs.HC, cs.SI | A proven therapeutic technique to overcome negative thoughts is to replace
them with a more hopeful "reframed thought." Although therapy can help people
practice and learn this Cognitive Reframing of Negative Thoughts, clinician
shortages and mental health stigma commonly limit people's access to therapy.
In this paper, we conduct a human-centered study of how language models may
assist people in reframing negative thoughts. Based on psychology literature,
we define a framework of seven linguistic attributes that can be used to
reframe a thought. We develop automated metrics to measure these attributes and
validate them with expert judgements from mental health practitioners. We
collect a dataset of 600 situations, thoughts and reframes from practitioners
and use it to train a retrieval-enhanced in-context learning model that
effectively generates reframed thoughts and controls their linguistic
attributes. To investigate what constitutes a "high-quality" reframe, we
conduct an IRB-approved randomized field study on a large mental health website
with over 2,000 participants. Amongst other findings, we show that people
prefer highly empathic or specific reframes, as opposed to reframes that are
overly positive. Our findings provide key implications for the use of LMs to
assist people in overcoming negative thoughts. | cs.CL | Cognitive Reframing of Negative Thoughts through Human-Language Model Interaction |
2023-05-04T00:10:57Z | http://arxiv.org/pdf/2305.03517v2 | http://arxiv.org/abs/2305.03517v2 | Farhad Moghimifar, Fatemeh Shiri, Van Nguyen, Reza Haffari, Yuan-Fang Li | 2023-06-05T00:58:41Z | cs.CL, cs.AI | Incorporating auxiliary modalities such as images into event detection models
has attracted increasing interest over the last few years. The complexity of
natural language in describing situations has motivated researchers to leverage
the related visual context to improve event detection performance. However,
current approaches in this area suffer from data scarcity, where a large amount
of labelled text-image pairs are required for model training. Furthermore,
limited access to the visual context at inference time negatively impacts the
performance of such models, which makes them practically ineffective in
real-world scenarios. In this paper, we present a novel domain-adaptive
visually-fused event detection approach that can be trained on a few labelled
image-text paired data points. Specifically, we introduce a visual imaginator
method that synthesises images from text in the absence of visual context.
Moreover, the imaginator can be customised to a specific domain. In doing so,
our model can leverage the capabilities of pre-trained vision-language models
and can be trained in a few-shot setting. This also allows for effective
inference where only single-modality data (i.e. text) is available. The
experimental evaluation on the benchmark M2E2 dataset shows that our model
outperforms existing state-of-the-art models, by up to 11 points. | cs.CL | Few-shot Domain-Adaptive Visually-fused Event Detection from Text |
2023-05-03T23:29:05Z | http://arxiv.org/pdf/2305.02459v2 | http://arxiv.org/abs/2305.02459v2 | Vasudha Varadarajan, Swanie Juhng, Syeda Mahwish, Xiaoran Liu, Jonah Luby, Christian Luhmann, H. Andrew Schwartz | 2023-05-05T00:56:19Z | cs.CL, cs.LG | While transformer-based systems have enabled greater accuracies with fewer
training examples, data acquisition obstacles still persist for rare-class
tasks -- when the class label is very infrequent (e.g. < 5% of samples). Active
learning has in general been proposed to alleviate such challenges, but choice
of selection strategy, the criteria by which rare-class examples are chosen,
has not been systematically evaluated. Further, transformers enable iterative
transfer-learning approaches. We propose and investigate transfer- and active
learning solutions to the rare class problem of dissonance detection through
utilizing models trained on closely related tasks and the evaluation of
acquisition strategies, including a proposed probability-of-rare-class (PRC)
approach. We perform these experiments for a specific rare class problem:
collecting language samples of cognitive dissonance from social media. We find
that PRC is a simple and effective strategy to guide annotations and ultimately
improve model accuracy while transfer-learning in a specific order can improve
the cold-start performance of the learner but does not benefit iterations of
active learning. | cs.CL | Transfer and Active Learning for Dissonance Detection: Addressing the Rare-Class Challenge |
2023-05-03T22:59:08Z | http://arxiv.org/pdf/2305.02457v1 | http://arxiv.org/abs/2305.02457v1 | Benjamin Shade, Eduardo G. Altmann | 2023-05-03T22:59:08Z | cs.CL, cond-mat.stat-mech, physics.soc-ph | Quantifying the dissimilarity of two texts is an important aspect of a number
of natural language processing tasks, including semantic information retrieval,
topic classification, and document clustering. In this paper, we compared the
properties and performance of different dissimilarity measures $D$ using three
different representations of texts -- vocabularies, word frequency
distributions, and vector embeddings -- and three simple tasks -- clustering
texts by author, subject, and time period. Using the Project Gutenberg
database, we found that the generalised Jensen--Shannon divergence applied to
word frequencies performed strongly across all tasks, that $D$'s based on
vector embedding representations led to stronger performance for smaller texts,
and that the optimal choice of approach was ultimately task-dependent. We also
investigated, both analytically and numerically, the behaviour of the different
$D$'s when the two texts varied in length by a factor $h$. We demonstrated that
the (natural) estimator of the Jaccard distance between vocabularies was
inconsistent and computed explicitly the $h$-dependency of the bias of the
estimator of the generalised Jensen--Shannon divergence applied to word
frequencies. We also found numerically that the Jensen--Shannon divergence and
embedding-based approaches were robust to changes in $h$, while the Jaccard
distance was not. | cs.CL | Quantifying the Dissimilarity of Texts |
2023-05-03T21:40:54Z | http://arxiv.org/pdf/2305.02437v3 | http://arxiv.org/abs/2305.02437v3 | Xin Cheng, Di Luo, Xiuying Chen, Lemao Liu, Dongyan Zhao, Rui Yan | 2023-12-23T11:11:01Z | cs.CL, cs.AI | With direct access to human-written reference as memory, retrieval-augmented
generation has achieved much progress in a wide range of text generation tasks.
Since better memory would typically prompt better generation~(we define this as
primal problem). The traditional approach for memory retrieval involves
selecting memory that exhibits the highest similarity to the input. However,
this method is constrained by the quality of the fixed corpus from which memory
is retrieved. In this paper, by exploring the duality of the primal problem:
better generation also prompts better memory, we propose a novel framework,
selfmem, which addresses this limitation by iteratively employing a
retrieval-augmented generator to create an unbounded memory pool and using a
memory selector to choose one output as memory for the subsequent generation
round. This enables the model to leverage its own output, referred to as
self-memory, for improved generation. We evaluate the effectiveness of selfmem
on three distinct text generation tasks: neural machine translation,
abstractive text summarization, and dialogue generation, under two generation
paradigms: fine-tuned small model and few-shot LLM. Our approach achieves
state-of-the-art results in four directions in JRC-Acquis, XSum (50.3 ROUGE-1),
and BigPatent (62.9 ROUGE-1), demonstrating the potential of self-memory in
enhancing retrieval-augmented generation models. Furthermore, we conduct
thorough analyses of each component in the selfmem framework to identify
bottlenecks and provide insights for future research. | cs.CL | Lift Yourself Up: Retrieval-augmented Text Generation with Self Memory |
2023-05-03T20:50:05Z | http://arxiv.org/pdf/2305.02426v1 | http://arxiv.org/abs/2305.02426v1 | Ali Mehrban, Pegah Ahadian | 2023-05-03T20:50:05Z | cs.CL | This paper discusses the impact of the Internet on modern trading and the
importance of data generated from these transactions for organizations to
improve their marketing efforts. The paper uses the example of Divar, an online
marketplace for buying and selling products and services in Iran, and presents
a competition to predict the percentage of a car sales ad that would be
published on the Divar website. Since the dataset provides a rich source of
Persian text data, the authors use the Hazm library, a Python library designed
for processing Persian text, and two state-of-the-art language models, mBERT
and ParsBERT, to analyze it. The paper's primary objective is to compare the
performance of mBERT and ParsBERT on the Divar dataset. The authors provide
some background on data mining, Persian language, and the two language models,
examine the dataset's composition and statistical features, and provide details
on their fine-tuning and training configurations for both approaches. They
present the results of their analysis and highlight the strengths and
weaknesses of the two language models when applied to Persian text data. The
paper offers valuable insights into the challenges and opportunities of working
with low-resource languages such as Persian and the potential of advanced
language models like BERT for analyzing such data. The paper also explains the
data mining process, including steps such as data cleaning and normalization
techniques. Finally, the paper discusses the types of machine learning
problems, such as supervised, unsupervised, and reinforcement learning, and the
pattern evaluation techniques, such as confusion matrix. Overall, the paper
provides an informative overview of the use of language models and data mining
techniques for analyzing text data in low-resource languages, using the example
of the Divar dataset. | cs.CL | evaluating bert and parsbert for analyzing persian advertisement data |
2023-05-03T20:31:13Z | http://arxiv.org/pdf/2305.02424v1 | http://arxiv.org/abs/2305.02424v1 | Lichang Chen, Minhao Cheng, Heng Huang | 2023-05-03T20:31:13Z | cs.CL | Backdoor learning has become an emerging research area towards building a
trustworthy machine learning system. While a lot of works have studied the
hidden danger of backdoor attacks in image or text classification, there is a
limited understanding of the model's robustness on backdoor attacks when the
output space is infinite and discrete. In this paper, we study a much more
challenging problem of testing whether sequence-to-sequence (seq2seq) models
are vulnerable to backdoor attacks. Specifically, we find by only injecting
0.2\% samples of the dataset, we can cause the seq2seq model to generate the
designated keyword and even the whole sentence. Furthermore, we utilize Byte
Pair Encoding (BPE) to create multiple new triggers, which brings new
challenges to backdoor detection since these backdoors are not static.
Extensive experiments on machine translation and text summarization have been
conducted to show our proposed methods could achieve over 90\% attack success
rate on multiple datasets and models. | cs.CL | Backdoor Learning on Sequence to Sequence Models |
2023-05-03T20:30:51Z | http://arxiv.org/pdf/2305.02423v1 | http://arxiv.org/abs/2305.02423v1 | Lichang Chen, Heng Huang, Minhao Cheng | 2023-05-03T20:30:51Z | cs.CL, cs.AI | Recent studies show that prompt tuning can better leverage the power of large
language models than fine-tuning on downstream natural language understanding
tasks. However, the existing prompt tuning methods have training instability
issues, as the variance of scores under different random seeds is quite large.
To address this critical problem, we first investigate and find that the loss
landscape of vanilla prompt tuning is precipitous when it is visualized, where
a slight change of input data can cause a big fluctuation in the loss
landscape. This is an essential factor that leads to the instability of prompt
tuning. Based on this observation, we introduce perturbation-based
regularizers, which can smooth the loss landscape, into prompt tuning. We
propose a new algorithm, called Prompt Tuning with Perturbation-based
regularizer~(PTP), which can not only alleviate training instability
dramatically but also boost the performance of prompt tuning. We design two
kinds of perturbation-based regularizers, including random-noise-based and
adversarial-based. In particular, our proposed perturbations are flexible on
both text space and embedding space. Extensive experiments show the
effectiveness of our proposed methods in stabilizing the training. Our new
algorithms improve the state-of-the-art prompt tuning methods by 1.94\% and
2.34\% on SuperGLUE and FewGLUE benchmarks, respectively. | cs.CL | PTP: Boosting Stability and Performance of Prompt Tuning with Perturbation-Based Regularizer |
2023-05-03T20:11:22Z | http://arxiv.org/pdf/2305.02412v2 | http://arxiv.org/abs/2305.02412v2 | Yue Wu, So Yeon Min, Yonatan Bisk, Ruslan Salakhutdinov, Amos Azaria, Yuanzhi Li, Tom Mitchell, Shrimai Prabhumoye | 2023-05-07T05:33:10Z | cs.CL, cs.AI, cs.LG | Pre-trained large language models (LLMs) capture procedural knowledge about
the world. Recent work has leveraged LLM's ability to generate abstract plans
to simplify challenging control tasks, either by action scoring, or action
modeling (fine-tuning). However, the transformer architecture inherits several
constraints that make it difficult for the LLM to directly serve as the agent:
e.g. limited input lengths, fine-tuning inefficiency, bias from pre-training,
and incompatibility with non-text environments. To maintain compatibility with
a low-level trainable actor, we propose to instead use the knowledge in LLMs to
simplify the control problem, rather than solving it. We propose the Plan,
Eliminate, and Track (PET) framework. The Plan module translates a task
description into a list of high-level sub-tasks. The Eliminate module masks out
irrelevant objects and receptacles from the observation for the current
sub-task. Finally, the Track module determines whether the agent has
accomplished each sub-task. On the AlfWorld instruction following benchmark,
the PET framework leads to a significant 15% improvement over SOTA for
generalization to human goal specifications. | cs.CL | Plan, Eliminate, and Track -- Language Models are Good Teachers for Embodied Agents |
2023-05-03T19:57:43Z | http://arxiv.org/pdf/2305.03513v2 | http://arxiv.org/abs/2305.03513v2 | Yucheng Shi, Hehuan Ma, Wenliang Zhong, Qiaoyu Tan, Gengchen Mai, Xiang Li, Tianming Liu, Junzhou Huang | 2023-09-19T14:26:17Z | cs.CL, cs.AI, cs.LG | ChatGPT, as a recently launched large language model (LLM), has shown
superior performance in various natural language processing (NLP) tasks.
However, two major limitations hinder its potential applications: (1) the
inflexibility of finetuning on downstream tasks and (2) the lack of
interpretability in the decision-making process. To tackle these limitations,
we propose a novel framework that leverages the power of ChatGPT for specific
tasks, such as text classification, while improving its interpretability. The
proposed framework conducts a knowledge graph extraction task to extract
refined and structural knowledge from the raw data using ChatGPT. The rich
knowledge is then converted into a graph, which is further used to train an
interpretable linear classifier to make predictions. To evaluate the
effectiveness of our proposed method, we conduct experiments on four datasets.
The result shows that our method can significantly improve the performance
compared to directly utilizing ChatGPT for text classification tasks. And our
method provides a more transparent decision-making process compared with
previous text classification methods. | cs.CL | ChatGraph: Interpretable Text Classification by Converting ChatGPT Knowledge to Graphs |
2023-05-03T19:29:26Z | http://arxiv.org/pdf/2305.02394v2 | http://arxiv.org/abs/2305.02394v2 | Jiazhao Li, Zhuofeng Wu, Wei Ping, Chaowei Xiao, V. G. Vinod Vydiswaran | 2023-08-07T03:07:59Z | cs.CL, cs.AI, cs.CR, cs.LG | Textual backdoor attack, as a novel attack model, has been shown to be
effective in adding a backdoor to the model during training. Defending against
such backdoor attacks has become urgent and important. In this paper, we
propose AttDef, an efficient attribution-based pipeline to defend against two
insertion-based poisoning attacks, BadNL and InSent. Specifically, we regard
the tokens with larger attribution scores as potential triggers since larger
attribution words contribute more to the false prediction results and therefore
are more likely to be poison triggers. Additionally, we further utilize an
external pre-trained language model to distinguish whether input is poisoned or
not. We show that our proposed method can generalize sufficiently well in two
common attack scenarios (poisoning training data and testing data), which
consistently improves previous methods. For instance, AttDef can successfully
mitigate both attacks with an average accuracy of 79.97% (56.59% up) and 48.34%
(3.99% up) under pre-training and post-training attack defense respectively,
achieving the new state-of-the-art performance on prediction recovery over four
benchmark datasets. | cs.CL | Defending against Insertion-based Textual Backdoor Attacks via Attribution |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.