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.07514 | HF | BlendFields: Few-Shot Example-Driven Facial Modeling | [
"Kacper Kania",
"Stephan J. Garbin",
"Andrea Tagliasacchi",
"Virginia Estellers",
"Kwang Moo Yi",
"Julien Valentin",
"Tomasz Trzciński",
"Marek Kowalski"
] | 2023-05-12 | Generating faithful visualizations of human faces requires capturing both
coarse and fine-level details of the face geometry and appearance. Existing
methods are either data-driven, requiring an extensive corpus of data not
publicly accessible to the research community, or fail to capture fine details
because they rely on geometric face models that cannot represent fine-grained
details in texture with a mesh discretization and linear deformation designed
to model only a coarse face geometry. We introduce a method that bridges this
gap by drawing inspiration from traditional computer graphics techniques.
Unseen expressions are modeled by blending appearance from a sparse set of
extreme poses. This blending is performed by measuring local volumetric changes
in those expressions and locally reproducing their appearance whenever a
similar expression is performed at test time. We show that our method
generalizes to unseen expressions, adding fine-grained effects on top of smooth
volumetric deformations of a face, and demonstrate how it generalizes beyond
faces. | null | cs.CV | [
"cs.CV",
"cs.GR"
] |
2305.04790 | HF | MultiModal-GPT: A Vision and Language Model for Dialogue with Humans | [
"Tao Gong",
"Chengqi Lyu",
"Shilong Zhang",
"Yudong Wang",
"Miao Zheng",
"Qian Zhao",
"Kuikun Liu",
"Wenwei Zhang",
"Ping Luo",
"Kai Chen"
] | 2023-05-08 | We present a vision and language model named MultiModal-GPT to conduct
multi-round dialogue with humans. MultiModal-GPT can follow various
instructions from humans, such as generating a detailed caption, counting the
number of interested objects, and answering general questions from users.
MultiModal-GPT is parameter-efficiently fine-tuned from OpenFlamingo, with
Low-rank Adapter (LoRA) added both in the cross-attention part and the
self-attention part of the language model. We first construct instruction
templates with vision and language data for multi-modality instruction tuning
to make the model understand and follow human instructions. We find the quality
of training data is vital for the dialogue performance, where few data
containing short answers can lead the model to respond shortly to any
instructions. To further enhance the ability to chat with humans of the
MultiModal-GPT, we utilize language-only instruction-following data to train
the MultiModal-GPT jointly. The joint training of language-only and
visual-language instructions with the \emph{same} instruction template
effectively improves dialogue performance. Various demos show the ability of
continuous dialogue of MultiModal-GPT with humans. Code, dataset, and demo are
at https://github.com/open-mmlab/Multimodal-GPT | null | cs.CV | [
"cs.CV",
"cs.CL"
] |
2010.11934 | AnswerAI | mT5: A massively multilingual pre-trained text-to-text transformer | [
"Linting Xue",
"Noah Constant",
"Adam Roberts",
"Mihir Kale",
"Rami Al-Rfou",
"Aditya Siddhant",
"Aditya Barua",
"Colin Raffel"
] | 2020-10-22 | The recent "Text-to-Text Transfer Transformer" (T5) leveraged a unified
text-to-text format and scale to attain state-of-the-art results on a wide
variety of English-language NLP tasks. In this paper, we introduce mT5, a
multilingual variant of T5 that was pre-trained on a new Common Crawl-based
dataset covering 101 languages. We detail the design and modified training of
mT5 and demonstrate its state-of-the-art performance on many multilingual
benchmarks. We also describe a simple technique to prevent "accidental
translation" in the zero-shot setting, where a generative model chooses to
(partially) translate its prediction into the wrong language. All of the code
and model checkpoints used in this work are publicly available. | null | cs.CL | [
"cs.CL"
] |
2408.00118 | HF | Gemma 2: Improving Open Language Models at a Practical Size | [
"Gemma Team",
"Morgane Riviere",
"Shreya Pathak",
"Pier Giuseppe Sessa",
"Cassidy Hardin",
"Surya Bhupatiraju",
"Léonard Hussenot",
"Thomas Mesnard",
"Bobak Shahriari",
"Alexandre Ramé",
"Johan Ferret",
"Peter Liu",
"Pouya Tafti",
"Abe Friesen",
"Michelle Casbon",
"Sabela Ramos",
"Ravin Kumar",
"Charline Le Lan",
"Sammy Jerome",
"Anton Tsitsulin",
"Nino Vieillard",
"Piotr Stanczyk",
"Sertan Girgin",
"Nikola Momchev",
"Matt Hoffman",
"Shantanu Thakoor",
"Jean-Bastien Grill",
"Behnam Neyshabur",
"Olivier Bachem",
"Alanna Walton",
"Aliaksei Severyn",
"Alicia Parrish",
"Aliya Ahmad",
"Allen Hutchison",
"Alvin Abdagic",
"Amanda Carl",
"Amy Shen",
"Andy Brock",
"Andy Coenen",
"Anthony Laforge",
"Antonia Paterson",
"Ben Bastian",
"Bilal Piot",
"Bo Wu",
"Brandon Royal",
"Charlie Chen",
"Chintu Kumar",
"Chris Perry",
"Chris Welty",
"Christopher A. Choquette-Choo",
"Danila Sinopalnikov",
"David Weinberger",
"Dimple Vijaykumar",
"Dominika Rogozińska",
"Dustin Herbison",
"Elisa Bandy",
"Emma Wang",
"Eric Noland",
"Erica Moreira",
"Evan Senter",
"Evgenii Eltyshev",
"Francesco Visin",
"Gabriel Rasskin",
"Gary Wei",
"Glenn Cameron",
"Gus Martins",
"Hadi Hashemi",
"Hanna Klimczak-Plucińska",
"Harleen Batra",
"Harsh Dhand",
"Ivan Nardini",
"Jacinda Mein",
"Jack Zhou",
"James Svensson",
"Jeff Stanway",
"Jetha Chan",
"Jin Peng Zhou",
"Joana Carrasqueira",
"Joana Iljazi",
"Jocelyn Becker",
"Joe Fernandez",
"Joost van Amersfoort",
"Josh Gordon",
"Josh Lipschultz",
"Josh Newlan",
"Ju-yeong Ji",
"Kareem Mohamed",
"Kartikeya Badola",
"Kat Black",
"Katie Millican",
"Keelin McDonell",
"Kelvin Nguyen",
"Kiranbir Sodhia",
"Kish Greene",
"Lars Lowe Sjoesund",
"Lauren Usui",
"Laurent Sifre",
"Lena Heuermann",
"Leticia Lago",
"Lilly McNealus",
"Livio Baldini Soares",
"Logan Kilpatrick",
"Lucas Dixon",
"Luciano Martins",
"Machel Reid",
"Manvinder Singh",
"Mark Iverson",
"Martin Görner",
"Mat Velloso",
"Mateo Wirth",
"Matt Davidow",
"Matt Miller",
"Matthew Rahtz",
"Matthew Watson",
"Meg Risdal",
"Mehran Kazemi",
"Michael Moynihan",
"Ming Zhang",
"Minsuk Kahng",
"Minwoo Park",
"Mofi Rahman",
"Mohit Khatwani",
"Natalie Dao",
"Nenshad Bardoliwalla",
"Nesh Devanathan",
"Neta Dumai",
"Nilay Chauhan",
"Oscar Wahltinez",
"Pankil Botarda",
"Parker Barnes",
"Paul Barham",
"Paul Michel",
"Pengchong Jin",
"Petko Georgiev",
"Phil Culliton",
"Pradeep Kuppala",
"Ramona Comanescu",
"Ramona Merhej",
"Reena Jana",
"Reza Ardeshir Rokni",
"Rishabh Agarwal",
"Ryan Mullins",
"Samaneh Saadat",
"Sara Mc Carthy",
"Sarah Perrin",
"Sébastien M. R. Arnold",
"Sebastian Krause",
"Shengyang Dai",
"Shruti Garg",
"Shruti Sheth",
"Sue Ronstrom",
"Susan Chan",
"Timothy Jordan",
"Ting Yu",
"Tom Eccles",
"Tom Hennigan",
"Tomas Kocisky",
"Tulsee Doshi",
"Vihan Jain",
"Vikas Yadav",
"Vilobh Meshram",
"Vishal Dharmadhikari",
"Warren Barkley",
"Wei Wei",
"Wenming Ye",
"Woohyun Han",
"Woosuk Kwon",
"Xiang Xu",
"Zhe Shen",
"Zhitao Gong",
"Zichuan Wei",
"Victor Cotruta",
"Phoebe Kirk",
"Anand Rao",
"Minh Giang",
"Ludovic Peran",
"Tris Warkentin",
"Eli Collins",
"Joelle Barral",
"Zoubin Ghahramani",
"Raia Hadsell",
"D. Sculley",
"Jeanine Banks",
"Anca Dragan",
"Slav Petrov",
"Oriol Vinyals",
"Jeff Dean",
"Demis Hassabis",
"Koray Kavukcuoglu",
"Clement Farabet",
"Elena Buchatskaya",
"Sebastian Borgeaud",
"Noah Fiedel",
"Armand Joulin",
"Kathleen Kenealy",
"Robert Dadashi",
"Alek Andreev"
] | 2024-07-31 | In this work, we introduce Gemma 2, a new addition to the Gemma family of
lightweight, state-of-the-art open models, ranging in scale from 2 billion to
27 billion parameters. In this new version, we apply several known technical
modifications to the Transformer architecture, such as interleaving
local-global attentions (Beltagy et al., 2020a) and group-query attention
(Ainslie et al., 2023). We also train the 2B and 9B models with knowledge
distillation (Hinton et al., 2015) instead of next token prediction. The
resulting models deliver the best performance for their size, and even offer
competitive alternatives to models that are 2-3 times bigger. We release all
our models to the community. | null | cs.CL | [
"cs.CL",
"cs.AI"
] |
2311.04287 | HF | Holistic Evaluation of Text-To-Image Models | [
"Tony Lee",
"Michihiro Yasunaga",
"Chenlin Meng",
"Yifan Mai",
"Joon Sung Park",
"Agrim Gupta",
"Yunzhi Zhang",
"Deepak Narayanan",
"Hannah Benita Teufel",
"Marco Bellagente",
"Minguk Kang",
"Taesung Park",
"Jure Leskovec",
"Jun-Yan Zhu",
"Li Fei-Fei",
"Jiajun Wu",
"Stefano Ermon",
"Percy Liang"
] | 2023-11-07 | The stunning qualitative improvement of recent text-to-image models has led
to their widespread attention and adoption. However, we lack a comprehensive
quantitative understanding of their capabilities and risks. To fill this gap,
we introduce a new benchmark, Holistic Evaluation of Text-to-Image Models
(HEIM). Whereas previous evaluations focus mostly on text-image alignment and
image quality, we identify 12 aspects, including text-image alignment, image
quality, aesthetics, originality, reasoning, knowledge, bias, toxicity,
fairness, robustness, multilinguality, and efficiency. We curate 62 scenarios
encompassing these aspects and evaluate 26 state-of-the-art text-to-image
models on this benchmark. Our results reveal that no single model excels in all
aspects, with different models demonstrating different strengths. We release
the generated images and human evaluation results for full transparency at
https://crfm.stanford.edu/heim/v1.1.0 and the code at
https://github.com/stanford-crfm/helm, which is integrated with the HELM
codebase. | null | cs.CV | [
"cs.CV",
"cs.LG"
] |
2401.00909 | HF | Taming Mode Collapse in Score Distillation for Text-to-3D Generation | [
"Peihao Wang",
"Dejia Xu",
"Zhiwen Fan",
"Dilin Wang",
"Sreyas Mohan",
"Forrest Iandola",
"Rakesh Ranjan",
"Yilei Li",
"Qiang Liu",
"Zhangyang Wang",
"Vikas Chandra"
] | 2023-12-31 | Despite the remarkable performance of score distillation in text-to-3D
generation, such techniques notoriously suffer from view inconsistency issues,
also known as "Janus" artifact, where the generated objects fake each view with
multiple front faces. Although empirically effective methods have approached
this problem via score debiasing or prompt engineering, a more rigorous
perspective to explain and tackle this problem remains elusive. In this paper,
we reveal that the existing score distillation-based text-to-3D generation
frameworks degenerate to maximal likelihood seeking on each view independently
and thus suffer from the mode collapse problem, manifesting as the Janus
artifact in practice. To tame mode collapse, we improve score distillation by
re-establishing the entropy term in the corresponding variational objective,
which is applied to the distribution of rendered images. Maximizing the entropy
encourages diversity among different views in generated 3D assets, thereby
mitigating the Janus problem. Based on this new objective, we derive a new
update rule for 3D score distillation, dubbed Entropic Score Distillation
(ESD). We theoretically reveal that ESD can be simplified and implemented by
just adopting the classifier-free guidance trick upon variational score
distillation. Although embarrassingly straightforward, our extensive
experiments successfully demonstrate that ESD can be an effective treatment for
Janus artifacts in score distillation. | null | cs.CV | [
"cs.CV",
"cs.LG"
] |
2401.18075 | HF | CARFF: Conditional Auto-encoded Radiance Field for 3D Scene Forecasting | [
"Jiezhi Yang",
"Khushi Desai",
"Charles Packer",
"Harshil Bhatia",
"Nicholas Rhinehart",
"Rowan McAllister",
"Joseph Gonzalez"
] | 2024-01-31 | We propose CARFF, a method for predicting future 3D scenes given past
observations. Our method maps 2D ego-centric images to a distribution over
plausible 3D latent scene configurations and predicts the evolution of
hypothesized scenes through time. Our latents condition a global Neural
Radiance Field (NeRF) to represent a 3D scene model, enabling explainable
predictions and straightforward downstream planning. This approach models the
world as a POMDP and considers complex scenarios of uncertainty in
environmental states and dynamics. Specifically, we employ a two-stage training
of Pose-Conditional-VAE and NeRF to learn 3D representations, and
auto-regressively predict latent scene representations utilizing a mixture
density network. We demonstrate the utility of our method in scenarios using
the CARLA driving simulator, where CARFF enables efficient trajectory and
contingency planning in complex multi-agent autonomous driving scenarios
involving occlusions. | null | cs.CV | [
"cs.CV"
] |
2312.11392 | HF | SCEdit: Efficient and Controllable Image Diffusion Generation via Skip Connection Editing | [
"Zeyinzi Jiang",
"Chaojie Mao",
"Yulin Pan",
"Zhen Han",
"Jingfeng Zhang"
] | 2023-12-18 | Image diffusion models have been utilized in various tasks, such as
text-to-image generation and controllable image synthesis. Recent research has
introduced tuning methods that make subtle adjustments to the original models,
yielding promising results in specific adaptations of foundational generative
diffusion models. Rather than modifying the main backbone of the diffusion
model, we delve into the role of skip connection in U-Net and reveal that
hierarchical features aggregating long-distance information across encoder and
decoder make a significant impact on the content and quality of image
generation. Based on the observation, we propose an efficient generative tuning
framework, dubbed SCEdit, which integrates and edits Skip Connection using a
lightweight tuning module named SC-Tuner. Furthermore, the proposed framework
allows for straightforward extension to controllable image synthesis by
injecting different conditions with Controllable SC-Tuner, simplifying and
unifying the network design for multi-condition inputs. Our SCEdit
substantially reduces training parameters, memory usage, and computational
expense due to its lightweight tuners, with backward propagation only passing
to the decoder blocks. Extensive experiments conducted on text-to-image
generation and controllable image synthesis tasks demonstrate the superiority
of our method in terms of efficiency and performance. Project page:
\url{https://scedit.github.io/} | null | cs.CV | [
"cs.CV"
] |
2402.06187 | HF | Premier-TACO is a Few-Shot Policy Learner: Pretraining Multitask Representation via Temporal Action-Driven Contrastive Loss | [
"Ruijie Zheng",
"Yongyuan Liang",
"Xiyao Wang",
"Shuang Ma",
"Hal Daumé III",
"Huazhe Xu",
"John Langford",
"Praveen Palanisamy",
"Kalyan Shankar Basu",
"Furong Huang"
] | 2024-02-09 | We present Premier-TACO, a multitask feature representation learning approach
designed to improve few-shot policy learning efficiency in sequential
decision-making tasks. Premier-TACO leverages a subset of multitask offline
datasets for pretraining a general feature representation, which captures
critical environmental dynamics and is fine-tuned using minimal expert
demonstrations. It advances the temporal action contrastive learning (TACO)
objective, known for state-of-the-art results in visual control tasks, by
incorporating a novel negative example sampling strategy. This strategy is
crucial in significantly boosting TACO's computational efficiency, making
large-scale multitask offline pretraining feasible. Our extensive empirical
evaluation in a diverse set of continuous control benchmarks including Deepmind
Control Suite, MetaWorld, and LIBERO demonstrate Premier-TACO's effectiveness
in pretraining visual representations, significantly enhancing few-shot
imitation learning of novel tasks. Our code, pretraining data, as well as
pretrained model checkpoints will be released at
https://github.com/PremierTACO/premier-taco. Our project webpage is at
https://premiertaco.github.io. | null | cs.LG | [
"cs.LG",
"cs.AI",
"cs.RO"
] |
2305.16380 | HF | Scan and Snap: Understanding Training Dynamics and Token Composition in 1-layer Transformer | [
"Yuandong Tian",
"Yiping Wang",
"Beidi Chen",
"Simon Du"
] | 2023-05-25 | Transformer architecture has shown impressive performance in multiple
research domains and has become the backbone of many neural network models.
However, there is limited understanding on how it works. In particular, with a
simple predictive loss, how the representation emerges from the gradient
\emph{training dynamics} remains a mystery. In this paper, for 1-layer
transformer with one self-attention layer plus one decoder layer, we analyze
its SGD training dynamics for the task of next token prediction in a
mathematically rigorous manner. We open the black box of the dynamic process of
how the self-attention layer combines input tokens, and reveal the nature of
underlying inductive bias. More specifically, with the assumption (a) no
positional encoding, (b) long input sequence, and (c) the decoder layer learns
faster than the self-attention layer, we prove that self-attention acts as a
\emph{discriminative scanning algorithm}: starting from uniform attention, it
gradually attends more to distinct key tokens for a specific next token to be
predicted, and pays less attention to common key tokens that occur across
different next tokens. Among distinct tokens, it progressively drops attention
weights, following the order of low to high co-occurrence between the key and
the query token in the training set. Interestingly, this procedure does not
lead to winner-takes-all, but decelerates due to a \emph{phase transition} that
is controllable by the learning rates of the two layers, leaving (almost) fixed
token combination. We verify this \textbf{\emph{scan and snap}} dynamics on
synthetic and real-world data (WikiText). | null | cs.CL | [
"cs.CL",
"cs.AI",
"cs.LG"
] |
2305.07017 | HF | An Inverse Scaling Law for CLIP Training | [
"Xianhang Li",
"Zeyu Wang",
"Cihang Xie"
] | 2023-05-11 | CLIP, one of the pioneering foundation models that connect images and text,
has enabled many recent breakthroughs in computer vision. However, its
associated training cost is prohibitively high, imposing a significant barrier
to its widespread exploration. In this paper, we present a surprising finding
that there exists an inverse scaling law for CLIP training, whereby the larger
the image/text encoders used, the shorter the sequence length of image/text
tokens that can be applied in training. Moreover, we showcase that the strategy
for reducing image/text token length plays a crucial role in determining the
quality of this scaling law.
As a result of this finding, we are able to successfully train CLIP even with
limited computational resources. For example, using 8 A100 GPUs, our CLIP
models achieve zero-shot top-1 ImageNet-1k accuracies of 63.2% in ~2 days,
67.8% in ~3 days, and 69.3% in ~4 days. Our method also works well when scaling
up -- with G/14, we register a new record of 83.0% ImageNet-1k zero-shot
accuracy, and meanwhile accelerate the training by ~33x compared to its
OpenCLIP counterpart. By reducing the computation barrier associated with CLIP,
we hope to inspire more research in this field, particularly from academics.
Our code is available at https://github.com/UCSC-VLAA/CLIPA. | null | cs.CV | [
"cs.CV"
] |
2310.07554 | AnswerAI | Retrieve Anything To Augment Large Language Models | [
"Peitian Zhang",
"Shitao Xiao",
"Zheng Liu",
"Zhicheng Dou",
"Jian-Yun Nie"
] | 2023-10-11 | Large language models (LLMs) face significant challenges stemming from their
inherent limitations in knowledge, memory, alignment, and action. These
challenges cannot be addressed by LLMs alone, but should rely on assistance
from the external world, such as knowledge base, memory store, demonstration
examples, and tools. Retrieval augmentation stands as a vital mechanism for
bridging the gap between LLMs and the external assistance. However,
conventional methods encounter two pressing issues. On the one hand, the
general-purpose retrievers are not properly optimized for the retrieval
augmentation of LLMs. On the other hand, the task-specific retrievers lack the
required versatility, hindering their performance across the diverse retrieval
augmentation scenarios.
In this work, we present a novel approach, the LLM-Embedder, which
comprehensively supports the diverse retrieval augmentation needs of LLMs with
one unified embedding model. Training such a unified model is non-trivial, as
various retrieval tasks aim to capture distinct semantic relationships, often
subject to mutual interference. To address this challenge, we systematically
optimize our training methodology. This includes reward formulation based on
LLMs' feedback, the stabilization of knowledge distillation, multi-task
fine-tuning with explicit instructions, and homogeneous in-batch negative
sampling. These optimization strategies contribute to the outstanding empirical
performance of the LLM-Embedder. Notably, it yields remarkable enhancements in
retrieval augmentation for LLMs, surpassing both general-purpose and
task-specific retrievers in various evaluation scenarios. Our checkpoint and
source code are publicly available at
https://github.com/FlagOpen/FlagEmbedding. | null | cs.IR | [
"cs.IR"
] |
2305.09137 | HF | Pre-Training to Learn in Context | [
"Yuxian Gu",
"Li Dong",
"Furu Wei",
"Minlie Huang"
] | 2023-05-16 | In-context learning, where pre-trained language models learn to perform tasks
from task examples and instructions in their contexts, has attracted much
attention in the NLP community. However, the ability of in-context learning is
not fully exploited because language models are not explicitly trained to learn
in context. To this end, we propose PICL (Pre-training for In-Context
Learning), a framework to enhance the language models' in-context learning
ability by pre-training the model on a large collection of "intrinsic tasks" in
the general plain-text corpus using the simple language modeling objective.
PICL encourages the model to infer and perform tasks by conditioning on the
contexts while maintaining task generalization of pre-trained models. We
evaluate the in-context learning performance of the model trained with PICL on
seven widely-used text classification datasets and the Super-NaturalInstrctions
benchmark, which contains 100+ NLP tasks formulated to text generation. Our
experiments show that PICL is more effective and task-generalizable than a
range of baselines, outperforming larger language models with nearly 4x
parameters. The code is publicly available at https://github.com/thu-coai/PICL. | null | cs.CL | [
"cs.CL"
] |
2311.12229 | HF | NeuroPrompts: An Adaptive Framework to Optimize Prompts for Text-to-Image Generation | [
"Shachar Rosenman",
"Vasudev Lal",
"Phillip Howard"
] | 2023-11-20 | Despite impressive recent advances in text-to-image diffusion models,
obtaining high-quality images often requires prompt engineering by humans who
have developed expertise in using them. In this work, we present NeuroPrompts,
an adaptive framework that automatically enhances a user's prompt to improve
the quality of generations produced by text-to-image models. Our framework
utilizes constrained text decoding with a pre-trained language model that has
been adapted to generate prompts similar to those produced by human prompt
engineers. This approach enables higher-quality text-to-image generations and
provides user control over stylistic features via constraint set specification.
We demonstrate the utility of our framework by creating an interactive
application for prompt enhancement and image generation using Stable Diffusion.
Additionally, we conduct experiments utilizing a large dataset of
human-engineered prompts for text-to-image generation and show that our
approach automatically produces enhanced prompts that result in superior image
quality. We make our code and a screencast video demo of NeuroPrompts publicly
available. | null | cs.AI | [
"cs.AI"
] |
2401.07727 | HF | HexaGen3D: StableDiffusion is just one step away from Fast and Diverse Text-to-3D Generation | [
"Antoine Mercier",
"Ramin Nakhli",
"Mahesh Reddy",
"Rajeev Yasarla",
"Hong Cai",
"Fatih Porikli",
"Guillaume Berger"
] | 2024-01-15 | Despite the latest remarkable advances in generative modeling, efficient
generation of high-quality 3D assets from textual prompts remains a difficult
task. A key challenge lies in data scarcity: the most extensive 3D datasets
encompass merely millions of assets, while their 2D counterparts contain
billions of text-image pairs. To address this, we propose a novel approach
which harnesses the power of large, pretrained 2D diffusion models. More
specifically, our approach, HexaGen3D, fine-tunes a pretrained text-to-image
model to jointly predict 6 orthographic projections and the corresponding
latent triplane. We then decode these latents to generate a textured mesh.
HexaGen3D does not require per-sample optimization, and can infer high-quality
and diverse objects from textual prompts in 7 seconds, offering significantly
better quality-to-latency trade-offs when comparing to existing approaches.
Furthermore, HexaGen3D demonstrates strong generalization to new objects or
compositions. | null | cs.CV | [
"cs.CV"
] |
2407.02371 | HF | OpenVid-1M: A Large-Scale High-Quality Dataset for Text-to-video Generation | [
"Kepan Nan",
"Rui Xie",
"Penghao Zhou",
"Tiehan Fan",
"Zhenheng Yang",
"Zhijie Chen",
"Xiang Li",
"Jian Yang",
"Ying Tai"
] | 2024-07-02 | Text-to-video (T2V) generation has recently garnered significant attention
thanks to the large multi-modality model Sora. However, T2V generation still
faces two important challenges: 1) Lacking a precise open sourced high-quality
dataset. The previous popular video datasets, e.g. WebVid-10M and Panda-70M,
are either with low quality or too large for most research institutions.
Therefore, it is challenging but crucial to collect a precise high-quality
text-video pairs for T2V generation. 2) Ignoring to fully utilize textual
information. Recent T2V methods have focused on vision transformers, using a
simple cross attention module for video generation, which falls short of
thoroughly extracting semantic information from text prompt. To address these
issues, we introduce OpenVid-1M, a precise high-quality dataset with expressive
captions. This open-scenario dataset contains over 1 million text-video pairs,
facilitating research on T2V generation. Furthermore, we curate 433K 1080p
videos from OpenVid-1M to create OpenVidHD-0.4M, advancing high-definition
video generation. Additionally, we propose a novel Multi-modal Video Diffusion
Transformer (MVDiT) capable of mining both structure information from visual
tokens and semantic information from text tokens. Extensive experiments and
ablation studies verify the superiority of OpenVid-1M over previous datasets
and the effectiveness of our MVDiT. | null | cs.CV | [
"cs.CV"
] |
2205.09073 | AnswerAI | Dialog Inpainting: Turning Documents into Dialogs | [
"Zhuyun Dai",
"Arun Tejasvi Chaganty",
"Vincent Zhao",
"Aida Amini",
"Qazi Mamunur Rashid",
"Mike Green",
"Kelvin Guu"
] | 2022-05-18 | Many important questions (e.g. "How to eat healthier?") require conversation
to establish context and explore in depth. However, conversational question
answering (ConvQA) systems have long been stymied by scarce training data that
is expensive to collect. To address this problem, we propose a new technique
for synthetically generating diverse and high-quality dialog data: dialog
inpainting. Our approach takes the text of any document and transforms it into
a two-person dialog between the writer and an imagined reader: we treat
sentences from the article as utterances spoken by the writer, and then use a
dialog inpainter to predict what the imagined reader asked or said in between
each of the writer's utterances. By applying this approach to passages from
Wikipedia and the web, we produce WikiDialog and WebDialog, two datasets
totalling 19 million diverse information-seeking dialogs -- 1,000x larger than
the largest existing ConvQA dataset. Furthermore, human raters judge the answer
adequacy and conversationality of WikiDialog to be as good or better than
existing manually-collected datasets. Using our inpainted data to pre-train
ConvQA retrieval systems, we significantly advance state-of-the-art across
three benchmarks (QReCC, OR-QuAC, TREC CAsT) yielding up to 40% relative gains
on standard evaluation metrics. | null | cs.CL | [
"cs.CL",
"cs.AI"
] |
2105.14103 | AnswerAI | An Attention Free Transformer | [
"Shuangfei Zhai",
"Walter Talbott",
"Nitish Srivastava",
"Chen Huang",
"Hanlin Goh",
"Ruixiang Zhang",
"Josh Susskind"
] | 2021-05-28 | We introduce Attention Free Transformer (AFT), an efficient variant of
Transformers that eliminates the need for dot product self attention. In an AFT
layer, the key and value are first combined with a set of learned position
biases, the result of which is multiplied with the query in an element-wise
fashion. This new operation has a memory complexity linear w.r.t. both the
context size and the dimension of features, making it compatible to both large
input and model sizes. We also introduce AFT-local and AFT-conv, two model
variants that take advantage of the idea of locality and spatial weight sharing
while maintaining global connectivity. We conduct extensive experiments on two
autoregressive modeling tasks (CIFAR10 and Enwik8) as well as an image
recognition task (ImageNet-1K classification). We show that AFT demonstrates
competitive performance on all the benchmarks, while providing excellent
efficiency at the same time. | null | cs.LG | [
"cs.LG",
"cs.CL",
"cs.CV"
] |
2310.09753 | HF | When can transformers reason with abstract symbols? | [
"Enric Boix-Adsera",
"Omid Saremi",
"Emmanuel Abbe",
"Samy Bengio",
"Etai Littwin",
"Joshua Susskind"
] | 2023-10-15 | We investigate the capabilities of transformer models on relational reasoning
tasks. In these tasks, models are trained on a set of strings encoding abstract
relations, and are then tested out-of-distribution on data that contains
symbols that did not appear in the training dataset. We prove that for any
relational reasoning task in a large family of tasks, transformers learn the
abstract relations and generalize to the test set when trained by gradient
descent on sufficiently large quantities of training data. This is in contrast
to classical fully-connected networks, which we prove fail to learn to reason.
Our results inspire modifications of the transformer architecture that add only
two trainable parameters per head, and that we empirically demonstrate improve
data efficiency for learning to reason. | null | cs.CL | [
"cs.CL",
"cs.AI",
"cs.LG"
] |
2311.07463 | HF | MEGAVERSE: Benchmarking Large Language Models Across Languages, Modalities, Models and Tasks | [
"Sanchit Ahuja",
"Divyanshu Aggarwal",
"Varun Gumma",
"Ishaan Watts",
"Ashutosh Sathe",
"Millicent Ochieng",
"Rishav Hada",
"Prachi Jain",
"Maxamed Axmed",
"Kalika Bali",
"Sunayana Sitaram"
] | 2023-11-13 | There has been a surge in LLM evaluation research to understand LLM
capabilities and limitations. However, much of this research has been confined
to English, leaving LLM building and evaluation for non-English languages
relatively unexplored. Several new LLMs have been introduced recently,
necessitating their evaluation on non-English languages. This study aims to
perform a thorough evaluation of the non-English capabilities of SoTA LLMs
(GPT-3.5-Turbo, GPT-4, PaLM2, Gemini-Pro, Mistral, Llama2, and Gemma) by
comparing them on the same set of multilingual datasets. Our benchmark
comprises 22 datasets covering 83 languages, including low-resource African
languages. We also include two multimodal datasets in the benchmark and compare
the performance of LLaVA models, GPT-4-Vision and Gemini-Pro-Vision. Our
experiments show that larger models such as GPT-4, Gemini-Pro and PaLM2
outperform smaller models on various tasks, notably on low-resource languages,
with GPT-4 outperforming PaLM2 and Gemini-Pro on more datasets. We also perform
a study on data contamination and find that several models are likely to be
contaminated with multilingual evaluation benchmarks, necessitating approaches
to detect and handle contamination while assessing the multilingual performance
of LLMs. | null | cs.CL | [
"cs.CL"
] |
2306.05424 | HF | Video-ChatGPT: Towards Detailed Video Understanding via Large Vision and Language Models | [
"Muhammad Maaz",
"Hanoona Rasheed",
"Salman Khan",
"Fahad Shahbaz Khan"
] | 2023-06-08 | Conversation agents fueled by Large Language Models (LLMs) are providing a
new way to interact with visual data. While there have been initial attempts
for image-based conversation models, this work addresses the under-explored
field of \emph{video-based conversation} by introducing Video-ChatGPT. It is a
multimodal model that merges a video-adapted visual encoder with an LLM. The
resulting model is capable of understanding and generating detailed
conversations about videos. We introduce a new dataset of 100,000
video-instruction pairs used to train Video-ChatGPT acquired via manual and
semi-automated pipeline that is easily scalable and robust to label noise. We
also develop a quantitative evaluation framework for video-based dialogue
models to objectively analyze the strengths and weaknesses of video-based
dialogue models. Code: https://github.com/mbzuai-oryx/Video-ChatGPT. | null | cs.CV | [
"cs.CV"
] |
2403.08629 | HF | Scaling Up Dynamic Human-Scene Interaction Modeling | [
"Nan Jiang",
"Zhiyuan Zhang",
"Hongjie Li",
"Xiaoxuan Ma",
"Zan Wang",
"Yixin Chen",
"Tengyu Liu",
"Yixin Zhu",
"Siyuan Huang"
] | 2024-03-13 | Confronting the challenges of data scarcity and advanced motion synthesis in
human-scene interaction modeling, we introduce the TRUMANS dataset alongside a
novel HSI motion synthesis method. TRUMANS stands as the most comprehensive
motion-captured HSI dataset currently available, encompassing over 15 hours of
human interactions across 100 indoor scenes. It intricately captures whole-body
human motions and part-level object dynamics, focusing on the realism of
contact. This dataset is further scaled up by transforming physical
environments into exact virtual models and applying extensive augmentations to
appearance and motion for both humans and objects while maintaining interaction
fidelity. Utilizing TRUMANS, we devise a diffusion-based autoregressive model
that efficiently generates HSI sequences of any length, taking into account
both scene context and intended actions. In experiments, our approach shows
remarkable zero-shot generalizability on a range of 3D scene datasets (e.g.,
PROX, Replica, ScanNet, ScanNet++), producing motions that closely mimic
original motion-captured sequences, as confirmed by quantitative experiments
and human studies. | null | cs.CV | [
"cs.CV"
] |
2401.05033 | HF | Bootstrapping LLM-based Task-Oriented Dialogue Agents via Self-Talk | [
"Dennis Ulmer",
"Elman Mansimov",
"Kaixiang Lin",
"Justin Sun",
"Xibin Gao",
"Yi Zhang"
] | 2024-01-10 | Large language models (LLMs) are powerful dialogue agents, but specializing
them towards fulfilling a specific function can be challenging. Instructing
tuning, i.e. tuning models on instruction and sample responses generated by
humans (Ouyang et al., 2022), has proven as an effective method to do so, yet
requires a number of data samples that a) might not be available or b) costly
to generate. Furthermore, this cost increases when the goal is to make the LLM
follow a specific workflow within a dialogue instead of single instructions.
Inspired by the self-play technique in reinforcement learning and the use of
LLMs to simulate human agents, we propose a more effective method for data
collection through LLMs engaging in a conversation in various roles. This
approach generates a training data via "self-talk" of LLMs that can be refined
and utilized for supervised fine-tuning. We introduce an automated way to
measure the (partial) success of a dialogue. This metric is used to filter the
generated conversational data that is fed back in LLM for training. Based on
our automated and human evaluations of conversation quality, we demonstrate
that such self-talk data improves results. In addition, we examine the various
characteristics that showcase the quality of generated dialogues and how they
can be connected to their potential utility as training data. | null | cs.CL | [
"cs.CL",
"cs.AI"
] |
2112.08608 | AnswerAI | QuALITY: Question Answering with Long Input Texts, Yes! | [
"Richard Yuanzhe Pang",
"Alicia Parrish",
"Nitish Joshi",
"Nikita Nangia",
"Jason Phang",
"Angelica Chen",
"Vishakh Padmakumar",
"Johnny Ma",
"Jana Thompson",
"He He",
"Samuel R. Bowman"
] | 2021-12-16 | To enable building and testing models on long-document comprehension, we
introduce QuALITY, a multiple-choice QA dataset with context passages in
English that have an average length of about 5,000 tokens, much longer than
typical current models can process. Unlike in prior work with passages, our
questions are written and validated by contributors who have read the entire
passage, rather than relying on summaries or excerpts. In addition, only half
of the questions are answerable by annotators working under tight time
constraints, indicating that skimming and simple search are not enough to
consistently perform well. Our baseline models perform poorly on this task
(55.4%) and significantly lag behind human performance (93.5%). | null | cs.CL | [
"cs.CL"
] |
2408.14805 | HF | Platypus: A Generalized Specialist Model for Reading Text in Various Forms | [
"Peng Wang",
"Zhaohai Li",
"Jun Tang",
"Humen Zhong",
"Fei Huang",
"Zhibo Yang",
"Cong Yao"
] | 2024-08-27 | Reading text from images (either natural scenes or documents) has been a
long-standing research topic for decades, due to the high technical challenge
and wide application range. Previously, individual specialist models are
developed to tackle the sub-tasks of text reading (e.g., scene text
recognition, handwritten text recognition and mathematical expression
recognition). However, such specialist models usually cannot effectively
generalize across different sub-tasks. Recently, generalist models (such as
GPT-4V), trained on tremendous data in a unified way, have shown enormous
potential in reading text in various scenarios, but with the drawbacks of
limited accuracy and low efficiency. In this work, we propose Platypus, a
generalized specialist model for text reading. Specifically, Platypus combines
the best of both worlds: being able to recognize text of various forms with a
single unified architecture, while achieving excellent accuracy and high
efficiency. To better exploit the advantage of Platypus, we also construct a
text reading dataset (called Worms), the images of which are curated from
previous datasets and partially re-labeled. Experiments on standard benchmarks
demonstrate the effectiveness and superiority of the proposed Platypus model.
Model and data will be made publicly available at
https://github.com/AlibabaResearch/AdvancedLiterateMachinery/tree/main/OCR/Platypus. | null | cs.CV | [
"cs.CV"
] |
2402.18796 | HF | MOSAIC: A Modular System for Assistive and Interactive Cooking | [
"Huaxiaoyue Wang",
"Kushal Kedia",
"Juntao Ren",
"Rahma Abdullah",
"Atiksh Bhardwaj",
"Angela Chao",
"Kelly Y Chen",
"Nathaniel Chin",
"Prithwish Dan",
"Xinyi Fan",
"Gonzalo Gonzalez-Pumariega",
"Aditya Kompella",
"Maximus Adrian Pace",
"Yash Sharma",
"Xiangwan Sun",
"Neha Sunkara",
"Sanjiban Choudhury"
] | 2024-02-29 | We present MOSAIC, a modular architecture for home robots to perform complex
collaborative tasks, such as cooking with everyday users. MOSAIC tightly
collaborates with humans, interacts with users using natural language,
coordinates multiple robots, and manages an open vocabulary of everyday
objects. At its core, MOSAIC employs modularity: it leverages multiple
large-scale pre-trained models for general tasks like language and image
recognition, while using streamlined modules designed for task-specific
control. We extensively evaluate MOSAIC on 60 end-to-end trials where two
robots collaborate with a human user to cook a combination of 6 recipes. We
also extensively test individual modules with 180 episodes of visuomotor
picking, 60 episodes of human motion forecasting, and 46 online user
evaluations of the task planner. We show that MOSAIC is able to efficiently
collaborate with humans by running the overall system end-to-end with a real
human user, completing 68.3% (41/60) collaborative cooking trials of 6
different recipes with a subtask completion rate of 91.6%. Finally, we discuss
the limitations of the current system and exciting open challenges in this
domain. The project's website is at https://portal-cornell.github.io/MOSAIC/ | null | cs.RO | [
"cs.RO"
] |
2408.03822 | HF | Compact 3D Gaussian Splatting for Static and Dynamic Radiance Fields | [
"Joo Chan Lee",
"Daniel Rho",
"Xiangyu Sun",
"Jong Hwan Ko",
"Eunbyung Park"
] | 2024-08-07 | 3D Gaussian splatting (3DGS) has recently emerged as an alternative
representation that leverages a 3D Gaussian-based representation and introduces
an approximated volumetric rendering, achieving very fast rendering speed and
promising image quality. Furthermore, subsequent studies have successfully
extended 3DGS to dynamic 3D scenes, demonstrating its wide range of
applications. However, a significant drawback arises as 3DGS and its following
methods entail a substantial number of Gaussians to maintain the high fidelity
of the rendered images, which requires a large amount of memory and storage. To
address this critical issue, we place a specific emphasis on two key
objectives: reducing the number of Gaussian points without sacrificing
performance and compressing the Gaussian attributes, such as view-dependent
color and covariance. To this end, we propose a learnable mask strategy that
significantly reduces the number of Gaussians while preserving high
performance. In addition, we propose a compact but effective representation of
view-dependent color by employing a grid-based neural field rather than relying
on spherical harmonics. Finally, we learn codebooks to compactly represent the
geometric and temporal attributes by residual vector quantization. With model
compression techniques such as quantization and entropy coding, we consistently
show over 25x reduced storage and enhanced rendering speed compared to 3DGS for
static scenes, while maintaining the quality of the scene representation. For
dynamic scenes, our approach achieves more than 12x storage efficiency and
retains a high-quality reconstruction compared to the existing state-of-the-art
methods. Our work provides a comprehensive framework for 3D scene
representation, achieving high performance, fast training, compactness, and
real-time rendering. Our project page is available at
https://maincold2.github.io/c3dgs/. | null | cs.CV | [
"cs.CV"
] |
2311.08105 | Both | DiLoCo: Distributed Low-Communication Training of Language Models | [
"Arthur Douillard",
"Qixuan Feng",
"Andrei A. Rusu",
"Rachita Chhaparia",
"Yani Donchev",
"Adhiguna Kuncoro",
"Marc'Aurelio Ranzato",
"Arthur Szlam",
"Jiajun Shen"
] | 2023-11-14 | Large language models (LLM) have become a critical component in many
applications of machine learning. However, standard approaches to training LLM
require a large number of tightly interconnected accelerators, with devices
exchanging gradients and other intermediate states at each optimization step.
While it is difficult to build and maintain a single computing cluster hosting
many accelerators, it might be easier to find several computing clusters each
hosting a smaller number of devices. In this work, we propose a distributed
optimization algorithm, Distributed Low-Communication (DiLoCo), that enables
training of language models on islands of devices that are poorly connected.
The approach is a variant of federated averaging, where the number of inner
steps is large, the inner optimizer is AdamW, and the outer optimizer is
Nesterov momentum. On the widely used C4 dataset, we show that DiLoCo on 8
workers performs as well as fully synchronous optimization while communicating
500 times less. DiLoCo exhibits great robustness to the data distribution of
each worker. It is also robust to resources becoming unavailable over time, and
vice versa, it can seamlessly leverage resources that become available during
training. | null | cs.LG | [
"cs.LG",
"cs.CL"
] |
2401.13311 | HF | ConTextual: Evaluating Context-Sensitive Text-Rich Visual Reasoning in Large Multimodal Models | [
"Rohan Wadhawan",
"Hritik Bansal",
"Kai-Wei Chang",
"Nanyun Peng"
] | 2024-01-24 | Many real-world tasks require an agent to reason jointly over text and visual
objects, (e.g., navigating in public spaces), which we refer to as
context-sensitive text-rich visual reasoning. Specifically, these tasks require
an understanding of the context in which the text interacts with visual
elements within an image. However, there is a lack of existing datasets to
benchmark the state-of-the-art multimodal models' capability on
context-sensitive text-rich visual reasoning. In this paper, we introduce
ConTextual, a novel dataset featuring human-crafted instructions that require
context-sensitive reasoning for text-rich images. We conduct experiments to
assess the performance of 14 foundation models (GPT-4V, Gemini-Pro-Vision,
LLaVA-Next) and establish a human performance baseline. Further, we perform
human evaluations of the model responses and observe a significant performance
gap of 30.8% between GPT-4V (the current best-performing Large Multimodal
Model) and human performance. Our fine-grained analysis reveals that GPT-4V
encounters difficulties interpreting time-related data and infographics.
However, it demonstrates proficiency in comprehending abstract visual contexts
such as memes and quotes. Finally, our qualitative analysis uncovers various
factors contributing to poor performance including lack of precise visual
perception and hallucinations. Our dataset, code, and leaderboard can be found
on the project page https://con-textual.github.io/ | null | cs.CV | [
"cs.CV",
"cs.AI",
"cs.LG"
] |
2306.01841 | HF | Binary and Ternary Natural Language Generation | [
"Zechun Liu",
"Barlas Oguz",
"Aasish Pappu",
"Yangyang Shi",
"Raghuraman Krishnamoorthi"
] | 2023-06-02 | Ternary and binary neural networks enable multiplication-free computation and
promise multiple orders of magnitude efficiency gains over full-precision
networks if implemented on specialized hardware. However, since both the
parameter and the output space are highly discretized, such networks have
proven very difficult to optimize. The difficulties are compounded for the
class of transformer text generation models due to the sensitivity of the
attention operation to quantization and the noise-compounding effects of
autoregressive decoding in the high-cardinality output space. We approach the
problem with a mix of statistics-based quantization for the weights and elastic
quantization of the activations and demonstrate the first ternary and binary
transformer models on the downstream tasks of summarization and machine
translation. Our ternary BART base achieves an R1 score of 41 on the
CNN/DailyMail benchmark, which is merely 3.9 points behind the full model while
being 16x more efficient. Our binary model, while less accurate, achieves a
highly non-trivial score of 35.6. For machine translation, we achieved BLEU
scores of 21.7 and 17.6 on the WMT16 En-Ro benchmark, compared with a full
precision mBART model score of 26.8. We also compare our approach in the 8-bit
activation setting, where our ternary and even binary weight models can match
or outperform the best existing 8-bit weight models in the literature. Our code
and models are available at:
https://github.com/facebookresearch/Ternary_Binary_Transformer | null | cs.CL | [
"cs.CL"
] |
2406.08391 | AnswerAI | Large Language Models Must Be Taught to Know What They Don't Know | [
"Sanyam Kapoor",
"Nate Gruver",
"Manley Roberts",
"Katherine Collins",
"Arka Pal",
"Umang Bhatt",
"Adrian Weller",
"Samuel Dooley",
"Micah Goldblum",
"Andrew Gordon Wilson"
] | 2024-06-12 | When using large language models (LLMs) in high-stakes applications, we need
to know when we can trust their predictions. Some works argue that prompting
high-performance LLMs is sufficient to produce calibrated uncertainties, while
others introduce sampling methods that can be prohibitively expensive. In this
work, we first argue that prompting on its own is insufficient to achieve good
calibration and then show that fine-tuning on a small dataset of correct and
incorrect answers can create an uncertainty estimate with good generalization
and small computational overhead. We show that a thousand graded examples are
sufficient to outperform baseline methods and that training through the
features of a model is necessary for good performance and tractable for large
open-source models when using LoRA. We also investigate the mechanisms that
enable reliable LLM uncertainty estimation, finding that many models can be
used as general-purpose uncertainty estimators, applicable not just to their
own uncertainties but also the uncertainty of other models. Lastly, we show
that uncertainty estimates inform human use of LLMs in human-AI collaborative
settings through a user study. | null | cs.LG | [
"cs.LG",
"cs.AI",
"cs.CL",
"stat.ML"
] |
2407.14329 | HF | Efficient Audio Captioning with Encoder-Level Knowledge Distillation | [
"Xuenan Xu",
"Haohe Liu",
"Mengyue Wu",
"Wenwu Wang",
"Mark D. Plumbley"
] | 2024-07-19 | Significant improvement has been achieved in automated audio captioning (AAC)
with recent models. However, these models have become increasingly large as
their performance is enhanced. In this work, we propose a knowledge
distillation (KD) framework for AAC. Our analysis shows that in the
encoder-decoder based AAC models, it is more effective to distill knowledge
into the encoder as compared with the decoder. To this end, we incorporate
encoder-level KD loss into training, in addition to the standard supervised
loss and sequence-level KD loss. We investigate two encoder-level KD methods,
based on mean squared error (MSE) loss and contrastive loss, respectively.
Experimental results demonstrate that contrastive KD is more robust than MSE
KD, exhibiting superior performance in data-scarce situations. By leveraging
audio-only data into training in the KD framework, our student model achieves
competitive performance, with an inference speed that is 19 times
faster\footnote{An online demo is available at
\url{https://huggingface.co/spaces/wsntxxn/efficient_audio_captioning}}. | null | cs.SD | [
"cs.SD",
"eess.AS"
] |
1809.04506 | AnswerAI | Combined Reinforcement Learning via Abstract Representations | [
"Vincent François-Lavet",
"Yoshua Bengio",
"Doina Precup",
"Joelle Pineau"
] | 2018-09-12 | In the quest for efficient and robust reinforcement learning methods, both
model-free and model-based approaches offer advantages. In this paper we
propose a new way of explicitly bridging both approaches via a shared
low-dimensional learned encoding of the environment, meant to capture
summarizing abstractions. We show that the modularity brought by this approach
leads to good generalization while being computationally efficient, with
planning happening in a smaller latent state space. In addition, this approach
recovers a sufficient low-dimensional representation of the environment, which
opens up new strategies for interpretable AI, exploration and transfer
learning. | null | cs.LG | [
"cs.LG",
"cs.AI",
"stat.ML"
] |
2406.16979 | HF | Understanding and Diagnosing Deep Reinforcement Learning | [
"Ezgi Korkmaz"
] | 2024-06-23 | Deep neural policies have recently been installed in a diverse range of
settings, from biotechnology to automated financial systems. However, the
utilization of deep neural networks to approximate the value function leads to
concerns on the decision boundary stability, in particular, with regard to the
sensitivity of policy decision making to indiscernible, non-robust features due
to highly non-convex and complex deep neural manifolds. These concerns
constitute an obstruction to understanding the reasoning made by deep neural
policies, and their foundational limitations. Hence, it is crucial to develop
techniques that aim to understand the sensitivities in the learnt
representations of neural network policies. To achieve this we introduce a
theoretically founded method that provides a systematic analysis of the
unstable directions in the deep neural policy decision boundary across both
time and space. Through experiments in the Arcade Learning Environment (ALE),
we demonstrate the effectiveness of our technique for identifying correlated
directions of instability, and for measuring how sample shifts remold the set
of sensitive directions in the neural policy landscape. Most importantly, we
demonstrate that state-of-the-art robust training techniques yield learning of
disjoint unstable directions, with dramatically larger oscillations over time,
when compared to standard training. We believe our results reveal the
fundamental properties of the decision process made by reinforcement learning
policies, and can help in constructing reliable and robust deep neural
policies. | null | cs.LG | [
"cs.LG",
"cs.AI"
] |
2402.10128 | HF | GES: Generalized Exponential Splatting for Efficient Radiance Field Rendering | [
"Abdullah Hamdi",
"Luke Melas-Kyriazi",
"Jinjie Mai",
"Guocheng Qian",
"Ruoshi Liu",
"Carl Vondrick",
"Bernard Ghanem",
"Andrea Vedaldi"
] | 2024-02-15 | Advancements in 3D Gaussian Splatting have significantly accelerated 3D
reconstruction and generation. However, it may require a large number of
Gaussians, which creates a substantial memory footprint. This paper introduces
GES (Generalized Exponential Splatting), a novel representation that employs
Generalized Exponential Function (GEF) to model 3D scenes, requiring far fewer
particles to represent a scene and thus significantly outperforming Gaussian
Splatting methods in efficiency with a plug-and-play replacement ability for
Gaussian-based utilities. GES is validated theoretically and empirically in
both principled 1D setup and realistic 3D scenes.
It is shown to represent signals with sharp edges more accurately, which are
typically challenging for Gaussians due to their inherent low-pass
characteristics. Our empirical analysis demonstrates that GEF outperforms
Gaussians in fitting natural-occurring signals (e.g. squares, triangles, and
parabolic signals), thereby reducing the need for extensive splitting
operations that increase the memory footprint of Gaussian Splatting. With the
aid of a frequency-modulated loss, GES achieves competitive performance in
novel-view synthesis benchmarks while requiring less than half the memory
storage of Gaussian Splatting and increasing the rendering speed by up to 39%.
The code is available on the project website https://abdullahamdi.com/ges . | null | cs.CV | [
"cs.CV",
"cs.GR",
"cs.LG"
] |
2406.16797 | AnswerAI | Lottery Ticket Adaptation: Mitigating Destructive Interference in LLMs | [
"Ashwinee Panda",
"Berivan Isik",
"Xiangyu Qi",
"Sanmi Koyejo",
"Tsachy Weissman",
"Prateek Mittal"
] | 2024-06-24 | Existing methods for adapting large language models (LLMs) to new tasks are
not suited to multi-task adaptation because they modify all the model weights
-- causing destructive interference between tasks. The resulting effects, such
as catastrophic forgetting of earlier tasks, make it challenging to obtain good
performance on multiple tasks at the same time. To mitigate this, we propose
Lottery Ticket Adaptation (LoTA), a sparse adaptation method that identifies
and optimizes only a sparse subnetwork of the model. We evaluate LoTA on a wide
range of challenging tasks such as instruction following, reasoning, math, and
summarization. LoTA obtains better performance than full fine-tuning and
low-rank adaptation (LoRA), and maintains good performance even after training
on other tasks -- thus, avoiding catastrophic forgetting. By extracting and
fine-tuning over lottery tickets (or sparse task vectors), LoTA also enables
model merging over highly dissimilar tasks. Our code is made publicly available
at https://github.com/kiddyboots216/lottery-ticket-adaptation. | null | cs.CL | [
"cs.CL",
"cs.AI"
] |
2307.12560 | HF | Interpolating between Images with Diffusion Models | [
"Clinton J. Wang",
"Polina Golland"
] | 2023-07-24 | One little-explored frontier of image generation and editing is the task of
interpolating between two input images, a feature missing from all currently
deployed image generation pipelines. We argue that such a feature can expand
the creative applications of such models, and propose a method for zero-shot
interpolation using latent diffusion models. We apply interpolation in the
latent space at a sequence of decreasing noise levels, then perform denoising
conditioned on interpolated text embeddings derived from textual inversion and
(optionally) subject poses. For greater consistency, or to specify additional
criteria, we can generate several candidates and use CLIP to select the highest
quality image. We obtain convincing interpolations across diverse subject
poses, image styles, and image content, and show that standard quantitative
metrics such as FID are insufficient to measure the quality of an
interpolation. Code and data are available at
https://clintonjwang.github.io/interpolation. | null | cs.CV | [
"cs.CV"
] |
2307.08506 | HF | Does Visual Pretraining Help End-to-End Reasoning? | [
"Chen Sun",
"Calvin Luo",
"Xingyi Zhou",
"Anurag Arnab",
"Cordelia Schmid"
] | 2023-07-17 | We aim to investigate whether end-to-end learning of visual reasoning can be
achieved with general-purpose neural networks, with the help of visual
pretraining. A positive result would refute the common belief that explicit
visual abstraction (e.g. object detection) is essential for compositional
generalization on visual reasoning, and confirm the feasibility of a neural
network "generalist" to solve visual recognition and reasoning tasks. We
propose a simple and general self-supervised framework which "compresses" each
video frame into a small set of tokens with a transformer network, and
reconstructs the remaining frames based on the compressed temporal context. To
minimize the reconstruction loss, the network must learn a compact
representation for each image, as well as capture temporal dynamics and object
permanence from temporal context. We perform evaluation on two visual reasoning
benchmarks, CATER and ACRE. We observe that pretraining is essential to achieve
compositional generalization for end-to-end visual reasoning. Our proposed
framework outperforms traditional supervised pretraining, including image
classification and explicit object detection, by large margins. | null | cs.CV | [
"cs.CV",
"cs.AI",
"cs.LG"
] |
2309.00966 | HF | Compositional Diffusion-Based Continuous Constraint Solvers | [
"Zhutian Yang",
"Jiayuan Mao",
"Yilun Du",
"Jiajun Wu",
"Joshua B. Tenenbaum",
"Tomás Lozano-Pérez",
"Leslie Pack Kaelbling"
] | 2023-09-02 | This paper introduces an approach for learning to solve continuous constraint
satisfaction problems (CCSP) in robotic reasoning and planning. Previous
methods primarily rely on hand-engineering or learning generators for specific
constraint types and then rejecting the value assignments when other
constraints are violated. By contrast, our model, the compositional diffusion
continuous constraint solver (Diffusion-CCSP) derives global solutions to CCSPs
by representing them as factor graphs and combining the energies of diffusion
models trained to sample for individual constraint types. Diffusion-CCSP
exhibits strong generalization to novel combinations of known constraints, and
it can be integrated into a task and motion planner to devise long-horizon
plans that include actions with both discrete and continuous parameters.
Project site: https://diffusion-ccsp.github.io/ | null | cs.RO | [
"cs.RO",
"cs.AI",
"cs.LG"
] |
2305.11129 | HF | mLongT5: A Multilingual and Efficient Text-To-Text Transformer for Longer Sequences | [
"David Uthus",
"Santiago Ontañón",
"Joshua Ainslie",
"Mandy Guo"
] | 2023-05-18 | We present our work on developing a multilingual, efficient text-to-text
transformer that is suitable for handling long inputs. This model, called
mLongT5, builds upon the architecture of LongT5, while leveraging the
multilingual datasets used for pretraining mT5 and the pretraining tasks of
UL2. We evaluate this model on a variety of multilingual summarization and
question-answering tasks, and the results show stronger performance for mLongT5
when compared to existing multilingual models such as mBART or M-BERT. | null | cs.CL | [
"cs.CL"
] |
2308.01546 | HF | MusicLDM: Enhancing Novelty in Text-to-Music Generation Using Beat-Synchronous Mixup Strategies | [
"Ke Chen",
"Yusong Wu",
"Haohe Liu",
"Marianna Nezhurina",
"Taylor Berg-Kirkpatrick",
"Shlomo Dubnov"
] | 2023-08-03 | Diffusion models have shown promising results in cross-modal generation
tasks, including text-to-image and text-to-audio generation. However,
generating music, as a special type of audio, presents unique challenges due to
limited availability of music data and sensitive issues related to copyright
and plagiarism. In this paper, to tackle these challenges, we first construct a
state-of-the-art text-to-music model, MusicLDM, that adapts Stable Diffusion
and AudioLDM architectures to the music domain. We achieve this by retraining
the contrastive language-audio pretraining model (CLAP) and the Hifi-GAN
vocoder, as components of MusicLDM, on a collection of music data samples.
Then, to address the limitations of training data and to avoid plagiarism, we
leverage a beat tracking model and propose two different mixup strategies for
data augmentation: beat-synchronous audio mixup and beat-synchronous latent
mixup, which recombine training audio directly or via a latent embeddings
space, respectively. Such mixup strategies encourage the model to interpolate
between musical training samples and generate new music within the convex hull
of the training data, making the generated music more diverse while still
staying faithful to the corresponding style. In addition to popular evaluation
metrics, we design several new evaluation metrics based on CLAP score to
demonstrate that our proposed MusicLDM and beat-synchronous mixup strategies
improve both the quality and novelty of generated music, as well as the
correspondence between input text and generated music. | null | cs.SD | [
"cs.SD",
"cs.AI",
"cs.LG",
"cs.MM",
"eess.AS"
] |
2306.06101 | AnswerAI | Prodigy: An Expeditiously Adaptive Parameter-Free Learner | [
"Konstantin Mishchenko",
"Aaron Defazio"
] | 2023-06-09 | We consider the problem of estimating the learning rate in adaptive methods,
such as AdaGrad and Adam. We propose Prodigy, an algorithm that provably
estimates the distance to the solution $D$, which is needed to set the learning
rate optimally. At its core, Prodigy is a modification of the D-Adaptation
method for learning-rate-free learning. It improves upon the convergence rate
of D-Adaptation by a factor of $O(\sqrt{\log(D/d_0)})$, where $d_0$ is the
initial estimate of $D$. We test Prodigy on 12 common logistic-regression
benchmark datasets, VGG11 and ResNet-50 training on CIFAR10, ViT training on
Imagenet, LSTM training on IWSLT14, DLRM training on Criteo dataset, VarNet on
Knee MRI dataset, as well as RoBERTa and GPT transformer training on BookWiki.
Our experimental results show that our approach consistently outperforms
D-Adaptation and reaches test accuracy values close to that of hand-tuned Adam. | null | cs.LG | [
"cs.LG",
"cs.AI",
"math.OC",
"stat.ML"
] |
2309.10917 | HF | End-to-End Speech Recognition Contextualization with Large Language Models | [
"Egor Lakomkin",
"Chunyang Wu",
"Yassir Fathullah",
"Ozlem Kalinli",
"Michael L. Seltzer",
"Christian Fuegen"
] | 2023-09-19 | In recent years, Large Language Models (LLMs) have garnered significant
attention from the research community due to their exceptional performance and
generalization capabilities. In this paper, we introduce a novel method for
contextualizing speech recognition models incorporating LLMs. Our approach
casts speech recognition as a mixed-modal language modeling task based on a
pretrained LLM. We provide audio features, along with optional text tokens for
context, to train the system to complete transcriptions in a decoder-only
fashion. As a result, the system is implicitly incentivized to learn how to
leverage unstructured contextual information during training. Our empirical
results demonstrate a significant improvement in performance, with a 6% WER
reduction when additional textual context is provided. Moreover, we find that
our method performs competitively and improve by 7.5% WER overall and 17% WER
on rare words against a baseline contextualized RNN-T system that has been
trained on more than twenty five times larger speech dataset. Overall, we
demonstrate that by only adding a handful number of trainable parameters via
adapters, we can unlock contextualized speech recognition capability for the
pretrained LLM while keeping the same text-only input functionality. | null | eess.AS | [
"eess.AS",
"cs.AI",
"cs.CL",
"cs.LG",
"cs.SD"
] |
2409.02326 | HF | Arctic-SnowCoder: Demystifying High-Quality Data in Code Pretraining | [
"Yuxiang Wei",
"Hojae Han",
"Rajhans Samdani"
] | 2024-09-03 | Recent studies have been increasingly demonstrating that high-quality data is
crucial for effective pretraining of language models. However, the precise
definition of "high-quality" remains underexplored. Focusing on the code
domain, we introduce Arctic-SnowCoder-1.3B, a data-efficient base code model
pretrained on 555B tokens through three phases of progressively refined data:
(1) general pretraining with 500B standard-quality code tokens, preprocessed
through basic filtering, deduplication, and decontamination, (2) continued
pretraining with 50B high-quality tokens, selected from phase one by a
BERT-style quality annotator trained to distinguish good code from random data,
using positive examples drawn from high-quality code files, along with
instruction data from Magicoder and StarCoder2-Instruct, and (3) enhanced
pretraining with 5B synthetic data created by Llama-3.1-70B using phase two
data as seeds, adapting the Magicoder approach for pretraining. Despite being
trained on a limited dataset, Arctic-SnowCoder achieves state-of-the-art
performance on BigCodeBench, a coding benchmark focusing on practical and
challenging programming tasks, compared to similarly sized models trained on no
more than 1T tokens, outperforming Phi-1.5-1.3B by 36%. Across all evaluated
benchmarks, Arctic-SnowCoder-1.3B beats StarCoderBase-3B pretrained on 1T
tokens. Additionally, it matches the performance of leading small base code
models trained on trillions of tokens. For example, Arctic-SnowCoder-1.3B
surpasses StarCoder2-3B, pretrained on over 3.3T tokens, on HumanEval+, a
benchmark that evaluates function-level code generation, and remains
competitive on BigCodeBench. Our evaluation presents a comprehensive analysis
justifying various design choices for Arctic-SnowCoder. Most importantly, we
find that the key to high-quality data is its alignment with the distribution
of downstream applications. | null | cs.CL | [
"cs.CL",
"cs.AI"
] |
2311.10207 | AnswerAI | Stella Nera: Achieving 161 TOp/s/W with Multiplier-free DNN Acceleration based on Approximate Matrix Multiplication | [
"Jannis Schönleber",
"Lukas Cavigelli",
"Renzo Andri",
"Matteo Perotti",
"Luca Benini"
] | 2023-11-16 | From classical HPC to deep learning, MatMul is at the heart of today's
computing. The recent Maddness method approximates MatMul without the need for
multiplication by using a hash-based version of product quantization (PQ)
indexing into a look-up table (LUT). Stella Nera is the first Maddness
accelerator and it achieves 15x higher area efficiency (GMAC/s/mm^2) and more
than 25x higher energy efficiency (TMAC/s/W) than direct MatMul accelerators
implemented in the same technology. The hash function is a decision tree, which
allows for an efficient hardware implementation as the multiply-accumulate
operations are replaced by decision tree passes and LUT lookups. The entire
Maddness MatMul can be broken down into parts that allow an effective
implementation with small computing units and memories, allowing it to reach
extreme efficiency while remaining generically applicable for MatMul tasks. In
a commercial 14nm technology and scaled to 3nm, we achieve an energy efficiency
of 161 TOp/s/[email protected] with a Top-1 accuracy on CIFAR-10 of more than 92.5% using
ResNet9. | null | cs.AR | [
"cs.AR",
"cs.CV",
"cs.LG",
"stat.ML"
] |
2407.19918 | HF | FreeLong: Training-Free Long Video Generation with SpectralBlend Temporal Attention | [
"Yu Lu",
"Yuanzhi Liang",
"Linchao Zhu",
"Yi Yang"
] | 2024-07-29 | Video diffusion models have made substantial progress in various video
generation applications. However, training models for long video generation
tasks require significant computational and data resources, posing a challenge
to developing long video diffusion models. This paper investigates a
straightforward and training-free approach to extend an existing short video
diffusion model (e.g. pre-trained on 16-frame videos) for consistent long video
generation (e.g. 128 frames). Our preliminary observation has found that
directly applying the short video diffusion model to generate long videos can
lead to severe video quality degradation. Further investigation reveals that
this degradation is primarily due to the distortion of high-frequency
components in long videos, characterized by a decrease in spatial
high-frequency components and an increase in temporal high-frequency
components. Motivated by this, we propose a novel solution named FreeLong to
balance the frequency distribution of long video features during the denoising
process. FreeLong blends the low-frequency components of global video features,
which encapsulate the entire video sequence, with the high-frequency components
of local video features that focus on shorter subsequences of frames. This
approach maintains global consistency while incorporating diverse and
high-quality spatiotemporal details from local videos, enhancing both the
consistency and fidelity of long video generation. We evaluated FreeLong on
multiple base video diffusion models and observed significant improvements.
Additionally, our method supports coherent multi-prompt generation, ensuring
both visual coherence and seamless transitions between scenes. | null | cs.CV | [
"cs.CV"
] |
2210.09261 | AnswerAI | Challenging BIG-Bench Tasks and Whether Chain-of-Thought Can Solve Them | [
"Mirac Suzgun",
"Nathan Scales",
"Nathanael Schärli",
"Sebastian Gehrmann",
"Yi Tay",
"Hyung Won Chung",
"Aakanksha Chowdhery",
"Quoc V. Le",
"Ed H. Chi",
"Denny Zhou",
"Jason Wei"
] | 2022-10-17 | BIG-Bench (Srivastava et al., 2022) is a diverse evaluation suite that
focuses on tasks believed to be beyond the capabilities of current language
models. Language models have already made good progress on this benchmark, with
the best model in the BIG-Bench paper outperforming average reported
human-rater results on 65% of the BIG-Bench tasks via few-shot prompting. But
on what tasks do language models fall short of average human-rater performance,
and are those tasks actually unsolvable by current language models?
In this work, we focus on a suite of 23 challenging BIG-Bench tasks which we
call BIG-Bench Hard (BBH). These are the task for which prior language model
evaluations did not outperform the average human-rater. We find that applying
chain-of-thought (CoT) prompting to BBH tasks enables PaLM to surpass the
average human-rater performance on 10 of the 23 tasks, and Codex
(code-davinci-002) to surpass the average human-rater performance on 17 of the
23 tasks. Since many tasks in BBH require multi-step reasoning, few-shot
prompting without CoT, as done in the BIG-Bench evaluations (Srivastava et al.,
2022), substantially underestimates the best performance and capabilities of
language models, which is better captured via CoT prompting. As further
analysis, we explore the interaction between CoT and model scale on BBH,
finding that CoT enables emergent task performance on several BBH tasks with
otherwise flat scaling curves. | null | cs.CL | [
"cs.CL",
"cs.AI"
] |
2407.13976 | HF | PlacidDreamer: Advancing Harmony in Text-to-3D Generation | [
"Shuo Huang",
"Shikun Sun",
"Zixuan Wang",
"Xiaoyu Qin",
"Yanmin Xiong",
"Yuan Zhang",
"Pengfei Wan",
"Di Zhang",
"Jia Jia"
] | 2024-07-19 | Recently, text-to-3D generation has attracted significant attention,
resulting in notable performance enhancements. Previous methods utilize
end-to-end 3D generation models to initialize 3D Gaussians, multi-view
diffusion models to enforce multi-view consistency, and text-to-image diffusion
models to refine details with score distillation algorithms. However, these
methods exhibit two limitations. Firstly, they encounter conflicts in
generation directions since different models aim to produce diverse 3D assets.
Secondly, the issue of over-saturation in score distillation has not been
thoroughly investigated and solved. To address these limitations, we propose
PlacidDreamer, a text-to-3D framework that harmonizes initialization,
multi-view generation, and text-conditioned generation with a single multi-view
diffusion model, while simultaneously employing a novel score distillation
algorithm to achieve balanced saturation. To unify the generation direction, we
introduce the Latent-Plane module, a training-friendly plug-in extension that
enables multi-view diffusion models to provide fast geometry reconstruction for
initialization and enhanced multi-view images to personalize the text-to-image
diffusion model. To address the over-saturation problem, we propose to view
score distillation as a multi-objective optimization problem and introduce the
Balanced Score Distillation algorithm, which offers a Pareto Optimal solution
that achieves both rich details and balanced saturation. Extensive experiments
validate the outstanding capabilities of our PlacidDreamer. The code is
available at \url{https://github.com/HansenHuang0823/PlacidDreamer}. | null | cs.CV | [
"cs.CV",
"I.4.0"
] |
2305.08891 | Both | Common Diffusion Noise Schedules and Sample Steps are Flawed | [
"Shanchuan Lin",
"Bingchen Liu",
"Jiashi Li",
"Xiao Yang"
] | 2023-05-15 | We discover that common diffusion noise schedules do not enforce the last
timestep to have zero signal-to-noise ratio (SNR), and some implementations of
diffusion samplers do not start from the last timestep. Such designs are flawed
and do not reflect the fact that the model is given pure Gaussian noise at
inference, creating a discrepancy between training and inference. We show that
the flawed design causes real problems in existing implementations. In Stable
Diffusion, it severely limits the model to only generate images with medium
brightness and prevents it from generating very bright and dark samples. We
propose a few simple fixes: (1) rescale the noise schedule to enforce zero
terminal SNR; (2) train the model with v prediction; (3) change the sampler to
always start from the last timestep; (4) rescale classifier-free guidance to
prevent over-exposure. These simple changes ensure the diffusion process is
congruent between training and inference and allow the model to generate
samples more faithful to the original data distribution. | null | cs.CV | [
"cs.CV"
] |
2406.12824 | HF | From RAGs to rich parameters: Probing how language models utilize external knowledge over parametric information for factual queries | [
"Hitesh Wadhwa",
"Rahul Seetharaman",
"Somyaa Aggarwal",
"Reshmi Ghosh",
"Samyadeep Basu",
"Soundararajan Srinivasan",
"Wenlong Zhao",
"Shreyas Chaudhari",
"Ehsan Aghazadeh"
] | 2024-06-18 | Retrieval Augmented Generation (RAG) enriches the ability of language models
to reason using external context to augment responses for a given user prompt.
This approach has risen in popularity due to practical applications in various
applications of language models in search, question/answering, and chat-bots.
However, the exact nature of how this approach works isn't clearly understood.
In this paper, we mechanistically examine the RAG pipeline to highlight that
language models take shortcut and have a strong bias towards utilizing only the
context information to answer the question, while relying minimally on their
parametric memory. We probe this mechanistic behavior in language models with:
(i) Causal Mediation Analysis to show that the parametric memory is minimally
utilized when answering a question and (ii) Attention Contributions and
Knockouts to show that the last token residual stream do not get enriched from
the subject token in the question, but gets enriched from other informative
tokens in the context. We find this pronounced shortcut behaviour true across
both LLaMa and Phi family of models. | null | cs.CL | [
"cs.CL",
"cs.AI"
] |
2405.12981 | Both | Reducing Transformer Key-Value Cache Size with Cross-Layer Attention | [
"William Brandon",
"Mayank Mishra",
"Aniruddha Nrusimha",
"Rameswar Panda",
"Jonathan Ragan Kelly"
] | 2024-05-21 | Key-value (KV) caching plays an essential role in accelerating decoding for
transformer-based autoregressive large language models (LLMs). However, the
amount of memory required to store the KV cache can become prohibitive at long
sequence lengths and large batch sizes. Since the invention of the transformer,
two of the most effective interventions discovered for reducing the size of the
KV cache have been Multi-Query Attention (MQA) and its generalization,
Grouped-Query Attention (GQA). MQA and GQA both modify the design of the
attention block so that multiple query heads can share a single key/value head,
reducing the number of distinct key/value heads by a large factor while only
minimally degrading accuracy. In this paper, we show that it is possible to
take Multi-Query Attention a step further by also sharing key and value heads
between adjacent layers, yielding a new attention design we call Cross-Layer
Attention (CLA). With CLA, we find that it is possible to reduce the size of
the KV cache by another 2x while maintaining nearly the same accuracy as
unmodified MQA. In experiments training 1B- and 3B-parameter models from
scratch, we demonstrate that CLA provides a Pareto improvement over the
memory/accuracy tradeoffs which are possible with traditional MQA, enabling
inference with longer sequence lengths and larger batch sizes than would
otherwise be possible | null | cs.LG | [
"cs.LG",
"cs.CL"
] |
2404.16790 | HF | SEED-Bench-2-Plus: Benchmarking Multimodal Large Language Models with Text-Rich Visual Comprehension | [
"Bohao Li",
"Yuying Ge",
"Yi Chen",
"Yixiao Ge",
"Ruimao Zhang",
"Ying Shan"
] | 2024-04-25 | Comprehending text-rich visual content is paramount for the practical
application of Multimodal Large Language Models (MLLMs), since text-rich
scenarios are ubiquitous in the real world, which are characterized by the
presence of extensive texts embedded within images. Recently, the advent of
MLLMs with impressive versatility has raised the bar for what we can expect
from MLLMs. However, their proficiency in text-rich scenarios has yet to be
comprehensively and objectively assessed, since current MLLM benchmarks
primarily focus on evaluating general visual comprehension. In this work, we
introduce SEED-Bench-2-Plus, a benchmark specifically designed for evaluating
\textbf{text-rich visual comprehension} of MLLMs. Our benchmark comprises 2.3K
multiple-choice questions with precise human annotations, spanning three broad
categories: Charts, Maps, and Webs, each of which covers a wide spectrum of
text-rich scenarios in the real world. These categories, due to their inherent
complexity and diversity, effectively simulate real-world text-rich
environments. We further conduct a thorough evaluation involving 34 prominent
MLLMs (including GPT-4V, Gemini-Pro-Vision and Claude-3-Opus) and emphasize the
current limitations of MLLMs in text-rich visual comprehension. We hope that
our work can serve as a valuable addition to existing MLLM benchmarks,
providing insightful observations and inspiring further research in the area of
text-rich visual comprehension with MLLMs. The dataset and evaluation code can
be accessed at https://github.com/AILab-CVC/SEED-Bench. | null | cs.CV | [
"cs.CV"
] |
2306.16869 | HF | NeuralFuse: Learning to Recover the Accuracy of Access-Limited Neural Network Inference in Low-Voltage Regimes | [
"Hao-Lun Sun",
"Lei Hsiung",
"Nandhini Chandramoorthy",
"Pin-Yu Chen",
"Tsung-Yi Ho"
] | 2023-06-29 | Deep neural networks (DNNs) have become ubiquitous in machine learning, but
their energy consumption remains a notable issue. Lowering the supply voltage
is an effective strategy for reducing energy consumption. However, aggressively
scaling down the supply voltage can lead to accuracy degradation due to random
bit flips in static random access memory (SRAM) where model parameters are
stored. To address this challenge, we introduce NeuralFuse, a novel add-on
module that addresses the accuracy-energy tradeoff in low-voltage regimes by
learning input transformations to generate error-resistant data
representations. NeuralFuse protects DNN accuracy in both nominal and
low-voltage scenarios. Moreover, NeuralFuse is easy to implement and can be
readily applied to DNNs with limited access, such as non-configurable hardware
or remote access to cloud-based APIs. Experimental results demonstrate that, at
a 1% bit error rate, NeuralFuse can reduce SRAM memory access energy by up to
24% while recovering accuracy by up to 57%. To the best of our knowledge, this
is the first model-agnostic approach (i.e., no model retraining) to address
low-voltage-induced bit errors. The source code is available at
https://github.com/IBM/NeuralFuse. | null | cs.LG | [
"cs.LG",
"cs.AR",
"cs.CV"
] |
2407.16680 | HF | A Simulation Benchmark for Autonomous Racing with Large-Scale Human Data | [
"Adrian Remonda",
"Nicklas Hansen",
"Ayoub Raji",
"Nicola Musiu",
"Marko Bertogna",
"Eduardo Veas",
"Xiaolong Wang"
] | 2024-07-23 | Despite the availability of international prize-money competitions, scaled
vehicles, and simulation environments, research on autonomous racing and the
control of sports cars operating close to the limit of handling has been
limited by the high costs of vehicle acquisition and management, as well as the
limited physics accuracy of open-source simulators. In this paper, we propose a
racing simulation platform based on the simulator Assetto Corsa to test,
validate, and benchmark autonomous driving algorithms, including reinforcement
learning (RL) and classical Model Predictive Control (MPC), in realistic and
challenging scenarios. Our contributions include the development of this
simulation platform, several state-of-the-art algorithms tailored to the racing
environment, and a comprehensive dataset collected from human drivers.
Additionally, we evaluate algorithms in the offline RL setting. All the
necessary code (including environment and benchmarks), working examples,
datasets, and videos are publicly released and can be found at:
https://assetto-corsa-gym.github.io | null | cs.RO | [
"cs.RO",
"cs.LG"
] |
2404.14687 | HF | Pegasus-v1 Technical Report | [
"Raehyuk Jung",
"Hyojun Go",
"Jaehyuk Yi",
"Jiho Jang",
"Daniel Kim",
"Jay Suh",
"Aiden Lee",
"Cooper Han",
"Jae Lee",
"Jeff Kim",
"Jin-Young Kim",
"Junwan Kim",
"Kyle Park",
"Lucas Lee",
"Mars Ha",
"Minjoon Seo",
"Abraham Jo",
"Ed Park",
"Hassan Kianinejad",
"SJ Kim",
"Tony Moon",
"Wade Jeong",
"Andrei Popescu",
"Esther Kim",
"EK Yoon",
"Genie Heo",
"Henry Choi",
"Jenna Kang",
"Kevin Han",
"Noah Seo",
"Sunny Nguyen",
"Ryan Won",
"Yeonhoo Park",
"Anthony Giuliani",
"Dave Chung",
"Hans Yoon",
"James Le",
"Jenny Ahn",
"June Lee",
"Maninder Saini",
"Meredith Sanders",
"Soyoung Lee",
"Sue Kim",
"Travis Couture"
] | 2024-04-23 | This technical report introduces Pegasus-1, a multimodal language model
specialized in video content understanding and interaction through natural
language. Pegasus-1 is designed to address the unique challenges posed by video
data, such as interpreting spatiotemporal information, to offer nuanced video
content comprehension across various lengths. This technical report overviews
Pegasus-1's architecture, training strategies, and its performance in
benchmarks on video conversation, zero-shot video question answering, and video
summarization. We also explore qualitative characteristics of Pegasus-1 ,
demonstrating its capabilities as well as its limitations, in order to provide
readers a balanced view of its current state and its future direction. | null | cs.MM | [
"cs.MM",
"cs.AI",
"cs.CL",
"cs.CV"
] |
2306.13588 | HF | System-Level Natural Language Feedback | [
"Weizhe Yuan",
"Kyunghyun Cho",
"Jason Weston"
] | 2023-06-23 | Natural language (NL) feedback offers rich insights into user experience.
While existing studies focus on an instance-level approach, where feedback is
used to refine specific examples, we introduce a framework for system-level use
of NL feedback. We show how to use feedback to formalize system-level design
decisions in a human-in-the-loop-process -- in order to produce better models.
In particular this is done through: (i) metric design for tasks; and (ii)
language model prompt design for refining model responses. We conduct two case
studies of this approach for improving search query and dialog response
generation, demonstrating the effectiveness of system-level feedback. We show
the combination of system-level and instance-level feedback brings further
gains, and that human written instance-level feedback results in more grounded
refinements than GPT-3.5 written ones, underlying the importance of human
feedback for building systems. We release our code and data at
https://github.com/yyy-Apple/Sys-NL-Feedback. | null | cs.CL | [
"cs.CL",
"cs.AI"
] |
2407.08711 | HF | OmniNOCS: A unified NOCS dataset and model for 3D lifting of 2D objects | [
"Akshay Krishnan",
"Abhijit Kundu",
"Kevis-Kokitsi Maninis",
"James Hays",
"Matthew Brown"
] | 2024-07-11 | We propose OmniNOCS, a large-scale monocular dataset with 3D Normalized
Object Coordinate Space (NOCS) maps, object masks, and 3D bounding box
annotations for indoor and outdoor scenes. OmniNOCS has 20 times more object
classes and 200 times more instances than existing NOCS datasets (NOCS-Real275,
Wild6D). We use OmniNOCS to train a novel, transformer-based monocular NOCS
prediction model (NOCSformer) that can predict accurate NOCS, instance masks
and poses from 2D object detections across diverse classes. It is the first
NOCS model that can generalize to a broad range of classes when prompted with
2D boxes. We evaluate our model on the task of 3D oriented bounding box
prediction, where it achieves comparable results to state-of-the-art 3D
detection methods such as Cube R-CNN. Unlike other 3D detection methods, our
model also provides detailed and accurate 3D object shape and segmentation. We
propose a novel benchmark for the task of NOCS prediction based on OmniNOCS,
which we hope will serve as a useful baseline for future work in this area. Our
dataset and code will be at the project website: https://omninocs.github.io. | null | cs.CV | [
"cs.CV",
"cs.RO"
] |
2403.10301 | HF | Uni-SMART: Universal Science Multimodal Analysis and Research Transformer | [
"Hengxing Cai",
"Xiaochen Cai",
"Shuwen Yang",
"Jiankun Wang",
"Lin Yao",
"Zhifeng Gao",
"Junhan Chang",
"Sihang Li",
"Mingjun Xu",
"Changxin Wang",
"Hongshuai Wang",
"Yongge Li",
"Mujie Lin",
"Yaqi Li",
"Yuqi Yin",
"Linfeng Zhang",
"Guolin Ke"
] | 2024-03-15 | In scientific research and its application, scientific literature analysis is
crucial as it allows researchers to build on the work of others. However, the
fast growth of scientific knowledge has led to a massive increase in scholarly
articles, making in-depth literature analysis increasingly challenging and
time-consuming. The emergence of Large Language Models (LLMs) has offered a new
way to address this challenge. Known for their strong abilities in summarizing
texts, LLMs are seen as a potential tool to improve the analysis of scientific
literature. However, existing LLMs have their own limits. Scientific literature
often includes a wide range of multimodal elements, such as tables, charts, and
molecule, which are hard for text-focused LLMs to understand and analyze. This
issue points to the urgent need for new solutions that can fully understand and
analyze multimodal content in scientific literature. To answer this demand, we
present \textbf{Uni-SMART} (Universal Science Multimodal Analysis and Research
Transformer), an innovative model designed for in-depth understanding of
multimodal scientific literature. Through rigorous quantitative evaluation
across several domains, Uni-SMART demonstrates superior performance over other
text-focused LLMs. Furthermore, our exploration extends to practical
applications, including patent infringement detection and nuanced analysis of
charts. These applications not only highlight Uni-SMART's adaptability but also
its potential to revolutionize how we interact with scientific literature. | null | cs.CL | [
"cs.CL",
"cs.CV"
] |
2110.04366 | AnswerAI | Towards a Unified View of Parameter-Efficient Transfer Learning | [
"Junxian He",
"Chunting Zhou",
"Xuezhe Ma",
"Taylor Berg-Kirkpatrick",
"Graham Neubig"
] | 2021-10-08 | Fine-tuning large pre-trained language models on downstream tasks has become
the de-facto learning paradigm in NLP. However, conventional approaches
fine-tune all the parameters of the pre-trained model, which becomes
prohibitive as the model size and the number of tasks grow. Recent work has
proposed a variety of parameter-efficient transfer learning methods that only
fine-tune a small number of (extra) parameters to attain strong performance.
While effective, the critical ingredients for success and the connections among
the various methods are poorly understood. In this paper, we break down the
design of state-of-the-art parameter-efficient transfer learning methods and
present a unified framework that establishes connections between them.
Specifically, we re-frame them as modifications to specific hidden states in
pre-trained models, and define a set of design dimensions along which different
methods vary, such as the function to compute the modification and the position
to apply the modification. Through comprehensive empirical studies across
machine translation, text summarization, language understanding, and text
classification benchmarks, we utilize the unified view to identify important
design choices in previous methods. Furthermore, our unified framework enables
the transfer of design elements across different approaches, and as a result we
are able to instantiate new parameter-efficient fine-tuning methods that tune
less parameters than previous methods while being more effective, achieving
comparable results to fine-tuning all parameters on all four tasks. | null | cs.CL | [
"cs.CL",
"cs.LG"
] |
2203.14680 | AnswerAI | Transformer Feed-Forward Layers Build Predictions by Promoting Concepts in the Vocabulary Space | [
"Mor Geva",
"Avi Caciularu",
"Kevin Ro Wang",
"Yoav Goldberg"
] | 2022-03-28 | Transformer-based language models (LMs) are at the core of modern NLP, but
their internal prediction construction process is opaque and largely not
understood. In this work, we make a substantial step towards unveiling this
underlying prediction process, by reverse-engineering the operation of the
feed-forward network (FFN) layers, one of the building blocks of transformer
models. We view the token representation as a changing distribution over the
vocabulary, and the output from each FFN layer as an additive update to that
distribution. Then, we analyze the FFN updates in the vocabulary space, showing
that each update can be decomposed to sub-updates corresponding to single FFN
parameter vectors, each promoting concepts that are often human-interpretable.
We then leverage these findings for controlling LM predictions, where we reduce
the toxicity of GPT2 by almost 50%, and for improving computation efficiency
with a simple early exit rule, saving 20% of computation on average. | null | cs.CL | [
"cs.CL"
] |
2408.12599 | HF | Controllable Text Generation for Large Language Models: A Survey | [
"Xun Liang",
"Hanyu Wang",
"Yezhaohui Wang",
"Shichao Song",
"Jiawei Yang",
"Simin Niu",
"Jie Hu",
"Dan Liu",
"Shunyu Yao",
"Feiyu Xiong",
"Zhiyu Li"
] | 2024-08-22 | In Natural Language Processing (NLP), Large Language Models (LLMs) have
demonstrated high text generation quality. However, in real-world applications,
LLMs must meet increasingly complex requirements. Beyond avoiding misleading or
inappropriate content, LLMs are also expected to cater to specific user needs,
such as imitating particular writing styles or generating text with poetic
richness. These varied demands have driven the development of Controllable Text
Generation (CTG) techniques, which ensure that outputs adhere to predefined
control conditions--such as safety, sentiment, thematic consistency, and
linguistic style--while maintaining high standards of helpfulness, fluency, and
diversity.
This paper systematically reviews the latest advancements in CTG for LLMs,
offering a comprehensive definition of its core concepts and clarifying the
requirements for control conditions and text quality. We categorize CTG tasks
into two primary types: content control and attribute control. The key methods
are discussed, including model retraining, fine-tuning, reinforcement learning,
prompt engineering, latent space manipulation, and decoding-time intervention.
We analyze each method's characteristics, advantages, and limitations,
providing nuanced insights for achieving generation control. Additionally, we
review CTG evaluation methods, summarize its applications across domains, and
address key challenges in current research, including reduced fluency and
practicality. We also propose several appeals, such as placing greater emphasis
on real-world applications in future research. This paper aims to offer
valuable guidance to researchers and developers in the field. Our reference
list and Chinese version are open-sourced at
https://github.com/IAAR-Shanghai/CTGSurvey. | null | cs.CL | [
"cs.CL",
"A.2; I.2.7"
] |
2407.11522 | HF | FIRE: A Dataset for Feedback Integration and Refinement Evaluation of Multimodal Models | [
"Pengxiang Li",
"Zhi Gao",
"Bofei Zhang",
"Tao Yuan",
"Yuwei Wu",
"Mehrtash Harandi",
"Yunde Jia",
"Song-Chun Zhu",
"Qing Li"
] | 2024-07-16 | Vision language models (VLMs) have achieved impressive progress in diverse
applications, becoming a prevalent research direction. In this paper, we build
FIRE, a feedback-refinement dataset, consisting of 1.1M multi-turn
conversations that are derived from 27 source datasets, empowering VLMs to
spontaneously refine their responses based on user feedback across diverse
tasks. To scale up the data collection, FIRE is collected in two components:
FIRE-100K and FIRE-1M, where FIRE-100K is generated by GPT-4V, and FIRE-1M is
freely generated via models trained on FIRE-100K. Then, we build FIRE-Bench, a
benchmark to comprehensively evaluate the feedback-refining capability of VLMs,
which contains 11K feedback-refinement conversations as the test data, two
evaluation settings, and a model to provide feedback for VLMs. We develop the
FIRE-LLaVA model by fine-tuning LLaVA on FIRE-100K and FIRE-1M, which shows
remarkable feedback-refining capability on FIRE-Bench and outperforms untrained
VLMs by 50%, making more efficient user-agent interactions and underscoring the
significance of the FIRE dataset. | null | cs.CV | [
"cs.CV"
] |
2406.19741 | HF | ROS-LLM: A ROS framework for embodied AI with task feedback and structured reasoning | [
"Christopher E. Mower",
"Yuhui Wan",
"Hongzhan Yu",
"Antoine Grosnit",
"Jonas Gonzalez-Billandon",
"Matthieu Zimmer",
"Jinlong Wang",
"Xinyu Zhang",
"Yao Zhao",
"Anbang Zhai",
"Puze Liu",
"Daniel Palenicek",
"Davide Tateo",
"Cesar Cadena",
"Marco Hutter",
"Jan Peters",
"Guangjian Tian",
"Yuzheng Zhuang",
"Kun Shao",
"Xingyue Quan",
"Jianye Hao",
"Jun Wang",
"Haitham Bou-Ammar"
] | 2024-06-28 | We present a framework for intuitive robot programming by non-experts,
leveraging natural language prompts and contextual information from the Robot
Operating System (ROS). Our system integrates large language models (LLMs),
enabling non-experts to articulate task requirements to the system through a
chat interface. Key features of the framework include: integration of ROS with
an AI agent connected to a plethora of open-source and commercial LLMs,
automatic extraction of a behavior from the LLM output and execution of ROS
actions/services, support for three behavior modes (sequence, behavior tree,
state machine), imitation learning for adding new robot actions to the library
of possible actions, and LLM reflection via human and environment feedback.
Extensive experiments validate the framework, showcasing robustness,
scalability, and versatility in diverse scenarios, including long-horizon
tasks, tabletop rearrangements, and remote supervisory control. To facilitate
the adoption of our framework and support the reproduction of our results, we
have made our code open-source. You can access it at:
https://github.com/huawei-noah/HEBO/tree/master/ROSLLM. | null | cs.RO | [
"cs.RO",
"cs.AI"
] |
2408.16672 | HF | Jina-ColBERT-v2: A General-Purpose Multilingual Late Interaction Retriever | [
"Rohan Jha",
"Bo Wang",
"Michael Günther",
"Georgios Mastrapas",
"Saba Sturua",
"Isabelle Mohr",
"Andreas Koukounas",
"Mohammad Kalim Akram",
"Nan Wang",
"Han Xiao"
] | 2024-08-29 | Multi-vector dense models, such as ColBERT, have proven highly effective in
information retrieval. ColBERT's late interaction scoring approximates the
joint query-document attention seen in cross-encoders while maintaining
inference efficiency closer to traditional dense retrieval models, thanks to
its bi-encoder architecture and recent optimizations in indexing and search. In
this work we propose a number of incremental improvements to the ColBERT model
architecture and training pipeline, using methods shown to work in the more
mature single-vector embedding model training paradigm, particularly those that
apply to heterogeneous multilingual data or boost efficiency with little
tradeoff. Our new model, Jina-ColBERT-v2, demonstrates strong performance
across a range of English and multilingual retrieval tasks. | null | cs.IR | [
"cs.IR",
"cs.AI",
"cs.CL",
"68T50",
"I.2.7"
] |
2306.00943 | HF | Make-Your-Video: Customized Video Generation Using Textual and Structural Guidance | [
"Jinbo Xing",
"Menghan Xia",
"Yuxin Liu",
"Yuechen Zhang",
"Yong Zhang",
"Yingqing He",
"Hanyuan Liu",
"Haoxin Chen",
"Xiaodong Cun",
"Xintao Wang",
"Ying Shan",
"Tien-Tsin Wong"
] | 2023-06-01 | Creating a vivid video from the event or scenario in our imagination is a
truly fascinating experience. Recent advancements in text-to-video synthesis
have unveiled the potential to achieve this with prompts only. While text is
convenient in conveying the overall scene context, it may be insufficient to
control precisely. In this paper, we explore customized video generation by
utilizing text as context description and motion structure (e.g. frame-wise
depth) as concrete guidance. Our method, dubbed Make-Your-Video, involves
joint-conditional video generation using a Latent Diffusion Model that is
pre-trained for still image synthesis and then promoted for video generation
with the introduction of temporal modules. This two-stage learning scheme not
only reduces the computing resources required, but also improves the
performance by transferring the rich concepts available in image datasets
solely into video generation. Moreover, we use a simple yet effective causal
attention mask strategy to enable longer video synthesis, which mitigates the
potential quality degradation effectively. Experimental results show the
superiority of our method over existing baselines, particularly in terms of
temporal coherence and fidelity to users' guidance. In addition, our model
enables several intriguing applications that demonstrate potential for
practical usage. | null | cs.CV | [
"cs.CV"
] |
2402.14083 | HF | Beyond A*: Better Planning with Transformers via Search Dynamics Bootstrapping | [
"Lucas Lehnert",
"Sainbayar Sukhbaatar",
"DiJia Su",
"Qinqing Zheng",
"Paul Mcvay",
"Michael Rabbat",
"Yuandong Tian"
] | 2024-02-21 | While Transformers have enabled tremendous progress in various application
settings, such architectures still trail behind traditional symbolic planners
for solving complex decision making tasks. In this work, we demonstrate how to
train Transformers to solve complex planning tasks. This is accomplished by
training an encoder-decoder Transformer model to predict the search dynamics of
the $A^*$ search algorithm. We fine tune this model to obtain a Searchformer, a
Transformer model that optimally solves previously unseen Sokoban puzzles 93.7%
of the time, while using up to 26.8% fewer search steps than the $A^*$
implementation that was used for training initially. In our training method,
$A^*$'s search dynamics are expressed as a token sequence outlining when task
states are added and removed into the search tree during symbolic planning.
Searchformer significantly outperforms baselines that predict the optimal plan
directly with a 5-10$\times$ smaller model size and a 10$\times$ smaller
training dataset. Lastly, we demonstrate how Searchformer scales to larger and
more complex decision making tasks with improved percentage of solved tasks and
shortened search dynamics. | null | cs.AI | [
"cs.AI"
] |
2406.05587 | AnswerAI | Creativity Has Left the Chat: The Price of Debiasing Language Models | [
"Behnam Mohammadi"
] | 2024-06-08 | Large Language Models (LLMs) have revolutionized natural language processing
but can exhibit biases and may generate toxic content. While alignment
techniques like Reinforcement Learning from Human Feedback (RLHF) reduce these
issues, their impact on creativity, defined as syntactic and semantic
diversity, remains unexplored. We investigate the unintended consequences of
RLHF on the creativity of LLMs through three experiments focusing on the
Llama-2 series. Our findings reveal that aligned models exhibit lower entropy
in token predictions, form distinct clusters in the embedding space, and
gravitate towards "attractor states", indicating limited output diversity. Our
findings have significant implications for marketers who rely on LLMs for
creative tasks such as copywriting, ad creation, and customer persona
generation. The trade-off between consistency and creativity in aligned models
should be carefully considered when selecting the appropriate model for a given
application. We also discuss the importance of prompt engineering in harnessing
the creative potential of base models. | null | cs.CL | [
"cs.CL",
"cs.AI"
] |
2311.08552 | HF | UT5: Pretraining Non autoregressive T5 with unrolled denoising | [
"Mahmoud G. Salem",
"Jiayu Ye",
"Chu-Cheng Lin",
"Frederick Liu"
] | 2023-11-14 | Recent advances in Transformer-based Large Language Models have made great
strides in natural language generation. However, to decode K tokens, an
autoregressive model needs K sequential forward passes, which may be a
performance bottleneck for large language models. Many non-autoregressive (NAR)
research are aiming to address this sequentiality bottleneck, albeit many have
focused on a dedicated architecture in supervised benchmarks. In this work, we
studied unsupervised pretraining for non auto-regressive T5 models via unrolled
denoising and shown its SoTA results in downstream generation tasks such as
SQuAD question generation and XSum. | null | cs.CL | [
"cs.CL"
] |
2408.10914 | HF | To Code, or Not To Code? Exploring Impact of Code in Pre-training | [
"Viraat Aryabumi",
"Yixuan Su",
"Raymond Ma",
"Adrien Morisot",
"Ivan Zhang",
"Acyr Locatelli",
"Marzieh Fadaee",
"Ahmet Üstün",
"Sara Hooker"
] | 2024-08-20 | Including code in the pre-training data mixture, even for models not
specifically designed for code, has become a common practice in LLMs
pre-training. While there has been anecdotal consensus among practitioners that
code data plays a vital role in general LLMs' performance, there is only
limited work analyzing the precise impact of code on non-code tasks. In this
work, we systematically investigate the impact of code data on general
performance. We ask "what is the impact of code data used in pre-training on a
large variety of downstream tasks beyond code generation". We conduct extensive
ablations and evaluate across a broad range of natural language reasoning
tasks, world knowledge tasks, code benchmarks, and LLM-as-a-judge win-rates for
models with sizes ranging from 470M to 2.8B parameters. Across settings, we
find a consistent results that code is a critical building block for
generalization far beyond coding tasks and improvements to code quality have an
outsized impact across all tasks. In particular, compared to text-only
pre-training, the addition of code results in up to relative increase of 8.2%
in natural language (NL) reasoning, 4.2% in world knowledge, 6.6% improvement
in generative win-rates, and a 12x boost in code performance respectively. Our
work suggests investments in code quality and preserving code during
pre-training have positive impacts. | null | cs.CL | [
"cs.CL"
] |
2404.10179 | HF | Scaling Instructable Agents Across Many Simulated Worlds | [
"SIMA Team",
"Maria Abi Raad",
"Arun Ahuja",
"Catarina Barros",
"Frederic Besse",
"Andrew Bolt",
"Adrian Bolton",
"Bethanie Brownfield",
"Gavin Buttimore",
"Max Cant",
"Sarah Chakera",
"Stephanie C. Y. Chan",
"Jeff Clune",
"Adrian Collister",
"Vikki Copeman",
"Alex Cullum",
"Ishita Dasgupta",
"Dario de Cesare",
"Julia Di Trapani",
"Yani Donchev",
"Emma Dunleavy",
"Martin Engelcke",
"Ryan Faulkner",
"Frankie Garcia",
"Charles Gbadamosi",
"Zhitao Gong",
"Lucy Gonzales",
"Kshitij Gupta",
"Karol Gregor",
"Arne Olav Hallingstad",
"Tim Harley",
"Sam Haves",
"Felix Hill",
"Ed Hirst",
"Drew A. Hudson",
"Jony Hudson",
"Steph Hughes-Fitt",
"Danilo J. Rezende",
"Mimi Jasarevic",
"Laura Kampis",
"Rosemary Ke",
"Thomas Keck",
"Junkyung Kim",
"Oscar Knagg",
"Kavya Kopparapu",
"Andrew Lampinen",
"Shane Legg",
"Alexander Lerchner",
"Marjorie Limont",
"Yulan Liu",
"Maria Loks-Thompson",
"Joseph Marino",
"Kathryn Martin Cussons",
"Loic Matthey",
"Siobhan Mcloughlin",
"Piermaria Mendolicchio",
"Hamza Merzic",
"Anna Mitenkova",
"Alexandre Moufarek",
"Valeria Oliveira",
"Yanko Oliveira",
"Hannah Openshaw",
"Renke Pan",
"Aneesh Pappu",
"Alex Platonov",
"Ollie Purkiss",
"David Reichert",
"John Reid",
"Pierre Harvey Richemond",
"Tyson Roberts",
"Giles Ruscoe",
"Jaume Sanchez Elias",
"Tasha Sandars",
"Daniel P. Sawyer",
"Tim Scholtes",
"Guy Simmons",
"Daniel Slater",
"Hubert Soyer",
"Heiko Strathmann",
"Peter Stys",
"Allison C. Tam",
"Denis Teplyashin",
"Tayfun Terzi",
"Davide Vercelli",
"Bojan Vujatovic",
"Marcus Wainwright",
"Jane X. Wang",
"Zhengdong Wang",
"Daan Wierstra",
"Duncan Williams",
"Nathaniel Wong",
"Sarah York",
"Nick Young"
] | 2024-03-13 | Building embodied AI systems that can follow arbitrary language instructions
in any 3D environment is a key challenge for creating general AI. Accomplishing
this goal requires learning to ground language in perception and embodied
actions, in order to accomplish complex tasks. The Scalable, Instructable,
Multiworld Agent (SIMA) project tackles this by training agents to follow
free-form instructions across a diverse range of virtual 3D environments,
including curated research environments as well as open-ended, commercial video
games. Our goal is to develop an instructable agent that can accomplish
anything a human can do in any simulated 3D environment. Our approach focuses
on language-driven generality while imposing minimal assumptions. Our agents
interact with environments in real-time using a generic, human-like interface:
the inputs are image observations and language instructions and the outputs are
keyboard-and-mouse actions. This general approach is challenging, but it allows
agents to ground language across many visually complex and semantically rich
environments while also allowing us to readily run agents in new environments.
In this paper we describe our motivation and goal, the initial progress we have
made, and promising preliminary results on several diverse research
environments and a variety of commercial video games. | null | cs.RO | [
"cs.RO",
"cs.AI",
"cs.HC",
"cs.LG"
] |
2305.05189 | HF | SUR-adapter: Enhancing Text-to-Image Pre-trained Diffusion Models with Large Language Models | [
"Shanshan Zhong",
"Zhongzhan Huang",
"Wushao Wen",
"Jinghui Qin",
"Liang Lin"
] | 2023-05-09 | Diffusion models, which have emerged to become popular text-to-image
generation models, can produce high-quality and content-rich images guided by
textual prompts. However, there are limitations to semantic understanding and
commonsense reasoning in existing models when the input prompts are concise
narrative, resulting in low-quality image generation. To improve the capacities
for narrative prompts, we propose a simple-yet-effective parameter-efficient
fine-tuning approach called the Semantic Understanding and Reasoning adapter
(SUR-adapter) for pre-trained diffusion models. To reach this goal, we first
collect and annotate a new dataset SURD which consists of more than 57,000
semantically corrected multi-modal samples. Each sample contains a simple
narrative prompt, a complex keyword-based prompt, and a high-quality image.
Then, we align the semantic representation of narrative prompts to the complex
prompts and transfer knowledge of large language models (LLMs) to our
SUR-adapter via knowledge distillation so that it can acquire the powerful
semantic understanding and reasoning capabilities to build a high-quality
textual semantic representation for text-to-image generation. We conduct
experiments by integrating multiple LLMs and popular pre-trained diffusion
models to show the effectiveness of our approach in enabling diffusion models
to understand and reason concise natural language without image quality
degradation. Our approach can make text-to-image diffusion models easier to use
with better user experience, which demonstrates our approach has the potential
for further advancing the development of user-friendly text-to-image generation
models by bridging the semantic gap between simple narrative prompts and
complex keyword-based prompts. The code is released at
https://github.com/Qrange-group/SUR-adapter. | null | cs.CL | [
"cs.CL",
"cs.CV"
] |
2401.02385 | HF | TinyLlama: An Open-Source Small Language Model | [
"Peiyuan Zhang",
"Guangtao Zeng",
"Tianduo Wang",
"Wei Lu"
] | 2024-01-04 | We present TinyLlama, a compact 1.1B language model pretrained on around 1
trillion tokens for approximately 3 epochs. Building on the architecture and
tokenizer of Llama 2, TinyLlama leverages various advances contributed by the
open-source community (e.g., FlashAttention and Lit-GPT), achieving better
computational efficiency. Despite its relatively small size, TinyLlama
demonstrates remarkable performance in a series of downstream tasks. It
significantly outperforms existing open-source language models with comparable
sizes. Our model checkpoints and code are publicly available on GitHub at
https://github.com/jzhang38/TinyLlama. | null | cs.CL | [
"cs.CL",
"cs.AI"
] |
2404.02948 | AnswerAI | PiSSA: Principal Singular Values and Singular Vectors Adaptation of Large Language Models | [
"Fanxu Meng",
"Zhaohui Wang",
"Muhan Zhang"
] | 2024-04-03 | To parameter-efficiently fine-tune (PEFT) large language models (LLMs), the
low-rank adaptation (LoRA) method approximates the model changes $\Delta W \in
\mathbb{R}^{m \times n}$ through the product of two matrices $A \in
\mathbb{R}^{m \times r}$ and $B \in \mathbb{R}^{r \times n}$, where $r \ll
\min(m, n)$, $A$ is initialized with Gaussian noise, and $B$ with zeros. LoRA
freezes the original model $W$ and updates the "Noise & Zero" adapter, which
may lead to slow convergence. To overcome this limitation, we introduce
Principal Singular values and Singular vectors Adaptation (PiSSA). PiSSA shares
the same architecture as LoRA, but initializes the adaptor matrices $A$ and $B$
with the principal components of the original matrix $W$, and put the remaining
components into a residual matrix $W^{res} \in \mathbb{R}^{m \times n}$ which
is frozen during fine-tuning. Compared to LoRA, PiSSA updates the principal
components while freezing the "residual" parts, allowing faster convergence and
enhanced performance. Comparative experiments of PiSSA and LoRA across 12
different models, ranging from 184M to 70B, encompassing 5 NLG and 8 NLU tasks,
reveal that PiSSA consistently outperforms LoRA under identical experimental
setups. On the GSM8K benchmark, Mistral-7B fine-tuned with PiSSA achieves an
accuracy of 72.86%, surpassing LoRA's 67.7% by 5.16%. Due to the same
architecture, PiSSA is also compatible with quantization to further reduce the
memory requirement of fine-tuning. Compared to QLoRA, QPiSSA (PiSSA with 4-bit
quantization) exhibits smaller quantization errors in the initial stages.
Fine-tuning LLaMA-3-70B on GSM8K, QPiSSA attains an accuracy of 86.05%,
exceeding the performances of QLoRA at 81.73%. Leveraging a fast SVD technique,
PiSSA can be initialized in only a few seconds, presenting a negligible cost
for transitioning from LoRA to PiSSA. | null | cs.LG | [
"cs.LG",
"cs.AI"
] |
2310.12298 | AnswerAI | Jorge: Approximate Preconditioning for GPU-efficient Second-order Optimization | [
"Siddharth Singh",
"Zachary Sating",
"Abhinav Bhatele"
] | 2023-10-18 | Despite their better convergence properties compared to first-order
optimizers, second-order optimizers for deep learning have been less popular
due to their significant computational costs. The primary efficiency bottleneck
in such optimizers is matrix inverse calculations in the preconditioning step,
which are expensive to compute on GPUs. In this paper, we introduce Jorge, a
second-order optimizer that promises the best of both worlds -- rapid
convergence benefits of second-order methods, and high computational efficiency
typical of first-order methods. We address the primary computational bottleneck
of computing matrix inverses by completely eliminating them using an
approximation of the preconditioner computation. This makes Jorge extremely
efficient on GPUs in terms of wall-clock time. Further, we describe an approach
to determine Jorge's hyperparameters directly from a well-tuned SGD baseline,
thereby significantly minimizing tuning efforts. Our empirical evaluations
demonstrate the distinct advantages of using Jorge, outperforming
state-of-the-art optimizers such as SGD, AdamW, and Shampoo across multiple
deep learning models, both in terms of sample efficiency and wall-clock time. | null | cs.LG | [
"cs.LG",
"cs.AI",
"cs.DC"
] |
2406.11833 | HF | MMDU: A Multi-Turn Multi-Image Dialog Understanding Benchmark and Instruction-Tuning Dataset for LVLMs | [
"Ziyu Liu",
"Tao Chu",
"Yuhang Zang",
"Xilin Wei",
"Xiaoyi Dong",
"Pan Zhang",
"Zijian Liang",
"Yuanjun Xiong",
"Yu Qiao",
"Dahua Lin",
"Jiaqi Wang"
] | 2024-06-17 | Generating natural and meaningful responses to communicate with multi-modal
human inputs is a fundamental capability of Large Vision-Language
Models(LVLMs). While current open-source LVLMs demonstrate promising
performance in simplified scenarios such as single-turn single-image input,
they fall short in real-world conversation scenarios such as following
instructions in a long context history with multi-turn and multi-images.
Existing LVLM benchmarks primarily focus on single-choice questions or
short-form responses, which do not adequately assess the capabilities of LVLMs
in real-world human-AI interaction applications. Therefore, we introduce MMDU,
a comprehensive benchmark, and MMDU-45k, a large-scale instruction tuning
dataset, designed to evaluate and improve LVLMs' abilities in multi-turn and
multi-image conversations. We employ the clustering algorithm to ffnd the
relevant images and textual descriptions from the open-source Wikipedia and
construct the question-answer pairs by human annotators with the assistance of
the GPT-4o model. MMDU has a maximum of 18k image+text tokens, 20 images, and
27 turns, which is at least 5x longer than previous benchmarks and poses
challenges to current LVLMs. Our in-depth analysis of 15 representative LVLMs
using MMDU reveals that open-source LVLMs lag behind closed-source counterparts
due to limited conversational instruction tuning data. We demonstrate that
ffne-tuning open-source LVLMs on MMDU-45k signiffcantly address this gap,
generating longer and more accurate conversations, and improving scores on MMDU
and existing benchmarks (MMStar: +1.1%, MathVista: +1.5%, ChartQA:+1.2%). Our
contributions pave the way for bridging the gap between current LVLM models and
real-world application demands. This project is available at
https://github.com/Liuziyu77/MMDU. | null | cs.CV | [
"cs.CV",
"cs.AI",
"cs.LG"
] |
2306.03082 | HF | InstructZero: Efficient Instruction Optimization for Black-Box Large Language Models | [
"Lichang Chen",
"Jiuhai Chen",
"Tom Goldstein",
"Heng Huang",
"Tianyi Zhou"
] | 2023-06-05 | Large language models~(LLMs) are instruction followers, but it can be
challenging to find the best instruction for different situations, especially
for black-box LLMs on which backpropagation is forbidden. Instead of directly
optimizing the discrete instruction, we optimize a low-dimensional soft prompt
applied to an open-source LLM to generate the instruction for the black-box
LLM. On each iteration of the proposed method, which we call InstructZero, a
soft prompt is converted into an instruction using the open-source LLM, which
is then submitted to the black-box LLM for zero-shot evaluation, and the
performance is sent to Bayesian optimization to produce new soft prompts
improving the zero-shot performance. We evaluate InstructZero on different
combinations of open-source LLMs and APIs including Vicuna and ChatGPT. Our
results show that InstructZero outperforms SOTA auto-instruction methods across
a variety of downstream tasks. Our code and data are publicly available at
https://github.com/Lichang-Chen/InstructZero. | null | cs.AI | [
"cs.AI"
] |
2306.16857 | HF | ArrayBot: Reinforcement Learning for Generalizable Distributed Manipulation through Touch | [
"Zhengrong Xue",
"Han Zhang",
"Jingwen Cheng",
"Zhengmao He",
"Yuanchen Ju",
"Changyi Lin",
"Gu Zhang",
"Huazhe Xu"
] | 2023-06-29 | We present ArrayBot, a distributed manipulation system consisting of a $16
\times 16$ array of vertically sliding pillars integrated with tactile sensors,
which can simultaneously support, perceive, and manipulate the tabletop
objects. Towards generalizable distributed manipulation, we leverage
reinforcement learning (RL) algorithms for the automatic discovery of control
policies. In the face of the massively redundant actions, we propose to reshape
the action space by considering the spatially local action patch and the
low-frequency actions in the frequency domain. With this reshaped action space,
we train RL agents that can relocate diverse objects through tactile
observations only. Surprisingly, we find that the discovered policy can not
only generalize to unseen object shapes in the simulator but also transfer to
the physical robot without any domain randomization. Leveraging the deployed
policy, we present abundant real-world manipulation tasks, illustrating the
vast potential of RL on ArrayBot for distributed manipulation. | null | cs.RO | [
"cs.RO",
"cs.LG"
] |
2407.04172 | HF | ChartGemma: Visual Instruction-tuning for Chart Reasoning in the Wild | [
"Ahmed Masry",
"Megh Thakkar",
"Aayush Bajaj",
"Aaryaman Kartha",
"Enamul Hoque",
"Shafiq Joty"
] | 2024-07-04 | Given the ubiquity of charts as a data analysis, visualization, and
decision-making tool across industries and sciences, there has been a growing
interest in developing pre-trained foundation models as well as general purpose
instruction-tuned models for chart understanding and reasoning. However,
existing methods suffer crucial drawbacks across two critical axes affecting
the performance of chart representation models: they are trained on data
generated from underlying data tables of the charts, ignoring the visual trends
and patterns in chart images, and use weakly aligned vision-language backbone
models for domain-specific training, limiting their generalizability when
encountering charts in the wild. We address these important drawbacks and
introduce ChartGemma, a novel chart understanding and reasoning model developed
over PaliGemma. Rather than relying on underlying data tables, ChartGemma is
trained on instruction-tuning data generated directly from chart images, thus
capturing both high-level trends and low-level visual information from a
diverse set of charts. Our simple approach achieves state-of-the-art results
across $5$ benchmarks spanning chart summarization, question answering, and
fact-checking, and our elaborate qualitative studies on real-world charts show
that ChartGemma generates more realistic and factually correct summaries
compared to its contemporaries. We release the code, model checkpoints,
dataset, and demos at https://github.com/vis-nlp/ChartGemma. | null | cs.AI | [
"cs.AI",
"cs.CL",
"cs.CV"
] |
2408.06281 | HF | MovieSum: An Abstractive Summarization Dataset for Movie Screenplays | [
"Rohit Saxena",
"Frank Keller"
] | 2024-08-12 | Movie screenplay summarization is challenging, as it requires an
understanding of long input contexts and various elements unique to movies.
Large language models have shown significant advancements in document
summarization, but they often struggle with processing long input contexts.
Furthermore, while television transcripts have received attention in recent
studies, movie screenplay summarization remains underexplored. To stimulate
research in this area, we present a new dataset, MovieSum, for abstractive
summarization of movie screenplays. This dataset comprises 2200 movie
screenplays accompanied by their Wikipedia plot summaries. We manually
formatted the movie screenplays to represent their structural elements.
Compared to existing datasets, MovieSum possesses several distinctive features:
(1) It includes movie screenplays, which are longer than scripts of TV
episodes. (2) It is twice the size of previous movie screenplay datasets. (3)
It provides metadata with IMDb IDs to facilitate access to additional external
knowledge. We also show the results of recently released large language models
applied to summarization on our dataset to provide a detailed baseline. | null | cs.CL | [
"cs.CL",
"cs.AI"
] |
2407.14622 | HF | BOND: Aligning LLMs with Best-of-N Distillation | [
"Pier Giuseppe Sessa",
"Robert Dadashi",
"Léonard Hussenot",
"Johan Ferret",
"Nino Vieillard",
"Alexandre Ramé",
"Bobak Shariari",
"Sarah Perrin",
"Abe Friesen",
"Geoffrey Cideron",
"Sertan Girgin",
"Piotr Stanczyk",
"Andrea Michi",
"Danila Sinopalnikov",
"Sabela Ramos",
"Amélie Héliou",
"Aliaksei Severyn",
"Matt Hoffman",
"Nikola Momchev",
"Olivier Bachem"
] | 2024-07-19 | Reinforcement learning from human feedback (RLHF) is a key driver of quality
and safety in state-of-the-art large language models. Yet, a surprisingly
simple and strong inference-time strategy is Best-of-N sampling that selects
the best generation among N candidates. In this paper, we propose Best-of-N
Distillation (BOND), a novel RLHF algorithm that seeks to emulate Best-of-N but
without its significant computational overhead at inference time. Specifically,
BOND is a distribution matching algorithm that forces the distribution of
generations from the policy to get closer to the Best-of-N distribution. We use
the Jeffreys divergence (a linear combination of forward and backward KL) to
balance between mode-covering and mode-seeking behavior, and derive an
iterative formulation that utilizes a moving anchor for efficiency. We
demonstrate the effectiveness of our approach and several design choices
through experiments on abstractive summarization and Gemma models. Aligning
Gemma policies with BOND outperforms other RLHF algorithms by improving results
on several benchmarks. | null | cs.LG | [
"cs.LG",
"cs.AI",
"cs.CL"
] |
2403.05525 | HF | DeepSeek-VL: Towards Real-World Vision-Language Understanding | [
"Haoyu Lu",
"Wen Liu",
"Bo Zhang",
"Bingxuan Wang",
"Kai Dong",
"Bo Liu",
"Jingxiang Sun",
"Tongzheng Ren",
"Zhuoshu Li",
"Hao Yang",
"Yaofeng Sun",
"Chengqi Deng",
"Hanwei Xu",
"Zhenda Xie",
"Chong Ruan"
] | 2024-03-08 | We present DeepSeek-VL, an open-source Vision-Language (VL) Model designed
for real-world vision and language understanding applications. Our approach is
structured around three key dimensions:
We strive to ensure our data is diverse, scalable, and extensively covers
real-world scenarios including web screenshots, PDFs, OCR, charts, and
knowledge-based content, aiming for a comprehensive representation of practical
contexts. Further, we create a use case taxonomy from real user scenarios and
construct an instruction tuning dataset accordingly. The fine-tuning with this
dataset substantially improves the model's user experience in practical
applications. Considering efficiency and the demands of most real-world
scenarios, DeepSeek-VL incorporates a hybrid vision encoder that efficiently
processes high-resolution images (1024 x 1024), while maintaining a relatively
low computational overhead. This design choice ensures the model's ability to
capture critical semantic and detailed information across various visual tasks.
We posit that a proficient Vision-Language Model should, foremost, possess
strong language abilities. To ensure the preservation of LLM capabilities
during pretraining, we investigate an effective VL pretraining strategy by
integrating LLM training from the beginning and carefully managing the
competitive dynamics observed between vision and language modalities.
The DeepSeek-VL family (both 1.3B and 7B models) showcases superior user
experiences as a vision-language chatbot in real-world applications, achieving
state-of-the-art or competitive performance across a wide range of
visual-language benchmarks at the same model size while maintaining robust
performance on language-centric benchmarks. We have made both 1.3B and 7B
models publicly accessible to foster innovations based on this foundation
model. | null | cs.AI | [
"cs.AI"
] |
2302.07388 | AnswerAI | Adding Instructions during Pretraining: Effective Way of Controlling Toxicity in Language Models | [
"Shrimai Prabhumoye",
"Mostofa Patwary",
"Mohammad Shoeybi",
"Bryan Catanzaro"
] | 2023-02-14 | Pretrained large language models have become indispensable for solving
various natural language processing (NLP) tasks. However, safely deploying them
in real world applications is challenging because they generate toxic content.
To address this challenge, we propose two novel pretraining data augmentation
strategies that significantly reduce model toxicity without compromising its
utility. Our two strategies are: (1) MEDA: adds raw toxicity score as meta-data
to the pretraining samples, and (2) INST: adds instructions to those samples
indicating their toxicity. Our results indicate that our best performing
strategy (INST) substantially reduces the toxicity probability up to 61% while
preserving the accuracy on five benchmark NLP tasks as well as improving AUC
scores on four bias detection tasks by 1.3%. We also demonstrate the
generalizability of our techniques by scaling the number of training samples
and the number of model parameters. | null | cs.CL | [
"cs.CL",
"cs.AI"
] |
2306.10231 | HF | GLIMMER: generalized late-interaction memory reranker | [
"Michiel de Jong",
"Yury Zemlyanskiy",
"Nicholas FitzGerald",
"Sumit Sanghai",
"William W. Cohen",
"Joshua Ainslie"
] | 2023-06-17 | Memory-augmentation is a powerful approach for efficiently incorporating
external information into language models, but leads to reduced performance
relative to retrieving text. Recent work introduced LUMEN, a memory-retrieval
hybrid that partially pre-computes memory and updates memory representations on
the fly with a smaller live encoder.
We propose GLIMMER, which improves on this approach through 1) exploiting
free access to the powerful memory representations by applying a shallow
reranker on top of memory to drastically improve retrieval quality at low cost,
and 2) incorporating multi-task training to learn a general and higher quality
memory and live encoder. GLIMMER achieves strong gains in performance at faster
speeds compared to LUMEN and FiD on the KILT benchmark of knowledge-intensive
tasks. | null | cs.CL | [
"cs.CL",
"cs.AI",
"cs.LG"
] |
2402.10379 | HF | DataDreamer: A Tool for Synthetic Data Generation and Reproducible LLM Workflows | [
"Ajay Patel",
"Colin Raffel",
"Chris Callison-Burch"
] | 2024-02-16 | Large language models (LLMs) have become a dominant and important tool for
NLP researchers in a wide range of tasks. Today, many researchers use LLMs in
synthetic data generation, task evaluation, fine-tuning, distillation, and
other model-in-the-loop research workflows. However, challenges arise when
using these models that stem from their scale, their closed source nature, and
the lack of standardized tooling for these new and emerging workflows. The
rapid rise to prominence of these models and these unique challenges has had
immediate adverse impacts on open science and on the reproducibility of work
that uses them. In this paper, we introduce DataDreamer, an open source Python
library that allows researchers to write simple code to implement powerful LLM
workflows. DataDreamer also helps researchers adhere to best practices that we
propose to encourage open science and reproducibility. The library and
documentation are available at https://github.com/datadreamer-dev/DataDreamer . | null | cs.CL | [
"cs.CL",
"cs.LG"
] |
2408.14176 | HF | SwiftBrush v2: Make Your One-step Diffusion Model Better Than Its Teacher | [
"Trung Dao",
"Thuan Hoang Nguyen",
"Thanh Le",
"Duc Vu",
"Khoi Nguyen",
"Cuong Pham",
"Anh Tran"
] | 2024-08-26 | In this paper, we aim to enhance the performance of SwiftBrush, a prominent
one-step text-to-image diffusion model, to be competitive with its multi-step
Stable Diffusion counterpart. Initially, we explore the quality-diversity
trade-off between SwiftBrush and SD Turbo: the former excels in image
diversity, while the latter excels in image quality. This observation motivates
our proposed modifications in the training methodology, including better weight
initialization and efficient LoRA training. Moreover, our introduction of a
novel clamped CLIP loss enhances image-text alignment and results in improved
image quality. Remarkably, by combining the weights of models trained with
efficient LoRA and full training, we achieve a new state-of-the-art one-step
diffusion model, achieving an FID of 8.14 and surpassing all GAN-based and
multi-step Stable Diffusion models. The project page is available at
https://swiftbrushv2.github.io. | null | cs.CV | [
"cs.CV",
"cs.AI"
] |
2307.14936 | Both | PanGu-Coder2: Boosting Large Language Models for Code with Ranking Feedback | [
"Bo Shen",
"Jiaxin Zhang",
"Taihong Chen",
"Daoguang Zan",
"Bing Geng",
"An Fu",
"Muhan Zeng",
"Ailun Yu",
"Jichuan Ji",
"Jingyang Zhao",
"Yuenan Guo",
"Qianxiang Wang"
] | 2023-07-27 | Large Language Models for Code (Code LLM) are flourishing. New and powerful
models are released on a weekly basis, demonstrating remarkable performance on
the code generation task. Various approaches have been proposed to boost the
code generation performance of pre-trained Code LLMs, such as supervised
fine-tuning, instruction tuning, reinforcement learning, etc. In this paper, we
propose a novel RRTF (Rank Responses to align Test&Teacher Feedback) framework,
which can effectively and efficiently boost pre-trained large language models
for code generation. Under this framework, we present PanGu-Coder2, which
achieves 62.20% pass@1 on the OpenAI HumanEval benchmark. Furthermore, through
an extensive evaluation on CoderEval and LeetCode benchmarks, we show that
PanGu-Coder2 consistently outperforms all previous Code LLMs. | null | cs.CL | [
"cs.CL",
"cs.AI",
"cs.LG",
"cs.PL",
"cs.SE"
] |
2312.02696 | Both | Analyzing and Improving the Training Dynamics of Diffusion Models | [
"Tero Karras",
"Miika Aittala",
"Jaakko Lehtinen",
"Janne Hellsten",
"Timo Aila",
"Samuli Laine"
] | 2023-12-05 | Diffusion models currently dominate the field of data-driven image synthesis
with their unparalleled scaling to large datasets. In this paper, we identify
and rectify several causes for uneven and ineffective training in the popular
ADM diffusion model architecture, without altering its high-level structure.
Observing uncontrolled magnitude changes and imbalances in both the network
activations and weights over the course of training, we redesign the network
layers to preserve activation, weight, and update magnitudes on expectation. We
find that systematic application of this philosophy eliminates the observed
drifts and imbalances, resulting in considerably better networks at equal
computational complexity. Our modifications improve the previous record FID of
2.41 in ImageNet-512 synthesis to 1.81, achieved using fast deterministic
sampling.
As an independent contribution, we present a method for setting the
exponential moving average (EMA) parameters post-hoc, i.e., after completing
the training run. This allows precise tuning of EMA length without the cost of
performing several training runs, and reveals its surprising interactions with
network architecture, training time, and guidance. | null | cs.CV | [
"cs.CV",
"cs.AI",
"cs.LG",
"cs.NE",
"stat.ML"
] |
2403.18605 | HF | FlexEdit: Flexible and Controllable Diffusion-based Object-centric Image Editing | [
"Trong-Tung Nguyen",
"Duc-Anh Nguyen",
"Anh Tran",
"Cuong Pham"
] | 2024-03-27 | Our work addresses limitations seen in previous approaches for object-centric
editing problems, such as unrealistic results due to shape discrepancies and
limited control in object replacement or insertion. To this end, we introduce
FlexEdit, a flexible and controllable editing framework for objects where we
iteratively adjust latents at each denoising step using our FlexEdit block.
Initially, we optimize latents at test time to align with specified object
constraints. Then, our framework employs an adaptive mask, automatically
extracted during denoising, to protect the background while seamlessly blending
new content into the target image. We demonstrate the versatility of FlexEdit
in various object editing tasks and curate an evaluation test suite with
samples from both real and synthetic images, along with novel evaluation
metrics designed for object-centric editing. We conduct extensive experiments
on different editing scenarios, demonstrating the superiority of our editing
framework over recent advanced text-guided image editing methods. Our project
page is published at https://flex-edit.github.io/. | null | cs.CV | [
"cs.CV"
] |
2311.02790 | AnswerAI | CausalCite: A Causal Formulation of Paper Citations | [
"Ishan Kumar",
"Zhijing Jin",
"Ehsan Mokhtarian",
"Siyuan Guo",
"Yuen Chen",
"Mrinmaya Sachan",
"Bernhard Schölkopf"
] | 2023-11-05 | Citation count of a paper is a commonly used proxy for evaluating the
significance of a paper in the scientific community. Yet citation measures are
widely criticized for failing to accurately reflect the true impact of a paper.
Thus, we propose CausalCite, a new way to measure the significance of a paper
by assessing the causal impact of the paper on its follow-up papers. CausalCite
is based on a novel causal inference method, TextMatch, which adapts the
traditional matching framework to high-dimensional text embeddings. TextMatch
encodes each paper using text embeddings from large language models (LLMs),
extracts similar samples by cosine similarity, and synthesizes a counterfactual
sample as the weighted average of similar papers according to their similarity
values. We demonstrate the effectiveness of CausalCite on various criteria,
such as high correlation with paper impact as reported by scientific experts on
a previous dataset of 1K papers, (test-of-time) awards for past papers, and its
stability across various subfields of AI. We also provide a set of findings
that can serve as suggested ways for future researchers to use our metric for a
better understanding of the quality of a paper. Our code is available at
https://github.com/causalNLP/causal-cite. | null | cs.CL | [
"cs.CL",
"cs.AI",
"cs.CY",
"cs.IR",
"cs.LG"
] |
2307.07511 | HF | NIFTY: Neural Object Interaction Fields for Guided Human Motion Synthesis | [
"Nilesh Kulkarni",
"Davis Rempe",
"Kyle Genova",
"Abhijit Kundu",
"Justin Johnson",
"David Fouhey",
"Leonidas Guibas"
] | 2023-07-14 | We address the problem of generating realistic 3D motions of humans
interacting with objects in a scene. Our key idea is to create a neural
interaction field attached to a specific object, which outputs the distance to
the valid interaction manifold given a human pose as input. This interaction
field guides the sampling of an object-conditioned human motion diffusion
model, so as to encourage plausible contacts and affordance semantics. To
support interactions with scarcely available data, we propose an automated
synthetic data pipeline. For this, we seed a pre-trained motion model, which
has priors for the basics of human movement, with interaction-specific anchor
poses extracted from limited motion capture data. Using our guided diffusion
model trained on generated synthetic data, we synthesize realistic motions for
sitting and lifting with several objects, outperforming alternative approaches
in terms of motion quality and successful action completion. We call our
framework NIFTY: Neural Interaction Fields for Trajectory sYnthesis. | null | cs.CV | [
"cs.CV"
] |
2404.03413 | HF | MiniGPT4-Video: Advancing Multimodal LLMs for Video Understanding with Interleaved Visual-Textual Tokens | [
"Kirolos Ataallah",
"Xiaoqian Shen",
"Eslam Abdelrahman",
"Essam Sleiman",
"Deyao Zhu",
"Jian Ding",
"Mohamed Elhoseiny"
] | 2024-04-04 | This paper introduces MiniGPT4-Video, a multimodal Large Language Model (LLM)
designed specifically for video understanding. The model is capable of
processing both temporal visual and textual data, making it adept at
understanding the complexities of videos. Building upon the success of
MiniGPT-v2, which excelled in translating visual features into the LLM space
for single images and achieved impressive results on various image-text
benchmarks, this paper extends the model's capabilities to process a sequence
of frames, enabling it to comprehend videos. MiniGPT4-video does not only
consider visual content but also incorporates textual conversations, allowing
the model to effectively answer queries involving both visual and text
components. The proposed model outperforms existing state-of-the-art methods,
registering gains of 4.22%, 1.13%, 20.82%, and 13.1% on the MSVD, MSRVTT, TGIF,
and TVQA benchmarks respectively. Our models and code have been made publicly
available here https://vision-cair.github.io/MiniGPT4-video/ | null | cs.CV | [
"cs.CV"
] |
2404.02805 | AnswerAI | Efficient Multi-Vector Dense Retrieval Using Bit Vectors | [
"Franco Maria Nardini",
"Cosimo Rulli",
"Rossano Venturini"
] | 2024-04-03 | Dense retrieval techniques employ pre-trained large language models to build
a high-dimensional representation of queries and passages. These
representations compute the relevance of a passage w.r.t. to a query using
efficient similarity measures. In this line, multi-vector representations show
improved effectiveness at the expense of a one-order-of-magnitude increase in
memory footprint and query latency by encoding queries and documents on a
per-token level. Recently, PLAID has tackled these problems by introducing a
centroid-based term representation to reduce the memory impact of multi-vector
systems. By exploiting a centroid interaction mechanism, PLAID filters out
non-relevant documents, thus reducing the cost of the successive ranking
stages. This paper proposes ``Efficient Multi-Vector dense retrieval with Bit
vectors'' (EMVB), a novel framework for efficient query processing in
multi-vector dense retrieval. First, EMVB employs a highly efficient
pre-filtering step of passages using optimized bit vectors. Second, the
computation of the centroid interaction happens column-wise, exploiting SIMD
instructions, thus reducing its latency. Third, EMVB leverages Product
Quantization (PQ) to reduce the memory footprint of storing vector
representations while jointly allowing for fast late interaction. Fourth, we
introduce a per-document term filtering method that further improves the
efficiency of the last step. Experiments on MS MARCO and LoTTE show that EMVB
is up to 2.8x faster while reducing the memory footprint by 1.8x with no loss
in retrieval accuracy compared to PLAID. | null | cs.IR | [
"cs.IR"
] |
2406.12031 | HF | Large Scale Transfer Learning for Tabular Data via Language Modeling | [
"Josh Gardner",
"Juan C. Perdomo",
"Ludwig Schmidt"
] | 2024-06-17 | Tabular data -- structured, heterogeneous, spreadsheet-style data with rows
and columns -- is widely used in practice across many domains. However, while
recent foundation models have reduced the need for developing task-specific
datasets and predictors in domains such as language modeling and computer
vision, this transfer learning paradigm has not had similar impact in the
tabular domain. In this work, we seek to narrow this gap and present TabuLa-8B,
a language model for tabular prediction. We define a process for extracting a
large, high-quality training dataset from the TabLib corpus, proposing methods
for tabular data filtering and quality control. Using the resulting dataset,
which comprises over 1.6B rows from 3.1M unique tables, we fine-tune a Llama
3-8B large language model (LLM) for tabular data prediction (classification and
binned regression) using a novel packing and attention scheme for tabular
prediction. Through evaluation across a test suite of 329 datasets, we find
that TabuLa-8B has zero-shot accuracy on unseen tables that is over 15
percentage points (pp) higher than random guessing, a feat that is not possible
with existing state-of-the-art tabular prediction models (e.g. XGBoost,
TabPFN). In the few-shot setting (1-32 shots), without any fine-tuning on the
target datasets, TabuLa-8B is 5-15 pp more accurate than XGBoost and TabPFN
models that are explicitly trained on equal, or even up to 16x more data. We
release our model, code, and data along with the publication of this paper. | null | cs.LG | [
"cs.LG",
"cs.AI",
"cs.CL"
] |
2309.01775 | HF | Gated recurrent neural networks discover attention | [
"Nicolas Zucchet",
"Seijin Kobayashi",
"Yassir Akram",
"Johannes von Oswald",
"Maxime Larcher",
"Angelika Steger",
"João Sacramento"
] | 2023-09-04 | Recent architectural developments have enabled recurrent neural networks
(RNNs) to reach and even surpass the performance of Transformers on certain
sequence modeling tasks. These modern RNNs feature a prominent design pattern:
linear recurrent layers interconnected by feedforward paths with multiplicative
gating. Here, we show how RNNs equipped with these two design elements can
exactly implement (linear) self-attention, the main building block of
Transformers. By reverse-engineering a set of trained RNNs, we find that
gradient descent in practice discovers our construction. In particular, we
examine RNNs trained to solve simple in-context learning tasks on which
Transformers are known to excel and find that gradient descent instills in our
RNNs the same attention-based in-context learning algorithm used by
Transformers. Our findings highlight the importance of multiplicative
interactions in neural networks and suggest that certain RNNs might be
unexpectedly implementing attention under the hood. | null | cs.LG | [
"cs.LG",
"cs.NE"
] |
2409.09323 | HF | Implicit Neural Representations with Fourier Kolmogorov-Arnold Networks | [
"Ali Mehrabian",
"Parsa Mojarad Adi",
"Moein Heidari",
"Ilker Hacihaliloglu"
] | 2024-09-14 | Implicit neural representations (INRs) use neural networks to provide
continuous and resolution-independent representations of complex signals with a
small number of parameters. However, existing INR models often fail to capture
important frequency components specific to each task. To address this issue, in
this paper, we propose a Fourier Kolmogorov Arnold network (FKAN) for INRs. The
proposed FKAN utilizes learnable activation functions modeled as Fourier series
in the first layer to effectively control and learn the task-specific frequency
components. In addition, the activation functions with learnable Fourier
coefficients improve the ability of the network to capture complex patterns and
details, which is beneficial for high-resolution and high-dimensional data.
Experimental results show that our proposed FKAN model outperforms three
state-of-the-art baseline schemes, and improves the peak signal-to-noise ratio
(PSNR) and structural similarity index measure (SSIM) for the image
representation task and intersection over union (IoU) for the 3D occupancy
volume representation task, respectively. | null | cs.CV | [
"cs.CV"
] |
2409.07452 | HF | Hi3D: Pursuing High-Resolution Image-to-3D Generation with Video Diffusion Models | [
"Haibo Yang",
"Yang Chen",
"Yingwei Pan",
"Ting Yao",
"Zhineng Chen",
"Chong-Wah Ngo",
"Tao Mei"
] | 2024-09-11 | Despite having tremendous progress in image-to-3D generation, existing
methods still struggle to produce multi-view consistent images with
high-resolution textures in detail, especially in the paradigm of 2D diffusion
that lacks 3D awareness. In this work, we present High-resolution Image-to-3D
model (Hi3D), a new video diffusion based paradigm that redefines a single
image to multi-view images as 3D-aware sequential image generation (i.e.,
orbital video generation). This methodology delves into the underlying temporal
consistency knowledge in video diffusion model that generalizes well to
geometry consistency across multiple views in 3D generation. Technically, Hi3D
first empowers the pre-trained video diffusion model with 3D-aware prior
(camera pose condition), yielding multi-view images with low-resolution texture
details. A 3D-aware video-to-video refiner is learnt to further scale up the
multi-view images with high-resolution texture details. Such high-resolution
multi-view images are further augmented with novel views through 3D Gaussian
Splatting, which are finally leveraged to obtain high-fidelity meshes via 3D
reconstruction. Extensive experiments on both novel view synthesis and single
view reconstruction demonstrate that our Hi3D manages to produce superior
multi-view consistency images with highly-detailed textures. Source code and
data are available at \url{https://github.com/yanghb22-fdu/Hi3D-Official}. | null | cs.CV | [
"cs.CV",
"cs.MM"
] |
2404.13013 | HF | Groma: Localized Visual Tokenization for Grounding Multimodal Large Language Models | [
"Chuofan Ma",
"Yi Jiang",
"Jiannan Wu",
"Zehuan Yuan",
"Xiaojuan Qi"
] | 2024-04-19 | We introduce Groma, a Multimodal Large Language Model (MLLM) with grounded
and fine-grained visual perception ability. Beyond holistic image
understanding, Groma is adept at region-level tasks such as region captioning
and visual grounding. Such capabilities are built upon a localized visual
tokenization mechanism, where an image input is decomposed into regions of
interest and subsequently encoded into region tokens. By integrating region
tokens into user instructions and model responses, we seamlessly enable Groma
to understand user-specified region inputs and ground its textual output to
images. Besides, to enhance the grounded chat ability of Groma, we curate a
visually grounded instruction dataset by leveraging the powerful GPT-4V and
visual prompting techniques. Compared with MLLMs that rely on the language
model or external module for localization, Groma consistently demonstrates
superior performances in standard referring and grounding benchmarks,
highlighting the advantages of embedding localization into image tokenization.
Project page: https://groma-mllm.github.io/. | null | cs.CV | [
"cs.CV",
"cs.AI",
"cs.CL",
"cs.LG"
] |
2311.07574 | HF | To See is to Believe: Prompting GPT-4V for Better Visual Instruction Tuning | [
"Junke Wang",
"Lingchen Meng",
"Zejia Weng",
"Bo He",
"Zuxuan Wu",
"Yu-Gang Jiang"
] | 2023-11-13 | Existing visual instruction tuning methods typically prompt large language
models with textual descriptions to generate instruction-following data.
Despite the promising performance achieved, these descriptions are derived from
image annotations, which are oftentimes coarse-grained. Furthermore, the
instructions might even contradict the visual content without observing the
entire visual context. To address this challenge, we introduce a fine-grained
visual instruction dataset, LVIS-Instruct4V, which contains 220K visually
aligned and context-aware instructions produced by prompting the powerful
GPT-4V with images from LVIS. Through experimental validation and case studies,
we demonstrate that high-quality visual instructional data could improve the
performance of LLaVA-1.5, a state-of-the-art large multimodal model, across a
wide spectrum of benchmarks by clear margins. Notably, by simply replacing the
LLaVA-Instruct with our LVIS-Instruct4V, we achieve better results than LLaVA
on most challenging LMM benchmarks, e.g., LLaVA$^w$ (76.7 vs. 70.7) and MM-Vet
(40.2 vs. 35.4). We release our data and model at
https://github.com/X2FD/LVIS-INSTRUCT4V. | null | cs.CV | [
"cs.CV"
] |
2311.09179 | HF | SiRA: Sparse Mixture of Low Rank Adaptation | [
"Yun Zhu",
"Nevan Wichers",
"Chu-Cheng Lin",
"Xinyi Wang",
"Tianlong Chen",
"Lei Shu",
"Han Lu",
"Canoee Liu",
"Liangchen Luo",
"Jindong Chen",
"Lei Meng"
] | 2023-11-15 | Parameter Efficient Tuning has been an prominent approach to adapt the Large
Language Model to downstream tasks. Most previous works considers adding the
dense trainable parameters, where all parameters are used to adapt certain
task. We found this less effective empirically using the example of LoRA that
introducing more trainable parameters does not help. Motivated by this we
investigate the importance of leveraging "sparse" computation and propose SiRA:
sparse mixture of low rank adaption. SiRA leverages the Sparse Mixture of
Expert(SMoE) to boost the performance of LoRA. Specifically it enforces the top
$k$ experts routing with a capacity limit restricting the maximum number of
tokens each expert can process. We propose a novel and simple expert dropout on
top of gating network to reduce the over-fitting issue. Through extensive
experiments, we verify SiRA performs better than LoRA and other mixture of
expert approaches across different single tasks and multitask settings. | null | cs.CL | [
"cs.CL"
] |
2409.07441 | HF | Instant Facial Gaussians Translator for Relightable and Interactable Facial Rendering | [
"Dafei Qin",
"Hongyang Lin",
"Qixuan Zhang",
"Kaichun Qiao",
"Longwen Zhang",
"Zijun Zhao",
"Jun Saito",
"Jingyi Yu",
"Lan Xu",
"Taku Komura"
] | 2024-09-11 | We propose GauFace, a novel Gaussian Splatting representation, tailored for
efficient animation and rendering of physically-based facial assets. Leveraging
strong geometric priors and constrained optimization, GauFace ensures a neat
and structured Gaussian representation, delivering high fidelity and real-time
facial interaction of 30fps@1440p on a Snapdragon 8 Gen 2 mobile platform.
Then, we introduce TransGS, a diffusion transformer that instantly translates
physically-based facial assets into the corresponding GauFace representations.
Specifically, we adopt a patch-based pipeline to handle the vast number of
Gaussians effectively. We also introduce a novel pixel-aligned sampling scheme
with UV positional encoding to ensure the throughput and rendering quality of
GauFace assets generated by our TransGS. Once trained, TransGS can instantly
translate facial assets with lighting conditions to GauFace representation,
With the rich conditioning modalities, it also enables editing and animation
capabilities reminiscent of traditional CG pipelines.
We conduct extensive evaluations and user studies, compared to traditional
offline and online renderers, as well as recent neural rendering methods, which
demonstrate the superior performance of our approach for facial asset
rendering. We also showcase diverse immersive applications of facial assets
using our TransGS approach and GauFace representation, across various platforms
like PCs, phones and even VR headsets. | null | cs.GR | [
"cs.GR"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.