arxiv_id
stringlengths 9
10
| label
stringclasses 3
values | title
stringlengths 8
155
| authors
sequencelengths 1
1.35k
| published
stringclasses 845
values | abstract
stringlengths 343
1.92k
| doi
stringclasses 81
values | primary_category
stringclasses 45
values | categories
sequencelengths 1
7
|
---|---|---|---|---|---|---|---|---|
2305.02549 | HF | FormNetV2: Multimodal Graph Contrastive Learning for Form Document Information Extraction | [
"Chen-Yu Lee",
"Chun-Liang Li",
"Hao Zhang",
"Timothy Dozat",
"Vincent Perot",
"Guolong Su",
"Xiang Zhang",
"Kihyuk Sohn",
"Nikolai Glushnev",
"Renshen Wang",
"Joshua Ainslie",
"Shangbang Long",
"Siyang Qin",
"Yasuhisa Fujii",
"Nan Hua",
"Tomas Pfister"
] | 2023-05-04 | The recent advent of self-supervised pre-training techniques has led to a
surge in the use of multimodal learning in form document understanding.
However, existing approaches that extend the mask language modeling to other
modalities require careful multi-task tuning, complex reconstruction target
designs, or additional pre-training data. In FormNetV2, we introduce a
centralized multimodal graph contrastive learning strategy to unify
self-supervised pre-training for all modalities in one loss. The graph
contrastive objective maximizes the agreement of multimodal representations,
providing a natural interplay for all modalities without special customization.
In addition, we extract image features within the bounding box that joins a
pair of tokens connected by a graph edge, capturing more targeted visual cues
without loading a sophisticated and separately pre-trained image embedder.
FormNetV2 establishes new state-of-the-art performance on FUNSD, CORD, SROIE
and Payment benchmarks with a more compact model size. | null | cs.CL | [
"cs.CL",
"cs.CV",
"cs.LG"
] |
2406.14319 | HF | LiveMind: Low-latency Large Language Models with Simultaneous Inference | [
"Chuangtao Chen",
"Grace Li Zhang",
"Xunzhao Yin",
"Cheng Zhuo",
"Ulf Schlichtmann",
"Bing Li"
] | 2024-06-20 | In this paper, we introduce a novel low-latency inference framework for large
language models (LLMs) inference which enables LLMs to perform inferences with
incomplete prompts. By reallocating computational processes to prompt input
phase, we achieve a substantial reduction in latency, thereby significantly
enhancing the interactive experience for users of LLMs. The framework adeptly
manages the visibility of the streaming prompt to the model, allowing it to
infer from incomplete prompts or await additional prompts. Compared with
traditional inference methods that utilize complete prompts, our approach
demonstrates an average reduction of 59% in response latency on the MMLU-Pro
dataset, while maintaining comparable accuracy. Additionally, our framework
facilitates collaborative inference and output across different models. By
employing an LLM for inference and a small language model (SLM) for output, we
achieve an average 68% reduction in response latency, alongside a 5.5%
improvement in accuracy on the MMLU-Pro dataset compared with the SLM baseline.
For long prompts exceeding 20 sentences, the response latency can be reduced by
up to 93%. | null | cs.AI | [
"cs.AI",
"cs.CL"
] |
2312.13771 | HF | AppAgent: Multimodal Agents as Smartphone Users | [
"Chi Zhang",
"Zhao Yang",
"Jiaxuan Liu",
"Yucheng Han",
"Xin Chen",
"Zebiao Huang",
"Bin Fu",
"Gang Yu"
] | 2023-12-21 | Recent advancements in large language models (LLMs) have led to the creation
of intelligent agents capable of performing complex tasks. This paper
introduces a novel LLM-based multimodal agent framework designed to operate
smartphone applications. Our framework enables the agent to operate smartphone
applications through a simplified action space, mimicking human-like
interactions such as tapping and swiping. This novel approach bypasses the need
for system back-end access, thereby broadening its applicability across diverse
apps. Central to our agent's functionality is its innovative learning method.
The agent learns to navigate and use new apps either through autonomous
exploration or by observing human demonstrations. This process generates a
knowledge base that the agent refers to for executing complex tasks across
different applications. To demonstrate the practicality of our agent, we
conducted extensive testing over 50 tasks in 10 different applications,
including social media, email, maps, shopping, and sophisticated image editing
tools. The results affirm our agent's proficiency in handling a diverse array
of high-level tasks. | null | cs.CV | [
"cs.CV"
] |
2112.04426 | AnswerAI | Improving language models by retrieving from trillions of tokens | [
"Sebastian Borgeaud",
"Arthur Mensch",
"Jordan Hoffmann",
"Trevor Cai",
"Eliza Rutherford",
"Katie Millican",
"George van den Driessche",
"Jean-Baptiste Lespiau",
"Bogdan Damoc",
"Aidan Clark",
"Diego de Las Casas",
"Aurelia Guy",
"Jacob Menick",
"Roman Ring",
"Tom Hennigan",
"Saffron Huang",
"Loren Maggiore",
"Chris Jones",
"Albin Cassirer",
"Andy Brock",
"Michela Paganini",
"Geoffrey Irving",
"Oriol Vinyals",
"Simon Osindero",
"Karen Simonyan",
"Jack W. Rae",
"Erich Elsen",
"Laurent Sifre"
] | 2021-12-08 | We enhance auto-regressive language models by conditioning on document chunks
retrieved from a large corpus, based on local similarity with preceding tokens.
With a $2$ trillion token database, our Retrieval-Enhanced Transformer (RETRO)
obtains comparable performance to GPT-3 and Jurassic-1 on the Pile, despite
using 25$\times$ fewer parameters. After fine-tuning, RETRO performance
translates to downstream knowledge-intensive tasks such as question answering.
RETRO combines a frozen Bert retriever, a differentiable encoder and a chunked
cross-attention mechanism to predict tokens based on an order of magnitude more
data than what is typically consumed during training. We typically train RETRO
from scratch, yet can also rapidly RETROfit pre-trained transformers with
retrieval and still achieve good performance. Our work opens up new avenues for
improving language models through explicit memory at unprecedented scale. | null | cs.CL | [
"cs.CL",
"cs.LG"
] |
2401.02400 | HF | Learning the 3D Fauna of the Web | [
"Zizhang Li",
"Dor Litvak",
"Ruining Li",
"Yunzhi Zhang",
"Tomas Jakab",
"Christian Rupprecht",
"Shangzhe Wu",
"Andrea Vedaldi",
"Jiajun Wu"
] | 2024-01-04 | Learning 3D models of all animals on the Earth requires massively scaling up
existing solutions. With this ultimate goal in mind, we develop 3D-Fauna, an
approach that learns a pan-category deformable 3D animal model for more than
100 animal species jointly. One crucial bottleneck of modeling animals is the
limited availability of training data, which we overcome by simply learning
from 2D Internet images. We show that prior category-specific attempts fail to
generalize to rare species with limited training images. We address this
challenge by introducing the Semantic Bank of Skinned Models (SBSM), which
automatically discovers a small set of base animal shapes by combining
geometric inductive priors with semantic knowledge implicitly captured by an
off-the-shelf self-supervised feature extractor. To train such a model, we also
contribute a new large-scale dataset of diverse animal species. At inference
time, given a single image of any quadruped animal, our model reconstructs an
articulated 3D mesh in a feed-forward fashion within seconds. | null | cs.CV | [
"cs.CV"
] |
1909.11299 | AnswerAI | Mixout: Effective Regularization to Finetune Large-scale Pretrained Language Models | [
"Cheolhyoung Lee",
"Kyunghyun Cho",
"Wanmo Kang"
] | 2019-09-25 | In natural language processing, it has been observed recently that
generalization could be greatly improved by finetuning a large-scale language
model pretrained on a large unlabeled corpus. Despite its recent success and
wide adoption, finetuning a large pretrained language model on a downstream
task is prone to degenerate performance when there are only a small number of
training instances available. In this paper, we introduce a new regularization
technique, to which we refer as "mixout", motivated by dropout. Mixout
stochastically mixes the parameters of two models. We show that our mixout
technique regularizes learning to minimize the deviation from one of the two
models and that the strength of regularization adapts along the optimization
trajectory. We empirically evaluate the proposed mixout and its variants on
finetuning a pretrained language model on downstream tasks. More specifically,
we demonstrate that the stability of finetuning and the average accuracy
greatly increase when we use the proposed approach to regularize finetuning of
BERT on downstream tasks in GLUE. | null | cs.LG | [
"cs.LG",
"stat.ML"
] |
2312.02919 | HF | Fine-grained Controllable Video Generation via Object Appearance and Context | [
"Hsin-Ping Huang",
"Yu-Chuan Su",
"Deqing Sun",
"Lu Jiang",
"Xuhui Jia",
"Yukun Zhu",
"Ming-Hsuan Yang"
] | 2023-12-05 | Text-to-video generation has shown promising results. However, by taking only
natural languages as input, users often face difficulties in providing detailed
information to precisely control the model's output. In this work, we propose
fine-grained controllable video generation (FACTOR) to achieve detailed
control. Specifically, FACTOR aims to control objects' appearances and context,
including their location and category, in conjunction with the text prompt. To
achieve detailed control, we propose a unified framework to jointly inject
control signals into the existing text-to-video model. Our model consists of a
joint encoder and adaptive cross-attention layers. By optimizing the encoder
and the inserted layer, we adapt the model to generate videos that are aligned
with both text prompts and fine-grained control. Compared to existing methods
relying on dense control signals such as edge maps, we provide a more intuitive
and user-friendly interface to allow object-level fine-grained control. Our
method achieves controllability of object appearances without finetuning, which
reduces the per-subject optimization efforts for the users. Extensive
experiments on standard benchmark datasets and user-provided inputs validate
that our model obtains a 70% improvement in controllability metrics over
competitive baselines. | null | cs.CV | [
"cs.CV"
] |
1905.13727 | AnswerAI | PowerSGD: Practical Low-Rank Gradient Compression for Distributed Optimization | [
"Thijs Vogels",
"Sai Praneeth Karimireddy",
"Martin Jaggi"
] | 2019-05-31 | We study gradient compression methods to alleviate the communication
bottleneck in data-parallel distributed optimization. Despite the significant
attention received, current compression schemes either do not scale well or
fail to achieve the target test accuracy. We propose a new low-rank gradient
compressor based on power iteration that can i) compress gradients rapidly, ii)
efficiently aggregate the compressed gradients using all-reduce, and iii)
achieve test performance on par with SGD. The proposed algorithm is the only
method evaluated that achieves consistent wall-clock speedups when benchmarked
against regular SGD with an optimized communication backend. We demonstrate
reduced training times for convolutional networks as well as LSTMs on common
datasets. Our code is available at https://github.com/epfml/powersgd. | null | cs.LG | [
"cs.LG",
"cs.DC",
"math.OC",
"stat.ML",
"I.2.6; I.5.1"
] |
2302.03494 | AnswerAI | A Categorical Archive of ChatGPT Failures | [
"Ali Borji"
] | 2023-02-06 | Large language models have been demonstrated to be valuable in different
fields. ChatGPT, developed by OpenAI, has been trained using massive amounts of
data and simulates human conversation by comprehending context and generating
appropriate responses. It has garnered significant attention due to its ability
to effectively answer a broad range of human inquiries, with fluent and
comprehensive answers surpassing prior public chatbots in both security and
usefulness. However, a comprehensive analysis of ChatGPT's failures is lacking,
which is the focus of this study. Eleven categories of failures, including
reasoning, factual errors, math, coding, and bias, are presented and discussed.
The risks, limitations, and societal implications of ChatGPT are also
highlighted. The goal of this study is to assist researchers and developers in
enhancing future language models and chatbots. | null | cs.CL | [
"cs.CL",
"cs.AI",
"cs.LG"
] |
2405.15682 | Both | The Road Less Scheduled | [
"Aaron Defazio",
"Xingyu Alice Yang",
"Harsh Mehta",
"Konstantin Mishchenko",
"Ahmed Khaled",
"Ashok Cutkosky"
] | 2024-05-24 | Existing learning rate schedules that do not require specification of the
optimization stopping step T are greatly out-performed by learning rate
schedules that depend on T. We propose an approach that avoids the need for
this stopping time by eschewing the use of schedules entirely, while exhibiting
state-of-the-art performance compared to schedules across a wide family of
problems ranging from convex problems to large-scale deep learning problems.
Our Schedule-Free approach introduces no additional hyper-parameters over
standard optimizers with momentum. Our method is a direct consequence of a new
theory we develop that unifies scheduling and iterate averaging. An open source
implementation of our method is available
(https://github.com/facebookresearch/schedule_free). | null | cs.LG | [
"cs.LG",
"cs.AI",
"math.OC",
"stat.ML"
] |
2307.03869 | HF | Sketch-A-Shape: Zero-Shot Sketch-to-3D Shape Generation | [
"Aditya Sanghi",
"Pradeep Kumar Jayaraman",
"Arianna Rampini",
"Joseph Lambourne",
"Hooman Shayani",
"Evan Atherton",
"Saeid Asgari Taghanaki"
] | 2023-07-08 | Significant progress has recently been made in creative applications of large
pre-trained models for downstream tasks in 3D vision, such as text-to-shape
generation. This motivates our investigation of how these pre-trained models
can be used effectively to generate 3D shapes from sketches, which has largely
remained an open challenge due to the limited sketch-shape paired datasets and
the varying level of abstraction in the sketches. We discover that conditioning
a 3D generative model on the features (obtained from a frozen large pre-trained
vision model) of synthetic renderings during training enables us to effectively
generate 3D shapes from sketches at inference time. This suggests that the
large pre-trained vision model features carry semantic signals that are
resilient to domain shifts, i.e., allowing us to use only RGB renderings, but
generalizing to sketches at inference time. We conduct a comprehensive set of
experiments investigating different design factors and demonstrate the
effectiveness of our straightforward approach for generation of multiple 3D
shapes per each input sketch regardless of their level of abstraction without
requiring any paired datasets during training. | null | cs.CV | [
"cs.CV"
] |
2405.07526 | HF | MS MARCO Web Search: a Large-scale Information-rich Web Dataset with Millions of Real Click Labels | [
"Qi Chen",
"Xiubo Geng",
"Corby Rosset",
"Carolyn Buractaon",
"Jingwen Lu",
"Tao Shen",
"Kun Zhou",
"Chenyan Xiong",
"Yeyun Gong",
"Paul Bennett",
"Nick Craswell",
"Xing Xie",
"Fan Yang",
"Bryan Tower",
"Nikhil Rao",
"Anlei Dong",
"Wenqi Jiang",
"Zheng Liu",
"Mingqin Li",
"Chuanjie Liu",
"Zengzhong Li",
"Rangan Majumder",
"Jennifer Neville",
"Andy Oakley",
"Knut Magne Risvik",
"Harsha Vardhan Simhadri",
"Manik Varma",
"Yujing Wang",
"Linjun Yang",
"Mao Yang",
"Ce Zhang"
] | 2024-05-13 | Recent breakthroughs in large models have highlighted the critical
significance of data scale, labels and modals. In this paper, we introduce MS
MARCO Web Search, the first large-scale information-rich web dataset, featuring
millions of real clicked query-document labels. This dataset closely mimics
real-world web document and query distribution, provides rich information for
various kinds of downstream tasks and encourages research in various areas,
such as generic end-to-end neural indexer models, generic embedding models, and
next generation information access system with large language models. MS MARCO
Web Search offers a retrieval benchmark with three web retrieval challenge
tasks that demand innovations in both machine learning and information
retrieval system research domains. As the first dataset that meets large, real
and rich data requirements, MS MARCO Web Search paves the way for future
advancements in AI and system research. MS MARCO Web Search dataset is
available at: https://github.com/microsoft/MS-MARCO-Web-Search. | 10.1145/3589335.3648327 | cs.IR | [
"cs.IR"
] |
2311.04219 | HF | OtterHD: A High-Resolution Multi-modality Model | [
"Bo Li",
"Peiyuan Zhang",
"Jingkang Yang",
"Yuanhan Zhang",
"Fanyi Pu",
"Ziwei Liu"
] | 2023-11-07 | In this paper, we present OtterHD-8B, an innovative multimodal model evolved
from Fuyu-8B, specifically engineered to interpret high-resolution visual
inputs with granular precision. Unlike conventional models that are constrained
by fixed-size vision encoders, OtterHD-8B boasts the ability to handle flexible
input dimensions, ensuring its versatility across various inference
requirements. Alongside this model, we introduce MagnifierBench, an evaluation
framework designed to scrutinize models' ability to discern minute details and
spatial relationships of small objects. Our comparative analysis reveals that
while current leading models falter on this benchmark, OtterHD-8B, particularly
when directly processing high-resolution inputs, outperforms its counterparts
by a substantial margin. The findings illuminate the structural variances in
visual information processing among different models and the influence that the
vision encoders' pre-training resolution disparities have on model
effectiveness within such benchmarks. Our study highlights the critical role of
flexibility and high-resolution input capabilities in large multimodal models
and also exemplifies the potential inherent in the Fuyu architecture's
simplicity for handling complex visual data. | null | cs.CV | [
"cs.CV",
"cs.AI"
] |
2407.21794 | HF | Generalized Out-of-Distribution Detection and Beyond in Vision Language Model Era: A Survey | [
"Atsuyuki Miyai",
"Jingkang Yang",
"Jingyang Zhang",
"Yifei Ming",
"Yueqian Lin",
"Qing Yu",
"Go Irie",
"Shafiq Joty",
"Yixuan Li",
"Hai Li",
"Ziwei Liu",
"Toshihiko Yamasaki",
"Kiyoharu Aizawa"
] | 2024-07-31 | Detecting out-of-distribution (OOD) samples is crucial for ensuring the
safety of machine learning systems and has shaped the field of OOD detection.
Meanwhile, several other problems are closely related to OOD detection,
including anomaly detection (AD), novelty detection (ND), open set recognition
(OSR), and outlier detection (OD). To unify these problems, a generalized OOD
detection framework was proposed, taxonomically categorizing these five
problems. However, Vision Language Models (VLMs) such as CLIP have
significantly changed the paradigm and blurred the boundaries between these
fields, again confusing researchers. In this survey, we first present a
generalized OOD detection v2, encapsulating the evolution of AD, ND, OSR, OOD
detection, and OD in the VLM era. Our framework reveals that, with some field
inactivity and integration, the demanding challenges have become OOD detection
and AD. In addition, we also highlight the significant shift in the definition,
problem settings, and benchmarks; we thus feature a comprehensive review of the
methodology for OOD detection, including the discussion over other related
tasks to clarify their relationship to OOD detection. Finally, we explore the
advancements in the emerging Large Vision Language Model (LVLM) era, such as
GPT-4V. We conclude this survey with open challenges and future directions. | null | cs.CV | [
"cs.CV",
"cs.AI",
"cs.LG"
] |
2406.02265 | HF | Understanding Retrieval Robustness for Retrieval-Augmented Image Captioning | [
"Wenyan Li",
"Jiaang Li",
"Rita Ramos",
"Raphael Tang",
"Desmond Elliott"
] | 2024-06-04 | Recent advances in retrieval-augmented models for image captioning highlight
the benefit of retrieving related captions for efficient, lightweight models
with strong domain-transfer capabilities. While these models demonstrate the
success of retrieval augmentation, retrieval models are still far from perfect
in practice: the retrieved information can sometimes mislead the model,
resulting in incorrect generation and worse performance. In this paper, we
analyze the robustness of a retrieval-augmented captioning model SmallCap. Our
analysis shows that the model is sensitive to tokens that appear in the
majority of the retrieved captions, and the input attribution shows that those
tokens are likely copied into the generated output. Given these findings, we
propose to train the model by sampling retrieved captions from more diverse
sets. This decreases the chance that the model learns to copy majority tokens,
and improves both in-domain and cross-domain performance. | null | cs.CV | [
"cs.CV",
"cs.CL"
] |
2305.18292 | HF | Mix-of-Show: Decentralized Low-Rank Adaptation for Multi-Concept Customization of Diffusion Models | [
"Yuchao Gu",
"Xintao Wang",
"Jay Zhangjie Wu",
"Yujun Shi",
"Yunpeng Chen",
"Zihan Fan",
"Wuyou Xiao",
"Rui Zhao",
"Shuning Chang",
"Weijia Wu",
"Yixiao Ge",
"Ying Shan",
"Mike Zheng Shou"
] | 2023-05-29 | Public large-scale text-to-image diffusion models, such as Stable Diffusion,
have gained significant attention from the community. These models can be
easily customized for new concepts using low-rank adaptations (LoRAs). However,
the utilization of multiple concept LoRAs to jointly support multiple
customized concepts presents a challenge. We refer to this scenario as
decentralized multi-concept customization, which involves single-client concept
tuning and center-node concept fusion. In this paper, we propose a new
framework called Mix-of-Show that addresses the challenges of decentralized
multi-concept customization, including concept conflicts resulting from
existing single-client LoRA tuning and identity loss during model fusion.
Mix-of-Show adopts an embedding-decomposed LoRA (ED-LoRA) for single-client
tuning and gradient fusion for the center node to preserve the in-domain
essence of single concepts and support theoretically limitless concept fusion.
Additionally, we introduce regionally controllable sampling, which extends
spatially controllable sampling (e.g., ControlNet and T2I-Adaptor) to address
attribute binding and missing object problems in multi-concept sampling.
Extensive experiments demonstrate that Mix-of-Show is capable of composing
multiple customized concepts with high fidelity, including characters, objects,
and scenes. | null | cs.CV | [
"cs.CV"
] |
2304.14293 | AnswerAI | Controlled Text Generation with Natural Language Instructions | [
"Wangchunshu Zhou",
"Yuchen Eleanor Jiang",
"Ethan Wilcox",
"Ryan Cotterell",
"Mrinmaya Sachan"
] | 2023-04-27 | Large language models generate fluent texts and can follow natural language
instructions to solve a wide range of tasks without task-specific training.
Nevertheless, it is notoriously difficult to control their generation to
satisfy the various constraints required by different applications. In this
work, we present InstructCTG, a controlled text generation framework that
incorporates different constraints by conditioning on natural language
descriptions and demonstrations of the constraints. In particular, we first
extract the underlying constraints of natural texts through a combination of
off-the-shelf NLP tools and simple heuristics. We then verbalize the
constraints into natural language instructions to form weakly supervised
training data. By prepending natural language descriptions of the constraints
and a few demonstrations, we fine-tune a pre-trained language model to
incorporate various types of constraints. Compared to existing search-based or
score-based methods, InstructCTG is more flexible to different constraint types
and has a much smaller impact on the generation quality and speed because it
does not modify the decoding procedure. Additionally, InstructCTG allows the
model to adapt to new constraints without re-training through the use of
few-shot task generalization and in-context learning abilities of
instruction-tuned language models. | null | cs.CL | [
"cs.CL",
"cs.AI",
"cs.LG"
] |
2305.11834 | HF | Pengi: An Audio Language Model for Audio Tasks | [
"Soham Deshmukh",
"Benjamin Elizalde",
"Rita Singh",
"Huaming Wang"
] | 2023-05-19 | In the domain of audio processing, Transfer Learning has facilitated the rise
of Self-Supervised Learning and Zero-Shot Learning techniques. These approaches
have led to the development of versatile models capable of tackling a wide
array of tasks, while delivering state-of-the-art performance. However, current
models inherently lack the capacity to produce the requisite language for
open-ended tasks, such as Audio Captioning or Audio Question & Answering. We
introduce Pengi, a novel Audio Language Model that leverages Transfer Learning
by framing all audio tasks as text-generation tasks. It takes as input, an
audio recording, and text, and generates free-form text as output. The input
audio is represented as a sequence of continuous embeddings by an audio
encoder. A text encoder does the same for the corresponding text input. Both
sequences are combined as a prefix to prompt a pre-trained frozen language
model. The unified architecture of Pengi enables open-ended tasks and
close-ended tasks without any additional fine-tuning or task-specific
extensions. When evaluated on 22 downstream tasks, our approach yields
state-of-the-art performance in several of them. Our results show that
connecting language models with audio models is a major step towards
general-purpose audio understanding | null | eess.AS | [
"eess.AS",
"cs.SD"
] |
2203.03078 | AnswerAI | Fast and Data Efficient Reinforcement Learning from Pixels via Non-Parametric Value Approximation | [
"Alexander Long",
"Alan Blair",
"Herke van Hoof"
] | 2022-03-07 | We present Nonparametric Approximation of Inter-Trace returns (NAIT), a
Reinforcement Learning algorithm for discrete action, pixel-based environments
that is both highly sample and computation efficient. NAIT is a lazy-learning
approach with an update that is equivalent to episodic Monte-Carlo on episode
completion, but that allows the stable incorporation of rewards while an
episode is ongoing. We make use of a fixed domain-agnostic representation,
simple distance based exploration and a proximity graph-based lookup to
facilitate extremely fast execution. We empirically evaluate NAIT on both the
26 and 57 game variants of ATARI100k where, despite its simplicity, it achieves
competitive performance in the online setting with greater than 100x speedup in
wall-time. | null | cs.LG | [
"cs.LG",
"cs.AI"
] |
2408.07540 | HF | 3D Gaussian Editing with A Single Image | [
"Guan Luo",
"Tian-Xing Xu",
"Ying-Tian Liu",
"Xiao-Xiong Fan",
"Fang-Lue Zhang",
"Song-Hai Zhang"
] | 2024-08-14 | The modeling and manipulation of 3D scenes captured from the real world are
pivotal in various applications, attracting growing research interest. While
previous works on editing have achieved interesting results through
manipulating 3D meshes, they often require accurately reconstructed meshes to
perform editing, which limits their application in 3D content generation. To
address this gap, we introduce a novel single-image-driven 3D scene editing
approach based on 3D Gaussian Splatting, enabling intuitive manipulation via
directly editing the content on a 2D image plane. Our method learns to optimize
the 3D Gaussians to align with an edited version of the image rendered from a
user-specified viewpoint of the original scene. To capture long-range object
deformation, we introduce positional loss into the optimization process of 3D
Gaussian Splatting and enable gradient propagation through reparameterization.
To handle occluded 3D Gaussians when rendering from the specified viewpoint, we
build an anchor-based structure and employ a coarse-to-fine optimization
strategy capable of handling long-range deformation while maintaining
structural stability. Furthermore, we design a novel masking strategy to
adaptively identify non-rigid deformation regions for fine-scale modeling.
Extensive experiments show the effectiveness of our method in handling
geometric details, long-range, and non-rigid deformation, demonstrating
superior editing flexibility and quality compared to previous approaches. | null | cs.CV | [
"cs.CV",
"cs.MM"
] |
2310.11716 | AnswerAI | Reflection-Tuning: Data Recycling Improves LLM Instruction-Tuning | [
"Ming Li",
"Lichang Chen",
"Jiuhai Chen",
"Shwai He",
"Heng Huang",
"Jiuxiang Gu",
"Tianyi Zhou"
] | 2023-10-18 | Recent advancements in Large Language Models (LLMs) have expanded the
horizons of natural language understanding and generation. Notably, the output
control and alignment with the input of LLMs can be refined through instruction
tuning. However, as highlighted in several studies, low-quality data in the
training set are usually detrimental to instruction tuning, resulting in
inconsistent or even misleading LLM outputs. We propose a novel method, termed
"reflection-tuning," which addresses the problem by self-improvement and
judging capabilities of LLMs. This approach utilizes an oracle LLM to recycle
the original training data by introspecting and enhancing the quality of
instructions and responses in the data. Extensive experiments on widely used
evaluation benchmarks show that LLMs trained with our recycled data outperform
those trained with existing datasets in various benchmarks. | null | cs.CL | [
"cs.CL"
] |
2309.16235 | HF | Language models in molecular discovery | [
"Nikita Janakarajan",
"Tim Erdmann",
"Sarath Swaminathan",
"Teodoro Laino",
"Jannis Born"
] | 2023-09-28 | The success of language models, especially transformer-based architectures,
has trickled into other domains giving rise to "scientific language models"
that operate on small molecules, proteins or polymers. In chemistry, language
models contribute to accelerating the molecule discovery cycle as evidenced by
promising recent findings in early-stage drug discovery. Here, we review the
role of language models in molecular discovery, underlining their strength in
de novo drug design, property prediction and reaction chemistry. We highlight
valuable open-source software assets thus lowering the entry barrier to the
field of scientific language modeling. Last, we sketch a vision for future
molecular design that combines a chatbot interface with access to computational
chemistry tools. Our contribution serves as a valuable resource for
researchers, chemists, and AI enthusiasts interested in understanding how
language models can and will be used to accelerate chemical discovery. | null | physics.chem-ph | [
"physics.chem-ph",
"cs.AI",
"cs.CL",
"cs.LG",
"q-bio.BM"
] |
2402.14792 | HF | Consolidating Attention Features for Multi-view Image Editing | [
"Or Patashnik",
"Rinon Gal",
"Daniel Cohen-Or",
"Jun-Yan Zhu",
"Fernando De la Torre"
] | 2024-02-22 | Large-scale text-to-image models enable a wide range of image editing
techniques, using text prompts or even spatial controls. However, applying
these editing methods to multi-view images depicting a single scene leads to
3D-inconsistent results. In this work, we focus on spatial control-based
geometric manipulations and introduce a method to consolidate the editing
process across various views. We build on two insights: (1) maintaining
consistent features throughout the generative process helps attain consistency
in multi-view editing, and (2) the queries in self-attention layers
significantly influence the image structure. Hence, we propose to improve the
geometric consistency of the edited images by enforcing the consistency of the
queries. To do so, we introduce QNeRF, a neural radiance field trained on the
internal query features of the edited images. Once trained, QNeRF can render
3D-consistent queries, which are then softly injected back into the
self-attention layers during generation, greatly improving multi-view
consistency. We refine the process through a progressive, iterative method that
better consolidates queries across the diffusion timesteps. We compare our
method to a range of existing techniques and demonstrate that it can achieve
better multi-view consistency and higher fidelity to the input scene. These
advantages allow us to train NeRFs with fewer visual artifacts, that are better
aligned with the target geometry. | null | cs.CV | [
"cs.CV",
"cs.GR",
"cs.LG"
] |
2309.03179 | HF | SLiMe: Segment Like Me | [
"Aliasghar Khani",
"Saeid Asgari Taghanaki",
"Aditya Sanghi",
"Ali Mahdavi Amiri",
"Ghassan Hamarneh"
] | 2023-09-06 | Significant strides have been made using large vision-language models, like
Stable Diffusion (SD), for a variety of downstream tasks, including image
editing, image correspondence, and 3D shape generation. Inspired by these
advancements, we explore leveraging these extensive vision-language models for
segmenting images at any desired granularity using as few as one annotated
sample by proposing SLiMe. SLiMe frames this problem as an optimization task.
Specifically, given a single training image and its segmentation mask, we first
extract attention maps, including our novel "weighted accumulated
self-attention map" from the SD prior. Then, using the extracted attention
maps, the text embeddings of Stable Diffusion are optimized such that, each of
them, learn about a single segmented region from the training image. These
learned embeddings then highlight the segmented region in the attention maps,
which in turn can then be used to derive the segmentation map. This enables
SLiMe to segment any real-world image during inference with the granularity of
the segmented region in the training image, using just one example. Moreover,
leveraging additional training data when available, i.e. few-shot, improves the
performance of SLiMe. We carried out a knowledge-rich set of experiments
examining various design factors and showed that SLiMe outperforms other
existing one-shot and few-shot segmentation methods. | null | cs.CV | [
"cs.CV",
"cs.LG"
] |
2004.11714 | AnswerAI | Residual Energy-Based Models for Text Generation | [
"Yuntian Deng",
"Anton Bakhtin",
"Myle Ott",
"Arthur Szlam",
"Marc'Aurelio Ranzato"
] | 2020-04-22 | Text generation is ubiquitous in many NLP tasks, from summarization, to
dialogue and machine translation. The dominant parametric approach is based on
locally normalized models which predict one word at a time. While these work
remarkably well, they are plagued by exposure bias due to the greedy nature of
the generation process. In this work, we investigate un-normalized energy-based
models (EBMs) which operate not at the token but at the sequence level. In
order to make training tractable, we first work in the residual of a pretrained
locally normalized language model and second we train using noise contrastive
estimation. Furthermore, since the EBM works at the sequence level, we can
leverage pretrained bi-directional contextual representations, such as BERT and
RoBERTa. Our experiments on two large language modeling datasets show that
residual EBMs yield lower perplexity compared to locally normalized baselines.
Moreover, generation via importance sampling is very efficient and of higher
quality than the baseline models according to human evaluation. | null | cs.CL | [
"cs.CL",
"cs.LG"
] |
2312.02931 | HF | WhisBERT: Multimodal Text-Audio Language Modeling on 100M Words | [
"Lukas Wolf",
"Greta Tuckute",
"Klemen Kotar",
"Eghbal Hosseini",
"Tamar Regev",
"Ethan Wilcox",
"Alex Warstadt"
] | 2023-12-05 | Training on multiple modalities of input can augment the capabilities of a
language model. Here, we ask whether such a training regime can improve the
quality and efficiency of these systems as well. We focus on text--audio and
introduce Whisbert, which is inspired by the text--image approach of FLAVA
(Singh et al., 2022). In accordance with Babylm guidelines (Warstadt et al.,
2023), we pretrain Whisbert on a dataset comprising only 100 million words plus
their corresponding speech from the word-aligned version of the People's Speech
dataset (Galvez et al., 2021). To assess the impact of multimodality, we
compare versions of the model that are trained on text only and on both audio
and text simultaneously. We find that while Whisbert is able to perform well on
multimodal masked modeling and surpasses the Babylm baselines in most benchmark
tasks, it struggles to optimize its complex objective and outperform its
text-only Whisbert baseline. | null | cs.CL | [
"cs.CL",
"cs.AI"
] |
2310.01352 | AnswerAI | RA-DIT: Retrieval-Augmented Dual Instruction Tuning | [
"Xi Victoria Lin",
"Xilun Chen",
"Mingda Chen",
"Weijia Shi",
"Maria Lomeli",
"Rich James",
"Pedro Rodriguez",
"Jacob Kahn",
"Gergely Szilvasy",
"Mike Lewis",
"Luke Zettlemoyer",
"Scott Yih"
] | 2023-10-02 | Retrieval-augmented language models (RALMs) improve performance by accessing
long-tail and up-to-date knowledge from external data stores, but are
challenging to build. Existing approaches require either expensive
retrieval-specific modifications to LM pre-training or use post-hoc integration
of the data store that leads to suboptimal performance. We introduce
Retrieval-Augmented Dual Instruction Tuning (RA-DIT), a lightweight fine-tuning
methodology that provides a third option by retrofitting any LLM with retrieval
capabilities. Our approach operates in two distinct fine-tuning steps: (1) one
updates a pre-trained LM to better use retrieved information, while (2) the
other updates the retriever to return more relevant results, as preferred by
the LM. By fine-tuning over tasks that require both knowledge utilization and
contextual awareness, we demonstrate that each stage yields significant
performance improvements, and using both leads to additional gains. Our best
model, RA-DIT 65B, achieves state-of-the-art performance across a range of
knowledge-intensive zero- and few-shot learning benchmarks, significantly
outperforming existing in-context RALM approaches by up to +8.9% in 0-shot
setting and +1.4% in 5-shot setting on average. | null | cs.CL | [
"cs.CL",
"cs.AI"
] |
2310.15421 | AnswerAI | FANToM: A Benchmark for Stress-testing Machine Theory of Mind in Interactions | [
"Hyunwoo Kim",
"Melanie Sclar",
"Xuhui Zhou",
"Ronan Le Bras",
"Gunhee Kim",
"Yejin Choi",
"Maarten Sap"
] | 2023-10-24 | Theory of mind (ToM) evaluations currently focus on testing models using
passive narratives that inherently lack interactivity. We introduce FANToM, a
new benchmark designed to stress-test ToM within information-asymmetric
conversational contexts via question answering. Our benchmark draws upon
important theoretical requisites from psychology and necessary empirical
considerations when evaluating large language models (LLMs). In particular, we
formulate multiple types of questions that demand the same underlying reasoning
to identify illusory or false sense of ToM capabilities in LLMs. We show that
FANToM is challenging for state-of-the-art LLMs, which perform significantly
worse than humans even with chain-of-thought reasoning or fine-tuning. | null | cs.CL | [
"cs.CL",
"cs.AI"
] |
2404.07413 | HF | JetMoE: Reaching Llama2 Performance with 0.1M Dollars | [
"Yikang Shen",
"Zhen Guo",
"Tianle Cai",
"Zengyi Qin"
] | 2024-04-11 | Large Language Models (LLMs) have achieved remarkable results, but their
increasing resource demand has become a major obstacle to the development of
powerful and accessible super-human intelligence. This report introduces
JetMoE-8B, a new LLM trained with less than $0.1 million, using 1.25T tokens
from carefully mixed open-source corpora and 30,000 H100 GPU hours. Despite its
low cost, the JetMoE-8B demonstrates impressive performance, with JetMoE-8B
outperforming the Llama2-7B model and JetMoE-8B-Chat surpassing the
Llama2-13B-Chat model. These results suggest that LLM training can be much more
cost-effective than generally thought. JetMoE-8B is based on an efficient
Sparsely-gated Mixture-of-Experts (SMoE) architecture, composed of attention
and feedforward experts. Both layers are sparsely activated, allowing JetMoE-8B
to have 8B parameters while only activating 2B for each input token, reducing
inference computation by about 70% compared to Llama2-7B. Moreover, JetMoE-8B
is highly open and academia-friendly, using only public datasets and training
code. All training parameters and data mixtures have been detailed in this
report to facilitate future efforts in the development of open foundation
models. This transparency aims to encourage collaboration and further
advancements in the field of accessible and efficient LLMs. The model weights
are publicly available at https://github.com/myshell-ai/JetMoE. | null | cs.CL | [
"cs.CL",
"cs.AI"
] |
2408.04810 | HF | UniBench: Visual Reasoning Requires Rethinking Vision-Language Beyond Scaling | [
"Haider Al-Tahan",
"Quentin Garrido",
"Randall Balestriero",
"Diane Bouchacourt",
"Caner Hazirbas",
"Mark Ibrahim"
] | 2024-08-09 | Significant research efforts have been made to scale and improve
vision-language model (VLM) training approaches. Yet, with an ever-growing
number of benchmarks, researchers are tasked with the heavy burden of
implementing each protocol, bearing a non-trivial computational cost, and
making sense of how all these benchmarks translate into meaningful axes of
progress. To facilitate a systematic evaluation of VLM progress, we introduce
UniBench: a unified implementation of 50+ VLM benchmarks spanning a
comprehensive range of carefully categorized capabilities from object
recognition to spatial awareness, counting, and much more. We showcase the
utility of UniBench for measuring progress by evaluating nearly 60 publicly
available vision-language models, trained on scales of up to 12.8B samples. We
find that while scaling training data or model size can boost many
vision-language model capabilities, scaling offers little benefit for reasoning
or relations. Surprisingly, we also discover today's best VLMs struggle on
simple digit recognition and counting tasks, e.g. MNIST, which much simpler
networks can solve. Where scale falls short, we find that more precise
interventions, such as data quality or tailored-learning objectives offer more
promise. For practitioners, we also offer guidance on selecting a suitable VLM
for a given application. Finally, we release an easy-to-run UniBench code-base
with the full set of 50+ benchmarks and comparisons across 59 models as well as
a distilled, representative set of benchmarks that runs in 5 minutes on a
single GPU. | null | cs.CV | [
"cs.CV",
"cs.AI",
"cs.LG"
] |
2401.04283 | HF | FADI-AEC: Fast Score Based Diffusion Model Guided by Far-end Signal for Acoustic Echo Cancellation | [
"Yang Liu",
"Li Wan",
"Yun Li",
"Yiteng Huang",
"Ming Sun",
"James Luan",
"Yangyang Shi",
"Xin Lei"
] | 2024-01-08 | Despite the potential of diffusion models in speech enhancement, their
deployment in Acoustic Echo Cancellation (AEC) has been restricted. In this
paper, we propose DI-AEC, pioneering a diffusion-based stochastic regeneration
approach dedicated to AEC. Further, we propose FADI-AEC, fast score-based
diffusion AEC framework to save computational demands, making it favorable for
edge devices. It stands out by running the score model once per frame,
achieving a significant surge in processing efficiency. Apart from that, we
introduce a novel noise generation technique where far-end signals are
utilized, incorporating both far-end and near-end signals to refine the score
model's accuracy. We test our proposed method on the ICASSP2023 Microsoft deep
echo cancellation challenge evaluation dataset, where our method outperforms
some of the end-to-end methods and other diffusion based echo cancellation
methods. | null | eess.AS | [
"eess.AS",
"cs.SD"
] |
2209.07858 | AnswerAI | Red Teaming Language Models to Reduce Harms: Methods, Scaling Behaviors, and Lessons Learned | [
"Deep Ganguli",
"Liane Lovitt",
"Jackson Kernion",
"Amanda Askell",
"Yuntao Bai",
"Saurav Kadavath",
"Ben Mann",
"Ethan Perez",
"Nicholas Schiefer",
"Kamal Ndousse",
"Andy Jones",
"Sam Bowman",
"Anna Chen",
"Tom Conerly",
"Nova DasSarma",
"Dawn Drain",
"Nelson Elhage",
"Sheer El-Showk",
"Stanislav Fort",
"Zac Hatfield-Dodds",
"Tom Henighan",
"Danny Hernandez",
"Tristan Hume",
"Josh Jacobson",
"Scott Johnston",
"Shauna Kravec",
"Catherine Olsson",
"Sam Ringer",
"Eli Tran-Johnson",
"Dario Amodei",
"Tom Brown",
"Nicholas Joseph",
"Sam McCandlish",
"Chris Olah",
"Jared Kaplan",
"Jack Clark"
] | 2022-08-23 | We describe our early efforts to red team language models in order to
simultaneously discover, measure, and attempt to reduce their potentially
harmful outputs. We make three main contributions. First, we investigate
scaling behaviors for red teaming across 3 model sizes (2.7B, 13B, and 52B
parameters) and 4 model types: a plain language model (LM); an LM prompted to
be helpful, honest, and harmless; an LM with rejection sampling; and a model
trained to be helpful and harmless using reinforcement learning from human
feedback (RLHF). We find that the RLHF models are increasingly difficult to red
team as they scale, and we find a flat trend with scale for the other model
types. Second, we release our dataset of 38,961 red team attacks for others to
analyze and learn from. We provide our own analysis of the data and find a
variety of harmful outputs, which range from offensive language to more subtly
harmful non-violent unethical outputs. Third, we exhaustively describe our
instructions, processes, statistical methodologies, and uncertainty about red
teaming. We hope that this transparency accelerates our ability to work
together as a community in order to develop shared norms, practices, and
technical standards for how to red team language models. | null | cs.CL | [
"cs.CL",
"cs.AI",
"cs.CY"
] |
2407.18901 | HF | AppWorld: A Controllable World of Apps and People for Benchmarking Interactive Coding Agents | [
"Harsh Trivedi",
"Tushar Khot",
"Mareike Hartmann",
"Ruskin Manku",
"Vinty Dong",
"Edward Li",
"Shashank Gupta",
"Ashish Sabharwal",
"Niranjan Balasubramanian"
] | 2024-07-26 | Autonomous agents that address day-to-day digital tasks (e.g., ordering
groceries for a household), must not only operate multiple apps (e.g., notes,
messaging, shopping app) via APIs, but also generate rich code with complex
control flow in an iterative manner based on their interaction with the
environment. However, existing benchmarks for tool use are inadequate, as they
only cover tasks that require a simple sequence of API calls.
To remedy this gap, we built $\textbf{AppWorld Engine}$, a high-quality
execution environment (60K lines of code) of 9 day-to-day apps operable via 457
APIs and populated with realistic digital activities simulating the lives of
~100 fictitious users. We then created $\textbf{AppWorld Benchmark}$ (40K lines
of code), a suite of 750 natural, diverse, and challenging autonomous agent
tasks requiring rich and interactive code generation. It supports robust
programmatic evaluation with state-based unit tests, allowing for different
ways of completing a task while also checking for unexpected changes, i.e.,
collateral damage. The state-of-the-art LLM, GPT-4o, solves only ~49% of our
'normal' tasks and ~30% of 'challenge' tasks, while other models solve at least
16% fewer. This highlights the benchmark's difficulty and AppWorld's potential
to push the frontiers of interactive coding agents. The project website is
available at https://appworld.dev/. | null | cs.SE | [
"cs.SE",
"cs.AI",
"cs.CL",
"cs.LG"
] |
2305.11863 | HF | Scaling laws for language encoding models in fMRI | [
"Richard Antonello",
"Aditya Vaidya",
"Alexander G. Huth"
] | 2023-05-19 | Representations from transformer-based unidirectional language models are
known to be effective at predicting brain responses to natural language.
However, most studies comparing language models to brains have used GPT-2 or
similarly sized language models. Here we tested whether larger open-source
models such as those from the OPT and LLaMA families are better at predicting
brain responses recorded using fMRI. Mirroring scaling results from other
contexts, we found that brain prediction performance scales logarithmically
with model size from 125M to 30B parameter models, with ~15% increased encoding
performance as measured by correlation with a held-out test set across 3
subjects. Similar logarithmic behavior was observed when scaling the size of
the fMRI training set. We also characterized scaling for acoustic encoding
models that use HuBERT, WavLM, and Whisper, and we found comparable
improvements with model size. A noise ceiling analysis of these large,
high-performance encoding models showed that performance is nearing the
theoretical maximum for brain areas such as the precuneus and higher auditory
cortex. These results suggest that increasing scale in both models and data
will yield incredibly effective models of language processing in the brain,
enabling better scientific understanding as well as applications such as
decoding. | null | cs.CL | [
"cs.CL",
"cs.AI"
] |
2407.17789 | HF | Very Large-Scale Multi-Agent Simulation in AgentScope | [
"Xuchen Pan",
"Dawei Gao",
"Yuexiang Xie",
"Zhewei Wei",
"Yaliang Li",
"Bolin Ding",
"Ji-Rong Wen",
"Jingren Zhou"
] | 2024-07-25 | Recent advances in large language models (LLMs) have opened new avenues for
applying multi-agent systems in very large-scale simulations. However, there
remain several challenges when conducting multi-agent simulations with existing
platforms, such as limited scalability and low efficiency, unsatisfied agent
diversity, and effort-intensive management processes. To address these
challenges, we develop several new features and components for AgentScope, a
user-friendly multi-agent platform, enhancing its convenience and flexibility
for supporting very large-scale multi-agent simulations. Specifically, we
propose an actor-based distributed mechanism as the underlying technological
infrastructure towards great scalability and high efficiency, and provide
flexible environment support for simulating various real-world scenarios, which
enables parallel execution of multiple agents, centralized workflow
orchestration, and both inter-agent and agent-environment interactions among
agents. Moreover, we integrate an easy-to-use configurable tool and an
automatic background generation pipeline in AgentScope, simplifying the process
of creating agents with diverse yet detailed background settings. Last but not
least, we provide a web-based interface for conveniently monitoring and
managing a large number of agents that might deploy across multiple devices. We
conduct a comprehensive simulation to demonstrate the effectiveness of the
proposed enhancements in AgentScope, and provide detailed observations and
discussions to highlight the great potential of applying multi-agent systems in
large-scale simulations. The source code is released on GitHub at
https://github.com/modelscope/agentscope to inspire further research and
development in large-scale multi-agent simulations. | null | cs.MA | [
"cs.MA",
"cs.AI"
] |
2407.02398 | HF | Consistency Flow Matching: Defining Straight Flows with Velocity Consistency | [
"Ling Yang",
"Zixiang Zhang",
"Zhilong Zhang",
"Xingchao Liu",
"Minkai Xu",
"Wentao Zhang",
"Chenlin Meng",
"Stefano Ermon",
"Bin Cui"
] | 2024-07-02 | Flow matching (FM) is a general framework for defining probability paths via
Ordinary Differential Equations (ODEs) to transform between noise and data
samples. Recent approaches attempt to straighten these flow trajectories to
generate high-quality samples with fewer function evaluations, typically
through iterative rectification methods or optimal transport solutions. In this
paper, we introduce Consistency Flow Matching (Consistency-FM), a novel FM
method that explicitly enforces self-consistency in the velocity field.
Consistency-FM directly defines straight flows starting from different times to
the same endpoint, imposing constraints on their velocity values. Additionally,
we propose a multi-segment training approach for Consistency-FM to enhance
expressiveness, achieving a better trade-off between sampling quality and
speed. Preliminary experiments demonstrate that our Consistency-FM
significantly improves training efficiency by converging 4.4x faster than
consistency models and 1.7x faster than rectified flow models while achieving
better generation quality. Our code is available at:
https://github.com/YangLing0818/consistency_flow_matching | null | cs.CV | [
"cs.CV"
] |
2305.13050 | HF | AudioToken: Adaptation of Text-Conditioned Diffusion Models for Audio-to-Image Generation | [
"Guy Yariv",
"Itai Gat",
"Lior Wolf",
"Yossi Adi",
"Idan Schwartz"
] | 2023-05-22 | In recent years, image generation has shown a great leap in performance,
where diffusion models play a central role. Although generating high-quality
images, such models are mainly conditioned on textual descriptions. This begs
the question: "how can we adopt such models to be conditioned on other
modalities?". In this paper, we propose a novel method utilizing latent
diffusion models trained for text-to-image-generation to generate images
conditioned on audio recordings. Using a pre-trained audio encoding model, the
proposed method encodes audio into a new token, which can be considered as an
adaptation layer between the audio and text representations. Such a modeling
paradigm requires a small number of trainable parameters, making the proposed
approach appealing for lightweight optimization. Results suggest the proposed
method is superior to the evaluated baseline methods, considering objective and
subjective metrics. Code and samples are available at:
https://pages.cs.huji.ac.il/adiyoss-lab/AudioToken. | null | cs.SD | [
"cs.SD",
"cs.CV",
"cs.LG",
"eess.AS"
] |
2408.05506 | HF | Your Context Is Not an Array: Unveiling Random Access Limitations in Transformers | [
"MohammadReza Ebrahimi",
"Sunny Panchal",
"Roland Memisevic"
] | 2024-08-10 | Despite their recent successes, Transformer-based large language models show
surprising failure modes. A well-known example of such failure modes is their
inability to length-generalize: solving problem instances at inference time
that are longer than those seen during training. In this work, we further
explore the root cause of this failure by performing a detailed analysis of
model behaviors on the simple parity task. Our analysis suggests that length
generalization failures are intricately related to a model's inability to
perform random memory accesses within its context window. We present supporting
evidence for this hypothesis by demonstrating the effectiveness of
methodologies that circumvent the need for indexing or that enable random token
access indirectly, through content-based addressing. We further show where and
how the failure to perform random memory access manifests through attention map
visualizations. | null | cs.CL | [
"cs.CL"
] |
2307.12981 | HF | 3D-LLM: Injecting the 3D World into Large Language Models | [
"Yining Hong",
"Haoyu Zhen",
"Peihao Chen",
"Shuhong Zheng",
"Yilun Du",
"Zhenfang Chen",
"Chuang Gan"
] | 2023-07-24 | Large language models (LLMs) and Vision-Language Models (VLMs) have been
proven to excel at multiple tasks, such as commonsense reasoning. Powerful as
these models can be, they are not grounded in the 3D physical world, which
involves richer concepts such as spatial relationships, affordances, physics,
layout, and so on. In this work, we propose to inject the 3D world into large
language models and introduce a whole new family of 3D-LLMs. Specifically,
3D-LLMs can take 3D point clouds and their features as input and perform a
diverse set of 3D-related tasks, including captioning, dense captioning, 3D
question answering, task decomposition, 3D grounding, 3D-assisted dialog,
navigation, and so on. Using three types of prompting mechanisms that we
design, we are able to collect over 300k 3D-language data covering these tasks.
To efficiently train 3D-LLMs, we first utilize a 3D feature extractor that
obtains 3D features from rendered multi- view images. Then, we use 2D VLMs as
our backbones to train our 3D-LLMs. By introducing a 3D localization mechanism,
3D-LLMs can better capture 3D spatial information. Experiments on ScanQA show
that our model outperforms state-of-the-art baselines by a large margin (e.g.,
the BLEU-1 score surpasses state-of-the-art score by 9%). Furthermore,
experiments on our held-in datasets for 3D captioning, task composition, and
3D-assisted dialogue show that our model outperforms 2D VLMs. Qualitative
examples also show that our model could perform more tasks beyond the scope of
existing LLMs and VLMs. Project Page: : https://vis-www.cs.umass.edu/3dllm/. | null | cs.CV | [
"cs.CV",
"cs.AI",
"cs.CL",
"cs.LG",
"cs.RO"
] |
2307.04725 | HF | AnimateDiff: Animate Your Personalized Text-to-Image Diffusion Models without Specific Tuning | [
"Yuwei Guo",
"Ceyuan Yang",
"Anyi Rao",
"Zhengyang Liang",
"Yaohui Wang",
"Yu Qiao",
"Maneesh Agrawala",
"Dahua Lin",
"Bo Dai"
] | 2023-07-10 | With the advance of text-to-image (T2I) diffusion models (e.g., Stable
Diffusion) and corresponding personalization techniques such as DreamBooth and
LoRA, everyone can manifest their imagination into high-quality images at an
affordable cost. However, adding motion dynamics to existing high-quality
personalized T2Is and enabling them to generate animations remains an open
challenge. In this paper, we present AnimateDiff, a practical framework for
animating personalized T2I models without requiring model-specific tuning. At
the core of our framework is a plug-and-play motion module that can be trained
once and seamlessly integrated into any personalized T2Is originating from the
same base T2I. Through our proposed training strategy, the motion module
effectively learns transferable motion priors from real-world videos. Once
trained, the motion module can be inserted into a personalized T2I model to
form a personalized animation generator. We further propose MotionLoRA, a
lightweight fine-tuning technique for AnimateDiff that enables a pre-trained
motion module to adapt to new motion patterns, such as different shot types, at
a low training and data collection cost. We evaluate AnimateDiff and MotionLoRA
on several public representative personalized T2I models collected from the
community. The results demonstrate that our approaches help these models
generate temporally smooth animation clips while preserving the visual quality
and motion diversity. Codes and pre-trained weights are available at
https://github.com/guoyww/AnimateDiff. | null | cs.CV | [
"cs.CV",
"cs.GR",
"cs.LG"
] |
2402.04925 | HF | TP-Aware Dequantization | [
"Adnan Hoque",
"Mudhakar Srivatsa",
"Chih-Chieh Yang",
"Raghu Ganti"
] | 2024-01-15 | In this paper, we present a novel method that reduces model inference latency
during distributed deployment of Large Language Models (LLMs). Our contribution
is an optimized inference deployment scheme that address the current
limitations of state-of-the-art quantization kernels when used in conjunction
with Tensor Parallel (TP). Our method preserves data locality in GPU memory
access patterns and exploits a priori knowledge of TP to reduce global
communication. We demonstrate an up to 1.81x speedup over existing methods for
Llama-70B and up to 1.78x speedup for IBM WatsonX's Granite-20B MLP layer
problem sizes on A100 and H100 NVIDIA DGX Systems for a variety of TP settings. | null | cs.DC | [
"cs.DC",
"cs.LG"
] |
2409.10594 | HF | Kolmogorov-Arnold Transformer | [
"Xingyi Yang",
"Xinchao Wang"
] | 2024-09-16 | Transformers stand as the cornerstone of mordern deep learning.
Traditionally, these models rely on multi-layer perceptron (MLP) layers to mix
the information between channels. In this paper, we introduce the
Kolmogorov-Arnold Transformer (KAT), a novel architecture that replaces MLP
layers with Kolmogorov-Arnold Network (KAN) layers to enhance the
expressiveness and performance of the model. Integrating KANs into
transformers, however, is no easy feat, especially when scaled up.
Specifically, we identify three key challenges: (C1) Base function. The
standard B-spline function used in KANs is not optimized for parallel computing
on modern hardware, resulting in slower inference speeds. (C2) Parameter and
Computation Inefficiency. KAN requires a unique function for each input-output
pair, making the computation extremely large. (C3) Weight initialization. The
initialization of weights in KANs is particularly challenging due to their
learnable activation functions, which are critical for achieving convergence in
deep neural networks. To overcome the aforementioned challenges, we propose
three key solutions: (S1) Rational basis. We replace B-spline functions with
rational functions to improve compatibility with modern GPUs. By implementing
this in CUDA, we achieve faster computations. (S2) Group KAN. We share the
activation weights through a group of neurons, to reduce the computational load
without sacrificing performance. (S3) Variance-preserving initialization. We
carefully initialize the activation weights to make sure that the activation
variance is maintained across layers. With these designs, KAT scales
effectively and readily outperforms traditional MLP-based transformers. | null | cs.LG | [
"cs.LG",
"cs.AI",
"cs.CV",
"cs.NE"
] |
2401.09985 | HF | WorldDreamer: Towards General World Models for Video Generation via Predicting Masked Tokens | [
"Xiaofeng Wang",
"Zheng Zhu",
"Guan Huang",
"Boyuan Wang",
"Xinze Chen",
"Jiwen Lu"
] | 2024-01-18 | World models play a crucial role in understanding and predicting the dynamics
of the world, which is essential for video generation. However, existing world
models are confined to specific scenarios such as gaming or driving, limiting
their ability to capture the complexity of general world dynamic environments.
Therefore, we introduce WorldDreamer, a pioneering world model to foster a
comprehensive comprehension of general world physics and motions, which
significantly enhances the capabilities of video generation. Drawing
inspiration from the success of large language models, WorldDreamer frames
world modeling as an unsupervised visual sequence modeling challenge. This is
achieved by mapping visual inputs to discrete tokens and predicting the masked
ones. During this process, we incorporate multi-modal prompts to facilitate
interaction within the world model. Our experiments show that WorldDreamer
excels in generating videos across different scenarios, including natural
scenes and driving environments. WorldDreamer showcases versatility in
executing tasks such as text-to-video conversion, image-tovideo synthesis, and
video editing. These results underscore WorldDreamer's effectiveness in
capturing dynamic elements within diverse general world environments. | null | cs.CV | [
"cs.CV"
] |
2311.16079 | AnswerAI | MEDITRON-70B: Scaling Medical Pretraining for Large Language Models | [
"Zeming Chen",
"Alejandro Hernández Cano",
"Angelika Romanou",
"Antoine Bonnet",
"Kyle Matoba",
"Francesco Salvi",
"Matteo Pagliardini",
"Simin Fan",
"Andreas Köpf",
"Amirkeivan Mohtashami",
"Alexandre Sallinen",
"Alireza Sakhaeirad",
"Vinitra Swamy",
"Igor Krawczuk",
"Deniz Bayazit",
"Axel Marmet",
"Syrielle Montariol",
"Mary-Anne Hartley",
"Martin Jaggi",
"Antoine Bosselut"
] | 2023-11-27 | Large language models (LLMs) can potentially democratize access to medical
knowledge. While many efforts have been made to harness and improve LLMs'
medical knowledge and reasoning capacities, the resulting models are either
closed-source (e.g., PaLM, GPT-4) or limited in scale (<= 13B parameters),
which restricts their abilities. In this work, we improve access to large-scale
medical LLMs by releasing MEDITRON: a suite of open-source LLMs with 7B and 70B
parameters adapted to the medical domain. MEDITRON builds on Llama-2 (through
our adaptation of Nvidia's Megatron-LM distributed trainer), and extends
pretraining on a comprehensively curated medical corpus, including selected
PubMed articles, abstracts, and internationally-recognized medical guidelines.
Evaluations using four major medical benchmarks show significant performance
gains over several state-of-the-art baselines before and after task-specific
finetuning. Overall, MEDITRON achieves a 6% absolute performance gain over the
best public baseline in its parameter class and 3% over the strongest baseline
we finetuned from Llama-2. Compared to closed-source LLMs, MEDITRON-70B
outperforms GPT-3.5 and Med-PaLM and is within 5% of GPT-4 and 10% of
Med-PaLM-2. We release our code for curating the medical pretraining corpus and
the MEDITRON model weights to drive open-source development of more capable
medical LLMs. | null | cs.CL | [
"cs.CL",
"cs.AI",
"cs.LG"
] |
2408.06195 | HF | Mutual Reasoning Makes Smaller LLMs Stronger Problem-Solvers | [
"Zhenting Qi",
"Mingyuan Ma",
"Jiahang Xu",
"Li Lyna Zhang",
"Fan Yang",
"Mao Yang"
] | 2024-08-12 | This paper introduces rStar, a self-play mutual reasoning approach that
significantly improves reasoning capabilities of small language models (SLMs)
without fine-tuning or superior models. rStar decouples reasoning into a
self-play mutual generation-discrimination process. First, a target SLM
augments the Monte Carlo Tree Search (MCTS) with a rich set of human-like
reasoning actions to construct higher quality reasoning trajectories. Next,
another SLM, with capabilities similar to the target SLM, acts as a
discriminator to verify each trajectory generated by the target SLM. The
mutually agreed reasoning trajectories are considered mutual consistent, thus
are more likely to be correct. Extensive experiments across five SLMs
demonstrate rStar can effectively solve diverse reasoning problems, including
GSM8K, GSM-Hard, MATH, SVAMP, and StrategyQA. Remarkably, rStar boosts GSM8K
accuracy from 12.51% to 63.91% for LLaMA2-7B, from 36.46% to 81.88% for
Mistral-7B, from 74.53% to 91.13% for LLaMA3-8B-Instruct. Code will be
available at https://github.com/zhentingqi/rStar. | null | cs.CL | [
"cs.CL"
] |
2405.10314 | HF | CAT3D: Create Anything in 3D with Multi-View Diffusion Models | [
"Ruiqi Gao",
"Aleksander Holynski",
"Philipp Henzler",
"Arthur Brussee",
"Ricardo Martin-Brualla",
"Pratul Srinivasan",
"Jonathan T. Barron",
"Ben Poole"
] | 2024-05-16 | Advances in 3D reconstruction have enabled high-quality 3D capture, but
require a user to collect hundreds to thousands of images to create a 3D scene.
We present CAT3D, a method for creating anything in 3D by simulating this
real-world capture process with a multi-view diffusion model. Given any number
of input images and a set of target novel viewpoints, our model generates
highly consistent novel views of a scene. These generated views can be used as
input to robust 3D reconstruction techniques to produce 3D representations that
can be rendered from any viewpoint in real-time. CAT3D can create entire 3D
scenes in as little as one minute, and outperforms existing methods for single
image and few-view 3D scene creation. See our project page for results and
interactive demos at https://cat3d.github.io . | null | cs.CV | [
"cs.CV"
] |
2201.01420 | AnswerAI | Hyperparameter-free Continuous Learning for Domain Classification in Natural Language Understanding | [
"Ting Hua",
"Yilin Shen",
"Changsheng Zhao",
"Yen-Chang Hsu",
"Hongxia Jin"
] | 2022-01-05 | Domain classification is the fundamental task in natural language
understanding (NLU), which often requires fast accommodation to new emerging
domains. This constraint makes it impossible to retrain all previous domains,
even if they are accessible to the new model. Most existing continual learning
approaches suffer from low accuracy and performance fluctuation, especially
when the distributions of old and new data are significantly different. In
fact, the key real-world problem is not the absence of old data, but the
inefficiency to retrain the model with the whole old dataset. Is it potential
to utilize some old data to yield high accuracy and maintain stable
performance, while at the same time, without introducing extra hyperparameters?
In this paper, we proposed a hyperparameter-free continual learning model for
text data that can stably produce high performance under various environments.
Specifically, we utilize Fisher information to select exemplars that can
"record" key information of the original model. Also, a novel scheme called
dynamical weight consolidation is proposed to enable hyperparameter-free
learning during the retrain process. Extensive experiments demonstrate that
baselines suffer from fluctuated performance and therefore useless in practice.
On the contrary, our proposed model CCFI significantly and consistently
outperforms the best state-of-the-art method by up to 20% in average accuracy,
and each component of CCFI contributes effectively to overall performance. | 10.18653/v1/2021.naacl-main.212 | cs.CL | [
"cs.CL",
"cs.AI"
] |
2305.09764 | HF | Application-Agnostic Language Modeling for On-Device ASR | [
"Markus Nußbaum-Thom",
"Lyan Verwimp",
"Youssef Oualil"
] | 2023-05-16 | On-device automatic speech recognition systems face several challenges
compared to server-based systems. They have to meet stricter constraints in
terms of speed, disk size and memory while maintaining the same accuracy. Often
they have to serve several applications with different distributions at once,
such as communicating with a virtual assistant and speech-to-text. The simplest
solution to serve multiple applications is to build application-specific
(language) models, but this leads to an increase in memory. Therefore, we
explore different data- and architecture-driven language modeling approaches to
build a single application-agnostic model. We propose two novel feed-forward
architectures that find an optimal trade off between different on-device
constraints. In comparison to the application-specific solution, one of our
novel approaches reduces the disk size by half, while maintaining speed and
accuracy of the original model. | null | cs.CL | [
"cs.CL",
"cs.SD",
"eess.AS"
] |
2306.15354 | HF | 3D-Speaker: A Large-Scale Multi-Device, Multi-Distance, and Multi-Dialect Corpus for Speech Representation Disentanglement | [
"Siqi Zheng",
"Luyao Cheng",
"Yafeng Chen",
"Hui Wang",
"Qian Chen"
] | 2023-06-27 | Disentangling uncorrelated information in speech utterances is a crucial
research topic within speech community. Different speech-related tasks focus on
extracting distinct speech representations while minimizing the affects of
other uncorrelated information. We present a large-scale speech corpus to
facilitate the research of speech representation disentanglement. 3D-Speaker
contains over 10,000 speakers, each of whom are simultaneously recorded by
multiple Devices, locating at different Distances, and some speakers are
speaking multiple Dialects. The controlled combinations of multi-dimensional
audio data yield a matrix of a diverse blend of speech representation
entanglement, thereby motivating intriguing methods to untangle them. The
multi-domain nature of 3D-Speaker also makes it a suitable resource to evaluate
large universal speech models and experiment methods of out-of-domain learning
and self-supervised learning. https://3dspeaker.github.io/ | null | cs.CL | [
"cs.CL",
"cs.SD",
"eess.AS"
] |
2308.00566 | HF | Stochastic positional embeddings improve masked image modeling | [
"Amir Bar",
"Florian Bordes",
"Assaf Shocher",
"Mahmoud Assran",
"Pascal Vincent",
"Nicolas Ballas",
"Trevor Darrell",
"Amir Globerson",
"Yann LeCun"
] | 2023-07-31 | Masked Image Modeling (MIM) is a promising self-supervised learning approach
that enables learning from unlabeled images. Despite its recent success,
learning good representations through MIM remains challenging because it
requires predicting the right semantic content in accurate locations. For
example, given an incomplete picture of a dog, we can guess that there is a
tail, but we cannot determine its exact location. In this work, we propose to
incorporate location uncertainty into MIM by using stochastic positional
embeddings (StoP). Specifically, we condition the model on stochastic masked
token positions drawn from a Gaussian distribution. StoP reduces overfitting to
location features and guides the model toward learning features that are more
robust to location uncertainties. Quantitatively, StoP improves downstream MIM
performance on a variety of downstream tasks, including $+1.7\%$ on ImageNet
linear probing using ViT-B, and $+2.5\%$ for ViT-H using $1\%$ of the data. | null | cs.CV | [
"cs.CV",
"cs.AI",
"cs.LG"
] |
2401.03065 | HF | CRUXEval: A Benchmark for Code Reasoning, Understanding and Execution | [
"Alex Gu",
"Baptiste Rozière",
"Hugh Leather",
"Armando Solar-Lezama",
"Gabriel Synnaeve",
"Sida I. Wang"
] | 2024-01-05 | We present CRUXEval (Code Reasoning, Understanding, and eXecution
Evaluation), a benchmark consisting of 800 Python functions (3-13 lines). Each
function comes with an input-output pair, leading to two natural tasks: input
prediction and output prediction. First, we propose a generic recipe for
generating our execution benchmark which can be used to create future variation
of the benchmark. Second, we evaluate twenty code models on our benchmark and
discover that many recent high-scoring models on HumanEval do not show the same
improvements on our benchmark. Third, we show that simple CoT and fine-tuning
schemes can improve performance on our benchmark but remain far from solving
it. The best setup, GPT-4 with chain of thought (CoT), achieves a pass@1 of 75%
and 81% on input and output prediction, respectively. In contrast, Code Llama
34B achieves a pass@1 of 50% and 46% on input and output prediction,
highlighting the gap between open and closed source models. As no model is
close to acing CRUXEval, we provide examples of consistent GPT-4 failures on
simple programs as a lens into its code reasoning capabilities and areas for
improvement. | null | cs.SE | [
"cs.SE",
"cs.AI",
"cs.LG"
] |
2203.10053 | AnswerAI | RELIC: Retrieving Evidence for Literary Claims | [
"Katherine Thai",
"Yapei Chang",
"Kalpesh Krishna",
"Mohit Iyyer"
] | 2022-03-18 | Humanities scholars commonly provide evidence for claims that they make about
a work of literature (e.g., a novel) in the form of quotations from the work.
We collect a large-scale dataset (RELiC) of 78K literary quotations and
surrounding critical analysis and use it to formulate the novel task of
literary evidence retrieval, in which models are given an excerpt of literary
analysis surrounding a masked quotation and asked to retrieve the quoted
passage from the set of all passages in the work. Solving this retrieval task
requires a deep understanding of complex literary and linguistic phenomena,
which proves challenging to methods that overwhelmingly rely on lexical and
semantic similarity matching. We implement a RoBERTa-based dense passage
retriever for this task that outperforms existing pretrained information
retrieval baselines; however, experiments and analysis by human domain experts
indicate that there is substantial room for improvement over our dense
retriever. | null | cs.CL | [
"cs.CL"
] |
2408.08441 | HF | D5RL: Diverse Datasets for Data-Driven Deep Reinforcement Learning | [
"Rafael Rafailov",
"Kyle Hatch",
"Anikait Singh",
"Laura Smith",
"Aviral Kumar",
"Ilya Kostrikov",
"Philippe Hansen-Estruch",
"Victor Kolev",
"Philip Ball",
"Jiajun Wu",
"Chelsea Finn",
"Sergey Levine"
] | 2024-08-15 | Offline reinforcement learning algorithms hold the promise of enabling
data-driven RL methods that do not require costly or dangerous real-world
exploration and benefit from large pre-collected datasets. This in turn can
facilitate real-world applications, as well as a more standardized approach to
RL research. Furthermore, offline RL methods can provide effective
initializations for online finetuning to overcome challenges with exploration.
However, evaluating progress on offline RL algorithms requires effective and
challenging benchmarks that capture properties of real-world tasks, provide a
range of task difficulties, and cover a range of challenges both in terms of
the parameters of the domain (e.g., length of the horizon, sparsity of rewards)
and the parameters of the data (e.g., narrow demonstration data or broad
exploratory data). While considerable progress in offline RL in recent years
has been enabled by simpler benchmark tasks, the most widely used datasets are
increasingly saturating in performance and may fail to reflect properties of
realistic tasks. We propose a new benchmark for offline RL that focuses on
realistic simulations of robotic manipulation and locomotion environments,
based on models of real-world robotic systems, and comprising a variety of data
sources, including scripted data, play-style data collected by human
teleoperators, and other data sources. Our proposed benchmark covers
state-based and image-based domains, and supports both offline RL and online
fine-tuning evaluation, with some of the tasks specifically designed to require
both pre-training and fine-tuning. We hope that our proposed benchmark will
facilitate further progress on both offline RL and fine-tuning algorithms.
Website with code, examples, tasks, and data is available at
\url{https://sites.google.com/view/d5rl/} | null | cs.LG | [
"cs.LG",
"cs.RO"
] |
2203.07814 | AnswerAI | Competition-Level Code Generation with AlphaCode | [
"Yujia Li",
"David Choi",
"Junyoung Chung",
"Nate Kushman",
"Julian Schrittwieser",
"Rémi Leblond",
"Tom Eccles",
"James Keeling",
"Felix Gimeno",
"Agustin Dal Lago",
"Thomas Hubert",
"Peter Choy",
"Cyprien de Masson d'Autume",
"Igor Babuschkin",
"Xinyun Chen",
"Po-Sen Huang",
"Johannes Welbl",
"Sven Gowal",
"Alexey Cherepanov",
"James Molloy",
"Daniel J. Mankowitz",
"Esme Sutherland Robson",
"Pushmeet Kohli",
"Nando de Freitas",
"Koray Kavukcuoglu",
"Oriol Vinyals"
] | 2022-02-08 | Programming is a powerful and ubiquitous problem-solving tool. Developing
systems that can assist programmers or even generate programs independently
could make programming more productive and accessible, yet so far incorporating
innovations in AI has proven challenging. Recent large-scale language models
have demonstrated an impressive ability to generate code, and are now able to
complete simple programming tasks. However, these models still perform poorly
when evaluated on more complex, unseen problems that require problem-solving
skills beyond simply translating instructions into code. For example,
competitive programming problems which require an understanding of algorithms
and complex natural language remain extremely challenging. To address this gap,
we introduce AlphaCode, a system for code generation that can create novel
solutions to these problems that require deeper reasoning. In simulated
evaluations on recent programming competitions on the Codeforces platform,
AlphaCode achieved on average a ranking of top 54.3% in competitions with more
than 5,000 participants. We found that three key components were critical to
achieve good and reliable performance: (1) an extensive and clean competitive
programming dataset for training and evaluation, (2) large and
efficient-to-sample transformer-based architectures, and (3) large-scale model
sampling to explore the search space, followed by filtering based on program
behavior to a small set of submissions. | 10.1126/science.abq1158 | cs.PL | [
"cs.PL",
"cs.AI",
"cs.LG"
] |
2312.09300 | HF | Self-Evaluation Improves Selective Generation in Large Language Models | [
"Jie Ren",
"Yao Zhao",
"Tu Vu",
"Peter J. Liu",
"Balaji Lakshminarayanan"
] | 2023-12-14 | Safe deployment of large language models (LLMs) may benefit from a reliable
method for assessing their generated content to determine when to abstain or to
selectively generate. While likelihood-based metrics such as perplexity are
widely employed, recent research has demonstrated the limitations of using
sequence-level probability estimates given by LLMs as reliable indicators of
generation quality. Conversely, LLMs have demonstrated strong calibration at
the token level, particularly when it comes to choosing correct answers in
multiple-choice questions or evaluating true/false statements. In this work, we
reformulate open-ended generation tasks into token-level prediction tasks, and
leverage LLMs' superior calibration at the token level. We instruct an LLM to
self-evaluate its answers, employing either a multi-way comparison or a
point-wise evaluation approach, with the option to include a ``None of the
above'' option to express the model's uncertainty explicitly. We benchmark a
range of scoring methods based on self-evaluation and evaluate their
performance in selective generation using TruthfulQA and TL;DR. Through
experiments with PaLM-2 and GPT-3, we demonstrate that self-evaluation based
scores not only improve accuracy, but also correlate better with the overall
quality of generated content. | null | cs.CL | [
"cs.CL",
"cs.AI",
"cs.LG"
] |
2401.15688 | HF | Divide and Conquer: Language Models can Plan and Self-Correct for Compositional Text-to-Image Generation | [
"Zhenyu Wang",
"Enze Xie",
"Aoxue Li",
"Zhongdao Wang",
"Xihui Liu",
"Zhenguo Li"
] | 2024-01-28 | Despite significant advancements in text-to-image models for generating
high-quality images, these methods still struggle to ensure the controllability
of text prompts over images in the context of complex text prompts, especially
when it comes to retaining object attributes and relationships. In this paper,
we propose CompAgent, a training-free approach for compositional text-to-image
generation, with a large language model (LLM) agent as its core. The
fundamental idea underlying CompAgent is premised on a divide-and-conquer
methodology. Given a complex text prompt containing multiple concepts including
objects, attributes, and relationships, the LLM agent initially decomposes it,
which entails the extraction of individual objects, their associated
attributes, and the prediction of a coherent scene layout. These individual
objects can then be independently conquered. Subsequently, the agent performs
reasoning by analyzing the text, plans and employs the tools to compose these
isolated objects. The verification and human feedback mechanism is finally
incorporated into our agent to further correct the potential attribute errors
and refine the generated images. Guided by the LLM agent, we propose a
tuning-free multi-concept customization model and a layout-to-image generation
model as the tools for concept composition, and a local image editing method as
the tool to interact with the agent for verification. The scene layout controls
the image generation process among these tools to prevent confusion among
multiple objects. Extensive experiments demonstrate the superiority of our
approach for compositional text-to-image generation: CompAgent achieves more
than 10\% improvement on T2I-CompBench, a comprehensive benchmark for
open-world compositional T2I generation. The extension to various related tasks
also illustrates the flexibility of our CompAgent for potential applications. | null | cs.CV | [
"cs.CV"
] |
2404.06429 | HF | Magic-Boost: Boost 3D Generation with Mutli-View Conditioned Diffusion | [
"Fan Yang",
"Jianfeng Zhang",
"Yichun Shi",
"Bowen Chen",
"Chenxu Zhang",
"Huichao Zhang",
"Xiaofeng Yang",
"Jiashi Feng",
"Guosheng Lin"
] | 2024-04-09 | Benefiting from the rapid development of 2D diffusion models, 3D content
creation has made significant progress recently. One promising solution
involves the fine-tuning of pre-trained 2D diffusion models to harness their
capacity for producing multi-view images, which are then lifted into accurate
3D models via methods like fast-NeRFs or large reconstruction models. However,
as inconsistency still exists and limited generated resolution, the generation
results of such methods still lack intricate textures and complex geometries.
To solve this problem, we propose Magic-Boost, a multi-view conditioned
diffusion model that significantly refines coarse generative results through a
brief period of SDS optimization ($\sim15$min). Compared to the previous text
or single image based diffusion models, Magic-Boost exhibits a robust
capability to generate images with high consistency from pseudo synthesized
multi-view images. It provides precise SDS guidance that well aligns with the
identity of the input images, enriching the local detail in both geometry and
texture of the initial generative results. Extensive experiments show
Magic-Boost greatly enhances the coarse inputs and generates high-quality 3D
assets with rich geometric and textural details. (Project Page:
https://magic-research.github.io/magic-boost/) | null | cs.CV | [
"cs.CV",
"cs.AI"
] |
2310.16795 | Both | QMoE: Practical Sub-1-Bit Compression of Trillion-Parameter Models | [
"Elias Frantar",
"Dan Alistarh"
] | 2023-10-25 | Mixture-of-Experts (MoE) architectures offer a general solution to the high
inference costs of large language models (LLMs) via sparse routing, bringing
faster and more accurate models, at the cost of massive parameter counts. For
example, the SwitchTransformer-c2048 model has 1.6 trillion parameters,
requiring 3.2TB of accelerator memory to run efficiently, which makes practical
deployment challenging and expensive. In this paper, we present a solution to
this memory problem, in form of a new compression and execution framework
called QMoE. Specifically, QMoE consists of a scalable algorithm which
accurately compresses trillion-parameter MoEs to less than 1 bit per parameter,
in a custom format co-designed with bespoke GPU decoding kernels to facilitate
efficient end-to-end compressed inference, with minor runtime overheads
relative to uncompressed execution. Concretely, QMoE can compress the 1.6
trillion parameter SwitchTransformer-c2048 model to less than 160GB (20x
compression, 0.8 bits per parameter) at only minor accuracy loss, in less than
a day on a single GPU. This enables, for the first time, the execution of a
trillion-parameter model on affordable commodity hardware, like a single server
with 4x NVIDIA A6000 or 8x NVIDIA 3090 GPUs, at less than 5% runtime overhead
relative to ideal uncompressed inference. The source code and compressed models
are available at github.com/IST-DASLab/qmoe. | null | cs.LG | [
"cs.LG"
] |
2407.20743 | HF | Meltemi: The first open Large Language Model for Greek | [
"Leon Voukoutis",
"Dimitris Roussis",
"Georgios Paraskevopoulos",
"Sokratis Sofianopoulos",
"Prokopis Prokopidis",
"Vassilis Papavasileiou",
"Athanasios Katsamanis",
"Stelios Piperidis",
"Vassilis Katsouros"
] | 2024-07-30 | We describe the development and capabilities of Meltemi 7B, the first open
Large Language Model for the Greek language. Meltemi 7B has 7 billion
parameters and is trained on a 40 billion token Greek corpus. For the
development of Meltemi 7B, we adapt Mistral, by continuous pretraining on the
Greek Corpus. Meltemi 7B contains up-to-date information up to September 2023.
Furthermore, we have translated and curated a Greek instruction corpus, which
has been used for the instruction-tuning of a chat model, named Meltemi 7B
Instruct. Special care has been given to the alignment and the removal of toxic
content for the Meltemi 7B Instruct. The developed models are evaluated on a
broad set of collected evaluation corpora, and examples of prompts and
responses are presented. Both Meltemi 7B and Meltemi 7B Instruct are available
at https://huggingface.co/ilsp under the Apache 2.0 license. | null | cs.CL | [
"cs.CL"
] |
2407.09388 | HF | GAVEL: Generating Games Via Evolution and Language Models | [
"Graham Todd",
"Alexander Padula",
"Matthew Stephenson",
"Éric Piette",
"Dennis J. N. J. Soemers",
"Julian Togelius"
] | 2024-07-12 | Automatically generating novel and interesting games is a complex task.
Challenges include representing game rules in a computationally workable form,
searching through the large space of potential games under most such
representations, and accurately evaluating the originality and quality of
previously unseen games. Prior work in automated game generation has largely
focused on relatively restricted rule representations and relied on
domain-specific heuristics. In this work, we explore the generation of novel
games in the comparatively expansive Ludii game description language, which
encodes the rules of over 1000 board games in a variety of styles and modes of
play. We draw inspiration from recent advances in large language models and
evolutionary computation in order to train a model that intelligently mutates
and recombines games and mechanics expressed as code. We demonstrate both
quantitatively and qualitatively that our approach is capable of generating new
and interesting games, including in regions of the potential rules space not
covered by existing games in the Ludii dataset. A sample of the generated games
are available to play online through the Ludii portal. | null | cs.AI | [
"cs.AI"
] |
2403.02151 | HF | TripoSR: Fast 3D Object Reconstruction from a Single Image | [
"Dmitry Tochilkin",
"David Pankratz",
"Zexiang Liu",
"Zixuan Huang",
"Adam Letts",
"Yangguang Li",
"Ding Liang",
"Christian Laforte",
"Varun Jampani",
"Yan-Pei Cao"
] | 2024-03-04 | This technical report introduces TripoSR, a 3D reconstruction model
leveraging transformer architecture for fast feed-forward 3D generation,
producing 3D mesh from a single image in under 0.5 seconds. Building upon the
LRM network architecture, TripoSR integrates substantial improvements in data
processing, model design, and training techniques. Evaluations on public
datasets show that TripoSR exhibits superior performance, both quantitatively
and qualitatively, compared to other open-source alternatives. Released under
the MIT license, TripoSR is intended to empower researchers, developers, and
creatives with the latest advancements in 3D generative AI. | null | cs.CV | [
"cs.CV"
] |
2406.15275 | HF | Cognitive Map for Language Models: Optimal Planning via Verbally Representing the World Model | [
"Doyoung Kim",
"Jongwon Lee",
"Jinho Park",
"Minjoon Seo"
] | 2024-06-21 | Language models have demonstrated impressive capabilities across various
natural language processing tasks, yet they struggle with planning tasks
requiring multi-step simulations. Inspired by human cognitive processes, this
paper investigates the optimal planning power of language models that can
construct a cognitive map of a given environment. Our experiments demonstrate
that cognitive map significantly enhances the performance of both optimal and
reachable planning generation ability in the Gridworld path planning task. We
observe that our method showcases two key characteristics similar to human
cognition: \textbf{generalization of its planning ability to extrapolated
environments and rapid adaptation with limited training data.} We hope our
findings in the Gridworld task provide insights into modeling human cognitive
processes in language models, potentially leading to the development of more
advanced and robust systems that better resemble human cognition. | null | cs.CL | [
"cs.CL"
] |
2401.05252 | HF | PIXART-δ: Fast and Controllable Image Generation with Latent Consistency Models | [
"Junsong Chen",
"Yue Wu",
"Simian Luo",
"Enze Xie",
"Sayak Paul",
"Ping Luo",
"Hang Zhao",
"Zhenguo Li"
] | 2024-01-10 | This technical report introduces PIXART-{\delta}, a text-to-image synthesis
framework that integrates the Latent Consistency Model (LCM) and ControlNet
into the advanced PIXART-{\alpha} model. PIXART-{\alpha} is recognized for its
ability to generate high-quality images of 1024px resolution through a
remarkably efficient training process. The integration of LCM in
PIXART-{\delta} significantly accelerates the inference speed, enabling the
production of high-quality images in just 2-4 steps. Notably, PIXART-{\delta}
achieves a breakthrough 0.5 seconds for generating 1024x1024 pixel images,
marking a 7x improvement over the PIXART-{\alpha}. Additionally,
PIXART-{\delta} is designed to be efficiently trainable on 32GB V100 GPUs
within a single day. With its 8-bit inference capability (von Platen et al.,
2023), PIXART-{\delta} can synthesize 1024px images within 8GB GPU memory
constraints, greatly enhancing its usability and accessibility. Furthermore,
incorporating a ControlNet-like module enables fine-grained control over
text-to-image diffusion models. We introduce a novel ControlNet-Transformer
architecture, specifically tailored for Transformers, achieving explicit
controllability alongside high-quality image generation. As a state-of-the-art,
open-source image generation model, PIXART-{\delta} offers a promising
alternative to the Stable Diffusion family of models, contributing
significantly to text-to-image synthesis. | null | cs.CV | [
"cs.CV"
] |
2012.13255 | AnswerAI | Intrinsic Dimensionality Explains the Effectiveness of Language Model Fine-Tuning | [
"Armen Aghajanyan",
"Luke Zettlemoyer",
"Sonal Gupta"
] | 2020-12-22 | Although pretrained language models can be fine-tuned to produce
state-of-the-art results for a very wide range of language understanding tasks,
the dynamics of this process are not well understood, especially in the low
data regime. Why can we use relatively vanilla gradient descent algorithms
(e.g., without strong regularization) to tune a model with hundreds of millions
of parameters on datasets with only hundreds or thousands of labeled examples?
In this paper, we argue that analyzing fine-tuning through the lens of
intrinsic dimension provides us with empirical and theoretical intuitions to
explain this remarkable phenomenon. We empirically show that common pre-trained
models have a very low intrinsic dimension; in other words, there exists a low
dimension reparameterization that is as effective for fine-tuning as the full
parameter space. For example, by optimizing only 200 trainable parameters
randomly projected back into the full space, we can tune a RoBERTa model to
achieve 90\% of the full parameter performance levels on MRPC. Furthermore, we
empirically show that pre-training implicitly minimizes intrinsic dimension
and, perhaps surprisingly, larger models tend to have lower intrinsic dimension
after a fixed number of pre-training updates, at least in part explaining their
extreme effectiveness. Lastly, we connect intrinsic dimensionality with low
dimensional task representations and compression based generalization bounds to
provide intrinsic-dimension-based generalization bounds that are independent of
the full parameter count. | null | cs.LG | [
"cs.LG",
"cs.CL"
] |
2407.03958 | HF | Stark: Social Long-Term Multi-Modal Conversation with Persona Commonsense Knowledge | [
"Young-Jun Lee",
"Dokyong Lee",
"Junyoung Youn",
"Kyeongjin Oh",
"Byungsoo Ko",
"Jonghwan Hyeon",
"Ho-Jin Choi"
] | 2024-07-04 | Humans share a wide variety of images related to their personal experiences
within conversations via instant messaging tools. However, existing works focus
on (1) image-sharing behavior in singular sessions, leading to limited
long-term social interaction, and (2) a lack of personalized image-sharing
behavior. In this work, we introduce Stark, a large-scale long-term multi-modal
conversation dataset that covers a wide range of social personas in a
multi-modality format, time intervals, and images. To construct Stark
automatically, we propose a novel multi-modal contextualization framework, Mcu,
that generates long-term multi-modal dialogue distilled from ChatGPT and our
proposed Plan-and-Execute image aligner. Using our Stark, we train a
multi-modal conversation model, Ultron 7B, which demonstrates impressive visual
imagination ability. Furthermore, we demonstrate the effectiveness of our
dataset in human evaluation. We make our source code and dataset publicly
available. | null | cs.CL | [
"cs.CL",
"cs.CV"
] |
2403.06504 | Both | Adding NVMe SSDs to Enable and Accelerate 100B Model Fine-tuning on a Single GPU | [
"Changyue Liao",
"Mo Sun",
"Zihan Yang",
"Kaiqi Chen",
"Binhang Yuan",
"Fei Wu",
"Zeke Wang"
] | 2024-03-11 | Recent advances in large language models have brought immense value to the
world, with their superior capabilities stemming from the massive number of
parameters they utilize. However, even the GPUs with the highest memory
capacities, currently peaking at 80GB, are far from sufficient to accommodate
these vast parameters and their associated optimizer states when conducting
stochastic gradient descent-based optimization. One approach to hosting such
huge models is to aggregate device memory from many GPUs. However, this
approach introduces prohibitive costs for most academic researchers, who always
have a limited budget for many high-end GPU servers. In this paper, we focus on
huge model fine-tuning on a single, even low-end, GPU in a commodity server,
which is accessible to most AI researchers. In such a scenario, the
state-of-the-art work ZeRO-Infinity suffers from two severe issues when running
in a commodity server: 1) low GPU utilization due to inefficient swapping, and
2) limited trainable model size due to CPU memory capacity. The underlying
reason is that ZeRO-Infinity is optimized for running on high-end GPU servers.
To this end, we present Fuyou, a low-cost training framework that enables
efficient 100B huge model fine-tuning on a low-end server with a low-end GPU
and limited CPU memory capacity. The key idea is to add the SSD-CPU
communication as an optimization dimension and thus carefully co-optimize
computation and data swapping from a systematic approach to maximize GPU
utilization. The experimental results show that 1) Fuyou is able to fine-tune
175B GPT-3 on a consumer GPU RTX 4090 with high GPU utilization, while
ZeRO-Infinity fails to fine-tune; and 2) when training a small GPT-3 13B model,
Fuyou achieves 156 TFLOPS on an RTX 4090 GPU while ZeRO-Infinity only achieves
45 TFLOPS. | null | cs.DC | [
"cs.DC"
] |
2305.20082 | HF | Control4D: Efficient 4D Portrait Editing with Text | [
"Ruizhi Shao",
"Jingxiang Sun",
"Cheng Peng",
"Zerong Zheng",
"Boyao Zhou",
"Hongwen Zhang",
"Yebin Liu"
] | 2023-05-31 | We introduce Control4D, an innovative framework for editing dynamic 4D
portraits using text instructions. Our method addresses the prevalent
challenges in 4D editing, notably the inefficiencies of existing 4D
representations and the inconsistent editing effect caused by diffusion-based
editors. We first propose GaussianPlanes, a novel 4D representation that makes
Gaussian Splatting more structured by applying plane-based decomposition in 3D
space and time. This enhances both efficiency and robustness in 4D editing.
Furthermore, we propose to leverage a 4D generator to learn a more continuous
generation space from inconsistent edited images produced by the
diffusion-based editor, which effectively improves the consistency and quality
of 4D editing. Comprehensive evaluation demonstrates the superiority of
Control4D, including significantly reduced training time, high-quality
rendering, and spatial-temporal consistency in 4D portrait editing. The link to
our project website is https://control4darxiv.github.io. | null | cs.CV | [
"cs.CV"
] |
2404.06773 | HF | Adapting LLaMA Decoder to Vision Transformer | [
"Jiahao Wang",
"Wenqi Shao",
"Mengzhao Chen",
"Chengyue Wu",
"Yong Liu",
"Taiqiang Wu",
"Kaipeng Zhang",
"Songyang Zhang",
"Kai Chen",
"Ping Luo"
] | 2024-04-10 | This work examines whether decoder-only Transformers such as LLaMA, which
were originally designed for large language models (LLMs), can be adapted to
the computer vision field. We first "LLaMAfy" a standard ViT step-by-step to
align with LLaMA's architecture, and find that directly applying a causal mask
to the self-attention brings an attention collapse issue, resulting in the
failure to the network training. We suggest to reposition the class token
behind the image tokens with a post-sequence class token technique to overcome
this challenge, enabling causal self-attention to efficiently capture the
entire image's information. Additionally, we develop a soft mask strategy that
gradually introduces a causal mask to the self-attention at the onset of
training to facilitate the optimization behavior. The tailored model, dubbed as
image LLaMA (iLLaMA), is akin to LLaMA in architecture and enables direct
supervised learning. Its causal self-attention boosts computational efficiency
and learns complex representation by elevating attention map ranks. iLLaMA
rivals the performance with its encoder-only counterparts, achieving 75.1%
ImageNet top-1 accuracy with only 5.7M parameters. Scaling the model to
$\sim$310M and pre-training on ImageNet-21K further enhances the accuracy to
86.0%. Extensive experiments demonstrate iLLaMA's reliable properties:
shape-texture bias, calibration, quantization compatibility, ADE20K
segmentation and CIFAR transfer learning. We hope our study can kindle fresh
views to visual architectures in the wave of LLMs and inspire the development
of unified multimodal models. Pre-trained models and codes are available
https://github.com/techmonsterwang/iLLaMA. | null | cs.CV | [
"cs.CV"
] |
2401.12945 | HF | Lumiere: A Space-Time Diffusion Model for Video Generation | [
"Omer Bar-Tal",
"Hila Chefer",
"Omer Tov",
"Charles Herrmann",
"Roni Paiss",
"Shiran Zada",
"Ariel Ephrat",
"Junhwa Hur",
"Guanghui Liu",
"Amit Raj",
"Yuanzhen Li",
"Michael Rubinstein",
"Tomer Michaeli",
"Oliver Wang",
"Deqing Sun",
"Tali Dekel",
"Inbar Mosseri"
] | 2024-01-23 | We introduce Lumiere -- a text-to-video diffusion model designed for
synthesizing videos that portray realistic, diverse and coherent motion -- a
pivotal challenge in video synthesis. To this end, we introduce a Space-Time
U-Net architecture that generates the entire temporal duration of the video at
once, through a single pass in the model. This is in contrast to existing video
models which synthesize distant keyframes followed by temporal super-resolution
-- an approach that inherently makes global temporal consistency difficult to
achieve. By deploying both spatial and (importantly) temporal down- and
up-sampling and leveraging a pre-trained text-to-image diffusion model, our
model learns to directly generate a full-frame-rate, low-resolution video by
processing it in multiple space-time scales. We demonstrate state-of-the-art
text-to-video generation results, and show that our design easily facilitates a
wide range of content creation tasks and video editing applications, including
image-to-video, video inpainting, and stylized generation. | null | cs.CV | [
"cs.CV"
] |
2302.06555 | HF | Do Vision and Language Models Share Concepts? A Vector Space Alignment Study | [
"Jiaang Li",
"Yova Kementchedjhieva",
"Constanza Fierro",
"Anders Søgaard"
] | 2023-02-13 | Large-scale pretrained language models (LMs) are said to ``lack the ability
to connect utterances to the world'' (Bender and Koller, 2020), because they do
not have ``mental models of the world' '(Mitchell and Krakauer, 2023). If so,
one would expect LM representations to be unrelated to representations induced
by vision models. We present an empirical evaluation across four families of
LMs (BERT, GPT-2, OPT and LLaMA-2) and three vision model architectures
(ResNet, SegFormer, and MAE). Our experiments show that LMs partially converge
towards representations isomorphic to those of vision models, subject to
dispersion, polysemy and frequency. This has important implications for both
multi-modal processing and the LM understanding debate (Mitchell and Krakauer,
2023). | null | cs.CL | [
"cs.CL",
"cs.AI",
"cs.CV",
"cs.LG"
] |
2404.00308 | HF | ST-LLM: Large Language Models Are Effective Temporal Learners | [
"Ruyang Liu",
"Chen Li",
"Haoran Tang",
"Yixiao Ge",
"Ying Shan",
"Ge Li"
] | 2024-03-30 | Large Language Models (LLMs) have showcased impressive capabilities in text
comprehension and generation, prompting research efforts towards video LLMs to
facilitate human-AI interaction at the video level. However, how to effectively
encode and understand videos in video-based dialogue systems remains to be
solved. In this paper, we investigate a straightforward yet unexplored
question: Can we feed all spatial-temporal tokens into the LLM, thus delegating
the task of video sequence modeling to the LLMs? Surprisingly, this simple
approach yields significant improvements in video understanding. Based upon
this, we propose ST-LLM, an effective video-LLM baseline with Spatial-Temporal
sequence modeling inside LLM. Furthermore, to address the overhead and
stability issues introduced by uncompressed video tokens within LLMs, we
develop a dynamic masking strategy with tailor-made training objectives. For
particularly long videos, we have also designed a global-local input module to
balance efficiency and effectiveness. Consequently, we harness LLM for
proficient spatial-temporal modeling, while upholding efficiency and stability.
Extensive experimental results attest to the effectiveness of our method.
Through a more concise model and training pipeline, ST-LLM establishes a new
state-of-the-art result on VideoChatGPT-Bench and MVBench. Codes have been
available at https://github.com/TencentARC/ST-LLM. | null | cs.CV | [
"cs.CV"
] |
2408.13252 | HF | LayerPano3D: Layered 3D Panorama for Hyper-Immersive Scene Generation | [
"Shuai Yang",
"Jing Tan",
"Mengchen Zhang",
"Tong Wu",
"Yixuan Li",
"Gordon Wetzstein",
"Ziwei Liu",
"Dahua Lin"
] | 2024-08-23 | 3D immersive scene generation is a challenging yet critical task in computer
vision and graphics. A desired virtual 3D scene should 1) exhibit
omnidirectional view consistency, and 2) allow for free exploration in complex
scene hierarchies. Existing methods either rely on successive scene expansion
via inpainting or employ panorama representation to represent large FOV scene
environments. However, the generated scene suffers from semantic drift during
expansion and is unable to handle occlusion among scene hierarchies. To tackle
these challenges, we introduce LayerPano3D, a novel framework for full-view,
explorable panoramic 3D scene generation from a single text prompt. Our key
insight is to decompose a reference 2D panorama into multiple layers at
different depth levels, where each layer reveals the unseen space from the
reference views via diffusion prior. LayerPano3D comprises multiple dedicated
designs: 1) we introduce a novel text-guided anchor view synthesis pipeline for
high-quality, consistent panorama generation. 2) We pioneer the Layered 3D
Panorama as underlying representation to manage complex scene hierarchies and
lift it into 3D Gaussians to splat detailed 360-degree omnidirectional scenes
with unconstrained viewing paths. Extensive experiments demonstrate that our
framework generates state-of-the-art 3D panoramic scene in both full view
consistency and immersive exploratory experience. We believe that LayerPano3D
holds promise for advancing 3D panoramic scene creation with numerous
applications. | null | cs.CV | [
"cs.CV"
] |
2307.02768 | HF | Training Models to Generate, Recognize, and Reframe Unhelpful Thoughts | [
"Mounica Maddela",
"Megan Ung",
"Jing Xu",
"Andrea Madotto",
"Heather Foran",
"Y-Lan Boureau"
] | 2023-07-06 | Many cognitive approaches to well-being, such as recognizing and reframing
unhelpful thoughts, have received considerable empirical support over the past
decades, yet still lack truly widespread adoption in self-help format. A
barrier to that adoption is a lack of adequately specific and diverse dedicated
practice material. This work examines whether current language models can be
leveraged to both produce a virtually unlimited quantity of practice material
illustrating standard unhelpful thought patterns matching specific given
contexts, and generate suitable positive reframing proposals. We propose
PATTERNREFRAME, a novel dataset of about 10k examples of thoughts containing
unhelpful thought patterns conditioned on a given persona, accompanied by about
27k positive reframes. By using this dataset to train and/or evaluate current
models, we show that existing models can already be powerful tools to help
generate an abundance of tailored practice material and hypotheses, with no or
minimal additional model training required. | null | cs.CL | [
"cs.CL"
] |
2307.00716 | HF | JourneyDB: A Benchmark for Generative Image Understanding | [
"Keqiang Sun",
"Junting Pan",
"Yuying Ge",
"Hao Li",
"Haodong Duan",
"Xiaoshi Wu",
"Renrui Zhang",
"Aojun Zhou",
"Zipeng Qin",
"Yi Wang",
"Jifeng Dai",
"Yu Qiao",
"Limin Wang",
"Hongsheng Li"
] | 2023-07-03 | While recent advancements in vision-language models have had a transformative
impact on multi-modal comprehension, the extent to which these models possess
the ability to comprehend generated images remains uncertain. Synthetic images,
in comparison to real data, encompass a higher level of diversity in terms of
both content and style, thereby presenting significant challenges for the
models to fully grasp. In light of this challenge, we introduce a comprehensive
dataset, referred to as JourneyDB, that caters to the domain of generative
images within the context of multi-modal visual understanding. Our meticulously
curated dataset comprises 4 million distinct and high-quality generated images,
each paired with the corresponding text prompts that were employed in their
creation. Furthermore, we additionally introduce an external subset with
results of another 22 text-to-image generative models, which makes JourneyDB a
comprehensive benchmark for evaluating the comprehension of generated images.
On our dataset, we have devised four benchmarks to assess the performance of
generated image comprehension in relation to both content and style
interpretation. These benchmarks encompass prompt inversion, style retrieval,
image captioning, and visual question answering. Lastly, we evaluate the
performance of state-of-the-art multi-modal models when applied to the
JourneyDB dataset, providing a comprehensive analysis of their strengths and
limitations in comprehending generated content. We anticipate that the proposed
dataset and benchmarks will facilitate further research in the field of
generative content understanding. The dataset is publicly available at
https://journeydb.github.io. | null | cs.CV | [
"cs.CV"
] |
2406.02061 | AnswerAI | Alice in Wonderland: Simple Tasks Showing Complete Reasoning Breakdown in State-Of-the-Art Large Language Models | [
"Marianna Nezhurina",
"Lucia Cipolina-Kun",
"Mehdi Cherti",
"Jenia Jitsev"
] | 2024-06-04 | Large Language Models (LLMs) are often described as being instances of
foundation models - that is, models that transfer strongly across various tasks
and conditions in few-show or zero-shot manner, while exhibiting scaling laws
that predict function improvement when increasing the pre-training scale. These
claims of excelling in different functions and tasks rely on measurements taken
across various sets of standardized benchmarks showing high scores for such
models. We demonstrate here a dramatic breakdown of function and reasoning
capabilities of state-of-the-art models trained at the largest available scales
which claim strong function, using a simple, short, conventional common sense
problem (AIW problem) formulated in concise natural language, easily solvable
by humans. The breakdown is dramatic, as models show strong fluctuations across
even slight problem variations that should not affect problem solving, also
expressing strong overconfidence in the wrong solutions, often backed up by
plausible sounding explanation-like confabulations. Various standard
interventions in an attempt to get the right solution, like various type of
enhanced prompting, or urging the models to reconsider the wrong solutions
again by multi step re-evaluation, fail. We take these initial observations to
the scientific and technological community to stimulate urgent re-assessment of
the claimed capabilities of current generation of LLMs. Such re-assessment also
requires common action to create standardized benchmarks that would allow
proper detection of such basic reasoning deficits that obviously manage to
remain undiscovered by current state-of-the-art evaluation procedures and
benchmarks. Code for reproducing experiments in the paper and raw experiments
data can be found at https://github.com/LAION-AI/AIW | null | cs.LG | [
"cs.LG",
"cs.AI",
"cs.CL"
] |
2409.08264 | HF | Windows Agent Arena: Evaluating Multi-Modal OS Agents at Scale | [
"Rogerio Bonatti",
"Dan Zhao",
"Francesco Bonacci",
"Dillon Dupont",
"Sara Abdali",
"Yinheng Li",
"Yadong Lu",
"Justin Wagle",
"Kazuhito Koishida",
"Arthur Bucker",
"Lawrence Jang",
"Zack Hui"
] | 2024-09-12 | Large language models (LLMs) show remarkable potential to act as computer
agents, enhancing human productivity and software accessibility in multi-modal
tasks that require planning and reasoning. However, measuring agent performance
in realistic environments remains a challenge since: (i) most benchmarks are
limited to specific modalities or domains (e.g. text-only, web navigation, Q&A,
coding) and (ii) full benchmark evaluations are slow (on order of magnitude of
days) given the multi-step sequential nature of tasks. To address these
challenges, we introduce the Windows Agent Arena: a reproducible, general
environment focusing exclusively on the Windows operating system (OS) where
agents can operate freely within a real Windows OS and use the same wide range
of applications, tools, and web browsers available to human users when solving
tasks. We adapt the OSWorld framework (Xie et al., 2024) to create 150+ diverse
Windows tasks across representative domains that require agent abilities in
planning, screen understanding, and tool usage. Our benchmark is scalable and
can be seamlessly parallelized in Azure for a full benchmark evaluation in as
little as 20 minutes. To demonstrate Windows Agent Arena's capabilities, we
also introduce a new multi-modal agent, Navi. Our agent achieves a success rate
of 19.5% in the Windows domain, compared to 74.5% performance of an unassisted
human. Navi also demonstrates strong performance on another popular web-based
benchmark, Mind2Web. We offer extensive quantitative and qualitative analysis
of Navi's performance, and provide insights into the opportunities for future
research in agent development and data generation using Windows Agent Arena.
Webpage: https://microsoft.github.io/WindowsAgentArena
Code: https://github.com/microsoft/WindowsAgentArena | null | cs.AI | [
"cs.AI"
] |
2210.03347 | AnswerAI | Pix2Struct: Screenshot Parsing as Pretraining for Visual Language Understanding | [
"Kenton Lee",
"Mandar Joshi",
"Iulia Turc",
"Hexiang Hu",
"Fangyu Liu",
"Julian Eisenschlos",
"Urvashi Khandelwal",
"Peter Shaw",
"Ming-Wei Chang",
"Kristina Toutanova"
] | 2022-10-07 | Visually-situated language is ubiquitous -- sources range from textbooks with
diagrams to web pages with images and tables, to mobile apps with buttons and
forms. Perhaps due to this diversity, previous work has typically relied on
domain-specific recipes with limited sharing of the underlying data, model
architectures, and objectives. We present Pix2Struct, a pretrained
image-to-text model for purely visual language understanding, which can be
finetuned on tasks containing visually-situated language. Pix2Struct is
pretrained by learning to parse masked screenshots of web pages into simplified
HTML. The web, with its richness of visual elements cleanly reflected in the
HTML structure, provides a large source of pretraining data well suited to the
diversity of downstream tasks. Intuitively, this objective subsumes common
pretraining signals such as OCR, language modeling, image captioning. In
addition to the novel pretraining strategy, we introduce a variable-resolution
input representation and a more flexible integration of language and vision
inputs, where language prompts such as questions are rendered directly on top
of the input image. For the first time, we show that a single pretrained model
can achieve state-of-the-art results in six out of nine tasks across four
domains: documents, illustrations, user interfaces, and natural images. | null | cs.CL | [
"cs.CL",
"cs.CV"
] |
2406.18125 | HF | ResumeAtlas: Revisiting Resume Classification with Large-Scale Datasets and Large Language Models | [
"Ahmed Heakl",
"Youssef Mohamed",
"Noran Mohamed",
"Aly Elsharkawy",
"Ahmed Zaky"
] | 2024-06-26 | The increasing reliance on online recruitment platforms coupled with the
adoption of AI technologies has highlighted the critical need for efficient
resume classification methods. However, challenges such as small datasets, lack
of standardized resume templates, and privacy concerns hinder the accuracy and
effectiveness of existing classification models. In this work, we address these
challenges by presenting a comprehensive approach to resume classification. We
curated a large-scale dataset of 13,389 resumes from diverse sources and
employed Large Language Models (LLMs) such as BERT and Gemma1.1 2B for
classification. Our results demonstrate significant improvements over
traditional machine learning approaches, with our best model achieving a top-1
accuracy of 92\% and a top-5 accuracy of 97.5\%. These findings underscore the
importance of dataset quality and advanced model architectures in enhancing the
accuracy and robustness of resume classification systems, thus advancing the
field of online recruitment practices. | null | cs.CL | [
"cs.CL",
"cs.AI",
"cs.CY",
"cs.LG"
] |
2408.02555 | HF | MeshAnything V2: Artist-Created Mesh Generation With Adjacent Mesh Tokenization | [
"Yiwen Chen",
"Yikai Wang",
"Yihao Luo",
"Zhengyi Wang",
"Zilong Chen",
"Jun Zhu",
"Chi Zhang",
"Guosheng Lin"
] | 2024-08-05 | We introduce MeshAnything V2, an autoregressive transformer that generates
Artist-Created Meshes (AM) aligned to given shapes. It can be integrated with
various 3D asset production pipelines to achieve high-quality, highly
controllable AM generation. MeshAnything V2 surpasses previous methods in both
efficiency and performance using models of the same size. These improvements
are due to our newly proposed mesh tokenization method: Adjacent Mesh
Tokenization (AMT). Different from previous methods that represent each face
with three vertices, AMT uses a single vertex whenever possible. Compared to
previous methods, AMT requires about half the token sequence length to
represent the same mesh in average. Furthermore, the token sequences from AMT
are more compact and well-structured, fundamentally benefiting AM generation.
Our extensive experiments show that AMT significantly improves the efficiency
and performance of AM generation. Project Page:
https://buaacyw.github.io/meshanything-v2/ | null | cs.CV | [
"cs.CV",
"cs.AI",
"cs.GR"
] |
2305.16349 | HF | Lexinvariant Language Models | [
"Qian Huang",
"Eric Zelikman",
"Sarah Li Chen",
"Yuhuai Wu",
"Gregory Valiant",
"Percy Liang"
] | 2023-05-24 | Token embeddings, a mapping from discrete lexical symbols to continuous
vectors, are at the heart of any language model (LM). However, lexical symbol
meanings can also be determined and even redefined by their structural role in
a long context. In this paper, we ask: is it possible for a language model to
be performant without \emph{any} fixed token embeddings? Such a language model
would have to rely entirely on the co-occurence and repetition of tokens in the
context rather than the \textit{a priori} identity of any token. To answer
this, we study \textit{lexinvariant}language models that are invariant to
lexical symbols and therefore do not need fixed token embeddings in practice.
First, we prove that we can construct a lexinvariant LM to converge to the true
language model at a uniform rate that is polynomial in terms of the context
length, with a constant factor that is sublinear in the vocabulary size.
Second, to build a lexinvariant LM, we simply encode tokens using random
Gaussian vectors, such that each token maps to the same representation within
each sequence but different representations across sequences. Empirically, we
demonstrate that it can indeed attain perplexity comparable to that of a
standard language model, given a sufficiently long context. We further explore
two properties of the lexinvariant language models: First, given text generated
from a substitution cipher of English, it implicitly implements Bayesian
in-context deciphering and infers the mapping to the underlying real tokens
with high accuracy. Second, it has on average 4X better accuracy over synthetic
in-context reasoning tasks. Finally, we discuss regularizing standard language
models towards lexinvariance and potential practical applications. | null | cs.CL | [
"cs.CL",
"cs.AI",
"cs.LG"
] |
2305.16213 | HF | ProlificDreamer: High-Fidelity and Diverse Text-to-3D Generation with Variational Score Distillation | [
"Zhengyi Wang",
"Cheng Lu",
"Yikai Wang",
"Fan Bao",
"Chongxuan Li",
"Hang Su",
"Jun Zhu"
] | 2023-05-25 | Score distillation sampling (SDS) has shown great promise in text-to-3D
generation by distilling pretrained large-scale text-to-image diffusion models,
but suffers from over-saturation, over-smoothing, and low-diversity problems.
In this work, we propose to model the 3D parameter as a random variable instead
of a constant as in SDS and present variational score distillation (VSD), a
principled particle-based variational framework to explain and address the
aforementioned issues in text-to-3D generation. We show that SDS is a special
case of VSD and leads to poor samples with both small and large CFG weights. In
comparison, VSD works well with various CFG weights as ancestral sampling from
diffusion models and simultaneously improves the diversity and sample quality
with a common CFG weight (i.e., $7.5$). We further present various improvements
in the design space for text-to-3D such as distillation time schedule and
density initialization, which are orthogonal to the distillation algorithm yet
not well explored. Our overall approach, dubbed ProlificDreamer, can generate
high rendering resolution (i.e., $512\times512$) and high-fidelity NeRF with
rich structure and complex effects (e.g., smoke and drops). Further,
initialized from NeRF, meshes fine-tuned by VSD are meticulously detailed and
photo-realistic. Project page and codes:
https://ml.cs.tsinghua.edu.cn/prolificdreamer/ | null | cs.LG | [
"cs.LG",
"cs.CV"
] |
2401.06751 | AnswerAI | The Unreasonable Effectiveness of Easy Training Data for Hard Tasks | [
"Peter Hase",
"Mohit Bansal",
"Peter Clark",
"Sarah Wiegreffe"
] | 2024-01-12 | How can we train models to perform well on hard test data when hard training
data is by definition difficult to label correctly? This question has been
termed the scalable oversight problem and has drawn increasing attention as
language models have continually improved. In this paper, we present the
surprising conclusion that current pretrained language models often generalize
relatively well from easy to hard data, even performing as well as oracle
models finetuned on hard data. We demonstrate this kind of easy-to-hard
generalization using simple finetuning methods like in-context learning, linear
classifier heads, and QLoRA for seven different measures of datapoint hardness,
including six empirically diverse human hardness measures (like grade level)
and one model-based measure (loss-based). Furthermore, we show that even if one
cares most about model performance on hard data, it can be better to collect
easy data rather than hard data for finetuning, since hard data is generally
noisier and costlier to collect. Our experiments use open models up to 70b in
size and four publicly available question-answering datasets with questions
ranging in difficulty from 3rd grade science questions to college level STEM
questions and general-knowledge trivia. We conclude that easy-to-hard
generalization in LMs is surprisingly strong for the tasks studied. Our code is
available at: https://github.com/allenai/easy-to-hard-generalization | null | cs.CL | [
"cs.CL",
"cs.AI",
"cs.LG"
] |
2401.17807 | HF | Advances in 3D Generation: A Survey | [
"Xiaoyu Li",
"Qi Zhang",
"Di Kang",
"Weihao Cheng",
"Yiming Gao",
"Jingbo Zhang",
"Zhihao Liang",
"Jing Liao",
"Yan-Pei Cao",
"Ying Shan"
] | 2024-01-31 | Generating 3D models lies at the core of computer graphics and has been the
focus of decades of research. With the emergence of advanced neural
representations and generative models, the field of 3D content generation is
developing rapidly, enabling the creation of increasingly high-quality and
diverse 3D models. The rapid growth of this field makes it difficult to stay
abreast of all recent developments. In this survey, we aim to introduce the
fundamental methodologies of 3D generation methods and establish a structured
roadmap, encompassing 3D representation, generation methods, datasets, and
corresponding applications. Specifically, we introduce the 3D representations
that serve as the backbone for 3D generation. Furthermore, we provide a
comprehensive overview of the rapidly growing literature on generation methods,
categorized by the type of algorithmic paradigms, including feedforward
generation, optimization-based generation, procedural generation, and
generative novel view synthesis. Lastly, we discuss available datasets,
applications, and open challenges. We hope this survey will help readers
explore this exciting topic and foster further advancements in the field of 3D
content generation. | null | cs.CV | [
"cs.CV",
"cs.GR"
] |
2405.14871 | HF | NeRF-Casting: Improved View-Dependent Appearance with Consistent Reflections | [
"Dor Verbin",
"Pratul P. Srinivasan",
"Peter Hedman",
"Ben Mildenhall",
"Benjamin Attal",
"Richard Szeliski",
"Jonathan T. Barron"
] | 2024-05-23 | Neural Radiance Fields (NeRFs) typically struggle to reconstruct and render
highly specular objects, whose appearance varies quickly with changes in
viewpoint. Recent works have improved NeRF's ability to render detailed
specular appearance of distant environment illumination, but are unable to
synthesize consistent reflections of closer content. Moreover, these techniques
rely on large computationally-expensive neural networks to model outgoing
radiance, which severely limits optimization and rendering speed. We address
these issues with an approach based on ray tracing: instead of querying an
expensive neural network for the outgoing view-dependent radiance at points
along each camera ray, our model casts reflection rays from these points and
traces them through the NeRF representation to render feature vectors which are
decoded into color using a small inexpensive network. We demonstrate that our
model outperforms prior methods for view synthesis of scenes containing shiny
objects, and that it is the only existing NeRF method that can synthesize
photorealistic specular appearance and reflections in real-world scenes, while
requiring comparable optimization time to current state-of-the-art view
synthesis models. | null | cs.CV | [
"cs.CV",
"cs.GR"
] |
2206.07682 | AnswerAI | Emergent Abilities of Large Language Models | [
"Jason Wei",
"Yi Tay",
"Rishi Bommasani",
"Colin Raffel",
"Barret Zoph",
"Sebastian Borgeaud",
"Dani Yogatama",
"Maarten Bosma",
"Denny Zhou",
"Donald Metzler",
"Ed H. Chi",
"Tatsunori Hashimoto",
"Oriol Vinyals",
"Percy Liang",
"Jeff Dean",
"William Fedus"
] | 2022-06-15 | Scaling up language models has been shown to predictably improve performance
and sample efficiency on a wide range of downstream tasks. This paper instead
discusses an unpredictable phenomenon that we refer to as emergent abilities of
large language models. We consider an ability to be emergent if it is not
present in smaller models but is present in larger models. Thus, emergent
abilities cannot be predicted simply by extrapolating the performance of
smaller models. The existence of such emergence implies that additional scaling
could further expand the range of capabilities of language models. | null | cs.CL | [
"cs.CL"
] |
2402.07871 | HF | Scaling Laws for Fine-Grained Mixture of Experts | [
"Jakub Krajewski",
"Jan Ludziejewski",
"Kamil Adamczewski",
"Maciej Pióro",
"Michał Krutul",
"Szymon Antoniak",
"Kamil Ciebiera",
"Krystian Król",
"Tomasz Odrzygóźdź",
"Piotr Sankowski",
"Marek Cygan",
"Sebastian Jaszczur"
] | 2024-02-12 | Mixture of Experts (MoE) models have emerged as a primary solution for
reducing the computational cost of Large Language Models. In this work, we
analyze their scaling properties, incorporating an expanded range of variables.
Specifically, we introduce a new hyperparameter, granularity, whose adjustment
enables precise control over the size of the experts. Building on this, we
establish scaling laws for fine-grained MoE, taking into account the number of
training tokens, model size, and granularity. Leveraging these laws, we derive
the optimal training configuration for a given computational budget. Our
findings not only show that MoE models consistently outperform dense
Transformers but also highlight that the efficiency gap between dense and MoE
models widens as we scale up the model size and training budget. Furthermore,
we demonstrate that the common practice of setting the size of experts in MoE
to mirror the feed-forward layer is not optimal at almost any computational
budget. | null | cs.LG | [
"cs.LG",
"cs.AI",
"cs.CL"
] |
2406.11831 | HF | Exploring the Role of Large Language Models in Prompt Encoding for Diffusion Models | [
"Bingqi Ma",
"Zhuofan Zong",
"Guanglu Song",
"Hongsheng Li",
"Yu Liu"
] | 2024-06-17 | Large language models (LLMs) based on decoder-only transformers have
demonstrated superior text understanding capabilities compared to CLIP and
T5-series models. However, the paradigm for utilizing current advanced LLMs in
text-to-image diffusion models remains to be explored. We observed an unusual
phenomenon: directly using a large language model as the prompt encoder
significantly degrades the prompt-following ability in image generation. We
identified two main obstacles behind this issue. One is the misalignment
between the next token prediction training in LLM and the requirement for
discriminative prompt features in diffusion models. The other is the intrinsic
positional bias introduced by the decoder-only architecture. To deal with this
issue, we propose a novel framework to fully harness the capabilities of LLMs.
Through the carefully designed usage guidance, we effectively enhance the text
representation capability for prompt encoding and eliminate its inherent
positional bias. This allows us to integrate state-of-the-art LLMs into the
text-to-image generation model flexibly. Furthermore, we also provide an
effective manner to fuse multiple LLMs into our framework. Considering the
excellent performance and scaling capabilities demonstrated by the transformer
architecture, we further design an LLM-Infused Diffusion Transformer (LI-DiT)
based on the framework. We conduct extensive experiments to validate LI-DiT
across model size and data size. Benefiting from the inherent ability of the
LLMs and our innovative designs, the prompt understanding performance of LI-DiT
easily surpasses state-of-the-art open-source models as well as mainstream
closed-source commercial models including Stable Diffusion 3, DALL-E 3, and
Midjourney V6. The powerful LI-DiT-10B will be available through the online
platform and API after further optimization and security checks. | null | cs.CV | [
"cs.CV"
] |
2409.11355 | HF | Fine-Tuning Image-Conditional Diffusion Models is Easier than You Think | [
"Gonzalo Martin Garcia",
"Karim Abou Zeid",
"Christian Schmidt",
"Daan de Geus",
"Alexander Hermans",
"Bastian Leibe"
] | 2024-09-17 | Recent work showed that large diffusion models can be reused as highly
precise monocular depth estimators by casting depth estimation as an
image-conditional image generation task. While the proposed model achieved
state-of-the-art results, high computational demands due to multi-step
inference limited its use in many scenarios. In this paper, we show that the
perceived inefficiency was caused by a flaw in the inference pipeline that has
so far gone unnoticed. The fixed model performs comparably to the best
previously reported configuration while being more than 200$\times$ faster. To
optimize for downstream task performance, we perform end-to-end fine-tuning on
top of the single-step model with task-specific losses and get a deterministic
model that outperforms all other diffusion-based depth and normal estimation
models on common zero-shot benchmarks. We surprisingly find that this
fine-tuning protocol also works directly on Stable Diffusion and achieves
comparable performance to current state-of-the-art diffusion-based depth and
normal estimation models, calling into question some of the conclusions drawn
from prior works. | null | cs.CV | [
"cs.CV"
] |
2309.03907 | HF | DrugChat: Towards Enabling ChatGPT-Like Capabilities on Drug Molecule Graphs | [
"Youwei Liang",
"Ruiyi Zhang",
"Li Zhang",
"Pengtao Xie"
] | 2023-05-18 | A ChatGPT-like system for drug compounds could be a game-changer in
pharmaceutical research, accelerating drug discovery, enhancing our
understanding of structure-activity relationships, guiding lead optimization,
aiding drug repurposing, reducing the failure rate, and streamlining clinical
trials. In this work, we make an initial attempt towards enabling ChatGPT-like
capabilities on drug molecule graphs, by developing a prototype system
DrugChat. DrugChat works in a similar way as ChatGPT. Users upload a compound
molecule graph and ask various questions about this compound. DrugChat will
answer these questions in a multi-turn, interactive manner. The DrugChat system
consists of a graph neural network (GNN), a large language model (LLM), and an
adaptor. The GNN takes a compound molecule graph as input and learns a
representation for this graph. The adaptor transforms the graph representation
produced by the GNN into another representation that is acceptable to the LLM.
The LLM takes the compound representation transformed by the adaptor and users'
questions about this compound as inputs and generates answers. All these
components are trained end-to-end. To train DrugChat, we collected instruction
tuning datasets which contain 10,834 drug compounds and 143,517 question-answer
pairs. The code and data is available at
\url{https://github.com/UCSD-AI4H/drugchat} | null | q-bio.BM | [
"q-bio.BM",
"cs.LG"
] |
2307.02486 | Both | LongNet: Scaling Transformers to 1,000,000,000 Tokens | [
"Jiayu Ding",
"Shuming Ma",
"Li Dong",
"Xingxing Zhang",
"Shaohan Huang",
"Wenhui Wang",
"Nanning Zheng",
"Furu Wei"
] | 2023-07-05 | Scaling sequence length has become a critical demand in the era of large
language models. However, existing methods struggle with either computational
complexity or model expressivity, rendering the maximum sequence length
restricted. To address this issue, we introduce LongNet, a Transformer variant
that can scale sequence length to more than 1 billion tokens, without
sacrificing the performance on shorter sequences. Specifically, we propose
dilated attention, which expands the attentive field exponentially as the
distance grows. LongNet has significant advantages: 1) it has a linear
computation complexity and a logarithm dependency between any two tokens in a
sequence; 2) it can be served as a distributed trainer for extremely long
sequences; 3) its dilated attention is a drop-in replacement for standard
attention, which can be seamlessly integrated with the existing
Transformer-based optimization. Experiments results demonstrate that LongNet
yields strong performance on both long-sequence modeling and general language
tasks. Our work opens up new possibilities for modeling very long sequences,
e.g., treating a whole corpus or even the entire Internet as a sequence. | null | cs.CL | [
"cs.CL",
"cs.LG"
] |
2305.03047 | Both | Principle-Driven Self-Alignment of Language Models from Scratch with Minimal Human Supervision | [
"Zhiqing Sun",
"Yikang Shen",
"Qinhong Zhou",
"Hongxin Zhang",
"Zhenfang Chen",
"David Cox",
"Yiming Yang",
"Chuang Gan"
] | 2023-05-04 | Recent AI-assistant agents, such as ChatGPT, predominantly rely on supervised
fine-tuning (SFT) with human annotations and reinforcement learning from human
feedback (RLHF) to align the output of large language models (LLMs) with human
intentions, ensuring they are helpful, ethical, and reliable. However, this
dependence can significantly constrain the true potential of AI-assistant
agents due to the high cost of obtaining human supervision and the related
issues on quality, reliability, diversity, self-consistency, and undesirable
biases. To address these challenges, we propose a novel approach called
SELF-ALIGN, which combines principle-driven reasoning and the generative power
of LLMs for the self-alignment of AI agents with minimal human supervision. Our
approach encompasses four stages: first, we use an LLM to generate synthetic
prompts, and a topic-guided method to augment the prompt diversity; second, we
use a small set of human-written principles for AI models to follow, and guide
the LLM through in-context learning from demonstrations (of principles
application) to produce helpful, ethical, and reliable responses to user's
queries; third, we fine-tune the original LLM with the high-quality
self-aligned responses so that the resulting model can generate desirable
responses for each query directly without the principle set and the
demonstrations anymore; and finally, we offer a refinement step to address the
issues of overly-brief or indirect responses. Applying SELF-ALIGN to the
LLaMA-65b base language model, we develop an AI assistant named Dromedary. With
fewer than 300 lines of human annotations (including < 200 seed prompts, 16
generic principles, and 5 exemplars for in-context learning). Dromedary
significantly surpasses the performance of several state-of-the-art AI systems,
including Text-Davinci-003 and Alpaca, on benchmark datasets with various
settings. | null | cs.LG | [
"cs.LG",
"cs.AI",
"cs.CL",
"cs.CY"
] |
2403.13447 | HF | HyperLLaVA: Dynamic Visual and Language Expert Tuning for Multimodal Large Language Models | [
"Wenqiao Zhang",
"Tianwei Lin",
"Jiang Liu",
"Fangxun Shu",
"Haoyuan Li",
"Lei Zhang",
"He Wanggui",
"Hao Zhou",
"Zheqi Lv",
"Hao Jiang",
"Juncheng Li",
"Siliang Tang",
"Yueting Zhuang"
] | 2024-03-20 | Recent advancements indicate that scaling up Multimodal Large Language Models
(MLLMs) effectively enhances performance on downstream multimodal tasks. The
prevailing MLLM paradigm, \emph{e.g.}, LLaVA, transforms visual features into
text-like tokens using a \emph{static} vision-language mapper, thereby enabling
\emph{static} LLMs to develop the capability to comprehend visual information
through visual instruction tuning. Although promising, the \emph{static} tuning
strategy~\footnote{The static tuning refers to the trained model with static
parameters.} that shares the same parameters may constrain performance across
different downstream multimodal tasks. In light of this, we introduce
HyperLLaVA, which involves adaptive tuning of the projector and LLM parameters,
in conjunction with a dynamic visual expert and language expert, respectively.
These experts are derived from HyperNetworks, which generates adaptive
parameter shifts through visual and language guidance, enabling dynamic
projector and LLM modeling in two-stage training.
Our experiments demonstrate that our solution significantly surpasses LLaVA
on existing MLLM benchmarks, including MME, MMBench, SEED-Bench, and
LLaVA-Bench. ~\footnote{Our project is available on the link
https://github.com/DCDmllm/HyperLLaVA}. | null | cs.AI | [
"cs.AI",
"cs.CL",
"cs.CV"
] |
2305.15798 | HF | BK-SDM: A Lightweight, Fast, and Cheap Version of Stable Diffusion | [
"Bo-Kyeong Kim",
"Hyoung-Kyu Song",
"Thibault Castells",
"Shinkook Choi"
] | 2023-05-25 | Text-to-image (T2I) generation with Stable Diffusion models (SDMs) involves
high computing demands due to billion-scale parameters. To enhance efficiency,
recent studies have reduced sampling steps and applied network quantization
while retaining the original architectures. The lack of architectural reduction
attempts may stem from worries over expensive retraining for such massive
models. In this work, we uncover the surprising potential of block pruning and
feature distillation for low-cost general-purpose T2I. By removing several
residual and attention blocks from the U-Net of SDMs, we achieve 30%~50%
reduction in model size, MACs, and latency. We show that distillation
retraining is effective even under limited resources: using only 13 A100 days
and a tiny dataset, our compact models can imitate the original SDMs (v1.4 and
v2.1-base with over 6,000 A100 days). Benefiting from the transferred
knowledge, our BK-SDMs deliver competitive results on zero-shot MS-COCO against
larger multi-billion parameter models. We further demonstrate the applicability
of our lightweight backbones in personalized generation and image-to-image
translation. Deployment of our models on edge devices attains 4-second
inference. We hope this work can help build small yet powerful diffusion models
with feasible training budgets. Code and models can be found at:
https://github.com/Nota-NetsPresso/BK-SDM | null | cs.LG | [
"cs.LG"
] |
2401.14405 | HF | Multimodal Pathway: Improve Transformers with Irrelevant Data from Other Modalities | [
"Yiyuan Zhang",
"Xiaohan Ding",
"Kaixiong Gong",
"Yixiao Ge",
"Ying Shan",
"Xiangyu Yue"
] | 2024-01-25 | We propose to improve transformers of a specific modality with irrelevant
data from other modalities, e.g., improve an ImageNet model with audio or point
cloud datasets. We would like to highlight that the data samples of the target
modality are irrelevant to the other modalities, which distinguishes our method
from other works utilizing paired (e.g., CLIP) or interleaved data of different
modalities. We propose a methodology named Multimodal Pathway - given a target
modality and a transformer designed for it, we use an auxiliary transformer
trained with data of another modality and construct pathways to connect
components of the two models so that data of the target modality can be
processed by both models. In this way, we utilize the universal
sequence-to-sequence modeling abilities of transformers obtained from two
modalities. As a concrete implementation, we use a modality-specific tokenizer
and task-specific head as usual but utilize the transformer blocks of the
auxiliary model via a proposed method named Cross-Modal Re-parameterization,
which exploits the auxiliary weights without any inference costs. On the image,
point cloud, video, and audio recognition tasks, we observe significant and
consistent performance improvements with irrelevant data from other modalities.
The code and models are available at https://github.com/AILab-CVC/M2PT. | null | cs.CV | [
"cs.CV",
"cs.AI",
"cs.LG"
] |
2306.16410 | HF | Towards Language Models That Can See: Computer Vision Through the LENS of Natural Language | [
"William Berrios",
"Gautam Mittal",
"Tristan Thrush",
"Douwe Kiela",
"Amanpreet Singh"
] | 2023-06-28 | We propose LENS, a modular approach for tackling computer vision problems by
leveraging the power of large language models (LLMs). Our system uses a
language model to reason over outputs from a set of independent and highly
descriptive vision modules that provide exhaustive information about an image.
We evaluate the approach on pure computer vision settings such as zero- and
few-shot object recognition, as well as on vision and language problems. LENS
can be applied to any off-the-shelf LLM and we find that the LLMs with LENS
perform highly competitively with much bigger and much more sophisticated
systems, without any multimodal training whatsoever. We open-source our code at
https://github.com/ContextualAI/lens and provide an interactive demo. | null | cs.CL | [
"cs.CL",
"cs.CV"
] |
2401.03003 | HF | AST-T5: Structure-Aware Pretraining for Code Generation and Understanding | [
"Linyuan Gong",
"Mostafa Elhoushi",
"Alvin Cheung"
] | 2024-01-05 | Large language models (LLMs) have made significant advancements in
code-related tasks, yet many LLMs treat code as simple sequences, neglecting
its structured nature. We introduce AST-T5, a novel pretraining paradigm that
leverages the Abstract Syntax Tree (AST) for enhanced code generation,
transpilation, and understanding. Using dynamic programming, our AST-Aware
Segmentation retains code structure, while our AST-Aware Span Corruption
objective equips the model to reconstruct various code structures. Unlike other
models, AST-T5 avoids intricate program analyses or architectural changes, so
it integrates seamlessly with any encoder-decoder Transformer. Evaluations show
that AST-T5 consistently outperforms similar-sized LMs across various
code-related tasks. Structure-awareness makes AST-T5 particularly powerful in
code-to-code tasks, surpassing CodeT5 by 2 points in exact match score for the
Bugs2Fix task and by 3 points in exact match score for Java-C# Transpilation in
CodeXGLUE. Our code and model are publicly available at
https://github.com/gonglinyuan/ast_t5. | null | cs.SE | [
"cs.SE",
"cs.CL",
"cs.LG"
] |
2307.03718 | HF | Frontier AI Regulation: Managing Emerging Risks to Public Safety | [
"Markus Anderljung",
"Joslyn Barnhart",
"Anton Korinek",
"Jade Leung",
"Cullen O'Keefe",
"Jess Whittlestone",
"Shahar Avin",
"Miles Brundage",
"Justin Bullock",
"Duncan Cass-Beggs",
"Ben Chang",
"Tantum Collins",
"Tim Fist",
"Gillian Hadfield",
"Alan Hayes",
"Lewis Ho",
"Sara Hooker",
"Eric Horvitz",
"Noam Kolt",
"Jonas Schuett",
"Yonadav Shavit",
"Divya Siddarth",
"Robert Trager",
"Kevin Wolf"
] | 2023-07-06 | Advanced AI models hold the promise of tremendous benefits for humanity, but
society needs to proactively manage the accompanying risks. In this paper, we
focus on what we term "frontier AI" models: highly capable foundation models
that could possess dangerous capabilities sufficient to pose severe risks to
public safety. Frontier AI models pose a distinct regulatory challenge:
dangerous capabilities can arise unexpectedly; it is difficult to robustly
prevent a deployed model from being misused; and, it is difficult to stop a
model's capabilities from proliferating broadly. To address these challenges,
at least three building blocks for the regulation of frontier models are
needed: (1) standard-setting processes to identify appropriate requirements for
frontier AI developers, (2) registration and reporting requirements to provide
regulators with visibility into frontier AI development processes, and (3)
mechanisms to ensure compliance with safety standards for the development and
deployment of frontier AI models. Industry self-regulation is an important
first step. However, wider societal discussions and government intervention
will be needed to create standards and to ensure compliance with them. We
consider several options to this end, including granting enforcement powers to
supervisory authorities and licensure regimes for frontier AI models. Finally,
we propose an initial set of safety standards. These include conducting
pre-deployment risk assessments; external scrutiny of model behavior; using
risk assessments to inform deployment decisions; and monitoring and responding
to new information about model capabilities and uses post-deployment. We hope
this discussion contributes to the broader conversation on how to balance
public safety risks and innovation benefits from advances at the frontier of AI
development. | null | cs.CY | [
"cs.CY",
"cs.AI"
] |
2409.02245 | HF | FastVoiceGrad: One-step Diffusion-Based Voice Conversion with Adversarial Conditional Diffusion Distillation | [
"Takuhiro Kaneko",
"Hirokazu Kameoka",
"Kou Tanaka",
"Yuto Kondo"
] | 2024-09-03 | Diffusion-based voice conversion (VC) techniques such as VoiceGrad have
attracted interest because of their high VC performance in terms of speech
quality and speaker similarity. However, a notable limitation is the slow
inference caused by the multi-step reverse diffusion. Therefore, we propose
FastVoiceGrad, a novel one-step diffusion-based VC that reduces the number of
iterations from dozens to one while inheriting the high VC performance of the
multi-step diffusion-based VC. We obtain the model using adversarial
conditional diffusion distillation (ACDD), leveraging the ability of generative
adversarial networks and diffusion models while reconsidering the initial
states in sampling. Evaluations of one-shot any-to-any VC demonstrate that
FastVoiceGrad achieves VC performance superior to or comparable to that of
previous multi-step diffusion-based VC while enhancing the inference speed.
Audio samples are available at
https://www.kecl.ntt.co.jp/people/kaneko.takuhiro/projects/fastvoicegrad/. | null | cs.SD | [
"cs.SD",
"cs.AI",
"cs.LG",
"eess.AS",
"stat.ML"
] |
2407.00367 | HF | SVG: 3D Stereoscopic Video Generation via Denoising Frame Matrix | [
"Peng Dai",
"Feitong Tan",
"Qiangeng Xu",
"David Futschik",
"Ruofei Du",
"Sean Fanello",
"Xiaojuan Qi",
"Yinda Zhang"
] | 2024-06-29 | Video generation models have demonstrated great capabilities of producing
impressive monocular videos, however, the generation of 3D stereoscopic video
remains under-explored. We propose a pose-free and training-free approach for
generating 3D stereoscopic videos using an off-the-shelf monocular video
generation model. Our method warps a generated monocular video into camera
views on stereoscopic baseline using estimated video depth, and employs a novel
frame matrix video inpainting framework. The framework leverages the video
generation model to inpaint frames observed from different timestamps and
views. This effective approach generates consistent and semantically coherent
stereoscopic videos without scene optimization or model fine-tuning. Moreover,
we develop a disocclusion boundary re-injection scheme that further improves
the quality of video inpainting by alleviating the negative effects propagated
from disoccluded areas in the latent space. We validate the efficacy of our
proposed method by conducting experiments on videos from various generative
models, including Sora [4 ], Lumiere [2], WALT [8 ], and Zeroscope [ 42]. The
experiments demonstrate that our method has a significant improvement over
previous methods. The code will be released at
\url{https://daipengwa.github.io/SVG_ProjectPage}. | null | cs.CV | [
"cs.CV"
] |
2404.19705 | AnswerAI | When to Retrieve: Teaching LLMs to Utilize Information Retrieval Effectively | [
"Tiziano Labruna",
"Jon Ander Campos",
"Gorka Azkune"
] | 2024-04-30 | In this paper, we demonstrate how Large Language Models (LLMs) can
effectively learn to use an off-the-shelf information retrieval (IR) system
specifically when additional context is required to answer a given question.
Given the performance of IR systems, the optimal strategy for question
answering does not always entail external information retrieval; rather, it
often involves leveraging the parametric memory of the LLM itself. Prior
research has identified this phenomenon in the PopQA dataset, wherein the most
popular questions are effectively addressed using the LLM's parametric memory,
while less popular ones require IR system usage. Following this, we propose a
tailored training approach for LLMs, leveraging existing open-domain question
answering datasets. Here, LLMs are trained to generate a special token, <RET>,
when they do not know the answer to a question. Our evaluation of the Adaptive
Retrieval LLM (Adapt-LLM) on the PopQA dataset showcases improvements over the
same LLM under three configurations: (i) retrieving information for all the
questions, (ii) using always the parametric memory of the LLM, and (iii) using
a popularity threshold to decide when to use a retriever. Through our analysis,
we demonstrate that Adapt-LLM is able to generate the <RET> token when it
determines that it does not know how to answer a question, indicating the need
for IR, while it achieves notably high accuracy levels when it chooses to rely
only on its parametric memory. | null | cs.CL | [
"cs.CL",
"cs.IR"
] |
End of preview. Expand
in Dataset Viewer.
README.md exists but content is empty.
Use the Edit dataset card button to edit it.
- Downloads last month
- 41