arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.16815cs.HC
收藏

基于潜在空间正则化和交互式语义探测的词嵌入压缩与解释

Compressing and Interpreting Word Embeddings with Latent Space Regularization and Interactive Semantics Probing

Haoyu Li, Junpeng Wang, Yan Zheng, Liang Wang, Wei Zhang, Han-Wei Shen

AI总结:

本研究借鉴 $β$VAE 思想对高维潜在空间进行正则化,将词嵌入压缩至低维空间并提升语义显著性,同时设计了可视分析系统以交互式探索和解释潜在维度语义。

摘要:

词嵌入是由机器学习模型生成的单词高维(HD)数值表示,已被用于各种自然语言处理任务,例如两种语言之间的翻译。最近,将HD嵌入转换为潜在空间(例如通过自编码器)以进行后续任务的趋势日益增加,从而利用潜在表示带来的各种优势。为了保持嵌入的质量,这些工作通常将嵌入映射到更高维的潜在空间,这使得原本复杂的嵌入变得更难解释,并消耗更多的存储空间。在本研究中,我们借鉴了 $β$VAE 的思想来正则化HD潜在空间。我们的正则化方法将HD潜在空间的信息隐式地压缩到一个低维空间中,从而实现了嵌入的压缩。我们还证明了正则化潜在空间的每个维度在语义上更加显著,并通过交互式探测用户提供的语义在各个维度上的编码级别来验证我们的主张。为此,我们设计了一个可视分析系统来监控正则化过程、探索HD潜在空间,并解释潜在维度的语义。我们通过定量和定性评估验证了我们的嵌入正则化和解释方法的有效性。

英文摘要:

Word embedding, a high-dimensional (HD) numerical representation of words generated by machine learning models, has been used for different natural language processing tasks, e.g., translation between two languages. Recently, there has been an increasing trend of transforming the HD embeddings into a latent space (e.g., via autoencoders) for further tasks, exploiting various merits the latent representations could bring. To preserve the embeddings' quality, these works often map the embeddings into an even higher-dimensional latent space, making the already complicated embeddings even less interpretable and consuming more storage space. In this work, we borrow the idea of $β$VAE to regularize the HD latent space. Our regularization implicitly condenses information from the HD latent space into a much lower-dimensional space, thus compressing the embeddings. We also show that each dimension of our regularized latent space is more semantically salient, and validate our assertion by interactively probing the encoding-level of user-proposed semantics in the dimensions. To the end, we design a visual analytics system to monitor the regularization process, explore the HD latent space, and interpret latent dimensions' semantics. We validate the effectiveness of our embedding regularization and interpretation approach through both quantitative and qualitative evaluations.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑