Improve dataset card: add paper link, task categories, and correct license
#2
by nielsr HF Staff - opened
README.md
CHANGED
|
@@ -1,4 +1,9 @@
|
|
| 1 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
dataset_info:
|
| 3 |
features:
|
| 4 |
- name: id
|
|
@@ -31,9 +36,6 @@ configs:
|
|
| 31 |
path: data/real-*
|
| 32 |
- split: synthetic
|
| 33 |
path: data/synthetic-*
|
| 34 |
-
license: cc-by-nc-sa-4.0
|
| 35 |
-
language:
|
| 36 |
-
- en
|
| 37 |
tags:
|
| 38 |
- Lottie
|
| 39 |
- animation
|
|
@@ -41,21 +43,40 @@ tags:
|
|
| 41 |
- multimodal
|
| 42 |
---
|
| 43 |
|
| 44 |
-
#
|
|
|
|
|
|
|
|
|
|
|
|
|
| 45 |
|
| 46 |
-
|
|
|
|
|
|
|
| 47 |
|
| 48 |
Our benchmark addresses these challenges by providing:
|
| 49 |
- **Real Subset**: 450 samples curated from artist-designed Lottie animations
|
| 50 |
- **Synthetic Subset**: 450 samples generated using state-of-the-art AI models
|
| 51 |
- **Three Tasks**: Text-to-Lottie, Text-Image-to-Lottie, and Video-to-Lottie
|
| 52 |
|
| 53 |
-
##
|
| 54 |
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 59 |
|
| 60 |
## Dataset Structure
|
| 61 |
|
|
@@ -76,95 +97,6 @@ MMLottieBench aims to construct a benchmark that:
|
|
| 76 |
| subset | string | Subset type: "Real" or "Synthetic" |
|
| 77 |
| url | string | Source URL for synthetic samples (None for real samples) |
|
| 78 |
|
| 79 |
-
### Task Distribution
|
| 80 |
-
|
| 81 |
-
#### Real Subset (450 samples)
|
| 82 |
-
- **Text-to-Lottie**: 150 textual prompts derived from real Lottie animations
|
| 83 |
-
- **Text-Image-to-Lottie**: 150 samples with one rendered frame and textual description from real Lottie animations
|
| 84 |
-
- **Video-to-Lottie**: 150 rendered animation videos from real Lottie files
|
| 85 |
-
|
| 86 |
-
#### Synthetic Subset (450 samples)
|
| 87 |
-
- **Text-to-Lottie**: 150 textual prompts synthesized using GPT-4o
|
| 88 |
-
- **Text-Image-to-Lottie**: 150 vector-style images generated by Gemini-3-Pro Image with motion descriptions
|
| 89 |
-
- **Video-to-Lottie**: 150 reference videos generated by Seedance 1.0 from shape and motion descriptions
|
| 90 |
-
|
| 91 |
-
## Benchmark Construction
|
| 92 |
-
|
| 93 |
-
### Real Subset
|
| 94 |
-
|
| 95 |
-
The **Real Subset** consists of samples curated from artist-designed Lottie animations collected from professional designers. All evaluation samples are **strictly disjoint from the training data**, ensuring assessment on genuinely unseen, real-world content.
|
| 96 |
-
|
| 97 |
-
**Key Features:**
|
| 98 |
-
- Professionally designed by artists
|
| 99 |
-
- Diverse styles and complexity levels
|
| 100 |
-
- Real-world animation patterns
|
| 101 |
-
- Zero overlap with training data
|
| 102 |
-
|
| 103 |
-
### Synthetic Subset
|
| 104 |
-
|
| 105 |
-
To ensure the fairness and long-term robustness of our benchmark—particularly to mitigate potential contamination from future models trained on overly similar data—we construct a complementary **Synthetic Subset** via instruction-based synthesis using state-of-the-art generative models.
|
| 106 |
-
|
| 107 |
-
#### Text-to-Lottie Synthesis
|
| 108 |
-
|
| 109 |
-
We synthesize 150 textual prompts using **GPT-4o** with carefully designed meta-prompts. The generation instruction ensures high-quality, diverse, and challenging animation prompts suitable for evaluating Lottie generation models.
|
| 110 |
-
|
| 111 |
-
**Key Requirements:**
|
| 112 |
-
- **Icon-friendly design**: Flat 2D vector style with transform-only animations (position/rotation/scale/opacity)
|
| 113 |
-
- **Color specification**: Every prompt explicitly specifies solid colors (e.g., "a yellow star", "a blue folder")
|
| 114 |
-
- **Multi-phase motion**: At least 3 distinct motion steps with clear temporal order
|
| 115 |
-
- **Simultaneous motion**: 70+ prompts include concurrent transformations (e.g., "rotating while sliding")
|
| 116 |
-
- **Return-to-start loops**: Each animation must loop seamlessly back to the initial state
|
| 117 |
-
|
| 118 |
-
**Motion Complexity Distribution:**
|
| 119 |
-
- **Easy (30 prompts)**: Single object with 3 motion steps
|
| 120 |
-
- **Medium (70 prompts)**: Single object with 4+ steps or 2 coordinated objects
|
| 121 |
-
- **Hard (50 prompts)**: Single object with 5-6 steps or 2-3 coordinated objects with staggered timing
|
| 122 |
-
|
| 123 |
-
**Object Type Coverage:**
|
| 124 |
-
- UI Icons (50): Loading, progress, buttons, notifications, navigation, media controls
|
| 125 |
-
- Common Icons (40): Communication, files, documents, tools, commerce symbols
|
| 126 |
-
- Simple Illustrations (30): Nature, animals, food items (minimal icon-style)
|
| 127 |
-
- Shapes & Abstract (20): Basic geometric shapes and abstract symbols
|
| 128 |
-
- People & Characters (10): Simple stick figures or silhouettes
|
| 129 |
-
|
| 130 |
-
**Allowed Motion Primitives:**
|
| 131 |
-
- **Position**: sliding, gliding, drifting, moving, floating, dropping, rising
|
| 132 |
-
- **Rotation**: rotating, spinning, turning, tilting, swinging, wobbling
|
| 133 |
-
- **Scale**: growing, shrinking, pulsing, expanding, compressing, bouncing
|
| 134 |
-
- **Opacity**: fading in/out, appearing, disappearing, flashing, brightening, dimming
|
| 135 |
-
|
| 136 |
-
**Example Prompts:**
|
| 137 |
-
- "a pink cupcake fading in, sliding upward while shrinking, then sliding downward to its start while bouncing, and finally fading out, looping smoothly"
|
| 138 |
-
- "a cyan arrow loop symbol with appearing, rising while spinning, stays still briefly, then dropping back to its start while turning, repeating in a steady loop"
|
| 139 |
-
|
| 140 |
-
#### Text-Image-to-Lottie Synthesis
|
| 141 |
-
|
| 142 |
-
1. **Prompt Generation**: Using GPT-4o to generate diverse image descriptions suitable for vector animation
|
| 143 |
-
2. **Image Generation**: Using **Gemini-3-Pro Image** to generate corresponding vector-style images
|
| 144 |
-
3. **Motion Description**: Adding animation descriptions to guide the generation
|
| 145 |
-
|
| 146 |
-
#### Video-to-Lottie Synthesis
|
| 147 |
-
|
| 148 |
-
1. **Description Generation**: Creating shape and motion descriptions using GPT-4o
|
| 149 |
-
2. **Video Generation**: Using **Seedance 1.0** to generate reference videos with parameters:
|
| 150 |
-
- Resolution: 480p
|
| 151 |
-
- Duration: 2 seconds
|
| 152 |
-
- FPS: 8
|
| 153 |
-
- Aspect Ratio: 1:1
|
| 154 |
-
- Style: Pure 2D vector Lottie animation
|
| 155 |
-
|
| 156 |
-
**Why Synthetic Subset?**
|
| 157 |
-
|
| 158 |
-
The synthetic nature of MMLottieBench's Synthetic Subset provides several key advantages:
|
| 159 |
-
|
| 160 |
-
| Advantage | Description |
|
| 161 |
-
|-----------|-------------|
|
| 162 |
-
| **True Generalization Test** | Models cannot have seen these exact samples during training |
|
| 163 |
-
| **Controlled Diversity** | Systematic coverage of styles, complexities, and animation patterns |
|
| 164 |
-
| **Reproducibility** | The entire synthesis process is documented and released |
|
| 165 |
-
| **Fairness** | No model has an unfair advantage from training data overlap |
|
| 166 |
-
| **Long-term Robustness** | Reduces risk of benchmark contamination in future models |
|
| 167 |
-
|
| 168 |
## Evaluation Metrics
|
| 169 |
|
| 170 |
MMLottieBench evaluates models across multiple dimensions to comprehensively assess both visual quality and semantic alignment:
|
|
@@ -174,9 +106,7 @@ MMLottieBench evaluates models across multiple dimensions to comprehensively ass
|
|
| 174 |
- **FVD (Fréchet Video Distance) ↓**: Measures the visual quality of generated animations
|
| 175 |
- **CLIP Similarity ↑**: Evaluates alignment between text prompts and rendered animation frames
|
| 176 |
- **Object Alignment (Obj. Align) ↑** (0-10): Measures object presence, type, count, visual traits, and spatial relations
|
| 177 |
-
- **Motion Alignment (Motion Align) ↑** (0-10): Assesses correctness of motion type, direction, magnitude, target objects, and smoothness
|
| 178 |
-
|
| 179 |
-
Both alignment metrics use **Claude-3.5-Sonnet** as an LLM judge. Invalid generations are omitted from evaluation, and blank outputs receive a score of 0.
|
| 180 |
|
| 181 |
### Video-to-Lottie Task
|
| 182 |
|
|
@@ -185,133 +115,6 @@ Both alignment metrics use **Claude-3.5-Sonnet** as an LLM judge. Invalid genera
|
|
| 185 |
- **SSIM (Structural Similarity Index) ↑**: Measures structural similarity with reference video
|
| 186 |
- **DINO ↑**: Evaluates semantic similarity using self-supervised features
|
| 187 |
|
| 188 |
-
### Model Efficiency Metrics
|
| 189 |
-
|
| 190 |
-
- **Token Efficiency (# Tokens)**: Average token length of generated Lottie JSON using the Qwen2.5-VL tokenizer
|
| 191 |
-
- **Computational Cost (Time)**: Average generation time per sample in seconds. For closed-source APIs, timing includes full API latency for realistic comparison
|
| 192 |
-
- **Success Rate**: Percentage of valid Lottie animations successfully generated
|
| 193 |
-
|
| 194 |
-
## Quantitative Evaluations
|
| 195 |
-
|
| 196 |
-
We provide comprehensive quantitative comparisons between state-of-the-art baseline methods across both **Real Subset** and **Synthetic Subset**. **Bold** numbers and <u>underlined</u> numbers represent the best and second-best performance respectively.
|
| 197 |
-
|
| 198 |
-
### Real Subset Results
|
| 199 |
-
|
| 200 |
-
#### Text-to-Lottie Task
|
| 201 |
-
|
| 202 |
-
| Methods | Time(s) | # Tokens | Success Rate | FVD↓ | CLIP↑ | Obj.↑ | Motion↑ |
|
| 203 |
-
|---------|---------|----------|--------------|------|-------|-------|---------|
|
| 204 |
-
| DeepSeekV3 | 43.40 | 2.3k | 9.3% | 671.80 | 0.2677 | 1.51 | 2.09 |
|
| 205 |
-
| Qwen2.5-VL(3B) | 27.97 | 0.5k | 0.0% | - | - | - | - |
|
| 206 |
-
| GPT-4o | 43.40 | 1.4k | 12.7% | 715.73 | 0.2600 | 0.73 | 0.71 |
|
| 207 |
-
| Recraft | - | 54.1k | 77.3% | <u>300.70</u> | **0.2950** | **4.70** | <u>4.68</u> |
|
| 208 |
-
| **Ours** | 33.71 | 21.2k | 88.3% | **202.14** | <u>0.2748</u> | <u>4.44</u> | **5.94** |
|
| 209 |
-
|
| 210 |
-
#### Text-Image-to-Lottie Task
|
| 211 |
-
|
| 212 |
-
| Methods | Time(s) | # Tokens | Success Rate | FVD↓ | CLIP↑ | Obj.↑ | Motion↑ |
|
| 213 |
-
|---------|---------|----------|--------------|------|-------|-------|---------|
|
| 214 |
-
| Qwen2.5-VL(3B) | 33.60 | 0.4k | 0.0% | - | - | - | - |
|
| 215 |
-
| GPT-4o | 31.18 | 1.5k | 28.0% | 546.65 | 0.2557 | 1.18 | 0.95 |
|
| 216 |
-
| AniClipart | 1212.34 | - | 87.3% | <u>266.46</u> | **0.2935** | <u>4.51</u> | <u>3.47</u> |
|
| 217 |
-
| Livesketch | 723.23 | - | 91.3% | 868.18 | 0.2309 | 2.84 | 2.42 |
|
| 218 |
-
| **Ours** | 88.57 | 23.4k | 93.3% | **180.27** | <u>0.2666</u> | **5.10** | **4.44** |
|
| 219 |
-
|
| 220 |
-
#### Video-to-Lottie Task
|
| 221 |
-
|
| 222 |
-
| Methods | Time(s) | # Tokens | Success Rate | FVD↓ | PSNR↑ | SSIM↑ | DINO↑ |
|
| 223 |
-
|---------|---------|----------|--------------|------|-------|-------|-------|
|
| 224 |
-
| Qwen2.5-VL(3B) | 49.31 | 1.0k | 0.0% | - | - | - | - |
|
| 225 |
-
| GPT-4o | 45.61 | 1.1k | 9.2% | <u>639.13</u> | 13.34 | <u>0.81</u> | 0.80 |
|
| 226 |
-
| Gemini3-Pro | 16.19 | 1.0k | 0.0% | 1076.22 | <u>14.54</u> | 0.79 | <u>0.88</u> |
|
| 227 |
-
| **Ours** | 110.77 | 36.8k | 88.1% | **227.11** | **16.08** | **0.82** | **0.92** |
|
| 228 |
-
|
| 229 |
-
### Synthetic Subset Results
|
| 230 |
-
|
| 231 |
-
#### Text-to-Lottie Task
|
| 232 |
-
|
| 233 |
-
| Methods | Time(s) | # Tokens | Success Rate | FVD↓ | CLIP↑ | Obj.↑ | Motion↑ |
|
| 234 |
-
|---------|---------|----------|--------------|------|-------|-------|---------|
|
| 235 |
-
| DeepSeekV3 | 56.71 | 2.3k | 7.4% | 483.11 | 0.2677 | 1.43 | 1.98 |
|
| 236 |
-
| Qwen2.5-VL(3B) | 94.36 | 0.4k | 0.0% | - | - | - | - |
|
| 237 |
-
| GPT-4o | 57.59 | 0.9k | 8.8% | 637.29 | 0.2600 | 0.45 | 0.66 |
|
| 238 |
-
| Recraft | - | 50.8k | 77.3% | <u>438.97</u> | **0.2950** | <u>4.33</u> | <u>3.12</u> |
|
| 239 |
-
| **Ours** | 37.93 | 13.4k | 82.1% | **206.35** | <u>0.2748</u> | **4.31** | **5.63** |
|
| 240 |
-
|
| 241 |
-
#### Text-Image-to-Lottie Task
|
| 242 |
-
|
| 243 |
-
| Methods | Time(s) | # Tokens | Success Rate | FVD↓ | CLIP↑ | Obj.↑ | Motion↑ |
|
| 244 |
-
|---------|---------|----------|--------------|------|-------|-------|---------|
|
| 245 |
-
| Qwen2.5-VL(3B) | 31.06 | 0.3k | 0.0% | - | - | - | - |
|
| 246 |
-
| GPT-4o | 37.80 | 1.2k | 22.0% | 560.11 | 0.2557 | 1.02 | 0.66 |
|
| 247 |
-
| AniClipart | 1123.24 | - | 88.7% | <u>308.54</u> | **0.2935** | <u>4.11</u> | <u>2.79</u> |
|
| 248 |
-
| Livesketch | 742.23 | - | 91.9% | 1058.32 | 0.2309 | 2.01 | 1.91 |
|
| 249 |
-
| **Ours** | 84.80 | 16.3k | 92.9% | **225.45** | <u>0.2666</u> | **4.44** | **3.98** |
|
| 250 |
-
|
| 251 |
-
#### Video-to-Lottie Task
|
| 252 |
-
|
| 253 |
-
| Methods | Time(s) | # Tokens | Success Rate | FVD↓ | PSNR↑ | SSIM↑ | DINO↑ |
|
| 254 |
-
|---------|---------|----------|--------------|------|-------|-------|-------|
|
| 255 |
-
| Qwen2.5-VL(3B) | 42.19 | 1.1k | 0.0% | - | - | - | - |
|
| 256 |
-
| GPT-4o | 26.26 | 0.9k | 7.4% | 576.52 | 13.33 | 0.71 | 0.78 |
|
| 257 |
-
| Gemini3-Pro | 13.77 | 1.3k | 0.0% | 1550.65 | <u>13.89</u> | <u>0.75</u> | <u>0.83</u> |
|
| 258 |
-
| **Ours** | 109.53 | 41.4k | 80.7% | 342.65 | **15.76** | **0.79** | **0.88** |
|
| 259 |
-
|
| 260 |
-
### Key Observations
|
| 261 |
-
|
| 262 |
-
1. **Superior Visual Quality**: Our method consistently achieves the best FVD scores across all tasks and subsets, demonstrating superior visual quality in generated Lottie animations.
|
| 263 |
-
|
| 264 |
-
2. **Strong Motion Alignment**: Our model excels in motion alignment, significantly outperforming baselines in capturing and reproducing complex animation patterns (5.94 vs 4.68 on Real Text-to-Lottie).
|
| 265 |
-
|
| 266 |
-
3. **High Success Rate**: With success rates of 80-93%, our method reliably generates valid Lottie animations, far exceeding general-purpose VLMs like GPT-4o (7-28%) and Qwen2.5-VL (0%).
|
| 267 |
-
|
| 268 |
-
4. **Balanced Performance**: While some baselines excel in specific metrics (e.g., Recraft in CLIP score), our method achieves the best overall balance across visual quality, semantic alignment, and generation reliability.
|
| 269 |
-
|
| 270 |
-
5. **Token Efficiency Trade-off**: Our method uses more tokens (13-42k) compared to VLM baselines (0.3-2.3k) but significantly fewer than optimization-based methods like Recraft (50-54k), striking a balance between expressiveness and efficiency.
|
| 271 |
-
|
| 272 |
-
```python
|
| 273 |
-
from datasets import load_dataset
|
| 274 |
-
|
| 275 |
-
# Load the entire dataset
|
| 276 |
-
dataset = load_dataset("OmniLottie/MMLottieBench")
|
| 277 |
-
|
| 278 |
-
# Access specific subsets
|
| 279 |
-
real_subset = dataset["real"]
|
| 280 |
-
synthetic_subset = dataset["synthetic"]
|
| 281 |
-
|
| 282 |
-
# Filter by task type
|
| 283 |
-
text2lottie = real_subset.filter(lambda x: x["task_type"] == "Text-to-Lottie")
|
| 284 |
-
image2lottie = real_subset.filter(lambda x: x["task_type"] == "Text-Image-to-Lottie")
|
| 285 |
-
video2lottie = real_subset.filter(lambda x: x["task_type"] == "Video-to-Lottie")
|
| 286 |
-
|
| 287 |
-
# Example: iterate over text-to-lottie samples
|
| 288 |
-
for sample in text2lottie:
|
| 289 |
-
print(f"ID: {sample['id']}")
|
| 290 |
-
print(f"Text: {sample['text']}")
|
| 291 |
-
print(f"Subset: {sample['subset']}")
|
| 292 |
-
# Generate Lottie animation based on the prompt
|
| 293 |
-
```
|
| 294 |
-
|
| 295 |
-
|
| 296 |
-
|
| 297 |
-
## Benchmark Statistics
|
| 298 |
-
|
| 299 |
-
### Overall Statistics
|
| 300 |
-
|
| 301 |
-
| Subset | Text-to-Lottie | Text-Image-to-Lottie | Video-to-Lottie | Total |
|
| 302 |
-
|--------|----------------|----------------------|-----------------|-------|
|
| 303 |
-
| Real | 150 | 150 | 150 | 450 |
|
| 304 |
-
| Synthetic | 150 | 150 | 150 | 450 |
|
| 305 |
-
| **Total** | **300** | **300** | **300** | **900** |
|
| 306 |
-
|
| 307 |
-
### Data Characteristics
|
| 308 |
-
|
| 309 |
-
- **ID Format**: MD5 hash for unique identification
|
| 310 |
-
- **Text Length**: Varies from brief descriptions to detailed motion specifications
|
| 311 |
-
- **Image Format**: PNG with transparency
|
| 312 |
-
- **Video Format**: MP4, 480p resolution, 8 FPS
|
| 313 |
-
- **Animation Patterns**: Fading, sliding, rotating, scaling, bouncing, wobbling, and combinations
|
| 314 |
-
|
| 315 |
## Citation
|
| 316 |
|
| 317 |
If you use MMLottieBench in your research, please cite:
|
|
@@ -327,23 +130,4 @@ If you use MMLottieBench in your research, please cite:
|
|
| 327 |
|
| 328 |
## License
|
| 329 |
|
| 330 |
-
This dataset is released under the Apache 2.0 License.
|
| 331 |
-
|
| 332 |
-
## Acknowledgments
|
| 333 |
-
|
| 334 |
-
- Real Subset samples are curated from professional Lottie designers
|
| 335 |
-
- Synthetic Subset is generated using GPT-4o, Gemini-3-Pro Image, and Seedance 1.0
|
| 336 |
-
- Special thanks to the open-source community for tools and frameworks
|
| 337 |
-
|
| 338 |
-
## Contact
|
| 339 |
-
|
| 340 |
-
For questions, issues, or contributions, please open an issue on our [GitHub repository](https://github.com/OpenVGLab/OmniLottie) or contact us at [25113050158@m.fudan.edu.cn].
|
| 341 |
-
|
| 342 |
-
## Updates
|
| 343 |
-
|
| 344 |
-
- **2026-02**: Initial release with 900 samples across 6 task-subset combinations
|
| 345 |
-
- **2026-02**: Added comprehensive documentation and evaluation metrics
|
| 346 |
-
|
| 347 |
-
---
|
| 348 |
-
|
| 349 |
-
**Note**: This benchmark is designed for research purposes to advance the field of vector animation generation. All synthetic data generation processes are fully documented to ensure transparency and reproducibility.
|
|
|
|
| 1 |
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
license: apache-2.0
|
| 5 |
+
task_categories:
|
| 6 |
+
- any-to-any
|
| 7 |
dataset_info:
|
| 8 |
features:
|
| 9 |
- name: id
|
|
|
|
| 36 |
path: data/real-*
|
| 37 |
- split: synthetic
|
| 38 |
path: data/synthetic-*
|
|
|
|
|
|
|
|
|
|
| 39 |
tags:
|
| 40 |
- Lottie
|
| 41 |
- animation
|
|
|
|
| 43 |
- multimodal
|
| 44 |
---
|
| 45 |
|
| 46 |
+
# MMLottieBench
|
| 47 |
+
|
| 48 |
+
[**Project Page**](https://openvglab.github.io/OmniLottie/) | [**Paper**](https://huggingface.co/papers/2603.02138) | [**GitHub**](https://github.com/OpenVGLab/OmniLottie) | [**Demo**](https://huggingface.co/spaces/OmniLottie/OmniLottie)
|
| 49 |
+
|
| 50 |
+
**MMLottieBench** is a comprehensive evaluation protocol for multi-modal vector animation generation, introduced in the paper [OmniLottie: Generating Vector Animations via Parameterized Lottie Tokens](https://huggingface.co/papers/2603.02138).
|
| 51 |
|
| 52 |
+
The lack of mature and standardized benchmarks and metrics for vector animation generation poses significant challenges in evaluating (1) the quality of generated vector animations and (2) the extent to which generators faithfully follow multi-modal instructions.
|
| 53 |
+
|
| 54 |
+
## Dataset Description
|
| 55 |
|
| 56 |
Our benchmark addresses these challenges by providing:
|
| 57 |
- **Real Subset**: 450 samples curated from artist-designed Lottie animations
|
| 58 |
- **Synthetic Subset**: 450 samples generated using state-of-the-art AI models
|
| 59 |
- **Three Tasks**: Text-to-Lottie, Text-Image-to-Lottie, and Video-to-Lottie
|
| 60 |
|
| 61 |
+
## Sample Usage
|
| 62 |
|
| 63 |
+
You can load the dataset using the `datasets` library:
|
| 64 |
+
|
| 65 |
+
```python
|
| 66 |
+
from datasets import load_dataset
|
| 67 |
+
|
| 68 |
+
# Load the entire dataset
|
| 69 |
+
dataset = load_dataset("OmniLottie/MMLottieBench")
|
| 70 |
+
|
| 71 |
+
# Access specific subsets
|
| 72 |
+
real_subset = dataset["real"]
|
| 73 |
+
synthetic_subset = dataset["synthetic"]
|
| 74 |
+
|
| 75 |
+
# Filter by task type
|
| 76 |
+
text2lottie = real_subset.filter(lambda x: x["task_type"] == "Text-to-Lottie")
|
| 77 |
+
image2lottie = real_subset.filter(lambda x: x["task_type"] == "Text-Image-to-Lottie")
|
| 78 |
+
video2lottie = real_subset.filter(lambda x: x["task_type"] == "Video-to-Lottie")
|
| 79 |
+
```
|
| 80 |
|
| 81 |
## Dataset Structure
|
| 82 |
|
|
|
|
| 97 |
| subset | string | Subset type: "Real" or "Synthetic" |
|
| 98 |
| url | string | Source URL for synthetic samples (None for real samples) |
|
| 99 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 100 |
## Evaluation Metrics
|
| 101 |
|
| 102 |
MMLottieBench evaluates models across multiple dimensions to comprehensively assess both visual quality and semantic alignment:
|
|
|
|
| 106 |
- **FVD (Fréchet Video Distance) ↓**: Measures the visual quality of generated animations
|
| 107 |
- **CLIP Similarity ↑**: Evaluates alignment between text prompts and rendered animation frames
|
| 108 |
- **Object Alignment (Obj. Align) ↑** (0-10): Measures object presence, type, count, visual traits, and spatial relations
|
| 109 |
+
- **Motion Alignment (Motion Align) ↑** (0-10): Assesses correctness of motion type, direction, magnitude, target objects, and smoothness
|
|
|
|
|
|
|
| 110 |
|
| 111 |
### Video-to-Lottie Task
|
| 112 |
|
|
|
|
| 115 |
- **SSIM (Structural Similarity Index) ↑**: Measures structural similarity with reference video
|
| 116 |
- **DINO ↑**: Evaluates semantic similarity using self-supervised features
|
| 117 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 118 |
## Citation
|
| 119 |
|
| 120 |
If you use MMLottieBench in your research, please cite:
|
|
|
|
| 130 |
|
| 131 |
## License
|
| 132 |
|
| 133 |
+
This dataset is released under the **Apache 2.0 License**.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|