Introduction
Politeness is a nuanced social phenomenon that extends far beyond simple keywords like "please." It involves complex cues related to social distance, power dynamics, and indirectness. Traditionally, computational models for politeness relied on manual feature engineering based on established linguistic theories. While deep learning models like Convolutional Neural Networks (CNNs) have demonstrated superior performance by learning patterns directly from raw text, they are often criticized as "black boxes." This research aims to open this black box, using interpretability techniques to discover novel linguistic markers of politeness that traditional theories may have overlooked.
Methodology
The study utilizes a single-layer CNN with max-pooling. To interpret the model's decision-making process, the authors employed three primary techniques:
- Activation Clustering: Identifying sentences that maximally activate specific neurons to reveal learned linguistic concepts.
- First Derivative Saliency: Calculating the gradient of the output with respect to input word embeddings to create heatmaps of word-level contributions.
- Embedding Space Transformations: Using Principal Component Analysis (PCA) to visualize how word vectors shift and cluster based on social polarity during training.
Data and Evaluation
The model was trained and evaluated on two datasets of online requests:
- Wikipedia (Wiki): Requests from editor talk pages, used for feature development and primary training.
- Stack Exchange (SE): Requests from a community Q&A site, used as a transfer domain to test generalization.
Interpretability and Linguistic Discovery
The CNN acted as a "linguistic microscope," uncovering several key insights:
- Rediscovery and Extension: The model successfully identified known strategies like Deference and extended others, such as distinguishing "thanks for letting me know" as a specific, potent form of gratitude.
- Indefinite Pronouns: A novel finding was the role of indefinite pronouns (e.g., "something," "somebody"). In Wikipedia requests, these often signal an uncertain or questioning tone associated with lower politeness scores.
- Punctuation as Emotion: The model highlighted that excessive punctuation (e.g., "???") serves as a strong marker of negative politeness (impoliteness), capturing emotional intensity often missed by text-only features.
Results
The CNN consistently outperformed traditional featurized models. Notably, when the "discovered" features (indefinite pronouns and punctuation) were added to the baseline linguistic model, its performance improved significantly, narrowing the gap with the CNN.
On the Wikipedia dataset, the CNN achieved an accuracy of 85.8%, compared to 82.6% for the best linguistic feature-based model. The discovered punctuation markers were particularly influential, with a politeness score of -0.71, making them one of the strongest indicators of impoliteness across the study.
Conclusion
This work demonstrates that neural networks can be more than just high-performing classifiers; they can serve as tools for scientific discovery. By interpreting the patterns learned by a CNN, researchers identified new linguistic markers that improve our understanding of online social interaction. Future work may explore more complex architectures like Recurrent Neural Networks (RNNs) and investigate how these politeness markers vary across different cultures and social hierarchies.
Summary updated