Fusion of Mixture of Experts and Generative Artificial Intelligence in Mobile Edge Metaverse

Guangyuan Liu, Hongyang Du, Dusit Niyato, Jiawen Kang, Zehui Xiong, Abbas Jamalipour, Shiwen Mao, Dong In Kim
Nanyang Technological University

Abstract

In the digital transformation era, Metaverse offers a fusion of virtual reality (VR), augmented reality (AR), and web technologies to create immersive digital experiences. However, the evolution of the Metaverse is slowed down by the challenges of content creation, scalability, and dynamic user interaction. Our study investigates an integration of Mixture of Experts (MoE) models with Generative Artificial Intelligence (GAI) for mobile edge computing to revolutionize content creation and interaction in the Metaverse. Specifically, we harness an MoE model's ability to efficiently manage complex data and complex tasks by dynamically selecting the most relevant experts running various sub-models to enhance the capabilities of GAI. We then present a novel framework that improves video content generation quality and consistency, and demonstrate its application through case studies. Our findings underscore the efficacy of MoE and GAI integration to redefine virtual experiences by offering a scalable, efficient pathway to harvest the Metaverse's full potential.

Video Generation

install diffuser from https://huggingface.co/docs/diffusers/en/installation

import torch
        from diffusers import DiffusionPipeline
        from diffusers.utils import export_to_video
        
        pipe = DiffusionPipeline.from_pretrained("damo-vilab/text-to-video-ms-1.7b", torch_dtype=torch.float16, variant="fp16")
        pipe = pipe.to("cuda")
        
        prompt = "<----------->"
        video_frames = pipe(prompt).frames[0]
        video_path = export_to_video(video_frames)
        video_path
        

Video Evaluation

Install with pip

pip install vbench
        

Install with git clone

    git clone https://github.com/Vchitect/VBench.git
            pip install -r VBench/requirements.txt
            pip install VBench
        

Evaluate Your Own Videos

python evaluate.py \
            --dimension $DIMENSION \
            --videos_path /path/to/folder_or_video/ \
            --mode=custom_input
        

MOEGAI-metaverse Applications

Applications of MoE in GAI for the Metaverse

This graph showcases various models and tasks, each cited with relevant research papers. Below, find detailed information about each model and task, accompanied by their respective Refs.

GAN

Shared Bottom MoE

Single Gate MoE

Multiple Gate MoE

VAE

Shared Bottom MoE

Single Gate MoE

Multiple Gate MoE

Diffusion

Shared Bottom MoE

Single Gate MoE

Multiple Gate MoE

Transformer

Shared Bottom MoE

Single Gate MoE

Multiple Gate MoE

📚 Cite Our Work

If our work aids your research, please cite our work:

@misc{liu2024fusion,
        title={Fusion of Mixture of Experts and Generative Artificial Intelligence in Mobile Edge Metaverse}, 
        author={Guangyuan Liu and Hongyang Du and Dusit Niyato and Jiawen Kang and Zehui Xiong and Abbas Jamalipour and Shiwen Mao and Dong In Kim},
        year={2024},
        eprint={2404.03321},
        archivePrefix={arXiv}
}