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-09T17:13:53Z | http://arxiv.org/pdf/2305.05627v1 | http://arxiv.org/abs/2305.05627v1 | Yova Kementchedjhieva, Ilias Chalkidis | 2023-05-09T17:13:53Z | cs.CL | Standard methods for multi-label text classification largely rely on
encoder-only pre-trained language models, whereas encoder-decoder models have
proven more effective in other classification tasks. In this study, we compare
four methods for multi-label classification, two based on an encoder only, and
two based on an encoder-decoder. We carry out experiments on four datasets --
two in the legal domain and two in the biomedical domain, each with two levels
of label granularity -- and always depart from the same pre-trained model, T5.
Our results show that encoder-decoder methods outperform encoder-only methods,
with a growing advantage on more complex datasets and labeling schemes of finer
granularity. Using encoder-decoder models in a non-autoregressive fashion, in
particular, yields the best performance overall, so we further study this
approach through ablations to better understand its strengths. | cs.CL | An Exploration of Encoder-Decoder Approaches to Multi-Label Classification for Legal and Biomedical Text |
2023-05-09T17:06:06Z | http://arxiv.org/pdf/2305.06176v3 | http://arxiv.org/abs/2305.06176v3 | Zhang Ze Yu, Lau Jia Jaw, Zhang Hui, Bryan Kian Hsiang Low | 2024-03-05T05:18:54Z | cs.CL, cs.AI, cs.LG | Reinforcement Learning with Human Feedback (RLHF) has been demonstrated to
significantly enhance the performance of large language models (LLMs) by
aligning their outputs with desired human values through instruction tuning.
However, RLHF is constrained by the expertise and productivity limitations of
human evaluators. A response to this downside is to fall back to supervised
fine-tuning (SFT) with additional carefully selected expert demonstrations.
However, while this method has been proven to be effective, it invariably also
leads to increased human-in-the-loop overhead. In this study, we propose
another alternative approach: Reinforcement Learning with Generative
Adversarial Feedback (RLGAF) to RLHF and SFT, which uses a generative
adversarial training style to enable the LLMs to learn useful human expert
demonstrations without being directly exposed to the training examples, thus
enabling good generalization capabilities while preserving sample efficiency.
Our preliminary findings indicate that RLGAF can help align LLMs outputs with
competitive performance against RLHF and SFT, while not suffering from their
respective inherent restrictions, suggesting promising avenues for further
research on automating AI alignment. | cs.CL | Fine-tuning Language Models with Generative Adversarial Reward Modelling |
2023-05-09T16:58:32Z | http://arxiv.org/pdf/2305.05609v1 | http://arxiv.org/abs/2305.05609v1 | Timothy Poterucha, Pierre Elias, Christopher M. Haggerty | 2023-05-09T16:58:32Z | cs.CL, stat.AP | Background: Artificial intelligence language models have shown promise in
various applications, including assisting with clinical decision-making as
demonstrated by strong performance of large language models on medical
licensure exams. However, their ability to solve complex, open-ended cases,
which may be representative of clinical practice, remains unexplored. Methods:
In this study, the accuracy of large language AI models GPT4 and GPT3.5 in
diagnosing complex clinical cases was investigated using published Case Records
of the Massachusetts General Hospital. A total of 50 cases requiring a
diagnosis and diagnostic test published from January 1, 2022 to April 16, 2022
were identified. For each case, models were given a prompt requesting the top
three specific diagnoses and associated diagnostic tests, followed by case
text, labs, and figure legends. Model outputs were assessed in comparison to
the final clinical diagnosis and whether the model-predicted test would result
in a correct diagnosis. Results: GPT4 and GPT3.5 accurately provided the
correct diagnosis in 26% and 22% of cases in one attempt, and 46% and 42%
within three attempts, respectively. GPT4 and GPT3.5 provided a correct
essential diagnostic test in 28% and 24% of cases in one attempt, and 44% and
50% within three attempts, respectively. No significant differences were found
between the two models, and multiple trials with identical prompts using the
GPT3.5 model provided similar results. Conclusions: In summary, these models
demonstrate potential usefulness in generating differential diagnoses but
remain limited in their ability to provide a single unifying diagnosis in
complex, open-ended cases. Future research should focus on evaluating model
performance in larger datasets of open-ended clinical challenges and exploring
potential human-AI collaboration strategies to enhance clinical
decision-making. | cs.CL | The Case Records of ChatGPT: Language Models and Complex Clinical Questions |
2023-05-09T16:20:48Z | http://arxiv.org/pdf/2305.05588v2 | http://arxiv.org/abs/2305.05588v2 | Mattia Opper, Victor Prokhorov, N. Siddharth | 2023-10-25T15:30:59Z | cs.CL, cs.LG | This work presents StrAE: a Structured Autoencoder framework that through
strict adherence to explicit structure, and use of a novel contrastive
objective over tree-structured representations, enables effective learning of
multi-level representations. Through comparison over different forms of
structure, we verify that our results are directly attributable to the
informativeness of the structure provided as input, and show that this is not
the case for existing tree models. We then further extend StrAE to allow the
model to define its own compositions using a simple localised-merge algorithm.
This variant, called Self-StrAE, outperforms baselines that don't involve
explicit hierarchical compositions, and is comparable to models given
informative structure (e.g. constituency parses). Our experiments are conducted
in a data-constrained (circa 10M tokens) setting to help tease apart the
contribution of the inductive bias to effective learning. However, we find that
this framework can be robust to scale, and when extended to a much larger
dataset (circa 100M tokens), our 430 parameter model performs comparably to a
6-layer RoBERTa many orders of magnitude larger in size. Our findings support
the utility of incorporating explicit composition as an inductive bias for
effective representation learning. | cs.CL | StrAE: Autoencoding for Pre-Trained Embeddings using Explicit Structure |
2023-05-09T16:05:36Z | http://arxiv.org/pdf/2305.05576v1 | http://arxiv.org/abs/2305.05576v1 | Pratyush Kumar | 2023-05-09T16:05:36Z | cs.CY, cs.CL | Large Language Models (LLMs) have made rapid progress in recent months and
weeks, garnering significant public attention. This has sparked concerns about
aligning these models with human values, their impact on labor markets, and the
potential need for regulation in further research and development. However, the
discourse often lacks a focus on the imperative to widely diffuse the societal
benefits of LLMs. To qualify this societal benefit, we assert that LLMs exhibit
emergent abilities to humanize technology more effectively than previous
technologies, and for people across language, occupation, and accessibility
divides. We argue that they do so by addressing three mechanizing bottlenecks
in today's computing technologies: creating diverse and accessible content,
learning complex digital tools, and personalizing machine learning algorithms.
We adopt a case-based approach and illustrate each bottleneck with two examples
where current technology imposes bottlenecks that LLMs demonstrate the ability
to address. Given this opportunity to humanize technology widely, we advocate
for more widespread understanding of LLMs, tools and methods to simplify use of
LLMs, and cross-cutting institutional capacity. | cs.CY | Large Language Models Humanize Technology |
2023-05-09T14:47:25Z | http://arxiv.org/pdf/2305.05496v2 | http://arxiv.org/abs/2305.05496v2 | Chaoya Jiang, Rui Xie, Wei Ye, Jinan Sun, Shikun Zhang | 2024-02-24T04:23:25Z | cs.CL | Cross-modal contrastive learning in vision language pretraining (VLP) faces
the challenge of (partial) false negatives. In this paper, we study this
problem from the perspective of Mutual Information (MI) optimization. It is
common sense that InfoNCE loss used in contrastive learning will maximize the
lower bound of MI between anchors and their positives, while we theoretically
prove that MI involving negatives also matters when noises commonly exist.
Guided by a more general lower bound form for optimization, we propose a
contrastive learning strategy regulated by progressively refined cross-modal
similarity, to more accurately optimize MI between an image/text anchor and its
negative texts/images instead of improperly minimizing it. Our method performs
competitively on four downstream cross-modal tasks and systematically balances
the beneficial and harmful effects of (partial) false negative samples under
theoretical guidance. | cs.CL | Exploiting Pseudo Image Captions for Multimodal Summarization |
2023-05-09T14:36:04Z | http://arxiv.org/pdf/2305.05486v1 | http://arxiv.org/abs/2305.05486v1 | Piotr Rybak | 2023-05-09T14:36:04Z | cs.CL | Recently, open-domain question answering systems have begun to rely heavily
on annotated datasets to train neural passage retrievers. However, manually
annotating such datasets is both difficult and time-consuming, which limits
their availability for less popular languages. In this work, we experiment with
several methods for automatically collecting weakly labeled datasets and show
how they affect the performance of the neural passage retrieval models. As a
result of our work, we publish the MAUPQA dataset, consisting of nearly 400,000
question-passage pairs for Polish, as well as the HerBERT-QA neural retriever. | cs.CL | MAUPQA: Massive Automatically-created Polish Question Answering Dataset |
2023-05-09T14:30:29Z | http://arxiv.org/pdf/2305.05480v3 | http://arxiv.org/abs/2305.05480v3 | Jue Hou, Anisia Katinskaia, Anh-Duc Vu, Roman Yangarber | 2023-10-26T20:36:36Z | cs.CL, cs.AI, cs.LG | Language modeling is a fundamental task in natural language processing, which
has been thoroughly explored with various architectures and hyperparameters.
However, few studies focus on the effect of sub-word segmentation on the
performance of language models (LMs). In this paper, we compare GPT and BERT
models trained with the statistical segmentation algorithm BPE vs. two
unsupervised algorithms for morphological segmentation -- Morfessor and
StateMorph. We train the models for several languages -- including ones with
very rich morphology -- and compare their performance with different
segmentation algorithms, vocabulary sizes, and model sizes. The results show
that training with morphological segmentation allows the LMs to: 1. achieve
lower perplexity, 2. converge more efficiently in terms of training time, and
3. achieve equivalent or better evaluation scores on downstream tasks. Lastly,
we show 4. that LMs of smaller size using morphological segmentation can
perform comparably to models of larger size trained with BPE -- both in terms
of (1) perplexity and (3) scores on downstream tasks. Points (2) and (4) impact
on sustainability of LMs, since they reduce the model cost: size and
computation time. While (2) reduces cost only in the training phase, (4) does
so also in the inference phase. | cs.CL | Effects of sub-word segmentation on performance of transformer language models |
2023-05-09T14:21:29Z | http://arxiv.org/pdf/2305.05474v1 | http://arxiv.org/abs/2305.05474v1 | Aleksandra Chrabrowa, Tsimur Hadeliya, Dariusz Kajtoch, Robert Mroczkowski, Piotr Rybak | 2023-05-09T14:21:29Z | cs.CL, cs.LG | Novel intent discovery automates the process of grouping similar messages
(questions) to identify previously unknown intents. However, current research
focuses on publicly available datasets which have only the question field and
significantly differ from real-life datasets. This paper proposes methods to
improve the intent discovery pipeline deployed in a large e-commerce platform.
We show the benefit of pre-training language models on in-domain data: both
self-supervised and with weak supervision. We also devise the best method to
utilize the conversational structure (i.e., question and answer) of real-life
datasets during fine-tuning for clustering tasks, which we call Conv. All our
methods combined to fully utilize real-life datasets give up to 33pp
performance boost over state-of-the-art Constrained Deep Adaptive Clustering
(CDAC) model for question only. By comparison CDAC model for the question data
only gives only up to 13pp performance boost over the naive baseline. | cs.CL | Going beyond research datasets: Novel intent discovery in the industry setting |
2023-05-09T14:16:25Z | http://arxiv.org/pdf/2305.05471v3 | http://arxiv.org/abs/2305.05471v3 | Fernando Gonzalez, Zhijing Jin, Bernhard Schölkopf, Tom Hope, Mrinmaya Sachan, Rada Mihalcea | 2023-10-21T13:41:57Z | cs.CL | With the recent advances in natural language processing (NLP), a vast number
of applications have emerged across various use cases. Among the plethora of
NLP applications, many academic researchers are motivated to do work that has a
positive social impact, in line with the recent initiatives of NLP for Social
Good (NLP4SG). However, it is not always obvious to researchers how their
research efforts are tackling today's big social problems. Thus, in this paper,
we introduce NLP4SG Papers, a scientific dataset with three associated tasks
that can help identify NLP4SG papers and characterize the NLP4SG landscape by:
(1) identifying the papers that address a social problem, (2) mapping them to
the corresponding UN Sustainable Development Goals (SDGs), and (3) identifying
the task they are solving and the methods they are using. Using
state-of-the-art NLP models, we address each of these tasks and use them on the
entire ACL Anthology, resulting in a visualization workspace that gives
researchers a comprehensive overview of the field of NLP4SG. Our website is
available at https://nlp4sg.vercel.app. We released our data at
https://huggingface.co/datasets/feradauto/NLP4SGPapers and code at
https://github.com/feradauto/nlp4sg | cs.CL | Beyond Good Intentions: Reporting the Research Landscape of NLP for Social Good |
2023-05-09T14:00:15Z | http://arxiv.org/pdf/2305.05461v1 | http://arxiv.org/abs/2305.05461v1 | Kris Cao | 2023-05-09T14:00:15Z | cs.CL | This paper aims to benchmark recent progress in language understanding models
that output contextualised representations at the character level. Many such
modelling architectures and methods to train those architectures have been
proposed, but it is currently unclear what the relative contributions of the
architecture vs. the pretraining objective are to final model performance. We
explore the design space of such models, comparing architectural innovations
and a variety of different pretraining objectives on a suite of evaluation
tasks with a fixed training procedure in order to find the currently optimal
way to build and train character-level BERT-like models. We find that our best
performing character-level model exceeds the performance of a token-based model
trained with the same settings on the same data, suggesting that
character-level models are ready for more widespread adoption. Unfortunately,
the best method to train character-level models still relies on a subword-level
tokeniser during pretraining, and final model performance is highly dependent
on tokeniser quality. We believe our results demonstrate the readiness of
character-level models for multilingual language representation, and encourage
NLP practitioners to try them as drop-in replacements for token-based models. | cs.CL | What is the best recipe for character-level encoder-only modelling? |
2023-05-09T13:20:59Z | http://arxiv.org/pdf/2305.05432v1 | http://arxiv.org/abs/2305.05432v1 | Andrea Burns, Krishna Srinivasan, Joshua Ainslie, Geoff Brown, Bryan A. Plummer, Kate Saenko, Jianmo Ni, Mandy Guo | 2023-05-09T13:20:59Z | cs.CL, cs.CV | Webpages have been a rich resource for language and vision-language tasks.
Yet only pieces of webpages are kept: image-caption pairs, long text articles,
or raw HTML, never all in one place. Webpage tasks have resultingly received
little attention and structured image-text data underused. To study multimodal
webpage understanding, we introduce the Wikipedia Webpage 2M (WikiWeb2M) suite;
the first to retain the full set of images, text, and structure data available
in a page. WikiWeb2M can be used for tasks like page description generation,
section summarization, and contextual image captioning. | cs.CL | WikiWeb2M: A Page-Level Multimodal Wikipedia Dataset |
2023-05-09T13:13:26Z | http://arxiv.org/pdf/2305.05420v1 | http://arxiv.org/abs/2305.05420v1 | Vrunda Gadesha, Keyur D Joshi, Shefali Naik | 2023-05-09T13:13:26Z | cs.CL | 'Mahabharata' is the most popular among many Indian pieces of literature
referred to in many domains for completely different purposes. This text itself
is having various dimension and aspects which is useful for the human being in
their personal life and professional life. This Indian Epic is originally
written in the Sanskrit Language. Now in the era of Natural Language
Processing, Artificial Intelligence, Machine Learning, and Human-Computer
interaction this text can be processed according to the domain requirement. It
is interesting to process this text and get useful insights from Mahabharata.
The limitation of the humans while analyzing Mahabharata is that they always
have a sentiment aspect towards the story narrated by the author. Apart from
that, the human cannot memorize statistical or computational details, like
which two words are frequently coming in one sentence? What is the average
length of the sentences across the whole literature? Which word is the most
popular word across the text, what are the lemmas of the words used across the
sentences? Thus, in this paper, we propose an NLP pipeline to get some
statistical and computational insights along with the most relevant word
searching method from the largest epic 'Mahabharata'. We stacked the different
text-processing approaches to articulate the best results which can be further
used in the various domain where Mahabharata needs to be referred. | cs.CL | Estimating related words computationally using language model from the Mahabharata -- an Indian epic |
2023-05-09T13:10:23Z | http://arxiv.org/pdf/2305.06166v2 | http://arxiv.org/abs/2305.06166v2 | Charmaine Barker, Dimitar Kazakov | 2023-06-01T09:45:30Z | cs.CL | The presence of specific linguistic signals particular to a certain sub-group
of people can be picked up by language models during training. If the model
begins to associate specific language with a distinct group, any decisions made
based upon this language would hold a strong correlation to a decision based
upon their protected characteristic, leading to possible discrimination. We
explore a potential technique for bias mitigation in the form of simplification
of text. The driving force of this idea is that simplifying text should
standardise language between different sub-groups to one way of speaking while
keeping the same meaning. The experiment shows promising results as the
classifier accuracy for predicting the sensitive attribute drops by up to 17%
for the simplified data. | cs.CL | ChatGPT as a Text Simplification Tool to Remove Bias |
2023-05-09T12:57:28Z | http://arxiv.org/pdf/2305.05410v2 | http://arxiv.org/abs/2305.05410v2 | Yixuan Weng, Bin Li, Fei Xia, Minjun Zhu, Bin Sun, Shizhu He, Kang Liu, Jun Zhao | 2023-05-10T13:40:11Z | cs.CL | The medical conversational question answering (CQA) system aims at providing
a series of professional medical services to improve the efficiency of medical
care. Despite the success of large language models (LLMs) in complex reasoning
tasks in various fields, such as mathematics, logic, and commonsense QA, they
still need to improve with the increased complexity and specialization of the
medical field. This is because medical CQA tasks require not only strong
medical reasoning, but also the ability to think broadly and deeply. In this
paper, to address these challenges in medical CQA tasks that need to be
considered and understood in many aspects, we propose the Holistically Thought
(HoT) method, which is designed to guide the LLMs to perform the diffused and
focused thinking for generating high-quality medical responses. The proposed
HoT method has been evaluated through automated and manual assessments in three
different medical CQA datasets containing the English and Chinese languages.
The extensive experimental results show that our method can produce more
correctness, professional, and considerate answers than several
state-of-the-art (SOTA) methods, manifesting its effectiveness. Our code in
https://github.com/WENGSYX/HoT. | cs.CL | Large Language Models Need Holistically Thought in Medical Conversational QA |
2023-05-09T12:50:16Z | http://arxiv.org/pdf/2305.05403v2 | http://arxiv.org/abs/2305.05403v2 | Simon Razniewski, Hiba Arnaout, Shrestha Ghosh, Fabian Suchanek | 2023-12-06T12:48:06Z | cs.AI, cs.CL, cs.DB, cs.DL | General-purpose knowledge bases (KBs) are a cornerstone of knowledge-centric
AI. Many of them are constructed pragmatically from Web sources, and are thus
far from complete. This poses challenges for the consumption as well as the
curation of their content. While several surveys target the problem of
completing incomplete KBs, the first problem is arguably to know whether and
where the KB is incomplete in the first place, and to which degree.
In this survey we discuss how knowledge about completeness, recall, and
negation in KBs can be expressed, extracted, and inferred. We cover (i) the
logical foundations of knowledge representation and querying under partial
closed-world semantics; (ii) the estimation of this information via statistical
patterns; (iii) the extraction of information about recall from KBs and text;
(iv) the identification of interesting negative statements; and (v) relaxed
notions of relative recall.
This survey is targeted at two types of audiences: (1) practitioners who are
interested in tracking KB quality, focusing extraction efforts, and building
quality-aware downstream applications; and (2) data management, knowledge base
and semantic web researchers who wish to understand the state of the art of
knowledge bases beyond the open-world assumption. Consequently, our survey
presents both fundamental methodologies and their working, and gives
practice-oriented recommendations on how to choose between different approaches
for a problem at hand. | cs.AI | Completeness, Recall, and Negation in Open-World Knowledge Bases: A Survey |
2023-05-09T12:47:28Z | http://arxiv.org/pdf/2305.05402v2 | http://arxiv.org/abs/2305.05402v2 | Guy Horowitz, Stav Yanovsky Daye, Noa Avigdor-Elgrabli, Ariel Raviv | 2023-05-30T08:47:25Z | cs.LG, cs.CL, cs.IR | The categorization of massive e-Commerce data is a crucial, well-studied
task, which is prevalent in industrial settings. In this work, we aim to
improve an existing product categorization model that is already in use by a
major web company, serving multiple applications. At its core, the product
categorization model is a text classification model that takes a product title
as an input and outputs the most suitable category out of thousands of
available candidates. Upon a closer inspection, we found inconsistencies in the
labeling of similar items. For example, minor modifications of the product
title pertaining to colors or measurements majorly impacted the model's output.
This phenomenon can negatively affect downstream recommendation or search
applications, leading to a sub-optimal user experience.
To address this issue, we propose a new framework for consistent text
categorization. Our goal is to improve the model's consistency while
maintaining its production-level performance. We use a semi-supervised approach
for data augmentation and presents two different methods for utilizing
unlabeled samples. One method relies directly on existing catalogs, while the
other uses a generative model. We compare the pros and cons of each approach
and present our experimental results. | cs.LG | Consistent Text Categorization using Data Augmentation in e-Commerce |
2023-05-09T12:40:19Z | http://arxiv.org/pdf/2305.05393v1 | http://arxiv.org/abs/2305.05393v1 | Yixiao Ma, Yueyue Wu, Weihang Su, Qingyao Ai, Yiqun Liu | 2023-05-09T12:40:19Z | cs.IR, cs.CL | Legal case retrieval is a critical process for modern legal information
systems. While recent studies have utilized pre-trained language models (PLMs)
based on the general domain self-supervised pre-training paradigm to build
models for legal case retrieval, there are limitations in using general domain
PLMs as backbones. Specifically, these models may not fully capture the
underlying legal features in legal case documents. To address this issue, we
propose CaseEncoder, a legal document encoder that leverages fine-grained legal
knowledge in both the data sampling and pre-training phases. In the data
sampling phase, we enhance the quality of the training data by utilizing
fine-grained law article information to guide the selection of positive and
negative examples. In the pre-training phase, we design legal-specific
pre-training tasks that align with the judging criteria of relevant legal
cases. Based on these tasks, we introduce an innovative loss function called
Biased Circle Loss to enhance the model's ability to recognize case relevance
in fine grains. Experimental results on multiple benchmarks demonstrate that
CaseEncoder significantly outperforms both existing general pre-training models
and legal-specific pre-training models in zero-shot legal case retrieval. | cs.IR | CaseEncoder: A Knowledge-enhanced Pre-trained Model for Legal Case Encoding |
2023-05-09T12:36:58Z | http://arxiv.org/pdf/2305.05390v2 | http://arxiv.org/abs/2305.05390v2 | Jincenzi Wu, Zhuang Chen, Jiawen Deng, Sahand Sabour, Helen Meng, Minlie Huang | 2024-05-18T10:25:41Z | cs.CL | Theory of mind (ToM) refers to humans' ability to understand and infer the
desires, beliefs, and intentions of others. The acquisition of ToM plays a key
role in humans' social cognition and interpersonal relations. Though
indispensable for social intelligence, ToM is still lacking for modern AI and
NLP systems since they cannot access the human mental state and cognitive
process beneath the training corpus. To empower AI systems with the ToM ability
and narrow the gap between them and humans, in this paper, we propose COKE: the
first cognitive knowledge graph for machine theory of mind. Specifically, COKE
formalizes ToM as a collection of 45k+ manually verified cognitive chains that
characterize human mental activities and subsequent behavioral/affective
responses when facing specific social circumstances. In addition, we further
generalize COKE using LLMs and build a powerful generation model COLM tailored
for cognitive reasoning. Experimental results in both automatic and human
evaluation demonstrate the high quality of COKE, the superior ToM ability of
COLM, and its potential to significantly enhance social applications. | cs.CL | COKE: A Cognitive Knowledge Graph for Machine Theory of Mind |
2023-05-09T12:19:10Z | http://arxiv.org/pdf/2305.05378v1 | http://arxiv.org/abs/2305.05378v1 | Qiwei Lang, Jingbo Zhou, Haoyi Wang, Shiqi Lyu, Rui Zhang | 2023-05-09T12:19:10Z | cs.CL | The number of web pages is growing at an exponential rate, accumulating
massive amounts of data on the web. It is one of the key processes to classify
webpages in web information mining. Some classical methods are based on
manually building features of web pages and training classifiers based on
machine learning or deep learning. However, building features manually requires
specific domain knowledge and usually takes a long time to validate the
validity of features. Considering webpages generated by the combination of text
and HTML Document Object Model(DOM) trees, we propose a representation and
classification method based on a pre-trained language model and graph neural
network, named PLM-GNN. It is based on the joint encoding of text and HTML DOM
trees in the web pages. It performs well on the KI-04 and SWDE datasets and on
practical dataset AHS for the project of scholar's homepage crawling. | cs.CL | PLM-GNN: A Webpage Classification Method based on Joint Pre-trained Language Model and Graph Neural Network |
2023-05-09T11:55:36Z | http://arxiv.org/pdf/2305.05364v1 | http://arxiv.org/abs/2305.05364v1 | Imanol Schlag, Sainbayar Sukhbaatar, Asli Celikyilmaz, Wen-tau Yih, Jason Weston, Jürgen Schmidhuber, Xian Li | 2023-05-09T11:55:36Z | cs.LG, cs.AI, cs.CL | In recent years, large pre-trained language models (LLMs) have demonstrated
the ability to follow instructions and perform novel tasks from a few examples.
The possibility to parameterise an LLM through such in-context examples widens
their capability at a much lower cost than finetuning. We extend this line of
reasoning and present a method which further expands the capabilities of an LLM
by embedding it within an algorithm or program. To demonstrate the benefits of
this approach, we present an illustrative example of evidence-supported
question-answering. We obtain a 6.4\% improvement over the chain of thought
baseline through a more algorithmic approach without any finetuning.
Furthermore, we highlight recent work from this perspective and discuss the
advantages and disadvantages in comparison to the standard approaches. | cs.LG | Large Language Model Programs |
2023-05-09T11:37:16Z | http://arxiv.org/pdf/2305.05352v6 | http://arxiv.org/abs/2305.05352v6 | Qinghua Lu, Liming Zhu, Xiwei Xu, Yue Liu, Zhenchang Xing, Jon Whittle | 2024-01-22T04:15:13Z | cs.SE, cs.AI, cs.CL | The recent release of large language model (LLM) based chatbots, such as
ChatGPT, has attracted huge interest in foundation models. It is widely
believed that foundation models will serve as the fundamental building blocks
for future AI systems. As foundation models are in their early stages, the
design of foundation model based systems has not yet been systematically
explored. There is limited understanding about the impact of introducing
foundation models in software architecture. Therefore, in this paper, we
propose a taxonomy of foundation model based systems, which classifies and
compares the characteristics of foundation models and design options of
foundation model based systems. Our taxonomy comprises three categories: the
pretraining and adaptation of foundation models, the architecture design of
foundation model based systems, and responsible-AI-by-design. This taxonomy can
serve as concrete guidance for making major architectural design decisions when
designing foundation model based systems and highlights trade-offs arising from
design decisions. | cs.SE | A Taxonomy of Foundation Model based Systems through the Lens of Software Architecture |
2023-05-09T11:00:02Z | http://arxiv.org/pdf/2305.06154v1 | http://arxiv.org/abs/2305.06154v1 | Nuo Chen, Linjun Shou, Ming Gong, Jian Pei, Bowen Cao, Jianhui Chang, Daxin Jiang, Jia Li | 2023-05-09T11:00:02Z | cs.CL | Currently, learning better unsupervised sentence representations is the
pursuit of many natural language processing communities. Lots of approaches
based on pre-trained language models (PLMs) and contrastive learning have
achieved promising results on this task. Experimentally, we observe that the
over-smoothing problem reduces the capacity of these powerful PLMs, leading to
sub-optimal sentence representations. In this paper, we present a Simple method
named Self-Contrastive Learning (SSCL) to alleviate this issue, which samples
negatives from PLMs intermediate layers, improving the quality of the sentence
representation. Our proposed method is quite simple and can be easily extended
to various state-of-the-art models for performance boosting, which can be seen
as a plug-and-play contrastive framework for learning unsupervised sentence
representation. Extensive results prove that SSCL brings the superior
performance improvements of different strong baselines (e.g., BERT and SimCSE)
on Semantic Textual Similarity and Transfer datasets. Our codes are available
at https://github.com/nuochenpku/SSCL. | cs.CL | Alleviating Over-smoothing for Unsupervised Sentence Representation |
2023-05-09T10:54:34Z | http://arxiv.org/pdf/2305.05335v1 | http://arxiv.org/abs/2305.05335v1 | Sougata Saha, Rohini Srihari | 2023-05-09T10:54:34Z | cs.CL | The subtle human values we acquire through life experiences govern our
thoughts and gets reflected in our speech. It plays an integral part in
capturing the essence of our individuality and making it imperative to identify
such values in computational systems that mimic human actions. Computational
argumentation is a field that deals with the argumentation capabilities of
humans and can benefit from identifying such values. Motivated by that, we
present an ensemble approach for detecting human values from argument text. Our
ensemble comprises three models: (i) An entailment-based model for determining
the human values based on their descriptions, (ii) A Roberta-based classifier
that predicts the set of human values from an argument. (iii) A Roberta-based
classifier to predict a reduced set of human values from an argument. We
experiment with different ways of combining the models and report our results.
Furthermore, our best combination achieves an overall F1 score of 0.48 on the
main test set. | cs.CL | Rudolf Christoph Eucken at SemEval-2023 Task 4: An Ensemble Approach for Identifying Human Values from Arguments |
2023-05-09T10:49:45Z | http://arxiv.org/pdf/2305.05334v1 | http://arxiv.org/abs/2305.05334v1 | Sougata Saha, Rohini Srihari | 2023-05-09T10:49:45Z | cs.CL | Effective argumentation is essential towards a purposeful conversation with a
satisfactory outcome. For example, persuading someone to reconsider smoking
might involve empathetic, well founded arguments based on facts and expert
opinions about its ill-effects and the consequences on one's family. However,
the automatic generation of high-quality factual arguments can be challenging.
Addressing existing controllability issues can make the recent advances in
computational models for argument generation a potential solution. In this
paper, we introduce ArgU: a neural argument generator capable of producing
factual arguments from input facts and real-world concepts that can be
explicitly controlled for stance and argument structure using Walton's argument
scheme-based control codes. Unfortunately, computational argument generation is
a relatively new field and lacks datasets conducive to training. Hence, we have
compiled and released an annotated corpora of 69,428 arguments spanning six
topics and six argument schemes, making it the largest publicly available
corpus for identifying argument schemes; the paper details our annotation and
dataset creation framework. We further experiment with an argument generation
strategy that establishes an inference strategy by generating an ``argument
template'' before actual argument generation. Our results demonstrate that it
is possible to automatically generate diverse arguments exhibiting different
inference patterns for the same set of facts by using control codes based on
argument schemes and stance. | cs.CL | ArgU: A Controllable Factual Argument Generator |
2023-05-09T10:38:36Z | http://arxiv.org/pdf/2305.05331v2 | http://arxiv.org/abs/2305.05331v2 | Hanqi Yan, Lin Gui, Menghan Wang, Kun Zhang, Yulan He | 2024-01-05T22:02:25Z | cs.IR, cs.CL | Explainable recommender systems can explain their recommendation decisions,
enhancing user trust in the systems. Most explainable recommender systems
either rely on human-annotated rationales to train models for explanation
generation or leverage the attention mechanism to extract important text spans
from reviews as explanations. The extracted rationales are often confined to an
individual review and may fail to identify the implicit features beyond the
review text. To avoid the expensive human annotation process and to generate
explanations beyond individual reviews, we propose to incorporate a geometric
prior learnt from user-item interactions into a variational network which
infers latent factors from user-item reviews. The latent factors from an
individual user-item pair can be used for both recommendation and explanation
generation, which naturally inherit the global characteristics encoded in the
prior knowledge. Experimental results on three e-commerce datasets show that
our model significantly improves the interpretability of a variational
recommender using the Wasserstein distance while achieving performance
comparable to existing content-based recommender systems in terms of
recommendation behaviours. | cs.IR | Explainable Recommender with Geometric Information Bottleneck |
2023-05-09T10:21:14Z | http://arxiv.org/pdf/2305.05325v1 | http://arxiv.org/abs/2305.05325v1 | Ilija Tavchioski, Marko Robnik-Šikonja, Senja Pollak | 2023-05-09T10:21:14Z | cs.CL, cs.AI | As the impact of technology on our lives is increasing, we witness increased
use of social media that became an essential tool not only for communication
but also for sharing information with community about our thoughts and
feelings. This can be observed also for people with mental health disorders
such as depression where they use social media for expressing their thoughts
and asking for help. This opens a possibility to automatically process social
media posts and detect signs of depression. We build several large pre-trained
language model based classifiers for depression detection from social media
posts. Besides fine-tuning BERT, RoBERTA, BERTweet, and mentalBERT were also
construct two types of ensembles. We analyze the performance of our models on
two data sets of posts from social platforms Reddit and Twitter, and
investigate also the performance of transfer learning across the two data sets.
The results show that transformer ensembles improve over the single
transformer-based classifiers. | cs.CL | Detection of depression on social networks using transformers and ensembles |
2023-05-09T10:03:34Z | http://arxiv.org/pdf/2305.05311v1 | http://arxiv.org/abs/2305.05311v1 | Daniel Fernández-González | 2023-05-09T10:03:34Z | cs.CL, cs.AI, 68T50, I.2.7 | Structured sentiment analysis (SSA) aims to automatically extract people's
opinions from a text in natural language and adequately represent that
information in a graph structure. One of the most accurate methods for
performing SSA was recently proposed and consists of approaching it as a
dependency parsing task. Although we can find in the literature how
transition-based algorithms excel in dependency parsing in terms of accuracy
and efficiency, all proposed attempts to tackle SSA following that approach
were based on graph-based models. In this article, we present the first
transition-based method to address SSA as dependency parsing. Specifically, we
design a transition system that processes the input text in a left-to-right
pass, incrementally generating the graph structure containing all identified
opinions. To effectively implement our final transition-based model, we resort
to a Pointer Network architecture as a backbone. From an extensive evaluation,
we demonstrate that our model offers the best performance to date in
practically all cases among prior dependency-based methods, and surpass recent
task-specific techniques on the most challenging datasets. We additionally
include an in-depth analysis and empirically prove that the overall
time-complexity cost of our approach is quadratic in the sentence length, being
more efficient than top-performing graph-based parsers. | cs.CL | Structured Sentiment Analysis as Transition-based Dependency Parsing |
2023-05-09T09:45:44Z | http://arxiv.org/pdf/2305.05302v1 | http://arxiv.org/abs/2305.05302v1 | Eliya Habba, Renana Keydar, Dan Bareket, Gabriel Stanovsky | 2023-05-09T09:45:44Z | cs.CL | We develop computational models to analyze court statements in order to
assess judicial attitudes toward victims of sexual violence in the Israeli
court system. The study examines the resonance of "rape myths" in the criminal
justice system's response to sex crimes, in particular in judicial assessment
of victim's credibility. We begin by formulating an ontology for evaluating
judicial attitudes toward victim's credibility, with eight ordinal labels and
binary categorizations. Second, we curate a manually annotated dataset for
judicial assessments of victim's credibility in the Hebrew language, as well as
a model that can extract credibility labels from court cases. The dataset
consists of 855 verdict decision documents in sexual assault cases from
1990-2021, annotated with the help of legal experts and trained law students.
The model uses a combined approach of syntactic and latent structures to find
sentences that convey the judge's attitude towards the victim and classify them
according to the credibility label set. Our ontology, data, and models will be
made available upon request, in the hope they spur future progress in this
judicial important task. | cs.CL | The Perfect Victim: Computational Analysis of Judicial Attitudes towards Victims of Sexual Violence |
2023-05-09T09:35:03Z | http://arxiv.org/pdf/2305.06156v2 | http://arxiv.org/abs/2305.06156v2 | Dung Nguyen Manh, Nam Le Hai, Anh T. V. Dau, Anh Minh Nguyen, Khanh Nghiem, Jin Guo, Nghi D. Q. Bui | 2023-10-30T11:05:38Z | cs.CL, cs.AI, cs.PL, cs.SE | We present The Vault, a dataset of high-quality code-text pairs in multiple
programming languages for training large language models to understand and
generate code. We present methods for thoroughly extracting samples that use
both rule-based and deep learning-based methods to ensure that they contain
high-quality pairs of code and text, resulting in a dataset of 43 million
high-quality code-text pairs. Our extensive evaluations on common coding tasks
including code generation, code search and code summarization show that when
fine-tuning Code Large Language Models on The Vault, such models outperform the
same models trained on other datasets such as CodeSearchNet. We also provide
detailed analyses of our datasets to assess the effects of various programming
languages and docstrings on the performance of such models. | cs.CL | The Vault: A Comprehensive Multilingual Dataset for Advancing Code Understanding and Generation |
2023-05-09T09:32:19Z | http://arxiv.org/pdf/2305.05295v2 | http://arxiv.org/abs/2305.05295v2 | Robert Litschko, Ekaterina Artemova, Barbara Plank | 2023-05-26T13:16:42Z | cs.CL, cs.IR | Transferring information retrieval (IR) models from a high-resource language
(typically English) to other languages in a zero-shot fashion has become a
widely adopted approach. In this work, we show that the effectiveness of
zero-shot rankers diminishes when queries and documents are present in
different languages. Motivated by this, we propose to train ranking models on
artificially code-switched data instead, which we generate by utilizing
bilingual lexicons. To this end, we experiment with lexicons induced from (1)
cross-lingual word embeddings and (2) parallel Wikipedia page titles. We use
the mMARCO dataset to extensively evaluate reranking models on 36 language
pairs spanning Monolingual IR (MoIR), Cross-lingual IR (CLIR), and Multilingual
IR (MLIR). Our results show that code-switching can yield consistent and
substantial gains of 5.1 MRR@10 in CLIR and 3.9 MRR@10 in MLIR, while
maintaining stable performance in MoIR. Encouragingly, the gains are especially
pronounced for distant languages (up to 2x absolute gain). We further show that
our approach is robust towards the ratio of code-switched tokens and also
extends to unseen languages. Our results demonstrate that training on
code-switched data is a cheap and effective way of generalizing zero-shot
rankers for cross-lingual and multilingual retrieval. | cs.CL | Boosting Zero-shot Cross-lingual Retrieval by Training on Artificially Code-Switched Data |
2023-05-09T09:28:23Z | http://arxiv.org/pdf/2305.05290v1 | http://arxiv.org/abs/2305.05290v1 | Jian Wang, Dongding Lin, Wenjie Li | 2023-05-09T09:28:23Z | cs.CL, cs.LG | Goal-directed dialogue systems aim to proactively reach a pre-determined
target through multi-turn conversations. The key to achieving this task lies in
planning dialogue paths that smoothly and coherently direct conversations
towards the target. However, this is a challenging and under-explored task. In
this work, we propose a coherent dialogue planning approach that uses a
stochastic process to model the temporal dynamics of dialogue paths. We define
a latent space that captures the coherence of goal-directed behavior using a
Brownian bridge process, which allows us to incorporate user feedback flexibly
in dialogue planning. Based on the derived latent trajectories, we generate
dialogue paths explicitly using pre-trained language models. We finally employ
these paths as natural language prompts to guide dialogue generation. Our
experiments show that our approach generates more coherent utterances and
achieves the goal with a higher success rate. | cs.CL | Dialogue Planning via Brownian Bridge Stochastic Process for Goal-directed Proactive Dialogue |
2023-05-09T09:07:15Z | http://arxiv.org/pdf/2305.05280v2 | http://arxiv.org/abs/2305.05280v2 | Han Wu, Mingjie Zhan, Haochen Tan, Zhaohui Hou, Ding Liang, Linqi Song | 2023-05-15T09:30:39Z | cs.CL, cs.AI | Compared to news and chat summarization, the development of meeting
summarization is hugely decelerated by the limited data. To this end, we
introduce a versatile Chinese meeting summarization dataset, dubbed VCSum,
consisting of 239 real-life meetings, with a total duration of over 230 hours.
We claim our dataset is versatile because we provide the annotations of topic
segmentation, headlines, segmentation summaries, overall meeting summaries, and
salient sentences for each meeting transcript. As such, the dataset can adapt
to various summarization tasks or methods, including segmentation-based
summarization, multi-granularity summarization and retrieval-then-generate
summarization. Our analysis confirms the effectiveness and robustness of VCSum.
We also provide a set of benchmark models regarding different downstream
summarization tasks on VCSum to facilitate further research. The dataset and
code will be released at https://github.com/hahahawu/VCSum. | cs.CL | VCSUM: A Versatile Chinese Meeting Summarization Dataset |
2023-05-09T08:51:44Z | http://arxiv.org/pdf/2305.05271v1 | http://arxiv.org/abs/2305.05271v1 | Xuandi Fu, Kanthashree Mysore Sathyendra, Ankur Gandhe, Jing Liu, Grant P. Strimel, Ross McGowan, Athanasios Mouchtaris | 2023-05-09T08:51:44Z | cs.CL, cs.LG, cs.SD, eess.AS | Attention-based contextual biasing approaches have shown significant
improvements in the recognition of generic and/or personal rare-words in
End-to-End Automatic Speech Recognition (E2E ASR) systems like neural
transducers. These approaches employ cross-attention to bias the model towards
specific contextual entities injected as bias-phrases to the model. Prior
approaches typically relied on subword encoders for encoding the bias phrases.
However, subword tokenizations are coarse and fail to capture granular
pronunciation information which is crucial for biasing based on acoustic
similarity. In this work, we propose to use lightweight character
representations to encode fine-grained pronunciation features to improve
contextual biasing guided by acoustic similarity between the audio and the
contextual entities (termed acoustic biasing). We further integrate pretrained
neural language model (NLM) based encoders to encode the utterance's semantic
context along with contextual entities to perform biasing informed by the
utterance's semantic context (termed semantic biasing). Experiments using a
Conformer Transducer model on the Librispeech dataset show a 4.62% - 9.26%
relative WER improvement on different biasing list sizes over the baseline
contextual model when incorporating our proposed acoustic and semantic biasing
approach. On a large-scale in-house dataset, we observe 7.91% relative WER
improvement compared to our baseline model. On tail utterances, the
improvements are even more pronounced with 36.80% and 23.40% relative WER
improvements on Librispeech rare words and an in-house testset respectively. | cs.CL | Robust Acoustic and Semantic Contextual Biasing in Neural Transducers for Speech Recognition |
2023-05-09T08:21:11Z | http://arxiv.org/pdf/2305.05253v1 | http://arxiv.org/abs/2305.05253v1 | Yifei Yang, Hongqiu Wu, Hai Zhao | 2023-05-09T08:21:11Z | cs.CL | Named Entity Recognition (NER) is a cornerstone NLP task while its robustness
has been given little attention. This paper rethinks the principles of NER
attacks derived from sentence classification, as they can easily violate the
label consistency between the original and adversarial NER examples. This is
due to the fine-grained nature of NER, as even minor word changes in the
sentence can result in the emergence or mutation of any entities, resulting in
invalid adversarial examples. To this end, we propose a novel one-word
modification NER attack based on a key insight, NER models are always
vulnerable to the boundary position of an entity to make their decision. We
thus strategically insert a new boundary into the sentence and trigger the
Entity Boundary Interference that the victim model makes the wrong prediction
either on this boundary word or on other words in the sentence. We call this
attack Virtual Boundary Attack (ViBA), which is shown to be remarkably
effective when attacking both English and Chinese models with a 70%-90% attack
success rate on state-of-the-art language models (e.g. RoBERTa, DeBERTa) and
also significantly faster than previous methods. | cs.CL | Attack Named Entity Recognition by Entity Boundary Interference |
2023-05-09T08:19:32Z | http://arxiv.org/pdf/2305.05252v5 | http://arxiv.org/abs/2305.05252v5 | Siyu Yuan, Jiangjie Chen, Ziquan Fu, Xuyang Ge, Soham Shah, Charles Robert Jankowski, Yanghua Xiao, Deqing Yang | 2023-05-26T06:17:17Z | cs.CL, cs.AI | In everyday life, humans often plan their actions by following step-by-step
instructions in the form of goal-oriented scripts. Previous work has exploited
language models (LMs) to plan for abstract goals of stereotypical activities
(e.g., "make a cake"), but leaves more specific goals with multi-facet
constraints understudied (e.g., "make a cake for diabetics"). In this paper, we
define the task of constrained language planning for the first time. We propose
an overgenerate-then-filter approach to improve large language models (LLMs) on
this task, and use it to distill a novel constrained language planning dataset,
CoScript, which consists of 55,000 scripts. Empirical results demonstrate that
our method significantly improves the constrained language planning ability of
LLMs, especially on constraint faithfulness. Furthermore, CoScript is
demonstrated to be quite effective in endowing smaller LMs with constrained
language planning ability. | cs.CL | Distilling Script Knowledge from Large Language Models for Constrained Language Planning |
2023-05-09T08:16:42Z | http://arxiv.org/pdf/2305.06161v2 | http://arxiv.org/abs/2305.06161v2 | Raymond Li, Loubna Ben Allal, Yangtian Zi, Niklas Muennighoff, Denis Kocetkov, Chenghao Mou, Marc Marone, Christopher Akiki, Jia Li, Jenny Chim, Qian Liu, Evgenii Zheltonozhskii, Terry Yue Zhuo, Thomas Wang, Olivier Dehaene, Mishig Davaadorj, Joel Lamy-Poirier, João Monteiro, Oleh Shliazhko, Nicolas Gontier, Nicholas Meade, Armel Zebaze, Ming-Ho Yee, Logesh Kumar Umapathi, Jian Zhu, Benjamin Lipkin, Muhtasham Oblokulov, Zhiruo Wang, Rudra Murthy, Jason Stillerman, Siva Sankalp Patel, Dmitry Abulkhanov, Marco Zocca, Manan Dey, Zhihan Zhang, Nour Fahmy, Urvashi Bhattacharyya, Wenhao Yu, Swayam Singh, Sasha Luccioni, Paulo Villegas, Maxim Kunakov, Fedor Zhdanov, Manuel Romero, Tony Lee, Nadav Timor, Jennifer Ding, Claire Schlesinger, Hailey Schoelkopf, Jan Ebert, Tri Dao, Mayank Mishra, Alex Gu, Jennifer Robinson, Carolyn Jane Anderson, Brendan Dolan-Gavitt, Danish Contractor, Siva Reddy, Daniel Fried, Dzmitry Bahdanau, Yacine Jernite, Carlos Muñoz Ferrandis, Sean Hughes, Thomas Wolf, Arjun Guha, Leandro von Werra, Harm de Vries | 2023-12-13T14:44:10Z | cs.CL, cs.AI, cs.PL, cs.SE | The BigCode community, an open-scientific collaboration working on the
responsible development of Large Language Models for Code (Code LLMs),
introduces StarCoder and StarCoderBase: 15.5B parameter models with 8K context
length, infilling capabilities and fast large-batch inference enabled by
multi-query attention. StarCoderBase is trained on 1 trillion tokens sourced
from The Stack, a large collection of permissively licensed GitHub repositories
with inspection tools and an opt-out process. We fine-tuned StarCoderBase on
35B Python tokens, resulting in the creation of StarCoder. We perform the most
comprehensive evaluation of Code LLMs to date and show that StarCoderBase
outperforms every open Code LLM that supports multiple programming languages
and matches or outperforms the OpenAI code-cushman-001 model. Furthermore,
StarCoder outperforms every model that is fine-tuned on Python, can be prompted
to achieve 40\% pass@1 on HumanEval, and still retains its performance on other
programming languages. We take several important steps towards a safe
open-access model release, including an improved PII redaction pipeline and a
novel attribution tracing tool, and make the StarCoder models publicly
available under a more commercially viable version of the Open Responsible AI
Model license. | cs.CL | StarCoder: may the source be with you! |
2023-05-09T07:41:17Z | http://arxiv.org/pdf/2305.05226v2 | http://arxiv.org/abs/2305.05226v2 | Cong Ma, Yaping Zhang, Mei Tu, Yang Zhao, Yu Zhou, Chengqing Zong | 2023-05-10T02:31:05Z | cs.CL | Text image machine translation (TIMT) has been widely used in various
real-world applications, which translates source language texts in images into
another target language sentence. Existing methods on TIMT are mainly divided
into two categories: the recognition-then-translation pipeline model and the
end-to-end model. However, how to transfer knowledge from the pipeline model
into the end-to-end model remains an unsolved problem. In this paper, we
propose a novel Multi-Teacher Knowledge Distillation (MTKD) method to
effectively distillate knowledge into the end-to-end TIMT model from the
pipeline model. Specifically, three teachers are utilized to improve the
performance of the end-to-end TIMT model. The image encoder in the end-to-end
TIMT model is optimized with the knowledge distillation guidance from the
recognition teacher encoder, while the sequential encoder and decoder are
improved by transferring knowledge from the translation sequential and decoder
teacher models. Furthermore, both token and sentence-level knowledge
distillations are incorporated to better boost the translation performance.
Extensive experimental results show that our proposed MTKD effectively improves
the text image translation performance and outperforms existing end-to-end and
pipeline models with fewer parameters and less decoding time, illustrating that
MTKD can take advantage of both pipeline and end-to-end models. | cs.CL | Multi-Teacher Knowledge Distillation For Text Image Machine Translation |
2023-05-09T07:23:01Z | http://arxiv.org/pdf/2305.05214v2 | http://arxiv.org/abs/2305.05214v2 | Kaushal Kumar Maurya, Rahul Kejriwal, Maunendra Sankar Desarkar, Anoop Kunchukuttan | 2024-02-04T06:21:03Z | cs.CL | We address the task of machine translation (MT) from extremely low-resource
language (ELRL) to English by leveraging cross-lingual transfer from
'closely-related' high-resource language (HRL). The development of an MT system
for ELRL is challenging because these languages typically lack parallel corpora
and monolingual corpora, and their representations are absent from large
multilingual language models. Many ELRLs share lexical similarities with some
HRLs, which presents a novel modeling opportunity. However, existing
subword-based neural MT models do not explicitly harness this lexical
similarity, as they only implicitly align HRL and ELRL latent embedding space.
To overcome this limitation, we propose a novel, CharSpan, approach based on
'character-span noise augmentation' into the training data of HRL. This serves
as a regularization technique, making the model more robust to 'lexical
divergences' between the HRL and ELRL, thus facilitating effective
cross-lingual transfer. Our method significantly outperformed strong baselines
in zero-shot settings on closely related HRL and ELRL pairs from three diverse
language families, emerging as the state-of-the-art model for ELRLs. | cs.CL | CharSpan: Utilizing Lexical Similarity to Enable Zero-Shot Machine Translation for Extremely Low-resource Languages |
2023-05-09T07:21:46Z | http://arxiv.org/pdf/2305.07445v1 | http://arxiv.org/abs/2305.07445v1 | Yassine El Kheir, Fouad Khnaisser, Shammur Absar Chowdhury, Hamdy Mubarak, Shazia Afzal, Ahmed Ali | 2023-05-09T07:21:46Z | eess.AS, cs.CL, cs.SD | This paper introduces a novel Arabic pronunciation learning application
QVoice, powered with end-to-end mispronunciation detection and feedback
generator module. The application is designed to support non-native Arabic
speakers in enhancing their pronunciation skills, while also helping native
speakers mitigate any potential influence from regional dialects on their
Modern Standard Arabic (MSA) pronunciation. QVoice employs various learning
cues to aid learners in comprehending meaning, drawing connections with their
existing knowledge of English language, and offers detailed feedback for
pronunciation correction, along with contextual examples showcasing word usage.
The learning cues featured in QVoice encompass a wide range of meaningful
information, such as visualizations of phrases/words and their translations, as
well as phonetic transcriptions and transliterations. QVoice provides
pronunciation feedback at the character level and assesses performance at the
word level. | eess.AS | QVoice: Arabic Speech Pronunciation Learning Application |
2023-05-09T06:28:10Z | http://arxiv.org/pdf/2305.05201v1 | http://arxiv.org/abs/2305.05201v1 | Takanori Ashihara, Takafumi Moriya, Kohei Matsuura, Tomohiro Tanaka | 2023-05-09T06:28:10Z | cs.CL, cs.SD, eess.AS | Self-supervised learning (SSL) has been dramatically successful not only in
monolingual but also in cross-lingual settings. However, since the two settings
have been studied individually in general, there has been little research
focusing on how effective a cross-lingual model is in comparison with a
monolingual model. In this paper, we investigate this fundamental question
empirically with Japanese automatic speech recognition (ASR) tasks. First, we
begin by comparing the ASR performance of cross-lingual and monolingual models
for two different language tasks while keeping the acoustic domain as identical
as possible. Then, we examine how much unlabeled data collected in Japanese is
needed to achieve performance comparable to a cross-lingual model pre-trained
with tens of thousands of hours of English and/or multilingual data. Finally,
we extensively investigate the effectiveness of SSL in Japanese and demonstrate
state-of-the-art performance on multiple ASR tasks. Since there is no
comprehensive SSL study for Japanese, we hope this study will guide Japanese
SSL research. | cs.CL | Exploration of Language Dependency for Japanese Self-Supervised Speech Representation Models |
2023-05-09T05:56:58Z | http://arxiv.org/pdf/2305.05191v1 | http://arxiv.org/abs/2305.05191v1 | Zhaowei Wang, Quyet V. Do, Hongming Zhang, Jiayao Zhang, Weiqi Wang, Tianqing Fang, Yangqiu Song, Ginny Y. Wong, Simon See | 2023-05-09T05:56:58Z | cs.CL, cs.AI | Detecting commonsense causal relations (causation) between events has long
been an essential yet challenging task. Given that events are complicated, an
event may have different causes under various contexts. Thus, exploiting
context plays an essential role in detecting causal relations. Meanwhile,
previous works about commonsense causation only consider two events and ignore
their context, simplifying the task formulation. This paper proposes a new task
to detect commonsense causation between two events in an event sequence (i.e.,
context), called contextualized commonsense causal reasoning. We also design a
zero-shot framework: COLA (Contextualized Commonsense Causality Reasoner) to
solve the task from the causal inference perspective. This framework obtains
rich incidental supervision from temporality and balances covariates from
multiple timestamps to remove confounding effects. Our extensive experiments
show that COLA can detect commonsense causality more accurately than baselines. | cs.CL | COLA: Contextualized Commonsense Causal Reasoning from the Causal Inference Perspective |
2023-05-09T05:48:38Z | http://arxiv.org/pdf/2305.05189v4 | http://arxiv.org/abs/2305.05189v4 | Shanshan Zhong, Zhongzhan Huang, Wushao Wen, Jinghui Qin, Liang Lin | 2023-11-29T08:18:14Z | cs.CL, cs.CV | Diffusion models, which have emerged to become popular text-to-image
generation models, can produce high-quality and content-rich images guided by
textual prompts. However, there are limitations to semantic understanding and
commonsense reasoning in existing models when the input prompts are concise
narrative, resulting in low-quality image generation. To improve the capacities
for narrative prompts, we propose a simple-yet-effective parameter-efficient
fine-tuning approach called the Semantic Understanding and Reasoning adapter
(SUR-adapter) for pre-trained diffusion models. To reach this goal, we first
collect and annotate a new dataset SURD which consists of more than 57,000
semantically corrected multi-modal samples. Each sample contains a simple
narrative prompt, a complex keyword-based prompt, and a high-quality image.
Then, we align the semantic representation of narrative prompts to the complex
prompts and transfer knowledge of large language models (LLMs) to our
SUR-adapter via knowledge distillation so that it can acquire the powerful
semantic understanding and reasoning capabilities to build a high-quality
textual semantic representation for text-to-image generation. We conduct
experiments by integrating multiple LLMs and popular pre-trained diffusion
models to show the effectiveness of our approach in enabling diffusion models
to understand and reason concise natural language without image quality
degradation. Our approach can make text-to-image diffusion models easier to use
with better user experience, which demonstrates our approach has the potential
for further advancing the development of user-friendly text-to-image generation
models by bridging the semantic gap between simple narrative prompts and
complex keyword-based prompts. The code is released at
https://github.com/Qrange-group/SUR-adapter. | cs.CL | SUR-adapter: Enhancing Text-to-Image Pre-trained Diffusion Models with Large Language Models |
2023-05-09T05:33:32Z | http://arxiv.org/pdf/2305.05672v1 | http://arxiv.org/abs/2305.05672v1 | Shafiuddin Rehan Ahmed, Abhijnan Nath, James H. Martin, Nikhil Krishnaswamy | 2023-05-09T05:33:32Z | cs.CL | Event Coreference Resolution (ECR) is the task of linking mentions of the
same event either within or across documents. Most mention pairs are not
coreferent, yet many that are coreferent can be identified through simple
techniques such as lemma matching of the event triggers or the sentences in
which they appear. Existing methods for training coreference systems sample
from a largely skewed distribution, making it difficult for the algorithm to
learn coreference beyond surface matching. Additionally, these methods are
intractable because of the quadratic operations needed. To address these
challenges, we break the problem of ECR into two parts: a) a heuristic to
efficiently filter out a large number of non-coreferent pairs, and b) a
training approach on a balanced set of coreferent and non-coreferent mention
pairs. By following this approach, we show that we get comparable results to
the state of the art on two popular ECR datasets while significantly reducing
compute requirements. We also analyze the mention pairs that are "hard" to
accurately classify as coreferent or non-coreferent. Code at
https://github.com/ahmeshaf/lemma_ce_coref | cs.CL | $2 * n$ is better than $n^2$: Decomposing Event Coreference Resolution into Two Tractable Problems |
2023-05-09T05:33:31Z | http://arxiv.org/pdf/2305.05183v1 | http://arxiv.org/abs/2305.05183v1 | Bo Sun, Baoxin Wang, Yixuan Wang, Wanxiang Che, Dayong Wu, Shijin Wang, Ting Liu | 2023-05-09T05:33:31Z | cs.CL, cs.AI | Recently, much Chinese text error correction work has focused on Chinese
Spelling Check (CSC) and Chinese Grammatical Error Diagnosis (CGED). In
contrast, little attention has been paid to the complicated problem of Chinese
Semantic Error Diagnosis (CSED), which lacks relevant datasets. The study of
semantic errors is important because they are very common and may lead to
syntactic irregularities or even problems of comprehension. To investigate
this, we build the CSED corpus, which includes two datasets. The one is for the
CSED-Recognition (CSED-R) task. The other is for the CSED-Correction (CSED-C)
task. Our annotation guarantees high-quality data through quality assurance
mechanisms. Our experiments show that powerful pre-trained models perform
poorly on this corpus. We also find that the CSED task is challenging, as
evidenced by the fact that even humans receive a low score. This paper proposes
syntax-aware models to specifically adapt to the CSED task. The experimental
results show that the introduction of the syntax-aware approach is meaningful. | cs.CL | CSED: A Chinese Semantic Error Diagnosis Corpus |
2023-05-09T05:25:05Z | http://arxiv.org/pdf/2305.05181v2 | http://arxiv.org/abs/2305.05181v2 | Xiaonan Li, Xipeng Qiu | 2023-10-09T02:44:12Z | cs.CL, cs.AI | Large Language Models (LLMs) have shown impressive abilities in various
tasks. However, fundamentally improving them depends on high-quality datasets
or computationally expensive fine-tuning. On the contrary, humans can easily
improve themselves by self-thinking and memory, without external resources. In
this paper, we propose a framework, MoT, to let the LLM self-improve through
Memory-of-Thought, without annotated datasets and parameter updates.
Specifically, MoT is divided into two stages: 1. before the test stage, the LLM
pre-thinks on the unlabeled dataset and saves the high-confidence thoughts as
external memory; 2. During the test stage, given a test question, the LLM
recalls relevant memory to help itself reason and answer it. Experimental
results show that MoT can help ChatGPT significantly improve its abilities in
arithmetic reasoning, commonsense reasoning, factual reasoning, and natural
language inference. Further analyses show that each component contributes
critically to the improvements and MoT can lead to consistent improvements
across various CoT methods and LLMs. | cs.CL | MoT: Memory-of-Thought Enables ChatGPT to Self-Improve |
2023-05-09T05:11:02Z | http://arxiv.org/pdf/2305.05176v1 | http://arxiv.org/abs/2305.05176v1 | Lingjiao Chen, Matei Zaharia, James Zou | 2023-05-09T05:11:02Z | cs.LG, cs.AI, cs.CL, cs.SE | There is a rapidly growing number of large language models (LLMs) that users
can query for a fee. We review the cost associated with querying popular LLM
APIs, e.g. GPT-4, ChatGPT, J1-Jumbo, and find that these models have
heterogeneous pricing structures, with fees that can differ by two orders of
magnitude. In particular, using LLMs on large collections of queries and text
can be expensive. Motivated by this, we outline and discuss three types of
strategies that users can exploit to reduce the inference cost associated with
using LLMs: 1) prompt adaptation, 2) LLM approximation, and 3) LLM cascade. As
an example, we propose FrugalGPT, a simple yet flexible instantiation of LLM
cascade which learns which combinations of LLMs to use for different queries in
order to reduce cost and improve accuracy. Our experiments show that FrugalGPT
can match the performance of the best individual LLM (e.g. GPT-4) with up to
98% cost reduction or improve the accuracy over GPT-4 by 4% with the same cost.
The ideas and findings presented here lay a foundation for using LLMs
sustainably and efficiently. | cs.LG | FrugalGPT: How to Use Large Language Models While Reducing Cost and Improving Performance |
2023-05-09T04:45:24Z | http://arxiv.org/pdf/2305.05171v1 | http://arxiv.org/abs/2305.05171v1 | Lesly Miculicich, Yujia Xie, Song Wang, Pengcheng He | 2023-05-09T04:45:24Z | cs.CL | Many applications of text generation such as summarization benefit from
accurately controlling the text length. Existing approaches on
length-controlled summarization either result in degraded performance or can
only control the length approximately. In this work, we present a framework to
generate summaries with precisely the specified number of tokens or sentences,
while maintaining or even improving the text quality. In addition, we jointly
train the models to predict the lengths, so our model can generate summaries
with optimal length. We evaluate the proposed framework on the CNNDM dataset
and show improved performance compared to existing methods. | cs.CL | Summarization with Precise Length Control |
2023-05-09T04:25:52Z | http://arxiv.org/pdf/2305.05166v2 | http://arxiv.org/abs/2305.05166v2 | Cong Ma, Yaping Zhang, Mei Tu, Yang Zhao, Yu Zhou, Chengqing Zong | 2023-05-10T02:37:32Z | cs.CL | Text image machine translation (TIMT) aims to translate texts embedded in
images from one source language to another target language. Existing methods,
both two-stage cascade and one-stage end-to-end architectures, suffer from
different issues. The cascade models can benefit from the large-scale optical
character recognition (OCR) and MT datasets but the two-stage architecture is
redundant. The end-to-end models are efficient but suffer from training data
deficiency. To this end, in our paper, we propose an end-to-end TIMT model
fully making use of the knowledge from existing OCR and MT datasets to pursue
both an effective and efficient framework. More specifically, we build a novel
modal adapter effectively bridging the OCR encoder and MT decoder. End-to-end
TIMT loss and cross-modal contrastive loss are utilized jointly to align the
feature distribution of the OCR and MT tasks. Extensive experiments show that
the proposed method outperforms the existing two-stage cascade models and
one-stage end-to-end models with a lighter and faster architecture.
Furthermore, the ablation studies verify the generalization of our method,
where the proposed modal adapter is effective to bridge various OCR and MT
models. | cs.CL | E2TIMT: Efficient and Effective Modal Adapter for Text Image Machine Translation |
2023-05-09T04:14:20Z | http://arxiv.org/pdf/2305.05162v1 | http://arxiv.org/abs/2305.05162v1 | Guodong Liu | 2023-05-09T04:14:20Z | cs.LG, cs.CL | The clinical notes are usually typed into the system by physicians. They are
typically required to be marked by standard medical codes, and each code
represents a diagnosis or medical treatment procedure. Annotating these notes
is time consuming and prone to error. In this paper, we proposed a multi-view
attention based Neural network to predict medical codes from clinical texts.
Our method incorporates three aspects of information, the semantic context of
the clinical text, the relationship among the label (medical codes) space, and
the alignment between each pair of a clinical text and medical code. Our method
is verified to be effective on the open source dataset. The experimental result
shows that our method achieves better performance against the prior
state-of-art on multiple metrics. | cs.LG | Effective Medical Code Prediction via Label Internal Alignment |
2023-05-09T02:49:09Z | http://arxiv.org/pdf/2305.05138v1 | http://arxiv.org/abs/2305.05138v1 | Wei Qin, Zetong Chen, Lei Wang, Yunshi Lan, Weijieying Ren, Richang Hong | 2023-05-09T02:49:09Z | cs.CL | This paper proposes a new depression detection system based on LLMs that is
both interpretable and interactive. It not only provides a diagnosis, but also
diagnostic evidence and personalized recommendations based on natural language
dialogue with the user. We address challenges such as the processing of large
amounts of text and integrate professional diagnostic criteria. Our system
outperforms traditional methods across various settings and is demonstrated
through case studies. | cs.CL | Read, Diagnose and Chat: Towards Explainable and Interactive LLMs-Augmented Depression Detection in Social Media |
2023-05-09T02:38:05Z | http://arxiv.org/pdf/2305.05133v1 | http://arxiv.org/abs/2305.05133v1 | Sayak Saha Roy, Krishna Vamsi Naragam, Shirin Nilizadeh | 2023-05-09T02:38:05Z | cs.CR, cs.CL | The ability of ChatGPT to generate human-like responses and understand
context has made it a popular tool for conversational agents, content creation,
data analysis, and research and innovation. However, its effectiveness and ease
of accessibility makes it a prime target for generating malicious content, such
as phishing attacks, that can put users at risk. In this work, we identify
several malicious prompts that can be provided to ChatGPT to generate
functional phishing websites. Through an iterative approach, we find that these
phishing websites can be made to imitate popular brands and emulate several
evasive tactics that have been known to avoid detection by anti-phishing
entities. These attacks can be generated using vanilla ChatGPT without the need
of any prior adversarial exploits (jailbreaking). | cs.CR | Generating Phishing Attacks using ChatGPT |
2023-05-09T00:01:32Z | http://arxiv.org/pdf/2305.05098v1 | http://arxiv.org/abs/2305.05098v1 | Yassir Fathullah, Puria Radmard, Adian Liusie, Mark J. F. Gales | 2023-05-09T00:01:32Z | cs.LG, cs.AI, cs.CL | State-of-the-art sequence-to-sequence models often require autoregressive
decoding, which can be highly expensive. However, for some downstream tasks
such as out-of-distribution (OOD) detection and resource allocation, the actual
decoding output is not needed just a scalar attribute of this sequence. In
these scenarios, where for example knowing the quality of a system's output to
predict poor performance prevails over knowing the output itself, is it
possible to bypass the autoregressive decoding? We propose Non-Autoregressive
Proxy (NAP) models that can efficiently predict general scalar-valued
sequence-level attributes. Importantly, NAPs predict these metrics directly
from the encodings, avoiding the expensive autoregressive decoding stage. We
consider two sequence-to-sequence task: Machine Translation (MT); and Automatic
Speech Recognition (ASR). In OOD for MT, NAPs outperform a deep ensemble while
being significantly faster. NAPs are also shown to be able to predict
performance metrics such as BERTScore (MT) or word error rate (ASR). For
downstream tasks, such as data filtering and resource optimization, NAPs
generate performance predictions that outperform predictive uncertainty while
being highly inference efficient. | cs.LG | Who Needs Decoders? Efficient Estimation of Sequence-level Attributes |
2023-05-08T23:57:26Z | http://arxiv.org/pdf/2305.06358v1 | http://arxiv.org/abs/2305.06358v1 | Kairui Zhou | 2023-05-08T23:57:26Z | cs.AI, cs.CL | Humans can collaborate and complete tasks based on visual signals and
instruction from the environment. Training such a robot is difficult especially
due to the understanding of the instruction and the complicated environment.
Previous instruction-following agents are biased to English-centric corpus,
making it unrealizable to be applied to users that use multiple languages or
even low-resource languages. Nevertheless, the instruction-following agents are
pre-trained in a mode that assumes the user can observe the environment, which
limits its accessibility. In this work, we're trying to generalize the success
of instruction-following agents to non-English languages with little corpus
resources, and improve its intractability and accessibility. We introduce UVLN
(Universal Vision-Language Navigation), a novel machine-translation
instructional augmented framework for cross-lingual vision-language navigation,
with a novel composition of state-of-the-art large language model (GPT3) with
the image caption model (BLIP). We first collect a multilanguage
vision-language navigation dataset via machine translation. Then we extend the
standard VLN training objectives to a multilingual setting via a cross-lingual
language encoder. The alignment between different languages is captured through
a shared vision and action context via a cross-modal transformer, which encodes
the inputs of language instruction, visual observation, and action decision
sequences. To improve the intractability, we connect our agent with the large
language model that informs the situation and current state to the user and
also explains the action decisions. Experiments over Room Across Room Dataset
prove the effectiveness of our approach. And the qualitative results show the
promising intractability and accessibility of our instruction-following agent. | cs.AI | Accessible Instruction-Following Agent |
2023-05-08T23:43:15Z | http://arxiv.org/pdf/2305.05094v1 | http://arxiv.org/abs/2305.05094v1 | Maria Leonor Pacheco, Tunazzina Islam, Lyle Ungar, Ming Yin, Dan Goldwasser | 2023-05-08T23:43:15Z | cs.CL, cs.HC | Experts across diverse disciplines are often interested in making sense of
large text collections. Traditionally, this challenge is approached either by
noisy unsupervised techniques such as topic models, or by following a manual
theme discovery process. In this paper, we expand the definition of a theme to
account for more than just a word distribution, and include generalized
concepts deemed relevant by domain experts. Then, we propose an interactive
framework that receives and encodes expert feedback at different levels of
abstraction. Our framework strikes a balance between automation and manual
coding, allowing experts to maintain control of their study while reducing the
manual effort required. | cs.CL | Interactive Concept Learning for Uncovering Latent Themes in Large Text Collections |
2023-05-08T23:31:39Z | http://arxiv.org/pdf/2305.05091v2 | http://arxiv.org/abs/2305.05091v2 | Prateek Chhikara, Jiarui Zhang, Filip Ilievski, Jonathan Francis, Kaixin Ma | 2023-12-17T02:03:29Z | cs.CL, cs.AI, cs.HC | Communication via natural language is a key aspect of machine intelligence,
and it requires computational models to learn and reason about world concepts,
with varying levels of supervision. Significant progress has been made on
fully-supervised non-interactive tasks, such as question-answering and
procedural text understanding. Yet, various sequential interactive tasks, as in
text-based games, have revealed limitations of existing approaches in terms of
coherence, contextual awareness, and their ability to learn effectively from
the environment. In this paper, we propose a knowledge-injection framework for
improved functional grounding of agents in text-based games. Specifically, we
consider two forms of domain knowledge that we inject into learning-based
agents: memory of previous correct actions and affordances of relevant objects
in the environment. Our framework supports two representative model classes:
reinforcement learning agents and language model agents. Furthermore, we devise
multiple injection strategies for the above domain knowledge types and agent
architectures, including injection via knowledge graphs and augmentation of the
existing input encoding strategies. We experiment with four models on the 10
tasks in the ScienceWorld text-based game environment, to illustrate the impact
of knowledge injection on various model configurations and challenging task
settings. Our findings provide crucial insights into the interplay between task
properties, model architectures, and domain knowledge for interactive contexts. | cs.CL | Knowledge-enhanced Agents for Interactive Text Games |
2023-05-08T22:42:48Z | http://arxiv.org/pdf/2305.06218v1 | http://arxiv.org/abs/2305.06218v1 | Naveen Ram, Dima Kuzmin, Ellie Ka In Chio, Moustafa Farid Alzantot, Santiago Ontanon, Ambarish Jash, Judith Yue Li | 2023-05-08T22:42:48Z | cs.CL, cs.AI, cs.IR | In this paper, we analyze the performance of a multitask end-to-end
transformer model on the task of conversational recommendations, which aim to
provide recommendations based on a user's explicit preferences expressed in
dialogue. While previous works in this area adopt complex multi-component
approaches where the dialogue management and entity recommendation tasks are
handled by separate components, we show that a unified transformer model, based
on the T5 text-to-text transformer model, can perform competitively in both
recommending relevant items and generating conversation dialogue. We fine-tune
our model on the ReDIAL conversational movie recommendation dataset, and create
additional training tasks derived from MovieLens (such as the prediction of
movie attributes and related movies based on an input movie), in a multitask
learning setting. Using a series of probe studies, we demonstrate that the
learned knowledge in the additional tasks is transferred to the conversational
setting, where each task leads to a 9%-52% increase in its related probe score. | cs.CL | Multi-Task End-to-End Training Improves Conversational Recommendation |
2023-05-08T22:37:30Z | http://arxiv.org/pdf/2305.05079v1 | http://arxiv.org/abs/2305.05079v1 | Neeraj Varshney, Himanshu Gupta, Eric Robertson, Bing Liu, Chitta Baral | 2023-05-08T22:37:30Z | cs.CL | State-of-the-art natural language processing models have been shown to
achieve remarkable performance in 'closed-world' settings where all the labels
in the evaluation set are known at training time. However, in real-world
settings, 'novel' instances that do not belong to any known class are often
observed. This renders the ability to deal with novelties crucial. To initiate
a systematic research in this important area of 'dealing with novelties', we
introduce 'NoveltyTask', a multi-stage task to evaluate a system's performance
on pipelined novelty 'detection' and 'accommodation' tasks. We provide
mathematical formulation of NoveltyTask and instantiate it with the authorship
attribution task that pertains to identifying the correct author of a given
text. We use Amazon reviews corpus and compile a large dataset (consisting of
250k instances across 200 authors/labels) for NoveltyTask. We conduct
comprehensive experiments and explore several baseline methods for the task.
Our results show that the methods achieve considerably low performance making
the task challenging and leaving sufficient room for improvement. Finally, we
believe our work will encourage research in this underexplored area of dealing
with novelties, an important step en route to developing robust systems. | cs.CL | A Unified Evaluation Framework for Novelty Detection and Accommodation in NLP with an Instantiation in Authorship Attribution |
2023-05-08T21:35:12Z | http://arxiv.org/pdf/2305.05061v1 | http://arxiv.org/abs/2305.05061v1 | Tao Hong | 2023-05-08T21:35:12Z | cs.CL, nlin.PS, 68T07, I.2.7 | Large Language Models (LLMs), such as the Generative Pretrained Transformer
(GPT), have achieved tremendous success in various language tasks, but their
emergent abilities have also raised many questions, concerns, and challenges
that need to be addressed. To gain a better understanding of the models' inner
mechanisms, we analyze the hidden state and channel wave dynamics in a small
GPT, focusing on the coherence of wave patterns in terms of cross-channel
correlation and individual auto-correlation. Our findings suggest that wave
dynamics offer consistent and repeatable intrinsic oscillation modes, along
with context-aware plasticity and expressiveness in language generation. By
analyzing wave patterns, coherence, and clustering, we provide a systematic way
to identify and interpret the functionality of the hidden state channels,
paving the way to understand and control higher-level language pattern
formation. In addition, we investigate the Poisson statistics of spelling
errors in text sequence generation across various levels of model training and
observe a phase-transition-like process. As coherence builds up, there is a
competition between the generation of correct and misspelled words. However,
once the model is adequately trained and significant coherence has emerged, the
coherent process becomes strong enough to effectively suppress spelling errors,
preventing the cascade amplification of defects. The distribution of correct
spellings transitions from Poissonian to Sub-Poissonian, while the distribution
of misspellings shows the opposite trend. By leveraging concepts and techniques
from quantum physics, we gain novel insights into the dynamics of the small
GPT. This approach can be extended to larger language models that exhibit more
complex coherent language patterns, opening up opportunities to interpret their
emergent capabilities and develop more specialized models. | cs.CL | Coherent Wave Dynamics and Language Generation of a Generative Pre-trained Transformer |
2023-05-08T21:24:12Z | http://arxiv.org/pdf/2305.05054v1 | http://arxiv.org/abs/2305.05054v1 | Lorenzo Bertolini | 2023-05-08T21:24:12Z | cs.CL | A consistent body of evidence suggests that dream reports significantly vary
from other types of textual transcripts with respect to semantic content.
Furthermore, it appears to be a widespread belief in the dream/sleep research
community that dream reports constitute rather ``unique'' strings of text. This
might be a notable issue for the growing amount of approaches using natural
language processing (NLP) tools to automatically analyse dream reports, as they
largely rely on neural models trained on non-dream corpora scraped from the
web. In this work, I will adopt state-of-the-art (SotA) large language models
(LLMs), to study if and how dream reports deviate from other human-generated
text strings, such as Wikipedia. Results show that, taken as a whole, DreamBank
does not deviate from Wikipedia. Moreover, on average, single dream reports are
significantly more predictable than Wikipedia articles. Preliminary evidence
suggests that word count, gender, and visual impairment can significantly shape
how predictable a dream report can appear to the model. | cs.CL | Dreams Are More "Predictable'' Than You Think |
2023-05-08T21:12:20Z | http://arxiv.org/pdf/2305.05050v3 | http://arxiv.org/abs/2305.05050v3 | Thilini Wijesiriwardene, Ruwan Wickramarachchi, Bimal G. Gajera, Shreeyash Mukul Gowaikar, Chandan Gupta, Aman Chadha, Aishwarya Naresh Reganti, Amit Sheth, Amitava Das | 2023-05-25T20:38:17Z | cs.CL, cs.AI | Over the past decade, analogies, in the form of word-level analogies, have
played a significant role as an intrinsic measure of evaluating the quality of
word embedding methods such as word2vec. Modern large language models (LLMs),
however, are primarily evaluated on extrinsic measures based on benchmarks such
as GLUE and SuperGLUE, and there are only a few investigations on whether LLMs
can draw analogies between long texts. In this paper, we present ANALOGICAL, a
new benchmark to intrinsically evaluate LLMs across a taxonomy of analogies of
long text with six levels of complexity -- (i) word, (ii) word vs. sentence,
(iii) syntactic, (iv) negation, (v) entailment, and (vi) metaphor. Using
thirteen datasets and three different distance measures, we evaluate the
abilities of eight LLMs in identifying analogical pairs in the semantic vector
space. Our evaluation finds that it is increasingly challenging for LLMs to
identify analogies when going up the analogy taxonomy. | cs.CL | ANALOGICAL -- A Novel Benchmark for Long Text Analogy Evaluation in Large Language Models |
2023-05-08T20:09:27Z | http://arxiv.org/pdf/2305.05027v2 | http://arxiv.org/abs/2305.05027v2 | Tamás Vörös, Sean Paul Bergeron, Konstantin Berlin | 2023-05-10T08:36:57Z | cs.LG, cs.CL, cs.IR | We introduce a state-of-the-art approach for URL categorization that
leverages the power of Large Language Models (LLMs) to address the primary
objectives of web content filtering: safeguarding organizations from legal and
ethical risks, limiting access to high-risk or suspicious websites, and
fostering a secure and professional work environment. Our method utilizes LLMs
to generate accurate classifications and then employs established knowledge
distillation techniques to create smaller, more specialized student models
tailored for web content filtering. Distillation results in a student model
with a 9% accuracy rate improvement in classifying websites, sourced from
customer telemetry data collected by a large security vendor, into 30 distinct
content categories based on their URLs, surpassing the current state-of-the-art
approach. Our student model matches the performance of the teacher LLM with 175
times less parameters, allowing the model to be used for in-line scanning of
large volumes of URLs, and requires 3 orders of magnitude less manually labeled
training data than the current state-of-the-art approach. Depending on the
specific use case, the output generated by our approach can either be directly
returned or employed as a pre-filter for more resource-intensive operations
involving website images or HTML. | cs.LG | Web Content Filtering through knowledge distillation of Large Language Models |
2023-05-08T19:31:09Z | http://arxiv.org/pdf/2305.05010v1 | http://arxiv.org/abs/2305.05010v1 | Rongzhi Zhang, Jiaming Shen, Tianqi Liu, Jialu Liu, Michael Bendersky, Marc Najork, Chao Zhang | 2023-05-08T19:31:09Z | cs.LG, cs.CL | Knowledge distillation is a popular technique to transfer knowledge from
large teacher models to a small student model. Typically, the student learns to
imitate the teacher by minimizing the KL divergence of its output distribution
with the teacher's output distribution. In this work, we argue that such a
learning objective is sub-optimal because there exists a discrepancy between
the teacher's output distribution and the ground truth label distribution.
Therefore, forcing the student to blindly imitate the unreliable teacher output
distribution leads to inferior performance. To this end, we propose a novel
knowledge distillation objective PTLoss by first representing the vanilla
KL-based distillation loss function via a Maclaurin series and then perturbing
the leading-order terms in this series. This perturbed loss implicitly
transforms the original teacher into a proxy teacher with a distribution closer
to the ground truth distribution. We establish the theoretical connection
between this "distribution closeness" and the student model generalizability,
which enables us to select the PTLoss's perturbation coefficients in a
principled way. Extensive experiments on five datasets demonstrate PTLoss can
significantly improve the distillation effectiveness for teachers of various
scales. | cs.LG | Do Not Blindly Imitate the Teacher: Using Perturbed Loss for Knowledge Distillation |
2023-05-08T19:21:41Z | http://arxiv.org/pdf/2305.06223v1 | http://arxiv.org/abs/2305.06223v1 | Ryan Hardesty Lewis, Junfeng Jiao | 2023-05-08T19:21:41Z | cs.PL, cs.AI, cs.CL, 68T50, 68N18, 97R50, I.2.7; I.2.6; H.5.2 | Language models are not accurate in numerical problems. Their architecture
does not allow for anything less than a probabilistic next word. This paper
introduces ComputeGPT: an approach of creating a chat model able to answer
computational problems through running on-demand code. ComputeGPT converts each
question to relevant code, runs the code, and returns the computed answer as
part of the chat. We combine this approach with a local browser-based Python
interpretation and fine-tuned prompts in order to achieve state-of-the-art
efficiency on numerical problems and provide a suitable front-end and safe
environment for the code to be executed in. | cs.PL | ComputeGPT: A computational chat model for numerical problems |
2023-05-08T19:19:07Z | http://arxiv.org/pdf/2305.05003v1 | http://arxiv.org/abs/2305.05003v1 | Somin Wadhwa, Silvio Amir, Byron C. Wallace | 2023-05-08T19:19:07Z | cs.CL | Relation extraction (RE) is the core NLP task of inferring semantic
relationships between entities from text. Standard supervised RE techniques
entail training modules to tag tokens comprising entity spans and then predict
the relationship between them. Recent work has instead treated the problem as a
\emph{sequence-to-sequence} task, linearizing relations between entities as
target strings to be generated conditioned on the input. Here we push the
limits of this approach, using larger language models (GPT-3 and Flan-T5 large)
than considered in prior work and evaluating their performance on standard RE
tasks under varying levels of supervision. We address issues inherent to
evaluating generative approaches to RE by doing human evaluations, in lieu of
relying on exact matching. Under this refined evaluation, we find that: (1)
Few-shot prompting with GPT-3 achieves near SOTA performance, i.e., roughly
equivalent to existing fully supervised models; (2) Flan-T5 is not as capable
in the few-shot setting, but supervising and fine-tuning it with
Chain-of-Thought (CoT) style explanations (generated via GPT-3) yields SOTA
results. We release this model as a new baseline for RE tasks. | cs.CL | Revisiting Relation Extraction in the era of Large Language Models |
2023-05-08T19:16:26Z | http://arxiv.org/pdf/2305.05001v1 | http://arxiv.org/abs/2305.05001v1 | Xiangru Tang, Andrew Tran, Jeffrey Tan, Mark Gerstein | 2023-05-08T19:16:26Z | cs.CL | This paper presents our contribution to the MEDIQA-2023 Dialogue2Note shared
task, encompassing both subtask A and subtask B. We approach the task as a
dialogue summarization problem and implement two distinct pipelines: (a) a
fine-tuning of a pre-trained dialogue summarization model and GPT-3, and (b)
few-shot in-context learning (ICL) using a large language model, GPT-4. Both
methods achieve excellent results in terms of ROUGE-1 F1, BERTScore F1
(deberta-xlarge-mnli), and BLEURT, with scores of 0.4011, 0.7058, and 0.5421,
respectively. Additionally, we predict the associated section headers using
RoBERTa and SciBERT based classification models. Our team ranked fourth among
all teams, while each team is allowed to submit three runs as part of their
submission. We also utilize expert annotations to demonstrate that the notes
generated through the ICL GPT-4 are better than all other baselines. The code
for our submission is available. | cs.CL | GersteinLab at MEDIQA-Chat 2023: Clinical Note Summarization from Doctor-Patient Conversations through Fine-tuning and In-context Learning |
2023-05-08T18:53:45Z | http://arxiv.org/pdf/2305.04990v3 | http://arxiv.org/abs/2305.04990v3 | Josh Magnus Ludan, Yixuan Meng, Tai Nguyen, Saurabh Shah, Qing Lyu, Marianna Apidianaki, Chris Callison-Burch | 2023-06-06T15:31:33Z | cs.CL, cs.LG | Large Language Models (LLMs) are so powerful that they sometimes learn
correlations between labels and features that are irrelevant to the task,
leading to poor generalization on out-of-distribution data. We propose
explanation-based finetuning as a general approach to mitigate LLMs' reliance
on spurious correlations. Unlike standard finetuning where the model only
predicts the answer given the input, we finetune the model to additionally
generate a free-text explanation supporting its answer. To evaluate our method,
we finetune the model on artificially constructed training sets containing
different types of spurious cues, and test it on a test set without these cues.
Compared to standard finetuning, our method makes GPT-3 (davinci) remarkably
more robust against spurious cues in terms of accuracy drop across four
classification tasks: ComVE (+1.2), CREAK (+9.1), e-SNLI (+15.4), and SBIC
(+6.5). The efficacy generalizes across multiple model families and scales,
with greater gains for larger models. Finally, our method also works well with
explanations generated by the model, implying its applicability to more
datasets without human-written explanations. | cs.CL | Explanation-based Finetuning Makes Models More Robust to Spurious Cues |
2023-05-08T18:53:14Z | http://arxiv.org/pdf/2305.04989v1 | http://arxiv.org/abs/2305.04989v1 | Kaushik Roy, Tarun Garg, Vedant Palit, Yuxin Zi, Vignesh Narayanan, Amit Sheth | 2023-05-08T18:53:14Z | cs.CL, cs.AI | A fundamental question in natural language processing is - what kind of
language structure and semantics is the language model capturing? Graph formats
such as knowledge graphs are easy to evaluate as they explicitly express
language semantics and structure. This study evaluates the semantics encoded in
the self-attention transformers by leveraging explicit knowledge graph
structures. We propose novel metrics to measure the reconstruction error when
providing graph path sequences from a knowledge graph and trying to
reproduce/reconstruct the same from the outputs of the self-attention
transformer models. The opacity of language models has an immense bearing on
societal issues of trust and explainable decision outcomes. Our findings
suggest that language models are models of stochastic control processes for
plausible language pattern generation. However, they do not ascribe object and
concept-level meaning and semantics to the learned stochastic patterns such as
those described in knowledge graphs. Furthermore, to enable robust evaluation
of concept understanding by language models, we construct and make public an
augmented language understanding benchmark built on the General Language
Understanding Evaluation (GLUE) benchmark. This has significant
application-level user trust implications as stochastic patterns without a
strong sense of meaning cannot be trusted in high-stakes applications. | cs.CL | Knowledge Graph Guided Semantic Evaluation of Language Models For User Trust |
2023-05-08T18:26:39Z | http://arxiv.org/pdf/2305.07666v1 | http://arxiv.org/abs/2305.07666v1 | Eunice Yiu, Eliza Kosoy, Alison Gopnik | 2023-05-08T18:26:39Z | cs.AI, cs.CL | Much discussion about large language models and language-and-vision models
has focused on whether these models are intelligent agents. We present an
alternative perspective. We argue that these artificial intelligence models are
cultural technologies that enhance cultural transmission in the modern world,
and are efficient imitation engines. We explore what AI models can tell us
about imitation and innovation by evaluating their capacity to design new tools
and discover novel causal structures, and contrast their responses with those
of human children. Our work serves as a first step in determining which
particular representations and competences, as well as which kinds of knowledge
or skill, can be derived from particular learning techniques and data.
Critically, our findings suggest that machines may need more than large scale
language and images to achieve what a child can do. | cs.AI | Imitation versus Innovation: What children can do that large language and language-and-vision models cannot (yet)? |
2023-05-08T18:20:36Z | http://arxiv.org/pdf/2305.04978v3 | http://arxiv.org/abs/2305.04978v3 | Phillip Howard, Junlin Wang, Vasudev Lal, Gadi Singer, Yejin Choi, Swabha Swayamdipta | 2024-04-06T00:15:25Z | cs.CL | Comparative knowledge (e.g., steel is stronger and heavier than styrofoam) is
an essential component of our world knowledge, yet understudied in prior
literature. In this paper, we harvest the dramatic improvements in knowledge
capabilities of language models into a large-scale comparative knowledge base.
While the ease of acquisition of such comparative knowledge is much higher from
extreme-scale models like GPT-4, compared to their considerably smaller and
weaker counterparts such as GPT-2, not even the most powerful models are exempt
from making errors. We thus ask: to what extent are models at different scales
able to generate valid and diverse comparative knowledge?
We introduce NeuroComparatives, a novel framework for comparative knowledge
distillation overgenerated from language models such as GPT-variants and LLaMA,
followed by stringent filtering of the generated knowledge. Our framework
acquires comparative knowledge between everyday objects, producing a corpus of
up to 8.8M comparisons over 1.74M entity pairs - 10X larger and 30% more
diverse than existing resources. Moreover, human evaluations show that
NeuroComparatives outperform existing resources in terms of validity (up to 32%
absolute improvement). Our acquired NeuroComparatives leads to performance
improvements on five downstream tasks. We find that neuro-symbolic manipulation
of smaller models offers complementary benefits to the currently dominant
practice of prompting extreme-scale language models for knowledge distillation. | cs.CL | NeuroComparatives: Neuro-Symbolic Distillation of Comparative Knowledge |
2023-05-08T18:04:18Z | http://arxiv.org/pdf/2305.04971v1 | http://arxiv.org/abs/2305.04971v1 | Peng Lu, Ahmad Rashid, Ivan Kobyzev, Mehdi Rezagholizadeh, Philippe Langlais | 2023-05-08T18:04:18Z | cs.LG, cs.CL | Regularization techniques are crucial to improving the generalization
performance and training efficiency of deep neural networks. Many deep learning
algorithms rely on weight decay, dropout, batch/layer normalization to converge
faster and generalize. Label Smoothing (LS) is another simple, versatile and
efficient regularization which can be applied to various supervised
classification tasks. Conventional LS, however, regardless of the training
instance assumes that each non-target class is equally likely. In this work, we
present a general framework for training with label regularization, which
includes conventional LS but can also model instance-specific variants. Based
on this formulation, we propose an efficient way of learning LAbel
regularization by devising a Bi-level Optimization (LABO) problem. We derive a
deterministic and interpretable solution of the inner loop as the optimal label
smoothing without the need to store the parameters or the output of a trained
model. Finally, we conduct extensive experiments and demonstrate our LABO
consistently yields improvement over conventional label regularization on
various fields, including seven machine translation and three image
classification tasks across various | cs.LG | LABO: Towards Learning Optimal Label Regularization via Bi-level Optimization |
2023-05-08T18:00:33Z | http://arxiv.org/pdf/2305.04961v1 | http://arxiv.org/abs/2305.04961v1 | Richard Luo, Austin Peng, Heidi Yap, Koby Beard | 2023-05-08T18:00:33Z | cs.CV, cs.CL, cs.LG | Video summarization has become an increasingly important task in the field of
computer vision due to the vast amount of video content available on the
internet. In this project, we propose a new method for natural language query
based joint video summarization and highlight detection using multi-modal
transformers. This approach will use both visual and audio cues to match a
user's natural language query to retrieve the most relevant and interesting
moments from a video. Our approach employs multiple recent techniques used in
Vision Transformers (ViTs) to create a transformer-like encoder-decoder model.
We evaluated our approach on multiple datasets such as YouTube Highlights and
TVSum to demonstrate the flexibility of our proposed method. | cs.CV | Joint Moment Retrieval and Highlight Detection Via Natural Language Queries |
2023-05-08T17:57:34Z | http://arxiv.org/pdf/2305.18086v1 | http://arxiv.org/abs/2305.18086v1 | Irene S. Gabashvili | 2023-05-08T17:57:34Z | cs.CY, cs.CL | The conversational artificial-intelligence (AI) technology ChatGPT has become
one of the most widely used natural language processing tools. With thousands
of published papers demonstrating its applications across various industries
and fields, ChatGPT has sparked significant interest in the research community.
Reviews of primary data have also begun to emerge. An overview of the available
evidence from multiple reviews and studies could provide further insights,
minimize redundancy, and identify areas where further research is needed.
Objective: To evaluate the existing reviews and literature related to ChatGPT's
applications and its potential impact on different fields by conducting a
systematic review of reviews and bibliometric analysis of primary literature.
Methods: PubMed, EuropePMC, Dimensions AI, medRxiv, bioRxiv, arXiv, and Google
Scholar were searched for ChatGPT-related publications from 2022 to 4/30/2023.
Studies including secondary data related to the application of ChatGPT were
considered. Reporting and risk of bias assesment was performed using PRISMA
guidelines. Results: A total of 305 unique records with potential relevance to
the review were identified from a pool of over 2,000 original articles. After
multi-step screening process, 11 reviews were selected, consisting of 9 reviews
specifically focused on ChatGPT and 2 reviews on broader AI topics that also
included discussions on ChatGPT. We also conducted bibliometric analysis of
primary data. Conclusions: While AI has the potential to revolutionize various
industries, further interdisciplinary research, customized integrations, and
ethical innovation are necessary to address existing concerns and ensure its
responsible use. Protocol Registration: PROSPERO registration no.
CRD42023417336, DOI 10.17605/OSF.IO/87U6Q. | cs.CY | The impact and applications of ChatGPT: a systematic review of literature reviews |
2023-05-08T17:42:23Z | http://arxiv.org/pdf/2305.04905v1 | http://arxiv.org/abs/2305.04905v1 | Lakshmi Arbatti, Abhishek Hosamath, Vikram Ramanarayanan, Ira Shoulson | 2023-05-08T17:42:23Z | cs.CL, cs.LG, eess.AS | The USA Food and Drug Administration has accorded increasing importance to
patient-reported problems in clinical and research settings. In this paper, we
explore one of the largest online datasets comprising 170,141 open-ended
self-reported responses (called "verbatims") from patients with Parkinson's
(PwPs) to questions about what bothers them about their Parkinson's Disease and
how it affects their daily functioning, also known as the Parkinson's Disease
Patient Report of Problems. Classifying such verbatims into multiple clinically
relevant symptom categories is an important problem and requires multiple steps
- expert curation, a multi-label text classification (MLTC) approach and large
amounts of labelled training data. Further, human annotation of such large
datasets is tedious and expensive. We present a novel solution to this problem
where we build a baseline dataset using 2,341 (of the 170,141) verbatims
annotated by nine curators including clinical experts and PwPs. We develop a
rules based linguistic-dictionary using NLP techniques and graph database-based
expert phrase-query system to scale the annotation to the remaining cohort
generating the machine annotated dataset, and finally build a Keras-Tensorflow
based MLTC model for both datasets. The machine annotated model significantly
outperforms the baseline model with a F1-score of 95% across 65 symptom
categories on a held-out test set. | cs.CL | What Do Patients Say About Their Disease Symptoms? Deep Multilabel Text Classification With Human-in-the-Loop Curation for Automatic Labeling of Patient Self Reports of Problems |
2023-05-08T17:08:14Z | http://arxiv.org/pdf/2305.04859v1 | http://arxiv.org/abs/2305.04859v1 | Mingxu Tao, Yansong Feng, Dongyan Zhao | 2023-05-08T17:08:14Z | cs.CL, cs.AI | Position embeddings, encoding the positional relationships among tokens in
text sequences, make great contributions to modeling local context features in
Transformer-based pre-trained language models. However, in Extractive Question
Answering, position embeddings trained with instances of varied context lengths
may not perform well as we expect. Since the embeddings of rear positions are
updated fewer times than the front position embeddings, the rear ones may not
be properly trained. In this paper, we propose a simple but effective strategy,
Random Padding, without any modifications to architectures of existing
pre-trained language models. We adjust the token order of input sequences when
fine-tuning, to balance the number of updating times of every position
embedding. Experiments show that Random Padding can significantly improve model
performance on the instances whose answers are located at rear positions,
especially when models are trained on short contexts but evaluated on long
contexts. Our code and data will be released for future research. | cs.CL | A Frustratingly Easy Improvement for Position Embeddings via Random Padding |
2023-05-08T17:00:49Z | http://arxiv.org/pdf/2305.04853v2 | http://arxiv.org/abs/2305.04853v2 | Fabian Retkowski | 2023-08-01T17:42:59Z | cs.CL, cs.AI | With the explosive growth of textual information, summarization systems have
become increasingly important. This work aims to concisely indicate the current
state of the art in abstractive text summarization. As part of this, we outline
the current paradigm shifts towards pre-trained encoder-decoder models and
large autoregressive language models. Additionally, we delve further into the
challenges of evaluating summarization systems and the potential of
instruction-tuned models for zero-shot summarization. Finally, we provide a
brief overview of how summarization systems are currently being integrated into
commercial applications. | cs.CL | The Current State of Summarization |
2023-05-08T16:47:28Z | http://arxiv.org/pdf/2305.04940v2 | http://arxiv.org/abs/2305.04940v2 | Anastasiia Grishina, Max Hort, Leon Moonen | 2023-09-11T17:56:10Z | cs.SE, cs.AI, cs.CL, cs.LG | The use of modern Natural Language Processing (NLP) techniques has shown to
be beneficial for software engineering tasks, such as vulnerability detection
and type inference. However, training deep NLP models requires significant
computational resources. This paper explores techniques that aim at achieving
the best usage of resources and available information in these models.
We propose a generic approach, EarlyBIRD, to build composite representations
of code from the early layers of a pre-trained transformer model. We
empirically investigate the viability of this approach on the CodeBERT model by
comparing the performance of 12 strategies for creating composite
representations with the standard practice of only using the last encoder
layer.
Our evaluation on four datasets shows that several early layer combinations
yield better performance on defect detection, and some combinations improve
multi-class classification. More specifically, we obtain a +2 average
improvement of detection accuracy on Devign with only 3 out of 12 layers of
CodeBERT and a 3.3x speed-up of fine-tuning. These findings show that early
layers can be used to obtain better results using the same resources, as well
as to reduce resource usage during fine-tuning and inference. | cs.SE | The EarlyBIRD Catches the Bug: On Exploiting Early Layers of Encoder Models for More Efficient Code Classification |
2023-05-08T16:41:08Z | http://arxiv.org/pdf/2305.04843v1 | http://arxiv.org/abs/2305.04843v1 | Jeremy Costello, Marek Z. Reformat | 2023-05-08T16:41:08Z | cs.CL, cs.LG | We apply reinforcement learning techniques to topic modeling by replacing the
variational autoencoder in ProdLDA with a continuous action space reinforcement
learning policy. We train the system with a policy gradient algorithm
REINFORCE. Additionally, we introduced several modifications: modernize the
neural network architecture, weight the ELBO loss, use contextual embeddings,
and monitor the learning process via computing topic diversity and coherence
for each training step. Experiments are performed on 11 data sets. Our
unsupervised model outperforms all other unsupervised models and performs on
par with or better than most models using supervised labeling. Our model is
outperformed on certain data sets by a model using supervised labeling and
contrastive learning. We have also conducted an ablation study to provide
empirical evidence of performance improvements from changes we made to ProdLDA
and found that the reinforcement learning formulation boosts performance. | cs.CL | Reinforcement Learning for Topic Models |
2023-05-08T16:32:18Z | http://arxiv.org/pdf/2305.04835v3 | http://arxiv.org/abs/2305.04835v3 | Shengnan An, Zeqi Lin, Qiang Fu, Bei Chen, Nanning Zheng, Jian-Guang Lou, Dongmei Zhang | 2023-06-09T02:25:29Z | cs.CL, cs.AI | Compositional generalization--understanding unseen combinations of seen
primitives--is an essential reasoning capability in human intelligence. The AI
community mainly studies this capability by fine-tuning neural networks on lots
of training samples, while it is still unclear whether and how in-context
learning--the prevailing few-shot paradigm based on large language
models--exhibits compositional generalization. In this paper, we present CoFe,
a test suite to investigate in-context compositional generalization. We find
that the compositional generalization performance can be easily affected by the
selection of in-context examples, thus raising the research question what the
key factors are to make good in-context examples for compositional
generalization. We study three potential factors: similarity, diversity and
complexity. Our systematic experiments indicate that in-context examples should
be structurally similar to the test case, diverse from each other, and
individually simple. Furthermore, two strong limitations are observed:
in-context compositional generalization on fictional words is much weaker than
that on commonly used ones; it is still critical that the in-context examples
should cover required linguistic structures, even though the backbone model has
been pre-trained on large corpus. We hope our analysis would facilitate the
understanding and utilization of in-context learning paradigm. | cs.CL | How Do In-Context Examples Affect Compositional Generalization? |
2023-05-08T16:24:46Z | http://arxiv.org/pdf/2305.04824v1 | http://arxiv.org/abs/2305.04824v1 | Zenan Xu, Xiaojun Meng, Yasheng Wang, Qinliang Su, Zexuan Qiu, Xin Jiang, Qun Liu | 2023-05-08T16:24:46Z | cs.CL | Multimodal abstractive summarization for videos (MAS) requires generating a
concise textual summary to describe the highlights of a video according to
multimodal resources, in our case, the video content and its transcript.
Inspired by the success of the large-scale generative pre-trained language
model (GPLM) in generating high-quality textual content (e.g., summary), recent
MAS methods have proposed to adapt the GPLM to this task by equipping it with
the visual information, which is often obtained through a general-purpose
visual feature extractor. However, the generally extracted visual features may
overlook some summary-worthy visual information, which impedes model
performance. In this work, we propose a novel approach to learning the
summary-worthy visual representation that facilitates abstractive
summarization. Our method exploits the summary-worthy information from both the
cross-modal transcript data and the knowledge that distills from the pseudo
summary. Extensive experiments on three public multimodal datasets show that
our method outperforms all competing baselines. Furthermore, with the
advantages of summary-worthy visual information, our model can have a
significant improvement on small datasets or even datasets with limited
training data. | cs.CL | Learning Summary-Worthy Visual Representation for Abstractive Summarization in Video |
2023-05-08T16:10:18Z | http://arxiv.org/pdf/2305.04812v3 | http://arxiv.org/abs/2305.04812v3 | Ning Bian, Hongyu Lin, Peilin Liu, Yaojie Lu, Chunkang Zhang, Ben He, Xianpei Han, Le Sun | 2023-10-20T10:18:44Z | cs.CL | Social cognitive theory explains how people learn and acquire knowledge
through observing others. Recent years have witnessed the rapid development of
large language models (LLMs), which suggests their potential significance as
agents in the society. LLMs, as AI agents, can observe external information,
which shapes their cognition and behaviors. However, the extent to which
external information influences LLMs' cognition and behaviors remains unclear.
This study investigates how external statements and opinions influence LLMs'
thoughts and behaviors from a social cognitive perspective. Three experiments
were conducted to explore the effects of external information on LLMs'
memories, opinions, and social media behavioral decisions. Sociocognitive
factors, including source authority, social identity, and social role, were
analyzed to investigate their moderating effects. Results showed that external
information can significantly shape LLMs' memories, opinions, and behaviors,
with these changes mirroring human social cognitive patterns such as authority
bias, in-group bias, emotional positivity, and emotion contagion. This
underscores the challenges in developing safe and unbiased LLMs, and emphasizes
the importance of understanding the susceptibility of LLMs to external
influences. | cs.CL | Influence of External Information on Large Language Models Mirrors Social Cognitive Patterns |
2023-05-08T16:08:42Z | http://arxiv.org/pdf/2305.04808v2 | http://arxiv.org/abs/2305.04808v2 | Weiqi Wang, Tianqing Fang, Baixuan Xu, Chun Yi Louis Bo, Yangqiu Song, Lei Chen | 2023-05-10T11:40:27Z | cs.CL | Commonsense reasoning, aiming at endowing machines with a human-like ability
to make situational presumptions, is extremely challenging to generalize. For
someone who barely knows about "meditation," while is knowledgeable about
"singing," he can still infer that "meditation makes people relaxed" from the
existing knowledge that "singing makes people relaxed" by first conceptualizing
"singing" as a "relaxing event" and then instantiating that event to
"meditation." This process, known as conceptual induction and deduction, is
fundamental to commonsense reasoning while lacking both labeled data and
methodologies to enhance commonsense modeling. To fill such a research gap, we
propose CAT (Contextualized ConceptuAlization and InsTantiation), a
semi-supervised learning framework that integrates event conceptualization and
instantiation to conceptualize commonsense knowledge bases at scale. Extensive
experiments show that our framework achieves state-of-the-art performances on
two conceptualization tasks, and the acquired abstract commonsense knowledge
can significantly improve commonsense inference modeling. Our code, data, and
fine-tuned models are publicly available at
https://github.com/HKUST-KnowComp/CAT. | cs.CL | CAT: A Contextualized Conceptualization and Instantiation Framework for Commonsense Reasoning |
2023-05-08T15:51:38Z | http://arxiv.org/pdf/2305.06163v1 | http://arxiv.org/abs/2305.06163v1 | Hunter McNichols, Mengxue Zhang, Andrew Lan | 2023-05-08T15:51:38Z | cs.CL, cs.AI | Automated feedback as students answer open-ended math questions has
significant potential in improving learning outcomes at large scale. A key part
of automated feedback systems is an error classification component, which
identifies student errors and enables appropriate, predefined feedback to be
deployed. Most existing approaches to error classification use a rule-based
method, which has limited capacity to generalize. Existing data-driven methods
avoid these limitations but specifically require mathematical expressions in
student responses to be parsed into syntax trees. This requirement is itself a
limitation, since student responses are not always syntactically valid and
cannot be converted into trees. In this work, we introduce a flexible method
for error classification using pre-trained large language models. We
demonstrate that our method can outperform existing methods in algebra error
classification, and is able to classify a larger set of student responses.
Additionally, we analyze common classification errors made by our method and
discuss limitations of automated error classification. | cs.CL | Algebra Error Classification with Large Language Models |
2023-05-08T15:45:42Z | http://arxiv.org/pdf/2305.04790v3 | http://arxiv.org/abs/2305.04790v3 | Tao Gong, Chengqi Lyu, Shilong Zhang, Yudong Wang, Miao Zheng, Qian Zhao, Kuikun Liu, Wenwei Zhang, Ping Luo, Kai Chen | 2023-06-13T13:31:12Z | cs.CV, cs.CL | We present a vision and language model named MultiModal-GPT to conduct
multi-round dialogue with humans. MultiModal-GPT can follow various
instructions from humans, such as generating a detailed caption, counting the
number of interested objects, and answering general questions from users.
MultiModal-GPT is parameter-efficiently fine-tuned from OpenFlamingo, with
Low-rank Adapter (LoRA) added both in the cross-attention part and the
self-attention part of the language model. We first construct instruction
templates with vision and language data for multi-modality instruction tuning
to make the model understand and follow human instructions. We find the quality
of training data is vital for the dialogue performance, where few data
containing short answers can lead the model to respond shortly to any
instructions. To further enhance the ability to chat with humans of the
MultiModal-GPT, we utilize language-only instruction-following data to train
the MultiModal-GPT jointly. The joint training of language-only and
visual-language instructions with the \emph{same} instruction template
effectively improves dialogue performance. Various demos show the ability of
continuous dialogue of MultiModal-GPT with humans. Code, dataset, and demo are
at https://github.com/open-mmlab/Multimodal-GPT | cs.CV | MultiModal-GPT: A Vision and Language Model for Dialogue with Humans |
2023-05-08T15:34:56Z | http://arxiv.org/pdf/2305.04782v2 | http://arxiv.org/abs/2305.04782v2 | David Wan, Shiyue Zhang, Mohit Bansal | 2023-12-03T19:31:39Z | cs.CL, cs.AI, cs.LG | Language models (LMs) can generate hallucinations and incoherent outputs,
which highlights their weak context dependency. Cache-LMs, which augment LMs
with a memory of recent history, can increase context dependency and have shown
remarkable performance in diverse language generation tasks. However, we find
that even with training, the performance gain stemming from the cache component
of current cache-LMs is suboptimal due to the misalignment between the current
hidden states and those stored in the memory. In this work, we present
HistAlign, a new training approach to ensure good cache alignment such that the
model receives useful signals from the history. We first prove our concept on a
simple and synthetic task where the memory is essential for correct
predictions, and we show that the cache component of HistAlign is better
aligned and improves overall performance. Next, we evaluate HistAlign on
diverse downstream language generation tasks, including prompt continuation,
abstractive summarization, and data-to-text. We demonstrate that HistAlign
improves text coherence and faithfulness in open-ended and conditional
generation settings respectively. HistAlign is also generalizable across
different model families, showcasing its strength in improving context
dependency of LMs in diverse scenarios. Our code is publicly available at
https://github.com/meetdavidwan/histalign | cs.CL | HistAlign: Improving Context Dependency in Language Generation by Aligning with History |
2023-05-08T15:05:16Z | http://arxiv.org/pdf/2305.04757v2 | http://arxiv.org/abs/2305.04757v2 | Ziyang Luo, Can Xu, Pu Zhao, Xiubo Geng, Chongyang Tao, Jing Ma, Qingwei Lin, Daxin Jiang | 2023-05-18T08:14:08Z | cs.CL, cs.AI, cs.LG | Large Language Models (LLMs) have significantly advanced natural language
processing (NLP) with their impressive language understanding and generation
capabilities. However, their performance may be suboptimal for domain-specific
tasks that require specialized knowledge due to limited exposure to the related
data. Additionally, the lack of transparency of most state-of-the-art (SOTA)
LLMs, which can only be accessed via APIs, impedes further fine-tuning with
domain custom data. Moreover, providing private data to the LLMs' owner leads
to data privacy problems. To address these challenges, we propose the novel
Parametric Knowledge Guiding (PKG) framework, which equips LLMs with a
knowledge-guiding module to access relevant knowledge without altering the
LLMs' parameters. Our PKG is based on open-source "white-box" language models,
allowing offline memory of any knowledge that LLMs require. We demonstrate that
our PKG framework can enhance the performance of "black-box" LLMs on a range of
domain knowledge-intensive tasks that require factual (+7.9%), tabular
(+11.9%), medical (+3.0%), and multimodal (+8.1%) knowledge. | cs.CL | Augmented Large Language Models with Parametric Knowledge Guiding |
2023-05-08T14:54:44Z | http://arxiv.org/pdf/2305.15323v1 | http://arxiv.org/abs/2305.15323v1 | Sukhpal Singh Gill, Rupinder Kaur | 2023-05-08T14:54:44Z | cs.CY, cs.CL | Artificial intelligence (AI) and machine learning have changed the nature of
scientific inquiry in recent years. Of these, the development of virtual
assistants has accelerated greatly in the past few years, with ChatGPT becoming
a prominent AI language model. In this study, we examine the foundations,
vision, research challenges of ChatGPT. This article investigates into the
background and development of the technology behind it, as well as its popular
applications. Moreover, we discuss the advantages of bringing everything
together through ChatGPT and Internet of Things (IoT). Further, we speculate on
the future of ChatGPT by considering various possibilities for study and
development, such as energy-efficiency, cybersecurity, enhancing its
applicability to additional technologies (Robotics and Computer Vision),
strengthening human-AI communications, and bridging the technological gap.
Finally, we discuss the important ethics and current trends of ChatGPT. | cs.CY | ChatGPT: Vision and Challenges |
2023-05-08T14:49:01Z | http://arxiv.org/pdf/2305.04749v1 | http://arxiv.org/abs/2305.04749v1 | Zhen Qin, Xiaodong Han, Weixuan Sun, Bowen He, Dong Li, Dongxu Li, Yuchao Dai, Lingpeng Kong, Yiran Zhong | 2023-05-08T14:49:01Z | cs.CL, cs.CV | Sequence modeling has important applications in natural language processing
and computer vision. Recently, the transformer-based models have shown strong
performance on various sequence modeling tasks, which rely on attention to
capture pairwise token relations, and position embedding to inject positional
information. While showing good performance, the transformer models are
inefficient to scale to long input sequences, mainly due to the quadratic
space-time complexity of attention. To overcome this inefficiency, we propose
to model sequences with a relative position encoded Toeplitz matrix and use a
Toeplitz matrix-vector production trick to reduce the space-time complexity of
the sequence modeling to log linear. A lightweight sub-network called relative
position encoder is proposed to generate relative position coefficients with a
fixed budget of parameters, enabling the proposed Toeplitz neural network to
deal with varying sequence lengths. In addition, despite being trained on
512-token sequences, our model can extrapolate input sequence length up to 14K
tokens in inference with consistent performance. Extensive experiments on
autoregressive and bidirectional language modeling, image modeling, and the
challenging Long-Range Arena benchmark show that our method achieves better
performance than its competitors in most downstream tasks while being
significantly faster. The code is available at
https://github.com/OpenNLPLab/Tnn. | cs.CL | Toeplitz Neural Network for Sequence Modeling |
2023-05-08T14:40:48Z | http://arxiv.org/pdf/2305.04737v1 | http://arxiv.org/abs/2305.04737v1 | Xiaoqiang Wang, Bang Liu, Siliang Tang, Lingfei Wu | 2023-05-08T14:40:48Z | cs.CL | We present $\textbf{$\texttt{SkillQG}$}$: a question generation framework
with controllable comprehension types for assessing and improving machine
reading comprehension models. Existing question generation systems widely
differentiate questions by $\textit{literal}$ information such as question
words and answer types to generate semantically relevant questions for a given
context. However, they rarely consider the $\textit{comprehension}$ nature of
questions, i.e. the different comprehension capabilities embodied by different
questions. In comparison, our $\texttt{SkillQG}$ is able to tailor a
fine-grained assessment and improvement to the capabilities of question
answering models built on it. Specifically, we first frame the comprehension
type of questions based on a hierarchical skill-based schema, then formulate
$\texttt{SkillQG}$ as a skill-conditioned question generator. Furthermore, to
improve the controllability of generation, we augment the input text with
question focus and skill-specific knowledge, which are constructed by
iteratively prompting the pre-trained language models. Empirical results
demonstrate that $\texttt{SkillQG}$ outperforms baselines in terms of quality,
relevance, and skill-controllability while showing a promising performance
boost in downstream question answering task. | cs.CL | SkillQG: Learning to Generate Question for Reading Comprehension Assessment |
2023-05-08T14:10:40Z | http://arxiv.org/pdf/2305.04720v2 | http://arxiv.org/abs/2305.04720v2 | ChaeHun Park, Seungil Chad Lee, Daniel Rim, Jaegul Choo | 2023-05-25T11:40:59Z | cs.CL | Despite the recent advances in open-domain dialogue systems, building a
reliable evaluation metric is still a challenging problem. Recent studies
proposed learnable metrics based on classification models trained to
distinguish the correct response. However, neural classifiers are known to make
overly confident predictions for examples from unseen distributions. We propose
DEnsity, which evaluates a response by utilizing density estimation on the
feature space derived from a neural classifier. Our metric measures how likely
a response would appear in the distribution of human conversations. Moreover,
to improve the performance of DEnsity, we utilize contrastive learning to
further compress the feature space. Experiments on multiple response evaluation
datasets show that DEnsity correlates better with human evaluations than the
existing metrics. Our code is available at https://github.com/ddehun/DEnsity. | cs.CL | DEnsity: Open-domain Dialogue Evaluation Metric using Density Estimation |
2023-05-08T12:53:06Z | http://arxiv.org/pdf/2305.04676v1 | http://arxiv.org/abs/2305.04676v1 | Milena Trajanoska, Riste Stojanov, Dimitar Trajanov | 2023-05-08T12:53:06Z | cs.CL | The growing trend of Large Language Models (LLM) development has attracted
significant attention, with models for various applications emerging
consistently. However, the combined application of Large Language Models with
semantic technologies for reasoning and inference is still a challenging task.
This paper analyzes how the current advances in foundational LLM, like ChatGPT,
can be compared with the specialized pretrained models, like REBEL, for joint
entity and relation extraction. To evaluate this approach, we conducted several
experiments using sustainability-related text as our use case. We created
pipelines for the automatic creation of Knowledge Graphs from raw texts, and
our findings indicate that using advanced LLM models can improve the accuracy
of the process of creating these graphs from unstructured text. Furthermore, we
explored the potential of automatic ontology creation using foundation LLM
models, which resulted in even more relevant and accurate knowledge graphs. | cs.CL | Enhancing Knowledge Graph Construction Using Large Language Models |
2023-05-08T12:51:00Z | http://arxiv.org/pdf/2305.04673v2 | http://arxiv.org/abs/2305.04673v2 | Leonardo Ranaldi, Elena Sofia Ruzzetti, Fabio Massimo Zanzotto | 2023-05-09T05:37:53Z | cs.CL, cs.AI | Pre-trained Language Models such as BERT are impressive machines with the
ability to memorize, possibly generalized learning examples. We present here a
small, focused contribution to the analysis of the interplay between
memorization and performance of BERT in downstream tasks. We propose PreCog, a
measure for evaluating memorization from pre-training, and we analyze its
correlation with the BERT's performance. Our experiments show that highly
memorized examples are better classified, suggesting memorization is an
essential key to success for BERT. | cs.CL | PreCog: Exploring the Relation between Memorization and Performance in Pre-trained Language Models |
2023-05-08T11:29:33Z | http://arxiv.org/pdf/2305.04636v1 | http://arxiv.org/abs/2305.04636v1 | Heming Xia, Peiyi Wang, Tianyu Liu, Binghuai Lin, Yunbo Cao, Zhifang Sui | 2023-05-08T11:29:33Z | cs.CL | Continual relation extraction (CRE) models aim at handling emerging new
relations while avoiding catastrophically forgetting old ones in the streaming
data. Though improvements have been shown by previous CRE studies, most of them
only adopt a vanilla strategy when models first learn representations of new
relations. In this work, we point out that there exist two typical biases after
training of this vanilla strategy: classifier bias and representation bias,
which causes the previous knowledge that the model learned to be shaded. To
alleviate those biases, we propose a simple yet effective classifier
decomposition framework that splits the last FFN layer into separated previous
and current classifiers, so as to maintain previous knowledge and encourage the
model to learn more robust representations at this training stage. Experimental
results on two standard benchmarks show that our proposed framework
consistently outperforms the state-of-the-art CRE models, which indicates that
the importance of the first training stage to CRE models may be underestimated.
Our code is available at https://github.com/hemingkx/CDec. | cs.CL | Enhancing Continual Relation Extraction via Classifier Decomposition |
2023-05-08T11:19:21Z | http://arxiv.org/pdf/2305.04631v1 | http://arxiv.org/abs/2305.04631v1 | Bojan Evkoski, Senja Pollak | 2023-05-08T11:19:21Z | cs.CL, cs.AI | The work covers the development and explainability of machine learning models
for predicting political leanings through parliamentary transcriptions. We
concentrate on the Slovenian parliament and the heated debate on the European
migrant crisis, with transcriptions from 2014 to 2020. We develop both
classical machine learning and transformer language models to predict the left-
or right-leaning of parliamentarians based on their given speeches on the topic
of migrants. With both types of models showing great predictive success, we
continue with explaining their decisions. Using explainability techniques, we
identify keywords and phrases that have the strongest influence in predicting
political leanings on the topic, with left-leaning parliamentarians using
concepts such as people and unity and speak about refugees, and right-leaning
parliamentarians using concepts such as nationality and focus more on illegal
migrants. This research is an example that understanding the reasoning behind
predictions can not just be beneficial for AI engineers to improve their
models, but it can also be helpful as a tool in the qualitative analysis steps
in interdisciplinary research. | cs.CL | XAI in Computational Linguistics: Understanding Political Leanings in the Slovenian Parliament |
2023-05-08T10:18:30Z | http://arxiv.org/pdf/2305.04599v1 | http://arxiv.org/abs/2305.04599v1 | Runcong Zhao, Lin Gui, Yulan He | 2023-05-08T10:18:30Z | cs.CL | Contrastive opinion extraction aims to extract a structured summary or key
points organised as positive and negative viewpoints towards a common aspect or
topic. Most recent works for unsupervised key point extraction is largely built
on sentence clustering or opinion summarisation based on the popularity of
opinions expressed in text. However, these methods tend to generate aspect
clusters with incoherent sentences, conflicting viewpoints, redundant aspects.
To address these problems, we propose a novel unsupervised Contrastive OpinioN
Extraction model, called Cone, which learns disentangled latent aspect and
sentiment representations based on pseudo aspect and sentiment labels by
combining contrastive learning with iterative aspect/sentiment clustering
refinement. Apart from being able to extract contrastive opinions, it is also
able to quantify the relative popularity of aspects and their associated
sentiment distributions. The model has been evaluated on both a hotel review
dataset and a Twitter dataset about COVID vaccines. The results show that
despite using no label supervision or aspect-denoted seed words, Cone
outperforms a number of competitive baselines on contrastive opinion
extraction. The results of Cone can be used to offer a better recommendation of
products and services online. | cs.CL | Cone: Unsupervised Contrastive Opinion Extraction |
2023-05-08T10:00:05Z | http://arxiv.org/pdf/2305.05383v1 | http://arxiv.org/abs/2305.05383v1 | Chenxiao Liu, Shuai Lu, Weizhu Chen, Daxin Jiang, Alexey Svyatkovskiy, Shengyu Fu, Neel Sundaresan, Nan Duan | 2023-05-08T10:00:05Z | cs.PL, cs.AI, cs.CL, cs.SE | Code execution is a fundamental aspect of programming language semantics that
reflects the exact behavior of the code. However, most pre-trained models for
code intelligence ignore the execution trace and only rely on source code and
syntactic structures. In this paper, we investigate how well pre-trained models
can understand and perform code execution. We develop a mutation-based data
augmentation technique to create a large-scale and realistic Python dataset and
task for code execution, which challenges existing models such as Codex. We
then present CodeExecutor, a Transformer model that leverages code execution
pre-training and curriculum learning to enhance its semantic comprehension. We
evaluate CodeExecutor on code execution and show its promising performance and
limitations. We also demonstrate its potential benefits for code intelligence
tasks such as zero-shot code-to-code search and text-to-code generation. Our
analysis provides insights into the learning and generalization abilities of
pre-trained models for code execution. | cs.PL | Code Execution with Pre-trained Language Models |
2023-05-08T09:48:21Z | http://arxiv.org/pdf/2305.04582v2 | http://arxiv.org/abs/2305.04582v2 | Leonhard Hennig, Philippe Thomas, Sebastian Möller | 2023-05-15T07:24:58Z | cs.CL | Relation extraction (RE) is a fundamental task in information extraction,
whose extension to multilingual settings has been hindered by the lack of
supervised resources comparable in size to large English datasets such as
TACRED (Zhang et al., 2017). To address this gap, we introduce the MultiTACRED
dataset, covering 12 typologically diverse languages from 9 language families,
which is created by machine-translating TACRED instances and automatically
projecting their entity annotations. We analyze translation and annotation
projection quality, identify error categories, and experimentally evaluate
fine-tuned pretrained mono- and multilingual language models in common transfer
learning scenarios. Our analyses show that machine translation is a viable
strategy to transfer RE instances, with native speakers judging more than 83%
of the translated instances to be linguistically and semantically acceptable.
We find monolingual RE model performance to be comparable to the English
original for many of the target languages, and that multilingual models trained
on a combination of English and target language data can outperform their
monolingual counterparts. However, we also observe a variety of translation and
annotation projection errors, both due to the MT systems and linguistic
features of the target languages, such as pronoun-dropping, compounding and
inflection, that degrade dataset quality and RE model performance. | cs.CL | MultiTACRED: A Multilingual Version of the TAC Relation Extraction Dataset |
2023-05-08T09:31:13Z | http://arxiv.org/pdf/2305.04573v1 | http://arxiv.org/abs/2305.04573v1 | Anchun Gui, Han Xiao | 2023-05-08T09:31:13Z | cs.CL | To fully leverage the advantages of large-scale pre-trained language models
(PLMs) on downstream tasks, it has become a ubiquitous adaptation paradigm to
fine-tune the entire parameters of PLMs. However, this paradigm poses issues of
inefficient updating and resource over-consuming for fine-tuning in data-scarce
and resource-limited scenarios, because of the large scale of parameters in
PLMs. To alleviate these concerns, in this paper, we propose a
parameter-efficient fine-tuning method HiFi, that is, only the highly
informative and strongly correlated attention heads for the specific task are
fine-tuned. To search for those significant attention heads, we develop a novel
framework to analyze the effectiveness of heads. Specifically, we first model
the relationship between heads into a graph from two perspectives of
information richness and correlation, and then apply PageRank algorithm to
determine the relative importance of each head. Extensive experiments on the
GLUE benchmark demonstrate the effectiveness of our method, and show that HiFi
obtains state-of-the-art performance over the prior baselines. | cs.CL | HiFi: High-Information Attention Heads Hold for Parameter-Efficient Model Adaptation |
2023-05-08T09:29:31Z | http://arxiv.org/pdf/2305.04572v2 | http://arxiv.org/abs/2305.04572v2 | Grzegorz Chrupała | 2023-05-23T14:15:00Z | cs.CL, cs.AI, eess.AS | Human language is firstly spoken and only secondarily written. Text, however,
is a very convenient and efficient representation of language, and modern
civilization has made it ubiquitous. Thus the field of NLP has overwhelmingly
focused on processing written rather than spoken language. Work on spoken
language, on the other hand, has been siloed off within the largely separate
speech processing community which has been inordinately preoccupied with
transcribing speech into text. Recent advances in deep learning have led to a
fortuitous convergence in methods between speech processing and mainstream NLP.
Arguably, the time is ripe for a unification of these two fields, and for
starting to take spoken language seriously as the primary mode of human
communication. Truly natural language processing could lead to better
integration with the rest of language science and could lead to systems which
are more data-efficient and more human-like, and which can communicate beyond
the textual modality. | cs.CL | Putting Natural in Natural Language Processing |
2023-05-08T09:12:44Z | http://arxiv.org/pdf/2305.04561v2 | http://arxiv.org/abs/2305.04561v2 | Sanghwan Kim, Farhad Nooralahzadeh, Morteza Rohanian, Koji Fujimoto, Mizuho Nishio, Ryo Sakamoto, Fabio Rinaldi, Michael Krauthammer | 2023-06-05T10:28:11Z | cs.CL | Recent transformer-based models have made significant strides in generating
radiology reports from chest X-ray images. However, a prominent challenge
remains: these models often lack prior knowledge, resulting in the generation
of synthetic reports that mistakenly reference non-existent prior exams. This
discrepancy can be attributed to a knowledge gap between radiologists and the
generation models. While radiologists possess patient-specific prior
information, the models solely receive X-ray images at a specific time point.
To tackle this issue, we propose a novel approach that leverages a rule-based
labeler to extract comparison prior information from radiology reports. This
extracted comparison prior is then seamlessly integrated into state-of-the-art
transformer-based models, enabling them to produce more realistic and
comprehensive reports. Our method is evaluated on English report datasets, such
as IU X-ray and MIMIC-CXR. The results demonstrate that our approach surpasses
baseline models in terms of natural language generation metrics. Notably, our
model generates reports that are free from false references to non-existent
prior exams, setting it apart from previous models. By addressing this
limitation, our approach represents a significant step towards bridging the gap
between radiologists and generation models in the domain of medical report
generation. | cs.CL | Boosting Radiology Report Generation by Infusing Comparison Prior |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.