StarkPitch
Sign up

News /

Learned vectors for event types instead of one-hot codes

Event data mixes coordinates with labels such as action type, outcome and body part. This paper trains a Transformer to turn those labels into dense vectors and reports better-calibrated predictions on later tasks.

Source: arXiv

A row of event data combines numbers, the x and y coordinates, with categories: the action type, its outcome, the body part. Most models encode each category as a one-hot or ordinal code, which treats a header and a right-foot pass as unrelated symbols.

The authors pretrain a Transformer model, based on TabTransformer, on the categorical features so that each label becomes a learned vector shaped by its relations to the others. They then reuse these representations for action value estimation and play-style recognition, where they report better probability calibration, measured by the Brier score, than task-specific baselines.

Our event-data lesson reads each row as who, what, when and where. This work is about the what: the way a model encodes action labels can change the values it later gives to actions, before any football question has been asked.

← All news