Papers
Topics
Authors
Recent
Search
2000 character limit reached

MMLottie-2M Dataset for Multi-modal Animation

Updated 4 March 2026
  • MMLottie-2M is a large-scale vector animation dataset comprising 2M samples with detailed multi-modal annotations across text, image, and video modalities.
  • It employs a principled tokenizer and normalization pipeline to convert raw Lottie JSON files into structured, model-friendly representations.
  • The dataset integrates diverse sources—including web-crawled and synthetic SVG-derived animations—with standardized splits for robust training and evaluation.

MMLottie-2M is a large-scale, unified dataset of vector animations, created to advance research in multi-modal generative modeling for Lottie animations. Comprising two million samples paired with rich textual and visual annotations, MMLottie-2M emphasizes both professional design diversity and procedural motion coverage, supporting modeling tasks conditioned on text, image, and video modalities. Its curation incorporates a principled tokenizer and normalization pipeline to transform raw Lottie JSON files into structured, model-friendly representations, thereby facilitating the training and evaluation of next-generation vector animation models (Yang et al., 2 Mar 2026).

1. Dataset Composition and Source Breakdown

The MMLottie-2M dataset, denoted D\mathcal{D}, totals D=2000000|\mathcal{D}| = 2\,000\,000 vector animation samples. Source distribution comprises two primary classes:

  • Web-crawled Lottie files: $1.2$ million instances sampled from five distinct platforms: LottieFiles (42.3%), IconScout (23.7%), Flaticon (18.1%), Iconfont (9.8%), Icons8 (6.1%).
  • Synthetic SVG-derived Lottie files: $0.8$ million instances produced by animating static SVGs (from the OmniSVG collection) using $1$–$3$ randomly assigned procedural motion templates.

Data splits follow a standard protocol: 96% train (Dtrain=1920000|\mathcal{D}_{\text{train}}| = 1\,920\,000), 2% validation (Dval=40000|\mathcal{D}_{\text{val}}| = 40\,000), 2% test (Dtest=40000|\mathcal{D}_{\text{test}}| = 40\,000). For benchmarking, the dataset defines MMLottie-Bench, a hold-out evaluation subset comprising $900$ cases (split equally by real/synthetic content and by modeling task), all disjoint from the training set.

2. Modalities, Annotation Schema, and Data Pairing

Each animation is annotated with multiple modalities:

  • Textual descriptions
    • Coarse caption: A global summary (mean D=2000000|\mathcal{D}| = 2\,000\,0000 words) describing high-level identity, colors, and visual style.
    • Fine-grained temporal caption: Sequential details (mean D=2000000|\mathcal{D}| = 2\,000\,0001 words) structured temporally, emphasizing object identities, spatial layout, and explicit motion verbs (e.g., "fading in," "rotating clockwise").
  • Visual frames
    • Rendered video: D=2000000|\mathcal{D}| = 2\,000\,0002 px resolution, D=2000000|\mathcal{D}| = 2\,000\,0003 fps, capturing the full animation sequence.
    • Keyframe image: Single frame from D=2000000|\mathcal{D}| = 2\,000\,0004 to support the Text-Image-to-Lottie (TI₂Lottie) modality.
  • Multi-modal labels
    • (image, text) pairs for TI₂Lottie.
    • Raw video instructions for Video-to-Lottie tasks.
  • Additional metadata
    • Semantic tags: Fifteen high-level categories (e.g., “UI elements”: 50%, “abstract patterns”: 20%, others).
    • Color vocabulary: Dominant color tokens (e.g., "blue," "red," "white" among top-5).
    • Motion types: Distribution primarily favoring translation, then rotation, scaling, opacity changes, and path morphing.

The annotation pipeline leverages Qwen2.5-VL for dual-stage captioning, sequentially producing a global overview and temporally organized per-frame details with explicit use of geometry and motion keywords.

3. Data Pipeline: Collection, Curation, and Normalization

The dataset construction follows a structured pipeline:

  • A. Source aggregation: Web crawling yields D=2000000|\mathcal{D}| = 2\,000\,0005 million raw Lottie JSON files. Additionally, D=2000000|\mathcal{D}| = 2\,000\,0006 million static SVGs (OmniSVG) are converted to Lottie format, with procedural animation yielding D=2000000|\mathcal{D}| = 2\,000\,0007 million synthetic clips.
  • B. Cleaning and filtering: Lottie files containing base64 image layers, audio/camera, After Effects expressions, or non-parameterizable (e.g., 3D/data) layers are discarded.
  • C. Spatio-temporal normalization:
    • Spatial: All animations are centered and scaled to a D=2000000|\mathcal{D}| = 2\,000\,0008 canvas using scaling factor D=2000000|\mathcal{D}| = 2\,000\,0009.
    • Temporal: All animation key times, including $1.2$0, $1.2$1, and intermediate keyframes, are normalized to $1.2$2 (approx. $1.2$3–$1.2$4 frames at 30 fps), so $1.2$5.
  • D. Rendering: Each Lottie is rendered as MP4 (512 × 512 px, 30 fps), overlayed on a random pastel background (20-color palette), with a keyframe extracted for image annotation.
  • E. Multi-modal annotation: Automated, two-stage captioning augmented with geometry/motion terms for alignment with downstream generative tasks.

4. Statistical and Structural Properties

The MMLottie-2M dataset displays extensive variation in both temporal and structural dimensions:

  • Temporal characteristics
    • Web-crawled: Mean duration $1.2$6 s ($1.2$7 s); 67% in $1.2$8 s, 21% in $1.2$9 s, 12% exceeding $0.8$0 s.
    • Synthetic: Mean duration $0.8$1 s ($0.8$2 s).
    • After normalization, all animations occupy a uniform 16-unit time window (approx. $0.8$3 frames at $0.8$4 fps).
  • Structural features
    • Layer count: Web-crawled mean $0.8$5 (max $0.8$6), synthetic mean $0.8$7 (max $0.8$8).
    • Layer-type distribution: Shape (86.8%), Precomp (8.2%), Null (2.9%), Solid (1.5%), Text (0.6%).
    • Nesting depth: 78.3% of samples have depth $0.8$9, 16.7% depth $1$0, 5.0% depth $1$1.
  • Control parameter statistics
    • Position: $1$2 clustered in $1$3.
    • Scale: Usually $1$4, with outliers up to $1$5.
    • Rotation: Range $1$6 (looped) or oscillatory $1$7.
    • Opacity: $1$8%.
    • Keyframe times: $1$9; color channels: integer $3$0.

5. File Format Structure and Tokenization

To facilitate learning and ensure lossless representation, MMLottie-2M employs a structured Lottie tokenizer:

  • JSON schema
    • Core fields: $3$1, $3$2, $3$3, $3$4, $3$5, $3$6, $3$7, $3$8, layers;
    • Conditional: $3$9, Dtrain=1920000|\mathcal{D}_{\text{train}}| = 1\,920\,0000, Dtrain=1920000|\mathcal{D}_{\text{train}}| = 1\,920\,0001, Dtrain=1920000|\mathcal{D}_{\text{train}}| = 1\,920\,0002 (present only as used).
  • Tokenizer mapping
    • Each Lottie file is decomposed to metadata Dtrain=1920000|\mathcal{D}_{\text{train}}| = 1\,920\,0003 and a set of layers Dtrain=1920000|\mathcal{D}_{\text{train}}| = 1\,920\,0004, where each layer Dtrain=1920000|\mathcal{D}_{\text{train}}| = 1\,920\,0005 for type Dtrain=1920000|\mathcal{D}_{\text{train}}| = 1\,920\,0006.
    • Continuous parameters quantized: Dtrain=1920000|\mathcal{D}_{\text{train}}| = 1\,920\,0007, where Dtrain=1920000|\mathcal{D}_{\text{train}}| = 1\,920\,0008 is parameter-type-specific scale and Dtrain=1920000|\mathcal{D}_{\text{train}}| = 1\,920\,0009 is the vocabulary offset.
    • The token sequence: Dval=40000|\mathcal{D}_{\text{val}}| = 40\,0000.
    • Text fields (e.g., font names, captions) are subword-tokenized using a pretrained VLM tokenizer, prefixed with a length token.
    • Special marker and <END> tokens ensure full, structure-preserving encoding.
    • Reconstruction is lossless via inversion: Dval=40000|\mathcal{D}_{\text{val}}| = 40\,0001 and Dval=40000|\mathcal{D}_{\text{val}}| = 40\,0002.

6. Comparison with Prior Datasets and Benchmarks

MMLottie-2M represents a substantial advance relative to previous publicly available Lottie datasets:

  • Scale: Dval=40000|\mathcal{D}_{\text{val}}| = 40\,0003 samples, substantially larger than prior real-Lottie corpora (typically Dval=40000|\mathcal{D}_{\text{val}}| = 40\,0004) and uniquely offering comprehensive multi-modal annotation.
  • Modal coverage: First dataset to provide unified text, image, and video conditioning for vector animation tasks.
  • Annotation depth: Incorporates dual-stage, temporally fine-grained captions. Prior datasets offer only single-sentence or coarse-grained descriptions.
  • Content diversity: Integrates professionally designed assets from five distinct sources and procedurally generated SVG-based animations, spanning broad stylistic and motion categories.
  • Benchmarking: Establishes MMLottie-Bench, a standardized evaluation suite comprising both real and synthetic subsets, with Dval=40000|\mathcal{D}_{\text{val}}| = 40\,0005 holdout samples and LLM-judged alignment metrics (e.g., object/motion alignment).

A plausible implication is that the size, diversity, and annotation richness of MMLottie-2M enable robust model training and facilitate rigorous benchmark comparisons for generative systems targeting vector animation, such as OmniLottie (Yang et al., 2 Mar 2026).


Table: Source Composition of MMLottie-2M

Source Type Fraction (%) Number of Files
LottieFiles 42.3 Dval=40000|\mathcal{D}_{\text{val}}| = 40\,0006507,600
IconScout 23.7 Dval=40000|\mathcal{D}_{\text{val}}| = 40\,0007284,400
Flaticon 18.1 Dval=40000|\mathcal{D}_{\text{val}}| = 40\,0008217,200
Iconfont 9.8 Dval=40000|\mathcal{D}_{\text{val}}| = 40\,0009117,600
Icons8 6.1 Dtest=40000|\mathcal{D}_{\text{test}}| = 40\,000073,200
Synthetic SVGs 800,000

MMLottie-2M establishes a new standard for vector animation datasets, with design decisions tailored for supporting multi-modal generative modeling, evaluation, and analysis within the domain of Lottie JSON-encoded content (Yang et al., 2 Mar 2026).

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to MMLottie-2M Dataset.