Discover and explore top open-source AI tools and projects—updated daily.
facebookresearchSparse and scalable architecture for native multimodal generation
Top 98.0% on SourcePulse
This project introduces Mixture-of-Transformers (MoT), a sparse and scalable architecture designed for native multimodal foundation models. It addresses the computational inefficiency of dense models by incorporating modality-aware sparsity, enabling efficient generation across text, images, and speech. MoT is targeted at researchers and engineers building advanced multi-modal AI systems who seek to reduce computational costs without sacrificing performance.
How It Works
MoT enhances standard Transformer architectures by introducing modality-specific parameters within non-embedding layers. The core innovation lies in ModalityUntiedFeedForward and ModalityUntiedAttention modules. The FFN component utilizes separate feed-forward experts for each modality, routed based on modality_masks. Similarly, the attention mechanism employs modality-specific query, key, value projections, and normalization layers before performing a global self-attention computation. This design allows for specialized processing of different data types while enabling cross-modal interactions, leading to significant FLOPs reduction and improved efficiency.
Quick Start & Requirements
Highlighted Details
Maintenance & Community
No specific details regarding maintenance, community channels (e.g., Discord, Slack), or active contributors are provided in the README.
Licensing & Compatibility
Limitations & Caveats
The provided README focuses on the architecture's implementation and benefits, offering code snippets rather than a ready-to-run package. Integration requires a foundational understanding of PyTorch and existing Transformer architectures. Specific performance claims are tied to particular hardware configurations.
10 months ago
Inactive
lucidrains