通过基于注意力的池化增强超空间类比于语言(HAL)表示用于文本分类
Enhancing Hyperspace Analogue to Language (HAL) Representations via Attention-Based Pooling for Text Classification
AI总结:
本文通过引入可学习的温度缩放加性注意力机制,改进HAL表示,以提升文本分类性能,实验显示在IMDB数据集上准确率提升6.74个百分点。
摘要:
超空间类比于语言(HAL)模型依赖于全局词共现矩阵来构建分布语义表示。尽管这些表示能有效捕捉词汇关系,但通过标准均值池化聚合到句子级嵌入时常常导致信息丢失。均值池化对所有标记赋予相等权重,从而稀释了上下文显著词的影响。本文通过在HAL表示管道中整合可学习的温度缩放加性注意力机制来解决这一限制。为缓解原始共现矩阵的稀疏性和高维性,我们应用截断奇异值分解(SVD)将向量投影到密集潜在空间,再进入注意力层。我们评估了所提出的架构在IMDB情感分析数据集上的性能。实验证明,基于注意力的池化方法在测试集上达到82.38%的准确率,比传统均值池化基线(75.64%)提高了6.74个百分点。此外,对注意力权重的定性分析表明,该机制成功抑制了停用词,并选择性地关注情感承载词,提高了分类性能和模型可解释性。
英文摘要:
The Hyperspace Analogue to Language (HAL) model relies on global word co-occurrence matrices to construct distributional semantic representations. While these representations capture lexical relationships effectively, aggregating them into sentence-level embeddings via standard mean pooling often results in information loss. Mean pooling assigns equal weight to all tokens, thereby diluting the impact of contextually salient words with uninformative structural tokens. In this paper, we address this limitation by integrating a learnable, temperature-scaled additive attention mechanism into the HAL representation pipeline. To mitigate the sparsity and high dimensionality of the raw co-occurrence matrices, we apply Truncated Singular Value Decomposition (SVD) to project the vectors into a dense latent space prior to the attention layer. We evaluate the proposed architecture on the IMDB sentiment analysis dataset. Empirical results demonstrate that the attention-based pooling approach achieves a test accuracy of 82.38%, yielding an absolute improvement of 6.74 percentage points over the traditional mean pooling baseline (75.64%). Furthermore, qualitative analysis of the attention weights indicates that the mechanism successfully suppresses stop-words and selectively attends to sentiment-bearing tokens, improving both classification performance and model interpretability.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。