Abstract
Identifying specific linguistic patterns that drive social outcomes is a complex task often hindered by the limitations of manual feature engineering or broad topic modeling. This paper introduces a method that utilizes Convolutional Neural Networks (CNNs) to automatically discover influential, human-interpretable "text treatments." By combining pre-trained BERT embeddings with a 1D CNN architecture and a novel correlation penalty, the proposed pipeline identifies local patterns that correlate with specific outcomes. Empirical evaluations on datasets involving social media censorship and consumer complaints demonstrate that this approach significantly outperforms traditional benchmarks in both predictive power and qualitative clarity.
Introduction
In social science research, determining how text influences human behavior—such as how the tone of a complaint affects response time—is critical. Traditional methods often rely on researchers pre-specifying "treatments" (e.g., categorizing text as "polite" or "aggressive"), a process that is both subjective and prone to bias. While automated methods like topic modeling or keyword analysis exist, they often fail to capture the "middle-ground" mechanisms: specific phrases or grammatical structures that carry causal weight. This work addresses the challenge of discovering these influential patterns in a statistically rigorous and interpretable manner.
Methodology
The authors propose a pipeline that treats text features as "latent treatments" within a causal inference framework. The architecture consists of several key stages:
- Contextual Encoding: Raw text is converted into embeddings using pre-trained BERT models. This allows the model to capture word meanings based on their specific context.
- CNN Architecture: These embeddings are processed through a 1D CNN with multiple kernel sizes ($K$). Convolutional filters are ideal for this task as they detect local patterns (phrases) regardless of their position in the document.
- Interpretability via Max-Pooling: A global max-pooling layer identifies the most "active" phrase for each filter. By examining the top-activating phrases, researchers can interpret the specific "treatment" each filter has learned.
- Activity Regularization: To ensure the discovery of diverse features, a correlation penalty is added to the loss function, preventing multiple filters from learning redundant patterns.
Experimental Evaluation
The model was evaluated on two distinct datasets:
- Weibo Post Censorship: Approximately 28,000 Chinese social media posts regarding COVID-19. This served as a validation set, comparing discovered phrases against known censorship blacklists.
- CFPB Complaint Database: Over 54,000 consumer complaints to the Consumer Financial Protection Bureau, aimed at predicting "timely responses" from companies.
Results
The CNN-based approach demonstrated substantial improvements over benchmark methods, including Fong & Grimmer’s topic-based approach (FG) and regularized n-gram regression (RLR).
Quantitative Performance
As shown in the performance metrics, the CNN model achieved significantly higher predictive accuracy. In the censorship dataset, the CNN reached an Adjusted R-squared ($R^2_{adj}$) of approximately 0.58, whereas benchmark methods hovered around 0.1 to 0.15. Similarly, the Mean Squared Error (MSE) for the CNN was markedly lower than its competitors.
Qualitative Insights
Beyond predictive power, the CNN filters identified cohesive, multi-word phrases that represented clear concepts. For instance, in the CFPB dataset, the model identified that the use of contractions (e.g., "don't") was negatively associated with timely responses, suggesting that an informal tone might negatively impact professional evaluations. In the Weibo dataset, the model successfully recovered known censored phrases like "Wuhan virus" without prior knowledge.
Discussion and Limitations
While the CNN approach offers superior discovery of influential text, it comes with higher computational costs compared to linear models. Furthermore, while the filters themselves are interpretable, the underlying BERT embeddings remain a "black box," which can occasionally complicate the mapping of model reasoning to human intuition. The authors emphasize that this method is best used to suggest potential treatments for subsequent controlled experiments, as it relies on standard causal assumptions like "strong ignorability."
Conclusion
By bridging the gap between deep learning interpretability and causal inference, this CNN-based method provides a powerful tool for social scientists to discover the "why" behind textual influence. It moves beyond simple keywords to identify complex, influential linguistic patterns that drive real-world outcomes.
Summary updated