search
HomeTechnology peripheralsAIAny text, visual, audio mixed generation, multi-modal with a powerful basic engine CoDi-2

Researchers pointed out that CoDi-2 marks a major breakthrough in the field of developing comprehensive multi-modal basic models

In May of this year, North Carolina The University of Chapel Hill and Microsoft proposed a Composable Diffusion (CoDi) model, making it possible for one model to unify multiple modalities. CoDi not only supports single-modal to single-modal generation, but can also receive multiple conditional inputs and multi-modal joint generation.

Recently, many researchers from UC Berkeley, Microsoft Azure AI, Zoom, and the University of North Carolina at Chapel Hill have upgraded the CoDi system to the CoDi-2 version

Any text, visual, audio mixed generation, multi-modal with a powerful basic engine CoDi-2

  • Paper address: https://arxiv.org/pdf/2311.18775.pdf

  • Project address: https://codi-2. github.io/Any text, visual, audio mixed generation, multi-modal with a powerful basic engine CoDi-2

Rewrite the content without changing the original meaning. It needs to be rewritten into Chinese language and the original sentence does not need to appear.

According to Zineng Tang’s paper, CoDi-2 follows complex multi-modal interleaved contextual instructions to generate any modality (text, visual and audio) with zero- or few-shot interactions )

Any text, visual, audio mixed generation, multi-modal with a powerful basic engine CoDi-2

##This link is the source of the picture: https://twitter.com/ZinengTang/status/1730658941414371820

It can be said that as a multi-functional, interactive multi-modal large language model (MLLM), CoDi-2 can perform contextual learning, reasoning, chatting, and editing with any-to-any input-output modal paradigm. Wait for the task. By aligning modalities and languages ​​during encoding and generation, CoDi-2 enables LLM not only to understand complex modal interleaving instructions and contextual examples, but also to autoregressively generate reasonable and coherent multi-modal output within a continuous feature space. .

To train CoDi-2, the researchers built a large-scale generative dataset containing contextual multimodal instructions across text, visuals, and audio. CoDi-2 demonstrates a range of zero-shot capabilities for multi-modal generation, such as contextual learning, reasoning, and any-to-any modal generation combinations through multiple rounds of interactive dialogue. Among them, it surpasses previous domain-specific models in tasks such as topic-driven image generation, visual transformation, and audio editing.

Any text, visual, audio mixed generation, multi-modal with a powerful basic engine CoDi-2

Multiple rounds of dialogue between humans and CoDi-2 provide contextual multimodal instructions for image editing.

What needs to be rewritten is: Model Architecture

CoDi-2 is designed to handle text, images and audio in context and other multi-modal inputs, using specific instructions to promote contextual learning and generate corresponding text, image, and audio output. What needs to be rewritten for CoDi-2 is: The model architecture diagram is as follows.

Any text, visual, audio mixed generation, multi-modal with a powerful basic engine CoDi-2

Using multi-modal large language model as the basic engine

This any-to-any basic model can digest interleaved Modal input, understanding and reasoning about complex instructions (such as multi-turn conversations, contextual examples), and interacting with multi-modal diffusers require a powerful basic engine. The researchers proposed MLLM as this engine, which was built to provide multimodal perception for text-only LLMs.

Using aligned multi-modal encoder mapping, researchers can seamlessly make LLM aware of modally interleaved input sequences. Specifically, when processing multi-modal input sequences, they first use multi-modal encoders to map multi-modal data to feature sequences, and then special tokens are added before and after the feature sequence, such as "〈audio〉 [audio feature sequence" ] 〈/audio〉”.

The basis of multi-modal generation is MLLM

Researchers proposed to integrate the diffusion model (DM) into MLLM to generate multi-modal output. During this process, detailed multimodal interleaving instructions and prompts were followed. The training objectives of the diffusion model are as follows:

Any text, visual, audio mixed generation, multi-modal with a powerful basic engine CoDi-2

They then proposed training an MLLM to generate conditional features c = C_y (y), which are fed into a diffusion model to synthesize the target output x. In this way, the generative loss of the diffusion model is used to train the MLLM.

Task Type

The model demonstrates its power in the following example task types, which provide a unique way to prompt the model to generate or transform context The multi-modal content in , including text, images, audio, video and their combinations

The rewritten content is: 1. Zero-sample reasoning. Zero-shot inference tasks require the model to reason and generate new content without any previous examples

2. One-time/small number of sample prompts. One or a few sample prompts provide the model with one or several examples to learn from before performing similar tasks. This approach is evident in tasks where the model applies learned concepts from one image to another, or creates a new artwork by understanding the style described in the provided example.

(1) Example Learning Explicitly show the model examples of the desired output before asking the model to apply this learning to new instances.
(2) Concept learning involves the model learning from the shared concepts/properties of these given examples, such as art style or pattern, and then creating new content that exhibits similar concepts/properties.
(3) Topic-driven learning focuses on generating new content based on a set of provided images.

Experiments and results

Model settings

The implementation of the model in this article is based on Llama2, especially Llama-2-7b- chat-hf. The researchers used ImageBind, which has aligned image, video, audio, text, depth, thermal and IMU mode encoders. We use ImageBind to encode image and audio features and project them through a multilayer perceptron (MLP) to the input dimensions of an LLM (Llama-2-7b-chat-hf). MLP consists of linear mapping, activation, normalization and another linear mapping. When LLMs generate image or audio features, they project them back into the ImageBind feature dimension through another MLP. The image diffusion model in this article is based on StableDiffusion2.1 (stabilityai/stable-diffusion-2-1-unclip), AudioLDM2 and zeroscope v2.

In order to obtain higher fidelity original input images or audio, researchers input them into the diffusion model and generate features by concatenating diffusion noise. This method is very effective. It can retain the perceptual characteristics of the input content to the greatest extent, and can add new content or change the style and other instructions. Edit

The content that needs to be rewritten is: Image generation evaluation

The following figure shows the evaluation results of topic-driven image generation on Dreambench and the FID score on MSCOCO. The method in this paper achieves highly competitive zero-shot performance, demonstrating its generalization ability to unknown new tasks.

Any text, visual, audio mixed generation, multi-modal with a powerful basic engine CoDi-2

Audio Generation Evaluation

Table 5 shows the evaluation results for audio processing tasks, i.e., adding, deleting, and replacing audio tracks Elements. From the table, it is obvious that our method shows excellent performance compared with previous methods. Notably, it achieved the lowest scores on all metrics - Log Spectral Distance (LSD), Kullback-Leibler (KL) Divergence and Fréchet Distance (FD) across all three editing tasks

Any text, visual, audio mixed generation, multi-modal with a powerful basic engine CoDi-2

Read the original article for more technical details.

The above is the detailed content of Any text, visual, audio mixed generation, multi-modal with a powerful basic engine CoDi-2. For more information, please follow other related articles on the PHP Chinese website!

Statement
This article is reproduced at:机器之心. If there is any infringement, please contact admin@php.cn delete
Tesla's Robovan Was The Hidden Gem In 2024's Robotaxi TeaserTesla's Robovan Was The Hidden Gem In 2024's Robotaxi TeaserApr 22, 2025 am 11:48 AM

Since 2008, I've championed the shared-ride van—initially dubbed the "robotjitney," later the "vansit"—as the future of urban transportation. I foresee these vehicles as the 21st century's next-generation transit solution, surpas

Sam's Club Bets On AI To Eliminate Receipt Checks And Enhance RetailSam's Club Bets On AI To Eliminate Receipt Checks And Enhance RetailApr 22, 2025 am 11:29 AM

Revolutionizing the Checkout Experience Sam's Club's innovative "Just Go" system builds on its existing AI-powered "Scan & Go" technology, allowing members to scan purchases via the Sam's Club app during their shopping trip.

Nvidia's AI Omniverse Expands At GTC 2025Nvidia's AI Omniverse Expands At GTC 2025Apr 22, 2025 am 11:28 AM

Nvidia's Enhanced Predictability and New Product Lineup at GTC 2025 Nvidia, a key player in AI infrastructure, is focusing on increased predictability for its clients. This involves consistent product delivery, meeting performance expectations, and

Exploring the Capabilities of Google's Gemma 2 ModelsExploring the Capabilities of Google's Gemma 2 ModelsApr 22, 2025 am 11:26 AM

Google's Gemma 2: A Powerful, Efficient Language Model Google's Gemma family of language models, celebrated for efficiency and performance, has expanded with the arrival of Gemma 2. This latest release comprises two models: a 27-billion parameter ver

The Next Wave of GenAI: Perspectives with Dr. Kirk Borne - Analytics VidhyaThe Next Wave of GenAI: Perspectives with Dr. Kirk Borne - Analytics VidhyaApr 22, 2025 am 11:21 AM

This Leading with Data episode features Dr. Kirk Borne, a leading data scientist, astrophysicist, and TEDx speaker. A renowned expert in big data, AI, and machine learning, Dr. Borne offers invaluable insights into the current state and future traje

AI For Runners And Athletes: We're Making Excellent ProgressAI For Runners And Athletes: We're Making Excellent ProgressApr 22, 2025 am 11:12 AM

There were some very insightful perspectives in this speech—background information about engineering that showed us why artificial intelligence is so good at supporting people’s physical exercise. I will outline a core idea from each contributor’s perspective to demonstrate three design aspects that are an important part of our exploration of the application of artificial intelligence in sports. Edge devices and raw personal data This idea about artificial intelligence actually contains two components—one related to where we place large language models and the other is related to the differences between our human language and the language that our vital signs “express” when measured in real time. Alexander Amini knows a lot about running and tennis, but he still

Jamie Engstrom On Technology, Talent And Transformation At CaterpillarJamie Engstrom On Technology, Talent And Transformation At CaterpillarApr 22, 2025 am 11:10 AM

Caterpillar's Chief Information Officer and Senior Vice President of IT, Jamie Engstrom, leads a global team of over 2,200 IT professionals across 28 countries. With 26 years at Caterpillar, including four and a half years in her current role, Engst

New Google Photos Update Makes Any Photo Pop With Ultra HDR QualityNew Google Photos Update Makes Any Photo Pop With Ultra HDR QualityApr 22, 2025 am 11:09 AM

Google Photos' New Ultra HDR Tool: A Quick Guide Enhance your photos with Google Photos' new Ultra HDR tool, transforming standard images into vibrant, high-dynamic-range masterpieces. Ideal for social media, this tool boosts the impact of any photo,

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

Powerful PHP integrated development environment

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.

DVWA

DVWA

Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software