<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Persuasive Strategies in Mental Health Apps: A Natural Language Processing Approach</article-title>
      </title-group>
      <contrib-group>
        <aff id="aff0">
          <label>0</label>
          <institution>Faculty of Computer Science, Dalhousie University</institution>
          ,
          <addr-line>Halifax NS B3H 4R2</addr-line>
          ,
          <country country="CA">Canada</country>
        </aff>
      </contrib-group>
      <fpage>0000</fpage>
      <lpage>0002</lpage>
      <abstract>
        <p>We present a natural language processing (NLP) approach to detecting the persuasive strategies employed by 100 mental health apps based on 57705 user reviews. We focus on the persuasive strategies in the primary task support category of the Persuasive Systems Design (PSD) framework. We used the Latent Dirichlet Allocation (LDA) topic modelling algorithm, in conjunction with semantic attributes, to achieve our goal.</p>
      </abstract>
      <kwd-group>
        <kwd>Persuasive strategies</kwd>
        <kwd>Natural language processing</kwd>
        <kwd>Topic modelling</kwd>
        <kwd>Latent dirichlet allocation</kwd>
        <kwd>LDA</kwd>
        <kwd>Mental health</kwd>
        <kwd>Mobile apps</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>
        Over the years, previous research has adopted the manual coding method to identify
persuasive strategies employed in mHealth apps [
        <xref ref-type="bibr" rid="ref1 ref2 ref3">1–3</xref>
        ]. This approach requires expert
reviewers to download the apps and manually code them using the Persuasive
Systems Design (PSD) framework [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] or behaviour change theories [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. However, this
may be very costly or impracticable for wider studies that involve hundreds or
thousands of apps.
      </p>
      <p>In this paper, we applied the natural language processing (NLP) techniques,
including topic modelling (with automated topic labelling) on user reviews of 100 mental
health apps (from both Google Play and App Store) to detect the persuasive strategies
they employed. This automated approach is a more efficient, practicable, and less
costly way of identifying the persuasive strategies employed by large number of
mobile apps. The main contribution of this paper is to eliminate manual coding of apps
by automatically deconstructing persuasive strategies (in the primary task support
category of the PSD framework) based on user reviews using natural language
processing (NLP) techniques and the Latent Dirichlet Allocation (LDA) topic modelling
algorithm. The paper also contributes to research by creating semantic attributes
representing various persuasive strategies to automatically label topics or themes
generated by the LDA algorithm.</p>
    </sec>
    <sec id="sec-2">
      <title>Methodology and Results</title>
      <p>To identify the persuasive strategies implemented by mental health apps based on
user reviews, we applied well-known computational techniques.</p>
      <p>
        First, we used the Heedzy tool [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ] to extract 101715 user reviews of 105 eligible
mental health apps on both Google Play and App Store. Second, we preprocessed the
data using NLP techniques (such as converting words to lowercase, reducing repeated
characters, removing numbers, expanding contractions, replacing slangs with English
words, removing punctuation and special characters, removing stop words,
lemmatizing words, and removing duplicates) to prepare it for analysis. After data
preprocessing, which was automatically done using Python scripts, total reviews reduced to
88125. Third, we classified each review into either positive, negative, or neutral
sentiment polarity. We retained only positive reviews (n=57705) since they mostly
reflect user opinions or experience about features and strategies already implemented in
the apps. The positive reviews are distributed across 100 apps. Fourth, we vectorized
the user reviews for each app using the Term Frequency Inverse Document Frequency
(TF-IDF) weighting technique which considers frequency and relevance when
assigning weight to words [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]. Fifth, we applied the Latent Dirichlet Allocation (LDA)
algorithm (which is widely used and efficient [
        <xref ref-type="bibr" rid="ref8 ref9">8, 9</xref>
        ]) on the vectorized reviews for each
app to identify main topics or themes describing the reviews. The LDA algorithm
returns top  topics in the reviews, along with top  words for each topic (where K is
set to 50 based on evidence on perplexity [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ], and N set to 10). In other words, for
each of the 100 apps, we retrieved top 50 topics and top 10 words that describe each
topic. Sixth, we automatically inferred persuasive strategies from the words
associated with each topic using semantic attributes. The semantic attributes were generated,
using the WordNet lexical database [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ], for each persuasive strategy in the primary
task support category of the PSD framework. Table 1 shows the semantic attributes
for the self-monitoring and tunneling strategies. The attributes were verified and
validated by two persuasive technology experts for appropriateness. Finally, a Python
program was developed to match the words corresponding to each topic with the
semantic attributes, and then label the topic with the appropriate persuasive strategy (or
strategies) based on the matching attribute(s).
      </p>
      <p>
        Our experimental results showed that self-monitoring is the most employed
persuasive strategy overall (n=92), followed by personalization and tailoring (n=83) and
simulation and rehearsal (n=81). However, reduction (n=77) followed by tunneling
(n=53) are the least employed persuasive strategies. Our findings aligned with the
results of a prior research that applied the manual coding method which showed that
self-monitoring and personalization are the top 2 persuasive strategies employed by
mental health apps [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ].
      </p>
      <p>Table 2 shows sample topics for one of the apps including the top 10 words
associated with each topic, the matching semantic attributes, topic label (or persuasive
strategy), sample user reviews, and the app name.
App Name
Daylio
3</p>
    </sec>
    <sec id="sec-3">
      <title>Conclusion</title>
      <p>In this paper, we presented a natural language processing (NLP) approach to
deconstructing persuasive strategies employed by mental health apps based on user reviews.
This eliminates manual coding of apps which has been a common phenomenon
among persuasive technology researchers. In addition, our approach showed that user
reviews could be a reliable and cost-effective alternative for evaluating the
effectiveness of persuasive apps both in short and long-term.</p>
      <p>Our experimental results revealed that self-monitoring is the most employed
persuasive strategy in mental health apps, followed by personalization and tailoring, and
simulation and rehearsal. Reduction followed by tunneling emerged as the least
employed persuasive strategies.
1 User reviews are included verbatim throughout the paper, including spelling and grammatical mistakes.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Fadhil</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wang</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          :
          <article-title>Health Behaviour Change Techniques in Diabetes Management Applications: A Systematic Review</article-title>
          . (
          <year>2019</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Oyebode</surname>
            ,
            <given-names>O.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ndulue</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Alhasani</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Orji</surname>
          </string-name>
          , R.:
          <article-title>Persuasive Mobile Apps for Health and Wellness : A Comparative Systematic Review</article-title>
          . In: International Conference on Persuasive Technology. pp.
          <fpage>1</fpage>
          -
          <lpage>12</lpage>
          (
          <year>2020</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Alqahtani</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Khalifah</surname>
          </string-name>
          , G. Al,
          <string-name>
            <surname>Oyebode</surname>
            ,
            <given-names>O.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Orji</surname>
          </string-name>
          , R.:
          <article-title>Apps for Mental Health : An Evaluation of Behavior Change Strategies and Recommendations for Future Development</article-title>
          .
          <source>Front. Artif. Intell. 2</source>
          ,
          <fpage>1</fpage>
          -
          <lpage>11</lpage>
          (
          <year>2019</year>
          ). https://doi.org/10.3389/frai.
          <year>2019</year>
          .00030
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Harri</surname>
            ,
            <given-names>O.-K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Marja</surname>
          </string-name>
          , H.:
          <article-title>Persuasive Systems Design: Key Issues, Process Model, and System Features</article-title>
          .
          <source>Commun. Assoc. Inf. Syst</source>
          .
          <volume>24</volume>
          ,
          <issue>96</issue>
          (
          <year>2009</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Orji</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Orji</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Oyibo</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ajah</surname>
            ,
            <given-names>I.A.</given-names>
          </string-name>
          :
          <article-title>Personalizing health theories in persuasive game interventions to gamer types: An African perspective</article-title>
          .
          <source>In: Proceedings of the Second African Conference for Human Computer Interaction: Thriving Communities</source>
          . pp.
          <fpage>45</fpage>
          -
          <lpage>56</lpage>
          (
          <year>2018</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6. Heedzy:
          <article-title>Download app reviews from iTunes App Store</article-title>
          &amp;amp; Google Play, https://heedzy.com/
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <given-names>Juan</given-names>
            <surname>Ramos</surname>
          </string-name>
          :
          <article-title>Using TF-IDF to determine word relevance in document queries</article-title>
          .
          <source>Proc. first Instr. Conf. Mach. Learn</source>
          .
          <volume>242</volume>
          ,
          <fpage>133</fpage>
          -
          <lpage>142</lpage>
          (
          <year>2003</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Blei</surname>
            ,
            <given-names>D.M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ng</surname>
            ,
            <given-names>A.Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Jordan</surname>
            ,
            <given-names>M.I.</given-names>
          </string-name>
          :
          <article-title>Latent Dirichlet allocation</article-title>
          .
          <source>J. Mach. Learn. Res</source>
          .
          <volume>3</volume>
          ,
          <fpage>993</fpage>
          -
          <lpage>1022</lpage>
          (
          <year>2003</year>
          ). https://doi.org/10.1016/b978-0
          <source>-12-411519-4</source>
          .
          <fpage>00006</fpage>
          -
          <lpage>9</lpage>
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Hoffman</surname>
            ,
            <given-names>M.D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Blei</surname>
            ,
            <given-names>D.M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Bach</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          :
          <article-title>Online Learning for latent Dirichlet allocation (Supplementary Material)</article-title>
          .
          <source>Nature</source>
          . 1-
          <fpage>9</fpage>
          (
          <year>2010</year>
          ). https://doi.org/10.1.1.187.1883
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Al-Ramahi</surname>
            ,
            <given-names>M.A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Liu</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>El-Gayar</surname>
            ,
            <given-names>O.F.</given-names>
          </string-name>
          :
          <article-title>Discovering design principles for health behavioral change support systems: A text mining approach</article-title>
          .
          <source>ACM Trans. Manag. Inf. Syst. 8</source>
          , (
          <year>2017</year>
          ). https://doi.org/10.1145/3055534
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <surname>Fellbaum</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          :
          <article-title>WordNet and wordnets</article-title>
          .
          <source>In: Encyclopedia of Language and Linguistics</source>
          . pp.
          <fpage>665</fpage>
          -
          <lpage>670</lpage>
          . Elsevier Science (
          <year>2005</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>