<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Publishing DTD with MathML3 v1.1d2 20140930//EN" "JATS-journalpublishing1-mathml3.dtd">
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="1.1d2" xml:lang="en">
  <front>
    <journal-meta>
      <journal-id journal-id-type="nlm-ta">CJIF</journal-id>
      <journal-id journal-id-type="publisher-id">ICCK</journal-id>
      <journal-title-group>
        <journal-title>Chinese Journal of Information Fusion</journal-title>
      </journal-title-group>
      <issn pub-type="ppub" publication-format="print">2998-3363</issn>
      <issn pub-type="epub" publication-format="electronic">2998-3371</issn>
      <publisher>
        <publisher-name>Institute of Central Computation and Knowledge Inc</publisher-name>
        <publisher-loc>522 W RIVERSIDE AVE STE N, SPOKANE, WA, 99201-0508, UNITED STATES</publisher-loc>
      </publisher>
    </journal-meta>
    <article-meta>
      <article-id pub-id-type="doi">10.62762/CJIF.2025.820998</article-id>
      <article-categories>
        <subj-group subj-group-type="heading">
          <subject>Research Article</subject>
        </subj-group>
      </article-categories>
      <title-group>
        <article-title>Using Psycholinguistic Clues to Index Deep Semantic Evidences: Personality Detection in Social Media Texts</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <contrib-id contrib-id-type="orcid">https://orcid.org/0009-0006-3184-4662</contrib-id>
          <name>
            <surname>Tang</surname>
            <given-names>Qirui</given-names>
          </name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <contrib-id contrib-id-type="orcid">https://orcid.org/0009-0005-1698-2138</contrib-id>
          <name>
            <surname>Jiang</surname>
            <given-names>Wenkang</given-names>
          </name>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <contrib-id contrib-id-type="orcid">https://orcid.org/0000-0002-2615-8688</contrib-id>
          <name>
            <surname>Pan</surname>
            <given-names>Xinlong</given-names>
          </name>
          <xref ref-type="aff" rid="aff3">3</xref>
        </contrib>
        <contrib contrib-type="author">
          <contrib-id contrib-id-type="orcid">https://orcid.org/0000-0001-6179-9088</contrib-id>
          <name>
            <surname>Lin</surname>
            <given-names>Lei</given-names>
          </name>
          <xref ref-type="aff" rid="aff4">4</xref>
        </contrib>
        <contrib contrib-type="author">
          <contrib-id contrib-id-type="orcid">https://orcid.org/0009-0006-0106-0170</contrib-id>
          <name>
            <surname>Zhu</surname>
            <given-names>Jizhao</given-names>
          </name>
          <xref ref-type="aff" rid="aff5">5</xref>
        </contrib>
        <contrib contrib-type="author">
          <name>
            <surname>Du</surname>
            <given-names>Yihua</given-names>
          </name>
          <xref ref-type="aff" rid="aff4">4</xref>
        </contrib>
        <contrib contrib-type="author">
          <name>
            <surname>Sun</surname>
            <given-names>Donghong</given-names>
          </name>
          <xref ref-type="aff" rid="aff6">6</xref>
        </contrib>
        <aff id="aff1"><label>1</label>School of Cyber Security, University of Chinese Academy of Sciences, Beijing 101408, China</aff>
        <aff id="aff2"><label>2</label>Australian Institute for Machine Learning, The University of Adelaide, Adelaide 5005, Australia</aff>
        <aff id="aff3"><label>3</label>Institute of Information Fusion, Naval Aviation University, Yantai 264001, China</aff>
        <aff id="aff4"><label>4</label>Computer Network Information Center, Chinese Academy of Sciences, Beijing 100085, China</aff>
        <aff id="aff5"><label>5</label>School of Computer Science, Shenyang Aerospace University, Shenyang 110136, China</aff>
        <aff id="aff6"><label>6</label>Institute for Network Science and Cyberspace, Tsinghua University, Beijing 100084, China</aff>
      </contrib-group>
      <author-notes>
        <corresp id="cor3">Corresponding Author: Xinlong Pan. Email: <email>airadar@126.com</email></corresp>
        <corresp id="cor6">Corresponding Author: Yihua Du. Email: <email>yhdu@cashq.ac.cn</email></corresp>
      </author-notes>
      <pub-date date-type="pub" pub-type="epub" publication-format="online">
        <day>26</day>
        <month>4</month>
        <year>2025</year>
      </pub-date>
      <volume>2</volume>
      <issue>2</issue>
      <fpage>112</fpage>
      <lpage>126</lpage>
      <history>
        <date date-type="received">
          <day>04</day>
          <month>3</month>
          <year>2025</year>
        </date>
        <date date-type="accepted">
          <day>15</day>
          <month>4</month>
          <year>2025</year>
        </date>
      </history>
      <permissions>
        <copyright-statement>© 2025 by the Authors. Published by Institute of Central Computation and Knowledge. This is an open access article under the CC BY license (https://creativecommons.org/licenses/by/4.0/).</copyright-statement>
        <copyright-year>2025</copyright-year>
        <copyright-holder>The Authors</copyright-holder>
        <license xlink:href="https://creativecommons.org/licenses/by/4.0/">
        </license>
      </permissions>
      <self-uri xlink:href="https://www.icck.org/article/abs/cjif.2025.820998">This article is available from https://www.icck.org/article/abs/cjif.2025.820998</self-uri>
      <abstract>
        <p>Detecting personalities in social media content is an important application of personality psychology. Most early studies apply a coherent piece of writing to personality detection, but today, the challenge is to identify dominant personality traits from a series of short, noisy social media posts. To this end, recent studies have attempted to individually encode the deep semantics of posts, often using attention-based methods, and then relate them, or directly assemble them into graph structures. However, due to the inherently disjointed and noisy nature of social media content, constructing meaningful connections remains challenging. While such methods rely on well-defined relationships between posts, effectively capturing these connections in fragmented and sparse content is non-trivial, particularly under limited supervision or noisy input. To tackle this, we draw inspiration from the scanning reading technique—commonly recommended for efficiently processing large volumes of information—and propose an index attention mechanism as a solution. This mechanism leverages prior psycholinguistic knowledge as an "index" to guide attention, thereby enabling more effective information fusion across scattered semantic signals. Building on this idea, we introduce the Index Attention Network (IAN)—a novel framework designed to infer personality labels by performing targeted information fusion over deep semantic representations of individual posts. Through a series of experiments, IAN achieved state-of-the-art performance on the Kaggle dataset and performance comparable to graph convolutional networks (GCN) on the Pandora dataset. Notably, IAN delivered an average improvement of 13% in terms of macro-F1 scores with the Kaggle dataset. The code for IAN is available at GitHub: <ext-link xlink:href="https://github.com/Once2gain/IAN.">https://github.com/Once2gain/IAN.</ext-link></p>
      </abstract>
      <kwd-group kwd-group-type="author" xml:lang="en">
        <kwd>personality detection</kwd>
        <kwd>attention mechanism</kwd>
        <kwd>social media text mining</kwd>
        <kwd>information fusion</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="S1">
      <label>1.</label>
      <title>Introduction</title>
      <p id="S1.p1">Personality testing is a common task in psychology. The traditional method of testing a subject's personality is an artificially designed questionnaire, which is relatively reliable but not particularly efficient. To this end, researchers have proposed several different automated methods of testing personalities. Of these, analyzing user-generated content is one of the most important  [<xref rid="ref001" ref-type="bibr">1</xref>, <xref rid="ref002" ref-type="bibr">2</xref>]. Fortunately, social media provides vast quantities of user-generated content to test and, here, text, as the most abundant type of content, has proven to contain rich information that substantially reflects the author's individuality  [<xref rid="ref003" ref-type="bibr">3</xref>, <xref rid="ref004" ref-type="bibr">4</xref>]. It is this information that helps us to understand human cognitive and behavioral patterns. As such, personality detection has numerous promising applications in fields such as marketing and social network analysis. Figure <xref ref-type="fig" rid="F1">1</xref> provides an outline of how personality detection works in social media texts.</p>
      <sec id="S1.SS1">
        <label>1.1</label>
        <title>Language use and personality</title>
        <p id="S1.SS1.p1">Researchers have long been attempting to identify an individual's personality traits from their writings. Typically, they study the styles that surround people use words, with most articles reporting high within-person stability of language use, which has been linked to personality, psychological interventions, and other phenomena  [<xref rid="ref005" ref-type="bibr">5</xref>, <xref rid="ref006" ref-type="bibr">6</xref>, <xref rid="ref007" ref-type="bibr">7</xref>, <xref rid="ref004" ref-type="bibr">4</xref>]. Moreover, this stability tends to persist no matter how the text is written: as a stream-of-consciousness, as an essay, or in self-narrative format  [<xref rid="ref008" ref-type="bibr">8</xref>, <xref rid="ref009" ref-type="bibr">9</xref>, <xref rid="ref010" ref-type="bibr">10</xref>].</p>
        <p id="S1.SS1.p2">That said, most of the above studies were conducted in a laboratory setting, where the subjects not only produced writing samples in the lab, but limitations were also placed on the topics to write about and the size of the sample. To address this issue, researchers have turned to more naturalistic writing texts, such as blogs on websites or posts on social media platforms  [<xref rid="ref011" ref-type="bibr">11</xref>, <xref rid="ref012" ref-type="bibr">12</xref>, <xref rid="ref013" ref-type="bibr">13</xref>, <xref rid="ref014" ref-type="bibr">14</xref>]. Here, researchers have found inherent consistency in the personalities implied between the social media texts and normal, freely-written samples. For example, Gill et al. [<xref rid="ref039" ref-type="bibr">39</xref>] conclude that bloggers tend to adapt to the possibilities of the medium rather than trying to present themselves differently.</p>
        <p>
          <fig id="F1">
            <label>Figure 1.</label>
            <caption>
              <p>Personality detection from social media posts.</p>
            </caption>
            <graphic xlink:href="figures/fg1.png"/>
          </fig>
        </p>
      </sec>
      <sec id="S1.SS2">
        <label>1.2</label>
        <title>Progression of Personality Detection in Texts </title>
        <p id="S1.SS2.p1">Researchers have also found that linguistic expressions have a significant non-linear correlation to personality traits  [<xref rid="ref001" ref-type="bibr">1</xref>, <xref rid="ref006" ref-type="bibr">6</xref>, <xref rid="ref007" ref-type="bibr">7</xref>, <xref rid="ref008" ref-type="bibr">8</xref>, <xref rid="ref009" ref-type="bibr">9</xref>]. In fact, several of the initial advances made in personality detection with texts have been closely related to some of the research findings from psycholinguistics. For example, people who score high on extraversion generally use more social words, show more positive emotions, and tend to write more words but fewer large words  [<xref rid="ref006" ref-type="bibr">6</xref>, <xref rid="ref015" ref-type="bibr">15</xref>]. Linguistic Inquiry and Word Count (LIWC)  [<xref rid="ref016" ref-type="bibr">16</xref>] has been one of the most widely used tools for analyzing word use. Emotional dictionaries are also frequently mentioned  [<xref rid="ref017" ref-type="bibr">17</xref>, <xref rid="ref018" ref-type="bibr">18</xref>], as emotional experience has proven to be a key factor in personality analysis  [<xref rid="ref019" ref-type="bibr">19</xref>]. Further, many researchers are relying on statistical strategies to build a combined feature set, i.e., a set of word expressions, to feed into traditional machine learning models. The idea is to extract a linguistic feature pattern that can be used to predict personality traits  [<xref rid="ref013" ref-type="bibr">13</xref>, <xref rid="ref014" ref-type="bibr">14</xref>, <xref rid="ref020" ref-type="bibr">20</xref>] for a better result. These statistical features, such as LIWC, are frequently called (traditional) psycholinguistic features or psycholinguistic clues.</p>
        <p id="S1.SS2.p2">Additionally, numerous researchers have been working on feature engineering as a way of extracting personality-related signals from raw text  [<xref rid="ref018" ref-type="bibr">18</xref>, <xref rid="ref021" ref-type="bibr">21</xref>, <xref rid="ref022" ref-type="bibr">22</xref>]. For instance, Celli et al. [<xref rid="ref023" ref-type="bibr">23</xref>] summarized two approaches to personality recognition: bottom-up and top-down. The bottom-up approach seeks cues from the data, like using n-gram features for text classification  [<xref rid="ref024" ref-type="bibr">24</xref>, <xref rid="ref011" ref-type="bibr">11</xref>]. Conversely, the top-down approaches use external resources, such as LIWC, to test correlations between word use and personality traits  [<xref rid="ref003" ref-type="bibr">3</xref>]. Further, with the rise of Transformers  [<xref rid="ref025" ref-type="bibr">25</xref>], researchers have turned to Transformer-based pre-trained language models (PLMs) to extract deep semantic features, also sometimes called PLM features. Such approaches have demonstrated encouraging progress  [<xref rid="ref022" ref-type="bibr">22</xref>, <xref rid="ref026" ref-type="bibr">26</xref>], generally relegating psycholinguistic features to second place.</p>
        <p id="S1.SS2.p3">One of the most recent advancements in personality prediction has been to measure personality types from social media posts  [<xref rid="ref026" ref-type="bibr">26</xref>, <xref rid="ref027" ref-type="bibr">27</xref>]. Given the abundance of diverse text on social media, this has proven to be an easy-access approach that also saves time – especially compared to questionnaire-based approaches  [<xref rid="ref028" ref-type="bibr">28</xref>, <xref rid="ref029" ref-type="bibr">29</xref>]. Take blog posts as an example. These are typically short, topic-agnostic documents written in the author's natural style whose content may or may not contain personality clues  [<xref rid="ref030" ref-type="bibr">30</xref>]. To explore these posts for personality detection, one stream of research sees this content converted into graph networks. In turn, these networks reveal the inherent patterns in the structure of the posts  [<xref rid="ref031" ref-type="bibr">31</xref>, <xref rid="ref032" ref-type="bibr">32</xref>, <xref rid="ref033" ref-type="bibr">33</xref>, <xref rid="ref030" ref-type="bibr">30</xref>].</p>
        <p id="S1.SS2.p4">In terms of prediction models, researchers have tried to integrate PLM features and psycholinguistic features using graph representations of the posts  [<xref rid="ref032" ref-type="bibr">32</xref>, <xref rid="ref033" ref-type="bibr">33</xref>]. Usually, the psycholinguistic features are used to construct the connection between posts, while the PLM features are used for the representations of each post.</p>
        <p id="S1.SS2.p5">Counter to this graph network-based approach, we propose an attention-based network called IAN. IAN weights the posts according to the psycholinguistic features and produces representations of the posts according to the PLM features, which are then subject to deep classification. Similar to the approaches based on graph networks, IAN uses the psycholinguistic features to mine correlations between posts, weighting each post according to the correlations found. As a more intuitive explanation, the psycholinguistic features are used to calculate the query or key for the self-attention mechanism, while the PLM features are used to calculate the self-attention value. In this way, IAN inherits all the advantages of the graph-based methods. That is, IAN uses the psycholinguistic features as clues to index evidence from the deep semantic features for personality prediction.</p>
        <p id="S1.SS2.p6">As a last point, one of the dilemmas faced by all existing studies is that, in situations where computing resources are limited, only a small portion of an author's posts can be taken as input. To remedy this issue, our IAN framework incorporates a topic clustering method. Thus, the contributions of this study are summarized as follows:</p>
        <p>
          <list list-type="bullet" id="S1.I1">
            <list-item id="S1.I1.i1">
              <p id="S1.I1.i1.p1">We present an index attention mechanism for personality detection that can be thought of as a PLM-based multi-document classification mechanism. The basic principle is to use prior knowledge to pre-estimate the index score of each document against other documents so as to help aggregate task-specific features as distinct from pre-trained features.</p>
            </list-item>
            <list-item id="S1.I1.i2">
              <p id="S1.I1.i2.p1">Experiments on two different datasets demonstrate that IAN is a highly effective approach to personality detection. Notably, its performance on the Kaggle dataset is, on average, 13% better than the current state-of-the-art performance in terms of Macro F1 scores.</p>
            </list-item>
            <list-item id="S1.I1.i3">
              <p id="S1.I1.i3.p1">We visualized the index score matrices in the index attention mechanism as a way to summarize how the working patterns of index attention help facilitate information fusion across different segments. The results provide evidence that using psycholinguistic features to establish inter-document indexes can be quite effective.</p>
            </list-item>
          </list>
        </p>
      </sec>
    </sec>
    <sec id="S2">
      <label>2.</label>
      <title>Related Studies</title>
      <sec id="S2.SS1">
        <label>2.1</label>
        <title>Social Media Text-based Personality Detection</title>
        <p id="S2.SS1.p1">In order to conduct personality detection with social media posts, one has to jointly consider many short pieces of disparate text. This is an entirely different task from classifying long tracts of prose. Hence, recently, researchers have proposed several novel ways of enhancing the representation of social media posts by examining the interactions between them. Lynn et al. [<xref rid="ref034" ref-type="bibr">34</xref>] point out that not all posts are equally important. Based on this idea, they proposed a hierarchical network based entirely on a GRU called SN+Attn. Within this framework, they use message-level attention to learn the weight of each post, while trying to recover high signal messages from noisy data. Similarly, Yang et al. [<xref rid="ref031" ref-type="bibr">31</xref>] propose a post-order-agnostic encoder named Transformer-MD, which is a modified version of Transformer-XL. Their variant encodes any number of posts through memory tokens that represent previous posts. However, because noisy and scattered semantics are prone to interfere with each other, relying solely on self-attention to refine the representation of social media texts is not particularly wise  [<xref rid="ref025" ref-type="bibr">25</xref>].</p>
        <p id="S2.SS1.p2">The latest method to achieve optimal performance is the graph neural network (GNN), which has been used to model the structural relations between posts. In the graph, the nodes are posts, and the edges represent the similarity between the psycholinguistic features of the content. Generally, pre-trained language models are used to initialize the representations of posts as nodes. Yang et al. [<xref rid="ref032" ref-type="bibr">32</xref>] tried to inject psycholinguistic knowledge into a heterogeneous graph called TrigNet by associating psycholinguistic category nodes to nodes of posts through word nodes as intermediaries. Zhu et al. [<xref rid="ref033" ref-type="bibr">33</xref>] proposed CGTN by constructing a second graph of social media posts initialized with psycholinguistic features and employing contrastive learning to determine graph similarity, while Yang et al. [<xref rid="ref030" ref-type="bibr">30</xref>] developed D-DGCN through a dynamic multi-hop structure that automatically updates inter-post connections. Departing from these graph-based approaches, our study introduces a lightweight attention network enhanced with author-specific topic preference and psycholinguistic knowledge, eliminating the need for complex graph structures.</p>
        <p id="S2.SS1.p3">Recent advances in personality detection have seen a noticeable decline in attention-based and Transformer-based models. This shift is largely attributable to the inherent challenges Transformers face when applied to fragmented and short texts common in social media—specifically, their limited ability to capture user-level patterns from dispersed and heterogeneous linguistic signals. As a result, recent research has increasingly favored graph-based frameworks, which offer a natural means to model latent relationships between posts and facilitate joint learning of user trait representations. These models often incorporate psycholinguistic cues to establish meaningful inter-post connections, as illustrated by the works [<xref rid="ref033" ref-type="bibr">33</xref>, <xref rid="ref032" ref-type="bibr">32</xref>]. While GCN-based methods have demonstrated effectiveness in modeling structural relationships between posts, they face limitations in both robustness and efficiency. These models depend heavily on the quality of graph construction, which can be problematic in the presence of fragmented or noisy user posts where meaningful edges are difficult to define. For instance, methods such as TrigNet and D-DGCN require complex mechanisms (e.g., heterogeneous nodes and dynamic multi-hop edge updates) to infer useful connections, leading to increased computational overhead and implementation complexity.</p>
        <p id="S2.SS1.p4">To address these limitations, we propose a lightweight attention-based framework that revisits the use of self-attention for modeling inter-post dynamics. Rather than relying on fixed graph structures, our method leverages learned attention weights guided by psycholinguistic priors and user-specific topic preferences, allowing for fine-grained control over post importance and interdependencies. In doing so, our approach maintains the relational modeling strength of graph-based methods while improving scalability and reducing computational complexity.</p>
      </sec>
      <sec id="S2.SS2">
        <label>2.2</label>
        <title>The Role of Psycholinguistic Knowledge</title>
        <p>
          <fig id="F2">
            <label>Figure 2.</label>
            <caption>
              <p>Overview of our methods. The left panel illustrates how social media posts are transformed into semantic segments, which serve as the inputs to the Index Attention Network (IAN). The three panels on the right depict the architecture of IAN, which consists of a psycholinguistic statistics tool, a pre-trained language model (PLM), N Index Attention Layers (IALs), N Self Attention Layers (SALs), and a classifier. Each IAL is composed of an Index Attention Mechanism and a Self Attention Mechanism, while each SAL consists solely of a Self Attention Mechanism. </p>
            </caption>
            <graphic xlink:href="figures/fg2.png"/>
          </fig>
        </p>
        <p id="S2.SS2.p1">In previous studies, count-based psycholinguistic features are occasionally used as a supplement to deep learning features. Further, a common practice is to directly concatenate the vectors of two features  [<xref rid="ref018" ref-type="bibr">18</xref>, <xref rid="ref022" ref-type="bibr">22</xref>, <xref rid="ref035" ref-type="bibr">35</xref>]. However, in personality detection, this practice neglects the different natures and potential capabilities of the two types of features.</p>
        <p id="S2.SS2.p2">More specifically, deep semantic information has the ability to reflect an author's thoughts and feelings towards life, along with their behavioral characteristics. According to the American Psychological Association <xref ref-type="fn" rid="fn1">1</xref><fn id="fn1"><label><sup>1</sup></label><p id="footnote1">https://www.apa.org/topics/personality</p></fn>: "personality refers to the enduring characteristics and behavior that comprise a person's unique adjustment to life, including major traits, interests, drives, values, self-concept, abilities, and emotional patterns". Pre-trained language models and deep neural networks help us to extract such patterns and link them to specific personality traits. (In this paper, we call them personality patterns.) However, a considerable number of posts consist solely of useless information  [<xref rid="ref036" ref-type="bibr">36</xref>], such as objective descriptions, which can hinder the detection of an author's personality.</p>
        <p id="S2.SS2.p3">By contrast, psycholinguistic features are too shallow to fully depict the personality of an author. But, fortunately, as prior knowledge, they do indicate where the text exposes personality. Notably, psycholinguistic features have found a resurgence in recent studies as a way of enriching the connections between posts. For example, these methods rely on psycholinguistic priors to establish edges between posts, thereby refining post representations within their graph learning frameworks  [<xref rid="ref032" ref-type="bibr">32</xref>, <xref rid="ref033" ref-type="bibr">33</xref>]. However, due to the high computational costs of processing so much text or the limited number of samples collected by existing datasets, most extant studies only use a random sample of posts when building graphs for each author. This obviously creates some limitations. First, the edges between posts could be false due to the limited selection of samples alongside the presence of noise. Second, training a GNN with too few posts can be difficult. Hence, in this study, we transformed the posts into semantic segments, which helps to increase the number of interactions between the texts. In addition, our approach is based on index attention, which efficiently harnesses the value of psycholinguistic knowledge when attempting to discover important semantics as evidence for personality detection.</p>
      </sec>
    </sec>
    <sec id="S3">
      <label>3.</label>
      <title>Method</title>
      <sec id="S3.SS1">
        <label>3.1</label>
        <title>Overview</title>
        <p id="S3.SS1.p1">This section describes our proposed attention mechanism – Index Attention – which uses psycholinguistic features for the query and key calculations and deep semantic features for the value calculations. The approach was inspired by the scanning reading technique, where each post is scanned and weighted according to its psycholinguistic features, while the posts' deep semantic features are used to produce the representations. In addition, we recommend clustering the posts to screen for potential content that will help detect personalities. IAN is then built as a stack of index attention mechanisms for the purpose of summarizing the personality patterns scattered through the posts. Figure <xref ref-type="fig" rid="F2">2</xref> depicts an overview of our methods.</p>
      </sec>
      <sec id="S3.SS2">
        <label>3.2</label>
        <title>Clustering and Sampling</title>
        <p id="S3.SS2.p1">In social media, an author may have created hundreds or even tens of thousands of posts. Yet, when taking computational efficiency into account, perhaps only a dozen or so can be sampled. Recent studies mostly consider 50-100 random posts, achieving relatively good detection performance from samples of this size  [<xref rid="ref031" ref-type="bibr">31</xref>, <xref rid="ref033" ref-type="bibr">33</xref>, <xref rid="ref030" ref-type="bibr">30</xref>]. On a different tangent, a series of studies have pointed out the correlations between a user's personality and their topic preferences  [<xref rid="ref011" ref-type="bibr">11</xref>, <xref rid="ref037" ref-type="bibr">37</xref>, <xref rid="ref038" ref-type="bibr">38</xref>], which inspired us to make a preliminary selection of posts by topics. For example, Gill et al. [<xref rid="ref039" ref-type="bibr">39</xref>] find that bloggers who are high in 'openness' are likely to express their interests, opinions, and even feelings in the content of topics related to the arts and similar intellectual pursuits. Hence, we wondered whether leveraging a clustering strategy to screen out the topics that the authors are most interested in might lead to high-quality input for a detection model. This process, which is depicted on the left side of Figure <xref ref-type="fig" rid="F2">2</xref>, is described in more detail as follows:</p>
        <p id="S3.SS2.p2">• The first step is to produce semantic representations of the posts. For this, we use Sentence-BERT (SBERT), which is a modified variant of a pre-trained BERT model  [<xref rid="ref040" ref-type="bibr">40</xref>]. SBERT can generate semantically meaningful sentence embeddings that can then be compared using cosine-similarity or Euclidean distance. Moreover, these measures can be performed extremely efficiently, reducing the effort of clustering of 10,000 sentences from tens of hours down to mere seconds. Notably, accuracy does not suffer during this process.</p>
        <p id="S3.SS2.p3">• Next, topic clustering is performed based on the distance between posts. This is accomplished by HDBSCAN  [<xref rid="ref041" ref-type="bibr">41</xref>], which is a density-based clustering algorithm that can automatically determine the optimal number and shape of the resulting clusters.</p>
        <p id="S3.SS2.p4">• The last step is to draw samples from the largest clusters. Our framework considers the <inline-formula><mml:math alttext="n" display="inline"><mml:mi>n</mml:mi></mml:math></inline-formula> largest clusters, which represent the topics the author is most interested in and, therefore, most likely to talk about. The closest 5-10 posts to the center of each selected cluster are sampled and assembled into a segment of a few hundred words. Thus, the final sample consists of <inline-formula><mml:math alttext="n" display="inline"><mml:mi>n</mml:mi></mml:math></inline-formula> segments <inline-formula><mml:math alttext="S=\{s_{1},s_{2},\cdots,s_{n}\}" display="inline"><mml:mrow><mml:mi>S</mml:mi><mml:mo>=</mml:mo><mml:mrow><mml:mo stretchy="false">{</mml:mo><mml:msub><mml:mi>s</mml:mi><mml:mn>1</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>s</mml:mi><mml:mn>2</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:mi mathvariant="normal">⋯</mml:mi><mml:mo>,</mml:mo><mml:msub><mml:mi>s</mml:mi><mml:mi>n</mml:mi></mml:msub><mml:mo stretchy="false">}</mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula> of different topics, all with rich semantics.</p>
      </sec>
      <sec id="S3.SS3">
        <label>3.3</label>
        <title>Index Attention Layer</title>
        <p id="S3.SS3.p1">As mentioned, we drew inspiration for the index attention mechanism from the scanning reading strategy, which is one of the speed reading techniques recommended by colleges and universities<xref ref-type="fn" rid="fn2">2</xref><fn id="fn2"><label><sup>2</sup></label><p id="footnote2">https://www.student.unsw.edu.au/reading-strategies</p></fn><xref ref-type="fn" rid="fn3">3</xref><fn id="fn3"><label><sup>3</sup></label><p id="footnote3">https://www.lc.cityu.edu.hk/ELSS/Resource/sas/index.htm</p></fn>. Scanning means you look only for specific pieces of information, such as a set of keywords, and once you locate a section requiring attention, you slow down and read it more thoroughly. In our attention mechanism, the psycholinguistic features are the specific pieces of information we are looking for, and the deep semantic features are the elements drawn from reading the posts more thoroughly. More specifically, we began with the self-attention mechanism outlined in  [<xref rid="ref025" ref-type="bibr">25</xref>], and modified it such that the query and key calculations are based on the psycholinguistic features, while the value calculations are based on the PLM features.</p>
        <p>
          <fig id="F3">
            <label>Figure 3.</label>
            <caption>
              <p>Index Attention Layer (IAL).</p>
            </caption>
            <graphic xlink:href="figures/fg3.png"/>
          </fig>
        </p>
      </sec>
      <sec id="S3.SS4">
        <label>3.4</label>
        <title>Index Attention Mechanism</title>
        <p id="S3.SS4.p1">As depicted in Figure <xref ref-type="fig" rid="F3">3</xref>, psycholinguistic features <inline-formula><mml:math alttext="F=\{f_{1},f_{2},\cdots,f_{n}\},f_{i}\in F" display="inline"><mml:mrow><mml:mrow><mml:mi>F</mml:mi><mml:mo>=</mml:mo><mml:mrow><mml:mo stretchy="false">{</mml:mo><mml:msub><mml:mi>f</mml:mi><mml:mn>1</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>f</mml:mi><mml:mn>2</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:mi mathvariant="normal">⋯</mml:mi><mml:mo>,</mml:mo><mml:msub><mml:mi>f</mml:mi><mml:mi>n</mml:mi></mml:msub><mml:mo stretchy="false">}</mml:mo></mml:mrow></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:msub><mml:mi>f</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>∈</mml:mo><mml:mi>F</mml:mi></mml:mrow></mml:mrow></mml:math></inline-formula> are extracted from <inline-formula><mml:math alttext="n" display="inline"><mml:mi>n</mml:mi></mml:math></inline-formula> segments <inline-formula><mml:math alttext="S=\{s_{1},s_{2},\cdots,s_{n}\}" display="inline"><mml:mrow><mml:mi>S</mml:mi><mml:mo>=</mml:mo><mml:mrow><mml:mo stretchy="false">{</mml:mo><mml:msub><mml:mi>s</mml:mi><mml:mn>1</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>s</mml:mi><mml:mn>2</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:mi mathvariant="normal">⋯</mml:mi><mml:mo>,</mml:mo><mml:msub><mml:mi>s</mml:mi><mml:mi>n</mml:mi></mml:msub><mml:mo stretchy="false">}</mml:mo></mml:mrow></mml:mrow></mml:math></inline-formula>, where <inline-formula><mml:math alttext="F" display="inline"><mml:mi>F</mml:mi></mml:math></inline-formula> is a vector of <inline-formula><mml:math alttext="p" display="inline"><mml:mi>p</mml:mi></mml:math></inline-formula> dimensions. PLM features <inline-formula><mml:math alttext="H=\{h_{1},h_{2},\cdots,h_{n}\},h_{i}\in H" display="inline"><mml:mrow><mml:mrow><mml:mi>H</mml:mi><mml:mo>=</mml:mo><mml:mrow><mml:mo stretchy="false">{</mml:mo><mml:msub><mml:mi>h</mml:mi><mml:mn>1</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:msub><mml:mi>h</mml:mi><mml:mn>2</mml:mn></mml:msub><mml:mo>,</mml:mo><mml:mi mathvariant="normal">⋯</mml:mi><mml:mo>,</mml:mo><mml:msub><mml:mi>h</mml:mi><mml:mi>n</mml:mi></mml:msub><mml:mo stretchy="false">}</mml:mo></mml:mrow></mml:mrow><mml:mo>,</mml:mo><mml:mrow><mml:msub><mml:mi>h</mml:mi><mml:mi>i</mml:mi></mml:msub><mml:mo>∈</mml:mo><mml:mi>H</mml:mi></mml:mrow></mml:mrow></mml:math></inline-formula> are also extracted from these segments, where <inline-formula><mml:math alttext="H" display="inline"><mml:mi>H</mml:mi></mml:math></inline-formula> is a vector of <inline-formula><mml:math alttext="q" display="inline"><mml:mi>q</mml:mi></mml:math></inline-formula> dimensions. To implement the attention mechanism, four trainable parameter matrices are defined: <inline-formula><mml:math alttext="W_{qf}" display="inline"><mml:msub><mml:mi>W</mml:mi><mml:mrow><mml:mi>q</mml:mi><mml:mo>⁢</mml:mo><mml:mi>f</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula>, <inline-formula><mml:math alttext="W_{kf}" display="inline"><mml:msub><mml:mi>W</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mo>⁢</mml:mo><mml:mi>f</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula>, <inline-formula><mml:math alttext="W_{vf}" display="inline"><mml:msub><mml:mi>W</mml:mi><mml:mrow><mml:mi>v</mml:mi><mml:mo>⁢</mml:mo><mml:mi>f</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula>, and <inline-formula><mml:math alttext="W_{vh}" display="inline"><mml:msub><mml:mi>W</mml:mi><mml:mrow><mml:mi>v</mml:mi><mml:mo>⁢</mml:mo><mml:mi>h</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula>. <inline-formula><mml:math alttext="W_{qf}" display="inline"><mml:msub><mml:mi>W</mml:mi><mml:mrow><mml:mi>q</mml:mi><mml:mo>⁢</mml:mo><mml:mi>f</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula>, <inline-formula><mml:math alttext="W_{kf}" display="inline"><mml:msub><mml:mi>W</mml:mi><mml:mrow><mml:mi>k</mml:mi><mml:mo>⁢</mml:mo><mml:mi>f</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula>, <inline-formula><mml:math alttext="W_{vf}" display="inline"><mml:msub><mml:mi>W</mml:mi><mml:mrow><mml:mi>v</mml:mi><mml:mo>⁢</mml:mo><mml:mi>f</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> have a dimension of (<inline-formula><mml:math alttext="p,p" display="inline"><mml:mrow><mml:mi>p</mml:mi><mml:mo>,</mml:mo><mml:mi>p</mml:mi></mml:mrow></mml:math></inline-formula>), whereas <inline-formula><mml:math alttext="W_{vh}" display="inline"><mml:msub><mml:mi>W</mml:mi><mml:mrow><mml:mi>v</mml:mi><mml:mo>⁢</mml:mo><mml:mi>h</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> has a dimension of (<inline-formula><mml:math alttext="q" display="inline"><mml:mi>q</mml:mi></mml:math></inline-formula>, <inline-formula><mml:math alttext="q" display="inline"><mml:mi>q</mml:mi></mml:math></inline-formula>).</p>
        <p id="S3.SS4.p2">In the index attention mechanism, we first calculate the complete self-attention based on one type of feature, while calculating a sole Value based on another type of feature:</p>
        <p>
          <disp-formula id="S3.E1">
            <mml:math alttext="Q_{f},K_{f},V_{f}=FW_{qf},FW_{kf},FW_{vf}" display="block">
              <mml:mrow>
                <mml:mrow>
                  <mml:mrow>
                    <mml:msub>
                      <mml:mi>Q</mml:mi>
                      <mml:mi>f</mml:mi>
                    </mml:msub>
                    <mml:mo>,</mml:mo>
                    <mml:msub>
                      <mml:mi>K</mml:mi>
                      <mml:mi>f</mml:mi>
                    </mml:msub>
                    <mml:mo>,</mml:mo>
                    <mml:msub>
                      <mml:mi>V</mml:mi>
                      <mml:mi>f</mml:mi>
                    </mml:msub>
                  </mml:mrow>
                  <mml:mo>=</mml:mo>
                  <mml:mrow>
                    <mml:mi>F</mml:mi>
                    <mml:mo>⁢</mml:mo>
                    <mml:msub>
                      <mml:mi>W</mml:mi>
                      <mml:mrow>
                        <mml:mi>q</mml:mi>
                        <mml:mo>⁢</mml:mo>
                        <mml:mi>f</mml:mi>
                      </mml:mrow>
                    </mml:msub>
                  </mml:mrow>
                </mml:mrow>
                <mml:mo>,</mml:mo>
                <mml:mrow>
                  <mml:mrow>
                    <mml:mi>F</mml:mi>
                    <mml:mo>⁢</mml:mo>
                    <mml:msub>
                      <mml:mi>W</mml:mi>
                      <mml:mrow>
                        <mml:mi>k</mml:mi>
                        <mml:mo>⁢</mml:mo>
                        <mml:mi>f</mml:mi>
                      </mml:mrow>
                    </mml:msub>
                  </mml:mrow>
                  <mml:mo>,</mml:mo>
                  <mml:mrow>
                    <mml:mi>F</mml:mi>
                    <mml:mo>⁢</mml:mo>
                    <mml:msub>
                      <mml:mi>W</mml:mi>
                      <mml:mrow>
                        <mml:mi>v</mml:mi>
                        <mml:mo>⁢</mml:mo>
                        <mml:mi>f</mml:mi>
                      </mml:mrow>
                    </mml:msub>
                  </mml:mrow>
                </mml:mrow>
              </mml:mrow>
            </mml:math>
          </disp-formula>
        </p>
        <p>
          <disp-formula id="S3.E2">
            <mml:math alttext="V_{h}=HW_{vh}" display="block">
              <mml:mrow>
                <mml:msub>
                  <mml:mi>V</mml:mi>
                  <mml:mi>h</mml:mi>
                </mml:msub>
                <mml:mo>=</mml:mo>
                <mml:mrow>
                  <mml:mi>H</mml:mi>
                  <mml:mo>⁢</mml:mo>
                  <mml:msub>
                    <mml:mi>W</mml:mi>
                    <mml:mrow>
                      <mml:mi>v</mml:mi>
                      <mml:mo>⁢</mml:mo>
                      <mml:mi>h</mml:mi>
                    </mml:mrow>
                  </mml:msub>
                </mml:mrow>
              </mml:mrow>
            </mml:math>
          </disp-formula>
        </p>
        <p>where <inline-formula><mml:math alttext="Q_{f}" display="inline"><mml:msub><mml:mi>Q</mml:mi><mml:mi>f</mml:mi></mml:msub></mml:math></inline-formula>, <inline-formula><mml:math alttext="K_{f}" display="inline"><mml:msub><mml:mi>K</mml:mi><mml:mi>f</mml:mi></mml:msub></mml:math></inline-formula>, <inline-formula><mml:math alttext="V_{f}" display="inline"><mml:msub><mml:mi>V</mml:mi><mml:mi>f</mml:mi></mml:msub></mml:math></inline-formula> are matrices with dimensions of (<inline-formula><mml:math alttext="n,p" display="inline"><mml:mrow><mml:mi>n</mml:mi><mml:mo>,</mml:mo><mml:mi>p</mml:mi></mml:mrow></mml:math></inline-formula>), and <inline-formula><mml:math alttext="V_{h}" display="inline"><mml:msub><mml:mi>V</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:math></inline-formula> is a matrix with dimensions of (<inline-formula><mml:math alttext="n,q" display="inline"><mml:mrow><mml:mi>n</mml:mi><mml:mo>,</mml:mo><mml:mi>q</mml:mi></mml:mrow></mml:math></inline-formula>).</p>
        <p id="S3.SS4.p3">In the standard self-attention mechanism, the attention score matrix <inline-formula><mml:math alttext="M_{attn}" display="inline"><mml:msub><mml:mi>M</mml:mi><mml:mrow><mml:mi>a</mml:mi><mml:mo>⁢</mml:mo><mml:mi>t</mml:mi><mml:mo>⁢</mml:mo><mml:mi>t</mml:mi><mml:mo>⁢</mml:mo><mml:mi>n</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> is computed using the query <inline-formula><mml:math alttext="Q_{f}" display="inline"><mml:msub><mml:mi>Q</mml:mi><mml:mi>f</mml:mi></mml:msub></mml:math></inline-formula> and key <inline-formula><mml:math alttext="K_{f}" display="inline"><mml:msub><mml:mi>K</mml:mi><mml:mi>f</mml:mi></mml:msub></mml:math></inline-formula> as follows:</p>
        <p>
          <disp-formula id="S3.E3">
            <mml:math alttext="M_{attn}=\mathrm{Softmax}(Q_{f}K_{f}^{T}\big{/}\sqrt{p})" display="block">
              <mml:mrow>
                <mml:msub>
                  <mml:mi>M</mml:mi>
                  <mml:mrow>
                    <mml:mi>a</mml:mi>
                    <mml:mo>⁢</mml:mo>
                    <mml:mi>t</mml:mi>
                    <mml:mo>⁢</mml:mo>
                    <mml:mi>t</mml:mi>
                    <mml:mo>⁢</mml:mo>
                    <mml:mi>n</mml:mi>
                  </mml:mrow>
                </mml:msub>
                <mml:mo>=</mml:mo>
                <mml:mrow>
                  <mml:mi>Softmax</mml:mi>
                  <mml:mo>⁢</mml:mo>
                  <mml:mrow>
                    <mml:mo stretchy="false">(</mml:mo>
                    <mml:mrow>
                      <mml:mrow>
                        <mml:msub>
                          <mml:mi>Q</mml:mi>
                          <mml:mi>f</mml:mi>
                        </mml:msub>
                        <mml:mo>⁢</mml:mo>
                        <mml:msubsup>
                          <mml:mi>K</mml:mi>
                          <mml:mi>f</mml:mi>
                          <mml:mi>T</mml:mi>
                        </mml:msubsup>
                      </mml:mrow>
                      <mml:mo maxsize="1.200em" minsize="1.200em" stretchy="true" symmetric="true">/</mml:mo>
                      <mml:msqrt>
                        <mml:mi>p</mml:mi>
                      </mml:msqrt>
                    </mml:mrow>
                    <mml:mo stretchy="false">)</mml:mo>
                  </mml:mrow>
                </mml:mrow>
              </mml:mrow>
            </mml:math>
          </disp-formula>
        </p>
        <p>where <inline-formula><mml:math alttext="M_{attn}" display="inline"><mml:msub><mml:mi>M</mml:mi><mml:mrow><mml:mi>a</mml:mi><mml:mo>⁢</mml:mo><mml:mi>t</mml:mi><mml:mo>⁢</mml:mo><mml:mi>t</mml:mi><mml:mo>⁢</mml:mo><mml:mi>n</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> is a vector of <inline-formula><mml:math alttext="n*n" display="inline"><mml:mrow><mml:mi>n</mml:mi><mml:mo lspace="0.222em" rspace="0.222em">∗</mml:mo><mml:mi>n</mml:mi></mml:mrow></mml:math></inline-formula> dimensions.</p>
        <p id="S3.SS4.p4">Specifically, the process begins with a matrix multiplication (<bold>MatMul</bold>) operation between <inline-formula><mml:math alttext="Q_{f}" display="inline"><mml:msub><mml:mi>Q</mml:mi><mml:mi>f</mml:mi></mml:msub></mml:math></inline-formula> and <inline-formula><mml:math alttext="K_{f}" display="inline"><mml:msub><mml:mi>K</mml:mi><mml:mi>f</mml:mi></mml:msub></mml:math></inline-formula>. This is followed by a scaling operation (<bold>Scale</bold>) to adjust the values, after which the softmax function (<bold>Softmax</bold>) is applied to normalize the scaled output, ensuring that the attention weights sum to one.</p>
        <p id="S3.SS4.p5">The resulting attention matrix <inline-formula><mml:math alttext="M_{attn}" display="inline"><mml:msub><mml:mi>M</mml:mi><mml:mrow><mml:mi>a</mml:mi><mml:mo>⁢</mml:mo><mml:mi>t</mml:mi><mml:mo>⁢</mml:mo><mml:mi>t</mml:mi><mml:mo>⁢</mml:mo><mml:mi>n</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> represents the potential associations between each feature <inline-formula><mml:math alttext="f_{i}" display="inline"><mml:msub><mml:mi>f</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:math></inline-formula> and <inline-formula><mml:math alttext="f_{j}" display="inline"><mml:msub><mml:mi>f</mml:mi><mml:mi>j</mml:mi></mml:msub></mml:math></inline-formula> in the process of identifying personality patterns. This matrix is analogous to the edge values between post nodes introduced by Zhu et al. [<xref rid="ref033" ref-type="bibr">33</xref>] in their psycholinguistic view graphs.</p>
        <p id="S3.SS4.p6">The core of the index attention mechanism involves using <inline-formula><mml:math alttext="M_{attn}" display="inline"><mml:msub><mml:mi>M</mml:mi><mml:mrow><mml:mi>a</mml:mi><mml:mo>⁢</mml:mo><mml:mi>t</mml:mi><mml:mo>⁢</mml:mo><mml:mi>t</mml:mi><mml:mo>⁢</mml:mo><mml:mi>n</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> as the index score matrix to apply on <inline-formula><mml:math alttext="V_{h}" display="inline"><mml:msub><mml:mi>V</mml:mi><mml:mi>h</mml:mi></mml:msub></mml:math></inline-formula> via a matrix multiplication (<bold>MatMul</bold>) operation to generate context (segment)-sensitive deep representations:</p>
        <p>
          <disp-formula id="S3.E4">
            <mml:math alttext="H^{\prime}=M_{attn}V_{h}" display="block">
              <mml:mrow>
                <mml:msup>
                  <mml:mi>H</mml:mi>
                  <mml:mo>′</mml:mo>
                </mml:msup>
                <mml:mo>=</mml:mo>
                <mml:mrow>
                  <mml:msub>
                    <mml:mi>M</mml:mi>
                    <mml:mrow>
                      <mml:mi>a</mml:mi>
                      <mml:mo>⁢</mml:mo>
                      <mml:mi>t</mml:mi>
                      <mml:mo>⁢</mml:mo>
                      <mml:mi>t</mml:mi>
                      <mml:mo>⁢</mml:mo>
                      <mml:mi>n</mml:mi>
                    </mml:mrow>
                  </mml:msub>
                  <mml:mo>⁢</mml:mo>
                  <mml:msub>
                    <mml:mi>V</mml:mi>
                    <mml:mi>h</mml:mi>
                  </mml:msub>
                </mml:mrow>
              </mml:mrow>
            </mml:math>
          </disp-formula>
        </p>
        <p>In this study, each <inline-formula><mml:math alttext="h^{\prime}" display="inline"><mml:msup><mml:mi>h</mml:mi><mml:mo>′</mml:mo></mml:msup></mml:math></inline-formula> in <inline-formula><mml:math alttext="H^{\prime}" display="inline"><mml:msup><mml:mi>H</mml:mi><mml:mo>′</mml:mo></mml:msup></mml:math></inline-formula> is a hidden state encoding a type of personality pattern led by the corresponding segment <inline-formula><mml:math alttext="s_{i}" display="inline"><mml:msub><mml:mi>s</mml:mi><mml:mi>i</mml:mi></mml:msub></mml:math></inline-formula>.</p>
      </sec>
      <sec id="S3.SS5">
        <label>3.5</label>
        <title>Stacking Index Attention</title>
        <p id="S3.SS5.p1">To enhance the model's expressiveness and higher-order relations, a series of index attention layers are stacked together. The output of each layer <inline-formula><mml:math alttext="H^{\prime}" display="inline"><mml:msup><mml:mi>H</mml:mi><mml:mo>′</mml:mo></mml:msup></mml:math></inline-formula> becomes the PLM input for the next layer. Similarly, <inline-formula><mml:math alttext="F^{\prime}" display="inline"><mml:msup><mml:mi>F</mml:mi><mml:mo>′</mml:mo></mml:msup></mml:math></inline-formula> in Equation <xref rid="S3.E5">5</xref> is the output of the self-attention mechanism's attention to the psycholinguistic features, which becomes the psycholinguistic input for the next layer.</p>
        <p>
          <disp-formula id="S3.E5">
            <mml:math alttext="F^{\prime}=M_{attn}V_{f}" display="block">
              <mml:mrow>
                <mml:msup>
                  <mml:mi>F</mml:mi>
                  <mml:mo>′</mml:mo>
                </mml:msup>
                <mml:mo>=</mml:mo>
                <mml:mrow>
                  <mml:msub>
                    <mml:mi>M</mml:mi>
                    <mml:mrow>
                      <mml:mi>a</mml:mi>
                      <mml:mo>⁢</mml:mo>
                      <mml:mi>t</mml:mi>
                      <mml:mo>⁢</mml:mo>
                      <mml:mi>t</mml:mi>
                      <mml:mo>⁢</mml:mo>
                      <mml:mi>n</mml:mi>
                    </mml:mrow>
                  </mml:msub>
                  <mml:mo>⁢</mml:mo>
                  <mml:msub>
                    <mml:mi>V</mml:mi>
                    <mml:mi>f</mml:mi>
                  </mml:msub>
                </mml:mrow>
              </mml:mrow>
            </mml:math>
          </disp-formula>
        </p>
        <p>This process involves using <inline-formula><mml:math alttext="M_{attn}" display="inline"><mml:msub><mml:mi>M</mml:mi><mml:mrow><mml:mi>a</mml:mi><mml:mo>⁢</mml:mo><mml:mi>t</mml:mi><mml:mo>⁢</mml:mo><mml:mi>t</mml:mi><mml:mo>⁢</mml:mo><mml:mi>n</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> as the self-attention score matrix to apply on <inline-formula><mml:math alttext="V_{f}" display="inline"><mml:msub><mml:mi>V</mml:mi><mml:mi>f</mml:mi></mml:msub></mml:math></inline-formula> via a matrix multiplication (<bold>MatMul</bold>) operation.</p>
      </sec>
      <sec id="S3.SS6">
        <label>3.6</label>
        <title>Self Attention Layer</title>
        <p id="S3.SS6.p1">The self-attention layers in our framework are similar to the Transformer layers in the RoBERTa model  [<xref rid="ref048" ref-type="bibr">48</xref>], in that their purpose is to enhance the representation of each semantic segment from the perspective of purely semantic interaction. Each self-attention layer comprises a single self-attention mechanism—illustrated in Figure <xref ref-type="fig" rid="F2">2</xref> and denoted as "SAL" in Figure <xref ref-type="fig" rid="F1">1</xref>—which follows the design proposed by Vaswani et al. [<xref rid="ref025" ref-type="bibr">25</xref>].</p>
        <p id="S3.SS6.p2">To accomplish strengthening the context (segment)-related representation of the segment from a purely semantic perspective, <inline-formula><mml:math alttext="H_{last}^{\prime}" display="inline"><mml:msubsup><mml:mi>H</mml:mi><mml:mrow><mml:mi>l</mml:mi><mml:mo>⁢</mml:mo><mml:mi>a</mml:mi><mml:mo>⁢</mml:mo><mml:mi>s</mml:mi><mml:mo>⁢</mml:mo><mml:mi>t</mml:mi></mml:mrow><mml:mo>′</mml:mo></mml:msubsup></mml:math></inline-formula> from the last index attention layer is updated to <inline-formula><mml:math alttext="H^{\prime\prime}" display="inline"><mml:msup><mml:mi>H</mml:mi><mml:mo>′′</mml:mo></mml:msup></mml:math></inline-formula> according to the following:</p>
        <p>
          <disp-formula id="S3.E6">
            <mml:math alttext="Q,K,V=H^{\prime}_{last}W^{\prime}_{q},H^{\prime}_{last}W^{\prime}_{k},H^{%&#10;\prime}_{last}W^{\prime}_{v}" display="block">
              <mml:mrow>
                <mml:mrow>
                  <mml:mrow>
                    <mml:mi>Q</mml:mi>
                    <mml:mo>,</mml:mo>
                    <mml:mi>K</mml:mi>
                    <mml:mo>,</mml:mo>
                    <mml:mi>V</mml:mi>
                  </mml:mrow>
                  <mml:mo>=</mml:mo>
                  <mml:mrow>
                    <mml:msubsup>
                      <mml:mi>H</mml:mi>
                      <mml:mrow>
                        <mml:mi>l</mml:mi>
                        <mml:mo>⁢</mml:mo>
                        <mml:mi>a</mml:mi>
                        <mml:mo>⁢</mml:mo>
                        <mml:mi>s</mml:mi>
                        <mml:mo>⁢</mml:mo>
                        <mml:mi>t</mml:mi>
                      </mml:mrow>
                      <mml:mo>′</mml:mo>
                    </mml:msubsup>
                    <mml:mo>⁢</mml:mo>
                    <mml:msubsup>
                      <mml:mi>W</mml:mi>
                      <mml:mi>q</mml:mi>
                      <mml:mo>′</mml:mo>
                    </mml:msubsup>
                  </mml:mrow>
                </mml:mrow>
                <mml:mo>,</mml:mo>
                <mml:mrow>
                  <mml:mrow>
                    <mml:msubsup>
                      <mml:mi>H</mml:mi>
                      <mml:mrow>
                        <mml:mi>l</mml:mi>
                        <mml:mo>⁢</mml:mo>
                        <mml:mi>a</mml:mi>
                        <mml:mo>⁢</mml:mo>
                        <mml:mi>s</mml:mi>
                        <mml:mo>⁢</mml:mo>
                        <mml:mi>t</mml:mi>
                      </mml:mrow>
                      <mml:mo>′</mml:mo>
                    </mml:msubsup>
                    <mml:mo>⁢</mml:mo>
                    <mml:msubsup>
                      <mml:mi>W</mml:mi>
                      <mml:mi>k</mml:mi>
                      <mml:mo>′</mml:mo>
                    </mml:msubsup>
                  </mml:mrow>
                  <mml:mo>,</mml:mo>
                  <mml:mrow>
                    <mml:msubsup>
                      <mml:mi>H</mml:mi>
                      <mml:mrow>
                        <mml:mi>l</mml:mi>
                        <mml:mo>⁢</mml:mo>
                        <mml:mi>a</mml:mi>
                        <mml:mo>⁢</mml:mo>
                        <mml:mi>s</mml:mi>
                        <mml:mo>⁢</mml:mo>
                        <mml:mi>t</mml:mi>
                      </mml:mrow>
                      <mml:mo>′</mml:mo>
                    </mml:msubsup>
                    <mml:mo>⁢</mml:mo>
                    <mml:msubsup>
                      <mml:mi>W</mml:mi>
                      <mml:mi>v</mml:mi>
                      <mml:mo>′</mml:mo>
                    </mml:msubsup>
                  </mml:mrow>
                </mml:mrow>
              </mml:mrow>
            </mml:math>
          </disp-formula>
        </p>
        <p>
          <disp-formula id="S3.E7">
            <mml:math alttext="H^{\prime\prime}=\mathrm{Softmax}(QK^{T}\big{/}\sqrt{q})V" display="block">
              <mml:mrow>
                <mml:msup>
                  <mml:mi>H</mml:mi>
                  <mml:mo>′′</mml:mo>
                </mml:msup>
                <mml:mo>=</mml:mo>
                <mml:mrow>
                  <mml:mi>Softmax</mml:mi>
                  <mml:mo>⁢</mml:mo>
                  <mml:mrow>
                    <mml:mo stretchy="false">(</mml:mo>
                    <mml:mrow>
                      <mml:mrow>
                        <mml:mi>Q</mml:mi>
                        <mml:mo>⁢</mml:mo>
                        <mml:msup>
                          <mml:mi>K</mml:mi>
                          <mml:mi>T</mml:mi>
                        </mml:msup>
                      </mml:mrow>
                      <mml:mo maxsize="1.200em" minsize="1.200em" stretchy="true" symmetric="true">/</mml:mo>
                      <mml:msqrt>
                        <mml:mi>q</mml:mi>
                      </mml:msqrt>
                    </mml:mrow>
                    <mml:mo stretchy="false">)</mml:mo>
                  </mml:mrow>
                  <mml:mo>⁢</mml:mo>
                  <mml:mi>V</mml:mi>
                </mml:mrow>
              </mml:mrow>
            </mml:math>
          </disp-formula>
        </p>
        <p>where <inline-formula><mml:math alttext="W^{\prime}_{q}" display="inline"><mml:msubsup><mml:mi>W</mml:mi><mml:mi>q</mml:mi><mml:mo>′</mml:mo></mml:msubsup></mml:math></inline-formula>, <inline-formula><mml:math alttext="W^{\prime}_{k}" display="inline"><mml:msubsup><mml:mi>W</mml:mi><mml:mi>k</mml:mi><mml:mo>′</mml:mo></mml:msubsup></mml:math></inline-formula> and <inline-formula><mml:math alttext="W^{\prime}_{v}" display="inline"><mml:msubsup><mml:mi>W</mml:mi><mml:mi>v</mml:mi><mml:mo>′</mml:mo></mml:msubsup></mml:math></inline-formula> are trainable parameter matrices with dimensions of (<inline-formula><mml:math alttext="q,q" display="inline"><mml:mrow><mml:mi>q</mml:mi><mml:mo>,</mml:mo><mml:mi>q</mml:mi></mml:mrow></mml:math></inline-formula>). This self-attention layer can also be stacked, and the representations of the semantic segments can be averaged to obtain a unique and robust representation <inline-formula><mml:math alttext="r" display="inline"><mml:mi>r</mml:mi></mml:math></inline-formula> of the blog's author:</p>
        <p>
          <disp-formula id="S3.E8">
            <mml:math alttext="r=Mean(H^{\prime\prime}_{last})" display="block">
              <mml:mrow>
                <mml:mi>r</mml:mi>
                <mml:mo>=</mml:mo>
                <mml:mrow>
                  <mml:mi>M</mml:mi>
                  <mml:mo>⁢</mml:mo>
                  <mml:mi>e</mml:mi>
                  <mml:mo>⁢</mml:mo>
                  <mml:mi>a</mml:mi>
                  <mml:mo>⁢</mml:mo>
                  <mml:mi>n</mml:mi>
                  <mml:mo>⁢</mml:mo>
                  <mml:mrow>
                    <mml:mo stretchy="false">(</mml:mo>
                    <mml:msubsup>
                      <mml:mi>H</mml:mi>
                      <mml:mrow>
                        <mml:mi>l</mml:mi>
                        <mml:mo>⁢</mml:mo>
                        <mml:mi>a</mml:mi>
                        <mml:mo>⁢</mml:mo>
                        <mml:mi>s</mml:mi>
                        <mml:mo>⁢</mml:mo>
                        <mml:mi>t</mml:mi>
                      </mml:mrow>
                      <mml:mo>′′</mml:mo>
                    </mml:msubsup>
                    <mml:mo stretchy="false">)</mml:mo>
                  </mml:mrow>
                </mml:mrow>
              </mml:mrow>
            </mml:math>
          </disp-formula>
        </p>
        <p>where <inline-formula><mml:math alttext="H^{\prime\prime}_{last}" display="inline"><mml:msubsup><mml:mi>H</mml:mi><mml:mrow><mml:mi>l</mml:mi><mml:mo>⁢</mml:mo><mml:mi>a</mml:mi><mml:mo>⁢</mml:mo><mml:mi>s</mml:mi><mml:mo>⁢</mml:mo><mml:mi>t</mml:mi></mml:mrow><mml:mo>′′</mml:mo></mml:msubsup></mml:math></inline-formula> refers to the output of the last self-attention layer.</p>
      </sec>
      <sec id="S3.SS7">
        <label>3.7</label>
        <title>The Objective Function</title>
        <p id="S3.SS7.p1">Following prior studies  [<xref rid="ref018" ref-type="bibr">18</xref>, <xref rid="ref042" ref-type="bibr">42</xref>], IAN predicts the label for a single dimension of an author's personality. To supplement the final personality prediction, an overall psycholinguistic feature vector, denoted as <inline-formula><mml:math alttext="\underline{f}" display="inline"><mml:munder accentunder="true"><mml:mi>f</mml:mi><mml:mo>¯</mml:mo></mml:munder></mml:math></inline-formula>, is computed based on the content in <inline-formula><mml:math alttext="S" display="inline"><mml:mi>S</mml:mi></mml:math></inline-formula>, similar to previous approaches  [<xref rid="ref018" ref-type="bibr">18</xref>, <xref rid="ref035" ref-type="bibr">35</xref>, <xref rid="ref043" ref-type="bibr">43</xref>]. The feature vector <inline-formula><mml:math alttext="\underline{f}" display="inline"><mml:munder accentunder="true"><mml:mi>f</mml:mi><mml:mo>¯</mml:mo></mml:munder></mml:math></inline-formula> is subsequently processed through a Dense layer to produce the output <inline-formula><mml:math alttext="r" display="inline"><mml:mi>r</mml:mi></mml:math></inline-formula>, which is then concatenated with <inline-formula><mml:math alttext="r" display="inline"><mml:mi>r</mml:mi></mml:math></inline-formula>. This concatenated representation serves as the input to the classifier, which outputs the logits for a binary prediction:</p>
        <p>
          <disp-formula id="S3.E9">
            <mml:math alttext="\mathrm{Logit}=\mathrm{Classifier}(r\oplus\mathrm{Dense}(\underline{f}))" display="block">
              <mml:mrow>
                <mml:mi>Logit</mml:mi>
                <mml:mo>=</mml:mo>
                <mml:mrow>
                  <mml:mi>Classifier</mml:mi>
                  <mml:mo>⁢</mml:mo>
                  <mml:mrow>
                    <mml:mo stretchy="false">(</mml:mo>
                    <mml:mrow>
                      <mml:mi>r</mml:mi>
                      <mml:mo>⊕</mml:mo>
                      <mml:mrow>
                        <mml:mi>Dense</mml:mi>
                        <mml:mo>⁢</mml:mo>
                        <mml:mrow>
                          <mml:mo stretchy="false">(</mml:mo>
                          <mml:munder accentunder="true">
                            <mml:mi>f</mml:mi>
                            <mml:mo>¯</mml:mo>
                          </mml:munder>
                          <mml:mo stretchy="false">)</mml:mo>
                        </mml:mrow>
                      </mml:mrow>
                    </mml:mrow>
                    <mml:mo stretchy="false">)</mml:mo>
                  </mml:mrow>
                </mml:mrow>
              </mml:mrow>
            </mml:math>
          </disp-formula>
        </p>
        <p>where <inline-formula><mml:math alttext="\oplus" display="inline"><mml:mo>⊕</mml:mo></mml:math></inline-formula> denotes the concatenation operation, and <inline-formula><mml:math alttext="\mathrm{Logit}" display="inline"><mml:mi>Logit</mml:mi></mml:math></inline-formula> contains the raw scores assigned by the classifier for each class.</p>
        <p id="S3.SS7.p2">Next, the Softmax function is applied to the logits to predict the probability of a particular personality class. Specifically, <inline-formula><mml:math alttext="\text{personality}(p)=1" display="inline"><mml:mrow><mml:mrow><mml:mtext>personality</mml:mtext><mml:mo>⁢</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>p</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:math></inline-formula> indicates that the personality dimension <inline-formula><mml:math alttext="p" display="inline"><mml:mi>p</mml:mi></mml:math></inline-formula> is positively expressed, while <inline-formula><mml:math alttext="\text{personality}(p)=0" display="inline"><mml:mrow><mml:mrow><mml:mtext>personality</mml:mtext><mml:mo>⁢</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>p</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:math></inline-formula> indicates a negative expression. The probability is calculated as follows:</p>
        <p>
          <disp-formula-group id="S3.E10">
            <disp-formula id="S3.E10X">
              <mml:math alttext="\displaystyle\qquad\quad P(\text{personality}(p)=1|S,\sigma)" display="inline">
                <mml:mrow>
                  <mml:mi>P</mml:mi>
                  <mml:mo>⁢</mml:mo>
                  <mml:mrow>
                    <mml:mo stretchy="false">(</mml:mo>
                    <mml:mrow>
                      <mml:mrow>
                        <mml:mtext>personality</mml:mtext>
                        <mml:mo>⁢</mml:mo>
                        <mml:mrow>
                          <mml:mo stretchy="false">(</mml:mo>
                          <mml:mi>p</mml:mi>
                          <mml:mo stretchy="false">)</mml:mo>
                        </mml:mrow>
                      </mml:mrow>
                      <mml:mo>=</mml:mo>
                      <mml:mrow>
                        <mml:mn>1</mml:mn>
                        <mml:mo fence="false">|</mml:mo>
                        <mml:mrow>
                          <mml:mi>S</mml:mi>
                          <mml:mo>,</mml:mo>
                          <mml:mi>σ</mml:mi>
                        </mml:mrow>
                      </mml:mrow>
                    </mml:mrow>
                    <mml:mo stretchy="false">)</mml:mo>
                  </mml:mrow>
                </mml:mrow>
              </mml:math>
            </disp-formula>
            <disp-formula id="S3.E10Xa">
              <mml:math alttext="\displaystyle=\frac{\mathrm{exp}(\mathrm{logit}_{p=1})}{\mathrm{exp}(\mathrm{%&#10;logit}_{p=1})+\mathrm{exp}(\mathrm{logit}_{p=0})}" display="inline">
                <mml:mrow>
                  <mml:mi/>
                  <mml:mo>=</mml:mo>
                  <mml:mstyle displaystyle="true">
                    <mml:mfrac>
                      <mml:mrow>
                        <mml:mi>exp</mml:mi>
                        <mml:mo>⁢</mml:mo>
                        <mml:mrow>
                          <mml:mo stretchy="false">(</mml:mo>
                          <mml:msub>
                            <mml:mi>logit</mml:mi>
                            <mml:mrow>
                              <mml:mi>p</mml:mi>
                              <mml:mo>=</mml:mo>
                              <mml:mn>1</mml:mn>
                            </mml:mrow>
                          </mml:msub>
                          <mml:mo stretchy="false">)</mml:mo>
                        </mml:mrow>
                      </mml:mrow>
                      <mml:mrow>
                        <mml:mrow>
                          <mml:mi>exp</mml:mi>
                          <mml:mo>⁢</mml:mo>
                          <mml:mrow>
                            <mml:mo stretchy="false">(</mml:mo>
                            <mml:msub>
                              <mml:mi>logit</mml:mi>
                              <mml:mrow>
                                <mml:mi>p</mml:mi>
                                <mml:mo>=</mml:mo>
                                <mml:mn>1</mml:mn>
                              </mml:mrow>
                            </mml:msub>
                            <mml:mo stretchy="false">)</mml:mo>
                          </mml:mrow>
                        </mml:mrow>
                        <mml:mo>+</mml:mo>
                        <mml:mrow>
                          <mml:mi>exp</mml:mi>
                          <mml:mo>⁢</mml:mo>
                          <mml:mrow>
                            <mml:mo stretchy="false">(</mml:mo>
                            <mml:msub>
                              <mml:mi>logit</mml:mi>
                              <mml:mrow>
                                <mml:mi>p</mml:mi>
                                <mml:mo>=</mml:mo>
                                <mml:mn>0</mml:mn>
                              </mml:mrow>
                            </mml:msub>
                            <mml:mo stretchy="false">)</mml:mo>
                          </mml:mrow>
                        </mml:mrow>
                      </mml:mrow>
                    </mml:mfrac>
                  </mml:mstyle>
                </mml:mrow>
              </mml:math>
            </disp-formula>
          </disp-formula-group>
        </p>
        <p>where <inline-formula><mml:math alttext="S" display="inline"><mml:mi>S</mml:mi></mml:math></inline-formula> represents the input segments, and <inline-formula><mml:math alttext="\sigma" display="inline"><mml:mi>σ</mml:mi></mml:math></inline-formula> denotes all the parameters of the IAN model except for those related to the calculated statistics in <inline-formula><mml:math alttext="\underline{f}" display="inline"><mml:munder accentunder="true"><mml:mi>f</mml:mi><mml:mo>¯</mml:mo></mml:munder></mml:math></inline-formula>. Here, <inline-formula><mml:math alttext="\mathrm{logit}_{p=1}" display="inline"><mml:msub><mml:mi>logit</mml:mi><mml:mrow><mml:mi>p</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:math></inline-formula> refers to the raw score output by the classifier for the positive expression of the personality dimension <inline-formula><mml:math alttext="p" display="inline"><mml:mi>p</mml:mi></mml:math></inline-formula>, whereas <inline-formula><mml:math alttext="\mathrm{logit}_{p=0}" display="inline"><mml:msub><mml:mi>logit</mml:mi><mml:mrow><mml:mi>p</mml:mi><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:msub></mml:math></inline-formula> refers to the raw score for the negative expression. The Softmax function normalizes these logits by exponentiating and dividing by the total sum, yielding a probabilistic distribution over the two possible personality outcomes. A higher probability for <inline-formula><mml:math alttext="\text{personality}(p)=1" display="inline"><mml:mrow><mml:mrow><mml:mtext>personality</mml:mtext><mml:mo>⁢</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>p</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:math></inline-formula> suggests stronger positive expression for the dimension, and vice versa for <inline-formula><mml:math alttext="\text{personality}(p)=0" display="inline"><mml:mrow><mml:mrow><mml:mtext>personality</mml:mtext><mml:mo>⁢</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mi>p</mml:mi><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mo>=</mml:mo><mml:mn>0</mml:mn></mml:mrow></mml:math></inline-formula>.</p>
        <p id="S3.SS7.p3">Cross entropy loss is used to count the loss over <inline-formula><mml:math alttext="K" display="inline"><mml:mi>K</mml:mi></mml:math></inline-formula> samples:</p>
        <p>
          <disp-formula-group id="S3.E11">
            <disp-formula id="S3.E11X">
              <mml:math alttext="\displaystyle\mathcal{L}=-\sum_{k=1}^{K}y_{k}\cdot\mathrm{log}p_{k}+(1-y_{k})%&#10;\cdot log(1-p_{k})" display="inline">
                <mml:mrow>
                  <mml:mi class="ltx_font_mathcaligraphic">ℒ</mml:mi>
                  <mml:mo>=</mml:mo>
                  <mml:mrow>
                    <mml:mrow>
                      <mml:mo>−</mml:mo>
                      <mml:mrow>
                        <mml:mstyle displaystyle="true">
                          <mml:munderover>
                            <mml:mo movablelimits="false">∑</mml:mo>
                            <mml:mrow>
                              <mml:mi>k</mml:mi>
                              <mml:mo>=</mml:mo>
                              <mml:mn>1</mml:mn>
                            </mml:mrow>
                            <mml:mi>K</mml:mi>
                          </mml:munderover>
                        </mml:mstyle>
                        <mml:mrow>
                          <mml:mrow>
                            <mml:msub>
                              <mml:mi>y</mml:mi>
                              <mml:mi>k</mml:mi>
                            </mml:msub>
                            <mml:mo lspace="0.222em" rspace="0.222em">⋅</mml:mo>
                            <mml:mi>log</mml:mi>
                          </mml:mrow>
                          <mml:mo>⁢</mml:mo>
                          <mml:msub>
                            <mml:mi>p</mml:mi>
                            <mml:mi>k</mml:mi>
                          </mml:msub>
                        </mml:mrow>
                      </mml:mrow>
                    </mml:mrow>
                    <mml:mo>+</mml:mo>
                    <mml:mrow>
                      <mml:mrow>
                        <mml:mrow>
                          <mml:mo stretchy="false">(</mml:mo>
                          <mml:mrow>
                            <mml:mn>1</mml:mn>
                            <mml:mo>−</mml:mo>
                            <mml:msub>
                              <mml:mi>y</mml:mi>
                              <mml:mi>k</mml:mi>
                            </mml:msub>
                          </mml:mrow>
                          <mml:mo rspace="0.055em" stretchy="false">)</mml:mo>
                        </mml:mrow>
                        <mml:mo rspace="0.222em">⋅</mml:mo>
                        <mml:mi>l</mml:mi>
                      </mml:mrow>
                      <mml:mo>⁢</mml:mo>
                      <mml:mi>o</mml:mi>
                      <mml:mo>⁢</mml:mo>
                      <mml:mi>g</mml:mi>
                      <mml:mo>⁢</mml:mo>
                      <mml:mrow>
                        <mml:mo stretchy="false">(</mml:mo>
                        <mml:mrow>
                          <mml:mn>1</mml:mn>
                          <mml:mo>−</mml:mo>
                          <mml:msub>
                            <mml:mi>p</mml:mi>
                            <mml:mi>k</mml:mi>
                          </mml:msub>
                        </mml:mrow>
                        <mml:mo stretchy="false">)</mml:mo>
                      </mml:mrow>
                    </mml:mrow>
                  </mml:mrow>
                </mml:mrow>
              </mml:math>
            </disp-formula>
            <disp-formula id="S3.E11Xa">
              <mml:math alttext="\displaystyle=-\sum_{k=1}^{K}\mathrm{log}P(y_{k}|S,\sigma)" display="inline">
                <mml:mrow>
                  <mml:mi/>
                  <mml:mo>=</mml:mo>
                  <mml:mrow>
                    <mml:mo>−</mml:mo>
                    <mml:mrow>
                      <mml:mstyle displaystyle="true">
                        <mml:munderover>
                          <mml:mo movablelimits="false">∑</mml:mo>
                          <mml:mrow>
                            <mml:mi>k</mml:mi>
                            <mml:mo>=</mml:mo>
                            <mml:mn>1</mml:mn>
                          </mml:mrow>
                          <mml:mi>K</mml:mi>
                        </mml:munderover>
                      </mml:mstyle>
                      <mml:mrow>
                        <mml:mi>log</mml:mi>
                        <mml:mo>⁢</mml:mo>
                        <mml:mi>P</mml:mi>
                        <mml:mo>⁢</mml:mo>
                        <mml:mrow>
                          <mml:mo stretchy="false">(</mml:mo>
                          <mml:mrow>
                            <mml:msub>
                              <mml:mi>y</mml:mi>
                              <mml:mi>k</mml:mi>
                            </mml:msub>
                            <mml:mo fence="false">|</mml:mo>
                            <mml:mrow>
                              <mml:mi>S</mml:mi>
                              <mml:mo>,</mml:mo>
                              <mml:mi>σ</mml:mi>
                            </mml:mrow>
                          </mml:mrow>
                          <mml:mo stretchy="false">)</mml:mo>
                        </mml:mrow>
                      </mml:mrow>
                    </mml:mrow>
                  </mml:mrow>
                </mml:mrow>
              </mml:math>
            </disp-formula>
          </disp-formula-group>
        </p>
        <p>where <inline-formula><mml:math alttext="y_{k}" display="inline"><mml:msub><mml:mi>y</mml:mi><mml:mi>k</mml:mi></mml:msub></mml:math></inline-formula> refers to the label of the <inline-formula><mml:math alttext="k" display="inline"><mml:mi>k</mml:mi></mml:math></inline-formula>th sample, and <inline-formula><mml:math alttext="p_{k}" display="inline"><mml:msub><mml:mi>p</mml:mi><mml:mi>k</mml:mi></mml:msub></mml:math></inline-formula> refers to the predicted probability of the positive label of the <inline-formula><mml:math alttext="k" display="inline"><mml:mi>k</mml:mi></mml:math></inline-formula>th sample. If some classes in the dataset are severely imbalanced, a weighted cross-entropy loss <inline-formula><mml:math alttext="\mathcal{L}_{w}" display="inline"><mml:msub><mml:mi class="ltx_font_mathcaligraphic">ℒ</mml:mi><mml:mi>w</mml:mi></mml:msub></mml:math></inline-formula> is used to address the problem:</p>
        <p>
          <disp-formula id="S3.E12">
            <mml:math alttext="\mathcal{L}_{w}=w\cdot\mathcal{L}" display="block">
              <mml:mrow>
                <mml:msub>
                  <mml:mi class="ltx_font_mathcaligraphic">ℒ</mml:mi>
                  <mml:mi>w</mml:mi>
                </mml:msub>
                <mml:mo>=</mml:mo>
                <mml:mrow>
                  <mml:mi>w</mml:mi>
                  <mml:mo lspace="0.222em" rspace="0.222em">⋅</mml:mo>
                  <mml:mi class="ltx_font_mathcaligraphic">ℒ</mml:mi>
                </mml:mrow>
              </mml:mrow>
            </mml:math>
          </disp-formula>
        </p>
        <p>where <inline-formula><mml:math alttext="w" display="inline"><mml:mi>w</mml:mi></mml:math></inline-formula> is the weight of the class corresponding to <inline-formula><mml:math alttext="y_{k}" display="inline"><mml:msub><mml:mi>y</mml:mi><mml:mi>k</mml:mi></mml:msub></mml:math></inline-formula> , usually set as the ratio of the number of samples in another class to the number in this class.</p>
      </sec>
    </sec>
    <sec id="S4">
      <label>4.</label>
      <title>Experiments</title>
      <sec id="S4.SS1">
        <label>4.1</label>
        <title>Datasets</title>
        <p id="S4.SS1.p1">Following previous studies  [<xref rid="ref031" ref-type="bibr">31</xref>, <xref rid="ref030" ref-type="bibr">30</xref>], we validated our methods on two publicly available datasets, Kaggle and Pandora, and employed the Macro-F1 metric to measure performance. The two datasets were randomly divided into 6:2:2 for training, validation, and testing, respectively.</p>
        <sec id="S4.SS1.SSS1">
          <label>4.1.1</label>
          <title>Kaggle</title>
          <p id="S4.SS1.SSS1.p1">Kaggle is one of the most commonly used datasets for personality detection. It was collected from Twitter<xref ref-type="fn" rid="fn4">4</xref><fn id="fn4"><label><sup>4</sup></label><p id="footnote4">https://twitter.com</p></fn> by the Personality Caf'e forum. The dataset consists of 8675 groups of tweets and MBTI labels. Each group comprises the last 50 tweets posted by a user. This dataset is available at Kaggle<xref ref-type="fn" rid="fn5">5</xref><fn id="fn5"><label><sup>5</sup></label><p id="footnote5">https://www.kaggle.com/datasnaek/mbti-type</p></fn>.</p>
        </sec>
        <sec id="S4.SS1.SSS2">
          <label>4.1.2</label>
          <title>Pandora</title>
          <p id="S4.SS1.SSS2.p1">Pandora is a newly collected dataset from Reddit<xref ref-type="fn" rid="fn6">6</xref><fn id="fn6"><label><sup>6</sup></label><p id="footnote6">https://www.reddit.com </p></fn>, assembled by TakeLab at the University of Zagreb  [<xref rid="ref029" ref-type="bibr">29</xref>]. It consists of 9067 groups of posts and MBTI labels. Each group ranges from dozens to tens of thousands of posts by an author. This dataset is available on TakeLab's website<xref ref-type="fn" rid="fn7">7</xref><fn id="fn7"><label><sup>7</sup></label><p id="footnote7">https://psy.takelab.fer.hr/datasets/all </p></fn>.</p>
        </sec>
      </sec>
      <sec id="S4.SS2">
        <label>4.2</label>
        <title>Psycholinguistic Statistics</title>
        <p id="S4.SS2.p1">We have comprehensively considered the composition of psycholinguistic features according to previous studies  [<xref rid="ref018" ref-type="bibr">18</xref>, <xref rid="ref022" ref-type="bibr">22</xref>, <xref rid="ref033" ref-type="bibr">33</xref>, <xref rid="ref035" ref-type="bibr">35</xref>], and built our <bold>Statistic</bold> tool for Mairesse Features  [<xref rid="ref001" ref-type="bibr">1</xref>], SenticNet Features  [<xref rid="ref044" ref-type="bibr">44</xref>, <xref rid="ref045" ref-type="bibr">45</xref>] and NRC Emotion Lexicon Features  [<xref rid="ref046" ref-type="bibr">46</xref>].</p>
        <boxed-text id="S4.SS2.SSS0.Px1">
          <caption>
            <p>Mairesse Features:</p>
          </caption>
          <p id="S4.SS2.SSS0.Px1.p1">Mairesse Features comprise LIWC  [<xref rid="ref016" ref-type="bibr">16</xref>] features, MRC  [<xref rid="ref047" ref-type="bibr">47</xref>] features, and prosodic and utterance-type features. The LIWC dictionary annotates a word or a prefix with multiple categories involving parts of speech, emotions, society, and the environment, while the MRC psycholinguistic database provides unique annotations based on syntactic and psychological information.</p>
        </boxed-text>
        <boxed-text id="S4.SS2.SSS0.Px2">
          <caption>
            <p>SenticNet Features:</p>
          </caption>
          <p id="S4.SS2.SSS0.Px2.p1">SenticNet  [<xref rid="ref044" ref-type="bibr">44</xref>, <xref rid="ref045" ref-type="bibr">45</xref>] annotates a word with emotional values corresponding to introspection, temper, attitude, sensitivity, and polarity.</p>
        </boxed-text>
        <boxed-text id="S4.SS2.SSS0.Px3">
          <caption>
            <p>NRC Emotion Lexicon Features:</p>
          </caption>
          <p id="S4.SS2.SSS0.Px3.p1">The NRC Emotion Lexicon  [<xref rid="ref046" ref-type="bibr">46</xref>] annotates a word with the polarity values of anger, anticipation, disgust, fear, joy, negative, positive, sadness, surprise, trust, and charged – each on a scale of 11.</p>
        </boxed-text>
      </sec>
      <sec id="S4.SS3">
        <label>4.3</label>
        <title>Baselines</title>
        <p id="S4.SS3.p1">We compared IAN with several of the highest performing baselines in recent studies. These included <bold>SN+Attn</bold> and <bold>Transformer-MD</bold> as attention-based methods and <bold>TrigNet</bold>, <bold>CGTN</bold>, and <bold>D-DGCN</bold> as graph-based methods. The details of these methods are described in <italic>Related Studies</italic>.</p>
      </sec>
      <sec id="S4.SS4">
        <label>4.4</label>
        <title>Implementation Details</title>
        <boxed-text id="S4.SS4.SSS0.Px1">
          <caption>
            <p>Network Architecture:</p>
          </caption>
          <p id="S4.SS4.SSS0.Px1.p1">The proposed Index Attention Network (IAN) consists of a psycholinguistic statistical tool, a RoBERTa model, 2 stacking Index Attention Layers (IALs), 2 stacking Self Attention Layers (SALs), a Dense layer and a Classifier. Each IAL consists of a Self Attention Module (SAM) and a Index Attention Module (IAM). The psycholinguistic statistical tool processes all the words in each segment and generates a psycholinguistic feature vector with a dimensionality of 113, while the PLM features have a dimensionality of 768. Therefore, the input vector to SAM of IAL has a dimensionality of n × 113, where n is the number of segments, and the input vector to IAM of IAL has a dimensionality of n × 768. The Dense layer with input dimension 113 and output dimension 16 compresses the overall psycholinguistic feature vector based on all input posts of a user. The resulting 16-dimensional vector is concatenated with the 768-dimensional personality feature vector from the IAN module and passed to the Classifier that outputs a 2-dimensional logit. In addition, the architecture of the RoBERTa model follows the default configuration [<xref rid="ref048" ref-type="bibr">48</xref>].</p>
        </boxed-text>
        <boxed-text id="S4.SS4.SSS0.Px2">
          <caption>
            <p>Fine-tuning Settings:</p>
          </caption>
          <p id="S4.SS4.SSS0.Px2.p1">We used the Fairseq  [<xref rid="ref049" ref-type="bibr">49</xref>] tool to implement our network and conduct all experiments. We chose RoBERTa as our pre-trained language model and downloaded its weights from HuggingFace<xref ref-type="fn" rid="fn8">8</xref><fn id="fn8"><label><sup>8</sup></label><p id="footnote8">https://huggingface.co/roberta-base</p></fn>. For training, we set a composite initial learning rate of <inline-formula><mml:math alttext="1e^{-5}" display="inline"><mml:mrow><mml:mn>1</mml:mn><mml:mo>⁢</mml:mo><mml:msup><mml:mi>e</mml:mi><mml:mrow><mml:mo>−</mml:mo><mml:mn>5</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> for only <bold>RoBERTa</bold> and <inline-formula><mml:math alttext="5e^{-5}" display="inline"><mml:mrow><mml:mn>5</mml:mn><mml:mo>⁢</mml:mo><mml:msup><mml:mi>e</mml:mi><mml:mrow><mml:mo>−</mml:mo><mml:mn>5</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:math></inline-formula> for <bold>the other components in the IAN</bold>. A small learning rate is used to fine-tune RoBERTa in order to better adapt it to the domain-specific data and personality detection task. The psycholinguistic statistical tool is employed during input preprocessing but is not involved in model training. The IAN was optimized using the Adam optimizer with a weight decay of 0.1. We employed a linear learning rate scheduler with 300 warm-up updates. The batch size was set to 4, with an update frequency of 8, which approximates the effect of a batch size of 32. We applied a dropout rate of 0.5 for the <bold>Classifier</bold> component. We trained <bold>IAN</bold> for 10 epochs, with mixed-precision (fp16) training enabled for computational efficiency.</p>
        </boxed-text>
        <boxed-text id="S4.SS4.SSS0.Px3">
          <caption>
            <p>Clustering and Topic Sampling Strategy:</p>
          </caption>
          <p id="S4.SS4.SSS0.Px3.p1">To capture semantic diversity while maintaining a fixed-size input for each user, we adopted different preprocessing strategies for the Pandora and Kaggle datasets based on the volume of user posts. In the Pandora dataset, where users often have thousands of posts, we applied topic modeling using BERTopic to each user's full post history. BERTopic, configured with HDBSCAN as its clustering backend, performs density-based clustering on UMAP-reduced Sentence-BERT embeddings and automatically infers the number of clusters, labeling outliers as noise (Topic = -1). We then selected up to 10 prominent clusters (excluding noise) and sampled up to 10 representative texts from each cluster, ranked by topic assignment probability. If fewer than 100 segments were collected, we filled the remainder by sampling from the most dominant topic to ensure uniform input size. In contrast, the Kaggle dataset contains significantly fewer posts per user (typically around 100). Instead of clustering, we randomly sampled 80 posts per user, following the overall median post count. These posts were then arranged in chronological order and grouped into 8 equally sized semantic segments.</p>
          <p id="S4.SS4.SSS0.Px3.p2">For more details on the implementation and training procedure, please refer to the GitHub repository<xref ref-type="fn" rid="fn9">9</xref><fn id="fn9"><label><sup>9</sup></label><p id="footnote9">https://github.com/Once2gain/IAN</p></fn>.</p>
        </boxed-text>
      </sec>
      <sec id="S4.SS5">
        <label>4.5</label>
        <title>Overall Results</title>
        <p id="S4.SS5.p1">Tables <xref rid="T1" ref-type="table">1</xref> and <xref rid="T2" ref-type="table">2</xref> present the best results from our experiments for IAN alongside the best results published in the original papers for the baselines. The <bold>first block</bold> presents the performance of traditional and pre-trained baseline methods, while the <bold>second block</bold> shows the results of recent attention-based methods, and the <bold>third block</bold> contains recent graph-based methods. We attempted to stack IAN with more layers but found that detection performance reached its peak when N=3 for Kaggle and N=2 for Pandora. We reason that adding more layers confuses IAN as to which personality pattern representations to retain. Significantly, IAN (N=3) yielded a 13% lead over the existing best result with Kaggle. As for Pandora, IAN achieved comparable performance but is more lightweight and flexible.</p>
        <p>
          <table-wrap id="T1">
            <label>Table 1</label>
            <caption>
              <p>Results of the models in terms of Macro-F1 (%) scores on Kaggle, where IAN (N=n) consists of n index attention layers and n self-attention layers.</p>
            </caption>
            <table>
              <tbody>
                <tr>
                  <td style="border-top: 1px solid black;" align="left">
                    <bold>Methods</bold>
                  </td>
                  <td style="border-top: 1px solid black;" align="left">
                    <bold>E/ I</bold>
                  </td>
                  <td style="border-top: 1px solid black;" align="left">
                    <bold>S/ N</bold>
                  </td>
                  <td style="border-top: 1px solid black;" align="left">
                    <bold>T/ F</bold>
                  </td>
                  <td style="border-top: 1px solid black;" align="left">
                    <bold>J/ P</bold>
                  </td>
                  <td style="border-top: 1px solid black;" align="left">
                    <bold>Avg</bold>
                  </td>
                </tr>
                <tr>
                  <td style="border-top: 1px solid black;" align="left">SVM</td>
                  <td style="border-top: 1px solid black;" align="left">53.34</td>
                  <td style="border-top: 1px solid black;" align="left">47.75</td>
                  <td style="border-top: 1px solid black;" align="left">76.72</td>
                  <td style="border-top: 1px solid black;" align="left">63.03</td>
                  <td style="border-top: 1px solid black;" align="left">60.21</td>
                </tr>
                <tr>
                  <td align="left">XGBoost</td>
                  <td align="left">56.67</td>
                  <td align="left">52.85</td>
                  <td align="left">75.42</td>
                  <td align="left">65.94</td>
                  <td align="left">62.72</td>
                </tr>
                <tr>
                  <td align="left">BiLSTM</td>
                  <td align="left">57.82</td>
                  <td align="left">57.87</td>
                  <td align="left">69.97</td>
                  <td align="left">57.01</td>
                  <td align="left">60.67</td>
                </tr>
                <tr>
                  <td align="left">BERT</td>
                  <td align="left">64.65</td>
                  <td align="left">57.12</td>
                  <td align="left">77.95</td>
                  <td align="left">65.25</td>
                  <td align="left">66.24</td>
                </tr>
                <tr>
                  <td style="border-top: 1px solid black;" align="left">SN+Attn</td>
                  <td style="border-top: 1px solid black;" align="left">65.43</td>
                  <td style="border-top: 1px solid black;" align="left">62.15</td>
                  <td style="border-top: 1px solid black;" align="left">78.05</td>
                  <td style="border-top: 1px solid black;" align="left">63.92</td>
                  <td style="border-top: 1px solid black;" align="left">67.39</td>
                </tr>
                <tr>
                  <td align="left">Transformer-MD</td>
                  <td align="left">66.08</td>
                  <td align="left">69.10</td>
                  <td align="left">79.19</td>
                  <td align="left">67.50</td>
                  <td align="left">70.47</td>
                </tr>
                <tr>
                  <td style="border-top: 1px solid black;" align="left">TrigNet</td>
                  <td style="border-top: 1px solid black;" align="left">69.54</td>
                  <td style="border-top: 1px solid black;" align="left">67.17</td>
                  <td style="border-top: 1px solid black;" align="left">79.06</td>
                  <td style="border-top: 1px solid black;" align="left">67.69</td>
                  <td style="border-top: 1px solid black;" align="left">70.86</td>
                </tr>
                <tr>
                  <td align="left">D-DGCN</td>
                  <td align="left">69.52</td>
                  <td align="left">67.19</td>
                  <td align="left">80.53</td>
                  <td align="left">68.16</td>
                  <td align="left">71.35</td>
                </tr>
                <tr>
                  <td align="left">CGTN</td>
                  <td align="left">71.12</td>
                  <td align="left">70.44</td>
                  <td align="left">80.22</td>
                  <td align="left">72.64</td>
                  <td align="left">73.61</td>
                </tr>
                <tr>
                  <td style="border-top: 1px solid black;" align="left">IAN (N=2)</td>
                  <td style="border-top: 1px solid black;" align="left">83.68</td>
                  <td style="border-top: 1px solid black;" align="left">82.14</td>
                  <td style="border-top: 1px solid black;" align="left">85.63</td>
                  <td style="border-top: 1px solid black;" align="left">83.14</td>
                  <td style="border-top: 1px solid black;" align="left">83.65</td>
                </tr>
                <tr>
                  <td align="left">IAN (N=3)</td>
                  <td align="left">
                    <underline>87.92</underline>
                  </td>
                  <td align="left">
                    <underline>84.48</underline>
                  </td>
                  <td align="left">
                    <underline>87.16</underline>
                  </td>
                  <td align="left">
                    <underline>86.89</underline>
                  </td>
                  <td align="left">
                    <underline>86.61</underline>
                  </td>
                </tr>
                <tr>
                  <td style="border-bottom: 1px solid black;" align="left">IAN (N=4)</td>
                  <td style="border-bottom: 1px solid black;" align="left">83.27</td>
                  <td style="border-bottom: 1px solid black;" align="left">80.89</td>
                  <td style="border-bottom: 1px solid black;" align="left">85.73</td>
                  <td style="border-bottom: 1px solid black;" align="left">85.19</td>
                  <td style="border-bottom: 1px solid black;" align="left">83.77</td>
                </tr>
              </tbody>
            </table>
          </table-wrap>
        </p>
        <p>
          <table-wrap id="T2">
            <label>Table 2</label>
            <caption>
              <p>Results of the models in terms of Macro-F1 (%) scores on Pandora, where "*cluster" means the posts were pre-processed with topic clustering.</p>
            </caption>
            <table>
              <tbody>
                <tr>
                  <td style="border-top: 1px solid black;" align="left">
                    <bold>Methods</bold>
                  </td>
                  <td style="border-top: 1px solid black;" align="left">
                    <bold>E/ I</bold>
                  </td>
                  <td style="border-top: 1px solid black;" align="left">
                    <bold>S/ N</bold>
                  </td>
                  <td style="border-top: 1px solid black;" align="left">
                    <bold>T/ F</bold>
                  </td>
                  <td style="border-top: 1px solid black;" align="left">
                    <bold>J/ P</bold>
                  </td>
                  <td style="border-top: 1px solid black;" align="left">
                    <bold>Avg</bold>
                  </td>
                </tr>
                <tr>
                  <td style="border-top: 1px solid black;" align="left">SVM</td>
                  <td style="border-top: 1px solid black;" align="left">44.74</td>
                  <td style="border-top: 1px solid black;" align="left">46.92</td>
                  <td style="border-top: 1px solid black;" align="left">64.62</td>
                  <td style="border-top: 1px solid black;" align="left">56.32</td>
                  <td style="border-top: 1px solid black;" align="left">53.15</td>
                </tr>
                <tr>
                  <td align="left">XGBoost</td>
                  <td align="left">45.99</td>
                  <td align="left">48.93</td>
                  <td align="left">63.51</td>
                  <td align="left">55.55</td>
                  <td align="left">53.50</td>
                </tr>
                <tr>
                  <td align="left">BiLSTM</td>
                  <td align="left">48.01</td>
                  <td align="left">52.01</td>
                  <td align="left">63.48</td>
                  <td align="left">56.21</td>
                  <td align="left">54.93</td>
                </tr>
                <tr>
                  <td align="left">BERT</td>
                  <td align="left">56.60</td>
                  <td align="left">48.71</td>
                  <td align="left">64.70</td>
                  <td align="left">56.07</td>
                  <td align="left">56.52</td>
                </tr>
                <tr>
                  <td style="border-top: 1px solid black;" align="left">SN+Attn</td>
                  <td style="border-top: 1px solid black;" align="left">54.60</td>
                  <td style="border-top: 1px solid black;" align="left">49.19</td>
                  <td style="border-top: 1px solid black;" align="left">61.82</td>
                  <td style="border-top: 1px solid black;" align="left">53.64</td>
                  <td style="border-top: 1px solid black;" align="left">54.81</td>
                </tr>
                <tr>
                  <td align="left">Transformer-MD</td>
                  <td align="left">55.26</td>
                  <td align="left">
                    <underline>58.77</underline>
                  </td>
                  <td align="left">69.26</td>
                  <td align="left">60.90</td>
                  <td align="left">61.05</td>
                </tr>
                <tr>
                  <td style="border-top: 1px solid black;" align="left">TrigNet</td>
                  <td style="border-top: 1px solid black;" align="left">56.69</td>
                  <td style="border-top: 1px solid black;" align="left">55.57</td>
                  <td style="border-top: 1px solid black;" align="left">66.38</td>
                  <td style="border-top: 1px solid black;" align="left">57.27</td>
                  <td style="border-top: 1px solid black;" align="left">58.98</td>
                </tr>
                <tr>
                  <td align="left">D-DGCN</td>
                  <td align="left">61.55</td>
                  <td align="left">55.46</td>
                  <td align="left">
                    <underline>71.07</underline>
                  </td>
                  <td align="left">
                    <underline>59.96</underline>
                  </td>
                  <td align="left">62.01</td>
                </tr>
                <tr>
                  <td style="border-top: 1px solid black;" align="left">IAN(N=2)</td>
                  <td style="border-top: 1px solid black;" align="left">57.85</td>
                  <td style="border-top: 1px solid black;" align="left">55.23</td>
                  <td style="border-top: 1px solid black;" align="left">64.61</td>
                  <td style="border-top: 1px solid black;" align="left">57.84</td>
                  <td style="border-top: 1px solid black;" align="left">58.88</td>
                </tr>
                <tr>
                  <td align="left">IAN (N=2,*cluster)</td>
                  <td align="left">
                    <underline>62.67</underline>
                  </td>
                  <td align="left">58.33</td>
                  <td align="left">69.34</td>
                  <td align="left">59.31</td>
                  <td align="left">
                    <underline>62.41</underline>
                  </td>
                </tr>
                <tr>
                  <td style="border-bottom: 1px solid black;" align="left">IAN (N=3,*cluster)</td>
                  <td style="border-bottom: 1px solid black;" align="left">57.24</td>
                  <td style="border-bottom: 1px solid black;" align="left">56.32</td>
                  <td style="border-bottom: 1px solid black;" align="left">63.00</td>
                  <td style="border-bottom: 1px solid black;" align="left">57.63</td>
                  <td style="border-bottom: 1px solid black;" align="left">58.55</td>
                </tr>
              </tbody>
            </table>
          </table-wrap>
        </p>
      </sec>
      <sec id="S4.SS6">
        <label>4.6</label>
        <title>Ablation Study</title>
        <p id="S4.SS6.p1">To investigate the contribution of sampling versus clustering the topics, we conducted an ablation study using the Pandora dataset, where we removed the clustering step. The Pandora dataset is fairly large, and having a pre-filtering and selecting step on posts would be quite beneficial. Normally, posts would be randomly selected to form segments. However, we see the clustering step does help improve the Macro-F1 (%) score by an average of 3.53%, as shown in Table <xref rid="T2" ref-type="table">2</xref>.</p>
        <p>
          <fig id="F4">
            <label>Figure 4.</label>
            <caption>
              <p>Index score matrices obtained from index attention layers at the inference stage.</p>
            </caption>
            <graphic xlink:href="figures/fg4.png"/>
          </fig>
        </p>
      </sec>
    </sec>
    <sec id="S5">
      <label>5.</label>
      <title>Explanation of Index Attention Mechanism</title>
      <p id="S5.p1">To better understand how the Index Attention Mechanism (IAM) facilitates personality inference, we analyzed attention matrices at different layers and identified four primary attention patterns. Each pattern reveals a distinct way in which personality-related linguistic signals are aggregated across social media posts, which is crucial for addressing the challenge of fragmented and noisy data in personality detection.</p>
      <p id="S5.p2">These patterns were identified through experiments conducted with IAN (N=2, * cluster) trained on the Pandora dataset (see Table <xref rid="T2" ref-type="table">2</xref>), where we visualized the typical index score matrices generated by the attention mechanism in Figure <xref ref-type="fig" rid="F4">4</xref>. The analysis of these matrices allows us to examine how IAM dynamically integrates psycholinguistic features to enhance personality trait recognition.</p>
      <p id="S5.p3">
        <bold>Pattern 1: Capturing Local Coherence and Thematic Consistency (Visualized in Samples 1 and 2)</bold>
      </p>
      <p id="S5.p4">At the first layer of IAM, the attention mechanism predominantly captures local proximity relationships between segments. This means that posts with apparent linguistic or topical similarities tend to receive higher mutual attention scores. However, when enriched with psycholinguistic features, IAM learns to generalize beyond surface similarities and establish deeper semantic connections.</p>
      <p id="S5.p5">This pattern is crucial for identifying personality traits that are manifested through consistent language use. For example, individuals with a Judging (J) preference in the MBTI framework often demonstrate structured and organized speech patterns across posts, reflecting their inclination toward planning and decisiveness. By detecting such proximities, IAM ensures that semantically related segments reinforce each other, improving personality classification accuracy.</p>
      <p id="S5.p6">
        <bold>Pattern 2: Bridging Conceptual Gaps (Visualized in Samples 3 and 4)</bold>
      </p>
      <p id="S5.p7">At the second layer, IAM shifts its focus to reinforcing relationships between segments that initially had weak or indirect associations. This suggests that the mechanism is effectively bridging gaps between posts that might not share direct lexical similarities but are conceptually related.</p>
      <p id="S5.p8">This pattern is particularly valuable in identifying personality traits that manifest through subtle contextual cues rather than explicit word choices. For example, individuals with an Extraversion (E) preference in the MBTI framework may use varied and context-dependent expressions of social engagement, such as discussing group activities, sharing spontaneous thoughts, or frequently interacting with others online. By learning these indirect associations, IAM improves its ability to detect latent personality signals dispersed across posts.</p>
      <p id="S5.p9">
        <bold>Pattern 3: Uncovering Latent Personality Signals (Visualized in Samples 5 and 6)</bold>
      </p>
      <p id="S5.p10">In this pattern, the initial correlations between segments based on surface-level psycholinguistic features appear weak. However, after processing through IAM, these correlations become significantly stronger. This suggests that IAM effectively integrates latent personality indicators that may not be immediately apparent in individual posts.</p>
      <p id="S5.p11">Many MBTI personality traits, such as Intuition (N), are characterized by abstract, exploratory, and metaphorical language rather than overtly repeated patterns. Intuitive individuals often discuss theoretical concepts, possibilities, and future-oriented ideas, which may appear loosely connected on the surface. This pattern demonstrates IAM's ability to extract deeper personality cues by leveraging psycholinguistic knowledge as an indexing mechanism, ensuring that even weakly correlated segments contribute meaningfully to the final inference.</p>
      <p id="S5.p12">
        <bold>Pattern 4: Prioritizing Distinctive Linguistic Cues (Visualized in Samples 7 and 8)</bold>
      </p>
      <p id="S5.p13">In cases where segments initially exhibit high similarity, IAM refines its focus by selectively amplifying key segments with more distinctive psycholinguistic features. These segments receive disproportionately high attention scores, suggesting that IAM prioritizes informative content over redundancy.</p>
      <p id="S5.p14">This pattern is particularly effective for differentiating between individuals with similar but distinct MBTI traits. For example, both Feeling (F) and Thinking (T) types may express strong opinions, but their linguistic focus differs: Feeling types tend to emphasize empathy, personal values, and emotional impact, whereas Thinking types prioritize logic, objectivity, and analytical reasoning. By prioritizing key segments, IAM ensures that personality inference is based on the most informative and distinguishing linguistic features rather than being skewed by redundant or less relevant content.</p>
      <boxed-text id="S5.SS0.SSS0.Px1">
        <caption>
          <p>Summary:</p>
        </caption>
        <p id="S5.SS0.SSS0.Px1.p1">The identified attention patterns illustrate how IAM systematically refines personality-relevant linguistic signals across multiple layers. By leveraging prior psycholinguistic knowledge as an index, IAM successfully bridges weak connections, strengthens latent cues, and prioritizes informative content, thereby enhancing the robustness of personality detection in social media contexts.</p>
      </boxed-text>
    </sec>
    <sec id="S6">
      <label>6.</label>
      <title>Conclusion</title>
      <p id="S6.p1">The index attention mechanism presented in this paper leverages a set of prior (psycholinguistic) features to facilitate task-specific information fusion across documents—capturing correlations that pre-trained language models may overlook. Centered around each document, this mechanism enables the framework to integrate relevant information from other documents, thereby enhancing the robustness of task-specific representations.</p>
      <p id="S6.p2">Our implementation is specifically designed for multi-document classification tasks. It uses prior features to predict task-specific relationships between documents and performs information fusion by aggregating effective signals from deep semantics to refine each document's representation. In this study, we applied index attention to exploit the full potential of psycholinguistic knowledge as a clue for indexing and fusing evidence for personality detection from PLM features. We also developed an Index Attention Network (IAN) to detect personality traits from social media posts. IAN seeks to uncover deep semantic evidence through topic preferences, semantic relevance, and psycholinguistic cues. Experimental results on two publicly available datasets demonstrate the effectiveness of our methods.</p>
    </sec>
    <sec id="S7">
      <label>7.</label>
      <title>Limitations and Ethical Considerations</title>
      <p id="S7.p1">This study has several noteworthy limitations. First, although our index attention mechanism takes psycholinguistic features as prior knowledge, these features are fixed and do not have the same adaptability as deep neural network features, which can be pre-trained and fine-tuned for downstream tasks. Consequently, psycholinguistic features could be replaced by other feature engineering models, such as a CNN, pre-trained or not, to potentially extract better features than psycholinguistic ones for attention.</p>
      <p id="S7.p2">The second limitation concerns long text classification tasks. This method is more suitable for text fragments with sparse correlations and less appropriate for tightly contextual, long text classification. The principle of index attention is to filter out irrelevant posts, which may restrict its applicability in certain scenarios.</p>
      <p id="S7.p3">The third limitation relates to preprocessing. We sampled 100 posts per topic for each blog author, which evidently missed many posts relevant to personality assessment. Extending the index attention mechanism to integrate all sampled posts could enhance the precision of personality recognition.</p>
      <p id="S7.p4">Future research directions could explore ways to overcome these limitations, such as developing trainable feature extraction methods, improving the ability to handle tightly contextual information, and optimizing sampling strategies to enhance the overall model performance.</p>
      <p id="S7.p5">The use of computational methods, particularly machine learning and deep learning algorithms, for MBTI personality assessment based on online data raises several ethical concerns. While these advanced techniques offer improved applicability compared to traditional psychological scales, they present challenges in terms of interpretability and ethical implications. The "black box" nature of deep learning algorithms lacks a solid grounding in psychological theory, making their outcomes difficult to explain and potentially hindering the understanding of personality traits within these models. Furthermore, the vast amounts of data required for these algorithms raise significant privacy concerns. The Pandora dataset, for example, which adheres to ethical codes for psychological research, does allow for the use of archival data without individual consent – but only under specific conditions that protect participants from risk and where confidentiality is maintained  [<xref rid="ref029" ref-type="bibr">29</xref>]. Likewise, the Kaggle dataset has been anonymized to protect privacy.</p>
  </body>
  <back>
    <ack>
      <title>Acknowledgments</title>
      <p id="ack.p1">This work was supported by the Natural Science Foundation of Shandong Province under Grant ZR2020MF154.</p>
    </ack>
    <sec id="sec0100" sec-type="COI-statement">
      <title>Conflict of interest</title>
      <p>The authors declare no conflicts of interest.</p>
    </sec>
    <ref-list>
      <title>References</title>
      <ref id="ref001">
        <label>[1]</label>
        <mixed-citation> Mairesse, F., Walker, M. A., Mehl, M. R., &amp; Moore, R. K. (2007). Using linguistic cues for the automatic recognition of personality in conversation and text. <italic>Journal of artificial intelligence research, 30</italic>, 457-500. [<uri>https://doi.org/10.1613/jair.2349</uri>] </mixed-citation>
      </ref>
      <ref id="ref002">
        <label>[2]</label>
        <mixed-citation> Holtgraves, T. (2011). Text messaging, personality, and the social context. <italic>Journal of research in personality, 45</italic>(1), 92-99. [<uri>https://doi.org/10.1016/j.jrp.2010.11.015</uri>] </mixed-citation>
      </ref>
      <ref id="ref003">
        <label>[3]</label>
        <mixed-citation> Lee, C. H., Kim, K., Seo, Y. S., &amp; Chung, C. K. (2007). The relations between personality and language use. <italic>The Journal of general psychology, 134</italic>(4), 405-413. [<uri>https://doi.org/10.3200/GENP.134.4.405-414</uri>] </mixed-citation>
      </ref>
      <ref id="ref004">
        <label>[4]</label>
        <mixed-citation> Fast, L. A., &amp; Funder, D. C. (2008). Personality as manifest in word use: Correlations with self-report, acquaintance report, and behavior. <italic>Journal of personality and social psychology, 94</italic>(2), 334. </mixed-citation>
      </ref>
      <ref id="ref005">
        <label>[5]</label>
        <mixed-citation> Schnurr, P. P., Rosenberg, S. D., Oxman, T. E., &amp; Tucker, G. J. (1986). A methodological note on content analysis: Estimates of reliability. <italic>Journal of personality assessment, 50</italic>(4), 601-609. [<uri>https://doi.org/10.1207/s15327752jpa5004_7</uri>] </mixed-citation>
      </ref>
      <ref id="ref006">
        <label>[6]</label>
        <mixed-citation> Pennebaker, J. W., &amp; King, L. A. (1999). Linguistic styles: language use as an individual difference. <italic>Journal of personality and social psychology, 77</italic>(6), 1296. </mixed-citation>
      </ref>
      <ref id="ref007">
        <label>[7]</label>
        <mixed-citation> Pennebaker, J. W., Mehl, M. R., &amp; Niederhoffer, K. G. (2003). Psychological aspects of natural language use: Our words, our selves. <italic>Annual review of psychology, 54</italic>(1), 547-577. [<uri>https://doi.org/10.1146/annurev.psych.54.101601.145041</uri>] </mixed-citation>
      </ref>
      <ref id="ref008">
        <label>[8]</label>
        <mixed-citation> Mehl, M. R., Gosling, S. D., &amp; Pennebaker, J. W. (2006). Personality in its natural habitat: manifestations and implicit folk theories of personality in daily life. <italic>Journal of personality and social psychology, 90</italic>(5), 862. </mixed-citation>
      </ref>
      <ref id="ref009">
        <label>[9]</label>
        <mixed-citation> Hirsh, J. B., &amp; Peterson, J. B. (2009). Personality and language use in self-narratives. <italic>Journal of research in personality, 43</italic>(3), 524-527. [<uri>https://doi.org/10.1016/j.jrp.2009.01.006</uri>] </mixed-citation>
      </ref>
      <ref id="ref010">
        <label>[10]</label>
        <mixed-citation> Ireland, M. E., &amp; Pennebaker, J. W. (2010). Language style matching in writing: synchrony in essays, correspondence, and poetry. <italic>Journal of personality and social psychology, 99</italic>(3), 549. </mixed-citation>
      </ref>
      <ref id="ref011">
        <label>[11]</label>
        <mixed-citation> Nowson, S., &amp; Oberlander, J. (2007, March). Identifying more bloggers: Towards large scale personality classification of personal weblogs. In <italic>Proceedings of the international conference on weblogs and social</italic>. </mixed-citation>
      </ref>
      <ref id="ref012">
        <label>[12]</label>
        <mixed-citation> Yarkoni, T. (2010). Personality in 100,000 words: A large-scale analysis of personality and word use among bloggers. <italic>Journal of research in personality, 44</italic>(3), 363-373. [<uri>https://doi.org/10.1016/j.jrp.2010.04.001</uri>] </mixed-citation>
      </ref>
      <ref id="ref013">
        <label>[13]</label>
        <mixed-citation> Golbeck, J., Robles, C., &amp; Turner, K. (2011). Predicting personality with social media. In <italic>CHI'11 extended abstracts on human factors in computing systems</italic> (pp. 253-262). [<uri>https://doi.org/10.1145/1979742.1979614</uri>] </mixed-citation>
      </ref>
      <ref id="ref014">
        <label>[14]</label>
        <mixed-citation> Schwartz, H. A., Eichstaedt, J. C., Kern, M. L., Dziurzynski, L., Ramones, S. M., Agrawal, M., … &amp; Ungar, L. H. (2013). Personality, gender, and age in the language of social media: The open-vocabulary approach. <italic>PloS one, 8</italic>(9), e73791. [<uri>https://doi.org/10.1371/journal.pone.0073791</uri>] </mixed-citation>
      </ref>
      <ref id="ref015">
        <label>[15]</label>
        <mixed-citation> Tausczik, Y. R., &amp; Pennebaker, J. W. (2010). The psychological meaning of words: LIWC and computerized text analysis methods. <italic>Journal of language and social psychology, 29</italic>(1), 24-54. [<uri>https://doi.org/10.1177/0261927X09351676</uri>] </mixed-citation>
      </ref>
      <ref id="ref016">
        <label>[16]</label>
        <mixed-citation> Pennebaker, J. W., Francis, M. E., &amp; Booth, R. J. (2001). Linguistic inquiry and word count: LIWC 2001. <italic>Mahway: Lawrence Erlbaum Associates, 71</italic>(2001), 2001. </mixed-citation>
      </ref>
      <ref id="ref017">
        <label>[17]</label>
        <mixed-citation> Poria, S., Gelbukh, A., Agarwal, B., Cambria, E., &amp; Howard, N. (2013). Common sense knowledge based personality recognition from text. In <italic>Advances in Soft Computing and Its Applications: 12th Mexican International Conference on Artificial Intelligence, MICAI 2013, Mexico City, Mexico, November 24-30, 2013, Proceedings, Part II 12</italic> (pp. 484-496). Springer Berlin Heidelberg. [<uri>https://doi.org/10.1007/978-3-642-45111-9_42</uri>] </mixed-citation>
      </ref>
      <ref id="ref018">
        <label>[18]</label>
        <mixed-citation> Majumder, N., Poria, S., Gelbukh, A., &amp; Cambria, E. (2017). Deep learning-based document modeling for personality detection from text. <italic>IEEE intelligent systems, 32</italic>(2), 74-79. [<uri>https://doi.org/10.1109/MIS.2017.23</uri>] </mixed-citation>
      </ref>
      <ref id="ref019">
        <label>[19]</label>
        <mixed-citation> Watson, D., &amp; Clark, L. A. (1992). On traits and temperament: General and specific factors of emotional experience and their relation to the five-factor model. <italic>Journal of personality, 60</italic>(2), 441-476. [<uri>https://doi.org/10.1111/j.1467-6494.1992.tb00980.x</uri>] </mixed-citation>
      </ref>
      <ref id="ref020">
        <label>[20]</label>
        <mixed-citation> Park, G., Schwartz, H. A., Eichstaedt, J. C., Kern, M. L., Kosinski, M., Stillwell, D. J., … &amp; Seligman, M. E. (2015). Automatic personality assessment through social media language. <italic>Journal of personality and social psychology, 108</italic>(6), 934. </mixed-citation>
      </ref>
      <ref id="ref021">
        <label>[21]</label>
        <mixed-citation> Sun, X., Liu, B., Cao, J., Luo, J., &amp; Shen, X. (2018, May). Who am I? Personality detection based on deep learning for texts. In <italic>2018 IEEE international conference on communications (ICC)</italic> (pp. 1-6). IEEE. [<uri>https://doi.org/10.1109/ICC.2018.8422105</uri>] </mixed-citation>
      </ref>
      <ref id="ref022">
        <label>[22]</label>
        <mixed-citation> Mehta, Y., Fatehi, S., Kazameini, A., Stachl, C., Cambria, E., &amp; Eetemadi, S. (2020, November). Bottom-up and top-down: Predicting personality with psycholinguistic and language model features. In <italic>2020 IEEE international conference on data mining (ICDM)</italic> (pp. 1184-1189). IEEE. [<uri>https://doi.org/10.1109/ICDM50108.2020.00146</uri>] </mixed-citation>
      </ref>
      <ref id="ref023">
        <label>[23]</label>
        <mixed-citation> Celli, F., Pianesi, F., Stillwell, D., &amp; Kosinski, M. (2013). Workshop on computational personality recognition: Shared task. In <italic>Proceedings of the International AAAI Conference on Web and Social Media</italic> (Vol. 7, No. 2, pp. 2-5). [<uri>https://doi.org/10.1609/icwsm.v7i2.14467</uri>] </mixed-citation>
      </ref>
      <ref id="ref024">
        <label>[24]</label>
        <mixed-citation> Oberlander, J., &amp; Nowson, S. (2006, July). Whose thumb is it anyway? Classifying author personality from weblog text. In <italic>Proceedings of the COLING/ACL 2006 main conference poster sessions</italic> (pp. 627-634). </mixed-citation>
      </ref>
      <ref id="ref025">
        <label>[25]</label>
        <mixed-citation> Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., … &amp; Polosukhin, I. (2017). Attention is all you need. <italic>Advances in neural information processing systems, 30</italic>. </mixed-citation>
      </ref>
      <ref id="ref026">
        <label>[26]</label>
        <mixed-citation> Christian, H., Suhartono, D., Chowanda, A., &amp; Zamli, K. Z. (2021). Text based personality prediction from multiple social media data sources using pre-trained language model and model averaging. <italic>Journal of Big Data, 8</italic>(1), 68. [<uri>https://doi.org/10.1186/s40537-021-00459-1</uri>] </mixed-citation>
      </ref>
      <ref id="ref027">
        <label>[27]</label>
        <mixed-citation> Han, S., Huang, H., &amp; Tang, Y. (2020). Knowledge of words: An interpretable approach for personality recognition from social media. <italic>Knowledge-Based Systems, 194</italic>, 105550. [<uri>https://doi.org/10.1016/j.knosys.2020.105550</uri>] </mixed-citation>
      </ref>
      <ref id="ref028">
        <label>[28]</label>
        <mixed-citation> Gjurković, M., &amp; Šnajder, J. (2018, June). Reddit: A gold mine for personality prediction. In <italic>Proceedings of the second workshop on computational modeling of people's opinions, personality, and emotions in social media</italic> (pp. 87-97). [<uri>https://doi.org/10.18653/v1/W18-1112</uri>] </mixed-citation>
      </ref>
      <ref id="ref029">
        <label>[29]</label>
        <mixed-citation> Gjurković, M., Karan, M., Vukojević, I., Bošnjak, M., &amp; Šnajder, J. (2020). PANDORA talks: Personality and demographics on Reddit. <italic>arXiv preprint arXiv:2004.04460</italic>. </mixed-citation>
      </ref>
      <ref id="ref030">
        <label>[30]</label>
        <mixed-citation> Yang, T., Deng, J., Quan, X., &amp; Wang, Q. (2023, June). Orders are unwanted: dynamic deep graph convolutional network for personality detection. In <italic>Proceedings of the AAAI Conference on Artificial Intelligence</italic> (Vol. 37, No. 11, pp. 13896-13904). [<uri>https://doi.org/10.1609/aaai.v37i11.26627</uri>] </mixed-citation>
      </ref>
      <ref id="ref031">
        <label>[31]</label>
        <mixed-citation> Yang, F., Quan, X., Yang, Y., &amp; Yu, J. (2021, May). Multi-document transformer for personality detection. In <italic>Proceedings of the AAAI conference on artificial intelligence</italic> (Vol. 35, No. 16, pp. 14221-14229). [<uri>https://doi.org/10.1609/aaai.v35i16.17673</uri>] </mixed-citation>
      </ref>
      <ref id="ref032">
        <label>[32]</label>
        <mixed-citation> Yang, T., Yang, F., Ouyang, H., &amp; Quan, X. (2021). Psycholinguistic tripartite graph network for personality detection. <italic>arXiv preprint arXiv:2106.04963</italic>. </mixed-citation>
      </ref>
      <ref id="ref033">
        <label>[33]</label>
        <mixed-citation> Zhu, Y., Hu, L., Ge, X., Peng, W., &amp; Wu, B. (2022). Contrastive Graph Transformer Network for Personality Detection. In <italic>IJCAI</italic> (pp. 4559-4565). </mixed-citation>
      </ref>
      <ref id="ref034">
        <label>[34]</label>
        <mixed-citation> Lynn, V., Balasubramanian, N., &amp; Schwartz, H. A. (2020, July). Hierarchical modeling for user personality prediction: The role of message-level attention. In <italic>Proceedings of the 58th annual meeting of the association for computational linguistics</italic> (pp. 5306-5316). [<uri>https://doi.org/10.18653/v1/2020.acl-main.472</uri>] </mixed-citation>
      </ref>
      <ref id="ref035">
        <label>[35]</label>
        <mixed-citation> Ren, Z., Shen, Q., Diao, X., &amp; Xu, H. (2021). A sentiment-aware deep learning approach for personality detection from text. <italic>Information Processing &amp; Management, 58</italic>(3), 102532. [<uri>https://doi.org/10.1016/j.ipm.2021.102532</uri>] </mixed-citation>
      </ref>
      <ref id="ref036">
        <label>[36]</label>
        <mixed-citation> Štajner, S., &amp; Yenikent, S. (2021, April). Why is MBTI personality detection from texts a difficult task?. In <italic>Proceedings of the 16th conference of the European chapter of the association for computational linguistics: main volume</italic> (pp. 3580-3589). [<uri>https://doi.org/10.18653/v1/2021.eacl-main.312</uri>] </mixed-citation>
      </ref>
      <ref id="ref037">
        <label>[37]</label>
        <mixed-citation> Liu, Y., Wang, J., &amp; Jiang, Y. (2016). PT-LDA: A latent variable model to predict personality traits of social network users. <italic>Neurocomputing, 210</italic>, 155-163. [<uri>https://doi.org/10.1016/j.neucom.2015.10.144</uri>] </mixed-citation>
      </ref>
      <ref id="ref038">
        <label>[38]</label>
        <mixed-citation> Zhao, J., Zeng, D., Xiao, Y., Che, L., &amp; Wang, M. (2020). User personality prediction based on topic preference and sentiment analysis using LSTM model. <italic>Pattern Recognition Letters, 138</italic>, 397-402. [<uri>https://doi.org/10.1016/j.patrec.2020.07.035</uri>] </mixed-citation>
      </ref>
      <ref id="ref039">
        <label>[39]</label>
        <mixed-citation> Gill, A., Nowson, S., &amp; Oberlander, J. (2009, March). What are they blogging about? Personality, topic and motivation in blogs. In <italic>Proceedings of the International AAAI Conference on Web and Social Media</italic> (Vol. 3, No. 1, pp. 18-25). [<uri>https://doi.org/10.1609/icwsm.v3i1.13949</uri>] </mixed-citation>
      </ref>
      <ref id="ref040">
        <label>[40]</label>
        <mixed-citation> Devlin, J., Chang, M. W., Lee, K., &amp; Toutanova, K. (2019, June). Bert: Pre-training of deep bidirectional transformers for language understanding. In <italic>Proceedings of the 2019 conference of the North American chapter of the association for computational linguistics: human language technologies, volume 1 (long and short papers)</italic> (pp. 4171-4186). [<uri>https://doi.org/10.18653/v1/N19-1423</uri>] </mixed-citation>
      </ref>
      <ref id="ref041">
        <label>[41]</label>
        <mixed-citation> Campello, R. J., Moulavi, D., &amp; Sander, J. (2013, April). Density-based clustering based on hierarchical density estimates. In <italic>Pacific-Asia conference on knowledge discovery and data mining</italic> (pp. 160-172). Berlin, Heidelberg: Springer Berlin Heidelberg. [<uri>https://doi.org/10.1007/978-3-642-37456-2_14</uri>] </mixed-citation>
      </ref>
      <ref id="ref042">
        <label>[42]</label>
        <mixed-citation> El-Demerdash, K., El-Khoribi, R. A., Shoman, M. A. I., &amp; Abdou, S. (2022). Deep learning based fusion strategies for personality prediction. <italic>Egyptian Informatics Journal, 23</italic>(1), 47-53. [<uri>https://doi.org/10.1016/j.eij.2021.05.004</uri>] </mixed-citation>
      </ref>
      <ref id="ref043">
        <label>[43]</label>
        <mixed-citation> KN, P. K., &amp; Gavrilova, M. L. (2021). Latent personality traits assessment from social network activity using contextual language embedding. <italic>IEEE Transactions on Computational Social Systems, 9</italic>(2), 638-649. [<uri>https://doi.org/10.1109/TCSS.2021.3108810</uri>] </mixed-citation>
      </ref>
      <ref id="ref044">
        <label>[44]</label>
        <mixed-citation> Cambria, E., Liu, Q., Decherchi, S., Xing, F., &amp; Kwok, K. (2022). SenticNet 7: A commonsense-based neurosymbolic AI framework for explainable sentiment analysis. In <italic>Proceedings of the Thirteenth Language Resources and Evaluation Conference</italic> (pp. 3829–3839). </mixed-citation>
      </ref>
      <ref id="ref045">
        <label>[45]</label>
        <mixed-citation> Susanto, Y., Livingstone, A. G., Ng, B. C., &amp; Cambria, E. (2020). The hourglass model revisited. <italic>IEEE Intelligent Systems, 35</italic>(5), 96-102. [<uri>https://doi.org/10.1109/MIS.2020.2992799</uri>] </mixed-citation>
      </ref>
      <ref id="ref046">
        <label>[46]</label>
        <mixed-citation> Mohammad, S. M., &amp; Turney, P. D. (2013). Crowdsourcing a word–emotion association lexicon. <italic>Computational intelligence, 29</italic>(3), 436-465. [<uri>https://doi.org/10.1111/j.1467-8640.2012.00460.x</uri>] </mixed-citation>
      </ref>
      <ref id="ref047">
        <label>[47]</label>
        <mixed-citation> Coltheart, M. (1981). The MRC psycholinguistic database. <italic>The Quarterly Journal of Experimental Psychology Section A, 33</italic>(4), 497-505. [<uri>https://doi.org/10.1080/14640748108400805</uri>] </mixed-citation>
      </ref>
      <ref id="ref048">
        <label>[48]</label>
        <mixed-citation> Liu, Y., Ott, M., Goyal, N., Du, J., Joshi, M., Chen, D., … &amp; Stoyanov, V. (2019). Roberta: A robustly optimized bert pretraining approach. <italic>arXiv preprint arXiv:1907.11692</italic>. </mixed-citation>
      </ref>
      <ref id="ref049">
        <label>[49]</label>
        <mixed-citation> Ott, M., Edunov, S., Baevski, A., Fan, A., Gross, S., Ng, N., … &amp; Auli, M. (2019). fairseq: A fast, extensible toolkit for sequence modeling. <italic>arXiv preprint arXiv:1904.01038</italic>. </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>
