File size: 4,038 Bytes
373beab
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
---
license: other
task_categories:
  - other
tags:
  - human-motion
  - human-human-interaction
  - motion-capture
  - phase-decomposition
pretty_name: SocialStructureHHI Phase-Decomposition Dataset
---

# SocialStructureHHI — Phase-Decomposition Dataset

Phase-decomposed two-person interaction data used to train **SocialStructureHHI**
(*Social Structure Matters in 3D Human–Human Interaction Generation*). Derived from
**Inter-X** (`ix`) and **InterHuman** (`ih`); each multi-person sequence is segmented into
ordered **phases**, and each phase carries per-actor motion and per-actor text.

## Files

| file | content |
|------|---------|
| `socialstructure_hhi_motion_train.h5` | per phase-actor motion samples (train) |
| `socialstructure_hhi_motion_val.h5`   | per phase-actor motion samples (val) |
| `socialstructure_hhi_motion_test.h5`  | per phase-actor motion samples (test) |
| `socialstructure_hhi_text.h5`         | per-sequence phase decomposition (text) |
| `motion_norm_stats.npz`               | per-dim mean/std over the train split (201-dim) |

Outlier phases (>300 frames) are already excluded; only valid samples are packed.

## Motion `.h5` layout

```
/<phase_id>_<actor>            e.g. "IH_1008_phase000_P1"
  attrs: sequence_id, phase_id, actor_id, dataset {ix|ih}, phase_type,
         interaction_category, phase_len_bucket, t_start, t_end,
         phase_text, global_text
  datasets:
    target_motion_local    [W, 201]   the actor's motion for this phase
    seq_mask               [W]        True = real frame, False = padding
    contact_frame_mask     [W]        True = contact frame
    prefix_mask            [W]        True = read-only overlap (inpaint) frame
    self_history_local     [10, 201]  actor's 10-frame history prefix
    partner_history_local  [10, 201]  partner's 10-frame history
    partner_prev_local     [W, 201]   partner motion, previous phase (ego frame)
    partner_curr_local     [W, 201]   partner motion, current phase (ego frame)
    partner_prev_seq_mask  [W]
    partner_curr_seq_mask  [W]
    partner_prev_time_ids  [W+10]
    partner_curr_time_ids  [W+10]
    initial_frame          [201]      actor's first frame (ego frame)
    partner_initial_frame  [201]      partner's first frame, in actor ego frame
```

**Motion layout (201-dim/frame):** root translation (3) + root 6D rotation (6) +
21 body-joint 6D rotations (126) + 22 forward-kinematics joint positions, root-relative (66).
`W` is the per-phase duration bucket ∈ `{30,60,90,120,150,180,240,300}` @ 30 fps. All motion
is in the actor's ego-centric frame.

## Text `.h5` layout

```
/<split>/<seq_id>
  attrs: dataset {ix|ih}, global_text
  /<phase_key>                 e.g. "phase000"
    attrs: p1_action, p2_action, phase_type
    dataset: frame_range [2]   (start, end) in the source sequence
```

## Loading

```python
import h5py, numpy as np
with h5py.File("socialstructure_hhi_motion_val.h5") as f:
    g = f["IH_1008_phase000_P1"]
    motion = g["target_motion_local"][:]     # [W, 201]
    text   = g.attrs["phase_text"]
    print(g.attrs["phase_type"], motion.shape, text)

stats = np.load("motion_norm_stats.npz")     # mean[201], std[201]
```

## Links

- 📄 Paper: https://arxiv.org/abs/2606.24255
- 💻 Code: https://github.com/EngineeringAI-LAB/SocialStructureHHI
- 🌐 Project page: https://engineeringai-lab.github.io/SocialStructureHHI/
- 🤗 Model: https://huggingface.co/EngineeringAI-LAB/SocialStructure

## Source datasets & citation

Built on [Inter-X](https://liangxuy.github.io/inter-x/) and
[InterHuman](https://tr3e.github.io/intergen-page/); please also cite the original datasets.

```bibtex
@misc{wang2026socialstructure,
  title  = {Social Structure Matters in 3D Human--Human Interaction Generation},
  author = {Zhongju Wang and Beier Wang and Yatao Bian and Pichao Wang and Zhi Wang
            and Daoyi Dong and Hongdong Li and Huadong Mo and Zhenhong Sun},
  year   = {2026},
  eprint = {2606.24255},
  archivePrefix = {arXiv},
  primaryClass  = {cs.CV}
}
```