PreCall: A Visual Interface for Threshold Optimization in ML Model Selection

Christoph Kinkeldey, Claudia Müller-Birn, Tom Gülenman, Jesse Josua Benjamin, Aaron Halfaker

Introduction

Machine learning (ML) models are increasingly integrated into community-governed platforms like Wikipedia to assist in content moderation. However, these models often function as "black boxes" for the volunteer editors who rely on them. A critical challenge in deploying these systems is the selection of an appropriate decision threshold. In Wikipedia’s Objective Revision Evaluation Service (ORES), which predicts whether an edit is "damaging" or "good-faith," users must determine the confidence level at which an edit is flagged for reversal.

Setting this threshold involves a delicate trade-off. A threshold that is too low results in excessive false positives, leading to the accidental reversal of constructive edits—a phenomenon that has previously caused community friction, such as the "PatruBot" incident on Spanish Wikipedia. Conversely, a threshold that is too high allows vandalism to go undetected. For non-technical tool developers, translating high-level community values into precise numerical thresholds represents a significant "translation gap."

PreCall is integrated into the ML workflow at the deployment stage, facilitating model inspection before live application.

The PreCall Interface

To address this gap, we present PreCall, an interactive visual interface designed to make threshold optimization intuitive for non-experts. PreCall bridges the divide between abstract metrics and tangible outcomes through two primary linked components.

Parameter View and Decision Slider

The Parameter View utilizes a radar chart to visualize three fundamental performance metrics: precision, recall, and the false-positive rate. Adjacent to this chart is a "Decision Threshold" slider. As users adjust the slider, the radar chart updates in real-time, providing an immediate visual representation of the mathematical trade-offs inherent in threshold selection. This interactivity makes the inverse relationship between precision and recall visceral and easier to grasp.

Results Preview via Icon Arrays

Moving beyond abstract confusion matrices, PreCall employs an icon array to simulate the consequences of a chosen threshold on a sample dataset. In this visualization, color represents the model's prediction (blue for "good," red for "damaging"), while shape indicates the actual state of the edit (circles for "actually good," triangles for "actually damaging"). This representation allows users to see exactly how many "good" edits would be wrongly flagged and how much vandalism would be correctly caught, making the model's error profile concrete.

The PreCall interface combines a radar chart for metrics, a threshold slider, and an icon-based results preview to facilitate human-centered optimization.

Application and Results

PreCall was demonstrated using the ORES "damaging" model. The interface allows users to find a "contextually optimal" threshold based on their specific needs rather than relying on a generic mathematical optimum.

In a typical use case, a user might start with a default threshold of 0.5, yielding a recall of 0.569 and precision of 0.347. By lowering the threshold to 0.3, the user can observe a significant increase in recall (0.751), though at the cost of more false positives. Through iterative adjustment, a user might settle on a threshold of 0.4. At this level, the preview might show that only 8% of total edits are flagged as damaging (comprising 6% false positives and 2% true positives), a volume that is manageable for manual community review.

Conclusion and Future Directions

PreCall shifts the focus of ML optimization from algorithmic automation to human-centered design. By prioritizing intuition over abstraction, the tool empowers community members to align ML performance with local social norms. Future work will involve formal user studies with Wikipedia editors to evaluate the interface's impact on model understanding and trust. Additionally, we aim to investigate whether technical terminology like "precision" and "recall" should be further simplified to enhance accessibility for a broader range of users.

Summary updated

BibTeX
@misc{kinkeldey2019precall,
  author = {Christoph Kinkeldey and Claudia Müller-Birn and Tom Gülenman and Jesse Josua Benjamin and Aaron Halfaker},
  title = {{PreCall: A Visual Interface for Threshold Optimization in ML Model Selection}},
  year = {2019},
  eprint = {1907.05131},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1907.05131},
}

Loading related content...

Figure