The present study examines the “box effect” in forensic document examination by evaluating the influence of spatial constraints on English script signatures. A total of 1000 participants (500 males and 500 females), aged 15–75 years, provided paired signature specimens. Each participant produced signatures under two conditions: within a predefined box and on an unconstrained blank space. All specimens were created using the same writing instrument and paper quality (75 GSM). Handwriting characteristics were analysed at both macro and micro levels, including signature dimensions, spacing, slant, alignment, and initial and terminal strokes. Since the dataset comprised paired observations, statistical analysis was performed using McNemar’s test. In addition, a Random Forest model was applied to classify signatures based on writing conditions and to identify the most discriminative handwriting features affected by spatial constraints. The findings indicate systematic variation in signature characteristics under constrained conditions, particularly in terms of dimensional reduction and alterations in slant and stroke execution. The study highlights the forensic significance of understanding natural variation in signatures executed under imposed spatial limitations, contributing to the evaluation of questioned documents where signatures are produced within fixed boundaries.
Introduction
The study investigates how writing a signature inside a predefined box affects its characteristics compared with writing it on an unrestricted blank sheet. It focuses on understanding natural variations in handwriting and determining whether spatial restrictions influence signature patterns. The research combines traditional forensic document examination, statistical analysis and machine learning techniques.
1. Introduction
Handwritten signatures are widely used for personal identification and authentication in banking, legal documents, government records and contractual agreements.
However, the same person may produce slightly different signatures due to factors such as:
Writing speed and emotional condition.
Fatigue and physical condition.
Writing instruments and writing surfaces.
Available writing space.
These natural differences are known as intra-writer variability.
Traditional forensic examination relies on experts analysing characteristics such as slant, spacing, dimensions and stroke quality. Modern machine learning and deep learning techniques have also been introduced to improve signature verification.
The study identifies a research gap known as the Box Effect. It examines whether writing signatures inside restricted spaces causes changes in their natural characteristics, such as size, strokes, slant and alignment.
2. Research Objectives
The main objective is to investigate the influence of spatial restrictions on handwritten signature characteristics.
The study aims to:
Compare signatures written inside predefined boxes with signatures written on blank paper.
Identify changes in macro-level and micro-level handwriting characteristics.
Determine which signature features are significantly affected by spatial restrictions.
Apply statistical analysis to evaluate differences between the two conditions.
Use a Random Forest machine learning classifier to distinguish boxed and blank signatures.
3. Materials and Methods
The study collected signature samples from 1,000 volunteers from the Punjab region of India.
Sample details:
Total participants: 1,000.
Male participants: 500.
Female participants: 500.
Each participant provided signatures in three trials.
The average of the three trials was used for analysis.
Participants were selected through convenience sampling.
Written informed consent was obtained.
Experimental conditions:
Each participant was asked to sign under two different conditions:
Boxed condition: Writing a signature inside a predefined box.
Blank condition: Writing a signature freely on an unrestricted blank sheet.
Standard A4-size white paper (75 GSM) and blue ballpoint pens were used. A magnifying glass, ruler and protractor were used to examine signature characteristics.
4. Feature Extraction
The handwriting characteristics were divided into two categories.
A. Macro-level features
These represent the overall structure and appearance of a signature.
Slant: Forward, backward or straight.
Dimension: Small, medium or large.
Spacing: Small, medium or large.
Alignment: Ascending, descending or straight.
Angularity: Angular or rounded.
B. Micro-level features
These represent the finer details of handwriting formation.
Initial stroke: Spur, sharp or blunt.
Terminal stroke: Spur, sharp or blunt.
Connecting strokes: Present or absent.
Embellishment: Present or absent.
Line quality: Good or bad.
These characteristics were converted into numerical codes to create a structured dataset for statistical and machine learning analysis.
5. Statistical Analysis
The study used McNemar's test to compare signature characteristics under boxed and blank writing conditions.
Since the same 1,000 participants provided signatures under both conditions, paired observations were analysed.
The hypotheses were:
H? (Null hypothesis): There is no significant difference in signature characteristics between boxed and blank writing conditions.
H? (Alternative hypothesis): There is a significant difference in signature characteristics between boxed and blank writing conditions.
The significance level was set at 0.05.
6. Machine Learning Model
A Random Forest classifier was used to determine whether boxed and blank signatures could be distinguished based on their handwriting characteristics.
The model was developed using Python in the Jupyter Notebook environment.
Model configuration:
Algorithm: Random Forest.
Number of decision trees: 300.
Maximum tree depth: 10.
Minimum samples required for splitting: 5.
Training and testing ratio: 70:30.
Input features: Macro-level and micro-level handwriting characteristics, including gender.
Target variable: Writing condition (boxed or blank).
The model was evaluated using accuracy, precision, recall, F1-score, confusion matrix, ROC curve and AUC.
7. Results and Findings
A. Statistical Analysis Results
The McNemar test showed that only two handwriting characteristics had statistically significant differences between boxed and blank writing conditions.
Handwriting characteristic
P-value
Result
Slant
0.4762
Not significant
Height
0.7659
Not significant
Width
0.2036
Not significant
Spacing
0.1795
Not significant
Alignment
0.3685
Not significant
Initial stroke
0.0018
Significant
Terminal stroke
0.0927
Not significant
Connecting strokes
0.6537
Not significant
Embellishment
0.8580
Not significant
Line quality
0.4261
Not significant
Angularity
0.0200
Significant
Major findings:
Initial strokes showed significant variation between boxed and blank conditions.
Angularity also showed significant variation.
Slant, height, width, spacing and alignment remained statistically stable.
Other characteristics, including terminal strokes, connecting strokes, embellishments and line quality, did not show significant differences.
This suggests that spatial restrictions mainly influence certain finer aspects of signature formation rather than changing the entire signature structure.
B. Machine Learning Results
The Random Forest classifier achieved the following performance:
Evaluation metric
Result
Accuracy
52.83%
Precision
52.15%
Recall
53.38%
F1-score
52.75%
The classification accuracy of 52.83% indicates limited ability to distinguish between boxed and blank signatures using the selected features.
The confusion matrix and ROC curve also indicate considerable overlap between the two writing conditions.
This suggests that most signature characteristics remain relatively similar despite differences in available writing space.
Conclusion
The present study examined the effect of boxed and blank writing conditions on signature characteristics using McNemar’s test and a Random Forest classification model. The findings demonstrate that most handwriting features remain stable across both conditions, with only Initial Stroke and Angularity showing statistically significant variation. This suggests that spatial constraints primarily influence adaptive aspects of handwriting, particularly stroke initiation and directional movement, while the overall structural integrity of signatures remains largely unaffected.
The Random Forest classifier achieved moderate performance (accuracy = 52.83%), indicating limited separability between boxed and blank signatures based on the selected features. Feature importance analysis further highlighted Alignment, Initial Stroke, Slant, Width, and Spacing as the most influential variables. Overall, the combined statistical and machine learning evidence suggests that although spatial constraints may induce minor variations in specific features, the core individuality of signatures remains preserved. This reinforces a key principle in forensic handwriting examination: signatures retain their evidential value even under varying spatial conditions. The study therefore supports the reliability of signature analysis in forensic practice and contributes to understanding handwriting variability under controlled constraints.
References
The present study examined the effect of boxed and blank writing conditions on signature characteristics using McNemar’s test and a Random Forest classification model. The findings demonstrate that most handwriting features remain stable across both conditions, with only Initial Stroke and Angularity showing statistically significant variation. This suggests that spatial constraints primarily influence adaptive aspects of handwriting, particularly stroke initiation and directional movement, while the overall structural integrity of signatures remains largely unaffected.
The Random Forest classifier achieved moderate performance (accuracy = 52.83%), indicating limited separability between boxed and blank signatures based on the selected features. Feature importance analysis further highlighted Alignment, Initial Stroke, Slant, Width, and Spacing as the most influential variables. Overall, the combined statistical and machine learning evidence suggests that although spatial constraints may induce minor variations in specific features, the core individuality of signatures remains preserved. This reinforces a key principle in forensic handwriting examination: signatures retain their evidential value even under varying spatial conditions. The study therefore supports the reliability of signature analysis in forensic practice and contributes to understanding handwriting variability under controlled constraints.