Sequence semantic recognition method and system generated by multi-modal timing segmentation semantic constraint

By combining time-series blocks and local multi-head self-attention, along with background category posterior probability and recognition confidence, the inconsistency problem in the recognition and generation of continuous multimodal time-series data is solved, achieving highly accurate semantic recognition and generation.

CN123182231APending Publication Date: 2026-11-27SHANDONG UNIV OF SCI & TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202611708858.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-11-02
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing technologies struggle to simultaneously account for short-term local changes and longer contexts when processing continuous multimodal time-series data. Multi-stage refinement can easily lead to error accumulation, inconsistent category boundary recognition, and a lack of structured semantic constraints and reliability verification in the generated models, resulting in inaccurate recognition results and semantic errors.

Method used

A sequence semantic recognition method using multimodal temporal segmentation semantic constraints is proposed. By combining hybrid temporal blocks, local multi-head self-attention, and progressive refinement stages, along with background category posterior probabilities and recognition confidence, online start-stop control and structured semantic constraints are implemented to ensure the reliability and semantic consistency of the generated model.

Benefits of technology

It achieves accurate identification and reliable generation of continuous time-series data, reduces error accumulation, improves the accuracy and semantic consistency of identification and generation, and forms an end-to-end reliability mechanism.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123182231A_ABST
    Figure CN123182231A_ABST
Patent Text Reader

Abstract

The application discloses a sequence semantic recognition method and system generated by multi-modal time sequence segmentation semantic constraint, and relates to the field of neural network time sequence data processing. After continuous multi-modal time sequence data is aligned and normalized, the time sequence segmentation neural network is input, and the category probability containing a background category is output at each sampling position; the activity probability is constructed from the background category posterior, and the sequence start and end are determined online; the same sampling positions are combined into candidate segments and filtered and merged, so that a semantic unit sequence and a recognition confidence are obtained; the input quality gate is executed according to the recognition confidence; the structured semantic constraint containing a person, an action role, a negation, a question, a quantity and a sentence division relationship is extracted; a model generates a candidate text, and the candidate texts are jointly sorted according to model scores and semantic fidelity; consistency checking is performed on the first candidate in the sorting, the search is expanded and re-decoded when there is a serious conflict, and the recognition is rejected when the condition is still not met. The recognition reliability is transmitted to the generation stage, and the risk that semantic distortion is covered by fluent text is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the fields of neural network time-series data processing and natural language generation technology in artificial intelligence. Specifically, it relates to a method and system for performing sample-by-sample position category prediction, progressive probability refinement, time-series segment decoding, and reliability calculation on continuous multimodal time-series data, and for controlling the generation model to complete natural language reconstruction based on recognition reliability and structured semantic constraints. Background Technology

[0002] For continuous data such as video, human motion, industrial sensing, and wearable time series, traditional methods often first use a fixed threshold or sliding window to capture a complete action, and then perform single-class classification on the captured segment. The recognition results of this type of method are highly dependent on the quality of the initial segmentation. When there is no obvious static interval between actions, a fixed threshold is prone to causing missed segments, over-segmentation, or boundary offset.

[0003] In recent years, recurrent neural networks, temporal convolutional networks, Transformers, and multi-stage temporal segmentation networks have begun to directly predict the sampled positions of continuous sequences, enabling models to learn class states and class switching processes simultaneously within a unified network. For example, CN117058750B discloses a Transformer sign language segmentation method based on human skeleton input, and employs a multi-stage temporal segmentation approach to refine continuous predictions. Therefore, continuous dense prediction and post-prediction refinement have become important development directions in current temporal recognition technologies.

[0004] Classification in continuous temporal sequences typically relies on both short-term local changes and longer-term context. Temporal convolution can extract local dynamic features with low computational cost, and dilated convolution can further expand the receptive field. Self-attention can adaptively establish associations between different temporal positions based on context, but the computational cost of global self-attention increases quadratically with the sequence length. In scenarios such as multimodal low-dimensional sensing sequences, different modalities have different rates of change, noise features, and semantic contributions. Relying solely on a single convolutional scale is insufficient to simultaneously cover instantaneous changes and complete semantic units, while using only global attention may introduce high computational cost and long-distance associations irrelevant to the task.

[0005] Some multi-stage temporal segmentation methods primarily use the class probabilities from the previous stage as input in subsequent stages, continuously refining the prediction boundaries to smooth them out. While this approach leverages the class distribution already established in the previous stage, if the current stage input consists only of class probabilities, the fine-grained motion information in the original multimodal sequence may be weakened during the progressive refinement process. If a previous stage generates a high-confidence erroneous prediction in a local region, subsequent stages may continue to refine based on this erroneous result, leading to error accumulation.

[0006] Discrete semantic units obtained from continuous temporal recognition often still need to be further converted into text that conforms to the grammar and expression habits of natural language. Publicly available solutions such as CN119131900A and CN119785439B have already involved using generative language models or cross-modal language generators to complete the conversion of sign language information into natural language, indicating that using generative models to complete word order adjustment and natural language reconstruction is itself a development direction of related technologies. However, existing hierarchical processing usually uses the discrete labeled text output by the front end directly as the input of the back-end generative model. The class-by-class probability, segment stability, and recognition uncertainty of the front end often do not continue to affect natural language generation; the generative model has strong language prior, and even if there are erroneous semantic units in the input, it may still generate grammatically correct but semantically skewed sentences.

[0007] In summary, existing technologies have at least the following drawbacks. First, a single temporal modeling structure cannot simultaneously accommodate short-term local changes and longer contexts, necessitating the construction of hybrid temporal modeling units with hierarchical receptive fields while maintaining local contextual constraints. Second, multi-stage refinement, if relying solely on preceding probabilities, is prone to original information decay and error accumulation, requiring the establishment of a dual-input refinement mechanism where preceding probabilities provide category context and shared original features continuously provide source information.

[0008] Third, dense prediction may result in short-term class jumps at class boundaries, noisy sampling points, and local uncertain regions. Direct splicing can lead to problems such as excessively short pseudo-fragments, brief background cut-offs of the same class, and repeated outputs. Fourth, inconsistencies can easily occur when online sequence start and end detection and class recognition use different criteria: when start and end judgments rely on fixed thresholds of the original signal while class recognition is performed by a neural network, the two sets of criteria may not be consistent regarding the effective or background state at the same moment.

[0009] Fifth, uncertainty in front-end recognition is usually not passed across modules to the generation stage. Existing systems discard probability information after determining discrete labels, and the back-end generation model cannot distinguish between high-reliability and low-reliability inputs. Low-quality recognition results may still be forcibly reconstructed into fluent text. Sixth, the extraction of structured semantic constraints and the consistency verification after generation lack an executable continuous verification mechanism. Only requiring the generation model to maintain the original meaning is a functional goal and cannot be explicitly verified.

[0010] Seventh, selecting candidates solely based on the generator model score tends to favor language fluency while neglecting semantic fidelity. The generator model score primarily reflects the model's conditional probability of the candidate text, but does not directly guarantee that the candidate retains all the key semantics of the input. Eighth, the lack of an end-to-end reliability mechanism that connects recognition, reliability, generation, verification, and rejection means that even a simple chaining of the recognition and generation models can amplify local errors, and the system cannot stop outputting when the core semantics are inconsistent. Summary of the Invention

[0011] To address the aforementioned deficiencies in existing technologies, the present invention aims to provide a sequence semantic recognition method and system for generating semantic constraints based on multimodal temporal segmentation. Through online start and end control of background posterior homology, cross-module transfer of recognition confidence, and candidate evaluation and continuous verification driven by structured semantic constraints, continuous temporal recognition results can be reliably converted into semantically faithful natural language text.

[0012] To solve the above-mentioned technical problems, the present invention adopts the following technical solution: A sequence semantic recognition method, characterized in that it includes: The continuous multimodal temporal sequence that has been time-aligned and normalized is input into the temporal segmentation neural network, and the class probability containing the background class is output at each sampling position to obtain the dense class probability; The activity probability of each sampling location is constructed based on the posterior probability of the background category, and the start and end of the valid sequence are determined online. Sampling positions that continuously belong to the same non-background category are combined into candidate segments. These segments are then filtered and merged based on their duration and the posterior probability of the category within the segment, resulting in a semantic unit sequence and the recognition confidence of each semantic unit. Input quality gating is performed on the semantic unit sequence based on the recognition confidence level; Structured semantic constraints, including characters, action roles, belonging relationships, negation, interrogation, quantity, and clause relationships, are extracted from the semantic unit sequence that passes through the input quality gating. The semantic unit sequence is input into the generation model to obtain one or more candidate texts; Candidate texts are jointly ranked based on the model score of the generated model and the semantic fidelity based on the structured semantic constraints; Perform a semantic consistency check on the top-ranked candidate text. If there is a serious semantic conflict, expand the search scope, re-decode and merge the candidates, re-rank and check them. If there is still a serious semantic conflict, reject the candidate.

[0013] Furthermore, the temporal segmentation neural network includes an initial prediction stage and at least one progressive refinement stage; the initial prediction stage classifies the shared temporal features extracted from the original input to obtain initial class probabilities; each progressive refinement stage maps the class probabilities of the previous stage through a projection layer, fuses them position by position with the shared temporal features, and then obtains the class probabilities of the current stage through temporal modeling and classification; the class probabilities output by the last progressive refinement stage are used as the dense class probabilities.

[0014] Furthermore, the initial prediction stage and each progressive refinement stage are composed of multiple cascaded hybrid temporal blocks; each hybrid temporal block sequentially includes a dilated depth-separable temporal convolution, a local multi-head self-attention network, and a feedforward network, and each substructure is configured with normalization, random deactivation, and residual connections; the dilation rate of multiple hybrid temporal blocks is set hierarchically according to the block number and cyclically to form different temporal perception ranges.

[0015] Furthermore, the temporal segmentation neural network also includes a boundary auxiliary head, which outputs the boundary probabilities of the start and end positions of the candidate segments; the boundary probabilities are used as auxiliary supervision during the training phase and to correct the boundaries of the candidate segments.

[0016] Furthermore, the filtering and merging includes: the duration of candidate segments is not less than the shortest duration, and the average value of the class posterior probability within the segment is not less than the segment survival threshold; when adjacent candidate segments of the same type are separated only by background or local abnormal categories not exceeding a set length, the two are merged and the recognition confidence of the merged segment is recalculated.

[0017] Furthermore, the fragment survival threshold and the gating threshold of the input quality gating are configured independently of each other; in an implementation that requires the transmission of low-reliability semantic units across modules, the fragment survival threshold is lower than the gating threshold, so that semantic units with recognition confidence between the two thresholds enter the semantic unit sequence and are uniformly determined by the input quality gating.

[0018] Furthermore, the extraction of the structured semantic constraints includes: identifying individual character words, merging group words, and action words in the semantic unit sequence using a semantic lexicon; when there are character words before and after an action word, taking the nearest character word before the action word as the subject and the nearest character word after the action word as the object; when an action word is located at the beginning of a section and two different character words appear in sequence after it, restoring the semantic roles in the order of action, object, and subject; and forming sentence prompts that need to be retained independently by combining deterministic lexicons.

[0019] Furthermore, the joint ranking includes: reading the sequence scores of the candidate texts returned by the generation model, normalizing them within the same candidate batch to obtain the model score; calculating the semantic fidelity of the candidate texts according to the structured semantic constraints, adding points when the candidate texts retain verifiable structural relationships, and deducting points when there are errors or omissions in characters, action roles, belonging relationships, negation, questions, quantities, or key clauses; adding the model score and the semantic fidelity to obtain a comprehensive score, and ranking them from high to low according to the comprehensive score.

[0020] Furthermore, the expanded search scope and re-decoding includes: the first decoding uses a first search level; if the candidate text ranked first has serious semantic conflicts, switch to a second search level to expand the search scope and the number of candidates, merge the new candidates with the existing candidates, and then re-sort and check them; if serious semantic conflicts still exist, switch to a third search level to expand again; if serious semantic conflicts still exist after the third search level is completed, then reject the candidate.

[0021] Furthermore, it also includes conservative repair of the semantic unit sequence: only the minimum edit candidates for deleting suspected redundant semantic units are generated, and modification protection is set for semantic units of people, negation, question, and quantity; the higher the identification confidence of the semantic unit, the higher the modification cost, and the semantic units with low identification confidence and low semantic risk are given priority to enter the candidate repair; the repair result is applied only when the comprehensive score after repair meets the set improvement conditions.

[0022] Furthermore, the present invention also provides a sequence semantic recognition system, comprising: The data input module is configured to receive continuous multimodal time-series data; The preprocessing module is configured to perform time alignment, normalization, and effective location mask construction. The temporal segmentation and recognition module is configured to output the category probability containing the background category at each sampling position by the temporal segmentation neural network and perform progressive probability refinement; The segment decoding module is configured to obtain the semantic unit sequence and the recognition confidence of each semantic unit based on the category probability refined by progressive probability. The reliability and semantic constraint module is configured to perform input quality gating and extract structured semantic constraints based on the recognition confidence level. The generation module is configured to input the semantic unit sequence into the generation model to obtain candidate text; The candidate validation module is configured to jointly rank candidate texts based on model scores and semantic fidelity, and perform semantic consistency checks, expand the search scope for re-decoding, or reject the text.

[0023] Compared with the prior art, the present invention has the following beneficial technical effects: First, the hybrid temporal blocks expand the temporal receptive field with a hierarchical expansion rate. Local multi-head self-attention aggregates the context within a fixed local window, thereby simultaneously utilizing short-term changes and longer-term relationships. Moreover, the computational cost of local attention increases approximately linearly with the window length as the sequence length grows, making it suitable for continuous sequence computation. Each progressive refinement stage re-injects shared temporal features extracted from the original input in addition to the class probabilities of the previous stage. This allows the probabilistic context and source temporal information to jointly drive subsequent corrections, reducing error accumulation and progressive deviation when relying solely on previous probabilities.

[0024] Secondly, the activity probability is constructed using the posterior background category, and online sequence start and end control is achieved by combining continuous confirmation, start reservation and background reset. Category recognition and start and end judgment share the same neural network probability output, reducing the inconsistency between the two sets of state criteria. Dense predictions are transformed into stable temporal semantic units by using the shortest duration, average segment probability and adjacent similar interval rules. Segment-level confidence retains the front-end uncertainty, providing a calculable basis for subsequent quality control.

[0025] Furthermore, the confidence level is passed from the recognition module to the generation module, directly controlling the backend generation permission and repair scope. Characters, action roles, group roles, ownership relationships, negation, questions, quantity, and clause relationships are explicitly converted into structured constraints and participate in candidate scoring and post-generation consistency checks. Compared to relying solely on the sequence probability of the language model, this approach can directly detect semantic errors such as subject-object interchange, missing negation, quantity changes, and omission of core clauses.

[0026] Finally, when a candidate has a serious semantic conflict, the search scope is expanded step by step and the decoding is re-decoded. When semantic consistency cannot be guaranteed, the candidate is actively rejected, forming an end-to-end reliability mechanism from recognition and reliability calculation to constrained generation, consistency verification and rejection. Through case verification, the recognition network and semantic reconstruction module have achieved high recognition and regression pass rates on the controlled dataset, significantly reducing the probability of serious semantic errors being directly output. Attached Figure Description

[0027] Figure 1 The structure diagram of the MPS-Net multimodal progressive temporal segmentation network is shown below. Figure 2 This is the internal structure of a hybrid timing block; Figure 3 This is a flowchart illustrating the generation process based on recognition reliability and structured semantic constraints. Figure 4 To obtain a schematic diagram of the main control board and key components; Figure 5 Here is a picture of the complete left and right gloves; Figure 6 Close-up of the joint where the LIGEcoflex flexible sensor is attached; Figure 7 (a) is the normalized curve of the left-handed flexible sensor channel, and (b) is the normalized curve of the right-handed flexible sensor channel. Figure 8 (a) is the left-hand triaxial acceleration curve, and (b) is the right-hand triaxial acceleration curve. Figure 9 (a) is the left-handed three-axis angular velocity curve; (b) is the right-handed three-axis angular velocity curve. Detailed Implementation

[0028] The technical solution of the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only for explaining the present invention and are not intended to limit the scope of protection of the present invention.

[0029] The core technology of this invention is the computational model and its data processing flow. Input data can be provided by one or more external data sources, as long as it can form a multimodal continuous feature sequence with a unified temporal order. In one specific application embodiment, the input is biphasic time-series data of continuous sign language movements, but the specific sensor materials, acquisition chips, wireless communication devices, and terminal hardware do not constitute the core technical features of this invention. The external data acquisition device is only used to provide continuous multimodal time-series data to this invention and is not limited in its sensor materials, acquisition chips, communication protocols, or terminal form; each algorithm module can be deployed on the same computing device or distributed across different computing nodes, as long as the calculations are completed sequentially according to the data interface described below. As a non-limiting example, the above-mentioned external data acquisition device can be implemented using wearable data gloves: the overall structure of the left and right gloves is as follows... Figure 5 As shown; the connection relationship of the acquisition main control board and its key components is as follows. Figure 4 As shown, the main control board acquires signals from the flexible sensor via a multi-channel analog-to-digital converter chip, obtains acceleration and angular velocity via an inertial sensor, and completes wireless transmission via a Bluetooth module; the flexible sensor is attached to the hand joint in the following manner: Figure 6 As shown.

[0030] For clarity, the terms and symbols used in this embodiment will be explained first.

[0031] Dense prediction: A prediction method that outputs the class probability for each sampling position of a continuous input sequence, also known as sampling position prediction.

[0032] Background category: This indicates that the current sampling position does not belong to the category of valid semantic units that need to be output, including inter-sentence background, action recovery, and transition regions that do not constitute independent semantics. In this implementation, it is denoted as BACKGROUND.

[0033] Semantic unit: The semantic category label corresponding to the temporal segment obtained by aggregating sampling positions that are consecutively in time and belong to the same non-background category; in the continuous sign language implementation, Gloss label encoding can be used, and the label name and encoding method are not limited.

[0034] Shared temporal features: Temporal features extracted from the original multimodal input through feature mapping and hybrid temporal blocks, which are accessible to both the initial prediction stage and each progressive refinement stage. In this implementation, these features are denoted as H.

[0035] Hybrid temporal block: a temporal feature processing unit consisting of dilated depth-separable temporal convolution, local multi-head self-attention, and feedforward network concatenated.

[0036] Dilated depthwise separable convolution: A convolutional structure that uses depthwise convolution with dilation in the time dimension and pointwise convolution in the channel dimension. The dilation rate refers to the interval between adjacent sampling positions of the convolution kernel.

[0037] Local multi-head self-attention: A form of self-attention where features are divided into multiple attention heads, and attention is calculated only for each sampling position within a fixed-length local time window.

[0038] Notation convention: L win N represents the local window length of local multi-head self-attention. cls N represents the total number of categories output by the temporal segmentation neural network. ref The number of progressive refinement stages is represented by s, and the lowercase s represents the index of the progressive refinement stage; W represents the stable semantic unit sequence, C represents the recognition confidence vector corresponding to each semantic unit, and S represents the set of structured semantic constraints extracted from the semantic unit sequence.

[0039] Effective position mask: A mask between the actual sampling position and the padding position in the labeled sequence. The padding position is not included in the loss calculation.

[0040] FIR filter: Finite Impulse Response filter; group delay refers to the overall delay time of the signal after passing through the filter, and the group delay of a linear phase FIR filter is a fixed value.

[0041] Activity probability: The probability that the current sampling position belongs to a valid semantic sequence is obtained by subtracting the posterior probability of the background category from 1.

[0042] Bundle search: A search method that retains multiple partial candidate sequences and expands them according to the score when the generative model is decoding. The number of bundles refers to the number of candidate sequences retained at the same time.

[0043] Sequence Score: The candidate text model score returned by the generation interface, reflecting the conditional probability of the generation model for the candidate text.

[0044] Semantic fidelity: A quantitative score of the degree to which candidate text retains key semantic information from the input, based on structured semantic constraints.

[0045] Rejection: The system stops outputting and returns a revised prompt when it cannot guarantee the consistency of the core semantics.

[0046] Quantifiers: semantic units that indicate scope or general meaning, such as "all".

[0047] LoRA: Low-rank adaptation, an efficient method for fine-tuning parameters of a low-rank increment matrix while freezing the parameters of the base model.

[0048] Random deactivation: A regularization technique that randomly blocks the output of some neurons during training to suppress overfitting, also known as Dropout.

[0049] Let the input continuous multimodal sequence be... ,in Let represent the D-dimensional multimodal features at the t-th sampling position. First, different modalities are time-aligned, normalized, and filtered as necessary to form a unified temporal input. Then, a temporal segmentation neural network outputs the probabilities of the background category and multiple effective semantic categories for each sampling position, and undergoes progressive multi-stage refinement to obtain the final dense prediction. In this implementation, the temporal segmentation neural network is denoted as the Multimodal Progressive Temporal Segmentation Network MPS-Net, and its structure is as follows: Figure 1 and Figure 2 As shown.

[0050] Online sequence start and end determination and segment stabilization are performed based on the final category probability and optional boundary probability to obtain a sequence of semantic units arranged in chronological order. and corresponding segment-level confidence levels The backend first performs input quality gating using C, then parses the structured semantic constraints S from W. Inputs that meet the quality conditions are fed into the task adaptation and generation model to form one or more candidate texts, which are then ranked and validated for consistency based on model scores and semantic fidelity. If a candidate has serious semantic conflicts, the search scope is expanded and the text is regenerated; if the key semantic constraints are still not met after retries, rejection is performed. The generation process is as follows: Figure 3 As shown.

[0051] Therefore, the overall computation chain is as follows: multimodal continuous sequence X input, preprocessing, MPS-Net dense temporal prediction, progressive probability refinement, online boundary determination and semantic segment stabilization, semantic unit and confidence acquisition, input quality gating, structured semantic constraint S parsing, task adaptation and generation model generation, candidate joint scoring, semantic consistency verification, reliable output or rejection.

[0052] Step S1: Multimodal continuous timing representation and preprocessing.

[0053] Features from different sources are arranged along a unified sampling timeline. For missing or differently lengthed samples, an effective location mask is used during batch training. The actual sampling location is distinguished from the filled location; the filled region is not included in the loss calculation. Each continuous numerical feature is normalized according to the calibration range determined during the training phase, while maintaining the relative temporal relationship between each modality.

[0054] In one implementation of a continuous sign language application, each sampling position consists of a D=34-dimensional input comprised of 22 joint deformation features, 6 acceleration features, and 6 angular velocity features for both the left and right hands, with a sampling rate of 50 Hz. The current arrangement in this project is: 11 flexible deformation features for the left hand, 3 acceleration features for the left hand, 3 angular velocity features for the left hand, 11 flexible deformation features for the right hand, 3 acceleration features for the right hand, and 3 angular velocity features for the right hand, without using quaternions. The real-time main path uses a 31-tap causal linear phase low-pass FIR, with the flexible channel cutoff at 8.0 Hz, and the acceleration and angular velocity cutoffs at 12.5 Hz. The fixed group delay is 15 sampling points, approximately 300 ms. This 34-dimensional configuration is only used to illustrate a practical input example; the input dimension D of MPS-Net is determined by the feature mapping layer parameters and can be adjusted according to other multimodal continuous temporal tasks. The acquired multimodal temporal data can be replayed and displayed as curves on a PC, such as... Figures 7-9 As shown.

[0055] Step S2: Hybrid temporal feature extraction and initial sampled location category prediction.

[0056] MPS-Net is used to perform sample-wise position-dense classification on continuous sequences of length T, including input feature mapping, an initial temporal prediction stage, two progressive refinement stages, and a boundary auxiliary head. In the training configuration of this embodiment, the hidden feature dimension is 96, the initial stage has 6 mixed temporal blocks, the two progressive refinement stages have 4 mixed temporal blocks per refinement stage, 4-head local self-attention, a local window length of 31, and random deactivation of 0.25.

[0057] The input sequence is first channel-mapped by a one-dimensional convolution with a kernel size of 1, projecting the D-dimensional input onto a 96-dimensional shared feature space. After mapping, the features pass sequentially along the time axis through hybrid temporal blocks. Each hybrid temporal block consists of three substructures: a dilated depthwise separable temporal convolution, a local multi-head self-attention network, and a feedforward network. Each substructure is configured with normalization, random deactivation, and residual connections.

[0058] For the l-th mixed timing block, first process the input... Channel normalization is performed, followed by depthwise convolution with a kernel size of 3 to extract local temporal variations, and pointwise convolution to complete channel blending. The dilation rate is set in a hierarchical manner (1, 2, 4, 8, 16) and cycled through blocks to ensure that multiple consecutive blocks have different temporal receptive ranges. The output of this substructure is denoted as U. l :

[0059] Subsequently, regarding U l Local multi-head self-attention is performed. The current implementation divides the 96-dimensional features into four attention heads, with both training and inference using heads of length L. winThe central local time window is 31, with a radius of 15 sampling locations; the dilated depthwise convolutions in the mixed temporal blocks also employ symmetrical padding to preserve sequence length. During online execution, the system does not immediately perform strict causal inference for each new sampling point. Instead, it uses the rolling buffer sequence that has arrived up to the current time as a model input, recalculating dense predictions using the same network structure as during training. Time positions outside the right boundary of the current buffer that have not yet been sampled do not contain real observations; these out-of-bounds positions are handled by padding and effective position masks. Therefore, this implementation belongs to online sequence inference based on rolling time windows and is not described as a strictly sample-by-sample causal network. The main computational cost of local attention with sequence length is approximately O(T·L). win ), where L win The local window length reduces the computational overhead of the persistent sequence compared to the O(T²) computation of global self-attention. The output of this substructure is denoted as V. l :

[0060] Finally, a pointwise feedforward network is used for nonlinear feature transformation. The feedforward network expands the 96-dimensional channels to 384-dimensionality, passes through GELU and random deactivation, and then maps back to 96-dimensionality. The output H of the hybrid time series block is formed through residual connections. l :

[0061] The initial prediction stage consists of one input projection layer and six hybrid temporal blocks. After continuous temporal feature extraction, a shared temporal feature H={h1,h2,…,h} is obtained. t Then, a one-dimensional classification convolution with a kernel size of 1 is used to map the 96-dimensional features to N. cls Given 10 categories, we obtain the initial classification logits matrix. The initial class probability matrix is ​​obtained by Softmax. :

[0062]

[0063] in, In the time dimension, there is a one-to-one correspondence with the input sequence, and the t-th sampling position corresponds to an N-th sequence. cls dimensional class probability vector .

[0064] A background category is set in the category set to indicate that the current sampling position does not belong to the valid semantic unit to be output, including inter-sentence background, action recovery, and transition areas that do not constitute independent semantics. The current continuous sign language implementation uses 32 categories, of which 1 is a background category and 31 are valid semantic categories. The total number of categories N cls It can be expanded along with the task vocabulary.

[0065] Step S3: Reinject progressive probabilistic refinement of shared source features.

[0066] To mitigate the problem of subsequent stages gradually deviating from the original multimodal input due to relying solely on the probabilities of the previous stage, this invention utilizes the category probabilities of the previous stage simultaneously in each progressive refinement stage. The shared temporal feature H is formed from the original input. The probability from the previous stage is first mapped to 96 dimensions through a 1×1 input projection, added position-by-position to the shared temporal feature H, and then passed through the hybrid temporal block and classifier in the current refinement stage: P (s) = Softmax{F s [Proj s (P (s-1) ) + H]}, s = 1, 2, …, N ref ; Among them, F s Proj represents the timing processing function for the s-th progressive refinement stage. s This represents the category probability projection layer corresponding to this stage. The current implementation sets N. ref =2, each refinement stage contains 4 hybrid timing blocks. P (s-1) H provides the category distribution and context established in the previous stage, while H continuously provides the true temporal features derived from the original multimodal sequence. By combining the two, subsequent stages can correct local anomaly predictions and reduce the probability that the probability of misclassification is continuously reinforced during the multi-level refinement process.

[0067] Step S4: Boundary auxiliary head and background posterior-based online sequence control.

[0068] MPS-Net employs a two-channel boundary auxiliary head on the final refined features to output the boundary probabilities of the start and end positions of semantic segments. In the current implementation, the boundary auxiliary head sequentially includes channel normalization, 3D convolutions with kernel sizes of 96 to 48 channels, GELU, random deactivation, and 1×1 convolutions with 48 to 2 channels. The boundary output primarily serves as training aids and supervision, as well as segment boundary correction information.

[0069] For real-time continuous input, this invention further directly utilizes the category probability of the final refinement stage. Background category posterior construct activity probability This allows category recognition and valid sequence start / end determination to be based on the same neural network probability output:

[0070] In the specific implementation of the current real-time recognition interface, when A valid sequence is confirmed when five consecutive sampling points are above 0.52; when The valid sequence is confirmed to have ended when 25 consecutive sampling points are below 0.35. This corresponds to approximately 100 ms and 500 ms at a 50 Hz sampling rate, respectively. At the start of confirmation, 25 sampling points are reserved as backup data; after completion, the background state is required to stabilize for 12 more sampling points before triggering the next sequence. The current longest single sentence is 10 s, and the model inference submission period is set to 300 ms by default. This 300 ms inference submission period differs from the approximately 300 ms fixed group delay generated by the 31-tap FIR in step S1; the former is a model refresh scheduling parameter, while the latter is a filter group delay. Since the 300 ms refresh period is longer than the 100 ms corresponding to the start of confirmation at 5 points, the state machine backtracks within the most recent 20 sampling points after each new prediction, searching for high-probability intervals that satisfy the condition of 5 consecutive points, to avoid missing short actions simply because the inference has ended between two inferences; after confirmation begins, the sentence segment start point is determined by combining the 25 reserved data points. The actual wall clock response time is determined by the filter group delay, inference submission cycle, and model computation time. All of the above thresholds and duration parameters can be configured.

[0071] Step S5: Densely predict stable semantic segments and segment-level confidence.

[0072] For the final refinement stage P (s) For each sampling position, the class with the highest probability is selected, and positions that are temporally consecutive and belong to the same non-background class are combined into candidate semantic segments. Let the class of the i-th candidate segment be w. i The start and end positions are [a] i ,b i The confidence level of fragment-level recognition is based on the fact that the fragment belongs to w. i Equal-weighted average of the final stage posterior probabilities of the categories:

[0073] The default decoding parameters for the current real-time recognition interface are: candidate segments must last for at least 5 sampling points, and the average confidence threshold for segments is [not specified]. =0.45; If two adjacent candidate segments have the same category and are separated only by background or local anomaly categories with no more than 3 sampling points, then the two are merged and the merged confidence is recalculated. In the current project, the minimum duration or Candidate segments that exceed the threshold are not included in the stable semantic unit sequence W. To make the anomaly filtering process observable, in another implementation, a discard count can be maintained for candidate segments filtered by duration or confidence rules. and within the same sentence segment If the limit is exceeded, the sentence will be marked as low reliability or the user will be prompted to rephrase it. To enable configurable decoding parameters, the start and end probability peaks of the boundary auxiliary head can be used to fine-tune the segment boundaries when necessary.

[0074] After the above processing, a stable semantic unit sequence W and a unit-by-unit confidence C are obtained. In the continuous sign language implementation, semantic units can be encoded as Gloss labels, but the label name and encoding method are not limited. The key to this invention is the conversion relationship from dense category probability to stable temporal segments and then to segment-level reliability.

[0075] Training Example: MPS-Net training data, target, and validation results.

[0076] Training samples consist of continuous input features, category labels for each sampling position, start and end boundary labels, and a valid position mask. Continuous sequences are recorded using manually annotated JSON corresponding to CSV files, recording semantic unit labels and their start and end groups, or using start and end seconds to record time boundaries. Labels with pending confirmation states are not allowed in training, and different valid semantic labels are not allowed to overlap at the same sampling position. Positions not covered by valid semantic segments are automatically labeled as background. For each non-background segment, two sampling points are extended outwards from the manually confirmed start and end positions to form boundary-supervised positive samples. Different sample lengths are not required to be the same; during batch training, shorter sequences are padded, and the category labels at the padded positions are set to ignored values ​​and do not participate in the loss.

[0077] The current training vocabulary has 32 classes in total, including 1 background class, and 31 valid semantic classes: sorry, I, have, thing, very, thank, you, to / for, help, glad, meet, good, can, question particle, polite response, everyone_we, all, be, friend, welcome, come, to, home, visit, it doesn't matter, not, want, hurry, call, what, name. The dataset of this embodiment is collected from 10 subjects, containing a total of 1840 original acquisition sequences, including 1240 isolated semantic unit samples, 480 continuous sentence segment samples, and 120 background and non-target action samples; it contains 441,600 sampling positions in total, with a total acquisition duration of about 2.45 h. The typical sampling interval of the data timestamp is 20 ms, corresponding to a sampling rate of about 50 Hz. 40 samples are collected for each of the 31 isolated semantic classes; the continuous sentence segment data contains a total of 24 sentence pattern directories, among which some basic sentence patterns have 40 samples each and extended sentence patterns have 8 samples each. All 1840 original sequences have corresponding annotation files, among which 1720 are target samples of isolated semantic units or continuous sentence segments, and 120 are background and non-target action samples. The training set and validation set are divided deterministically at the file level by acquisition mode and label or sentence template, with a target ratio of about 80% / 20%; the same label or sentence template can appear in both the training set and the validation set when there are sufficient samples, so this division belongs to file-level validation with the same distribution, rather than a cross-subject division completely isolated by the 10 subjects. The above data scale is used to illustrate a specific training implementation, and does not constitute a limitation on the number of subjects, samples, or semantic classes that the present invention can handle.

[0078] The total training loss of MPS-Net consists of multi-stage classification loss, temporal smoothing loss, and boundary loss:

[0079]

[0080] L total = 1.0·L cls + 0.5·L boundary + 0.15·L smooth Among them, the multi-stage classification loss L cls calculates cross-entropy on the logits at each sampling position of each stage; the weight of the final stage is 1.0, and the weights of each preceding stage are 0.5; the temporal smoothing loss L smooth only averages the squared difference of logarithmic class probabilities at adjacent sampling positions of the final stage, and truncates a single difference to a maximum of 16, to suppress meaningless high-frequency class jumps of the final output within the same semantic segment; the boundary loss L boundaryBinary cross-entropy loss is calculated separately for the start and end channels. The weights of positive samples are adaptively calculated based on the ratio of negative to positive samples and limited to a range of 1 to 25. The current implementation intentionally avoids applying temporal smoothing loss to the initial stages: the initial stages already handle category learning under cross-entropy supervision, preserving space for local correction and exploration; applying smoothing constraints uniformly in the final stage avoids premature smoothing in intermediate stages, which could weaken subsequent refinement capabilities. Multi-level error accumulation is primarily suppressed by re-injecting shared source features H into each refinement stage.

[0081] In a specific training run, the AdamW optimizer was used with an initial learning rate of 3×10⁻⁶. -4 Weight decay 1×10 -4 The training parameters were: batch size 4, maximum 80 rounds, early stopping rounds 12, random seed 42, gradient norm pruning 1.0, cosine annealing learning rate scheduling, and mixed precision training. The training / validation target ratio was 80% / 20%. The overall model score was 0.45×SegmentF1@50 + 0.30×Macro-F1 + 0.15×Boundary F1 + 0.10×Edit Score. The run stopped at round 60, with the best overall score appearing at round 48. The corresponding validation results were: Frame Accuracy 98.03%, Macro-F1 94.27%, Segment F1@50 99.78%, Edit Score 99.66%, and Boundary F1 69.11%. In this model, SegmentF1@50 uses an Intersection over Union (IoU) of at least 0.5 between the predicted segment and the real segment of the same category as the matching condition. Edit Score calculates a normalized Levenshtein edit score for the predicted category sequence and the real category sequence after removing the background category and folding consecutive segments of the same category. Boundary F1 first extracts the peak values ​​in the continuous regions of the start and end boundary probabilities with a threshold of 0.5, and then matches the start and end channels one-to-one with a tolerance of plus or minus two sampling points. These metrics are derived from the current 31 valid semantic categories, a controlled vocabulary, and a file-level identically distributed validation setting. They are used to illustrate the model performance of this specific training run and are not considered as conclusions about generalization performance across subjects or open-vocabulary scenarios.

[0082] Step S6: Input quality gating based on recognition confidence.

[0083] The semantic reconstruction module takes as input a stable sequence of semantic units W and its corresponding recognition confidence C. The recognition confidence is not directly concatenated as ordinary numerical text into the prompts of the generation model. Instead, it is first used for input quality gating and optional conservative semantic unit repair, and then structured semantic rules form constraint information on W. The generation model does not operate independently of the front-end recognition network; rather, the generation permission, candidate repair range, and final output decision are jointly controlled by the front-end fragment-level recognition reliability, allowing recognition uncertainty to be continuously transmitted between the two computational models.

[0084] During the gating phase, label normalization, adjacent repetition folding, and vocabulary validity checks are performed on W, and the confidence vector length is checked to ensure it matches W. The semantic unit-to-text interface currently marks semantic units with cᵢ < 0.35 as low-reliability units by default; when the number of low-reliability units exceeds two, a rejection result is returned directly. It should be noted that the current real-time recognition interface uses a default segment survival threshold. =0.45, higher than the backend gating threshold. =0.35, therefore, in the main link from the default real-time decoder to the semantic unit text interface, the 0.35 gating mainly undertakes interface-level defense checks and can handle low-reliability W segments passed in by other decoding thresholds, offline results, or external callers. To enable explicit cross-module transmission of low-reliability segments and unified gating by the backend, another implementation configures the two thresholds independently and satisfies... < ,For example =0.30、 =0.35, allowing semantic units in the 0.30 to 0.35 range to enter W and be determined by the backend quality gating. This avoids misinterpreting the current default combination of 0.45 / 0.35 as the same confidence gradient.

[0085] Step S7: Extraction of structured semantic constraints.

[0086] For W, which passes quality gating, a structured constraint set S is constructed using a semantic lexicon, positional relationship rules, and local clause rules. In the current 31-lexicon, individual person words include at least "I" and "you," and group words are merged into "everyone_we." Action relationships that can be explicitly resolved include at least "help" and "know." For action words, when person words exist before and after the action, the person closest before the action is taken as the subject, and the person closest after the action as the object. For cases where the action is at the beginning of a local segment and two different people appear sequentially afterward, the roles are restored according to the local disordered order rules for action, object, and subject. Sequences containing "is + friend" and simultaneously including "I" and "you" form a friendship relationship; sequences where person or group words are adjacent to "home" and simultaneously include "come" and "play" form a visitor-family affiliation relationship. Politeness and clause rules use deterministic lexicon combinations, such as "not polite + you're welcome," "it's okay + you're in a hurry," "welcome + not polite," and "happy + know + thank you," to form clause prompts that need to be retained independently.

[0087] Structured constraints can be represented as a set of key-value pairs or structured objects, such as S={persons, group_roles, possessions, action_roles, negations, interrogatives, quantifiers, clauses}. Here, `action_roles` records the semantic roles of actions, subjects, and objects, while `clauses` only records independent clauses and the integrity of clause boundaries. The two do not overlap: a clause can contain multiple `action_roles`, and each action relationship is checked separately; `clauses` only checks whether multiple core semantic units need to be separated by boundaries such as commas and semicolons. Post-generation consistency checks generate role-related issues and clause-related issues, which are then deduplicated and merged. Errors in action subjects or objects are not negated by correct clause boundaries; any serious issue, such as errors in key roles or missing key clauses, can trigger an expansion of the search scope or rejection.

[0088] For example, the semantic unit sequence "you—can—help—me—may" can be normalized to obtain "persons={you,me}". Since the nearest person before "help" is "you" and the nearest person after "help" is "me", we get "action_roles={help:you→me}". Meanwhile, "interrogatives={may}", meaning this short phrase does not trigger additional clause suggestions. If the candidate text output is "I can help you", the action subject and object direction are inconsistent with "action_roles"; if the candidate omits a question expression, a question missing problem is formed. This example illustrates that structured constraints are not abstract suggestions, but are directly obtained from repeatable vocabulary and positional relationship rules.

[0089] In the current implementation, structured constraints are primarily used to generate semantic fidelity scores for candidates, perform post-generation consistency checks, and trigger re-decoding, rather than simply digitizing all constraints and appending them directly to the input text of the generative model. This allows the generative model to handle natural language reordering, while the structured constraint module handles semantic fidelity and risk control.

[0090] Step S8: Task adaptation and generation of models and candidate generation.

[0091] The normalized semantic unit sequence is input into the encoder-decoder generation model adapted to the task data. In the current implementation, the T5Gemma2 270M model is used, and LoRA is employed for efficient parameter fine-tuning. The LoRA rank r=16, scaling parameter alpha=32, and LoRA random deactivation is 0.05. The final release training configuration uses a learning rate of 1.5×10⁻⁶. -5 The gradient accumulation is 8, the maximum training rounds are 4, the maximum input length is 192 tokens, the number of early stopping rounds is 2, and the actual operation stops after the 3rd round. The checkpoint with the optimal validation loss is used for release.

[0092] The current semantic reconstruction training data is constructed from manually verified semantic units paired with natural language samples. A specific training version contains 203 verification seed samples, which are expanded in a controlled manner, including local scrambling, group context, discourse completeness, and quantitative relationships, to form 277 unique inputs. Of these, 268 are used to produce the training set and 9 are used to produce the validation set. There is no overlap between the training and validation source samples. This data size is used to illustrate the current specific implementation and does not constitute a limitation on the vocabulary size that the model can handle.

[0093] The generation phase employs deterministic decoding and sets different quality modes. Fast mode uses one bundle and returns one candidate, Balanced mode uses four bundles and returns three candidates, and Quality mode uses six bundles and returns five candidates. The maximum newly generated length is dynamically set based on the number of normalized semantic units: 32 tokens for no more than 8 units, 48 ​​tokens for 9 to 14 units, and 64 tokens for more than 14 units. Random sampling is disabled, the repetition penalty coefficient is 1.06, and the size of the prohibited repetition n-tuple is 3.

[0094] Step S9: Joint ranking of candidates based on model score and semantic fidelity.

[0095] For each candidate text y k First, the sequence score returned by the generation interface is read as the model sequence score. Then, the highest model score in the same candidate batch is subtracted to normalize the highest model score to 0. The remaining candidates retain their relative negative scores, denoted as Score. model (y kThen, based on the structured semantic constraints S, the semantic fidelity gain Score is calculated. fid (y k The current implementation directly adds the two scores to obtain the overall score: Score(y k ) = Score model (y k ) + Score fid (y k ) Score fid A deterministic scoring system is adopted. Representative weights in the current implementation include: 0.45 base points for each verifiable structural relationship; 0.35 points for each clause hint that needs to be retained independently; 4.00 points deducted for errors in action roles, friend relationships, or visitor relationships; 4.00 points deducted for missing boundaries of a single key clause; 4.50 points deducted for missing structures in multiple clauses; 0.45 points are added for correct character affiliation, 0.55 points are deducted for omissions, and an additional 1.10 points are deducted for incorrect replacement with another character affiliation; 0.20 points are added for input containing negation and the output retaining negation, and 0.80 points are deducted for omissions; 0.15 points are added for input containing interrogative words and the output retaining interrogative words, and 0.50 points are deducted for omissions; 1.20 points are added for input containing quantifiers and the output retaining quantity or range relationships, and 3.00 points are deducted for omissions; 1.00 points are deducted for each omitted individual character in the input, 1.10 points are deducted for adding a character word out of thin air, and 0.35 points are added when all characters in the input are retained; 0.85 points are deducted for each omitted core semantic word. Candidates are ranked from highest to lowest based on their overall score, allowing model fluency and semantic fidelity to work together within the same deterministic calculation rule. If at least two candidates exist and the difference in their overall scores is less than 0.15, the current output is marked as uncertain, allowing the upper-layer application to decide whether to prompt the user for confirmation.

[0096] Step S10: Post-generation consistency check, adaptive re-decoding, and rejection.

[0097] Re-perform semantic consistency checks on the top-ranked candidate. The checks should include at least the following: whether characters have been added or omitted; whether the subject and object of the action have been swapped; whether group roles have changed; whether ownership relationships have changed; whether negation and interrogative information has been lost; whether quantitative relationships have been preserved; and whether multiple core clauses have been incorrectly merged or omitted. Any of the above key semantic conflicts are defined as serious consistency problems.

[0098] The current implementation defaults to Fast mode, employing a single-beam search and returning one candidate. When the preferred Fast candidate exhibits severe consistency issues, or when the input itself triggers an ambiguous condition requiring expanded search scope, it switches to Balanced mode, employing a four-beam search and returning three candidates. The Balanced candidate is then merged with the previous candidate and subjected to joint scoring and consistency checks again. If the preferred result still exhibits severe consistency issues, it further enters Quality mode, employing a six-beam search and returning five candidates, which are then merged, sorted, and checked again. The search level is not increased further after the Quality stage; if the final preferred candidate still exhibits severe consistency issues, output stops and rejection messages such as "Undetermined" or "Please rephrase" are returned. Therefore, the normal path is Fast, Balanced, to Quality, with a maximum of two search scope expansions performed after Fast.

[0099] For optional semantic unit noise repair, this invention does not allow the generation model to freely rewrite the original sequence. Instead, it only generates a limited minimum number of edit candidates, such as deleting a low-risk semantic unit that is suspected of being redundant, and setting protections for high-risk semantic units such as people, negation, questions, and quantities. Identifying semantic units with higher confidence has a higher modification cost, while units with low confidence and low semantic risk are given priority for candidate repair. Application is only allowed when the overall score after repair meets the set improvement conditions.

[0100] To facilitate system implementation, this invention can be abstracted into the following logical modules: a data input module configured to receive continuous multimodal time series X; a preprocessing module configured to perform time alignment, normalization, and effective position mask construction; an MPS-Net recognition module configured to perform mixed temporal feature extraction, initial dense prediction, and progressive probability refinement; a fragment decoding module configured to obtain semantic fragments and confidence levels based on the final class probability and boundary information; a reliability and semantic constraint module configured to perform quality gating and form structured semantic constraints; a generation module configured to generate one or more candidate texts; and a candidate verification module configured to perform joint scoring, consistency checking, re-decoding, or rejection.

[0101] The aforementioned modules can be implemented using general-purpose processors, graphics processing units (GPUs), or other computing devices capable of performing neural network operations. Data is exchanged between modules via tensors, category probabilities, structured semantic objects, and text candidates. The specific operating device and communication interface do not affect the technical relationships of the aforementioned computational methods.

[0102] Application example: continuous sign language recognition.

[0103] In continuous sign language applications, aligned hand-eye multimodal motion sequences are used as input to MPS-Net (X), and position prediction is performed on 31 valid sign language semantic categories and background categories on a sample-by-sample basis. The MPS-Net output is segment-stabilized to obtain ordered semantic units and confidence scores, which are then reconstructed into natural Chinese by a reliability-constrained generation module. This application is only used to illustrate a specific implementation of the invention on continuous sign language data; the core protected objects remain the aforementioned neural network structure, progressive refinement mechanism, reliability cross-module transfer, and constraint-based continuous verification control mechanism. In one presentation implementation of this application, the recognition results and rejection prompts can be displayed by a mobile application. The mobile application establishes connections with the left and right gloves via Bluetooth, respectively, displaying translated text in real time during recognition and displaying a waiting prompt when there is no valid input.

[0104] The technical effects of the present invention will be further explained below.

[0105] In the hybrid temporal blocks, dilated depthwise convolutions expand the temporal receptive field with dilation rates of 1, 2, 4, 8, and 16. Local multi-head self-attention then aggregates the context within a fixed local window, thus simultaneously utilizing short-term variations and longer-term relationships. The general complexity of local attention is approximately O(T·L). win ), where T is the sequence length, L win The local window length; in the current embodiment, L win =31, relative to global attention O(T) 2 This is more suitable for continuous sequence computation. The 15 CUDA offline inference records saved in the code archive all used the best checkpoints of the above training examples, with input lengths ranging from 200 to 450 sampling points. The average inference time for the entire recorded model was approximately 218.7 ms, and the P90 time was approximately 224.8 ms. This data is used to illustrate the specific implementation latency under the current software and hardware environment and is not intended as a fixed latency limit for all deployment platforms.

[0106] Each refinement stage not only receives the class probabilities from the previous stage, but also re-superimposes the shared temporal features H extracted from the original multimodal input in the initial stage, so that the probability context and source temporal information participate in the subsequent correction at the same time, thereby reducing the error accumulation and step-by-step deviation when relying only on the previous stage probabilities.

[0107] By constructing activity probabilities using background posterior and combining continuous confirmation, start reservation, and background reset, online sequence start and stop control is achieved. This eliminates the need to establish a separate original signal threshold detector independent of category recognition, thereby reducing inconsistencies between the two sets of state criteria.

[0108] By filtering short-term errors and merging similar segments that are cut off by brief backgrounds, the output at each sampling position is transformed into a stable temporal semantic unit. The segment-level confidence retains the front-end uncertainty, providing a calculable basis for subsequent quality control.

[0109] The identification confidence level is passed from the identification module to the generation module. The front-end fragment survival threshold and the back-end quality gating threshold are independent and configurable: when the current real-time default combination is 0.45 / 0.35, the back-end 0.35 gating primarily handles interface-level defense; in implementations requiring explicit transmission of low-reliability fragments, the threshold can be set to... < This allows low-reliability semantic units to enter the W process, after which they are uniformly rejected or conservatively processed by the backend. This preserves the frontend's stabilization capabilities while enabling the reliability of identification to participate in backend permission generation and repair scope control.

[0110] Characters, action roles, group roles, belonging, negation, question, quantity, and clause relationships are explicitly converted into structured constraints and participate in candidate scoring and post-generation consistency checks. Compared to relying solely on language model sequence probabilities, this approach can directly detect semantic errors such as subject-object interchange, missing negation, quantity changes, and omission of core clauses.

[0111] When a Fast candidate exhibits a severe semantic conflict, the search scope is expanded to Balanced. If a severe semantic conflict still exists after merging candidates, the search scope is further expanded to Quality. If the key semantic constraints are still not met after Quality, the output stops. This process allows the system to switch between the Fast, Balanced, and Quality search scopes based on the actual quality of the candidates, and to proactively reject candidates when semantic consistency cannot be guaranteed.

[0112] In the current implementation of the software regression test cases during the development phase, the selected generative model checkpoints achieved pass results of 26 / 26, 28 / 28, 34 / 34, 16 / 16, and 6 / 6 respectively across the five test cases: core expression, group context, discourse integrity, local out-of-order generalization, and quantitative relationships. A total of 110 test cases met the corresponding reference output or semantic check conditions. These 110 test cases belong to a software regression test set constructed and continuously reused during development to check whether rules, model versions, and generation control logic have experienced functional degradation. They do not belong to an independently reserved open-scenario generalization test set; therefore, the result of passing all 110 test cases is not interpreted as the overall accuracy of the open scenario.

[0113] In summary, the beneficial effects of this invention mainly come from the continuous computation chain consisting of hybrid temporal feature extraction, progressive refinement of shared source features, dense prediction stabilization, cross-module transfer of recognition reliability, structured semantic constraints, candidate fidelity evaluation, consistency check, and adaptive re-decoding and rejection, rather than specific data acquisition hardware.

[0114] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention should be included within the protection scope of the present invention.

Claims

1. A sequence semantic recognition method for generating semantic constraints based on multimodal temporal segmentation, characterized in that, include: The continuous multimodal temporal sequence that has been time-aligned and normalized is input into the temporal segmentation neural network, and the class probability containing the background class is output at each sampling position to obtain the dense class probability; The activity probability of each sampling location is constructed based on the posterior probability of the background category, and the start and end of the valid sequence are determined online. Sampling positions that continuously belong to the same non-background category are combined into candidate segments. These segments are then filtered and merged based on their duration and the posterior probability of the category within the segment, resulting in a semantic unit sequence and the recognition confidence of each semantic unit. Input quality gating is performed on the semantic unit sequence based on the recognition confidence level; Structured semantic constraints, including characters, action roles, belonging relationships, negation, interrogation, quantity, and clause relationships, are extracted from the semantic unit sequence that passes through the input quality gating. The semantic unit sequence is input into the generation model to obtain one or more candidate texts; Candidate texts are jointly ranked based on the model score of the generated model and the semantic fidelity based on the structured semantic constraints; Perform a semantic consistency check on the top-ranked candidate text. If there is a serious semantic conflict, expand the search scope, re-decode and merge the candidates, re-rank and check them. If there is still a serious semantic conflict, reject the candidate.

2. The sequence semantic recognition method for generating multimodal temporal segmentation semantic constraints according to claim 1, characterized in that, The temporal segmentation neural network includes an initial prediction stage and at least one progressive refinement stage. The initial prediction stage classifies the shared temporal features extracted from the original input to obtain initial class probabilities. Each progressive refinement stage maps the class probabilities of the previous stage through a projection layer and fuses them position by position with the shared temporal features. Then, it obtains the class probabilities of the current stage through temporal modeling and classification. The class probabilities output by the last progressive refinement stage are used as the dense class probabilities.

3. The sequence semantic recognition method based on multimodal temporal segmentation semantic constraints according to claim 2, characterized in that, The initial prediction stage and each progressive refinement stage are composed of multiple cascaded hybrid temporal blocks; each hybrid temporal block includes, in sequence, a dilated depth-separable temporal convolution, a local multi-head self-attention network, and a feedforward network. Each substructure is configured with normalization, random deactivation, and residual connections; the dilation rate of the multiple hybrid temporal blocks is set hierarchically according to the block number and is cyclical to form different temporal perception ranges.

4. The sequence semantic recognition method for generating multimodal temporal segmentation semantic constraints according to claim 1, characterized in that, The temporal segmentation neural network further includes a boundary auxiliary head, which outputs the boundary probabilities of the start and end positions of candidate segments; the boundary probabilities are used as auxiliary supervision during the training phase and to correct the boundaries of candidate segments.

5. The sequence semantic recognition method for generating multimodal temporal segmentation semantic constraints according to claim 1, characterized in that, The filtering and merging include: the duration of candidate segments is not less than the shortest duration, and the average value of the class posterior probability within the segment is not less than the segment survival threshold; when adjacent candidate segments of the same type are separated only by background or local anomaly categories not exceeding a set length, the two are merged and the recognition confidence of the merged segment is recalculated; the segment survival threshold and the gating threshold of the input quality gating are configured independently; in an implementation that requires low-reliability semantic units to be transmitted across modules, the segment survival threshold is lower than the gating threshold, so that semantic units with recognition confidence between the two thresholds enter the semantic unit sequence and are uniformly determined by the input quality gating.

6. The sequence semantic recognition method for generating multimodal temporal segmentation semantic constraints according to claim 1, characterized in that, Extracting the structured semantic constraints includes: identifying individual character words, merging group words, and action words in the semantic unit sequence using a semantic lexicon; when there are character words before and after an action word, taking the nearest character word before the action word as the subject and the nearest character word after the action word as the object; when an action word is located at the beginning of a local section and two different character words appear in sequence after it, restoring the semantic roles in the order of action, object, and subject; and forming sentence prompts that need to be retained independently by combining deterministic lexicons.

7. The sequence semantic recognition method for generating multimodal temporal segmentation semantic constraints according to claim 1, characterized in that, The joint ranking includes: reading the sequence scores of the candidate texts returned by the generation model, normalizing them within the same candidate batch to obtain the model score; calculating the semantic fidelity of the candidate texts based on the structured semantic constraints, adding points when the candidate texts retain verifiable structural relationships, and deducting points when there are errors or omissions in characters, action roles, belonging relationships, negation, questions, quantities, or key clauses; adding the model score and the semantic fidelity to obtain a comprehensive score, and ranking them from high to low according to the comprehensive score.

8. The sequence semantic recognition method for generating multimodal temporal segmentation semantic constraints according to claim 1, characterized in that, The expanded search scope and re-decoding includes: the first decoding uses the first search level; if the candidate text ranked first has serious semantic conflicts, switch to the second search level to expand the search scope and the number of candidates, merge the new candidates with the existing candidates, and then re-sort and check them; if serious semantic conflicts still exist, switch to the third search level to expand again; if serious semantic conflicts still exist after the third search level is completed, then reject the candidate.

9. The sequence semantic recognition method for generating multimodal temporal segmentation semantic constraints according to claim 7, characterized in that, It also includes conservative repair of the semantic unit sequence: only the minimum edit candidates for deleting suspected redundant semantic units are generated, and modification protection is set for semantic units of people, negation, question, and quantity; the higher the identification confidence of the semantic unit, the higher the modification cost, and the semantic units with low identification confidence and low semantic risk are given priority to enter the candidate repair. The repair results will only be applied if the overall score after repair meets the set improvement conditions.

10. A sequence semantic recognition system for generating semantic constraints through multimodal temporal segmentation, used to implement the sequence semantic recognition method for generating semantic constraints through multimodal temporal segmentation as described in any one of claims 1-9, characterized in that, include: The data input module is configured to receive continuous multimodal time-series data; The preprocessing module is configured to perform time alignment, normalization, and effective location mask construction. The temporal segmentation and recognition module is configured to output the category probability containing the background category at each sampling position by the temporal segmentation neural network and perform progressive probability refinement; The segment decoding module is configured to obtain the semantic unit sequence and the recognition confidence of each semantic unit based on the category probability refined by progressive probability. The reliability and semantic constraint module is configured to perform input quality gating and extract structured semantic constraints based on the recognition confidence level. The generation module is configured to input the semantic unit sequence into the generation model to obtain candidate text; The candidate validation module is configured to jointly rank candidate texts based on model scores and semantic fidelity, and perform semantic consistency checks, expand the search scope for re-decoding, or reject the text.

Citation Information

Patent Citations

  • Chinese sign language translation method and system based on large language model

    CN119131900A

  • Sign Language Translation Method and Device Based on Pre-Training Alignment of Visual and Lexical Features

    CN119785439B