多粒度BERT:一种适用于物联网设备的可解释模型

Sihao Xu, Wei Zhang, Fan Zhang
{"title":"多粒度BERT:一种适用于物联网设备的可解释模型","authors":"Sihao Xu, Wei Zhang, Fan Zhang","doi":"10.1109/ICEI49372.2020.00032","DOIUrl":null,"url":null,"abstract":"With the development of the Energy Internet (EI), its applications have gradually spread from industrial uses to smart homes. Specifically, home Internet of Things(IoT) devices have become popular in the field of smart homes. In this paper, we propose an interpretable model that can be applied on the IoT devices. When Chinese characters are grouped into words, the meaning may vary. Inspired by the observation, we convert character-level Bi-directional Transformer (BERT) to word-level, which we call it multi-granular BERT (MLGB). It constructs the n-gram representation of different lengths within a model. It also learns the self-attention between n-grams during both pre-training and task-specific fine-tuning to learn both the word representation and word-word self-attention at the same time. As a diagnostic task, we evaluate our model on two Chinese text pair classification tasks and observe the model’s behavior. The MLGB retains the BERT’s accuracy on the tasks while demonstrates more interpretable word-level self-attention. Multi-granularity may also have served as a regularization of attention that alleviates the non-identifiability issue of self-attention.","PeriodicalId":418017,"journal":{"name":"2020 IEEE International Conference on Energy Internet (ICEI)","volume":"109 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2020-08-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":"{\"title\":\"Multi-Granular BERT: An Interpretable Model Applicable to Internet-of-Thing devices\",\"authors\":\"Sihao Xu, Wei Zhang, Fan Zhang\",\"doi\":\"10.1109/ICEI49372.2020.00032\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"With the development of the Energy Internet (EI), its applications have gradually spread from industrial uses to smart homes. Specifically, home Internet of Things(IoT) devices have become popular in the field of smart homes. In this paper, we propose an interpretable model that can be applied on the IoT devices. When Chinese characters are grouped into words, the meaning may vary. Inspired by the observation, we convert character-level Bi-directional Transformer (BERT) to word-level, which we call it multi-granular BERT (MLGB). It constructs the n-gram representation of different lengths within a model. It also learns the self-attention between n-grams during both pre-training and task-specific fine-tuning to learn both the word representation and word-word self-attention at the same time. As a diagnostic task, we evaluate our model on two Chinese text pair classification tasks and observe the model’s behavior. The MLGB retains the BERT’s accuracy on the tasks while demonstrates more interpretable word-level self-attention. Multi-granularity may also have served as a regularization of attention that alleviates the non-identifiability issue of self-attention.\",\"PeriodicalId\":418017,\"journal\":{\"name\":\"2020 IEEE International Conference on Energy Internet (ICEI)\",\"volume\":\"109 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2020-08-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"2\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2020 IEEE International Conference on Energy Internet (ICEI)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/ICEI49372.2020.00032\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2020 IEEE International Conference on Energy Internet (ICEI)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICEI49372.2020.00032","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 2

摘要

随着能源互联网(EI)的发展,其应用已逐渐从工业使用智能家居。具体来说,家庭物联网(IoT)设备已经成为智能家居领域的热门产品。在本文中,我们提出了一个可用于物联网设备的可解释模型。当汉字被组合成单词时,意思可能会有所不同。在观察的启发下,我们将字符级双向转换(BERT)转换为词级,我们称之为多粒度BERT (MLGB)。它在一个模型中构造不同长度的n-gram表示。在预训练和任务微调过程中学习n-gram之间的自注意,同时学习单词表征和单词-单词自注意。作为一项诊断任务,我们在两个中文文本对分类任务上对模型进行了评估,并观察了模型的行为。MLGB保留了BERT在任务上的准确性,同时表现出更多可解释的词级自我注意。多粒度还可以作为注意力的规格化,减轻自我注意的不可识别性问题。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Multi-Granular BERT: An Interpretable Model Applicable to Internet-of-Thing devices
With the development of the Energy Internet (EI), its applications have gradually spread from industrial uses to smart homes. Specifically, home Internet of Things(IoT) devices have become popular in the field of smart homes. In this paper, we propose an interpretable model that can be applied on the IoT devices. When Chinese characters are grouped into words, the meaning may vary. Inspired by the observation, we convert character-level Bi-directional Transformer (BERT) to word-level, which we call it multi-granular BERT (MLGB). It constructs the n-gram representation of different lengths within a model. It also learns the self-attention between n-grams during both pre-training and task-specific fine-tuning to learn both the word representation and word-word self-attention at the same time. As a diagnostic task, we evaluate our model on two Chinese text pair classification tasks and observe the model’s behavior. The MLGB retains the BERT’s accuracy on the tasks while demonstrates more interpretable word-level self-attention. Multi-granularity may also have served as a regularization of attention that alleviates the non-identifiability issue of self-attention.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信