Dialectic: Enhancing Text Input Fields with Automatic Feedback to Improve Social Content Writing Quality

Hamed Nilforoshan, James Sands, Kevin Lin, Rahul Khanna, Eugene WuarXiv 2017

Abstract

User-generated, multi-paragraph writing is pervasive and important in many social media platforms (i.e. Amazon reviews, AirBnB host profiles, etc). Ensuring high-quality content is important. Unfortunately, content submitted by users is often not of high quality. Moreover, the characteristics that constitute high quality may even vary between domains in ways that users are unaware of. Automated writing feedback has the potential to immediately point out and suggest improvements during the writing process. Most approaches, however, focus on syntax/phrasing, which is only one characteristic of high-quality content. Existing research develops accurate quality prediction models. We propose combining these models with model explanation techniques to identify writing features that, if changed, will most improve the text quality. To this end, we develop a perturbation-based explanation method for a popular class of models called tree-ensembles. Furthermore, we use a weak-supervision technique to adapt this method to generate feedback for specific text segments in addition to feedback for the entire document. Our user study finds that the perturbation-based approach, when combined with segment-specific feedback, can help improve writing quality on Amazon (review helpfulness) and Airbnb (host profile trustworthiness) by > 14% (3X improvement over recent automated feedback techniques).

Introduction

Writing quality is highly context-dependent. While a grammatically perfect essay might be high quality in an academic setting, an Amazon review is only "helpful" if it provides specific product details, and an Airbnb profile is "trustworthy" only if it projects the right social presence. Existing tools like Grammarly focus on syntax but remain blind to these local quality norms. This paper introduces Dialectic, a system that repurposes machine learning interpretability tools to coach human writers toward domain-specific quality standards.

Methods

The Dialectic system generates actionable feedback through a two-step process involving segmentation and model explanation.

Perturbation Analysis

Instead of treating quality models as black boxes, the authors use a perturbation-based approach for tree-ensemble models (like Random Forests). The system identifies the minimum changes needed to move a text from a "low-quality" classification to a "high-quality" one. By calculating an Impact Score for various features—such as sentiment, length, or jargon—the system identifies which specific characteristics a user should adjust to improve their text's predicted quality.

Segment-Based Feedback

Document-level feedback can often be too vague for users to act upon. To provide more localized advice, Dialectic uses TopicTiling to split a document into topically cohesive segments. Because segment-level labels are rarely available in real-world datasets, the authors employ weak supervision: they assume that high-quality documents are composed of high-quality segments, allowing them to use document-level labels as a proxy for training segment-specific models.

The Dialectic pipeline: User input is segmented by topic, quality is estimated for each segment, and targeted feedback is provided to the user.

Key Results

The researchers evaluated Dialectic on two distinct domains: Amazon Product Reviews (helpfulness) and Airbnb Host Profiles (trustworthiness). The study compared several methods, including document-level feedback and a baseline outlier-detection method (Krause et al.).

Comparison of post-feedback improvement across different methods. The Seg+Perturb approach consistently achieves the highest quality gains in both Amazon and Airbnb domains.

As shown in the results, the combination of segment-level feedback and perturbation analysis (Seg+Perturb) yielded the most significant gains:

  • 14% Quality Improvement: Users produced significantly higher-quality content when guided by the system.
  • 3x Improvement Over Baselines: The perturbation-based approach far outperformed recent automated feedback techniques that rely on simple outlier detection.
  • Validation of Weak Supervision: Crowdsourced human labels matched the weak-supervision classifier's quality assessments with ~71% accuracy, confirming that document-level labels are a viable proxy for segment-level training.

Conclusion

Dialectic demonstrates that machine learning explanation techniques can be effectively repurposed as user interface features to improve human writing. By identifying domain-specific norms and providing localized feedback, the system helps users navigate the unique quality requirements of different social platforms. Future work includes extending these perturbation techniques to deep learning architectures like Transformers and improving the natural language generation of the feedback to make it feel more conversational and less robotic.

Summary updated

BibTeX
@misc{nilforoshan2017dialectic,
  author = {Hamed Nilforoshan and James Sands and Kevin Lin and Rahul Khanna and Eugene Wu},
  title = {{Dialectic: Enhancing Text Input Fields with Automatic Feedback to Improve Social Content Writing Quality}},
  year = {2017},
  eprint = {1701.06718},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1701.06718},
}

Loading related content...

Figure