arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2308.10263cs.CL
收藏

扩大深度NLP模型中潜在概念的发现规模

Scaling up Discovery of Latent Concepts in Deep NLP Models

Qatar Computing Research Institute(卡塔尔计算研究所)

Majd Hawasly, Fahim Dalvi, Nadir Durrani

AI总结:

针对预训练模型潜在概念发现的凝聚式层次聚类成本高、规模受限问题,本文研究聚类算法,提出概念质量评估指标,发现基于K-Means的方法在保质量的同时大幅提效,并验证其可扩展至LLMs与短语概念。

摘要:

尽管深度NLP模型带来了变革,但它们仍是黑箱,因此有必要开展研究以理解其决策过程。Dalvi等人(2022)近期的一项工作通过对预训练模型(PLMs)的潜在空间进行聚类来开展表征分析,但由于运行Agglomerative hierarchical clustering(凝聚式层次聚类)的成本很高,该方法局限于小规模场景。本文对聚类算法展开研究,旨在将PLM表征中编码概念的发现扩展到更大规模的数据集和模型。我们提出了评估所发现潜在概念质量的指标,并利用这些指标对所研究的聚类算法进行比较。我们发现,基于K-Means的概念发现方法在保持所得概念质量的同时,显著提升了效率。此外,我们通过将潜在概念发现扩展到大语言模型(LLMs)和短语概念,证明了这种新获得的效率的实用性。

英文摘要:

Despite the revolution caused by deep NLP models, they remain black boxes, necessitating research to understand their decision-making processes. A recent work by Dalvi et al. (2022) carried out representation analysis through the lens of clustering latent spaces within pre-trained models (PLMs), but that approach is limited to small scale due to the high cost of running Agglomerative hierarchical clustering. This paper studies clustering algorithms in order to scale the discovery of encoded concepts in PLM representations to larger datasets and models. We propose metrics for assessing the quality of discovered latent concepts and use them to compare the studied clustering algorithms. We found that K-Means-based concept discovery significantly enhances efficiency while maintaining the quality of the obtained concepts. Furthermore, we demonstrate the practicality of this newfound efficiency by scaling latent concept discovery to LLMs and phrasal concepts.

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

↑