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-06-02T15:09:00Z | http://arxiv.org/pdf/2406.00770v1 | http://arxiv.org/abs/2406.00770v1 | Weihao Zeng, Can Xu, Yingxiu Zhao, Jian-Guang Lou, Weizhu Chen | 2024-06-02T15:09:00Z | cs.CL, cs.AI | Fine-tuning large pre-trained language models with Evol-Instruct has achieved
encouraging results across a wide range of tasks. However, designing effective
evolving methods for instruction evolution requires substantial human
expertise. This paper proposes Auto Evol-Instruct, an end-to-end framework that
evolves instruction datasets using large language models without any human
effort. The framework automatically analyzes and summarizes suitable
evolutionary strategies for the given instruction data and iteratively improves
the evolving method based on issues exposed during the instruction evolution
process. Our extensive experiments demonstrate that the best method optimized
by Auto Evol-Instruct outperforms human-designed methods on various benchmarks,
including MT-Bench, AlpacaEval, GSM8K, and HumanEval. | cs.CL | Automatic Instruction Evolving for Large Language Models |
2024-06-02T14:50:01Z | http://arxiv.org/pdf/2406.00765v1 | http://arxiv.org/abs/2406.00765v1 | Wakana Haijima, Kou Nakakubo, Masahiro Suzuki, Yutaka Matsuo | 2024-06-02T14:50:01Z | cs.AI, cs.CL | In recent years, as machine learning, particularly for vision and language
understanding, has been improved, research in embedded AI has also evolved.
VOYAGER is a well-known LLM-based embodied AI that enables autonomous
exploration in the Minecraft world, but it has issues such as underutilization
of visual data and insufficient functionality as a world model. In this
research, the possibility of utilizing visual data and the function of LLM as a
world model were investigated with the aim of improving the performance of
embodied AI. The experimental results revealed that LLM can extract necessary
information from visual data, and the utilization of the information improves
its performance as a world model. It was also suggested that devised prompts
could bring out the LLM's function as a world model. | cs.AI | The Embodied World Model Based on LLM with Visual Information and Prediction-Oriented Prompts |
2024-06-02T14:47:14Z | http://arxiv.org/pdf/2406.06561v1 | http://arxiv.org/abs/2406.06561v1 | Zining Qin, Chenhao Wang, Huiling Qin, Weijia Jia | 2024-06-02T14:47:14Z | cs.CL, cs.AI | Large Language Models (LLMs) have demonstrated amazing capabilities in
language generation, text comprehension, and knowledge reasoning. While a
single powerful model can already handle multiple tasks, relying on a single
perspective can lead to biased and unstable results. Recent studies have
further improved the model's reasoning ability on a wide range of tasks by
introducing multi-model collaboration. However, models with different
capabilities may produce conflicting answers on the same problem, and how to
reasonably obtain the correct answer from multiple candidate models has become
a challenging problem. In this paper, we propose the multi-model brainstorming
based on prompt. It incorporates different models into a group for
brainstorming, and after multiple rounds of reasoning elaboration and
re-inference, a consensus answer is reached within the group. We conducted
experiments on three different types of datasets, and demonstrate that the
brainstorming can significantly improve the effectiveness in logical reasoning
and fact extraction. Furthermore, we find that two small-parameter models can
achieve accuracy approximating that of larger-parameter models through
brainstorming, which provides a new solution for distributed deployment of
LLMs. | cs.CL | Brainstorming Brings Power to Large Language Models of Knowledge Reasoning |
2024-06-02T14:16:24Z | http://arxiv.org/pdf/2406.00755v1 | http://arxiv.org/abs/2406.00755v1 | Xiaoyuan Li, Wenjie Wang, Moxin Li, Junrong Guo, Yang Zhang, Fuli Feng | 2024-06-02T14:16:24Z | cs.CL, cs.AI, cs.LG | The rapid advancement of Large Language Models (LLMs) in the realm of
mathematical reasoning necessitates comprehensive evaluations to gauge progress
and inspire future directions. Existing assessments predominantly focus on
problem-solving from the examinee perspective, overlooking a dual perspective
of examiner regarding error identification and correction. From the examiner
perspective, we define four evaluation tasks for error identification and
correction along with a new dataset with annotated error types and steps. We
also design diverse prompts to thoroughly evaluate eleven representative LLMs.
Our principal findings indicate that GPT-4 outperforms all models, while
open-source model LLaMA-2-7B demonstrates comparable abilities to closed-source
models GPT-3.5 and Gemini Pro. Notably, calculation error proves the most
challenging error type. Moreover, prompting LLMs with the error types can
improve the average correction accuracy by 47.9\%. These results reveal
potential directions for developing the mathematical reasoning abilities of
LLMs. Our code and dataset is available on https://github.com/LittleCirc1e/EIC. | cs.CL | Evaluating Mathematical Reasoning of Large Language Models: A Focus on Error Identification and Correction |
2024-06-02T14:08:51Z | http://arxiv.org/pdf/2406.00751v1 | http://arxiv.org/abs/2406.00751v1 | Zhu Liu | 2024-06-02T14:08:51Z | cs.CL | Modern neural networks (NNs), trained on extensive raw sentence data,
construct distributed representations by compressing individual words into
dense, continuous, high-dimensional vectors. These representations are
specifically designed to capture the varied meanings, including ambiguity, of
word occurrences within context. In this thesis, our objective is to examine
the efficacy of distributed representations from NNs in encoding lexical
meaning. Initially, we identify four sources of ambiguity - homonymy, polysemy,
semantic roles, and multifunctionality - based on the relatedness and
similarity of meanings influenced by context. Subsequently, we aim to evaluate
these sources by collecting or constructing multilingual datasets, leveraging
various language models, and employing linguistic analysis tools. | cs.CL | How well do distributed representations convey contextual lexical semantics: a Thesis Proposal |
2024-06-02T11:54:50Z | http://arxiv.org/pdf/2406.06560v1 | http://arxiv.org/abs/2406.06560v1 | Arduin Findeis, Timo Kaufmann, Eyke Hüllermeier, Samuel Albanie, Robert Mullins | 2024-06-02T11:54:50Z | cs.CL, cs.AI | Feedback data plays an important role in fine-tuning and evaluating
state-of-the-art AI models. Often pairwise text preferences are used: given two
texts, human (or AI) annotators select the "better" one. Such feedback data is
widely used to align models to human preferences (e.g., reinforcement learning
from human feedback), or to rank models according to human preferences (e.g.,
Chatbot Arena). Despite its wide-spread use, prior work has demonstrated that
human-annotated pairwise text preference data often exhibits unintended biases.
For example, human annotators have been shown to prefer assertive over truthful
texts in certain contexts. Models trained or evaluated on this data may
implicitly encode these biases in a manner hard to identify. In this paper, we
formulate the interpretation of existing pairwise text preference data as a
compression task: the Inverse Constitutional AI (ICAI) problem. In
constitutional AI, a set of principles (or constitution) is used to provide
feedback and fine-tune AI models. The ICAI problem inverts this process: given
a dataset of feedback, we aim to extract a constitution that best enables a
large language model (LLM) to reconstruct the original annotations. We propose
a corresponding initial ICAI algorithm and validate its generated constitutions
quantitatively based on reconstructed annotations. Generated constitutions have
many potential use-cases -- they may help identify undesirable biases, scale
feedback to unseen data or assist with adapting LLMs to individual user
preferences. We demonstrate our approach on a variety of datasets: (a)
synthetic feedback datasets with known underlying principles; (b) the
AlpacaEval dataset of cross-annotated human feedback; and (c) the crowdsourced
Chatbot Arena data set. We release the code for our algorithm and experiments
at https://github.com/rdnfn/icai . | cs.CL | Inverse Constitutional AI: Compressing Preferences into Principles |
2024-06-02T10:25:02Z | http://arxiv.org/pdf/2406.00697v2 | http://arxiv.org/abs/2406.00697v2 | Tomoki Doi, Masaru Isonuma, Hitomi Yanaka | 2024-06-25T08:42:53Z | cs.CL | Recent work utilizes Large Language Models (LLMs) for topic modeling,
generating comprehensible topic labels for given documents. However, their
performance has mainly been evaluated qualitatively, and there remains room for
quantitative investigation of their capabilities. In this paper, we
quantitatively evaluate LLMs from multiple perspectives: the quality of topics,
the impact of LLM-specific concerns, such as hallucination and shortcuts for
limited documents, and LLMs' controllability of topic categories via prompts.
Our findings show that LLMs can identify coherent and diverse topics with few
hallucinations but may take shortcuts by focusing only on parts of documents.
We also found that their controllability is limited. | cs.CL | Comprehensive Evaluation of Large Language Models for Topic Modeling |
2024-06-02T09:42:23Z | http://arxiv.org/pdf/2406.00684v1 | http://arxiv.org/abs/2406.00684v1 | Haisu Guan, Huanxin Yang, Xinyu Wang, Shengwei Han, Yongge Liu, Lianwen Jin, Xiang Bai, Yuliang Liu | 2024-06-02T09:42:23Z | cs.CV, cs.CL | Originating from China's Shang Dynasty approximately 3,000 years ago, the
Oracle Bone Script (OBS) is a cornerstone in the annals of linguistic history,
predating many established writing systems. Despite the discovery of thousands
of inscriptions, a vast expanse of OBS remains undeciphered, casting a veil of
mystery over this ancient language. The emergence of modern AI technologies
presents a novel frontier for OBS decipherment, challenging traditional NLP
methods that rely heavily on large textual corpora, a luxury not afforded by
historical languages. This paper introduces a novel approach by adopting image
generation techniques, specifically through the development of Oracle Bone
Script Decipher (OBSD). Utilizing a conditional diffusion-based strategy, OBSD
generates vital clues for decipherment, charting a new course for AI-assisted
analysis of ancient languages. To validate its efficacy, extensive experiments
were conducted on an oracle bone script dataset, with quantitative results
demonstrating the effectiveness of OBSD. Code and decipherment results will be
made available at https://github.com/guanhaisu/OBSD. | cs.CV | Deciphering Oracle Bone Language with Diffusion Models |
2024-06-02T09:36:33Z | http://arxiv.org/pdf/2406.00682v1 | http://arxiv.org/abs/2406.00682v1 | Christiane Rakotomalala, Jean-Marie Paillat, Frédéric Feder, Angel Avadí, Laurent Thuriès, Marie-Liesse Vermeire, Jean-Michel Médoc, Tom Wassenaar, Caroline Hottelart, Lilou Kieffer, Elisa Ndjie, Mathieu Picart, Jorel Tchamgoue, Alvin Tulle, Laurine Valade, Annie Boyer, Marie-Christine Duchamp, Mathieu Roche | 2024-06-02T09:36:33Z | cs.IR, cs.CL | The text mining method presented in this paper was used for annotation of
terms related to biological transformation and valorization of organic residues
in agriculture in low and middle-income country. Specialized lexicon was
obtained through different steps: corpus and extraction of terms, annotation of
extracted terms, selection of relevant terms. | cs.IR | A lexicon obtained and validated by a data-driven approach for organic residues valorization in emerging and developing countries |
2024-06-02T08:29:23Z | http://arxiv.org/pdf/2406.00667v1 | http://arxiv.org/abs/2406.00667v1 | Sulaiman Khan, Md. Rafiul Biswas, Alina Murad, Hazrat Ali, Zubair Shah | 2024-06-02T08:29:23Z | eess.IV, cs.AI, cs.CL, cs.CV, cs.LG | Recent developments in multimodal large language models (MLLMs) have spurred
significant interest in their potential applications across various medical
imaging domains. On the one hand, there is a temptation to use these generative
models to synthesize realistic-looking medical image data, while on the other
hand, the ability to identify synthetic image data in a pool of data is also
significantly important. In this study, we explore the potential of the Gemini
(\textit{gemini-1.0-pro-vision-latest}) and GPT-4V (gpt-4-vision-preview)
models for medical image analysis using two modalities of medical image data.
Utilizing synthetic and real imaging data, both Gemini AI and GPT-4V are first
used to classify real versus synthetic images, followed by an interpretation
and analysis of the input images. Experimental results demonstrate that both
Gemini and GPT-4 could perform some interpretation of the input images. In this
specific experiment, Gemini was able to perform slightly better than the GPT-4V
on the classification task. In contrast, responses associated with GPT-4V were
mostly generic in nature. Our early investigation presented in this work
provides insights into the potential of MLLMs to assist with the classification
and interpretation of retinal fundoscopy and lung X-ray images. We also
identify key limitations associated with the early investigation study on MLLMs
for specialized tasks in medical image analysis. | eess.IV | An Early Investigation into the Utility of Multimodal Large Language Models in Medical Imaging |
2024-06-02T07:57:45Z | http://arxiv.org/pdf/2406.00656v1 | http://arxiv.org/abs/2406.00656v1 | Xianghe Ma, Dominik Schlechtweg, Wei Zhao | 2024-06-02T07:57:45Z | cs.CL | In this work, we outline the components and results of our system submitted
to the AXOLOTL-24 shared task for Finnish, Russian and German languages. Our
system is fully unsupervised. It leverages a graph-based clustering approach to
predict mappings between unknown word usages and dictionary entries for Subtask
1, and generates dictionary-like definitions for those novel word usages
through the state-of-the-art Large Language Models such as GPT-4 and LLaMA-3
for Subtask 2. In Subtask 1, our system outperforms the baseline system by a
large margin, and it offers interpretability for the mapping results by
distinguishing between matched and unmatched (novel) word usages through our
graph-based clustering approach. Our system ranks first in Finnish and German,
and ranks second in Russian on the Subtask 2 test-phase leaderboard. These
results show the potential of our system in managing dictionary entries,
particularly for updating dictionaries to include novel sense entries. Our code
and data are made publicly
available\footnote{\url{https://github.com/xiaohemaikoo/axolotl24-ABDN-NLP}}. | cs.CL | Presence or Absence: Are Unknown Word Usages in Dictionaries? |
2024-06-02T07:54:33Z | http://arxiv.org/pdf/2406.00654v1 | http://arxiv.org/abs/2406.00654v1 | Chen Chen, Yuchen Hu, Wen Wu, Helin Wang, Eng Siong Chng, Chao Zhang | 2024-06-02T07:54:33Z | cs.CL, cs.SD, eess.AS | In recent years, text-to-speech (TTS) technology has witnessed impressive
advancements, particularly with large-scale training datasets, showcasing
human-level speech quality and impressive zero-shot capabilities on unseen
speakers. However, despite human subjective evaluations, such as the mean
opinion score (MOS), remaining the gold standard for assessing the quality of
synthetic speech, even state-of-the-art TTS approaches have kept human feedback
isolated from training that resulted in mismatched training objectives and
evaluation metrics. In this work, we investigate a novel topic of integrating
subjective human evaluation into the TTS training loop. Inspired by the recent
success of reinforcement learning from human feedback, we propose a
comprehensive sampling-annotating-learning framework tailored to TTS
optimization, namely uncertainty-aware optimization (UNO). Specifically, UNO
eliminates the need for a reward model or preference data by directly
maximizing the utility of speech generations while considering the uncertainty
that lies in the inherent variability in subjective human speech perception and
evaluations. Experimental results of both subjective and objective evaluations
demonstrate that UNO considerably improves the zero-shot performance of TTS
models in terms of MOS, word error rate, and speaker similarity. Additionally,
we present a remarkable ability of UNO that it can adapt to the desired
speaking style in emotional TTS seamlessly and flexibly. | cs.CL | Enhancing Zero-shot Text-to-Speech Synthesis with Human Feedback |
2024-06-02T06:24:38Z | http://arxiv.org/pdf/2406.06559v1 | http://arxiv.org/abs/2406.06559v1 | Yujia Bao, Ankit Parag Shah, Neeru Narang, Jonathan Rivers, Rajeev Maksey, Lan Guan, Louise N. Barrere, Shelley Evenson, Rahul Basole, Connie Miao, Ankit Mehta, Fabien Boulay, Su Min Park, Natalie E. Pearson, Eldhose Joy, Tiger He, Sumiran Thakur, Koustav Ghosal, Josh On, Phoebe Morrison, Tim Major, Eva Siqi Wang, Gina Escobar, Jiaheng Wei, Tharindu Cyril Weerasooriya, Queena Song, Daria Lashkevich, Clare Chen, Gyuhak Kim, Dengpan Yin, Don Hejna, Mo Nomeli, Wei Wei | 2024-06-02T06:24:38Z | cs.CL, cs.AI, cs.LG | This paper introduces Fortune Analytics Language Model (FALM). FALM empowers
users with direct access to comprehensive business analysis, including market
trends, company performance metrics, and expert insights. Unlike generic LLMs,
FALM leverages a curated knowledge base built from professional journalism,
enabling it to deliver precise and in-depth answers to intricate business
questions. Users can further leverage natural language queries to directly
visualize financial data, generating insightful charts and graphs to understand
trends across diverse business sectors clearly. FALM fosters user trust and
ensures output accuracy through three novel methods: 1) Time-aware reasoning
guarantees accurate event registration and prioritizes recent updates. 2)
Thematic trend analysis explicitly examines topic evolution over time,
providing insights into emerging business landscapes. 3) Content referencing
and task decomposition enhance answer fidelity and data visualization accuracy.
We conduct both automated and human evaluations, demonstrating FALM's
significant performance improvements over baseline methods while prioritizing
responsible AI practices. These benchmarks establish FALM as a cutting-edge LLM
in the business and media domains, with exceptional accuracy and
trustworthiness. | cs.CL | Harnessing Business and Media Insights with Large Language Models |
2024-06-02T06:10:31Z | http://arxiv.org/pdf/2406.00628v1 | http://arxiv.org/abs/2406.00628v1 | Garrett Crumrine, Izzat Alsmadi, Jesus Guerrero, Yuvaraj Munian | 2024-06-02T06:10:31Z | cs.CL, cs.CR, cs.CY, cs.LG, B.8.0; I.2.7; I.2.8; I.2.11; J.0; K.4.2; K.4.1 | Large language models (LLMs) have revolutionized how we interact with
machines. However, this technological advancement has been paralleled by the
emergence of "Mallas," malicious services operating underground that exploit
LLMs for nefarious purposes. Such services create malware, phishing attacks,
and deceptive websites, escalating the cyber security threats landscape. This
paper delves into the proliferation of Mallas by examining the use of various
pre-trained language models and their efficiency and vulnerabilities when
misused. Building on a dataset from the Common Vulnerabilities and Exposures
(CVE) program, it explores fine-tuning methodologies to generate code and
explanatory text related to identified vulnerabilities. This research aims to
shed light on the operational strategies and exploitation techniques of Mallas,
leading to the development of more secure and trustworthy AI applications. The
paper concludes by emphasizing the need for further research, enhanced
safeguards, and ethical guidelines to mitigate the risks associated with the
malicious application of LLMs. | cs.CL | Transforming Computer Security and Public Trust Through the Exploration of Fine-Tuning Large Language Models |
2024-06-02T06:09:56Z | http://arxiv.org/pdf/2406.00627v1 | http://arxiv.org/abs/2406.00627v1 | Xun Liu, Zhengwei Ni | 2024-06-02T06:09:56Z | cs.CL | Large language models (LLM) have demonstrated remarkable abilities in
generating natural language, understanding user instruction, and mimicking
human language use. These capabilities have garnered considerable interest in
applications such as role-playing. However, the process of collecting
individual role scripts (or profiles) data and manually evaluating the
performance can be costly. We introduce a framework that uses prompts to
leverage the state-of-the-art (SOTA) LLMs to construct role-playing dialogue
datasets and evaluate the role-playing performance. Additionally, we employ
recall-oriented evaluation Rouge-L metric to support the result of the LLM
evaluator. | cs.CL | Prompt Framework for Role-playing: Generation and Evaluation |
2024-06-02T03:36:37Z | http://arxiv.org/pdf/2406.00606v2 | http://arxiv.org/abs/2406.00606v2 | Ke Ji, Junying Chen, Anningzhe Gao, Wenya Xie, Xiang Wan, Benyou Wang | 2024-06-06T22:48:35Z | cs.CL | In the quest for super-human performance, Large Language Models (LLMs) have
traditionally been tethered to human-annotated datasets and predefined training
objectives-a process that is both labor-intensive and inherently limited. This
paper presents a transformative approach: Autonomous Learning for LLMs, a
self-sufficient learning paradigm that frees models from the constraints of
human supervision. This method endows LLMs with the ability to self-educate
through direct interaction with text, akin to a human reading and comprehending
literature. Our approach eliminates the reliance on annotated data, fostering
an Autonomous Learning environment where the model independently identifies and
reinforces its knowledge gaps. Empirical results from our comprehensive
experiments, which utilized a diverse array of learning materials and were
evaluated against standard public quizzes, reveal that Autonomous Learning
outstrips the performance of both Pre-training and Supervised Fine-Tuning
(SFT), as well as retrieval-augmented methods. These findings underscore the
potential of Autonomous Learning to not only enhance the efficiency and
effectiveness of LLM training but also to pave the way for the development of
more advanced, self-reliant AI systems. | cs.CL | LLMs Could Autonomously Learn Without External Supervision |
2024-06-02T03:34:41Z | http://arxiv.org/pdf/2406.00605v1 | http://arxiv.org/abs/2406.00605v1 | Liang Zhao, Tianwen Wei, Liang Zeng, Cheng Cheng, Liu Yang, Peng Cheng, Lijie Wang, Chenxia Li, Xuejie Wu, Bo Zhu, Yimeng Gan, Rui Hu, Shuicheng Yan, Han Fang, Yahui Zhou | 2024-06-02T03:34:41Z | cs.CL, cs.AI | We introduce LongSkywork, a long-context Large Language Model (LLM) capable
of processing up to 200,000 tokens. We provide a training recipe for
efficiently extending context length of LLMs. We identify that the critical
element in enhancing long-context processing capability is to incorporate a
long-context SFT stage following the standard SFT stage. A mere 200 iterations
can convert the standard SFT model into a long-context model. To reduce the
effort in collecting and annotating data for long-context language modeling, we
develop two novel methods for creating synthetic data. These methods are
applied during the continual pretraining phase as well as the Supervised
Fine-Tuning (SFT) phase, greatly enhancing the training efficiency of our
long-context LLMs. Our findings suggest that synthetic long-context SFT data
can surpass the performance of data curated by humans to some extent.
LongSkywork achieves outstanding performance on a variety of long-context
benchmarks. In the Needle test, a benchmark for long-context information
retrieval, our models achieved perfect accuracy across multiple context spans.
Moreover, in realistic application scenarios, LongSkywork-13B demonstrates
performance on par with Claude2.1, the leading long-context model, underscoring
the effectiveness of our proposed methods. | cs.CL | LongSkywork: A Training Recipe for Efficiently Extending Context Length in Large Language Models |
2024-06-01T21:54:09Z | http://arxiv.org/pdf/2406.00562v1 | http://arxiv.org/abs/2406.00562v1 | Heidi C. Zhang, Sina J. Semnani, Farhad Ghassemi, Jialiang Xu, Shicheng Liu, Monica S. Lam | 2024-06-01T21:54:09Z | cs.CL | We introduce SPAGHETTI: Semantic Parsing Augmented Generation for Hybrid
English information from Text Tables and Infoboxes, a hybrid question-answering
(QA) pipeline that utilizes information from heterogeneous knowledge sources,
including knowledge base, text, tables, and infoboxes. Our LLM-augmented
approach achieves state-of-the-art performance on the Compmix dataset, the most
comprehensive heterogeneous open-domain QA dataset, with 56.5% exact match (EM)
rate. More importantly, manual analysis on a sample of the dataset suggests
that SPAGHETTI is more than 90% accurate, indicating that EM is no longer
suitable for assessing the capabilities of QA systems today. | cs.CL | SPAGHETTI: Open-Domain Question Answering from Heterogeneous Data Sources with Retrieval and Semantic Parsing |
2024-06-01T21:14:25Z | http://arxiv.org/pdf/2406.00554v1 | http://arxiv.org/abs/2406.00554v1 | Phoebe J. Wang, Max Kreminski | 2024-06-01T21:14:25Z | cs.CL, cs.AI | Instruction-tuned large language models (LLMs) are capable of generating
stories in response to open-ended user requests, but the resulting stories tend
to be limited in their diversity. Older, symbolic approaches to story
generation (such as planning) can generate substantially more diverse plot
outlines, but are limited to producing stories that recombine a fixed set of
hand-engineered character action templates. Can we combine the strengths of
these approaches while mitigating their weaknesses? We propose to do so by
using a higher-level and more abstract symbolic specification of high-level
story structure -- implemented via answer set programming (ASP) -- to guide and
diversify LLM-based story generation. Via semantic similarity analysis, we
demonstrate that our approach produces more diverse stories than an unguided
LLM, and via code excerpts, we demonstrate the improved compactness and
flexibility of ASP-based outline generation over full-fledged narrative
planning. | cs.CL | Guiding and Diversifying LLM-Based Story Generation via Answer Set Programming |
2024-06-01T20:12:54Z | http://arxiv.org/pdf/2406.00548v1 | http://arxiv.org/abs/2406.00548v1 | Tianci Liu, Haoyu Wang, Shiyang Wang, Yu Cheng, Jing Gao | 2024-06-01T20:12:54Z | cs.LG, cs.CL | Large language models (LLMs) have achieved impressive performance on various
natural language generation tasks. Nonetheless, they suffer from generating
negative and harmful contents that are biased against certain demographic
groups (e.g., female), raising severe fairness concerns. As remedies, prior
works intervened the generation by removing attitude or demographic
information, inevitably degrading the generation quality and resulting in
notable \textit{fairness-fluency} trade-offs. However, it is still
under-explored to what extent the fluency \textit{has to} be affected in order
to achieve a desired level of fairness. In this work, we conduct the first
formal study from an information-theoretic perspective. We show that previous
approaches are excessive for debiasing and propose LIDAO, a general framework
to debias a (L)LM at a better fluency provably. We further robustify LIDAO in
adversarial scenarios, where a carefully-crafted prompt may stimulate LLMs
exhibiting instruction-following abilities to generate texts with fairness
issue appears only when the prompt is also taken into account. Experiments on
three LMs ranging from 0.7B to 7B parameters demonstrate the superiority of our
method. | cs.LG | LIDAO: Towards Limited Interventions for Debiasing (Large) Language Models |
2024-06-01T17:48:15Z | http://arxiv.org/pdf/2406.00515v1 | http://arxiv.org/abs/2406.00515v1 | Juyong Jiang, Fan Wang, Jiasi Shen, Sungju Kim, Sunghun Kim | 2024-06-01T17:48:15Z | cs.CL, cs.AI, cs.SE | Large Language Models (LLMs) have garnered remarkable advancements across
diverse code-related tasks, known as Code LLMs, particularly in code generation
that generates source code with LLM from natural language descriptions. This
burgeoning field has captured significant interest from both academic
researchers and industry professionals due to its practical significance in
software development, e.g., GitHub Copilot. Despite the active exploration of
LLMs for a variety of code tasks, either from the perspective of natural
language processing (NLP) or software engineering (SE) or both, there is a
noticeable absence of a comprehensive and up-to-date literature review
dedicated to LLM for code generation. In this survey, we aim to bridge this gap
by providing a systematic literature review that serves as a valuable reference
for researchers investigating the cutting-edge progress in LLMs for code
generation. We introduce a taxonomy to categorize and discuss the recent
developments in LLMs for code generation, covering aspects such as data
curation, latest advances, performance evaluation, and real-world applications.
In addition, we present a historical overview of the evolution of LLMs for code
generation and offer an empirical comparison using the widely recognized
HumanEval and MBPP benchmarks to highlight the progressive enhancements in LLM
capabilities for code generation. We identify critical challenges and promising
opportunities regarding the gap between academia and practical development.
Furthermore, we have established a dedicated resource website
(https://codellm.github.io) to continuously document and disseminate the most
recent advances in the field. | cs.CL | A Survey on Large Language Models for Code Generation |
2024-06-01T17:28:38Z | http://arxiv.org/pdf/2406.00507v1 | http://arxiv.org/abs/2406.00507v1 | Shichao Sun, Ruifeng Yuan, Ziqiang Cao, Wenjie Li, Pengfei Liu | 2024-06-01T17:28:38Z | cs.CL, cs.AI | Large language models (LLMs) have demonstrated the capacity to improve
summary quality by mirroring a human-like iterative process of critique and
refinement starting from the initial draft. Two strategies are designed to
perform this iterative process: Prompt Chaining and Stepwise Prompt. Prompt
chaining orchestrates the drafting, critiquing, and refining phases through a
series of three discrete prompts, while Stepwise prompt integrates these phases
within a single prompt. However, the relative effectiveness of the two methods
has not been extensively studied. This paper is dedicated to examining and
comparing these two methods in the context of text summarization to ascertain
which method stands out as the most effective. Experimental results show that
the prompt chaining method can produce a more favorable outcome. This might be
because stepwise prompt might produce a simulated refinement process according
to our various experiments. Since refinement is adaptable to diverse tasks, our
conclusions have the potential to be extrapolated to other applications,
thereby offering insights that may contribute to the broader development of
LLMs. | cs.CL | Prompt Chaining or Stepwise Prompt? Refinement in Text Summarization |
2024-06-01T16:56:19Z | http://arxiv.org/pdf/2406.00497v1 | http://arxiv.org/abs/2406.00497v1 | Xiaoqian Liu, Guoqiang Hu, Yangfan Du, Erfeng He, YingFeng Luo, Chen Xu, Tong Xiao, Jingbo Zhu | 2024-06-01T16:56:19Z | cs.SD, cs.AI, cs.CL, eess.AS | Simultaneous speech translation (SimulST) is a demanding task that involves
generating translations in real-time while continuously processing speech
input. This paper offers a comprehensive overview of the recent developments in
SimulST research, focusing on four major challenges. Firstly, the complexities
associated with processing lengthy and continuous speech streams pose
significant hurdles. Secondly, satisfying real-time requirements presents
inherent difficulties due to the need for immediate translation output.
Thirdly, striking a balance between translation quality and latency constraints
remains a critical challenge. Finally, the scarcity of annotated data adds
another layer of complexity to the task. Through our exploration of these
challenges and the proposed solutions, we aim to provide valuable insights into
the current landscape of SimulST research and suggest promising directions for
future exploration. | cs.SD | Recent Advances in End-to-End Simultaneous Speech Translation |
2024-06-01T15:54:45Z | http://arxiv.org/pdf/2406.01633v1 | http://arxiv.org/abs/2406.01633v1 | Christine Herlihy, Jennifer Neville, Tobias Schnabel, Adith Swaminathan | 2024-06-01T15:54:45Z | cs.IR, cs.AI, cs.CL, cs.LG | We explore the use of Large Language Model (LLM-based) chatbots to power
recommender systems. We observe that the chatbots respond poorly when they
encounter under-specified requests (e.g., they make incorrect assumptions,
hedge with a long response, or refuse to answer). We conjecture that such
miscalibrated response tendencies (i.e., conversational priors) can be
attributed to LLM fine-tuning using annotators -- single-turn annotations may
not capture multi-turn conversation utility, and the annotators' preferences
may not even be representative of users interacting with a recommender system.
We first analyze public LLM chat logs to conclude that query
under-specification is common. Next, we study synthetic recommendation problems
with configurable latent item utilities and frame them as Partially Observed
Decision Processes (PODP). We find that pre-trained LLMs can be sub-optimal for
PODPs and derive better policies that clarify under-specified queries when
appropriate. Then, we re-calibrate LLMs by prompting them with learned control
messages to approximate the improved policy. Finally, we show empirically that
our lightweight learning approach effectively uses logged conversation data to
re-calibrate the response strategies of LLM-based chatbots for recommendation
tasks. | cs.IR | On Overcoming Miscalibrated Conversational Priors in LLM-based Chatbots |
2024-06-01T14:45:03Z | http://arxiv.org/pdf/2406.00456v1 | http://arxiv.org/abs/2406.00456v1 | Zijie Zhong, Hanwen Liu, Xiaoya Cui, Xiaofan Zhang, Zengchang Qin | 2024-06-01T14:45:03Z | cs.LG, cs.AI, cs.CL | Integrating information from different reference data sources is a major
challenge for Retrieval-Augmented Generation (RAG) systems because each
knowledge source adopts a unique data structure and follows different
conventions. Retrieving from multiple knowledge sources with one fixed strategy
usually leads to under-exploitation of information. To mitigate this drawback,
inspired by Mix-of-Expert, we introduce Mix-of-Granularity (MoG), a method that
dynamically determines the optimal granularity of a knowledge database based on
input queries using a router. The router is efficiently trained with a newly
proposed loss function employing soft labels. We further extend MoG to
Mix-of-Granularity-Graph (MoGG), where reference documents are pre-processed
into graphs, enabling the retrieval of relevant information from distantly
situated chunks. Extensive experiments demonstrate that both MoG and MoGG
effectively predict optimal granularity levels, significantly enhancing the
performance of the RAG system in downstream tasks. The code of both MoG and
MoGG will be made public. | cs.LG | Mix-of-Granularity: Optimize the Chunking Granularity for Retrieval-Augmented Generation |
2024-06-01T10:34:15Z | http://arxiv.org/pdf/2406.00393v1 | http://arxiv.org/abs/2406.00393v1 | Raysa Benatti, Fabiana Severi, Sandra Avila, Esther Luna Colombini | 2024-06-01T10:34:15Z | cs.CL, cs.CY | Data derived from the realm of the social sciences is often produced in
digital text form, which motivates its use as a source for natural language
processing methods. Researchers and practitioners have developed and relied on
artificial intelligence techniques to collect, process, and analyze documents
in the legal field, especially for tasks such as text summarization and
classification. While increasing procedural efficiency is often the primary
motivation behind natural language processing in the field, several works have
proposed solutions for human rights-related issues, such as assessment of
public policy and institutional social settings. One such issue is the presence
of gender biases in court decisions, which has been largely studied in social
sciences fields; biased institutional responses to gender-based violence are a
violation of international human rights dispositions since they prevent gender
minorities from accessing rights and hamper their dignity. Natural language
processing-based approaches can help detect these biases on a larger scale.
Still, the development and use of such tools require researchers and
practitioners to be mindful of legal and ethical aspects concerning data
sharing and use, reproducibility, domain expertise, and value-charged choices.
In this work, we (a) present an experimental framework developed to
automatically detect gender biases in court decisions issued in Brazilian
Portuguese and (b) describe and elaborate on features we identify to be
critical in such a technology, given its proposed use as a support tool for
research and assessment of court~activity. | cs.CL | Gender Bias Detection in Court Decisions: A Brazilian Case Study |
2024-06-01T10:21:54Z | http://arxiv.org/pdf/2406.06558v1 | http://arxiv.org/abs/2406.06558v1 | Ye Zhang, Qian Leng, Mengran Zhu, Rui Ding, Yue Wu, Jintong Song, Yulu Gong | 2024-06-01T10:21:54Z | cs.CL, cs.AI | The rapid advancement of Large Language Models (LLMs) has ushered in an era
where AI-generated text is increasingly indistinguishable from human-generated
content. Detecting AI-generated text has become imperative to combat
misinformation, ensure content authenticity, and safeguard against malicious
uses of AI. In this paper, we propose a novel hybrid approach that combines
traditional TF-IDF techniques with advanced machine learning models, including
Bayesian classifiers, Stochastic Gradient Descent (SGD), Categorical Gradient
Boosting (CatBoost), and 12 instances of Deberta-v3-large models. Our approach
aims to address the challenges associated with detecting AI-generated text by
leveraging the strengths of both traditional feature extraction methods and
state-of-the-art deep learning models. Through extensive experiments on a
comprehensive dataset, we demonstrate the effectiveness of our proposed method
in accurately distinguishing between human and AI-generated text. Our approach
achieves superior performance compared to existing methods. This research
contributes to the advancement of AI-generated text detection techniques and
lays the foundation for developing robust solutions to mitigate the challenges
posed by AI-generated content. | cs.CL | Enhancing Text Authenticity: A Novel Hybrid Approach for AI-Generated Text Detection |
2024-06-01T09:36:16Z | http://arxiv.org/pdf/2406.00380v1 | http://arxiv.org/abs/2406.00380v1 | Chujie Gao, Qihui Zhang, Dongping Chen, Yue Huang, Siyuan Wu, Zhengyan Fu, Yao Wan, Xiangliang Zhang, Lichao Sun | 2024-06-01T09:36:16Z | cs.CL, cs.AI | Large Language Models (LLMs) have achieved remarkable success across various
industries due to their exceptional generative capabilities. However, for safe
and effective real-world deployments, ensuring honesty and helpfulness is
critical. This paper addresses the question: Can we prioritize the helpfulness
of LLMs while preserving their honesty? To begin with, we establish exhaustive
principles aimed at guaranteeing the honesty of LLM. Additionally, we introduce
a novel dataset, referred to as HoneSet, comprising 930 queries spanning six
categories meticulously crafted to assess an LLM's capacity for maintaining
honesty. Subsequently, we present two approaches to augmenting honesty and
helpfulness in LLMs: a training-free enhancement and a fine-tuning-based
improvement. The training-free approach, which is based on curiosity-driven
prompting, empowers LLMs to articulate internal confusion and uncertainty
regarding queries, thereby optimizing their responses. Conversely, the
fine-tuning-based method employs a two-stage process inspired by curriculum
learning: initially instructing LLMs to discern between honest and dishonest
responses, then refining their training to enhance helpfulness. Experiments
conducted on nine prominent LLMs demonstrate a significant improvement in
alignment with honesty across all models through the implementation of our
proposed enhancements. Particularly noteworthy is the 65.3% enhancement
observed in Llama3-8b and the remarkable 124.7% improvement in Mistral-7b, as
measured by the H$^{2}$ (honest and helpful) assessment. We believe that our
work can pave the way for developing more trustworthy LLMs for real-world
applications. | cs.CL | The Best of Both Worlds: Toward an Honest and Helpful Large Language Model |
2024-06-01T08:59:46Z | http://arxiv.org/pdf/2406.00367v1 | http://arxiv.org/abs/2406.00367v1 | Md. Mostafizer Rahman, Ariful Islam Shiplu, Yutaka Watanobe, Md. Ashad Alam | 2024-06-01T08:59:46Z | cs.CL, cs.AI, cs.CE | Effectively analyzing the comments to uncover latent intentions holds immense
value in making strategic decisions across various domains. However, several
challenges hinder the process of sentiment analysis including the lexical
diversity exhibited in comments, the presence of long dependencies within the
text, encountering unknown symbols and words, and dealing with imbalanced
datasets. Moreover, existing sentiment analysis tasks mostly leveraged
sequential models to encode the long dependent texts and it requires longer
execution time as it processes the text sequentially. In contrast, the
Transformer requires less execution time due to its parallel processing nature.
In this work, we introduce a novel hybrid deep learning model, RoBERTa-BiLSTM,
which combines the Robustly Optimized BERT Pretraining Approach (RoBERTa) with
Bidirectional Long Short-Term Memory (BiLSTM) networks. RoBERTa is utilized to
generate meaningful word embedding vectors, while BiLSTM effectively captures
the contextual semantics of long-dependent texts. The RoBERTa-BiLSTM hybrid
model leverages the strengths of both sequential and Transformer models to
enhance performance in sentiment analysis. We conducted experiments using
datasets from IMDb, Twitter US Airline, and Sentiment140 to evaluate the
proposed model against existing state-of-the-art methods. Our experimental
findings demonstrate that the RoBERTa-BiLSTM model surpasses baseline models
(e.g., BERT, RoBERTa-base, RoBERTa-GRU, and RoBERTa-LSTM), achieving accuracies
of 80.74%, 92.36%, and 82.25% on the Twitter US Airline, IMDb, and Sentiment140
datasets, respectively. Additionally, the model achieves F1-scores of 80.73%,
92.35%, and 82.25% on the same datasets, respectively. | cs.CL | RoBERTa-BiLSTM: A Context-Aware Hybrid Model for Sentiment Analysis |
2024-06-01T07:49:31Z | http://arxiv.org/pdf/2406.06556v1 | http://arxiv.org/abs/2406.06556v1 | Sambaran Bandyopadhyay, Himanshu Maheshwari, Anandhavelu Natarajan, Apoorv Saxena | 2024-06-01T07:49:31Z | cs.CL, cs.AI | Generating presentation slides from a long document with multimodal elements
such as text and images is an important task. This is time consuming and needs
domain expertise if done manually. Existing approaches for generating a rich
presentation from a document are often semi-automatic or only put a flat
summary into the slides ignoring the importance of a good narrative. In this
paper, we address this research gap by proposing a multi-staged end-to-end
model which uses a combination of LLM and VLM. We have experimentally shown
that compared to applying LLMs directly with state-of-the-art prompting, our
proposed multi-staged solution is better in terms of automated metrics and
human evaluation. | cs.CL | Enhancing Presentation Slide Generation by LLMs with a Multi-Staged End-to-End Approach |
2024-06-01T07:36:59Z | http://arxiv.org/pdf/2406.00343v2 | http://arxiv.org/abs/2406.00343v2 | Millicent Ochieng, Varun Gumma, Sunayana Sitaram, Jindong Wang, Vishrav Chaudhary, Keshet Ronen, Kalika Bali, Jacki O'Neill | 2024-06-13T17:53:45Z | cs.CL | The deployment of Large Language Models (LLMs) in real-world applications
presents both opportunities and challenges, particularly in multilingual and
code-mixed communication settings. This research evaluates the performance of
seven leading LLMs in sentiment analysis on a dataset derived from multilingual
and code-mixed WhatsApp chats, including Swahili, English and Sheng. Our
evaluation includes both quantitative analysis using metrics like F1 score and
qualitative assessment of LLMs' explanations for their predictions. We find
that, while Mistral-7b and Mixtral-8x7b achieved high F1 scores, they and other
LLMs such as GPT-3.5-Turbo, Llama-2-70b, and Gemma-7b struggled with
understanding linguistic and contextual nuances, as well as lack of
transparency in their decision-making process as observed from their
explanations. In contrast, GPT-4 and GPT-4-Turbo excelled in grasping diverse
linguistic inputs and managing various contextual information, demonstrating
high consistency with human alignment and transparency in their decision-making
process. The LLMs however, encountered difficulties in incorporating cultural
nuance especially in non-English settings with GPT-4s doing so inconsistently.
The findings emphasize the necessity of continuous improvement of LLMs to
effectively tackle the challenges of culturally nuanced, low-resource
real-world settings and the need for developing evaluation benchmarks for
capturing these issues. | cs.CL | Beyond Metrics: Evaluating LLMs' Effectiveness in Culturally Nuanced, Low-Resource Real-World Scenarios |
2024-06-01T07:06:57Z | http://arxiv.org/pdf/2406.06555v1 | http://arxiv.org/abs/2406.06555v1 | Aryan Gulati, Devanshu Ladsaria, Shubhra Mishra, Jasdeep Sidhu, Brando Miranda | 2024-06-01T07:06:57Z | cs.LG, cs.AI, cs.CL, cs.PL | Large Language Models (LLMs) hold the potential to revolutionize
autoformalization. The introduction of Lean4, a mathematical programming
language, presents an unprecedented opportunity to rigorously assess the
autoformalization capabilities of LLMs. This paper introduces a novel
evaluation benchmark designed for Lean4, applying it to test the abilities of
state-of-the-art LLMs, including GPT-3.5, GPT-4, and Gemini Pro. Our
comprehensive analysis reveals that, despite recent advancements, these LLMs
still exhibit limitations in autoformalization, particularly in more complex
areas of mathematics. These findings underscore the need for further
development in LLMs to fully harness their potential in scientific research and
development. This study not only benchmarks current LLM capabilities but also
sets the stage for future enhancements in autoformalization. | cs.LG | An Evaluation Benchmark for Autoformalization in Lean4 |
2024-06-01T06:28:41Z | http://arxiv.org/pdf/2406.00318v1 | http://arxiv.org/abs/2406.00318v1 | Yubo Wang, Hao Xin, Lei Chen | 2024-06-01T06:28:41Z | cs.LG, cs.CL, cs.IR | The semantic annotation of tabular data plays a crucial role in various
downstream tasks. Previous research has proposed knowledge graph (KG)-based and
deep learning-based methods, each with its inherent limitations. KG-based
methods encounter difficulties annotating columns when there is no match for
column cells in the KG. Moreover, KG-based methods can provide multiple
predictions for one column, making it challenging to determine the semantic
type with the most suitable granularity for the dataset. This type granularity
issue limits their scalability.
On the other hand, deep learning-based methods face challenges related to the
valuable context missing issue. This occurs when the information within the
table is insufficient for determining the correct column type.
This paper presents KGLink, a method that combines WikiData KG information
with a pre-trained deep learning language model for table column annotation,
effectively addressing both type granularity and valuable context missing
issues. Through comprehensive experiments on widely used tabular datasets
encompassing numeric and string columns with varying type granularity, we
showcase the effectiveness and efficiency of KGLink. By leveraging the
strengths of KGLink, we successfully surmount challenges related to type
granularity and valuable context issues, establishing it as a robust solution
for the semantic annotation of tabular data. | cs.LG | KGLink: A column type annotation method that combines knowledge graph and pre-trained language model |
2024-06-01T06:17:32Z | http://arxiv.org/pdf/2406.00314v2 | http://arxiv.org/abs/2406.00314v2 | Sarthak Harne, Monjoy Narayan Choudhury, Madhav Rao, TK Srikanth, Seema Mehrotra, Apoorva Vashisht, Aarushi Basu, Manjit Sodhi | 2024-06-16T10:33:34Z | cs.CL, cs.AI, cs.LG | The limited availability of psychologists necessitates efficient
identification of individuals requiring urgent mental healthcare. This study
explores the use of Natural Language Processing (NLP) pipelines to analyze text
data from online mental health forums used for consultations. By analyzing
forum posts, these pipelines can flag users who may require immediate
professional attention. A crucial challenge in this domain is data privacy and
scarcity. To address this, we propose utilizing readily available curricular
texts used in institutes specializing in mental health for pre-training the NLP
pipelines. This helps us mimic the training process of a psychologist. Our work
presents CASE-BERT that flags potential mental health disorders based on forum
text. CASE-BERT demonstrates superior performance compared to existing methods,
achieving an f1 score of 0.91 for Depression and 0.88 for Anxiety, two of the
most commonly reported mental health disorders. Our code is publicly available. | cs.CL | CASE: Efficient Curricular Data Pre-training for Building Assistive Psychology Expert Models |
2024-06-01T05:15:12Z | http://arxiv.org/pdf/2406.00303v1 | http://arxiv.org/abs/2406.00303v1 | Sangwon Ryu, Heejin Do, Yunsu Kim, Gary Geunbae Lee, Jungseul Ok | 2024-06-01T05:15:12Z | cs.CL, cs.AI | The evaluation of summary quality encompasses diverse dimensions such as
consistency, coherence, relevance, and fluency. However, existing summarization
methods often target a specific dimension, facing challenges in generating
well-balanced summaries across multiple dimensions. In this paper, we propose
multi-objective reinforcement learning tailored to generate balanced summaries
across all four dimensions. We introduce two multi-dimensional optimization
(MDO) strategies for adaptive learning: 1) MDO_min, rewarding the current
lowest dimension score, and 2) MDO_pro, optimizing multiple dimensions similar
to multi-task learning, resolves conflicting gradients across dimensions
through gradient projection. Unlike prior ROUGE-based rewards relying on
reference summaries, we use a QA-based reward model that aligns with human
preferences. Further, we discover the capability to regulate the length of
summaries by adjusting the discount factor, seeking the generation of concise
yet informative summaries that encapsulate crucial points. Our approach
achieved substantial performance gains compared to baseline models on
representative summarization datasets, particularly in the overlooked
dimensions. | cs.CL | Multi-Dimensional Optimization for Text Summarization via Reinforcement Learning |
2024-06-01T04:25:26Z | http://arxiv.org/pdf/2406.04371v2 | http://arxiv.org/abs/2406.04371v2 | Wei Pang, Chuan Zhou, Xiao-Hua Zhou, Xiaojie Wang | 2024-06-16T21:20:29Z | cs.CL, cs.AI | Instruction Fine-Tuning enhances pre-trained language models from basic
next-word prediction to complex instruction-following. However, existing
One-off Instruction Fine-Tuning (One-off IFT) method, applied on a diverse
instruction, may not effectively boost models' adherence to instructions due to
the simultaneous handling of varying instruction complexities. To improve this,
Phased Instruction Fine-Tuning (Phased IFT) is proposed, based on the idea that
learning to follow instructions is a gradual process. It assesses instruction
difficulty using GPT-4, divides the instruction data into subsets of increasing
difficulty, and uptrains the model sequentially on these subsets. Experiments
with Llama-2 7B/13B/70B, Llama3 8/70B and Mistral-7B models using Alpaca data
show that Phased IFT significantly outperforms One-off IFT, supporting the
progressive alignment hypothesis and providing a simple and efficient way to
enhance large language models. Codes and datasets from our experiments are
freely available at https://github.com/xubuvd/PhasedSFT. | cs.CL | Phased Instruction Fine-Tuning for Large Language Models |
2024-06-01T03:29:56Z | http://arxiv.org/pdf/2406.00284v1 | http://arxiv.org/abs/2406.00284v1 | Long Hei Matthew Lam, Ehsan Shareghi | 2024-06-01T03:29:56Z | cs.CL | Logical reasoning serves as a cornerstone for human cognition. Recently, the
emergence of Large Language Models (LLMs) has demonstrated promising progress
in solving logical reasoning tasks effectively. To improve this capability,
recent studies have delved into integrating LLMs with various symbolic solvers
using diverse techniques and methodologies. While some combinations excel on
specific datasets, others fall short. However, it remains unclear whether the
variance in performance stems from the methodologies employed or the specific
symbolic solvers utilized. Therefore, there is a lack of consistent comparison
between symbolic solvers and how they influence LLM's logical reasoning
ability. We perform experiments on LLMs integrated with 3 symbolic solvers: Z3,
Pyke, and Prover9, and compare their performance on 3 logical reasoning
datasets: ProofWriter, PrOntoQA, and FOLIO. Our findings indicate that when
combined with LLMs Pyke's performance is significantly inferior to that of
Prover9 and Z3. Z3's overall accuracy performance slightly surpasses Prover9,
but Prover9 could execute more questions. | cs.CL | A Closer Look at Logical Reasoning with LLMs: The Choice of Tool Matters |
2024-06-01T02:08:44Z | http://arxiv.org/pdf/2406.04370v1 | http://arxiv.org/abs/2406.04370v1 | Tejaswini Pedapati, Amit Dhurandhar, Soumya Ghosh, Soham Dan, Prasanna Sattigeri | 2024-06-01T02:08:44Z | cs.CL, cs.AI, cs.LG | Estimating uncertainty or confidence in the responses of a model can be
significant in evaluating trust not only in the responses, but also in the
model as a whole. In this paper, we explore the problem of estimating
confidence for responses of large language models (LLMs) with simply black-box
or query access to them. We propose a simple and extensible framework where, we
engineer novel features and train a (interpretable) model (viz. logistic
regression) on these features to estimate the confidence. We empirically
demonstrate that our simple framework is effective in estimating confidence of
flan-ul2, llama-13b and mistral-7b with it consistently outperforming existing
black-box confidence estimation approaches on benchmark datasets such as
TriviaQA, SQuAD, CoQA and Natural Questions by even over $10\%$ (on AUROC) in
some cases. Additionally, our interpretable approach provides insight into
features that are predictive of confidence, leading to the interesting and
useful discovery that our confidence models built for one LLM generalize
zero-shot across others on a given dataset. | cs.CL | Large Language Model Confidence Estimation via Black-Box Access |
2024-06-01T01:43:30Z | http://arxiv.org/pdf/2406.00257v1 | http://arxiv.org/abs/2406.00257v1 | Mohammed Saidul Islam, Raian Rahman, Ahmed Masry, Md Tahmid Rahman Laskar, Mir Tafseer Nayeem, Enamul Hoque | 2024-06-01T01:43:30Z | cs.CL | Natural language is a powerful complementary modality of communication for
data visualizations, such as bar and line charts. To facilitate chart-based
reasoning using natural language, various downstream tasks have been introduced
recently such as chart question answering, chart summarization, and
fact-checking with charts. These tasks pose a unique challenge, demanding both
vision-language reasoning and a nuanced understanding of chart data tables,
visual encodings, and natural language prompts. Despite the recent success of
Large Language Models (LLMs) across diverse NLP tasks, their abilities and
limitations in the realm of data visualization remain under-explored, possibly
due to their lack of multi-modal capabilities. To bridge the gap, this paper
presents the first comprehensive evaluation of the recently developed large
vision language models (LVLMs) for chart understanding and reasoning tasks. Our
evaluation includes a comprehensive assessment of LVLMs, including GPT-4V and
Gemini, across four major chart reasoning tasks. Furthermore, we perform a
qualitative evaluation of LVLMs' performance on a diverse range of charts,
aiming to provide a thorough analysis of their strengths and weaknesses. Our
findings reveal that LVLMs demonstrate impressive abilities in generating
fluent texts covering high-level data insights while also encountering common
problems like hallucinations, factual errors, and data bias. We highlight the
key strengths and limitations of chart comprehension tasks, offering insights
for future research. | cs.CL | Are Large Vision Language Models up to the Challenge of Chart Comprehension and Reasoning? An Extensive Investigation into the Capabilities and Limitations of LVLMs |
2024-06-01T01:17:25Z | http://arxiv.org/pdf/2406.00252v3 | http://arxiv.org/abs/2406.00252v3 | Bowen Jiang, Yangxinyu Xie, Xiaomeng Wang, Weijie J. Su, Camillo J. Taylor, Tanwi Mallick | 2024-06-18T04:22:39Z | cs.AI, cs.CL, cs.CV, cs.MA | Rationality is the quality of being guided by reason, characterized by
logical thinking and decision-making that align with evidence and logical
rules. This quality is essential for effective problem-solving, as it ensures
that solutions are well-founded and systematically derived. Despite the
advancements of large language models (LLMs) in generating human-like text with
remarkable accuracy, they present biases inherited from the training data,
inconsistency across different contexts, and difficulty understanding complex
scenarios involving multiple layers of context. Therefore, recent research
attempts to leverage the strength of multiple agents working collaboratively
with various types of data and tools for enhanced consistency and reliability.
To that end, this paper aims to understand whether multi-modal and multi-agent
systems are advancing toward rationality by surveying the state-of-the-art
works, identifying advancements over single-agent and single-modal systems in
terms of rationality, and discussing open problems and future directions. We
maintain an open repository at https://github.com/bowen-upenn/MMMA_Rationality. | cs.AI | Multi-Modal and Multi-Agent Systems Meet Rationality: A Survey |
2024-06-01T00:39:55Z | http://arxiv.org/pdf/2406.01624v2 | http://arxiv.org/abs/2406.01624v2 | Alaa Nfissi, Wassim Bouachir, Nizar Bouguila, Brian Mishara | 2024-06-05T22:21:55Z | eess.AS, cs.AI, cs.CL, cs.LG, cs.SD, I.2.7; I.2.6; I.2.1; I.2.8 | Speech emotion recognition (SER) has gained significant attention due to its
several application fields, such as mental health, education, and
human-computer interaction. However, the accuracy of SER systems is hindered by
high-dimensional feature sets that may contain irrelevant and redundant
information. To overcome this challenge, this study proposes an iterative
feature boosting approach for SER that emphasizes feature relevance and
explainability to enhance machine learning model performance. Our approach
involves meticulous feature selection and analysis to build efficient SER
systems. In addressing our main problem through model explainability, we employ
a feature evaluation loop with Shapley values to iteratively refine feature
sets. This process strikes a balance between model performance and
transparency, which enables a comprehensive understanding of the model's
predictions. The proposed approach offers several advantages, including the
identification and removal of irrelevant and redundant features, leading to a
more effective model. Additionally, it promotes explainability, facilitating
comprehension of the model's predictions and the identification of crucial
features for emotion determination. The effectiveness of the proposed method is
validated on the SER benchmarks of the Toronto emotional speech set (TESS),
Berlin Database of Emotional Speech (EMO-DB), Ryerson Audio-Visual Database of
Emotional Speech and Song (RAVDESS), and Surrey Audio-Visual Expressed Emotion
(SAVEE) datasets, outperforming state-of-the-art methods. To the best of our
knowledge, this is the first work to incorporate model explainability into an
SER framework. The source code of this paper is publicly available via this
https://github.com/alaaNfissi/Unveiling-Hidden-Factors-Explainable-AI-for-Feature-Boosting-in-Speech-Emotion-Recognition. | eess.AS | Unveiling Hidden Factors: Explainable AI for Feature Boosting in Speech Emotion Recognition |
2024-06-01T00:25:00Z | http://arxiv.org/pdf/2406.00244v1 | http://arxiv.org/abs/2406.00244v1 | Nate Rahn, Pierluca D'Oro, Marc G. Bellemare | 2024-06-01T00:25:00Z | cs.CL | The generality of pretrained large language models (LLMs) has prompted
increasing interest in their use as in-context learning agents. To be
successful, such agents must form beliefs about how to achieve their goals
based on limited interaction with their environment, resulting in uncertainty
about the best action to take at each step. In this paper, we study how LLM
agents form and act on these beliefs by conducting experiments in controlled
sequential decision-making tasks. To begin, we find that LLM agents are
overconfident: They draw strong conclusions about what to do based on
insufficient evidence, resulting in inadequately explorative behavior. We dig
deeper into this phenomenon and show how it emerges from a collapse in the
entropy of the action distribution implied by sampling from the LLM. We then
demonstrate that existing token-level sampling techniques are by themselves
insufficient to make the agent explore more. Motivated by this fact, we
introduce Entropic Activation Steering (EAST), an activation steering method
for in-context LLM agents. EAST computes a steering vector as an
entropy-weighted combination of representations, and uses it to manipulate an
LLM agent's uncertainty over actions by intervening on its activations during
the forward pass. We show that EAST can reliably increase the entropy in an LLM
agent's actions, causing more explorative behavior to emerge. Finally, EAST
modifies the subjective uncertainty an LLM agent expresses, paving the way to
interpreting and controlling how LLM agents represent uncertainty about their
decisions. | cs.CL | Controlling Large Language Model Agents with Entropic Activation Steering |
2024-06-01T00:11:09Z | http://arxiv.org/pdf/2406.00240v1 | http://arxiv.org/abs/2406.00240v1 | Frank Weizhen Liu, Chenhui Hu | 2024-06-01T00:11:09Z | cs.LG, cs.CL, cs.CR | As Large Language Models (LLMs) increasingly become key components in various
AI applications, understanding their security vulnerabilities and the
effectiveness of defense mechanisms is crucial. This survey examines the
security challenges of LLMs, focusing on two main areas: Prompt Hacking and
Adversarial Attacks, each with specific types of threats. Under Prompt Hacking,
we explore Prompt Injection and Jailbreaking Attacks, discussing how they work,
their potential impacts, and ways to mitigate them. Similarly, we analyze
Adversarial Attacks, breaking them down into Data Poisoning Attacks and
Backdoor Attacks. This structured examination helps us understand the
relationships between these vulnerabilities and the defense strategies that can
be implemented. The survey highlights these security challenges and discusses
robust defensive frameworks to protect LLMs against these threats. By detailing
these security issues, the survey contributes to the broader discussion on
creating resilient AI systems that can resist sophisticated attacks. | cs.LG | Exploring Vulnerabilities and Protections in Large Language Models: A Survey |
2024-05-31T23:29:42Z | http://arxiv.org/pdf/2406.00231v1 | http://arxiv.org/abs/2406.00231v1 | Yifan Zeng, Ojas Tendolkar, Raymond Baartmans, Qingyun Wu, Huazheng Wang, Lizhong Chen | 2024-05-31T23:29:42Z | cs.IR, cs.AI, cs.CL | Ranking passages by prompting a large language model (LLM) can achieve
promising performance in modern information retrieval (IR) systems. A common
approach is to sort the ranking list by prompting LLMs for pairwise comparison.
However, sorting-based methods require consistent comparisons to correctly sort
the passages, which we show that LLMs often violate. We identify two kinds of
intrinsic inconsistency in LLM-based pairwise comparisons: order inconsistency
which leads to conflicting results when switching the passage order, and
transitive inconsistency which leads to non-transitive triads among all
preference pairs. In this paper, we propose LLM-RankFusion, an LLM-based
ranking framework that mitigates these inconsistencies and produces a robust
ranking list. LLM-RankFusion mitigates order inconsistency using in-context
learning (ICL) to demonstrate order-agnostic comparisons and calibration to
estimate the underlying preference probability between two passages. We then
address transitive inconsistency by aggregating the ranking results from
multiple rankers. In our experiments, we empirically show that LLM-RankFusion
can significantly reduce inconsistent pairwise comparison results, and improve
the ranking quality by making the final ranking list more robust. | cs.IR | LLM-RankFusion: Mitigating Intrinsic Inconsistency in LLM-based Ranking |
2024-05-31T23:05:04Z | http://arxiv.org/pdf/2406.00226v1 | http://arxiv.org/abs/2406.00226v1 | William Hogan, Jingbo Shang | 2024-05-31T23:05:04Z | cs.CL, I.2.7 | Recent research efforts have explored the potential of leveraging natural
language inference (NLI) techniques to enhance relation extraction (RE). In
this vein, we introduce MetaEntail-RE, a novel adaptation method that harnesses
NLI principles to enhance RE performance. Our approach follows past works by
verbalizing relation classes into class-indicative hypotheses, aligning a
traditionally multi-class classification task to one of textual entailment. We
introduce three key enhancements: (1) Instead of labeling non-entailed
premise-hypothesis pairs with the uninformative "neutral" entailment label, we
introduce meta-class analysis, which provides additional context by analyzing
overarching meta relationships between classes when assigning entailment
labels; (2) Feasible hypothesis filtering, which removes unlikely hypotheses
from consideration based on pairs of entity types; and (3) Group-based
prediction selection, which further improves performance by selecting highly
confident predictions. MetaEntail-RE is conceptually simple and empirically
powerful, yielding significant improvements over conventional relation
extraction techniques and other NLI formulations. Our experimental results
underscore the versatility of MetaEntail-RE, demonstrating performance gains
across both biomedical and general domains. | cs.CL | Entangled Relations: Leveraging NLI and Meta-analysis to Enhance Biomedical Relation Extraction |
2024-05-31T22:44:48Z | http://arxiv.org/pdf/2406.00222v1 | http://arxiv.org/abs/2406.00222v1 | Maximillian Chen, Ruoxi Sun, Sercan Ö. Arık, Tomas Pfister | 2024-05-31T22:44:48Z | cs.CL, cs.AI, cs.LG | Large language models (LLMs) aligned through reinforcement learning from
human feedback (RLHF) have quickly become one of the dominant paradigms for
building intelligent conversational assistant agents. However, despite their
strong performance across many benchmarks, LLM-based agents still lack
conversational skills such as disambiguation: when generalized assistants are
faced with ambiguity, they often overhedge or implicitly guess users'
ground-truth intents rather than asking clarification questions, and under
task-specific settings, high-quality conversation samples are often limited,
affecting models' ability to learn optimal dialogue action policies. We propose
Action-Based Contrastive Self-Training (henceforth ACT), a quasi-online
preference optimization algorithm based on Direct Preference Optimization (DPO)
which allows for sample-efficient dialogue policy learning in multi-turn
conversation. We demonstrate ACT's efficacy under sample-efficient conditions
in three difficult conversational tasks: tabular-grounded question-answering,
machine reading comprehension, and AmbigSQL, a novel task for disambiguating
information-seeking requests for text-to-SQL generation. Additionally, we
propose evaluating LLMs' ability to function as conversational agents by
examining whether they can implicitly recognize and reason about ambiguity in
conversation. ACT demonstrates substantial conversation modeling improvements
over standard approaches to supervised fine-tuning and DPO. | cs.CL | Learning to Clarify: Multi-turn Conversations with Action-Based Contrastive Self-Training |
2024-05-31T21:21:19Z | http://arxiv.org/pdf/2406.00199v2 | http://arxiv.org/abs/2406.00199v2 | Gregory Schwartzman | 2024-06-06T06:43:38Z | cs.CR, cs.AI, cs.CL, cs.CY, cs.ET | We report that ChatGPT 4 and 4o are susceptible to a prompt injection attack
that allows an attacker to exfiltrate users' personal data. It is applicable
without the use of any 3rd party tools and all users are currently affected.
This vulnerability is exacerbated by the recent introduction of ChatGPT's
memory feature, which allows an attacker to command ChatGPT to monitor the user
for the desired personal data. | cs.CR | Exfiltration of personal information from ChatGPT via prompt injection |
2024-05-31T21:19:09Z | http://arxiv.org/pdf/2406.00197v1 | http://arxiv.org/abs/2406.00197v1 | Qian Ruan, Ilia Kuznetsov, Iryna Gurevych | 2024-05-31T21:19:09Z | cs.CL | Collaborative review and revision of textual documents is the core of
knowledge work and a promising target for empirical analysis and NLP
assistance. Yet, a holistic framework that would allow modeling complex
relationships between document revisions, reviews and author responses is
lacking. To address this gap, we introduce Re3, a framework for joint analysis
of collaborative document revision. We instantiate this framework in the
scholarly domain, and present Re3-Sci, a large corpus of aligned scientific
paper revisions manually labeled according to their action and intent, and
supplemented with the respective peer reviews and human-written edit summaries.
We use the new data to provide first empirical insights into collaborative
document revision in the academic domain, and to assess the capabilities of
state-of-the-art LLMs at automating edit analysis and facilitating text-based
collaboration. We make our annotation environment and protocols, the resulting
data and experimental code publicly available. | cs.CL | Re3: A Holistic Framework and Dataset for Modeling Collaborative Document Revision |
2024-05-31T21:18:25Z | http://arxiv.org/pdf/2406.02592v1 | http://arxiv.org/abs/2406.02592v1 | Jay Desai, Xiaobo Guo, Srinivasan H. Sengamedu | 2024-05-31T21:18:25Z | cs.LG, cs.AI, cs.CL | The performance of Large Language Models has achieved superhuman breadth with
unprecedented depth. At the same time, the language models are mostly black box
models and the underlying mechanisms for performance have been evaluated using
synthetic or mechanistic schemes. We extend current mechanistic schemes to
incorporate Logic, memory, and nuances of Language such as latent structure.
The proposed framework is called LOLAMEME and we provide two instantiations of
LOLAMEME: LoLa and MeMe languages. We then consider two generative language
model architectures: transformer-based GPT-2 and convolution-based Hyena. We
propose the hybrid architecture T HEX and use LOLAMEME framework is used to
compare three architectures. T HEX outperforms GPT-2 and Hyena on select tasks. | cs.LG | LOLAMEME: Logic, Language, Memory, Mechanistic Framework |
2024-05-31T21:14:11Z | http://arxiv.org/pdf/2406.04368v1 | http://arxiv.org/abs/2406.04368v1 | Chien-Kun Huang, Yi-Ting Chang, Lun-Wei Ku, Cheng-Te Li, Hong-Han Shuai | 2024-05-31T21:14:11Z | cs.CL, cs.AI, cs.CY | This paper provides an overview of the Fake-EmoReact 2021 Challenge, held at
the 9th SocialNLP Workshop, in conjunction with NAACL 2021. The challenge
requires predicting the authenticity of tweets using reply context and
augmented GIF categories from EmotionGIF dataset. We offer the Fake-EmoReact
dataset with more than 453k as the experimental materials, where every tweet is
labeled with authenticity. Twenty-four teams registered to participate in this
challenge, and 5 submitted their results successfully in the evaluation phase.
The best team achieves 93.9 on Fake-EmoReact 2021 dataset using F1 score. In
addition, we show the definition of share task, data collection, and the teams'
performance that joined this challenge and their approaches. | cs.CL | SocialNLP Fake-EmoReact 2021 Challenge Overview: Predicting Fake Tweets from Their Replies and GIFs |
2024-05-31T20:15:10Z | http://arxiv.org/pdf/2406.00179v1 | http://arxiv.org/abs/2406.00179v1 | Bernd Bohnet, Kevin Swersky, Rosanne Liu, Pranjal Awasthi, Azade Nova, Javier Snaider, Hanie Sedghi, Aaron T Parisi, Michael Collins, Angeliki Lazaridou, Orhan Firat, Noah Fiedel | 2024-05-31T20:15:10Z | cs.CL, cs.AI | We explore the use of long-context capabilities in large language models to
create synthetic reading comprehension data from entire books. Previous efforts
to construct such datasets relied on crowd-sourcing, but the emergence of
transformers with a context size of 1 million or more tokens now enables
entirely automatic approaches. Our objective is to test the capabilities of
LLMs to analyze, understand, and reason over problems that require a detailed
comprehension of long spans of text, such as questions involving character
arcs, broader themes, or the consequences of early actions later in the story.
We propose a holistic pipeline for automatic data generation including question
generation, answering, and model scoring using an ``Evaluator''. We find that a
relative approach, comparing answers between models in a pairwise fashion and
ranking with a Bradley-Terry model, provides a more consistent and
differentiating scoring mechanism than an absolute scorer that rates answers
individually. We also show that LLMs from different model families produce
moderate agreement in their ratings. We ground our approach using the manually
curated NarrativeQA dataset, where our evaluator shows excellent agreement with
human judgement and even finds errors in the dataset. Using our automatic
evaluation approach, we show that using an entire book as context produces
superior reading comprehension performance compared to baseline no-context
(parametric knowledge only) and retrieval-based approaches. | cs.CL | Long-Span Question-Answering: Automatic Question Generation and QA-System Ranking via Side-by-Side Evaluation |
2024-05-31T19:43:20Z | http://arxiv.org/pdf/2406.00159v1 | http://arxiv.org/abs/2406.00159v1 | Giosue Baggio, Elliot Murphy | 2024-05-31T19:43:20Z | cs.CL | In a recent paper, Mandelkern & Linzen (2024) - henceforth M&L - address the
question of whether language models' (LMs) words refer. Their argument draws
from the externalist tradition in philosophical semantics, which views
reference as the capacity of words to "achieve 'word-to-world' connections". In
the externalist framework, causally uninterrupted chains of usage, tracing
every occurrence of a name back to its bearer, guarantee that, for example,
'Peano' refers to the individual Peano (Kripke 1980). This account is
externalist both because words pick out referents 'out there' in the world, and
because what determines reference are coordinated linguistic actions by members
of a community, and not individual mental states. The "central question to
ask", for M&L, is whether LMs too belong to human linguistic communities, such
that words by LMs may also trace back causally to their bearers. Their answer
is a cautious "yes": inputs to LMs are linguistic "forms with particular
histories of referential use"; "those histories ground the referents of those
forms"; any occurrence of 'Peano' in LM outputs is as causally connected to the
individual Peano as any other occurrence of the same proper name in human
speech or text; therefore, occurrences of 'Peano' in LM outputs refer to Peano.
In this commentary, we first qualify M&L's claim as applying to a narrow class
of natural language expressions. Thus qualified, their claim is valid, and we
emphasise an additional motivation for that in Section 2. Next, we discuss the
actual scope of their claim, and we suggest that the way they formulate it may
lead to unwarranted generalisations about reference in LMs. Our critique is
likewise applicable to other externalist accounts of LMs (e.g., Lederman &
Mahowald 2024; Mollo & Milliere 2023). Lastly, we conclude with a comment on
the status of LMs as members of human linguistic communities. | cs.CL | On the referential capacity of language models: An internalist rejoinder to Mandelkern & Linzen |
2024-05-31T18:46:06Z | http://arxiv.org/pdf/2406.00131v1 | http://arxiv.org/abs/2406.00131v1 | Kevin Christian Wibisono, Yixin Wang | 2024-05-31T18:46:06Z | cs.LG, cs.CL, stat.ML | Large language models (LLMs) like transformers have impressive in-context
learning (ICL) capabilities; they can generate predictions for new queries
based on input-output sequences in prompts without parameter updates. While
many theories have attempted to explain ICL, they often focus on structured
training data similar to ICL tasks, such as regression. In practice, however,
these models are trained in an unsupervised manner on unstructured text data,
which bears little resemblance to ICL tasks. To this end, we investigate how
ICL emerges from unsupervised training on unstructured data. The key
observation is that ICL can arise simply by modeling co-occurrence information
using classical language models like continuous bag of words (CBOW), which we
theoretically prove and empirically validate. Furthermore, we establish the
necessity of positional information and noise structure to generalize ICL to
unseen data. Finally, we present instances where ICL fails and provide
theoretical explanations; they suggest that the ICL ability of LLMs to identify
certain tasks can be sensitive to the structure of the training data. | cs.LG | How In-Context Learning Emerges from Training on Unstructured Data: On the Role of Co-Occurrence, Positional Information, and Noise Structures |
2024-05-31T17:59:47Z | http://arxiv.org/pdf/2405.21075v2 | http://arxiv.org/abs/2405.21075v2 | Chaoyou Fu, Yuhan Dai, Yongdong Luo, Lei Li, Shuhuai Ren, Renrui Zhang, Zihan Wang, Chenyu Zhou, Yunhang Shen, Mengdan Zhang, Peixian Chen, Yanwei Li, Shaohui Lin, Sirui Zhao, Ke Li, Tong Xu, Xiawu Zheng, Enhong Chen, Rongrong Ji, Xing Sun | 2024-06-16T15:49:12Z | cs.CV, cs.CL | In the quest for artificial general intelligence, Multi-modal Large Language
Models (MLLMs) have emerged as a focal point in recent advancements. However,
the predominant focus remains on developing their capabilities in static image
understanding. The potential of MLLMs in processing sequential visual data is
still insufficiently explored, highlighting the absence of a comprehensive,
high-quality assessment of their performance. In this paper, we introduce
Video-MME, the first-ever full-spectrum, Multi-Modal Evaluation benchmark of
MLLMs in Video analysis. Our work distinguishes from existing benchmarks
through four key features: 1) Diversity in video types, spanning 6 primary
visual domains with 30 subfields to ensure broad scenario generalizability; 2)
Duration in temporal dimension, encompassing both short-, medium-, and
long-term videos, ranging from 11 seconds to 1 hour, for robust contextual
dynamics; 3) Breadth in data modalities, integrating multi-modal inputs besides
video frames, including subtitles and audios, to unveil the all-round
capabilities of MLLMs; 4) Quality in annotations, utilizing rigorous manual
labeling by expert annotators to facilitate precise and reliable model
assessment. 900 videos with a total of 254 hours are manually selected and
annotated by repeatedly viewing all the video content, resulting in 2,700
question-answer pairs. With Video-MME, we extensively evaluate various
state-of-the-art MLLMs, including GPT-4 series and Gemini 1.5 Pro, as well as
open-source image models like InternVL-Chat-V1.5 and video models like
LLaVA-NeXT-Video. Our experiments reveal that Gemini 1.5 Pro is the
best-performing commercial model, significantly outperforming the open-source
models. Our dataset along with these findings underscores the need for further
improvements in handling longer sequences and multi-modal data. Project Page:
https://video-mme.github.io | cs.CV | Video-MME: The First-Ever Comprehensive Evaluation Benchmark of Multi-modal LLMs in Video Analysis |
2024-05-31T17:57:24Z | http://arxiv.org/pdf/2405.21070v2 | http://arxiv.org/abs/2405.21070v2 | Xin Wen, Bingchen Zhao, Yilun Chen, Jiangmiao Pang, Xiaojuan Qi | 2024-06-14T16:42:47Z | cs.CV, cs.CL, cs.LG | Severe data imbalance naturally exists among web-scale vision-language
datasets. Despite this, we find CLIP pre-trained thereupon exhibits notable
robustness to the data imbalance compared to supervised learning, and
demonstrates significant effectiveness in learning generalizable
representations. With an aim to investigate the reasons behind this finding, we
conduct controlled experiments to study various underlying factors, and reveal
that CLIP's pretext task forms a dynamic classification problem wherein only a
subset of classes is present in training. This isolates the bias from dominant
classes and implicitly balances the learning signal. Furthermore, the
robustness and discriminability of CLIP improve with more descriptive language
supervision, larger data scale, and broader open-world concepts, which are
inaccessible to supervised learning. Our study not only uncovers the mechanisms
behind CLIP's generalizability beyond data imbalance but also provides
transferable insights for the research community. The findings are validated in
both supervised and self-supervised learning, enabling models trained on
imbalanced data to achieve CLIP-level performance on diverse recognition tasks.
Code and data are available at: https://github.com/CVMI-Lab/clip-beyond-tail. | cs.CV | Generalization Beyond Data Imbalance: A Controlled Study on CLIP for Transferable Insights |
2024-05-31T17:56:33Z | http://arxiv.org/pdf/2405.21068v1 | http://arxiv.org/abs/2405.21068v1 | Najoung Kim, Sebastian Schuster, Shubham Toshniwal | 2024-05-31T17:56:33Z | cs.CL, cs.AI | Recent work has provided indirect evidence that pretraining language models
on code improves the ability of models to track state changes of discourse
entities expressed in natural language. In this work, we systematically test
this claim by comparing pairs of language models on their entity tracking
performance. Critically, the pairs consist of base models and models trained on
top of these base models with additional code data. We extend this analysis to
additionally examine the effect of math training, another highly structured
data type, and alignment tuning, an important step for enhancing the usability
of models. We find clear evidence that models additionally trained on large
amounts of code outperform the base models. On the other hand, we find no
consistent benefit of additional math training or alignment tuning across
various model families. | cs.CL | Code Pretraining Improves Entity Tracking Abilities of Language Models |
2024-05-31T17:39:15Z | http://arxiv.org/pdf/2405.21047v1 | http://arxiv.org/abs/2405.21047v1 | Kanghee Park, Jiayu Wang, Taylor Berg-Kirkpatrick, Nadia Polikarpova, Loris D'Antoni | 2024-05-31T17:39:15Z | cs.AI, cs.CL, cs.LG | Large Language Models (LLMs) struggle with reliably generating highly
structured outputs, such as program code, mathematical formulas, or well-formed
markup. Constrained decoding approaches mitigate this problem by greedily
restricting what tokens an LLM can output at each step to guarantee that the
output matches a given constraint. Specifically, in grammar-constrained
decoding (GCD), the LLM's output must follow a given grammar. In this paper we
demonstrate that GCD techniques (and in general constrained decoding
techniques) can distort the LLM's distribution, leading to outputs that are
grammatical but appear with likelihoods that are not proportional to the ones
given by the LLM, and so ultimately are low-quality. We call the problem of
aligning sampling with a grammar constraint, grammar-aligned decoding (GAD),
and propose adaptive sampling with approximate expected futures (ASAp), a
decoding algorithm that guarantees the output to be grammatical while provably
producing outputs that match the conditional probability of the LLM's
distribution conditioned on the given grammar constraint. Our algorithm uses
prior sample outputs to soundly overapproximate the future grammaticality of
different output prefixes. Our evaluation on code generation and structured NLP
tasks shows how ASAp often produces outputs with higher likelihood (according
to the LLM's distribution) than existing GCD techniques, while still enforcing
the desired grammatical constraints. | cs.AI | Grammar-Aligned Decoding |
2024-05-31T17:39:06Z | http://arxiv.org/pdf/2405.21046v1 | http://arxiv.org/abs/2405.21046v1 | Tengyang Xie, Dylan J. Foster, Akshay Krishnamurthy, Corby Rosset, Ahmed Awadallah, Alexander Rakhlin | 2024-05-31T17:39:06Z | cs.LG, cs.AI, cs.CL, stat.ML | Reinforcement learning from human feedback (RLHF) has emerged as a central
tool for language model alignment. We consider online exploration in RLHF,
which exploits interactive access to human or AI feedback by deliberately
encouraging the model to produce diverse, maximally informative responses. By
allowing RLHF to confidently stray from the pre-trained model, online
exploration offers the possibility of novel, potentially super-human
capabilities, but its full potential as a paradigm for language model training
has yet to be realized, owing to computational and statistical bottlenecks in
directly adapting existing reinforcement learning techniques. We propose a new
algorithm for online exploration in RLHF, Exploratory Preference Optimization
(XPO), which is simple and practical -- a one-line change to (online) Direct
Preference Optimization (DPO; Rafailov et al., 2023) -- yet enjoys the
strongest known provable guarantees and promising empirical performance. XPO
augments the DPO objective with a novel and principled exploration bonus,
empowering the algorithm to explore outside the support of the initial model
and human feedback data. In theory, we show that XPO is provably
sample-efficient and converges to a near-optimal language model policy under
natural exploration conditions, irrespective of whether the initial model has
good coverage. Our analysis, which builds on the observation that DPO
implicitly performs a form of $Q^{\star}$-approximation (or, Bellman error
minimization), combines previously disparate techniques from language modeling
and theoretical reinforcement learning in a serendipitous fashion through the
perspective of KL-regularized Markov decision processes. Empirically, we find
that XPO is more sample-efficient than non-exploratory DPO variants in a
preliminary evaluation. | cs.LG | Exploratory Preference Optimization: Harnessing Implicit Q*-Approximation for Sample-Efficient RLHF |
2024-05-31T17:31:18Z | http://arxiv.org/pdf/2405.21040v1 | http://arxiv.org/abs/2405.21040v1 | Runsheng Yu, Yong Wang, Xiaoqi Jiao, Youzhi Zhang, James T. Kwok | 2024-05-31T17:31:18Z | cs.CL, cs.AI | Reinforcement Learning from Human Feedback (RLHF) has been commonly used to
align the behaviors of Large Language Models (LLMs) with human preferences.
Recently, a popular alternative is Direct Policy Optimization (DPO), which
replaces an LLM-based reward model with the policy itself, thus obviating the
need for extra memory and training time to learn the reward model. However, DPO
does not consider the relative qualities of the positive and negative
responses, and can lead to sub-optimal training outcomes. To alleviate this
problem, we investigate the use of intrinsic knowledge within the on-the-fly
fine-tuning LLM to obtain relative qualities and help to refine the loss
function. Specifically, we leverage the knowledge of the LLM to design a
refinement function to estimate the quality of both the positive and negative
responses. We show that the constructed refinement function can help
self-refine the loss function under mild assumptions. The refinement function
is integrated into DPO and its variant Identity Policy Optimization (IPO).
Experiments across various evaluators indicate that they can improve the
performance of the fine-tuned models over DPO and IPO. | cs.CL | Direct Alignment of Language Models via Quality-Aware Self-Refinement |
2024-05-31T17:16:38Z | http://arxiv.org/pdf/2405.21028v2 | http://arxiv.org/abs/2405.21028v2 | Elias Stengel-Eskin, Peter Hase, Mohit Bansal | 2024-07-03T12:49:23Z | cs.CL, cs.AI | When answering questions, LLMs can convey not only an answer, but a level of
confidence about the answer being correct. This includes explicit confidence
markers (e.g. giving a numeric score) as well as implicit markers, like an
authoritative tone or elaborating with additional knowledge. For LLMs to be
trustworthy knowledge sources, the confidence they convey should match their
actual expertise; however, most current models tend towards overconfidence. To
calibrate both implicit and explicit confidence markers, we introduce a
pragmatic, listener-aware finetuning method (LACIE) that models the listener,
considering not only whether an answer is right, but whether it will be
accepted by a listener. We cast calibration as preference optimization,
creating data via a two-agent game, where a speaker model's outputs are judged
by a simulated listener. We then finetune three LLMs (Mistral-7B, Llama3-8B,
Llama3-70B) with LACIE, and show that the resulting models are better
calibrated w.r.t. a simulated listener. Crucially, these trends transfer to
human listeners, helping them correctly predict model correctness: we conduct a
human evaluation where annotators accept or reject an LLM's answers, finding
that training with LACIE results in 47% fewer incorrect answers being accepted
while maintaining the same level of acceptance for correct answers.
Furthermore, LACIE generalizes to another dataset, resulting in a large
increase in truthfulness on TruthfulQA when trained on TriviaQA. Our analysis
indicates that LACIE leads to a better confidence separation between correct
and incorrect examples. Qualitatively, we find that a LACIE-trained model
hedges more and implicitly signals certainty when it is correct by using an
authoritative tone or including details. Finally, LACIE finetuning leads to an
emergent increase in model abstention (e.g. saying "I don't know") for answers
that are likely wrong. | cs.CL | LACIE: Listener-Aware Finetuning for Confidence Calibration in Large Language Models |
2024-05-31T17:09:16Z | http://arxiv.org/pdf/2405.21022v1 | http://arxiv.org/abs/2405.21022v1 | Zhen Qin, Yuxin Mao, Xuyang Shen, Dong Li, Jing Zhang, Yuchao Dai, Yiran Zhong | 2024-05-31T17:09:16Z | cs.CL, cs.CV | Linear attention mechanisms have gained prominence in causal language models
due to their linear computational complexity and enhanced speed. However, the
inherent decay mechanism in linear attention presents challenges when applied
to multi-dimensional sequence modeling tasks, such as image processing and
multi-modal learning. In these scenarios, the utilization of sequential
scanning to establish a global receptive field necessitates multiple scans for
multi-dimensional data, thereby leading to inefficiencies. This paper
identifies the inefficiency caused by a multiplicative linear recurrence and
proposes an efficient alternative additive linear recurrence to avoid the
issue, as it can handle multi-dimensional data within a single scan. We further
develop an efficient multi-dimensional sequential modeling framework called
LightNet based on the new recurrence. Moreover, we present two new
multi-dimensional linear relative positional encoding methods, MD-TPE and
MD-LRPE to enhance the model's ability to discern positional information in
multi-dimensional scenarios. Our empirical evaluations across various tasks,
including image classification, image generation, bidirectional language
modeling, and autoregressive language modeling, demonstrate the efficacy of
LightNet, showcasing its potential as a versatile and efficient solution for
multi-dimensional sequential modeling. | cs.CL | You Only Scan Once: Efficient Multi-dimension Sequential Modeling with LightNet |
2024-05-31T17:07:15Z | http://arxiv.org/pdf/2405.21018v2 | http://arxiv.org/abs/2405.21018v2 | Xiaojun Jia, Tianyu Pang, Chao Du, Yihao Huang, Jindong Gu, Yang Liu, Xiaochun Cao, Min Lin | 2024-06-05T16:35:49Z | cs.LG, cs.CL, cs.CR | Large language models (LLMs) are being rapidly developed, and a key component
of their widespread deployment is their safety-related alignment. Many
red-teaming efforts aim to jailbreak LLMs, where among these efforts, the
Greedy Coordinate Gradient (GCG) attack's success has led to a growing interest
in the study of optimization-based jailbreaking techniques. Although GCG is a
significant milestone, its attacking efficiency remains unsatisfactory. In this
paper, we present several improved (empirical) techniques for
optimization-based jailbreaks like GCG. We first observe that the single target
template of "Sure" largely limits the attacking performance of GCG; given this,
we propose to apply diverse target templates containing harmful self-suggestion
and/or guidance to mislead LLMs. Besides, from the optimization aspects, we
propose an automatic multi-coordinate updating strategy in GCG (i.e.,
adaptively deciding how many tokens to replace in each step) to accelerate
convergence, as well as tricks like easy-to-hard initialisation. Then, we
combine these improved technologies to develop an efficient jailbreak method,
dubbed I-GCG. In our experiments, we evaluate on a series of benchmarks (such
as NeurIPS 2023 Red Teaming Track). The results demonstrate that our improved
techniques can help GCG outperform state-of-the-art jailbreaking attacks and
achieve nearly 100% attack success rate. The code is released at
https://github.com/jiaxiaojunQAQ/I-GCG. | cs.LG | Improved Techniques for Optimization-Based Jailbreaking on Large Language Models |
2024-05-31T16:41:36Z | http://arxiv.org/pdf/2405.20999v1 | http://arxiv.org/abs/2405.20999v1 | Robert Cardona, Eva Miranda, Daniel Peralta-Salas | 2024-05-31T16:41:36Z | math.DS, cs.CL, math.AP, math.SG | In 1991, Moore [20] raised a question about whether hydrodynamics is capable
of performing computations. Similarly, in 2016, Tao [25] asked whether a
mechanical system, including a fluid flow, can simulate a universal Turing
machine. In this expository article, we review the construction in [8] of a
"Fluid computer" in dimension 3 that combines techniques in symbolic dynamics
with the connection between steady Euler flows and contact geometry unveiled by
Etnyre and Ghrist. In addition, we argue that the metric that renders the
vector field Beltrami cannot be critical in the Chern-Hamilton sense [9]. We
also sketch the completely different construction for the Euclidean metric in
$\mathbb R^3$ as given in [7]. These results reveal the existence of
undecidable fluid particle paths. We conclude the article with a list of open
problems. | math.DS | Towards a Fluid computer |
2024-05-31T16:38:54Z | http://arxiv.org/pdf/2405.20994v1 | http://arxiv.org/abs/2405.20994v1 | Josef Vonášek, Milan Straka, Rostislav Krč, Lenka Lasoňová, Ekaterina Egorova, Jana Straková, Jakub Náplava | 2024-05-31T16:38:54Z | cs.IR, cs.CL | We present CWRCzech, Click Web Ranking dataset for Czech, a 100M
query-document Czech click dataset for relevance ranking with user behavior
data collected from search engine logs of Seznam.cz. To the best of our
knowledge, CWRCzech is the largest click dataset with raw text published so
far. It provides document positions in the search results as well as
information about user behavior: 27.6M clicked documents and 10.8M dwell times.
In addition, we also publish a manually annotated Czech test for the relevance
task, containing nearly 50k query-document pairs, each annotated by at least 2
annotators. Finally, we analyze how the user behavior data improve relevance
ranking and show that models trained on data automatically harnessed at
sufficient scale can surpass the performance of models trained on human
annotated data. CWRCzech is published under an academic non-commercial license
and is available to the research community at
https://github.com/seznam/CWRCzech. | cs.IR | CWRCzech: 100M Query-Document Czech Click Dataset and Its Application to Web Relevance Ranking |
2024-05-31T16:21:16Z | http://arxiv.org/pdf/2405.20974v2 | http://arxiv.org/abs/2405.20974v2 | Tianyang Xu, Shujin Wu, Shizhe Diao, Xiaoze Liu, Xingyao Wang, Yangyi Chen, Jing Gao | 2024-06-05T17:04:01Z | cs.CL, cs.AI, cs.LG | Large language models (LLMs) often generate inaccurate or fabricated
information and generally fail to indicate their confidence, which limits their
broader applications. Previous work elicits confidence from LLMs by direct or
self-consistency prompting, or constructing specific datasets for supervised
finetuning. The prompting-based approaches have inferior performance, and the
training-based approaches are limited to binary or inaccurate group-level
confidence estimates. In this work, we present the advanced SaySelf, a training
framework that teaches LLMs to express more accurate fine-grained confidence
estimates. In addition, beyond the confidence scores, SaySelf initiates the
process of directing LLMs to produce self-reflective rationales that clearly
identify gaps in their parametric knowledge and explain their uncertainty. This
is achieved by using an LLM to automatically summarize the uncertainties in
specific knowledge via natural language. The summarization is based on the
analysis of the inconsistency in multiple sampled reasoning chains, and the
resulting data is utilized for supervised fine-tuning. Moreover, we utilize
reinforcement learning with a meticulously crafted reward function to calibrate
the confidence estimates, motivating LLMs to deliver accurate, high-confidence
predictions and to penalize overconfidence in erroneous outputs. Experimental
results in both in-distribution and out-of-distribution datasets demonstrate
the effectiveness of SaySelf in reducing the confidence calibration error and
maintaining the task performance. We show that the generated self-reflective
rationales are reasonable and can further contribute to the calibration. The
code is made public at https://github.com/xu1868/SaySelf. | cs.CL | SaySelf: Teaching LLMs to Express Confidence with Self-Reflective Rationales |
2024-05-31T16:21:05Z | http://arxiv.org/pdf/2405.20973v1 | http://arxiv.org/abs/2405.20973v1 | Wen-Pu Cai, Wu-Jun Li | 2024-05-31T16:21:05Z | cs.LG, cs.CL | Large language models~(LLMs) have recently demonstrated promising performance
in many tasks. However, the high storage and computational cost of LLMs has
become a challenge for deploying LLMs. Weight quantization has been widely used
for model compression, which can reduce both storage and computational cost.
Most existing weight quantization methods for LLMs use a rank-one codebook for
quantization, which results in substantial accuracy loss when the compression
ratio is high. In this paper, we propose a novel weight quantization method,
called low-rank codebook based quantization~(LCQ), for LLMs. LCQ adopts a
low-rank codebook, the rank of which can be larger than one, for quantization.
Experiments show that LCQ can achieve better accuracy than existing methods
with a negligibly extra storage cost. | cs.LG | LCQ: Low-Rank Codebook based Quantization for Large Language Models |
2024-05-31T16:14:06Z | http://arxiv.org/pdf/2405.20967v1 | http://arxiv.org/abs/2405.20967v1 | Valentina Pyatkin, Bonnie Webber, Ido Dagan, Reut Tsarfaty | 2024-05-31T16:14:06Z | cs.CL | Superlatives are used to single out elements with a maximal/minimal property.
Semantically, superlatives perform a set comparison: something (or some things)
has the min/max property out of a set. As such, superlatives provide an ideal
phenomenon for studying implicit phenomena and discourse restrictions. While
this comparison set is often not explicitly defined, its (implicit)
restrictions can be inferred from the discourse context the expression appears
in. In this work we provide an extensive computational study on the semantics
of superlatives. We propose a unified account of superlative semantics which
allows us to derive a broad-coverage annotation schema. Using this unified
schema we annotated a multi-domain dataset of superlatives and their semantic
interpretations. We specifically focus on interpreting implicit or ambiguous
superlative expressions, by analyzing how the discourse context restricts the
set of interpretations. In a set of experiments we then analyze how well models
perform at variations of predicting superlative semantics, with and without
context. We show that the fine-grained semantics of superlatives in context can
be challenging for contemporary models, including GPT-4. | cs.CL | Superlatives in Context: Explicit and Implicit Domain Restrictions for Superlative Frames |
2024-05-31T16:07:33Z | http://arxiv.org/pdf/2405.20962v2 | http://arxiv.org/abs/2405.20962v2 | Ciro Beneduce, Bruno Lepri, Massimiliano Luca | 2024-06-03T15:10:53Z | cs.CY, cs.AI, cs.CL | Predicting the locations an individual will visit in the future is crucial
for solving many societal issues like disease diffusion and reduction of
pollution among many others. The models designed to tackle next-location
prediction, however, require a significant amount of individual-level
information to be trained effectively. Such data may be scarce or even
unavailable in some geographic regions or peculiar scenarios (e.g., cold-start
in recommendation systems). Moreover, the design of a next-location predictor
able to generalize or geographically transfer knowledge is still an open
research challenge. Recent advances in natural language processing have led to
a rapid diffusion of Large Language Models (LLMs) which have shown good
generalization and reasoning capabilities. These insights, coupled with the
recent findings that LLMs are rich in geographical knowledge, allowed us to
believe that these models can act as zero-shot next-location predictors. This
paper evaluates the capabilities of many popular LLMs in this role,
specifically Llama, GPT-3.5 and Mistral 7B. After designing a proper prompt, we
tested the models on three real-world mobility datasets. The results show that
LLMs can obtain accuracies up to 32.4%, a significant relative improvement of
over 600% when compared to sophisticated DL models specifically designed for
human mobility. Moreover, we show that other LLMs are unable to perform the
task properly. To prevent positively biased results, we also propose a
framework inspired by other studies to test data contamination. Finally, we
explored the possibility of using LLMs as text-based explainers for
next-location prediction showing that can effectively provide an explanation
for their decision. Notably, 7B models provide more generic, but still
reliable, explanations compared to larger counterparts. Code:
github.com/ssai-trento/LLM-zero-shot-NL | cs.CY | Large Language Models are Zero-Shot Next Location Predictors |
2024-05-31T15:55:51Z | http://arxiv.org/pdf/2405.20956v2 | http://arxiv.org/abs/2405.20956v2 | Piotr Wojciech Mirowski, Juliette Love, Kory W. Mathewson, Shakir Mohamed | 2024-06-03T21:01:50Z | cs.AI, cs.CL | We interviewed twenty professional comedians who perform live shows in front
of audiences and who use artificial intelligence in their artistic process as
part of 3-hour workshops on ``AI x Comedy'' conducted at the Edinburgh Festival
Fringe in August 2023 and online. The workshop consisted of a comedy writing
session with large language models (LLMs), a human-computer interaction
questionnaire to assess the Creativity Support Index of AI as a writing tool,
and a focus group interrogating the comedians' motivations for and processes of
using AI, as well as their ethical concerns about bias, censorship and
copyright. Participants noted that existing moderation strategies used in
safety filtering and instruction-tuned LLMs reinforced hegemonic viewpoints by
erasing minority groups and their perspectives, and qualified this as a form of
censorship. At the same time, most participants felt the LLMs did not succeed
as a creativity support tool, by producing bland and biased comedy tropes, akin
to ``cruise ship comedy material from the 1950s, but a bit less racist''. Our
work extends scholarship about the subtle difference between, one the one hand,
harmful speech, and on the other hand, ``offensive'' language as a practice of
resistance, satire and ``punching up''. We also interrogate the global value
alignment behind such language models, and discuss the importance of
community-based value alignment and data ownership to build AI tools that
better suit artists' needs. | cs.AI | A Robot Walks into a Bar: Can Language Models Serve as Creativity Support Tools for Comedy? An Evaluation of LLMs' Humour Alignment with Comedians |
2024-05-31T15:44:33Z | http://arxiv.org/pdf/2405.20947v2 | http://arxiv.org/abs/2405.20947v2 | Justin Cui, Wei-Lin Chiang, Ion Stoica, Cho-Jui Hsieh | 2024-06-20T05:22:38Z | cs.CL, cs.AI | Large Language Models (LLMs) require careful safety alignment to prevent
malicious outputs. While significant research focuses on mitigating harmful
content generation, the enhanced safety often come with the side effect of
over-refusal, where LLMs may reject innocuous prompts and become less helpful.
Although the issue of over-refusal has been empirically observed, a systematic
measurement is challenging due to the difficulty of crafting prompts that
appear harmful but are benign. This study proposes a novel method for
automatically generating large-scale sets of "seemingly toxic prompts" (benign
prompts likely rejected by LLMs). Leveraging this technique, we introduce
OR-Bench, the first large-scale over-refusal benchmark. OR-Bench comprises
80,000 seemingly toxic prompts across 10 common rejection categories, a subset
of around 1,000 hard prompts that are challenging even for state-of-the-art
LLMs, and an additional 600 toxic prompts to prevent indiscriminate responses.
We then conduct a comprehensive study to measure the over-refusal of 25 popular
LLMs across 8 model families. Our datasets are available at
https://huggingface.co/datasets/bench-llm/or-bench and the demo can be found at
https://huggingface.co/spaces/bench-llm/or-bench. We hope this benchmark can
help the community develop better safety aligned models. | cs.CL | OR-Bench: An Over-Refusal Benchmark for Large Language Models |
2024-05-31T15:21:53Z | http://arxiv.org/pdf/2405.20917v1 | http://arxiv.org/abs/2405.20917v1 | İlker Işık, Ebru Aydin Gol, Ramazan Gokberk Cinbis | 2024-05-31T15:21:53Z | cs.CL, cs.LG, cs.LO | Temporal logic is a framework for representing and reasoning about
propositions that evolve over time. It is commonly used for specifying
requirements in various domains, including hardware and software systems, as
well as robotics. Specification mining or formula generation involves
extracting temporal logic formulae from system traces and has numerous
applications, such as detecting bugs and improving interpretability. Although
there has been a surge of deep learning-based methods for temporal logic
satisfiability checking in recent years, the specification mining literature
has been lagging behind in adopting deep learning methods despite their many
advantages, such as scalability. In this paper, we introduce autoregressive
models that can generate linear temporal logic formulae from traces, towards
addressing the specification mining problem. We propose multiple architectures
for this task: transformer encoder-decoder, decoder-only transformer, and
Mamba, which is an emerging alternative to transformer models. Additionally, we
devise a metric for quantifying the distinctiveness of the generated formulae
and a straightforward algorithm to enforce the syntax constraints. Our
experiments show that the proposed architectures yield promising results,
generating correct and distinct formulae at a fraction of the compute cost
needed for the combinatorial baseline. | cs.CL | Learning to Estimate System Specifications in Linear Temporal Logic using Transformers and Mamba |
2024-05-31T15:17:47Z | http://arxiv.org/pdf/2405.20906v1 | http://arxiv.org/abs/2405.20906v1 | Adithya TG, Adithya SK, Abhinav R Bharadwaj, Abhiram HA, Dr. Surabhi Narayan | 2024-05-31T15:17:47Z | cs.CV, cs.AI, cs.CL | Interacting and understanding with text heavy visual content with multiple
images is a major challenge for traditional vision models. This paper is on
enhancing vision models' capability to comprehend or understand and learn from
images containing a huge amount of textual information from the likes of
textbooks and research papers which contain multiple images like graphs, etc
and tables in them with different types of axes and scales. The approach
involves dataset preprocessing, fine tuning which is by using instructional
oriented data and evaluation. We also built a visual chat application
integrating CLIP for image encoding and a model from the Massive Text Embedding
Benchmark which is developed to consider both textual and visual inputs. An
accuracy of 96.71% was obtained. The aim of the project is to increase and also
enhance the advance vision models' capabilities in understanding complex visual
textual data interconnected data, contributing to multimodal AI. | cs.CV | Enhancing Vision Models for Text-Heavy Content Understanding and Interaction |
2024-05-31T15:15:04Z | http://arxiv.org/pdf/2405.20902v1 | http://arxiv.org/abs/2405.20902v1 | Rongwu Xu, Zehan Qi, Wei Xu | 2024-05-31T15:15:04Z | cs.CL, cs.AI, cs.CR | Large language models (LLMs) showcase impressive reasoning capabilities when
coupled with Chain-of-Thought (CoT) prompting. However, the robustness of this
approach warrants further investigation. In this paper, we introduce a novel
scenario termed preemptive answers, where the LLM obtains an answer before
engaging in reasoning. This situation can arise inadvertently or induced by
malicious users by prompt injection attacks. Experiments reveal that preemptive
answers significantly impair the model's reasoning capability across various
CoT methods and a broad spectrum of datasets. To bolster the robustness of
reasoning, we propose two measures aimed at mitigating this issue to some
extent. | cs.CL | Preemptive Answer "Attacks" on Chain-of-Thought Reasoning |
2024-05-31T15:12:33Z | http://arxiv.org/pdf/2405.20900v1 | http://arxiv.org/abs/2405.20900v1 | David Rodriguez, Ian Yang, Jose M. Del Alamo, Norman Sadeh | 2024-05-31T15:12:33Z | cs.CL, cs.CY | The number and dynamic nature of web and mobile applications presents
significant challenges for assessing their compliance with data protection
laws. In this context, symbolic and statistical Natural Language Processing
(NLP) techniques have been employed for the automated analysis of these
systems' privacy policies. However, these techniques typically require
labor-intensive and potentially error-prone manually annotated datasets for
training and validation. This research proposes the application of Large
Language Models (LLMs) as an alternative for effectively and efficiently
extracting privacy practices from privacy policies at scale. Particularly, we
leverage well-known LLMs such as ChatGPT and Llama 2, and offer guidance on the
optimal design of prompts, parameters, and models, incorporating advanced
strategies such as few-shot learning. We further illustrate its capability to
detect detailed and varied privacy practices accurately. Using several renowned
datasets in the domain as a benchmark, our evaluation validates its exceptional
performance, achieving an F1 score exceeding 93%. Besides, it does so with
reduced costs, faster processing times, and fewer technical knowledge
requirements. Consequently, we advocate for LLM-based solutions as a sound
alternative to traditional NLP techniques for the automated analysis of privacy
policies at scale. | cs.CL | Large Language Models: A New Approach for Privacy Policy Analysis at Scale |
2024-05-31T15:04:15Z | http://arxiv.org/pdf/2405.20895v1 | http://arxiv.org/abs/2405.20895v1 | Qianqian Qi, David J. Hessen, Peter G. M. van der Heijden | 2024-05-31T15:04:15Z | cs.CL | Popular word embedding methods such as GloVe and Word2Vec are related to the
factorization of the pointwise mutual information (PMI) matrix. In this paper,
we link correspondence analysis (CA) to the factorization of the PMI matrix. CA
is a dimensionality reduction method that uses singular value decomposition
(SVD), and we show that CA is mathematically close to the weighted
factorization of the PMI matrix. In addition, we present variants of CA that
turn out to be successful in the factorization of the word-context matrix, i.e.
CA applied to a matrix where the entries undergo a square-root transformation
(ROOT-CA) and a root-root transformation (ROOTROOT-CA). An empirical comparison
among CA- and PMI-based methods shows that overall results of ROOT-CA and
ROOTROOT-CA are slightly better than those of the PMI-based methods. | cs.CL | A comparison of correspondence analysis with PMI-based word embedding methods |
2024-05-31T14:43:31Z | http://arxiv.org/pdf/2405.20859v1 | http://arxiv.org/abs/2405.20859v1 | Anne Beyer, Kranti Chalamalasetti, Sherzod Hakimov, Brielen Madureira, Philipp Sadler, David Schlangen | 2024-05-31T14:43:31Z | cs.CL, cs.AI | It has been established in recent work that Large Language Models (LLMs) can
be prompted to "self-play" conversational games that probe certain capabilities
(general instruction following, strategic goal orientation, language
understanding abilities), where the resulting interactive game play can be
automatically scored. In this paper, we take one of the proposed frameworks for
setting up such game-play environments, and further test its usefulness as an
evaluation instrument, along a number of dimensions: We show that it can easily
keep up with new developments while avoiding data contamination, we show that
the tests implemented within it are not yet saturated (human performance is
substantially higher than that of even the best models), and we show that it
lends itself to investigating additional questions, such as the impact of the
prompting language on performance. We believe that the approach forms a good
basis for making decisions on model choice for building applied interactive
systems, and perhaps ultimately setting up a closed-loop development
environment of system and simulated evaluator. | cs.CL | clembench-2024: A Challenging, Dynamic, Complementary, Multilingual Benchmark and Underlying Flexible Framework for LLMs as Multi-Action Agents |
2024-05-31T14:34:23Z | http://arxiv.org/pdf/2405.20852v1 | http://arxiv.org/abs/2405.20852v1 | Xuxin Cheng, Wanshi Xu, Zhihong Zhu, Hongxiang Li, Yuexian Zou | 2024-05-31T14:34:23Z | cs.CL | Spoken language understanding (SLU) is a core task in task-oriented dialogue
systems, which aims at understanding the user's current goal through
constructing semantic frames. SLU usually consists of two subtasks, including
intent detection and slot filling. Although there are some SLU frameworks joint
modeling the two subtasks and achieving high performance, most of them still
overlook the inherent relationships between intents and slots and fail to
achieve mutual guidance between the two subtasks. To solve the problem, we
propose a multi-level multi-grained SLU framework MMCL to apply contrastive
learning at three levels, including utterance level, slot level, and word level
to enable intent and slot to mutually guide each other. For the utterance
level, our framework implements coarse granularity contrastive learning and
fine granularity contrastive learning simultaneously. Besides, we also apply
the self-distillation method to improve the robustness of the model.
Experimental results and further analysis demonstrate that our proposed model
achieves new state-of-the-art results on two public multi-intent SLU datasets,
obtaining a 2.6 overall accuracy improvement on the MixATIS dataset compared to
previous best models. | cs.CL | Towards Spoken Language Understanding via Multi-level Multi-grained Contrastive Learning |
2024-05-31T14:33:07Z | http://arxiv.org/pdf/2405.20850v1 | http://arxiv.org/abs/2405.20850v1 | Zihuiwen Ye, Fraser Greenlee-Scott, Max Bartolo, Phil Blunsom, Jon Ander Campos, Matthias Gallé | 2024-05-31T14:33:07Z | cs.CL | Reward models (RM) play a critical role in aligning language models through
the process of reinforcement learning from human feedback. RMs are trained to
predict a score reflecting human preference, which requires significant time
and cost for human annotation. Additionally, RMs tend to quickly overfit on
superficial features in the training set, hindering their generalization
performance on unseen distributions. We propose a novel approach using
synthetic natural language critiques generated by large language models to
provide additional feedback, evaluating aspects such as instruction following,
correctness, and style. This offers richer signals and more robust features for
RMs to assess and score on. We demonstrate that high-quality critiques improve
the performance and data efficiency of RMs initialized from different
pretrained models. Conversely, we also show that low-quality critiques
negatively impact performance. Furthermore, incorporating critiques enhances
the interpretability and robustness of RM training. | cs.CL | Improving Reward Models with Synthetic Critiques |
2024-05-31T14:31:46Z | http://arxiv.org/pdf/2405.20846v1 | http://arxiv.org/abs/2405.20846v1 | A. Bavaresco, A. Testoni, R. Fernández | 2024-05-31T14:31:46Z | cs.CL, cs.AI | Image-based advertisements are complex multimodal stimuli that often contain
unusual visual elements and figurative language. Previous research on automatic
ad understanding has reported impressive zero-shot accuracy of contrastive
vision-and-language models (VLMs) on an ad-explanation retrieval task. Here, we
examine the original task setup and show that contrastive VLMs can solve it by
exploiting grounding heuristics. To control for this confound, we introduce
TRADE, a new evaluation test set with adversarial grounded explanations. While
these explanations look implausible to humans, we show that they "fool" four
different contrastive VLMs. Our findings highlight the need for an improved
operationalisation of automatic ad understanding that truly evaluates VLMs'
multimodal reasoning abilities. We make our code and TRADE available at
https://github.com/dmg-illc/trade . | cs.CL | Don't Buy it! Reassessing the Ad Understanding Abilities of Contrastive Multimodal Models |
2024-05-31T14:24:33Z | http://arxiv.org/pdf/2405.20835v3 | http://arxiv.org/abs/2405.20835v3 | Davide Paglieri, Saurabh Dash, Tim Rocktäschel, Jack Parker-Holder | 2024-06-05T09:53:18Z | cs.LG, cs.AI, cs.CL | Post-Training Quantization (PTQ) enhances the efficiency of Large Language
Models (LLMs) by enabling faster operation and compatibility with more
accessible hardware through reduced memory usage, at the cost of small
performance drops. We explore the role of calibration sets in PTQ, specifically
their effect on hidden activations in various notable open-source LLMs.
Calibration sets are crucial for evaluating activation magnitudes and
identifying outliers, which can distort the quantization range and negatively
impact performance. Our analysis reveals a marked contrast in quantization
effectiveness across models. The older OPT model, upon which much of the
quantization literature is based, shows significant performance deterioration
and high susceptibility to outliers with varying calibration sets. In contrast,
newer models like Llama-2 7B, Llama-3 8B, Command-R 35B, and Mistral 7B
demonstrate strong robustness, with Mistral 7B showing near-immunity to
outliers and stable activations. These findings suggest a shift in PTQ
strategies might be needed. As advancements in pre-training methods reduce the
relevance of outliers, there is an emerging need to reassess the fundamentals
of current quantization literature. The emphasis should pivot towards
optimizing inference speed, rather than primarily focusing on outlier
preservation, to align with the evolving characteristics of state-of-the-art
LLMs. | cs.LG | Outliers and Calibration Sets have Diminishing Effect on Quantization of Modern LLMs |
2024-05-31T14:23:30Z | http://arxiv.org/pdf/2405.20833v1 | http://arxiv.org/abs/2405.20833v1 | Ella Rabinovich | 2024-05-31T14:23:30Z | cs.CL | The Uniform Information Density (UID) hypothesis posits that speakers
optimize the communicative properties of their utterances by avoiding spikes in
information, thereby maintaining a relatively uniform information profile over
time. This paper investigates the impact of UID principles on syntactic
reduction, specifically focusing on the optional omission of the connector
"that" in English subordinate clauses. Building upon previous research, we
extend our investigation to a larger corpus of written English, utilize
contemporary large language models (LLMs) and extend the information-uniformity
principles by the notion of entropy, to estimate the UID manifestations in the
usecase of syntactic reduction choices. | cs.CL | That's Optional: A Contemporary Exploration of "that" Omission in English Subordinate Clauses |
2024-05-31T14:21:04Z | http://arxiv.org/pdf/2405.20830v1 | http://arxiv.org/abs/2405.20830v1 | Yueqin Yin, Zhendong Wang, Yujia Xie, Weizhu Chen, Mingyuan Zhou | 2024-05-31T14:21:04Z | cs.CL, cs.LG | Traditional language model alignment methods, such as Direct Preference
Optimization (DPO), are limited by their dependence on static, pre-collected
paired preference data, which hampers their adaptability and practical
applicability. To overcome this limitation, we introduce Self-Augmented
Preference Optimization (SAPO), an effective and scalable training paradigm
that does not require existing paired data. Building on the self-play concept,
which autonomously generates negative responses, we further incorporate an
off-policy learning pipeline to enhance data exploration and exploitation.
Specifically, we employ an Exponential Moving Average (EMA) model in
conjunction with a replay buffer to enable dynamic updates of response
segments, effectively integrating real-time feedback with insights from
historical data. Our comprehensive evaluations of the LLaMA3-8B and Mistral-7B
models across benchmarks, including the Open LLM Leaderboard, IFEval,
AlpacaEval 2.0, and MT-Bench, demonstrate that SAPO matches or surpasses
established offline contrastive baselines, such as DPO and Odds Ratio
Preference Optimization, and outperforms offline self-play methods like SPIN.
Our code is available at https://github.com/yinyueqin/SAPO | cs.CL | Self-Augmented Preference Optimization: Off-Policy Paradigms for Language Model Alignment |
2024-05-31T14:14:01Z | http://arxiv.org/pdf/2405.20818v2 | http://arxiv.org/abs/2405.20818v2 | Jack Bunyan, Seth Bullock, Conor Houghton | 2024-06-15T15:25:01Z | cs.CL, nlin.AO, q-bio.PE | The iterated learning model is an agent-based model of language change in
which language is transmitted from a tutor to a pupil which itself becomes a
tutor to a new pupil, and so on. Languages that are stable, expressive, and
compositional arise spontaneously as a consequence of a language transmission
bottleneck. Previous models have implemented an agent's mapping from signals to
meanings using an artificial neural network decoder, but have relied on an
unrealistic and computationally expensive process of obversion to implement the
associated encoder, mapping from meanings to signals. Here, a new model is
presented in which both decoder and encoder are neural networks, trained
separately through supervised learning, and trained together through
unsupervised learning in the form of an autoencoder. This avoids the
substantial computational burden entailed in obversion and introduces a mixture
of supervised and unsupervised learning as observed during human development. | cs.CL | An iterated learning model of language change that mixes supervised and unsupervised learning |
2024-05-31T14:05:27Z | http://arxiv.org/pdf/2405.20805v2 | http://arxiv.org/abs/2405.20805v2 | Sourabrata Mukherjee, Atul Kr. Ojha, Akanksha Bansal, Deepak Alok, John P. McCrae, Ondřej Dušek | 2024-06-09T18:46:48Z | cs.CL | Text style transfer (TST) involves altering the linguistic style of a text
while preserving its core content. This paper focuses on sentiment transfer, a
vital TST subtask (Mukherjee et al., 2022a), across a spectrum of Indian
languages: Hindi, Magahi, Malayalam, Marathi, Punjabi, Odia, Telugu, and Urdu,
expanding upon previous work on English-Bangla sentiment transfer (Mukherjee et
al., 2023). We introduce dedicated datasets of 1,000 positive and 1,000
negative style-parallel sentences for each of these eight languages. We then
evaluate the performance of various benchmark models categorized into parallel,
non-parallel, cross-lingual, and shared learning approaches, including the
Llama2 and GPT-3.5 large language models (LLMs). Our experiments highlight the
significance of parallel data in TST and demonstrate the effectiveness of the
Masked Style Filling (MSF) approach (Mukherjee et al., 2023) in non-parallel
techniques. Moreover, cross-lingual and joint multilingual learning methods
show promise, offering insights into selecting optimal models tailored to the
specific language and task requirements. To the best of our knowledge, this
work represents the first comprehensive exploration of the TST task as
sentiment transfer across a diverse set of languages. | cs.CL | Multilingual Text Style Transfer: Datasets & Models for Indian Languages |
2024-05-31T13:59:18Z | http://arxiv.org/pdf/2405.20797v2 | http://arxiv.org/abs/2405.20797v2 | Shiyin Lu, Yang Li, Qing-Guo Chen, Zhao Xu, Weihua Luo, Kaifu Zhang, Han-Jia Ye | 2024-06-17T17:51:50Z | cs.CV, cs.AI, cs.CL, cs.LG | Current Multimodal Large Language Models (MLLMs) typically integrate a
pre-trained LLM with another pre-trained vision transformer through a
connector, such as an MLP, endowing the LLM with visual capabilities. However,
the misalignment between two embedding strategies in MLLMs -- the structural
textual embeddings based on an embedding look-up table and the continuous
embeddings generated directly by the vision encoder -- makes challenges for a
more seamless fusion of visual and textual information. We propose Ovis, a
novel MLLM architecture designed to structurally align visual and textual
embeddings. Ovis integrates an additional learnable visual embedding table into
the visual encoder's process. To capture rich visual semantics, each image
patch indexes the visual embedding table multiple times, resulting in a final
visual embedding that is a probabilistic combination of the indexed embeddings.
This structural approach mirrors the method used for generating textual
embeddings. Empirical evaluations on various multimodal benchmarks show that
Ovis outperforms open-source MLLMs of similar parameter scales and even
surpasses the proprietary model Qwen-VL-Plus overall. These results highlight
the potential of Ovis' structured visual representation for advancing MLLM
architectural design and promoting more effective multimodal learning. Code,
datasets, and models are available at https://github.com/AIDC-AI/Ovis. | cs.CV | Ovis: Structural Embedding Alignment for Multimodal Large Language Model |
2024-05-31T11:43:31Z | http://arxiv.org/pdf/2405.20755v1 | http://arxiv.org/abs/2405.20755v1 | Debajyoti Mazumder, Aakash Kumar, Jasabanta Patro | 2024-05-31T11:43:31Z | cs.CL | Hate detection has long been a challenging task for the NLP community. The
task becomes complex in a code-mixed environment because the models must
understand the context and the hate expressed through language alteration.
Compared to the monolingual setup, we see very less work on code-mixed hate as
large-scale annotated hate corpora are unavailable to make the study. To
overcome this bottleneck, we propose using native language hate samples. We
hypothesise that in the era of multilingual language models (MLMs), hate in
code-mixed settings can be detected by majorly relying on the native language
samples. Even though the NLP literature reports the effectiveness of MLMs on
hate detection in many cross-lingual settings, their extensive evaluation in a
code-mixed scenario is yet to be done. This paper attempts to fill this gap
through rigorous empirical experiments. We considered the Hindi-English
code-mixed setup as a case study as we have the linguistic expertise for the
same. Some of the interesting observations we got are: (i) adding native hate
samples in the code-mixed training set, even in small quantity, improved the
performance of MLMs for code-mixed hate detection, (ii) MLMs trained with
native samples alone observed to be detecting code-mixed hate to a large
extent, (iii) The visualisation of attention scores revealed that, when native
samples were included in training, MLMs could better focus on the hate emitting
words in the code-mixed context, and (iv) finally, when hate is subjective or
sarcastic, naively mixing native samples doesn't help much to detect code-mixed
hate. We will release the data and code repository to reproduce the reported
results. | cs.CL | Improving code-mixed hate detection by native sample mixing: A case study for Hindi-English code-mixed scenario |
2024-05-31T09:00:43Z | http://arxiv.org/pdf/2405.20708v1 | http://arxiv.org/abs/2405.20708v1 | Chung-Chi Chen, Hiroya Takamura, Ichiro Kobayashi, Yusuke Miyao | 2024-05-31T09:00:43Z | cs.CL, cs.AI | Thinking about the future is one of the important activities that people do
in daily life. Futurists also pay a lot of effort into figuring out possible
scenarios for the future. We argue that the exploration of this direction is
still in an early stage in the NLP research. To this end, we propose three
argument generation tasks in the financial application scenario. Our
experimental results show these tasks are still big challenges for
representative generation models. Based on our empirical results, we further
point out several unresolved issues and challenges in this research direction. | cs.CL | FinGen: A Dataset for Argument Generation in Finance |
2024-05-31T08:57:09Z | http://arxiv.org/pdf/2405.20703v2 | http://arxiv.org/abs/2405.20703v2 | Laura Cabello, Uchenna Akujuobi | 2024-06-06T10:23:48Z | cs.CL | Aspect-Based Sentiment Analysis (ABSA) involves extracting opinions from
textual data about specific entities and their corresponding aspects through
various complementary subtasks. Several prior research has focused on
developing ad hoc designs of varying complexities for these subtasks. In this
paper, we present a generative framework extensible to any ABSA subtask. We
build upon the instruction tuned model proposed by Scaria et al. (2023), who
present an instruction-based model with task descriptions followed by
in-context examples on ABSA subtasks. We propose PFInstruct, an extension to
this instruction learning paradigm by appending an NLP-related task prefix to
the task description. This simple approach leads to improved performance across
all tested SemEval subtasks, surpassing previous state-of-the-art (SOTA) on the
ATE subtask (Rest14) by +3.28 F1-score, and on the AOOE subtask by an average
of +5.43 F1-score across SemEval datasets. Furthermore, we explore the impact
of the prefix-enhanced prompt quality on the ABSA subtasks and find that even a
noisy prefix enhances model performance compared to the baseline. Our method
also achieves competitive results on a biomedical domain dataset (ERSA). | cs.CL | It is Simple Sometimes: A Study On Improving Aspect-Based Sentiment Analysis Performance |
2024-05-31T08:53:59Z | http://arxiv.org/pdf/2405.20701v1 | http://arxiv.org/abs/2405.20701v1 | Pengwei Zhan, Zhen Xu, Qian Tan, Jie Song, Ru Xie | 2024-05-31T08:53:59Z | cs.CL, cs.AI | Large language models (LLMs) demonstrate exceptional instruct-following
ability to complete various downstream tasks. Although this impressive ability
makes LLMs flexible task solvers, their performance in solving tasks also
heavily relies on instructions. In this paper, we reveal that LLMs are
over-sensitive to lexical variations in task instructions, even when the
variations are imperceptible to humans. By providing models with neighborhood
instructions, which are closely situated in the latent representation space and
differ by only one semantically similar word, the performance on downstream
tasks can be vastly different. Following this property, we propose a black-box
Combinatorial Optimization framework for Prompt Lexical Enhancement (COPLE).
COPLE performs iterative lexical optimization according to the feedback from a
batch of proxy tasks, using a search strategy related to word influence.
Experiments show that even widely-used human-crafted prompts for current
benchmarks suffer from the lexical sensitivity of models, and COPLE recovers
the declined model ability in both instruct-following and solving downstream
tasks. | cs.CL | Unveiling the Lexical Sensitivity of LLMs: Combinatorial Optimization for Prompt Enhancement |
2024-05-31T08:26:47Z | http://arxiv.org/pdf/2405.20684v1 | http://arxiv.org/abs/2405.20684v1 | Vlad Argatu, Aaron Haag, Oliver Lohse | 2024-05-31T08:26:47Z | cs.SE, cs.CL | Large Language Models (LLMs) have achieved impressive performance in text
understanding and have become an essential tool for building smart assistants.
Originally focusing on text, they have been enhanced with multimodal
capabilities in recent works that successfully built visual instruction
following assistants. As far as the graph modality goes, however, no such
assistants have yet been developed. Graph structures are complex in that they
represent relation between different features and are permutation invariant.
Moreover, representing them in purely textual form does not always lead to good
LLM performance even for finetuned models. As a result, there is a need to
develop a new method to integrate graphs in LLMs for general graph
understanding. This work explores the integration of the graph modality in LLM
for general graph instruction following tasks. It aims at producing a deep
learning model that enhances an underlying LLM with graph embeddings and trains
it to understand them and to produce, given an instruction, an answer grounded
in the graph representation. The approach performs significantly better than a
graph to text approach and remains consistent even for larger graphs. | cs.SE | Joint Embeddings for Graph Instruction Tuning |
2024-05-31T08:22:49Z | http://arxiv.org/pdf/2405.20680v3 | http://arxiv.org/abs/2405.20680v3 | Mingda Li, Xinyu Li, Yifan Chen, Wenfeng Xuan, Weinan Zhang | 2024-06-04T11:51:53Z | cs.AI, cs.CL | Although Retrieval-Augmented Large Language Models (RALMs) demonstrate their
superiority in terms of factuality, they do not consistently outperform the
original retrieval-free Language Models (LMs). Our experiments reveal that this
example-level performance inconsistency exists not only between
retrieval-augmented and retrieval-free LM but also among different retrievers.
To understand this phenomenon, we investigate the degeneration behavior of
RALMs and theoretically decompose it into four categories. Further analysis
based on our decomposition reveals that the innate difference in knowledge
sources and the unpredictable degeneration of the reader model contribute most
to the inconsistency. Drawing from our analysis, we introduce Ensemble of
Retrievers (EoR), a trainable framework that can adaptively retrieve from
different knowledge sources and effectively decrease unpredictable reader
errors. Our experiments on Open Domain Question Answering show that EoR
substantially improves performance over the RALM with a single retriever by
considerably reducing inconsistent behaviors. | cs.AI | Unraveling and Mitigating Retriever Inconsistencies in Retrieval-Augmented Large Language Models |
2024-05-31T08:13:35Z | http://arxiv.org/pdf/2405.20671v1 | http://arxiv.org/abs/2405.20671v1 | Hanseul Cho, Jaeyoung Cha, Pranjal Awasthi, Srinadh Bhojanapalli, Anupam Gupta, Chulhee Yun | 2024-05-31T08:13:35Z | cs.LG, cs.AI, cs.CL | Even for simple arithmetic tasks like integer addition, it is challenging for
Transformers to generalize to longer sequences than those encountered during
training. To tackle this problem, we propose position coupling, a simple yet
effective method that directly embeds the structure of the tasks into the
positional encoding of a (decoder-only) Transformer. Taking a departure from
the vanilla absolute position mechanism assigning unique position IDs to each
of the tokens, we assign the same position IDs to two or more "relevant"
tokens; for integer addition tasks, we regard digits of the same significance
as in the same position. On the empirical side, we show that with the proposed
position coupling, a small (1-layer) Transformer trained on 1 to 30-digit
additions can generalize up to 200-digit additions (6.67x of the trained
length). On the theoretical side, we prove that a 1-layer Transformer with
coupled positions can solve the addition task involving exponentially many
digits, whereas any 1-layer Transformer without positional information cannot
entirely solve it. We also demonstrate that position coupling can be applied to
other algorithmic tasks such as addition with multiple summands, Nx2
multiplication, copy/reverse, and a two-dimensional task. | cs.LG | Position Coupling: Leveraging Task Structure for Improved Length Generalization of Transformers |
2024-05-31T07:51:16Z | http://arxiv.org/pdf/2405.20657v2 | http://arxiv.org/abs/2405.20657v2 | Lirong Gao, Ru Peng, Yiming Zhang, Junbo Zhao | 2024-06-07T17:00:00Z | cs.CL | Prompt recovery in large language models (LLMs) is crucial for understanding
how LLMs work and addressing concerns regarding privacy, copyright, etc. The
trend towards inference-only APIs complicates this task by restricting access
to essential outputs for recovery. To tackle this challenge, we extract
prompt-related information from limited outputs and identify a strong(negative)
correlation between output probability-based uncertainty and the success of
prompt recovery. This finding led to the development of Deliberative PrOmpt
RecoverY (DORY), our novel approach that leverages uncertainty to recover
prompts accurately. DORY involves reconstructing drafts from outputs, refining
these with hints, and filtering out noise based on uncertainty. Our evaluation
across diverse LLMs and prompt benchmarks shows that DORY outperforms existing
baselines, improving performance by approximately 10.82% and establishing a new
state-of-the-art record in prompt recovery tasks. Significantly, DORY operates
using a single LLM without any external resources or model, offering a
cost-effective, user-friendly prompt recovery solution. | cs.CL | DORY: Deliberative Prompt Recovery for LLM |
2024-05-31T07:43:42Z | http://arxiv.org/pdf/2405.20654v2 | http://arxiv.org/abs/2405.20654v2 | Xuyang Wu, Zhiyuan Peng, Krishna Sravanthi Rajanala Sai, Hsin-Tai Wu, Yi Fang | 2024-06-21T03:52:30Z | cs.CL, cs.IR | Effective passage retrieval and reranking methods have been widely utilized
to identify suitable candidates in open-domain question answering tasks, recent
studies have resorted to LLMs for reranking the retrieved passages by the
log-likelihood of the question conditioned on each passage. Although these
methods have demonstrated promising results, the performance is notably
sensitive to the human-written prompt (or hard prompt), and fine-tuning LLMs
can be computationally intensive and time-consuming. Furthermore, this approach
limits the leverage of question-passage relevance pairs and passage-specific
knowledge to enhance the ranking capabilities of LLMs. In this paper, we
propose passage-specific prompt tuning for reranking in open-domain question
answering (PSPT): a parameter-efficient method that fine-tunes learnable
passage-specific soft prompts, incorporating passage-specific knowledge from a
limited set of question-passage relevance pairs. The method involves ranking
retrieved passages based on the log-likelihood of the model generating the
question conditioned on each passage and the learned soft prompt. We conducted
extensive experiments utilizing the Llama-2-chat-7B model across three publicly
available open-domain question answering datasets and the results demonstrate
the effectiveness of the proposed approach. | cs.CL | Passage-specific Prompt Tuning for Passage Reranking in Question Answering with Large Language Models |
2024-05-31T07:30:34Z | http://arxiv.org/pdf/2405.20649v1 | http://arxiv.org/abs/2405.20649v1 | Byeonghu Na, Suhyeon Jo, Yeongmin Kim, Il-Chul Moon | 2024-05-31T07:30:34Z | cs.CL, cs.LG | Relation extraction (RE) is a fundamental task in natural language
processing, aiming to identify relations between target entities in text. While
many RE methods are designed for a single sentence or document, cross-document
RE has emerged to address relations across multiple long documents. Given the
nature of long documents in cross-document RE, extracting document embeddings
is challenging due to the length constraints of pre-trained language models.
Therefore, we propose REward-based Input Construction (REIC), the first
learning-based sentence selector for cross-document RE. REIC extracts sentences
based on relational evidence, enabling the RE module to effectively infer
relations. Since supervision of evidence sentences is generally unavailable, we
train REIC using reinforcement learning with RE prediction scores as rewards.
Experimental results demonstrate the superiority of our method over heuristic
methods for different RE structures and backbones in cross-document RE. Our
code is publicly available at https://github.com/aailabkaist/REIC. | cs.CL | Reward-based Input Construction for Cross-document Relation Extraction |
2024-05-31T07:30:24Z | http://arxiv.org/pdf/2405.20648v1 | http://arxiv.org/abs/2405.20648v1 | Richard Luo, Austin Peng, Adithya Vasudev, Rishabh Jain | 2024-05-31T07:30:24Z | cs.CV, cs.CL, cs.LG | Video is an increasingly prominent and information-dense medium, yet it poses
substantial challenges for language models. A typical video consists of a
sequence of shorter segments, or shots, that collectively form a coherent
narrative. Each shot is analogous to a word in a sentence where multiple data
streams of information (such as visual and auditory data) must be processed
simultaneously. Comprehension of the entire video requires not only
understanding the visual-audio information of each shot but also requires that
the model links the ideas between each shot to generate a larger,
all-encompassing story. Despite significant progress in the field, current
works often overlook videos' more granular shot-by-shot semantic information.
In this project, we propose a family of efficient large language vision models
(LLVMs) to boost video summarization and captioning called Shotluck Holmes. By
leveraging better pretraining and data collection strategies, we extend the
abilities of existing small LLVMs from being able to understand a picture to
being able to understand a sequence of frames. Specifically, we show that
Shotluck Holmes achieves better performance than state-of-the-art results on
the Shot2Story video captioning and summary task with significantly smaller and
more computationally efficient models. | cs.CV | Shotluck Holmes: A Family of Efficient Small-Scale Large Language Vision Models For Video Captioning and Summarization |
2024-05-31T07:24:42Z | http://arxiv.org/pdf/2405.20646v1 | http://arxiv.org/abs/2405.20646v1 | Qidong Liu, Xian Wu, Xiangyu Zhao, Yejing Wang, Zijian Zhang, Feng Tian, Yefeng Zheng | 2024-05-31T07:24:42Z | cs.IR, cs.CL | Sequential recommendation systems (SRS) serve the purpose of predicting
users' subsequent preferences based on their past interactions and have been
applied across various domains such as e-commerce and social networking
platforms. However, practical SRS encounters challenges due to the fact that
most users engage with only a limited number of items, while the majority of
items are seldom consumed. These challenges, termed as the long-tail user and
long-tail item dilemmas, often create obstacles for traditional SRS methods.
Mitigating these challenges is crucial as they can significantly impact user
satisfaction and business profitability. While some research endeavors have
alleviated these issues, they still grapple with issues such as seesaw or noise
stemming from the scarcity of interactions. The emergence of large language
models (LLMs) presents a promising avenue to address these challenges from a
semantic standpoint. In this study, we introduce the Large Language Models
Enhancement framework for Sequential Recommendation (LLM-ESR), which leverages
semantic embeddings from LLMs to enhance SRS performance without increasing
computational overhead. To combat the long-tail item challenge, we propose a
dual-view modeling approach that fuses semantic information from LLMs with
collaborative signals from traditional SRS. To address the long-tail user
challenge, we introduce a retrieval augmented self-distillation technique to
refine user preference representations by incorporating richer interaction data
from similar users. Through comprehensive experiments conducted on three
authentic datasets using three widely used SRS models, our proposed enhancement
framework demonstrates superior performance compared to existing methodologies. | cs.IR | Large Language Models Enhanced Sequential Recommendation for Long-tail User and Item |
2024-05-31T05:40:56Z | http://arxiv.org/pdf/2405.20628v1 | http://arxiv.org/abs/2405.20628v1 | Krishanu Maity, A. S. Poornash, Sriparna Saha, Pushpak Bhattacharyya | 2024-05-31T05:40:56Z | cs.AI, cs.CL, cs.CV | In an era of rapidly evolving internet technology, the surge in multimodal
content, including videos, has expanded the horizons of online communication.
However, the detection of toxic content in this diverse landscape, particularly
in low-resource code-mixed languages, remains a critical challenge. While
substantial research has addressed toxic content detection in textual data, the
realm of video content, especially in non-English languages, has been
relatively underexplored. This paper addresses this research gap by introducing
a benchmark dataset, the first of its kind, consisting of 931 videos with 4021
code-mixed Hindi-English utterances collected from YouTube. Each utterance
within this dataset has been meticulously annotated for toxicity, severity, and
sentiment labels. We have developed an advanced Multimodal Multitask framework
built for Toxicity detection in Video Content by leveraging Large Language
Models (LLMs), crafted for the primary objective along with the additional
tasks of conducting sentiment and severity analysis. ToxVidLLM incorporates
three key modules the Encoder module, Cross-Modal Synchronization module, and
Multitask module crafting a generic multimodal LLM customized for intricate
video classification tasks. Our experiments reveal that incorporating multiple
modalities from the videos substantially enhances the performance of toxic
content detection by achieving an Accuracy and Weighted F1 score of 94.29% and
94.35%, respectively. | cs.AI | ToxVidLLM: A Multimodal LLM-based Framework for Toxicity Detection in Code-Mixed Videos |
2024-05-31T05:22:07Z | http://arxiv.org/pdf/2405.20624v1 | http://arxiv.org/abs/2405.20624v1 | Qianyu Huang, Tongfang Zhao | 2024-05-31T05:22:07Z | cs.CL, cs.AI | Entity matching (EM) is a critical task in data integration, aiming to
identify records across different datasets that refer to the same real-world
entities. Traditional methods often rely on manually engineered features and
rule-based systems, which struggle with diverse and unstructured data. The
emergence of Large Language Models (LLMs) such as GPT-4 offers transformative
potential for EM, leveraging their advanced semantic understanding and
contextual capabilities. This vision paper explores the application of LLMs to
EM, discussing their advantages, challenges, and future research directions.
Additionally, we review related work on applying weak supervision and
unsupervised approaches to EM, highlighting how LLMs can enhance these methods. | cs.CL | Leveraging Large Language Models for Entity Matching |
2024-05-31T04:05:09Z | http://arxiv.org/pdf/2405.20613v1 | http://arxiv.org/abs/2405.20613v1 | Alyssa Huang, Oishi Banerjee, Kay Wu, Eduardo Pontes Reis, Pranav Rajpurkar | 2024-05-31T04:05:09Z | cs.CL | The current gold standard for evaluating generated chest x-ray (CXR) reports
is through radiologist annotations. However, this process can be extremely
time-consuming and costly, especially when evaluating large numbers of reports.
In this work, we present FineRadScore, a Large Language Model (LLM)-based
automated evaluation metric for generated CXR reports. Given a candidate report
and a ground-truth report, FineRadScore gives the minimum number of
line-by-line corrections required to go from the candidate to the ground-truth
report. Additionally, FineRadScore provides an error severity rating with each
correction and generates comments explaining why the correction was needed. We
demonstrate that FineRadScore's corrections and error severity scores align
with radiologist opinions. We also show that, when used to judge the quality of
the report as a whole, FineRadScore aligns with radiologists as well as current
state-of-the-art automated CXR evaluation metrics. Finally, we analyze
FineRadScore's shortcomings to provide suggestions for future improvements. | cs.CL | FineRadScore: A Radiology Report Line-by-Line Evaluation Technique Generating Corrections with Severity Scores |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.