Counterfactual Optimization of Baseball Pitch Sequences and Estimation of Its Impact on Season-Level Statistics
Summary
This paper uses a Transformer-based model on MLB Statcast data to counterfactually optimize baseball pitch sequences, finding that optimizing both final and setup pitches can improve season-level statistics like K/9 by over 1.0.
View Cached Full Text
Cached at: 06/17/26, 05:37 AM
# Counterfactual Optimization of Baseball Pitch Sequences and Estimation of Its Impact on Season-Level Statistics Source: [https://arxiv.org/abs/2606.17345](https://arxiv.org/abs/2606.17345) [View PDF](https://arxiv.org/pdf/2606.17345) > Abstract:Although pitch sequencing is a central topic in baseball analytics, previous studies have primarily focused on optimizing the final pitch within a single plate appearance, leaving the role of preceding setup pitches and their impact on long\-term season\-level performance insufficiently examined\. To address these issues, this study conducted counterfactual analyses using MLB Statcast data\. A Transformer\-based machine\-learning model was trained to predict whether a target pitch would result in an in\-play outcome or swing\-out\. Counterfactual pitch sequences were then generated by replacing either the final pitch or the preceding setup pitch with alternative pitch types and locations while keeping the surrounding contextual information fixed\. Optimal counterfactual selections were defined as those that minimized the predicted in\-play probability, and their expected effects on pitchers' seasonal statistics were estimated using regression models linking model outputs to season statistics\. The results suggest that the optimization of both final and setup pitches may substantially influence season\-level performance, including improvements of more than 1\.0 in K/9\. The analyses also provided several practical insights, including velocity\-band\-specific effective locations, the importance of pitch commands, and the expansion of pitch\-selection options through middle\-velocity pitches\. These findings quantitatively support the strategic importance of pitch sequencing in baseball\. ## Submission history From: Ryota Takamido \[[view email](https://arxiv.org/show-email/b7a09756/2606.17345)\] **\[v1\]**Mon, 15 Jun 2026 22:47:06 UTC \(2,531 KB\)
Similar Articles
Conditional Attribute Estimation with Autoregressive Sequence Models
This paper introduces Conditional Attribute Transformers, a method for jointly estimating next-token probability and attribute values conditionally, enabling credit assignment, counterfactual analysis, and steerable generation in a single forward pass.
Optimizing Large Language Models for Causality Assessment in Pharmacovigilance: Developing a Performance Metric as Objective for Bayesian Hyperparameter Optimization
This paper presents a method to optimize GPT-5.2 temperature for Naranjo causality assessment in pharmacovigilance, achieving significant agreement improvements via Bayesian hyperparameter optimization with a novel composite metric (EWACS).
From Prediction to Incrementality: Causal Optimization for Large-Scale Targeting and Recommendation
This paper presents a decision-centric causal optimization framework for large-scale targeting and recommendation, combining a causal Transformer, Bayesian bandit layer, and dual-based linear programming. It reports a statistically significant +7.20% lift in LinkedIn Feed marketing traffic via online A/B testing.
NanoForecast v0.5: Competitive Time Series Forecasting Through Training Pipeline Optimization
NanoForecast v0.5 is a 6.5M-parameter time series forecaster that achieves competitive performance against larger models like TimesFM by optimizing the training pipeline, resulting in a 43.8% reduction in MASE. The model and code are released under Apache 2.0.
Enhancing Small Language Models for Power Outage Report Generation via Minimum Risk Training
This paper applies Minimum Risk Training to small language models for power outage report generation, improving accuracy from 16.20% to 68.95% by optimizing sequence-level evaluation metrics.