首页> 外国专利> ASSESSING SEMANTIC SIMILARITY USING A DUAL-ENCODER NEURAL NETWORK

ASSESSING SEMANTIC SIMILARITY USING A DUAL-ENCODER NEURAL NETWORK

机译:使用双编码器神经网络评估语义相似性

摘要

A technique is described herein for processing a given query item in a latency-efficient and resource-efficient manner. The technique uses a first transformer-based encoder to transform the given query item into an encoded query item. In one case, the given query item is an expression that includes one or more query-expression linguistic tokens. The technique includes a second transformer-based encoder for transforming a given target item into an encoded target item. The given target item may likewise correspond to an expression that includes one or more target-expression linguistic tokens. A similarity-assessing mechanism then assesses the semantic similarity between the given query item and the given target item based on the encoded query item and the encoded target item. Each transformer-based encoder uses one or more self-attention mechanisms. The second transformer-based encoder can optionally perform its work in an offline manner, prior to receipt of the given query item.
机译:本文描述了一种以延迟高效和资源有效的方式处理给定查询项的技术。 该技术使用第一变压器基编码器将给定查询项转换为编码的查询项。 在一个情况下,给定的查询项是包含一个或多个查询表达式语言令牌的表达式。 该技术包括用于将给定目标项转换为编码目标项的第二变压器的编码器。 给定的目标项目同样对应于包括一个或多个目标表达语言令牌的表达式。 然后,相似性评估机制根据编码查询项和编码的目标项评估给定查询项和给定的目标项之间的语义相似度。 每个基于变压器的编码器使用一个或多个自我关注机制。 在接收到给定查询项之前,第二变换器的编码器可以可选地以离线方式执行其工作。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号