意图识别 聊天机器人

介绍 (Introduction)

…overlap in intent training examples might be confusing your chatbot.

…意图培训示例中的重叠内容可能会使您的聊天机器人感到困惑。

These overlaps are really conflicts, which can exist between two, three or more separate intents.

这些重叠实际上是冲突,可以存在于两个,三个或更多单独的意图之间。

Once your chatbot grows in the number of intents, and also the number of examples for each intent, finding overlaps or conflicts become harder.

一旦您的聊天机器人的意图数量以及每种意图的示例数量增加,发现重叠或冲突就变得更加困难。

The basic chatobt structure is on the left, with a list on twelve intents.
最基本的chatobt结构在左侧,其中包含十二个意图的列表。

Often the approach is just to add more examples, which most probably will just add to the confusion. While the solution is not a lack of training data or examples, but conflicts within those examples.

通常,方法只是添加更多示例,而这很可能只会增加混乱。 虽然解决方案不是缺少训练数据或示例,但这些示例之间存在冲突。

It does make sense to segment the examples clearly per intent, but overlaps might not be that easy to spot.

按照意图清楚地细分示例确实很有意义,但是重叠可能不那么容易发现。

This might very well be the case if a larger team is working on the chatbot and adding example phrases from conversations in an attempt to improve accuracy.

如果较大的团队正在研究聊天机器人并从对话中添加示例短语以试图提高准确性,则可能会非常适合。

Overlaps can easily be created in such a scenario and the whole attempt to improve the bot will in fact cause a degradation of the quality and clarity of user intent recognition.

在这种情况下,很容易产生重叠,而对改进bot的整个尝试实际上将导致质量和用户意图识别清晰度下降。

Hence detecting these conflicts become paramount in larger teams and organizations. You might have hundreds or thousands of intents each with a number of examples. This is why automation of this process is key.

因此,在较大的团队和组织中,检测这些冲突变得至关重要。 您可能有成百上千个意图,其中包含许多示例。 这就是为什么该过程的自动化是关键的原因。

追踪冲突 (Tracking Conflicts)

The ideal would be not to have a manual process of picking up conflicts, but rather a process which surfaces conflict real-time as they occur. Too many chatbot teams learn from errors and vulnerabilities in customer conversation data and monthly reports.

理想的做法不是要有一个手动处理冲突的过程,而是要在冲突发生时实时显示冲突的过程。 太多的聊天机器人团队从客户对话数据和月度报告中的错误和漏洞中学习。

Conflicts should be checked for in real-time continuously, or when updates are committed.

应该连续实时地或在提交更新时检查冲突。

How would these conflicts be managed in a real-word scenario? Here is a short tutorial…

在真实情况下如何处理这些冲突? 这是一个简短的教程……

IBM Watson Assistant: List of Intents and the Conflict Count is visible in the Conflicts Column
IBM Watson Assistant:“冲突”列中显示了意图列表和“冲突计数”

This is an image of the IBM Watson Assistant Intent console. With the name, description and date modified, you will see how many example utterances each intent has.

这是IBM Watson Assistant Intent控制台的图像。 修改名称,描述和日期后,您将看到每个意图有多少示例话语。

Also, you will see a Conflicts column.

此外,您还将看到“ 冲突”列。

Within the Intent the Phrases Creating a Conflict is Marked
在意图内标记了造成冲突的短语

Once you click on the intent marked with a conflict, you will see the list of user examples, also referred to as utterance samples. And the problematic utterance is marked with a button to action the resolution.

单击标记有冲突的意图后,您将看到用户示例列表,也称为话语样本。 出现问题的话语用按钮标记,以控制分辨率。

不同类型的意图冲突 (Different Types of Intent Conflicts)

There are two types of conflicts;

有两种类型的冲突:

  • Direct and

    直接

  • Indirect conflicts.

    间接冲突。

Direct conflicts are fairly easy to pick up. This is where two or more intents having the exact same example utterance; verbatim.

直接冲突很容易解决。 这是两个或更多个意图具有完全相同的示例话语的地方; 逐字。

Indirect conflicts are harder to detect and this is where machine learning plays a role. There might be user examples informing different intents which are very similar in meaning and sentence construction, but at a glance seem different. The removal of these vulnerabilities go a long way in improving your conversational interface’s accuracy.

间接冲突更难发现,这就是机器学习发挥作用的地方。 可能会有一些用户示例通知了不同的意图,这些意图在含义和句子结构上非常相似,但乍一看似乎有所不同。 消除这些漏洞对于提高会话界面的准确性大有帮助。

内置冲突解决 (Built-In Conflict Resolution)

Here again is an example from IBM Watson Assistant showing how this can work in practice.

这又是来自IBM Watson Assistant的示例,展示了如何在实践中工作。

You can see in the example below the two intents side by side. In this example the conflict is the same utterance word for word, verbatim.

您可以在示例中并排看到以下两个意图。 在这个例子中,冲突是逐字逐字的相同话语。

What is quite useful is the Similar Examples. Similar examples are typically not conflicts; they are additional examples that are displayed to help you better understand the meaning of each intent. And hence guide you in your decision in removing the utterance from the right intent.

非常有用的是“ 类似示例”。 类似的例子通常不是冲突。 它们是显示的其他示例,可以帮助您更好地理解每个意图的含义。 因此,引导您做出从正确意图中消除发声的决定。

Watson’s Conflict Resolution Interface
沃森的冲突解决界面

From the similar examples give here, it is clear that the example in conflict needs to be removed from the #Customer_Care_Appointment.

从此处给出的类似示例中可以明显看出,需要将冲突示例从#Customer_Care_Appointment中删除

Confirmation of Saved Changes
确认已保存的更改

Clarity needs to be established when managing example utterances and having a set of examples can assist in this process.

管理示例话语时需要建立清晰性,并具​​有一组示例可以帮助此过程。

The examples are enough for you to create a mental picture of what embodies the intent.

这些示例足以使您对意图的精神印象。

Once the change is committed, a confirmation message is displayed and you can test your chatbot again.

提交更改后,将显示一条确认消息,您可以再次测试您的聊天机器人。

结论 (Conclusion)

There is this commonly held belief that the amount of data you throw at your chatbot yields a direct and proportional improvement in the conversational experience.

人们普遍认为,您在聊天机器人上抛出的数据量会直接和成比例地改善对话体验。

This cannot be further from the truth. Training data needs to be well thought through, segmented and meaningful.

这与事实相去甚远。 培训数据需要经过深思熟虑,细分且有意义。

在这里… (Read More Here…)

翻译自: https://medium.com/@CobusGreyling/how-to-resolve-intent-conflicts-within-your-chatbot-74f567d30d48

意图识别 聊天机器人


http://www.taodudu.cc/news/show-1874035.html

相关文章:

  • «构建并破坏它»:某些算法如何生成验证码,而另一些则如何破解
  • 蒙特卡洛方法习题_蒙特卡洛方法
  • 人体面部检测python_使用Python检测面部特征
  • int是终结符还是非终结符_什么是自动化的终结?
  • aba问题实际中有什么影响_实际影响是什么?
  • 使用Pytorch的LSTM文本分类
  • 创建dqn的深度神经网络_深度Q网络(DQN)-III
  • 数字社会的下一波浪潮_下一波创业浪潮是自然而然的
  • acl自然语言处理_ACL 2020中自然语言处理中的知识图
  • gan生成印刷体字母_字母GAN:AI生成英语字母!
  • 点击量作弊真的可以检测吗_作弊道德可以使自动驾驶汽车可行吗?
  • 欺骗神经网络_可以欺骗神经网络吗?
  • 图像增强python_Python图像增强简介(第1部分)
  • jio tomcat_透过Jio Glass看
  • 用于无人驾驶技术的车道线_自动驾驶汽车可用于查找车道的4种技术
  • q-learning_教计算机如何通过Q-Learning玩Snake
  • 深度强化学习从入门到大师_深度学习大师的经验教训
  • 自然语言处理 入门_自然语言处理入门指南
  • 变形金刚图纸_变形金刚救援
  • 传感器数据 数据库_丰富的数据,不良的数据:充分利用传感器
  • 使用高德地图打车软件实现_强化学习:使用Q学习来打车!
  • aws fargate_使用AWS Fargate部署PyCaret和Streamlit应用程序-无服务器基础架构
  • ai-人工智能的本质和未来_带有人工智能的动画电子设备-带来难以想象的结果...
  • 世界第一个聊天机器人源代码_这是世界上第一个“活着”的机器人
  • pytorch深度学习入门_立即学习AI:01 — Pytorch入门
  • 深度学习将灰度图着色_使用DeOldify着色和还原灰度图像和视频
  • 深度神经网络 卷积神经网络_改善深度神经网络
  • 采矿协议_采矿电信产品推荐
  • 机器人控制学习机器编程代码_机器学习正在征服显式编程
  • 强化学习在游戏中的作用_游戏中的强化学习

意图识别 聊天机器人_如何解决聊天机器人中的意图冲突相关推荐

  1. 机器学习做自动聊天机器人_您不应该使用聊天机器人的3个原因

    机器学习做自动聊天机器人 现在,基于云的聊天机器人几乎是旧技术. 他们已经有四年了. 和接待肯定是混合的 . 上周,几家合作机构的研究人员公布了正式的书面内容,称为``第二次对话智能挑战赛'',这是聊 ...

  2. 基于生成式对话的实时聊天机器人:实现实时聊天机器人与智能交互

    作者:禅与计算机程序设计艺术 基于生成式对话的实时聊天机器人:实现实时聊天机器人与智能交互 "基于生成式对话的实时聊天机器人:实现实时聊天机器人与智能交互" 引言 1.1. 背景介 ...

  3. 聊天机器人(Ajax实现聊天机器人接口的调用)

    文章目录 前言 一.UI布局 二.用户内容渲染到聊天窗口 三.获取聊天机器人消息 1.jquery中的ajax 2.调用机器人接口 四.将机器人的聊天内容转化为语音播放 五.使用回车发送消息 总结 - ...

  4. 机器学习做自动聊天机器人_当您14岁时建立和销售聊天机器人会是什么样的感觉...

    机器学习做自动聊天机器人 by Alec Jones 通过亚历克琼斯 当您14岁时建立和销售聊天机器人会是什么样的感觉 (What it's like to build and market a ch ...

  5. python自然语言处理与方言聊天机器人_聊天机器人Python实现案例 | 老炮儿聊机器语音...

    点击上方蓝色字体,关注:九三智能控 世界上最早的聊天机器人诞生于20世纪80年代,名为"阿尔贝特",用BASIC语言编写而成.目前,聊天机器人从功能和技术的角度,可以分为两类,一类 ...

  6. 机器学习做自动聊天机器人_我和一个治疗机器人聊天,缓解了我对Covid的恐惧。 这很奇怪。

    机器学习做自动聊天机器人 重点 (Top highlight) On a hot afternoon in June, I downloaded a free mental health app ca ...

  7. slack 聊天机器人_构建自己的Slack机器人

    slack 聊天机器人 利用Slack的强大功能,您可以做很多很酷的事情-专用频道,嵌入各种内容,从一个位置搜索所有消息,共享文件和代码,使用许多可用的集成中的一些或自己构建. 在这篇文章中,我将重点 ...

  8. python训练聊天机器人_一个可以进行训练的聊天机器人,一次chat的源码

    chatbot 一个可以使用自己语料进行训练的中文聊天机器人,目前包含seq2seq tf1.x和tf.2x版本,seqGan版本为tf1.x版本,后续计划更新pytorch版本,欢迎大家实践交流. ...

  9. python中文聊天机器人_[源码和文档分享]基于python的中文聊天机器人

    前言 发布这篇 Chat 的初衷是想和各位一起分享一下动手来做聊天机器人的乐趣,因此本篇文章适合用于深度机器学习的研究和兴趣发展,因为从工业应用的角度来看使用百度.科大讯飞的 API 接口会更加的适合 ...

  10. 用python写聊天机器人_用Python 写一个机器人陪你聊天(文尾有彩蛋)

    工作一忙,原来秉烛夜谈的好友现在都很少聊天,微信都成了微信群的天下,鲜有微信好友给你发消息,想要主动发却也找不到开题话题,怎么办?用Python写一个机器人陪自己聊聊天吧.以下是源码及解析,小白都看得 ...

最新文章

  1. SpringBoot 2.0 多图片上传加回显
  2. Webservice开发流程
  3. 【COGS】2287:[HZOI 2015]疯狂的机器人 FFT+卡特兰数+排列组合
  4. Vue(ts) - ref $refs 之el-input获取焦点
  5. Java Poi 向excel中插入图片
  6. 如何学好python基础_零基础如何学好Python开发?
  7. c语言2阶数组指针,C语言的指针(进阶篇章之二)
  8. 基于JAVA+SpringMVC+Mybatis+MYSQL的高校科研管理系统
  9. matlab负荷分配程序,利用MATLAB工具箱进行机组负荷优化分配
  10. L3-010. 是否完全二叉搜索树-PAT团体程序设计天梯赛GPLT
  11. 基于机器视觉的洋葱霜霉病症状自动检测
  12. 轻松学python(一)
  13. 网站seo淘宝客不能做了?我是怎么用网站做淘客月入过万的
  14. GitLab CI/CD Pipeline 与 jobs的概念
  15. abc F - Endless Walk
  16. 【python:turtle绘画 圣诞树】
  17. 教宗通谕《在希望中得救》
  18. 菜鸟学数据库——超键、候选键、主键、外键
  19. OpenWrt软件源清华大学镜像
  20. 插画怎么平涂?平涂和厚涂有什么区别么?

热门文章

  1. javascript 对象遍历
  2. delphi 如何解决假死
  3. python udp
  4. wampserver的下载与安装配置
  5. Atitit 提升科技影响力----软件方面的.docx 目录 1. 大原则 2 1.1. 科技强人必须是创新型[ 2 1.2. 要有一定的体量和规模 2 1.3. 产业链齐全 底层基础 --高层应
  6. Atitit 解析m4a文件的元数据标签音乐名,歌手 专辑 年代等信息 java版本 目录 1.1. 自己解析mp4 m4a结构 1 1.2. 格式返回 1 1.3. /bookmarksHtmlE
  7. atitit.TokenService v3 qb1 token服务模块的设计 新特性.docx
  8. Atitit. 数据库-----catalog与schema的设计区别以及在实际中使用 获取数据库所有库表 java jdbc php  c#.Net
  9. Atitit.struts2体系结构大总结
  10. atitit...触发器机制 ltrigger mechanism sumup .的总结O8f