Skip to content

Latest commit

 

History

History
executable file
·
390 lines (329 loc) · 28.6 KB

science.md

File metadata and controls

executable file
·
390 lines (329 loc) · 28.6 KB
copyright lastupdated subcollection
years
2015, 2019
2019-03-07
personality-insights

{:shortdesc: .shortdesc} {:new_window: target="_blank"} {:tip: .tip} {:important: .important} {:note: .note} {:deprecated: .deprecated} {:pre: .pre} {:codeblock: .codeblock} {:screen: .screen} {:javascript: .ph data-hd-programlang='javascript'} {:java: .ph data-hd-programlang='java'} {:python: .ph data-hd-programlang='python'} {:swift: .ph data-hd-programlang='swift'}

The science behind the service

{: #science}

A well-accepted theory of psychology, marketing, and other fields is that human language reflects personality, thinking style, social connections, and emotional states. The frequency with which people use certain categories of words can provide clues to these characteristics. Several researchers found that variations in word usage in writings such as blogs, essays, and tweets can predict aspects of personality (Fast and Funder, 2008; Gill and others, 2009; Golbeck and others, 2011; Hirsh and Peterson, 2009; and Yarkoni, 2010). {: shortdesc}

{{site.data.keyword.IBM_notm}} conducted a set of studies to understand whether personality characteristics that are inferred from social media data can predict people's behavior and preferences. {{site.data.keyword.IBM_notm}} found that people with specific personality characteristics responded and retweeted in higher numbers in information-collection and -spreading tasks. For example, people who score high on excitement-seeking are more likely to respond, while people who score high on cautiousness are less likely to do so (Mahmud and others, 2013). Similarly, people who score high on modesty, openness, and friendliness are more likely to spread information (Lee and others, 2014).

{{site.data.keyword.IBM_notm}} also found that people with high openness and low emotional range (neuroticism) as inferred from social media language responded more favorably (for example, by clicking an advertisement link or following an account). These results are corroborated by survey-based, ground-truth checking. For example, targeting the 10 percent of users in terms of highest openness and lowest emotional range resulted in increases in click rate from 6.8 percent to 11.3 percent and in follow rate from 4.7 percent to 8.8 percent.

Multiple recent studies disclosed similar results for characteristics that were computed from social media data. One recent study with retail store data found that people who score high in orderliness, self-discipline, and cautiousness and low in immoderation are 40 percent more likely than the random population to respond to coupons. A second study found that people with specific values showed specific reading interests (Hsieh and others 2014). For example, people with a higher self-transcendence value demonstrated an interest in reading articles about the environment, and people with a higher self-enhancement value showed an interest in reading articles about work. A third study of more than 600 Twitter users found that a person's personality characteristics can predict their brand preference with 65 percent accuracy.

The following sections expand upon these high-level findings to describe the research and development behind the {{site.data.keyword.personalityinsightsshort}} service. For more information about studies that apply the service to tangible scenarios, see The service in action.

Understanding the personality models

{: #researchModels}

For the {{site.data.keyword.personalityinsightsshort}} service, {{site.data.keyword.IBM_notm}} developed models to infer scores for Big Five dimensions and facets, Needs, and Values from textual information. The models reported by the service are based on research in the fields of psychology, psycholinguistics, and marketing:

  • Big Five is one of the most studied of the personality models that were developed by psychologists (Costa and McCrae, 1992, and Norman, 1963). It is the most widely used personality model to describe how a person generally engages with the world. The service computes the five dimensions and thirty facets of the model. The dimensions are often referred to by the mnemonic OCEAN, where O stands for Openness, C for Conscientiousness, E for Extraversion, A for Agreeableness, and N for Neuroticism. (Because the term Neuroticism can have a specific clinical meaning, the service presents such insights under the more generally applicable heading Emotional range.)

  • Needs are an important aspect of human behavior. Research literature suggests that several types of human needs are universal and directly influence consumer behavior (Kotler and Armstrong, 2013, and Ford, 2005). The twelve categories of needs that are reported by the service are described in marketing literature as desires that people hope to fulfill when they consider a product or service.

  • Values convey what is most important to an individual. They are "desirable, trans-situational goals, varying in importance, that serve as guiding principles in people's lives" (Schwartz, 2006). Schwartz summarizes five features that are common to all values:

    1. Values are beliefs.
    2. Values are a motivational construct.
    3. Values transcend specific actions and situations.
    4. Values guide the selection or evaluation of actions, policies, people, and events.
    5. Values vary by relative importance and can be ranked by importance.

    The service computes the five basic human values that were proposed by Schwartz and that were validated in more than twenty countries (Schwartz, 1992).

How personality characteristics are inferred

{: #researchInfer}

The {{site.data.keyword.personalityinsightsshort}} service infers personality characteristics from textual information based on an open-vocabulary approach. This method reflects the latest trend in the research about personality inference (Arnoux and others, 2017, Schwartz and others, 2013, and Plank and Hovy, 2015).

The service first tokenizes the input text to develop a representation in an n-dimensional space. The service uses an open-source word-embedding technique, GloVe External link icon{: new_window}, to obtain a vector representation for the words in the input text (Pennington and others, 2014). It then feeds this representation to a machine-learning algorithm that infers a personality profile with Big Five, Needs, and Values characteristics. To train the algorithm, the service uses scores from surveys that were conducted among thousands of users along with data from their Twitter feeds.

{{site.data.keyword.IBM_notm}} developed the models for all supported languages in an identical way. The models were developed independent of user demographics such as age, gender, or culture. In the future, {{site.data.keyword.IBM_notm}} might develop models that are specific to different demographic categories.

Earlier versions of the service used the Linguistic Inquiry and Word Count (LIWC) psycholinguistic dictionary with its machine-learning model. However, the open-vocabulary approach outperforms the LIWC-based model. For more information about the service's precision for each language in terms of average Mean Absolute Error (MAE) and correlation, see How precise is the service. For guidance about providing input text to achieve the most accurate results, see Providing sufficient input.

How precise is the service

{: #researchPrecise}

{{site.data.keyword.IBM_notm}} conducted a validation study to understand the accuracy of the service's approach to inferring a personality profile. {{site.data.keyword.IBM_notm}} collected survey responses and Twitter feeds from between 1500 and 2000 participants for all characteristics and languages. To establish ground truth, participants took four sets of standard psychometric tests:

  • A 50-item Big Five derived from the International Personality Item Pool (IPIP)
  • A 120-item Facet derived from the IPIP Neuroticism, Extraversion & Openness (IPIP-NEO)
  • A 52-item fundamental Needs developed by {{site.data.keyword.IBM_notm}}
  • A 26-item basic Values developed by Schwartz

{{site.data.keyword.IBM_notm}} then compared the scores that were derived by its models with the survey-based scores for the Twitter users. Based on these results, {{site.data.keyword.IBM_notm}} determined the average Mean Absolute Error and average correlation between the inferred and actual scores for the different categories of personality characteristics. Per-language average MAE and correlation provide the statistical values for each supported language.

Average Mean Absolute Error

{: #preciseMAE}

Mean Absolute Error (MAE) is a metric that is used to measure the difference between actual and predicted values. For the {{site.data.keyword.personalityinsightsshort}} service, the actual value, or ground truth, is the personality score that was obtained by administering a personality survey. The predicted value is the score that the service's models produce.

{{site.data.keyword.IBM_notm}} computed the MAE by taking the average of the absolute value of the difference between the actual and predicted scores. {{site.data.keyword.IBM_notm}} used the absolute value because predicting more or less of the actual value is irrelevant. As long as a difference exists, the model is penalized by the magnitude of the error. The lower the MAE, the better the performance of the model. {{site.data.keyword.IBM_notm}} uses a scale of 0 to 1 for MAE, where 0 means no error (the predicted value is the exact same as the actual value), and 1 means maximum error.

Average correlation

{: #preciseCorrelation}

Average correlation is a statistical term that measures the interdependence of two variables. With this metric, {{site.data.keyword.IBM_notm}} measured the correlation between inferred and actual scores for the different categories of personality characteristics. If the predicted score closely tracks the actual results, the correlation score is high; otherwise, the score is low.

{{site.data.keyword.IBM_notm}} measures correlation on a scale of -1 to 1:

  • 1 indicates a perfect direct (increasing) linear relationship.
  • -1 indicates a perfect inverse (decreasing) linear relationship.

In all other cases, the value lies between these extremes. If the variables are independent (they have no relationship at all), the correlation is 0.

{{site.data.keyword.IBM_notm}} looks for numbers closer to 1 for best predictions. But personalities are difficult to predict based solely on text, and it is rare to see correlations that exceed 0.4 for these types of psychological models. In research literature for this domain, correlations greater than 0.2 are considered acceptable.

Per-language average MAE and correlation

{: #precisePerLanguage}

The following table shows per-language average MAE and correlation results for the {{site.data.keyword.personalityinsightsshort}} service. The results place the service at the forefront of personality inference from textual data as indicated by Schwartz and others (2013) and Plank and Hovy (2015).

Table 1. Average MAE and correlation by language
Language Big Five dimensions Big Five facets Needs Values
**Arabic**
Average MAE 0.09 0.12 0.11 0.10
Average correlation 0.17 0.14 0.13 0.14
**English**
Average MAE 0.12 0.12 0.11 0.11
Average correlation 0.33 0.28 0.22 0.24
**Japanese**
Average MAE 0.11 0.12 0.11 0.11
Average correlation 0.27 0.22 0.25 0.19
**Korean**
Average MAE 0.11 0.12 0.11 0.11
Average correlation 0.21 0.21 0.13 0.12
**Spanish**
Average MAE 0.10 0.12 0.12 0.11
Average correlation 0.35 0.21 0.24 0.19

To compute the percentile scores, {{site.data.keyword.IBM_notm}} collected a very large data set of Twitter users and computed their personality portraits:

  • One million users for English
  • Two-hundred thousand users for Korean
  • One-hundred thousand users for each of Arabic and Japanese
  • Eighty thousand users for Spanish

{{site.data.keyword.IBM_notm}} then compared the raw scores of each computed profile to the distribution of profiles from the data sets to determine the percentiles.

For Arabic and Korean input, the service is unable to produce meaningful percentiles and raw scores for some personality characteristics. For more information, see Limitations for Arabic and Korean input. {: note}

Understanding consumption preferences

{: #researchPrefs}

The relationship between personality and purchasing behavior was studied across various products and services:

  • Chen (2007), while testing preferences for organic foods, indicated that an individual's personality characteristics play an important role in establishing personal food-choice criteria.
  • Schlegelmilch and others (1996) explored the relationship between personality variables and pro-environmental purchasing behavior. The authors showed that consumers' overall environmental consciousness has a positive impact on green purchasing decisions.
  • Hymbaugh and Garrett (2007) investigated the relationship between personality and skydiving and found that people who score high in adventurousness and excitement-seeking generally indulge in skydiving. (For more information, see Risk profiling.)

Applying these known relations between consumption behaviors and personality is challenging. Most of the works used personality data derived from surveys, and their models are not publicly available. Therefore, {{site.data.keyword.IBM_notm}} decided to learn these consumption preference models directly. When it was training the models, {{site.data.keyword.IBM_notm}} used personality scores that were returned from the {{site.data.keyword.personalityinsightsshort}} service as features. As a result, when you apply these models to calculate a user's personality characteristics with the service, the predictions are likely to be more accurate.

How consumption preferences are inferred

{: #researchInferPrefs}

The {{site.data.keyword.personalityinsightsshort}} service infers consumption preferences based on the results of its personality profile for the author of the input text. From existing literature, {{site.data.keyword.IBM_notm}} identified 104 consumption preferences that have proved to be correlated with personality. These include preferences that are related to shopping, movies, music, and other categories. {{site.data.keyword.IBM_notm}} then created a psychometric survey to assess an individual's inclination for each consumption behavior.

{{site.data.keyword.IBM_notm}} obtained responses to its survey from about 600 individuals for whom it also had Twitter data (more than 200 self-authored tweets for each user). {{site.data.keyword.IBM_notm}} submitted the tweets to the service to gather a personality profile for each individual. It then built a classifier for each consumption preference, where the input feature set was the personality information.

For inclusion with the service, {{site.data.keyword.IBM_notm}} selected only those consumption preferences for which personality-based classification performed at least 9 percent better than random classification. Of the original 104 preferences, 42 satisfied this criterion and are exposed as consumption preferences by the service.

Notes about personality surveys

{: #researchSurveys}

When it developed the {{site.data.keyword.personalityinsightsshort}} service, {{site.data.keyword.IBM_notm}} relied on personality surveys to establish ground-truth data for personality inference. Ground truth refers to the factual data obtained through direct observation rather than through inference. A typical measure of accuracy for any machine-learning model is to compare the scores that are inferred by the model with ground-truth data. The previous sections describe how {{site.data.keyword.IBM_notm}} used surveys to validate the accuracy of the service.

The following notes clarify the use of personality surveys and survey-based personality estimation:

  • Personality surveys are long and time-consuming to complete. Survey results are constrained by the number of Twitter users who were willing and available to participate in {{site.data.keyword.IBM_notm}}'s study. {{site.data.keyword.IBM_notm}} plans to conduct validation studies with more users, as well as with users of other online media such as email, blogs, and forums.
  • Survey-based personality estimation is based on self-reporting, which might not always be a true reflection of one's personality: Some users might give noisy answers to such surveys. To reduce the noise, {{site.data.keyword.IBM_notm}} filtered survey responses by including attention-checking questions and by discarding surveys that were completed too quickly.
  • While the correlation between inferred and survey-based scores is both positive and significant, the results imply that inferred scores might not always correlate with survey-based results. Researchers from outside of {{site.data.keyword.IBM_notm}} also conducted experiments to compare how well inferred scores match scores obtained from surveys, and none reported a fully consistent match:

In general, it is widely accepted in research literature that self-reported scores from personality surveys do not always fully match scores that are inferred from text. What is more important, however, is that {{site.data.keyword.IBM_notm}} found that characteristics that are inferred from text can often reliably predict real-world behavior.