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.07969 | HF | GPT-Sentinel: Distinguishing Human and ChatGPT Generated Content | [
"Yutian Chen",
"Hao Kang",
"Vivian Zhai",
"Liangze Li",
"Rita Singh",
"Bhiksha Raj"
] | 2023-05-13 | This paper presents a novel approach for detecting ChatGPT-generated vs.
human-written text using language models. To this end, we first collected and
released a pre-processed dataset named OpenGPTText, which consists of rephrased
content generated using ChatGPT. We then designed, implemented, and trained two
different models for text classification, using Robustly Optimized BERT
Pretraining Approach (RoBERTa) and Text-to-Text Transfer Transformer (T5),
respectively. Our models achieved remarkable results, with an accuracy of over
97% on the test dataset, as evaluated through various metrics. Furthermore, we
conducted an interpretability study to showcase our model's ability to extract
and differentiate key features between human-written and ChatGPT-generated
text. Our findings provide important insights into the effective use of
language models to detect generated text. | null | cs.CL | [
"cs.CL"
] |
2404.01954 | HF | HyperCLOVA X Technical Report | [
"Kang Min Yoo",
"Jaegeun Han",
"Sookyo In",
"Heewon Jeon",
"Jisu Jeong",
"Jaewook Kang",
"Hyunwook Kim",
"Kyung-Min Kim",
"Munhyong Kim",
"Sungju Kim",
"Donghyun Kwak",
"Hanock Kwak",
"Se Jung Kwon",
"Bado Lee",
"Dongsoo Lee",
"Gichang Lee",
"Jooho Lee",
"Baeseong Park",
"Seongjin Shin",
"Joonsang Yu",
"Seolki Baek",
"Sumin Byeon",
"Eungsup Cho",
"Dooseok Choe",
"Jeesung Han",
"Youngkyun Jin",
"Hyein Jun",
"Jaeseung Jung",
"Chanwoong Kim",
"Jinhong Kim",
"Jinuk Kim",
"Dokyeong Lee",
"Dongwook Park",
"Jeong Min Sohn",
"Sujung Han",
"Jiae Heo",
"Sungju Hong",
"Mina Jeon",
"Hyunhoon Jung",
"Jungeun Jung",
"Wangkyo Jung",
"Chungjoon Kim",
"Hyeri Kim",
"Jonghyun Kim",
"Min Young Kim",
"Soeun Lee",
"Joonhee Park",
"Jieun Shin",
"Sojin Yang",
"Jungsoon Yoon",
"Hwaran Lee",
"Sanghwan Bae",
"Jeehwan Cha",
"Karl Gylleus",
"Donghoon Ham",
"Mihak Hong",
"Youngki Hong",
"Yunki Hong",
"Dahyun Jang",
"Hyojun Jeon",
"Yujin Jeon",
"Yeji Jeong",
"Myunggeun Ji",
"Yeguk Jin",
"Chansong Jo",
"Shinyoung Joo",
"Seunghwan Jung",
"Adrian Jungmyung Kim",
"Byoung Hoon Kim",
"Hyomin Kim",
"Jungwhan Kim",
"Minkyoung Kim",
"Minseung Kim",
"Sungdong Kim",
"Yonghee Kim",
"Youngjun Kim",
"Youngkwan Kim",
"Donghyeon Ko",
"Dughyun Lee",
"Ha Young Lee",
"Jaehong Lee",
"Jieun Lee",
"Jonghyun Lee",
"Jongjin Lee",
"Min Young Lee",
"Yehbin Lee",
"Taehong Min",
"Yuri Min",
"Kiyoon Moon",
"Hyangnam Oh",
"Jaesun Park",
"Kyuyon Park",
"Younghun Park",
"Hanbae Seo",
"Seunghyun Seo",
"Mihyun Sim",
"Gyubin Son",
"Matt Yeo",
"Kyung Hoon Yeom",
"Wonjoon Yoo",
"Myungin You",
"Doheon Ahn",
"Homin Ahn",
"Joohee Ahn",
"Seongmin Ahn",
"Chanwoo An",
"Hyeryun An",
"Junho An",
"Sang-Min An",
"Boram Byun",
"Eunbin Byun",
"Jongho Cha",
"Minji Chang",
"Seunggyu Chang",
"Haesong Cho",
"Youngdo Cho",
"Dalnim Choi",
"Daseul Choi",
"Hyoseok Choi",
"Minseong Choi",
"Sangho Choi",
"Seongjae Choi",
"Wooyong Choi",
"Sewhan Chun",
"Dong Young Go",
"Chiheon Ham",
"Danbi Han",
"Jaemin Han",
"Moonyoung Hong",
"Sung Bum Hong",
"Dong-Hyun Hwang",
"Seongchan Hwang",
"Jinbae Im",
"Hyuk Jin Jang",
"Jaehyung Jang",
"Jaeni Jang",
"Sihyeon Jang",
"Sungwon Jang",
"Joonha Jeon",
"Daun Jeong",
"Joonhyun Jeong",
"Kyeongseok Jeong",
"Mini Jeong",
"Sol Jin",
"Hanbyeol Jo",
"Hanju Jo",
"Minjung Jo",
"Chaeyoon Jung",
"Hyungsik Jung",
"Jaeuk Jung",
"Ju Hwan Jung",
"Kwangsun Jung",
"Seungjae Jung",
"Soonwon Ka",
"Donghan Kang",
"Soyoung Kang",
"Taeho Kil",
"Areum Kim",
"Beomyoung Kim",
"Byeongwook Kim",
"Daehee Kim",
"Dong-Gyun Kim",
"Donggook Kim",
"Donghyun Kim",
"Euna Kim",
"Eunchul Kim",
"Geewook Kim",
"Gyu Ri Kim",
"Hanbyul Kim",
"Heesu Kim",
"Isaac Kim",
"Jeonghoon Kim",
"Jihye Kim",
"Joonghoon Kim",
"Minjae Kim",
"Minsub Kim",
"Pil Hwan Kim",
"Sammy Kim",
"Seokhun Kim",
"Seonghyeon Kim",
"Soojin Kim",
"Soong Kim",
"Soyoon Kim",
"Sunyoung Kim",
"Taeho Kim",
"Wonho Kim",
"Yoonsik Kim",
"You Jin Kim",
"Yuri Kim",
"Beomseok Kwon",
"Ohsung Kwon",
"Yoo-Hwan Kwon",
"Anna Lee",
"Byungwook Lee",
"Changho Lee",
"Daun Lee",
"Dongjae Lee",
"Ha-Ram Lee",
"Hodong Lee",
"Hwiyeong Lee",
"Hyunmi Lee",
"Injae Lee",
"Jaeung Lee",
"Jeongsang Lee",
"Jisoo Lee",
"Jongsoo Lee",
"Joongjae Lee",
"Juhan Lee",
"Jung Hyun Lee",
"Junghoon Lee",
"Junwoo Lee",
"Se Yun Lee",
"Sujin Lee",
"Sungjae Lee",
"Sungwoo Lee",
"Wonjae Lee",
"Zoo Hyun Lee",
"Jong Kun Lim",
"Kun Lim",
"Taemin Lim",
"Nuri Na",
"Jeongyeon Nam",
"Kyeong-Min Nam",
"Yeonseog Noh",
"Biro Oh",
"Jung-Sik Oh",
"Solgil Oh",
"Yeontaek Oh",
"Boyoun Park",
"Cheonbok Park",
"Dongju Park",
"Hyeonjin Park",
"Hyun Tae Park",
"Hyunjung Park",
"Jihye Park",
"Jooseok Park",
"Junghwan Park",
"Jungsoo Park",
"Miru Park",
"Sang Hee Park",
"Seunghyun Park",
"Soyoung Park",
"Taerim Park",
"Wonkyeong Park",
"Hyunjoon Ryu",
"Jeonghun Ryu",
"Nahyeon Ryu",
"Soonshin Seo",
"Suk Min Seo",
"Yoonjeong Shim",
"Kyuyong Shin",
"Wonkwang Shin",
"Hyun Sim",
"Woongseob Sim",
"Hyejin Soh",
"Bokyong Son",
"Hyunjun Son",
"Seulah Son",
"Chi-Yun Song",
"Chiyoung Song",
"Ka Yeon Song",
"Minchul Song",
"Seungmin Song",
"Jisung Wang",
"Yonggoo Yeo",
"Myeong Yeon Yi",
"Moon Bin Yim",
"Taehwan Yoo",
"Youngjoon Yoo",
"Sungmin Yoon",
"Young Jin Yoon",
"Hangyeol Yu",
"Ui Seon Yu",
"Xingdong Zuo",
"Jeongin Bae",
"Joungeun Bae",
"Hyunsoo Cho",
"Seonghyun Cho",
"Yongjin Cho",
"Taekyoon Choi",
"Yera Choi",
"Jiwan Chung",
"Zhenghui Han",
"Byeongho Heo",
"Euisuk Hong",
"Taebaek Hwang",
"Seonyeol Im",
"Sumin Jegal",
"Sumin Jeon",
"Yelim Jeong",
"Yonghyun Jeong",
"Can Jiang",
"Juyong Jiang",
"Jiho Jin",
"Ara Jo",
"Younghyun Jo",
"Hoyoun Jung",
"Juyoung Jung",
"Seunghyeong Kang",
"Dae Hee Kim",
"Ginam Kim",
"Hangyeol Kim",
"Heeseung Kim",
"Hyojin Kim",
"Hyojun Kim",
"Hyun-Ah Kim",
"Jeehye Kim",
"Jin-Hwa Kim",
"Jiseon Kim",
"Jonghak Kim",
"Jung Yoon Kim",
"Rak Yeong Kim",
"Seongjin Kim",
"Seoyoon Kim",
"Sewon Kim",
"Sooyoung Kim",
"Sukyoung Kim",
"Taeyong Kim",
"Naeun Ko",
"Bonseung Koo",
"Heeyoung Kwak",
"Haena Kwon",
"Youngjin Kwon",
"Boram Lee",
"Bruce W. Lee",
"Dagyeong Lee",
"Erin Lee",
"Euijin Lee",
"Ha Gyeong Lee",
"Hyojin Lee",
"Hyunjeong Lee",
"Jeeyoon Lee",
"Jeonghyun Lee",
"Jongheok Lee",
"Joonhyung Lee",
"Junhyuk Lee",
"Mingu Lee",
"Nayeon Lee",
"Sangkyu Lee",
"Se Young Lee",
"Seulgi Lee",
"Seung Jin Lee",
"Suhyeon Lee",
"Yeonjae Lee",
"Yesol Lee",
"Youngbeom Lee",
"Yujin Lee",
"Shaodong Li",
"Tianyu Liu",
"Seong-Eun Moon",
"Taehong Moon",
"Max-Lasse Nihlenramstroem",
"Wonseok Oh",
"Yuri Oh",
"Hongbeen Park",
"Hyekyung Park",
"Jaeho Park",
"Nohil Park",
"Sangjin Park",
"Jiwon Ryu",
"Miru Ryu",
"Simo Ryu",
"Ahreum Seo",
"Hee Seo",
"Kangdeok Seo",
"Jamin Shin",
"Seungyoun Shin",
"Heetae Sin",
"Jiangping Wang",
"Lei Wang",
"Ning Xiang",
"Longxiang Xiao",
"Jing Xu",
"Seonyeong Yi",
"Haanju Yoo",
"Haneul Yoo",
"Hwanhee Yoo",
"Liang Yu",
"Youngjae Yu",
"Weijie Yuan",
"Bo Zeng",
"Qian Zhou",
"Kyunghyun Cho",
"Jung-Woo Ha",
"Joonsuk Park",
"Jihyun Hwang",
"Hyoung Jo Kwon",
"Soonyong Kwon",
"Jungyeon Lee",
"Seungho Lee",
"Seonghyeon Lim",
"Hyunkyung Noh",
"Seungho Choi",
"Sang-Woo Lee",
"Jung Hwa Lim",
"Nako Sung"
] | 2024-04-02 | We introduce HyperCLOVA X, a family of large language models (LLMs) tailored
to the Korean language and culture, along with competitive capabilities in
English, math, and coding. HyperCLOVA X was trained on a balanced mix of
Korean, English, and code data, followed by instruction-tuning with
high-quality human-annotated datasets while abiding by strict safety guidelines
reflecting our commitment to responsible AI. The model is evaluated across
various benchmarks, including comprehensive reasoning, knowledge, commonsense,
factuality, coding, math, chatting, instruction-following, and harmlessness, in
both Korean and English. HyperCLOVA X exhibits strong reasoning capabilities in
Korean backed by a deep understanding of the language and cultural nuances.
Further analysis of the inherent bilingual nature and its extension to
multilingualism highlights the model's cross-lingual proficiency and strong
generalization ability to untargeted languages, including machine translation
between several language pairs and cross-lingual inference tasks. We believe
that HyperCLOVA X can provide helpful guidance for regions or countries in
developing their sovereign LLMs. | null | cs.CL | [
"cs.CL",
"cs.AI"
] |
2406.14563 | HF | Model Merging and Safety Alignment: One Bad Model Spoils the Bunch | [
"Hasan Abed Al Kader Hammoud",
"Umberto Michieli",
"Fabio Pizzati",
"Philip Torr",
"Adel Bibi",
"Bernard Ghanem",
"Mete Ozay"
] | 2024-06-20 | Merging Large Language Models (LLMs) is a cost-effective technique for
combining multiple expert LLMs into a single versatile model, retaining the
expertise of the original ones. However, current approaches often overlook the
importance of safety alignment during merging, leading to highly misaligned
models. This work investigates the effects of model merging on alignment. We
evaluate several popular model merging techniques, demonstrating that existing
methods do not only transfer domain expertise but also propagate misalignment.
We propose a simple two-step approach to address this problem: (i) generating
synthetic safety and domain-specific data, and (ii) incorporating these
generated data into the optimization process of existing data-aware model
merging techniques. This allows us to treat alignment as a skill that can be
maximized in the resulting merged LLM. Our experiments illustrate the
effectiveness of integrating alignment-related data during merging, resulting
in models that excel in both domain expertise and alignment. | null | cs.CL | [
"cs.CL",
"cs.AI",
"cs.LG"
] |
2305.13786 | HF | Perception Test: A Diagnostic Benchmark for Multimodal Video Models | [
"Viorica Pătrăucean",
"Lucas Smaira",
"Ankush Gupta",
"Adrià Recasens Continente",
"Larisa Markeeva",
"Dylan Banarse",
"Skanda Koppula",
"Joseph Heyward",
"Mateusz Malinowski",
"Yi Yang",
"Carl Doersch",
"Tatiana Matejovicova",
"Yury Sulsky",
"Antoine Miech",
"Alex Frechette",
"Hanna Klimczak",
"Raphael Koster",
"Junlin Zhang",
"Stephanie Winkler",
"Yusuf Aytar",
"Simon Osindero",
"Dima Damen",
"Andrew Zisserman",
"João Carreira"
] | 2023-05-23 | We propose a novel multimodal video benchmark - the Perception Test - to
evaluate the perception and reasoning skills of pre-trained multimodal models
(e.g. Flamingo, SeViLA, or GPT-4). Compared to existing benchmarks that focus
on computational tasks (e.g. classification, detection or tracking), the
Perception Test focuses on skills (Memory, Abstraction, Physics, Semantics) and
types of reasoning (descriptive, explanatory, predictive, counterfactual)
across video, audio, and text modalities, to provide a comprehensive and
efficient evaluation tool. The benchmark probes pre-trained models for their
transfer capabilities, in a zero-shot / few-shot or limited finetuning regime.
For these purposes, the Perception Test introduces 11.6k real-world videos, 23s
average length, designed to show perceptually interesting situations, filmed by
around 100 participants worldwide. The videos are densely annotated with six
types of labels (multiple-choice and grounded video question-answers, object
and point tracks, temporal action and sound segments), enabling both language
and non-language evaluations. The fine-tuning and validation splits of the
benchmark are publicly available (CC-BY license), in addition to a challenge
server with a held-out test split. Human baseline results compared to
state-of-the-art video QA models show a substantial gap in performance (91.4%
vs 46.2%), suggesting that there is significant room for improvement in
multimodal video understanding.
Dataset, baseline code, and challenge server are available at
https://github.com/deepmind/perception_test | null | cs.CV | [
"cs.CV",
"cs.AI",
"cs.LG"
] |
2305.10855 | HF | TextDiffuser: Diffusion Models as Text Painters | [
"Jingye Chen",
"Yupan Huang",
"Tengchao Lv",
"Lei Cui",
"Qifeng Chen",
"Furu Wei"
] | 2023-05-18 | Diffusion models have gained increasing attention for their impressive
generation abilities but currently struggle with rendering accurate and
coherent text. To address this issue, we introduce TextDiffuser, focusing on
generating images with visually appealing text that is coherent with
backgrounds. TextDiffuser consists of two stages: first, a Transformer model
generates the layout of keywords extracted from text prompts, and then
diffusion models generate images conditioned on the text prompt and the
generated layout. Additionally, we contribute the first large-scale text images
dataset with OCR annotations, MARIO-10M, containing 10 million image-text pairs
with text recognition, detection, and character-level segmentation annotations.
We further collect the MARIO-Eval benchmark to serve as a comprehensive tool
for evaluating text rendering quality. Through experiments and user studies, we
show that TextDiffuser is flexible and controllable to create high-quality text
images using text prompts alone or together with text template images, and
conduct text inpainting to reconstruct incomplete images with text. The code,
model, and dataset will be available at \url{https://aka.ms/textdiffuser}. | null | cs.CV | [
"cs.CV"
] |
2312.14233 | HF | VCoder: Versatile Vision Encoders for Multimodal Large Language Models | [
"Jitesh Jain",
"Jianwei Yang",
"Humphrey Shi"
] | 2023-12-21 | Humans possess the remarkable skill of Visual Perception, the ability to see
and understand the seen, helping them make sense of the visual world and, in
turn, reason. Multimodal Large Language Models (MLLM) have recently achieved
impressive performance on vision-language tasks ranging from visual
question-answering and image captioning to visual reasoning and image
generation. However, when prompted to identify or count (perceive) the entities
in a given image, existing MLLM systems fail. Working towards developing an
accurate MLLM system for perception and reasoning, we propose using Versatile
vision enCoders (VCoder) as perception eyes for Multimodal LLMs. We feed the
VCoder with perception modalities such as segmentation or depth maps, improving
the MLLM's perception abilities. Secondly, we leverage the images from COCO and
outputs from off-the-shelf vision perception models to create our COCO
Segmentation Text (COST) dataset for training and evaluating MLLMs on the
object perception task. Thirdly, we introduce metrics to assess the object
perception abilities in MLLMs on our COST dataset. Lastly, we provide extensive
experimental evidence proving the VCoder's improved object-level perception
skills over existing Multimodal LLMs, including GPT-4V. We open-source our
dataset, code, and models to promote research. We open-source our code at
https://github.com/SHI-Labs/VCoder | null | cs.CV | [
"cs.CV"
] |
2407.15233 | HF | CGB-DM: Content and Graphic Balance Layout Generation with Transformer-based Diffusion Model | [
"Yu Li",
"Yifan Chen",
"Gongye Liu",
"Jie Wu",
"Yujiu Yang"
] | 2024-07-21 | Layout generation is the foundation task of intelligent design, which
requires the integration of visual aesthetics and harmonious expression of
content delivery. However, existing methods still face challenges in generating
precise and visually appealing layouts, including blocking, overlap, or spatial
misalignment between layouts, which are closely related to the spatial
structure of graphic layouts. We find that these methods overly focus on
content information and lack constraints on layout spatial structure, resulting
in an imbalance of learning content-aware and graphic-aware features. To tackle
this issue, we propose Content and Graphic Balance Layout Generation with
Transformer-based Diffusion Model (CGB-DM). Specifically, we first design a
regulator that balances the predicted content and graphic weight, overcoming
the tendency of paying more attention to the content on canvas. Secondly, we
introduce a graphic constraint of saliency bounding box to further enhance the
alignment of geometric features between layout representations and images. In
addition, we adapt a transformer-based diffusion model as the backbone, whose
powerful generation capability ensures the quality in layout generation.
Extensive experimental results indicate that our method has achieved
state-of-the-art performance in both quantitative and qualitative evaluations.
Our model framework can also be expanded to other graphic design fields. | null | cs.CV | [
"cs.CV"
] |
2309.02186 | HF | AniPortraitGAN: Animatable 3D Portrait Generation from 2D Image Collections | [
"Yue Wu",
"Sicheng Xu",
"Jianfeng Xiang",
"Fangyun Wei",
"Qifeng Chen",
"Jiaolong Yang",
"Xin Tong"
] | 2023-09-05 | Previous animatable 3D-aware GANs for human generation have primarily focused
on either the human head or full body. However, head-only videos are relatively
uncommon in real life, and full body generation typically does not deal with
facial expression control and still has challenges in generating high-quality
results. Towards applicable video avatars, we present an animatable 3D-aware
GAN that generates portrait images with controllable facial expression, head
pose, and shoulder movements. It is a generative model trained on unstructured
2D image collections without using 3D or video data. For the new task, we base
our method on the generative radiance manifold representation and equip it with
learnable facial and head-shoulder deformations. A dual-camera rendering and
adversarial learning scheme is proposed to improve the quality of the generated
faces, which is critical for portrait images. A pose deformation processing
network is developed to generate plausible deformations for challenging regions
such as long hair. Experiments show that our method, trained on unstructured 2D
images, can generate diverse and high-quality 3D portraits with desired control
over different properties. | null | cs.CV | [
"cs.CV",
"cs.AI",
"cs.GR"
] |
2307.05454 | HF | Empowering Cross-lingual Behavioral Testing of NLP Models with Typological Features | [
"Ester Hlavnova",
"Sebastian Ruder"
] | 2023-07-11 | A challenge towards developing NLP systems for the world's languages is
understanding how they generalize to typological differences relevant for
real-world applications. To this end, we propose M2C, a morphologically-aware
framework for behavioral testing of NLP models. We use M2C to generate tests
that probe models' behavior in light of specific linguistic features in 12
typologically diverse languages. We evaluate state-of-the-art language models
on the generated tests. While models excel at most tests in English, we
highlight generalization failures to specific typological characteristics such
as temporal expressions in Swahili and compounding possessives in Finish. Our
findings motivate the development of models that address these blind spots. | null | cs.CL | [
"cs.CL",
"cs.LG"
] |
2307.00184 | HF | Personality Traits in Large Language Models | [
"Greg Serapio-García",
"Mustafa Safdari",
"Clément Crepy",
"Luning Sun",
"Stephen Fitz",
"Peter Romero",
"Marwa Abdulhai",
"Aleksandra Faust",
"Maja Matarić"
] | 2023-07-01 | The advent of large language models (LLMs) has revolutionized natural
language processing, enabling the generation of coherent and contextually
relevant human-like text. As LLMs increasingly power conversational agents used
by the general public world-wide, the synthetic personality embedded in these
models, by virtue of training on large amounts of human data, is becoming
increasingly important. Since personality is a key factor determining the
effectiveness of communication, we present a comprehensive method for
administering and validating personality tests on widely-used LLMs, as well as
for shaping personality in the generated text of such LLMs. Applying this
method, we found: 1) personality measurements in the outputs of some LLMs under
specific prompting configurations are reliable and valid; 2) evidence of
reliability and validity of synthetic LLM personality is stronger for larger
and instruction fine-tuned models; and 3) personality in LLM outputs can be
shaped along desired dimensions to mimic specific human personality profiles.
We discuss application and ethical implications of the measurement and shaping
method, in particular regarding responsible AI. | null | cs.CL | [
"cs.CL",
"cs.AI",
"cs.CY",
"cs.HC",
"68T35",
"I.2.7"
] |
2401.16013 | HF | SERL: A Software Suite for Sample-Efficient Robotic Reinforcement Learning | [
"Jianlan Luo",
"Zheyuan Hu",
"Charles Xu",
"You Liang Tan",
"Jacob Berg",
"Archit Sharma",
"Stefan Schaal",
"Chelsea Finn",
"Abhishek Gupta",
"Sergey Levine"
] | 2024-01-29 | In recent years, significant progress has been made in the field of robotic
reinforcement learning (RL), enabling methods that handle complex image
observations, train in the real world, and incorporate auxiliary data, such as
demonstrations and prior experience. However, despite these advances, robotic
RL remains hard to use. It is acknowledged among practitioners that the
particular implementation details of these algorithms are often just as
important (if not more so) for performance as the choice of algorithm. We posit
that a significant challenge to widespread adoption of robotic RL, as well as
further development of robotic RL methods, is the comparative inaccessibility
of such methods. To address this challenge, we developed a carefully
implemented library containing a sample efficient off-policy deep RL method,
together with methods for computing rewards and resetting the environment, a
high-quality controller for a widely-adopted robot, and a number of challenging
example tasks. We provide this library as a resource for the community,
describe its design choices, and present experimental results. Perhaps
surprisingly, we find that our implementation can achieve very efficient
learning, acquiring policies for PCB board assembly, cable routing, and object
relocation between 25 to 50 minutes of training per policy on average,
improving over state-of-the-art results reported for similar tasks in the
literature. These policies achieve perfect or near-perfect success rates,
extreme robustness even under perturbations, and exhibit emergent recovery and
correction behaviors. We hope that these promising results and our high-quality
open-source implementation will provide a tool for the robotics community to
facilitate further developments in robotic RL. Our code, documentation, and
videos can be found at https://serl-robot.github.io/ | null | cs.RO | [
"cs.RO",
"cs.AI"
] |
2011.14522 | AnswerAI | Feature Learning in Infinite-Width Neural Networks | [
"Greg Yang",
"Edward J. Hu"
] | 2020-11-30 | As its width tends to infinity, a deep neural network's behavior under
gradient descent can become simplified and predictable (e.g. given by the
Neural Tangent Kernel (NTK)), if it is parametrized appropriately (e.g. the NTK
parametrization). However, we show that the standard and NTK parametrizations
of a neural network do not admit infinite-width limits that can learn features,
which is crucial for pretraining and transfer learning such as with BERT. We
propose simple modifications to the standard parametrization to allow for
feature learning in the limit. Using the *Tensor Programs* technique, we derive
explicit formulas for such limits. On Word2Vec and few-shot learning on
Omniglot via MAML, two canonical tasks that rely crucially on feature learning,
we compute these limits exactly. We find that they outperform both NTK
baselines and finite-width networks, with the latter approaching the
infinite-width feature learning performance as width increases.
More generally, we classify a natural space of neural network
parametrizations that generalizes standard, NTK, and Mean Field
parametrizations. We show 1) any parametrization in this space either admits
feature learning or has an infinite-width training dynamics given by kernel
gradient descent, but not both; 2) any such infinite-width limit can be
computed using the Tensor Programs technique. Code for our experiments can be
found at github.com/edwardjhu/TP4. | null | cs.LG | [
"cs.LG",
"cond-mat.dis-nn",
"cs.NE"
] |
2408.15664 | HF | Auxiliary-Loss-Free Load Balancing Strategy for Mixture-of-Experts | [
"Lean Wang",
"Huazuo Gao",
"Chenggang Zhao",
"Xu Sun",
"Damai Dai"
] | 2024-08-28 | For Mixture-of-Experts (MoE) models, an unbalanced expert load will lead to
routing collapse or increased computational overhead. Existing methods commonly
employ an auxiliary loss to encourage load balance, but a large auxiliary loss
will introduce non-negligible interference gradients into training and thus
impair the model performance. In order to control load balance while not
producing undesired gradients during training, we propose Loss-Free Balancing,
featured by an auxiliary-loss-free load balancing strategy. To be specific,
before the top-K routing decision, Loss-Free Balancing will first apply an
expert-wise bias to the routing scores of each expert. By dynamically updating
the bias of each expert according to its recent load, Loss-Free Balancing can
consistently maintain a balanced distribution of expert load. In addition,
since Loss-Free Balancing does not produce any interference gradients, it also
elevates the upper bound of model performance gained from MoE training. We
validate the performance of Loss-Free Balancing on MoE models with up to 3B
parameters trained on up to 200B tokens. Experimental results show that
Loss-Free Balancing achieves both better performance and better load balance
compared with traditional auxiliary-loss-controlled load balancing strategies. | null | cs.LG | [
"cs.LG",
"cs.CL"
] |
2307.00682 | AnswerAI | Tools for Verifying Neural Models' Training Data | [
"Dami Choi",
"Yonadav Shavit",
"David Duvenaud"
] | 2023-07-02 | It is important that consumers and regulators can verify the provenance of
large neural models to evaluate their capabilities and risks. We introduce the
concept of a "Proof-of-Training-Data": any protocol that allows a model trainer
to convince a Verifier of the training data that produced a set of model
weights. Such protocols could verify the amount and kind of data and compute
used to train the model, including whether it was trained on specific harmful
or beneficial data sources. We explore efficient verification strategies for
Proof-of-Training-Data that are compatible with most current large-model
training procedures. These include a method for the model-trainer to verifiably
pre-commit to a random seed used in training, and a method that exploits
models' tendency to temporarily overfit to training data in order to detect
whether a given data-point was included in training. We show experimentally
that our verification procedures can catch a wide variety of attacks, including
all known attacks from the Proof-of-Learning literature. | null | cs.LG | [
"cs.LG",
"cs.CR"
] |
2405.14782 | AnswerAI | Lessons from the Trenches on Reproducible Evaluation of Language Models | [
"Stella Biderman",
"Hailey Schoelkopf",
"Lintang Sutawika",
"Leo Gao",
"Jonathan Tow",
"Baber Abbasi",
"Alham Fikri Aji",
"Pawan Sasanka Ammanamanchi",
"Sidney Black",
"Jordan Clive",
"Anthony DiPofi",
"Julen Etxaniz",
"Benjamin Fattori",
"Jessica Zosa Forde",
"Charles Foster",
"Jeffrey Hsu",
"Mimansa Jaiswal",
"Wilson Y. Lee",
"Haonan Li",
"Charles Lovering",
"Niklas Muennighoff",
"Ellie Pavlick",
"Jason Phang",
"Aviya Skowron",
"Samson Tan",
"Xiangru Tang",
"Kevin A. Wang",
"Genta Indra Winata",
"François Yvon",
"Andy Zou"
] | 2024-05-23 | Effective evaluation of language models remains an open challenge in NLP.
Researchers and engineers face methodological issues such as the sensitivity of
models to evaluation setup, difficulty of proper comparisons across methods,
and the lack of reproducibility and transparency. In this paper we draw on
three years of experience in evaluating large language models to provide
guidance and lessons for researchers. First, we provide an overview of common
challenges faced in language model evaluation. Second, we delineate best
practices for addressing or lessening the impact of these challenges on
research. Third, we present the Language Model Evaluation Harness (lm-eval): an
open source library for independent, reproducible, and extensible evaluation of
language models that seeks to address these issues. We describe the features of
the library as well as case studies in which the library has been used to
alleviate these methodological concerns. | null | cs.CL | [
"cs.CL"
] |
2405.15743 | AnswerAI | Sparse maximal update parameterization: A holistic approach to sparse training dynamics | [
"Nolan Dey",
"Shane Bergsma",
"Joel Hestness"
] | 2024-05-24 | Several challenges make it difficult for sparse neural networks to compete
with dense models. First, setting a large fraction of weights to zero impairs
forward and gradient signal propagation. Second, sparse studies often need to
test multiple sparsity levels, while also introducing new hyperparameters
(HPs), leading to prohibitive tuning costs. Indeed, the standard practice is to
re-use the learning HPs originally crafted for dense models. Unfortunately, we
show sparse and dense networks do not share the same optimal HPs. Without
stable dynamics and effective training recipes, it is costly to test sparsity
at scale, which is key to surpassing dense networks and making the business
case for sparsity acceleration in hardware. A holistic approach is needed to
tackle these challenges and we propose S$\mu$Par as one such approach.
S$\mu$Par ensures activations, gradients, and weight updates all scale
independently of sparsity level. Further, by reparameterizing the HPs,
S$\mu$Par enables the same HP values to be optimal as we vary both sparsity
level and model width. HPs can be tuned on small dense networks and transferred
to large sparse models, greatly reducing tuning costs. On large-scale language
modeling, S$\mu$Par training improves loss by up to 8.2% over the common
approach of using the dense model standard parameterization. | null | cs.LG | [
"cs.LG"
] |
2305.07615 | HF | What are the Desired Characteristics of Calibration Sets? Identifying Correlates on Long Form Scientific Summarization | [
"Griffin Adams",
"Bichlien H Nguyen",
"Jake Smith",
"Yingce Xia",
"Shufang Xie",
"Anna Ostropolets",
"Budhaditya Deb",
"Yuan-Jyue Chen",
"Tristan Naumann",
"Noémie Elhadad"
] | 2023-05-12 | Summarization models often generate text that is poorly calibrated to quality
metrics because they are trained to maximize the likelihood of a single
reference (MLE). To address this, recent work has added a calibration step,
which exposes a model to its own ranked outputs to improve relevance or, in a
separate line of work, contrasts positive and negative sets to improve
faithfulness. While effective, much of this work has focused on how to generate
and optimize these sets. Less is known about why one setup is more effective
than another. In this work, we uncover the underlying characteristics of
effective sets. For each training instance, we form a large, diverse pool of
candidates and systematically vary the subsets used for calibration
fine-tuning. Each selection strategy targets distinct aspects of the sets, such
as lexical diversity or the size of the gap between positive and negatives. On
three diverse scientific long-form summarization datasets (spanning biomedical,
clinical, and chemical domains), we find, among others, that faithfulness
calibration is optimal when the negative sets are extractive and more likely to
be generated, whereas for relevance calibration, the metric margin between
candidates should be maximized and surprise--the disagreement between model and
metric defined candidate rankings--minimized. Code to create, select, and
optimize calibration sets is available at
https://github.com/griff4692/calibrating-summaries | null | cs.CL | [
"cs.CL"
] |
2312.08128 | HF | Clockwork Diffusion: Efficient Generation With Model-Step Distillation | [
"Amirhossein Habibian",
"Amir Ghodrati",
"Noor Fathima",
"Guillaume Sautiere",
"Risheek Garrepalli",
"Fatih Porikli",
"Jens Petersen"
] | 2023-12-13 | This work aims to improve the efficiency of text-to-image diffusion models.
While diffusion models use computationally expensive UNet-based denoising
operations in every generation step, we identify that not all operations are
equally relevant for the final output quality. In particular, we observe that
UNet layers operating on high-res feature maps are relatively sensitive to
small perturbations. In contrast, low-res feature maps influence the semantic
layout of the final image and can often be perturbed with no noticeable change
in the output. Based on this observation, we propose Clockwork Diffusion, a
method that periodically reuses computation from preceding denoising steps to
approximate low-res feature maps at one or more subsequent steps. For multiple
baselines, and for both text-to-image generation and image editing, we
demonstrate that Clockwork leads to comparable or improved perceptual scores
with drastically reduced computational complexity. As an example, for Stable
Diffusion v1.5 with 8 DPM++ steps we save 32% of FLOPs with negligible FID and
CLIP change. | null | cs.CV | [
"cs.CV"
] |
2405.08748 | HF | Hunyuan-DiT: A Powerful Multi-Resolution Diffusion Transformer with Fine-Grained Chinese Understanding | [
"Zhimin Li",
"Jianwei Zhang",
"Qin Lin",
"Jiangfeng Xiong",
"Yanxin Long",
"Xinchi Deng",
"Yingfang Zhang",
"Xingchao Liu",
"Minbin Huang",
"Zedong Xiao",
"Dayou Chen",
"Jiajun He",
"Jiahao Li",
"Wenyue Li",
"Chen Zhang",
"Rongwei Quan",
"Jianxiang Lu",
"Jiabin Huang",
"Xiaoyan Yuan",
"Xiaoxiao Zheng",
"Yixuan Li",
"Jihong Zhang",
"Chao Zhang",
"Meng Chen",
"Jie Liu",
"Zheng Fang",
"Weiyan Wang",
"Jinbao Xue",
"Yangyu Tao",
"Jianchen Zhu",
"Kai Liu",
"Sihuan Lin",
"Yifu Sun",
"Yun Li",
"Dongdong Wang",
"Mingtao Chen",
"Zhichao Hu",
"Xiao Xiao",
"Yan Chen",
"Yuhong Liu",
"Wei Liu",
"Di Wang",
"Yong Yang",
"Jie Jiang",
"Qinglin Lu"
] | 2024-05-14 | We present Hunyuan-DiT, a text-to-image diffusion transformer with
fine-grained understanding of both English and Chinese. To construct
Hunyuan-DiT, we carefully design the transformer structure, text encoder, and
positional encoding. We also build from scratch a whole data pipeline to update
and evaluate data for iterative model optimization. For fine-grained language
understanding, we train a Multimodal Large Language Model to refine the
captions of the images. Finally, Hunyuan-DiT can perform multi-turn multimodal
dialogue with users, generating and refining images according to the context.
Through our holistic human evaluation protocol with more than 50 professional
human evaluators, Hunyuan-DiT sets a new state-of-the-art in Chinese-to-image
generation compared with other open-source models. Code and pretrained models
are publicly available at github.com/Tencent/HunyuanDiT | null | cs.CV | [
"cs.CV"
] |
2305.15334 | AnswerAI | Gorilla: Large Language Model Connected with Massive APIs | [
"Shishir G. Patil",
"Tianjun Zhang",
"Xin Wang",
"Joseph E. Gonzalez"
] | 2023-05-24 | Large Language Models (LLMs) have seen an impressive wave of advances
recently, with models now excelling in a variety of tasks, such as mathematical
reasoning and program synthesis. However, their potential to effectively use
tools via API calls remains unfulfilled. This is a challenging task even for
today's state-of-the-art LLMs such as GPT-4, largely due to their inability to
generate accurate input arguments and their tendency to hallucinate the wrong
usage of an API call. We release Gorilla, a finetuned LLaMA-based model that
surpasses the performance of GPT-4 on writing API calls. When combined with a
document retriever, Gorilla demonstrates a strong capability to adapt to
test-time document changes, enabling flexible user updates or version changes.
It also substantially mitigates the issue of hallucination, commonly
encountered when prompting LLMs directly. To evaluate the model's ability, we
introduce APIBench, a comprehensive dataset consisting of HuggingFace,
TorchHub, and TensorHub APIs. The successful integration of the retrieval
system with Gorilla demonstrates the potential for LLMs to use tools more
accurately, keep up with frequently updated documentation, and consequently
increase the reliability and applicability of their outputs. Gorilla's code,
model, data, and demo are available at https://gorilla.cs.berkeley.edu | null | cs.CL | [
"cs.CL",
"cs.AI"
] |
2404.02060 | HF | Long-context LLMs Struggle with Long In-context Learning | [
"Tianle Li",
"Ge Zhang",
"Quy Duc Do",
"Xiang Yue",
"Wenhu Chen"
] | 2024-04-02 | Large Language Models (LLMs) have made significant strides in handling long
sequences. Some models like Gemini could even to be capable of dealing with
millions of tokens. However, their performance evaluation has largely been
confined to metrics like perplexity and synthetic tasks, which may not fully
capture their true abilities in more challenging, real-world scenarios. We
introduce a benchmark (LongICLBench) for long in-context learning in
extreme-label classification using six datasets with 28 to 174 classes and
input lengths from 2K to 50K tokens. Our benchmark requires LLMs to comprehend
the entire input to recognize the massive label spaces to make correct
predictions. We evaluate on 15 long-context LLMs and find that they perform
well on less challenging classification tasks with smaller label space and
shorter demonstrations. However, they struggle with more challenging task like
Discovery with 174 labels, suggesting a gap in their ability to process long,
context-rich sequences. Further analysis reveals a bias towards labels
presented later in the sequence and a need for improved reasoning over multiple
pieces of information. Our study reveals that long context understanding and
reasoning is still a challenging task for the existing LLMs. We believe
LongICLBench could serve as a more realistic evaluation for the future
long-context LLMs. | null | cs.CL | [
"cs.CL",
"cs.AI"
] |
2407.10424 | HF | CodeV: Empowering LLMs for Verilog Generation through Multi-Level Summarization | [
"Yang Zhao",
"Di Huang",
"Chongxiao Li",
"Pengwei Jin",
"Ziyuan Nan",
"Tianyun Ma",
"Lei Qi",
"Yansong Pan",
"Zhenxing Zhang",
"Rui Zhang",
"Xishan Zhang",
"Zidong Du",
"Qi Guo",
"Xing Hu",
"Yunji Chen"
] | 2024-07-15 | The increasing complexity and high costs associated with modern processor
design have led to a surge in demand for processor design automation.
Instruction-tuned large language models (LLMs) have demonstrated remarkable
performance in automatically generating code for general-purpose programming
languages like Python. However, these methods fail on hardware description
languages (HDLs) like Verilog due to the scarcity of high-quality instruction
tuning data, as even advanced LLMs like GPT-3.5 exhibit limited performance on
Verilog generation. Regarding this issue, we observe that (1) Verilog code
collected from the real world has higher quality than those generated by LLMs.
(2) LLMs like GPT-3.5 excel in summarizing Verilog code rather than generating
it. Based on these observations, this paper introduces CodeV, a series of
open-source instruction-tuned Verilog generation LLMs. Instead of generating
descriptions first and then getting the corresponding code from advanced LLMs,
we prompt the LLM with Verilog code and let the LLM generate the corresponding
natural language description by multi-level summarization. Experimental results
show that CodeV relatively surpasses the previous open-source SOTA by 14.4%
(BetterV in VerilogEval) and 11.3% (RTLCoder in RTLLM) respectively, and also
relatively outperforms previous commercial SOTA GPT-4 by 22.1% in VerilogEval. | null | cs.PL | [
"cs.PL",
"cs.AI"
] |
2409.06666 | HF | LLaMA-Omni: Seamless Speech Interaction with Large Language Models | [
"Qingkai Fang",
"Shoutao Guo",
"Yan Zhou",
"Zhengrui Ma",
"Shaolei Zhang",
"Yang Feng"
] | 2024-09-10 | Models like GPT-4o enable real-time interaction with large language models
(LLMs) through speech, significantly enhancing user experience compared to
traditional text-based interaction. However, there is still a lack of
exploration on how to build speech interaction models based on open-source
LLMs. To address this, we propose LLaMA-Omni, a novel model architecture
designed for low-latency and high-quality speech interaction with LLMs.
LLaMA-Omni integrates a pretrained speech encoder, a speech adaptor, an LLM,
and a streaming speech decoder. It eliminates the need for speech
transcription, and can simultaneously generate text and speech responses
directly from speech instructions with extremely low latency. We build our
model based on the latest Llama-3.1-8B-Instruct model. To align the model with
speech interaction scenarios, we construct a dataset named InstructS2S-200K,
which includes 200K speech instructions and corresponding speech responses.
Experimental results show that compared to previous speech-language models,
LLaMA-Omni provides better responses in both content and style, with a response
latency as low as 226ms. Additionally, training LLaMA-Omni takes less than 3
days on just 4 GPUs, paving the way for the efficient development of
speech-language models in the future. | null | cs.CL | [
"cs.CL",
"cs.AI",
"cs.SD",
"eess.AS",
"I.2.7"
] |
2406.20087 | HF | ProgressGym: Alignment with a Millennium of Moral Progress | [
"Tianyi Qiu",
"Yang Zhang",
"Xuchuan Huang",
"Jasmine Xinze Li",
"Jiaming Ji",
"Yaodong Yang"
] | 2024-06-28 | Frontier AI systems, including large language models (LLMs), hold increasing
influence over the epistemology of human users. Such influence can reinforce
prevailing societal values, potentially contributing to the lock-in of
misguided moral beliefs and, consequently, the perpetuation of problematic
moral practices on a broad scale. We introduce progress alignment as a
technical solution to mitigate this imminent risk. Progress alignment
algorithms learn to emulate the mechanics of human moral progress, thereby
addressing the susceptibility of existing alignment methods to contemporary
moral blindspots. To empower research in progress alignment, we introduce
ProgressGym, an experimental framework allowing the learning of moral progress
mechanics from history, in order to facilitate future progress in real-world
moral decisions. Leveraging 9 centuries of historical text and 18 historical
LLMs, ProgressGym enables codification of real-world progress alignment
challenges into concrete benchmarks. Specifically, we introduce three core
challenges: tracking evolving values (PG-Follow), preemptively anticipating
moral progress (PG-Predict), and regulating the feedback loop between human and
AI value shifts (PG-Coevolve). Alignment methods without a temporal dimension
are inapplicable to these tasks. In response, we present lifelong and
extrapolative algorithms as baseline methods of progress alignment, and build
an open leaderboard soliciting novel algorithms and challenges. The framework
and the leaderboard are available at
https://github.com/PKU-Alignment/ProgressGym and
https://huggingface.co/spaces/PKU-Alignment/ProgressGym-LeaderBoard
respectively. | null | cs.LG | [
"cs.LG",
"cs.AI",
"cs.CL",
"cs.CY",
"cs.HC"
] |
2305.07185 | Both | MEGABYTE: Predicting Million-byte Sequences with Multiscale Transformers | [
"Lili Yu",
"Dániel Simig",
"Colin Flaherty",
"Armen Aghajanyan",
"Luke Zettlemoyer",
"Mike Lewis"
] | 2023-05-12 | Autoregressive transformers are spectacular models for short sequences but
scale poorly to long sequences such as high-resolution images, podcasts, code,
or books. We proposed Megabyte, a multi-scale decoder architecture that enables
end-to-end differentiable modeling of sequences of over one million bytes.
Megabyte segments sequences into patches and uses a local submodel within
patches and a global model between patches. This enables sub-quadratic
self-attention, much larger feedforward layers for the same compute, and
improved parallelism during decoding -- unlocking better performance at reduced
cost for both training and generation. Extensive experiments show that Megabyte
allows byte-level models to perform competitively with subword models on long
context language modeling, achieve state-of-the-art density estimation on
ImageNet, and model audio from raw files. Together, these results establish the
viability of tokenization-free autoregressive sequence modeling at scale. | null | cs.LG | [
"cs.LG"
] |
2406.11463 | HF | Just How Flexible are Neural Networks in Practice? | [
"Ravid Shwartz-Ziv",
"Micah Goldblum",
"Arpit Bansal",
"C. Bayan Bruss",
"Yann LeCun",
"Andrew Gordon Wilson"
] | 2024-06-17 | It is widely believed that a neural network can fit a training set containing
at least as many samples as it has parameters, underpinning notions of
overparameterized and underparameterized models. In practice, however, we only
find solutions accessible via our training procedure, including the optimizer
and regularizers, limiting flexibility. Moreover, the exact parameterization of
the function class, built into an architecture, shapes its loss surface and
impacts the minima we find. In this work, we examine the ability of neural
networks to fit data in practice. Our findings indicate that: (1) standard
optimizers find minima where the model can only fit training sets with
significantly fewer samples than it has parameters; (2) convolutional networks
are more parameter-efficient than MLPs and ViTs, even on randomly labeled data;
(3) while stochastic training is thought to have a regularizing effect, SGD
actually finds minima that fit more training data than full-batch gradient
descent; (4) the difference in capacity to fit correctly labeled and
incorrectly labeled samples can be predictive of generalization; (5) ReLU
activation functions result in finding minima that fit more data despite being
designed to avoid vanishing and exploding gradients in deep architectures. | null | cs.LG | [
"cs.LG",
"stat.ML"
] |
2408.01800 | HF | MiniCPM-V: A GPT-4V Level MLLM on Your Phone | [
"Yuan Yao",
"Tianyu Yu",
"Ao Zhang",
"Chongyi Wang",
"Junbo Cui",
"Hongji Zhu",
"Tianchi Cai",
"Haoyu Li",
"Weilin Zhao",
"Zhihui He",
"Qianyu Chen",
"Huarong Zhou",
"Zhensheng Zou",
"Haoye Zhang",
"Shengding Hu",
"Zhi Zheng",
"Jie Zhou",
"Jie Cai",
"Xu Han",
"Guoyang Zeng",
"Dahai Li",
"Zhiyuan Liu",
"Maosong Sun"
] | 2024-08-03 | The recent surge of Multimodal Large Language Models (MLLMs) has
fundamentally reshaped the landscape of AI research and industry, shedding
light on a promising path toward the next AI milestone. However, significant
challenges remain preventing MLLMs from being practical in real-world
applications. The most notable challenge comes from the huge cost of running an
MLLM with a massive number of parameters and extensive computation. As a
result, most MLLMs need to be deployed on high-performing cloud servers, which
greatly limits their application scopes such as mobile, offline,
energy-sensitive, and privacy-protective scenarios. In this work, we present
MiniCPM-V, a series of efficient MLLMs deployable on end-side devices. By
integrating the latest MLLM techniques in architecture, pretraining and
alignment, the latest MiniCPM-Llama3-V 2.5 has several notable features: (1)
Strong performance, outperforming GPT-4V-1106, Gemini Pro and Claude 3 on
OpenCompass, a comprehensive evaluation over 11 popular benchmarks, (2) strong
OCR capability and 1.8M pixel high-resolution image perception at any aspect
ratio, (3) trustworthy behavior with low hallucination rates, (4) multilingual
support for 30+ languages, and (5) efficient deployment on mobile phones. More
importantly, MiniCPM-V can be viewed as a representative example of a promising
trend: The model sizes for achieving usable (e.g., GPT-4V) level performance
are rapidly decreasing, along with the fast growth of end-side computation
capacity. This jointly shows that GPT-4V level MLLMs deployed on end devices
are becoming increasingly possible, unlocking a wider spectrum of real-world AI
applications in the near future. | null | cs.CV | [
"cs.CV"
] |
2404.12347 | HF | AniClipart: Clipart Animation with Text-to-Video Priors | [
"Ronghuan Wu",
"Wanchao Su",
"Kede Ma",
"Jing Liao"
] | 2024-04-18 | Clipart, a pre-made graphic art form, offers a convenient and efficient way
of illustrating visual content. Traditional workflows to convert static clipart
images into motion sequences are laborious and time-consuming, involving
numerous intricate steps like rigging, key animation and in-betweening. Recent
advancements in text-to-video generation hold great potential in resolving this
problem. Nevertheless, direct application of text-to-video generation models
often struggles to retain the visual identity of clipart images or generate
cartoon-style motions, resulting in unsatisfactory animation outcomes. In this
paper, we introduce AniClipart, a system that transforms static clipart images
into high-quality motion sequences guided by text-to-video priors. To generate
cartoon-style and smooth motion, we first define B\'{e}zier curves over
keypoints of the clipart image as a form of motion regularization. We then
align the motion trajectories of the keypoints with the provided text prompt by
optimizing the Video Score Distillation Sampling (VSDS) loss, which encodes
adequate knowledge of natural motion within a pretrained text-to-video
diffusion model. With a differentiable As-Rigid-As-Possible shape deformation
algorithm, our method can be end-to-end optimized while maintaining deformation
rigidity. Experimental results show that the proposed AniClipart consistently
outperforms existing image-to-video generation models, in terms of text-video
alignment, visual identity preservation, and motion consistency. Furthermore,
we showcase the versatility of AniClipart by adapting it to generate a broader
array of animation formats, such as layered animation, which allows topological
changes. | null | cs.CV | [
"cs.CV",
"cs.GR"
] |
2401.12522 | HF | BiTA: Bi-Directional Tuning for Lossless Acceleration in Large Language Models | [
"Feng Lin",
"Hanling Yi",
"Hongbin Li",
"Yifan Yang",
"Xiaotian Yu",
"Guangming Lu",
"Rong Xiao"
] | 2024-01-23 | Large language models (LLMs) commonly employ autoregressive generation during
inference, leading to high memory bandwidth demand and consequently extended
latency. To mitigate this inefficiency, we present Bi-directional Tuning for
lossless Acceleration (BiTA), an innovative method expediting LLMs via
streamlined semi-autoregressive generation and draft verification. Inspired by
the concept of prompt tuning, we enhance LLMs with a parameter-efficient design
called bi-directional tuning for the capability in semi-autoregressive
generation. Employing efficient tree-based decoding, the models perform draft
candidate generation and verification in parallel, ensuring outputs identical
to their autoregressive counterparts under greedy sampling. BiTA serves as a
lightweight plug-in module, seamlessly boosting the inference efficiency of
existing LLMs without requiring additional assistance models or incurring
significant extra memory costs. Applying the proposed BiTA, LLaMA-2-70B-Chat
achieves a 2.7$\times$ speedup on the MT-Bench benchmark. Extensive experiments
confirm our method surpasses state-of-the-art acceleration techniques. | null | cs.CL | [
"cs.CL",
"cs.AI",
"cs.LG"
] |
2401.01256 | HF | VideoStudio: Generating Consistent-Content and Multi-Scene Videos | [
"Fuchen Long",
"Zhaofan Qiu",
"Ting Yao",
"Tao Mei"
] | 2024-01-02 | The recent innovations and breakthroughs in diffusion models have
significantly expanded the possibilities of generating high-quality videos for
the given prompts. Most existing works tackle the single-scene scenario with
only one video event occurring in a single background. Extending to generate
multi-scene videos nevertheless is not trivial and necessitates to nicely
manage the logic in between while preserving the consistent visual appearance
of key content across video scenes. In this paper, we propose a novel
framework, namely VideoStudio, for consistent-content and multi-scene video
generation. Technically, VideoStudio leverages Large Language Models (LLM) to
convert the input prompt into comprehensive multi-scene script that benefits
from the logical knowledge learnt by LLM. The script for each scene includes a
prompt describing the event, the foreground/background entities, as well as
camera movement. VideoStudio identifies the common entities throughout the
script and asks LLM to detail each entity. The resultant entity description is
then fed into a text-to-image model to generate a reference image for each
entity. Finally, VideoStudio outputs a multi-scene video by generating each
scene video via a diffusion process that takes the reference images, the
descriptive prompt of the event and camera movement into account. The diffusion
model incorporates the reference images as the condition and alignment to
strengthen the content consistency of multi-scene videos. Extensive experiments
demonstrate that VideoStudio outperforms the SOTA video generation models in
terms of visual quality, content consistency, and user preference. Source code
is available at \url{https://github.com/FuchenUSTC/VideoStudio}. | null | cs.CV | [
"cs.CV",
"cs.CL"
] |
2312.00438 | HF | Dolphins: Multimodal Language Model for Driving | [
"Yingzi Ma",
"Yulong Cao",
"Jiachen Sun",
"Marco Pavone",
"Chaowei Xiao"
] | 2023-12-01 | The quest for fully autonomous vehicles (AVs) capable of navigating complex
real-world scenarios with human-like understanding and responsiveness. In this
paper, we introduce Dolphins, a novel vision-language model architected to
imbibe human-like abilities as a conversational driving assistant. Dolphins is
adept at processing multimodal inputs comprising video (or image) data, text
instructions, and historical control signals to generate informed outputs
corresponding to the provided instructions. Building upon the open-sourced
pretrained Vision-Language Model, OpenFlamingo, we first enhance Dolphins's
reasoning capabilities through an innovative Grounded Chain of Thought (GCoT)
process. Then we tailored Dolphins to the driving domain by constructing
driving-specific instruction data and conducting instruction tuning. Through
the utilization of the BDD-X dataset, we designed and consolidated four
distinct AV tasks into Dolphins to foster a holistic understanding of intricate
driving scenarios. As a result, the distinctive features of Dolphins are
characterized into two dimensions: (1) the ability to provide a comprehensive
understanding of complex and long-tailed open-world driving scenarios and solve
a spectrum of AV tasks, and (2) the emergence of human-like capabilities
including gradient-free instant adaptation via in-context learning and error
recovery via reflection. | null | cs.CV | [
"cs.CV"
] |
2406.17245 | HF | Unlocking Continual Learning Abilities in Language Models | [
"Wenyu Du",
"Shuang Cheng",
"Tongxu Luo",
"Zihan Qiu",
"Zeyu Huang",
"Ka Chun Cheung",
"Reynold Cheng",
"Jie Fu"
] | 2024-06-25 | Language models (LMs) exhibit impressive performance and generalization
capabilities. However, LMs struggle with the persistent challenge of
catastrophic forgetting, which undermines their long-term sustainability in
continual learning (CL). Existing approaches usually address the issue by
incorporating old task data or task-wise inductive bias into LMs. However, old
data and accurate task information are often unavailable or costly to collect,
hindering the availability of current CL approaches for LMs. To address this
limitation, we introduce $\textbf{MIGU}$ ($\textbf{M}$agn$\textbf{I}$tude-based
$\textbf{G}$radient $\textbf{U}$pdating for continual learning), a
rehearsal-free and task-label-free method that only updates the model
parameters with large magnitudes of output in LMs' linear layers. MIGU is based
on our observation that the L1-normalized magnitude distribution of the output
in LMs' linear layers is different when the LM models deal with different task
data. By imposing this simple constraint on the gradient update process, we can
leverage the inherent behaviors of LMs, thereby unlocking their innate CL
abilities. Our experiments demonstrate that MIGU is universally applicable to
all three LM architectures (T5, RoBERTa, and Llama2), delivering
state-of-the-art or on-par performance across continual finetuning and
continual pre-training settings on four CL benchmarks. For example, MIGU brings
a 15.2% average accuracy improvement over conventional parameter-efficient
finetuning baselines in a 15-task CL benchmark. MIGU can also seamlessly
integrate with all three existing CL types to further enhance performance. Code
is available at \href{https://github.com/wenyudu/MIGU}{this https URL}. | null | cs.LG | [
"cs.LG",
"cs.AI",
"cs.CL"
] |
2203.15556 | AnswerAI | Training Compute-Optimal Large Language Models | [
"Jordan Hoffmann",
"Sebastian Borgeaud",
"Arthur Mensch",
"Elena Buchatskaya",
"Trevor Cai",
"Eliza Rutherford",
"Diego de Las Casas",
"Lisa Anne Hendricks",
"Johannes Welbl",
"Aidan Clark",
"Tom Hennigan",
"Eric Noland",
"Katie Millican",
"George van den Driessche",
"Bogdan Damoc",
"Aurelia Guy",
"Simon Osindero",
"Karen Simonyan",
"Erich Elsen",
"Jack W. Rae",
"Oriol Vinyals",
"Laurent Sifre"
] | 2022-03-29 | We investigate the optimal model size and number of tokens for training a
transformer language model under a given compute budget. We find that current
large language models are significantly undertrained, a consequence of the
recent focus on scaling language models whilst keeping the amount of training
data constant. By training over 400 language models ranging from 70 million to
over 16 billion parameters on 5 to 500 billion tokens, we find that for
compute-optimal training, the model size and the number of training tokens
should be scaled equally: for every doubling of model size the number of
training tokens should also be doubled. We test this hypothesis by training a
predicted compute-optimal model, Chinchilla, that uses the same compute budget
as Gopher but with 70B parameters and 4$\times$ more more data. Chinchilla
uniformly and significantly outperforms Gopher (280B), GPT-3 (175B), Jurassic-1
(178B), and Megatron-Turing NLG (530B) on a large range of downstream
evaluation tasks. This also means that Chinchilla uses substantially less
compute for fine-tuning and inference, greatly facilitating downstream usage.
As a highlight, Chinchilla reaches a state-of-the-art average accuracy of 67.5%
on the MMLU benchmark, greater than a 7% improvement over Gopher. | null | cs.CL | [
"cs.CL",
"cs.LG"
] |
2402.07865 | HF | Prismatic VLMs: Investigating the Design Space of Visually-Conditioned Language Models | [
"Siddharth Karamcheti",
"Suraj Nair",
"Ashwin Balakrishna",
"Percy Liang",
"Thomas Kollar",
"Dorsa Sadigh"
] | 2024-02-12 | Visually-conditioned language models (VLMs) have seen growing adoption in
applications such as visual dialogue, scene understanding, and robotic task
planning; adoption that has fueled a wealth of new models such as LLaVa,
InstructBLIP, and PaLI-3. Despite the volume of new releases, key design
decisions around image preprocessing, architecture, and optimization are
under-explored, making it challenging to understand what factors account for
model performance $-$ a challenge further complicated by the lack of objective,
consistent evaluations. To address these gaps, we first compile a suite of
standardized evaluations spanning visual question answering, object
localization, and challenge sets that probe properties such as hallucination;
evaluations that provide fine-grained insight VLM capabilities. Second, we
rigorously investigate VLMs along key design axes, including pretrained visual
representations and training from base vs. instruct-tuned language models,
amongst others. We couple our analysis with three resource contributions: (1) a
unified framework for evaluating VLMs, (2) optimized, flexible training code,
and (3) checkpoints for all models, including a family of VLMs at the 7-13B
scale that strictly outperform InstructBLIP and LLaVa v1.5, the
state-of-the-art in open VLMs. | null | cs.CV | [
"cs.CV",
"cs.AI",
"cs.CL",
"cs.LG"
] |
2404.14469 | HF | SnapKV: LLM Knows What You are Looking for Before Generation | [
"Yuhong Li",
"Yingbing Huang",
"Bowen Yang",
"Bharat Venkitesh",
"Acyr Locatelli",
"Hanchen Ye",
"Tianle Cai",
"Patrick Lewis",
"Deming Chen"
] | 2024-04-22 | Large Language Models (LLMs) have made remarkable progress in processing
extensive contexts, with the Key-Value (KV) cache playing a vital role in
enhancing their performance. However, the growth of the KV cache in response to
increasing input length poses challenges to memory and time efficiency. To
address this problem, this paper introduces SnapKV, an innovative and
fine-tuning-free approach that efficiently minimizes KV cache size while still
delivering comparable performance in real-world applications.
We discover that each attention head in the model consistently focuses on
specific prompt attention features during generation. Meanwhile, this robust
pattern can be obtained from an 'observation' window located at the end of the
prompts. Drawing on this insight, SnapKV automatically compresses KV caches by
selecting clustered important KV positions for each attention head. Our
approach significantly reduces the growing computational overhead and memory
footprint when processing long input sequences. Specifically, SnapKV achieves a
consistent decoding speed with a 3.6x increase in generation speed and an 8.2x
enhancement in memory efficiency compared to the baseline when processing
inputs of 16K tokens. At the same time, it maintains comparable performance to
the baseline models across 16 long sequence datasets. Moreover, SnapKV can
process up to 380K context tokens on a single A100-80GB GPU using HuggingFace
implementation with minor changes, exhibiting only a negligible accuracy drop
in the Needle-in-a-Haystack test. Further comprehensive studies suggest
SnapKV's potential for practical applications. | null | cs.CL | [
"cs.CL",
"cs.AI"
] |
2405.04065 | AnswerAI | FlashBack:Efficient Retrieval-Augmented Language Modeling for Long Context Inference | [
"Runheng Liu",
"Xingchen Xiao",
"Heyan Huang",
"Zewen Chi",
"Zhijing Wu"
] | 2024-05-07 | Retrieval-Augmented Language Modeling (RALM) by integrating large language
models (LLM) with relevant documents from an external corpus is a proven method
for enabling the LLM to generate information beyond the scope of its
pre-training corpus. Previous work utilizing retrieved content by simply
prepending it to the input poses a high runtime issue, which degrades the
inference efficiency of the LLMs because they fail to use the Key-Value (KV)
cache efficiently. In this paper, we propose FlashBack, a modular RALM designed
to improve the inference efficiency of RALM with appending context pattern
while maintaining decent performance after fine-tuning by Low-Rank Adaption.
FlashBack appends retrieved documents at the end of the context for efficiently
utilizing the KV cache instead of prepending them. And we introduce Marking
Token as two special prompt tokens for marking the boundary of the appending
context during fine-tuning. Our experiments on testing generation quality show
that FlashBack can remain decent generation quality in perplexity. And the
inference speed of FlashBack is up to $4\times$ faster than the prepending
counterpart on a 7B LLM (Llama 2) in the runtime test. Via bypassing
unnecessary re-computation, it demonstrates an advancement by achieving
significantly faster inference speed, and this heightened efficiency will
substantially reduce inferential cost. | null | cs.CL | [
"cs.CL"
] |
2408.02718 | HF | MMIU: Multimodal Multi-image Understanding for Evaluating Large Vision-Language Models | [
"Fanqing Meng",
"Jin Wang",
"Chuanhao Li",
"Quanfeng Lu",
"Hao Tian",
"Jiaqi Liao",
"Xizhou Zhu",
"Jifeng Dai",
"Yu Qiao",
"Ping Luo",
"Kaipeng Zhang",
"Wenqi Shao"
] | 2024-08-05 | The capability to process multiple images is crucial for Large
Vision-Language Models (LVLMs) to develop a more thorough and nuanced
understanding of a scene. Recent multi-image LVLMs have begun to address this
need. However, their evaluation has not kept pace with their development. To
fill this gap, we introduce the Multimodal Multi-image Understanding (MMIU)
benchmark, a comprehensive evaluation suite designed to assess LVLMs across a
wide range of multi-image tasks. MMIU encompasses 7 types of multi-image
relationships, 52 tasks, 77K images, and 11K meticulously curated
multiple-choice questions, making it the most extensive benchmark of its kind.
Our evaluation of 24 popular LVLMs, including both open-source and proprietary
models, reveals significant challenges in multi-image comprehension,
particularly in tasks involving spatial understanding. Even the most advanced
models, such as GPT-4o, achieve only 55.7% accuracy on MMIU. Through
multi-faceted analytical experiments, we identify key performance gaps and
limitations, providing valuable insights for future model and data
improvements. We aim for MMIU to advance the frontier of LVLM research and
development, moving us toward achieving sophisticated multimodal multi-image
user interactions. | null | cs.CV | [
"cs.CV"
] |
2310.16028 | AnswerAI | What Algorithms can Transformers Learn? A Study in Length Generalization | [
"Hattie Zhou",
"Arwen Bradley",
"Etai Littwin",
"Noam Razin",
"Omid Saremi",
"Josh Susskind",
"Samy Bengio",
"Preetum Nakkiran"
] | 2023-10-24 | Large language models exhibit surprising emergent generalization properties,
yet also struggle on many simple reasoning tasks such as arithmetic and parity.
This raises the question of if and when Transformer models can learn the true
algorithm for solving a task. We study the scope of Transformers' abilities in
the specific setting of length generalization on algorithmic tasks. Here, we
propose a unifying framework to understand when and how Transformers can
exhibit strong length generalization on a given task. Specifically, we leverage
RASP (Weiss et al., 2021) -- a programming language designed for the
computational model of a Transformer -- and introduce the RASP-Generalization
Conjecture: Transformers tend to length generalize on a task if the task can be
solved by a short RASP program which works for all input lengths. This simple
conjecture remarkably captures most known instances of length generalization on
algorithmic tasks. Moreover, we leverage our insights to drastically improve
generalization performance on traditionally hard tasks (such as parity and
addition). On the theoretical side, we give a simple example where the
"min-degree-interpolator" model of learning from Abbe et al. (2023) does not
correctly predict Transformers' out-of-distribution behavior, but our
conjecture does. Overall, our work provides a novel perspective on the
mechanisms of compositional generalization and the algorithmic capabilities of
Transformers. | null | cs.LG | [
"cs.LG",
"cs.AI",
"cs.CL",
"stat.ML"
] |
2403.04746 | HF | LLMs in the Imaginarium: Tool Learning through Simulated Trial and Error | [
"Boshi Wang",
"Hao Fang",
"Jason Eisner",
"Benjamin Van Durme",
"Yu Su"
] | 2024-03-07 | Tools are essential for large language models (LLMs) to acquire up-to-date
information and take consequential actions in external environments. Existing
work on tool-augmented LLMs primarily focuses on the broad coverage of tools
and the flexibility of adding new tools. However, a critical aspect that has
surprisingly been understudied is simply how accurately an LLM uses tools for
which it has been trained. We find that existing LLMs, including GPT-4 and
open-source LLMs specifically fine-tuned for tool use, only reach a correctness
rate in the range of 30% to 60%, far from reliable use in practice. We propose
a biologically inspired method for tool-augmented LLMs, simulated trial and
error (STE), that orchestrates three key mechanisms for successful tool use
behaviors in the biological system: trial and error, imagination, and memory.
Specifically, STE leverages an LLM's 'imagination' to simulate plausible
scenarios for using a tool, after which the LLM interacts with the tool to
learn from its execution feedback. Both short-term and long-term memory are
employed to improve the depth and breadth of the exploration, respectively.
Comprehensive experiments on ToolBench show that STE substantially improves
tool learning for LLMs under both in-context learning and fine-tuning settings,
bringing a boost of 46.7% to Mistral-Instruct-7B and enabling it to outperform
GPT-4. We also show effective continual learning of tools via a simple
experience replay strategy. | null | cs.CL | [
"cs.CL",
"cs.AI",
"cs.LG"
] |
2406.12564 | HF | Low-Resource Machine Translation through the Lens of Personalized Federated Learning | [
"Viktor Moskvoretskii",
"Nazarii Tupitsa",
"Chris Biemann",
"Samuel Horváth",
"Eduard Gorbunov",
"Irina Nikishina"
] | 2024-06-18 | We present a new approach based on the Personalized Federated Learning
algorithm MeritFed that can be applied to Natural Language Tasks with
heterogeneous data. We evaluate it on the Low-Resource Machine Translation
task, using the dataset from the Large-Scale Multilingual Machine Translation
Shared Task (Small Track #2) and the subset of Sami languages from the
multilingual benchmark for Finno-Ugric languages. In addition to its
effectiveness, MeritFed is also highly interpretable, as it can be applied to
track the impact of each language used for training. Our analysis reveals that
target dataset size affects weight distribution across auxiliary languages,
that unrelated languages do not interfere with the training, and auxiliary
optimizer parameters have minimal impact. Our approach is easy to apply with a
few lines of code, and we provide scripts for reproducing the experiments at
https://github.com/VityaVitalich/MeritFed | null | cs.CL | [
"cs.CL",
"cs.LG"
] |
2305.13230 | AnswerAI | To Repeat or Not To Repeat: Insights from Scaling LLM under Token-Crisis | [
"Fuzhao Xue",
"Yao Fu",
"Wangchunshu Zhou",
"Zangwei Zheng",
"Yang You"
] | 2023-05-22 | Recent research has highlighted the importance of dataset size in scaling
language models. However, large language models (LLMs) are notoriously
token-hungry during pre-training, and high-quality text data on the web is
approaching its scaling limit for LLMs. To further enhance LLMs, a
straightforward approach is to repeat the pre-training data for additional
epochs. In this study, we empirically investigate three key aspects under this
approach. First, we explore the consequences of repeating pre-training data,
revealing that the model is susceptible to overfitting, leading to multi-epoch
degradation. Second, we examine the key factors contributing to multi-epoch
degradation, finding that significant factors include dataset size, model
parameters, and training objectives, while less influential factors consist of
dataset quality and model FLOPs. Finally, we explore whether widely used
regularization can alleviate multi-epoch degradation. Most regularization
techniques do not yield significant improvements, except for dropout, which
demonstrates remarkable effectiveness but requires careful tuning when scaling
up the model size. Additionally, we discover that leveraging mixture-of-experts
(MoE) enables cost-effective and efficient hyper-parameter tuning for
computationally intensive dense LLMs with comparable trainable parameters,
potentially impacting efficient LLM development on a broader scale. | null | cs.LG | [
"cs.LG",
"cs.AI",
"cs.CL"
] |
2312.08361 | HF | Distributed Inference and Fine-tuning of Large Language Models Over The Internet | [
"Alexander Borzunov",
"Max Ryabinin",
"Artem Chumachenko",
"Dmitry Baranchuk",
"Tim Dettmers",
"Younes Belkada",
"Pavel Samygin",
"Colin Raffel"
] | 2023-12-13 | Large language models (LLMs) are useful in many NLP tasks and become more
capable with size, with the best open-source models having over 50 billion
parameters. However, using these 50B+ models requires high-end hardware, making
them inaccessible to most researchers. In this work, we investigate methods for
cost-efficient inference and fine-tuning of LLMs, comparing local and
distributed strategies. We observe that a large enough model (50B+) can run
efficiently even on geodistributed devices in a consumer-grade network. This
could allow running LLM efficiently by pooling together idle compute resources
of multiple research groups and volunteers. We address two open problems: (1)
how to perform inference and fine-tuning reliably if any device can disconnect
abruptly and (2) how to partition LLMs between devices with uneven hardware,
joining and leaving at will. In order to do that, we develop special
fault-tolerant inference algorithms and load-balancing protocols that
automatically assign devices to maximize the total system throughput. We
showcase these algorithms in Petals - a decentralized system that runs Llama 2
(70B) and BLOOM (176B) over the Internet up to 10x faster than offloading for
interactive generation. We evaluate the performance of our system in simulated
conditions and a real-world setup spanning two continents. | null | cs.LG | [
"cs.LG",
"cs.DC"
] |
2309.03550 | HF | Text2Control3D: Controllable 3D Avatar Generation in Neural Radiance Fields using Geometry-Guided Text-to-Image Diffusion Model | [
"Sungwon Hwang",
"Junha Hyung",
"Jaegul Choo"
] | 2023-09-07 | Recent advances in diffusion models such as ControlNet have enabled
geometrically controllable, high-fidelity text-to-image generation. However,
none of them addresses the question of adding such controllability to
text-to-3D generation. In response, we propose Text2Control3D, a controllable
text-to-3D avatar generation method whose facial expression is controllable
given a monocular video casually captured with hand-held camera. Our main
strategy is to construct the 3D avatar in Neural Radiance Fields (NeRF)
optimized with a set of controlled viewpoint-aware images that we generate from
ControlNet, whose condition input is the depth map extracted from the input
video. When generating the viewpoint-aware images, we utilize cross-reference
attention to inject well-controlled, referential facial expression and
appearance via cross attention. We also conduct low-pass filtering of Gaussian
latent of the diffusion model in order to ameliorate the viewpoint-agnostic
texture problem we observed from our empirical analysis, where the
viewpoint-aware images contain identical textures on identical pixel positions
that are incomprehensible in 3D. Finally, to train NeRF with the images that
are viewpoint-aware yet are not strictly consistent in geometry, our approach
considers per-image geometric variation as a view of deformation from a shared
3D canonical space. Consequently, we construct the 3D avatar in a canonical
space of deformable NeRF by learning a set of per-image deformation via
deformation field table. We demonstrate the empirical results and discuss the
effectiveness of our method. | null | cs.CV | [
"cs.CV"
] |
2306.08068 | HF | DORSal: Diffusion for Object-centric Representations of Scenes et al | [
"Allan Jabri",
"Sjoerd van Steenkiste",
"Emiel Hoogeboom",
"Mehdi S. M. Sajjadi",
"Thomas Kipf"
] | 2023-06-13 | Recent progress in 3D scene understanding enables scalable learning of
representations across large datasets of diverse scenes. As a consequence,
generalization to unseen scenes and objects, rendering novel views from just a
single or a handful of input images, and controllable scene generation that
supports editing, is now possible. However, training jointly on a large number
of scenes typically compromises rendering quality when compared to single-scene
optimized models such as NeRFs. In this paper, we leverage recent progress in
diffusion models to equip 3D scene representation learning models with the
ability to render high-fidelity novel views, while retaining benefits such as
object-level scene editing to a large degree. In particular, we propose DORSal,
which adapts a video diffusion architecture for 3D scene generation conditioned
on frozen object-centric slot-based representations of scenes. On both complex
synthetic multi-object scenes and on the real-world large-scale Street View
dataset, we show that DORSal enables scalable neural rendering of 3D scenes
with object-level editing and improves upon existing approaches. | null | cs.CV | [
"cs.CV",
"cs.AI",
"cs.LG"
] |
2306.10785 | HF | Multitrack Music Transcription with a Time-Frequency Perceiver | [
"Wei-Tsung Lu",
"Ju-Chiang Wang",
"Yun-Ning Hung"
] | 2023-06-19 | Multitrack music transcription aims to transcribe a music audio input into
the musical notes of multiple instruments simultaneously. It is a very
challenging task that typically requires a more complex model to achieve
satisfactory result. In addition, prior works mostly focus on transcriptions of
regular instruments, however, neglecting vocals, which are usually the most
important signal source if present in a piece of music. In this paper, we
propose a novel deep neural network architecture, Perceiver TF, to model the
time-frequency representation of audio input for multitrack transcription.
Perceiver TF augments the Perceiver architecture by introducing a hierarchical
expansion with an additional Transformer layer to model temporal coherence.
Accordingly, our model inherits the benefits of Perceiver that posses better
scalability, allowing it to well handle transcriptions of many instruments in a
single model. In experiments, we train a Perceiver TF to model 12 instrument
classes as well as vocal in a multi-task learning manner. Our result
demonstrates that the proposed system outperforms the state-of-the-art
counterparts (e.g., MT3 and SpecTNT) on various public datasets. | null | cs.SD | [
"cs.SD",
"cs.LG",
"eess.AS"
] |
2403.04732 | HF | How Far Are We from Intelligent Visual Deductive Reasoning? | [
"Yizhe Zhang",
"He Bai",
"Ruixiang Zhang",
"Jiatao Gu",
"Shuangfei Zhai",
"Josh Susskind",
"Navdeep Jaitly"
] | 2024-03-07 | Vision-Language Models (VLMs) such as GPT-4V have recently demonstrated
incredible strides on diverse vision language tasks. We dig into vision-based
deductive reasoning, a more sophisticated but less explored realm, and find
previously unexposed blindspots in the current SOTA VLMs. Specifically, we
leverage Raven's Progressive Matrices (RPMs), to assess VLMs' abilities to
perform multi-hop relational and deductive reasoning relying solely on visual
clues. We perform comprehensive evaluations of several popular VLMs employing
standard strategies such as in-context learning, self-consistency, and
Chain-of-thoughts (CoT) on three diverse datasets, including the Mensa IQ test,
IntelligenceTest, and RAVEN. The results reveal that despite the impressive
capabilities of LLMs in text-based reasoning, we are still far from achieving
comparable proficiency in visual deductive reasoning. We found that certain
standard strategies that are effective when applied to LLMs do not seamlessly
translate to the challenges presented by visual reasoning tasks. Moreover, a
detailed analysis reveals that VLMs struggle to solve these tasks mainly
because they are unable to perceive and comprehend multiple, confounding
abstract patterns in RPM examples. | null | cs.AI | [
"cs.AI",
"cs.CL",
"cs.CV"
] |
2405.19320 | HF | Value-Incentivized Preference Optimization: A Unified Approach to Online and Offline RLHF | [
"Shicong Cen",
"Jincheng Mei",
"Katayoon Goshvadi",
"Hanjun Dai",
"Tong Yang",
"Sherry Yang",
"Dale Schuurmans",
"Yuejie Chi",
"Bo Dai"
] | 2024-05-29 | Reinforcement learning from human feedback (RLHF) has demonstrated great
promise in aligning large language models (LLMs) with human preference.
Depending on the availability of preference data, both online and offline RLHF
are active areas of investigation. A key bottleneck is understanding how to
incorporate uncertainty estimation in the reward function learned from the
preference data for RLHF, regardless of how the preference data is collected.
While the principles of optimism or pessimism under uncertainty are
well-established in standard reinforcement learning (RL), a
practically-implementable and theoretically-grounded form amenable to large
language models is not yet available, as standard techniques for constructing
confidence intervals become intractable under arbitrary policy
parameterizations.
In this paper, we introduce a unified approach to online and offline RLHF --
value-incentivized preference optimization (VPO) -- which regularizes the
maximum-likelihood estimate of the reward function with the corresponding value
function, modulated by a $\textit{sign}$ to indicate whether the optimism or
pessimism is chosen. VPO also directly optimizes the policy with implicit
reward modeling, and therefore shares a simpler RLHF pipeline similar to direct
preference optimization. Theoretical guarantees of VPO are provided for both
online and offline settings, matching the rates of their standard RL
counterparts. Moreover, experiments on text summarization and dialog verify the
practicality and effectiveness of VPO. | null | cs.LG | [
"cs.LG",
"cs.AI",
"stat.ML"
] |
2403.16627 | HF | SDXS: Real-Time One-Step Latent Diffusion Models with Image Conditions | [
"Yuda Song",
"Zehao Sun",
"Xuanwu Yin"
] | 2024-03-25 | Recent advancements in diffusion models have positioned them at the forefront
of image generation. Despite their superior performance, diffusion models are
not without drawbacks; they are characterized by complex architectures and
substantial computational demands, resulting in significant latency due to
their iterative sampling process. To mitigate these limitations, we introduce a
dual approach involving model miniaturization and a reduction in sampling
steps, aimed at significantly decreasing model latency. Our methodology
leverages knowledge distillation to streamline the U-Net and image decoder
architectures, and introduces an innovative one-step DM training technique that
utilizes feature matching and score distillation. We present two models,
SDXS-512 and SDXS-1024, achieving inference speeds of approximately 100 FPS
(30x faster than SD v1.5) and 30 FPS (60x faster than SDXL) on a single GPU,
respectively. Moreover, our training approach offers promising applications in
image-conditioned control, facilitating efficient image-to-image translation. | null | cs.CV | [
"cs.CV"
] |
2405.14906 | HF | AutoCoder: Enhancing Code Large Language Model with \textsc{AIEV-Instruct} | [
"Bin Lei",
"Yuchen Li",
"Qiuwu Chen"
] | 2024-05-23 | We introduce AutoCoder, the first Large Language Model to surpass GPT-4 Turbo
(April 2024) and GPT-4o in pass@1 on the Human Eval benchmark test
($\mathbf{90.9\%}$ vs. $\mathbf{90.2\%}$). In addition, AutoCoder offers a more
versatile code interpreter compared to GPT-4 Turbo and GPT-4o. It's code
interpreter can install external packages instead of limiting to built-in
packages. AutoCoder's training data is a multi-turn dialogue dataset created by
a system combining agent interaction and external code execution verification,
a method we term \textbf{\textsc{AIEV-Instruct}} (Instruction Tuning with
Agent-Interaction and Execution-Verified). Compared to previous large-scale
code dataset generation methods, \textsc{AIEV-Instruct} reduces dependence on
proprietary large models and provides execution-validated code dataset. The
code and the demo video is available in
\url{https://github.com/bin123apple/AutoCoder}. | null | cs.SE | [
"cs.SE",
"cs.AI"
] |
2402.05672 | HF | Multilingual E5 Text Embeddings: A Technical Report | [
"Liang Wang",
"Nan Yang",
"Xiaolong Huang",
"Linjun Yang",
"Rangan Majumder",
"Furu Wei"
] | 2024-02-08 | This technical report presents the training methodology and evaluation
results of the open-source multilingual E5 text embedding models, released in
mid-2023. Three embedding models of different sizes (small / base / large) are
provided, offering a balance between the inference efficiency and embedding
quality. The training procedure adheres to the English E5 model recipe,
involving contrastive pre-training on 1 billion multilingual text pairs,
followed by fine-tuning on a combination of labeled datasets. Additionally, we
introduce a new instruction-tuned embedding model, whose performance is on par
with state-of-the-art, English-only models of similar sizes. Information
regarding the model release can be found at
https://github.com/microsoft/unilm/tree/master/e5 . | null | cs.CL | [
"cs.CL",
"cs.IR"
] |
2210.04243 | AnswerAI | Fine-Tuning Pre-trained Transformers into Decaying Fast Weights | [
"Huanru Henry Mao"
] | 2022-10-09 | Autoregressive Transformers are strong language models but incur O(T)
complexity during per-token generation due to the self-attention mechanism.
Recent work proposes kernel-based methods to approximate causal self-attention
by replacing it with recurrent formulations with various update rules and
feature maps to achieve O(1) time and memory complexity. We explore these
approaches and find that they are unnecessarily complex, and propose a simple
alternative - decaying fast weights - that runs fast on GPU, outperforms prior
methods, and retains 99% of attention's performance for GPT-2. We also show
competitive performance on WikiText-103 against more complex attention
substitutes. | null | cs.LG | [
"cs.LG"
] |
2312.02155 | HF | GPS-Gaussian: Generalizable Pixel-wise 3D Gaussian Splatting for Real-time Human Novel View Synthesis | [
"Shunyuan Zheng",
"Boyao Zhou",
"Ruizhi Shao",
"Boning Liu",
"Shengping Zhang",
"Liqiang Nie",
"Yebin Liu"
] | 2023-12-04 | We present a new approach, termed GPS-Gaussian, for synthesizing novel views
of a character in a real-time manner. The proposed method enables 2K-resolution
rendering under a sparse-view camera setting. Unlike the original Gaussian
Splatting or neural implicit rendering methods that necessitate per-subject
optimizations, we introduce Gaussian parameter maps defined on the source views
and regress directly Gaussian Splatting properties for instant novel view
synthesis without any fine-tuning or optimization. To this end, we train our
Gaussian parameter regression module on a large amount of human scan data,
jointly with a depth estimation module to lift 2D parameter maps to 3D space.
The proposed framework is fully differentiable and experiments on several
datasets demonstrate that our method outperforms state-of-the-art methods while
achieving an exceeding rendering speed. | null | cs.CV | [
"cs.CV"
] |
2311.04823 | AnswerAI | Hierarchically Gated Recurrent Neural Network for Sequence Modeling | [
"Zhen Qin",
"Songlin Yang",
"Yiran Zhong"
] | 2023-11-08 | Transformers have surpassed RNNs in popularity due to their superior
abilities in parallel training and long-term dependency modeling. Recently,
there has been a renewed interest in using linear RNNs for efficient sequence
modeling. These linear RNNs often employ gating mechanisms in the output of the
linear recurrence layer while ignoring the significance of using forget gates
within the recurrence. In this paper, we propose a gated linear RNN model
dubbed Hierarchically Gated Recurrent Neural Network (HGRN), which includes
forget gates that are lower bounded by a learnable value. The lower bound
increases monotonically when moving up layers. This allows the upper layers to
model long-term dependencies and the lower layers to model more local,
short-term dependencies. Experiments on language modeling, image
classification, and long-range arena benchmarks showcase the efficiency and
effectiveness of our proposed model. The source code is available at
https://github.com/OpenNLPLab/HGRN. | null | cs.CL | [
"cs.CL",
"cs.LG"
] |
2306.05410 | HF | LU-NeRF: Scene and Pose Estimation by Synchronizing Local Unposed NeRFs | [
"Zezhou Cheng",
"Carlos Esteves",
"Varun Jampani",
"Abhishek Kar",
"Subhransu Maji",
"Ameesh Makadia"
] | 2023-06-08 | A critical obstacle preventing NeRF models from being deployed broadly in the
wild is their reliance on accurate camera poses. Consequently, there is growing
interest in extending NeRF models to jointly optimize camera poses and scene
representation, which offers an alternative to off-the-shelf SfM pipelines
which have well-understood failure modes. Existing approaches for unposed NeRF
operate under limited assumptions, such as a prior pose distribution or coarse
pose initialization, making them less effective in a general setting. In this
work, we propose a novel approach, LU-NeRF, that jointly estimates camera poses
and neural radiance fields with relaxed assumptions on pose configuration. Our
approach operates in a local-to-global manner, where we first optimize over
local subsets of the data, dubbed mini-scenes. LU-NeRF estimates local pose and
geometry for this challenging few-shot task. The mini-scene poses are brought
into a global reference frame through a robust pose synchronization step, where
a final global optimization of pose and scene can be performed. We show our
LU-NeRF pipeline outperforms prior attempts at unposed NeRF without making
restrictive assumptions on the pose prior. This allows us to operate in the
general SE(3) pose setting, unlike the baselines. Our results also indicate our
model can be complementary to feature-based SfM pipelines as it compares
favorably to COLMAP on low-texture and low-resolution images. | null | cs.CV | [
"cs.CV"
] |
2308.16149 | HF | Jais and Jais-chat: Arabic-Centric Foundation and Instruction-Tuned Open Generative Large Language Models | [
"Neha Sengupta",
"Sunil Kumar Sahu",
"Bokang Jia",
"Satheesh Katipomu",
"Haonan Li",
"Fajri Koto",
"William Marshall",
"Gurpreet Gosal",
"Cynthia Liu",
"Zhiming Chen",
"Osama Mohammed Afzal",
"Samta Kamboj",
"Onkar Pandit",
"Rahul Pal",
"Lalit Pradhan",
"Zain Muhammad Mujahid",
"Massa Baali",
"Xudong Han",
"Sondos Mahmoud Bsharat",
"Alham Fikri Aji",
"Zhiqiang Shen",
"Zhengzhong Liu",
"Natalia Vassilieva",
"Joel Hestness",
"Andy Hock",
"Andrew Feldman",
"Jonathan Lee",
"Andrew Jackson",
"Hector Xuguang Ren",
"Preslav Nakov",
"Timothy Baldwin",
"Eric Xing"
] | 2023-08-30 | We introduce Jais and Jais-chat, new state-of-the-art Arabic-centric
foundation and instruction-tuned open generative large language models (LLMs).
The models are based on the GPT-3 decoder-only architecture and are pretrained
on a mixture of Arabic and English texts, including source code in various
programming languages. With 13 billion parameters, they demonstrate better
knowledge and reasoning capabilities in Arabic than any existing open Arabic
and multilingual models by a sizable margin, based on extensive evaluation.
Moreover, the models are competitive in English compared to English-centric
open models of similar size, despite being trained on much less English data.
We provide a detailed description of the training, the tuning, the safety
alignment, and the evaluation of the models. We release two open versions of
the model -- the foundation Jais model, and an instruction-tuned Jais-chat
variant -- with the aim of promoting research on Arabic LLMs. Available at
https://huggingface.co/inception-mbzuai/jais-13b-chat | null | cs.CL | [
"cs.CL",
"cs.AI",
"cs.LG",
"68T50",
"F.2.2; I.2.7"
] |
2311.04235 | HF | Can LLMs Follow Simple Rules? | [
"Norman Mu",
"Sarah Chen",
"Zifan Wang",
"Sizhe Chen",
"David Karamardian",
"Lulwa Aljeraisy",
"Basel Alomair",
"Dan Hendrycks",
"David Wagner"
] | 2023-11-06 | As Large Language Models (LLMs) are deployed with increasing real-world
responsibilities, it is important to be able to specify and constrain the
behavior of these systems in a reliable manner. Model developers may wish to
set explicit rules for the model, such as "do not generate abusive content",
but these may be circumvented by jailbreaking techniques. Existing evaluations
of adversarial attacks and defenses on LLMs generally require either expensive
manual review or unreliable heuristic checks. To address this issue, we propose
Rule-following Language Evaluation Scenarios (RuLES), a programmatic framework
for measuring rule-following ability in LLMs. RuLES consists of 14 simple text
scenarios in which the model is instructed to obey various rules while
interacting with the user. Each scenario has a programmatic evaluation function
to determine whether the model has broken any rules in a conversation. Our
evaluations of proprietary and open models show that almost all current models
struggle to follow scenario rules, even on straightforward test cases. We also
demonstrate that simple optimization attacks suffice to significantly increase
failure rates on test cases. We conclude by exploring two potential avenues for
improvement: test-time steering and supervised fine-tuning. | null | cs.AI | [
"cs.AI",
"cs.CL",
"cs.LG"
] |
2404.07544 | HF | From Words to Numbers: Your Large Language Model Is Secretly A Capable Regressor When Given In-Context Examples | [
"Robert Vacareanu",
"Vlad-Andrei Negru",
"Vasile Suciu",
"Mihai Surdeanu"
] | 2024-04-11 | We analyze how well pre-trained large language models (e.g., Llama2, GPT-4,
Claude 3, etc) can do linear and non-linear regression when given in-context
examples, without any additional training or gradient updates. Our findings
reveal that several large language models (e.g., GPT-4, Claude 3) are able to
perform regression tasks with a performance rivaling (or even outperforming)
that of traditional supervised methods such as Random Forest, Bagging, or
Gradient Boosting. For example, on the challenging Friedman #2 regression
dataset, Claude 3 outperforms many supervised methods such as AdaBoost, SVM,
Random Forest, KNN, or Gradient Boosting. We then investigate how well the
performance of large language models scales with the number of in-context
exemplars. We borrow from the notion of regret from online learning and
empirically show that LLMs are capable of obtaining a sub-linear regret. | null | cs.CL | [
"cs.CL",
"cs.AI"
] |
2311.02805 | HF | Tailoring Self-Rationalizers with Multi-Reward Distillation | [
"Sahana Ramnath",
"Brihi Joshi",
"Skyler Hallinan",
"Ximing Lu",
"Liunian Harold Li",
"Aaron Chan",
"Jack Hessel",
"Yejin Choi",
"Xiang Ren"
] | 2023-11-06 | Large language models (LMs) are capable of generating free-text rationales to
aid question answering. However, prior work 1) suggests that useful
self-rationalization is emergent only at significant scales (e.g., 175B
parameter GPT-3); and 2) focuses largely on downstream performance, ignoring
the semantics of the rationales themselves, e.g., are they faithful, true, and
helpful for humans? In this work, we enable small-scale LMs (approx. 200x
smaller than GPT-3) to generate rationales that not only improve downstream
task performance, but are also more plausible, consistent, and diverse,
assessed both by automatic and human evaluation. Our method, MaRio
(Multi-rewArd RatIOnalization), is a multi-reward conditioned
self-rationalization algorithm that optimizes multiple distinct properties like
plausibility, diversity and consistency. Results on five difficult
question-answering datasets StrategyQA, QuaRel, OpenBookQA, NumerSense and QASC
show that not only does MaRio improve task accuracy, but it also improves the
self-rationalization quality of small LMs across the aforementioned axes better
than a supervised fine-tuning (SFT) baseline. Extensive human evaluations
confirm that MaRio rationales are preferred vs. SFT rationales, as well as
qualitative improvements in plausibility and consistency. | null | cs.CL | [
"cs.CL"
] |
2312.13286 | HF | Generative Multimodal Models are In-Context Learners | [
"Quan Sun",
"Yufeng Cui",
"Xiaosong Zhang",
"Fan Zhang",
"Qiying Yu",
"Zhengxiong Luo",
"Yueze Wang",
"Yongming Rao",
"Jingjing Liu",
"Tiejun Huang",
"Xinlong Wang"
] | 2023-12-20 | The human ability to easily solve multimodal tasks in context (i.e., with
only a few demonstrations or simple instructions), is what current multimodal
systems have largely struggled to imitate. In this work, we demonstrate that
the task-agnostic in-context learning capabilities of large multimodal models
can be significantly enhanced by effective scaling-up. We introduce Emu2, a
generative multimodal model with 37 billion parameters, trained on large-scale
multimodal sequences with a unified autoregressive objective. Emu2 exhibits
strong multimodal in-context learning abilities, even emerging to solve tasks
that require on-the-fly reasoning, such as visual prompting and object-grounded
generation. The model sets a new record on multiple multimodal understanding
tasks in few-shot settings. When instruction-tuned to follow specific
instructions, Emu2 further achieves new state-of-the-art on challenging tasks
such as question answering benchmarks for large multimodal models and
open-ended subject-driven generation. These achievements demonstrate that Emu2
can serve as a base model and general-purpose interface for a wide range of
multimodal tasks. Code and models are publicly available to facilitate future
research. | null | cs.CV | [
"cs.CV"
] |
2406.18495 | HF | WildGuard: Open One-Stop Moderation Tools for Safety Risks, Jailbreaks, and Refusals of LLMs | [
"Seungju Han",
"Kavel Rao",
"Allyson Ettinger",
"Liwei Jiang",
"Bill Yuchen Lin",
"Nathan Lambert",
"Yejin Choi",
"Nouha Dziri"
] | 2024-06-26 | We introduce WildGuard -- an open, light-weight moderation tool for LLM
safety that achieves three goals: (1) identifying malicious intent in user
prompts, (2) detecting safety risks of model responses, and (3) determining
model refusal rate. Together, WildGuard serves the increasing needs for
automatic safety moderation and evaluation of LLM interactions, providing a
one-stop tool with enhanced accuracy and broad coverage across 13 risk
categories. While existing open moderation tools such as Llama-Guard2 score
reasonably well in classifying straightforward model interactions, they lag far
behind a prompted GPT-4, especially in identifying adversarial jailbreaks and
in evaluating models' refusals, a key measure for evaluating safety behaviors
in model responses.
To address these challenges, we construct WildGuardMix, a large-scale and
carefully balanced multi-task safety moderation dataset with 92K labeled
examples that cover vanilla (direct) prompts and adversarial jailbreaks, paired
with various refusal and compliance responses. WildGuardMix is a combination of
WildGuardTrain, the training data of WildGuard, and WildGuardTest, a
high-quality human-annotated moderation test set with 5K labeled items covering
broad risk scenarios. Through extensive evaluations on WildGuardTest and ten
existing public benchmarks, we show that WildGuard establishes state-of-the-art
performance in open-source safety moderation across all the three tasks
compared to ten strong existing open-source moderation models (e.g., up to
26.4% improvement on refusal detection). Importantly, WildGuard matches and
sometimes exceeds GPT-4 performance (e.g., up to 3.9% improvement on prompt
harmfulness identification). WildGuard serves as a highly effective safety
moderator in an LLM interface, reducing the success rate of jailbreak attacks
from 79.8% to 2.4%. | null | cs.CL | [
"cs.CL"
] |
2312.12423 | HF | Jack of All Tasks, Master of Many: Designing General-purpose Coarse-to-Fine Vision-Language Model | [
"Shraman Pramanick",
"Guangxing Han",
"Rui Hou",
"Sayan Nag",
"Ser-Nam Lim",
"Nicolas Ballas",
"Qifan Wang",
"Rama Chellappa",
"Amjad Almahairi"
] | 2023-12-19 | The ability of large language models (LLMs) to process visual inputs has
given rise to general-purpose vision systems, unifying various vision-language
(VL) tasks by instruction tuning. However, due to the enormous diversity in
input-output formats in the vision domain, existing general-purpose models fail
to successfully integrate segmentation and multi-image inputs with coarse-level
tasks into a single framework. In this work, we introduce VistaLLM, a powerful
visual system that addresses coarse- and fine-grained VL tasks over single and
multiple input images using a unified framework. VistaLLM utilizes an
instruction-guided image tokenizer that filters global embeddings using task
descriptions to extract compressed and refined features from numerous images.
Moreover, VistaLLM employs a gradient-aware adaptive sampling technique to
represent binary segmentation masks as sequences, significantly improving over
previously used uniform sampling. To bolster the desired capability of
VistaLLM, we curate CoinIt, a comprehensive coarse-to-fine instruction tuning
dataset with 6.8M samples. We also address the lack of multi-image grounding
datasets by introducing a novel task, AttCoSeg (Attribute-level
Co-Segmentation), which boosts the model's reasoning and grounding capability
over multiple input images. Extensive experiments on a wide range of V- and VL
tasks demonstrate the effectiveness of VistaLLM by achieving consistent
state-of-the-art performance over strong baselines across all downstream tasks.
Our project page can be found at https://shramanpramanick.github.io/VistaLLM/. | null | cs.CV | [
"cs.CV",
"cs.AI"
] |
2305.12050 | HF | AI-assisted Code Authoring at Scale: Fine-tuning, deploying, and mixed methods evaluation | [
"Vijayaraghavan Murali",
"Chandra Maddila",
"Imad Ahmad",
"Michael Bolin",
"Daniel Cheng",
"Negar Ghorbani",
"Renuka Fernandez",
"Nachiappan Nagappan",
"Peter C. Rigby"
] | 2023-05-20 | Generative LLMs have been shown to effectively power AI-based code authoring
tools that can suggest entire statements or blocks of code during code
authoring. In this paper we present CodeCompose, an AI-assisted code authoring
tool developed and deployed at Meta internally. CodeCompose is based on the
InCoder LLM that merges generative capabilities with bi-directionality. We have
scaled up CodeCompose to serve tens of thousands of developers at Meta, across
9 programming languages and several coding surfaces. We present our experience
in making design decisions about the model and system architecture for
CodeCompose that addresses these challenges.
To release a LLM model at this scale, we needed to first ensure that it is
sufficiently accurate. In a random sample of 20K source code files, depending
on the language, we are able to reproduce hidden lines between 40% and 58% of
the time, an improvement of 1.4x and 4.1x over a model trained only on public
data.
We gradually rolled CodeCompose out to developers. At the time of this
writing, 16K developers have used it with 8% of their code coming directly from
CodeCompose.
To triangulate our numerical findings, we conduct a thematic analysis on the
feedback from 70 developers. We find that 91.5% of the feedback is positive,
with the most common themes being discovering APIs, dealing with boilerplate
code, and accelerating coding. Meta continues to integrate this feedback into
CodeCompose. | null | cs.SE | [
"cs.SE",
"cs.AI"
] |
2308.14711 | AnswerAI | Fast Feedforward Networks | [
"Peter Belcak",
"Roger Wattenhofer"
] | 2023-08-28 | We break the linear link between the layer size and its inference cost by
introducing the fast feedforward (FFF) architecture, a log-time alternative to
feedforward networks. We demonstrate that FFFs are up to 220x faster than
feedforward networks, up to 6x faster than mixture-of-experts networks, and
exhibit better training properties than mixtures of experts thanks to noiseless
conditional execution. Pushing FFFs to the limit, we show that they can use as
little as 1% of layer neurons for inference in vision transformers while
preserving 94.2% of predictive performance. | null | cs.LG | [
"cs.LG",
"cs.AI",
"cs.PF"
] |
2405.16661 | AnswerAI | RLSF: Reinforcement Learning via Symbolic Feedback | [
"Piyush Jha",
"Prithwish Jana",
"Arnav Arora",
"Vijay Ganesh"
] | 2024-05-26 | In recent years, large language models (LLMs) have had a dramatic impact on
various sub-fields of AI, most notably on natural language understanding tasks.
However, there is widespread agreement that the logical reasoning capabilities
of contemporary LLMs are, at best, fragmentary (i.e., may work well on some
problem instances but fail dramatically on others). While traditional LLM
fine-tuning approaches (e.g., those that use human feedback) do address this
problem to some degree, they suffer from many issues, including unsound
black-box reward models, difficulties in collecting preference data, and sparse
scalar reward values.
To address these challenges, we propose a new training/fine-tuning paradigm
we refer to as Reinforcement Learning via Symbolic Feedback (RLSF), which is
aimed at enhancing the reasoning capabilities of LLMs. In the RLSF setting, the
LLM that is being trained/fine-tuned is considered as the RL agent, while the
environment is allowed access to reasoning or domain knowledge tools (e.g.,
solvers, algebra systems). Crucially, in RLSF, these reasoning tools can
provide feedback to the LLMs via poly-sized certificates (e.g., proofs), that
characterize errors in the LLM-generated object with respect to some
correctness specification. The ability of RLSF-based training/fine-tuning to
leverage certificate-generating symbolic tools enables sound fine-grained
(token-level) reward signals to LLMs, and thus addresses the limitations of
traditional reward models mentioned above. Via extensive evaluations, we show
that our RLSF-based fine-tuning of LLMs outperforms traditional approaches on
two different applications, namely, program synthesis from natural language
pseudo-code to programming language (C++) and solving the Game of 24. | null | cs.CL | [
"cs.CL",
"cs.AI",
"cs.LG",
"cs.LO"
] |
2401.14953 | HF | Learning Universal Predictors | [
"Jordi Grau-Moya",
"Tim Genewein",
"Marcus Hutter",
"Laurent Orseau",
"Grégoire Delétang",
"Elliot Catt",
"Anian Ruoss",
"Li Kevin Wenliang",
"Christopher Mattern",
"Matthew Aitchison",
"Joel Veness"
] | 2024-01-26 | Meta-learning has emerged as a powerful approach to train neural networks to
learn new tasks quickly from limited data. Broad exposure to different tasks
leads to versatile representations enabling general problem solving. But, what
are the limits of meta-learning? In this work, we explore the potential of
amortizing the most powerful universal predictor, namely Solomonoff Induction
(SI), into neural networks via leveraging meta-learning to its limits. We use
Universal Turing Machines (UTMs) to generate training data used to expose
networks to a broad range of patterns. We provide theoretical analysis of the
UTM data generation processes and meta-training protocols. We conduct
comprehensive experiments with neural architectures (e.g. LSTMs, Transformers)
and algorithmic data generators of varying complexity and universality. Our
results suggest that UTM data is a valuable resource for meta-learning, and
that it can be used to train neural networks capable of learning universal
prediction strategies. | null | cs.LG | [
"cs.LG",
"cs.AI"
] |
2310.12963 | HF | AutoMix: Automatically Mixing Language Models | [
"Pranjal Aggarwal",
"Aman Madaan",
"Ankit Anand",
"Srividya Pranavi Potharaju",
"Swaroop Mishra",
"Pei Zhou",
"Aditya Gupta",
"Dheeraj Rajagopal",
"Karthik Kappaganthu",
"Yiming Yang",
"Shyam Upadhyay",
"Manaal Faruqui",
"Mausam"
] | 2023-10-19 | Large language models (LLMs) are now available from cloud API providers in
various sizes and configurations. While this diversity offers a broad spectrum
of choices, effectively leveraging the options to optimize computational cost
and performance remains challenging. In this work, we present Automix, an
approach that strategically routes queries to larger LMs, based on the
approximate correctness of outputs from a smaller LM. Central to Automix are
two key technical contributions. First, it has a few-shot self-verification
mechanism, which estimates the reliability of its own outputs without requiring
extensive training. Second, given that self-verification can be noisy, it
employs a POMDP based router that can effectively select an appropriately sized
model, based on answer confidence. Experiments across five language models and
five challenging datasets show that Automix consistently surpasses strong
baselines, reducing computational cost by over 50% for comparable performance. | null | cs.CL | [
"cs.CL",
"cs.AI"
] |
2403.02338 | HF | Twisting Lids Off with Two Hands | [
"Toru Lin",
"Zhao-Heng Yin",
"Haozhi Qi",
"Pieter Abbeel",
"Jitendra Malik"
] | 2024-03-04 | Manipulating objects with two multi-fingered hands has been a long-standing
challenge in robotics, attributed to the contact-rich nature of many
manipulation tasks and the complexity inherent in coordinating a
high-dimensional bimanual system. In this work, we consider the problem of
twisting lids of various bottle-like objects with two hands, and demonstrate
that policies trained in simulation using deep reinforcement learning can be
effectively transferred to the real world. With novel engineering insights into
physical modeling, real-time perception, and reward design, the policy
demonstrates generalization capabilities across a diverse set of unseen
objects, showcasing dynamic and dexterous behaviors. Our findings serve as
compelling evidence that deep reinforcement learning combined with sim-to-real
transfer remains a promising approach for addressing manipulation problems of
unprecedented complexity. | null | cs.RO | [
"cs.RO",
"cs.AI",
"cs.CV",
"cs.LG"
] |
2305.05364 | HF | Large Language Model Programs | [
"Imanol Schlag",
"Sainbayar Sukhbaatar",
"Asli Celikyilmaz",
"Wen-tau Yih",
"Jason Weston",
"Jürgen Schmidhuber",
"Xian Li"
] | 2023-05-09 | In recent years, large pre-trained language models (LLMs) have demonstrated
the ability to follow instructions and perform novel tasks from a few examples.
The possibility to parameterise an LLM through such in-context examples widens
their capability at a much lower cost than finetuning. We extend this line of
reasoning and present a method which further expands the capabilities of an LLM
by embedding it within an algorithm or program. To demonstrate the benefits of
this approach, we present an illustrative example of evidence-supported
question-answering. We obtain a 6.4\% improvement over the chain of thought
baseline through a more algorithmic approach without any finetuning.
Furthermore, we highlight recent work from this perspective and discuss the
advantages and disadvantages in comparison to the standard approaches. | null | cs.LG | [
"cs.LG",
"cs.AI",
"cs.CL"
] |
1911.00536 | AnswerAI | DialoGPT: Large-Scale Generative Pre-training for Conversational Response Generation | [
"Yizhe Zhang",
"Siqi Sun",
"Michel Galley",
"Yen-Chun Chen",
"Chris Brockett",
"Xiang Gao",
"Jianfeng Gao",
"Jingjing Liu",
"Bill Dolan"
] | 2019-11-01 | We present a large, tunable neural conversational response generation model,
DialoGPT (dialogue generative pre-trained transformer). Trained on 147M
conversation-like exchanges extracted from Reddit comment chains over a period
spanning from 2005 through 2017, DialoGPT extends the Hugging Face PyTorch
transformer to attain a performance close to human both in terms of automatic
and human evaluation in single-turn dialogue settings. We show that
conversational systems that leverage DialoGPT generate more relevant,
contentful and context-consistent responses than strong baseline systems. The
pre-trained model and training pipeline are publicly released to facilitate
research into neural response generation and the development of more
intelligent open-domain dialogue systems. | null | cs.CL | [
"cs.CL",
"cs.LG"
] |
2406.09415 | Both | An Image is Worth More Than 16x16 Patches: Exploring Transformers on Individual Pixels | [
"Duy-Kien Nguyen",
"Mahmoud Assran",
"Unnat Jain",
"Martin R. Oswald",
"Cees G. M. Snoek",
"Xinlei Chen"
] | 2024-06-13 | This work does not introduce a new method. Instead, we present an interesting
finding that questions the necessity of the inductive bias -- locality in
modern computer vision architectures. Concretely, we find that vanilla
Transformers can operate by directly treating each individual pixel as a token
and achieve highly performant results. This is substantially different from the
popular design in Vision Transformer, which maintains the inductive bias from
ConvNets towards local neighborhoods (e.g. by treating each 16x16 patch as a
token). We mainly showcase the effectiveness of pixels-as-tokens across three
well-studied tasks in computer vision: supervised learning for object
classification, self-supervised learning via masked autoencoding, and image
generation with diffusion models. Although directly operating on individual
pixels is less computationally practical, we believe the community must be
aware of this surprising piece of knowledge when devising the next generation
of neural architectures for computer vision. | null | cs.CV | [
"cs.CV",
"cs.LG"
] |
2408.14849 | HF | Project SHADOW: Symbolic Higher-order Associative Deductive reasoning On Wikidata using LM probing | [
"Hanna Abi Akl"
] | 2024-08-27 | We introduce SHADOW, a fine-tuned language model trained on an intermediate
task using associative deductive reasoning, and measure its performance on a
knowledge base construction task using Wikidata triple completion. We evaluate
SHADOW on the LM-KBC 2024 challenge and show that it outperforms the baseline
solution by 20% with a F1 score of 68.72%. | null | cs.CL | [
"cs.CL",
"cs.AI"
] |
2306.03460 | HF | Natural Language Commanding via Program Synthesis | [
"Apurva Gandhi",
"Thong Q. Nguyen",
"Huitian Jiao",
"Robert Steen",
"Ameya Bhatawdekar"
] | 2023-06-06 | We present Semantic Interpreter, a natural language-friendly AI system for
productivity software such as Microsoft Office that leverages large language
models (LLMs) to execute user intent across application features. While LLMs
are excellent at understanding user intent expressed as natural language, they
are not sufficient for fulfilling application-specific user intent that
requires more than text-to-text transformations. We therefore introduce the
Office Domain Specific Language (ODSL), a concise, high-level language
specialized for performing actions in and interacting with entities in Office
applications. Semantic Interpreter leverages an Analysis-Retrieval prompt
construction method with LLMs for program synthesis, translating natural
language user utterances to ODSL programs that can be transpiled to application
APIs and then executed. We focus our discussion primarily on a research
exploration for Microsoft PowerPoint. | null | cs.LG | [
"cs.LG",
"cs.CL",
"cs.HC"
] |
2306.01116 | Both | The RefinedWeb Dataset for Falcon LLM: Outperforming Curated Corpora with Web Data, and Web Data Only | [
"Guilherme Penedo",
"Quentin Malartic",
"Daniel Hesslow",
"Ruxandra Cojocaru",
"Alessandro Cappelli",
"Hamza Alobeidli",
"Baptiste Pannier",
"Ebtesam Almazrouei",
"Julien Launay"
] | 2023-06-01 | Large language models are commonly trained on a mixture of filtered web data
and curated high-quality corpora, such as social media conversations, books, or
technical papers. This curation process is believed to be necessary to produce
performant models with broad zero-shot generalization abilities. However, as
larger models requiring pretraining on trillions of tokens are considered, it
is unclear how scalable is curation and whether we will run out of unique
high-quality data soon. At variance with previous beliefs, we show that
properly filtered and deduplicated web data alone can lead to powerful models;
even significantly outperforming models from the state-of-the-art trained on
The Pile. Despite extensive filtering, the high-quality data we extract from
the web is still plentiful, and we are able to obtain five trillion tokens from
CommonCrawl. We publicly release an extract of 600 billion tokens from our
RefinedWeb dataset, and 1.3/7.5B parameters language models trained on it. | null | cs.CL | [
"cs.CL",
"cs.AI"
] |
2409.08857 | HF | InstantDrag: Improving Interactivity in Drag-based Image Editing | [
"Joonghyuk Shin",
"Daehyeon Choi",
"Jaesik Park"
] | 2024-09-13 | Drag-based image editing has recently gained popularity for its interactivity
and precision. However, despite the ability of text-to-image models to generate
samples within a second, drag editing still lags behind due to the challenge of
accurately reflecting user interaction while maintaining image content. Some
existing approaches rely on computationally intensive per-image optimization or
intricate guidance-based methods, requiring additional inputs such as masks for
movable regions and text prompts, thereby compromising the interactivity of the
editing process. We introduce InstantDrag, an optimization-free pipeline that
enhances interactivity and speed, requiring only an image and a drag
instruction as input. InstantDrag consists of two carefully designed networks:
a drag-conditioned optical flow generator (FlowGen) and an optical
flow-conditioned diffusion model (FlowDiffusion). InstantDrag learns motion
dynamics for drag-based image editing in real-world video datasets by
decomposing the task into motion generation and motion-conditioned image
generation. We demonstrate InstantDrag's capability to perform fast,
photo-realistic edits without masks or text prompts through experiments on
facial video datasets and general scenes. These results highlight the
efficiency of our approach in handling drag-based image editing, making it a
promising solution for interactive, real-time applications. | null | cs.CV | [
"cs.CV"
] |
2308.01313 | HF | PerceptionCLIP: Visual Classification by Inferring and Conditioning on Contexts | [
"Bang An",
"Sicheng Zhu",
"Michael-Andrei Panaitescu-Liess",
"Chaithanya Kumar Mummadi",
"Furong Huang"
] | 2023-08-02 | Vision-language models like CLIP are widely used in zero-shot image
classification due to their ability to understand various visual concepts and
natural language descriptions. However, how to fully leverage CLIP's
unprecedented human-like understanding capabilities to achieve better
performance is still an open question. This paper draws inspiration from the
human visual perception process: when classifying an object, humans first infer
contextual attributes (e.g., background and orientation) which help separate
the foreground object from the background, and then classify the object based
on this information. Inspired by it, we observe that providing CLIP with
contextual attributes improves zero-shot image classification and mitigates
reliance on spurious features. We also observe that CLIP itself can reasonably
infer the attributes from an image. With these observations, we propose a
training-free, two-step zero-shot classification method PerceptionCLIP. Given
an image, it first infers contextual attributes (e.g., background) and then
performs object classification conditioning on them. Our experiments show that
PerceptionCLIP achieves better generalization, group robustness, and
interoperability. Our code is available at
https://github.com/umd-huang-lab/perceptionCLIP | null | cs.CV | [
"cs.CV",
"cs.AI",
"cs.CL",
"cs.LG"
] |
2406.18629 | HF | Step-DPO: Step-wise Preference Optimization for Long-chain Reasoning of LLMs | [
"Xin Lai",
"Zhuotao Tian",
"Yukang Chen",
"Senqiao Yang",
"Xiangru Peng",
"Jiaya Jia"
] | 2024-06-26 | Mathematical reasoning presents a significant challenge for Large Language
Models (LLMs) due to the extensive and precise chain of reasoning required for
accuracy. Ensuring the correctness of each reasoning step is critical. To
address this, we aim to enhance the robustness and factuality of LLMs by
learning from human feedback. However, Direct Preference Optimization (DPO) has
shown limited benefits for long-chain mathematical reasoning, as models
employing DPO struggle to identify detailed errors in incorrect answers. This
limitation stems from a lack of fine-grained process supervision. We propose a
simple, effective, and data-efficient method called Step-DPO, which treats
individual reasoning steps as units for preference optimization rather than
evaluating answers holistically. Additionally, we have developed a data
construction pipeline for Step-DPO, enabling the creation of a high-quality
dataset containing 10K step-wise preference pairs. We also observe that in DPO,
self-generated data is more effective than data generated by humans or GPT-4,
due to the latter's out-of-distribution nature. Our findings demonstrate that
as few as 10K preference data pairs and fewer than 500 Step-DPO training steps
can yield a nearly 3% gain in accuracy on MATH for models with over 70B
parameters. Notably, Step-DPO, when applied to Qwen2-72B-Instruct, achieves
scores of 70.8% and 94.0% on the test sets of MATH and GSM8K, respectively,
surpassing a series of closed-source models, including GPT-4-1106,
Claude-3-Opus, and Gemini-1.5-Pro. Our code, data, and models are available at
https://github.com/dvlab-research/Step-DPO. | null | cs.LG | [
"cs.LG",
"cs.AI",
"cs.CL"
] |
2309.08773 | HF | Enhance audio generation controllability through representation similarity regularization | [
"Yangyang Shi",
"Gael Le Lan",
"Varun Nagaraja",
"Zhaoheng Ni",
"Xinhao Mei",
"Ernie Chang",
"Forrest Iandola",
"Yang Liu",
"Vikas Chandra"
] | 2023-09-15 | This paper presents an innovative approach to enhance control over audio
generation by emphasizing the alignment between audio and text representations
during model training. In the context of language model-based audio generation,
the model leverages input from both textual and audio token representations to
predict subsequent audio tokens. However, the current configuration lacks
explicit regularization to ensure the alignment between the chosen text
representation and the language model's predictions. Our proposal involves the
incorporation of audio and text representation regularization, particularly
during the classifier-free guidance (CFG) phase, where the text condition is
excluded from cross attention during language model training. The aim of this
proposed representation regularization is to minimize discrepancies in audio
and text similarity compared to other samples within the same training batch.
Experimental results on both music and audio generation tasks demonstrate that
our proposed methods lead to improvements in objective metrics for both audio
and music generation, as well as an enhancement in the human perception for
audio generation. | null | cs.SD | [
"cs.SD",
"cs.AI",
"cs.LG",
"eess.AS"
] |
2405.10320 | HF | Toon3D: Seeing Cartoons from a New Perspective | [
"Ethan Weber",
"Riley Peterlinz",
"Rohan Mathur",
"Frederik Warburg",
"Alexei A. Efros",
"Angjoo Kanazawa"
] | 2024-05-16 | In this work, we recover the underlying 3D structure of non-geometrically
consistent scenes. We focus our analysis on hand-drawn images from cartoons and
anime. Many cartoons are created by artists without a 3D rendering engine,
which means that any new image of a scene is hand-drawn. The hand-drawn images
are usually faithful representations of the world, but only in a qualitative
sense, since it is difficult for humans to draw multiple perspectives of an
object or scene 3D consistently. Nevertheless, people can easily perceive 3D
scenes from inconsistent inputs! In this work, we correct for 2D drawing
inconsistencies to recover a plausible 3D structure such that the newly warped
drawings are consistent with each other. Our pipeline consists of a
user-friendly annotation tool, camera pose estimation, and image deformation to
recover a dense structure. Our method warps images to obey a perspective camera
model, enabling our aligned results to be plugged into novel-view synthesis
reconstruction methods to experience cartoons from viewpoints never drawn
before. Our project page is https://toon3d.studio . | null | cs.CV | [
"cs.CV"
] |
2401.03462 | Both | Soaring from 4K to 400K: Extending LLM's Context with Activation Beacon | [
"Peitian Zhang",
"Zheng Liu",
"Shitao Xiao",
"Ninglu Shao",
"Qiwei Ye",
"Zhicheng Dou"
] | 2024-01-07 | The utilization of long contexts poses a big challenge for LLMs due to their
limited context window size. Although the context window can be extended
through fine-tuning, it will result in a considerable cost at both training and
inference time, and exert an unfavorable impact to the LLM's original
capabilities. In this work, we propose a new method called Activation Beacon,
which condenses LLM's raw activations into compact forms such that the LLM can
perceive a longer context with a limited context window. Activation Beacon is
introduced as a plug-in module, which fully preserves the LLM's original
capability in short contexts. It works with the sliding window to streamingly
process the long context, which leads to a competitive memory and time
efficiency in both training and inference. Activation Beacon is trained with
short-sequence data of diversified condensing ratios. Thanks to such a
treatment, it can be effectively learned to support different context lengths
with a small training cost. Our experiment verifies Activation Beacon's
effectiveness of context extension: it can remarkably accomplish high-quality
extension of Llama-2-7B's context by $\times100$ times (from 4K to 400K);
meanwhile, it can also achieve superior performances across a variety of
long-context language modeling and understanding tasks. The source code and
model checkpoint are available at
\url{https://github.com/FlagOpen/FlagEmbedding}. | null | cs.CL | [
"cs.CL",
"cs.AI"
] |
2402.12479 | HF | In value-based deep reinforcement learning, a pruned network is a good network | [
"Johan Obando-Ceron",
"Aaron Courville",
"Pablo Samuel Castro"
] | 2024-02-19 | Recent work has shown that deep reinforcement learning agents have difficulty
in effectively using their network parameters. We leverage prior insights into
the advantages of sparse training techniques and demonstrate that gradual
magnitude pruning enables value-based agents to maximize parameter
effectiveness. This results in networks that yield dramatic performance
improvements over traditional networks, using only a small fraction of the full
network parameters. | null | cs.LG | [
"cs.LG",
"cs.AI"
] |
2408.07852 | Both | Training Language Models on the Knowledge Graph: Insights on Hallucinations and Their Detectability | [
"Jiri Hron",
"Laura Culp",
"Gamaleldin Elsayed",
"Rosanne Liu",
"Ben Adlam",
"Maxwell Bileschi",
"Bernd Bohnet",
"JD Co-Reyes",
"Noah Fiedel",
"C. Daniel Freeman",
"Izzeddin Gur",
"Kathleen Kenealy",
"Jaehoon Lee",
"Peter J. Liu",
"Gaurav Mishra",
"Igor Mordatch",
"Azade Nova",
"Roman Novak",
"Aaron Parisi",
"Jeffrey Pennington",
"Alex Rizkowsky",
"Isabelle Simpson",
"Hanie Sedghi",
"Jascha Sohl-dickstein",
"Kevin Swersky",
"Sharad Vikram",
"Tris Warkentin",
"Lechao Xiao",
"Kelvin Xu",
"Jasper Snoek",
"Simon Kornblith"
] | 2024-08-14 | While many capabilities of language models (LMs) improve with increased
training budget, the influence of scale on hallucinations is not yet fully
understood. Hallucinations come in many forms, and there is no universally
accepted definition. We thus focus on studying only those hallucinations where
a correct answer appears verbatim in the training set. To fully control the
training data content, we construct a knowledge graph (KG)-based dataset, and
use it to train a set of increasingly large LMs. We find that for a fixed
dataset, larger and longer-trained LMs hallucinate less. However, hallucinating
on $\leq5$% of the training data requires an order of magnitude larger model,
and thus an order of magnitude more compute, than Hoffmann et al. (2022)
reported was optimal. Given this costliness, we study how hallucination
detectors depend on scale. While we see detector size improves performance on
fixed LM's outputs, we find an inverse relationship between the scale of the LM
and the detectability of its hallucinations. | null | cs.CL | [
"cs.CL",
"cs.AI",
"cs.LG"
] |
2403.16990 | HF | Be Yourself: Bounded Attention for Multi-Subject Text-to-Image Generation | [
"Omer Dahary",
"Or Patashnik",
"Kfir Aberman",
"Daniel Cohen-Or"
] | 2024-03-25 | Text-to-image diffusion models have an unprecedented ability to generate
diverse and high-quality images. However, they often struggle to faithfully
capture the intended semantics of complex input prompts that include multiple
subjects. Recently, numerous layout-to-image extensions have been introduced to
improve user control, aiming to localize subjects represented by specific
tokens. Yet, these methods often produce semantically inaccurate images,
especially when dealing with multiple semantically or visually similar
subjects. In this work, we study and analyze the causes of these limitations.
Our exploration reveals that the primary issue stems from inadvertent semantic
leakage between subjects in the denoising process. This leakage is attributed
to the diffusion model's attention layers, which tend to blend the visual
features of different subjects. To address these issues, we introduce Bounded
Attention, a training-free method for bounding the information flow in the
sampling process. Bounded Attention prevents detrimental leakage among subjects
and enables guiding the generation to promote each subject's individuality,
even with complex multi-subject conditioning. Through extensive
experimentation, we demonstrate that our method empowers the generation of
multiple subjects that better align with given prompts and layouts. | null | cs.CV | [
"cs.CV",
"cs.AI",
"cs.GR",
"cs.LG"
] |
2407.08348 | HF | Skywork-Math: Data Scaling Laws for Mathematical Reasoning in Large Language Models -- The Story Goes On | [
"Liang Zeng",
"Liangjun Zhong",
"Liang Zhao",
"Tianwen Wei",
"Liu Yang",
"Jujie He",
"Cheng Cheng",
"Rui Hu",
"Yang Liu",
"Shuicheng Yan",
"Han Fang",
"Yahui Zhou"
] | 2024-07-11 | In this paper, we investigate the underlying factors that potentially enhance
the mathematical reasoning capabilities of large language models (LLMs). We
argue that the data scaling law for math reasoning capabilities in modern LLMs
is far from being saturated, highlighting how the model's quality improves with
increases in data quantity. To support this claim, we introduce the
Skywork-Math model series, supervised fine-tuned (SFT) on common 7B LLMs using
our proposed 2.5M-instance Skywork-MathQA dataset. Skywork-Math 7B has achieved
impressive accuracies of 51.2% on the competition-level MATH benchmark and
83.9% on the GSM8K benchmark using only SFT data, outperforming an early
version of GPT-4 on MATH. The superior performance of Skywork-Math models
contributes to our novel two-stage data synthesis and model SFT pipelines,
which include three different augmentation methods and a diverse seed problem
set, ensuring both the quantity and quality of Skywork-MathQA dataset across
varying difficulty levels. Most importantly, we provide several practical
takeaways to enhance math reasoning abilities in LLMs for both research and
industry applications. | null | cs.AI | [
"cs.AI",
"cs.CL",
"cs.LG"
] |
2310.01596 | HF | ImagenHub: Standardizing the evaluation of conditional image generation models | [
"Max Ku",
"Tianle Li",
"Kai Zhang",
"Yujie Lu",
"Xingyu Fu",
"Wenwen Zhuang",
"Wenhu Chen"
] | 2023-10-02 | Recently, a myriad of conditional image generation and editing models have
been developed to serve different downstream tasks, including text-to-image
generation, text-guided image editing, subject-driven image generation,
control-guided image generation, etc. However, we observe huge inconsistencies
in experimental conditions: datasets, inference, and evaluation metrics -
render fair comparisons difficult. This paper proposes ImagenHub, which is a
one-stop library to standardize the inference and evaluation of all the
conditional image generation models. Firstly, we define seven prominent tasks
and curate high-quality evaluation datasets for them. Secondly, we built a
unified inference pipeline to ensure fair comparison. Thirdly, we design two
human evaluation scores, i.e. Semantic Consistency and Perceptual Quality,
along with comprehensive guidelines to evaluate generated images. We train
expert raters to evaluate the model outputs based on the proposed metrics. Our
human evaluation achieves a high inter-worker agreement of Krippendorff's alpha
on 76% models with a value higher than 0.4. We comprehensively evaluated a
total of around 30 models and observed three key takeaways: (1) the existing
models' performance is generally unsatisfying except for Text-guided Image
Generation and Subject-driven Image Generation, with 74% models achieving an
overall score lower than 0.5. (2) we examined the claims from published papers
and found 83% of them hold with a few exceptions. (3) None of the existing
automatic metrics has a Spearman's correlation higher than 0.2 except
subject-driven image generation. Moving forward, we will continue our efforts
to evaluate newly published models and update our leaderboard to keep track of
the progress in conditional image generation. | null | cs.CV | [
"cs.CV",
"cs.GR",
"cs.MM"
] |
2405.17428 | HF | NV-Embed: Improved Techniques for Training LLMs as Generalist Embedding Models | [
"Chankyu Lee",
"Rajarshi Roy",
"Mengyao Xu",
"Jonathan Raiman",
"Mohammad Shoeybi",
"Bryan Catanzaro",
"Wei Ping"
] | 2024-05-27 | Decoder-only large language model (LLM)-based embedding models are beginning
to outperform BERT or T5-based embedding models in general-purpose text
embedding tasks, including dense vector-based retrieval. In this work, we
introduce the NV-Embed model with a variety of architectural designs and
training procedures to significantly enhance the performance of LLM as a
versatile embedding model, while maintaining its simplicity and
reproducibility. For model architecture, we propose a latent attention layer to
obtain pooled embeddings, which consistently improves retrieval and downstream
task accuracy compared to mean pooling or using the last <EOS> token embedding
from LLMs. To enhance representation learning, we remove the causal attention
mask of LLMs during contrastive training. For model training, we introduce a
two-stage contrastive instruction-tuning method. It first applies contrastive
training with instructions on retrieval datasets, utilizing in-batch negatives
and curated hard negative examples. At stage-2, it blends various non-retrieval
datasets into instruction tuning, which not only enhances non-retrieval task
accuracy but also improves retrieval performance. Combining these techniques,
our NV-Embed model, using only publicly available data, has achieved a
record-high score of 69.32, ranking No. 1 on the Massive Text Embedding
Benchmark (MTEB) (as of May 24, 2024), with 56 tasks, encompassing retrieval,
reranking, classification, clustering, and semantic textual similarity tasks.
Notably, our model also attains the highest score of 59.36 on 15 retrieval
tasks in the MTEB benchmark (also known as BEIR). We will open-source the model
at: https://huggingface.co/nvidia/NV-Embed-v1. | null | cs.CL | [
"cs.CL",
"cs.AI",
"cs.IR",
"cs.LG"
] |
2307.01831 | HF | DiT-3D: Exploring Plain Diffusion Transformers for 3D Shape Generation | [
"Shentong Mo",
"Enze Xie",
"Ruihang Chu",
"Lewei Yao",
"Lanqing Hong",
"Matthias Nießner",
"Zhenguo Li"
] | 2023-07-04 | Recent Diffusion Transformers (e.g., DiT) have demonstrated their powerful
effectiveness in generating high-quality 2D images. However, it is still being
determined whether the Transformer architecture performs equally well in 3D
shape generation, as previous 3D diffusion methods mostly adopted the U-Net
architecture. To bridge this gap, we propose a novel Diffusion Transformer for
3D shape generation, namely DiT-3D, which can directly operate the denoising
process on voxelized point clouds using plain Transformers. Compared to
existing U-Net approaches, our DiT-3D is more scalable in model size and
produces much higher quality generations. Specifically, the DiT-3D adopts the
design philosophy of DiT but modifies it by incorporating 3D positional and
patch embeddings to adaptively aggregate input from voxelized point clouds. To
reduce the computational cost of self-attention in 3D shape generation, we
incorporate 3D window attention into Transformer blocks, as the increased 3D
token length resulting from the additional dimension of voxels can lead to high
computation. Finally, linear and devoxelization layers are used to predict the
denoised point clouds. In addition, our transformer architecture supports
efficient fine-tuning from 2D to 3D, where the pre-trained DiT-2D checkpoint on
ImageNet can significantly improve DiT-3D on ShapeNet. Experimental results on
the ShapeNet dataset demonstrate that the proposed DiT-3D achieves
state-of-the-art performance in high-fidelity and diverse 3D point cloud
generation. In particular, our DiT-3D decreases the 1-Nearest Neighbor Accuracy
of the state-of-the-art method by 4.59 and increases the Coverage metric by
3.51 when evaluated on Chamfer Distance. | null | cs.CV | [
"cs.CV",
"cs.AI",
"cs.LG"
] |
2405.14860 | HF | Not All Language Model Features Are Linear | [
"Joshua Engels",
"Isaac Liao",
"Eric J. Michaud",
"Wes Gurnee",
"Max Tegmark"
] | 2024-05-23 | Recent work has proposed the linear representation hypothesis: that language
models perform computation by manipulating one-dimensional representations of
concepts ("features") in activation space. In contrast, we explore whether some
language model representations may be inherently multi-dimensional. We begin by
developing a rigorous definition of irreducible multi-dimensional features
based on whether they can be decomposed into either independent or
non-co-occurring lower-dimensional features. Motivated by these definitions, we
design a scalable method that uses sparse autoencoders to automatically find
multi-dimensional features in GPT-2 and Mistral 7B. These auto-discovered
features include strikingly interpretable examples, e.g. circular features
representing days of the week and months of the year. We identify tasks where
these exact circles are used to solve computational problems involving modular
arithmetic in days of the week and months of the year. Finally, we provide
evidence that these circular features are indeed the fundamental unit of
computation in these tasks with intervention experiments on Mistral 7B and
Llama 3 8B, and we find further circular representations by breaking down the
hidden states for these tasks into interpretable components. | null | cs.LG | [
"cs.LG"
] |
2404.18911 | HF | Kangaroo: Lossless Self-Speculative Decoding via Double Early Exiting | [
"Fangcheng Liu",
"Yehui Tang",
"Zhenhua Liu",
"Yunsheng Ni",
"Kai Han",
"Yunhe Wang"
] | 2024-04-29 | Speculative decoding has demonstrated its effectiveness in accelerating the
inference of large language models while maintaining a consistent sampling
distribution. However, the conventional approach of training a separate draft
model to achieve a satisfactory token acceptance rate can be costly. Drawing
inspiration from early exiting, we propose a novel self-speculative decoding
framework \emph{Kangaroo}, which uses a fixed shallow sub-network as a
self-draft model, with the remaining layers serving as the larger target model.
We train a lightweight and efficient adapter module on top of the sub-network
to bridge the gap between the sub-network and the full model's representation
ability. It is noteworthy that the inference latency of the self-draft model
may no longer be negligible compared to the large model, necessitating
strategies to increase the token acceptance rate while minimizing the drafting
steps of the small model. To address this challenge, we introduce an additional
early exiting mechanism for generating draft tokens. Specifically, we halt the
small model's subsequent prediction during the drafting phase once the
confidence level for the current token falls below a certain threshold.
Extensive experiments on the Spec-Bench demonstrate the effectiveness of
Kangaroo. Under single-sequence verification, Kangaroo achieves speedups up to
$1.68\times$ on Spec-Bench, outperforming Medusa-1 with 88.7\% fewer additional
parameters (67M compared to 591M). The code for Kangaroo is available at
https://github.com/Equationliu/Kangaroo. | null | cs.CL | [
"cs.CL",
"cs.LG"
] |
2406.07933 | HF | Large Language Model Unlearning via Embedding-Corrupted Prompts | [
"Chris Yuhao Liu",
"Yaxuan Wang",
"Jeffrey Flanigan",
"Yang Liu"
] | 2024-06-12 | Large language models (LLMs) have advanced to encompass extensive knowledge
across diverse domains. Yet controlling what a large language model should not
know is important for ensuring alignment and thus safe use. However, accurately
and efficiently unlearning knowledge from an LLM remains challenging due to the
potential collateral damage caused by the fuzzy boundary between retention and
forgetting, and the large computational requirements for optimization across
state-of-the-art models with hundreds of billions of parameters. In this work,
we present Embedding-COrrupted (ECO) Prompts, a lightweight unlearning
framework for large language models to address both the challenges of knowledge
entanglement and unlearning efficiency. Instead of relying on the LLM itself to
unlearn, we enforce an unlearned state during inference by employing a prompt
classifier to identify and safeguard prompts to forget. We learn corruptions
added to prompt embeddings via zeroth order optimization toward the unlearning
objective offline and corrupt prompts flagged by the classifier during
inference. We find that these embedding-corrupted prompts not only lead to
desirable outputs that satisfy the unlearning objective but also closely
approximate the output from a model that has never been trained on the data
intended for forgetting. Through extensive experiments on unlearning, we
demonstrate the superiority of our method in achieving promising unlearning at
nearly zero side effects in general domains and domains closely related to the
unlearned ones. Additionally, we highlight the scalability of our method to 100
LLMs, ranging from 0.5B to 236B parameters, incurring no additional cost as the
number of parameters increases. | null | cs.CL | [
"cs.CL",
"cs.AI",
"cs.LG"
] |
2403.12596 | HF | Chart-based Reasoning: Transferring Capabilities from LLMs to VLMs | [
"Victor Carbune",
"Hassan Mansoor",
"Fangyu Liu",
"Rahul Aralikatte",
"Gilles Baechler",
"Jindong Chen",
"Abhanshu Sharma"
] | 2024-03-19 | Vision-language models (VLMs) are achieving increasingly strong performance
on multimodal tasks. However, reasoning capabilities remain limited
particularly for smaller VLMs, while those of large-language models (LLMs) have
seen numerous improvements. We propose a technique to transfer capabilities
from LLMs to VLMs. On the recently introduced ChartQA, our method obtains
state-of-the-art performance when applied on the PaLI3-5B VLM by
\citet{chen2023pali3}, while also enabling much better performance on PlotQA
and FigureQA.
We first improve the chart representation by continuing the pre-training
stage using an improved version of the chart-to-table translation task by
\citet{liu2023deplot}. We then propose constructing a 20x larger dataset than
the original training set. To improve general reasoning capabilities and
improve numerical operations, we synthesize reasoning traces using the table
representation of charts. Lastly, our model is fine-tuned using the multitask
loss introduced by \citet{hsieh2023distilling}.
Our variant ChartPaLI-5B outperforms even 10x larger models such as PaLIX-55B
without using an upstream OCR system, while keeping inference time constant
compared to the PaLI3-5B baseline. When rationales are further refined with a
simple program-of-thought prompt \cite{chen2023program}, our model outperforms
the recently introduced Gemini Ultra and GPT-4V. | null | cs.CL | [
"cs.CL"
] |
2304.05366 | AnswerAI | The No Free Lunch Theorem, Kolmogorov Complexity, and the Role of Inductive Biases in Machine Learning | [
"Micah Goldblum",
"Marc Finzi",
"Keefer Rowan",
"Andrew Gordon Wilson"
] | 2023-04-11 | No free lunch theorems for supervised learning state that no learner can
solve all problems or that all learners achieve exactly the same accuracy on
average over a uniform distribution on learning problems. Accordingly, these
theorems are often referenced in support of the notion that individual problems
require specially tailored inductive biases. While virtually all uniformly
sampled datasets have high complexity, real-world problems disproportionately
generate low-complexity data, and we argue that neural network models share
this same preference, formalized using Kolmogorov complexity. Notably, we show
that architectures designed for a particular domain, such as computer vision,
can compress datasets on a variety of seemingly unrelated domains. Our
experiments show that pre-trained and even randomly initialized language models
prefer to generate low-complexity sequences. Whereas no free lunch theorems
seemingly indicate that individual problems require specialized learners, we
explain how tasks that often require human intervention such as picking an
appropriately sized model when labeled data is scarce or plentiful can be
automated into a single learning algorithm. These observations justify the
trend in deep learning of unifying seemingly disparate problems with an
increasingly small set of machine learning models. | null | cs.LG | [
"cs.LG",
"stat.ML"
] |
2306.07552 | HF | Galactic: Scaling End-to-End Reinforcement Learning for Rearrangement at 100k Steps-Per-Second | [
"Vincent-Pierre Berges",
"Andrew Szot",
"Devendra Singh Chaplot",
"Aaron Gokaslan",
"Roozbeh Mottaghi",
"Dhruv Batra",
"Eric Undersander"
] | 2023-06-13 | We present Galactic, a large-scale simulation and reinforcement-learning (RL)
framework for robotic mobile manipulation in indoor environments. Specifically,
a Fetch robot (equipped with a mobile base, 7DoF arm, RGBD camera, egomotion,
and onboard sensing) is spawned in a home environment and asked to rearrange
objects - by navigating to an object, picking it up, navigating to a target
location, and then placing the object at the target location.
Galactic is fast. In terms of simulation speed (rendering + physics),
Galactic achieves over 421,000 steps-per-second (SPS) on an 8-GPU node, which
is 54x faster than Habitat 2.0 (7699 SPS). More importantly, Galactic was
designed to optimize the entire rendering + physics + RL interplay since any
bottleneck in the interplay slows down training. In terms of simulation+RL
speed (rendering + physics + inference + learning), Galactic achieves over
108,000 SPS, which 88x faster than Habitat 2.0 (1243 SPS).
These massive speed-ups not only drastically cut the wall-clock training time
of existing experiments, but also unlock an unprecedented scale of new
experiments. First, Galactic can train a mobile pick skill to >80% accuracy in
under 16 minutes, a 100x speedup compared to the over 24 hours it takes to
train the same skill in Habitat 2.0. Second, we use Galactic to perform the
largest-scale experiment to date for rearrangement using 5B steps of experience
in 46 hours, which is equivalent to 20 years of robot experience. This scaling
results in a single neural network composed of task-agnostic components
achieving 85% success in GeometricGoal rearrangement, compared to 0% success
reported in Habitat 2.0 for the same approach. The code is available at
github.com/facebookresearch/galactic. | null | cs.LG | [
"cs.LG",
"cs.AI",
"cs.RO"
] |
2309.16653 | HF | DreamGaussian: Generative Gaussian Splatting for Efficient 3D Content Creation | [
"Jiaxiang Tang",
"Jiawei Ren",
"Hang Zhou",
"Ziwei Liu",
"Gang Zeng"
] | 2023-09-28 | Recent advances in 3D content creation mostly leverage optimization-based 3D
generation via score distillation sampling (SDS). Though promising results have
been exhibited, these methods often suffer from slow per-sample optimization,
limiting their practical usage. In this paper, we propose DreamGaussian, a
novel 3D content generation framework that achieves both efficiency and quality
simultaneously. Our key insight is to design a generative 3D Gaussian Splatting
model with companioned mesh extraction and texture refinement in UV space. In
contrast to the occupancy pruning used in Neural Radiance Fields, we
demonstrate that the progressive densification of 3D Gaussians converges
significantly faster for 3D generative tasks. To further enhance the texture
quality and facilitate downstream applications, we introduce an efficient
algorithm to convert 3D Gaussians into textured meshes and apply a fine-tuning
stage to refine the details. Extensive experiments demonstrate the superior
efficiency and competitive generation quality of our proposed approach.
Notably, DreamGaussian produces high-quality textured meshes in just 2 minutes
from a single-view image, achieving approximately 10 times acceleration
compared to existing methods. | null | cs.CV | [
"cs.CV"
] |
2312.09571 | HF | Extending Context Window of Large Language Models via Semantic Compression | [
"Weizhi Fei",
"Xueyan Niu",
"Pingyi Zhou",
"Lu Hou",
"Bo Bai",
"Lei Deng",
"Wei Han"
] | 2023-12-15 | Transformer-based Large Language Models (LLMs) often impose limitations on
the length of the text input to ensure the generation of fluent and relevant
responses. This constraint restricts their applicability in scenarios involving
long texts. We propose a novel semantic compression method that enables
generalization to texts that are 6-8 times longer, without incurring
significant computational costs or requiring fine-tuning. Our proposed
framework draws inspiration from source coding in information theory and
employs a pre-trained model to reduce the semantic redundancy of long inputs
before passing them to the LLMs for downstream tasks. Experimental results
demonstrate that our method effectively extends the context window of LLMs
across a range of tasks including question answering, summarization, few-shot
learning, and information retrieval. Furthermore, the proposed semantic
compression method exhibits consistent fluency in text generation while
reducing the associated computational overhead. | null | cs.CL | [
"cs.CL",
"cs.IT",
"math.IT"
] |
2404.19553 | Both | Extending Llama-3's Context Ten-Fold Overnight | [
"Peitian Zhang",
"Ninglu Shao",
"Zheng Liu",
"Shitao Xiao",
"Hongjin Qian",
"Qiwei Ye",
"Zhicheng Dou"
] | 2024-04-30 | We extend the context length of Llama-3-8B-Instruct from 8K to 80K via QLoRA
fine-tuning. The entire training cycle is super efficient, which takes 8 hours
on one 8xA800 (80G) GPU machine. The resulted model exhibits superior
performances across a broad range of evaluation tasks, such as NIHS, topic
retrieval, and long-context language understanding; meanwhile, it also well
preserves the original capability over short contexts. The dramatic context
extension is mainly attributed to merely 3.5K synthetic training samples
generated by GPT-4 , which indicates the LLMs' inherent (yet largely
underestimated) potential to extend its original context length. In fact, the
context length could be extended far beyond 80K with more computation
resources. Therefore, the team will publicly release the entire resources
(including data, model, data generation pipeline, training code) so as to
facilitate the future research from the community:
\url{https://github.com/FlagOpen/FlagEmbedding}. | null | cs.CL | [
"cs.CL"
] |
2408.11457 | HF | Expanding FLORES+ Benchmark for more Low-Resource Settings: Portuguese-Emakhuwa Machine Translation Evaluation | [
"Felermino D. M. Antonio Ali",
"Henrique Lopes Cardoso",
"Rui Sousa-Silva"
] | 2024-08-21 | As part of the Open Language Data Initiative shared tasks, we have expanded
the FLORES+ evaluation set to include Emakhuwa, a low-resource language widely
spoken in Mozambique. We translated the dev and devtest sets from Portuguese
into Emakhuwa, and we detail the translation process and quality assurance
measures used. Our methodology involved various quality checks, including
post-editing and adequacy assessments. The resulting datasets consist of
multiple reference sentences for each source. We present baseline results from
training a Neural Machine Translation system and fine-tuning existing
multilingual translation models. Our findings suggest that spelling
inconsistencies remain a challenge in Emakhuwa. Additionally, the baseline
models underperformed on this evaluation set, underscoring the necessity for
further research to enhance machine translation quality for Emakhuwa. The data
is publicly available at https://huggingface.co/datasets/LIACC/Emakhuwa-FLORES. | null | cs.CL | [
"cs.CL"
] |
2407.00088 | HF | T-MAC: CPU Renaissance via Table Lookup for Low-Bit LLM Deployment on Edge | [
"Jianyu Wei",
"Shijie Cao",
"Ting Cao",
"Lingxiao Ma",
"Lei Wang",
"Yanyong Zhang",
"Mao Yang"
] | 2024-06-25 | The deployment of Large Language Models (LLMs) on edge devices is
increasingly important to enhance on-device intelligence. Weight quantization
is crucial for reducing the memory footprint of LLMs on devices. However,
low-bit LLMs necessitate mixed precision matrix multiplication (mpGEMM) of low
precision weights and high precision activations during inference. Existing
systems, lacking native support for mpGEMM, resort to dequantize weights for
high precision computation. Such an indirect way can lead to a significant
inference overhead.
In this paper, we introduce T-MAC, an innovative lookup table(LUT)-based
method designed for efficient low-bit LLM (i.e., weight-quantized LLM)
inference on CPUs. T-MAC directly supports mpGEMM without dequantization, while
simultaneously eliminating multiplications and reducing additions required.
Specifically, T-MAC transforms the traditional data-type-centric multiplication
to bit-wise table lookup, and enables a unified and scalable mpGEMM solution.
Our LUT-based kernels scale linearly to the weight bit-width. Evaluated on
low-bit Llama and BitNet models, T-MAC demonstrates up to 4x increase in
throughput and 70% reduction in energy consumption compared to llama.cpp. For
BitNet-b1.58-3B, T-MAC delivers a token generation throughput of 30 tokens/s
with a single core and 71 tokens/s with eight cores on M2-Ultra, and 11
tokens/s on lower-end devices like Raspberry Pi 5, which significantly exceeds
the adult average reading speed. T-MAC with LUT-based computing paradigm, paves
the way for the practical deployment of low-bit LLMs on resource-constrained
edge devices without compromising computational efficiency. The system is
open-sourced at https://github.com/microsoft/T-MAC. | null | cs.DC | [
"cs.DC",
"cs.AI"
] |
2406.02511 | HF | V-Express: Conditional Dropout for Progressive Training of Portrait Video Generation | [
"Cong Wang",
"Kuan Tian",
"Jun Zhang",
"Yonghang Guan",
"Feng Luo",
"Fei Shen",
"Zhiwei Jiang",
"Qing Gu",
"Xiao Han",
"Wei Yang"
] | 2024-06-04 | In the field of portrait video generation, the use of single images to
generate portrait videos has become increasingly prevalent. A common approach
involves leveraging generative models to enhance adapters for controlled
generation. However, control signals (e.g., text, audio, reference image, pose,
depth map, etc.) can vary in strength. Among these, weaker conditions often
struggle to be effective due to interference from stronger conditions, posing a
challenge in balancing these conditions. In our work on portrait video
generation, we identified audio signals as particularly weak, often
overshadowed by stronger signals such as facial pose and reference image.
However, direct training with weak signals often leads to difficulties in
convergence. To address this, we propose V-Express, a simple method that
balances different control signals through the progressive training and the
conditional dropout operation. Our method gradually enables effective control
by weak conditions, thereby achieving generation capabilities that
simultaneously take into account the facial pose, reference image, and audio.
The experimental results demonstrate that our method can effectively generate
portrait videos controlled by audio. Furthermore, a potential solution is
provided for the simultaneous and effective use of conditions of varying
strengths. | null | cs.CV | [
"cs.CV",
"cs.AI"
] |
1602.07868 | AnswerAI | Weight Normalization: A Simple Reparameterization to Accelerate Training of Deep Neural Networks | [
"Tim Salimans",
"Diederik P. Kingma"
] | 2016-02-25 | We present weight normalization: a reparameterization of the weight vectors
in a neural network that decouples the length of those weight vectors from
their direction. By reparameterizing the weights in this way we improve the
conditioning of the optimization problem and we speed up convergence of
stochastic gradient descent. Our reparameterization is inspired by batch
normalization but does not introduce any dependencies between the examples in a
minibatch. This means that our method can also be applied successfully to
recurrent models such as LSTMs and to noise-sensitive applications such as deep
reinforcement learning or generative models, for which batch normalization is
less well suited. Although our method is much simpler, it still provides much
of the speed-up of full batch normalization. In addition, the computational
overhead of our method is lower, permitting more optimization steps to be taken
in the same amount of time. We demonstrate the usefulness of our method on
applications in supervised image recognition, generative modelling, and deep
reinforcement learning. | null | cs.LG | [
"cs.LG",
"cs.AI",
"cs.NE"
] |
2405.00332 | Both | A Careful Examination of Large Language Model Performance on Grade School Arithmetic | [
"Hugh Zhang",
"Jeff Da",
"Dean Lee",
"Vaughn Robinson",
"Catherine Wu",
"Will Song",
"Tiffany Zhao",
"Pranav Raja",
"Dylan Slack",
"Qin Lyu",
"Sean Hendryx",
"Russell Kaplan",
"Michele Lunati",
"Summer Yue"
] | 2024-05-01 | Large language models (LLMs) have achieved impressive success on many
benchmarks for mathematical reasoning. However, there is growing concern that
some of this performance actually reflects dataset contamination, where data
closely resembling benchmark questions leaks into the training data, instead of
true reasoning ability. To investigate this claim rigorously, we commission
Grade School Math 1000 (GSM1k). GSM1k is designed to mirror the style and
complexity of the established GSM8k benchmark, the gold standard for measuring
elementary mathematical reasoning. We ensure that the two benchmarks are
comparable across important metrics such as human solve rates, number of steps
in solution, answer magnitude, and more. When evaluating leading open- and
closed-source LLMs on GSM1k, we observe accuracy drops of up to 13%, with
several families of models (e.g., Phi and Mistral) showing evidence of
systematic overfitting across almost all model sizes. At the same time, many
models, especially those on the frontier, (e.g., Gemini/GPT/Claude) show
minimal signs of overfitting. Further analysis suggests a positive relationship
(Spearman's r^2=0.32) between a model's probability of generating an example
from GSM8k and its performance gap between GSM8k and GSM1k, suggesting that
many models may have partially memorized GSM8k. | null | cs.CL | [
"cs.CL",
"cs.AI",
"cs.LG"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.