SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2307.16184 · 2023

UnIVAL: Unified Model for Image, Video, Audio and Language Tasks

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 15 functions out of this paper's own repositories and ran 13 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
mshukor/unival canonical 13 of 15
FunctionStatusWhere it lives
BatchNorm2d Ran mshukor/unival/models/unival/unify_transformer.py
code served (permissive licence) · get_code("f18199d037514305")
conv1x1 Ran mshukor/unival/models/unival/resnet.py
code served (permissive licence) · get_code("d9def42110729a85")
conv3x3 Ran mshukor/unival/models/unival/resnet.py
code served (permissive licence) · get_code("160bb14bd76201b4")
conv3x3x3 Ran mshukor/unival/models/unival/encoders/resnext3d.py
code served (permissive licence) · get_code("c3b215555357b9d1")
downsample_basic_block Ran mshukor/unival/models/unival/encoders/resnext3d.py
code served (permissive licence) · get_code("43c0211ff8dbca5f")
drop_path Ran mshukor/unival/models/unival/resnet.py
code served (permissive licence) · get_code("52471eacb56db726")
drop_path Ran mshukor/unival/models/unival/unify_transformer_layer.py
code served (permissive licence) · get_code("90fa02b8cae75fe7")
exist Ran mshukor/unival/models/unival/encoders/audio_utils.py
code served (permissive licence) · get_code("1553c82a8f0bee06")
get_fine_tuning_parameters Ran mshukor/unival/models/unival/encoders/resnext3d.py
code served (permissive licence) · get_code("8d57521c7b52b777")
get_tar_path_from_dataset_name Ran mshukor/unival/models/unival/encoders/audio_utils.py
code served (permissive licence) · get_code("6b68b6363dba3bb4")
make_image_bucket_position Ran mshukor/unival/models/unival/unify_transformer.py
code served (permissive licence) · get_code("64242a4953d835df")
make_image_bucket_position Ran mshukor/unival/models/unival/.ipynb_checkpoints/unify_transformer-checkpoint.py
code served (permissive licence) · get_code("fba339cb809b27fe")
make_token_bucket_position Ran mshukor/unival/models/unival/unify_transformer.py
code served (permissive licence) · get_code("c0b56d6f87906655")
create_pann_model Not yet run mshukor/unival/models/unival/encoders/pann.py
code served (permissive licence) · get_code("a2c00fabc470d8f8")
freeze_batch_norm_2d Not yet run mshukor/unival/models/unival/encoders/audio_utils.py
code served (permissive licence) · get_code("9b5765523c6d17fd")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Large Language Models (LLMs) have made the ambitious quest for generalist agents significantly far from being a fantasy. A key hurdle for building such general models is the diversity and heterogeneity of tasks and modalities. A promising solution is unification, allowing the support of a myriad of tasks and modalities within one unified framework. While few large models (e.g., Flamingo (Alayrac et al., 2022), trained on massive datasets, can support more than two modalities, current small to mid-scale unified models are still limited to 2 modalities, usually image-text or video-text. The question that we ask is: is it possible to build efficiently a unified model that can support all modalities? To answer this, we propose UnIVAL, a step further towards this ambitious goal. Without relying on fancy datasets sizes or models with billions of parameters, the ~ 0.25B parameter UnIVAL model goes beyond two modalities and unifies text, images, video, and audio into a single model. Our model is efficiently pretrained on many tasks, based on task balancing and multimodal curriculum learning. UnIVAL shows competitive performance to existing state-of-the-art approaches, across image and video-text tasks. The feature representations learned from image and video-text modalities, allows the model to achieve competitive performance when finetuned on audio-text tasks, despite not being pretrained on audio. Thanks to the unified model, we propose a novel study on multimodal model merging via weight interpolation of models trained on different multimodal tasks, showing their benefits in particular for out-of-distribution generalization. Finally, we motivate unification by showing the synergy between tasks. The model weights and code are released here: https://github.com/mshukor/UnIVAL.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2307.16184")
get_code_for_paper("2307.16184")
have("2307.16184")

Connect an agent — have() is free.