基于语义先验的可微分软性编辑距离损失计算方法和设备

By introducing dynamic transpose cost and softening operator, a dynamic programming state transition equation is constructed, which solves the problem of distinguishing between causal time series and random permutations in sequence prediction models, and improves the model's generalization ability and training stability.

CN121901541BActive Publication Date: 2026-07-17HARBIN INST OF TECH AT WEIHAI

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
HARBIN INST OF TECH AT WEIHAI
Filing Date
2026-03-25
Publication Date
2026-07-17

AI Technical Summary

Technical Problem

In existing sequence prediction training methods, the hard-matching loss function causes the model to be unable to distinguish between causal time series and random permutations, resulting in overfitting and poor generalization ability.

Method used

We employ a semantic prior-based differentiable soft edit distance loss calculation method. By introducing dynamic transpose cost and softening operator, we construct a dynamic programming state transition equation to achieve end-to-end gradient backpropagation and adaptively learn the causal constraints and random permutations between sequence elements.

Benefits of technology

It improves the model's generalization ability and training stability for nondeterministic sequences, and can maintain logical rigor while allowing reasonable changes in order, thus avoiding overfitting of the model to the training data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121901541B_ABST
    Figure CN121901541B_ABST
Patent Text Reader

Abstract

本发明提出了基于语义先验的可微分软性编辑距离损失计算方法和设备,属于数据处理技术领域,该方法包括:对获取的预测序列上下文特征提取生成上下文向量;将该向量输入代价预测网络得到归一化原始分数并线性映射生成动态基础转置代价;基于预置的语义可交换性矩阵,计算预测序列相邻元素间的语义交换项,以及预测序列与真实标签序列相邻元素间的交叉门控项;根据动态基础转置代价、语义交换项及交叉门控项,构建动态规划状态转移方程;采用软化算子对方程中的路径代价平滑聚合,得到最终的对齐损失值,实现端到端的梯度反向传播。基于该方法,还提出了相对应设备。本发明实现了对序列元素因果逻辑与随机排列的自适应解耦与表征。
Need to check novelty before this filing date? Find Prior Art