Paper Reading AI Learner

Enhancing Hyperspace Analogue to Language Representations via Attention-Based Pooling for Text Classification

2026-03-20 17:25:09
Ali Sakour, Zoalfekar Sakour

Abstract

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.

Abstract (translated)

超空间语言类比(HAL)模型依赖全局词共现矩阵构建分布语义表示。尽管这些表示能有效捕捉词汇关系,但通过标准均值池化聚合为句子级嵌入时往往导致信息损失。均值池化对所有词元赋予相同权重,从而稀释了语境显著词汇的影响,同时放大了无信息量的结构词元的作用。本文针对这一局限,在HAL表示流程中集成了可学习的温度缩放可加注意力机制。为缓解原始共现矩阵的稀疏性与高维问题,我们在注意力层前采用截断奇异值分解(SVD)将向量投影至稠密潜在空间。所提架构在IMDB情感分析数据集上进行了评估。实证结果表明,基于注意力池化的方法达到82.38%的测试准确率,相较于传统均值池化基线(75.64%)实现了6.74个百分点的绝对提升。此外,对注意力权重的定性分析显示,该机制成功抑制了停用词,并选择性地聚焦于携带情感信息的词元,从而提升了分类性能与模型可解释性。

URL

https://arxiv.org/abs/2603.20149

PDF

https://arxiv.org/pdf/2603.20149.pdf


Tags
3D Action Action_Localization Action_Recognition Activity Adversarial Agent Attention Autonomous Bert Boundary_Detection Caption Chat Classification CNN Compressive_Sensing Contour Contrastive_Learning Deep_Learning Denoising Detection Dialog Diffusion Drone Dynamic_Memory_Network Edge_Detection Embedding Embodied Emotion Enhancement Face Face_Detection Face_Recognition Facial_Landmark Few-Shot Gait_Recognition GAN Gaze_Estimation Gesture Gradient_Descent Handwriting Human_Parsing Image_Caption Image_Classification Image_Compression Image_Enhancement Image_Generation Image_Matting Image_Retrieval Inference Inpainting Intelligent_Chip Knowledge Knowledge_Graph Language_Model LLM Matching Medical Memory_Networks Multi_Modal Multi_Task NAS NMT Object_Detection Object_Tracking OCR Ontology Optical_Character Optical_Flow Optimization Person_Re-identification Point_Cloud Portrait_Generation Pose Pose_Estimation Prediction QA Quantitative Quantitative_Finance Quantization Re-identification Recognition Recommendation Reconstruction Regularization Reinforcement_Learning Relation Relation_Extraction Represenation Represenation_Learning Restoration Review RNN Robot Salient Scene_Classification Scene_Generation Scene_Parsing Scene_Text Segmentation Self-Supervised Semantic_Instance_Segmentation Semantic_Segmentation Semi_Global Semi_Supervised Sence_graph Sentiment Sentiment_Classification Sketch SLAM Sparse Speech Speech_Recognition Style_Transfer Summarization Super_Resolution Surveillance Survey Text_Classification Text_Generation Time_Series Tracking Transfer_Learning Transformer Unsupervised Video_Caption Video_Classification Video_Indexing Video_Prediction Video_Retrieval Visual_Relation VQA Weakly_Supervised Zero-Shot