TL;DR
CoBit (Continuous Bitstream Diffusion) provides a unified generative framework that treats all data—whether text, images, speech, or protein structures—as a single stream of bits. By applying a shared training and sampling protocol across these diverse modalities, a single model checkpoint can perform joint generation, conditional tasks (like TTS or ASR), and sequence continuation without needing modality-specific architectures or objectives.
What Problem Does This Paper Address?
Building multimodal models usually feels like assembling a jigsaw puzzle where the pieces don't quite fit. Images and audio are typically modeled using continuous diffusion, while language and proteins rely on autoregressive models or discrete corruption processes.
To bridge these gaps, researchers often resort to "modality-specific glue": specialized encoders, complex latent spaces, or custom prediction heads for every new pair of data types. This makes scaling and adding new modalities a significant engineering headache. The authors of this paper ask a fundamental question: Can we use one single denoising interface and objective to model joint distributions across entirely different modality pairs?
Methods
The authors extend Continuous Bitstream Diffusion (CoBit), a technique originally designed for language modeling. The core idea is to treat the fundamental language of computers—bits—as the universal representation.
- Bitstream Representation: Every modality is converted into bits. Discrete symbols (like text) use fixed binary codes, while continuous data (like audio) pass through a frozen tokenizer to produce bit codes.
- Unified Layout: These bits are arranged in a fixed sequence template. For example, in speech-text, segments of text bits, speaker bits, and speech codes are concatenated into one long 1-D bitstream.
- Continuous Denoising: CoBit treats these binary values as continuous during the diffusion process, applying standard Gaussian corruption. A Transformer-based denoiser then estimates the probability that each "noisy" bit was originally a 0 or a 1.
- Partial Denoising Objective: The model is trained using a binary score-matching objective. By masking different parts of the bitstream during training, a single checkpoint learns to:
- Jointly generate both modalities from pure noise.
- Conditionally generate one modality given the other (e.g., Image $\rightarrow$ Text).
- Continue a sequence given a prefix.
- Modality-Agnostic Architecture: Crucially, the denoiser uses a single input projection and a shared transformer backbone. There are no modality-specific parameters or 2-D attention patterns for images.
Datasets
The researchers validated CoBit across three distinct domains:
- MNIST-Sum: A controlled "proof of concept" task pairing raw binary images of four MNIST digits with a text equation of their sum.
- Speech-Text: Using LibriTTS and MLS-English (11.2M pairs). Audio was quantized using the FSQ-based StableCodec.
- Proteins: A dataset of 216,237 sequence-structure pairs from PDB/AFDB-SwissProt. Structures were encoded using structural codes from the DPLM-2 framework.
Key Insights and Ideas
- Bits as the Universal Interface: By operating on bits, the model's input/output width only grows logarithmically with vocabulary size. This allows different modalities to share the same projection layers and prediction heads seamlessly.
- Zero-Shot Task Switching: Because the model learns the joint distribution of the entire bitstream, you can switch between joint generation, translation, or recognition simply by changing which bits you "clamp" as observed and which you let the model denoise.
- Simplicity Scales: The model doesn't need to know it's looking at a 2D grid of pixels or a 3D protein fold. The 1-D transformer backbone, combined with positional information, is sufficient to capture complex cross-modal dependencies.
Key Results
- MNIST-Sum: The model achieved 97.56% exact string match for image-to-text and 99.46% mutual consistency in joint generation, proving that raw visual bits and symbolic text bits can inhabit the same generative space.
- Speech-Text: A 633M parameter model (CoBit-MLS) achieved a 3.5% cross-modal Word Error Rate (WER) during joint generation. It produced natural-sounding speech (3.77 UTMOS) and performed competitive zero-shot TTS and ASR.
- Proteins: In joint sequence-structure generation, CoBit achieved a mean self-consistency TM-score of 0.911. This means the generated sequences, when refolded by an external tool (ESMFold), highly agreed with the model's own generated 3D backbones.
Limitations and Future Work
- Lack of Pre-training: The models were trained from scratch. The authors note that the lack of text-only pre-training likely hindered performance in semantic tasks like speech recognition and thematic continuation.
- Tokenizer Dependence: For continuous modalities (audio/structure), the model is only as good as its frozen tokenizer. Any information lost during tokenization is gone forever.
- Scaling: While the results at 633M parameters are impressive, the models are still smaller than state-of-the-art specialized systems. Future work will explore how this unified bitstream approach scales to multi-billion parameter models and broader, noisier datasets.
Summary updated