基于GPT数据增强训练的移动键盘端侧表情符号分类器
On-Device Emoji Classifier Trained with GPT-based Data Augmentation for a Mobile Keyboard
AI总结:
针对移动键盘端侧表情符号预测面临的内存约束、数据不平衡及用户偏好适配问题,提出基于MobileBert的分类器,通过GPT生成标签增强数据以缓解不平衡,并结合用户历史优化输出,提升了SwiftKey的表情符号预测准确率(尤其稀有表情符号)及使用率。
摘要:
表情符号可提升使用移动键盘交换文本的智能手机用户间的沟通质量。为基于输入文本向用户预测表情符号,需考虑端侧低内存与时间约束,确保端侧表情符号分类器覆盖广泛的表情符号类别(尽管表情符号数据集通常不平衡),并使分类器输出适配用户偏好。本文针对SwiftKey提出一种基于MobileBert的端侧表情符号分类器,其内存与延迟需求合理。为解决数据不平衡问题,我们利用广泛使用的GPT为每个表情符号类别生成一个或多个标签;对每个表情符号及对应标签,将原始数据集与GPT生成的句子合并,并在无需人工干预的情况下为这些句子标注该表情符号,以缓解数据不平衡。推理时,我们将表情符号输出与用户表情符号历史进行插值,以实现更好的分类。结果显示,部署于SwiftKey的该端侧表情符号分类器提升了表情符号预测的准确率,尤其在稀有表情符号上表现显著,同时提高了表情符号使用率。
英文摘要:
Emojis improve communication quality among smart-phone users that use mobile keyboards to exchange text. To predict emojis for users based on input text, we should consider the on-device low memory and time constraints, ensure that the on-device emoji classifier covers a wide range of emoji classes even though the emoji dataset is typically imbalanced, and adapt the emoji classifier output to user favorites. This paper proposes an on-device emoji classifier based on MobileBert with reasonable memory and latency requirements for SwiftKey. To account for the data imbalance, we utilize the widely used GPT to generate one or more tags for each emoji class. For each emoji and corresponding tags, we merge the original set with GPT-generated sentences and label them with this emoji without human intervention to alleviate the data imbalance. At inference time, we interpolate the emoji output with the user history for emojis for better emoji classifications. Results show that the proposed on-device emoji classifier deployed for SwiftKey increases the accuracy performance of emoji prediction particularly on rare emojis and emoji engagement.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。