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

显式语法语义特征融合用于鲁棒文本分类

Explicit Grammar Semantic Feature Fusion for Robust Text Classification

Department of Computer Science, American International University-Bangladesh(计算机科学系,美国国际大学-孟加拉国)

Azrin Sultana, Firoz Ahmed

AI总结:

本文提出显式语法语义特征融合方法,通过编码语法结构并融合语义信息,构建轻量文本分类模型,提升跨领域学习效果

摘要:

自然语言处理通过高效分析和分类文本,使计算机能够理解人类语言,利用深层次的语法和语义特征。现有模型通过从大规模语料库中学习来捕捉特征,使用变换器模型,这在计算上是昂贵的,不适合资源受限的环境。因此,我们的研究结合了全面的语法规则和语义信息,构建了一个稳健、轻量的分类模型,而不依赖于全参数化的变换器模型或重型深度学习架构。本方法的创新点在于其显式编码句子层面的语法结构,包括句法组成、短语模式和复杂性指标,将其编码为紧凑的语法向量,然后与冻结的上下文嵌入进行融合。这些异构元素统一为一个表示,捕捉了文本的结构和语义特征。深度学习模型如深度信念网络(DBNs)、长短期记忆(LSTMs)、双向LSTMs以及基于变换器的BERT和XLNET被用来训练和评估模型,epoch数量有所变化。基于实验结果,统一的特征表示模型捕捉了文本的语义和结构特性,比基线模型提升了2%-15%,在异构领域中实现了更有效的学习。与先前语法意识的变换器模型不同,后者通过额外的注意力层、树编码器或完全微调来注入语法结构,而本框架将语法视为显式的归纳偏差,而不是可学习的模块,从而得到一个非常轻量的模型,在边缘设备上实现了更好的性能

英文摘要:

Natural Language Processing enables computers to understand human language by analysing and classifying text efficiently with deep-level grammatical and semantic features. Existing models capture features by learning from large corpora with transformer models, which are computationally intensive and unsuitable for resource-constrained environments. Therefore, our proposed study incorporates comprehensive grammatical rules alongside semantic information to build a robust, lightweight classification model without resorting to full parameterised transformer models or heavy deep learning architectures. The novelty of our approach lies in its explicit encoding of sentence-level grammatical structure, including syntactic composition, phrase patterns, and complexity indicators, into a compact grammar vector, which is then fused with frozen contextual embeddings. These heterogeneous elements unified a single representation that captures both the structural and semantic characteristics of the text. Deep learning models such as Deep Belief Networks (DBNs), Long Short-Term Memory (LSTMs), BiLSTMs, and transformer-based BERT and XLNET were used to train and evaluate the model, with the number of epochs varied. Based on experimental results, the unified feature representation model captures both the semantic and structural properties of text, outperforming baseline models by 2%-15%, enabling more effective learning across heterogeneous domains. Unlike prior syntax-aware transformer models that inject grammatical structure through additional attention layers, tree encoders, or full fine-tuning, the proposed framework treats grammar as an explicit inductive bias rather than a learnable module, resulting in a very lightweight model that delivers better performance on edge devices

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

↑