A method and system for constructing motion dataset for embodied intelligent model
By combining state estimation and dynamic sampling techniques with multimodal large models to generate hand joint parameters in SMPL-X format, the problems of fragmented action sequences and missing hand data in existing technologies are solved, and a high-quality action dataset for embodied intelligent models is constructed.
Patent Information
- Application Number
- CN202611035187.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-07-13
- Publication Date
- 2026-11-20
AI Technical Summary
Existing technologies suffer from problems such as broken action sequences, loss of key details, and missing hand data when constructing text-driven action datasets, which cannot meet the training needs of embodied robots at the dexterity hand operation level.
A state-based multi-target tracking framework and Kalman filter are used to maintain the continuous identity of the target, the sampling frequency is dynamically adjusted, and a multimodal large model is combined to generate a fine natural language description, thus constructing an SMPL-X format action sequence containing hand joint parameters.
It effectively overcomes the problem of action sequence fragmentation, improves the ability to capture key transition frames, enhances the ability to parse fine operations, and improves the temporal smoothness of the dataset and the coverage of hand description.
Smart Images

Figure CN123142298A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of intersection of artificial intelligence and computer vision, and in particular to a method and system for constructing action datasets for embodied intelligence models. Background Technology
[0002] Text-driven human motion generation technology aims to enable robots to generate accurate and fluent human movements based on natural language instructions. Its performance is highly dependent on large-scale, high-quality "video-action-text" triple training data. However, existing open-source datasets generally suffer from problems such as small size, limited scene representation, high cost of manual annotation, and poor consistency.
[0003] To reduce annotation costs, the industry has explored automated construction solutions. Chinese patent application CN120932039A proposes using optical flow to filter videos, extract 3D pose skeletons, and generate structured labels containing action type, body parts, and occlusion information. However, its semantic description is limited to the discrete label level, lacking a deep natural language description of action details and temporal logic. Chinese patent application CN120876683A proposes using object detection and pose estimation to extract key points, filtering temporal features through confidence thresholds and fixed-rate downsampling, and finally generating brief action text and outputting basic SMPL parameters. These solutions suffer from the following core flaws: First, the tracking strategy is crude, leading to breaks in action temporal sequence. Existing solutions commonly employ a simple frame-dropping strategy when encountering occlusion or interference: "remove frames with confidence below the threshold." This directly severs the physical continuity of the action sequence. When such data is used to drive robots, coordinate jumps easily cause inverse kinematics solution failures. Second, the sampling method is fixed, resulting in the loss of high-frequency details. Existing solutions use fixed-rate downsampling, failing to distinguish the intensity of the action. For high-dynamic movements such as arm swinging and grasping, fixed sparse sampling skips key transition frames, causing distortion in motion reconstruction. Furthermore, hand modeling is lacking, and semantic descriptions are insufficient. Existing solutions only output basic body posture parameters, without detailed modeling of hand joints, and the text descriptions are highly generalized short labels. This fails to meet the core requirement of endomorphic robots for precise "action-semantic" alignment of training data at the dexterous hand manipulation level.
[0004] In summary, existing technologies for constructing text-driven action datasets generally suffer from bottlenecks such as animation breaks due to frame drops, loss of key details due to fixed sampling, and missing hand data due to rough modeling. There is an urgent need for an automated construction solution that can fundamentally address these issues. Summary of the Invention
[0005] This invention provides a method and system for constructing an action dataset for embodied intelligent models, in order to solve the problem of data loss in the construction of text-driven action datasets in the prior art.
[0006] This invention is achieved through the following technical solution, providing a method for constructing an action dataset for an embodied intelligent model, comprising: S1: acquiring a three-dimensional human action parameter sequence of a human target in a video clip; S2: performing kinematic analysis on the three-dimensional human action parameter sequence to calculate the kinematic parameters of at least one target joint; S3: dynamically adjusting the sampling frequency of the video clip according to the kinematic parameters; when the kinematic parameters meet a preset high dynamic condition, sampling the video clip at a first sampling frequency; otherwise, sampling the video clip at a second sampling frequency lower than the first sampling frequency to obtain a keyframe sequence; S4: using a multimodal large model to generate a description of the keyframe sequence to obtain a natural language action description; S5: based on the time index corresponding to the keyframe sequence, aligning the natural language action description with the three-dimensional human action parameter sequence in time to construct a video, action, and text triplet dataset.
[0007] Specifically, the kinematic parameters in S2 include at least one of joint angular velocity and spatial displacement vector increment; the preset high dynamic conditions include at least one of the following conditions: within the sliding time window, the average joint angular velocity of at least one target joint exceeds a preset angular velocity threshold; the rate of change of spatial displacement vector increment exceeds a preset rate of change threshold.
[0008] Specifically, in S3, the first sampling frequency is set to 10Hz to 30Hz; when the calculated kinematic parameters of all target joints fall below the corresponding threshold within a preset number of consecutive frames, and the displacement increment variance is less than the preset stability index, the sampling frequency is restored to the second sampling frequency.
[0009] Specifically, the acquisition of the three-dimensional human motion parameter sequence in S1 includes: scene segmentation of the input video to obtain video segments; human tracking of the video segments to extract human bounding box sequences with continuous identity identifiers; three-dimensional human motion reconstruction based on the human bounding box sequences to generate a three-dimensional human motion parameter sequence; wherein, the three-dimensional human motion parameter sequence is represented in the format of the SMPL-X human parameter model and includes hand joint parameters.
[0010] Specifically, human tracking adopts a multi-target tracking framework based on state estimation; when the target is occluded in at least one frame, causing the detection confidence to fall below the detection threshold, the hidden trajectory of the target is predicted using the state estimation model to maintain the continuous identity of the target.
[0011] Specifically, the state estimation model uses a Kalman filter, which predicts the state of the target based on its motion state before being occluded, and generates a hidden trajectory.
[0012] Specifically, scene segmentation includes: segmenting the input video into scenes using a lens boundary detection algorithm; calculating the optical flow information of each scene segment; and removing static segments with an average optical flow lower than the static threshold and abnormal motion segments with an optical flow variance higher than the violent motion threshold.
[0013] Specifically, the video, action, and text triplet dataset is constructed using a timestamp matrix, which includes sub-action identifiers, start frames, end frames, semantic segments, corresponding pose parameter indices, and alignment confidence. The allowable alignment error between the semantic segments and the pose parameters in the corresponding time intervals of the 3D human action parameter sequence is within ±2 frames.
[0014] Specifically, it also includes: using an offline action classifier to predict the category of video segments and calculating the consistency score between the predicted category and the natural language action description; when the consistency score is lower than a preset consistency threshold, the corresponding sample is marked as invalid.
[0015] A system for constructing an action dataset for embodied intelligent models, used in the aforementioned method, includes: an action parameter acquisition module for acquiring a three-dimensional human action parameter sequence of a human target in a video clip; a kinematic analysis module for performing kinematic analysis on the three-dimensional human action parameter sequence and calculating the kinematic parameters of at least one target joint; an adaptive sampling module for dynamically adjusting the sampling frequency of the video clip based on the kinematic parameters and obtaining a keyframe sequence; an action description generation module for generating a description of the keyframe sequence using a multimodal large model to obtain a natural language action description; and a time alignment module for aligning the natural language action description with the three-dimensional human action parameter sequence based on the time index corresponding to the keyframe sequence, thereby constructing a video, action, and text triplet dataset.
[0016] Compared with the prior art, the present invention has the following beneficial effects: This invention employs a state estimation-based anti-occlusion tracking compensation mechanism. When the target is occluded, it uses Kalman filtering to predict the hidden trajectory, maintaining the continuous identity of the human target. This effectively overcomes the problems of motion sequence breakage and coordinate jumps caused by simple frame dropping in existing technologies. The generated SMPL-X motion sequence has temporal smoothness, reducing the risk of inverse kinematics solution failure when driving the robot. This invention establishes a closed-loop feedback mechanism from three-dimensional motion parameters to sampling frequency, calculating the joint angular velocity and spatial displacement vector increment in real time. It automatically increases the sampling frequency during high-dynamic movements and reverts to low-frequency sampling during stable periods. Compared to the fixed-rate downsampling of existing technologies, this solution improves the capture capability of critical transition frames in fast movements and reduces information loss caused by sparse sampling, while maintaining controllable computational overhead. This invention outputs SMPL-X format action sequences containing finger joint parameters and generates natural language descriptions including fine manipulation verbs such as grasping, opening, twisting, and pinching through a multimodal large-scale model, establishing a correspondence between hand parameters and semantic descriptions. Compared to existing solutions that only output basic torso parameters, this solution compensates for the structural deficiencies in training data for embodied intelligence large-scale models at the dexterity hand manipulation level, enhancing the model's ability to parse fine manipulation instructions. Attached Figure Description
[0017] Figure 1 This is an architecture diagram of the system for constructing action datasets for embodied intelligent models according to the present invention; Figure 2 This is an architecture diagram of the video preprocessing subsystem of the system for constructing motion datasets for embodied intelligent models according to the present invention; Figure 3 This is an architecture diagram of the human detection and tracking subsystem of the motion dataset construction system for embodied intelligent models in this invention; Figure 4 This is a diagram of the 3D motion reconstruction subsystem architecture of the motion dataset construction system for embodied intelligent models according to the present invention; Figure 5 This is an architecture diagram of the multimodal annotation subsystem of the action dataset construction system for embodied intelligent models in this invention. Detailed Implementation
[0018] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0019] The terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature; in the description of this application, unless otherwise stated, "multiple" means two or more.
[0020] This embodiment illustrates the automatic construction of a "video, action, and text triple dataset" from human motion videos collected from the internet or locally. The triple dataset includes video clips, a three-dimensional sequence of human motion parameters, and a corresponding natural language action description. It can be used to train text-driven human motion generation models, embodied intelligent motion learning models, or humanoid robot motion generation models.
[0021] This invention provides a method for constructing an action dataset for embodied intelligence models, comprising the following steps: S1: Obtain the 3D human motion parameter sequence of the human target in the video clip. The acquisition of the three-dimensional human motion parameter sequence includes: scene segmentation of the input video to obtain video segments; human tracking of the video segments to extract human bounding box sequences with continuous identity identifiers; and three-dimensional human motion reconstruction based on the human bounding box sequences to generate a three-dimensional human motion parameter sequence. The three-dimensional human motion parameter sequence is represented in the format of the SMPL-X human parameter model and includes hand joint parameters.
[0022] Human tracking employs a state estimation-based multi-target tracking framework. When a target is occluded in at least one frame, causing the detection confidence to fall below a detection threshold, a state estimation model is used to predict the target's hidden trajectory to maintain continuous identification of the target. The state estimation model uses a Kalman filter, which predicts the target's state based on its motion state before occlusion, generating the hidden trajectory. Scene segmentation includes: segmenting the input video using a lens boundary detection algorithm; calculating the optical flow information of each scene segment; and removing static segments with average optical flow below a static threshold and abnormal motion segments with optical flow variance above a violent motion threshold.
[0023] Specifically, the system first receives the raw input video, which can be a video file ranging from 10 seconds to 30 minutes in length and 360P to 720P in resolution. Using the PySceneDetect algorithm, with a scene transition detection threshold of θ=27, the system performs shot boundary detection and scene segmentation on the video, obtaining several unfiltered initial segments. For each initial segment, its optical flow information is calculated. The system presets a static threshold of 5px / s average optical flow and a violent motion threshold of 1000 optical flow variance. Segments with an average optical flow below 5px / s are classified as static segments and discarded, while segments with an optical flow variance above 1000 are classified as violently moving segments and discarded. The duration of the retained segments is controlled within the range of 10±2 seconds, which are used as video segments for subsequent processing.
[0024] For each segmented video data, the YOLO-DeepSORT multi-target tracking framework is used for frame-by-frame human detection and tracking. In this embodiment, the DeepSORT tracker is configured with the following parameters: maximum number of frames for trajectory retention (max_age = 70), and minimum number of consecutive frames for confirmed tracking (n_init = 3). When a human target in the video is severely occluded by obstacles in several frames, causing the YOLO detection confidence to drop below the detection threshold of 0.3 or even the detection box to disappear completely, the system does not discard the frame directly. Instead, it activates the Kalman filter built into DeepSORT for state prediction. The Kalman filter recursively predicts the hidden trajectory and bounding box position of the target in the occluded frame based on the target's position coordinates, velocity, acceleration, and other motion state parameters in the frames before occlusion. When the target reappears from behind the occlusion, the system matches the predicted trajectory with the new detection results to restore and maintain the target's continuous identity. Through this mechanism, the system outputs a sequence of human bounding boxes with stable and continuous IDs.
[0025] For each tracked human bounding box sequence with continuous identity markers, the system uses the ViTPose model to extract two-dimensional human keypoints from the bounding box image. In this embodiment, the keypoint validity threshold VIS_THRESH is set to 0.3, and the minimum number of valid keypoints MINIMUM_JOINTS is set to 6. Subsequently, the HMR2 model is used to extract human feature information from the two-dimensional keypoints, and this feature information, along with temporal information, is input into the WHAM model. The WHAM model outputs a standardized three-dimensional human motion parameter sequence. In this embodiment, the output format is forced to be the SMPL-X human parameter model. The SMPL-X format contains complete joint parameters for the torso, limbs, and hands, where the hand parameters include rotational parameters of multiple finger joints in the left and right hands, and the finger joints include at least one of the MCP joint, PIP joint, and DIP joint. This parameter sequence can accurately characterize the fine motor states of the fingers, such as bending, spreading, and pinching.
[0026] S2: Perform kinematic analysis on the three-dimensional human motion parameter sequence and calculate the kinematic parameters of at least one target joint; The kinematic parameters include at least one of joint angular velocity and spatial displacement vector increment; the preset high dynamic conditions include at least one of the following conditions: within the sliding time window, the average joint angular velocity of at least one target joint exceeds a preset angular velocity threshold; the rate of change of spatial displacement vector increment exceeds a preset rate of change threshold.
[0027] Specifically, the system performs frame-by-frame kinematic analysis on the SMPL-X motion sequence output by S1. In this embodiment, the selected target joints include both wrist joints, both ankle joints, and the neck joint. For each target joint, its kinematic parameters relative to the body's center of mass are calculated. These kinematic parameters specifically include the joint angular velocity and the spatial displacement vector increment. The angular velocity ω represents the rate of change of the target joint's angle within adjacent frames or a preset time window, while the spatial displacement vector increment characterizes the change in the target joint's spatial position within adjacent frames or a preset time window. During calculation, the spatial displacement vector increment can be determined based on the three-dimensional coordinate changes of the target joint's position within two adjacent frames or a sliding time window, and the joint angular velocity can be determined based on the rate of change of the target joint's rotation angle within two adjacent frames or a sliding time window.
[0028] S3: Dynamically adjust the sampling frequency of the video segment according to the kinematic parameters. When the kinematic parameters meet the preset high dynamic conditions, the video segment is sampled at the first sampling frequency; otherwise, the video segment is sampled at a second sampling frequency lower than the first sampling frequency to obtain the key frame sequence. The first sampling frequency is set to 10Hz to 30Hz. When the calculated kinematic parameters of all target joints fall back to below the corresponding threshold within a preset number of consecutive frames, and the displacement increment variance is less than the preset stability index, the sampling frequency is restored to the second sampling frequency.
[0029] Specifically, this step establishes a closed-loop feedback mechanism from action parameters to sampling frequency.
[0030] The system presets a sliding time window with a length of 5 frames. Within this window, the kinematic parameters of each target joint are continuously monitored. The preset high-dynamic conditions are triggered by at least one of the following: Condition 1, within the sliding window, the average angular velocity of at least one target joint exceeds a preset angular velocity threshold of 30° / s for three consecutive frames; Condition 2, the rate of change of the spatial displacement vector increment of any target joint exceeds a preset rate of change threshold of 15%. The rate of change is defined as the percentage change in the average displacement increment of the current window relative to the average displacement increment of the previous window.
[0031] When the above high dynamic conditions are detected, the system determines that it is currently in a high-frequency action transition period. At this time, the sampling frequency is instantaneously increased from the normal second sampling frequency to the first sampling frequency. In this embodiment, the second sampling frequency is set to 0.5Hz to 1Hz, the first sampling frequency is set to 10Hz to 30Hz, and the first sampling frequency does not exceed the original frame rate of the video segment. In high-frequency mode, the system performs intensive sampling of the video segment frame by frame or every other frame to ensure that every critical transition moment of the high dynamic action is captured.
[0032] The conditions for exiting high-frequency mode are as follows: within 10 consecutive frames, the calculated kinematic parameters of all target joints fall below the corresponding thresholds, i.e., the mean angular velocity is below 30° / s and the rate of change of displacement increment is below 15%, while the variance of displacement increment is less than the preset stability index. The preset stability index is used to characterize the stability of the displacement change of the target joint within consecutive frames, and it can be preset based on the statistical results of training samples or empirical thresholds. When all the above exit conditions are met, the system determines that the action has returned to a stable period, and the sampling frequency is restored to the second sampling frequency.
[0033] If multiple joints trigger high-frequency conditions simultaneously, the system performs logical merging, using the frame containing the joint with the highest trigger intensity as a reference, and performs a full snapshot capture of the whole-body SMPL-X parameters at that moment. Through the above adaptive adjustment, a series of keyframes are finally selected from the video clips to form a keyframe sequence.
[0034] S4: Use a multimodal large model to generate descriptions of keyframe sequences to obtain natural language action descriptions; Specifically, the keyframe sequence obtained in S3 is input into the distributed multimodal large model in chronological order. This embodiment uses the Qwen2.5-VL-3B-Instruct model. The system provides hierarchical prompts to the large model to constrain it to generate local micro-motion descriptions from the following three dimensions: upper body movements, including the spatial pose and motion state of the shoulder, elbow, and wrist joints; lower body movements, including gait type, lower limb joint activity, and center of gravity transfer; and hand movements, where, when hand movements exist in the keyframe sequence, the hand movement description includes at least one fine manipulation verb among grasping, opening, twisting, and pinching.
[0035] For example, for a keyframe of a grasping action, the large model might output the following description: "Upper body: Right shoulder flexed forward about 30 degrees, elbow extended, forearm internally rotated, right hand fingers spread and then quickly closed. Lower body: in a lunge position, weight shifted forward to the left leg. Hand: performing a grasping action, thumb and index finger tips in contact, the other three fingers naturally bent." S5: Based on the time index corresponding to the keyframe sequence, the natural language action description and the 3D human action parameter sequence are time-aligned to construct a video, action and text triplet dataset.
[0036] The system establishes a timestamp matrix, performs semantic decomposition on the descriptions generated by S4, and establishes alignment relationships between sub-actions and parameter sequences. The timestamp matrix structure is as follows:
[0037] in, Used as a unique identifier for sub-actions. For the start and end frame indices corresponding to the action, For the corresponding text description fragment, To align the confidence levels, T represents the timestamp matrix.
[0038] Alignment granularity: Alignment granularity is achieved using sub-action windows. For complex actions, the system breaks down long descriptions into multiple semantic phrases, such as "reach out," "grab," and "recycle." Based on the input order of the keyframe sequence, the timestamps corresponding to the keyframes, and the order of semantic fragments output by the multimodal large model, the system determines the candidate action frame intervals corresponding to each semantic fragment. For cases where candidate intervals overlap or are uncertain, the attention weights of the multimodal large model or image-text similarity can be used to correct the candidate action frame intervals.
[0039] Alignment error range: The system allows a temporal alignment error range of ±2 frames. When the alignment error between a semantic segment and the corresponding time interval in the 3D human motion parameter sequence exceeds ±2 frames, the system reduces the alignment confidence of the semantic segment or marks the corresponding sample as a sample to be reviewed.
[0040] To address the need for dexterous robot operation, this solution involves specific modeling of the SMPL-X hand parameters: Core fields: Primarily storing the rotation vectors of the 15 finger joints (including MCP, PIP, and DIP joints) in the SMPL-X model. The parameters directly reflect the degree of bending and spreading of the fingers.
[0041] Textual representation: Preset multimodal model prompts, with hand action description constraints set in the prompts, so that the generated results include at least one of the fine operation verbs such as "grab", "open", "twist", and "pinch".
[0042] Mapping Relationships: Establish a "description-parameter" mapping table. For example, the "pinch" action is mapped to a specific range of coordinated contraction of the index finger and thumb joint angles; "twisting" is mapped to the periodic fluctuations of the global wrist rotation parameters. This mapping enhances the VLA model's ability to interpret fine commands.
[0043] This embodiment also includes a sample quality control step. To ensure the training usability of the video, action, and text triplet dataset, the system executes the following filtering rules: Tracking continuity filtering: If YOLO-DeepSORT experiences continuous interruptions for more than 15 frames within a single segment (and Kalman filtering cannot effectively compensate for this), the action sequence is determined to be incomplete, and the sample is automatically removed.
[0044] Visibility assessment: For hand operations, if the average visibility score of hand key points in the segment is less than 40%, the sample will not be used as a fine manipulation training set, and only basic trunk movements will be retained.
[0045] Jump detection: Calculate the second derivative of the SMPL-X parameters in time. If an unnatural sudden "transition" or parameter jump occurs (exceeding the physical constraints), the system will attempt a smooth reconstruction. If the reconstruction fails, the parameter will be discarded.
[0046] Semantic consistency audit: The video is classified using an offline visual classifier. If the predicted class conflicts with the caption generated by the multimodal model (e.g., the video is "walking" but the caption is "running"), the sample will be marked as invalid.
[0047] Evaluation using an internal test set (containing 1000 sets of complex interactive videos) demonstrated significant advantages: Action sequence continuity: After introducing DeepSORT state prediction compensation, the motion trajectory breakage rate was reduced by 64% compared with the processing method without state prediction compensation, and the generated SMPL-X data is smoother in robot dynamics simulation.
[0048] Key action retention rate: In fast actions such as "grabbing and throwing", the adaptive closed-loop sampling mechanism improves the capture rate of key visual information by 42%, effectively solving the "information gaps" caused by fixed frame skipping.
[0049] Hand description coverage: Compared with the ordinary SMPL output scheme, the effective coverage of hand actions in the text description generated by this scheme is increased from less than 10% to more than 85%, which provides core support for the refined training of VLA model.
[0050] Furthermore, the above-described method for constructing action datasets for embodied intelligent models can be implemented by an action dataset construction system for embodied intelligent models. See also... Figures 1 to 5 The system includes a motion parameter acquisition module, a kinematic analysis module, an adaptive sampling module, a motion description generation module, and a time alignment module. Data is transferred between modules in the following order: video clips, 3D human motion parameter sequences, kinematic parameters, keyframe sequences, natural language motion descriptions, and video-motion-text triplet datasets.
[0051] The motion parameter acquisition module is used to acquire the 3D human motion parameter sequence of human targets in video clips. This module corresponds to the Video2Motion module in the diagram, and includes a video preprocessing subsystem, a human detection and tracking subsystem, and a 3D motion reconstruction subsystem. The video preprocessing subsystem performs scene segmentation, dynamic filtering, and standardized cutting on the input video to obtain video clips. The human detection and tracking subsystem detects and tracks human targets in the video clips, outputting a sequence of human bounding boxes with continuous identification. The 3D motion reconstruction subsystem performs pose estimation and 3D motion modeling based on the human bounding box sequence, outputting a 3D human motion parameter sequence.
[0052] In one implementation, the video preprocessing subsystem includes a scene segmentation unit, a dynamic filtering unit, and a normalization segmentation unit. The scene segmentation unit uses a shot boundary detection algorithm to segment the input video into scenes, such as the PySceneDetect algorithm, with a scene transition detection threshold set to 27. The dynamic filtering unit calculates the optical flow information of each scene segment and filters video segments based on average optical flow and optical flow variance. The normalization segmentation unit controls the filtered video segments to be within a range of 10 ± 2 seconds for subsequent human tracking, 3D motion reconstruction, and motion description generation.
[0053] In one implementation, the human detection and tracking subsystem employs the YOLO-DeepSORT framework, with the following parameter configurations: the maximum number of frames for trajectory retention (max_age) is set to 70, the minimum number of consecutive frames for confirmed tracking (n_init) is set to 3, the maximum number of tracked targets (nn_budget) is set to 100, and the minimum bounding box area ratio (min_bbox_ratio) is set to 0.1. Through these parameter configurations, the human detection and tracking subsystem can maintain the continuous identification of human targets even in situations of short-term target occlusion, brief loss of human bounding boxes, or multiple people crossing over. Specifically, when a human target is occluded for at least one frame, causing the detection confidence to fall below the detection threshold, the human detection and tracking subsystem can predict the target's hidden trajectory using a state estimation model to perpetuate the human target's identification.
[0054] In one implementation, the 3D motion reconstruction subsystem includes a target detection unit, a pose estimation unit, a keypoint result processing unit, a feature extraction unit, and a motion modeling unit. The target detection unit identifies human target regions in video frames; the pose estimation unit estimates 2D human keypoints within these target regions; the keypoint result processing unit generates keypoint results corresponding to the human target in the current video segment; the feature extraction unit extracts human pose features based on the human image and keypoint results; and the motion modeling unit combines temporal information to perform 3D human motion modeling and outputs a 3D human motion parameter sequence in SMPL-X format.
[0055] In one implementation, the key parameters of the 3D motion reconstruction subsystem include: a keypoint effective threshold (VIS_THRESH) set to 0.3, an object detection confidence score (BBOX_CONF) set to 0.5, a tracking effective threshold (TRACKING_THR) set to 0.1, a minimum number of matching frames (MINIMUM_FRAMES) set to 90, and a minimum number of effective keypoints (MINIMUM_JOINTS) set to 6. The keypoint effective threshold is used to determine whether 2D human keypoints are valid; the object detection confidence score is used to filter low-confidence human detection boxes; the tracking effective threshold is used to filter tracking results; and the minimum number of matching frames and the minimum number of effective keypoints are used to eliminate low-quality motion segments with insufficient temporal length or insufficient human keypoints.
[0056] The data generated by the motion parameter acquisition module can be saved according to a preset storage specification. Specifically, video clips are saved as images / clip_mp4, human keypoints and tracking results are saved as keypoints / track_pkl, and 3D human motion parameter sequences are saved as pkl / smplx_pkl. This storage specification allows the system to manage video-side data, keypoint tracking data, and motion parameter data in a hierarchical manner, facilitating the subsequent construction of a video-motion-text triplet dataset by the time alignment module.
[0057] The kinematic analysis module receives the three-dimensional human motion parameter sequence output by the motion parameter acquisition module and performs kinematic analysis on the sequence to calculate the kinematic parameters of at least one target joint. The kinematic parameters include at least one of joint angular velocity and spatial displacement vector increment. Specifically, the kinematic analysis module can determine the degree of motion change of the target joint based on the changes in target joint position and posture within adjacent frames or sliding time windows in the three-dimensional human motion parameter sequence, and outputs the calculated kinematic parameters to the adaptive sampling module as feedback for adjusting the sampling frequency.
[0058] The adaptive sampling module dynamically adjusts the sampling frequency of video segments based on the kinematic parameters output by the kinematic analysis module, and obtains a keyframe sequence. Combined with... Figure 5 As shown, the adaptive sampling module corresponds to the keyframe extraction unit in the diagram. The keyframe extraction unit includes a uniform sampling subunit and a dynamic sampling subunit. The uniform sampling subunit is used to extract keyframes at fixed time intervals, such as sampling one frame every 2 seconds; the dynamic sampling subunit is used to sample according to the dynamic changes of the video clip, such as using auxiliary dynamic sampling based on the optical flow rate of change, with the optical flow rate of change threshold δ set to 0.15.
[0059] Furthermore, the dynamic sampling subunit also receives kinematic parameters output by the kinematic analysis module and adjusts the sampling frequency based on at least one of the joint point angular velocity and spatial displacement vector increment of the target joint. Specifically, when the kinematic parameters meet the preset high dynamic conditions, the adaptive sampling module samples the video segment at a first sampling frequency; when the kinematic parameters do not meet the preset high dynamic conditions, the adaptive sampling module samples the video segment at a second sampling frequency lower than the first sampling frequency. Thus, the adaptive sampling module can both correspond to the uniform sampling and dynamic sampling functions shown in the figure and realize sampling frequency adjustment based on kinematic feedback.
[0060] The action description generation module utilizes a multimodal large model to generate descriptions of keyframe sequences, resulting in natural language action descriptions. Combined with... Figure 1 and Figure 5 As shown, the action description generation module can correspond to the Video2Caption module or the multimodal annotation system in the figure. It includes a multimodal large-scale model inference unit and a description generation and optimization unit. The multimodal large-scale model inference unit is used for multimodal understanding and text generation of keyframe sequences; the description generation and optimization unit is used to organize the generated natural language action descriptions to include global action descriptions and local action detail descriptions.
[0061] In one implementation, the multimodal large model inference unit employs the Qwen2.5-VL-3B model and processes keyframe sequences in parallel across multiple servers. For example, four servers can be used to execute multimodal annotation tasks in parallel to improve batch processing efficiency. In one specific configuration, the parallel processing capacity of four servers can reach approximately 36,000 records per day. The description generation and optimization unit can also manually review a preset percentage of samples, such as 5% of the samples, to correct obvious errors or incomplete descriptions in the natural language action descriptions.
[0062] In one implementation, the description generation and optimization unit can generate natural language action descriptions by combining hierarchical prompts. The natural language action descriptions include global action descriptions and local action detail descriptions. Local action detail descriptions can include upper body movements, lower body movements, changes in center of gravity, and fine hand movements. When hand movements are present in the keyframe sequence, the natural language action description can include at least one of the fine-operation verbs such as grasping, opening, twisting, and pinching.
[0063] The time alignment module is used to align the natural language action descriptions output by the action description generation module with the 3D human motion parameter sequences output by the action parameter acquisition module based on the time indices corresponding to the keyframe sequences, thus constructing a video, action, and text triple dataset. Specifically, the time alignment module can split the natural language action descriptions into multiple semantic segments and establish the association between the semantic segments and the action parameters within the corresponding time intervals based on the time indices of the keyframe sequences, the video frame indices, and the parameter indices of the 3D human motion parameter sequences.
[0064] In one implementation, the time alignment module establishes a timestamp matrix. Each alignment record in the timestamp matrix includes a sub-action identifier, a start frame, an end frame, a corresponding action parameter index, a text description fragment, and an alignment confidence score. Using this timestamp matrix, the system can organize video clips, 3D human motion parameter sequences, and natural language action descriptions into video, action, and text triplet data samples. The time alignment module can also adjust the alignment confidence score based on the alignment error, or mark samples with alignment errors exceeding a preset range as samples requiring review.
[0065] Furthermore, the system may also include a quality control module. This module filters the video, motion, and text triplet data samples generated by the time alignment module. The quality control module can perform at least one of the following: tracking continuity filtering, visibility assessment, parameter jump detection, and semantic consistency auditing. When a sample exhibits continuous interruptions in human tracking, insufficient visibility of hand keypoints, abnormal jumps in 3D human motion parameters, or a consistency score between the natural language action description and the video action category that is lower than a preset consistency threshold, the quality control module will remove the corresponding sample, mark it as invalid, or mark it as a sample requiring review.
[0066] Through the above system architecture, the motion parameter acquisition module generates motion-side data, the motion description generation module generates text-side data, the kinematic analysis module and the adaptive sampling module provide feedback adjustment to keyframe sampling based on motion changes in the 3D human motion parameter sequence, and the time alignment module establishes a temporal correspondence between video clips, the 3D human motion parameter sequence, and the natural language motion description. Therefore, the system can... Figures 1 to 5Under the overall architecture shown, a dataset of video, motion, and text triples based on kinematic feedback is constructed.
[0067] The above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit it. This application is not limited to the exact structures described above and illustrated in the accompanying drawings, and it should not be considered that the specific implementation of this application is limited to these descriptions. For those skilled in the art, various changes and modifications made without departing from the concept of this application should be considered to fall within the protection scope of this application.
Claims
1. A method for constructing an action dataset for embodied intelligent models, characterized in that, include: S1: Obtain the sequence of three-dimensional human motion parameters of the human target in the video clip; S2: Perform kinematic analysis on the three-dimensional human motion parameter sequence and calculate the kinematic parameters of at least one target joint; S3: Dynamically adjust the sampling frequency of the video segment according to the kinematic parameters. When the kinematic parameters meet the preset high dynamic conditions, the video segment is sampled at a first sampling frequency; otherwise, the video segment is sampled at a second sampling frequency lower than the first sampling frequency to obtain a keyframe sequence. S4: Use a multimodal large model to generate a description of the keyframe sequence to obtain a natural language action description; S5: Based on the time index corresponding to the keyframe sequence, the natural language action description and the three-dimensional human action parameter sequence are time-aligned to construct a video, action and text triplet dataset.
2. The method for constructing an action dataset for an embodied intelligent model according to claim 1, characterized in that, The kinematic parameters mentioned in S2 include at least one of joint angular velocity and spatial displacement vector increment; The preset high dynamic conditions include at least one of the following conditions: Within the sliding time window, the average joint point angular velocity of at least one target joint exceeds a preset angular velocity threshold. The rate of change of the spatial displacement vector increment exceeds a preset rate of change threshold.
3. The method for constructing an action dataset for an embodied intelligent model according to claim 2, characterized in that, In S3, the first sampling frequency is set to 10Hz to 30Hz; When the calculated kinematic parameters of all target joints fall below the corresponding threshold within a preset number of consecutive frames, and the variance of displacement increment is less than the preset stability index, the sampling frequency is restored to the second sampling frequency.
4. The method for constructing an action dataset for an embodied intelligent model according to claim 1, characterized in that, The acquisition of the three-dimensional human motion parameter sequence described in S1 includes: The input video is segmented to obtain the video segment; Human body tracking is performed on the video clips to extract a sequence of human bounding boxes with continuous identity identifiers; Based on the human bounding box sequence, a three-dimensional human motion reconstruction is performed to generate the three-dimensional human motion parameter sequence. The three-dimensional human motion parameter sequence is represented in the format of the SMPL-X human parameter model and includes hand joint parameters.
5. The method for constructing an action dataset for an embodied intelligent model according to claim 4, characterized in that, The human tracking adopts a multi-target tracking framework based on state estimation; when the target is occluded in at least one frame, causing the detection confidence to fall below the detection threshold, the hidden trajectory of the target is predicted using the state estimation model to maintain the continuous identity of the target.
6. The method for constructing an action dataset for an embodied intelligent model according to claim 5, characterized in that, The state estimation model employs a Kalman filter, which predicts the state of the target before it is occluded, thereby generating the hidden trajectory.
7. The method for constructing an action dataset for an embodied intelligent model according to claim 4, characterized in that, The scene segmentation includes: segmenting the input video into scenes using a lens boundary detection algorithm; calculating the optical flow information of each scene segment; and removing static segments with an average optical flow lower than the static threshold and abnormal motion segments with an optical flow variance higher than the violent motion threshold.
8. The method for constructing an action dataset for an embodied intelligent model according to claim 1, characterized in that, The video, action, and text triplet dataset is constructed using a timestamp matrix, which includes sub-action identifiers, start frames, end frames, semantic segments, corresponding pose parameter indices, and alignment confidence. The allowable alignment error between the semantic segments and the pose parameters in the corresponding time interval of the 3D human action parameter sequence is within ±2 frames.
9. The method for constructing an action dataset for an embodied intelligent model according to claim 1, characterized in that, Also includes: An offline action classifier is used to predict the category of video segments, and a consistency score between the predicted category and the natural language action description is calculated. When the consistency score is lower than a preset consistency threshold, the corresponding sample is marked as invalid.
10. A system for constructing an action dataset for embodied intelligent models, used in the method described in any one of claims 1-9, characterized in that, include: The motion parameter acquisition module is used to acquire the three-dimensional human motion parameter sequence of human targets in video clips; The kinematic analysis module is used to perform kinematic analysis on the three-dimensional human motion parameter sequence and calculate the kinematic parameters of at least one target joint. An adaptive sampling module is used to dynamically adjust the sampling frequency of the video segment according to the kinematic parameters and obtain a keyframe sequence; The action description generation module is used to generate descriptions of the keyframe sequence using a multimodal large model to obtain natural language action descriptions; The time alignment module is used to align the natural language action description with the three-dimensional human action parameter sequence based on the time index corresponding to the keyframe sequence, and construct a video, action, and text triplet dataset.
Citation Information
Patent Citations
Method and system for generating 3D (three-dimensional) human motion under text driving by using 2D (two-dimensional) video
CN120876683A
Human body action data set construction method and electronic equipment
CN120932039A
