DivDynBench / scoring_rules.json
zbhpku's picture
Upload folder using huggingface_hub
352629f verified
Raw History Blame Contribute Delete
11.3 kB
{
"description": "Unified scoring rules for the Benchmark motion test cases. The scoring field of each case gives the per-item rubric (points, levels, phases, thresholds); this file gives the dimension definitions, general rules, default thresholds and aggregation. When the scoring field and the rubric field disagree, scoring takes precedence; rubric is kept as plain text for reference and compatibility.",
"dimensions": {
"semantic": {
"name": "Semantic match",
"total": 100,
"definition": "Whether the motion carries out the instruction: body parts involved, direction, order, count, amplitude and timing. Derived from the rubric sub-items / checks.",
"method": {
"text": "VLM judge assigns a level (full / partial / 0) to each sub-item, see levels.text_item",
"numeric": "Program computes the error of each check in the frozen spec, see levels.numeric_item"
}
},
"completeness": {
"name": "Motion completeness",
"total": 100,
"definition": "Whether every action phase in the instruction appears, in order, whether start and end states are reached, and whether requirements that must be sustained hold throughout. Only asks whether the motion was finished; whether it was done correctly belongs to semantic match.",
"method": {
"text": "VLM judge assigns a level to each phase, see levels.phase",
"numeric": "Program: a time window is scored by the ratios of its matching checks; windows without a matching check are judged as motion/hold, see levels.numeric_phase"
}
},
"morphology": {
"name": "Fit to the 3D character",
"total": 100,
"definition": "Whether the motion suits this morphology: correct body parts, locomotion that fits the body plan, joints within a plausible range, plausible follow-through of secondary parts. Independent of whether the instruction was completed.",
"method": "VLM judge assigns a level to each item; the joint-reversal frame ratio (physics.joint_reversal) is computed by the program and caps M3"
},
"quality": {
"name": "Motion quality",
"total": 100,
"definition": "Physical and technical quality: ground penetration, foot sliding, floating, self-penetration, bone-length/mesh preservation, jitter and teleporting. Applicable items depend on the environment; inapplicable items are dropped and their points redistributed proportionally.",
"method": "Computed by the program, see quality_thresholds; each item is scored linearly between full and zero"
},
"aesthetics": {
"name": "Aesthetics",
"total": 100,
"definition": "Look and feel from an animator's point of view: smoothness, weight, timing, follow-through, pose and silhouette.",
"method": "VLM absolute scoring (aesthetics part of prompts/case_scoring.md); a relative ranking can also be obtained from pairwise comparison + Bradley-Terry (prompts/aesthetic_pairwise.md); the two are reported separately"
}
},
"cost": {
"reported_separately": true,
"note": "Token and generation cost (LLM/VLM tokens, images, generated video seconds, GPU hours, API fees) is recorded and reported separately; it is not part of any dimension score or of the weighted overall score.",
"ledger": "test_codes/cvpr2027_motion/evaluation/cost_logs/token_usage.jsonl",
"pricing": "test_codes/cvpr2027_motion/evaluation/metrics/pricing.json"
},
"overall_weights": {
"note": "Optional weighted overall score, for summary display only; dimension scores are always reported separately. Weights may be adjusted per experiment.",
"semantic": 0.35,
"completeness": 0.2,
"morphology": 0.15,
"quality": 0.2,
"aesthetics": 0.1
},
"gate_rule": "If the \"core (gate)\" action of a text case is absent: semantic and completeness score 0; morphology, quality and aesthetics are scored as usual.",
"pseudo_pass": {
"rules": [
"Whole-body root translation or rotation replaces the limb/part motion required by the instruction",
"Scaling the mesh",
"Teleporting: a single-frame root displacement above 0.2L (program check physics.teleport.max_step > 0.2)",
"An attachment that the instruction requires to move stays still",
"The motion is essentially static (quality.motion_magnitude.degenerate)"
],
"effect": "semantic, completeness and morphology score 0 and the report marks pseudo_pass; quality and aesthetics are scored as usual."
},
"passed_rule": "A case \"passes\" = no pseudo-pass triggered, gate met (text cases), and semantic score = 100 (every sub-item at full marks).",
"levels": {
"text_item": [
{
"ratio": 1.0,
"criterion": "The sub-item is fully present and clearly recognizable: body parts, direction, order, count, amplitude and timing all match"
},
{
"ratio": 0.5,
"criterion": "Present but incomplete: right direction and body part but amplitude/extent short of the description; or mistimed, lasting less than half of the action; or visible only in a few frames"
},
{
"ratio": 0.0,
"criterion": "Absent, reversed, done with the wrong body part, or replaced by whole-body root translation/rotation"
}
],
"text_item_count": "When a sub-item contains a count/number (e.g. \"three times\", \"two steps\", \"three pairs\"): completing k of N earns points×k/N (rounded to a multiple of 5); out-of-order repetitions do not count.",
"numeric_item": "The sub-item maps to one or more checks in the spec; each check's ratio = 1 (error ≤ tolerance), 2 − error/tolerance (tolerance < error ≤ 2×tolerance), 0 (error > 2×tolerance); sub-item score = points × mean ratio of its checks. If the case's anti-shortcut clause is triggered the item scores 0; missing mapping or data is marked \"undeterminable\", counted as 0 and reported separately.",
"phase": [
{
"ratio": 1.0,
"criterion": "The phase is present and recognizable, and does not start before the previous phase (running concurrently with it is fine)"
},
{
"ratio": 0.5,
"criterion": "Present but clearly incomplete: insufficient amplitude/count, compressed into one or two frames, out of order with neighbouring phases, or cut off"
},
{
"ratio": 0.0,
"criterion": "Absent"
}
],
"sustained": [
{
"ratio": 1.0,
"criterion": "The required sustained state is maintained throughout the relevant period"
},
{
"ratio": 0.5,
"criterion": "Maintained most of the time but with clear interruptions (more than 1/4 of the relevant period in total)"
},
{
"ratio": 0.0,
"criterion": "Essentially not maintained"
}
],
"numeric_phase": "Window with matching checks: window ratio = mean ratio of the matching checks (≥0.9 counts as full). Window without a matching check: a motion window requires the main parts to move ≥0.02L or rotate ≥5° within the window, full if met, else 0; a hold window (hold/still/stand steady/stop/freeze/hover) requires root horizontal speed ≤0.05L/s, full if met, else 0. If the animation is too short, uncovered windows score 0.",
"long_chain": "Cases with ≥4 phases are long-chain actions: each phase is scored on its own and points are split evenly across phases; completing k phases in order earns about 100×k/N; a phase that starts before the previous one counts half."
},
"numeric_general": "Evaluated frame by frame at 30 fps, window boundary tolerance ±0.1 s, error = maximum absolute error within the window, angles are unwrapped cumulative angles; unless stated otherwise, stance-foot sliding ≤0.01L, ground penetration ≤0.01L, bone-length change ≤1%.",
"quality_thresholds": {
"ground_penetration": {
"name": "Ground penetration",
"metric": "physics.ground_penetration.max",
"unit": "L",
"full": 0.01,
"zero": 0.05,
"better": "lower"
},
"foot_skate": {
"name": "Stance-foot sliding",
"metric": "physics.foot_skate.skate_ratio",
"unit": "ratio",
"full": 0.05,
"zero": 0.3,
"better": "lower"
},
"floating": {
"name": "Unsupported floating",
"metric": "physics.floating.unsupported_frame_ratio",
"unit": "ratio",
"full": 0.02,
"zero": 0.2,
"better": "lower"
},
"self_penetration": {
"name": "Self-penetration",
"metric": "physics.self_penetration.max",
"unit": "L",
"full": 0.01,
"zero": 0.05,
"better": "lower"
},
"geometry": {
"name": "Bone-length / mesh preservation",
"metric": "geometry.rigid_edge_change_worst (edge-length change of rigid parts / bone segments) and geometry.edge_stretch_p99 (p99 edge stretch over the whole mesh)",
"unit": "relative change",
"full": 0.01,
"zero": 0.05,
"stretch_full": 0.05,
"stretch_zero": 0.2,
"better": "lower",
"rule": "Both are converted linearly and the smaller ratio is used: rigid parts ≤1% full, ≥5% zero; whole-mesh stretch p99 ≤5% full, ≥20% zero (normal skin stretch at joints is not penalized by the bone-length standard)"
},
"smoothness": {
"name": "Smooth, no spikes",
"metric": "physics.jerk.accel_spike_frame_ratio",
"unit": "ratio",
"full": 0.01,
"zero": 0.1,
"better": "lower"
},
"swim_consistency": {
"name": "Swim wave consistent with travel",
"metric": "physics.swim_consistency.wave_head_to_tail_ratio",
"unit": "ratio",
"full": 0.8,
"zero": 0.4,
"better": "higher"
},
"base_drift": {
"name": "Fixed base",
"metric": "physics.base_drift.translation_max",
"unit": "L",
"full": 0.01,
"zero": 0.05,
"better": "lower"
}
},
"quality_points_by_environment": {
"ground_legged": {
"ground_penetration": 20,
"foot_skate": 20,
"floating": 10,
"self_penetration": 20,
"geometry": 15,
"smoothness": 15
},
"ground_slither": {
"ground_penetration": 25,
"floating": 15,
"self_penetration": 20,
"geometry": 20,
"smoothness": 20
},
"water": {
"swim_consistency": 30,
"self_penetration": 25,
"geometry": 25,
"smoothness": 20
},
"air": {
"ground_penetration": 20,
"self_penetration": 25,
"geometry": 30,
"smoothness": 25
},
"fixed_base": {
"base_drift": 30,
"self_penetration": 20,
"geometry": 30,
"smoothness": 20
},
"vehicle": {
"ground_penetration": 25,
"floating": 15,
"self_penetration": 20,
"geometry": 20,
"smoothness": 20
}
},
"game_action_quality_items": [
"ground_penetration",
"foot_skate",
"self_penetration",
"geometry"
],
"judging": {
"repeats": 3,
"temperature": 0.0,
"aggregation": "For each sub-item/phase: median level over repeated runs of the same judge, then median across judges; report the standard deviation of judge levels.",
"prompt": "test_codes/cvpr2027_motion/evaluation/metrics/prompts/case_scoring.md"
}
}