Detection of Personality Traits Using Handwriting and Deep Learning
<p>Proposed architecture—overview.</p> "> Figure 2
<p>Vertical projection.</p> "> Figure 3
<p>Structure of deep convolutional network.</p> "> Figure 4
<p>Determining Myers–Briggs indicators.</p> "> Figure 5
<p>Software implementation (MATLAB R2021b) of CNN (1 input layer, 3 hidden layers, and 1 output layer).</p> "> Figure 6
<p>Training progress for baseline analysis.</p> "> Figure 7
<p>Handwriting sample text written by one of the subjects.</p> ">
Abstract
:1. Introduction
- Psychology and personal development: Graphology can provide clues about a person’s personality traits, temperament, and emotions. It is used to better understand individual behaviors and motivations [2].
- Human resources: Some companies use handwriting analysis in the recruitment process to assess the characteristics of candidates. Graphologists can provide insights into compatibility with an organizational culture or interpersonal skills [3].
- Forensic science: In crime investigations, handwriting analysis can help identify the authors of anonymous letters or establish the authenticity of documents. Comparing handwriting can provide clues about the identity of a suspect [4].
- Education: In education, handwriting analysis can be used to assess learning styles and personalize teaching methods, depending on the needs of each student [5].
- Therapy: Handwriting is used in art therapy or occupational therapy to help express emotions and process trauma. Handwriting analysis can provide therapists with information about the emotional state of patients [6].
- Interpersonal relationships: Graphology can be used to improve communication in personal or professional relationships, providing insights into communication styles and preferences of partners [7].
- Market research: In marketing, handwriting analysis can help understand consumer preferences and create more effective campaigns [8].
- The Big Five Model—this is one of the most widely accepted models in modern psychology and includes five major dimensions: Openness to Experience, Conscientiousness, Extraversion, Agreeableness, and Neuroticism [9].
- HEXACO Model—similar to the Big Five model but adds an additional dimension: Honesty-Humility [10].
- Enneagram—describes personality into nine basic types, each with distinct motivations, fears, and behaviors [11].
- The Minnesota Multiphasic Personality Inventory—one of the most widely used and validated psychological instruments for assessing personality and identifying psychological disorders [12].
- Myers–Briggs type indicator (MBTI)—classifies personality into 16 types based on four dimensions: Introversion (I) vs. Extraversion (E), Sensing (S) vs. Intuitive (N), Thinking (T) vs. Feeling (F), and Judging (J) vs. Perceiving (P) [13].
- -
- Automatic assessment of Myers–Briggs personality indicators.
- -
- Objective determination of personality traits.
- -
- Identification of the main features of handwriting.
- -
- Integration of traditional psychological knowledge into machine learning algorithms.
2. Related Work
2.1. Personality Traits Determined from Handwriting and Applications
2.2. Computer-Assisted Techniques Used for Handwriting Analysis
- -
- They explore links between handwriting patterns and psychological or behavioral tendencies [18]. Most studies are grounded in widely accepted frameworks like the Big Five (OCEAN), MBTI, or HEXACO, providing a structured approach to trait analysis.
- -
- The data are collected from diverse participants, in the form of written text and signatures. Data often include age, gender, cultural background, and sometimes psychological assessments [19].
- -
- The handwriting characteristics analyzed can be classified into three categories:
- -
- Subjectivity of traditional methods—The subjective interpretations and questionnaires used by psychologists as well as the variable level of expertise can influence the results of psychological analyses.
- -
- Reduced scalability—Traditional handwriting analysis methods are time-consuming, limiting the scalability of psychological analyses.
- -
- Intrusive methods—The use of intrusive psychological analysis methods can influence the authenticity of the subjects’ responses.
- -
- Cultural and linguistic diversity—Traditional psychological assessment methods are usually developed for specific cultural and linguistic contexts, leading to misinterpretations when addressing diverse categories of the population.
3. Handwriting Analysis
- Extraversion (E) vs. Introversion (I): Preference for social interactions and energy from the external environment (E) or for introspection and solitary activities (I).
- Sensing (S) vs. Intuition (N): How a person gathers information: through senses and concrete details (S) or through patterns, connections, and intuition (N).
- Thinking (T) vs. Feeling (F): How a person makes decisions: based on logic and objective reasoning (T) or personal values and emotions (F).
- Judging (J) vs. Perceiving (P): Preferred style of living life: structured, planned, and organization-oriented (J) or flexible, spontaneous, and open to change (P).
- Self-knowledge: Helps people understand their preferences.
- Communication and relationships: Supports improved interactions with others.
- Career guidance: Helps identify professional fields compatible with the personality type.
Description | Type | Characteristics | MBTI |
---|---|---|---|
Rising | Ambition, optimism | E, F | |
Normal | Orderliness, emotional stability | T, J | |
Falling | Depression, unhappiness, fatigue | I, T |
Description | Type | Characteristics | MBTI |
---|---|---|---|
Extreme left inclined (reclined) | Self-centered, egotistic, self-interested, react too little or too late | S, T | |
Left inclined (reclined) | Hard to express emotions, reflective | I, F | |
Vertical | Judgmental, reserved personality, oriented to work alone | I, N | |
Right inclined (reclined) | Extrovert, expressive, responds strongly to emotions, lack of self-control | E, F | |
Extreme right inclined | Impulsive, unrestrained, intense, very expressive, low frustration tolerance | E, S |
Description | Type | Characteristics | MBTI |
---|---|---|---|
Narrow | Affected by emotions | I, F | |
Normal | Healthy vitality and willpower | J, T | |
Wide | Sensitive and impressionable | E, S |
Description | Type | Characteristics | MBTI |
---|---|---|---|
Light | Low self-esteem | N, P | |
Medium | Healthy vitality and willpower | N, T | |
Heavy | Sensitive and impressionable | S, J |
4. Proposed Architecture
4.1. Level 1—Image Preprocessing
4.1.1. Noise Removal
4.1.2. Color Conversion to Grayscale
- R: Red channel intensity.
- G: Green channel intensity.
- B: Blue channel intensity.
4.1.3. Line Segmentation
4.2. Level 2—Feature Extraction
4.3. Level 3—Determining Personality Traits
5. Experimental Results
5.1. Training Dataset
5.2. CNN Model
- -
- Optimization algorithm: stochastic gradient descent with momentum;
- -
- Initial learning rate: 0.01;
- -
- Maximum number of epochs: 10;
- -
- Objective metric: loss;
- -
- Minibatch size: 20.
5.3. Results
6. Discussion
6.1. Comparison with State of the Art
6.2. Limitations
- Subjectivity of personality traits: Personality traits are abstract and subjective concepts, making it difficult to associate them with physical characteristics of handwriting. There are psychological studies that consider the number of personality traits to be in the hundreds, which makes it impossible to classify people into just a few classes.
- Lack of standardized datasets: Available datasets are often small, unbalanced, or lacking in diversity, which limits the ability of models to generalize the results.
- Handwriting variability: Handwriting can vary depending on the emotional state, context, health status, or even the writing instrument used, which introduces noise into the data.
- Ethical issues: Using these techniques in sensitive areas (such as recruitment or psychological assessment) raises ethical questions related to confidentiality and bias.
6.3. Future Research Directions
- Improving datasets by creating larger, more diverse, and well-labeled datasets is essential for advancing research in this area.
- Improving accuracy of personality trait predictions is key, by analyzing other handwriting features together with the four ones already analyzed in our study.
- Modal fusion by combining handwriting data with other modalities (such as facial expressions, voice, or online behavior) can improve the accuracy of predictions.
- Advanced deep learning models—Using more advanced architectures (such as recursive neural networks—RNNs, or transformers—Transformers) may capture complex dependencies in the data.
- Interdisciplinary validation—Collaboration between machine learning experts, psychologists, and graphologists can lead to more robust and accurate approaches.
- Dynamic data (e.g., writing speed, pen pressure) can be captured using digital tablets [33].
7. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
Abbreviations
MBTI | Myers–Briggs Personality Indicators |
CNN | Convolutional Neuronal Network |
GRU | Gated Recurrent Unit |
LSTM | Long Short-Term Memory |
KNN | k-Nearest Neighbors |
SVM | Support Vector Machine |
RNN | Recurrent Neural Network |
ReLU | Three-Letter Acronym |
MLP | Multilayer Perceptron Neural Network |
References
- Amend, K.; Ruiz, M.S. Handwriting Analysis: The Complete Basic Book; Borgo Press: San Bernardino, CA, USA, 1981. [Google Scholar]
- Gowda, M.R.; Harish, N.; Aslam, A.; Padmanabiah, M.; Magaji, R. Handprints of the Mind: Decoding Personality Traits and Handwritings. Indian J. Psychol. Med. 2015, 37, 409–412. [Google Scholar] [CrossRef]
- Joshi, P.; Ghaskadbi, P.; Tendulkar, S. A machine learning approach to employability evaluation using handwriting analysis. In Advanced Informatics for Computing Research—ICAICR 2018: Communications in Computer and Information Science; Luhach, A., Singh, D., Hsiung, P.A., Hawari, K., Lingras, P., Singh, P., Eds.; Springer: Singapore, 2018; Volume 955. [Google Scholar] [CrossRef]
- Faundez-Zanuy, M.; Fierrez, J.; Ferrer, M.A. Handwriting Biometrics: Applications and Future Trends in e-Security and e-Health. Cogn. Comput. 2020, 12, 940–953. [Google Scholar] [CrossRef]
- Angelillo, M.T.; Impedovo, D.; Pirlo, G.L.; Sarcinella, L.; Vessio, G. Handwriting dynamics as an indicator of cognitive reserve: An exploratory study. In Proceedings of the IEEE International Conference on Systems, Man and Cybernetics (SMC) 2019, Bari, Italy, 6–9 October 2019; pp. 835–840. [Google Scholar] [CrossRef]
- Vessio, G. Dynamic handwriting analysis for neurodegenerative disease assessment: A literary review. Appl. Sci. 2019, 9, 4666. [Google Scholar] [CrossRef]
- Tome, P.; Fierrez, J.; Vera-Rodriguez, R.; Nixon, M.S. Soft biometrics and their application in person recognition at a distance. IEEE Trans. Inform. Forensics Sec. 2014, 9, 464–475. [Google Scholar] [CrossRef]
- Thomas, S.; Goel, M.; Agrawal, D. A framework for analyzing financial behavior using machine learning classification of personality through handwriting analysis. J. Behav. Exp. Financ. 2020, 26, 100315. [Google Scholar] [CrossRef]
- Gavrilescu, M.; Vizireanu, N. Predicting the big five personality traits from handwriting. EURASIP J. Image Video Process 2018, 2018, 57. [Google Scholar] [CrossRef]
- Ashton, M.C.; Lee, K. The HEXACO-60: A Short Measure of the Major Dimensions of Personality. J. Personal. Assess. 2009, 91, 340–345. [Google Scholar] [CrossRef] [PubMed]
- Sutton, A.; Allinson, C.; Williams, H. Personality type and work-related outcomes: An exploratory application of the Enneagram model. Eur. Manag. J. 2013, 31, 234–249. [Google Scholar] [CrossRef]
- Butcher, J.N.; Dahlstrom, W.G.; Graham, J.R.; Tellegen, A.; Kaemmer, B. The Minnesota Multiphasic Personality Inventory-2 (MMPI-2): Manual for Administration and Scoring; University of Minnesota Press: Minneapolis, MN, USA, 1989. [Google Scholar]
- Myers, I.B.; McCaulley, M.H.; Quenk, N.L.; Hammer, A.L. MBTI Manual (A Guide to the Development and Use of the Myers Briggs Type Indicator, 3rd ed.; Consulting Psychologists Press: Palo Alto, CA, USA, 1998; ISBN 978-0-89106-130-4. [Google Scholar]
- Chaudhari, K.; Thakkar, A. Survey on handwriting-based personality trait identification. Expert Syst. Appl. 2019, 124, 282–308. [Google Scholar] [CrossRef]
- Golbeck, J. Predicting personality from social media text. AIS Trans. Replication Res. 2016, 2, 2. [Google Scholar] [CrossRef]
- Schiegg, M.; Thorpe, D. Historical analyses of disordered handwriting: Perspectives on early 20th-century material from a German psychiatric hospital. Writ. Commun. 2017, 34, 30–53. [Google Scholar] [CrossRef] [PubMed]
- Chernov, Y.; Caspers, C. Formalized Computer-Aided Handwriting Psychology: Validation and Integration into Psychological Assessment. Behav. Sci. 2020, 10, 27. [Google Scholar] [CrossRef]
- Dong, S.; Liu, J.; Wang, J. Diagnosis of Parkinson’s Disease Based on Hybrid Fusion Approach of Offline Handwriting Images. IEEE Signal Process. Lett. 2024, 31, 3179–3183. [Google Scholar] [CrossRef]
- Lomurno, E.; Toffoli, S.; Febbo, D.; Matteucci, M.; Lunardini, F.; Ferrante, S. Age Group Discrimination via Free Handwriting Indicators. IEEE J. Biomed. Health Inform. 2025, 29, 56–67. [Google Scholar] [CrossRef] [PubMed]
- Rahman, A.U.; Halim, Z. Predicting the big five personality traits from hand-written text features through semi-supervised learning. Multimed. Tools Appl. 2022, 81, 33671–33687. [Google Scholar] [CrossRef]
- Ghods, V. Personality Recognition Based on Handwriting Types Using Fuzzy Inference. IEEE Access 2023, 11, 86456–86469. [Google Scholar] [CrossRef]
- Emran, M.A.; Naief, S.; Hossain, M.S. Handwritten Character Recognition and Prediction of Age, Gender and Handedness Using Machine Learning. Ph.D. Dissertation, Department of Computer Science and Engineering (CSE), BRAC University, Dhaka, Bangladesh, 2018. [Google Scholar]
- Bhade, V.; Baraskar, T. A Model for Determining Personality by Analyzing Off-line Handwriting. In Advances in Machine Learning and Data Science. Advances in Intelligent Systems and Computing; Reddy Edla, D., Lingras, P., Venkatanareshbabu, K., Eds.; Springer: Singapore, 2018; Volume 705. [Google Scholar] [CrossRef]
- Nagar, S.; Chakraborty, S.; Sengupta, A.; Maji, J.; Saha, R. An efficient method for character analysis using space in handwriting image. In Proceedings of the 6th International Symposium on Embedded Computing and System Design (ISED), Patna, India, 15–17 December 2016; pp. 210–216. [Google Scholar] [CrossRef]
- Wijaya, W.; Tolle, H.; Utaminingrum, F. Personality analysis through handwriting detection using android based mobile device. J. Inf. Technol. Comput. Sci. 2018, 2, 114–128. [Google Scholar] [CrossRef]
- Joshi, P.; Agarwal, A.; Dhavale, A.; Suryavanshi, R.; Kodolikar, S. Handwriting analysis for detection of personality traits using machine learning approach. Int. J. Comput. Appl. 2015, 130, 40–45. [Google Scholar] [CrossRef]
- Zhang, X.-Y.; Xie, G.-S.; Liu, C.-L.; Bengio, Y. End-to-end online writer identification with recurrent neural network. IEEE Trans. Human Mach. Syst. 2017, 47, 285–292. [Google Scholar] [CrossRef]
- Kumar, P.; Gupta, M.; Gupta, M.; Sharma, A. Profession Identification Using Handwritten Text Images. In Computer Vision and Image Processin—CVIP; Nain, N., Vipparthi, S., Raman, B., Eds.; Communications in Computer and Information Science; Springer: Singapore, 2019; Volume 1148. [Google Scholar] [CrossRef]
- Papavassiliou, V.; Stafylakis, T.; Katsouro, V.; Carayannis, G. Handwritten document image segmentation into text lines and words. Pattern Recogn. 2010, 43, 369–377. [Google Scholar] [CrossRef]
- Marti, U.; Bunke, H. The IAM-database: An English Sentence Database for Off-line Handwriting Recognition. Int. J. Doc. Anal. Recognit. 2002, 5, 39–46. [Google Scholar] [CrossRef]
- The TypeFinder Personality Test. Available online: https://www.truity.com/test/type-finder-personality-test-new (accessed on 20 October 2024).
- Fallah, B.; Khotanlou, H. Identify human personality parameters based on handwriting using neural network. In Proceedings of the 2016 Artificial Intelligence and Robotics (IRANOPEN), Qazvin, Iran, 9 April 2016; pp. 120–126. [Google Scholar] [CrossRef]
- Hasan, T.; Rahim, M.A.; Shin, J.; Nishimura, S.; Hossain, M.N. Dynamics of Digital Pen-Tablet: Handwriting Analysis for Person Identification Using Machine and Deep Learning Techniques. IEEE Access 2024, 12, 8154–8177. [Google Scholar] [CrossRef]
Nr. Crt. | Layer | Type | Parameters |
---|---|---|---|
1 | ‘imageinput’ | Image Input | 200 × 800 × 1 images |
2 | ‘conv_1’ | Convolution | 7 × 7 × 32 convolutions with stride [1 1] and padding [0 0 0 0] |
3 | ‘batchnorm_1’ | Batch Normalization | Batch normalization with 16 channels |
4 | ’relu_1’ | ReLU | ReLU |
5 | ‘maxpool_1’ | Max Pooling | 2 × 2 max pooling with stride [2 2] and padding [0 0 0 0] |
6 | ‘conv_2’ | Convolution | 5 × 5 × 16 convolutions with stride [1 1] and padding [0 0 0 0] |
7 | ‘batchnorm_2’ | Batch Normalization | Batch normalization with 16 channels |
8 | ‘relu_2’ | ReLU | ReLU |
9 | ‘maxpool_2’ | Max Pooling | 2 × 2 max pooling with stride [2 2] and padding [0 0 0 0] |
10 | ‘conv_3’ | Convolution | 3 × 3 × 16 convolutions with stride [1 1] and padding [0 0 0 0] |
11 | ‘batchnorm_3’ | Batch Normalization | Batch normalization with 16 channels |
12 | ‘relu_3’ | ReLU | ReLU |
13 | ‘fc’ | Fully Connected | 3 fully connected layers |
14 | ‘softmax’ | Softmax | softmax |
15 | ‘classoutput’ | Classification Output | cross-entropy |
Handwriting Feature | Type | Accuracy | Precision | Recall | F1 Score |
---|---|---|---|---|---|
Baseline | Rising | 0.96 | 0.89 | 1.00 | 0.94 |
Normal | 0.90 | 0.81 | 0.92 | 0.86 | |
Falling | 0.91 | 0.84 | 0.91 | 0.88 | |
Slant | Extreme left inclined | 0.89 | 0.72 | 0.81 | 0.76 |
Left inclined | 0.90 | 0.76 | 0.81 | 0.79 | |
Vertical | 0.94 | 0.81 | 0.93 | 0.87 | |
Right inclined | 0.90 | 0.73 | 0.79 | 0.76 | |
Extreme right inclined | 0.89 | 0.70 | 0.88 | 0.78 | |
Spacing | Narrow | 0.93 | 0.81 | 1.00 | 0.89 |
Normal | 0.90 | 0.85 | 0.88 | 0.87 | |
Wide | 0.93 | 0.88 | 0.92 | 0.90 | |
Pressure | Light | 0.96 | 0.90 | 1.00 | 0.95 |
Medium | 0.93 | 0.83 | 1.00 | 0.91 | |
Heavy | 0.91 | 0.85 | 0.92 | 0.88 |
MBTI | Accuracy |
---|---|
Extraversion (E) vs. Introversion (I) | 91% |
Sensing (S) vs. Intuition (N) | 85% |
Thinking (T) vs. Feeling (F) | 88% |
Judging (J) vs. Perceiving (P) | 83% |
Paper | Text Features | Classifier | Dataset | Accuracy |
---|---|---|---|---|
Fallah 2016 [32] | Character size, line spacing, word slant, horizontal-to-vertical ratio of characters | Multilayer Perceptron | 70 subjects | 0.69–0.76 |
Gavrilescu 2018 [9] | Baseline, the slope, connecting strokes between characters and letter f | Feed-Forward Neural Network | 128 subjects | 0.77–0.84 |
Joshi 2018 [3] | Text margin, baseline, character size, letter t | Support Vector Machine | 1890 samples | 0.93 |
Rahman 2022 [20] | Handwriting strokes, shapes, structure | Semi-supervised Generative Adversarial Network | 1038 samples | 0.86–0.91 |
Current work | Baseline, characters’ slope, pen pressure, spacing | Convolutional Neural Network | 1400 samples | 0.83–0.91 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Gagiu, D.; Sendrescu, D. Detection of Personality Traits Using Handwriting and Deep Learning. Appl. Sci. 2025, 15, 2154. https://doi.org/10.3390/app15042154
Gagiu D, Sendrescu D. Detection of Personality Traits Using Handwriting and Deep Learning. Applied Sciences. 2025; 15(4):2154. https://doi.org/10.3390/app15042154
Chicago/Turabian StyleGagiu, Daniel, and Dorin Sendrescu. 2025. "Detection of Personality Traits Using Handwriting and Deep Learning" Applied Sciences 15, no. 4: 2154. https://doi.org/10.3390/app15042154
APA StyleGagiu, D., & Sendrescu, D. (2025). Detection of Personality Traits Using Handwriting and Deep Learning. Applied Sciences, 15(4), 2154. https://doi.org/10.3390/app15042154