Inference of Fine-grained Attributes of Bengali Corpus for Stylometry Detection

Tanmoy Chakraborty, Sivaji Bandyopadhyay

TL;DR

Researchers have developed a new automated system to identify authors of Bengali text by analyzing 76 "fine-grained" stylistic markers, ranging from punctuation patterns to syntactic structures. By combining three different statistical classification models through a majority voting approach, the system achieved a 63% accuracy rate, significantly outperforming traditional vocabulary-based baselines.

What Problem Does This Paper Address?

Stylometry is the study of linguistic style—essentially finding a "linguistic fingerprint" that identifies an author based on subconscious writing habits rather than the actual content of the text. While this field is well-established for English and European languages, it remains a significant challenge for resource-constrained Indian languages like Bengali.

The authors tackle the problem of Authorship Attribution: given an anonymous text, can we mathematically determine who wrote it? This has massive implications for forensic investigations, plagiarism detection, and resolving historical copyright or estate disputes. The challenge in Bengali is the lack of robust automated tools and the complexity of the language's grammar and narrative structures.

Methods

The authors moved away from simple word-count methods, arguing that "fine-grained" features are harder for an author to consciously manipulate or for an imitator to fake. Their approach involves:

  1. Feature Engineering: They extracted 76 distinct style markers categorized into three levels:
  2. Token-level: Word lengths, sentence lengths, and specific punctuation frequencies.
  3. Chunk-level: The frequency and average length of noun phrases, verb phrases, and adjective chunks (identified using a "Shallow Parser").
  4. Context-level: Dialogue length, the use of rare words (hapax-legomena), and words not found in standard dictionaries.
  5. Classification Ensemble: Instead of relying on one algorithm, they used three semi-supervised statistical measures:
  6. Cosine Similarity: Measuring the "angle" between the feature vectors of the unknown text and known authors.
  7. Chi-square ($\chi^2$) Measure: A statistical test to see how much the observed data deviates from the expected "author profile."
    • Euclidean Distance: Measuring the straight-line distance between data points in a 76-dimensional space.
  8. Majority Voting: The final decision is made by a "voting" system where the three models collaborate to choose the most likely author.

Datasets

The study utilized a corpus of Bengali stories from three sources:

  • Author R: 30 stories by the Nobel laureate Rabindranath Tagore.
  • Author A: 30 articles/stories by a specific contemporary author.
  • Others (O): 30 articles by various other authors from the same period.

The researchers used 20 stories from each category for training (building the author profiles) and the remaining 10 from each for testing the system's accuracy.

Key Insights and Ideas

  • Subconscious over Conscious: The paper emphasizes that low-level features (like how many words are in a noun phrase) are more reliable than "vocabulary richness" because authors rarely think about these structures while writing.
  • Language Independence: Although the study focuses on Bengali, the methodology—calculating features as percentages to remain independent of text length—is designed to be applicable to any language, provided a basic parser exists.
  • The "Tagore Bias": The researchers found that their system was slightly biased toward identifying Tagore as the author. This highlights a common issue in machine learning: when one class (Tagore's work) is more "homogeneous" or better defined than the "Others" category, the model tends to lean toward the well-defined profile.

Key Results

The system's performance was measured against a baseline model that used only "vocabulary richness" (the ratio of unique words to total words).

  • Baseline Accuracy: Only 37%. The baseline frequently misidentified other authors as Tagore.
  • Individual Models: The Chi-square measure was the strongest individual performer with a 54% accuracy rate.
  • Combined Voting: The ensemble approach reached 63% accuracy.

While 63% might seem modest, it represents a nearly 70% improvement over the traditional baseline, proving that fine-grained syntactic features are far more descriptive than simple vocabulary counts.

Limitations and Future Work

The authors acknowledge several hurdles:

  • Data Scarcity: The dataset was relatively small (90 documents). Developing a larger, more diverse corpus for Bengali is a research project in itself.
  • Parser Dependency: The system relies on an automated "Shallow Parser." If the parser makes a mistake in identifying a noun chunk, that error ripples through the stylometric analysis.
  • Short Texts: The system struggled with very short texts, as there wasn't enough "linguistic data" to form a stable stylistic signature.

Future Directions: The team plans to expand the database and identify more "context-dependent" attributes to further refine the linguistic fingerprint, eventually aiming to identify unpublished or disputed works of famous historical figures.

Summary updated

BibTeX
@article{chakraborty2011inference,
  author = {Tanmoy Chakraborty and Sivaji Bandyopadhyay},
  title = {{Inference of Fine-grained Attributes of Bengali Corpus for Stylometry Detection}},
  journal = {Polibits},
  year = {2011},
  doi = {10.17562/pb-44-12},
}
Figure