TL;DR
Current text-to-video (T2V) models often fail when asked to generate unusual or counterfactual combinations of features (such as a "tiger with zebra stripes"), primarily because text encoders fail to project complex compound prompts into the right latent coordinates. RichSpace demonstrates that the video generator itself can actually produce these hybrid concepts if guided by an interpolated text embedding. The authors introduce a geometry-based algorithm using perpendicular foot projection and cosine similarity to automatically pinpoint the optimal interpolation embedding between base concept prompts.
What Problem Does This Paper Address?
While modern diffusion transformers (DiTs) can synthesize stunning high-fidelity videos, they struggle with compositional fidelity when prompted with complex or out-of-distribution feature mixtures. For example, asking for "a snail with the shape and color of a sunflower" often leads the model to ignore one attribute or render two distinct objects side by side.
The authors show that the primary bottleneck is often the text encoder rather than the video diffusion model. Theoretically, because sentences are formed from a discrete vocabulary of finite length while the video embedding space is continuous and infinite, discrete text prompts mathematically cannot cover all possible points in video space (formalized in Theorem 4.9). Practically, text encoders (like T5) struggle to generate accurate conditioning embeddings for unusual semantic mixtures.
Methods
Rather than relying on the text encoder’s flawed embedding of a compound prompt $P_c$, RichSpace searches for an optimal latent vector by interpolating between the embeddings of basic constituent prompts ($P_a$ and $P_b$):
-
Perpendicular Foot Projection: Given embeddings $E_{t_a}$, $E_{t_b}$, and compound guidance embedding $E_{t_c}$, the algorithm calculates the orthogonal projection (perpendicular foot, $E_{\text{foot}}$) of vector $(E_{t_c} - E_{t_a})$ onto $(E_{t_b} - E_{t_a})$. While $E_{t_c}$ itself doesn't generate the right video, its projection serves as a directional anchor along the interpolation trajectory.
-
Dual Cosine Similarity Matching: Because prompt padding (e.g., up to $n=266$ tokens in T5) alters embedding geometry, the authors evaluate cosine similarities across $k$ discrete interpolation steps using both:
-
Full embeddings (capturing global context, including padding).
- Truncated embeddings (capturing local token semantics without padding).
-
Optimal Selection: The algorithm sums the full and truncated cosine similarities ($L_{\text{CosAdd}} = L_{\text{CosTruc}} + L_{\text{CosFull}}$) and selects the index with the maximum score as $E_{\text{opt}}$.
-
Multi-Prompt Chaining: The method readily extends to blending three or more concepts (e.g., tiger + zebra + giraffe, or strawberry + blueberry + orange) by recursively applying the pairwise interpolation search.
Datasets
The paper does not introduce or train on new datasets. Instead, it performs zero-shot generation experiments using the pre-trained CogVideoX-2B model. Evaluation is conducted across custom test prompts featuring hybrid animal, plant, and object attributes, following the evaluation protocol and metrics defined by the VBench benchmark suite.
Key Insights and Ideas
- The text encoder is the true bottleneck: The video generator's weights already contain the visual representations required to blend disparate concepts; the standard text encoder simply cannot produce the precise embedding vector needed to activate them via direct natural language descriptions.
- Interpolation unlocks "hidden" capabilities: Linear interpolation between constituent concepts exposes rich, continuous intermediate representations that do not map to any single natural language sentence.
- Handling padding tokens matters: Padding tokens in language models drastically warp Euclidean and cosine geometries in embedding space. Separating truncated and full embeddings allows the method to balance local token semantics with global representation shifts.
Key Results
Experiments on CogVideoX-2B evaluated feature mixtures across animals, plants, and vehicles:
- Qualitative Superiority: When prompted directly with descriptive mixtures ($P_c$), the baseline model routinely failed to merge traits. In contrast, feeding the optimal interpolated embedding ($E_{\text{opt}}$) cleanly generated coherent hybrids (e.g., an eggplant colored like an orange, a bird with four dog legs, or an airplane with truck features).
- VBench Quantitative Evaluation (Table 1):
- Subject Consistency (SC): Videos generated via optimal embeddings scored 0.9787, outperforming direct prompting at 0.9748, indicating better temporal coherence and visual feature binding.
- Aesthetic Quality (AQ): Interpolated videos achieved an AQ score of 0.5163 versus 0.5519 for direct prompting. The authors note that lower aesthetic scores are expected and desirable here: aesthetic evaluators are trained on real-world video distributions and naturally penalize unrealistic, counterfactual hybrid entities.
Limitations and Future Work
- Dependence on Explicit Prompts: The algorithm requires the user to specify both the individual base prompts ($P_a, P_b$) and the combined guidance description ($P_c$).
- Linear Path Assumption: The method searches along a simple linear interpolation path; exploring non-linear geodesics or spherical (slerp) trajectories across the latent manifold could yield better blends.
- Evaluation Scope: Quantitative evaluation is restricted to a small prompt suite tested on a single open-source model (CogVideoX-2B). Extending the approach to larger models (e.g., MovieGen, Sora-scale DiTs) or text-to-image architectures remains an open direction.
Summary updated