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
|
---|---|---|---|---|---|---|---|---|
2024-03-05T07:16:51Z | http://arxiv.org/pdf/2403.02718v1 | http://arxiv.org/abs/2403.02718v1 | Mengyi Huang, Meng Xiao, Ludi Wang, Yi Du | 2024-03-05T07:16:51Z | cs.CL | Continuous Relation Extraction (CRE) aims to incrementally learn relation
knowledge from a non-stationary stream of data. Since the introduction of new
relational tasks can overshadow previously learned information, catastrophic
forgetting becomes a significant challenge in this domain. Current replay-based
training paradigms prioritize all data uniformly and train memory samples
through multiple rounds, which would result in overfitting old tasks and
pronounced bias towards new tasks because of the imbalances of the replay set.
To handle the problem, we introduce the DecouPled CRE (DP-CRE) framework that
decouples the process of prior information preservation and new knowledge
acquisition. This framework examines alterations in the embedding space as new
relation classes emerge, distinctly managing the preservation and acquisition
of knowledge. Extensive experiments show that DP-CRE significantly outperforms
other CRE baselines across two datasets. | cs.CL | DP-CRE: Continual Relation Extraction via Decoupled Contrastive Learning and Memory Structure Preservation |
2024-03-05T07:13:28Z | http://arxiv.org/pdf/2403.02715v2 | http://arxiv.org/abs/2403.02715v2 | Sang T. Truong, Duc Q. Nguyen, Toan Nguyen, Dong D. Le, Nhi N. Truong, Tho Quan, Sanmi Koyejo | 2024-05-26T17:13:32Z | cs.CL, cs.AI, 68T50 | Recent advancements in large language models (LLMs) have underscored their
importance in the evolution of artificial intelligence. However, despite
extensive pretraining on multilingual datasets, available open-sourced LLMs
exhibit limited effectiveness in processing Vietnamese. The challenge is
exacerbated by the absence of systematic benchmark datasets and metrics
tailored for Vietnamese LLM evaluation. To mitigate these issues, we have
finetuned LLMs specifically for Vietnamese and developed a comprehensive
evaluation framework encompassing 10 common tasks and 31 metrics. Our
evaluation results reveal that the fine-tuned LLMs exhibit enhanced
comprehension and generative capabilities in Vietnamese. Moreover, our analysis
indicates that models with more parameters can introduce more biases and
uncalibrated outputs and the key factor influencing LLM performance is the
quality of the training or fine-tuning datasets. These insights underscore the
significance of meticulous fine-tuning with high-quality datasets in enhancing
LLM performance. | cs.CL | Crossing Linguistic Horizons: Finetuning and Comprehensive Evaluation of Vietnamese Large Language Models |
2024-03-05T07:09:35Z | http://arxiv.org/pdf/2403.02713v1 | http://arxiv.org/abs/2403.02713v1 | Jiwen Zhang, Jihao Wu, Yihua Teng, Minghui Liao, Nuo Xu, Xiao Xiao, Zhongyu Wei, Duyu Tang | 2024-03-05T07:09:35Z | cs.CL, cs.CV, cs.HC, cs.LG | Large language model (LLM) leads to a surge of autonomous GUI agents for
smartphone, which completes a task triggered by natural language through
predicting a sequence of actions of API. Even though the task highly relies on
past actions and visual observations, existing studies typical consider little
semantic information carried out by intermediate screenshots and screen
operations. To address this, this work presents Chain-of-Action-Thought (dubbed
CoAT), which takes the description of the previous actions, the current screen,
and more importantly the action thinking of what actions should be performed
and the outcomes led by the chosen action. We demonstrate that, in a zero-shot
setting upon an off-the-shell LLM, CoAT significantly improves the goal
progress compared to standard context modeling. To further facilitate the
research in this line, we construct a benchmark Android-In-The-Zoo (AitZ),
which contains 18,643 screen-action pairs together with chain-of-action-thought
annotations. Experiments show that fine-tuning a 200M model on our AitZ dataset
achieves on par performance with CogAgent-Chat-18B. | cs.CL | Android in the Zoo: Chain-of-Action-Thought for GUI Agents |
2024-03-05T07:08:06Z | http://arxiv.org/pdf/2403.02712v2 | http://arxiv.org/abs/2403.02712v2 | Chan-Jan Hsu, Chang-Le Liu, Feng-Ting Liao, Po-Chun Hsu, Yi-Chang Chen, Da-Shan Shiu | 2024-04-03T14:29:41Z | cs.CL | Breeze-7B is an open-source language model based on Mistral-7B, designed to
address the need for improved language comprehension and chatbot-oriented
capabilities in Traditional Chinese. This technical report provides an overview
of the additional pretraining, finetuning, and evaluation stages for the
Breeze-7B model. The Breeze-7B family of base and chat models exhibits good
performance on language comprehension and chatbot-oriented tasks, reaching the
top in several benchmarks among models comparable in its complexity class. | cs.CL | Breeze-7B Technical Report |
2024-03-05T06:28:02Z | http://arxiv.org/pdf/2403.02698v1 | http://arxiv.org/abs/2403.02698v1 | Congzhi Zhang, Linhai Zhang, Deyu Zhou | 2024-03-05T06:28:02Z | cs.CL | Conventional multi-hop fact verification models are prone to rely on spurious
correlations from the annotation artifacts, leading to an obvious performance
decline on unbiased datasets. Among the various debiasing works, the causal
inference-based methods become popular by performing theoretically guaranteed
debiasing such as casual intervention or counterfactual reasoning. However,
existing causal inference-based debiasing methods, which mainly formulate fact
verification as a single-hop reasoning task to tackle shallow bias patterns,
cannot deal with the complicated bias patterns hidden in multiple hops of
evidence. To address the challenge, we propose Causal Walk, a novel method for
debiasing multi-hop fact verification from a causal perspective with front-door
adjustment. Specifically, in the structural causal model, the reasoning path
between the treatment (the input claim-evidence graph) and the outcome (the
veracity label) is introduced as the mediator to block the confounder. With the
front-door adjustment, the causal effect between the treatment and the outcome
is decomposed into the causal effect between the treatment and the mediator,
which is estimated by applying the idea of random walk, and the causal effect
between the mediator and the outcome, which is estimated with normalized
weighted geometric mean approximation. To investigate the effectiveness of the
proposed method, an adversarial multi-hop fact verification dataset and a
symmetric multi-hop fact verification dataset are proposed with the help of the
large language model. Experimental results show that Causal Walk outperforms
some previous debiasing methods on both existing datasets and the newly
constructed datasets. Code and data will be released at
https://github.com/zcccccz/CausalWalk. | cs.CL | Causal Walk: Debiasing Multi-Hop Fact Verification with Front-Door Adjustment |
2024-03-05T06:23:50Z | http://arxiv.org/pdf/2403.02694v2 | http://arxiv.org/abs/2403.02694v2 | Waris Gill, Mohamed Elidrisi, Pallavi Kalapatapu, Ali Anwar, Muhammad Ali Gulzar | 2024-04-03T16:06:30Z | cs.LG, cs.AI, cs.CL, cs.CR, cs.DC, I.2.7 | Large Language Models (LLMs) like ChatGPT and Llama2 have revolutionized
natural language processing and search engine dynamics. However, these models
incur exceptionally high computational costs. For instance, GPT-3 consists of
175 billion parameters where inference demands billions of floating-point
operations. Caching is a natural solution to reduce LLM inference costs on
repeated queries which constitute about 31% of the total queries. However,
existing caching methods are incapable of finding semantic similarities among
LLM queries, leading to unacceptable false hit-and-miss rates.
This paper introduces MeanCache, a user-centric semantic cache for LLMs that
identifies semantically similar queries to determine cache hit or miss. Using
MeanCache, the response to a user's semantically similar query can be retrieved
from a local cache rather than re-querying the LLM, thus reducing costs,
service provider load, and environmental impact. Existing caching solutions for
LLMs raise privacy and scalability concerns and perform wasteful query
requests. MeanCache leverages Federated Learning (FL) to collaboratively train
a query similarity model across LLM users without violating privacy. By placing
a local cache in each user's device and using FL, MeanCache reduces the latency
and costs and enhances model performance, resulting in lower false hit rates.
MeanCache compresses the embedding dimensions to minimize cache storage and
also finds the optimal cosine similarity threshold. Our experiments benchmarked
against the state-of-the-art caching method, reveal that MeanCache attains an
approximately 17% higher F-score and a 20% increase in precision during
semantic cache hit-and-miss decisions. It also reduces the storage requirement
by 83% and accelerates semantic cache hit-and-miss decisions by 11%. | cs.LG | Privacy-Aware Semantic Cache for Large Language Models |
2024-03-05T06:21:45Z | http://arxiv.org/pdf/2403.02691v2 | http://arxiv.org/abs/2403.02691v2 | Qiusi Zhan, Zhixiang Liang, Zifan Ying, Daniel Kang | 2024-03-25T17:25:10Z | cs.CL, cs.CR | Recent work has embodied LLMs as agents, allowing them to access tools,
perform actions, and interact with external content (e.g., emails or websites).
However, external content introduces the risk of indirect prompt injection
(IPI) attacks, where malicious instructions are embedded within the content
processed by LLMs, aiming to manipulate these agents into executing detrimental
actions against users. Given the potentially severe consequences of such
attacks, establishing benchmarks to assess and mitigate these risks is
imperative.
In this work, we introduce InjecAgent, a benchmark designed to assess the
vulnerability of tool-integrated LLM agents to IPI attacks. InjecAgent
comprises 1,054 test cases covering 17 different user tools and 62 attacker
tools. We categorize attack intentions into two primary types: direct harm to
users and exfiltration of private data. We evaluate 30 different LLM agents and
show that agents are vulnerable to IPI attacks, with ReAct-prompted GPT-4
vulnerable to attacks 24% of the time. Further investigation into an enhanced
setting, where the attacker instructions are reinforced with a hacking prompt,
shows additional increases in success rates, nearly doubling the attack success
rate on the ReAct-prompted GPT-4. Our findings raise questions about the
widespread deployment of LLM Agents. Our benchmark is available at
https://github.com/uiuc-kang-lab/InjecAgent. | cs.CL | InjecAgent: Benchmarking Indirect Prompt Injections in Tool-Integrated Large Language Model Agents |
2024-03-05T06:05:15Z | http://arxiv.org/pdf/2403.02677v1 | http://arxiv.org/abs/2403.02677v1 | Weizhi Wang, Khalil Mrini, Linjie Yang, Sateesh Kumar, Yu Tian, Xifeng Yan, Heng Wang | 2024-03-05T06:05:15Z | cs.CV, cs.CL | We propose a novel framework for filtering image-text data by leveraging
fine-tuned Multimodal Language Models (MLMs). Our approach outperforms
predominant filtering methods (e.g., CLIPScore) via integrating the recent
advances in MLMs. We design four distinct yet complementary metrics to
holistically measure the quality of image-text data. A new pipeline is
established to construct high-quality instruction data for fine-tuning MLMs as
data filters. Comparing with CLIPScore, our MLM filters produce more precise
and comprehensive scores that directly improve the quality of filtered data and
boost the performance of pre-trained models. We achieve significant
improvements over CLIPScore on popular foundation models (i.e., CLIP and BLIP2)
and various downstream tasks. Our MLM filter can generalize to different models
and tasks, and be used as a drop-in replacement for CLIPScore. An additional
ablation study is provided to verify our design choices for the MLM filter. | cs.CV | Finetuned Multimodal Language Models Are High-Quality Image-Text Data Filters |
2024-03-05T05:53:09Z | http://arxiv.org/pdf/2403.02674v2 | http://arxiv.org/abs/2403.02674v2 | Masamune Kobayashi, Masato Mita, Mamoru Komachi | 2024-05-26T12:05:35Z | cs.CL | Metrics are the foundation for automatic evaluation in grammatical error
correction (GEC), with their evaluation of the metrics (meta-evaluation)
relying on their correlation with human judgments. However, conventional
meta-evaluations in English GEC encounter several challenges including biases
caused by inconsistencies in evaluation granularity, and an outdated setup
using classical systems. These problems can lead to misinterpretation of
metrics and potentially hinder the applicability of GEC techniques. To address
these issues, this paper proposes SEEDA, a new dataset for GEC meta-evaluation.
SEEDA consists of corrections with human ratings along two different
granularities: edit-based and sentence-based, covering 12 state-of-the-art
systems including large language models (LLMs), and two human corrections with
different focuses. The results of improved correlations by aligning the
granularity in the sentence-level meta-evaluation, suggest that edit-based
metrics may have been underestimated in existing studies. Furthermore,
correlations of most metrics decrease when changing from classical to neural
systems, indicating that traditional metrics are relatively poor at evaluating
fluently corrected sentences with many edits. | cs.CL | Revisiting Meta-evaluation for Grammatical Error Correction |
2024-03-05T04:58:37Z | http://arxiv.org/pdf/2403.04797v1 | http://arxiv.org/abs/2403.04797v1 | Zhenyu Zhang, Runjin Chen, Shiwei Liu, Zhewei Yao, Olatunji Ruwase, Beidi Chen, Xiaoxia Wu, Zhangyang Wang | 2024-03-05T04:58:37Z | cs.CL, cs.LG | This paper aims to overcome the "lost-in-the-middle" challenge of large
language models (LLMs). While recent advancements have successfully enabled
LLMs to perform stable language modeling with up to 4 million tokens, the
persistent difficulty faced by most LLMs in identifying relevant information
situated in the middle of the context has not been adequately tackled. To
address this problem, this paper introduces Multi-scale Positional Encoding
(Ms-PoE) which is a simple yet effective plug-and-play approach to enhance the
capacity of LLMs to handle the relevant information located in the middle of
the context, without fine-tuning or introducing any additional overhead. Ms-PoE
leverages the position indice rescaling to relieve the long-term decay effect
introduced by RoPE, while meticulously assigning distinct scaling ratios to
different attention heads to preserve essential knowledge learned during the
pre-training step, forming a multi-scale context fusion from short to long
distance. Extensive experiments with a wide range of LLMs demonstrate the
efficacy of our approach. Notably, Ms-PoE achieves an average accuracy gain of
up to 3.8 on the Zero-SCROLLS benchmark over the original LLMs. Code are
available at https://github.com/VITA-Group/Ms-PoE. | cs.CL | Found in the Middle: How Language Models Use Long Contexts Better via Plug-and-Play Positional Encoding |
2024-03-05T04:33:36Z | http://arxiv.org/pdf/2403.02647v1 | http://arxiv.org/abs/2403.02647v1 | Xiangyu Li, Xinjie Shen, Yawen Zeng, Xiaofen Xing, Jin Xu | 2024-03-05T04:33:36Z | cs.CL, cs.AI | The task of stock earnings forecasting has received considerable attention
due to the demand investors in real-world scenarios. However, compared with
financial institutions, it is not easy for ordinary investors to mine factors
and analyze news. On the other hand, although large language models in the
financial field can serve users in the form of dialogue robots, it still
requires users to have financial knowledge to ask reasonable questions. To
serve the user experience, we aim to build an automatic system, FinReport, for
ordinary investors to collect information, analyze it, and generate reports
after summarizing.
Specifically, our FinReport is based on financial news announcements and a
multi-factor model to ensure the professionalism of the report. The FinReport
consists of three modules: news factorization module, return forecasting
module, risk assessment module. The news factorization module involves
understanding news information and combining it with stock factors, the return
forecasting module aim to analysis the impact of news on market sentiment, and
the risk assessment module is adopted to control investment risk. Extensive
experiments on real-world datasets have well verified the effectiveness and
explainability of our proposed FinReport. Our codes and datasets are available
at https://github.com/frinkleko/FinReport. | cs.CL | FinReport: Explainable Stock Earnings Forecasting via News Factor Analyzing Model |
2024-03-05T03:07:10Z | http://arxiv.org/pdf/2403.02615v1 | http://arxiv.org/abs/2403.02615v1 | Jinman Zhao, Xueyan Zhang | 2024-03-05T03:07:10Z | cs.CL | We present a comprehensive evaluation of large language models(LLMs)' ability
to reason about composition relations through a benchmark encompassing 1,500
test cases in English, designed to cover six distinct types of composition
relations: Positional, Comparative, Personal, Mathematical, Identity, and
Other. Acknowledging the significance of multilingual capabilities, we expanded
our assessment to include translations of these cases into Chinese, Japanese,
French, and Korean. Our Multilingual Composition Relation (MCR) benchmark aims
at investigating the robustness and adaptability of LLMs in handling
composition relation reasoning across diverse linguistic contexts. | cs.CL | Exploring the Limitations of Large Language Models in Compositional Relation Reasoning |
2024-03-05T01:46:50Z | http://arxiv.org/pdf/2403.02586v1 | http://arxiv.org/abs/2403.02586v1 | Zefan Cai, Po-Nien Kung, Ashima Suvarna, Mingyu Derek Ma, Hritik Bansal, Baobao Chang, P. Jeffrey Brantingham, Wei Wang, Nanyun Peng | 2024-03-05T01:46:50Z | cs.CL | Existing approaches on zero-shot event detection usually train models on
datasets annotated with known event types, and prompt them with unseen event
definitions. These approaches yield sporadic successes, yet generally fall
short of expectations. In this work, we aim to improve zero-shot event
detection by training models to better follow event definitions. We hypothesize
that a diverse set of event types and definitions are the key for models to
learn to follow event definitions while existing event extraction datasets
focus on annotating many high-quality examples for a few event types. To verify
our hypothesis, we construct an automatically generated Diverse Event
Definition (DivED) dataset and conduct comparative studies. Our experiments
reveal that a large number of event types (200) and diverse event definitions
can significantly boost event extraction performance; on the other hand, the
performance does not scale with over ten examples per event type. Beyond
scaling, we incorporate event ontology information and hard-negative samples
during training, further boosting the performance. Based on these findings, we
fine-tuned a LLaMA-2-7B model on our DivED dataset, yielding performance that
surpasses SOTA large language models like GPT-3.5 across three open benchmarks
on zero-shot event detection. | cs.CL | Improving Event Definition Following For Zero-Shot Event Detection |
2024-03-05T01:13:56Z | http://arxiv.org/pdf/2403.02574v1 | http://arxiv.org/abs/2403.02574v1 | Yutong Li, Lu Chen, Aiwei Liu, Kai Yu, Lijie Wen | 2024-03-05T01:13:56Z | cs.IR, cs.AI, cs.CL, 68T50, I.2.7 | The literature review is an indispensable step in the research process. It
provides the benefit of comprehending the research problem and understanding
the current research situation while conducting a comparative analysis of prior
works. However, literature summary is challenging and time consuming. The
previous LLM-based studies on literature review mainly focused on the complete
process, including literature retrieval, screening, and summarization. However,
for the summarization step, simple CoT method often lacks the ability to
provide extensive comparative summary. In this work, we firstly focus on the
independent literature summarization step and introduce ChatCite, an LLM agent
with human workflow guidance for comparative literature summary. This agent, by
mimicking the human workflow, first extracts key elements from relevant
literature and then generates summaries using a Reflective Incremental
Mechanism. In order to better evaluate the quality of the generated summaries,
we devised a LLM-based automatic evaluation metric, G-Score, in refer to the
human evaluation criteria. The ChatCite agent outperformed other models in
various dimensions in the experiments. The literature summaries generated by
ChatCite can also be directly used for drafting literature reviews. | cs.IR | ChatCite: LLM Agent with Human Workflow Guidance for Comparative Literature Summary |
2024-03-05T00:48:56Z | http://arxiv.org/pdf/2403.02567v2 | http://arxiv.org/abs/2403.02567v2 | Bryan Li, Tamer Alkhouli, Daniele Bonadiman, Nikolaos Pappas, Saab Mansour | 2024-06-12T07:13:01Z | cs.CL, cs.AI | The development of large language models (LLM) has shown progress on
reasoning, though studies have largely considered either English or simple
reasoning tasks. To address this, we introduce a multilingual structured
reasoning and explanation dataset, termed xSTREET, that covers four tasks
across six languages. xSTREET exposes a gap in base LLM performance between
English and non-English reasoning tasks.
We then propose two methods to remedy this gap, building on the insight that
LLMs trained on code are better reasoners. First, at training time, we augment
a code dataset with multilingual comments using machine translation while
keeping program code as-is. Second, at inference time, we bridge the gap
between training and inference by employing a prompt structure that
incorporates step-by-step code primitives to derive new facts and find a
solution. Our methods show improved multilingual performance on xSTREET, most
notably on the scientific commonsense reasoning subtask. Furthermore, the
models show no regression on non-reasoning tasks, thus demonstrating our
techniques maintain general-purpose abilities. | cs.CL | Eliciting Better Multilingual Structured Reasoning from LLMs through Code |
2024-03-05T00:37:36Z | http://arxiv.org/pdf/2403.02563v1 | http://arxiv.org/abs/2403.02563v1 | Aashaka Desai, Maartje De Meulder, Julie A. Hochgesang, Annemarie Kocab, Alex X. Lu | 2024-03-05T00:37:36Z | cs.CV, cs.CL | Growing research in sign language recognition, generation, and translation AI
has been accompanied by calls for ethical development of such technologies.
While these works are crucial to helping individual researchers do better,
there is a notable lack of discussion of systemic biases or analysis of
rhetoric that shape the research questions and methods in the field, especially
as it remains dominated by hearing non-signing researchers. Therefore, we
conduct a systematic review of 101 recent papers in sign language AI. Our
analysis identifies significant biases in the current state of sign language AI
research, including an overfocus on addressing perceived communication
barriers, a lack of use of representative datasets, use of annotations lacking
linguistic foundations, and development of methods that build on flawed models.
We take the position that the field lacks meaningful input from Deaf
stakeholders, and is instead driven by what decisions are the most convenient
or perceived as important to hearing researchers. We end with a call to action:
the field must make space for Deaf researchers to lead the conversation in sign
language AI. | cs.CV | Systemic Biases in Sign Language AI Research: A Deaf-Led Call to Reevaluate Research Agendas |
2024-03-05T00:27:43Z | http://arxiv.org/pdf/2403.02558v1 | http://arxiv.org/abs/2403.02558v1 | Brenda Y. Miao, Irene Y. Chen, Christopher YK Williams, Jaysón Davidson, Augusto Garcia-Agundez, Harry Sun, Travis Zack, Atul J. Butte, Madhumita Sushil | 2024-03-05T00:27:43Z | cs.CL, cs.CV | Recent advances in generative models, including large language models (LLMs),
vision language models (VLMs), and diffusion models, have accelerated the field
of natural language and image processing in medicine and marked a significant
paradigm shift in how biomedical models can be developed and deployed. While
these models are highly adaptable to new tasks, scaling and evaluating their
usage presents new challenges not addressed in previous frameworks. In
particular, the ability of these models to produce useful outputs with little
to no specialized training data ("zero-" or "few-shot" approaches), as well as
the open-ended nature of their outputs, necessitate the development of updated
guidelines in using and evaluating these models. In response to gaps in
standards and best practices for the development of clinical AI tools
identified by US Executive Order 141103 and several emerging national networks
for clinical AI evaluation, we begin to formalize some of these guidelines by
building on the "Minimum information about clinical artificial intelligence
modeling" (MI-CLAIM) checklist. The MI-CLAIM checklist, originally developed in
2020, provided a set of six steps with guidelines on the minimum information
necessary to encourage transparent, reproducible research for artificial
intelligence (AI) in medicine. Here, we propose modifications to the original
checklist that highlight differences in training, evaluation, interpretability,
and reproducibility of generative models compared to traditional AI models for
clinical research. This updated checklist also seeks to clarify cohort
selection reporting and adds additional items on alignment with ethical
standards. | cs.CL | Updating the Minimum Information about CLinical Artificial Intelligence (MI-CLAIM) checklist for generative modeling research |
2024-03-04T22:47:58Z | http://arxiv.org/pdf/2403.02528v1 | http://arxiv.org/abs/2403.02528v1 | Xueqing Wu, Rui Zheng, Jingzhen Sha, Te-Lin Wu, Hanyu Zhou, Mohan Tang, Kai-Wei Chang, Nanyun Peng, Haoran Huang | 2024-03-04T22:47:58Z | cs.CL, cs.AI | Data analysis is a crucial analytical process to generate in-depth studies
and conclusive insights to comprehensively answer a given user query for
tabular data. In this work, we aim to propose new resources and benchmarks to
inspire future research on this crucial yet challenging and under-explored
task. However, collecting data analysis annotations curated by experts can be
prohibitively expensive. We propose to automatically generate high-quality
answer annotations leveraging the code-generation capabilities of LLMs with a
multi-turn prompting technique. We construct the DACO dataset, containing (1)
440 databases (of tabular data) collected from real-world scenarios, (2) ~2k
query-answer pairs that can serve as weak supervision for model training, and
(3) a concentrated but high-quality test set with human refined annotations
that serves as our main evaluation benchmark. We train a 6B supervised
fine-tuning (SFT) model on DACO dataset, and find that the SFT model learns
reasonable data analysis capabilities. To further align the models with human
preference, we use reinforcement learning to encourage generating analysis
perceived by human as helpful, and design a set of dense rewards to propagate
the sparse human preference reward to intermediate code generation steps. Our
DACO-RL algorithm is evaluated by human annotators to produce more helpful
answers than SFT model in 57.72% cases, validating the effectiveness of our
proposed algorithm. Data and code are released at
https://github.com/shirley-wu/daco | cs.CL | DACO: Towards Application-Driven and Comprehensive Data Analysis via Code Generation |
2024-03-04T22:02:12Z | http://arxiv.org/pdf/2403.02513v1 | http://arxiv.org/abs/2403.02513v1 | Chen Zheng, Ke Sun, Hang Wu, Chenguang Xi, Xun Zhou | 2024-03-04T22:02:12Z | cs.CL | In recent advancements in Conversational Large Language Models (LLMs), a
concerning trend has emerged, showing that many new base LLMs experience a
knowledge reduction in their foundational capabilities following Supervised
Fine-Tuning (SFT). This process often leads to issues such as forgetting or a
decrease in the base model's abilities. Moreover, fine-tuned models struggle to
align with user preferences, inadvertently increasing the generation of toxic
outputs when specifically prompted. To overcome these challenges, we adopted an
innovative approach by completely bypassing SFT and directly implementing
Harmless Reinforcement Learning from Human Feedback (RLHF). Our method not only
preserves the base model's general capabilities but also significantly enhances
its conversational abilities, while notably reducing the generation of toxic
outputs. Our approach holds significant implications for fields that demand a
nuanced understanding and generation of responses, such as customer service. We
applied this methodology to Mistral, the most popular base model, thereby
creating Mistral-Plus. Our validation across 11 general tasks demonstrates that
Mistral-Plus outperforms similarly sized open-source base models and their
corresponding instruct versions. Importantly, the conversational abilities of
Mistral-Plus were significantly improved, indicating a substantial advancement
over traditional SFT models in both safety and user preference alignment. | cs.CL | Balancing Enhancement, Harmlessness, and General Capabilities: Enhancing Conversational LLMs with Direct RLHF |
2024-03-04T21:55:22Z | http://arxiv.org/pdf/2403.02509v1 | http://arxiv.org/abs/2403.02509v1 | Xiang Gao, Jiaxin Zhang, Lalla Mouatadid, Kamalika Das | 2024-03-04T21:55:22Z | cs.CL, cs.AI | In recent years, large language models (LLMs) have become increasingly
prevalent, offering remarkable text generation capabilities. However, a
pressing challenge is their tendency to make confidently wrong predictions,
highlighting the critical need for uncertainty quantification (UQ) in LLMs.
While previous works have mainly focused on addressing aleatoric uncertainty,
the full spectrum of uncertainties, including epistemic, remains inadequately
explored. Motivated by this gap, we introduce a novel UQ method, sampling with
perturbation for UQ (SPUQ), designed to tackle both aleatoric and epistemic
uncertainties. The method entails generating a set of perturbations for LLM
inputs, sampling outputs for each perturbation, and incorporating an
aggregation module that generalizes the sampling uncertainty approach for text
generation tasks. Through extensive experiments on various datasets, we
investigated different perturbation and aggregation techniques. Our findings
show a substantial improvement in model uncertainty calibration, with a
reduction in Expected Calibration Error (ECE) by 50\% on average. Our findings
suggest that our proposed UQ method offers promising steps toward enhancing the
reliability and trustworthiness of LLMs. | cs.CL | SPUQ: Perturbation-Based Uncertainty Quantification for Large Language Models |
2024-03-04T21:51:11Z | http://arxiv.org/pdf/2403.02504v1 | http://arxiv.org/abs/2403.02504v1 | Yu Wang | 2024-03-04T21:51:11Z | cs.CL, cs.AI | The pretrain-finetune paradigm represents a transformative approach in
natural language processing (NLP). This paradigm distinguishes itself through
the use of large pretrained language models, demonstrating remarkable
efficiency in finetuning tasks, even with limited training data. This
efficiency is especially beneficial for research in social sciences, where the
number of annotated samples is often quite limited. Our tutorial offers a
comprehensive introduction to the pretrain-finetune paradigm. We first delve
into the fundamental concepts of pretraining and finetuning, followed by
practical exercises using real-world applications. We demonstrate the
application of the paradigm across various tasks, including multi-class
classification and regression. Emphasizing its efficacy and user-friendliness,
the tutorial aims to encourage broader adoption of this paradigm. To this end,
we have provided open access to all our code and datasets. The tutorial is
particularly valuable for quantitative researchers in psychology, offering them
an insightful guide into this innovative approach. | cs.CL | A Tutorial on the Pretrain-Finetune Paradigm for Natural Language Processing |
2024-03-04T21:50:29Z | http://arxiv.org/pdf/2403.02502v1 | http://arxiv.org/abs/2403.02502v1 | Yifan Song, Da Yin, Xiang Yue, Jie Huang, Sujian Li, Bill Yuchen Lin | 2024-03-04T21:50:29Z | cs.CL, cs.AI, cs.LG | Large Language Models (LLMs) have become integral components in various
autonomous agent systems. In this study, we present an exploration-based
trajectory optimization approach, referred to as ETO. This learning method is
designed to enhance the performance of open LLM agents. Contrary to previous
studies that exclusively train on successful expert trajectories, our method
allows agents to learn from their exploration failures. This leads to improved
performance through an iterative optimization framework. During the exploration
phase, the agent interacts with the environment while completing given tasks,
gathering failure trajectories to create contrastive trajectory pairs. In the
subsequent training phase, the agent utilizes these trajectory preference pairs
to update its policy using contrastive learning methods like DPO. This
iterative cycle of exploration and training fosters continued improvement in
the agents. Our experiments on three complex tasks demonstrate that ETO
consistently surpasses baseline performance by a large margin. Furthermore, an
examination of task-solving efficiency and potential in scenarios lacking
expert trajectory underscores the effectiveness of our approach. | cs.CL | Trial and Error: Exploration-Based Trajectory Optimization for LLM Agents |
2024-03-04T21:43:59Z | http://arxiv.org/pdf/2403.02496v1 | http://arxiv.org/abs/2403.02496v1 | Stephanie Day, Jin K. Hwang, Tracy Arner, Danielle McNamara, Carol Connor | 2024-03-04T21:43:59Z | cs.CL | The purpose of this feasibility study was to examine the potential impact of
reading digital interactive e-books on essential skills that support reading
comprehension with third-fifth grade students. Students read two e-Books that
taught word learning and comprehension monitoring strategies in the service of
learning difficult vocabulary and targeted science concepts about hurricanes.
We investigated whether specific comprehension strategies including word
learning and strategies that supported general reading comprehension,
summarization, and question generation, show promise of effectiveness in
building vocabulary knowledge and comprehension skills in the e-Books. Students
were assigned to read one of three versions of each of the e-Books, each
version implemented one strategy. The books employed a choose-your-adventure
format with embedded comprehension questions that provided students with
immediate feedback on their responses. Paired samples t-tests were run to
examine pre-to-post differences in learning the targeted vocabulary and science
concepts taught in both e-Books. For both e-Books, students demonstrated
significant gains in word learning and on the targeted hurricane concepts.
Additionally, Hierarchical Linear Modeling (HLM) revealed that no one strategy
was more associated with larger gains than the other. Performance on the
embedded questions in the books was also associated with greater posttest
outcomes for both e-Books. This work discusses important considerations for
implementation and future development of e-books that can enhance student
engagement and improve reading comprehension. | cs.CL | Choose Your Own Adventure: Interactive E-Books to Improve Word Knowledge and Comprehension Skills |
2024-03-04T20:39:24Z | http://arxiv.org/pdf/2403.02475v1 | http://arxiv.org/abs/2403.02475v1 | Zixuan Liu, Xiaolin Sun, Zizhan Zheng | 2024-03-04T20:39:24Z | cs.LG, cs.CL | The rapidly increasing capabilities of large language models (LLMs) raise an
urgent need to align AI systems with diverse human preferences to
simultaneously enhance their usefulness and safety, despite the often
conflicting nature of these goals. To address this important problem, a
promising approach is to enforce a safety constraint at the fine-tuning stage
through a constrained Reinforcement Learning from Human Feedback (RLHF)
framework. This approach, however, is computationally expensive and often
unstable. In this work, we introduce Constrained DPO (C-DPO), a novel extension
of the recently proposed Direct Preference Optimization (DPO) approach for
fine-tuning LLMs that is both efficient and lightweight. By integrating dual
gradient descent and DPO, our method identifies a nearly optimal trade-off
between helpfulness and harmlessness without using reinforcement learning.
Empirically, our approach provides a safety guarantee to LLMs that is missing
in DPO while achieving significantly higher rewards under the same safety
constraint compared to a recently proposed safe RLHF approach.
Warning: This paper contains example data that may be offensive or harmful. | cs.LG | Enhancing LLM Safety via Constrained Direct Preference Optimization |
2024-03-04T20:39:21Z | http://arxiv.org/pdf/2403.02474v1 | http://arxiv.org/abs/2403.02474v1 | Krishnapriya Vishnubhotla, Adam Hammond, Graeme Hirst, Saif M. Mohammad | 2024-03-04T20:39:21Z | cs.CL | Stories are rich in the emotions they exhibit in their narratives and evoke
in the readers. The emotional journeys of the various characters within a story
are central to their appeal. Computational analysis of the emotions of novels,
however, has rarely examined the variation in the emotional trajectories of the
different characters within them, instead considering the entire novel to
represent a single story arc. In this work, we use character dialogue to
distinguish between the emotion arcs of the narration and the various
characters. We analyze the emotion arcs of the various characters in a dataset
of English literary novels using the framework of Utterance Emotion Dynamics.
Our findings show that the narration and the dialogue largely express disparate
emotions through the course of a novel, and that the commonalities or
differences in the emotional arcs of stories are more accurately captured by
those associated with individual characters. | cs.CL | The Emotion Dynamics of Literary Novels |
2024-03-04T20:34:58Z | http://arxiv.org/pdf/2403.02472v6 | http://arxiv.org/abs/2403.02472v6 | Amit Das, Mostafa Rahgouy, Dongji Feng, Zheng Zhang, Tathagata Bhattacharya, Nilanjana Raychawdhary, Fatemeh Jamshidi, Vinija Jain, Aman Chadha, Mary Sandage, Lauramarie Pope, Gerry Dozier, Cheryl Seals | 2024-06-17T18:23:06Z | cs.CL | The widespread presence of hateful languages on social media has resulted in
adverse effects on societal well-being. As a result, addressing this issue with
high priority has become very important. Hate speech or offensive languages
exist in both explicit and implicit forms, with the latter being more
challenging to detect. Current research in this domain encounters several
challenges. Firstly, the existing datasets primarily rely on the collection of
texts containing explicit offensive keywords, making it challenging to capture
implicitly offensive contents that are devoid of these keywords. Secondly,
common methodologies tend to focus solely on textual analysis, neglecting the
valuable insights that community information can provide. In this research
paper, we introduce a novel dataset OffensiveLang, a community based implicit
offensive language dataset generated by ChatGPT 3.5 containing data for 38
different target groups. Despite limitations in generating offensive texts
using ChatGPT due to ethical constraints, we present a prompt-based approach
that effectively generates implicit offensive languages. To ensure data
quality, we evaluate the dataset with human. Additionally, we employ a
prompt-based zero-shot method with ChatGPT and compare the detection results
between human annotation and ChatGPT annotation. We utilize existing
state-of-the-art models to see how effective they are in detecting such
languages. The dataset is available here:
https://github.com/AmitDasRup123/OffensiveLang | cs.CL | OffensiveLang: A Community Based Implicit Offensive Language Dataset |
2024-03-04T20:07:17Z | http://arxiv.org/pdf/2403.02451v2 | http://arxiv.org/abs/2403.02451v2 | Adil Soubki, John Murzaku, Arash Yousefi Jordehi, Peter Zeng, Magdalena Markowska, Seyed Abolghasem Mirroshandel, Owen Rambow | 2024-06-06T00:30:01Z | cs.CL | Evaluating the theory of mind (ToM) capabilities of language models (LMs) has
recently received a great deal of attention. However, many existing benchmarks
rely on synthetic data, which risks misaligning the resulting experiments with
human behavior. We introduce the first ToM dataset based on naturally occurring
spoken dialogs, Common-ToM, and show that LMs struggle to demonstrate ToM. We
then show that integrating a simple, explicit representation of beliefs
improves LM performance on Common-ToM. | cs.CL | Views Are My Own, but Also Yours: Benchmarking Theory of Mind Using Common Ground |
2024-03-04T19:33:39Z | http://arxiv.org/pdf/2403.02436v1 | http://arxiv.org/abs/2403.02436v1 | Xin Lu, Yanyan Zhao, Bing Qin | 2024-03-04T19:33:39Z | cs.CL | Pre-trained language models have been proven to possess strong base
capabilities, which not only excel in in-distribution language modeling but
also show powerful abilities in out-of-distribution language modeling, transfer
learning and few-shot learning. Unlike existing work focusing on the influence
of scale on base capabilities, our work examines the influence of architecture
on those. Specifically, our concern is: How does architecture influence the
base capabilities of pre-trained language models? In this work, we attempt to
explain and reverse the decline in base capabilities caused by the architecture
of FFN-Wider Transformers, seeking to provide some insights. Through analysis,
we found the contribution ratio of Multi-Head Attention (a combination
function) to pre-trained language modeling is a key factor affecting base
capabilities. FFN-Wider Transformers reduce the contribution ratio of this
combination function, leading to a decline in base capabilities. We confirmed
this by experiments and proposed Combination Enhancement Architecture (CEA) to
address the decline in base capabilities of such models. Significantly, we
extended our explanation and CEA to Mixture of Experts (MoE) architecture
Transformers, which also alleviated their decline in base capabilities to some
extent, proving our work can offer useful guidance for architecture analysis,
architecture improvement and architecture design. | cs.CL | How does Architecture Influence the Base Capabilities of Pre-trained Language Models? A Case Study Based on FFN-Wider Transformer Models |
2024-03-04T19:12:48Z | http://arxiv.org/pdf/2403.02419v2 | http://arxiv.org/abs/2403.02419v2 | Lingjiao Chen, Jared Quincy Davis, Boris Hanin, Peter Bailis, Ion Stoica, Matei Zaharia, James Zou | 2024-06-04T21:20:33Z | cs.LG, cs.AI, cs.CL, cs.SY, eess.SY | Many recent state-of-the-art results in language tasks were achieved using
compound systems that perform multiple Language Model (LM) calls and aggregate
their responses. However, there is little understanding of how the number of LM
calls - e.g., when asking the LM to answer each question multiple times and
taking a majority vote - affects such a compound system's performance. In this
paper, we initiate the study of scaling properties of compound inference
systems. We analyze, theoretically and empirically, how the number of LM calls
affects the performance of Vote and Filter-Vote, two of the simplest compound
system designs, which aggregate LM responses via majority voting, optionally
applying LM filters. We find, surprisingly, that across multiple language
tasks, the performance of both Vote and Filter-Vote can first increase but then
decrease as a function of the number of LM calls. Our theoretical results
suggest that this non-monotonicity is due to the diversity of query
difficulties within a task: more LM calls lead to higher performance on "easy"
queries, but lower performance on "hard" queries, and non-monotone behavior can
emerge when a task contains both types of queries. This insight then allows us
to compute, from a small number of samples, the number of LM calls that
maximizes system performance, and define an analytical scaling model for both
systems. Experiments show that our scaling model can accurately predict the
performance of Vote and Filter-Vote systems and thus find the optimal number of
LM calls to make. | cs.LG | Are More LLM Calls All You Need? Towards Scaling Laws of Compound Inference Systems |
2024-03-04T18:58:30Z | http://arxiv.org/pdf/2403.02333v3 | http://arxiv.org/abs/2403.02333v3 | Yiming Huang, Xiao Liu, Yeyun Gong, Zhibin Gou, Yelong Shen, Nan Duan, Weizhu Chen | 2024-05-08T01:48:46Z | cs.CL, cs.AI | Large language models (LLMs) have shown great potential in complex reasoning
tasks, yet their performance is often hampered by the scarcity of high-quality
and reasoning-focused training datasets. Addressing this challenge, we propose
Key-Point-Driven Data Synthesis (KPDDS), a novel data synthesis framework that
synthesizes question-answer pairs by leveraging key points and exemplar
practices from authentic data sources. KPDDS ensures the generation of novel
questions with rigorous quality control and substantial scalability. As a
result, we present KPMath, an extensive synthetic dataset tailored for
mathematical reasoning, comprising over 800K question-answer pairs. Utilizing
KPMath and augmenting it with additional reasoning-intensive corpora, we create
the comprehensive KPMath-Plus dataset. The Qwen1.5-72B model, fine-tuned on
KPMath-Plus, achieves 87.0% PASS@1 accuracy on GSM8K and 58.3% on MATH,
surpassing competitors in the 7B to 70B range and best commercial models like
GPT-4 across multiple math reasoning datasets. | cs.CL | Key-Point-Driven Data Synthesis with its Enhancement on Mathematical Reasoning |
2024-03-04T18:55:30Z | http://arxiv.org/pdf/2403.02325v1 | http://arxiv.org/abs/2403.02325v1 | David Wan, Jaemin Cho, Elias Stengel-Eskin, Mohit Bansal | 2024-03-04T18:55:30Z | cs.CV, cs.AI, cs.CL, cs.LG | Highlighting particularly relevant regions of an image can improve the
performance of vision-language models (VLMs) on various vision-language (VL)
tasks by guiding the model to attend more closely to these regions of interest.
For example, VLMs can be given a "visual prompt", where visual markers such as
bounding boxes delineate key image regions. However, current VLMs that can
incorporate visual guidance are either proprietary and expensive or require
costly training on curated data that includes visual prompts. We introduce
Contrastive Region Guidance (CRG), a training-free guidance method that enables
open-source VLMs to respond to visual prompts. CRG contrasts model outputs
produced with and without visual prompts, factoring out biases revealed by the
model when answering without the information required to produce a correct
answer (i.e., the model's prior). CRG achieves substantial improvements in a
wide variety of VL tasks: When region annotations are provided, CRG increases
absolute accuracy by up to 11.1% on ViP-Bench, a collection of six diverse
region-based tasks such as recognition, math, and object relationship
reasoning. We also show CRG's applicability to spatial reasoning, with 10%
improvement on What'sUp, as well as to compositional generalization --
improving accuracy by 11.5% and 7.5% on two challenging splits from SugarCrepe
-- and to image-text alignment for generated images, where we improve by up to
8.4 AUROC and 6.8 F1 points on SeeTRUE. When reference regions are absent, CRG
allows us to re-rank proposed regions in referring expression comprehension and
phrase grounding benchmarks like RefCOCO/+/g and Flickr30K Entities, with an
average gain of 3.2% in accuracy. Our analysis explores alternative masking
strategies for CRG, quantifies CRG's probability shift, and evaluates the role
of region guidance strength, empirically validating CRG's design choices. | cs.CV | Contrastive Region Guidance: Improving Grounding in Vision-Language Models without Training |
2024-03-04T18:15:14Z | http://arxiv.org/pdf/2403.02285v1 | http://arxiv.org/abs/2403.02285v1 | Jonathan Lautenschlager, Emma Sköldberg, Simon Hengchen, Dominik Schlechtweg | 2024-03-04T18:15:14Z | cs.CL | This study addresses the task of Unknown Sense Detection in English and
Swedish. The primary objective of this task is to determine whether the meaning
of a particular word usage is documented in a dictionary or not. For this
purpose, sense entries are compared with word usages from modern and historical
corpora using a pre-trained Word-in-Context embedder that allows us to model
this task in a few-shot scenario. Additionally, we use human annotations to
adapt and evaluate our models. Compared to a random sample from a corpus, our
model is able to considerably increase the detected number of word usages with
non-recorded senses. | cs.CL | Detection of Non-recorded Word Senses in English and Swedish |
2024-03-04T18:12:10Z | http://arxiv.org/pdf/2403.02281v1 | http://arxiv.org/abs/2403.02281v1 | Krishnapriya Vishnubhotla, Daniela Teodorescu, Mallory J. Feldman, Kristen A. Lindquist, Saif M. Mohammad | 2024-03-04T18:12:10Z | cs.CL | We are united in how emotions are central to shaping our experiences; and
yet, individuals differ greatly in how we each identify, categorize, and
express emotions. In psychology, variation in the ability of individuals to
differentiate between emotion concepts is called emotion granularity
(determined through self-reports of one's emotions). High emotion granularity
has been linked with better mental and physical health; whereas low emotion
granularity has been linked with maladaptive emotion regulation strategies and
poor health outcomes. In this work, we propose computational measures of
emotion granularity derived from temporally-ordered speaker utterances in
social media (in lieu of self-reports that suffer from various biases). We then
investigate the effectiveness of such text-derived measures of emotion
granularity in functioning as markers of various mental health conditions
(MHCs). We establish baseline measures of emotion granularity derived from
textual utterances, and show that, at an aggregate level, emotion granularities
are significantly lower for people self-reporting as having an MHC than for the
control population. This paves the way towards a better understanding of the
MHCs, and specifically the role emotions play in our well-being. | cs.CL | Emotion Granularity from Text: An Aggregate-Level Indicator of Mental Health |
2024-03-04T17:58:09Z | http://arxiv.org/pdf/2403.02271v2 | http://arxiv.org/abs/2403.02271v2 | Saeed Najafi, Alona Fyshe | 2024-06-06T14:43:30Z | cs.CL, cs.LG | Pre-trained Language Models (PLMs) can be accurately fine-tuned for
downstream text processing tasks. Recently, researchers have introduced several
parameter-efficient fine-tuning methods that optimize input prompts or adjust a
small number of model parameters (e.g LoRA). In this study, we explore the
impact of altering the input text of the original task in conjunction with
parameter-efficient fine-tuning methods. To most effectively rewrite the input
text, we train a few-shot paraphrase model with a Maximum-Marginal Likelihood
objective. Using six few-shot text classification datasets, we show that
enriching data with paraphrases at train and test time enhances the performance
beyond what can be achieved with parameter-efficient fine-tuning alone. The
code used for our experiments can be found at
https://github.com/SaeedNajafi/RIFF. | cs.CL | RIFF: Learning to Rephrase Inputs for Few-shot Fine-tuning of Language Models |
2024-03-04T17:57:18Z | http://arxiv.org/pdf/2403.02270v2 | http://arxiv.org/abs/2403.02270v2 | Alessandro Scirè, Karim Ghonim, Roberto Navigli | 2024-03-26T13:14:52Z | cs.CL | Recent advancements in text summarization, particularly with the advent of
Large Language Models (LLMs), have shown remarkable performance. However, a
notable challenge persists as a substantial number of automatically-generated
summaries exhibit factual inconsistencies, such as hallucinations. In response
to this issue, various approaches for the evaluation of consistency for
summarization have emerged. Yet, these newly-introduced metrics face several
limitations, including lack of interpretability, focus on short document
summaries (e.g., news articles), and computational impracticality, especially
for LLM-based metrics. To address these shortcomings, we propose Factuality
Evaluation of summarization based on Natural language Inference and Claim
Extraction (FENICE), a more interpretable and efficient factuality-oriented
metric. FENICE leverages an NLI-based alignment between information in the
source document and a set of atomic facts, referred to as claims, extracted
from the summary. Our metric sets a new state of the art on AGGREFACT, the
de-facto benchmark for factuality evaluation. Moreover, we extend our
evaluation to a more challenging setting by conducting a human annotation
process of long-form summarization. | cs.CL | FENICE: Factuality Evaluation of summarization based on Natural language Inference and Claim Extraction |
2024-03-04T17:56:28Z | http://arxiv.org/pdf/2403.02268v1 | http://arxiv.org/abs/2403.02268v1 | Amanda Cercas Curry, Gavin Abercrombie, Zeerak Talat | 2024-03-04T17:56:28Z | cs.CL, cs.AI, cs.CY | Natural language processing research has begun to embrace the notion of
annotator subjectivity, motivated by variations in labelling. This approach
understands each annotator's view as valid, which can be highly suitable for
tasks that embed subjectivity, e.g., sentiment analysis. However, this
construction may be inappropriate for tasks such as hate speech detection, as
it affords equal validity to all positions on e.g., sexism or racism. We argue
that the conflation of hate and offence can invalidate findings on hate speech,
and call for future work to be situated in theory, disentangling hate from its
orthogonal concept, offence. | cs.CL | Subjective $\textit{Isms}$? On the Danger of Conflating Hate and Offence in Abusive Language Detection |
2024-03-04T17:38:32Z | http://arxiv.org/pdf/2403.02253v2 | http://arxiv.org/abs/2403.02253v2 | Yuexin Li, Chengyu Huang, Shumin Deng, Mei Lin Lock, Tri Cao, Nay Oo, Hoon Wei Lim, Bryan Hooi | 2024-06-15T11:34:45Z | cs.CR, cs.AI, cs.CL, cs.LG | Phishing attacks have inflicted substantial losses on individuals and
businesses alike, necessitating the development of robust and efficient
automated phishing detection approaches. Reference-based phishing detectors
(RBPDs), which compare the logos on a target webpage to a known set of logos,
have emerged as the state-of-the-art approach. However, a major limitation of
existing RBPDs is that they rely on a manually constructed brand knowledge
base, making it infeasible to scale to a large number of brands, which results
in false negative errors due to the insufficient brand coverage of the
knowledge base. To address this issue, we propose an automated knowledge
collection pipeline, using which we collect a large-scale multimodal brand
knowledge base, KnowPhish, containing 20k brands with rich information about
each brand. KnowPhish can be used to boost the performance of existing RBPDs in
a plug-and-play manner. A second limitation of existing RBPDs is that they
solely rely on the image modality, ignoring useful textual information present
in the webpage HTML. To utilize this textual information, we propose a Large
Language Model (LLM)-based approach to extract brand information of webpages
from text. Our resulting multimodal phishing detection approach, KnowPhish
Detector (KPD), can detect phishing webpages with or without logos. We evaluate
KnowPhish and KPD on a manually validated dataset, and a field study under
Singapore's local context, showing substantial improvements in effectiveness
and efficiency compared to state-of-the-art baselines. | cs.CR | KnowPhish: Large Language Models Meet Multimodal Knowledge Graphs for Enhancing Reference-Based Phishing Detection |
2024-03-04T17:34:46Z | http://arxiv.org/pdf/2403.02247v1 | http://arxiv.org/abs/2403.02247v1 | Ashvini Kumar Jindal, Pawan Kumar Rajpoot, Ankur Parikh | 2024-03-04T17:34:46Z | cs.CL | LLMOps incur significant costs due to hardware requirements, hindering their
widespread accessibility. Additionally, a lack of transparency in model
training methods and data contributes to the majority of models being
non-reproducible. To tackle these challenges, the LLM Efficiency Challenge was
introduced at NeurIPS Workshop, aiming to adapt foundation models on a diverse
set of tasks via fine-tuning on a single GPU (RTX 4090 or A100 with 40GB)
within a 24-hour timeframe. In this system description paper, we introduce
Birbal, our Mistral-7B based winning model, fine-tuned on a single RTX 4090 for
16 hours. Birbal's success lies in curating high-quality instructions covering
diverse tasks, resulting in a 35% performance improvement over second-best
Qwen-14B based submission. | cs.CL | Birbal: An efficient 7B instruct-model fine-tuned with curated datasets |
2024-03-04T17:34:34Z | http://arxiv.org/pdf/2403.02246v2 | http://arxiv.org/abs/2403.02246v2 | Fiona Anting Tan, Gerard Christopher Yeo, Fanyou Wu, Weijie Xu, Vinija Jain, Aman Chadha, Kokil Jaidka, Yang Liu, See-Kiong Ng | 2024-03-19T03:42:31Z | cs.CL | Recent advances in large language models (LLMs) demonstrate that their
capabilities are comparable, or even superior, to humans in many tasks in
natural language processing. Despite this progress, LLMs are still inadequate
at social-cognitive reasoning, which humans are naturally good at. Drawing
inspiration from psychological research on the links between certain
personality traits and Theory-of-Mind (ToM) reasoning, and from prompt
engineering research on the hyper-sensitivity of prompts in affecting LLMs
capabilities, this study investigates how inducing personalities in LLMs using
prompts affects their ToM reasoning capabilities. Our findings show that
certain induced personalities can significantly affect the LLMs' reasoning
capabilities in three different ToM tasks. In particular, traits from the Dark
Triad have a larger variable effect on LLMs like GPT-3.5, Llama 2, and Mistral
across the different ToM tasks. We find that LLMs that exhibit a higher
variance across personality prompts in ToM also tends to be more controllable
in personality tests: personality traits in LLMs like GPT-3.5, Llama 2 and
Mistral can be controllably adjusted through our personality prompts. In
today's landscape where role-play is a common strategy when using LLMs, our
research highlights the need for caution, as models that adopt specific
personas with personalities potentially also alter their reasoning abilities in
an unexpected manner. | cs.CL | PHAnToM: Personality Has An Effect on Theory-of-Mind Reasoning in Large Language Models |
2024-03-04T16:27:21Z | http://arxiv.org/pdf/2403.02185v1 | http://arxiv.org/abs/2403.02185v1 | Olivier Gandouet, Mouloud Belbahri, Armelle Jezequel, Yuriy Bodjov | 2024-03-04T16:27:21Z | cs.LG, cs.CE, cs.CL | In this study, ChatGPT is utilized to create streamlined models that generate
easily interpretable features. These features are then used to evaluate
financial outcomes from earnings calls. We detail a training approach that
merges knowledge distillation and transfer learning, resulting in lightweight
topic and sentiment classification models without significant loss in accuracy.
These models are assessed through a dataset annotated by experts. The paper
also delves into two practical case studies, highlighting how the generated
features can be effectively utilized in quantitative investing scenarios. | cs.LG | Distilled ChatGPT Topic & Sentiment Modeling with Applications in Finance |
2024-03-04T16:23:58Z | http://arxiv.org/pdf/2403.02181v2 | http://arxiv.org/abs/2403.02181v2 | Siqi Fan, Xin Jiang, Xiang Li, Xuying Meng, Peng Han, Shuo Shang, Aixin Sun, Yequan Wang, Zhongyuan Wang | 2024-04-15T03:57:44Z | cs.CL, cs.AI, cs.LG | The inference phase of Large Language Models (LLMs) is very expensive. An
ideal inference stage of LLMs could utilize fewer computational resources while
still maintaining its capabilities (e.g., generalization and in-context
learning ability). In this paper, we try to answer the question, "During LLM
inference, can we use shallow layers for easy instances; and deep layers for
hard ones?" To answer this question, we first indicate that Not all Layers are
Necessary during Inference by statistically analyzing the activated layers
across tasks. Then, we propose a simple algorithm named AdaInfer to determine
the inference termination moment based on the input instance adaptively. More
importantly, AdaInfer does not alter LLM parameters and maintains
generalizability across tasks. Experiments on well-known LLMs (i.e., Llama2
series and OPT) show that AdaInfer saves an average of 14.8% of computational
resources, even up to 50% on sentiment tasks, while maintaining comparable
performance. Additionally, this method is orthogonal to other model
acceleration techniques, potentially boosting inference efficiency further. | cs.CL | Not all Layers of LLMs are Necessary during Inference |
2024-03-04T16:21:54Z | http://arxiv.org/pdf/2403.02178v1 | http://arxiv.org/abs/2403.02178v1 | Changyu Chen, Xiting Wang, Ting-En Lin, Ang Lv, Yuchuan Wu, Xin Gao, Ji-Rong Wen, Rui Yan, Yongbin Li | 2024-03-04T16:21:54Z | cs.CL, cs.AI, cs.LG | In reasoning tasks, even a minor error can cascade into inaccurate results,
leading to suboptimal performance of large language models in such domains.
Earlier fine-tuning approaches sought to mitigate this by leveraging more
precise supervisory signals from human labeling, larger models, or
self-sampling, although at a high cost. Conversely, we develop a method that
avoids external resources, relying instead on introducing perturbations to the
input. Our training approach randomly masks certain tokens within the chain of
thought, a technique we found to be particularly effective for reasoning tasks.
When applied to fine-tuning with GSM8K, this method achieved a 5% improvement
in accuracy over standard supervised fine-tuning with a few codes modified and
no additional labeling effort. Furthermore, it is complementary to existing
methods. When integrated with related data augmentation methods, it leads to an
average improvement of 3% improvement in GSM8K accuracy and 1% improvement in
MATH accuracy across five datasets of various quality and size, as well as two
base models. We further investigate the mechanisms behind this improvement
through case studies and quantitative analysis, suggesting that our approach
may provide superior support for the model in capturing long-distance
dependencies, especially those related to questions. This enhancement could
deepen understanding of premises in questions and prior steps. Our code is
available at Github. | cs.CL | Masked Thought: Simply Masking Partial Reasoning Steps Can Improve Mathematical Reasoning Learning of Language Models |
2024-03-04T16:21:19Z | http://arxiv.org/pdf/2403.02177v2 | http://arxiv.org/abs/2403.02177v2 | Zirui Wu, Yansong Feng | 2024-07-01T11:31:21Z | cs.CL | Tables play a crucial role in conveying information in various domains. We
propose a Plan-then-Reason framework to answer different types of user queries
over tables with sentence context. The framework first plans the reasoning
paths over the context, then assigns each step to program-based or textual
reasoning to reach the final answer. This framework enhances the table
reasoning abilities for both in-context learning and fine-tuning methods.
GPT-3.5-Turbo following Plan-then-Reason framework surpasses other prompting
baselines without self-consistency while using less API calls and in-context
demonstrations. We also construct an instruction tuning set TrixInstruct to
evaluate the effectiveness of fine-tuning with this framework. We present
ProTrix model family by finetuning models on TrixInstruct. Our experiments show
that ProTrix family generalizes to diverse unseen tabular tasks with only 6k
training instances. We further demonstrate that ProTrix can generate accurate
and faithful explanations to answer complex free-form questions. Our work
underscores the importance of the planning and reasoning abilities towards a
model over tabular tasks with generalizability and interpretability. We
open-source our dataset and models at https://github.com/WilliamZR/ProTrix. | cs.CL | ProTrix: Building Models for Planning and Reasoning over Tables with Sentence Context |
2024-03-04T16:21:13Z | http://arxiv.org/pdf/2403.02176v1 | http://arxiv.org/abs/2403.02176v1 | Zhanghao Hu, Yijun Yang, Junjie Xu, Yifu Qiu, Pinzhen Chen | 2024-03-04T16:21:13Z | cs.CL | Current approaches to question answering rely on pre-trained language models
(PLMs) like RoBERTa. This work challenges the existing question-answer encoding
convention and explores finer representations. We begin with testing various
pooling methods compared to using the begin-of-sentence token as a question
representation for better quality. Next, we explore opportunities to
simultaneously embed all answer candidates with the question. This enables
cross-reference between answer choices and improves inference throughput via
reduced memory usage. Despite their simplicity and effectiveness, these methods
have yet to be widely studied in current frameworks. We experiment with
different PLMs, and with and without the integration of knowledge graphs.
Results prove that the memory efficacy of the proposed techniques with little
sacrifice in performance. Practically, our work enhances 38-100% throughput
with 26-65% speedups on consumer-grade GPUs by allowing for considerably larger
batch sizes. Our work sends a message to the community with promising
directions in both representation quality and efficiency for the
question-answering task in natural language processing. | cs.CL | EEE-QA: Exploring Effective and Efficient Question-Answer Representations |
2024-03-04T16:20:14Z | http://arxiv.org/pdf/2403.02173v1 | http://arxiv.org/abs/2403.02173v1 | Zdravko Dugonjić, Adrien Pupier, Benjamin Lecouteux, Maximin Coavoux | 2024-03-04T16:20:14Z | cs.CL | The paper reports on a series of experiments aiming at probing LeBenchmark, a
pretrained acoustic model trained on 7k hours of spoken French, for syntactic
information. Pretrained acoustic models are increasingly used for downstream
speech tasks such as automatic speech recognition, speech translation, spoken
language understanding or speech parsing. They are trained on very low level
information (the raw speech signal), and do not have explicit lexical
knowledge. Despite that, they obtained reasonable results on tasks that
requires higher level linguistic knowledge. As a result, an emerging question
is whether these models encode syntactic information. We probe each
representation layer of LeBenchmark for syntax, using the Orf\'eo treebank, and
observe that it has learnt some syntactic information. Our results show that
syntactic information is more easily extractable from the middle layers of the
network, after which a very sharp decrease is observed. | cs.CL | What has LeBenchmark Learnt about French Syntax? |
2024-03-04T16:18:36Z | http://arxiv.org/pdf/2403.04795v1 | http://arxiv.org/abs/2403.04795v1 | Haley Hostetter, M. Z. Naser, Xinyan Huang, John Gales | 2024-03-04T16:18:36Z | cs.CL, cs.AI, cs.LG | This communication presents preliminary findings from comparing two recent
chatbots, OpenAI's ChatGPT and Google's Bard, in the context of fire
engineering by evaluating their responses in handling fire safety related
queries. A diverse range of fire engineering questions and scenarios were
created and examined, including structural fire design, fire prevention
strategies, evacuation, building code compliance, and fire suppression systems
(some of which resemble those commonly present in the Fire Protection exam
(FPE)). The results reveal some key differences in the performance of the
chatbots, with ChatGPT demonstrating a relatively superior performance. Then,
this communication highlights the potential for chatbot technology to
revolutionize fire engineering practices by providing instant access to
critical information while outlining areas for further improvement and
research. Evidently, and when it matures, this technology will likely be
elemental to our engineers' practice and education. | cs.CL | Large Language Models in Fire Engineering: An Examination of Technical Questions Against Domain Knowledge |
2024-03-04T16:17:39Z | http://arxiv.org/pdf/2403.02371v2 | http://arxiv.org/abs/2403.02371v2 | Janaína Mendes-Laureano, Jorge A. Gómez-García, Alejandro Guerrero-López, Elisa Luque-Buzo, Julián D. Arias-Londoño, Francisco J. Grandas-Pérez, Juan I. Godino-Llorente | 2024-03-06T11:08:02Z | eess.AS, cs.AI, cs.CL, cs.SD | The advancement of Parkinson's Disease (PD) diagnosis through speech analysis
is hindered by a notable lack of publicly available, diverse language datasets,
limiting the reproducibility and further exploration of existing research.
In response to this gap, we introduce a comprehensive corpus from 108 native
Castilian Spanish speakers, comprising 55 healthy controls and 53 individuals
diagnosed with PD, all of whom were under pharmacological treatment and
recorded in their medication-optimized state. This unique dataset features a
wide array of speech tasks, including sustained phonation of the five Spanish
vowels, diadochokinetic tests, 16 listen-and-repeat utterances, and free
monologues. The dataset emphasizes accuracy and reliability through specialist
manual transcriptions of the listen-and-repeat tasks and utilizes Whisper for
automated monologue transcriptions, making it the most complete public corpus
of Parkinsonian speech, and the first in Castillian Spanish.
NeuroVoz is composed by 2,903 audio recordings averaging $26.88 \pm 3.35$
recordings per participant, offering a substantial resource for the scientific
exploration of PD's impact on speech. This dataset has already underpinned
several studies, achieving a benchmark accuracy of 89% in PD speech pattern
identification, indicating marked speech alterations attributable to PD.
Despite these advances, the broader challenge of conducting a
language-agnostic, cross-corpora analysis of Parkinsonian speech patterns
remains an open area for future research. This contribution not only fills a
critical void in PD speech analysis resources but also sets a new standard for
the global research community in leveraging speech as a diagnostic tool for
neurodegenerative diseases. | eess.AS | NeuroVoz: a Castillian Spanish corpus of parkinsonian speech |
2024-03-04T16:13:39Z | http://arxiv.org/pdf/2403.02167v2 | http://arxiv.org/abs/2403.02167v2 | Lucía Gómez-Zaragozá, Rocío del Amor, María José Castro-Bleda, Valery Naranjo, Mariano Alcañiz Raya, Javier Marín-Morales | 2024-06-13T13:05:56Z | eess.AS, cs.AI, cs.CL, cs.SD, I.5.1; I.5.4 | Natural databases for Speech Emotion Recognition (SER) are scarce and often
rely on staged scenarios, such as films or television shows, limiting their
application in real-world contexts. We developed and publicly released the
Emotional Voice Messages (EMOVOME) database, including 999 voice messages from
real conversations of 100 Spanish speakers on a messaging app, labeled in
continuous and discrete emotions by expert and non-expert annotators. We
evaluated speaker-independent SER models using a standard set of acoustic
features and transformer-based models. We compared the results with reference
databases including acted and elicited speech, and analyzed the influence of
annotators and gender fairness. The pre-trained UniSpeech-SAT-Large model
achieved the highest results, 61.64% and 55.57% Unweighted Accuracy (UA) for
3-class valence and arousal prediction respectively on EMOVOME, a 10%
improvement over baseline models. For the emotion categories, 42.58% UA was
obtained. EMOVOME performed lower than the acted RAVDESS database. The elicited
IEMOCAP database also outperformed EMOVOME in predicting emotion categories,
while similar results were obtained in valence and arousal. EMOVOME outcomes
varied with annotator labels, showing better results and fairness when
combining expert and non-expert annotations. This study highlights the gap
between staged and real-life scenarios, supporting further advancements in
recognizing genuine emotions. | eess.AS | EMOVOME Database: Advancing Emotion Recognition in Speech Beyond Staged Scenarios |
2024-03-04T15:39:59Z | http://arxiv.org/pdf/2403.02130v2 | http://arxiv.org/abs/2403.02130v2 | Nick Baumann, Alexander Brinkmann, Christian Bizer | 2024-03-05T08:12:18Z | cs.CL | Product offers on e-commerce websites often consist of a textual product
title and a textual product description. In order to provide features such as
faceted product filtering or content-based product recommendation, the websites
need to extract attribute-value pairs from the unstructured product
descriptions. This paper explores the potential of using large language models
(LLMs), such as OpenAI's GPT-3.5 and GPT-4, to extract and normalize attribute
values from product titles and product descriptions. For our experiments, we
introduce the WDC Product Attribute-Value Extraction (WDC PAVE) dataset. WDC
PAVE consists of product offers from 87 websites that provide schema$.$org
annotations. The offers belong to five different categories, each featuring a
specific set of attributes. The dataset provides manually verified
attribute-value pairs in two forms: (i) directly extracted values and (ii)
normalized attribute values. The normalization of the attribute values requires
systems to perform the following types of operations: name expansion,
generalization, unit of measurement normalization, and string wrangling. Our
experiments demonstrate that GPT-4 outperforms PLM-based extraction methods by
10%, achieving an F1-Score of 91%. For the extraction and normalization of
product attribute values, GPT-4 achieves a similar performance to the
extraction scenario, while being particularly strong at string wrangling and
name expansion. | cs.CL | Using LLMs for the Extraction and Normalization of Product Attribute Values |
2024-03-04T15:34:12Z | http://arxiv.org/pdf/2403.02127v1 | http://arxiv.org/abs/2403.02127v1 | Yu Sun, Dongzhan Zhou, Chen Lin, Conghui He, Wanli Ouyang, Han-Sen Zhong | 2024-03-04T15:34:12Z | cs.CV, cs.AI, cs.CL | Academic documents are packed with texts, equations, tables, and figures,
requiring comprehensive understanding for accurate Optical Character
Recognition (OCR). While end-to-end OCR methods offer improved accuracy over
layout-based approaches, they often grapple with significant repetition issues,
especially with complex layouts in Out-Of-Domain (OOD) documents.To tackle this
issue, we propose LOCR, a model that integrates location guiding into the
transformer architecture during autoregression. We train the model on a dataset
comprising over 77M text-location pairs from 125K academic document pages,
including bounding boxes for words, tables and mathematical symbols. LOCR
adeptly handles various formatting elements and generates content in Markdown
language. It outperforms all existing methods in our test set constructed from
arXiv, as measured by edit distance, BLEU, METEOR and F-measure.LOCR also
reduces repetition frequency from 4.4% of pages to 0.5% in the arXiv dataset,
from 13.2% to 1.3% in OOD quantum physics documents and from 8.1% to 1.8% in
OOD marketing documents. Additionally, LOCR features an interactive OCR mode,
facilitating the generation of complex documents through a few location prompts
from human. | cs.CV | LOCR: Location-Guided Transformer for Optical Character Recognition |
2024-03-04T15:27:49Z | http://arxiv.org/pdf/2403.02121v1 | http://arxiv.org/abs/2403.02121v1 | Sargam Yadav, Abhishek Kaushik, Kevin McDaid | 2024-03-04T15:27:49Z | cs.CL, cs.AI | The advent of Large Language Models (LLMs) has advanced the benchmark in
various Natural Language Processing (NLP) tasks. However, large amounts of
labelled training data are required to train LLMs. Furthermore, data annotation
and training are computationally expensive and time-consuming. Zero and
few-shot learning have recently emerged as viable options for labelling data
using large pre-trained models. Hate speech detection in mix-code low-resource
languages is an active problem area where the use of LLMs has proven
beneficial. In this study, we have compiled a dataset of 100 YouTube comments,
and weakly labelled them for coarse and fine-grained misogyny classification in
mix-code Hinglish. Weak annotation was applied due to the labor-intensive
annotation process. Zero-shot learning, one-shot learning, and few-shot
learning and prompting approaches have then been applied to assign labels to
the comments and compare them to human-assigned labels. Out of all the
approaches, zero-shot classification using the Bidirectional Auto-Regressive
Transformers (BART) large model and few-shot prompting using Generative
Pre-trained Transformer- 3 (ChatGPT-3) achieve the best results | cs.CL | Leveraging Weakly Annotated Data for Hate Speech Detection in Code-Mixed Hinglish: A Feasibility-Driven Transfer Learning Approach with Large Language Models |
2024-03-04T14:49:18Z | http://arxiv.org/pdf/2403.02370v1 | http://arxiv.org/abs/2403.02370v1 | Séamus Lankford, Haithem Afli, Andy Way | 2024-03-04T14:49:18Z | cs.CL, cs.AI | The advent of Multilingual Language Models (MLLMs) and Large Language Models
has spawned innovation in many areas of natural language processing. Despite
the exciting potential of this technology, its impact on developing
high-quality Machine Translation (MT) outputs for low-resource languages
remains relatively under-explored. Furthermore, an open-source application,
dedicated to both fine-tuning MLLMs and managing the complete MT workflow for
low-resources languages, remains unavailable. We aim to address these
imbalances through the development of adaptMLLM, which streamlines all
processes involved in the fine-tuning of MLLMs for MT. This open-source
application is tailored for developers, translators, and users who are engaged
in MT. An intuitive interface allows for easy customisation of hyperparameters,
and the application offers a range of metrics for model evaluation and the
capability to deploy models as a translation service directly within the
application. As a multilingual tool, we used adaptMLLM to fine-tune models for
two low-resource language pairs: English to Irish (EN$\leftrightarrow$GA) and
English to Marathi (EN$\leftrightarrow$MR). Compared with baselines from the
LoResMT2021 Shared Task, the adaptMLLM system demonstrated significant
improvements. In the EN$\rightarrow$GA direction, an improvement of 5.2 BLEU
points was observed and an increase of 40.5 BLEU points was recorded in the
GA$\rightarrow$EN direction. Significant improvements in the translation
performance of the EN$\leftrightarrow$MR pair were also observed notably in the
MR$\rightarrow$EN direction with an increase of 21.3 BLEU points. Finally, a
fine-grained human evaluation of the MLLM output on the EN$\rightarrow$GA pair
was conducted using the Multidimensional Quality Metrics and Scalar Quality
Metrics error taxonomies. The application and models are freely available. | cs.CL | adaptMLLM: Fine-Tuning Multilingual Language Models on Low-Resource Languages with Integrated LLM Playgrounds |
2024-03-04T14:46:58Z | http://arxiv.org/pdf/2403.02090v3 | http://arxiv.org/abs/2403.02090v3 | Sangmin Lee, Bolin Lai, Fiona Ryan, Bikram Boote, James M. Rehg | 2024-04-29T12:16:04Z | cs.CV, cs.CL, cs.LG | Understanding social interactions involving both verbal and non-verbal cues
is essential for effectively interpreting social situations. However, most
prior works on multimodal social cues focus predominantly on single-person
behaviors or rely on holistic visual representations that are not aligned to
utterances in multi-party environments. Consequently, they are limited in
modeling the intricate dynamics of multi-party interactions. In this paper, we
introduce three new challenging tasks to model the fine-grained dynamics
between multiple people: speaking target identification, pronoun coreference
resolution, and mentioned player prediction. We contribute extensive data
annotations to curate these new challenges in social deduction game settings.
Furthermore, we propose a novel multimodal baseline that leverages densely
aligned language-visual representations by synchronizing visual features with
their corresponding utterances. This facilitates concurrently capturing verbal
and non-verbal cues pertinent to social reasoning. Experiments demonstrate the
effectiveness of the proposed approach with densely aligned multimodal
representations in modeling fine-grained social interactions. Project website:
https://sangmin-git.github.io/projects/MMSI. | cs.CV | Modeling Multimodal Social Interactions: New Challenges and Baselines with Densely Aligned Representations |
2024-03-04T14:24:47Z | http://arxiv.org/pdf/2403.02078v1 | http://arxiv.org/abs/2403.02078v1 | Qiao Wang, Ralph Rose, Naho Orita, Ayaka Sugawara | 2024-03-04T14:24:47Z | cs.CL | A common way of assessing language learners' mastery of vocabulary is via
multiple-choice cloze (i.e., fill-in-the-blank) questions. But the creation of
test items can be laborious for individual teachers or in large-scale language
programs. In this paper, we evaluate a new method for automatically generating
these types of questions using large language models (LLM). The VocaTT
(vocabulary teaching and training) engine is written in Python and comprises
three basic steps: pre-processing target word lists, generating sentences and
candidate word options using GPT, and finally selecting suitable word options.
To test the efficiency of this system, 60 questions were generated targeting
academic words. The generated items were reviewed by expert reviewers who
judged the well-formedness of the sentences and word options, adding comments
to items judged not well-formed. Results showed a 75% rate of well-formedness
for sentences and 66.85% rate for suitable word options. This is a marked
improvement over the generator used earlier in our research which did not take
advantage of GPT's capabilities. Post-hoc qualitative analysis reveals several
points for improvement in future work including cross-referencing
part-of-speech tagging, better sentence validation, and improving GPT prompts. | cs.CL | Automated Generation of Multiple-Choice Cloze Questions for Assessing English Vocabulary Using GPT-turbo 3.5 |
2024-03-04T14:01:11Z | http://arxiv.org/pdf/2403.04792v1 | http://arxiv.org/abs/2403.04792v1 | Yotam Intrator, Matan Halfon, Roman Goldenberg, Reut Tsarfaty, Matan Eyal, Ehud Rivlin, Yossi Matias, Natalia Aizenberg | 2024-03-04T14:01:11Z | cs.CL, cs.LG | Large language models hold significant promise in multilingual applications.
However, inherent biases stemming from predominantly English-centric
pre-training have led to the widespread practice of pre-translation, i.e.,
translating non-English inputs to English before inference, leading to
complexity and information loss. This study re-evaluates the need for
pre-translation in the context of PaLM2 models (Anil et al., 2023), which have
been established as highly performant in multilingual tasks. We offer a
comprehensive investigation across 108 languages and 6 diverse benchmarks,
including open-end generative tasks, which were excluded from previous similar
studies. Our findings challenge the pre-translation paradigm established in
prior research, highlighting the advantages of direct inference in PaLM2.
Specifically, PaLM2-L consistently outperforms pre-translation in 94 out of 108
languages. These findings pave the way for more efficient and effective
multilingual applications, alleviating the limitations associated with
pre-translation and unlocking linguistic authenticity. | cs.CL | Breaking the Language Barrier: Can Direct Inference Outperform Pre-Translation in Multilingual LLM Applications? |
2024-03-04T13:10:08Z | http://arxiv.org/pdf/2403.02009v1 | http://arxiv.org/abs/2403.02009v1 | Vasudevan Nedumpozhimana, John D. Kelleher | 2024-03-04T13:10:08Z | cs.CL | Transformer-based Neural Language Models achieve state-of-the-art performance
on various natural language processing tasks. However, an open question is the
extent to which these models rely on word-order/syntactic or word
co-occurrence/topic-based information when processing natural language. This
work contributes to this debate by addressing the question of whether these
models primarily use topic as a signal, by exploring the relationship between
Transformer-based models' (BERT and RoBERTa's) performance on a range of
probing tasks in English, from simple lexical tasks such as sentence length
prediction to complex semantic tasks such as idiom token identification, and
the sensitivity of these tasks to the topic information. To this end, we
propose a novel probing method which we call topic-aware probing. Our initial
results indicate that Transformer-based models encode both topic and non-topic
information in their intermediate layers, but also that the facility of these
models to distinguish idiomatic usage is primarily based on their ability to
identify and encode topic. Furthermore, our analysis of these models'
performance on other standard probing tasks suggests that tasks that are
relatively insensitive to the topic information are also tasks that are
relatively difficult for these models. | cs.CL | Topic Aware Probing: From Sentence Length Prediction to Idiom Identification how reliant are Neural Language Models on Topic? |
2024-03-04T12:50:25Z | http://arxiv.org/pdf/2403.01999v1 | http://arxiv.org/abs/2403.01999v1 | Si Sun, Hanqing Zhang, Zhiyuan Liu, Jie Bao, Dawei Song | 2024-03-04T12:50:25Z | cs.CL | Dense Retrieval (DR) is now considered as a promising tool to enhance the
memorization capacity of Large Language Models (LLM) such as GPT3 and GPT-4 by
incorporating external memories. However, due to the paradigm discrepancy
between text generation of LLM and DR, it is still an open challenge to
integrate the retrieval and generation tasks in a shared LLM. In this paper, we
propose an efficient LLM-Oriented Retrieval Tuner, namely LMORT, which
decouples DR capacity from base LLM and non-invasively coordinates the
optimally aligned and uniform layers of the LLM towards a unified DR space,
achieving an efficient and effective DR without tuning the LLM itself. The
extensive experiments on six BEIR datasets show that our approach could achieve
competitive zero-shot retrieval performance compared to a range of strong DR
models while maintaining the generation ability of LLM. | cs.CL | LLM-Oriented Retrieval Tuner |
2024-03-04T12:40:28Z | http://arxiv.org/pdf/2403.01994v1 | http://arxiv.org/abs/2403.01994v1 | Xin Lu, Yanyan Zhao, Bing Qin | 2024-03-04T12:40:28Z | cs.CL | Recently, Mixture of Experts (MoE) Transformers have garnered increasing
attention due to their advantages in model capacity and computational
efficiency. However, studies have indicated that MoE Transformers underperform
vanilla Transformers in many downstream tasks, significantly diminishing the
practical value of MoE models. To explain this issue, we propose that the
pre-training performance and transfer capability of a model are joint
determinants of its downstream task performance. MoE models, in comparison to
vanilla models, have poorer transfer capability, leading to their subpar
performance in downstream tasks. To address this issue, we introduce the
concept of transfer capability distillation, positing that although vanilla
models have weaker performance, they are effective teachers of transfer
capability. The MoE models guided by vanilla models can achieve both strong
pre-training performance and transfer capability, ultimately enhancing their
performance in downstream tasks. We design a specific distillation method and
conduct experiments on the BERT architecture. Experimental results show a
significant improvement in downstream performance of MoE models, and many
further evidences also strongly support the concept of transfer capability
distillation. Finally, we attempt to interpret transfer capability distillation
and provide some insights from the perspective of model feature. | cs.CL | Vanilla Transformers are Transfer Capability Teachers |
2024-03-04T12:35:09Z | http://arxiv.org/pdf/2403.01988v1 | http://arxiv.org/abs/2403.01988v1 | Xuannan Liu, Peipei Li, Huaibo Huang, Zekun Li, Xing Cui, Jiahao Liang, Lixiong Qin, Weihong Deng, Zhaofeng He | 2024-03-04T12:35:09Z | cs.CL | The massive generation of multimodal fake news exhibits substantial
distribution discrepancies, prompting the need for generalized detectors.
However, the insulated nature of training within specific domains restricts the
capability of classical detectors to obtain open-world facts. In this paper, we
propose FakeNewsGPT4, a novel framework that augments Large Vision-Language
Models (LVLMs) with forgery-specific knowledge for manipulation reasoning while
inheriting extensive world knowledge as complementary. Knowledge augmentation
in FakeNewsGPT4 involves acquiring two types of forgery-specific knowledge,
i.e., semantic correlation and artifact trace, and merging them into LVLMs.
Specifically, we design a multi-level cross-modal reasoning module that
establishes interactions across modalities for extracting semantic
correlations. Concurrently, a dual-branch fine-grained verification module is
presented to comprehend localized details to encode artifact traces. The
generated knowledge is translated into refined embeddings compatible with
LVLMs. We also incorporate candidate answer heuristics and soft prompts to
enhance input informativeness. Extensive experiments on the public benchmark
demonstrate that FakeNewsGPT4 achieves superior cross-domain performance
compared to previous methods. Code will be available. | cs.CL | FakeNewsGPT4: Advancing Multimodal Fake News Detection through Knowledge-Augmented LVLMs |
2024-03-04T12:29:59Z | http://arxiv.org/pdf/2403.01985v1 | http://arxiv.org/abs/2403.01985v1 | Séamus Lankford, Haithem Afli, Andy Way | 2024-03-04T12:29:59Z | cs.CL, cs.AI | The Transformer model is the state-of-the-art in Machine Translation.
However, in general, neural translation models often under perform on language
pairs with insufficient training data. As a consequence, relatively few
experiments have been carried out using this architecture on low-resource
language pairs. In this study, hyperparameter optimization of Transformer
models in translating the low-resource English-Irish language pair is
evaluated. We demonstrate that choosing appropriate parameters leads to
considerable performance improvements. Most importantly, the correct choice of
subword model is shown to be the biggest driver of translation performance.
SentencePiece models using both unigram and BPE approaches were appraised.
Variations on model architectures included modifying the number of layers,
testing various regularisation techniques and evaluating the optimal number of
heads for attention. A generic 55k DGT corpus and an in-domain 88k public admin
corpus were used for evaluation. A Transformer optimized model demonstrated a
BLEU score improvement of 7.8 points when compared with a baseline RNN model.
Improvements were observed across a range of metrics, including TER, indicating
a substantially reduced post editing effort for Transformer optimized models
with 16k BPE subword models. Bench-marked against Google Translate, our
translation engines demonstrated significant improvements. The question of
whether or not Transformers can be used effectively in a low-resource setting
of English-Irish translation has been addressed. Is f\'eidir linn - yes we can. | cs.CL | Transformers for Low-Resource Languages:Is Féidir Linn! |
2024-03-04T12:27:32Z | http://arxiv.org/pdf/2403.01983v1 | http://arxiv.org/abs/2403.01983v1 | Sina Ahmadi, Daban Q. Jaff, Md Mahfuz Ibn Alam, Antonios Anastasopoulos | 2024-03-04T12:27:32Z | cs.CL | Kurdish, an Indo-European language spoken by over 30 million speakers, is
considered a dialect continuum and known for its diversity in language
varieties. Previous studies addressing language and speech technology for
Kurdish handle it in a monolithic way as a macro-language, resulting in
disparities for dialects and varieties for which there are few resources and
tools available. In this paper, we take a step towards developing resources for
language and speech technology for varieties of Central Kurdish, creating a
corpus by transcribing movies and TV series as an alternative to fieldwork.
Additionally, we report the performance of machine translation, automatic
speech recognition, and language identification as downstream tasks evaluated
on Central Kurdish varieties. Data and models are publicly available under an
open license at https://github.com/sinaahmadi/CORDI. | cs.CL | Language and Speech Technology for Central Kurdish Varieties |
2024-03-04T12:19:28Z | http://arxiv.org/pdf/2403.01976v4 | http://arxiv.org/abs/2403.01976v4 | Hengxing Cai, Xiaochen Cai, Junhan Chang, Sihang Li, Lin Yao, Changxin Wang, Zhifeng Gao, Hongshuai Wang, Yongge Li, Mujie Lin, Shuwen Yang, Jiankun Wang, Mingjun Xu, Jin Huang, Fang Xi, Jiaxi Zhuang, Yuqi Yin, Yaqi Li, Changhong Chen, Zheng Cheng, Zifeng Zhao, Linfeng Zhang, Guolin Ke | 2024-06-18T05:45:33Z | cs.CL | Recent breakthroughs in Large Language Models (LLMs) have revolutionized
natural language understanding and generation, sparking significant interest in
applying them to scientific literature analysis. However, existing benchmarks
fail to adequately evaluate the proficiency of LLMs in this domain,
particularly in scenarios requiring higher-level abilities beyond mere
memorization and the handling of multimodal data. In response to this gap, we
introduce SciAssess, a benchmark specifically designed for the comprehensive
evaluation of LLMs in scientific literature analysis. SciAssess aims to
thoroughly assess the efficacy of LLMs by focusing on their capabilities in
Memorization (L1), Comprehension (L2), and Analysis \& Reasoning (L3). It
encompasses a variety of tasks drawn from diverse scientific fields, including
fundamental science, alloy materials, biomedicine, drug discovery, and organic
materials. To ensure the reliability of SciAssess, rigorous quality control
measures have been implemented, ensuring accuracy, anonymization, and
compliance with copyright standards. SciAssess evaluates 11 LLMs, including
GPT, Claude, and Gemini, highlighting their strengths and areas for
improvement. This evaluation supports the ongoing development of LLM
applications in the analysis of scientific literature. SciAssess and its
resources are available at \url{https://sci-assess.github.io/}. | cs.CL | SciAssess: Benchmarking LLM Proficiency in Scientific Literature Analysis |
2024-03-04T12:16:15Z | http://arxiv.org/pdf/2403.01972v1 | http://arxiv.org/abs/2403.01972v1 | Derong Xu, Ziheng Zhang, Zhenxi Lin, Xian Wu, Zhihong Zhu, Tong Xu, Xiangyu Zhao, Yefeng Zheng, Enhong Chen | 2024-03-04T12:16:15Z | cs.CL | Knowledge graph completion (KGC) is a widely used method to tackle
incompleteness in knowledge graphs (KGs) by making predictions for missing
links. Description-based KGC leverages pre-trained language models to learn
entity and relation representations with their names or descriptions, which
shows promising results. However, the performance of description-based KGC is
still limited by the quality of text and the incomplete structure, as it lacks
sufficient entity descriptions and relies solely on relation names, leading to
sub-optimal results. To address this issue, we propose MPIKGC, a general
framework to compensate for the deficiency of contextualized knowledge and
improve KGC by querying large language models (LLMs) from various perspectives,
which involves leveraging the reasoning, explanation, and summarization
capabilities of LLMs to expand entity descriptions, understand relations, and
extract structures, respectively. We conducted extensive evaluation of the
effectiveness and improvement of our framework based on four description-based
KGC models and four datasets, for both link prediction and triplet
classification tasks. | cs.CL | Multi-perspective Improvement of Knowledge Graph Completion with Large Language Models |
2024-03-04T12:13:59Z | http://arxiv.org/pdf/2403.01969v1 | http://arxiv.org/abs/2403.01969v1 | Nuwa Xi, Yuhan Chen, Sendong Zhao, Haochun Wang, Bing Qin, Ting Liu | 2024-03-04T12:13:59Z | cs.CL | Chain-of-Thought (CoT) serves as a critical emerging ability in LLMs,
especially when it comes to logical reasoning. Attempts have been made to
induce such ability in small models as well by distilling from the data with
CoT generated by Large Language Models (LLMs). However, existing methods often
simply generate and incorporate more data from LLMs and fail to note the
importance of efficiently utilizing existing CoT data. We here propose a new
training paradigm AS-ES (Abstractive Segments - Extractive Segments) learning,
which exploits the inherent information in CoT for iterative generation.
Experiments show that our methods surpass the direct seq2seq training on
CoT-extensive tasks like MWP and PET summarization, without data augmentation
or altering the model itself. Furthermore, we explore the reason behind the
inefficiency of small models in learning CoT and provide an explanation of why
AS-ES learning works, giving insights into the underlying mechanism of CoT. | cs.CL | AS-ES Learning: Towards Efficient CoT Learning in Small Models |
2024-03-04T12:10:17Z | http://arxiv.org/pdf/2403.02367v1 | http://arxiv.org/abs/2403.02367v1 | Séamus Lankford, Haithem Afli, Andy Way | 2024-03-04T12:10:17Z | cs.CL, cs.AI | adaptNMT streamlines all processes involved in the development and deployment
of RNN and Transformer neural translation models. As an open-source
application, it is designed for both technical and non-technical users who work
in the field of machine translation. Built upon the widely-adopted OpenNMT
ecosystem, the application is particularly useful for new entrants to the field
since the setup of the development environment and creation of train,
validation and test splits is greatly simplified. Graphing, embedded within the
application, illustrates the progress of model training, and SentencePiece is
used for creating subword segmentation models. Hyperparameter customization is
facilitated through an intuitive user interface, and a single-click model
development approach has been implemented. Models developed by adaptNMT can be
evaluated using a range of metrics, and deployed as a translation service
within the application. To support eco-friendly research in the NLP space, a
green report also flags the power consumption and kgCO$_{2}$ emissions
generated during model development. The application is freely available. | cs.CL | adaptNMT: an open-source, language-agnostic development environment for Neural Machine Translation |
2024-03-04T11:49:08Z | http://arxiv.org/pdf/2403.01954v2 | http://arxiv.org/abs/2403.01954v2 | Chen Xu, Tian Lan, Changlong Yu, Wei Wang, Jun Gao, Yu Ji, Qunxi Dong, Kun Qian, Piji Li, Wei Bi, Bin Hu | 2024-05-09T09:21:47Z | cs.CL, cs.AI, cs.LO | Lexicon-based constrained decoding approaches aim to control the meaning or
style of the generated text through certain target concepts. Existing
approaches over-focus the targets themselves, leading to a lack of high-level
reasoning about how to achieve them. However, human usually tackles tasks by
following certain rules that not only focuses on the targets but also on
semantically relevant concepts that induce the occurrence of targets. In this
work, we present DECIDER, a rule-controllable decoding strategy for constrained
language generation inspired by dual-system cognitive theory. Specifically, in
DECIDER, a pre-trained language model (PLM) is equiped with a logic reasoner
that takes high-level rules as input. Then, the DECIDER allows rule signals to
flow into the PLM at each decoding step. Extensive experimental results
demonstrate that DECIDER can effectively follow given rules to guide generation
direction toward the targets in a more human-like manner. | cs.CL | DECIDER: A Rule-Controllable Decoding Strategy for Language Generation by Imitating Dual-System Cognitive Theory |
2024-03-04T11:45:46Z | http://arxiv.org/pdf/2403.02366v1 | http://arxiv.org/abs/2403.02366v1 | Séamus Lankford, Haithem Afli, Andy Way | 2024-03-04T11:45:46Z | cs.CL, cs.AI | In this study, a human evaluation is carried out on how hyperparameter
settings impact the quality of Transformer-based Neural Machine Translation
(NMT) for the low-resourced English--Irish pair. SentencePiece models using
both Byte Pair Encoding (BPE) and unigram approaches were appraised. Variations
in model architectures included modifying the number of layers, evaluating the
optimal number of heads for attention and testing various regularisation
techniques. The greatest performance improvement was recorded for a
Transformer-optimized model with a 16k BPE subword model. Compared with a
baseline Recurrent Neural Network (RNN) model, a Transformer-optimized model
demonstrated a BLEU score improvement of 7.8 points. When benchmarked against
Google Translate, our translation engines demonstrated significant
improvements. Furthermore, a quantitative fine-grained manual evaluation was
conducted which compared the performance of machine translation systems. Using
the Multidimensional Quality Metrics (MQM) error taxonomy, a human evaluation
of the error types generated by an RNN-based system and a Transformer-based
system was explored. Our findings show the best-performing Transformer system
significantly reduces both accuracy and fluency errors when compared with an
RNN-based model. | cs.CL | Human Evaluation of English--Irish Transformer-Based NMT |
2024-03-04T10:57:14Z | http://arxiv.org/pdf/2403.01931v2 | http://arxiv.org/abs/2403.01931v2 | Leon Weber-Genzel, Siyao Peng, Marie-Catherine de Marneffe, Barbara Plank | 2024-06-06T06:18:54Z | cs.CL | Human label variation arises when annotators assign different labels to the
same item for valid reasons, while annotation errors occur when labels are
assigned for invalid reasons. These two issues are prevalent in NLP benchmarks,
yet existing research has studied them in isolation. To the best of our
knowledge, there exists no prior work that focuses on teasing apart error from
signal, especially in cases where signal is beyond black-and-white. To fill
this gap, we introduce a systematic methodology and a new dataset, VariErr
(variation versus error), focusing on the NLI task in English. We propose a
2-round annotation procedure with annotators explaining each label and
subsequently judging the validity of label-explanation pairs. VariErr contains
7,732 validity judgments on 1,933 explanations for 500 re-annotated MNLI items.
We assess the effectiveness of various automatic error detection (AED) methods
and GPTs in uncovering errors versus human label variation. We find that
state-of-the-art AED methods significantly underperform GPTs and humans. While
GPT-4 is the best system, it still falls short of human performance. Our
methodology is applicable beyond NLI, offering fertile ground for future
research on error versus plausible variation, which in turn can yield better
and more trustworthy NLP systems. | cs.CL | VariErr NLI: Separating Annotation Error from Human Label Variation |
2024-03-04T10:48:13Z | http://arxiv.org/pdf/2403.01929v1 | http://arxiv.org/abs/2403.01929v1 | Evgeniia Razumovskaia, Ivan Vulić, Anna Korhonen | 2024-03-04T10:48:13Z | cs.CL | Supervised fine-tuning (SFT), supervised instruction tuning (SIT) and
in-context learning (ICL) are three alternative, de facto standard approaches
to few-shot learning. ICL has gained popularity recently with the advent of
LLMs due to its simplicity and sample efficiency. Prior research has conducted
only limited investigation into how these approaches work for multilingual
few-shot learning, and the focus so far has been mostly on their performance.
In this work, we present an extensive and systematic comparison of the three
approaches, testing them on 6 high- and low-resource languages, three different
NLU tasks, and a myriad of language and domain setups. Importantly, performance
is only one aspect of the comparison, where we also analyse the approaches
through the optics of their computational, inference and financial costs. Our
observations show that supervised instruction tuning has the best trade-off
between performance and resource requirements. As another contribution, we
analyse the impact of target language adaptation of pretrained LLMs and find
that the standard adaptation approaches can (superficially) improve target
language generation capabilities, but language understanding elicited through
ICL does not improve and remains limited, with low scores especially for
low-resource languages. | cs.CL | Analyzing and Adapting Large Language Models for Few-Shot Multilingual NLU: Are We There Yet? |
2024-03-04T10:42:08Z | http://arxiv.org/pdf/2403.01926v1 | http://arxiv.org/abs/2403.01926v1 | Tahir Javed, Janki Atul Nawale, Eldho Ittan George, Sakshi Joshi, Kaushal Santosh Bhogale, Deovrat Mehendale, Ishvinder Virender Sethi, Aparna Ananthanarayanan, Hafsah Faquih, Pratiti Palit, Sneha Ravishankar, Saranya Sukumaran, Tripura Panchagnula, Sunjay Murali, Kunal Sharad Gandhi, Ambujavalli R, Manickam K M, C Venkata Vaijayanthi, Krishnan Srinivasa Raghavan Karunganni, Pratyush Kumar, Mitesh M Khapra | 2024-03-04T10:42:08Z | cs.CL | We present INDICVOICES, a dataset of natural and spontaneous speech
containing a total of 7348 hours of read (9%), extempore (74%) and
conversational (17%) audio from 16237 speakers covering 145 Indian districts
and 22 languages. Of these 7348 hours, 1639 hours have already been
transcribed, with a median of 73 hours per language. Through this paper, we
share our journey of capturing the cultural, linguistic and demographic
diversity of India to create a one-of-its-kind inclusive and representative
dataset. More specifically, we share an open-source blueprint for data
collection at scale comprising of standardised protocols, centralised tools, a
repository of engaging questions, prompts and conversation scenarios spanning
multiple domains and topics of interest, quality control mechanisms,
comprehensive transcription guidelines and transcription tools. We hope that
this open source blueprint will serve as a comprehensive starter kit for data
collection efforts in other multilingual regions of the world. Using
INDICVOICES, we build IndicASR, the first ASR model to support all the 22
languages listed in the 8th schedule of the Constitution of India. All the
data, tools, guidelines, models and other materials developed as a part of this
work will be made publicly available | cs.CL | IndicVoices: Towards building an Inclusive Multilingual Speech Dataset for Indian Languages |
2024-03-04T10:41:52Z | http://arxiv.org/pdf/2403.01924v2 | http://arxiv.org/abs/2403.01924v2 | Giacomo Frisoni, Alessio Cocchieri, Alex Presepi, Gianluca Moro, Zaiqiao Meng | 2024-06-13T08:42:05Z | cs.CL, cs.AI | Medical open-domain question answering demands substantial access to
specialized knowledge. Recent efforts have sought to decouple knowledge from
model parameters, counteracting architectural scaling and allowing for training
on common low-resource hardware. The retrieve-then-read paradigm has become
ubiquitous, with model predictions grounded on relevant knowledge pieces from
external repositories such as PubMed, textbooks, and UMLS. An alternative path,
still under-explored but made possible by the advent of domain-specific large
language models, entails constructing artificial contexts through prompting. As
a result, "to generate or to retrieve" is the modern equivalent of Hamlet's
dilemma. This paper presents MedGENIE, the first generate-then-read framework
for multiple-choice question answering in medicine. We conduct extensive
experiments on MedQA-USMLE, MedMCQA, and MMLU, incorporating a practical
perspective by assuming a maximum of 24GB VRAM. MedGENIE sets a new
state-of-the-art in the open-book setting of each testbed, allowing a
small-scale reader to outcompete zero-shot closed-book 175B baselines while
using up to 706$\times$ fewer parameters. Our findings reveal that generated
passages are more effective than retrieved ones in attaining higher accuracy. | cs.CL | To Generate or to Retrieve? On the Effectiveness of Artificial Contexts for Medical Open-Domain Question Answering |
2024-03-04T10:37:48Z | http://arxiv.org/pdf/2403.01921v1 | http://arxiv.org/abs/2403.01921v1 | Latifah Almurqren, Ryan Hodgson, Alexandra Cristea | 2024-03-04T10:37:48Z | cs.CL | Sentiment analysis (SA) has been, and is still, a thriving research area.
However, the task of Arabic sentiment analysis (ASA) is still underrepresented
in the body of research. This study offers the first in-depth and in-breadth
analysis of existing ASA studies of textual content and identifies their common
themes, domains of application, methods, approaches, technologies and
algorithms used. The in-depth study manually analyses 133 ASA papers published
in the English language between 2002 and 2020 from four academic databases
(SAGE, IEEE, Springer, WILEY) and from Google Scholar. The in-breadth study
uses modern, automatic machine learning techniques, such as topic modelling and
temporal analysis, on Open Access resources, to reinforce themes and trends
identified by the prior study, on 2297 ASA publications between 2010-2020. The
main findings show the different approaches used for ASA: machine learning,
lexicon-based and hybrid approaches. Other findings include ASA 'winning'
algorithms (SVM, NB, hybrid methods). Deep learning methods, such as LSTM can
provide higher accuracy, but for ASA sometimes the corpora are not large enough
to support them. Additionally, whilst there are some ASA corpora and lexicons,
more are required. Specifically, Arabic tweets corpora and datasets are
currently only moderately sized. Moreover, Arabic lexicons that have high
coverage contain only Modern Standard Arabic (MSA) words, and those with Arabic
dialects are quite small. Thus, new corpora need to be created. On the other
hand, ASA tools are stringently lacking. There is a need to develop ASA tools
that can be used in industry, as well as in academia, for Arabic text SA.
Hence, our study offers insights into the challenges associated with ASA
research and provides suggestions for ways to move the field forward such as
lack of Dialectical Arabic resource, Arabic tweets, corpora and data sets for
SA. | cs.CL | Arabic Text Sentiment Analysis: Reinforcing Human-Performed Surveys with Wider Topic Analysis |
2024-03-04T10:27:23Z | http://arxiv.org/pdf/2406.07553v1 | http://arxiv.org/abs/2406.07553v1 | Ditto PS, Jithin VG, Adarsh MS | 2024-03-04T10:27:23Z | cs.DC, cs.CL | In recent years, large language models have demonstrated remarkable
performance across various natural language processing (NLP) tasks. However,
deploying these models for real-world applications often requires efficient
inference solutions to handle the computational demands. In this paper, we
explore the utilization of CPUs for accelerating the inference of large
language models. Specifically, we introduce a parallelized approach to enhance
throughput by 1) Exploiting the parallel processing capabilities of modern CPU
architectures, 2) Batching the inference request. Our evaluation shows the
accelerated inference engine gives an 18-22x improvement in the generated token
per sec. The improvement is more with longer sequence and larger models. In
addition to this, we can also run multiple workers in the same machine with
NUMA node isolation to further improvement in tokens/s. Table 2, we have
received 4x additional improvement with 4 workers. This would also make Gen-AI
based products and companies environment friendly, our estimates shows that CPU
usage for Inference could reduce the power consumption of LLMs by 48.9% while
providing production ready throughput and latency. | cs.DC | Inference Acceleration for Large Language Models on CPUs |
2024-03-04T10:13:30Z | http://arxiv.org/pdf/2403.04791v1 | http://arxiv.org/abs/2403.04791v1 | Ahmed Izzidien, Holli Sargeant, Felix Steffek | 2024-03-04T10:13:30Z | cs.CL, cs.IR, cs.LG | To undertake computational research of the law, efficiently identifying
datasets of court decisions that relate to a specific legal issue is a crucial
yet challenging endeavour. This study addresses the gap in the literature
working with large legal corpora about how to isolate cases, in our case
summary judgments, from a large corpus of UK court decisions. We introduce a
comparative analysis of two computational methods: (1) a traditional natural
language processing-based approach leveraging expert-generated keywords and
logical operators and (2) an innovative application of the Claude 2 large
language model to classify cases based on content-specific prompts. We use the
Cambridge Law Corpus of 356,011 UK court decisions and determine that the large
language model achieves a weighted F1 score of 0.94 versus 0.78 for keywords.
Despite iterative refinement, the search logic based on keywords fails to
capture nuances in legal language. We identify and extract 3,102 summary
judgment cases, enabling us to map their distribution across various UK courts
over a temporal span. The paper marks a pioneering step in employing advanced
natural language processing to tackle core legal research tasks, demonstrating
how these technologies can bridge systemic gaps and enhance the accessibility
of legal information. We share the extracted dataset metrics to support further
research on summary judgments. | cs.CL | LLM vs. Lawyers: Identifying a Subset of Summary Judgments in a Large UK Case Law Dataset |
2024-03-04T10:00:55Z | http://arxiv.org/pdf/2403.04790v1 | http://arxiv.org/abs/2403.04790v1 | Juhao Liang, Ziwei Wang, Zhuoheng Ma, Jianquan Li, Zhiyi Zhang, Xiangbo Wu, Benyou Wang | 2024-03-04T10:00:55Z | cs.CL, cs.AI | Large Language Models(LLMs) have dramatically revolutionized the field of
Natural Language Processing(NLP), offering remarkable capabilities that have
garnered widespread usage. However, existing interaction paradigms between LLMs
and users are constrained by either inflexibility, limitations in
customization, or a lack of persistent learning. This inflexibility is
particularly evident as users, especially those without programming skills,
have restricted avenues to enhance or personalize the model. Existing
frameworks further complicate the model training and deployment process due to
their computational inefficiencies and lack of user-friendly interfaces. To
overcome these challenges, this paper introduces a novel interaction
paradigm-'Online Training using External Interactions'-that merges the benefits
of persistent, real-time model updates with the flexibility for individual
customization through external interactions such as AI agents or online/offline
knowledge bases. | cs.CL | Online Training of Large Language Models: Learn while chatting |
2024-03-04T09:56:47Z | http://arxiv.org/pdf/2403.01897v2 | http://arxiv.org/abs/2403.01897v2 | Rodrigo Santos, João Rodrigues, Luís Gomes, João Silva, António Branco, Henrique Lopes Cardoso, Tomás Freitas Osório, Bernardo Leite | 2024-03-05T10:49:17Z | cs.CL | To foster the neural encoding of Portuguese, this paper contributes
foundation encoder models that represent an expansion of the still very scarce
ecosystem of large language models specifically developed for this language
that are fully open, in the sense that they are open source and openly
distributed for free under an open license for any purpose, thus including
research and commercial usages. Like most languages other than English,
Portuguese is low-resourced in terms of these foundational language resources,
there being the inaugural 900 million parameter Albertina and 335 million
Bertimbau. Taking this couple of models as an inaugural set, we present the
extension of the ecosystem of state-of-the-art open encoders for Portuguese
with a larger, top performance-driven model with 1.5 billion parameters, and a
smaller, efficiency-driven model with 100 million parameters. While achieving
this primary goal, further results that are relevant for this ecosystem were
obtained as well, namely new datasets for Portuguese based on the SuperGLUE
benchmark, which we also distribute openly. | cs.CL | Fostering the Ecosystem of Open Neural Encoders for Portuguese with Albertina PT* Family |
2024-03-04T09:48:55Z | http://arxiv.org/pdf/2403.01886v1 | http://arxiv.org/abs/2403.01886v1 | Xudong Zhu, Zhao Kang, Bei Hui | 2024-03-04T09:48:55Z | cs.CL, cs.AI | Document-level Relation Extraction (DocRE) aims to identify relation labels
between entities within a single document. It requires handling several
sentences and reasoning over them. State-of-the-art DocRE methods use a graph
structure to connect entities across the document to capture dependency syntax
information. However, this is insufficient to fully exploit the rich syntax
information in the document. In this work, we propose to fuse constituency and
dependency syntax into DocRE. It uses constituency syntax to aggregate the
whole sentence information and select the instructive sentences for the pairs
of targets. It exploits the dependency syntax in a graph structure with
constituency syntax enhancement and chooses the path between entity pairs based
on the dependency graph. The experimental results on datasets from various
domains demonstrate the effectiveness of the proposed method. The code is
publicly available at this url. | cs.CL | FCDS: Fusing Constituency and Dependency Syntax into Document-Level Relation Extraction |
2024-03-04T09:13:33Z | http://arxiv.org/pdf/2403.01858v1 | http://arxiv.org/abs/2403.01858v1 | Zhi-Rui Tam, Ya-Ting Pai, Yen-Wei Lee, Sega Cheng, Hong-Han Shuai | 2024-03-04T09:13:33Z | cs.CL | We present TMMLU+, a comprehensive dataset designed for the Traditional
Chinese massive multitask language understanding dataset. TMMLU+ is a
multiple-choice question-answering dataset with 66 subjects from elementary to
professional level. Compared to its predecessor, TMMLU, TMMLU+ is six times
larger and boasts a more balanced subject distribution. We included benchmark
results in TMMLU+ from closed-source models and 24 open-weight Chinese large
language models of parameters ranging from 1.8B to 72B. Our findings reveal
that Traditional Chinese models still trail behind their Simplified Chinese
counterparts. Additionally, current large language models have yet to
outperform human performance in average scores. We publicly release our dataset
and the corresponding benchmark source code. | cs.CL | An Improved Traditional Chinese Evaluation Suite for Foundation Model |
2024-03-04T09:01:10Z | http://arxiv.org/pdf/2403.01851v1 | http://arxiv.org/abs/2403.01851v1 | Yiming Cui, Xin Yao | 2024-03-04T09:01:10Z | cs.CL, cs.AI | Mixtral, a representative sparse mixture of experts (SMoE) language model,
has received significant attention due to its unique model design and superior
performance. Based on Mixtral-8x7B-v0.1, in this paper, we propose
Chinese-Mixtral and Chinese-Mixtral-Instruct with improved Chinese language
abilities by adopting further pre-training and instruction fine-tuning.
Experimental results show that our Chinese-Mixtral and Chinese-Mixtral-Instruct
successfully improve Chinese understanding and generation performance while
retaining the original English abilities. Then, we discuss several key
questions when performing language adaptation on large language models,
including the necessity of extending the language-specific vocabulary and the
choice of the initialization model (foundation model v.s. instruction model),
by providing empirical results and analysis. We also present the visualizations
of each expert to examine their importance on downstream tasks. Our resources
are publicly available through \url{https://github.com/ymcui/Chinese-Mixtral}. | cs.CL | Rethinking LLM Language Adaptation: A Case Study on Chinese Mixtral |
2024-03-04T08:55:34Z | http://arxiv.org/pdf/2403.01848v1 | http://arxiv.org/abs/2403.01848v1 | Lin Xu, Qixian Zhou, Jinlan Fu, See-Kiong Ng | 2024-03-04T08:55:34Z | cs.CL | Knowledge-grounded dialogue systems aim to generate coherent and engaging
responses based on the dialogue contexts and selected external knowledge.
Previous knowledge selection methods tend to rely too heavily on the dialogue
contexts or over-emphasize the new information in the selected knowledge,
resulting in the selection of repetitious or incongruous knowledge and further
generating repetitive or incoherent responses, as the generation of the
response depends on the chosen knowledge. To address these shortcomings, we
introduce a Coherent and Engaging Topic Transition (CET2) framework to model
topic transitions for selecting knowledge that is coherent to the context of
the conversations while providing adequate knowledge diversity for topic
development. Our CET2 framework considers multiple factors for knowledge
selection, including valid transition logic from dialogue contexts to the
following topics and systematic comparisons between available knowledge
candidates. Extensive experiments on two public benchmarks demonstrate the
superiority and the better generalization ability of CET2 on knowledge
selection. This is due to our well-designed transition features and comparative
knowledge selection strategy, which are more transferable to conversations
about unseen topics. Analysis of fine-grained knowledge selection accuracy also
shows that CET2 can better balance topic entailment (contextual coherence) and
development (knowledge diversity) in dialogue than existing approaches. | cs.CL | CET2: Modelling Topic Transitions for Coherent and Engaging Knowledge-Grounded Conversations |
2024-03-04T08:38:56Z | http://arxiv.org/pdf/2403.01841v2 | http://arxiv.org/abs/2403.01841v2 | Jiahuan Yan, Bo Zheng, Hongxia Xu, Yiheng Zhu, Danny Z. Chen, Jimeng Sun, Jian Wu, Jintai Chen | 2024-03-12T07:34:28Z | cs.CL, cs.LG | The transferability of deep neural networks (DNNs) has made significant
progress in image and language processing. However, due to the heterogeneity
among tables, such DNN bonus is still far from being well exploited on tabular
data prediction (e.g., regression or classification tasks). Condensing
knowledge from diverse domains, language models (LMs) possess the capability to
comprehend feature names from various tables, potentially serving as versatile
learners in transferring knowledge across distinct tables and diverse
prediction tasks, but their discrete text representation space is inherently
incompatible with numerical feature values in tables. In this paper, we present
TP-BERTa, a specifically pre-trained LM for tabular data prediction.
Concretely, a novel relative magnitude tokenization converts scalar numerical
feature values to finely discrete, high-dimensional tokens, and an
intra-feature attention approach integrates feature values with the
corresponding feature names. Comprehensive experiments demonstrate that our
pre-trained TP-BERTa leads the performance among tabular DNNs and is
competitive with Gradient Boosted Decision Tree models in typical tabular data
regime. | cs.CL | Making Pre-trained Language Models Great on Tabular Prediction |
2024-03-04T08:38:53Z | http://arxiv.org/pdf/2403.04789v2 | http://arxiv.org/abs/2403.04789v2 | Jiamin Luo, Jingjing Wang, Guodong Zhou | 2024-03-11T01:04:28Z | cs.CL, cs.AI, cs.LG | Multimodal Conversational Emotion (MCE) detection, generally spanning across
the acoustic, vision and language modalities, has attracted increasing interest
in the multimedia community. Previous studies predominantly focus on learning
contextual information in conversations with only a few considering the topic
information in single language modality, while always neglecting the acoustic
and vision topic information. On this basis, we propose a model-agnostic
Topic-enriched Diffusion (TopicDiff) approach for capturing multimodal topic
information in MCE tasks. Particularly, we integrate the diffusion model into
neural topic model to alleviate the diversity deficiency problem of neural
topic model in capturing topic information. Detailed evaluations demonstrate
the significant improvements of TopicDiff over the state-of-the-art MCE
baselines, justifying the importance of multimodal topic information to MCE and
the effectiveness of TopicDiff in capturing such information. Furthermore, we
observe an interesting finding that the topic information in acoustic and
vision is more discriminative and robust compared to the language. | cs.CL | TopicDiff: A Topic-enriched Diffusion Approach for Multimodal Conversational Emotion Detection |
2024-03-04T08:29:15Z | http://arxiv.org/pdf/2403.01832v1 | http://arxiv.org/abs/2403.01832v1 | Chanjun Park, Minsoo Khang, Dahyun Kim | 2024-03-04T08:29:15Z | cs.AI, cs.CL | This paper delves into the contrasting roles of data within academic and
industrial spheres, highlighting the divergence between Data-Centric AI and
Model-Agnostic AI approaches. We argue that while Data-Centric AI focuses on
the primacy of high-quality data for model performance, Model-Agnostic AI
prioritizes algorithmic flexibility, often at the expense of data quality
considerations. This distinction reveals that academic standards for data
quality frequently do not meet the rigorous demands of industrial applications,
leading to potential pitfalls in deploying academic models in real-world
settings. Through a comprehensive analysis, we address these disparities,
presenting both the challenges they pose and strategies for bridging the gap.
Furthermore, we propose a novel paradigm: Model-Based Data-Centric AI, which
aims to reconcile these differences by integrating model considerations into
data optimization processes. This approach underscores the necessity for
evolving data requirements that are sensitive to the nuances of both academic
research and industrial deployment. By exploring these discrepancies, we aim to
foster a more nuanced understanding of data's role in AI development and
encourage a convergence of academic and industrial standards to enhance AI's
real-world applicability. | cs.AI | Model-Based Data-Centric AI: Bridging the Divide Between Academic Ideals and Industrial Pragmatism |
2024-03-04T08:14:07Z | http://arxiv.org/pdf/2403.14668v1 | http://arxiv.org/abs/2403.14668v1 | Liang Zhang, Jionghao Lin, Conrad Borchers, John Sabatini, John Hollander, Meng Cao, Xiangen Hu | 2024-03-04T08:14:07Z | cs.CY, cs.AI, cs.CL, cs.LG | Intelligent Tutoring Systems (ITSs) have significantly enhanced adult
literacy training, a key factor for societal participation, employment
opportunities, and lifelong learning. Our study investigates the application of
advanced AI models, including Large Language Models (LLMs) like GPT-4, for
predicting learning performance in adult literacy programs in ITSs. This
research is motivated by the potential of LLMs to predict learning performance
based on its inherent reasoning and computational capabilities. By using
reading comprehension datasets from the ITS, AutoTutor, we evaluate the
predictive capabilities of GPT-4 versus traditional machine learning methods in
predicting learning performance through five-fold cross-validation techniques.
Our findings show that the GPT-4 presents the competitive predictive abilities
with traditional machine learning methods such as Bayesian Knowledge Tracing,
Performance Factor Analysis, Sparse Factor Analysis Lite (SPARFA-Lite), tensor
factorization and eXtreme Gradient Boosting (XGBoost). While XGBoost (trained
on local machine) outperforms GPT-4 in predictive accuracy, GPT-4-selected
XGBoost and its subsequent tuning on the GPT-4 platform demonstrates superior
performance compared to local machine execution. Moreover, our investigation
into hyper-parameter tuning by GPT-4 versus grid-search suggests comparable
performance, albeit with less stability in the automated approach, using
XGBoost as the case study. Our study contributes to the field by highlighting
the potential of integrating LLMs with traditional machine learning models to
enhance predictive accuracy and personalize adult literacy education, setting a
foundation for future research in applying LLMs within ITSs. | cs.CY | Predicting Learning Performance with Large Language Models: A Study in Adult Literacy |
2024-03-04T08:05:34Z | http://arxiv.org/pdf/2403.01817v1 | http://arxiv.org/abs/2403.01817v1 | Wilson Wongso, David Samuel Setiawan, Steven Limcorn, Ananto Joyoadikusumo | 2024-03-04T08:05:34Z | cs.CL | Indonesia's linguistic landscape is remarkably diverse, encompassing over 700
languages and dialects, making it one of the world's most linguistically rich
nations. This diversity, coupled with the widespread practice of code-switching
and the presence of low-resource regional languages, presents unique challenges
for modern pre-trained language models. In response to these challenges, we
developed NusaBERT, building upon IndoBERT by incorporating vocabulary
expansion and leveraging a diverse multilingual corpus that includes regional
languages and dialects. Through rigorous evaluation across a range of
benchmarks, NusaBERT demonstrates state-of-the-art performance in tasks
involving multiple languages of Indonesia, paving the way for future natural
language understanding research for under-represented languages. | cs.CL | NusaBERT: Teaching IndoBERT to be Multilingual and Multicultural |
2024-03-04T07:58:26Z | http://arxiv.org/pdf/2403.01811v2 | http://arxiv.org/abs/2403.01811v2 | Felix Künnecke, Anna Filighera, Colin Leong, Tim Steuer | 2024-03-19T15:40:52Z | cs.CL | Grading short answer questions automatically with interpretable reasoning
behind the grading decision is a challenging goal for current transformer
approaches. Justification cue detection, in combination with logical reasoners,
has shown a promising direction for neuro-symbolic architectures in ASAG. But,
one of the main challenges is the requirement of annotated justification cues
in the students' responses, which only exist for a few ASAG datasets. To
overcome this challenge, we contribute (1) a weakly supervised annotation
procedure for justification cues in ASAG datasets, and (2) a neuro-symbolic
model for explainable ASAG based on justification cues. Our approach improves
upon the RMSE by 0.24 to 0.3 compared to the state-of-the-art on the Short
Answer Feedback dataset in a bilingual, multi-domain, and multi-question
training setup. This result shows that our approach provides a promising
direction for generating high-quality grades and accompanying explanations for
future research in ASAG and educational NLP. | cs.CL | Enhancing Multi-Domain Automatic Short Answer Grading through an Explainable Neuro-Symbolic Pipeline |
2024-03-04T07:10:31Z | http://arxiv.org/pdf/2403.01777v2 | http://arxiv.org/abs/2403.01777v2 | Lizhou Fan, Wenyue Hua, Xiang Li, Kaijie Zhu, Mingyu Jin, Lingyao Li, Haoyang Ling, Jinkui Chi, Jindong Wang, Xin Ma, Yongfeng Zhang | 2024-03-05T18:26:04Z | cs.CL, cs.CV | Understanding the reasoning capabilities of Multimodal Large Language Models
(MLLMs) is an important area of research. In this study, we introduce a dynamic
benchmark, NPHardEval4V, aimed at addressing the existing gaps in evaluating
the pure reasoning abilities of MLLMs. Our benchmark aims to provide a venue to
disentangle the effect of various factors such as image recognition and
instruction following, from the overall performance of the models, allowing us
to focus solely on evaluating their reasoning abilities. It is built by
converting textual description of questions from NPHardEval to image
representations. Our findings reveal significant discrepancies in reasoning
abilities across different models and highlight the relatively weak performance
of MLLMs compared to LLMs in terms of reasoning. We also investigate the impact
of different prompting styles, including visual, text, and combined visual and
text prompts, on the reasoning abilities of MLLMs, demonstrating the different
impacts of multimodal inputs in model performance. Unlike traditional
benchmarks, which focus primarily on static evaluations, our benchmark will be
updated monthly to prevent overfitting and ensure a more authentic and
fine-grained evaluation of the models. We believe that this benchmark can aid
in understanding and guide the further development of reasoning abilities in
MLLMs. The benchmark dataset and code are available at
https://github.com/lizhouf/NPHardEval4V | cs.CL | NPHardEval4V: A Dynamic Reasoning Benchmark of Multimodal Large Language Models |
2024-03-04T07:06:41Z | http://arxiv.org/pdf/2403.01774v2 | http://arxiv.org/abs/2403.01774v2 | Haolin Deng, Chang Wang, Xin Li, Dezhang Yuan, Junlang Zhan, Tianhua Zhou, Jin Ma, Jun Gao, Ruifeng Xu | 2024-05-29T02:45:11Z | cs.CL | Enhancing the attribution in large language models (LLMs) is a crucial task.
One feasible approach is to enable LLMs to cite external sources that support
their generations. However, existing datasets and evaluation methods in this
domain still exhibit notable limitations. In this work, we formulate the task
of attributed query-focused summarization (AQFS) and present WebCiteS, a
Chinese dataset featuring 7k human-annotated summaries with citations. WebCiteS
derives from real-world user queries and web search results, offering a
valuable resource for model training and evaluation. Prior works in attribution
evaluation do not differentiate between groundedness errors and citation
errors. They also fall short in automatically verifying sentences that draw
partial support from multiple sources. We tackle these issues by developing
detailed metrics and enabling the automatic evaluator to decompose the
sentences into sub-claims for fine-grained verification. Our comprehensive
evaluation of both open-source and proprietary models on WebCiteS highlights
the challenge LLMs face in correctly citing sources, underscoring the necessity
for further improvement. The dataset and code will be open-sourced to
facilitate further research in this crucial field. | cs.CL | WebCiteS: Attributed Query-Focused Summarization on Chinese Web Search Results with Citations |
2024-03-04T06:52:19Z | http://arxiv.org/pdf/2403.01767v1 | http://arxiv.org/abs/2403.01767v1 | Bo Li, Yuyan Chen, Liang Zeng | 2024-03-04T06:52:19Z | cs.CL | Multi-Label Text Classification (MLTC) is a fundamental task in the field of
Natural Language Processing (NLP) that involves the assignment of multiple
labels to a given text. MLTC has gained significant importance and has been
widely applied in various domains such as topic recognition, recommendation
systems, sentiment analysis, and information retrieval. However, traditional
machine learning and Deep neural network have not yet addressed certain issues,
such as the fact that some documents are brief but have a large number of
labels and how to establish relationships between the labels. It is imperative
to additionally acknowledge that the significance of knowledge is substantiated
in the realm of MLTC. To address this issue, we provide a novel approach known
as Knowledge-enhanced Doc-Label Attention Network (KeNet). Specifically, we
design an Attention Network that incorporates external knowledge, label
embedding, and a comprehensive attention mechanism. In contrast to conventional
methods, we use comprehensive representation of documents, knowledge and labels
to predict all labels for each single text. Our approach has been validated by
comprehensive research conducted on three multi-label datasets. Experimental
results demonstrate that our method outperforms state-of-the-art MLTC method.
Additionally, a case study is undertaken to illustrate the practical
implementation of KeNet. | cs.CL | KeNet:Knowledge-enhanced Doc-Label Attention Network for Multi-label text classification |
2024-03-04T06:24:21Z | http://arxiv.org/pdf/2403.01757v1 | http://arxiv.org/abs/2403.01757v1 | Yuxiao Huang, Wenjie Zhang, Liang Feng, Xingyu Wu, Kay Chen Tan | 2024-03-04T06:24:21Z | cs.AI, cs.CL, cs.LG, cs.NE, math.OC | Recently, large language models (LLMs) have notably positioned them as
capable tools for addressing complex optimization challenges. Despite this
recognition, a predominant limitation of existing LLM-based optimization
methods is their struggle to capture the relationships among decision variables
when relying exclusively on numerical text prompts, especially in
high-dimensional problems. Keeping this in mind, we first propose to enhance
the optimization performance using multimodal LLM capable of processing both
textual and visual prompts for deeper insights of the processed optimization
problem. This integration allows for a more comprehensive understanding of
optimization problems, akin to human cognitive processes. We have developed a
multimodal LLM-based optimization framework that simulates human
problem-solving workflows, thereby offering a more nuanced and effective
analysis. The efficacy of this method is evaluated through extensive empirical
studies focused on a well-known combinatorial optimization problem, i.e.,
capacitated vehicle routing problem. The results are compared against those
obtained from the LLM-based optimization algorithms that rely solely on textual
prompts, demonstrating the significant advantages of our multimodal approach. | cs.AI | How Multimodal Integration Boost the Performance of LLM for Optimization: Case Study on Capacitated Vehicle Routing Problems |
2024-03-04T06:20:31Z | http://arxiv.org/pdf/2403.01754v1 | http://arxiv.org/abs/2403.01754v1 | Feihu Jin, Yin Liu, Ying Tan | 2024-03-04T06:20:31Z | cs.CL | Parameter-efficient tuning methods such as LoRA could achieve comparable
performance to model tuning by tuning a small portion of the parameters.
However, substantial computational resources are still required, as this
process involves calculating gradients and performing back-propagation
throughout the model. Much effort has recently been devoted to utilizing the
derivative-free optimization method to eschew the computation of gradients and
showcase an augmented level of robustness in few-shot settings. In this paper,
we prepend the low-rank modules into each self-attention layer of the model and
employ two derivative-free optimization methods to optimize these low-rank
modules at each layer alternately. Extensive results on various tasks and
language models demonstrate that our proposed method achieves substantial
improvement and exhibits clear advantages in memory usage and convergence speed
compared to existing gradient-based parameter-efficient tuning and
derivative-free optimization methods in few-shot settings. | cs.CL | Derivative-Free Optimization for Low-Rank Adaptation in Large Language Models |
2024-03-04T05:57:50Z | http://arxiv.org/pdf/2403.01749v1 | http://arxiv.org/abs/2403.01749v1 | Chulin Xie, Zinan Lin, Arturs Backurs, Sivakanth Gopi, Da Yu, Huseyin A Inan, Harsha Nori, Haotian Jiang, Huishuai Zhang, Yin Tat Lee, Bo Li, Sergey Yekhanin | 2024-03-04T05:57:50Z | cs.CL | Text data has become extremely valuable due to the emergence of machine
learning algorithms that learn from it. A lot of high-quality text data
generated in the real world is private and therefore cannot be shared or used
freely due to privacy concerns. Generating synthetic replicas of private text
data with a formal privacy guarantee, i.e., differential privacy (DP), offers a
promising and scalable solution. However, existing methods necessitate DP
finetuning of large language models (LLMs) on private data to generate DP
synthetic data. This approach is not viable for proprietary LLMs (e.g.,
GPT-3.5) and also demands considerable computational resources for open-source
LLMs. Lin et al. (2024) recently introduced the Private Evolution (PE)
algorithm to generate DP synthetic images with only API access to diffusion
models. In this work, we propose an augmented PE algorithm, named Aug-PE, that
applies to the complex setting of text. We use API access to an LLM and
generate DP synthetic text without any model training. We conduct comprehensive
experiments on three benchmark datasets. Our results demonstrate that Aug-PE
produces DP synthetic text that yields competitive utility with the SOTA DP
finetuning baselines. This underscores the feasibility of relying solely on API
access of LLMs to produce high-quality DP synthetic texts, thereby facilitating
more accessible routes to privacy-preserving LLM applications. Our code and
data are available at https://github.com/AI-secure/aug-pe. | cs.CL | Differentially Private Synthetic Data via Foundation Model APIs 2: Text |
2024-03-04T05:55:01Z | http://arxiv.org/pdf/2403.01748v3 | http://arxiv.org/abs/2403.01748v3 | Yiqian Yang, Yiqun Duan, Qiang Zhang, Hyejeong Jo, Jinni Zhou, Won Hee Lee, Renjing Xu, Hui Xiong | 2024-06-03T16:58:04Z | cs.CL, cs.AI | Decoding language from brain dynamics is an important open direction in the
realm of brain-computer interface (BCI), especially considering the rapid
growth of large language models. Compared to invasive-based signals which
require electrode implantation surgery, non-invasive neural signals (e.g. EEG,
MEG) have attracted increasing attention considering their safety and
generality. However, the exploration is not adequate in three aspects: 1)
previous methods mainly focus on EEG but none of the previous works address
this problem on MEG with better signal quality; 2) prior works have
predominantly used $``teacher-forcing"$ during generative decoding, which is
impractical; 3) prior works are mostly $``BART-based"$ not fully
auto-regressive, which performs better in other sequence tasks. In this paper,
we explore the brain-to-text translation of MEG signals in a speech-decoding
formation. Here we are the first to investigate a cross-attention-based
``whisper" model for generating text directly from MEG signals without teacher
forcing. Our model achieves impressive BLEU-1 scores of 60.30 and 52.89 without
pretraining $\&$ teacher-forcing on two major datasets ($\textit{GWilliams}$
and $\textit{Schoffelen}$). This paper conducts a comprehensive review to
understand how speech decoding formation performs on the neural decoding tasks,
including pretraining initialization, training $\&$ evaluation set splitting,
augmentation, and scaling law. Code is available at
https://github.com/NeuSpeech/NeuSpeech1$. | cs.CL | NeuSpeech: Decode Neural signal as Speech |
2024-03-04T05:52:41Z | http://arxiv.org/pdf/2403.01747v1 | http://arxiv.org/abs/2403.01747v1 | Ivan Sekulić, Krisztian Balog, Fabio Crestani | 2024-03-04T05:52:41Z | cs.IR, cs.CL | Conversational information-seeking (CIS) is an emerging paradigm for
knowledge acquisition and exploratory search. Traditional web search interfaces
enable easy exploration of entities, but this is limited in conversational
settings due to the limited-bandwidth interface. This paper explore ways to
rewrite answers in CIS, so that users can understand them without having to
resort to external services or sources. Specifically, we focus on salient
entities -- entities that are central to understanding the answer. As our first
contribution, we create a dataset of conversations annotated with entities for
saliency. Our analysis of the collected data reveals that the majority of
answers contain salient entities. As our second contribution, we propose two
answer rewriting strategies aimed at improving the overall user experience in
CIS. One approach expands answers with inline definitions of salient entities,
making the answer self-contained. The other approach complements answers with
follow-up questions, offering users the possibility to learn more about
specific entities. Results of a crowdsourcing-based study indicate that
rewritten answers are clearly preferred over the original ones. We also find
that inline definitions tend to be favored over follow-up questions, but this
choice is highly subjective, thereby providing a promising future direction for
personalization. | cs.IR | Towards Self-Contained Answers: Entity-Based Answer Rewriting in Conversational Search |
2024-03-04T03:24:18Z | http://arxiv.org/pdf/2403.01699v3 | http://arxiv.org/abs/2403.01699v3 | George Boateng, Jonathan Abrefah Mensah, Kevin Takyi Yeboah, William Edor, Andrew Kojo Mensah-Onumah, Naafi Dasana Ibrahim, Nana Sam Yeboah | 2024-04-30T19:22:36Z | cs.CL, cs.AI, cs.CY, cs.SD, eess.AS | The African continent lacks enough qualified teachers which hampers the
provision of adequate learning support. An AI could potentially augment the
efforts of the limited number of teachers, leading to better learning outcomes.
Towards that end, this work describes and evaluates the first key output for
the NSMQ AI Grand Challenge, which proposes a robust, real-world benchmark for
such an AI: "Build an AI to compete live in Ghana's National Science and Maths
Quiz (NSMQ) competition and win - performing better than the best contestants
in all rounds and stages of the competition". The NSMQ is an annual live
science and mathematics competition for senior secondary school students in
Ghana in which 3 teams of 2 students compete by answering questions across
biology, chemistry, physics, and math in 5 rounds over 5 progressive stages
until a winning team is crowned for that year. In this work, we built Brilla
AI, an AI contestant that we deployed to unofficially compete remotely and live
in the Riddles round of the 2023 NSMQ Grand Finale, the first of its kind in
the 30-year history of the competition. Brilla AI is currently available as a
web app that livestreams the Riddles round of the contest, and runs 4 machine
learning systems: (1) speech to text (2) question extraction (3) question
answering and (4) text to speech that work together in real-time to quickly and
accurately provide an answer, and then say it with a Ghanaian accent. In its
debut, our AI answered one of the 4 riddles ahead of the 3 human contesting
teams, unofficially placing second (tied). Improvements and extensions of this
AI could potentially be deployed to offer science tutoring to students and
eventually enable millions across Africa to have one-on-one learning
interactions, democratizing science education. | cs.CL | Brilla AI: AI Contestant for the National Science and Maths Quiz |
2024-03-04T03:21:40Z | http://arxiv.org/pdf/2403.01698v1 | http://arxiv.org/abs/2403.01698v1 | Yifei Yang, Tianqiao Liu, Bo Shao, Hai Zhao, Linjun Shou, Ming Gong, Daxin Jiang | 2024-03-04T03:21:40Z | cs.CL, cs.AI | Webpage entity extraction is a fundamental natural language processing task
in both research and applications. Nowadays, the majority of webpage entity
extraction models are trained on structured datasets which strive to retain
textual content and its structure information. However, existing datasets all
overlook the rich hypertext features (e.g., font color, font size) which show
their effectiveness in previous works. To this end, we first collect a
\textbf{H}ypertext \textbf{E}ntity \textbf{E}xtraction \textbf{D}ataset
(\textit{HEED}) from the e-commerce domains, scraping both the text and the
corresponding explicit hypertext features with high-quality manual entity
annotations. Furthermore, we present the \textbf{Mo}E-based \textbf{E}ntity
\textbf{E}xtraction \textbf{F}ramework (\textit{MoEEF}), which efficiently
integrates multiple features to enhance model performance by Mixture of Experts
and outperforms strong baselines, including the state-of-the-art small-scale
models and GPT-3.5-turbo. Moreover, the effectiveness of hypertext features in
\textit{HEED} and several model components in \textit{MoEEF} are analyzed. | cs.CL | Hypertext Entity Extraction in Webpage |
2024-03-04T01:41:07Z | http://arxiv.org/pdf/2403.04788v1 | http://arxiv.org/abs/2403.04788v1 | Aziida Nanyonga, Hassan Wasswa, Graham Wild | 2024-03-04T01:41:07Z | cs.CL, Topic Modeling, Aviation Safety, Aviation Accident Reports, Machine
Learning, LDA, NMF | Aviation safety is paramount in the modern world, with a continuous
commitment to reducing accidents and improving safety standards. Central to
this endeavor is the analysis of aviation accident reports, rich textual
resources that hold insights into the causes and contributing factors behind
aviation mishaps. This paper compares two prominent topic modeling techniques,
Latent Dirichlet Allocation (LDA) and Non-negative Matrix Factorization (NMF),
in the context of aviation accident report analysis. The study leverages the
National Transportation Safety Board (NTSB) Dataset with the primary objective
of automating and streamlining the process of identifying latent themes and
patterns within accident reports. The Coherence Value (C_v) metric was used to
evaluate the quality of generated topics. LDA demonstrates higher topic
coherence, indicating stronger semantic relevance among words within topics. At
the same time, NMF excelled in producing distinct and granular topics, enabling
a more focused analysis of specific aspects of aviation accidents. | cs.CL | Topic Modeling Analysis of Aviation Accident Reports: A Comparative Study between LDA and NMF Models |
2024-03-04T00:30:24Z | http://arxiv.org/pdf/2403.18843v1 | http://arxiv.org/abs/2403.18843v1 | Chang Sun, Hong Yang, Bo Qin | 2024-03-04T00:30:24Z | cs.CV, cs.CL, cs.LG, cs.SD, eess.AS | Visual Speech Recognition (VSR) tasks are generally recognized to have a
lower theoretical performance ceiling than Automatic Speech Recognition (ASR),
owing to the inherent limitations of conveying semantic information visually.
To mitigate this challenge, this paper introduces an advanced knowledge
distillation approach using a Joint-Embedding Predictive Architecture (JEPA),
named JEP-KD, designed to more effectively utilize audio features during model
training. Central to JEP-KD is the inclusion of a generative network within the
embedding layer, which enhances the video encoder's capacity for semantic
feature extraction and brings it into closer alignment with the audio features
from a pre-trained ASR model's encoder. This approach aims to progressively
reduce the performance gap between VSR and ASR. Moreover, a comprehensive
multimodal, multistage training regimen for the JEP-KD framework is
established, bolstering the robustness and efficacy of the training process.
Experiment results demonstrate that JEP-KD significantly improves the
performance of VSR models and demonstrates versatility across different VSR
platforms, indicating its potential for broader application within other
multimodal tasks. | cs.CV | JEP-KD: Joint-Embedding Predictive Architecture Based Knowledge Distillation for Visual Speech Recognition |
2024-03-03T23:40:35Z | http://arxiv.org/pdf/2403.01643v2 | http://arxiv.org/abs/2403.01643v2 | Mehran Hosseini, Peyman Hosseini | 2024-05-30T17:46:22Z | cs.LG, cs.AI, cs.CL, cs.CV, 68T07 (Primary) 68T45, 68T50, 68T10, 15A03, 15A04 (Secondary), I.2.6; I.2.7; I.2.10; I.4.0; I.5.0; I.7.0 | Scaled Dot Product Attention (SDPA) is the backbone of many modern
deep-learning models. It is so versatile that it has been used in natural
language, vision, and multi-modal domains with very little change compared to
its original formulation. This paper discusses why the current formulation is
inefficient by delving into the mathematical details of the attention
mechanism. We propose three improvements to mitigate these inefficiencies,
thereby, introducing three enhanced attention mechanisms: Optimised, Efficient,
and Super Attention. Optimised and Efficient Attention have one and two matrix
multiplications fewer per head, respectively, and 25% and 50% fewer parameters,
respectively, than standard SDPA, but perform similarly to standard SDPA in
both vision and natural language tasks. They can be used in all applications
where SDPA is used while offering smaller model sizes and faster training and
inference without noticeable loss in performance. Super Attention introduces a
new linear transformation on the values, transforming them from the left. It
outperforms standard SPDA on vision and natural language tasks by up to 17%
while having one fewer matrix multiplication per head and 25% fewer parameters
than standard SDPA. Consequently, it is also faster than standard SDPA. Super
Attention is ideal in applications where the attention layer's context length
is fixed, such as Vision Transformers. In addition to providing mathematical
reasoning, we evaluate the presented attention mechanisms on several datasets
including MNIST, CIFAR100, ImageNet, IMDB Movie Reviews, and Amazon Reviews
datasets, as well as combined Europarl and Anki English-Spanish datasets for
neural machine translation. | cs.LG | You Need to Pay Better Attention: Rethinking the Mathematics of Attention Mechanism |
2024-03-03T23:10:36Z | http://arxiv.org/pdf/2403.01638v1 | http://arxiv.org/abs/2403.01638v1 | Wesley Ferreira Maia, Angelo Carmignani, Gabriel Bortoli, Lucas Maretti, David Luz, Daniel Camilo Fuentes Guzman, Marcos Jardel Henriques, Francisco Louzada Neto | 2024-03-03T23:10:36Z | cs.CL | This article investigates applying advanced machine learning models,
specifically LSTM and BERT, for text classification to predict multiple
categories in the retail sector. The study demonstrates how applying data
augmentation techniques and the focal loss function can significantly enhance
accuracy in classifying products into multiple categories using a robust
Brazilian retail dataset. The LSTM model, enriched with Brazilian word
embedding, and BERT, known for its effectiveness in understanding complex
contexts, were adapted and optimized for this specific task. The results showed
that the BERT model, with an F1 Macro Score of up to $99\%$ for segments,
$96\%$ for categories and subcategories and $93\%$ for name products,
outperformed LSTM in more detailed categories. However, LSTM also achieved high
performance, especially after applying data augmentation and focal loss
techniques. These results underscore the effectiveness of NLP techniques in
retail and highlight the importance of the careful selection of modelling and
preprocessing strategies. This work contributes significantly to the field of
NLP in retail, providing valuable insights for future research and practical
applications. | cs.CL | Multi-level Product Category Prediction through Text Classification |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.