Dataset: MEAD (Multi-view Emotional Audio-visual Dataset) Extraction Method: SMIRK → FLAME parameters Date: 2026-01-18
EMICA_mead_mp_lr_mse_15/
├── M003/ # Person ID (M=Male, W=Female)
│ └── front/ # Camera view
│ ├── angry/ # Emotion (8 types)
│ │ ├── level_1/ # Intensity (3 levels)
│ │ │ ├── 001/ # Text ID (30 texts)
│ │ │ │ ├── shape_pose_cam.pkl # FLAME parameters
│ │ │ │ └── ...
| Parameter | Dimensions | Description |
|---|---|---|
exp |
50 | Expression coefficients |
jaw |
3 | Jaw pose (rotation) |
global_pose |
3 | Head pose (rotation) |
shape |
300 | Identity shape (not used for emotion analysis) |
- Total samples: 30,353
- Unique persons: 46 (27 Male, 19 Female)
- Emotions: 8 (angry, contempt, disgusted, fear, happy, neutral, sad, surprised)
- Intensities: 3 (level_1, level_2, level_3)
- Texts per intensity: 30
We applied PCA, t-SNE, and UMAP to visualize the expression parameter space.
PCA Results:
- PC1 explains 31.14% of variance
- PC2 explains 16.18% of variance
- Total (PC1+PC2): 47.32%
Key Observations:
- Emotions show overlapping distributions in PCA space
- t-SNE/UMAP reveal many small clusters rather than 8 large emotion groups
- Small clusters correspond to person-emotion combinations, not pure emotions
- This suggests person identity is a confounding factor
Using K-NN (k=5) classifier on expression parameters:
| Metric | Value |
|---|---|
| Cross-validation accuracy | 97.2% |
| Main confusions | fear ↔ surprised (2%) |
Confusion Analysis - Most similar emotion pairs (centroid distance):
- fear ↔ surprised: 1.03 (most confused)
- angry ↔ disgusted: 2.38
- contempt ↔ neutral: 2.66
Hypothesis: Higher intensity → greater distance from neutral centroid
Results: Mixed support for radial structure
| Emotion | Intensity-Distance Correlation | Supports Hypothesis? |
|---|---|---|
| disgusted | r=0.242 (p<0.001) | ✓ Yes |
| angry | r=0.166 (p<0.001) | ✓ Yes |
| contempt | r=-0.032 | ✗ No |
| fear | r=-0.097 | ✗ No (inverse) |
| happy | r=-0.038 | ✗ No |
| sad | r=-0.007 | ✗ No |
| surprised | r=-0.012 | ✗ No |
Conclusion: Only angry and disgusted show expected radial patterns. Other emotions may express intensity through configuration changes rather than magnitude.
Parameters with highest effect size (Cohen's d) vs neutral:
| Emotion | Top Parameters | Effect Size |
|---|---|---|
| happy | exp_0 ↑, exp_47 ↓, exp_9 ↑ | d=2.1, 1.7, 1.5 |
| angry | exp_7 ↑, exp_8 ↑, exp_23 ↓ | d=1.5, 1.4, 1.4 |
| disgusted | exp_9 ↓, exp_3 ↑, exp_23 ↓ | d=1.8, 1.6, 1.4 |
| fear | exp_6 ↓, exp_39 ↑ | d=1.5, 1.4 |
| sad | exp_14 ↑, exp_28 ↓ | d=1.4, 1.2 |
| surprised | exp_6 ↓, exp_39 ↑, exp_11 ↑ | d=1.5, 1.2, 1.2 |
Note: fear and surprised share similar parameter patterns, explaining their confusion.
The original FLAME expression basis was derived from PCA on general 3D scan data, optimized for reconstruction fidelity, not emotional semantics. We performed SVD on our dataset to discover emotion-aligned principal components.
| Component | Individual Variance | Cumulative |
|---|---|---|
| PC1 | 42.9% | 42.9% |
| PC2 | 18.3% | 61.2% |
| PC3 | 9.9% | 71.0% |
| PC4 | 6.6% | 77.6% |
| PC5 | 4.8% | 82.4% |
| ... | ... | ... |
| PC7 | - | 89.7% |
| PC11 | - | 96.0% |
Recommendation: Use 15-20 components for denoising (retains >98% variance).
Theoretical Valence-Arousal Model:
- Valence: negative (-1) to positive (+1)
- Arousal: calm (low) to excited (high)
| Emotion | Valence | Arousal |
|---|---|---|
| happy | +0.9 | +0.6 |
| surprised | +0.2 | +0.9 |
| neutral | 0.0 | 0.0 |
| contempt | -0.4 | +0.2 |
| fear | -0.6 | +0.9 |
| sad | -0.7 | -0.5 |
| disgusted | -0.7 | +0.4 |
| angry | -0.8 | +0.8 |
Correlation with SVD Components:
| PC | Valence Correlation | Arousal Correlation |
|---|---|---|
| PC2 | r=0.78 (p=0.02) | r=0.49 |
| PC9 | r=0.35 | r=0.76 |
Key Finding: PC2 significantly correlates with Valence (positive vs negative emotion).
PC1 (42.9% variance):
- High: surprised, fear, neutral
- Low: happy, angry, disgusted
- Interpretation: Possibly related to mouth opening / jaw movement
PC2 (18.3% variance):
- High: surprised, fear, happy
- Low: angry, disgusted, sad
- Interpretation: Valence (positive vs negative emotion)
PC3 (9.9% variance):
- High: sad
- Low: disgusted, contempt, happy
- Interpretation: Sadness-specific features (inner brow raise)
Identity Classification from Expression Parameters:
| Classifier | Accuracy | vs Chance (2.2%) |
|---|---|---|
| K-NN (k=1) | 99.94% | 46.0x |
| K-NN (k=5) | 99.75% | 45.9x |
| Random Forest | 99.46% | 45.8x |
| Logistic Regression | 99.56% | 45.8x |
Conclusion: Expression parameters can perfectly identify individuals - they are NOT identity-independent.
Overall:
| Source | Variance | Percentage |
|---|---|---|
| Between-ID (Identity) | 38.59 | 58.3% |
| Within-ID (Expression) | 27.59 | 41.7% |
Per-Emotion Identity Contamination:
| Emotion | Identity Ratio | Expression Ratio |
|---|---|---|
| neutral | 96.2% | 3.8% |
| surprised | 89.0% | 11.0% |
| happy | 87.3% | 12.7% |
| fear | 87.2% | 12.8% |
| sad | 83.5% | 16.5% |
| contempt | 82.3% | 17.7% |
| angry | 80.1% | 19.9% |
| disgusted | 78.7% | 21.3% |
| Metric | Value |
|---|---|
| Intra-ID variance (emotion variation within person) | 18.36 ± 5.42 |
| Inter-ID variance (person variation within emotion) | 46.59 ± 7.65 |
| Ratio (Inter/Intra) | 2.54x |
Conclusion: Person variation is 2.5x larger than emotion variation.
Parameters with LEAST identity (most expression-pure):
| Parameter | η² (ID effect) | Recommended for emotion analysis |
|---|---|---|
| exp_9 | 21.7% | ✓ Best |
| exp_8 | 28.8% | ✓ |
| exp_0 | 29.2% | ✓ |
| exp_39 | 30.7% | ✓ |
| exp_3 | 32.6% | ✓ |
Parameters with MOST identity contamination:
| Parameter | η² (ID effect) | Avoid for cross-person analysis |
|---|---|---|
| exp_13 | 85.1% | ✗ |
| exp_31 | 81.5% | ✗ |
| exp_42 | 79.2% | ✗ |
| exp_48 | 78.9% | ✗ |
| exp_30 | 78.1% | ✗ |
After subtracting per-person mean:
| Task | Original | Normalized |
|---|---|---|
| ID Classification | 99.9% | 96.1% |
| Emotion Classification | 96.7% | 95.0% |
Note: ID classification still high (96.1%) due to higher-order identity patterns beyond the mean.
-
Emotions are distinguishable in FLAME expression space (97% classification accuracy)
-
Fear and surprised are most confused due to shared parameters (exp_6, exp_39, exp_11)
-
SVD reveals semantic structure: PC2 correlates with Valence (r=0.78)
-
Critical Issue: Expression parameters contain severe identity information:
- 99.9% ID classification accuracy
- 58% of variance is between-person
- Person variation 2.5x larger than emotion variation
-
Intensity analysis: Only angry and disgusted show expected radial patterns
-
Subtract per-person mean (identity normalization):
for person in unique_persons: mask = person_ids == person person_mean = exp[mask].mean(axis=0) exp_normalized[mask] = exp[mask] - person_mean
-
Focus on "clean" parameters: exp_9, exp_8, exp_0, exp_39, exp_3
-
Avoid high-identity parameters: exp_13, exp_31, exp_42, exp_48, exp_30
-
Use within-person relative changes rather than absolute values
-
Use SVD space (data-driven) instead of original FLAME basis
-
PC2 captures valence - use for positive/negative emotion analysis
-
15-20 components sufficient for denoising while retaining signal
-
PCA preferred over t-SNE for interpretability
-
Color by emotion shows overlap; color by person shows clear clusters
-
Person trajectories show each person's "island" with similar emotion patterns
flame_emotion_analysis.py- Main emotion analysisflame_svd_analysis.py- SVD-based semantic analysisidentity_expression_analysis.py- Identity-expression decoupling
emotion_clusters_pca.png- PCA visualizationemotion_clusters_tsne.png- t-SNE visualizationemotion_clusters_umap.png- UMAP visualizationconfusion_matrix.png- Emotion classificationtop_10_sensitive_params.png- Key parameters per emotionradial_mean_distance.png- Intensity analysismean_heatmap_expression.png- Parameter meansemotion_distances.png- Pairwise distances
svd_scree_plot.png- Variance explainedsvd_pc1_pc2_emotions.png- SVD space visualizationsvd_emotion_ellipses.png- Confidence ellipsessvd_valence_arousal_comparison.png- V-A correlationsvd_pc_loadings.png- Component loadingssvd_3d_visualization.png- 3D view
variance_decomposition.png- ID vs expression varianceid_classification_accuracy.png- ID classification resultsper_parameter_identity.png- Parameter-wise ID informationpca_identity_vs_emotion.png- Dual coloring comparisonperson_trajectories.png- Per-person emotion pathsidentity_normalized_comparison.png- Normalization effect
# Basic emotion analysis
python flame_emotion_analysis.py
# SVD-based semantic analysis
python flame_svd_analysis.py
# Identity-expression decoupling
python identity_expression_analysis.pyfrom flame_emotion_analysis import load_flame_data
data_dict, labels = load_flame_data('.', use_mean=True)
exp = data_dict['exp'] # (N, 50) expression parameters
jaw = data_dict['jaw'] # (N, 3) jaw pose
pose = data_dict['global_pose'] # (N, 3) head pose
person_ids = labels['person_id']
emotions = labels['emotion']
intensities = labels['intensity']FLAME (Faces Learned with an Articulated Model and Expressions) decomposes face shape into:
Where:
-
$\boldsymbol{\beta}$ : Shape parameters (identity) -
$\boldsymbol{\theta}$ : Pose parameters (jaw, neck, eyeballs) -
$\boldsymbol{\psi}$ : Expression parameters
The FLAME expression basis
- ~4000 registered 3D scans
- Various facial expressions (not emotion-labeled)
Limitation: Optimized for reconstruction, not emotional semantics.
Russell's circumplex model describes emotions in 2D:
- Valence: Pleasure dimension (negative ↔ positive)
- Arousal: Activation dimension (calm ↔ excited)
Our SVD analysis found PC2 correlates with this Valence dimension (r=0.78).