Attribute-Based Injection Transformer for Personalized Sentiment Analysis

被引:2
|
作者
Zhang, You [1 ]
Wang, Jin [1 ]
Yu, Liang-Chih [2 ]
Xu, Dan [1 ]
Zhang, Xuejie [1 ]
机构
[1] Yunnan Univ, Sch Informat Sci & Engn, Kunming 650000, Peoples R China
[2] Yuan Ze Univ, Dept Informat Management, Taoyuan 320, Taiwan
基金
中国国家自然科学基金;
关键词
Transformers; Reviews; Sentiment analysis; Task analysis; Analytical models; Context modeling; Training; Personalized sentiment analysis; attention mechanism; layer normalization; pre-trained language model; CLASSIFICATION;
D O I
10.1109/TETCI.2024.3369323
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Personal attributes have been proven to be useful for sentiment analysis. However, previous models of learning attribute-specific language representations are suboptimal because only context- or content-wise injection is adopted. This study proposes a transformer structure with a combination of both context- and content-wise injections based on a well pretrained transformer encoder. For context-wise injection, self-interactive attention is implemented by incorporating personal attributes into a multi-head attention. For the content-wise perspective, an attribute-based layer normalization is used to align text representation with personal attributes. In particular, the proposed transformer layer can be a universal layer compatible with the original Google Transformer layer. Instead of training from scratch, the proposed Transformer layer can be initialized from a well pre-trained checkpoint for downstream tasks. Extensive experiments were conducted on three benchmarks of document-level sentiment analysis, including IMDB, Yelp-2013 and Yelp-2014. The results show that the proposed method outperforms the previous methods for personalized sentiment analysis, demonstrating that the combination of both context- and content-wise injections can facilitate model learning for attribute-specific language representations.
引用
收藏
页码:2581 / 2591
页数:11
相关论文
共 50 条
  • [31] Registered Attribute-Based Signature
    Zhang, Yijian
    Zhao, Jun
    Zhu, Ziqi
    Gong, Junqing
    Chen, Jie
    PUBLIC-KEY CRYPTOGRAPHY, PT I, PKC 2024, 2024, 14601 : 133 - 162
  • [32] Attribute-based signature on lattices
    Mao X.-P.
    Chen K.-F.
    Long Y.
    Wang L.-L.
    Journal of Shanghai Jiaotong University (Science), 2014, 19 (4) : 406 - 411
  • [33] Attribute-Based Encryption for Circuits
    Gorbunov, Sergey
    Vaikuntanathan, Vinod
    Wee, Hoeteck
    JOURNAL OF THE ACM, 2015, 62 (06)
  • [34] Threshold Attribute-Based Signcryption
    Gagne, Martin
    Narayan, Shivaramakrishnan
    Safavi-Naini, Reihaneh
    SECURITY AND CRYPTOGRAPHY FOR NETWORKS, 2010, 6280 : 154 - 171
  • [35] Decentralized Attribute-Based Signatures
    Okamoto, Tatsuaki
    Takashima, Katsuyuki
    PUBLIC-KEY CRYPTOGRAPHY - PKC 2013, 2013, 7778 : 125 - 142
  • [36] Hierarchical Attribute-Based Signatures
    Dragan, Constantin-Catalin
    Gardham, Daniel
    Manulis, Mark
    CRYPTOLOGY AND NETWORK SECURITY, CANS 2018, 2018, 11124 : 213 - 234
  • [37] Attribute-Based Access Control
    Hu, Vincent C.
    Kuhn, D. Richard
    Ferraiolo, David F.
    COMPUTER, 2015, 48 (02) : 85 - 88
  • [38] Attribute-based signatures on lattices
    Xie Jia
    Hu Yupu
    Gao Juntao
    Gao Wen
    Li Xuelian
    The Journal of China Universities of Posts and Telecommunications, 2016, 23 (04) : 83 - 90
  • [39] Context-sensitive and attribute-based sentiment classification of online consumer-generated content
    Bansal, Barkha
    Srivastava, Sangeet
    KYBERNETES, 2021, 50 (02) : 243 - 262
  • [40] Attribute-Based Signature on Lattices
    毛贤平
    陈克非
    龙宇
    王亮亮
    JournalofShanghaiJiaotongUniversity(Science), 2014, 19 (04) : 406 - 411