i-Code Studio: A Configurable and Composable Framework for Integrative AI

Yuwei Fang, Mahmoud Khademi, Chenguang Zhu, Ziyi Yang, Reid Pryzant, Xu Yi‐chong, Yao Qian, Takuya Yoshioka, Lu Yuan, Michael Zeng, Xuedong Huang

TL;DR

This paper introduces i-Code Studio, a novel framework that allows developers to easily compose and orchestrate various pre-trained AI models (like LLMs, VLMs, and ALMs) without finetuning. This approach significantly accelerates the development of complex, multimodal AI applications, demonstrating state-of-the-art performance on tasks like video-to-text retrieval and visual question answering.

What Problem Does This Paper Address?

The pursuit of Artificial General Intelligence (AGI) hinges on AI systems that can understand and generate information across diverse modalities (text, image, audio). While individual pre-trained models excel in specific domains (e.g., LLMs for text, VLMs for images), integrating them to tackle complex, multimodal tasks has been a significant challenge. Existing methods often require extensive finetuning, demanding large datasets and computational resources, or lack flexibility in composing diverse models. This leaves a gap in creating adaptable, efficient, and powerful integrative AI systems that can mimic human-like multimodal understanding.

Methods

The core of i-Code Studio is its configurable and composable framework. It allows developers to build complex AI pipelines using a Directed Acyclic Graph (DAG). Each node in the DAG represents either raw input data, a pre-trained model (from services like Azure Cognitive Services and OpenAI), or an intermediate output. The framework orchestrates these nodes in a finetuning-free manner, meaning existing models are used "as-is" with their learned capabilities.

The key innovation lies in how i-Code Studio facilitates this composition:

  • DAG-based Orchestration: Developers define the flow of data and model interactions through a visual or programmatic DAG. This makes the process intuitive and flexible.
  • Finetuning-Free Integration: Instead of retraining models, i-Code Studio leverages their existing strengths. This drastically reduces development time, data requirements, and computational costs.
  • Modality Bridging: The framework seamlessly connects models from different modalities. For example, it can take an image, generate a caption, and then use that caption along with a text question to query an LLM.
  • API Encapsulation: Pre-trained models and services are exposed as independent APIs, making them easily pluggable into the DAG.

Datasets

The paper evaluates i-Code Studio on several standard datasets:

  • MSR-VTT: A large-scale dataset for video-to-text retrieval, used to assess the framework's ability to bridge video, speech, and text modalities.
  • FVQA: A dataset for visual question answering, focusing on questions requiring external knowledge, to test the integration of vision and language models.
  • CVSS: A massively multilingual speech-to-speech translation corpus, used to evaluate the framework's multilingual and speech processing capabilities.

No new datasets were introduced in this paper.

Key Insights and Ideas

  • Finetuning-Free is the Future for Integrative AI: The success of i-Code Studio demonstrates that significant multimodal capabilities can be achieved by intelligently composing existing, powerful foundation models without the need for costly finetuning. This democratizes the creation of advanced AI systems.
  • DAGs as the Universal Language for AI Composition: Representing AI pipelines as DAGs provides a clear, flexible, and scalable way to manage complex interactions between diverse models. It's akin to using Lego bricks to build sophisticated structures.
  • Bridging Modalities is Key to AGI: The paper strongly advocates that true AGI requires breaking down the silos between different data types. i-Code Studio offers a practical path towards this by enabling seamless cross-modal understanding and generation.
  • Multimodal Agents are More Than the Sum of Their Parts: By integrating vision, speech, and language models, i-Code Studio can power sophisticated multimodal agents that can interact with users in a more natural and context-aware manner, as shown in their agent demonstration.

Key Results

i-Code Studio achieved impressive results across several zero-shot multimodal tasks:

  • Video-to-Text Retrieval: Outperformed previous state-of-the-art zero-shot methods by 5.1 points in R@1 on the MSR-VTT dataset, significantly narrowing the gap with finetuned approaches.
  • Visual Question Answering: Achieved a score of 60.59 on the FVQA dataset, outperforming fact-based VQA methods, likely due to the combined power of Florence's vision capabilities and ChatGPT's reasoning.
  • Speech-to-Speech Translation: Significantly outperformed previous state-of-the-art methods by 22.5 points on average on the CVSS dataset, demonstrating strong multilingual and speech processing capabilities.
  • Multimodal Agent: Successfully built a multimodal agent capable of understanding and interacting with users using visual and speech inputs, showcasing the framework's practical application.

Limitations and Future Work

  • Limited Model Set: The current i-Code Studio relies on a specific set of pre-trained models and services. Expanding this library to include more diverse and specialized models would enhance its capabilities for even more complex multimodal tasks.
  • Complex Task Application: While demonstrated on several tasks, the authors suggest applying the framework to more challenging real-world scenarios like meeting summarization and image generation from textual descriptions.
  • Further Research: The authors envision extending i-Code Studio to be more flexible and powerful, enabling the creation of even more sophisticated applications. This could involve exploring new composition strategies or integrating novel foundation models.

Summary updated

BibTeX
@misc{fang2023i,
  author = {Yuwei Fang and Mahmoud Khademi and Chenguang Zhu and Ziyi Yang and Reid Pryzant and Xu Yi‐chong and Yao Qian and Takuya Yoshioka and Lu Yuan and Michael Zeng and Xuedong Huang},
  title = {{i-Code Studio: A Configurable and Composable Framework for Integrative AI}},
  year = {2023},
  eprint = {2305.13738},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2305.13738},
}
Figure