Predicting where a soccer penalty kick will cross the goal line is more accurate when models map shots onto a 6 × 4 goal-plane grid with continuous intra-cell offsets rather than relying on coarse left, center, or right labels, according to an original research study published in Frontiers in Artificial Intelligence. In a primary grouped cross-validation evaluation of 929 on-target processed penalty records, the fine-grained point ensemble reduced normalized point error by 12.9% relative to hard left/center/right decoding. However, the study’s proposed hierarchical prediction head—which passes coarse side predictions into finer cell and offset branches—showed no detectable cell-accuracy advantage over a matched-depth flat head under the same grouped protocol. Conducted by Wenkai Gao, Fengxin Li, and colleagues at Inner Mongolia Normal University and the Hong Kong Centre for Sports Science Research Limited, the work analyzed processed single-view soccer penalty sequences derived from the publicly available SoccerNet dataset.
Most automated penalty analysis systems classify attempts into broad categories such as saved, missed, or aimed toward the left, center, or right third of the goal. While those labels support high-level tactical summaries, they leave substantial spatial uncertainty because two kicks directed to the same horizontal side can require very different goalkeeper responses if one heads for an upper corner and the other stays near the ground. The authors framed fine-grained placement modeling around three obstacles: brief contact-relative observation windows with limited temporal evidence, subtle visual and kinematic cues that are difficult to separate from player-specific motion styles, and high semantic similarity across neighboring goal-plane cells. Although early pre-contact anticipation motivated the task, the authors emphasized that their processed records contain short contact-relative windows that can include the contact frame or later rows, separating the motivating goal from the timing conditions actually evaluated.
To represent each penalty attempt without heavy video backbones, the researchers constructed 16-frame sequences at a nominal 25 frames per second, corresponding to roughly 0.64 seconds, with a 22-dimensional feature descriptor per frame. Derived from retained CVAT image-space bounding boxes and goal-mouth polygons under a 1280 × 720 image convention, each frame vector encodes normalized shooter bounding-box coordinates, width, height, height-to-width ratio, and adjacent-frame differences, alongside normalized ball coordinates, ball differences, ball-to-shooter-center Euclidean distance, and direction angle. A fitted homography projects goalkeeper positions onto the normalized goal plane, paired with adjacent-frame goalkeeper differences, validity flags for shooter boxes and interior goalkeeper coordinates, and a relative sequence index. Adjacent-frame differences represent displacements in stored frame units rather than physical velocities, and the descriptor excludes skeleton joints, support-foot placement, hip angles, and calibrated time-to-contact measurements. Missing shooter or ball detections default to zeros, while missing goalkeeper projections default to boundary coordinates.
The proposed network, named GoalPlane, encodes these 16 × 22 motion sequences using established Temporal Convolutional Network (TCN) and Bi-directional Long Short-Term Memory (BiLSTM) components. Stacked one-dimensional temporal convolutions with kernel size three, stride one, dilation one, and symmetric zero padding—without residual additions—extract local motion transitions before a BiLSTM aggregates context across the full window. All prediction heads read the final aligned BiLSTM output slice rather than concatenating final forward and backward states. On top of this backbone, GoalPlane outputs an on-target probability, a coarse horizontal side distribution, a 24-cell classification through two 128-unit linear-ReLU layers conditioned on fused features and side probabilities, and continuous intra-cell offsets through two 128-unit linear-ReLU layers receiving cell features plus side and cell distributions. Sigmoid offsets measure fractional distance from a cell’s upper-left corner without enforcing hard side-cell agreement, trained via binary cross-entropy, on-target-only categorical cross-entropy, and Smooth L1 loss.
To separate architectural effects from data splits, initialization randomness, and historical model selection, the authors organized their experiments into three non-interchangeable protocols. Protocol C supplied the primary evidence using 1,085 processed records grouped into 324 fingerprint clusters, including 929 on-target records across 278 clusters, evaluated over eight cluster-disjoint folds and three random seeds (42, 123, and 2026). Each fold reserved roughly 10% of remaining clusters for inner validation and checkpoint selection, using reduced-capacity 32-unit TCN and BiLSTM layers, two TCN layers, dropout of 0.6, learning rate of 3 × 10−4, weight decay of 0.01, zeroed goalkeeper features, Gaussian feature noise of 0.008, and disabled horizontal flipping. Protocol B tested initialization sensitivity across the same three seeds on a fixed split against a matched-depth flat control, whereas Protocol A preserved the original 252-record train, validation, and test directories using higher 128-unit capacity and horizontal mirroring.
The strongest empirical support emerged from comparing spatial representations under Protocol C. Across all 929 on-target records, the fine-grained cell-plus-offset point ensemble achieved a normalized point error of 0.3190, compared with 0.3661 for a hard left/center/right decoder mapping the majority-voted side to its fold-specific training centroid—a 12.9% relative reduction and a cluster-mean paired reduction of 0.0529 (95% bootstrap confidence interval 0.0368 to 0.0689). Decoding by the argmax of mean side probabilities yielded 0.3631 error. Posterior-weighted centroid decoders further showed that localization information increased with spatial resolution, dropping error from 0.3452 for side posteriors to 0.3390 for column posteriors and 0.3059 for 24-cell posteriors, though the cluster-paired interval between 0.3059 and 0.3190 crossed zero. Direct coordinate regression performed worse at 0.4208. On a separately timing-filtered subset excluding post-contact rows per stored metadata, fine-grained decoding lowered error by 7.8% relative to side-posterior decoding (0.3113 versus 0.3376).
In contrast, isolating hierarchical conditioning against a flat head matched in backbone, branch depth, hidden width, folds, seeds, optimizer, and training schedule produced no detectable accuracy advantage under Protocol C. Across three seeds, GoalPlane achieved 27.7 ± 2.7% cell accuracy versus 27.1 ± 0.4% for the matched-depth flat control, with a cluster-level paired ensemble difference of +0.4 percentage points (95% confidence interval −3.6 to +4.4; permutation p = 0.83) and seed-specific differences that changed direction. The authors noted that this interval neither proves equivalence nor establishes superiority. In secondary Protocol B on a fixed split, GoalPlane outperformed the matched flat control in all three seeds—38.9% versus 33.3% for seeds 42 and 123, and 33.3% versus 27.8% for seed 2026—averaging 37.0 ± 3.2% versus 31.5 ± 3.2% cell accuracy and 0.302 ± 0.013 versus 0.348 ± 0.011 point error, alongside a separate tuned fixed-split observation of 38.2 ± 3.2% versus 32.8 ± 0.7%. Because this advantage did not reproduce under grouped cross-validation, Protocol B remains secondary evidence of initialization stability.
Historical observations under Protocol A highlighted the gap between validation model selection and small-sample directory testing. The selected single-seed checkpoint reached 98.8% training cell accuracy and 77.1% validation cell accuracy (64 of 83 on-target records; point error 0.1677), but dropped to 47.1% cell accuracy (8 of 17 stored on-target records) and 0.3113 point error on the original test directory. On the original validation set, GoalPlane recorded higher on-target accuracy (88.8%), F1 score (92.4%), AUC (0.926), side accuracy (86.7%), cell accuracy (77.1%), and lower point error (0.168) than perceptual, kinematic, and sequence baselines including SCINet (71.1% cell accuracy; 0.191 error) and ModernTCN (63.9%; 0.208). Historical ablations showed the largest drop when removing the TCN (27.7% cell accuracy), a smaller drop without the BiLSTM (71.1%), and a shallower flat head with 72.3% cell accuracy but slightly lower 0.166 point error, illustrating how exact cell matching and continuous Euclidean distance can diverge. Secondary height-zone supervision variants showed metric-dependent trade-offs without general gains, so the main model kept that branch disabled.
Computational cost was measured in a same-session Intel64 CPU profile for the archived higher-capacity hierarchical and matched-depth flat implementations, though not remeasured for Protocol C’s reduced-capacity models. The hierarchical network contained 462,750 trainable parameters and 5,992,448 matrix multiply-accumulate operations per 16 × 22 sequence, compared with 475,294 parameters and 6,004,992 operations for the matched-depth flat model. Using a single-sample float32 tensor across two intra-operation threads, one inter-operation thread, 50 warm-up calls, and 300 timed calls with gradients disabled, median forward latency was 0.725 milliseconds (10th to 90th percentile range 0.694 to 0.883 milliseconds) for the hierarchical model versus 0.964 milliseconds (0.904 to 1.184 milliseconds) for the flat model. These figures cover model execution alone and exclude video decoding, feature construction, and coordinate projection. Descriptive four-thread training wall times across the three seeds—23.9, 29.1, and 20.7 seconds versus 30.5, 14.8, and 14.7 seconds—reflected differing early-stopping epochs, and comparable measurements were unavailable for all historical baselines.
The authors stressed several boundaries limiting stronger transfer or deployment claims. In Protocol A, small test counts, exact input overlap across training, validation, and test directories, and incomplete source-level and landing-label provenance prevent treating the original test directory as an independent external benchmark. Even under Protocol C, fingerprint-cluster separation addresses recorded dependencies without certifying complete source independence, player identities were unavailable to test player-independent transfer, and the configuration carried prior tuning history. Moreover, because evaluated sequences are contact-relative windows that can include the contact row or subsequent frames, strict pre-contact deployment would require separately verified timing boundaries. Prospective analyst-operated offline uses—such as opponent placement maps, height-specific goalkeeper drills, and tactical video review—remain distinct from demonstrated gains in save rates or real-time decisions. The authors identified larger source- and player-independent datasets, verified pre-contact timing, and nested joint hyperparameter optimization isolated from final evaluation as priorities for future work.
Subject of Research: Fine-grained soccer penalty kick goal-plane localization using spatio-temporal neural networks
Article Title: GoalPlane: a hierarchical spatio-temporal network for fine-grained penalty spot prediction
Article References: Gao, W., Gao, K., Wang, X., Li, F., Wang, X., & Zhi, M. (2026). GoalPlane: a hierarchical spatio-temporal network for fine-grained penalty spot prediction. Frontiers in Artificial Intelligence, 9, Article 1905793. https://doi.org/10.3389/frai.2026.1905793
Image Credits: AI Generated
DOI: 10.3389/frai.2026.1905793
Keywords: GoalPlane, soccer penalty prediction, fine-grained localization, spatio-temporal networks, hierarchical learning, Temporal Convolutional Network, BiLSTM, SoccerNet, sports analytics, action analysis, multi-task learning, grouped cross-validation, posterior decoding, intra-cell offset regression, height-zone supervision, goalkeeper training, kinematic features, pattern recognition
News Source: Denise Maddox. (December 3, 2026). Fine-grained goal grid reduces penalty localization error in grouped soccer tests. Scienmag.



